Nodal analysis
≈ 7 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
In electric circuit analysis, nodal analysis (also referred to as node-voltage analysis or the branch current method) is a method of determining the voltage between nodes (points where elements or branches connect) in an electrical circuit in terms of the branch currents. Nodal analysis is essentially a systematic application of Kirchhoff's current law (KCL) for circuit analysis. Similarly, mesh analysis is a systematic application of Kirchhoff's voltage law (KVL).
Nodal analysis writes an equation at each electrical node specifying that the branch currents incident at a node must sum to zero (using KCL). The branch currents are written in terms of the circuit node voltages. As a consequence, each branch constitutive relation must give current as a function of voltage; an admittance representation. For instance, for a resistor, I branch = V branch * G, where G (=1/R) is the admittance (conductance) of the resistor.
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.…
In electric circuit analysis, nodal analysis (also referred to as node-voltage analysis or the branch current method) is a method of determining the voltage between nodes (points where elements or branches connect) in an electrical circuit in terms of the branch currents. Nodal analysis is essentially a systematic application of Kirchhoff's current law (KCL) for circuit analysis. Similarly, mesh analysis is a systematic application of Kirchhoff's voltage law (KVL).
Nodal analysis writes an equation at each electrical node specifying that the branch currents incident at a node must sum to zero (using KCL). The branch currents are written in terms of the circuit node voltages. As a consequence, each branch constitutive relation must give current as a function of voltage; an admittance representation. For instance, for a resistor, I branch = V branch * G, where G (=1/R) is the admittance (conductance) of the resistor.
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. \frac{V_1 - V_S}{R_1} + \frac{V_1}{R_2} - I_S = 0 This equation can be solved with respect to V 1 : V_1 = \frac{\left( \frac{V_S}{R_1} + I_S \right)}{\left( \frac{1}{R_1} + \frac{1}{R_2} \right)} 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.
V_1 = \frac{\left( \frac{5\text{ V}}{100\,\Omega} + 20\text{ mA} \right)}{\left( \frac{1}{100\,\Omega} + \frac{1}{200\,\Omega} \right)} = \frac{14}{3}\text{ V} The current going through voltage source V A cannot be directly calculated. Therefore, we cannot write the current equations for either V 1 or V 2 . However, we know that the same current leaving node V 2 must enter node V 1 . 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: V 1 = V 2 + V A .
The complete set of equations for this circuit is: \begin{cases} \frac{V_1 - V_\text{B}}{R_1} + \frac{V_2 - V_\text{B}}{R_2} + \frac{V_2}{R_3} = 0\\ V_1 = V_2 + V_\text{A}\\ \end{cases} By substituting V_2 = \frac{(R_1 + R_2) R_3 V_\text{B} - R_2 R_3 V_\text{A}}{(R_1 + R_2) R_3 + R_1 R_2} For any node k , KCL states \sum_{j\ne k}G_{jk}(v_k-v_j)=0 where G_{kj}=G_{jk} is the negative of the sum of the conductances between nodes k and j , and v_k is the voltage of node k .
This implies 0=\sum_{j\ne k}G_{jk}(v_k-v_j)=\sum_{j\ne k}G_{jk}v_k-\sum_{j\ne k}G_{jk}v_j=G_{kk}v_k-\sum_{j\ne k}G_{jk}v_j where G_{kk} is the sum of conductances connected to node k . We note that the first term contributes linearly to the node k via G_{kk} , while the second term contributes linearly to each node j connected to the node k via G_{jk} with a minus sign. If an independent current source/input i_k is also attached to node k , the above expression is generalized to i_k=G_{kk}v_k-\sum_{j\ne k}G_{jk}v_j .
It is readily shown that one can combine the above node-voltage equations for all N nodes, and write them down in the following matrix form \begin{pmatrix} G_{11} &G_{12} &\cdots &G_{1N} \\ G_{21} &G_{22} &\cdots &G_{2N} \\ \vdots &\vdots &\ddots & \vdots\\ G_{N1} &G_{N2} &\cdots &G_{NN} \end{pmatrix} \begin{pmatrix} v_1\\ v_2\\ \vdots\\ v_N \end{pmatrix}= \begin{pmatrix} i_1\\ i_2\\ \vdots\\ i_N \end{pmatrix} or simply \mathbf {Gv} = \mathbf i.
The matrix \mathbf G on the left hand side of the equation is singular since it satisfies \mathbf {G 1}=0 where \mathbf 1 is an N\times 1 column matrix containing only 1s. This corresponds to the fact of current conservation, namely, \sum_{k}i_k=0 , 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, v_N=0 .
In this case, it is straightforward to verify that the resulting equations for the other N-1 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 (N-1)\times(N-1) dimensional non-singular matrix equation with the definitions of all the elements stay unchanged.
References
P. Dimo Nodal Analysis of Power Systems Abacus Press Kent 1975
Text derived from https://en.wikipedia.org/w/index.php?oldid=1344255816 under CC BY-SA 4.0; modifications have been made.