PSPICE Transient Simulation Plotting
PSPICE Transient Simulation Plotting
1) Place Markers using the place marker icon (top toolbar) at Vin and Vo (as shown below).
marker
II. Simulating
1
6) To run the simulation: select the run simulation icon (top toolbar)
2
III. Adding Additional Traces
After running a simulation you can display additional traces or functions performed on traces. We will plot (Vo-Vn)
(the voltage across the capacitor)
8) Adding Traces
a) From the Top toolbar of the SCHEMATIC-sim window select: Trace→Add Trace
b) Enter the Expression V(Vo)-V(Vn) as shown below
c) Click on <OK> to close the window
Voltages
and currents Functions
that can be that can be
plotted perfomed
3
IV. Using Cursors
It is possible to determine precise current and voltage values after running a simulation using interactive cursors.
There are two cursors: Y1 and Y2. Y1 is controlled with the left mouse button and Y2 with the right
Little square
b) Click on the actual V(Vo) trace with your left mouse. You will see a crosshair at the location
(see below)
c) Keeping your left mouse button depressed drag the crosshair to a different location
d) At the bottom of the screen (X,Y) information for the Y1 cursor is displayed. Also find
information for Y2 and Y1 minus Y2. (see below)
Crosshair for
Y1 cursor
Data for Y1
and Y2
cursors
The Y2 (right mouse) cursor data can be displayed by repeating steps (16)-(18) that were used for the
Y1 cursor (left mouse) substituting the right mouse
4
V. Transient Simulation with a Digital Pulse
There are two parts that can commonly be used for digital simulation: Vpwl and Vpulse (also Ipwl and Ipulse for
currents). Here we will use Vpwl.
Ti Vi
(T1, V1) 0 0
(T2, V2) .5m 0
(T3, V3) .501m 1
(T4, V4) 1m 1
(T5, V5) 1.001m 0
e) Click on <Apply>
f) Click on the close window x (top right) to close the window
5
VI. Plotting Currents
15) On your schematic add a current marker plotting the current through the resistor
a) Select the Add Current marker icon
b) Place the marker on the pin of the resistor (the very edge of the part)
Add Current
marker
16) Rerun the simulation (top toolbar run simulation icon) (See step (6)
of this tutorial)
Declaring a variable
6
Creating an Equation
18) Curley brackets are used to denote equations. Edit the Capacitor value to be: {val*1u}.
20) Rerun the simulation (top toolbar run simulation icon) (See step (6) of this tutorial)
21) In the resulting window select <OK> to plot all results