Lecture 3
Lecture 3
Reference Book: Fundamentals of Electric Circuits - 5th edition by Charles K. Alexander and Matthew n. o. Sadiku
• Few methods of solving system of linear equations that are taught upto G-12 (H.Sc. or A) level are:
Substitution Method [https://youtu.be/WJpBGbG9fE8?feature=shared]
Elimination Method [https://youtu.be/NlpykbGDzF8?feature=shared]
Cramer’s Rule [https://youtu.be/Nu36qi5rX3c?feature=shared]
• How to calculate determinant? [https://youtu.be/cVZzWNMrDRI?feature=shared]
• Calculate determinant of a 5x5 matrix [https://youtu.be/crCsJy1lKXI?feature=shared]
• Casio fx-991 ES Plus Calculator usage (29:27 – Equation solving, 42:13 – Matrix)
[https://youtu.be/r5jcqqpANUQ?feature=shared]
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg. 2
Nodal Analysis:
• Primary objective: Calculate all the node voltages of a circuit.
• Tool to achieve the objective: At any non-reference node, we can apply Kirchhoff’s Current Law (KCL).
∑𝑲𝑲
𝒌𝒌=𝟏𝟏 𝒊𝒊𝒌𝒌 = 𝟎𝟎 ; where 𝑖𝑖𝑘𝑘 is current through kth branch connected to a particular node
• Node: Every junction point in a network, where two or more branches meet is called a node.
3 nodes,
5 branches,
6 loops,
3 meshes
• Ground/Datum/Reference Node: One of the nodes of the circuit is assumed as reference node whose
potential (node voltage) is assumed to be zero.
• Therefore, if the circuit has ‘n’ nodes, we apply KCL to ‘n-1’ non-reference nodes except the
reference/datum/ground node, and thus get ‘n-1’ number of linear equations to solve for ‘n-1’ number of
unknown variables (i.e. node-voltages).
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg. 3
Nodal Analysis: (contd.)
• Super-node: A super-node is formed by enclosing a (dependent or independent) voltage source connected
between two non-reference nodes and any elements connected in parallel with it such that these two nodes
form a generalized single-node.
Why have we chosen
Voltage Source for super-
node? Why not Current
Source?
• The difference between the node voltages of two non-reference nodes is determined at the super-node as
follows:
𝑣𝑣ℎ𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 𝑡𝑡𝑡𝑡 + 𝑣𝑣𝑣𝑣 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 𝑜𝑜𝑜𝑜 𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 − 𝑣𝑣𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 (𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 𝑡𝑡𝑡𝑡 − 𝑣𝑣𝑣𝑣 𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 𝑜𝑜𝑜𝑜 𝑉𝑉𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 ) = 𝑣𝑣2 − 𝑣𝑣3 = 5 SN-Eqtn 1
• However, the 10V Vsource is connected between a non-reference node (v1) and ground node (0). So, we
shouldn’t consider that as super-node. Just consider that, 𝑣𝑣1 − 0 = 𝑣𝑣1 = 10 𝑉𝑉
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg. 4
Nodal Analysis: (contd.)
Steps for the nodal analysis:
Step-1: Find out all the nodes present in the circuit.
Assign one node as the reference/ground node whose node voltage will be 0.
Assign node voltage names (𝑣𝑣1 , 𝑣𝑣2 , … , 𝑣𝑣𝑛𝑛−1 ) to the remaining non-reference nodes.
Step-2: Assign branch current names (𝑖𝑖1 , 𝑖𝑖2 , … , 𝑖𝑖𝑘𝑘 ) to each of the branch currents.
Assign the direction of those branch currents maintaining Passive Sign Convention (i.e. current
must always flow from a higher potential node to a lower potential node.
Step-3: Search for any super-node present in the circuit. If present, obtain the two equations at that
super-node like SN-Eqtn 1 and SN-Eqtn 2 described in the previous slide.
Step-4: Apply KCL at the remaining non-reference nodes with proper sign convention (i.e. branch
currents entering the node is considered +ve, and those leaving the node is considered -ve).
Step-5: Represent all the branch currents in the KCL equations in terms of Ohm’s law and then
represent the voltage drops across elements in terms of their corresponding node voltages.
Remember that, according to Passive Sign Convention, current must always flow from a
𝑉𝑉𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 𝑣𝑣ℎ𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 −𝑣𝑣𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
higher potential node to a lower potential node. So, branch current, 𝑖𝑖𝑘𝑘 = =
𝑅𝑅 𝑅𝑅
Step-6: Solve the system of linear equations (using substitution, elimination, Cramer’s rule, numerical
methods, computer programming, calculator) obtained in Step-3 and Step-5 in order to get the
value of the non-reference node-voltages. 5
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg.
Nodal Analysis: (contd.)
3 nodes,
5 branches,
6 loops,
3 meshes
• If a circuit has ‘n’ nodes, ‘b’ branches, then number of meshes, 𝑚𝑚 = 𝑏𝑏 − 𝑛𝑛 + 1. Therefore, if the circuit has
‘m’ meshes, we apply KVL to those ‘m’ meshes, and thus get ‘m’ number of linear equations to solve for ‘m’
number of unknown variables (i.e. mesh-currents).
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg. 7
Mesh Analysis: (contd.)
• Mesh analysis is only applicable to a circuit that is planar.
• A planar circuit is one that can be drawn in a 2-dimensional plane with no branches crossing one another;
otherwise it is a nonplanar circuit (multi-dimensional).
• A circuit may have crossing branches and still be planar if it can be redrawn such that it has no crossing
branches (Figure-3.15).
• Nonplanar circuits (Figure-3.16) can be handled
using nodal analysis.
• The KCL at any one of the two nodes where that common branch meet is determined as follows (let’s apply
KCL at the upper node, a):
SM-Eqtn 1
𝑖𝑖2 = 𝑖𝑖1 + 6
• And, KVL across the super-mesh is applied as follows:
SM-Eqtn 2
−20 + 𝑣𝑣6 + 𝑣𝑣10 + 𝑣𝑣4 = −20 + 6𝑖𝑖1 + 10𝑖𝑖2 + 4𝑖𝑖2 = 0
• However, if a current source exists only in a single mesh, we don’t need to think about super-mesh. Just
consider that, 𝑖𝑖𝑚𝑚𝑚𝑚𝑚𝑚𝑚 = ±𝐼𝐼𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 [+ve if both current directions are same, -ve otherwise]
9
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg.
Mesh Analysis: (contd.)
Steps for the mesh analysis:
Step-1: Find out all the meshes present in the circuit.
Step-2: Assign mesh current names (𝑖𝑖1 , 𝑖𝑖2 , … , 𝑖𝑖𝑚𝑚 ) to each of the meshes.
Assign the direction of those mesh currents maintaining consistency (all clockwise, or, all anti-
clockwise).
Step-3: Search for any super-mesh present in the circuit. If present, obtain the two equations for that
super-mesh like SM-Eqtn 1 and SM-Eqtn 2 described in the previous slide.
Step-4: Apply KVL at the remaining meshes considering appropriate polarity of voltage drop [i.e. the terminal of
an element through which mesh current entering is considered as higher potential node (+ve polarity
of voltage drop), and those through which mesh current leaving is considered as lower potential node
(-ve polarity of voltage drop)].
Step-5: Represent all the voltage drops in the KVL equations applying Ohm’s law in terms of mesh-currents.
If any element is in the common branch between two meshes, then use the resultant current (which is
flowing through that element) while applying the Ohm’s law.
𝑖𝑖𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 = 𝑖𝑖𝑚𝑚𝑚𝑚𝑚𝑚𝑚_𝑖𝑖𝑖𝑖_𝑤𝑤𝑤𝑤𝑤𝑤𝑤𝑤_𝐾𝐾𝐾𝐾𝐾𝐾_𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 − 𝑖𝑖𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎_𝑚𝑚𝑚𝑚𝑚𝑚𝑚_𝑤𝑤𝑤𝑤𝑤𝑤𝑤_𝑤𝑤𝑤𝑤𝑤𝑤𝑤𝑤_𝑡𝑡𝑡𝑡𝑡_𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏_𝑖𝑖𝑖𝑖_𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐
Step-6: Solve the system of linear equations (using substitution, elimination, Cramer’s rule, numerical
methods, computer programming, calculator) obtained in Step-3 and Step-5 in order to get the
value of the mesh-currents.
10
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg.
Mesh Analysis: (contd.)
• But, examination has time limits and you have to do calculations without wasting time. So, you
have to find out and select the circuit analysis method which will require minimal number of
equations to be solved for the given circuit in the question.
• Remember:
Nodal Analysis: If the circuit has ‘n’ nodes, we apply KCL to ‘n-1’ non-reference nodes except the
reference/datum/ground node, and thus get ‘n-1’ number of linear equations to solve for ‘n-1’ number of unknown
variables (i.e. node-voltages).
Mesh Analysis: If the circuit has ‘m’ meshes, we apply KVL to those ‘m’ meshes, and thus get ‘m’ number of linear
equations to solve for ‘m’ number of unknown variables (i.e. mesh-currents).
The number of equations may slightly differ in case of the circuits containing super-node or super-mesh.
(a) (b)
(a) (b)
Basic Electrical Technology (EEE 1131) – Dept. of Civil Engg. 15
ASSIGNMENT - 1 :
• Feel free to write on normal-quality paper (A4 or offset paper is not obligatory), and you
are welcome to write on both sides of each page.