Nodal-Voltage Analysis & Supernodes
Nodal analysis solves for node potentials and obtains branch currents from element laws. It naturally handles current sources and produces a sparse conductance matrix; voltage sources require direct constraints or supernodes.
Nodal analysis makes node potential the primary unknown. Every resistor current becomes a voltage difference times conductance, so KCL produces one equation per non-reference node. The method scales well because each equation touches only neighboring nodes.
Conductance stamping #
For a resistor between nodes and with conductance , current from to is
KCL at node collects all incident branches:
where is the net independent current injected into the node. Stamping all nodes gives
Diagonal entries are sums of connected conductances; off-diagonal entries are negative mutual conductances.
Voltage sources and supernodes #
A voltage source between a node and reference sets that node voltage directly. A voltage source between two unknown nodes does not give its current, so enclose both nodes and the source in a supernode:
- write one KCL equation for the supernode boundary;
- add the source constraint .
Dependent voltage sources are handled the same way, with their controlling relation added to the system.
Choosing the reference #
Any node may be ground, but a good choice simplifies source constraints and reduces awkward supernodes. The physical branch voltages do not depend on the choice.
Verification #
After solving, compute every branch current from the original element law, not from rounded intermediate values. Check KCL at the omitted reference node and calculate a power balance. These checks catch the two dominant errors: a source injection with the wrong sign and a conductance stamped between the wrong pair of nodes.