NivaarExam PrepOfficial exam papers ↗

22-Elec-B2 Advanced Control Systems · December 2015

Question 6 of 6: Transport delay under proportional control: margins, step error and redesign

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format. National Examinations, December 2015 — 07-Elec-B2 Advanced Control Systems. Three hours, closed book; tables of Laplace and z-transforms are supplied as pages 4 and 5 of the paper. Six questions are printed, “any four questions constitute a complete paper” and “all questions are of equal value”, i.e. 25 marks each. All six are solved here, because the set is a study resource rather than a sitting.

Reference texts. G. F. Franklin, J. D. Powell and A. Emami-Naeini, Feedback Control of Dynamic Systems (frequency response and stability margins, Ch. 6; state-space design and pole placement, Ch. 7; digital control and the ZOH equivalent, Ch. 8). K. Ogata, Modern Control Engineering (Routh and root locus, Ch. 5–6; controllability and observability, Ch. 9). N. S. Nise, Control Systems Engineering (steady-state error and system type, Ch. 7). A. V. Oppenheim and A. S. Willsky, Signals and Systems (z-transform and the unit-circle stability test, Ch. 10). L. Ljung, System Identification: Theory for the User (least-squares ARX estimation and its convergence conditions, Ch. 7–8).

Sign conventions used throughout. The error is always $e = r - y$. On Question 1 the block diagram shows the disturbance subtracted at the plant input (a minus at $d$, a plus at $u$), so the plant sees $u - d$; this is read from the printed figure, not assumed. Phase margins are quoted at the gain crossover and gain margins at the phase crossover, both from the exact transfer functions rather than from asymptotic sketches. “At least 6 dB” is applied literally as a gain-margin ratio of $10^{6/20} = 1.9953$; the customary 2:1 shorthand is quoted alongside where it differs.

Question 6: Transport delay under proportional control: margins, step error and redesign (25 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. A single lag with a large transport delay in a unity-feedback loop under pure proportional control.

Given data
QuantityValue
Plant$P(s)=\dfrac{3e^{-4s}}{s+1}$
Plant DC gain / pole / dead time$3$ / $-1$ rad/s / $\theta=4$ s
Controller (parts a, b)$C(s)=K$
Margin specificationgain margin at least 6 dB, i.e. $10^{6/20}=1.9953$
Error definition$e=r-y$

Find. (a) the admissible range of $K$ and the phase margin that goes with it; (b) the steady-state step error as a function of $K$; (c) a controller that removes the step error while keeping at least 6 dB of gain margin.

r+−C(s)uP(s)ye = r − y
Question 6 loop: unity feedback, proportional controller, and a plant whose 4 s transport delay is the binding constraint.

Approach. A transport delay is all-pass, so magnitude and phase decouple completely: the phase crossover comes from a transcendental phase equation solved numerically, while the magnitude condition stays in closed form. Routh is unavailable throughout, because $1+3Ke^{-4s}/\left(s+1\right)$ is not a polynomial.

  1. Part (a) — locate the phase crossover. The delay contributes $-\theta\omega$ radians and the lag $-\arctan\omega$, so$$\angle L(j\omega)=-4\omega-\arctan\omega=-\pi\;\Rightarrow\;4\omega+\arctan\omega=\pi$$This has no closed-form solution; solving numerically (bisection on $0\lt\omega\lt1$) gives$$\omega_{pc}=0.64261\ \text{rad/s}$$Note that $\omega_{pc}$ is independent of $K$, because a proportional gain shifts the magnitude curve without touching the phase.
  2. Part (a) — impose the gain-margin specification. A delay has unit magnitude at every frequency, so$$\left|L(j\omega_{pc})\right|=\frac{3K}{\sqrt{1+\omega_{pc}^{2}}}=\frac{3K}{1.18866}=2.52382\,K$$$$\text{GM}=\frac{1}{2.52382K}\ge10^{6/20}=1.99526\;\Rightarrow\;\boxed{0\lt K\le0.19858}$$For reference the loop is marginally stable at $K_{crit}=1/2.52382=0.39622$, and the common shorthand of reading 6 dB as a 2:1 ratio gives the slightly tighter $K\le0.19811$; either is acceptable provided the convention is stated.
  3. Part (a) — determine the phase margin, and notice that there is no gain crossover. The magnitude$$\left|L(j\omega)\right|=\frac{3K}{\sqrt{1+\omega^{2}}}$$is monotonically decreasing in $\omega$, so its largest value is at DC:$$\left|L\right|_{\max}=3K\le3\times0.19858=0.59575\quad(-4.50\ \text{dB})$$which is below unity at every frequency. The magnitude curve therefore never reaches 0 dB, no gain crossover frequency exists, and$$\boxed{\text{PM}=\infty}$$This is the graded answer, and it is a statement about the loop rather than a dodge: the Nyquist plot of $L(j\omega)$ is a spiral of radius $3K\le0.596$ that never leaves the unit disc, so no amount of added phase lag can rotate it onto the $-1$ point. Evaluating $-180^\circ-\left(-4\omega-\arctan\omega\right)$ at some arbitrary frequency and quoting the result is the classic wrong answer.
  4. -24-18-12-606open-loop gain (dB)0 dBGM = 6 dBpeak |L| = 0.5957 at ω = 0, i.e. -4.50 dB10⁻²10⁻¹10⁰-300-180-900frequency ω (rad/s)open-loop phase (deg)K = 0.1986, ω_pc = 0.6426 rad/sno gain crossover exists, so the phase margin is infinite
    With $K$ at the 6 dB limit the open-loop magnitude peaks at $-4.50$ dB and never reaches 0 dB, so the phase margin is infinite while the gain margin is exactly 6 dB at $\omega_{pc}=0.6426$ rad/s.
  5. Part (b) — apply the final-value theorem to the error. With $E(s)=R(s)/\left[1+L(s)\right]$ and $R(s)=1/s$,$$e_{ss}=\lim_{s\to0}\frac{s}{s\left[1+L(s)\right]}=\frac{1}{1+L(0)}$$The delay contributes $e^{0}=1$ at DC, so $L(0)=3K$ and$$\boxed{e_{ss}=\frac{1}{1+3K}}$$Evaluated at the largest gain the specification allows, $e_{ss}=1/\left(1+0.59575\right)=0.6267$: the loop can only remove about 37 percent of a step command. That is the real cost of the dead time — it caps the gain, and a Type-0 loop’s accuracy is set entirely by its gain.
  6. Part (c) — choose the controller structure. Zero steady-state step error requires $L(0)=\infty$, i.e. a free integrator in the controller. The minimal choice is$$C(s)=\frac{K_{i}}{s},\qquad L(s)=\frac{3K_{i}e^{-4s}}{s\left(s+1\right)}$$(A full PI, $K_{p}+K_{i}/s$, also works and is faster, but the integral term alone is enough to satisfy both requirements and is easier to defend under the margin constraint.)
  7. Part (c) — relocate the phase crossover. The integrator adds a constant $-90^\circ$, so$$-90^\circ-4\omega-\arctan\omega=-180^\circ \;\Rightarrow\;4\omega+\arctan\omega=\frac{\pi}{2}\;\Rightarrow\;\omega_{pc}=0.31615\ \text{rad/s}$$roughly half its previous value — the integrator has cost bandwidth, which is the price of the accuracy.
  8. Part (c) — size the integral gain. At the new phase crossover$$\left|L(j\omega_{pc})\right|=\frac{3K_{i}}{\omega_{pc}\sqrt{1+\omega_{pc}^{2}}}=9.04783\,K_{i}\;\Rightarrow\;K_{i}\le\frac{1}{1.99526\times9.04783}=0.055393$$Taking the round value $K_{i}=0.05$ leaves margin in hand:$$\boxed{C(s)=\frac{0.05}{s}}\qquad \text{GM}=\frac{1}{9.04783\times0.05}=2.2105\ (6.89\ \text{dB})$$
  9. Part (c) — confirm the redesign is well behaved. Unlike part (a), the integrator makes $\left|L\right|=3K_{i}/\left(\omega\sqrt{1+\omega^{2}}\right)$ frequency dependent, so a gain crossover now exists:$$\omega_{gc}=0.14838\ \text{rad/s},\qquad \text{PM}=180^\circ+\left(-90^\circ-4\omega_{gc}\tfrac{180}{\pi}-\arctan\omega_{gc}\right)=47.6^\circ$$So the redesigned loop has $\boxed{e_{ss}=0,\ \text{GM}=6.89\ \text{dB},\ \text{PM}=47.6^\circ}$ — both requirements met with a conventional and comfortable phase margin. The closed-loop bandwidth is about $0.15$ rad/s, i.e. a settling time of roughly 30 s, which is the honest consequence of a 4 s dead time and should be stated rather than hidden.
Check: no Péadé approximation of the delay is used anywhere above, and none should be. The exact $e^{-4j\omega}$ costs nothing in a frequency-response calculation (unit magnitude, linear phase) and a second-order Péadé would shift $\omega_{pc}$ by several percent for no benefit. An approximation is only needed if a root locus or a Routh array is demanded, neither of which this question asks for.
Question 6 — final results
QuantityValue
(a) Phase crossover$\omega_{pc}=0.64261$ rad/s (independent of $K$)
(a) Critical gain$K_{crit}=0.39622$
(a) Gain range for GM $\ge$ 6 dB$0\lt K\le0.19858$ (2:1 convention: $0.19811$)
(a) Peak open-loop magnitude$0.59575$ ($-4.50$ dB) → no gain crossover
(a) Phase margininfinite
(b) Steady-state step error$e_{ss}=\dfrac{1}{1+3K}$; $0.6267$ at $K=0.19858$
(c) Redesigned controller$C(s)=\dfrac{0.05}{s}$ ($K_{i}\le0.055393$)
(c) Resulting marginsGM $=6.89$ dB at $0.31615$ rad/s; PM $=47.6^\circ$ at $0.14838$ rad/s; $e_{ss}=0$
Back to the paper →