NivaarExam PrepOfficial exam papers ↗

22-Elec-B2 Advanced Control Systems · May 2016

Question 2 of 6: State-space realisation, minimality conditions and sampled-data poles

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

Notes on this paper

Paper format. 07-Elec-B2 Advanced Control Systems, May 2016 — closed book, three hours, six questions. The instructions state that “any four questions constitute a complete paper” and that “all questions are of equal value”, so each carries 25 marks and a candidate answers four. Tables of Laplace and z-transforms are appended to the paper. All six questions are worked below, because this set is a study resource rather than a three-hour sitting.

Reference texts. G. F. Franklin, J. D. Powell and A. Emami-Naeini, Feedback Control of Dynamic Systems, 8th ed. (Ch. 3 root locus and Routh, Ch. 6 frequency response and margins, Ch. 7 state-space design); K. Ogata, Modern Control Engineering, 5th ed. (Ch. 5, 7, 9); K. J. Åström and B. Wittenmark, Computer-Controlled Systems: Theory and Design, 3rd ed. (Ch. 2 sampling and the ZOH equivalent, Ch. 4 pole placement, Ch. 13 identification); G. F. Franklin, J. D. Powell and M. Workman, Digital Control of Dynamic Systems, 3rd ed. (Ch. 4, 8). These are the references listed for exam code 07-Elec-B2 / 16-Elec-B2 in the Engineers Canada syllabus.

Question 2: State-space realisation, minimality conditions and sampled-data poles (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 third-order continuous plant with one free parameter in its numerator, to be realised in state space and then sampled behind a zero-order hold.

Given data
ItemValue
Plant$P(s)=\dfrac{3(s+\alpha)}{s(s+4)^{2}}$
Poles$s=0$, $s=-4$ (multiplicity 2)
Zero$s=-\alpha$, with $\alpha$ a free real parameter
Denominator expanded$s^{3}+8s^{2}+16s$
Samplinguniform period $h$, ZOH on the input

Find. A state-space realisation $(A,b,c)$; the values of $\alpha$ for which that realisation is controllable and observable, with justification; and the poles of the sampled-data system as functions of $h$.

Pole–zero map of P(s) = 3(s+α) / s(s+4)²-6-4-20Re sIm ss = 0(×2)s = −4zero at s = −α× poles ○ zero
Pole–zero map. The zero is the only movable feature; the two values of α that place it on a pole are exactly the two values that destroy observability.

Approach. Put the transfer function in polynomial form and write the controller canonical realisation, whose controllability is automatic; then evaluate the observability determinant as a polynomial in $\alpha$ and interpret its roots as pole–zero cancellations; finally map each continuous pole through $z=e^{sh}$.

  1. Part (a) — expand the transfer function into polynomial form. A canonical realisation needs the numerator and denominator as plain polynomials in $s$:$$P(s)=\frac{3(s+\alpha)}{s(s+4)^{2}}=\frac{3s+3\alpha}{s^{3}+8s^{2}+16s}$$The system is strictly proper (degree 1 over degree 3), so there is no direct feedthrough term and $D=0$.
  2. Write the controller canonical realisation. With the denominator coefficients $a_{2}=8$, $a_{1}=16$, $a_{0}=0$ read off in reverse order along the bottom row, and the numerator coefficients placed in the output row,$$\boxed{\;A=\begin{bmatrix}0&1&0\\0&0&1\\0&-16&-8\end{bmatrix},\quad b=\begin{bmatrix}0\\0\\1\end{bmatrix},\quad c=\begin{bmatrix}3\alpha&3&0\end{bmatrix},\quad D=0\;}$$Recomputing $c(sI-A)^{-1}b$ symbolically returns $3(s+\alpha)/\!\left[s(s+4)^{2}\right]$ exactly, which is the only check this part needs.
  3. Part (b) — test controllability. $$\mathcal{C}=\begin{bmatrix}b&Ab&A^{2}b\end{bmatrix}=\begin{bmatrix}0&0&1\\0&1&-8\\1&-8&48\end{bmatrix},\qquad \det\mathcal{C}=-1$$The determinant is a non-zero constant with no $\alpha$ in it, so this realisation is controllable for every value of $\alpha$. That is a structural property of the controller canonical form, not luck.
  4. Test observability. Stacking $c$, $cA$ and $cA^{2}$,$$\mathcal{O}=\begin{bmatrix}3\alpha&3&0\\0&3\alpha&3\\0&-48&3\alpha-24\end{bmatrix},\qquad \det\mathcal{O}=27\alpha(\alpha-4)^{2}$$so the observability matrix loses rank exactly when$$\boxed{\alpha=0\quad\text{or}\quad\alpha=4}$$and the realisation is observable for all other $\alpha$.
  5. Explain the two special values. They are not algebraic accidents: the zero of $P(s)$ sits at $s=-\alpha$ and the poles sit at $s=0$ and $s=-4$ (twice). At $\alpha=0$ the zero cancels the pole at the origin; at $\alpha=4$ it cancels one of the poles at $-4$. A pole–zero cancellation in a controllable realisation must show up as a loss of observability, because the cancelled mode is still excited by the input but no longer reaches the output. The realisation is minimal precisely when $\alpha\notin\{0,4\}$, and detectable only at $\alpha=4$ (the hidden mode at $-4$ decays), never at $\alpha=0$ (the hidden mode is the integrator).
  6. Part (c) — map the continuous poles through the sampler. A zero-order hold followed by a continuous plant and an output sampler has the discrete dynamics matrix $\Phi=e^{Ah}$, whose eigenvalues are the exponentials of the eigenvalues of $A$. No convolution integral is needed, which is why the paper says detailed calculations are not necessary:$$z_{i}=e^{s_{i}h}\quad\Longrightarrow\quad \boxed{z=1,\qquad z=e^{-4h}\ \ (\text{double})}$$
  7. Comment on how the poles move with $h$. The integrator maps to $z=1$ for every sample period — sampling never stabilises or destabilises a free integrator. The double pole starts at $z=1$ as $h\to 0$ and slides toward the origin as $h$ grows, reaching $e^{-4h}=0.670$ at $h=0.1$ s, $0.135$ at $h=0.5$ s and $0.018$ at $h=1$ s. Zeros are a different matter: the discrete zeros are not $e^{-\alpha h}$ and must be computed from the ZOH equivalent, which is why the question asks only about poles.
Final results
QuantitySymbolValue
State matrix$A$$[[0,1,0];[0,0,1];[0,-16,-8]]$
Input vector$b$$[0,\,0,\,1]^{T}$
Output vector$c$$[3\alpha,\,3,\,0]$
Controllability determinant$\det\mathcal{C}$$-1$ (controllable for all $\alpha$)
Observability determinant$\det\mathcal{O}$$27\alpha(\alpha-4)^{2}$
Observable / minimal—$\alpha\neq 0$ and $\alpha\neq 4$
Sampled-data poles$z$$1$ and $e^{-4h}$ (double)