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

C1 · Lesson 9 · Nodal analysis

One equation per node solves any circuit

Series and parallel shortcuts run out quickly. A bridge, or two sources feeding the same node, can't be reduced that way. Nodal analysis always works: name the voltage at each node, write KCL at each one using Ohm's law for the currents, and solve the resulting equations. It's the method circuit simulators use, including the one running every circuit in this course, and it turns a circuit into exactly the kind of matrix equation you solved in A7.

Play

  • A 10 V source and a 2 mA current source both feed this network. The meters read the two node voltages, va and vb.
  • Check KCL at node a with the readings: the current arriving through R1 should equal what leaves through R2 and R3.
  • Raise the current source. Both node voltages rise. Does va rise as much as vb?

Predict

A node connects to a 12 V source through 1 kΩ and to ground through 3 kΩ. Nothing else touches it. Which equation gives its voltage v?

Name it

The method

  1. Pick a ground (usually the node with the most connections, or the source's − side) and label every other node's voltage: va, vb, ...
  2. Write KCL at each unknown node, expressing every current with Ohm's law: a resistor R between nodes a and b carries (va−vb)/R from a to b. Current sources contribute their value directly.
  3. Solve the equations together.

For the circuit above, with conductances G=1/R and the source fixing vin=10 V:

node a:G1(va−10)+G2va+G3(va−vb)=0node b:G3(vb−va)+G4vb=I1

The matrix form. Collecting terms gives 𝐆𝐯=𝐢:

(G1+G2+G3−G3−G3G3+G4)(vavb)=(10G1I1)

The pattern is always the same, so you can write it down by inspection:

  • diagonal entry for a node: the sum of all conductances touching it;
  • off-diagonal entry for two nodes: minus the conductance directly between them;
  • right-hand side: current pushed into the node by current sources, plus G×(source voltage) for each resistor that leads to a known voltage.

The matrix is symmetric for circuits of resistors and independent sources.

Voltage sources. A voltage source to ground simply fixes that node's voltage (one fewer unknown). A source between two unknown nodes makes a supernode: write one KCL equation for the two nodes together, plus the source's equation va−vb=V.

Millman's theorem. One node connected to several sources Vk through resistors Rk (a source of 0 V means a resistor to ground) sits at the conductance-weighted average:

v=∑Vk/Rk∑1/Rk

Worked example

12 V feeds a node through 1 kΩ, 6 V feeds it through 2 kΩ, and 2 kΩ connects it to ground. What is the node's voltage?

Show the solution
  1. KCL at the node. In mA, with kΩ: v−121+v−62+v2=0
  2. Solve. 2v=12+3v=7.5V

Answer the node sits at 7.5 V.

Worked example

A 5 V source sits between nodes a (+) and b, each with 1 kΩ to ground, and 10 mA is injected into a. Find both node voltages.

Show the solution
  1. KCL on the supernode. Treat a, b and the source as one supernode: va1+vb1=10mA
  2. Add the source's equation. va−vb=5
  3. Solve. vb=2.5Vva=7.5V

Answer va = 7.5 V and vb = 2.5 V.

Worked example

A 10 V source feeds node a through 1 kΩ. Node a has 2 kΩ to ground and 2 kΩ to node b; node b has 1 kΩ to ground and 1 mA injected into it. Find both node voltages.

Show the solution
  1. KCL at a. In kΩ and mA: va−101+va2+va−vb2=02va−0.5vb=10
  2. KCL at b. vb−va2+vb1=1−0.5va+1.5vb=1
  3. Determinant. Δ=2×1.5−0.25=2.75
  4. Solve. va=10×1.5+0.5×12.75=5.64Vvb=2×1+0.5×102.75=2.55V
  5. Check at a. 4.36 mA arrives from the source, 2.82 mA leaves to ground and 1.55 mA leaves to b.
  6. What a simulator does. The two equations, written straight from the conductances, are all a circuit simulator solves too.

Answer va = 5.64 V and vb = 2.55 V.

Check

A node connects to a 12 V source through 1 kΩ and to ground through 6 kΩ, and a current source pushes 3 mA into it. What is its voltage?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A node connects to a 5 V source through 2 kΩ, to a 12 V source through 4 kΩ, and to ground through 5 kΩ. What is its voltage?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

Resistors of 1 kΩ, 4 kΩ and 10 kΩ all touch node a. What is node a's diagonal entry in the conductance matrix, in mS?

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

Check

A current source pushes 2 mA into node a and another pushes 5 mA into node b. R1 = 2 kΩ connects a to ground, R2 = 4 kΩ connects a to b, and R3 = 1 kΩ connects b to ground.

(a)

What is va?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What is vb?

Check

A voltage source connects node a to node b, with neither node at ground. How do you handle it in nodal analysis?

Check

A 10 V source feeds node a through 1 kΩ. Node a has 2 kΩ to ground and 2 kΩ to node b; b has 1 kΩ to ground and 2 mA injected.

(a)

What's va?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

What's vb?

Check

Two nodes have conductance matrix rows (a, −c) and (−c, b), with injected currents I and J (and c < a, b).

Step 1

What's the determinant?

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

Why does nodal analysis always give exactly as many equations as unknowns?

Practice

Keep practicing

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