Home > Textbooks > Lessons In Electric Circuits > Vol. I - DC > DC Network Analysis > Node Voltage Method

Chapter 10: DC NETWORK ANALYSIS

# Node Voltage Method

The node voltage method of analysis solves for unknown voltages at
circuit nodes in terms of a system of KCL equations. This analysis looks
strange because it involves replacing voltage sources with equivalent
current sources. Also, resistor values in ohms are replaced by
equivalent conductances in siemens, G = 1/R. The siemens (S) is the unit
of conductance, having replaced the mho unit. In any event S = Ω^{-1}. And S = mho (obsolete).

We start with a circuit having conventional voltage sources. A common node E_{0} is chosen as a reference point. The node voltages E_{1} and E_{2} are calculated with respect to this point.

A voltage source in series with a resistance must be replaced by an equivalent current source in parallel with the resistance. We will write KCL equations for each node. The right hand side of the equation is the value of the current source feeding the node.

Replacing voltage sources and associated series resistors with equivalent current sources and parallel resistors yields the modified circuit. Substitute resistor conductances in siemens for resistance in ohms.

`I`_{1} = E_{1}/R_{1} = 10/2 = 5 A
I_{2} = E_{2}/R_{5} = 4/1 = 4 A
G_{1} = 1/R_{1} = 1/2 Ω = 0.5 S
G_{2} = 1/R_{2} = 1/4 Ω = 0.25 S
G_{3} = 1/R_{3} = 1/2.5 Ω = 0.4 S
G_{4} = 1/R_{4} = 1/5 Ω = 0.2 S
G_{5} = 1/R_{5} = 1/1 Ω = 1.0 S

The Parallel conductances (resistors) may be combined by addition of the conductances. Though, we will not redraw the circuit. The circuit is ready for application of the node voltage method.

`G`_{A} = G_{1} + G_{2} = 0.5 S + 0.25 S = 0.75 S
G_{B} = G_{4} + G_{5} = 0.2 S + 1 S = 1.2 S

Deriving a general node voltage method, we write a pair of KCL equations in terms of unknown node voltages V_{1} and V_{2} this one time. We do this to illustrate a pattern for writing equations by inspection.

`G`_{A}E_{1} + G_{3}(E_{1} - E_{2}) = I_{1} (1)
G_{B}E_{2} - G_{3}(E_{1} - E_{2}) = I_{2} (2)
(G_{A} + G_{3} )E_{1} -G_{3}E_{2} = I_{1} (1)
-G_{3}E_{1} + (G_{B} + G_{3})E_{2} = I_{2} (2)

The coefficients of the last pair of equations above have been rearranged to show a pattern. The sum of conductances connected to the first node is the positive coefficient of the first voltage in equation (1). The sum of conductances connected to the second node is the positive coefficient of the second voltage in equation (2). The other coefficients are negative, representing conductances between nodes. For both equations, the right hand side is equal to the respective current source connected to the node. This pattern allows us to quickly write the equations by inspection. This leads to a set of rules for the node voltage method of analysis.

**Node voltage rules:**- Convert voltage sources in series with a resistor to an equivalent current source with the resistor in parallel.
- Change resistor values to conductances.
- Select a reference node(E
_{0}) - Assign unknown voltages (E
_{1})(E_{2}) ... (E_{N})to remaining nodes. - Write a KCL equation for each node 1,2, ... N. The positive coefficient of the first voltage in the first equation is the sum of conductances connected to the node. The coefficient for the second voltage in the second equation is the sum of conductances connected to that node. Repeat for coefficient of third voltage, third equation, and other equations. These coefficients fall on a diagonal.
- All other coefficients for all equations are negative, representing conductances between nodes. The first equation, second coefficient is the conductance from node 1 to node 2, the third coefficient is the conductance from node 1 to node 3. Fill in negative coefficients for other equations.
- The right hand side of the equations is the current source connected to the respective nodes.
- Solve system of equations for unknown node voltages.

**Example:** Set up the equations and solve for the node voltages using the numerical values in the above figure.

**Solution:**

`(0.5+0.25+0.4)E`_{1} -(0.4)E_{2} = 5
-(0.4)E_{1} +(0.4+0.2+1.0)E_{2} = -4
(1.15)E_{1} -(0.4)E_{2} = 5
-(0.4)E_{1} +(1.6)E_{2} = -4
E_{1} = 3.8095
E_{2} = -1.5476

The solution of two equations can be performed with a calculator, or with octave (not shown).[4] The solution is verified with SPICE based on the original schematic diagram with voltage sources. [2] Though, the circuit with the current sources could have been simulated.

```
V1 11 0 DC 10
V2 22 0 DC -4
r1 11 1 2
r2 1 0 4
r3 1 2 2.5
r4 2 0 5
r5 2 22 1
.DC V1 10 10 1 V2 -4 -4 1
.print DC V(1) V(2)
.end
v(1) v(2)
3.809524e+00 -1.547619e+00
```

One more example. This one has three nodes. We do not list the conductances on the schematic diagram. However, G_{1} = 1/R_{1}, etc.

There are three nodes to write equations for by inspection. Note that the coefficients are positive for equation (1) E_{1}, equation (2) E_{2}, and equation (3) E_{3}.
These are the sums of all conductances connected to the nodes. All
other coefficients are negative, representing a conductance between
nodes. The right hand side of the equations is the associated current
source, 0.136092 A for the only current source at node 1. The other
equations are zero on the right hand side for lack of current sources.
We are too lazy to calculate the conductances for the resistors on the
diagram. Thus, the subscripted G's are the coefficients.

`(G`_{1} + G_{2})E_{1} -G_{1}E_{2} -G_{2}E_{3} = 0.136092
-G_{1}E_{1} +(G_{1}+G_{3}+G_{4})E_{2} -G_{3}E_{3} = 0
-G_{2}E_{1} -G_{3}E_{2} +(G_{2}+G_{3}+G_{5})E_{3} = 0

We are so lazy that we enter reciprocal resistances and sums of reciprocal resistances into the octave "A" matrix, letting octave compute the matrix of conductances after "A=".[4] The initial entry line was so long that it was split into three rows. This is different than previous examples. The entered "A" matrix is delineated by starting and ending square brackets. Column elements are space separated. Rows are "new line" separated. Commas and semicolons are not need as separators. Though, the current vector at "b" is semicolon separated to yield a column vector of currents.

```
octave:12> A = [1/150+1/50 -1/150 -1/50
> -1/150 1/150+1/100+1/300 -1/100
> -1/50 -1/100 1/50+1/100+1/250]
A =
0.0266667 -0.0066667 -0.0200000
-0.0066667 0.0200000 -0.0100000
-0.0200000 -0.0100000 0.0340000
octave:13> b = [0.136092;0;0]
b =
0.13609
0.00000
0.00000
octave:14> x=A\b
x =
24.000
17.655
19.310
```

Note that the "A" matrix diagonal coefficients are positive, that all other coefficients are negative.

The solution as a voltage vector is at "x". E_{1} = 24.000 V, E_{2} = 17.655 V, E_{3}
= 19.310 V. These three voltages compare to the previous mesh current
and SPICE solutions to the unbalanced bridge problem. This is no
coincidence, for the 0.13609 A current source was purposely chosen to
yield the 24 V used as a voltage source in that problem.

- Summary
- Given a network of conductances and current sources, the node voltage method of circuit analysis solves for unknown node voltages from KCL equations.
- See rules above for details in writing the equations by inspection.
- The unit of conductance G is the siemens S. Conductance is the reciprocal of resistance: G = 1/R

## Related Content:

Circuits: Circuit for node voltage method

Circuits: Wheatstone bridge and current