Pspice Transient
Pspice Transient
From the source library, choose the VPULSE source, as shown below, and place it in the
drawing window.
From the analog library, add a resistor and a capacitor to the drawing window. Add a ground a
connection, and then wire the parts together, as shown below.
Change the capacitor value to 1 F (1u in PSPICE terminology). The resistor can stay at 1 k.
(Of course, we know that this gives an RC time constant of 1 ms.)
The source has a number of parameters. A value must be entered for each if any are left blank,
PSPICE will complain and refuse to run the simulation.
TR
TF
V2
V1
TD
PW
t=0
PER
The only parameter that is required is the Run to time, which is entered in the first text box of
the dialog. The specifies the duration of the simulation, which will run from t = 0 to the specified
time specified.
The program determines the time step size using an internal algorithm. Sometimes the step sizes
chosen by the program are too big, and the resulting data is too coarse (meaning that the plot
will not be smooth). You can override the automatic step size so that the increments will be
smaller than some maximum value. A reasonable approach is to start by leaving the maximum
step size option blank and allowing the program to choose the step size. If the resulting plot is
not smooth enough for your purposes, come back and edit the simulation profile by entering a
value here. For example, you might choose the total time divided by 100, which would
guarantee at least 100 points in the plot. Run the simulation again, and check the plot. Continue
adjusting the maximum step parameter until you get a suitably smooth graph.
The plot
If the simulation runs successfully, a plot window will open. Initially, it may be hidden behind
the drawing window click the flashing icon in the tray at the bottom to bring the plot to the
front. The plot should have traces of the two probe voltages. The plot traces will now be color
coded to the probes.
There you have it - the familiar RC transient waveforms. At this point, you can make
adjustments. If you want to probe different points in the circuit, go back the drawing window
and add, move, or remove probes. The plot will be updated automatically you do not need to
re-run the simulation. If you want to change component values or adjust the maximum step size,
you will need to re-run the simulation. The plot will be updated automatically afterwards.
In the plot window, there are also some tools that can be used in analyzing the plot. Most useful
for 201 students is a cursor function that can be used the find the exact values of a point on the
plot.
Make some adjustments to the circuit and play around with the plot to gain some feel for how
various parameters affect the results.
An RL transient
Shown below, without commentary, are the images for an RL transient simulation. The set up is
exactly the same as described above for the RC transient. The only differences are the use of the
current pulse source (IPULSE), which has parameters similar to VPULSE, the inductor (located
in the ANALOG library), and the use of the current probes. Note that the second current probe
was placed at ground side of the inductor to measure the current flowing out at the pin. If the
probe is placed on the opposite side of the inductor, the current will show up as negative, because
the current is actually flowing inward at that pin. Also, the current probe must be placed right on
a pin. If you attempt to place it on a wire between two pins, PSPICE will complain.