Skip to main content

Lag compensator for 1.06/[s(s+1)(s+2)], ramp error < 0.2

Short answer

A lag compensator Gc(s)=0.966(s+0.05)/(s+0.005) raises the velocity error constant to Kv=5.12 s⁻¹, giving ramp steady-state error 0.195 (<0.2). Dominant poles remain near -0.312±j0.551, so damping and transient response are nearly unchanged.

For a unity feedback system with open loop transfer function G(s) = 1.06/[s(s+1)(s+2)], design a lag compensator such that steady state error for ramp input would be less than 0.2 without significant change in transients.

Since the transient must stay almost the same while KvK_v is raised, a lag compensator by the root-locus method is used: a pole–zero pair very close to the origin raises the low-frequency gain but hardly moves the dominant poles.

Gc(s)=K^c s+1Ts+1βT,β>1G_c(s)=\hat K_c\,\frac{s+\frac1T}{s+\frac{1}{\beta T}},\qquad\beta>1

Step 1: Present system

Kv=lim⁡s→0sG(s)=1.061×2=0.53,ess=1Kv=1.89K_v=\lim_{s\to0}sG(s)=\frac{1.06}{1\times2}=0.53,\qquad e_{ss}=\frac{1}{K_v}=1.89

Characteristic equation: s3+3s2+2s+1.06=0s^3+3s^2+2s+1.06=0; roots −2.339-2.339 and −0.3307±j0.5864-0.3307\pm j0.5864.

Dominant poles: ωn=0.673\omega_n=0.673 rad/s, ζ=0.491\zeta=0.491.

Step 2: Required KvK_v and β

ess<0.2⇒Kv>5⇒β≥50.53=9.4; take β=10e_{ss}<0.2\Rightarrow K_v>5\Rightarrow\beta\ge\frac{5}{0.53}=9.4;\ \text{take}\ \beta=10

Step 3: Place the pole–zero pair

Put the zero and pole close to the origin, with ratio 10:

zero at −0.05,pole at −0.005⇒T=20 s, βT=200 s\text{zero at }-0.05,\quad\text{pole at }-0.005\Rightarrow T=20\ \text{s},\ \beta T=200\ \text{s}

Angle added at s1=−0.3307+j0.5864s_1=-0.3307+j0.5864:

∠(s1+0.05)−∠(s1+0.005)=115.6∘−119.0∘≈−3.5∘\angle(s_1+0.05)-\angle(s_1+0.005)=115.6^\circ-119.0^\circ\approx-3.5^\circ

This is less than about 5°, so the root locus near the dominant poles changes very little.

Step 4: Gain K^c\hat K_c

The new dominant poles lie on the compensated root locus with almost the same ζ (≈0.49): s1′=−0.312±j0.551s_1'=-0.312\pm j0.551. Magnitude condition:

K^c=∣s1′∣ ∣s1′+1∣ ∣s1′+2∣ ∣s1′+0.005∣1.06 ∣s1′+0.05∣=0.966\hat K_c=\frac{|s_1'|\,|s_1'+1|\,|s_1'+2|\,|s_1'+0.005|}{1.06\,|s_1'+0.05|}=0.966 Gc(s)=0.966 s+0.05s+0.005=9.66 1+20s1+200sG_c(s)=0.966\,\frac{s+0.05}{s+0.005}=9.66\,\frac{1+20s}{1+200s}

Step 5: Check

Kv=lim⁡s→0sGcG=0.966×10×0.53=5.12⇒ess=15.12=0.195<0.2K_v=\lim_{s\to0}sG_cG=0.966\times10\times0.53=5.12\Rightarrow e_{ss}=\frac{1}{5.12}=0.195<0.2

The requirement is met.

Closed-loop poles of the compensated system: −0.312±j0.551-0.312\pm j0.551, −2.326-2.326, −0.055-0.055. The pole at −0.055-0.055 is almost cancelled by the zero at −0.05-0.05, so it adds only a small, slow tail.

ItemBeforeAfter
Dominant poles−0.331±j0.586-0.331\pm j0.586−0.312±j0.551-0.312\pm j0.551
ζ\zeta0.4910.493
ωn\omega_n0.673 rad/s0.633 rad/s
KvK_v0.535.12
Ramp esse_{ss}1.890.195

Transient response is nearly unchanged (slightly slower, since ωn\omega_n dropped about 6%).

Answer: Gc(s)=0.966 s+0.05s+0.005G_c(s)=0.966\,\dfrac{s+0.05}{s+0.005} gives Kv = 5.12 s⁻¹, ramp error ≈ 0.195 (< 0.2), with almost the same damping.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Control Systems chapter 7 questions →