Lab Report SW Exp1 Example

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Bangladesh University of Engineering and Technology

Department of Electrical and Electronic Engineering


Dhaka-1205, Bangladesh

EEE 102

Electrical Circuits I Laboratory

Simulation Experiment #01


Name of the Experiment: Introduction to PSpice

Name: Shahriar Tarek Mahmud Level: 1/Term: 1


Student ID: 2206054 Group:
Date of Performance: 3 December 2023 Section: A2
Date of Submission: 17 December 2023
Name and designation of course teachers:
1. Dr. Md. Ziaur Rahman Khan, Professor
2. Elin Ranjan Das, Adjunct Lecturer
Objective:
➢ Familiarising with the fundamentals of computer aided circuit simulation
using PSpice.
➢ Focusing on the analysis of some DC circuits.
➢ Creating circuit schematics and netlist using the Pspice software.
➢ Comparing the data with the theoretical output results of the given circuits.

Netlist:
Circuit Diagram #1:

Figure 1.1: 1st Circuit diagram (Netlist)

Theoretical Calculations:
From the circuit above, we find the node voltages:
V1 = Vs = 20 V
V3 - 0 = - Is Rc = -2×1 ∴ V3 = -2 V

Applying Kirchhoff’s Current Law (KCL) in node 2, we get:

1 1
(V2 – V1) × + V2 × = 2
5 4
1 1
Or, (V2 – 20) × + V2 × = 2 [Since, V1=20V]
5 4

∴ V2 = 13.33 V
Again, applying Ohm’s law, we get:
20−13.33
Current through Ra = = 1.333mA
5
13.33
Current through Rb = = 3.333mA
4
Current through Rc = 2 mA

Voltage across Ra = 20 – 13.33 = 6.667 V


Voltage across Rb = 13.33 V
Voltage across Rc = -2 V

Netlist Input:

Netlist Output:
Circuit Diagram #2:

Figure 1.2: 2nd Circuit diagram (Netlist)

Theoretical Calculation:

From the circuit above, we find the voltages at nodes:

V3 = 2 V

V1 – V2 = 6 V………..(1)

Applying KCL in node-1 and node-2, we get:

1 1 1
V1 × + V2 × + (V2-V3) × = 1
10 5 7
1 1 1
V1 × + V2 × + (V2-20) × = 1 [Since, V3=20V]
10 5 7
1 12 9
V1 × + V2 × = ……………………….…(2)
10 35 7

Solving equation (1) and (2),


V1 = 7.548 V
V2 = 1.548 V

Voltage across R1 = 2 – 1.548 = 0.452 V


Voltage across R2 = 1.548 V
Voltage across R3 = 7.548 V

0.452
Current through R1 = = 0.06452 A
7
1.548
Current through R2 = = 0.3097 A
5
7.458
Current through R3 = = 0.7548 A
10
Netlist Input:

Netlist Output:
Schematic:
Circuit Diagram #1:

Figure 2.1: 1st circuit diagram (schematic)

Theoretical Calculations:

From the circuit, we find the node voltages,


V1 = Vs = 20 V
V3 = ‒ Is Rc = ‒2×1 = ‒2 V

Applying KCL in node 2,


1 1
(V2 – V1) × + V2 × = 2
5 4
1 1
Or, (V2 – 20) × + V2 × = 2
5 4
∴ V2 = 13.33 V

Again,
20−13.33
Current through Ra = = 1.333mA
5
13.33
Current through Rb = = 3.333mA
4
Current through Rc = 2 mA
20−13.33
Current through Vs = = 1.333mA
5
Current through Is = 2 mA
Schematic Input:

Schematic Output:
Circuit Diagram #2:

Figure 2.21: 2nd circuit diagram (schematic)

Theoretical Calculation:

Applying KCL in node 1,


1 1 1
V1 × + (V1 – V2) × + V1 × = 3
3 7 1
31 1
V1 × – V2 × = 3 ………………………….(1)
21 7

Applying KCL in node 2,

1 1 1
V2 × + (V2 – V1) × + V2 × + (-25) = 0
4 7 5
1 83
− V1 + V2 = 25 ………………………...(2)
3 140

Solving equation (1) and (2),


V1 = 6.259 V
V2 = 43.68 V
6.259
Current through 3Ω = = 2.086 A
3

43.68
Current through 4Ω = = 10.92 A
4

6.259
Current through 1Ω = = 6.259 A
1

43.68−6.259
Current through 7Ω = = 5.354 A
7

43.68
Current through 5Ω = = 8.735 A
5

Current through 0V voltage source = 10.92+2.086‒3 = 10.01 A


Current through 3A current source = 3 A
Current through -25A current source = 25 A

Schematic Input:
Schematic Output:

Discussion:
As a student of Electrical and Electronics Engineering, studying the laws governing
the beautiful phenomenon of electricity as well as experimenting and putting these
laws to the test for a proper visualisation is the first activity that a newbie should
begin with. Experimentation of DC circuits requires proper guideline of an expert
and adequate circuit components and lab equipments. Otherwise, it will seem to be
a bit difficult. But with the help of Pspice, a strong computer aided circuit simulating
software, we can virtually analyse the voltages, resistances, current sources and other
elements which would’ve been troublesome if it hadn’t been for this amazing
software.

A circuit can be simulated in two ways in Pspice: 1) Netlist & 2) Schematics.


Although the use of schematics might appear easy at first, as the circuits get more
and more tangled up thus becoming non-planar, using netlist could be an excellent
choice to ease the situation. The wonderful thing about this software is regardless if
you choose schematics or netlist, it will show the exact same results as the results
figured out theoretically. That is if we ignore the tiny negligible inaccuracies. And
as the same has happened in this case, we can finally conclude that Pspice has
successfully simulated the given circuits.

You might also like