Sub topic 6
Reference nodes and voltage polarity
This chapter assumes you know that voltage is energy per unit charge, that current is the rate of charge flow, and that you can rearrange simple equations. It covers how to name a voltage so that its sign means something.
Voltage needs two points
Voltage is a difference between two points. Saying "the voltage is 5 V" is incomplete until you say between which points, and which point counts as higher. Two tools fix this: a reference node and a polarity marking.
The reference node
A node is a point where circuit elements connect. A reference node is the node you pick as the zero-volt point. It is often called ground, and it is drawn with a ground symbol.
Once you pick a reference, every other node has a node voltage. This is the voltage of that node measured relative to the reference. The choice of reference is yours. Moving it changes every node voltage, but it does not change the voltage between any two nodes.
Polarity marks
Between two nodes A and B, mark A with + and B with −. The voltage v_AB is then the potential at A minus the potential at B.
- If v_AB = +5 V, node A is 5 V higher than node B.
- If v_AB = −5 V, node A is 5 V lower than node B.
- Swapping the marks flips the sign: vBA = −vAB.
The + and − marks are a reference choice. They are not a claim that A really is the higher node. The sign of the number tells you whether your guess was right.
Worked example
Take ground at node C, with node A at +9 V and node B at +4 V relative to C. Then:
- v_AB = 9 − 4 = +5 V
- v_BA = 4 − 9 = −5 V
- v_AC = +9 V
Now move the reference to node B. The node voltages become A = +5 V, B = 0 V and C = −4 V. Yet v_AB is still +5 V. The differences stay the same.
The same bookkeeping in code:
# Node voltages relative to ground at node C, in volts
node_v = {"A": 9.0, "B": 4.0, "C": 0.0}
def voltage_between(plus, minus, volts):
"""Return v_plus,minus = V(plus) - V(minus)."""
return volts[plus] - volts[minus]
print(f"v_AB = {voltage_between('A', 'B', node_v):+.1f} V")
print(f"v_BA = {voltage_between('B', 'A', node_v):+.1f} V")
# Move the reference to node B by subtracting B's voltage from every node
shifted = {n: v - node_v["B"] for n, v in node_v.items()}
print("Shifted node voltages:", shifted)
print(f"v_AB after shift = {voltage_between('A', 'B', shifted):+.1f} V")Common errors
- Forgetting the reference. A node voltage means nothing until you know the reference node.
- Reading + and − as facts. They are labels you chose. A negative result means the true polarity is the opposite of your marks.
- Mixing up order. v_AB means A minus B. Reversing the subscripts reverses the sign.
- Changing marks midway. Choose polarities at the start and keep them throughout the analysis.
Exercise
Exercise
With ground at node D, node P is at +12 V and node Q is at −3 V. Find vPQ and vQP. Then move the reference to node Q and give the new node voltage at P.
Show answer
vPQ = 12 − (−3) = +15 V, and vQP = −15 V. With Q as the reference, Q is 0 V and P is 12 − (−3) = +15 V.