PSPICE Tutorial 2
PSPICE Tutorial 2
PSPICE Tutorial 2
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
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.
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
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
Design Structure
Flat Design
Small designs All pages in same schematic Off Page connectors are used Figure shows design hierarchy
Contd
Hierarchical Design
Much complex designs Symbols are created called Hierarchical Blocks
Getting Started
File New Project Analog or Mixed A/D
Now start placing components and connecting them (this part is quite similar to what you have done in last semesters lab)
Add a library as per the requirement for eg. here analog library has been added
After completing the circuit save it and run it. Plot appropriate waveform by probing on circuit.
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.
Add Probe
Probes
AC Analysis
We can choose any of the analysis and options Here AC analysis is done to see operation of filter
Run
Go to PSPICE Run Another waveform window will come up
Result
Happy Learning