Electrical Engineering › Section E · Methods of analysis (dc) › Topic E.3
Mesh analysis
Mesh analysis replaces branch currents with loop currents that circulate around each window of a circuit drawing. Because those loop currents satisfy KCL automatically, only KVL equations are left, one per mesh, and they can often be written straight down by inspection.
Fewer unknowns
"Branch-current analysis" needs one equation per branch: KCL at the nodes and KVL around the loops. Mesh analysis removes the KCL equations altogether. Instead of a current for every branch, it gives each window of the circuit drawing a current that circulates around it. A current that enters a node on one side of a window leaves it on the other, so KCL holds at every node without being written. What remains is one KVL equation per mesh, \(b - (n - 1)\) in all: the branch method's KVL equations without its KCL ones.
Meshes and mesh currents
A mesh is a loop that contains no other loop inside it, like one pane of a window. The idea requires a planar circuit, one that can be drawn on paper with no wires crossing. Each mesh gets a mesh current, conventionally clockwise. Mesh currents are bookkeeping devices; the real branch currents follow from them. A branch on the outer edge of the circuit belongs to one mesh only, so its current is that mesh current. A branch shared by two meshes carries both, in opposite directions, so its current is the difference of the two mesh currents. A resistor shared by meshes 1 and 2 therefore has a voltage \(R(I_1 - I_2)\), positive in the direction of \(I_1\).
The general approach
Step 1: assign a clockwise current to each mesh. Step 2: in each mesh, mark resistor polarities using that mesh's own current, treating any shared resistor's current as the mesh's current minus its neighbour's. Step 3: write KVL around each mesh in the direction of its current. A source counts as a rise when you pass from its − to its + terminal, and a drop the other way. Step 4: solve the equations together. Step 5: find branch currents, using differences for shared branches. A negative mesh current simply circulates anticlockwise. Because each mesh is written from its own point of view, the same shared resistor appears with opposite signs in its two equations.
Worked example: two meshes
Take the circuit solved in "Branch-current analysis": left branch 12 V (− at ground) with 2.2 kΩ, right branch 9 V (− at ground) with 1.0 kΩ, both up to node a, and 4.7 kΩ from a to ground in the middle. Work in kΩ, mA and V. 1. Clockwise \(I_1\) in the left mesh, \(I_2\) in the right. 2. Left mesh: up through the 12 V source, a rise, then down through the shared resistor: \(12 - 2.2I_1 - 4.7(I_1 - I_2) = 0\). 3. Right mesh: up the shared resistor, then down through the 9 V source from + to −, a drop: \(-9 - 1.0I_2 - 4.7(I_2 - I_1) = 0\). 4. Solving: \(I_1 = 1.51\,\text{mA}\) and \(I_2 = -0.331\,\text{mA}\). 5. Shared resistor: \(I_1 - I_2 = 1.84\,\text{mA}\) downwards. All three match the branch-current results.
The format approach
For circuits with only resistors and independent voltage sources, the equations can be written by inspection. With every mesh current clockwise, the equation for mesh \(k\) has: a coefficient for \(I_k\) equal to the sum of all resistances in mesh \(k\); a coefficient for each neighbouring mesh current equal to minus the resistance shared with that mesh; and on the right, the sum of the source voltages in mesh \(k\) that push current clockwise, counted negative if they oppose it. For two meshes the pattern is
The coefficients are symmetric about the diagonal, a handy check on your work.
Worked example: three meshes by inspection
Three windows sit side by side over a ground wire. Left edge: \(E_1 = 15\,\text{V}\), + at the top, then \(R_1 = 1.0\,\text{k}\Omega\) to node a. \(R_2 = 2.2\,\text{k}\Omega\) runs from a to ground; \(R_3 = 1.0\,\text{k}\Omega\) from a to b; \(R_4 = 3.3\,\text{k}\Omega\) from b to ground; \(R_5 = 1.5\,\text{k}\Omega\) from b to c; and the right edge is \(E_2 = 6\,\text{V}\), + at c. 1. Mesh 1: \(3.2I_1 - 2.2I_2 = 15\). 2. Mesh 2: \(-2.2I_1 + 6.5I_2 - 3.3I_3 = 0\). 3. Mesh 3: \(-3.3I_2 + 4.8I_3 = -6\), since clockwise current enters the + of \(E_2\). 4. Solving: \(I_1 = 6.25\), \(I_2 = 2.28\) and \(I_3 = 0.315\,\text{mA}\). 5. So \(V_a = 2.2(I_1 - I_2) = 8.75\,\text{V}\) and \(V_b = 3.3(I_2 - I_3) = 6.47\,\text{V}\).
Current sources and supermeshes
Current sources need special handling, since their voltage is unknown. A current source on the outer edge of the circuit belongs to one mesh, so it fixes that mesh current directly: one unknown fewer. A current source in a branch shared by two meshes cannot go into either mesh's KVL equation. Instead, imagine removing it and write one KVL equation around the larger loop formed by the two meshes together, called a supermesh, still using the original mesh currents. Then add a constraint from the source: the difference of the two mesh currents in the shared branch equals the source current. The supermesh equation and the constraint replace the two ordinary mesh equations.
Worked example: a supermesh
Left edge: 20 V, + at the top, then \(R_1 = 2.0\,\text{k}\Omega\) to node a. From ground up to a runs a 4 mA current source, pointing up. \(R_2 = 3.0\,\text{k}\Omega\) runs from a, round the right-hand window, to ground. 1. Clockwise mesh currents \(I_1\) (left) and \(I_2\) (right). In the shared branch \(I_1\) flows down and \(I_2\) up. 2. Constraint: the upward current is \(I_2 - I_1 = 4\,\text{mA}\). 3. Supermesh, the outer loop avoiding the source: \(20 - 2.0I_1 - 3.0I_2 = 0\). 4. Substituting \(I_2 = I_1 + 4\): \(20 = 5.0I_1 + 12\), so \(I_1 = 1.6\,\text{mA}\) and \(I_2 = 5.6\,\text{mA}\). 5. Check: \(V_a = 20 - 2.0(1.6) = 16.8\,\text{V}\), and \(3.0 \times 5.6 = 16.8\,\text{V}\).
Mesh or not?
Count before you choose. Mesh analysis needs \(b - (n - 1)\) equations; "Nodal analysis" needs \(n - 1\), one per node other than the reference. Mesh analysis suits circuits with many series elements and voltage sources, and edge current sources make it even easier. It cannot be used on non-planar circuits, which have no proper window panes; nodal analysis works for any circuit. Circuit simulators use a form of nodal analysis for that reason. For the dc networks met in this course, either method works, and solving one circuit both ways is an excellent check.
Common mistakes to avoid
First, writing a shared resistor's voltage with only one mesh current; it carries the difference. Second, giving the shared term the same sign in both mesh equations; each mesh writes it from its own side. Third, getting a source's sign wrong: in the format approach, a source pushing against the clockwise current goes on the right with a minus sign. Fourth, writing an ordinary KVL equation through a current source, whose voltage is unknown; use a supermesh. Fifth, reporting a mesh current as a branch current for a shared branch.
Key takeaways
Mesh analysis gives each window of a planar circuit a clockwise mesh current, so KCL is satisfied automatically and only one KVL equation per mesh remains. A shared resistor carries the difference of its mesh currents. By inspection, each diagonal coefficient is the mesh's total resistance, each off-diagonal is minus the shared resistance, and the right side is the sum of clockwise-aiding source voltages. An edge current source fixes its mesh current; a shared one forms a supermesh plus a constraint.
Flashcards
Flashcard
A loop with no other loop inside it
Test your understanding
Question 1 of 5
A resistor of 2 kΩ is shared by mesh 1 (current 5 mA clockwise) and mesh 2 (current 3 mA clockwise). What current does the resistor carry?
Question 2 of 5
A planar network has 7 branches and 4 nodes. How many mesh equations does it need?
Question 3 of 5
Mesh 1 contains a 10 V source aiding its clockwise current, a 1 kΩ resistor on its own, and a 4 kΩ resistor shared with mesh 2. Using the format approach, what is mesh 1's equation (kΩ, mA)?
Question 4 of 5
A current source sits in the branch shared by mesh 1 and mesh 2. How is it handled in mesh analysis?
Question 5 of 5
A 12 V source (+ at the top) with 2 kΩ forms mesh 1, a 6 mA current source pointing up is in the shared branch, and 4 kΩ forms the right edge of mesh 2. What is the mesh 1 current?
