Nodal and Mesh Analysis
Nodal and Mesh Analysis
Nodal and Mesh Analysis
Overview
• With Ohm’s and Kirchhoff’s laws established, they
may now be applied to circuit analysis.
• Two techniques will be presented in this lecture:
– Nodal analysis, which is based on Kirchhoff’s current law
(KCL)
– Mesh analysis, which is based on Kirchhoff’s voltage law
(KVL)
• Only linear circuits can be analyzed using these two
techniques.
• The analysis will result in a set of simultaneous
equations which may be solved by Cramer’s rule or
computationally (using MATLAB, for example)
1
Nodal Analysis
• If instead of focusing on the voltages of the circuit
elements, one looks at the voltages at the nodes of
the circuit, the number of simultaneous equations to
solve for can be reduced.
• Given a circuit with n nodes, without voltage
sources, the nodal analysis is accomplished via
three steps:
1. Select a node as the reference node. Assign
voltages v1,v2,…vn to the remaining n-1 nodes,
voltages are relative to the reference node.
2. Apply KCL to each of the n-1 non-reference nodes.
Use Ohm’s law to express the branch currents in
terms of node voltages
3. Solve the resulting n-1 simultaneous equations to
obtain the unknown node voltages.
• The reference node is commonly referred to as the
ground since its voltage is zero.
3
2
Apply Nodal Analysis II
• We can now use OHM’s law to express the unknown currents
i1,i2, and i3 in terms of node voltages.
• In doing so, keep in mind that current flows from high potential
to low potential
• From this we get: v v v
I1 I 2
1
1 2 I1 I 2 i1 i2
v1 0 R1 R2
i1 or i1 G1v1 Substituting
R1 v v v I 2 i2 i3
I2 1 2 2
v v back into the R2 R3
i2 1 2 or i2 G2 v1 v2 node
R2
v 0 equations or
i3 2 or i3 G3v2
R3 I1 I 2 G1v1 G2 v1 v2
I 2 G2 v1 v2 G3v2
3
Supernode
• A supernode is formed by enclosing a voltage
source (dependent or independent) connected
between two non-reference nodes and any
elements connected in parallel with it.
• Why?
– Nodal analysis requires applying KCL
– The current through the voltage source cannot be
known in advance (Ohm’s law does not apply)
– By lumping the nodes together (into a closed
boundary), the current balance can still be described
• In the example circuit node 2 and 3 form a
supernode
• The current balance would be: i1 i4 i2 i3
• Or this can be expressed as:
v1 v2 v1 v3 v2 0 v3 0
2 4 8 6
7
4
Mesh Analysis
• Another general procedure for analyzing circuits
is to use the mesh currents.
• Remember:
– A loop is a closed path with no node passed more than
once
– A mesh is a loop that does not contain any other loop
within it
• Mesh analysis uses KVL to find unknown currents
• Mesh analysis is limited in one aspect: It can only
apply to circuits that can be rendered planar.
• A planar circuit can be drawn such that there are
no crossing branches.
Planar vs Nonpalanar
The figure on the left is a nonplanar The figure on the right is a planar
circuit: The branch with the 13Ω circuit: It can be redrawn to avoid
resistor prevents the circuit from being crossing branches
drawn without crossing branches
10
10
5
Mesh Analysis Steps
• Mesh analysis follows these steps:
1. Assign mesh currents i1,i2,…in to the n
meshes
2. Apply KVL to each of the n mesh currents.
3. Solve the resulting n simultaneous
equations to get the mesh currents
11
11
• The above circuit has two paths that are meshes (abefa and
bcdeb)
• The outer loop (abcdefa) is a loop, but not a mesh
• First, mesh currents i1 and i2 are assigned to the two meshes.
• Applying KVL to the meshes:
V1 R1i1 R3 i1 i2 0 R2i2 V2 R3 i2 i1 0
R1 R3 i1 R3i2 V1 R3i1 R2 R3 i2 V2
12
12
6
Mesh Analysis with Current Sources
13
13
Supermesh
• Similar to the case of nodal analysis where a voltage source
shares two non-reference nodes, current sources (dependent
or independent) that are shared by more than one mesh need
special treatment
• The two meshes must be joined together, resulting in a
supermesh.
• The supermesh is constructed by merging the two meshes and
excluding the shared source and any elements in series with it
• A supermesh is required because mesh analysis uses KVL - the
voltage across a current source cannot be known in advance.
14
14
7
Creating a Supermesh
15
15
Supermesh Example
• Using the circuit from the last slide:
• Apply KVL to the supermesh
i2 i1 6
16
16
8
Selecting an Appropriate Approach
17
17
18
18
9
Mesh analysis when…
• If the network contains:
– Many series connected elements
– Voltage sources
– Supermeshes
– A circuit with fewer meshes than nodes
• If branch or mesh currents are being solved for
19
19
References
• Fundamentals of Electric Circuits, 5th Edition
– Authors: Charles K. Alexander & Matthew N.O. Sadiku -
ISBN: 978-0-07-338057-5
• Electronics Fundamentals: Circuits, Devices, and
Applications, 8th Edition
– Authors - Thomas L. Floyd & David M. Buchla - ISBN: 978-0-
13-507327-8
20
10