Sub topic 12
Phasors and phase difference
This chapter assumes you know simple harmonic motion, basic trigonometry, and the peak and RMS values of AC from the previous chapters.
What a phasor is
A phasor is a vector of fixed length that rotates counterclockwise at angular frequency ω. Its length is the peak value of a sinusoidal quantity. Its projection on the vertical axis at time t is the instantaneous value.
For a current i = I₀ sin(ωt), the phasor has length I₀ and makes angle ωt with the horizontal axis. Its vertical projection is I₀ sin(ωt). This is the same link between circular motion and SHM that you already know.
Phase difference
Suppose v = V₀ sin(ωt + φ) and i = I₀ sin(ωt). Both phasors rotate at the same ω, so the angle between them stays fixed at φ. That angle is the phase difference.
- If φ > 0, the voltage phasor is ahead of the current phasor. The voltage leads the current.
- If φ < 0, the voltage lags the current.
- A phase difference of φ corresponds to a time shift of φ/ω.
Because all phasors in one circuit rotate together, you can draw them at t = 0 and ignore the rotation. Only the lengths and the angles between them matter.
Adding quantities with phasors
In a series circuit, the instantaneous voltages across the elements add up to the source voltage. The peak values do not add arithmetically, because the voltages peak at different times. Add the phasors as vectors instead. This is the idea behind impedance in the later chapters.
The code below does the vector addition with complex numbers. It adds 3 sin(ωt) and 4 sin(ωt + 90°).
import cmath
import math
def add_phasors(a1, phi1, a2, phi2):
"""Return amplitude and phase (radians) of a1 sin(wt+phi1) + a2 sin(wt+phi2)."""
z = a1 * cmath.exp(1j * phi1) + a2 * cmath.exp(1j * phi2)
return abs(z), cmath.phase(z)
amp, phase = add_phasors(3, 0, 4, math.pi / 2)
print(round(amp, 2), round(math.degrees(phase), 2)) # 5.0 53.13The two phasors are perpendicular, so the resultant is the hypotenuse of a 3-4-5 triangle. The sum is 5 sin(ωt + 53.13°).
Common errors
- Adding peak values directly. Voltages that are out of phase need vector addition. Adding them arithmetically only works when φ = 0.
- Mixing up lead and lag. Compare the angles. The phasor with the larger angle is ahead. Check the sign of φ before you say which one leads.
- Mixing sine and cosine. cos(ωt) = sin(ωt + 90°). Convert both quantities to the same function before you read off a phase difference.
- Mixing degrees and radians. Use radians when you compute φ/ω for a time shift.
- Treating phasors as physical vectors. A phasor is a bookkeeping tool. It does not point along any direction in space.
Exercise
A current is i = 2 sin(100t) A and a voltage is v = 10 sin(100t + π/3) V, with t in seconds. Which one leads, by what angle, and by what time interval?
Show answer
The voltage leads the current by φ = π/3 rad = 60°. The time interval is φ/ω = (π/3)/100 ≈ 0.0105 s, or about 10.5 ms.