Sub topic 4
Labeling Node Voltages
This chapter assumes you know voltage, current, resistance, Ohm's law, and basic series and parallel resistor rules. It also assumes you have chosen a reference node, as covered in the previous chapter. Here you turn the remaining nodes into named unknowns.
What a node voltage is
A node is a point where two or more circuit elements join. Wires have zero resistance, so every point connected by a wire is the same node and has the same voltage.
A node voltage is the voltage of a node measured relative to the reference node. The reference node is defined to be 0 V. If node 1 has a node voltage of 5 V, node 1 sits 5 V above the reference.
Every other voltage in the circuit follows from node voltages. The voltage across any element between nodes a and b is:
vab = Va − V_b
The first node named is the positive side. This one subtraction is why node voltages are enough to describe the whole circuit.
How to label the nodes
Follow these steps on any circuit:
- Redraw the circuit so that every wire-connected region is one dot. Merge points that a plain wire joins.
- Mark the reference node with a ground symbol.
- Give each remaining node a name: V1, V2, V3, and so on. The order does not matter.
- Write the unknowns as a list, for example v = [V1, V2].
The number of unknowns equals the number of nodes minus one. A circuit with five nodes and one reference has four unknown node voltages, so you will need four independent equations later.
Branch voltages from node voltages
Suppose the solution of this circuit is V1 = 16/3 V and V2 = 4 V. Each resistor voltage comes from a subtraction:
- R1 connects node 1 to ground: v = V1 − 0 = 16/3 V.
- R2 connects node 1 to node 2: v = V1 − V2 = 4/3 V.
- R3 connects node 2 to ground: v = V2 − 0 = 4 V.
You can compute these in code the same way:
import numpy as np
V = np.array([16/3, 4.0]) # V1, V2
V1, V2 = V
R1, R2, R3 = 4.0, 2.0, 6.0
v_r1 = V1 - 0.0
v_r2 = V1 - V2
v_r3 = V2 - 0.0
print(v_r1, v_r2, v_r3)
print("current in R2 from node 1 to node 2:", v_r2 / R2) # 0.666... AThe sign of a branch voltage tells you the current direction. A positive V1 − V2 across a resistor means current flows from node 1 to node 2 through it. You can assume any direction while writing equations. A negative result then means the real current flows the other way.
Common labeling mistakes
- Counting a wire as two nodes. If a plain wire joins two dots, they are one node. Naming both creates a spurious unknown.
- Treating a node voltage as a voltage across a single element. V2 is measured to the reference, not across the nearest resistor.
- Forgetting that the reference is not an unknown. Its voltage is fixed at 0 V and it gets no label.
- Reversing the subtraction. For v_ab, subtract the voltage at b from the voltage at a. The order sets the sign.
Exercise
A circuit has 6 points where elements meet. Two of them are joined by a plain wire, so they form one node, and one node is chosen as the reference. (a) How many unknown node voltages are there? (b) If node 3 is at 2 V and node 1 is at 7 V, what is the voltage across a resistor connected between them, with node 1 as the positive side, and which way does current flow through it?
Show answer
(a) The wire merges two points, leaving 5 nodes. Removing the reference leaves 4 unknown node voltages. (b) v = V1 − V3 = 7 − 2 = 5 V. The positive value means current flows from node 1 to node 3 through the resistor.