Introduction To PSpice
Introduction To PSpice
PSPICE is a circuit analysis tool that allows the user to simulate a circuit and extract key
voltages and currents. Information is entered into PSPICE via one of two methods; they are a
typed ‘Net List’ or by designing a visual a schematic which is transformed into a netlist. In
this class we will look at both the net list and the schematics. However, to to fully utilize the
schematics we must first understand and become familiar with designing the net list.
The first line of the net list is the title line. This should contain pertinent information to the
circuit and your name. The next lines are for circuit parameters – as many as needed. The
next section is for output control statements. These will be discussed later. The file is closed
with a <.END> statement. Below is the syntax for various elements. Each parameter name
starts with a specific letter followed by a user-defined name (ie. R1, Cnew, Vout). The [] and
the <> are not actually typed – they are for visual purposes only. Parameter components must
be separated by spaces or tabs.
Parameter Syntax
Resistor:
R<name> [+ node] [- node] [value]
Capacitor:
C<name> [+ node] [- node] [value] [IC = <initial value>, optional]
Inductor
L<name> [+ node] [- node] [value] [IC = <initial value>, optional]
Independent Sources
I<name> [- node] [+ node] [value] [type] [transient spec] ;Passive Load Convention!
V<name> [+ node] [- node] [value] [type] [transient spec]
Dependant Sources
VCVS: E<name> [+ node] [- node] [+controlling node] [-controlling node] [gain]
CCCS: F<name> [+ node] [- node] [Vbranch] [gain]
VCCS: G<name> [+ node] [- node] [+controlling node] [-controlling node] [gain]
CCVS: H<name> [+ node] [- node] [Vbranch] [gain]
Example
Label every node on the circuit diagram. Start with ground ( Labeled ‘0’ by convention ) and
work clockwise around the circuit.
Write your PSPICE circuit using above example and explanation or additional
resources from textbooks or the internet. Make sure to have a label with a title, include
all circuit elements and include a .END statement
Goto File -> Save As and save the file with a .cir circuit extension
Once the program has run the output file may appear. If it doesn’t you can go to
View -> Output File or click on the Output File Icon on the left sidebar.
Common Parts
GND_EARTH Ground
R Resistors
C Capacitors
L Inductors
VDC DC Power Source
VAC AC Power Source
Connect Parts by Clicking on the ‘Draw Wire’ Button to the left of the ‘Get New Part’
Button. Make sure not to forget to include ground.
Set the Analysis Setup by going to Analysis -> Setup… For basic DC circuit analysis make
sure ‘Bias Point Detail’ is checked.
The PSPICE AD Student Window should appear. View the output as done previously when
creating a netlist.
Steps to use OrCAD capture and PSPICE A/D:
A project in PSPICE A/D generally refers to the collection of design file ,
part libraries , report files , part libraries , report files and other associated materials
that exist as a set.
OrCAD capture is the front end schematic entry tool and PSPICE A/D is the
analog and mixed circuit simulator
From the windows start menu → programs → OrCAD 16.2 → OrCAD capture to
start OrCAD capture window
To create a project with the project wizard:
The OrCAD capture window will be started.
a. File menu → choose new →click on project command new project dialog box
appears
b. give the name to the projecting the name text box
c. use the browse button to select a new directory .
d. select analog or mixed signal simulation .
e. click the ok button.
f. select create a blank project to start a new project.
g. Now OrCAD capture windows schematic page is displayed where we pick and
place our components, wire the components ,set the values of component and
voltage/current source.
PSpice toolbars in capture:
NAME DESCRIPTION
New simulation profile Opens the new simulation profile dialog box
PSpice menu.
Current into pin marker Places a current into pin marker on the
schematic page equivalent to the current into
Ex:BC107
Polarized=C-elect
Inductor L L
page.
Resistor R R
page.
Ex: DIN4007.
To place the voltage sources:
To place the ground parts (0) , click the GND button on the tool palette.
From the place menu , choose wire to begin wiring parts the pointer changes to a
crosshair.
Click the connection point of the pin on the VSIN to the resistor do it as shown in
fig above to stop wiring right click and choose end wire.
The pointer changes to the default arrow .
Clicking on any valid connection point ends a wire a valid connection point is
shown as a box
If you make a mistake when placing or connecting components from the edit menu
, choose undo or click .
They form a “T” intersection , either by dragging on object or placing a wire
A junction is placed where they cross . if they simply cross at 90 , they are not
electrically connected unless you manually place a junction at the intersection you
can also we an alias to connect a single from one area of your schematic page to
another
For e.g : suppose you have placed a part of your schematic page and you want to
connect it to another part at the opposite corner of the schematic page. instead of
drawing wire from the first part to the second part. You can assign a single net
alias to a wire connected to both parts you can connect to crossing nets, after they
have been placed, by placing a junction where they cross.
To assign names (labels) to the nets:
• From the place menu choose net alias to display the place net alias dialog
box
• Double click the voltage label (or) on v2 or v3to display the display
properties dialog box
• In the value text book , type 15V
• Click ok
Continue changing the part value properties of the parts until all The parts are
defined as in the figure
Set the VSIN with the same values shown in the figure
To place voltage current and differential probes:
(a) From the PSPICE menu → markers → voltage level marker to display voltage
at nodes with respect to ground.
(b) from PSPICE menu → markers → current in to pin marker to display current
flowing through the component pin
(c) from the PSPICE menu → markers → voltage differential marker to display
voltage between two nodes .
7) from the PSPICE menu , choose RUN or from PSPICE toolbar click run.
8) PSPICE will simulate the circuit and display the output in PSPICE A/D
window.
9)to edit the simulation settings from PSPICE menu → edit simulation profile or
from PSPICE toolbar click edit simulation profile