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, and .
- Check KCL at node a with the readings: the current arriving through should equal what leaves through and .
- Raise the current source. Both node voltages rise. Does rise as much as ?
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 ?
The current arriving through the 1 kΩ, mA, must equal the current leaving through the 3 kΩ, mA. Solving, , so V, the same as the divider formula gives. Nodal analysis is just this, done at every node at once.
Name it
The method
- Pick a ground (usually the node with the most connections, or the source's − side) and label every other node's voltage: , , ...
- Write KCL at each unknown node, expressing every current with Ohm's law: a resistor between nodes a and b carries from a to b. Current sources contribute their value directly.
- Solve the equations together.
For the circuit above, with conductances and the source fixing V:
The matrix form. Collecting terms gives :
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 (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 .
Millman's theorem. One node connected to several sources through resistors (a source of 0 V means a resistor to ground) sits at the conductance-weighted average:
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
- KCL at the node. In mA, with kΩ:
- Solve.
Answer the node sits at 7.5 V.
Worked example
A 5 V source sits between nodes (+) and , each with 1 kΩ to ground, and 10 mA is injected into . Find both node voltages.
Show the solution
- KCL on the supernode. Treat , and the source as one supernode:
- Add the source's equation.
- Solve.
Answer = 7.5 V and = 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
- KCL at a. In kΩ and mA:
- KCL at b.
- Determinant.
- Solve.
- Check at a. 4.36 mA arrives from the source, 2.82 mA leaves to ground and 1.55 mA leaves to b.
- What a simulator does. The two equations, written straight from the conductances, are all a circuit simulator solves too.
Answer = 5.64 V and = 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. = 2 kΩ connects a to ground, = 4 kΩ connects a to b, and = 1 kΩ connects b to ground.
(a)
What is ?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What is ?
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 ?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What's ?
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°.
Step 2
What's the first node's voltage?
Step 3
And the second's?
Explain why
Why does nodal analysis always give exactly as many equations as unknowns?
Each node other than ground has one unknown voltage, and at each such node KCL gives one equation, with every current written in terms of node voltages by Ohm's law. So there's one equation for each unknown. A voltage source removes an unknown (it fixes a voltage or a difference) and also removes one KCL equation (its current is unknown), so the count still balances. Ground's own KCL equation is the sum of the others, so it adds nothing new.
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.