Nodal analysis II

Calculate · 12 min

With two unknown nodes, write KCL at each of them. That gives two equations in two unknowns.

For this ladder, with every current written as flowing in:

at N1:V1−VN1R1+0−VN1R2+VN2−VN1R3=0at N2:VN1−VN2R3+0−VN2R4=0

R3 appears in both, once from each end. That's what ties the two equations together.

Worked example: V1 = 9 V and all four resistors 1 kΩ. Multiplying through by 1 kΩ:

N2:VN1−VN2−VN2=0⇒VN1=2VN2N1:9−VN1−VN1+VN2−VN1=0⇒9=3VN1−VN2

Put the first into the second: 9=6VN2−VN2, so VN2 = 1.8 V and VN1 = 3.6 V.

In that example, what is the current through R3?

Answer in mA.

Problem 1. Find VN1.

Answer in V.

Matrix form

Substitution gets messy beyond two nodes. Instead, gather each equation's terms by node voltage. Using conductance G=1/R (in siemens, S) keeps it tidy:

(G1+G2+G3)VN1−G3VN2=G1V1−G3VN1+(G3+G4+G5)VN2=G5V2

Laid out as a grid, that's a matrix: one row per node, one column per unknown, and the right-hand sides at the end.

× VN1× VN2=
at N1G1+G2+G3−G3G1V1
at N2−G3G3+G4+G5G5V2

It can be written straight from the circuit, with no algebra:

  • on the diagonal, each node's own entry: the sum of the conductances touching it;
  • off the diagonal, minus the conductance directly joining the two nodes (zero if none);
  • on the right, each source's push into the node: its voltage times the conductance it feeds through.

A calculator or computer then solves it, for two nodes or two thousand. Here the ladder has a second battery, V2, feeding N2 through R5.

For this circuit, what is the entry in the top-left corner, G1+G2+G3?

Answer in mS.

Problem 2. Solve this two-battery ladder for VN2. Write the grid from the rules, then solve it: by substitution, or with the formula for two equations. For

aVN1+bVN2=ebVN1+dVN2=f

the answer is

VN2=af−bead−b2

Answer in V.

Problem 3. Three unknown nodes. Don't solve it, just set it up: a ladder with three junctions, N1, N2 and N3, all its resistors 1 kΩ. N1 is fed from a battery through R1 and has a rung to ground; R3 joins N1 to N2; N2 has a rung to ground; R5 joins N2 to N3; N3 has a rung to ground and nothing else.

Working in mS, which is its grid? Each row is one node, N1, N2 and N3 in turn, and its entries are the numbers that multiply VN1, VN2 and VN3.

  • N1: 3, −1, 0. N2: −1, 3, −1. N3: 0, −1, 2
  • N1: 3, 1, 0. N2: 1, 3, 1. N3: 0, 1, 2
  • N1: 3, −1, −1. N2: −1, 3, −1. N3: −1, −1, 2
  • N1: 2, −1, 0. N2: −1, 2, −1. N3: 0, −1, 1

Nodal analysis, several unknown nodes:

  1. one KCL equation per unknown node, currents written as flowing in;
  2. with conductances, the equations form a matrix that can be written straight from the circuit: own conductances on the diagonal, minus the shared ones off it, sources on the right;
  3. solve: by substitution for two nodes, by calculator or computer beyond that.

Next, the same idea turned round: unknown currents instead of unknown voltages.