Explaining lead compensator purpose
A lead compensator improves phase margin and transient response by adding a zero near the origin and a pole further right, creating positive phase lead between them. This network advances the output phase relative to input over a frequency range, increasing stability margins and reducing overshoot. On a Bode plot, the zero increases magnitude and adds +90° phase while the pole subtracts -90°, yielding net positive phase between their frequencies, peaking near the geometric mean. This added phase at the crossover frequency boosts phase margin, moves the crossover to higher frequencies, and results in faster, more damped transient behavior.
In a feedback loop you have only two knobs you can really turn: the loop gain and the way that gain varies with frequency. A pure integrator gives you a lot of low‑frequency gain but costs you 90° of phase, a pure differentiator gives you phase lead but very little low‑frequency gain. Real compensators sit somewhere in between.
A single‑section lead compensator is typically written as
[
C(s) = K\frac{s/z + 1}{s/p + 1},\qquad z < p,
]
so it has a zero at (-z) and a pole at (-p), with the zero closer to the origin. Two simple observations explain its behaviour:
-
A zero contributes +90° of phase and a +20 dB/decade slope to the magnitude as you sweep upward in frequency. A pole contributes the opposite: −90° and −20 dB/decade. If you place the zero at a lower frequency than the pole, there is a band of frequencies between (z) and (p) where the zero’s effect dominates and the pole hasn’t yet “caught up”.
-
The phase of the lead section is (\varphi(\omega) = \tan^{-1}(\omega/z) - \tan^{-1}(\omega/p)). Because (z<p), this difference is positive over a range of (\omega), with a maximum at (\omega=\sqrt{zp}). That is the phase lead that you “inject” into the loop.
By choosing (z) and (p) so that the peak phase lead occurs around the loop’s gain–crossover frequency, you lift the phase curve at the critical point where it would otherwise be close to −180°. The result is a larger phase margin. On a root locus plot the zero also pulls the closed‑loop poles further into the left–half plane. Both viewpoints tell the same story: the loop can tolerate more gain and has more damping.
In the time domain a higher phase margin generally means a faster, better‑damped transient: reduced overshoot and oscillation, shorter settling time, and increased bandwidth. The lead compensator does that without sacrificing the low‑frequency gain you need for steady‑state accuracy because its pole cancels the magnitude boost at higher frequencies; outside the (z)–(p) band the slope returns to its original value.