Nodal Analysis
Nodal Analysis
Nodal analysis is possible when all the circuit elements' branch constitutive relations have an admittance
representation. Nodal analysis produces a compact set of equations for the network, which can be solved by
hand if small, or can be quickly solved using linear algebra by computer. Because of the compact system of
equations, many circuit simulation programs (e.g., SPICE) use nodal analysis as a basis. When elements do
not have admittance representations, a more general extension of nodal analysis, modified nodal analysis,
can be used.
Procedure
1. Note all connected wire segments in the circuit. These are the nodes of nodal analysis.
2. Select one node as the ground reference. The choice does not affect the element voltages
(but it does affect the nodal voltages) and is just a matter of convention. Choosing the node
with the most connections can simplify the analysis. For a circuit of N nodes the number of
nodal equations is N−1.
3. Assign a variable for each node whose voltage is unknown. If the voltage is already known,
it is not necessary to assign a variable.
4. For each unknown voltage, form an equation based on Kirchhoff's Current Law (i.e. add
together all currents leaving from the node and mark the sum equal to zero). The current
between two nodes is equal to the voltage of the node where the current exits minus the
voltage of the node where the current enters the node, both divided by the resistance
between the two nodes.
5. If there are voltage sources between two unknown voltages, join the two nodes as a
supernode. The currents of the two nodes are combined in a single equation, and a new
equation for the voltages is formed.
6. Solve the system of simultaneous equations for each unknown voltage.
Examples
Basic case
Finally, the unknown voltage can be solved by substituting numerical values for the symbols. Any
unknown currents are easy to calculate after all the voltages in the circuit are known.
Supernodes
In this circuit, we initially have two unknown voltages, V1 and V2 . The voltage at V3 is already known to
be VB because the other terminal of the voltage source is at ground potential.
The current going through voltage source VA cannot be directly
calculated. Therefore, we cannot write the current equations for either V1
or V2 . However, we know that the same current leaving node V2 must
enter node V1 . Even though the nodes cannot be individually solved, we
know that the combined current of these two nodes is zero. This
combining of the two nodes is called the supernode technique, and it
requires one additional equation: V1 = V2 + VA.
By substituting
or simply
The matrix on the left hand side of the equation is singular since it satisfies where is an
column matrix containing only 1s. This corresponds to the fact of current conservation, namely,
, and the freedom to choose a reference node (ground). In practice, the voltage at the reference
node is taken to be 0. Consider it is the last node, . In this case, it is straightforward to verify that the
resulting equations for the other nodes remain the same, and therefore one can simply discard the
last column as well as the last line of the matrix equation. This procedure results in a
dimensional non-singular matrix equation with the definitions of all the elements stay unchanged.
See also
Mesh analysis
Ybus matrix
Topology (electrical circuits)
Charge conservation
Circuit diagram
References
P. Dimo Nodal Analysis of Power Systems Abacus Press Kent 1975
External links
Branch current method (http://www.allaboutcircuits.com/vol_1/chpt_10/2.html)
Online four-node problem solver (http://www.catc.ac.ir/mazlumi/node.php)
Simple Nodal Analysis Example (http://jeffreyfreeman.me/nodal-analysis-tutorial/)