Académique Documents
Professionnel Documents
Culture Documents
Lab Course
• Attendance 10%
• Lab Tasks 30%
• Mini Project 20%
• Lab Exam 20%
• Viva 20%
2
Lab No.01
3
Introduction to PSpice
• What is SPICE?
4
How to Use?
• In its original form you tell Spice what elements are in the circuit
(resistors, capacitors, etc.), and then enter the circuit diagram as an
ASCII file showing what nodes each element is connected to.
• Every node is assigned a number, and there is always a ground
node, which has Number 0.
• You then tell Spice what information you want -- bias conditions,
frequency response, and/or transient response.
• Spice does the circuit analysis and puts out an ASCII file with the
information.
• Using Spice is not very intuitive because the input is an ASCII file
rather than a circuit diagram, and the output is another ASCII file
rather than a graph.
• Several companies have developed graphical user interfaces for
Spice, which make it much easier to use.
• One of the most popular is PSpice.
Analysis Type
• Before performing any simulations that require graphical output,
you must first tell PSPICE how you want to display the results.
• DC Analysis
– It is used for circuits with time invariant sources.
• Transient Analysis
– It is used for circuits with time variant sources
• AC Analysis
– It is used for analysis of circuits with sources of variable frequency.
Units
• Units of time, seconds, milliseconds, microseconds,
nanoseconds, picoseconds are written with the
abbreviations s, ms, us, ns, ps, e.g. 10us.
• Note that the current source Idc shows the flow of direction of the
electrons, which is the opposite of current.
More sources
• There are other sources such as Vac and Iac, but we seldom
use them
• Vsin is preferred to Vac because different frequencies can be
set in Vsin
Example
Compute the voltages and current between every node when V
= 12V DC
Getting Started
• Open up the “PSpice Schematics” application
• Start >> All Programs >> PSpice Student >> Schemetic
13
Part Placement
• Click on Draw on the Menu Bar and then, click on the
• Get New Part option.
Independent dc Voltage Source
• In the open window, click on the space under Part Name and type
VDC. This is the independent voltage source .
• When the part shows up click on the Place tab.
Placing the dc Voltage Source
• Click anywhere on the schematic background to place the part and
then right click.
Voltage Value Setting
• Double click the DC source
• Click on DC=0V
• Type Value
• Click Save Attr Button
• Then, OK
Resistor Placement
• Go back to the Part Draw Basic window and in the space under Part
Name, type R.
• Place one resistor and move the cursor on the background and click
again. In this way you can place as many resistors as you need.
• Right click when done.
• Rotation of elements:
Select the element
CTRL+R turns the element
Resistance Value Setting
• Double click on each resistor and type in the specified value into
the space shown below.
• Click on Save Attr.
GND placement
• Following the same procedure,
type GND_EARTH and place the
part on the background.
• This for the common ground.
• Close the Part window.
• GND_EARTH must be connected to
a circuit; otherwise, error would
occur.
Placement of all the Parts
• Place the parts in such a way that would ease the connection of the
wires.
Wiring the Parts
• Click on Draw on the Menu Bar and on the
drop down menu click on wire.( CTRL + W is
the shortcut)
Wiring
• First click on the
terminals/edges of the circuit
component.
• Then release the mouse button.
• Draw until you get to the edge
of the next component it
should be connected to.
• Then Click Mouse Button to
finish.
Circuit Completed