Skip to main content

Lag compensator for 2/[s(s+1)(s+2)], Kv = 5, PM 40°

Short answer

Lag compensator: Gc(s) = 5(1+20s)/(1+177s) with β ≈ 8.9, T = 20 s. This yields Kv = 5 s⁻¹, phase margin ≈ 45°, and gain margin ≈ 14 dB.

Consider a system with open loop transfer function G(s)H(s) = 2/[s(s+1)(s+2)]. It is desired to compensate the system so that the static velocity error constant Kv is 5 per second, the phase margin is at least 40° and gain margin is at least 10 dB. Determine transfer function of appropriate lag compensator.

A lag compensator Gc(s)=Kc1+Ts1+βTsG_c(s)=K_c\dfrac{1+Ts}{1+\beta Ts} (β>1\beta>1) is used here: it gives high gain at low frequency (for KvK_v) while its attenuation of 20log⁡β20\log\beta at high frequency lowers the gain crossover to a frequency where the plant already has enough phase margin.

Step 1: Gain for the required KvK_v

G(s)H(s)=2s(s+1)(s+2)=1s(1+s)(1+0.5s)⇒Kv=lim⁡s→0sGH=1G(s)H(s)=\frac{2}{s(s+1)(s+2)}=\frac{1}{s(1+s)(1+0.5s)}\Rightarrow K_v=\lim_{s\to0}sGH=1

To get Kv=5K_v=5 the compensator must give a DC gain Kc=5K_c=5:

G1(s)=5s(1+s)(1+0.5s)G_1(s)=\frac{5}{s(1+s)(1+0.5s)}

Step 2: Uncompensated (gain-adjusted) system

∣G1∣=5ω1+ω21+0.25ω2,ϕ=−90∘−tan⁡−1ω−tan⁡−10.5ω|G_1|=\frac{5}{\omega\sqrt{1+\omega^2}\sqrt{1+0.25\omega^2}},\qquad\phi=-90^\circ-\tan^{-1}\omega-\tan^{-1}0.5\omega
ω\omega0.050.10.4911.411.80
$G_1$ (dB)40.033.919.010.0
ϕ\phi−94.3∘-94.3^\circ−98.6∘-98.6^\circ−129.9∘-129.9^\circ−161.6∘-161.6^\circ−180∘-180^\circ−193∘-193^\circ
  • ωpc=2=1.414\omega_{pc}=\sqrt2=1.414 rad/s, GM =−4.4=-4.4 dB; ωgc=1.80\omega_{gc}=1.80 rad/s, PM =−13∘=-13^\circ: unstable.

Step 3: New gain crossover frequency

Required phase at ωgc′\omega_{gc}': −180∘+40∘+ϵ-180^\circ+40^\circ+\epsilon with ϵ=10∘\epsilon=10^\circ (for the lag of the compensator), i.e. −130∘-130^\circ:

−90∘−tan⁡−1ω−tan⁡−10.5ω=−130∘⇒ωgc′=0.49 rad/s-90^\circ-\tan^{-1}\omega-\tan^{-1}0.5\omega=-130^\circ\Rightarrow\omega_{gc}'=0.49\ \text{rad/s}

Step 4: β

At 0.49 rad/s, ∣G1∣=18.95|G_1|=18.95 dB =8.86=8.86. The lag network must cut this to 0 dB:

20log⁡β=18.95 dB⇒β=8.8620\log\beta=18.95\ \text{dB}\Rightarrow\beta=8.86

Step 5: T

Place the zero one decade below the new crossover so the compensator lag there is small:

1T=ωgc′10≈0.05 rad/s⇒T=20 s,βT=177 s\frac1T=\frac{\omega_{gc}'}{10}\approx0.05\ \text{rad/s}\Rightarrow T=20\ \text{s},\quad\beta T=177\ \text{s}

Pole at 1/βT=0.005651/\beta T=0.00565 rad/s.

Gc(s)=5 1+20s1+177s=0.565 s+0.05s+0.00565G_c(s)=5\,\frac{1+20s}{1+177s}=0.565\,\frac{s+0.05}{s+0.00565}

Step 6: Check

Gc(s)G(s)H(s)=5(1+20s)s(1+s)(1+0.5s)(1+177s)G_c(s)G(s)H(s)=\frac{5(1+20s)}{s(1+s)(1+0.5s)(1+177s)}
QuantityBeforeAfter
KvK_v1 (5 with gain)5 s⁻¹
ωgc\omega_{gc}1.80 rad/s0.494 rad/s
PM−13∘-13^\circ44.7∘44.7^\circ
ωpc\omega_{pc}1.414 rad/s1.37 rad/s
GM−4.4-4.4 dB13.9 dB
 dB 40 |\__ uncompensated
       |   \___
     0 |---x---\------------ w
       | 0.49   \ 1.8
       | compensated curve is
       | 19 dB lower above 0.05

All specifications are met (PM ≥ 40°, GM ≥ 10 dB, Kv=5K_v=5). The price is a lower bandwidth (slower response).

Answer: Gc(s)=5 1+20s1+177sG_c(s)=5\,\dfrac{1+20s}{1+177s} (β ≈ 8.9, T = 20 s): Kv = 5 s⁻¹, PM ≈ 45°, GM ≈ 14 dB.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Control Systems chapter 7 questions →