Skip to main content

Digital PI design, plant e^(−2s)/(s+2)

Short answer

PI controller G_D(z)=0.8540(z-0.4403)/(z-1) with K_p=0.376, K_i=0.478, assuming T=1 s. Dominant poles at 0.5349±j0.3886 give ζ=0.55 and 10 samples per cycle. K_v=0.239 s⁻¹.

Consider the system shown below. Design a digital PI controller such that the dominant closed loop poles have a damping ratio of 0.55 and number of samples per cycle of damped oscillation is 10. Also find Kᵥ for the designed system. [Figure: unity-feedback loop: R(z) → summing junction → sampler → GD(z) → (1-e⁻ᵀˢ)/s → e⁻²ˢ/(s+2) → C(z)]

A digital PI controller GD(z)=Kp+Ki1−z−1=Kz−az−1G_D(z) = K_p + \dfrac{K_i}{1-z^{-1}} = K\dfrac{z-a}{z-1} is designed with the root-locus angle and magnitude conditions. The sampling period is not given; T=1T = 1 s is assumed. It makes the 2 s dead time exactly two samples and allows a feasible PI design.

Plant pulse transfer function

With e−2T=e−2=0.1353e^{-2T} = e^{-2} = 0.1353:

G(z)=z−2(1−z−1) Z[1s(s+2)]=z−2 (1−e−2)/2z−e−2=0.4323z2(z−0.1353)\begin{aligned} G(z) &= z^{-2}(1-z^{-1})\,\mathcal{Z}\left[\frac{1}{s(s+2)}\right] = z^{-2}\,\frac{(1-e^{-2})/2}{z-e^{-2}}\\ &= \frac{0.4323}{z^2(z-0.1353)} \end{aligned}

Desired dominant poles

10 samples per cycle gives ωdT=2π/10=36∘\omega_dT = 2\pi/10 = 36^\circ:

∣z∣=exp⁡(−ζ1−ζ2⋅2π10)=exp⁡(−0.55×0.62830.8352)=0.6611z1=0.6611∠36∘=0.5349+j0.3886\begin{aligned} |z| &= \exp\left(-\frac{\zeta}{\sqrt{1-\zeta^2}}\cdot\frac{2\pi}{10}\right) = \exp\left(-\frac{0.55\times0.6283}{0.8352}\right) = 0.6611\\ z_1 &= 0.6611\angle36^\circ = 0.5349 + j0.3886 \end{aligned}

Angle condition

PoleAngle at z1z_1
double pole at 072.00∘72.00^\circ
pole at 0.135344.21∘44.21^\circ
PI pole at 1140.12∘140.12^\circ
Total256.33∘256.33^\circ

The PI zero must contribute 256.33∘−180∘=76.33∘256.33^\circ - 180^\circ = 76.33^\circ:

a=0.5349−0.3886tan⁡76.33∘=0.4403a = 0.5349 - \frac{0.3886}{\tan 76.33^\circ} = 0.4403

Magnitude condition

K=∣z12(z1−0.1353)(z1−1)0.4323(z1−0.4403)∣=0.8540K = \left|\frac{z_1^2(z_1-0.1353)(z_1-1)}{0.4323(z_1-0.4403)}\right| = 0.8540 GD(z)=0.8540 z−0.4403z−1=0.3760+0.47801−z−1G_D(z) = 0.8540\,\frac{z-0.4403}{z-1} = 0.3760 + \frac{0.4780}{1-z^{-1}}

So Kp=Ka=0.3760K_p = Ka = 0.3760 and Ki=K(1−a)=0.4780K_i = K(1-a) = 0.4780.

Check

Characteristic equation: z4−1.1353z3+0.1353z2+0.3692z−0.1626=0z^4 - 1.1353z^3 + 0.1353z^2 + 0.3692z - 0.1626 = 0, with roots 0.5349±j0.38860.5349 \pm j0.3886 (designed), 0.64350.6435 and −0.5780-0.5780. Step response: c(k)=0,0,0,0.369,0.626,0.867,0.970,1.020,1.015,1.003,…→1c(k) = 0, 0, 0, 0.369, 0.626, 0.867, 0.970, 1.020, 1.015, 1.003, \ldots \to 1. The peak is about 2% and there is zero steady-state error.

Velocity error constant

Kv=1Tlim⁡z→1(1−z−1)GD(z)G(z)=K(1−a)×0.4323T(1−0.1353)=0.4780×0.43230.8647=0.239 s−1\begin{aligned} K_v &= \frac{1}{T}\lim_{z\to1}(1-z^{-1})G_D(z)G(z) = \frac{K(1-a)\times0.4323}{T(1-0.1353)}\\ &= \frac{0.4780\times0.4323}{0.8647} = 0.239\ \text{s}^{-1} \end{aligned}

The steady-state error to a unit ramp is 1/Kv=4.181/K_v = 4.18.

Answer: GD(z)=0.8540 z−0.4403z−1G_D(z) = 0.8540\,\dfrac{z-0.4403}{z-1} (Kp=0.376K_p = 0.376, Ki=0.478K_i = 0.478, with T = 1 s); Kv=0.239 s−1K_v = 0.239\ \text{s}^{-1}.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Digital Control System chapter 4 questions →