0% found this document useful (0 votes)
11 views22 pages

Lab 2

This document appears to be a lab manual for an electrical engineering course on linear circuit analysis. It provides instructions on how to use the circuit simulation software PSpice/LTSpice to analyze circuits. The document covers creating a project, adding libraries, capturing schematics, performing DC bias point analysis, and includes an example circuit for students to simulate. It also includes a table to record student grades and feedback on various learning outcomes for the lab.

Uploaded by

tahamahmood2903
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
11 views22 pages

Lab 2

This document appears to be a lab manual for an electrical engineering course on linear circuit analysis. It provides instructions on how to use the circuit simulation software PSpice/LTSpice to analyze circuits. The document covers creating a project, adding libraries, capturing schematics, performing DC bias point analysis, and includes an example circuit for students to simulate. It also includes a table to record student grades and feedback on various learning outcomes for the lab.

Uploaded by

tahamahmood2903
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 22

Department of Electrical Engineering

Faculty Member: ____________________ Dated: ________________

Semester: __________________________ Section: ________________

EE-111: Linear Circuit Analysis

Lab 4: Introduction to PSpice/LTSpice

PLO4/CLO5 PLO5/CLO6 PLO8/CLO7 PLO9/CLO8

Name Reg. No Viva /Quiz / Analysis Modern Ethics and Safety Individual and
Lab of data in Tool Usage Teamwork
Performance Lab 5 marks
Report 5 marks 5 marks
5 marks
5 marks

Shahmeer 480008
Adnan Rana
Taha 454573
Mahmood
Shamel 467948
Mujtaba

EE-111: Linear Circuit Analysis Page 1


Starting PSpice:

The free evaluation version on which the examples on this page are based is
called "OrCad Family Release 9.2 Lite Edition". Before starting the program, turn
off real-time virus checking. Then select "Capture CIS Lite Edition" from the Start
Menu as shown below.

Don't forget to turn real-time virus checking back on when you are done with
OrCad Capture and your PSpice simulations.

Creating a Project

To create a new project, select "New Project" from the File Menu of OrCad
Capture as shown below.

EE-111: Linear Circuit Analysis Page 2


In the Project Dialog Box select a folder and a file name for your project. Make
sure that the "Analog or Mixed A/D" radio button is selected as shown in the
figure below, otherwise you will not be able to perform a PSpice simulation later
on.

In the "Create PSpice Project" dialog box select "Create a blank project" as shown
next.

EE-111: Linear Circuit Analysis Page 3


Now you should see a screen similar to the one shown below with a project
manager window (.opj file) and an empty schematic window.

Now parts can be placed in the schematic and wired together to create a circuit.

EE-111: Linear Circuit Analysis Page 4


Libraries

The parts that are used in a schematic are organized in libraries that may have to
be added to a project before the parts can be placed in the schematic. To begin
select "Part..." from the "Place" menu of OrCad Capture as shown below.

Initially, the list of libraries at the bottom left of the Place Part dialog box may be
empty as shown below, or not contain the library of the part that you want to use.

EE-111: Linear Circuit Analysis Page 5


To add a library click the "Add Library..." button to obtain the Browse File dialog
box shown in the next figure. Make sure to add only libraries (.olb file extension)
from the PSpice subdirectory of the Library directory, otherwise you will not be
able to run a PSpice simulation of the circuit. The most important libraries to
start from are the analog.olb and the source.olb libraries.

EE-111: Linear Circuit Analysis Page 6


The figure below shows some of the most commonly used parts and the libraries
from which they are available.

The screen snapshot below shows the "Place Part" dialog box with the ANALOG,
ANALOG_P, and the SOURCE libraries added.

Note that the ANALOG_P library contains capacitor, inductor, and resistor parts
whose pins are numbered as shown below for the resistor part. Pin 1 generally
corresponds to the pin towards which the current arrow points and a positive
value for the part current means that current flows from pin 1 to pin 2 of the
part.

EE-111: Linear Circuit Analysis Page 7


Once the libraries for the desired parts are added, the parts can be place in the
schematic and wired up

Schematic Capture

At this point it is assumed that you have successfully created or opened a project
and you know how to add a library that contains desired parts if necessary. To
make a simple example of a circuit, start by placing a DC voltage source in the
schematic s follows. Select "Part..." in the "Place" menu of OrCad Capture. Click on
the SOURCE library and select the VDC part as shown below.

EE-111: Linear Circuit Analysis Page 8


Use the cursor to move the source to the desired location in the schematic and
then press the left mouse button to place it. Capture automatically labels each
part, e.g., V1 for the first voltage source, V2 for the second voltage source, etc. If
you're done placing voltage sources press the escape key or the "Select" button
in the Tool Palette on the right.

EE-111: Linear Circuit Analysis Page 9


Next, select a resistor R from the ANALOG library in the Place Part dialog box as
shown below.

Place two resistors R1 and R2 in the schematic as shown next.

EE-111: Linear Circuit Analysis Page 10


Select R2 by left-clicking on it, then right-click to obtain the pop-up menu as
shown below. Select "Rotate" to rotate R2 counterclockwise by 90 degrees.

To change the value of a part, e.g., R2, select the value by left-clicking and the
right-click to obtain the pop-up menu shown in the next figure.

Select "Edit Properties..." so that you can change the Value (from 1k to 500) and,
if necessary, the Display Format (in this case to "Value only") in the Display
Properties dialog box shown below.

EE-111: Linear Circuit Analysis Page 11


Next, choose "Ground..." in the Place menu of OrCad Capture as shown in the
following screen snapshot.

Make sure that you select the PSpice ground (labeled with "0") from the PSpice
SOURCE library as shown in the Place Ground dialog box below. (If you just
EE-111: Linear Circuit Analysis Page 12
installed PSpice Lite on your own computer, you may have to add the SOURCE
library to the Place Ground window.)

The next figure shows the ground symbol from the CAPSYM library that looks
very similar but will not work in PSpice.

To interconnect the parts with wires select "Wire" from the Place menu or click
on the "Place Wire" button in the Tool Palette.

EE-111: Linear Circuit Analysis Page 13


Move the cursor to the location where the wire starts and left-click. Use the
mouse to draw the wire as shown in the figure below and left-click to place a
vertex and change direction. If the wire ends at a pin or another wire, left-click to
end the wire.

EE-111: Linear Circuit Analysis Page 14


The next figure shows the schematic with the wiring complete. Press the escape
key or the "Select" button in the Tool Palette to end the Place Wire mode.

As a last item, double-click on the 0Vdc value of the voltage source and enter the
desired value, e.g., 12Vdc as shown below.

EE-111: Linear Circuit Analysis Page 15


Now the schematic is ready for a DC Bias Point or a DC Sweep simulation in
PSpice.

Element Properties

Each element in a schematic has properties associated with it, such as the
Graphic that is used in the schematic, the Part Reference, the Value, the Pin
Names, and the Nets to which the pins are connected. To view and edit the
properties of a part, select the part by left-clicking on it and then right-click to see
the menu shown in the figure below.

Left-click on "Edit Properties..."

EE-111: Linear Circuit Analysis Page 16


DC Bias Point Analysis

For a DC Bias Point Analysis PSpice computes the dc voltages for each node in a
circuit and the dc currents for each branch in a circuit. It also computes the dc
power for each element in the circuit. The example shown here uses the circuit in
the figure below.

To get started, select "New Simulation Profile" from the PSpice menu as shown
below.

EE-111: Linear Circuit Analysis Page 17


Enter a name for the New Simulation, e.g., dc_bias as shown in the next figure.

In the Simulation Settings dialog box, select "Bias Point" for the Analysis type as
shown below.

EE-111: Linear Circuit Analysis Page 18


EE-111: Linear Circuit Analysis Page 19
To check the bias currents click on the I button in the tool bar. For Power
dissipation click on W.

EE-111: Linear Circuit Analysis Page 20


End Exercise :( This lab includes the following circuit along with more practice of
PSpice)
After getting yourself familiarized by the software, you are requires to draw the
following circuit and simulate it on PSpice . Find all the labeled current values
along with voltage and power values and include the screenshot in your properly
made lab report.

EE-111: Linear Circuit Analysis Page 21


EE-111: Linear Circuit Analysis Page 22

You might also like