PSIM Tutorial. How to Use the SPICE Module. June Powersim Inc.

Similar documents
3. On the top menu bar, click on File > New > Project as shown in Fig. 2 below: Figure 2 Window for Orcad Capture CIS

Copyright 2011 Linear Technology. All rights reserved.

Making the Most of Files & Folders. Schoolwires Centricity2

Word 2010: Mail Merge to with Attachments

Help on the Embedded Software Block

Remote Viewer Recording Backup

How To Use Multiisim On A Computer Or A Circuit Design Suite 10.0 (Aero)

How To Create A Hyperlink In Publisher On Pc Or Macbookpress.Com (Windows) On Pc/Apple) On A Pc Or Apple Powerbook (Windows 7) On Macbook Pressbook (Apple) Or Macintosh (Windows 8

Business Intelligence Office of Planning Planning and Statistics Portal Overview

Address Collector. - Tutorial -

PSIM Tutorial. How to Use Solar Module Physical Model Powersim Inc.

DEGREE: Bachelor in Biomedical Engineering YEAR: 2 TERM: 2 WEEKLY PLANNING

Baan IV Tools. Baan IV Database Administration (DBA) on Windows NT

1. Right click using your mouse on the desktop and select New Shortcut.

Module 1: Getting Started With Altium Designer

Introduction to LTspice IV Workshop

MAPPING THE WEBDRIVE REFERENCE GUIDE

MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS

Document Contents Introduction Layout Extraction with Parasitic Capacitances Timing Analysis DC Analysis

ClaroRead SE for Mac. User Guide!

Outlook Operating Instructions. Internal Desktop Access

Running a Load Flow Analysis

Scanning Documents into OneSite The Preiss Company

Library Intro AC800M

Ready Reference Guide. Converting from Other Bibliographic Management Software

3. Locate the different selections of Styles from the Home Tab, Styles Group

Case study: how to use cutoff conditions in a FRA frequency scan?

Fairchild On-Line Design Tool: Power Supply WebDesigner Step-by-Step Guide

Basics. a. Click the arrow to the right of the Options button, and then click Bcc.

Census. di Monitoring Installation User s Guide

Professional Fire Software Control Center. Fire Training Module Training Manual

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

KeePass Getting Started on Windows

Samples and tutorials Version Hiring Sample Tutorial for IBM Process Designer

Knowledgebase Article

Fireworks 3 Animation and Rollovers

OUTLOOK WEB APP (OWA): MAIL

How to install and use the File Sharing Outlook Plugin

Creating a new project: Choose File> New Project. A dialog box appears and asking about the work directory that by default

How to send meeting invitations using Office365 Calendar

FRONTPAGE FORMS

Circuit Simulation: Here are some of ADS analysis:

Trusted Relationships. Sending Invitations. Sending Invitations from Outlook

Using Internet or Windows Explorer to Upload Your Site

Advanced Outlook Tutorials

Lab 3: Introduction to Data Acquisition Cards

Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

MICROSOFT ACCESS 2003 TUTORIAL

How To Design A Chip Layout

Purchase Agent Installation Guide

University of California, Berkeley Department of Electrical Engineering and Computer Sciences EE 105: Microelectronic Devices and Circuits

ParishSOFT Remote Installation

SIMATIC. WinCC V7.0. Getting started. Getting started. Welcome 2. Icons 3. Creating a project 4. Configure communication 5

Introduction to Windows

Mitigation Planning Portal (MPP) Tutorial Canned Reports Updated 5/18/2015

E--Mail Archive Mail Ar User G u d ide

Lab - Configure a Windows Vista Firewall

CDOT Linking Excel Documents to MicroStation

Copyrights. Software, documentation and related materials: Copyright 2002 Altium Limited

Appendix A How to create a data-sharing lab

Lesson 2. From computer to USB

Creating Subcircuits and Hierarchical Blocks in LTspice Mike Kelsch January 2007

GUARD1 PLUS Mini-Attendant File Manager User's Guide Version 2.71

This is a training module for Maximo Asset Management V7.1. It demonstrates how to use the E-Audit function.

For Quartus II Software. This Quick Start Guide will show you. how to set up a Quartus. enter timing requirements, and

Perform this procedure when you need to add a recurring payment option, or when you need to change or withdraw it.

TRIAL SOFTWARE GUIDE 1. PURPOSE OF THIS GUIDE 2. DOWNLOAD THE TRIALSOFTWARE 3. START WIDS 4. OPEN A SAMPLE COURSE, PROGRAM

Managed File Transfer Utility

Newsletter Sign Up Form to Database Tutorial

Haworth DesignIT TUTORIAL

Producing Standards Based Content with ToolBook

for Invoice Processing Installation Guide

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Importing Terrain and Imagery into STK

Student Records Home Page

DRUPAL WEB EDITING TRAINING

Universal Simple Control, USC-1

User Management Tool 1.6

Microsoft SharePoint 2010 End User Quick Reference Card

Remedy ITSM Service Request Management Quick Start Guide

WordCom, Inc. Secure File Transfer Web Application


Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A

Introduction to PowerWorld Simulator: Interface and Common Tools

How to use SURA in three simple steps:

Export / Import using itunes File Sharing

Windows XP Chinese Character Support Installation Instruction

SA-9600 Surface Area Software Manual

How-to: HTTP-Proxy and Radius Authentication and Windows IAS Server settings. Securepoint Security System Version 2007nx

Using Flow Control with the HEAD Recorder

Table of Content. 1. Mofluid Installation. 2. Mofluid Uninstallation. a. Magento Connect b. Manual Installation

MICROSOFT OUTLOOK 2011 READ, SEARCH AND PRINT S

Lab: Create Your Own Homepage! This exercise uses MS Expression Web as a Web Page creation tool. If you like you

Kepware Technologies KEPServerEX Client Connectivity Guide for GE's Proficy ifix

How to Attach Files in Blackboard Learn , Messages, Discussions, and Assignments

This feature allows you to convert a collection of PDFs into EndNote references using the Digital Object Identifier (DOI).

Chapter 4: Website Basics

Fault Analysis I PowerWorld Corporation

RFQ Builder Software. RFQ Builder User Guide Version 4.5. Table of Contents. RFQ Builder Overview

Transcription:

PSIM Tutorial How to Use the SPICE Module June 2016 Powersim Inc.

1. Overview The SPICE Module is an add-on option in PSIM. Powered by CoolSPICE from CoolCAD Electronics LLC., the SPICE Module provides a SPICE simulation engine in the PSIM environment, and gives PSIM the capability to simulate SPICE circuits and models. This tutorial provides a quick guide to use the SPICE Module. Further detailed information will be provided in a separate user manual. Note that not all PSIM elements are supported for SPICE simulation. To see which elements are supported, make sure that under Options >> Settings >> Advanced, the box Show image next to elements that can be used for SPICE is checked. With this box is checked, the elements supported by SPICE will be marked with the image (for SPICE) next to the element in the Element menu. If the box Show image next to elements that can be used for code generation under Options >> Settings >> Advanced is also checked, the elements that are supported by SPICE and SimCoder for code generation will be marked with the image (for SimCoder and SPICE). Most of the elements with marks mentioned above work in either PSIM simulation or SPICE simulation. The following elements, however, support SPICE device models and will work in SPICE only when the model level is defined as SPICE: Diode npn Transistor (model) pnp Transistor (model) MOSFET (model) P-MOSFET (model) - 2 - Powersim Inc.

2. Running SPICE Example To illustrate the process of SPICE simulation, we will use the circuit Buck Converter with MOSFET IRF450.psimsch as an example. This example is located in the sub-folder Examples\SPICE in the PSIM directory. To keep the original example unchanged, we will create a new folder C:\PSIM_SPICE\Test, and use this folder as the working folder in this tutorial, and we will copy the example file into this new folder. In PSIM, load the example Buck Converter with MOSFET IRF450.psimsch as shown below. It is a basic buck converter circuit. The pulsed voltage source for the MOSFET gating can be replaced with a PWM control circuit for future design. - 3 - Powersim Inc.

3. Defining SPICE Models Using the SPICE Directive Block In this example circuit, the switching device is an N-channel MOSFET. To use a SPICE model instead of a PSIM model, select the element Element >> Power >> Switches >> MOSFET (model). Then, double click on the MOSFET block, and set the Model Level to SPICE Model. Fill the spaces for SPICE Model Name and SPICE Instance Parameters. Here as show in the picture below, a SPICE model of IRF450 from International Rectifiers is used. To use a SPICE model for the diode D1, follow the same steps as for the MOSFET: Double click on the diode D1, and set the Model Level to SPICE Model. Fill the spaces for SPICE Model Name and SPICE Instance Parameters. In this example, a SPICE model of 1N4004 is used. To define the SPICE model statement, use the SPICE Directive block. This block can be found in Element >> SPICE >> SPICE Directive Block. In this block, one can enter any SPICE directives which are not found in the PSIM menu. All the content in this block will be inserted in SPICE netlist for simulation and for netlist generation. In the example circuit, the model definitions in the SPICE Directive Block for the diode and the MOSFET are shown. The model name in the directive block must be the same as in the corresponding element parameter dialog box. The MOSFET model name is MOS_IRF450_N and the diode model name is D_1N4004. Their SPICE models are defined with.model in the directive block. The definition of the SPICE Directive Block is shown below. - 4 - Powersim Inc.

4. Defining SPICE Models in a Library File One can also define SPICE models through a library file. The library file will be accessible from PSIM if the folder is included in the SPICE Model Path. To include the folder, go to Options >> Set Path, and click on Add Folder under SPICE Model Path to add the folder, as shown below. Click on Reload Models and Save to refresh and save the setting. One can add multiple folders to the path. - 5 - Powersim Inc.

Once the SPICE model search path is saved, load the models in the libraries by clicking on the browser button on the right of the SPICE Model Name input field. Devices in the search path libraries will be listed as shown below. In this case, there is no need to provide the model definition in a SPICE Directive Block. PSIM will find the model from the library automatically. - 6 - Powersim Inc.

5. Setting up SPICE Simulation To set up the simulation parameters, double click on the Simulation Control block (the clock image), and go to the SPICE tab. The dialog window is shown below. There are three types of SPICE analysis: transient analysis, ac analysis, and dc analysis. Select Transient analysis for this example. The parameters for transient analysis Time Step, Max Step, Start Time, and End Time should be specified accordingly. - 7 - Powersim Inc.

6. Running SPICE Simulation To run SPICE simulation, either select Simulate >> Run SPICE Simulation or click on the Run SPICE icon on the toolbar as highlighted below. To generate the SPICE netlist, select Simulate >> Generate SPICE Netlist. If SPICE netlist is already created either manually or from another SPICE software, one can load the netlist by selecting File >> Open SPICE Netlist File. Then simulate the SPICE netlist file by running the SPICE simulation in the same way as before. To create a new SPICE netlist manually, select File >> New SPICE Netlist File. - 8 - Powersim Inc.