Sub topic 14
Phasors and phase difference
This chapter assumes you know simple harmonic motion (SHM), basic trigonometry, and the idea that a derivative gives a rate of change. It also assumes you have seen the sinusoidal EMF of an AC generator and the peak and RMS values from the previous chapters. Here you learn to represent sinusoidal quantities as rotating arrows. This makes adding voltages across series elements a matter of adding arrows.
Why we need phasors
In an AC circuit every voltage and current oscillates at the same frequency. The elements do not oscillate in step, though. A voltage across an inductor peaks at a different instant from the current through it. To find the total voltage across a series combination you would add expressions like 3 sin ωt and 4 sin(ωt + 90°). Doing that with trigonometric identities works but is slow.
A phasor is a rotating arrow (vector) whose length is the amplitude of the quantity and whose angle is its phase. The instantaneous value of the quantity is the projection of the arrow on a fixed axis. This is the same idea as the reference circle in SHM.
From rotation to oscillation
Take an arrow of length A that rotates anticlockwise at angular frequency ω. At time t it makes the angle ωt + φ with the horizontal reference axis. Its projection on the vertical axis is
x(t) = A sin(ωt + φ)
Here φ is the phase constant, the angle of the arrow at t = 0. All quantities in one circuit share the same ω. So all their arrows rotate together as a rigid pattern. The angles between them never change. You can freeze the picture at t = 0 and work with fixed arrows.
- Length of the arrow: the amplitude. Use the peak value throughout, or the RMS value throughout. Do not mix them.
- Angle of the arrow: the phase constant φ.
- Vertical projection: the instantaneous value.
Phase difference
If v = V₀ sin(ωt + φv) and i = I₀ sin(ωt + φi), the phase difference is
φ = φv − φi
- If φ > 0, the voltage leads the current. Its peak occurs earlier in time, by φ/ω seconds.
- If φ < 0, the voltage lags the current.
- If φ = 0, they are in phase.
- If |φ| = 90°, they are in quadrature. If |φ| = 180°, they are in antiphase.
On the phasor diagram, the arrow that is ahead in the anticlockwise direction is the one that leads.
| Relation | Phasor picture | Waveform picture |
|---|---|---|
| v leads i by φ | v arrow is φ anticlockwise from i arrow | v reaches its peak φ/ω earlier than i |
| v lags i by φ | v arrow is φ clockwise from i arrow | v reaches its peak φ/ω later than i |
| In phase | arrows overlap | peaks coincide |
A cosine is a sine shifted by 90°: cos ωt = sin(ωt + 90°). Convert every quantity to the same function (all sine or all cosine) before you compare phases.
Adding quantities with phasors
Kirchhoff's voltage law holds at every instant. The instantaneous voltages in a series loop therefore add. The phasor of the sum is the vector sum of the phasors, because projection is a linear operation.
Worked example: v₁ = 3 sin ωt and v₂ = 4 sin(ωt + 90°). The arrows are perpendicular, with lengths 3 and 4. The resultant has length √(3² + 4²) = 5 and angle tan⁻¹(4/3) ≈ 53.13° from the v₁ arrow. So v₁ + v₂ = 5 sin(ωt + 53.13°).
The procedure is the same for any number of terms:
Checking the result with complex numbers
Complex numbers are a compact way to do the same vector addition. In the sine convention, the phasor A∠φ is the complex number A·e^{jφ}. The instantaneous value is the imaginary part of A·e^{jφ}·e^{jωt}.
import cmath
import math
def phasor(amplitude, phase_deg):
"""Complex number for A sin(wt + phase)."""
return cmath.rect(amplitude, math.radians(phase_deg))
def instantaneous(p, wt):
"""Value of the sinusoid at the instant when w*t = wt (radians)."""
return (p * cmath.exp(1j * wt)).imag
v1 = phasor(3, 0)
v2 = phasor(4, 90)
total = v1 + v2
print(round(abs(total), 3)) # 5.0
print(round(math.degrees(cmath.phase(total)), 2)) # 53.13
wt = 0.5
direct = instantaneous(v1, wt) + instantaneous(v2, wt)
combined = instantaneous(total, wt)
print(round(direct, 4), round(combined, 4)) # 4.9486 4.9486The last line shows that adding the instantaneous values gives the same number as evaluating the single resultant phasor.
Calculus as a rotation
Differentiating a sinusoid advances its phase by 90° and multiplies its amplitude by ω:
d/dt [A sin(ωt + φ)] = ωA sin(ωt + φ + 90°)
Integrating does the opposite: the phase falls by 90° and the amplitude is divided by ω. On the phasor diagram, differentiation rotates the arrow 90° anticlockwise and stretches it by ω. This is the reason the next chapter's results hold. For an inductor, v = L di/dt, so the voltage phasor sits 90° ahead of the current phasor. For a capacitor, i = C dv/dt, so the current phasor sits 90° ahead of the voltage phasor.
Common errors
- Mixing peak and RMS. If one arrow is drawn with a peak value and another with an RMS value, the sum is meaningless. Choose one convention.
- Reversing lead and lag. Anticlockwise means ahead. A quantity that is ahead peaks first.
- Comparing sine with cosine directly. Write both in the same form first. cos ωt leads sin ωt by 90°.
- Adding magnitudes. The lengths 3 and 4 give a resultant of 5 only when the arrows are perpendicular. In general the resultant is √(A² + B² + 2AB cos θ), where θ is the angle between them.
- Reading phase from the wrong end. Phase difference is a fixed number for a given circuit. It does not depend on when you start the clock.
Exercise
A voltage v = 12 sin(ωt) is applied to a circuit and the current is i = 4 cos(ωt). Does the voltage lead or lag the current, and by how much in time if the frequency is 50 Hz?
Show answer
Write the current as a sine: i = 4 sin(ωt + 90°). Then φ = φv − φi = 0 − 90° = −90°, so the voltage lags the current by 90°. The time lag is T/4, where T = 1/50 s = 20 ms. So the lag is 5 ms.
Exercise
Two series elements have voltages v₁ = 6 sin ωt and v₂ = 8 sin(ωt − 90°). Find the amplitude and phase of the total voltage across them.
Show answer
The arrows are perpendicular, so the amplitude is √(6² + 8²) = 10. The v₂ arrow points 90° clockwise from v₁, so the resultant angle is −tan⁻¹(8/6) ≈ −53.13°. The total is v = 10 sin(ωt − 53.13°).