NivaarExam PrepOfficial exam papers ↗

22-Elec-B2 Advanced Control Systems · December 2013

Question 5 of 6: Identification of a first-order plant with transport delay from step data

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

Notes on this paper

Paper format. National Examinations, 07-Elec-B2 Advanced Control Systems, December 2013 — 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 is worth 25 marks. Tables of Laplace and z-transforms are appended to the paper. Only a Casio FX-991 or Sharp EL-540 calculator is permitted.

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 function, 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., Ellis-Kagle (zero-order-hold equivalents, deadbeat design, discrete identification). These are the works listed by Engineers Canada / EGBC for the Elec-B2 syllabus.

Scope of this solution. Although the paper is marked on four questions, all six are worked here so that the set serves as a complete study resource. Every boxed number is recomputed from the question’s own data for this paper.

Check: two printing defects in the source paper. In Question 3 the leading entry of the second row of the system matrix is missing from the print — the row reads “ 0  −1” with the first column blank — and the equation is typeset as “$\dots x + B = [0\ 1\ 1]^{\mathsf T}u$” rather than $\dot x = Ax + Bu$. Reading the column alignment against rows 1 and 3, the missing entry is $a_{21}=0$; that reading is adopted throughout and makes the system controllable, so the design asked for is well posed. In Question 4(b) the paper asks for “$T(z)$ that relates $X(z)$ to $R(z)$”, but no signal $X$ is defined anywhere in the question or its figure; $X(z)$ is read as $Y(z)$.

Question 5: Identification of a first-order plant with transport delay from step data (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. Seven samples of a step test on an unknown first-order plant with an unknown integer transport delay, taken at one-second intervals through a zero-order hold.

Given data — Question 5
QuantityValue
Sample period$h = 1$ s
Inputunit step, applied at $k=1$ ($u=0$ at $k=0$, $u=1$ thereafter)
Output samples$0,\ 0,\ 0,\ 4.000,\ 4.800,\ 4.960,\ 4.992$ for $k=0\dots6$
Assumed structurefirst order continuous, plus a transport delay of $Nh$ with $N$ an unknown integer

Find. (a) the discrete transfer function $G(z)$ from $u(kh)$ to $y(kh)$; (b) the continuous transfer function $P(s)$, including its gain, time constant and delay.

0123456024sample index k (t = kh)measured y(kh)final value 52 samples with no responseinput step
Figure Q5.1 — the tabulated measurements. Two samples elapse between the input step at k = 1 and the first output motion at k = 3; one of those is the unavoidable ZOH/discretisation delay, so the transport delay is N = 1 sample.

Approach. Take the steady-state value to fix the gain, take the ratio of successive residuals to fix the discrete pole, count samples to fix the delay, then invert the zero-order-hold mapping to recover the continuous parameters.

  1. Read the steady-state gain. The output is converging on a limit; the increments $4.000 \to 4.800 \to 4.960 \to 4.992$ are shrinking geometrically toward $$y(\infty) = 5.000 \quad\Longrightarrow\quad K_{p} = \frac{y(\infty)}{\Delta u} = \frac{5.000}{1} = 5 .$$
  2. Extract the discrete pole from the residuals. For a first-order discrete system the distance from the final value decays by a constant factor each sample. Forming $y(\infty)-y(kh)$: $$1.000,\quad 0.200,\quad 0.040,\quad 0.008 \qquad\text{for } k=3,4,5,6 .$$ Each is one fifth of the one before, so the ratio is constant and $$a = \frac{0.200}{1.000} = \frac{0.040}{0.200} = \frac{0.008}{0.040} = 0.2 .$$ The constancy of this ratio is itself the evidence that a first-order model is adequate; a second-order plant would give a ratio that drifts.
  3. Count the delay. The input step is applied at $k=1$ but the output first moves at $k=3$, a gap of two samples. One of those is unavoidable: the zero-order-hold equivalent of any strictly proper continuous plant carries an inherent $z^{-1}$, because a control applied at $k$ cannot affect the output until $k+1$. The remaining one sample is the transport delay: $$\boxed{N = 1, \ \text{i.e. a dead time of } Nh = 1 \ \text{second}}$$
  4. Assemble the discrete model. The ZOH equivalent of $K_{p}/(\tau s+1)$ is $K_{p}(1-a)/(z-a)$, and the transport delay multiplies it by $z^{-N}$: $$G(z) = z^{-1}\,\frac{K_{p}(1-a)}{z-a} = z^{-1}\,\frac{5(1-0.2)}{z-0.2} \quad\Longrightarrow\quad \boxed{G(z) = \frac{4}{z(z-0.2)} = \frac{4z^{-2}}{1-0.2z^{-1}}}$$ Equivalently, the difference equation is $y(k) = 0.2\,y(k-1) + 4\,u(k-2)$. Running that recursion forward from rest reproduces the table exactly: $y(3)=4.000$, $y(4)=0.2(4)+4=4.800$, $y(5)=0.2(4.8)+4=4.960$ and $y(6)=0.2(4.96)+4=4.992$.
  5. Invert the sampling to recover the time constant. The discrete pole is the image of the continuous pole, $a = e^{-h/\tau}$, so $$\tau = \frac{-h}{\ln a} = \frac{-1}{\ln 0.2} = \frac{1}{1.6094} \quad\Longrightarrow\quad \boxed{\tau = 0.6213\ \text{s}}$$
  6. Write the continuous plant. Combining the gain, the time constant and the one-second transport delay, $$\boxed{P(s) = \frac{5\,e^{-s}}{0.6213\,s + 1}}$$ As a round-trip check, discretising this model at $h=1$ s gives $e^{-1/0.6213} = 0.200$ and a numerator gain $5(1-0.200) = 4.000$, returning $G(z)$ exactly.

Check: the one-sample discretisation delay must not be charged to the plant. The two-sample gap between the input step and the first output motion is the sum of the inherent $z^{-1}$ of any strictly proper ZOH equivalent and the physical transport delay. Attributing all of it to transport gives $N=2$ and a plant $5e^{-2s}/(0.6213s+1)$, whose discrete model would predict the first output motion at $k=4$ — one sample later than the data show. The data therefore identify $N=1$ unambiguously. A non-integer dead time is also excluded here: a delay shorter than 1 s would make $y(2)$ non-zero, and a delay $d$ between 1 s and 2 s would leave a residual $5e^{-(2-d)/\tau}$ at $k=3$ smaller than the printed $1.000$, so only $d = 1$ s fits the table exactly. With noisy real data, however, sub-sample delay resolution would need a faster sampler.

Final results — Question 5
QuantitySymbolValue
Steady-state gain$K_{p}$5
Discrete pole$a$0.2
Transport delay$N$1 sample = 1.0 s
Discrete model$G(z)$$\dfrac{4}{z(z-0.2)}$
Difference equation—$y(k)=0.2y(k-1)+4u(k-2)$
Continuous time constant$\tau$0.6213 s
Continuous plant$P(s)$$\dfrac{5e^{-s}}{0.6213s+1}$