Exercise 1

Up Next

Home
Exercise 1
Exercise 2
Exercise 3
Exercise 4
Exercise 5

Use of PSPICE for Resistive Circuits

DC Resistive Circuit

Hit <Crtl G> and enter the part name:
R for a resistor,
C for a capacitor,
VSRC for a dc voltage source,
Agnd for analog ground
Viewpoint for getting voltages at any node in the circuit
Probe for getting currents in branches

An example on how to select a resistor is shown below:

seq1.gif (144133 bytes)

 

Start by getting parts from PSPice schematic libraries.
Place the components in proper locations according to the circuit diagram.
You can use the following to rotate and flip parts:

<Ctrl R> to rotate

<Ctrl F> to flip a part

(Note: these commands are not case sensitive)

seq2.gif (160961 bytes)

In order to provide connections between parts, use:

<Ctrl w> to get a wire.

To connect a wire between two elements, hit <Ctrl w> and start by clicking the left button mouse (LBM) on the starting point, moving the mouse to the ending point, and clicking again on the LBM. Notice that the line you drew is red, which means that it is still under editing (you can delete it or move it, etc). Move the mouse away from this line and click once on the right button mouse (RBM) to exit the editing mode. Notice that the line color turns green.

In order to set a value for a part, select the part by clicking on it once with the
LBM, then double click with the LBM to bring the attribute dialog box and set
the value by highlighting the <value> from the menu and typing the value in the
prescribed box. For this example, the voltage source was set to 16V. The
following shows the attribute setup:

seq3.gif (318785 bytes)

The final circuit will look like:

ex1_unsim.gif (11966 bytes)

In order to simulate, hit <F11>. The simulation results will like:

seq4.gif (113076 bytes)

Notice that the voltage across the nodes are written by the viewpoint parts
and the currents in branches are written by the iprobe parts.

 

 

Back to EE196 Homepage
This page was last modified August 12, 1998
Please contact John Schild (jhs@engr.iupui.edu) concerning this site.