Question 5 of 6: Proportional control of a discrete plant and its continuous-time origin
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Examinations, 07-Elec-B2 Advanced Control Systems, May 2014 — 3 hours,
closed book. Six questions; the rubric states that “any four questions constitute a
complete paper” and that “all questions are of equal value”, so each carries 25
marks. Tables of inverse Laplace and inverse z-transforms are appended to the paper as pages 4 and
5. Only a Casio FX-991 or Sharp EL-540 calculator is permitted. All six questions are
solved here, because the 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, 7th ed., Pearson (Routh–Hurwitz, stability
margins, steady-state error, frequency response); K. J. Åström and R. M. Murray,
Feedback Systems: An Introduction for Scientists and Engineers, 2nd ed., Princeton
(sensitivity, loops with transport delay, non-minimum-phase limitations); K. Ogata,
Modern Control Engineering, 5th ed., Pearson (state-space realisations, controllability
and observability, pole placement); G. F. Franklin, J. D. Powell and M. L. Workman,
Digital Control of Dynamic Systems, 3rd ed. (zero-order-hold equivalents, the Jury test,
discrete root loci). These are the works listed by Engineers Canada / EGBC for the Elec-B2
syllabus.
In Questions 1 and 6 the disturbance arrow carries a minus at the
plant-input summing junction and the controller output a plus, so the signal driving the
plant is u − d; in Question 3 the disturbance is subtracted at the
plant output, so y = Pu − d. Both were
confirmed against the printed paper of pages 2 and 3. The sign decides the answer to
1(c), 3(c) and 6(c), so it is worth ten seconds at the start of the paper.
Question 5: Proportional control of a discrete plant and its continuous-time origin
(25 marks)
Given. A discrete-time plant with poles at $z = 0$ and $z = 0.5$ and a zero
outside the unit circle, in a unity-feedback loop with a pure gain.
Given data
Quantity
Symbol
Value
Discrete plant
$P(z)$
$(z-1.5)\,/\,[z(z-0.5)]$
Open-loop poles
—
$z = 0$ and $z = 0.5$
Open-loop zero
—
$z = 1.5$ (outside the unit circle)
Controller
$C(z)$
$K$ (proportional)
DC gain of the loop
$P(1)$
$(1-1.5)/(1 \times 0.5) = -1$
Find. The stabilising range of $K$, the shape of the root locus, and the
continuous-time plant whose zero-order-hold equivalent is $P(z)$.
Root locus of K(z - 1.5)/[z(z - 0.5)] for K > 0. Both branches stay on the real axis: one runs from z = 0.5 out to the zero at 1.5, the other from z = 0 leftwards, leaving the unit circle at z = -1 when K = 0.6.
Approach. Stability in discrete time means all roots inside the unit circle, so
the Jury conditions on the quadratic characteristic polynomial replace Routh; the same polynomial
yields the locus; and part (c) is the inverse of the standard step-invariant transformation
$P(z) = (1 - z^{-1})\,\mathcal{Z}\{P_c(s)/s\}$.
Part (a) — form the characteristic polynomial. With unity feedback and $C = K$,
$$1 + K P(z) = 0 \;\Longrightarrow\; z(z-0.5) + K(z - 1.5) = 0,$$
$$\Delta(z) = z^{2} + (K - 0.5)\,z - 1.5K = z^{2} + a_1 z + a_0 .$$
Apply the Jury test for a monic quadratic. All roots lie inside the unit
circle if and only if
$$|a_0| \lt 1, \qquad \Delta(1) = 1 + a_1 + a_0 \gt 0, \qquad \Delta(-1) = 1 - a_1 + a_0 \gt 0 .$$
Substituting $a_1 = K - 0.5$ and $a_0 = -1.5K$:
$$|1.5K| \lt 1 \Rightarrow -\tfrac{2}{3} \lt K \lt \tfrac{2}{3}; \qquad
0.5 - 0.5K \gt 0 \Rightarrow K \lt 1; \qquad
1.5 - 2.5K \gt 0 \Rightarrow K \lt 0.6 .$$
Intersect the three conditions. The binding constraint is
$\Delta(-1) \gt 0$, so
$$\boxed{-\tfrac{2}{3} \lt K \lt 0.6},\qquad\text{and for a positive gain } \;0 \lt K \lt 0.6 .$$
At $K = 0.6$ the roots are $z = 0.9$ and $z = -1.0$: one root sits exactly on the unit circle at
$z=-1$, which in discrete time is a sustained oscillation that alternates sign every sample
(period $2h$), not the smooth ringing a continuous system would show.
Part (b) — establish the real-axis segments of the locus. For $K \gt 0$ a real point is
on the locus when the number of real poles and zeros to its right is odd. Counting: to the right of
$z = 1.5$ there is nothing (even, not on the locus); between $0.5$ and $1.5$ there is the zero
(odd, on the locus); between $0$ and $0.5$ there are the zero and one pole (even, not on the
locus); to the left of the origin there are the zero and both poles (odd, on the locus). The locus
therefore occupies $[0.5,\,1.5]$ and $(-\infty,\,0]$.
Show the locus never leaves the real axis. The discriminant of $\Delta(z)$ is
$$(K-0.5)^{2} + 6K = K^{2} + 5K + 0.25,$$
which is strictly positive for every $K \gt 0$. Both branches are therefore real at all gains:
there is no breakaway pair, no complex arc, and no damped-oscillation region. One branch runs from
the pole at $z = 0.5$ rightwards into the zero at $z = 1.5$; the other leaves the pole at $z = 0$
and travels left along the negative real axis towards $-\infty$, which is the single asymptote
($n - m = 1$, angle $180^{\circ}$).
Mark where the branches cross the unit circle. Setting $\Delta(-1) = 0$ gives
$K = 0.6$ (the left-going branch leaving at $z = -1$); setting $\Delta(1) = 0$ gives $K = 1$ (the
right-going branch leaving at $z = +1$). The smaller of the two governs, confirming the Jury
answer: the loop is already unstable before the right-hand branch reaches the boundary.
Part (c) — set up the inverse zero-order-hold problem. The step-invariant (ZOH)
transformation is
$$P(z) = \left(1 - z^{-1}\right)\mathcal{Z}\!\left\{\frac{P_c(s)}{s}\right\}
\;\Longrightarrow\;
\mathcal{Z}\!\left\{\frac{P_c(s)}{s}\right\} = \frac{z}{z-1}P(z)
= \frac{z - 1.5}{(z-0.5)(z-1)} .$$
The left-hand side is the z-transform of the sampled unit-step response of $P_c$, so recovering
that sequence recovers the plant.
Expand into sampled step-response values. Partial fractions in the
$z/(z-a)$ basis give
$$\frac{z-1.5}{(z-0.5)(z-1)} = -\frac{z}{z-1} + \frac{4z}{z-0.5} - 3,$$
so the sampled step response is
$$g[n] = -1 + 4(0.5)^{n} - 3\delta[n]
\;\Longrightarrow\; g = \{0,\,1,\,0,\,-0.5,\,-0.75,\,-0.875,\ldots\} \to -1 .$$
It starts at zero as it must, jumps to $+1$ after one sample and then decays to $-1$ —
another inverse response, consistent with the zero outside the unit circle.
Recognise the pole at $z = 0$ as one sample of delay. Sampling maps a
continuous pole $s = p$ to $z = e^{ph}$, and no finite $p$ gives $z = 0$; equivalently, the
$-3\delta[n]$ term above cannot come from any exponential. The pole at the origin is therefore a
pure transport delay of one sample, and the factorisation to invert is
$$P(z) = z^{-1}\cdot\frac{z - 1.5}{z - 0.5} .$$
Invert the remaining factor. Take the trial form
$P_{c0}(s) = (s-p)/(s+p)$, whose step response is $-1 + 2e^{-pt}$. Sampling that at period $h$
and applying the ZOH transformation gives
$$\left(1-z^{-1}\right)\left[-\frac{z}{z-1} + \frac{2z}{z-r}\right] = \frac{z - 1.5}{z - 0.5}
\quad\text{provided } r = e^{-ph} = 0.5 .$$
Both the sample-by-sample values and the transfer function match exactly, so
$$\boxed{P_c(s) = e^{-hs}\,\frac{s - p}{s + p}, \qquad p = \frac{\ln 2}{h}} .$$
With the natural choice $h = 1$ s this is
$P_c(s) = e^{-s}\,(s - 0.6931)/(s + 0.6931)$.
Sanity-check the result. The DC gain is $P_c(0) = -p/p = -1$, matching
$P(1) = -1$ exactly; the right-half-plane zero at $s = +p$ is what produces the sampled zero at
$z = 1.5$ outside the unit circle; and the negative DC gain explains why the stabilising gain range
is so narrow and why $K$ must stay below 0.6 rather than being generously large.
Check: the sample period is not stated, and the answer to (c) is
necessarily a family. The question gives $P(z)$ but never $h$, so the continuous pole
magnitude can only be quoted as $p = \ln 2/h$; the numerical instantiation above takes
$h = 1$ s. Note also that no delay-free, strictly proper $P_c(s)$ reproduces this
$P(z)$: the pole at $z = 0$ forces exactly one sample of transport delay, and the remaining factor
has equal numerator and denominator degree. Stating that explicitly is part of the answer, not a
caveat around it.
Question 5 — final results
Quantity
Result
Characteristic polynomial
$z^{2} + (K-0.5)z - 1.5K$
Stabilising gain range
$-2/3 \lt K \lt 0.6$; for positive gain, $0 \lt K \lt 0.6$