 # 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 E0 is chosen as a reference point. The node voltages E1 and E2 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<sub>1</sub> = E<sub>1</sub>/R<sub>1</sub> = 10/2 = 5 A
I<sub>2</sub> = E<sub>2</sub>/R<sub>5</sub> = 4/1  = 4 A
G<sub>1</sub> = 1/R<sub>1</sub> = 1/2 Ω   = 0.5 S
G<sub>2</sub> = 1/R<sub>2</sub> = 1/4 Ω   = 0.25 S
G<sub>3</sub> = 1/R<sub>3</sub> = 1/2.5 Ω = 0.4 S
G<sub>4</sub> = 1/R<sub>4</sub> = 1/5 Ω   = 0.2 S
G<sub>5</sub> = 1/R<sub>5</sub> = 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<sub>A</sub> = G<sub>1</sub> + G<sub>2</sub> = 0.5 S + 0.25 S = 0.75 S
G<sub>B</sub> = G<sub>4</sub> + G<sub>5</sub> = 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 V1 and V2 this one time. We do this to illustrate a pattern for writing equations by inspection.

``````G<sub>A</sub>E<sub>1</sub> + G<sub>3</sub>(E<sub>1</sub> - E<sub>2</sub>) = I<sub>1</sub>             (1)
G<sub>B</sub>E<sub>2</sub> - G<sub>3</sub>(E<sub>1</sub> - E<sub>2</sub>) = I<sub>2</sub>             (2)

(G<sub>A</sub> + G<sub>3</sub> )E<sub>1</sub>         -G<sub>3</sub>E<sub>2</sub> = I<sub>1</sub>     (1)
-G<sub>3</sub>E<sub>1</sub> + (G<sub>B</sub> + G<sub>3</sub>)E<sub>2</sub> = I<sub>2</sub>     (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(E0)
• Assign unknown voltages (E1)(E2) ... (EN)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<sub>1</sub> -(0.4)E<sub>2</sub>=  5
-(0.4)E<sub>1</sub> +(0.4+0.2+1.0)E<sub>2</sub> = -4
(1.15)E<sub>1</sub> -(0.4)E<sub>2</sub>=  5
-(0.4)E<sub>1</sub> +(1.6)E<sub>2  </sub> = -4
E<sub>1</sub> =  3.8095
E<sub>2</sub> = -1.5476``````

The solution of two equations can be performed with a calculator, or with octave (not shown).[octav] The solution is verified with SPICE based on the original schematic diagram with voltage sources. [spi] 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, G1 = 1/R1, etc.

There are three nodes to write equations for by inspection. Note that the coefficients are positive for equation (1) E1, equation (2) E2, and equation (3) E3. 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<sub>1</sub> + G<sub>2</sub>)E<sub>1</sub>              -G<sub>1</sub>E<sub>2</sub>             -G<sub>2</sub>E<sub>3</sub>      = 0.136092
-G<sub>1</sub>E<sub>1</sub>  +(G<sub>1</sub> + G<sub>3</sub> + G<sub>4</sub>)E<sub>2</sub>             -G<sub>3</sub>E<sub>3</sub>      = 0
-G<sub>2</sub>E<sub>1</sub>              -G<sub>3</sub>E<sub>2</sub> +(G<sub>2</sub> + G<sub>3</sub> + G<sub>5</sub>)E<sub>3</sub>      = 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=”.[octav] 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”. E1 = 24.000 V, E2 = 17.655 V, E3 = 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

##### Lessons In Electric Circuits copyright (C) 2000-2020 Tony R. Kuphaldt, under the terms and conditions of theCC BY License.

See the Design Science License (Appendix 3) for details regarding copying and distribution.

Revised November 06, 2021 Swipe left and right to change pages.  