Introduction To Circuits Theory and Digital Electronics: Lecture 3 - Nodal Analysis, Mesh Analysis and Superposition
Introduction To Circuits Theory and Digital Electronics: Lecture 3 - Nodal Analysis, Mesh Analysis and Superposition
𝑉1 +_ 𝐼𝑠
𝑅2 𝑅4
𝑉1 +_ 𝐼𝑠
𝑅2 𝑅4
𝑉1 +_ 𝐼𝑠
𝑅2 𝑅4
𝐼1 𝐼2 𝐼3
𝑉1 +_ 𝐼𝑠
𝑅2 𝑅4
𝐼1 𝐼3 𝐼4 𝐼𝑠
𝐼2
𝑉1 +_ 𝐼𝑠
𝑅2 𝑅4
𝐼1
_
𝑉1 + 𝑅2
_+ 𝑉2
𝑅4
Nodal Analysis:
𝑅 1
Example #2
Notice sign 𝑅3 𝑉𝑎 𝑅5 Find 𝑉𝑎
𝐼1
_
𝑉1 + 𝑅2
_+ 𝑉2
𝑅4
Nodal Analysis:
𝑅 1
Example #2
Notice sign 𝑅3 𝑉𝑎 𝑅5 Find 𝑉𝑎
𝐼1
_
𝑉1 + 𝑅2
_+ 𝑉2
𝑅4
Nodal Analysis:
𝑅 1
Example #2
Notice sign 𝑅3 𝑉𝑎 𝑅5 Find 𝑉𝑎
𝐼1
_
𝑉1 + 𝑅2
_+ 𝑉2
𝑅4
−𝑉1 − 𝑉𝑎 𝑉𝑎 𝑉2 − 𝑉𝑎
+ 𝐼1 − + =0
𝑅1 𝑅4 𝑅5
𝐼1 − 𝑅𝑉1 + 𝑅𝑉2
1 5
𝑉𝑎 = 1 1 1
𝑅1 +𝑅4 +𝑅5
Nodal Analysis:
𝑅 1
Example #2
Notice sign 𝑅3 𝑉𝑎 𝑅5 Find 𝑉𝑎
𝐼1
_
𝑉1 + 𝑅2
_+ 𝑉2
𝑅4
−𝑉1 − 𝑉𝑎 𝑉𝑎 𝑉2 − 𝑉𝑎
+ 𝐼1 − + =0
𝑅1 𝑅4 𝑅5
𝐼1 − 𝑅𝑉1 + 𝑅𝑉2
1 5
𝑉𝑎 = 1 1 1
𝑅1 +𝑅4 +𝑅5
Nodal Analysis:
𝑅 1
Example #2
Notice sign 𝑅3 𝑉𝑎 𝑅5 Find 𝑉𝑎
𝐼1
_
𝑉1 + 𝑅2
_+ 𝑉2
𝑅4
−𝑉1 − 𝑉𝑎 𝑉𝑎 𝑉2 − 𝑉𝑎
+ 𝐼1 − + =0
𝑅1 𝑅4 𝑅5
𝐼1 − 𝑅𝑉1 + 𝑅𝑉2
1 5
𝑉𝑎 = 1 1 1
𝑅1 +𝑅4 +𝑅5
Nodal Analysis:
𝑅 1
Example #2
Notice sign 𝑅3 𝑉𝑎 𝑅5 Find 𝑉𝑎
𝐼1
_
𝑉1 + 𝑅2
_+ 𝑉2
𝑅4
−𝑉1 − 𝑉𝑎 𝑉𝑎 𝑉2 − 𝑉𝑎
+ 𝐼1 − + =0
𝑅1 𝑅4 𝑅5
𝐼1 − 𝑅𝑉1 + 𝑅𝑉2
1 5
𝑉𝑎 = 1 1 1
𝑅1 +𝑅4 +𝑅5
Supernode
• If a voltage source is connected between two nonreference nodes (two
nodes that are not the ground voltages), then these nodes can be
combined to form a generalized node which is known as a supernode
𝑉1 +_ +_ 𝑉4
𝑅2 𝑅3
𝑉1 +_ +_ 𝑉4
𝑅2 𝑅3
𝑉1 +_ +_ 𝑉4
𝑅2 𝑅3
𝑉1 +_ +_ 𝑉4
𝑅2 𝑅3
https://www.notesforengineering.com/nodal-analysis/
Nodal Analysis Practice Problem
Determine the current flowing through 1
Ohm resistor using nodal analysis.
Ans:
Assign the reference node at C as ground voltage and the
voltages at a node as VA and VB
https://www.notesforengineering.com/nodal-analysis/
Nodal Analysis Practice Problem
Determine the current flowing through 1
Ohm resistor using nodal analysis.
Ans:
Then apply KCL at nodes A and B.
For Node A,
https://www.notesforengineering.com/nodal-analysis/
Nodal Analysis Practice Problem
Determine the current flowing through 1
Ohm resistor using nodal analysis.
Ans:
Then apply KCL at nodes A and B.
For Node B,
https://www.notesforengineering.com/nodal-analysis/
Nodal Analysis Practice Problem
Determine the current flowing through 1
Ohm resistor using nodal analysis.
Ans:
Now, solving equations (i) and (ii)
https://www.notesforengineering.com/nodal-analysis/
Nodal Analysis Practice Problem
Determine the current flowing through 1
Ohm resistor using nodal analysis.
Ans:
Current through 1 Ohm resistor is given by
𝐼1Ω
https://www.notesforengineering.com/nodal-analysis/
Mesh Analysis
• Systematic application of KVL
• Generate a system of equations
• Mesh currents are the unknown variables
• Number of equations equals number of unknown mesh currents
• Solve equations to determine mesh currents
• Determine branch currents as linear combinations of mesh currents
• Apply Ohm’s law to determine node voltages
Meshes
• What is a mesh?
• A mesh is a loop that does not
contain any other loops
• Components of the branch
currents I𝑀𝑒𝑠ℎ1 I𝑀𝑒𝑠ℎ2 Loop
• Branch currents are linear
combinations of mesh currents
• I1 = I𝑀𝑒𝑠ℎ1
• I2 = I𝑀𝑒𝑠ℎ2
• I3 = I𝑀𝑒𝑠ℎ1 + I𝑀𝑒𝑠ℎ2
(miniphysics.com)
Planar Circuit
• Planar: circuit can be drawn on plane surface without crossovers
Planar Not Planar
• Nodal good for either Branch with 13Ω resistor prevents circuit
• Mesh good for planar from being drawn w/o crossing branches
𝑖𝑎 𝑖𝑐 _
40 𝑉 _+ 𝑖𝑏
+ 64 𝑉
45 Ω
2Ω 1.5 Ω
2Ω 1.5 Ω
Ex. b=7 branches
n= 6 nodes
1. Select M mesh currents. Total number of mesh currents:
2. Apply KVL to each mesh. M=7-6+1 =2
𝑖𝑎 𝑖𝑐 _
_+ 𝑖𝑏 64 𝑉
Chose any direction of
40 𝑉
45 Ω 𝑖2
+
𝑖1 mesh rotation you like
2Ω 1.5 Ω
𝑖𝑎 𝑖𝑐 _
_+ 𝑖𝑏 64 𝑉
Chose any direction of
40 𝑉
45 Ω 𝑖2
+
𝑖1 mesh rotation you like
2Ω 1.5 Ω
𝑖𝑎 𝑖𝑐 _
40 𝑉 _+ 𝑖𝑏
+ 64 𝑉
𝑖1 45 Ω 𝑖2
2Ω 1.5 Ω
𝑖𝑎 𝑖𝑐 _
40 𝑉 _+ 𝑖𝑏
+ 64 𝑉
𝑖1 45 Ω 𝑖2
2Ω 1.5 Ω
𝑖𝑎 𝑖𝑐 _
40 𝑉 _+ 𝑖𝑏
+ 64 𝑉
𝑖1 45 Ω 𝑖2
2Ω 1.5 Ω
_
18 𝑉 _+ 3𝐴 + 15 𝑉
𝑖𝑎 𝑖𝑏
2Ω 6Ω
Problem: cannot write KVL for meshes a and b because there is no way to
express voltage drop across current source in terms of mesh currents.
+_ _
18 𝑉 3𝐴 + 15 𝑉
𝑖𝑎 𝑖𝑏
2Ω 6Ω
supermesh
2𝑖𝑎 − 18 + 3𝑖𝑎 + 9𝑖𝑏 − 15 + 6𝑖𝑏 = 0 KVL for supermesh
𝑖𝑏 − 𝑖𝑎 = 3𝐴 Constraint due to current source
𝑖𝑎 = −0.6𝐴, 𝑖𝑏 = 2.4𝐴
Mesh Practice Problem
V2
Find using mesh method.
𝑉1
https://electronicspani.com/mesh-analysis-example-with-solution/
Mesh Practice Problem
V2
Find using mesh method.
𝑉1
Solution:
Loop abcd: Solving (1) and (2),
…..(3)
…..(1)
Then
[using (3)]
Loop befc:
…..(2)
https://electronicspani.com/mesh-analysis-example-with-solution/
Dependent Sources
• Treat each dependent source (of any of the four kinds) as a new variable,
associated to a “known” source and proceed as before. At the end, you get an
extra equation from the dependency that defines the source, for each dependent
source.
+ Find 𝑖1 , 𝑖2 .
20 𝑉 _+ 𝑖1 𝑎𝑣𝑥 𝑖2 𝑣𝑥 2 Ω
_
2Ω 𝑎 =0.25
Circuit w/ Dependent Source Example
4Ω 6Ω
+ Find 𝑖1 , 𝑖2 .
20 𝑉 _+ 𝑖1 𝑎𝑣𝑥 𝑖2 𝑣𝑥 2 Ω
_
2Ω 𝑎 =0.25
supermesh
Circuit w/ Dependent Source Example
4Ω 6Ω
+ Find 𝑖1 , 𝑖2 .
20 𝑉 _+ 𝑖1 𝑎𝑣𝑥 𝑖2 𝑣𝑥 2 Ω
_
2Ω 𝑎 =0.25
supermesh
−20 + 4𝑖1 + 6𝑖2 + 2𝑖2 + 2𝑖1 = 0 KVL for supermesh
Circuit w/ Dependent Source Example
4Ω 6Ω
+ Find 𝑖1 , 𝑖2 .
20 𝑉 _+ 𝑖1 𝑎𝑣𝑥 𝑖2 𝑣𝑥 2 Ω
_
2Ω 𝑎 =0.25
supermesh
−20 + 4𝑖1 + 6𝑖2 + 2𝑖2 + 2𝑖1 = 0 KVL for supermesh
𝑎𝑣𝑥 = 0.25𝑣𝑥 = 𝑖2 − 𝑖1 Voltage-controlled current source
Circuit w/ Dependent Source Example
4Ω 6Ω
+ Find 𝑖1 , 𝑖2 .
20 𝑉 _+ 𝑖1 𝑎𝑣𝑥 𝑖2 𝑣𝑥 2 Ω
_
2Ω 𝑎 =0.25
supermesh
−20 + 4𝑖1 + 6𝑖2 + 2𝑖2 + 2𝑖1 = 0 KVL for supermesh
𝑎𝑣𝑥 = 0.25𝑣𝑥 = 𝑖2 − 𝑖1 Voltage-controlled current source
𝑣𝑥
𝑖2 =
2
Circuit w/ Dependent Source Example
4Ω 6Ω
+ Find 𝑖1 , 𝑖2 .
20 𝑉 _+ 𝑖1 𝑎𝑣𝑥 𝑖2 𝑣𝑥 2 Ω
_
2Ω 𝑎 =0.25
supermesh
−20 + 4𝑖1 + 6𝑖2 + 2𝑖2 + 2𝑖1 = 0 KVL for supermesh
𝑎𝑣𝑥 = 0.25𝑣𝑥 = 𝑖2 − 𝑖1 Voltage-controlled current source
𝑣𝑥
𝑖2 =
2
𝑖1 = 1𝐴, 𝑖2 = 2𝐴
Mesh Practice Problem
Using mesh analysis, find the magnitude of the current
dependent source and the current through the 2Ω resistor.
𝑖
https://electronicspani.com/mesh-analysis-example-with-solution/
Mesh Practice Problem
Using mesh analysis, find the magnitude of the current
dependent source and the current through the 2Ω resistor.
𝑖
Ans:
Substituting these values in (1),
Loop-1: i1 = -2A
Loop-3: …..(1)
or,
However,
or,
and,
https://electronicspani.com/mesh-analysis-example-with-solution/
Mesh Practice Problem
Using mesh analysis, find the magnitude of the current
dependent source and the current through the 2Ω resistor.
𝑖
Ans:
Also,
In loop-2,
or,
or,
or,
or,
⸫ https://electronicspani.com/mesh-analysis-example-with-solution/
Mesh Practice Problem
Using mesh analysis, find the magnitude of the current
dependent source and the current through the 2Ω resistor.
𝑖
Ans:
Value of dependent source
https://electronicspani.com/mesh-analysis-example-with-solution/
Formal Circuit Analysis Methods
Nodal Analysis Mesh Analysis*
(“Node-Voltage Method”) (“Mesh-Current Method”)
0) Choose a reference node 1) Select M independent mesh
1) Define unknown node voltages currents such that at least one
mesh current passes through each
2) Apply KCL to each unknown node, branch
expressing current in terms of the M = #branches - #nodes + 1
node voltages
=> N equations for N unknown 2) Apply KVL to each mesh, expressing
voltages in terms of mesh currents
node voltages => M equations for M unknown
3) Solve for node voltages mesh currents
=> determine branch currents 3) Solve for mesh currents
=> determine node voltages
(*can only be used for planar circuits)
Nodal vs. Mesh Analysis
• Pick the one that involves solving the fewest equations
• If number of equations are same, look at required value to get direct result
• If the goal is to find currents → mesh (KVL+ Ohm’s Law)
• If the goal is to find voltages → nodal (KCL + Ohm’s Law)
• Homogeneity
𝑓 𝛼∙𝑥 =𝛼∙𝑓 𝑥 𝛼∙𝑥 𝑓(𝑥) 𝛼∙𝑦
Superposition
𝑖
• Consider an 4 Ω resistor
𝑣
• 𝑖= +
𝑅 𝑣 – 4
• 𝑣1 = 2𝑉
2𝑉
• 𝑖1 = = 0.5𝐴
4Ω
• Homogeneity 𝑖
• 𝑣2 = 6𝑉 1
2
3∙2𝑉
• 𝑖2 = = 3 ∙ 0.5𝐴 = 1.5𝐴 1.5
𝑅
4Ω
• Additivity
• 𝑣3 = 8𝑉 0.5
2𝑉+6𝑉
• 𝑖2 = = 0.5𝐴 + 1.5𝐴 = 2𝐴
4Ω 2 6 8 𝑣
Superposition
• Linear: I-V characteristics of elements are straight lines when plotted
(Wikipedia)
Superposition
• Principle of Superposition:
• In any linear circuit containing multiple independent sources, the current or
voltage at any point in the network may be calculated as the algebraic sum of
the individual contributions of each source acting alone.
+
Voltage source +_ 𝑣𝑥 =0
short
_ circuit
open
Current source 𝐼0 =0
circuit
Open Circuit and Short Circuit
• Open circuit → i=0 ; Cut off the branch
• Short circuit → v=0 ; replace the element by wire
*Dependent sources are left intact because they are controlled by circuit
variables.
Comments on Dependent Sources
• A dependent source establishes a voltage or current whose value
depends on the value of a voltage or current at a specified location in
the circuit.
C. 4V source alone:
2 4V Voltage divider:
4
+–
+
𝑉0C = −4 × 4+2 =−2.7𝑉
4 V0C
–
Add independent sources answers together
• 𝑉0 = 𝑉0𝐴 + 𝑉0𝐵 + 𝑉0C
• In this example:
𝑉0 = 𝑉0𝐴 + 𝑉0𝐵 + 𝑉0C = 16𝑉 + -5.3𝑉 + (-2.7V) =8V
Superposition Practice Problem
Determine the current I through the 4 ohm
resistor using superposition theorem
https://www.electronicshub.org/superposition-theorem/
Superposition Practice Problem
Determine the current I through the 4 ohm
resistor using superposition theorem
I1 = 12 / 8.36 = 1.43 A
4.36+4=8.36Ω
https://www.electronicshub.org/superposition-theorem/
Superposition Practice Problem
Determine the current I through the 4 ohm
resistor using superposition theorem
Ans: Only with 20V Voltage source: Loop a: 20 + 10Ia + 6Ia +6(Ia – Ib)+ = 0 Substituting Ia in equation 1
22Ia – 6Ib + 20 = 0 22 (10Ib/6) – 6Ib = -20
Ib = – 0.65A
22Ia – 6Ib = -20 ……………….(1)
Loop b: Therefore, I2 = Ib = -0.65A
6(Ib – Ia) + 4Ib = 0
10Ib – 6Ia = 0
Ia = 10Ib/6
https://www.electronicshub.org/superposition-theorem/
Superposition Practice Problem
Determine the current I through the 4 ohm
resistor using superposition theorem
https://www.electronicshub.org/superposition-theorem/
Superposition Practice Problem
Determine the current I through the 4 ohm
resistor using superposition theorem
Ans:
Thus, as per the superposition theorem, I = I1 + I2 + I3
= 1.43 – 0.65 + 1.3
= 2.08 Amps
https://www.electronicshub.org/superposition-theorem/
Superposition Practice Problem with
Dependent Source
Find io using superposition.
https://wiraelectrical.com/what-is-superposition-theorem/
Superposition Practice Problem with
Dependent Source
Find io using superposition.
Ans:
(1)
https://wiraelectrical.com/what-is-superposition-theorem/
Superposition Practice Problem with
Dependent Source
Find io using superposition.
Loop 1: (2)
′
Loop 2: 3(𝑖2 − 𝑖1 ) + 2𝑖2 − 5𝑖0 + (𝑖2 −𝑖3 ) = 0
(3)
Loop 3: 5 𝑖 − 𝑖 + 𝑖 − 𝑖 + 5𝑖 ′ + 4𝑖 = 0
Ans: 4 A current source only: 3 1 3 2 0 3
(4)
At node 0: 𝑖0′ + 𝑖3 = 𝑖1
(11)
node 0 (13)
(12)
https://wiraelectrical.com/what-is-superposition-theorem/
Superposition Practice Problem with
Dependent Source
Find io using superposition.
Ans:
https://wiraelectrical.com/what-is-superposition-theorem/
Summary
• Circuit analysis methods
• Nodal Analysis
• Use KCL to solve for node voltages and determine branch currents
• Mesh Analysis
• Use KVL to solve for mesh currents and determine node voltages
• Nodal applicable to all circuits, Mesh only applicable to planar circuits
• Not all circuits require nodal or mesh analysis to solve them
• If nodal or mesh analysis is required, choose the one which will give
the fastest or simplest steps
Summary
• Superposition allows us to activate one source at a time and sum the
existing voltages and currents to determine the voltages and currents
that exist when all independent sources are active
• The output of a multiple-input system is the sum of the outputs due to each
independent source acting individually
• Can also be used for linear circuits