Professional Documents
Culture Documents
EE287 Lecture 2
EE287 Lecture 2
I1 I 2 i1 i2 (1)
• At node 2,
I 2 i2 i3 (2)
Step3
• In nodal analysis if
– we assign node voltages va and vb
– The branch current i flowing from a to b is then expressed as
v a vb
i
R
Step 3
• We now apply Ohm’s law to express the
– unknown currents i1, i2, and i3 in terms of node voltages
v1 0 v1 v 2 v3 0
i1 i2 i3 (3)
R1 R2 R3
v1 v1 v 2
I1 I 2
R1 R2
v1 v 2 v 2
I2
R2 R3
Step 4
• Solve for the node voltages using the
– substitution method
– elimination method
– Cramer’s rule
Example 3.1
• Calculate the node voltages in the circuit shown below
Solution
• Consider the circuit below prepared for nodal analysis
Solution
• Analysis
– applying KCL at node 1 yields
i1 i 2 i3
– expressing the currents in terms of voltages we’ve
v v 2 v1 0
5 1
4 2
– or 3 v1 v2 20 (1)
Solution
• Applying KCL at node 2 yields
i 2 i 4 i1 i5
• Expressing the currents in terms of voltages we’ve
v1 v 2 v2 0
10 5
4 6
• Multiplying each term by 12 results in
3v1 3v 2 120 60 2v 2
• or
3v1 5v2 60 ( 2)
Solution
• Now we have two simultaneous equations
– equations (1) and (2)
• Method 1
– Using the elimination technique, we add equations (1) and (2)
4v 2 80 v 2 20 V
40
3v1 20 20 v1 13.33 V
3
Solution
• Method 2
– Cramer’s rule
• To use Cramer’s rule, we need to put equations (1) and (2) in matrix
form as
3 1 v1 20
3
5 v 2 60
3 1 20 1 3 20
15 3 12 1 60 5 100 60 160 2 180 60 240
3 5 3 60
1 160 2 240
v1 13.33V v2 20 V
12 12
Problem
• For the circuit below, obtain v1 and v2
Solution
• At node 1
v1 v1 v v2
12 1
10 5 2
• At node 2
v2 v v2
6 12 1
4 2
v1 = 0 V, v2 = 24 V
Problem
• Obtain the node voltages in the circuit below
Solution
• v1 = -2 and v2 = -14
Problem
• Determine the voltages at the nodes of the circuit shown
below
Solution
• We assign
– voltages to the three nodes as shown in the circuit below
– At node 1
• 3 = i1 + ix →
v1 v3 v1 v2
3
4 2
Solution
• Multiplying by 4 and rearranging terms, we get
3v1 2v2 v3 12 1
• At node 2
v1 v 2 v 2 v3 v 2 0
i x i 2 i3
2 8 4
• Multiplying by 8 and rearranging terms, we get
4v1 7v2 v3 0 2
• At node 3 v1 v3 v2 v3 2(v1 v2 )
i1 i2 2i x
4 8 4
• Multiplying by 8, rearranging terms, and dividing by 3, we get
2v1 3v2 v3 0 3
v 2 5 v3 0 v 2 v3 5
Problem
• For the circuit shown below find the node
voltages
Solution
• The supernode contains the 2-V source, nodes 1 and 2
and the 10-Ω resistor
• Applying KCL to the supernode as shown in the circuit
below gives
2 i1 i 2 7 (1)
Solution
• Expressing i1 and i2 in terms of node voltages
v1 0 v 0
2 2 7 8 2v1 v 2 28
2 4
• or
2v1 v 2 20 ( 2)
Solution
• To get the relationship between v1 and v2
– We apply KVL to the circuit shown below
• and
v 2 v1 2 7.333 2 5.333 V
Problem
• Use nodal analysis to determine the node voltages in the circuit
below
Solution
• For loop 2
v3 3v x v 4 0
3v1 v3 2v4 0
• For loop 3
v x 3v x 6i3 20 0
2v1 v2 v3 v 4 20
Solution
• v1 = 26.67 V, v2 = 6.667 V, v3 = 173.33 and v4 = -46.67 V
Mesh Analysis
Lecture Objective
• To develop a
– technique for circuit analysis using KVL and Ohm’s law
Mesh Analysis
• This method provides a
– general procedure for analyzing circuits using
• mesh currents as the circuit variables
• The idea is to
– apply KVL around each mesh to
• find unknown currents
• We shall consider two cases
– Case1: circuits that do not contain current sources
– Case2: circuits that contain current sources
Mesh Analysis
Mesh Analysis
• Procedure
– Assign mesh currents i1, i2, …..in to the n meshes
• It is conventional to assume that each mesh current flows
clockwise
– Apply KVL to each of the n meshes and
• use Ohm’s law to express voltages in terms of mesh currents
– Solve the resulting n simultaneous equations to get
the mesh currents
Mesh Analysis
• To illustrate the steps, consider the circuit below
• We use
– i to denote mesh current
– I to denote branch current
Mesh Analysis
• Step 1 requires that
– mesh currents i1 and i2 are assigned to meshes 1 and 2
• As the second step, we apply KVL to each mesh
– Applying KVL to mesh 1, we obtain
V1 R1i1 R3 i1 i 2 0
– or
R1 R3 i1 R3 i 2 V1 (1)
R1 R3 R3 i1 V1
R
3 R2 R3 i2 V2
Problem
• For the circuit below find the branch currents I1, I2 and I3
using mesh analysis
Solution
• We first obtain the mesh currents using KVL
– For mesh 1,
15 5i1 10i1 i2 10 0
– or
3i1 2i 2 1 (1)
– For mesh 2,
6i 2 4i 2 10i2 i1 10 0
– or
i1 2i 2 1 ( 2)
Solution
• We now have two simultaneous equations (1) and (2)
– Method 1
• using the substitution method, we substitute (2) into (1)
6i2 3 2i2 1 i2 1 A
• From (2)
i1 2i2 1 2 1 1 A
• This
I 1 i1 1 A, I 2 i2 1 A, I 3 i1 i2 0
Solution
• Method 2
– To use Cramer’s rule, we cast (1) and (2) in matrix form as
3 2 i1 1
1 2 i 1
2
3 2 1 2 3 1
624 1 2 24 2 3 1 4
1 2 1 2 1 1
– Thus
1 4 2 4
i1 1 A i2 1 A
4 4
Solution
• Method 2
– To use Cramer’s rule, we cast (1) and (2) in matrix form as
3 2 i1 1
1 2 i 1
2
3 2 1 2 3 1
624 1 2 24 2 3 1 4
1 2 1 2 1 1
– Thus
1 4 2 4
i1 1 A i2 1 A
4 4
Problem
• Obtain v0 in the circuit below using mesh analysis
solution
• Applying mesh analysis procedure we’ve
5 3 6 3 5 6
11, 1 9, 2 7
3 4 5 4 3 5
1 9 2 7
I1 , I2
11 11
24 10 i1 i2 12 i1 i3 0
– or
11 i1 5 i2 6 i3 12 (1)
– or
5i1 19 i2 2 i3 0 ( 2)
Solution
• For mesh 3,
4 I 0 12 i3 i1 4 i3 i2 0
• or
i1 i2 2 i3 0 (3)
Solution
• In matrix form, equations 1 to 3 becomes
11 5 6 i1 12
5 19 2 i 0
2
1 1 2 i3 0
10 4i1 6i1 i2 0 i1 2 A
Mesh Analysis with Current Sources
• Case2:
– when a current source exists between two meshes
Mesh Analysis with Current Sources
• We create a supermesh by
– excluding the current source and any element connected in series
with it
• A supermesh
– Results when two meshes have a (dependent or independent)
current source in common
Mesh Analysis with Current Sources
• We create a supermesh as the periphery of the two meshes and
treat it differently
20 6i1 10i 2 4i 2 0
• or
6i1 14i 2 2 0 (3)
Mesh Analysis with Current Sources
• We apply KCL
– to a node in the branch where the two meshes intersect.
• Applying KCL to node 0 and obtain
i2 i1 6 (4)
Mesh Analysis with Current Sources
i1 3.2 A, i2 2.8 A
• Properties of a supermesh
1. The current source in the supermesh provides the constraint
equation necessary to solve for the mesh currents
2. A supermesh has no current of its own
3. A supermesh requires the application of both KVL and KCL
Problem
• Find the current i in the circuit below
Solution
Solution
• KVL for loop 1 gives
30 2 i1 i3 3 i1 i 2 0
– or
5 i1 3i 2 2 i3 30 (1)
3 i1 10 i 2 6 i 4 0 ( 2)
Solution
• KVL for the supermesh yields
2 i3 i1 4 i3 8 i 4 6 i 4 i 2 0
– or 2i1 6 i2 6 i3 14 i4 0 (3)
– applying KCL to a node in the branch where the two meshes intersect
i 4 i3 4 ( 4)
Solution
• Solving (1) to (4) by elimination gives
i i1 8.561 A
Problem
• Use Mesh analysis to find i1 to i4 in the circuit below
Solution
• Meshes 1 and 2
– form a supermesh since they have an independent current
source in common
• Also meshes 2 and 3
– form another supermesh because they have a dependent
current source in common
• The two
– Supermeshes intersect and form a larger supermesh as shown
in the figure
Solution
• Applying KVL to the larger supermesh
2i1 4i3 8(i3 i4 ) 6i2 0
• or
i1 3i2 6i3 4i4 0 1
i2 i1 5 2
i2 i3 3I 0
Solution
• But
I 0 i4
• Hence
i2 i3 3i4 3
• or 5i4 4i4 5 4
• or
6i1 4 i2 5i3 12 0 (1)
• or
i1 4i2 7i3 6 0 (2)
Solution
• KCL at node a gives
i2 3 i1 (3)
• Solving 1 to 3 yields
i1 3.067, i3 1.333, and i0 i1 i3 1.7333 A