A720 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A7 · Lesson 20 · Mesh analysis

Solving a circuit with loop currents

Nodal analysis picks node voltages as the unknowns, one for every node except ground. Lesson 19 found a second set of unknowns hiding in the same circuit: the left null space of the incidence matrix, whose vectors are currents that circulate around loops and automatically satisfy KCL. Choose one current per independent loop, write KVL around each, and you get mesh analysis: a different square system for the same circuit, often a smaller one.

  • A 10 V source drives two meshes that share the resistor R2. The meters read the current in R1 (mesh 1's current), in R3 (mesh 2's current) and in R2 (their difference).
  • Make R2 small. It shorts mesh 2 out, and almost nothing flows in R3.
  • Make R2 large. Mesh 1's current now has to flow through mesh 2's resistors, and the two mesh currents approach each other.

Predict

The shared resistor R2 rises from 100 Ω to 10 kΩ. What happens to mesh 2's current, the current in R3?

Name it

Mesh currents

In a planar circuit, each mesh (a loop with no other loop inside it) gets a current ik, all drawn clockwise. A branch on the boundary of one mesh carries that mesh's current; a branch shared by two meshes carries their difference. KCL is then satisfied automatically, so only KVL is left: one equation per mesh.

The mesh matrix

KVL around mesh k gives R𝐢=𝐯, where:

  • Rkk is the total resistance around mesh k;
  • Rjk=−(resistance shared by meshes j and k);
  • vk is the sum of source voltages around mesh k, counted positive when they push current clockwise.

It's the mirror image of nodal analysis's G: symmetric, positive on the diagonal, negative off it.

The loop matrix

Collect the branches each mesh runs through in a loop matrix B, one row per mesh, with +1 where a branch points along the mesh direction and −1 where it points against. Branch currents are BT𝐢, and KVL around every mesh is B𝐯b=𝟎. With branch resistances on the diagonal of Rb:

R=BRbBT

the same pattern as G=ATCA. The rows of B span the left null space of the incidence matrix, which is why there are b−n+1 of them.

Which to use

Nodal analysis has n−1 unknowns and mesh analysis has b−n+1. Pick the smaller. Current sources favor nodal analysis and voltage sources favor mesh analysis, because each fixes one unknown directly. Circuit simulators use modified nodal analysis, which works for any circuit, planar or not.

Worked example

Find the mesh currents in the circuit above with R2 = 2 kΩ.

Show the solution
  1. Mesh 1. In kilohms, milliamps and volts, mesh 1 runs through R1 and R2, total 3.
  2. Mesh 2. It runs through R2, R3 and R4, total 4, and shares R2 = 2 with mesh 1.
  3. The mesh equations. The source pushes mesh 1 clockwise: [3−2−24][i1i2]=[100]
  4. Solve. The determinant is 12−4=8, so i1=408=5mAi2=208=2.5mA and R2 carries i1−i2 = 2.5 mA.
  5. Check by nodal analysis. Node a sits at 10−5×1 = 5 V, and 5/2 = 2.5 mA flows down R2.

Answer i1 = 5 mA and i2 = 2.5 mA, so 2.5 mA flows in R2.

Worked example

Build the mesh matrix of that circuit from its loop matrix.

Show the solution
  1. Orient the branches. Take them in the order R1, R2, R3, R4, with R1 pointing toward node a, R2 and R4 pointing down and R3 pointing right.
  2. Write the loop matrix. Mesh 1 runs along R1 and down R2; mesh 2 runs up R2, along R3 and down R4: B=[11000−111] Rb=diag(1,2,1,1)
  3. Multiply. BRbBT=[1+2−2−22+1+1]=[3−2−24] the matrix written down by inspection.
  4. Branch currents. BT𝐢=(5,2.5,2.5,2.5)mA

Answer BRbBT=[3−2−24], the same mesh matrix as by inspection.

Worked example

A circuit has 6 nodes and 9 branches, with three voltage sources. Which method gives fewer unknowns?

Show the solution
  1. Nodal unknowns. Nodal analysis needs 6−1=5 node voltages.
  2. Mesh unknowns. Mesh analysis needs 9−6+1=4 mesh currents, so it wins by one.
  3. Current sources. If a mesh's outside branch is a current source, that mesh's current is simply the source's value, so the system shrinks again.
  4. Voltage sources. They do the same for nodal analysis: a source from a node to ground fixes that node's voltage.

Answer mesh analysis, with 4 unknowns to nodal analysis's 5.

Check

A 12 V source drives mesh 1 through R1 = 1 kΩ; R2 = 1 kΩ is shared with mesh 2, which also has R3 = 4 kΩ. What is mesh 1's current?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

Check

In the same circuit, what is mesh 2's current?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

Check

A planar circuit has 7 nodes and 13 branches. How many mesh currents does mesh analysis need?

Check

Mesh 1 contains 1 kΩ and 3.3 kΩ; the 3.3 kΩ resistor is shared with mesh 2, which also has 1.5 kΩ. What is the off-diagonal entry R12 of the mesh matrix?

Write units the way you normally would: 1.5 kΩ, 1500 Ω and 0.0015 MΩ are the same answer.

Check

A current source of 2 mA forms the outside branch of mesh 2, pointing clockwise. Mesh 1 has a 10 V source, 1 kΩ of its own, and 1 kΩ shared with mesh 2.

(a)

What is mesh 2's current?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

(b)

What is mesh 1's current?

Check

Two meshes have totals a and b around them and share r. A 1 V source drives mesh 1.

Step 1

What is the determinant of the mesh matrix?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

A circuit has several voltage sources and only a few loops, but many nodes. Why does mesh analysis suit it, and why do simulators still use nodal analysis?

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.