BEEE 1313:
ENGINEERING
WORKSHOP 2
LAB 3: ELECTRONIC CIRCUIT SIMULATION TOOLS USING PSPICE ON DC &
AC ANALYSIS
Mohammad Faizal Zulkifli1
[Link]@[Link]
1
HOW TO OPEN PSPICE
1. Find and Open OrCAD Capture CIS by clicking according the
sequence: Windows Button -> All Programs -> Cadence -> Release
16.5 -> OrCAD Capture CIS.
3
1 2
HOW TO CREATE NEW PROJECT (1)
1. Fig. 1 shows the OrCAD Pspice Environment.
2. Create new project by clicking according the sequence: File-> New -
> Project.
3
Fig. 1 3
HOW TO CREATE NEW PROJECT (2)
5. Insert your names at name column. Click Analog or Mixed A/D.
6. Change the location directory to Desktop by clicking Browse then
find Desktop (as shown in 4) then click OK.
1
3 5
4
4
HOW TO CREATE NEW PROJECT (3)
5. The new location directory will show in Location column. Click OK
to proceed.
6. A pop-up window will display. Click OK again to proceed.
3
Fig. 2
5
HOW TO CREATE NEW FILE (1)
1. New window will open as shown in Fig. 3. To view your schematic
diagram double-click on Design Resources -> [Link] ->
SCHEMATIC1 -> PAGE1.
Fig. 3 6
HOW TO CREATE NEW FILE (2)
2. New window will open as shown in Fig. 4. Most of the electrical
components required for your circuit simulation is shown in the red
circle.
Fig. 4 7
INSERT COMPONENT IN SCHEMATIC
DIAGRAM (1)
1. Click on the icon shown in red 1
circle. A new option will be
prompt as shown Fig. 5.
2. Note that for each component has
its own acronym (eg. C for
capacitor) and library it being
assigned to (eg. C is in ANALOG
library) as shown by 1 and 2
respectively.
2
Fig. 5
8
INSERT COMPONENT IN SCHEMATIC
DIAGRAM (2)
3. Double left click on the 2
1
component desire (for
example capacitor, C as
shown in 1). The component
will automatically appear on
the workspace (as shown in 2)
4. Move your cursor to change
the location of the component 3
and left click to place the
desired location (as in 3)
5. Press Esc to stop deselect the
component.
9
INSERT COMPONENT IN SCHEMATIC
DIAGRAM (3)
6. The frequently used components that you will be using for this
laboratory as shown in table below:
ICON NAME PART LIST LIBRARIES ICON NAME PART LIST LIBRARIES
DC Current
Resistor R ANALOG Source IDC SOURCE
Print Current Voltage-
Value IPRINT SPECIAL Controlled G ANALOG
Current Source
Print Current-
Voltage VPRINT2 SPECIAL Controlled H ANALOG
Difference Voltage Source
Voltage
Source VSRC SOURCE
10
INSERT COMPONENT IN SCHEMATIC
DIAGRAM (4) 1
7. Other than the components 2
mentioned, there also
several other components
that you will be using:
• Voltage marker – to indicate
voltage value at a node (Refer 1)
• Current marker – to indicate
current value at a pin (Refer 2)
• Wire – to connect between
components (Refer 3)
• Ground - grounding for
electrical circuit (Refer 4).
Please select 0/CAPSYM
3
4
11
EDITING PARAMETER OF A 2
COMPONENT
1. Eg. You want to edit R5 value 1
from 1k to 2.7k.
2. After placing the component
on workspace, double click
at the value indicator (refer
1) of a component.
3
3. Change 1k to 2.7k at 2. Then
click OK (as 3)
4. To rotate a component, click
at the component until it
become purple. Then right
click, then click Rotate (as 2),
the component will rotate 90 5
degree. 4
12
CONNECTING WIRE 1
1. Eg. You want to connect R5 2
to C1.
2. Click wire (refer 1) and click
relevant pin of a component
(refer 2). Then click the other
pin of a component that you
want to connect (refer 3).
3
13
EXAMPLE: SERIES & PARALLEL
RESISTOR CIRCUIT (1)
1. Based on what we had learned before make a basic circuit as follows:
2. Once you complete press the Run PSpice
14
EXAMPLE: SERIES & PARALLEL
RESISTOR CIRCUIT (2)
3. Your result should be as follows:
15
EXAMPLE: SERIES & PARALLEL
RESISTOR CIRCUIT (3)
4. You can view your output result by clicking View -> Output Result
(refer 1 & 2).
2
1
16
EXAMPLE: SERIES & PARALLEL
RESISTOR CIRCUIT (4)
5. Fig. 6. indicates the output result that you should be getting.
17
PART A:DETERMINING DC NODE
VOLTAGES (1)
1. Follow the instruction in your laboratory sheet. Your schematic
should be something like this (Please ignore the wrong label):
18
PART A:DETERMINING DC NODE
VOLTAGES (2)
1. Your simulated circuit should be like this:
19
PART B: ANALYSING CIRCUIT WITH VOLTAGE AND
CURENT PRINTERS (1)
1. Follow the instruction in your laboratory sheet. Your schematic
should be something like this (Please ignore the wrong label):
20
PART B: ANALYSING CIRCUIT WITH VOLTAGE AND
CURENT PRINTERS (1)
2. Your simulated circuit should be like this:
21
PART B: ANALYSING CIRCUIT WITH VOLTAGE AND
CURENT PRINTERS (3)
3. To perform DC Sweep, first click at the New Simulation Profile
4. There will be a pop-up, insert a name at the Name column (refer 1),
then click OK (refer 2).
5. Another pop-up will appear. Then select DC Sweep (refer 3).
2
22
PART B: ANALYSING CIRCUIT WITH VOLTAGE AND
CURENT PRINTERS (4)
6. The window will refresh. Then insert V1 at Name column (refer 1).
7. As stated in the sheet VPRINT2 and IPRINT requires simulation DC
Sweep mode. Thus, the start and end value differ slightly: 10V &
10.001V (refer 2 & 3). Increment column is set as 0.001 (setting as 0
will leads to an error) as in 4. The click OK (refer 5).
3
4
5
23
PART B: ANALYSING CIRCUIT WITH VOLTAGE AND
CURENT PRINTERS (5)
8. The Schematic window will pop-up. Right click and click Add Trace
(refer 1), the Add Traces window will pop-up, select I(PRINT 3) (refer
2) and click OK (refer 3).
2
3
1
24
PART B: ANALYSING CIRCUIT WITH VOLTAGE AND
CURENT PRINTERS (6)
9. The Schematic window will shows a graph. This is the graph of
IPRINT. The small increase of current due to the increment of V that
we set in DC Sweep.
25
PART C: AC CIRCUIT ANALYSIS USING
PHASOR (1)
1. To display ACPHASE at VSIN, right click, then click Edit Part. Fig. 1
will pop up. Next, double click at the icon and Fig. 2 will pop up!
Click ACPHASE and insert 30 at a new pop up and click Name and
Value for Display Format (Fig. 3). Click OK for both pop-up. Then
click Update Current.
Fig. 1 26
Fig. 2 Fig. 3
PART C: AC CIRCUIT ANALYSIS USING
PHASOR (2)
2. Repeat step (1) for ACMAG.
3. Then, place other components and connect the circuit as shown in
Fig. 4.
4. Perform AC Sweep using the value shown in Fig. 5. This step is
similar to DC Sweep.
Fig. 4 27
Fig. 5
PART C: AC CIRCUIT ANALYSIS USING
PHASOR (3)
2. Repeat step (1) for ACMAG.
3. Then, place other components and connect the circuit as shown in
Fig. 6.
4. Perform AC Sweep using the value shown in Fig. 7. This step is
similar to DC Sweep.
Fig. 6 28
Fig. 7
PART C: AC CIRCUIT ANALYSIS USING
PHASOR (4)
5. Your result for V(PRINT) as follows:
29
PART C: AC CIRCUIT ANALYSIS USING
PHASOR (6)
5. Your result for I(PRINT) as follows:
30
PART D: ANALYZING THE LINE
VOLTAGE AND LINE CURRENT OF
THREE-PHASE WYE-DELTA CIRCUIT (1)
1. Do circuit as shown below. Set the starting frequency is 1Hz, end
frequency is 60Hz and 60 points:
31
PART D: ANALYZING THE LINE
VOLTAGE AND LINE CURRENT OF
THREE-PHASE WYE-DELTA CIRCUIT (2)
2. Your result for VPRINT should be as follows:
32
PART D:ANALYZING THE LINE
VOLTAGE AND LINE CURRENT OF
THREE-PHASE WYE-DELTA CIRCUIT (3)
3. Your result for iPRINT should be as follows:
33