# Circuit Theory/Node Analysis

Node analysis is done in the phasor domain.

The Node Analysis method reduces the number of equations and unknowns one is finding in a circuit.

Kirchhoff's method finds all currents and voltages. Node Analysis only finds the voltages at nodes (junctions).

Node analysis starts with Kirchhoff junction equations:

$\sum _{k=1}^{n}{I}_{k}=0$ and solves terminal equations so that current is a function of voltage, and then substitutes into the junction current equation:

$i={\frac {\Delta V}{R}}$ $i=C*j\omega \Delta V=sC\Delta V$ $i={\frac {\Delta V}{j\omega L}}={\frac {\Delta V}{sL}}$ What is $\Delta V$ ? It is the voltage with respect to ground of the node on either side of the device being considered.

$\Delta V=V_{nodeA}-V_{nodeB}$ Where current is following from node_A to node_B.

At first glance this may seem trivial, but there are subtle differences exposed when doing the problems:

• Node voltages are relative to ground. They are not Kirchhoff's drops across individual devices.
• Assume all currents leave nodes.
• Terminal relation equations are more complicated.
• Has to be done in the phasor domain so impedances between nodes can be computed.
• Can have too few equations requiring finding "super node" equations.
• Some problems can not be solved. Recognizing these is not trivial.

## Examples

### Basic case

The only unknown voltage in this circuit is V1. There are three connections to this node and consequently three currents to consider. The direction of the currents in calculations is chosen to be away from the node.

1. Current through resistor R1: (V1 - VS) / R1
2. Current through resistor R2: V1 / R2
3. Current through current source IS: -IS

With Kirchhoff's current law, we get:

${\frac {V_{1}-V_{S}}{R_{1}}}+{\frac {V_{1}}{R_{2}}}-I_{S}=0$ This equation can be solved in respect to V1:

$V_{1}={\frac {\left({\frac {V_{S}}{R1}}+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)}}\approx 4.667{\text{ V}}$ The fact that $V_{1} and implies that current flows in the opposite direction through R1 reflects the fact that assuming that current flows out of a node just helps us write equations that capture the circuit topology in order to write logically consistent equations. They are in no way a guess at the final current direction.

### Another Example

Given the Circuit below, find the voltages at all nodes.

• node 0: $V_{0}=0V\,$ (defined as ground node)
• node 1: $V_{1}=9V\,$ (free node voltage)
• node 2: ${\frac {V_{1}-V_{2}}{1k}}={\frac {V_{2}-V_{0}}{3k}}+{\frac {V_{2}-V_{3}}{2k}}$ • node 3: ${\frac {V_{2}-V_{3}}{2k}}={\frac {V_{3}-V_{0}}{2k}}$ which results in the following system of linear equations:

$\left\{{\begin{matrix}+11V_{2}&-3V_{3}&=&54\\+1V_{2}&-2V_{3}&=&0\end{matrix}}\right.$ Therefore, the solution is:

$\left\{{\begin{matrix}V_{0}=0.00V\\V_{1}=9.00V\\V_{2}=5.68V\\V_{3}=2.84V\end{matrix}}\right.$ ### 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 can not 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 can not 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.

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 V1 to the first equation and solving in respect to V2, we get:

$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}}}$ 