Sub topic 3
Phasors and the phase angle between voltage and current
This chapter assumes you can do Ohm's law and Kirchhoff's laws, use basic trigonometry, recall the voltage-current relationships of resistors, inductors, and capacitors, and convert complex numbers between rectangular and polar form. It builds the tool that every later power calculation uses: the phasor, and the phase angle φ between voltage and current.
Why phasors exist
In a linear AC circuit at one fixed frequency, every voltage and current is a sinusoid at that same frequency. Only two things differ from one signal to the next: the size and the starting angle. Solving with time-domain sines means differentiating and integrating for inductors and capacitors, then combining trigonometric terms by hand.
A phasor drops the part that never changes, the frequency, and keeps the size and the angle as one complex number. Derivatives and integrals then become multiplication and division by jω, and Kirchhoff's laws become ordinary complex arithmetic.
From a sinusoid to a phasor
Write a voltage in cosine form:
v(t) = Vm cos(ωt + θv)
Here Vm is the peak value, ω = 2πf is the angular frequency in rad/s, and θv is the phase angle at t = 0. The phasor is:
V = Vrms ∠ θv, where Vrms = Vm / √2
This chapter uses RMS magnitudes for phasors. That is the convention in power work, because the products V·I then give power directly, without a factor of 1/2. Some circuit-analysis texts use peak magnitudes instead. Check which convention a source uses before mixing formulas.
To get back to the time domain, multiply the phasor by e^(jωt), take the real part, and scale by √2:
v(t) = √2 · Re{ V e^(jωt) }
Two rules keep the conversion honest:
- The reference is cosine. A sine converts with a 90° shift: sin(ωt + θ) = cos(ωt + θ − 90°). So 10 sin(ωt) has phase −90°.
- A phasor is not a function of time. It stands for a whole waveform at an agreed frequency, so it is meaningful only when every signal in the problem shares that frequency.
The phase angle φ
The phase angle between voltage and current is defined as:
φ = θv − θi
It is the voltage angle minus the current angle. This is the angle you will use in P = Vrms Irms cos φ and in the power triangle in later chapters.
- If φ > 0, the voltage reaches its peak before the current does, so the current lags the voltage. This is typical of inductive loads.
- If φ < 0, the current reaches its peak first, so the current leads the voltage. This is typical of capacitive loads.
- If φ = 0, they are in phase, which is the case for a pure resistor.
A phase angle converts to a time offset with Δt = φ / (360° × f). At 50 Hz one period is 20 ms, so 45° corresponds to 2.5 ms.
The angle φ is also the angle of the load's impedance. Dividing V by I gives:
Z = V / I = (Vrms / Irms) ∠ (θv − θi) = |Z| ∠ φ
So you can find φ from the circuit alone: φ = atan2(X, R) for Z = R + jX.
Impedance of R, L, and C
| Element | Impedance Z | Angle φ | Current relative to voltage |
|---|---|---|---|
| Resistor R | R | 0° | in phase |
| Inductor L | jωL | +90° | lags by 90° |
| Capacitor C | 1/(jωC) = −j/(ωC) | −90° | leads by 90° |
For a mixed load the angle falls between −90° and +90°. A series R-L load has 0° < φ < 90°. A series R-C load has −90° < φ < 0°. A passive load never produces |φ| above 90°.
Worked example
A 230 V RMS, 50 Hz source drives a series load with R = 10 Ω and XL = 10 Ω. Take the voltage as the angle reference, so V = 230∠0° V.
- Impedance: Z = 10 + j10 = 14.142∠45° Ω.
- Current: I = V / Z = 230∠0° / 14.142∠45° = 16.263∠−45° A.
- Phase angle: φ = 0° − (−45°) = 45°. It is positive, so the current lags.
- Time offset: Δt = 45 / (360 × 50) = 2.5 ms.
- Time-domain forms: v(t) = 325.3 cos(314.16 t) V and i(t) = 23.0 cos(314.16 t − 45°) A.
The following script repeats the calculation and checks it against the time domain.
import cmath
import math
f = 50.0
w = 2 * math.pi * f
V = cmath.rect(230, 0) # RMS phasor, 230 V at 0 degrees
Z = complex(10, 10) # R + jXL in ohms
I = V / Z # RMS current phasor
def polar(z):
return abs(z), math.degrees(cmath.phase(z))
v_mag, v_ang = polar(V)
i_mag, i_ang = polar(I)
z_mag, z_ang = polar(Z)
phi = v_ang - i_ang # voltage angle minus current angle
print(f"V = {v_mag:.1f} V at {v_ang:.1f} deg")
print(f"I = {i_mag:.3f} A at {i_ang:.1f} deg")
print(f"Z = {z_mag:.3f} ohm at {z_ang:.1f} deg")
print(f"phi = {phi:.1f} deg ({'current lags' if phi > 0 else 'current leads'})")
dt = phi / (360.0 * f)
print(f"time offset = {dt * 1000:.2f} ms")
# Time-domain check: i(t) should peak at t = dt, where v(t) peaked at t = 0
def i_t(t):
return math.sqrt(2) * i_mag * math.cos(w * t + math.radians(i_ang))
print(f"i(0) = {i_t(0):.2f} A")
print(f"i(dt) = {i_t(dt):.2f} A (peak = {math.sqrt(2) * i_mag:.2f} A)")Running it prints a current of 16.263 A at −45.0°, φ = 45.0°, a 2.50 ms offset, and i(dt) equal to the 23.00 A peak. That last value confirms that the current peaks 2.5 ms after the voltage.
Adding phasors
Kirchhoff's laws hold for phasors because addition of same-frequency sinusoids corresponds to addition of the complex numbers. For example, two series voltage drops of 100∠0° V and 100∠90° V add to 100 + j100 = 141.4∠45° V, not 200 V. The magnitudes do not add directly unless the angles match. This is why a series R-L circuit's total voltage is √(VR² + VL²) and not VR + VL.
Common errors
- Mixing peak and RMS. A phasor written as 325∠0° V is a peak phasor. Use Vm/√2 before applying the RMS power formulas.
- Using degrees where radians are expected. Python's
math.cosandcmath.recttake radians. Convert withmath.radiansormath.degrees. - Reversing the sign of φ. Always compute θv − θi. Writing θi − θv flips lag into lead and later makes Q the wrong sign.
- Forgetting the sine-to-cosine shift. A sine of phase θ has cosine phase θ − 90°.
- Mixing frequencies. Phasors at 50 Hz and 150 Hz cannot be added or divided. Each frequency needs its own phasor analysis. Chapter 15 returns to this for distorted waveforms.
- Reading φ as a property of the source. The angle is set by the load. The same 230 V source gives a different φ for a different load.
Exercises
Exercise
A load has v(t) = 170 cos(377t + 30°) V and i(t) = 5 cos(377t − 20°) A. Find the phase angle φ, say whether the current lags or leads, and give the time offset in milliseconds. (Frequency is 377/(2π) = 60 Hz.)
Show answer
φ = θv − θi = 30° − (−20°) = 50°. It is positive, so the current lags the voltage. Δt = 50 / (360 × 60) = 2.31 ms.
Exercise
A 120 V RMS source at angle 0° drives a series load with R = 8 Ω and a capacitive reactance of 6 Ω. Find the current phasor and the phase angle φ. Is the current lagging or leading?
Show answer
Z = 8 − j6 = 10∠−36.87° Ω. I = 120∠0° / 10∠−36.87° = 12∠+36.87° A. φ = 0° − 36.87° = −36.87°. It is negative, so the current leads the voltage.