730 likes | 964 Views
Introduction to Elementary Circuit Simulations with PSpice. Course: EEL 3110 Professor: Dr. Subbarao V Wunnava Ph.D.,P.E ., Course coordinator: Dr. Gus Roig Ph.D , Teaching Associate: Mr. Mohammad Saiful Islam Ph.D candidate. Introduction.
E N D
Introduction to Elementary Circuit Simulations with PSpice Course: EEL 3110 Professor: Dr. Subbarao V WunnavaPh.D.,P.E., Course coordinator: Dr. Gus RoigPh.D, Teaching Associate: Mr. Mohammad Saiful Islam Ph.D candidate
Introduction • SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to verify circuit designs and to predict the circuit behavior. • PSpice is a PC version of SPICE and HSpice is a version that runs on workstations and larger computers. • PSpice has analog and digital libraries of standard components (such as NAND, NOR, flip-flops, and other digital gates, op amps, etc) which makes it a useful tool for a wide range of analog and digital applications.
Types of Analysis • Non-linear DC analysis • Non-linear transient analysis • Linear AC Analysis • Noise analysis • Sensitivity analysis • Distortion analysis • Fourier analysis • Monte Carlo Analysis
Circuit Components available • Independent and dependent voltage and current sources • Resistors • Capacitors • Inductors • Mutual inductors • Transmission lines • Operational amplifiers • Switches • Diodes • Bipolar transistors • MOS transistors • JFET • MESFET • Digital gates
File structure PSPICE (Capture) • Input file for PSpice that has the file type “.CIR” • When a circuit is simulated “.OUT” is generated • “*.DAT” file is by default a binary file to see the data • “*.LIB” files where the details of complex parts are saved • Additional files • *.SCH (the schematic data, itself) • *.ALS (alias files) • *.NET (network connection files)
Libraries • These are files that contain reusable part data. • They can be custom or default ones • Some of the libraries available in the Evaluation version of PSPICE are: • abm.slb for special functions like square root and multipliers • analog.slb for analog components like resistors and capacitors • breakout.slb for pots • connect.slb, .plb for connectors • eval.slb, .plb for semiconductor, digital devices, switches • port.slb for grounds, high/low digital ports • special.slb for ammeters, viewpoints • source.slb for various analog and digital sources
Hierarchical Design • Much complex designs • Symbols are created called “Hierarchical Blocks”
Outline • Where can you access PSpice? • To Get PSpice via Cadence OrCAD Site • Introduction to OrCAD Demo • Drawing Circuits with Capture CIS • Bias Point Analysis with PSpice • DC Analysis with PSpice • Transient Analysis with PSpice • AC Analysis with PSpice • FAQ
Where can you access PSpice? • Two way to get PSpice • http://www.cadence.com/ • You can find OrCAD 16.5 Demo here. • Your disc in Sedra/Smith • You can find OrCAD 9.2 Lite here. • Which one to use? • They are almost the same. • You can choose one of them. • The following shows the use of OrCAD 16.5 Demo.
To Get PSpice via Cadence OrCAD Site • How to get the setup file? • Go to http://www.cadence.com/ , select Products – OrCAD Products, and find Demo CD Request for the OrCAD 16.3 Demo download page. • Click Download FREE - OrCAD 16.3 Demo Software … design files. • You may need to register an account to access the download page. • Note: The following demonstration from slide 5 to 20 shows the procedure downloading 16.0 Demo. The screen captures are similar when downloading 16.3 Demo.
First Name: (Yours) Last Name: (Yours) Company/Institution: National Taiwan University Address: No. 1, Sec. 4, Roosevelt Road City: Taipei Country: Taiwan State/Province: 00-TW Postal Code: 10617 Telephone: +886-2-33663366 Job Function: Professor/Teacher/Student Job Title: Student Primary End Market: Other Technology Interest: (Whatever you like) Screen Name: (Since optional, let it be) Example for Filling the Form
Introduction to OrCAD Demo Limits exist since it is a lite version or a demo The following limits apply to the Demo/Lite Version of the products: • PSpice A/DCircuit simulation is limited to circuits with up to: • 64 nodes • 10 transistors • 65 digital primitive devices • 10 transmission lines in total (ideal or non-ideal) • 4 pairwise coupled transmission lines.
Introduction to OrCAD Demo • Limits [cont'd] • PSpice A/D [cont'd] • The sample library includes 39 analog and 134 digital parts. • Device characterization in the PSpice Model Editor is limited to diodes. • Stimulus generation in the PSpice Stimulus Editor is limited to sine waves (analog) and clocks (digital). • Circuit optimization with the PSpice Optimizer is limited to one goal, one parameter, and one constraint. • You can not create CSDF format data files. • You can only display simulation data from simulations performed with the Demo/Lite Version of the simulator.
Introduction to OrCAD Demo • Limits [cont'd] • Capture CIS • The PSpice libraries are the only ones included. The standard Capture libraries are not included. • Import facilities, netlisters, and accessories that are not relevant to PSpice are not included. • You can not save a design that contains more than 60 parts. (You can view or create larger designs, but you can not save them.) • You can not save a library that contains more than 15 parts.
Introduction to OrCAD Demo • Minimum hardware requirements • Pentium 4 (32-bit) equivalent or faster • Windows XP, Windows Vista, or Windows 7 • Minimum 512MB RAM (1GB recommended) • 300MB swap space (or more) • DVD-ROM drive • 65,000 color Windows display with minimum 1024x768 (1280x1024 recommanded)
Notes When Set OrCAD Demo Up • In the procedure installing… • Make sure you are connected to the internet. • Run “Product/Demo Installation” only. • Don’t set the control file. • Choose to install “Capture CIS” and “PSpice” only. • Keep “Footprint Viewer Options” to be “None.” • Cancel “License Client Configuration.” • For the first time execution… • Run “PSpice AD” first, close it, and then you can run “Capture CIS” and use the function of PSpice.
Drawing Circuits with Capture CIS • To simulate a circuit, we need to figure out the structure of the circuit. Capture CIS helps us to do that. • Create a new project with Analog or Mixed A/D wizard after selecting a proper folder to save. • Place the elements (even if it is the ground) that are in the PSpice libraries. • Place the tags (if needed) that are in capsym.olb .
%OrCAD%\tools\capture\library\pspice\demo Add all of them
Frequently Used Elements • R (resistor) / L (inductor) / C (capacitor) • D (diode) • D1N4002 • D1N750 • MBreakN / MBreakN4D (NMOS) • MBreakP / MBreakP4D (PMOS) • QBreakN (NPN BJT) • Q2N2222
Frequently Used Elements • QBreakP (PNP BJT) • Q2N2097A • uA741 • VDC / VPULSE / VSin / VSRC • IDC / IPULSE / ISin / ISRC • GND
Bias Point Analysis with PSpice • Where to find elements? • Place → Part or find the “Place Part” button on the toolbar • Pick the element you want • Click OK button • How to link the elements? • Find Place Wire button on the toolbar • Link the elements you want • NOTE:wire crossing without big dot → openwire crossing with big dot → short
Bias Point Analysis with PSpice • How to simulate? • PSpice → New Simulation Profile • Fill out the profile name • Select Bias Point in Analysis Type • Click OK • PSpice → Run