EE124 Web Site - Introduction to PSPICE



Analyzing the Transient Characteristics of the example Circuit
A. PSPICE Program Installation.
        Follow the instructions provided with the PSPICE program and install it on your computer.

B. Program Schematics Startup.
        1. For Window 95/98/NT users, go to the Start Menu and left click the mouse.
        2. Under the Start Menu, find Programs and left click the mouse again.
        3. Find the folder named either DesignLab Eval 8 or Microsim Eval 8 and again left click.
        4. Finally, left click on Schematics. The Schematics section of the PSPICE program should start up.

C. Load or Build the Example Circuit.

a. To load up the circuit.
If you have already built and saved a schematic file of example circuit, load it up by selecting File - Open in the schematics. If you have not saved the circuit, the example circuit may be downloaded.

       To download Right Click the mouse over the link and choose Save Target As... or Save Link As..., select target directory and then save.

Download Low Pass Filter Example Schematic Circuit (LPFilter.sch)


b. Build the Circuit.
If you have not yet built the circuit, follow the instructions in the section indicated below showing how to build the circuit.

How to Build Example Circuit (p-build.html)


    The example circuit should look something like this:

D. Insert Input Source.

To properly analyze a circuit, a proper input source has to be connected to the input of the circuit. In this case, we have to connect a source to the left end of Resistor R1.

1. For a transient type analysis, one of possible input source is VPWL (Piecewise Linear Voltage Source). So go to Draw - Get New Part and select VPWL. Insert the + end of the source at the input of the circuit and add a GND_ANALOG to the - end of the source.
    The VPWL source will allow the user to specify and describe a specific input waveform.

2. VPWL needs to be specified.

a. Set up VPWL by double left clicking the mouse on it. Change the values of DC to 0 and AC to 0 remembering to click on Save Attr after each change.  What has been done here is to provide the circuit with a AC source of 0 Volt biased on a DC point of 0 Volt.

b. Set up the Input Transient Waveform by entering these values:

T1 = 0m            V1 = 0v
T2 = 1.5m         V2 = 0v
T3 = 3.0m         V3 = 1v
T4 = 3.1m         V4 = 0v
T5 = 4.0m         V5 = 0v
T6 = 4.1m         V6 = -2v
T7 = 5.0m         V7 = -2v
T8 = 5.1m         V8 = 0v
The way to read these values is to say that, at time Tn, the voltage at the input will be Vn, where n is the n-th parameter.

c. Click on OK to close the window.



E. Analysis Setup.
1. Setup the the desired type of analysis by going to Analysis - Setup.

         2. Since a Transient analysis is to be done here, click on Transient.
a. Enter 0.01m at Print Step.
b. Enter 6m at Final Time.
    This will tell P-SPICE to calculate the various values of the circuit at each 0.01 ms from 0ms to 6ms. Remember not to leave any spaces between values.
c. Click on OK.

3. Back on the Analysis Setup Screen, make sure Transient and Bias Point Detail are Enabled (their corresponding boxes ticked). Bias Point Detail allows the user to examine the operating points (or DC points) of the circuit. Click on Close.

4. Using File-Save As Save the circuit with another name, for example LPfilter2.sch.
 

F. Analysis
1. To Start the AC analysis, Go to Analysis - Simulate. After a brief while of calculation, PSPICE will display the MicroSim Probe window (or select it manually, if necessary).If there are any errors, check the circuit, the values for the components.


2. To choose which plot to trace, select Plot - Add Traces. Select V(U1:OUT) which is the output voltage of the Operational Amplifier and V(V3:+) which is the input waveform of the circuit. The box Trace Expression at the bottom of the window indicates the outputs that will be traced. Click on OK.
3. We should see the trace of the output and input voltage displayed. In this case, the output voltage is the Green line and the input is the Red line.


 
4. If there is a need to examine the slopes in detail, go to Tools - Cursor - Display. PSPICE  will provide 2 cursors for value examination. One cursor is controlled by the Left Hand Mouse Button and the other one by the Right Hand Mouse Button.
a. Left-Click on the Green Square by V(V1:OUT) (at the bottom of the display), now move the mouse across the graph while Holding down the Left Button of the Mouse, the Left Cursor should move along the green line with the coordinates values displayed in the Probe Cursor window.
b. Right-Click the mouse on the Red Square by V(V3:+), now when Holding down the Right Button of the Mouse, the Right cursor will move along the Red Line with its coordinates values displayed in the Probe Cursor window.
Return to P-Spice Introduction Index




Return to EE124 Homepage