pspice tutorial. introduction spice (simulation program for integrated circuits emphasis) is a...
TRANSCRIPT
![Page 1: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/1.jpg)
PSPICE Tutorial
![Page 2: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/2.jpg)
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.
![Page 3: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/3.jpg)
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
![Page 4: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/4.jpg)
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
![Page 5: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/5.jpg)
Terminologies
• Subcircuit: A subcircuit allows you to define a collection of elements as a subcircuit (e.g. an operational amplifier) and to insert this description into the overall circuit.
• EDIF: Electronic Design Interchange Format, a standard published by EIA. Usually used for netlists.
![Page 6: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/6.jpg)
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)
![Page 7: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/7.jpg)
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
![Page 8: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/8.jpg)
Parts
• Part is a basic building block which may represent– One or more physical element– Function– Simulation model– When a part is placed for first time its entry is
done in “Design Cache”
What is “Design Cache”????... Go and Find Out Yourself
![Page 9: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/9.jpg)
Design Structure
• Flat Design– Small designs– All pages in same schematic– Off Page connectors are
used– Figure shows design
hierarchy
![Page 10: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/10.jpg)
Contd……
• Hierarchical Design– Much complex designs– Symbols are created called
“Hierarchical Blocks”
![Page 11: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/11.jpg)
Things to remember before starting
• PSpice is not case sensitive
• All element names must be unique
• There must be a node designated "0" (Zero). This is the reference node against which all voltages are calculated.
• If any change is made in circuit make sure you create netlist again before simulating it.
![Page 12: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/12.jpg)
Getting Started
• File New Project Analog or Mixed A/D
Make sure to choose Analog or Mixed A/D and proper location for project
![Page 13: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/13.jpg)
• Next comes following window
Make sure you select “Create a blank project”
![Page 14: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/14.jpg)
• This is how a typical “Schematic” Window will look like
![Page 15: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/15.jpg)
• Now start placing components and connecting them (this part is quite similar to what you have done in last semester’s lab)
Add a library as per the requirementfor eg. here analog library has been added
![Page 16: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/16.jpg)
• After completing the circuit save it and run it.
• Plot appropriate waveform by probing on circuit.
![Page 17: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/17.jpg)
Design Example
• Take example of a high pass filter (RC)
• First we will follow initial steps of creating a new project
• Now placing the components.
![Page 18: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/18.jpg)
Place the components
![Page 19: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/19.jpg)
Place the source and ground
![Page 20: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/20.jpg)
Add Probe
Probes
![Page 21: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/21.jpg)
Creating new simulation profile
• Go to PSPICE New Simulation Profile
• Give a name to profile and create
![Page 22: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/22.jpg)
AC Analysis
• We can choose any of the analysis and options
• Here AC analysis is done to see operation of filter
![Page 23: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/23.jpg)
Run
• Go to PSPICE Run
• Another waveform window will come up
See this windowto keep track of current simulation
![Page 24: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/24.jpg)
Result
![Page 25: PSPICE Tutorial. Introduction SPICE (Simulation Program for Integrated Circuits Emphasis) is a general purpose analog circuit simulator that is used to](https://reader036.vdocument.in/reader036/viewer/2022062313/56649ceb5503460f949b7468/html5/thumbnails/25.jpg)
Happy Learning