NivaarExam PrepOfficial exam papers ↗

22-Elec-A2 Systems and Control · December 2015

Question 2 of 8: Stabilising an unstable plant with PID: Bode, root locus, Routh–Hurwitz (compulsory)

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

Notes on this paper

Paper format. National Exams, 07-Elec-A2 Systems & Control, December 2015, 3 hours, closed book (approved Casio/Sharp calculator plus one signed, double-sided 8.5 × 11" formula/notes sheet; a Laplace-transform table and the standard ζ–overshoot / ζ–resonant-peak design plots are supplied). Questions 1 and 2 are compulsory; a complete paper is five questions, so candidates choose three of Q3–Q8. Each question is worth 20 marks. All eight are worked below so the set is a complete study resource.

Reference texts: N. S. Nise, Control Systems Engineering (7th ed., Wiley) — time response and second-order specifications (Ch. 4), block/signal-flow reduction and Mason’s rule (Ch. 5), Routh–Hurwitz stability (Ch. 6), steady-state error and static error constants (Ch. 7), root locus (Ch. 8), PID / lead–lag design (Ch. 9–11), frequency response, Bode, Nyquist, gain and phase margins (Ch. 10–11), state space, controllability/observability and canonical forms (Ch. 3, 12); K. Ogata, Modern Control Engineering (5th ed., Prentice Hall) — dominant-poles modelling and Mason’s gain formula; G. F. Franklin, J. D. Powell & A. Emami-Naeini, Feedback Control of Dynamic Systems. All block diagrams, pole–zero maps, root loci, the Nyquist plot, the network schematic and the signal-flow graph below are redrawn as inline figures.

Reading the exam figures. Every transfer function in this paper is stated exactly, so every boxed result is confirmed analytically and the exact model governs. Q2 supplies a Bode plot ($G_m=32.2$ dB at $3.9$ rad/s, $P_m=-145^\circ$ at $0.324$ rad/s) and a root locus, and Q7 supplies the uncompensated Bode plot; values read from those curves are flagged as reads and cross-checked against the Routh/analytic results.

Question 2 — Stabilising an unstable plant with PID: Bode, root locus, Routh–Hurwitz (compulsory) [10 + 10]

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. The PID term simplifies with $T_i=1,\ T_d=0.5$: $\left(1+\tfrac{1}{s}\right)(1+0.5s)=\dfrac{0.5s^2+1.5s+1}{s}$, and $\times2$ over the plant gives forward numerator $2(0.5s^2+1.5s+1)$. Grouping the constant into $K_p$, the open loop is $$G_{open}(s)=\frac{K_p(s^2+2s+2)}{s^2(s+10)(s-2)},$$ poles $0,0,-10,+2$ (a double integrator and one RHP pole at $+2$), zeros $-1\pm j$.

Find. The stable $K_p$ range and $\omega_{osc}$, twice (figures then Routh).

Q2 open loop K_p(s^2+2s+2)/[s^2(s+10)(s-2)] : poles 0,0,-10,+2 (RHP), zeros -1+-j-10-50-55ReIm
Open-loop pole–zero map: the RHP pole at $+2$ and the double integrator make the plant open-loop unstable; the PID zeros sit at $-1\pm j$.

Part 1 — Stability range from the figures [10]

Approach. With an open-loop RHP pole the closed loop is stable only for sufficient gain; the Bode gain margin measures the distance from the plotted gain to the marginal boundary, and the root-locus $j\omega$ crossing gives the same boundary and its frequency.

  1. Read the Bode margin. The plot (drawn at $K_p=1$) shows $G_m=32.2$ dB at the phase-crossover $\omega\approx3.9$ rad/s. The gain must be raised by $32.2$ dB, a factor $10^{32.2/20}\approx40.7$, to reach marginal stability, so from the figure $\boxed{K_{p,\min}\approx41}$ and $\omega_{osc}\approx3.9$ rad/s.
  2. Read the root locus. The branches leaving the origin and the RHP pole $+2$ migrate left as $K_p$ increases and cross the imaginary axis at $\pm j\omega_{osc}$; for gains above the crossing all closed-loop poles lie in the LHP, so the loop is stable only above that gain (no finite upper limit).
  3. Negative phase margin explained. The reported $P_m=-145^\circ$ at $K_p=1$ simply confirms the loop is unstable at unit gain — expected for an open-loop-unstable plant, not an error.

Part 2 — Routh–Hurwitz verification [10]

Approach. Form $s^2(s+10)(s-2)+K_p(s^2+2s+2)=0$ and require a positive Routh first column.

  1. Characteristic polynomial. $s^2(s+10)(s-2)=s^4+8s^3-20s^2$, so $$s^4+8s^3+(K_p-20)s^2+2K_p\,s+2K_p=0.$$
  2. Routh array. $$\begin{array}{c|ccc}s^4&1&K_p-20&2K_p\\s^3&8&2K_p&\\s^2&0.75K_p-20&2K_p&\\s^1&\dfrac{2K_p(0.75K_p-28)}{0.75K_p-20}&&\\s^0&2K_p&\end{array}$$ where the $s^2$ entry is $\dfrac{8(K_p-20)-2K_p}{8}=0.75K_p-20$.
  3. First-column conditions. $2K_p\gt0$ for all $K_p\gt0$; the $s^2$ entry needs $K_p\gt26.7$; the $s^1$ entry needs $0.75K_p-28\gt0$, i.e. $K_p\gt37.33$. The binding condition is $\boxed{K_p\gt37.33=\tfrac{112}{3}}$ (with no upper bound).
  4. Oscillation frequency. At $K_p=37.33$ the $s^2$ entry is $0.75(37.33)-20=8$, and the auxiliary equation $8s^2+2K_p=0$ gives $s^2=-\dfrac{2(37.33)}{8}=-\dfrac{28}{3}$, so $\boxed{\omega_{osc}=\sqrt{28/3}=3.06\ \text{rad/s}}$.
Check: figures vs. exact analysis. The exact Routh boundary is $K_p=37.3$ with $\omega_{osc}=3.06$ rad/s. Evaluating the plant at that frequency gives $|G_{open}(j\omega_{osc})|=1/37.3$, i.e. a true gain margin of $31.4$ dB at $K_p=1$ — within reading tolerance of the plotted $32.2$ dB / $3.9$ rad/s (hand-read log axis). The exact values govern; the figures corroborate the lower-limit nature of the boundary and its frequency.
QuantityFrom figuresFrom Routh (exact)
Stable range$K_p\gtrsim41$$\boxed{K_p\gt37.33}$
$\omega_{osc}$ at boundary$\approx3.9$ rad/s$\sqrt{28/3}=3.06$ rad/s
Gain margin at $K_p=1$$32.2$ dB$31.4$ dB