Pspice Tutorial 1 Basics
Pspice Tutorial 1 Basics
PSPICE Tutorial 1
PSPICE Basics
Introduction
This tutorial will introduce Orcad PSPICE. It will take you through the steps of entering a
schematic diagram, specifying the type of analysis, running the simulation, and viewing the
output file. This tutorial assumes that you are running OrCAD 16.3 Demo, the most recent demo
version. However, this is very similar to previous versions.
SPICE is an acronym for a Simulation Program with Integrated Circuit Emphasis. It was
developed in the Electronics Research Laboratory at the University of California, Berkeley.
SPICE is a computer aided simulation program that simulates electric circuits. This program is
capable of simulating analog and digital circuits, nonlinear circuits, and transmission lines.
The basic SPICE circuit simulator is used in a number of software packages. One very popular
software package that includes SPICE is Orcad PSPICE. The projects and tutorials presented in
this class will use Orcad PSPICE. This software runs on a PC (no Macintosh version available).
In addition to having the ability to model a wide selection of electronic components, SPICE can
perform a variety of types of analyses including DC analysis, transient analysis, sinusoidal
steady state analysis, etc. You will be introduced to each of these as the semester progresses.
The Orcad PSPICE software allows the user to input their circuits using a schematic capture
program (called "Capture" or “Capture CIS”). The software creates a SPICE input file from this
diagram and performs the analysis. Other versions of SPICE require that the circuit configuration
be input in a text-based format. In this course, we will utilize the Capture program.
Component values may be specified as an integer (4, 12, -8), or a real number (2.5, 3.14159, -
1.414). Integers and real numbers may be followed by either an integer exponent (7E-6,
2.136E3) or a symbolic scale factor (7U, 2.136K). Table 1 below summarizes the symbolic scale
factors used in PSPICE. Letters immediately following a number that are not scale factors are
ignored, as are letters immediately following a scale factor. For example 10, 10v, 10Hz and 10A
all represent the same number, as do 2.5m, 2.5MA, 2.5msec, and 2.5Mohms. Do NOT include
spaces in your values. For example, "15ohms" is correct, but "15 ohms" is not.
Table 1. PSPICE Scale Factors
Symbol Exponential Form
F 1E-15
P 1E-12
N 1E-9
U 1E-6
M 1E-3
K 1E3
MEG 1E6
G 1E9
T 1E12
Note the difference between the use of “M” and “MEG” as a scale factor.
Starting a New PSPICE File
To learn the fundamental steps of running a PSPICE simulation we will begin with the simple
resistive circuit shown in figure 1.
1. On the computer's Desktop screen, click on Start, move the cursor to Programs à Cadence
à Orcad 16.3 Demo àOrcad Capture CIS. Depending on the directory names that you
used during the installation these titles may read differently. No license will be found if you
are running the demo version. Indicate that you want to start using the demo license, if
asked.
2. The Orcad Capture window should open. Click on File à New à Project..
3. The New Project dialog box should open.
4. Type the name of your circuit in the "Name" box, and indicate the path to the directory in
which you want to store your file under "Location".
5. Click on the radio button next to: Analog or Mixed A/D, then click OK.
6. The Create PSPICE Project dialog box will appear. Select "Create a blank project", and
click OK.
7. A schematic entry window will appear. The screen should now look similar to that in Figure
2. Due to the differences in versions your display may have a different appearance.
6. Once all of the resistors have been placed, right-click the mouse button and select "End
Mode" from the pop-up menu. This will cause the resistor to disappear. Alternatively, you
may enter “ESC”.
7. Next, we need to add the DC voltage source. Select the "Source" library from the Place Part
window and the part "VDC." Place this on the schematic as you did with the resistors.
8. Every circuit that is simulated on PSPICE must have a ground node indicated. This is done
by entering the ground symbol. To place the ground, select Placeà Ground (or click on the
ground symbol on the toolbar). Select the "Source" library and the ground part labeled "0".
It is very important that you use this particular ground or your simulation will not run.
The first time you use this ground you may need to add the Source library from the Place
Ground window. Place the ground as shown in figure 5.
Figure 5. Circuit Element Placement
Wiring the schematic
1. Select the Place Wire button from the toolbar.
2. Drag the cross-hair pointer to the positive end of the VDC source. Click on it.
3. Move the cross-hair pointer to the left terminal marker of the first resistor. Click on it.
4. Repeat the procedure until all components are connected.
5. Click the right mouse button. Select End Wire and click on it. Your schematic should now
appear as the one in figure 6.
*Libraries:
* Local Libraries :
* From [PSPICE NETLIST] section of C:\Program Files\OrcadLite\PSpice\PSpice.ini file:
.lib "nom.lib"
*Analysis directives:
.PROBE V(*) I(*) W(*) D(*) NOISE(*)
.INC ".\project1-SCHEMATIC1.net"
JOB CONCLUDED
Current Sources
A DC independent current source can be found in the parts list as IDC. This is similar to the
voltage source used above except the current is held at a specified value.
3
V1
2V R2
1 1A
I1