Circuit Bytes · Episode 18 · Circuit analysis · Nodal analysis
Nodal analysis in 60 seconds
Nodal analysis solves almost any circuit with one recipe: pick a ground node, label the other nodes with unknown voltages, then write "current in equals current out" at each one using Ohm's law.
Step 1: pick ground and label the nodes
A node is a point where two or more parts connect: every stretch of wire between parts is one node. Pick one node as ground, your zero-volt reference. It doesn't have to be a real earth connection; it's just the point you measure every other voltage from. Then label every other node with an unknown voltage, like V_A.
Step 2: in equals out at each unknown node
At each unknown node, use Kirchhoff's current law: the current flowing in equals the current flowing out. Write each current with Ohm's law: the current through a resistor is the voltage difference across it divided by its resistance.
I = ΔV ÷ R
That gives one equation per unknown node. Solve them and you have every node voltage, and from those, every current.
Example: 12 V, 2 Ω and two 4 Ω resistors
A 12 V source feeds a 2 Ω resistor into node A. From node A, two 4 Ω resistors go down to ground. The current in through the 2 Ω resistor is (12 − V_A) ÷ 2. The current out through each 4 Ω resistor is V_A ÷ 4. In equals out:
(12 − V_A) ÷ 2 = V_A ÷ 4 + V_A ÷ 4
Multiply both sides by 4: 24 − 2·V_A = 2·V_A, so V_A = 6 V.
Check: (12 − 6) ÷ 2 = 3 A in, and 6 ÷ 4 = 1.5 A out through each branch. 1.5 + 1.5 = 3, so in equals out.
Bigger circuits
A bigger circuit just has more nodes, so more equations: one per unknown node. Circuit simulators such as SPICE solve them all at once using a form of the same method (called modified nodal analysis).
Try it yourself
Put a 9 V battery across a 1 kΩ resistor in series with two 2 kΩ resistors that are connected side by side (in parallel) to the battery's negative terminal. Call the point where they meet node A and the negative terminal ground. Write in = out at node A to predict its voltage, then measure it with a multimeter. (Prediction: (9 − V_A) ÷ 1 = V_A ÷ 2 + V_A ÷ 2, so V_A = 4.5 V.)
Good to know
- The reference node is set to 0 V for the analysis; it need not be physical earth ground.
- Nodal analysis works for linear circuits (resistors, sources and so on). Nonlinear parts like diodes need extra steps.
- A voltage source sitting between two unknown nodes needs a special trick called a supernode, left out here.
- "Computers solve them the same way" is simplified: simulators use modified nodal analysis, an extended version of the method.
- Battery voltages only: never experiment with mains (wall outlet) power.
Answer to the comment question
12 volts feeds 4 ohms into node A, then two 4-ohm resistors to ground. What's the voltage at A? 4 volts. In equals out: (12 − V_A) ÷ 4 = V_A ÷ 4 + V_A ÷ 4. Multiply by 4: 12 − V_A = 2·V_A, so V_A = 4 V. Check: (12 − 4) ÷ 4 = 2 A in, and 4 ÷ 4 = 1 A out through each branch, 1 + 1 = 2.
Test your knowledge
Quick quiz: Nodal analysis in 60 seconds
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- All About Circuits textbook, Vol. I DC, chapter 10, "Node Voltage Method": choose a reference node, write KCL at each other node, solve for node voltages
- MIT 6.200 lecture notes, "Circuit Analysis with the Node Method": the reference node is set to zero for analysis and need not be physical ground; step-by-step procedure
- MIT OpenCourseWare 6.071J, "Circuit Analysis using the Node and Mesh Methods": nodal analysis method
- All About Circuits, "Special Cases in Nodal Analysis": supernodes and voltage sources between nodes
Video transcript
How do engineers solve almost any circuit with one method?
It's called nodal analysis. First, pick one node as ground, your zero-volt reference. Then label every other node with an unknown voltage.
At each unknown node, use Kirchhoff's current law: in equals out. Write each current with Ohm's law.
Example: twelve volts feeds two ohms into node A, then two four-ohm resistors to ground. Current in matches current out when A is six volts.
Check: three amps in, one and a half amps out each branch.
Bigger circuits just mean more equations. Computers solve them the same way.
Twelve volts feeds four ohms into node A, then two four-ohm resistors to ground. What's the voltage at A? Comment your answer below!
That's your byte.
More from Circuit Bytes
- EP16cKirchhoff's current law
- EP17cKirchhoff's voltage law
- EP19cThevenin equivalent
- EP20cHow to use a multimeter