Ac Nodal and Mesh Analysis
Ac Nodal and Mesh Analysis
Discussion D11.1
Chapter 4
4/10/2006
1
AC Nodal Analysis
2
How did you write nodal equations
by inspection?
v1 v2 v3
R2 R3
2A i1 R1 i3 R4 is i5 R5
3
Writing the Nodal Equations by Inspection
v1 v2 v3
2A i1 R1
R2
i3 R4
R3
is i5 R5 Gv i
G1 G2 G2 0 v1 2
G2 G2 G3 G4 G3 v2 0
0 G3 G3 G5
v3 is
•The matrix G is symmetric, gkj = gjk and all of the off-diagonal terms
are negative or zero.
The gkk terms are the sum of all conductances connected to node k.
The gkj terms are the negative sum of the conductances connected to
BOTH node k and node j.
The ik (the kth component of the vector i) = the algebraic sum of the
independent currents connected to node k, with currents entering the
4
node taken as positive.
Example with resistors
v1 1 v2 3 v3
1S 1/3 S
1/2 S 2
2A 2 4 1A
1/2 S 1/4 S
1 1 2 1 0 v1 2
1 1 1 4 1 3 1 3 v2 0
0 1 3 1 3 1 2
v3 1
1.5 1 0 v1 2
1 1.583 0.333 v2 0
0 0.333 0.833 v 1
3
5
For steady-state AC circuits we can
use the same method of writing nodal
equations by inspection if we replace
resistances with impedances and
conductances with admittances.
6
Problem 4.31 in text
j2
V1 V2
20 A 40 A
-j1
20 A 40 A
-j1
S j1 S
7
j2
V1 V2
-j/2 S
20 A 40 A
-j1
S j1 S
1 j / 2 j / 2 V1 2
j/2 j / 2 V2 4
8
Matlab Solution 1 j 0.5 j 0.5 V1 2
j 0.5 j 0.5 V2 4
V1 4.24345
V2 5.831121
9
Nodal Analysis for Circuits Containing Voltage Sources
That Can’t be Transformed to Current Sources
10
Problem 4.33 in text Note: V2 = 10
V1 -j4 V2
j/4 S
+
645 A j2 AC 100 V
1/2 S -j/2 S
-
I0 I2
assume I2
1/ 2 j / 4 j / 4 V1 645
j / 4 j / 4 2
V I 2
1/ 2 j / 4 j / 4 V1 645
j / 4 j / 4
10 I 2
11
1/ 2 j / 4 j / 4 V1 645
j/4 j / 4 10 I 2
AX = B V1 14.2531.25
1 2
I 5.846108.4
X=A B 12
Problem 4.33 in text Note: V2 = 10
V1 -j4 V2
j/4 S
+
645 A j2 AC 100 V
1/2 S -j/2 S
-
I0 I2
assume I2
V1 14.2531.25
2
I 5.846108.4
V1
I0 7.12531.25
2
13
Matlab Solution 1/ 2 j / 4 0 V1 645 j 2.5
j/4 1 I2 j 2.5
V1 14.2531.25
2
I 5.846108.4
14
AC Mesh Analysis
15
How did you write mesh equations
by inspection?
R1 R2
+ v1 - + v2 -
+
DC
Vs2 i1 v7 R7 i2
-
+ v5 - + v6 -
R5 R6
- +
R3 v3 Vs1 v4 R4
i3 DC
i4 -
+
- v +
8
R8
16
Writing the Mesh Equations by Inspection
R1 R2
DC
Vs2
+ v1 -
i1
+
+ v2 -
i2
Ri = v
v7 R7
-
v5 -
i1 Vs2
+ + v6 -
R1 R5 R7 R7 R5 0
0
R5 R6 R7 R2 R6 R7 0 R6 i2
i3 Vs1
- +
R3 v3 v4 R4 R5 0 R3 R5 0
Vs1 i4
DC
i3 -
0 R6 0 R4 R6 R8 i4
+
- v +
8
Vs1
R8
•The matrix R is symmetric, rkj = rjk and all of the off-diagonal terms
are negative or zero.
The rkk terms are the sum of all resistances in mesh k.
The rkj terms are the negative sum of the resistances common to
BOTH mesh k and mesh j.
The vk (the kth component of the vector v) = the algebraic sum of the
independent voltages in mesh k, with voltage rises taken as positive.
17
R1 R2
Example with resistors
2 3
4V i1
DC
4 R7 i2
1 2
Ri = v R5 R6
R3 3 DC
2V i4 4 R4
i3
1
R8
2 4 1 4 1 0 i1 4
4 3 2 4 0 2 i2 0
1 0 3 1 0 i3 2
0 2 0 2 4 1 i4 2
18
For steady-state AC circuits we can
use the same method of writing mesh
equations by inspection if we replace
resistances with impedances and
conductances with admittances.
19
Problem 4.38 in text: Find I1 and I2
j1
+ +
AC I1 I2 AC
60 A
120 V
- -j1 -
2 j1 1 j1 I1 12
1 j1 1 j 0 I 2 6
I1 3.79518.43
I 2 2.683 116.6
20
Matlab Solution 2 j1 1 j1 I1 12
1 j1 1 j 0 I 2 6
I1 3.79518.43
2 2.683 116.6
I
21
What happens if we have independent
current sources in the circuit?
1. Assume temporarily that the voltage across each
current source is known and write the mesh
equations in the same way we did for circuits
with only independent voltage sources.
2. Express the current of each independent current
source in terms of the mesh currents and replace
one of the mesh currents in the equations.
3. Rewrite the equations with all unknown mesh
currents and voltages on the left hand side of the
equality and all known voltages on the r.h.s of
the equality.
22
Problem 4.40 in text: Find I0
-j1 Assume you know V2
+ j2 +
AC
60 V I2 20 A V2
- I1
-
I0 Note I2 = -2
3 j1 2 j 2 I1 6
2 j 2 2 j 2 I 2 V2
3 j1 2 j 2 I1 6
2 j 2 2 j 2 2 V2
23
3 j1 2 j 2 I1 6
2 j 2 2 j 2 2 V2
3 j1 I1 4 j 4 6
2 j 2 I1 4 j 4 V2
3 j1 0 I1 2 j 4
2 j 2 1 V2 4 j 4
1
AX = B X=A B
I1 1.414 81.87
X
V2 7.37612.53
24
Matlab Solution 3 j1 0 I1 2 j 4
2 j 2 1 2
V 4 j 4
I1 1.414 81.87
V2 7.37612.53
25
Problem 4.40 in text: Find I0
-j1 Assume you know V2
+ j2 +
AC
60 V I2 20 A V2
- I1
-
I0 Note I2 = -2
I1 1.414 81.87
2 7.37612.53
V
I0 I1 I 2 I1 2
26