Skip to main content

Compensator for 4/[s(s+2)]: Kv, PM, GM

Short answer

Lead compensator Gc(s)=46.1 (s+4.27)/(s+19.66) raises the gain to meet Kv=20 s⁻¹. The compensated system has a phase margin of 52.3° and infinite gain margin, satisfying the specifications.

A system has open loop transfer function Gf(s) = 4/[s(s+2)]. It is desired to design a compensator so that the static velocity error constant Kv is 20 sec⁻¹, phase margin is at least 50° and gain margin is at least 10 dB.

The uncompensated system has a low phase margin once the gain is raised for Kv=20K_v = 20, so a phase-lead compensator is designed using the Bode plot.

Take Gc(s)=Kc α Ts+1αTs+1G_c(s) = K_c\,\alpha\,\dfrac{Ts+1}{\alpha Ts+1}, 0<α<10 < \alpha < 1.

Step 1: Gain for KvK_v

Kv=lim⁡s→0s Gc(s)Gf(s)=Kcα⋅42=2Kcα=20  ⇒  K=Kcα=10K_v = \lim_{s\to0} s\,G_c(s)G_f(s) = K_c\alpha\cdot\frac{4}{2} = 2K_c\alpha = 20 \;\Rightarrow\; K = K_c\alpha = 10

Gain-adjusted system: G1(s)=40s(s+2)=20s(0.5s+1)G_1(s) = \dfrac{40}{s(s+2)} = \dfrac{20}{s(0.5s+1)}.

Step 2: Phase margin of G1G_1

Gain crossover where ∣G1(jω)∣=1|G_1(j\omega)| = 1:

40ωω2+4=1  ⇒  ω4+4ω2−1600=0ω2=38.05,ωgc=6.17 rad/s∠G1=−90∘−tan⁡−1(6.17/2)=−162.0∘PM=180∘−162.0∘=18.0∘\begin{aligned} \frac{40}{\omega\sqrt{\omega^2+4}} &= 1 \;\Rightarrow\; \omega^4 + 4\omega^2 - 1600 = 0 \\ \omega^2 &= 38.05,\quad \omega_{gc} = 6.17\ \text{rad/s} \\ \angle G_1 &= -90^\circ - \tan^{-1}(6.17/2) = -162.0^\circ \\ PM &= 180^\circ - 162.0^\circ = 18.0^\circ \end{aligned}

The phase never reaches −180∘-180^\circ (second-order type-1 system), so GM=∞GM = \infty; the gain margin requirement of 10 dB is automatically met.

Step 3: Phase lead needed

Add about 8∘8^\circ for the extra lag caused by the shift of the crossover frequency:

ϕm=50∘−18∘+8∘=40∘\phi_m = 50^\circ - 18^\circ + 8^\circ = 40^\circ α=1−sin⁡40∘1+sin⁡40∘=0.3571.643=0.217\alpha = \frac{1-\sin 40^\circ}{1+\sin 40^\circ} = \frac{0.357}{1.643} = 0.217

Step 4: New gain crossover frequency

The compensator adds 10log⁡(1/α)=6.6310\log(1/\alpha) = 6.63 dB at ωm\omega_m. So ωm\omega_m is where ∣G1∣=−6.63|G_1| = -6.63 dB, i.e. ∣G1∣=α=0.466|G_1| = \sqrt{\alpha} = 0.466:

40ωω2+4=0.466  ⇒  ωm=9.16 rad/s\frac{40}{\omega\sqrt{\omega^2+4}} = 0.466 \;\Rightarrow\; \omega_m = 9.16\ \text{rad/s}

Step 5: Corner frequencies

T=1ωmα=19.16×0.466=0.234 szero: 1T=4.27 rad/s,pole: 1αT=19.66 rad/sKc=10α=46.1\begin{aligned} T &= \frac{1}{\omega_m\sqrt{\alpha}} = \frac{1}{9.16\times0.466} = 0.234\ \text{s} \\ \text{zero: } \frac{1}{T} &= 4.27\ \text{rad/s}, \qquad \text{pole: } \frac{1}{\alpha T} = 19.66\ \text{rad/s} \\ K_c &= \frac{10}{\alpha} = 46.1 \end{aligned}

Step 6: Compensator and check

Gc(s)=46.1 s+4.27s+19.66=10 0.234s+10.0508s+1G_c(s) = 46.1\,\frac{s+4.27}{s+19.66} = 10\,\frac{0.234s+1}{0.0508s+1} Gc(s)Gf(s)=40(0.234s+1)s(s+2)(0.0508s+1)G_c(s)G_f(s) = \frac{40(0.234s+1)}{s(s+2)(0.0508s+1)}
QuantityUncompensated (K=10K=10)Compensated
Gain crossover6.17 rad/s9.15 rad/s
Phase margin18.0°52.3°
Gain margin∞\infty∞\infty
KvK_v20 s−1^{-1}20 s−1^{-1}

Answer: Gc(s)=46.1s+4.27s+19.66G_c(s) = 46.1\dfrac{s+4.27}{s+19.66} gives Kv=20 s−1K_v = 20\ \text{s}^{-1}, PM=52.3∘ (≥50∘)PM = 52.3^\circ\ (\ge 50^\circ) and GM=∞ (≥10GM = \infty\ (\ge 10 dB)).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Control Systems chapter 7 questions →