Supermeshes and choosing a method
About this lesson
Mesh analysis writes one KVL equation per mesh, but a current source shared by two meshes breaks that: its voltage is unknown. The fix is a supermesh. Follow one circuit, a 20 V source, a 4 mA current source in the shared branch and R1 = 2 kΩ, R2 = 1 kΩ, R3 = 3 kΩ, write the constraint i1 − i2 = 4 mA, walk KVL round the outside, and find i1 = 6 mA and i2 = 2 mA. Then check the power balance and learn to count equations to choose between nodal and mesh analysis. It follows the Mesh analysis lesson and builds on the Hardware lessons on Ohm's law and series and parallel circuits.
Two meshes, two currents
Mesh analysis gives each window of the circuit its own loop current. Mesh 1 is the left window with current i1; mesh 2 is the right window with i2. Both are drawn clockwise.
mesh a loop with no other loop inside it
mesh current a current that circulates
round one mesh
mesh 1 Vs → R1 → middle branch
mesh 2 middle branch → R2 → R3
Branch currents are built from mesh currents:
a branch on one mesh carries that mesh's current.Read the lesson step by step
Two meshes, two currents
Mesh analysis gives each window of the circuit its own loop current. Mesh 1 is the left window with current i1; mesh 2 is the right window with i2. Both are drawn clockwise.
mesh a loop with no other loop inside it mesh current a current that circulates round one mesh mesh 1 Vs → R1 → middle branch mesh 2 middle branch → R2 → R3 Branch currents are built from mesh currents: a branch on one mesh carries that mesh's current.A current source they share
The middle branch is a 4 mA current source, and both meshes run through it. In that branch i1 flows down and i2 flows up, so the branch current is i1 − i2.
current source sets the current in its branch to 4 mA, whatever the voltage middle branch, downward: i1 (mesh 1, clockwise: down here) i2 (mesh 2, clockwise: up here) branch current = i1 − i2KVL needs the source's voltage
Try KVL round mesh 1 alone. It must include the voltage vx across the current source. A current source fixes its current, not its voltage, so vx is a new unknown. One loop, two unknowns.
KVL round mesh 1 (clockwise, drops +): −Vs + R1·i1 + vx = 0 vx = voltage across the current source. No formula gives it: a current source holds its current and lets the circuit set its voltage. Writing vx in adds an unknown each time.The source fixes the difference
The current source gives us an equation for free. Its branch carries i1 − i2, and the source says that is 4 mA. So i1 − i2 = 4 mA. This is the constraint equation.
constraint equation (KCL on the branch): i1 − i2 = Is i1 − i2 = 4 mA If the source pointed up, it would read i2 − i1 = Is. Match the signs to the source's arrow.Skip the branch: a supermesh
Now remove the current-source branch from view and join the two meshes into one big loop round the outside. This loop is a supermesh. It avoids vx, because it never crosses the current source.
supermesh two meshes that share a current source, joined into one loop Rule: leave out the current source and anything in series with it. A supermesh has no current of its own: its parts still carry i1 or i2.KVL round the supermesh
Walk clockwise round the supermesh. R1 carries i1; R2 and R3 carry i2. KVL: 20 = 2k·i1 + 1k·i2 + 3k·i2. One equation, the same two unknowns, and no vx.
KVL round the supermesh (clockwise, drops +): −Vs + R1·i1 + R2·i2 + R3·i2 = 0 20 = 2k·i1 + 1k·i2 + 3k·i2 R1 is on mesh 1 only -> i1 R2, R3 on mesh 2 only -> i2Two equations, two unknowns
Put i1 = i2 + 4 mA into the KVL equation: 20 = 2k(i2 + 4 mA) + 6k·i2. That gives i2 = 2 mA, so i1 = 6 mA.
substitute the constraint: 20 = 2k·(i2 + 4 mA) + 1k·i2 + 3k·i2 20 = 8 + 6k·i2 i2 = 12 V / 6 kΩ = 2 mA i1 = i2 + 4 = 6 mA check: i1 − i2 = 6 − 2 = 4 mA ✓Back to branch currents
Now the real currents. R1 carries 6 mA, R2 and R3 carry 2 mA, and the source branch carries 6 − 2 = 4 mA. Ohm's law gives node voltages vb = 8 V and vc = 6 V.
branch currents R1 i1 = 6 mA Is i1 − i2 = 4 mA (down) R2 i2 = 2 mA R3 i2 = 2 mA node voltages (from ground) vb = 20 − 2k·6 mA = 8 V vc = 3k·2 mA = 6 V vx = vb = 8 VCheck: the power balances
The source supplies 20 V × 6 mA = 120 mW. R1 absorbs 72, R2 4, R3 12 mW. The current source has 8 V across it and absorbs 32 mW. Total: 120 mW. It balances.
power absorbed (passive sign convention) Vs −20 × 6 mA = −120 mW (supplies) R1 6² mA² × 2k = 72 mW R2 2² × 1k = 4 mW R3 2² × 3k = 12 mW Is 8 V × 4 mA = 32 mW sum = 0 mW Current enters Is at its + end: it absorbs.Choosing a method
Count equations before you start. Nodal: 3 nodes besides ground, minus 1 voltage source, leaves 2 unknowns (vb, vc). Mesh: 2 meshes, minus 1 current source, leaves 1. Pick the smaller count.
nodal unknowns = non-reference nodes − voltage sources = 3 − 1 = 2 (vb, vc) mesh unknowns = meshes − current sources = 2 − 1 = 1 (i2; i1 = i2 + Is) nodal gives the same answer: vb = 8 V, vc = 6 V rule of thumb: series parts, voltage sources -> mesh; parallel parts, current sources -> nodal. Counting decides.Change Is, the gap follows
Now turn Is from 0 to 10 mA. Both mesh currents change, but the gap i1 − i2 always equals Is. At 0 mA the meshes carry 3.33 mA each; at 10 mA, i1 = 10 and i2 = 0 mA.
Is i1 i2 i1 − i2 0 mA 3.33 mA 3.33 mA 0 mA 4 mA 6 mA 2 mA 4 mA 10 mA 10 mA 0 mA 10 mA i2 = (Vs − R1·Is) / (R1 + R2 + R3) Both lines are straight: the circuit is linear.
5 quick questions
Choose one answer per question. You can change your choices before checking them.
01Why can't you write ordinary KVL round a mesh that contains a current source?
A current source fixes its current, not its voltage. The circuit sets the voltage vx across it, so a KVL equation through it brings in vx as a new unknown.
02In the lesson's circuit the 4 mA source points down in the branch where i1 flows down and i2 flows up. Which equation does it give?
The branch carries i1 − i2 downward, the same way the source's arrow points, so i1 − i2 = 4 mA.
03KVL round the supermesh gives 20 = 2k·i1 + 1k·i2 + 3k·i2, and i1 = i2 + 4 mA. What is i2?
Substitute: 20 = 2k·(i2 + 4 mA) + 6k·i2 = 8 + 6k·i2, so i2 = 12 V / 6 kΩ = 2 mA and i1 = 6 mA.
04With i1 = 6 mA, the voltage across the current source is 8 V. How much power does the current source absorb?
4 mA enters the source at its + end, so it absorbs 8 V × 4 mA = 32 mW. With R1 72, R2 4 and R3 12 mW, the total matches the 120 mW the voltage source supplies.
05A circuit has 4 nodes besides ground and 1 voltage source, and 2 meshes with no current sources. Which method needs fewer equations?
Nodal needs 4 − 1 = 3 unknown node voltages. Mesh needs 2 − 0 = 2 mesh currents. Pick the method with the smaller count: mesh.
Glossary
- Mesh
- A loop in a planar circuit that has no other loop inside it.
- Mesh current
- A current imagined to circulate round one mesh. A branch shared by two meshes carries the difference (or sum) of their mesh currents.
- Supermesh
- Two meshes that share a current source, joined into one loop that leaves out the current source and anything in series with it. It has no current of its own.
- Constraint equation
- The equation a shared current source gives between two mesh currents, such as i1 − i2 = Is.
- Current source
- A source that holds the current in its branch at a set value. The voltage across it is whatever the rest of the circuit makes it.
- Node voltage
- The voltage of a node measured from the reference node (ground), such as vb = 8 V.
- Passive sign convention
- Current enters a part's + terminal when p = v × i is the power the part absorbs. A negative value means the part supplies power.
Notes and sources
- The figure is an ideal DC circuit: a 20 V source, a 4 mA current source, 2, 1 and 3 kΩ resistors and wires with no resistance. Every current, voltage and power shown is computed from these values by the lesson's model.
- If a resistor sat in series with the current source, it would also be left out of the supermesh KVL: its current is fixed by the source, and its voltage only adds to the unknown vx.
- A current source on the outside edge of the circuit belongs to one mesh only. Then there is no supermesh: that mesh current simply equals the source current (with the sign set by the arrow), and one unknown disappears.
- A dependent current source shared by two meshes is handled the same way. Its constraint equation contains the controlling variable, which is then written in terms of the mesh currents.
- Wikipedia, Mesh analysis (Supermesh section)
- F. Obeidat, Electric Circuits I: Mesh Analysis (supermesh; nodal versus mesh), Philadelphia University
- Alexander & Sadiku, Fundamentals of Electric Circuits (7th ed.), ch. 3 Methods of Analysis
- MIT OpenCourseWare 6.002 Circuits and Electronics, lecture 2: Basic circuit analysis method
- IEEE Std 315-1975, graphic symbols for electrical diagrams
Quiz Unlocks after the last step.