Sub topic 9
Lead, Lag and Phasor Diagrams
This chapter assumes you can convert between rectangular and polar form, that you know the phasor transform (a cosine with amplitude and phase becomes a complex number), and that you know the impedances of R, L and C: R, jωL and 1/(jωC). The goal is to read the angle of a phasor as a timing relationship. You will then use that angle to sketch and check circuit behavior.
What lead and lag mean
Two sinusoids of the same frequency have the same shape but may be shifted in time. Take these two signals:
- v(t) = V cos(ωt + θv)
- i(t) = I cos(ωt + θi)
The phase difference is φ = θv − θi. If φ is positive, the voltage leads the current. It reaches each peak earlier in the cycle. If φ is negative, the voltage lags the current.
The angle converts to a time shift by Δt = |φ| / (360° · f), or |φ| / ω with φ in radians. A shift of 90° is one quarter of a period. At 50 Hz that is 5 ms.
Lead and lag only make sense for the same frequency. If the frequencies differ, the phase difference changes continuously, and the idea of one signal leading the other stops being meaningful.
Why the phasor angle shows it directly
In the phasor transform, every phasor in the circuit is understood to rotate at the same rate, e^{jωt}. The rotation is common to all of them and is dropped. What remains is the angle between phasors, and that angle is the phase difference. A phasor at a larger counterclockwise angle leads one at a smaller angle.
Take the ratio of the voltage phasor to the current phasor:
Z = V / I = (V/I)∠(θv − θi)
The angle of the impedance is therefore the phase by which voltage leads current. This holds for any impedance:
- angle of Z > 0: voltage leads current (the current lags). The circuit looks inductive.
- angle of Z < 0: voltage lags current (the current leads). The circuit looks capacitive.
- angle of Z = 0: voltage and current are in phase. The circuit looks resistive.
The three elements
The angles come directly from the impedances.
| Element | Impedance | Angle of Z | Relationship |
|---|---|---|---|
| Resistor | R | 0° | v and i in phase |
| Inductor | jωL | +90° | v leads i by 90° |
| Capacitor | 1/(jωC) = −j/(ωC) | −90° | v lags i by 90°, so i leads v |
A common memory aid is "ELI the ICE man". In an inductor (L), voltage (E) comes before current (I). In a capacitor (C), current (I) comes before voltage (E).
The time-domain laws give the same result. For an inductor, v = L di/dt. If i = I cos(ωt), then v = −ωLI sin(ωt) = ωLI cos(ωt + 90°). The voltage peaks a quarter cycle before the current does. For a capacitor, i = C dv/dt, so the current is the one that is shifted forward by 90°.
Phasor diagrams
A phasor diagram plots phasors as arrows in the complex plane. The real axis points right and the imaginary axis points up. Angles are measured counterclockwise from the real axis. Lengths represent amplitude (or RMS value, if you use RMS phasors consistently).
Choosing a reference
You can place any one phasor at 0° and measure the others against it. This does not change any phase difference. It just rotates the whole picture. The standard choices are:
- Series circuit: use the current as the reference, because the same current flows through every element.
- Parallel circuit: use the voltage as the reference, because every branch has the same voltage.
Series RL example
Let V = 10∠0° V, R = 30 Ω, and ωL = 40 Ω (ω = 1000 rad/s, L = 40 mH).
- Z = 30 + j40 = 50∠53.13° Ω.
- I = V/Z = 0.2∠−53.13° A. The current lags the source voltage by 53.13°.
- V_R = R·I = 6∠−53.13° V. It is in phase with the current.
- V_L = jωL·I = 8∠36.87° V. It leads the current by 90°.
The sum VR + VL is 3.6 − j4.8 + 6.4 + j4.8 = 10 + j0. KVL holds as a vector sum. The magnitudes do not add arithmetically: 6 + 8 is not 10. They form a right triangle, because VR and VL are 90° apart, so 6² + 8² = 10².
The delay of the current is 53.13° / 360° of a period. With T = 2π/1000 s ≈ 6.283 ms, that is about 0.927 ms.
Computing lead and lag in code
The phase of a ratio of phasors gives the lead angle directly. It is also wrapped into the range −180° to 180° automatically.
import cmath
import math
w = 1000.0 # rad/s
R = 30.0 # ohms
L = 40e-3 # henries
V = cmath.rect(10, 0)
Z = R + 1j * w * L
I = V / Z
VR = I * R
VL = 1j * w * L * I
def leads_by(a, b):
"""Angle in degrees by which phasor a leads phasor b, in (-180, 180]."""
return math.degrees(cmath.phase(a / b))
T = 2 * math.pi / w
phi = leads_by(V, I)
print("Z :", abs(Z), math.degrees(cmath.phase(Z)))
print("I :", abs(I), math.degrees(cmath.phase(I)))
print("V leads I by (deg):", phi)
print("VL leads I by (deg):", leads_by(VL, I))
print("Time shift (ms):", abs(phi) / 360 * T * 1000)
print("VR + VL:", VR + VL)The output shows V leading I by 53.13°, VL leading I by 90°, and VR + V_L equal to V (up to rounding). Using cmath.phase(a / b) avoids a common mistake. Subtracting two separately computed angles can give a result outside the range you expect, such as 350° where you meant −10°.
Parallel circuits
For a parallel RC branch pair, take V as the reference at 0°. The resistor current IR = V/R is at 0°. The capacitor current IC = jωC·V is at +90°. The total current is the vector sum, which lies between 0° and 90°. The total current leads the voltage, which matches the capacitive behavior of the circuit. If R = 10 Ω and ωC = 0.1 S, with V = 10∠0° V, then IR = 1 A and IC = j1 A. The total is 1 + j1 = 1.414∠45° A, so the total current leads the voltage by 45°.
Edge cases and common errors
- Beyond ±90°. A passive network made of R, L and C alone cannot have an impedance angle outside −90° to +90°, because its real part is never negative. If you compute a voltage-current angle outside that range for a passive load, there is an error in your work. Angles outside it are normal for the relationship between two voltages or two currents in different places, or for active circuits.
- Equivalent descriptions. A lead of 270° is the same as a lag of 90°. Always wrap the result into −180° to 180°, then decide which description is shorter. For a signal that is shifted by exactly 180°, lead and lag are indistinguishable. Say "inverted" instead.
- Sine versus cosine. The phasor convention here uses cosine. A sine must be converted first: sin(ωt + θ) = cos(ωt + θ − 90°). If you convert only one signal and forget the other, the phase difference is wrong by 90°. Converting both consistently leaves the difference unchanged.
- Negative amplitudes. A phasor −5∠20° is the same as 5∠200°. Rewrite it with a positive magnitude before reading the angle, or you will misjudge the lead.
- Mixing conventions. Some texts use sine as the reference, or write phase in the opposite sense for engineering fields outside circuits. Check which convention a source uses before comparing its angles to yours.
- Arithmetic adding of magnitudes. In the RL example, the element voltages (6 V and 8 V) sum to 10 V, not 14 V. Check magnitudes only after the vector sum.
Summary of the working rules
- Angle of Z equals angle of V minus angle of I.
- Positive angle means inductive and the current lags. Negative angle means capacitive and the current leads.
- Use current as the reference in series circuits and voltage as the reference in parallel circuits.
- Add phasors as vectors. Never add magnitudes unless the phasors are in phase.
- Convert an angle to a time shift with Δt = φ / (360° · f).
Exercise
A capacitor of 50 µF has the voltage v(t) = 12 cos(2000t + 20°) V across it. Find the capacitor current phasor and i(t), and state whether the current leads or lags the voltage and by how much.
Show answer
ω = 2000 rad/s, so ZC = 1/(jωC) = 1/(j · 2000 · 50e-6) = 1/(j0.1) = −j10 Ω = 10∠−90° Ω. The voltage phasor is V = 12∠20° V. Then I = V/ZC = (12∠20°)/(10∠−90°) = 1.2∠110° A, so i(t) = 1.2 cos(2000t + 110°) A. The angle of the impedance is −90°, so the current leads the voltage by 90° (110° − 20° = 90°). The time shift is a quarter of a period, T/4 = (2π/2000)/4 ≈ 0.785 ms.
Exercise
A series circuit has R = 20 Ω and a capacitor with reactance 20 Ω (so Z_C = −j20 Ω), driven by a source V = 20∠0° V. Find the current phasor, and say whether the current leads or lags the source voltage and by how much. Check that the resistor and capacitor voltages sum to the source.
Show answer
Z = 20 − j20 = 28.28∠−45° Ω. I = 20∠0° / 28.28∠−45° = 0.7071∠45° A, so the current leads the source voltage by 45°. VR = 20 · I = 14.14∠45° V = 10 + j10 V. VC = −j20 · I = 14.14∠−45° V = 10 − j10 V. The sum is 20 + j0 V, which equals the source. The magnitudes 14.14 + 14.14 = 28.28 V do not equal 20 V, because the two voltages are 90° apart.