Salta al contenuto
Note per Studenti Control Systems - Mock Exam 2 Report

Control Systems - Mock Exam 2

Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.

In questa pagina 5

Mock exam of Control Systems (Information Engineering). The written exams of this course are not public: the model is the set of written exams of the equivalent Italian-language course held at Padova (Fondamenti di Automatica, Information Engineering, UniPD), adapted to the topics of the notes of this course, which also include modeling, linearization and time response. It is a simulation, not an official paper, and the split of the points is a proposal. Time: 3 hours. Closed book: no notes, no documents. Every answer must be justified; show all the calculations you consider necessary. Structure: Exercise 1 (9 points), Exercise 2 (8 points), Exercise 3 (8 points), Theory 1 (5 points); total 30 points.

Conventions. 1(t)1(t) is the unit step; δx=x−xe\delta x=x-x_e denotes a deviation from an equilibrium; G(s)G(s) is the transfer function of the plant, C(s)C(s) that of the controller, H(s)=C(s)G(s)H(s)=C(s)G(s) the open-loop and W(s)=H(s)1+H(s)W(s)=\dfrac{H(s)}{1+H(s)} the closed-loop transfer function of the unity negative feedback scheme, e(t)=r(t)−y(t)e(t)=r(t)-y(t).

Exercise 1 (points 9)

Exercise 1: Linearization. A nonlinear system has state x=(x1,x2)T\mathbf x=(x_1,x_2)^T, input uu and output yy, and it is described by

x˙1=x2,x˙2=u+x1−x12−2x2,y=x1.\dot x_1=x_2,\qquad \dot x_2=u+x_1-x_1^2-2x_2,\qquad y=x_1 .

  1. (2 points) Keep the input constant, u(t)=ue=6u(t)=u_e=6. Find all the equilibrium states xe\mathbf x_e and the corresponding output values yey_e.
  2. (3 points) For each equilibrium, write the linearized model in the deviation variables δx\delta\mathbf x, δu\delta u, δy\delta y (matrices A,B,C,DA,B,C,D) and compute the transfer function Glin(s)=ΔY(s)/ΔU(s)G_{\rm lin}(s)=\Delta Y(s)/\Delta U(s) from δu\delta u to δy\delta y.
  3. (2 points) For each equilibrium, find the poles of the linearized model and say whether the free evolution of the deviations tends to zero and whether Glin(s)G_{\rm lin}(s) is BIBO stable. What can be said about the stability of each equilibrium of the nonlinear system for small perturbations?
  4. (2 points) The system is at the stable equilibrium and the input is increased from 66 to 6.56.5. Using the linearized model, predict the new steady-state value of yy. Then compute the new equilibrium of the nonlinear system exactly and the error of the prediction.
Show the result
  1. Equilibria: xe=(3,0)T\mathbf x_e=(3,0)^T and xe=(−2,0)T\mathbf x_e=(-2,0)^T, with ye=3y_e=3 and ye=−2y_e=-2 respectively.
  2. At (3,0)(3,0): A=[01−5−2]A=\begin{bmatrix}0&1\\-5&-2\end{bmatrix}, B=[01]B=\begin{bmatrix}0\\1\end{bmatrix}, C=[1  0]C=[1\ \ 0], D=0D=0, Glin(s)=1s2+2s+5G_{\rm lin}(s)=\dfrac{1}{s^2+2s+5}. At (−2,0)(-2,0): A=[015−2]A=\begin{bmatrix}0&1\\5&-2\end{bmatrix}, same B,C,DB,C,D, Glin(s)=1s2+2s−5G_{\rm lin}(s)=\dfrac{1}{s^2+2s-5}.
  3. At (3,0)(3,0): poles −1±2j-1\pm2j, asymptotically stable, BIBO stable: locally stable equilibrium. At (−2,0)(-2,0): poles −1±6-1\pm\sqrt6 (that is ≈1.449\approx1.449 and ≈−3.449\approx-3.449), one positive pole, unstable, not BIBO stable: unstable equilibrium.
  4. Prediction δy≈15⋅0.5=0.1\delta y\approx\dfrac{1}{5}\cdot0.5=0.1, so y≈3.1y\approx3.1. Exact new equilibrium: x1=1+332≈3.0981x_1=\dfrac{1+3\sqrt3}{2}\approx3.0981, so δy≈0.0981\delta y\approx0.0981; the prediction is too high by about 0.00190.0019 (about 2 percent of δy\delta y).
Show the full solution

Point 1: equilibria. An equilibrium of x˙=f(x,u)\dot{\mathbf x}=\mathbf f(\mathbf x,u) for the constant input ueu_e satisfies f(xe,ue)=0\mathbf f(\mathbf x_e,u_e)=\mathbf 0 (LinearizationLinearization replaces a nonlinear model by its first-order Taylor expansion around an equilibrium, written in deviation variables, so that transfer functions, poles and stability can be used locally.Linearization →). Here:

x2=0,6+x1−x12−2x2=0.x_2=0,\qquad 6+x_1-x_1^2-2x_2=0 .

The first equation gives x2,e=0x_{2,e}=0; substituting in the second, x12−x1−6=0x_1^2-x_1-6=0, that is (x1−3)(x1+2)=0(x_1-3)(x_1+2)=0, so x1,e∈{3,−2}x_{1,e}\in\{3,-2\}. The output is ye=h(xe)=x1,ey_e=h(\mathbf x_e)=x_{1,e}. Graphically, the equilibria are the abscissas where the curve g(x1)=x12−x1g(x_1)=x_1^2-x_1 meets the horizontal line at height ue=6u_e=6.

Grafico interattivo: g(x1) = x1^2 − x1 e la retta u_e = 6: le due intersezioni x1 = −2 e x1 = 3 sono gli equilibri

Typical mistake: forgetting that x˙1=x2\dot x_1=x_2 forces x2,e=0x_{2,e}=0 and writing equilibria with x2≠0x_2\ne0; or linearizing before checking f(xe,ue)=0\mathbf f(\mathbf x_e,u_e)=\mathbf 0.

Point 2: linearized models. Introduce δx=x−xe\delta\mathbf x=\mathbf x-\mathbf x_e, δu=u−ue\delta u=u-u_e, δy=y−ye\delta y=y-y_e. The Jacobians are computed first and evaluated afterwards. With f1=x2f_1=x_2, f2=u+x1−x12−2x2f_2=u+x_1-x_1^2-2x_2 and h=x1h=x_1:

∂f∂x=[011−2x1−2],∂f∂u=[01],∂h∂x=[1  0],∂h∂u=0.\frac{\partial\mathbf f}{\partial\mathbf x}=\begin{bmatrix}0&1\\1-2x_1&-2\end{bmatrix},\qquad \frac{\partial\mathbf f}{\partial u}=\begin{bmatrix}0\\1\end{bmatrix},\qquad \frac{\partial h}{\partial\mathbf x}=[1\ \ 0],\qquad \frac{\partial h}{\partial u}=0 .

Only the entry 1−2x11-2x_1 depends on the operating point (it is the slope of the nonlinear term x1−x12x_1-x_1^2):

  • at x1,e=3x_{1,e}=3: 1−2⋅3=−51-2\cdot3=-5, so A=[01−5−2]A=\begin{bmatrix}0&1\\-5&-2\end{bmatrix};
  • at x1,e=−2x_{1,e}=-2: 1−2⋅(−2)=+51-2\cdot(-2)=+5, so A=[015−2]A=\begin{bmatrix}0&1\\5&-2\end{bmatrix}.

In both cases B=[01]B=\begin{bmatrix}0\\1\end{bmatrix}, C=[1  0]C=[1\ \ 0], D=0D=0, and the model is δx˙=A δx+B δu\delta\dot{\mathbf x}=A\,\delta\mathbf x+B\,\delta u, δy=C δx\delta y=C\,\delta\mathbf x.

The transfer function is Glin(s)=C(sI−A)−1B+DG_{\rm lin}(s)=C(sI-A)^{-1}B+D (The Laplace Transform and Transfer FunctionsThe unilateral Laplace transform turns a linear constant-coefficient ODE into an algebraic equation Y(s) = C(s)/A(s) + B(s)/A(s) U(s), whose second term defines the rational transfer function H(s) = B(s)/A(s).The Laplace Transform and Transfer Functions →). For a matrix A=[01−a0−a1]A=\begin{bmatrix}0&1\\-a_0&-a_1\end{bmatrix} one has sI−A=[s−1a0s+a1]sI-A=\begin{bmatrix}s&-1\\a_0&s+a_1\end{bmatrix}, det⁡(sI−A)=s2+a1s+a0\det(sI-A)=s^2+a_1s+a_0, and

(sI−A)−1B=1s2+a1s+a0[s+a11−a0s][01]=1s2+a1s+a0[1s],(sI-A)^{-1}B=\frac{1}{s^2+a_1s+a_0}\begin{bmatrix}s+a_1&1\\-a_0&s\end{bmatrix}\begin{bmatrix}0\\1\end{bmatrix}=\frac{1}{s^2+a_1s+a_0}\begin{bmatrix}1\\s\end{bmatrix},

so Glin(s)=1s2+a1s+a0G_{\rm lin}(s)=\dfrac{1}{s^2+a_1s+a_0}. With a1=2a_1=2 and a0=5a_0=5 (first equilibrium) or a0=−5a_0=-5 (second equilibrium):

Glin(s)=1s2+2s+5andGlin(s)=1s2+2s−5.G_{\rm lin}(s)=\frac{1}{s^2+2s+5}\qquad\text{and}\qquad G_{\rm lin}(s)=\frac{1}{s^2+2s-5}.

The same result follows from the input-output form δy¨+2δy˙+a0 δy=δu\delta\ddot y+2\delta\dot y+a_0\,\delta y=\delta u obtained by eliminating δx2=δy˙\delta x_2=\delta\dot y. Typical mistakes: writing the linear model in y,uy,u instead of δy,δu\delta y,\delta u; evaluating the derivative 1−2x11-2x_1 at the wrong point; using the same AA for both equilibria (the linearization is not unique, it depends on the operating point).

Point 3: local stability. The poles are the roots of the denominator of GlinG_{\rm lin}, which is the characteristic polynomial of AA (Stability of Dynamical SystemsFor an LTI system the response to a perturbation of an equilibrium does not depend on the equilibrium or on the perturbation amplitude, so stability reduces to the free evolution being bounded (stable) or vanishing (asymptotically stable), decided by the roots of the characteristic polynomial, and is related to BIBO stability.Stability of Dynamical Systems →).

Typical mistake: concluding that "the system" is stable or unstable: for a nonlinear system the answer depends on the equilibrium, and the linear analysis says only what happens for small perturbations around it.

Point 4: effect of a small input step. The deviation of the input is δu=6.5−6=0.5\delta u=6.5-6=0.5, constant. The linearized model at (3,0)(3,0) is BIBO stable, so for a constant δu\delta u the deviation δy\delta y settles at Glin(0) δuG_{\rm lin}(0)\,\delta u (final value of the forced response, Time-Domain Solution of ODEsA linear constant-coefficient ODE is solved as the sum of a homogeneous solution (natural modes from the characteristic equation) and a particular solution (forced by the input), with the constants fixed by the initial conditions; the sign of the real part of the roots decides growth or decay.Time-Domain Solution of ODEs →):

Glin(0)=15,δy∞≈15⋅0.5=0.1,y≈3+0.1=3.1.G_{\rm lin}(0)=\frac{1}{5},\qquad \delta y_\infty\approx\frac15\cdot0.5=0.1,\qquad y\approx3+0.1=3.1 .

Exact value: the new equilibrium for ue′=6.5u_e'=6.5 solves x12−x1−6.5=0x_1^2-x_1-6.5=0, so

x1=1±1+262=1±332,x_1=\frac{1\pm\sqrt{1+26}}{2}=\frac{1\pm3\sqrt3}{2},

and the root near 33 is x1=1+332≈3.0981x_1=\dfrac{1+3\sqrt3}{2}\approx3.0981 (the other, ≈−2.098\approx-2.098, is near the unstable equilibrium). Hence δy=0.0981\delta y=0.0981 and the prediction error is 0.1−0.0981≈0.00190.1-0.0981\approx0.0019, about 2 percent of the variation: the neglected quadratic term of the Taylor expansion is small because the deviation δx1≈0.1\delta x_1\approx0.1 is small. For a much larger step the error would grow (LinearizationLinearization replaces a nonlinear model by its first-order Taylor expansion around an equilibrium, written in deviation variables, so that transfer functions, poles and stability can be used locally.Linearization →: the model is valid only near the operating point).

Exercise 2 (points 8)

Exercise 2: Tracking and rejection of standard signals. Consider the unity negative feedback scheme

                                  d(t)
                                    |
                                    v
  r(t)    e(t)           u(t)             
  ---> (+) -----> [ C(s) ] ----> [ G(s) ] ----> (+) --+---> y(t)
        ^ -                                           |
        |                                             |
        +---------------------------------------------+

where the plant is G(s)=10(s+1)(s+4)G(s)=\dfrac{10}{(s+1)(s+4)} and d(t)d(t) is a disturbance added to the output of the plant. First consider the controller C(s)=KsC(s)=\dfrac{K}{s} with K>0K>0.

  1. (2 points) Find the system type, write the characteristic polynomial of the closed loop and use the Routh table to find all the values of KK for which W(s)W(s) is BIBO stable. What happens at the limit value of KK?
  2. (2 points) For KK in the stability range, compute the steady-state error e(∞)e(\infty) when d=0d=0 and r(t)r(t) is the unit step, the unit ramp t 1(t)t\,1(t) and the unit parabola 12t2 1(t)\frac12t^2\,1(t). Give the values for K=1.5K=1.5.
  3. (2.5 points) Let now r(t)=2t 1(t)r(t)=2t\,1(t) and d(t)=0.5⋅1(t)d(t)=0.5\cdot1(t) act together. Find e(∞)e(\infty) as a function of KK and the values of KK for which the closed loop is stable and ∣e(∞)∣≤0.6\lvert e(\infty)\rvert\le0.6. Compute e(∞)e(\infty) for K=1.5K=1.5.
  4. (1.5 points) The integrator is removed: C(s)=1.5C(s)=1.5. Check the BIBO stability of the closed loop and compute e(∞)e(\infty) for the unit step reference, for the constant disturbance d(t)=0.5⋅1(t)d(t)=0.5\cdot1(t) (with r=0r=0) and for the unit ramp.
Show the result
  1. H(s)=10Ks(s+1)(s+4)H(s)=\dfrac{10K}{s(s+1)(s+4)} is of type 11. Characteristic polynomial s3+5s2+4s+10Ks^3+5s^2+4s+10K. BIBO stable if and only if 0<K<20<K<2. At K=2K=2 the polynomial has the roots ±2j\pm2j and −5-5: no BIBO stability.
  2. With H1(0)=5K2H_1(0)=\dfrac{5K}{2}: estep(∞)=0e_{\rm step}(\infty)=0, eramp(∞)=25Ke_{\rm ramp}(\infty)=\dfrac{2}{5K}, eparabola(∞)=∞e_{\rm parabola}(\infty)=\infty. For K=1.5K=1.5: 00, 415≈0.267\dfrac{4}{15}\approx0.267, ∞\infty.
  3. e(∞)=45Ke(\infty)=\dfrac{4}{5K} (the disturbance does not contribute). Condition 43≤K<2\dfrac{4}{3}\le K<2. For K=1.5K=1.5: e(∞)=815≈0.533e(\infty)=\dfrac{8}{15}\approx0.533.
  4. W(s)W(s) has denominator s2+5s+19s^2+5s+19 (Hurwitz): BIBO stable. estep(∞)=419≈0.211e_{\rm step}(\infty)=\dfrac{4}{19}\approx0.211; for the disturbance e(∞)=−219≈−0.105e(\infty)=-\dfrac{2}{19}\approx-0.105 (not rejected); for the ramp e(∞)=+∞e(\infty)=+\infty.
Show the full solution

Point 1: type and stability range. The open loop is

H(s)=C(s)G(s)=Ks⋅10(s+1)(s+4)=10Ks (s+1)(s+4).H(s)=C(s)G(s)=\frac{K}{s}\cdot\frac{10}{(s+1)(s+4)}=\frac{10K}{s\,(s+1)(s+4)} .

It has one pole in the origin (s=0s=0 is a simple pole, the other poles are −1-1 and −4-4), so it is a type 1 system: H(s)=1sH1(s)H(s)=\dfrac{1}{s}H_1(s) with H1(s)=10K(s+1)(s+4)H_1(s)=\dfrac{10K}{(s+1)(s+4)}, H1(0)=10K4=5K2H_1(0)=\dfrac{10K}{4}=\dfrac{5K}{2}, finite and nonzero (Tracking and Rejection of Standard SignalsWith a BIBO stable closed loop, the steady-state tracking error for a reference (or disturbance on the output) that is a standard signal of order l is zero if the system type, the number of poles at the origin of the open-loop transfer function H(s) = C(s)G(s), is greater than l, finite and nonzero if it equals l, and infinite if it is smaller, so the controller must supply the missing poles at the origin.Tracking and Rejection of Standard Signals →).

With H=NH/DHH=N_H/D_H, NH=10KN_H=10K, DH=s(s+1)(s+4)=s3+5s2+4sD_H=s(s+1)(s+4)=s^3+5s^2+4s, the denominator of W(s)W(s) is NH+DHN_H+D_H:

p(s)=s3+5s2+4s+10K.p(s)=s^3+5s^2+4s+10K .

(Equivalently NCNG+DCDGN_CN_G+D_CD_G in The Feedback Control Scheme and RequirementsThe basic control scheme feeds the plant G(s) with the output of a controller C(s) acting on the tracking error e = r - y, giving the closed-loop transfer function W(s) = C(s)G(s) / (1 + C(s)G(s)); the requirement y close to r splits into steady-state conditions (small error for some references, disturbances, model uncertainty) and transient conditions on rise time, settling time and overshoot, which become a region of the complex plane where the poles of W(s) must lie.The Feedback Control Scheme and Requirements →.) Routh table (The Routh-Hurwitz CriterionThe Routh-Hurwitz criterion decides whether all roots of a characteristic polynomial lie in the open left half-plane, and counts the right-half-plane roots, by building a table (the Routh array) from the coefficients and counting sign changes in its first column.The Routh-Hurwitz Criterion →):

s^3 | 1          4
s^2 | 5          10K
s^1 | (20-10K)/5 0
s^0 | 10K        0

The entry of the s1s^1 row is b1=−15∣14510K∣=20−10K5=4−2Kb_1=-\dfrac{1}{5}\begin{vmatrix}1&4\\5&10K\end{vmatrix}=\dfrac{20-10K}{5}=4-2K. All first-column entries must be strictly positive: 5>05>0, 4−2K>0⇒K<24-2K>0\Rightarrow K<2, 10K>0⇒K>010K>0\Rightarrow K>0. Hence W(s)W(s) is BIBO stable if and only if 0<K<20<K<2. (The degree-3 test a2a1>a3a0a_2a_1>a_3a_0 gives the same: 5⋅4>10K5\cdot4>10K.)

At K=2K=2 the s1s^1 row is entirely zero; the auxiliary polynomial from the s2s^2 row is 5s2+20=05s^2+20=0, i.e. s=±2js=\pm2j, and p(s)=(s+5)(s2+4)p(s)=(s+5)(s^2+4): two poles on the imaginary axis, so the loop is not BIBO stable (sustained oscillations at ω=2\omega=2 rad/s). For K>2K>2 there are two roots with positive real part.

Typical mistakes: counting KK in the plant instead of in HH; using the polynomial DH+KNHD_H+K N_H with the wrong constant (NH=10KN_H=10K here, so the constant term is 10K10K, not KK); using non-strict inequalities.

Point 2: errors to standard signals. WW is BIBO stable for 0<K<20<K<2, so the final value theorem applies to ee. With H=H1/sH=H_1/s (type k=1k=1), the formula of the notes for R=1/sℓ+1R=1/s^{\ell+1} is

e(∞)=lim⁡s→0sk−ℓsk+H1(s).e(\infty)=\lim_{s\to0}\frac{s^{k-\ell}}{s^k+H_1(s)} .

  • Step (ℓ=0<k\ell=0<k): e(∞)=lim⁡s→0ss+H1(s)=0e(\infty)=\lim_{s\to0}\dfrac{s}{s+H_1(s)}=0.
  • Ramp (ℓ=1=k\ell=1=k): e(∞)=1H1(0)=25Ke(\infty)=\dfrac{1}{H_1(0)}=\dfrac{2}{5K}. For K=1.5K=1.5: 27.5=415\dfrac{2}{7.5}=\dfrac{4}{15}.
  • Parabola (ℓ=2>k\ell=2>k): e(∞)=lim⁡1s (s+H1(s))=∞e(\infty)=\lim\dfrac{1}{s\,(s+H_1(s))}=\infty, the error grows without bound.

So the integral action gives perfect tracking of the step, a finite error for the ramp and an infinite one for the parabola. Typical mistake: applying the final value theorem without having checked BIBO stability first (here, for K≥2K\ge2 the formulas are meaningless).

Point 3: reference and disturbance together. The scheme is linear, so the total error is the sum of the errors due to rr and to dd and each is proportional to the amplitude of its signal (Tracking and Rejection of Standard SignalsWith a BIBO stable closed loop, the steady-state tracking error for a reference (or disturbance on the output) that is a standard signal of order l is zero if the system type, the number of poles at the origin of the open-loop transfer function H(s) = C(s)G(s), is greater than l, finite and nonzero if it equals l, and infinite if it is smaller, so the controller must supply the missing poles at the origin.Tracking and Rejection of Standard Signals →):

E(s)=Wd(s)R(s)−Wd(s)D(s),Wd(s)=11+H(s).E(s)=W_d(s)R(s)-W_d(s)D(s),\qquad W_d(s)=\frac{1}{1+H(s)} .

  • The reference r=2t 1(t)r=2t\,1(t) is twice the unit ramp: contribution 2⋅25K=45K2\cdot\dfrac{2}{5K}=\dfrac{4}{5K}.
  • The disturbance d=0.5⋅1(t)d=0.5\cdot1(t) is a (scaled) step, of order ℓ=0\ell=0, and the type is k=1>0k=1>0: it is rejected, contribution 00. (Directly: ed(∞)=−lim⁡s→0s 11+H(s)⋅0.5s=−0.5lim⁡s→0ss+H1(s)=0e_d(\infty)=-\lim_{s\to0}s\,\dfrac{1}{1+H(s)}\cdot\dfrac{0.5}{s}=-0.5\lim_{s\to0}\dfrac{s}{s+H_1(s)}=0.)

Therefore e(∞)=45Ke(\infty)=\dfrac{4}{5K}. The specification ∣e(∞)∣≤0.6\lvert e(\infty)\rvert\le0.6 gives 45K≤0.6  ⟺  K≥43\dfrac{4}{5K}\le0.6\iff K\ge\dfrac{4}{3}. Together with the stability condition of point 1:

43≤K<2.\frac43\le K<2 .

For K=1.5K=1.5: e(∞)=47.5=815≈0.533e(\infty)=\dfrac{4}{7.5}=\dfrac{8}{15}\approx0.533, which meets the specification. Note that the values of KK near 22 meet the error requirement but make the closed loop poorly damped (for K=1.5K=1.5 the complex poles are at −0.092±1.762j-0.092\pm1.762j, a very slow oscillatory transient): the steady-state requirement and the transient requirement must be balanced.

Typical mistakes: forgetting that the error is linear in the amplitude of the signals (using the unit-ramp value 2/(5K)2/(5K) for r=2tr=2t); thinking that the disturbance adds to the error because it is present; checking the error specification but not the stability.

Point 4: proportional controller. With C(s)=1.5C(s)=1.5:

H(s)=15(s+1)(s+4),DH=s2+5s+4,NH=15,NH+DH=s2+5s+19.H(s)=\frac{15}{(s+1)(s+4)},\qquad D_H=s^2+5s+4,\quad N_H=15,\qquad N_H+D_H=s^2+5s+19 .

Both coefficients are strictly positive, so the polynomial is Hurwitz (degree-2 test): WW is BIBO stable. Now H(0)=154=3.75≠∞H(0)=\dfrac{15}{4}=3.75\ne\infty: type 00.

  • Step: e(∞)=11+H(0)=14.75=419≈0.211e(\infty)=\dfrac{1}{1+H(0)}=\dfrac{1}{4.75}=\dfrac{4}{19}\approx0.211 (no more perfect tracking).
  • Disturbance d=0.5⋅1(t)d=0.5\cdot1(t) with r=0r=0: e(∞)=−Wd(0)⋅0.5=−0.51+H(0)=−219≈−0.105e(\infty)=-W_d(0)\cdot0.5=-\dfrac{0.5}{1+H(0)}=-\dfrac{2}{19}\approx-0.105: the constant disturbance is attenuated by the factor 1/(1+H(0))1/(1+H(0)) but not rejected.
  • Ramp: type 0<ℓ=10<\ell=1, so e(∞)=∞e(\infty)=\infty.

The comparison with point 2 shows the role of the pole in the origin supplied by the controller: it is the integrator that gives zero steady-state error for a step reference and for a constant disturbance acting on the output.

Exercise 3 (points 8)

Exercise 3: Frequency response of a BIBO stable system. A system with input u(t)u(t) and output y(t)y(t) is described by the differential equation

y¨(t)+2y˙(t)+25 y(t)=5 u˙(t)+25 u(t),\ddot y(t)+2\dot y(t)+25\,y(t)=5\,\dot u(t)+25\,u(t),

with zero initial conditions.

  1. (2 points) Find the transfer function W(s)W(s) and show that the system is BIBO stable.
  2. (1.5 points) Compute the steady-state output when u(t)=2sin⁡ ⁣(5t+π4)u(t)=2\sin\!\left(5t+\frac{\pi}{4}\right).
  3. (2 points) Compute W(jω)W(j\omega), its modulus and its phase for ω=1\omega=1 and ω=10\omega=10 rad/s, and give the steady-state output when u(t)=4cos⁡t+3sin⁡10tu(t)=4\cos t+3\sin10t.
  4. (1.5 points) Find the angular frequency ω>0\omega>0 at which the steady-state output is in phase with the input, and the gain of the system at that frequency.
  5. (1 point) The coefficient of y˙\dot y is changed from +2+2 to −2-2, the rest being unchanged. Can the steady-state response to a sinusoid still be computed with W(jω)W(j\omega)? Justify.
Show the result
  1. W(s)=5s+25s2+2s+25W(s)=\dfrac{5s+25}{s^2+2s+25}, poles −1±j24≈−1±4.899j-1\pm j\sqrt{24}\approx-1\pm4.899j, both with negative real part: BIBO stable.
  2. y(t)→52 sin⁡5t≈7.071 sin⁡5ty(t)\to5\sqrt2\,\sin5t\approx7.071\,\sin5t.
  3. ω=1\omega=1: ∣W∣≈1.0586\lvert W\rvert\approx1.0586, ∠W≈6.55∘\angle W\approx6.55^\circ. ω=10\omega=10: ∣W∣≈0.7202\lvert W\rvert\approx0.7202, ∠W≈−101.63∘\angle W\approx-101.63^\circ. Output: y(t)→4.2345cos⁡(t+6.55∘)+2.1606sin⁡(10t−101.63∘)y(t)\to4.2345\cos(t+6.55^\circ)+2.1606\sin(10t-101.63^\circ).
  4. ω=15≈3.873\omega=\sqrt{15}\approx3.873 rad/s; there W(j15)=2.5W(j\sqrt{15})=2.5 (gain 2.52.5, phase 00).
  5. No: the new poles are 1±j241\pm j\sqrt{24} with positive real part, the system is not BIBO stable, the output contains a term that grows like ete^{t} and there is no steady-state sinusoid.
Show the full solution

Point 1: transfer function and stability. With zero initial conditions, the Laplace transform of the equation gives (The Laplace Transform and Transfer FunctionsThe unilateral Laplace transform turns a linear constant-coefficient ODE into an algebraic equation Y(s) = C(s)/A(s) + B(s)/A(s) U(s), whose second term defines the rational transfer function H(s) = B(s)/A(s).The Laplace Transform and Transfer Functions →):

(s2+2s+25) Y(s)=(5s+25) U(s) ⟹ W(s)=5s+25s2+2s+25=5 (s+5)s2+2s+25.(s^2+2s+25)\,Y(s)=(5s+25)\,U(s)\ \Longrightarrow\ W(s)=\frac{5s+25}{s^2+2s+25}=\frac{5\,(s+5)}{s^2+2s+25}.

There is one zero, −5-5, and two complex poles s=−1±1−25=−1±j24s=-1\pm\sqrt{1-25}=-1\pm j\sqrt{24} (real part −1-1). There is no pole-zero cancellation (the zero −5-5 is not a pole). The denominator is Hurwitz: by the degree-2 test of The Routh-Hurwitz CriterionThe Routh-Hurwitz criterion decides whether all roots of a characteristic polynomial lie in the open left half-plane, and counts the right-half-plane roots, by building a table (the Routh array) from the coefficients and counting sign changes in its first column.The Routh-Hurwitz Criterion → its coefficients 22 and 2525 are strictly positive. Hence W(s)W(s) is BIBO stable (BIBO Stability and First-Order ModelsA linear system response splits into a natural response from the initial conditions and a forced response from the input; BIBO stability concerns the forced response and stability of the zero equilibrium concerns the natural one, and an n-th order ODE can be rewritten as n first-order equations (a state model) whose transfer function is obtained from the matrices A, B, C and D.BIBO Stability and First-Order Models →).

Point 2: steady state at ω=5\omega=5. The theorem of Frequency Response of BIBO Stable SystemsFor a BIBO stable system W(s) driven by a sinusoid of angular frequency w, the output converges to a sinusoid of the same frequency whose amplitude is multiplied by |W(jw)| and whose phase is shifted by the angle of W(jw); the result extends to cosines and to sums of sinusoids.Frequency Response of BIBO Stable Systems → applies, because WW is BIBO stable: for u=Asin⁡(ωt+φ)u=A\sin(\omega t+\varphi) the output tends to MAsin⁡(ωt+θ+φ)M A\sin(\omega t+\theta+\varphi) with M=∣W(jω)∣M=\lvert W(j\omega)\rvert and θ=∠W(jω)\theta=\angle W(j\omega). Here A=2A=2, ω=5\omega=5, φ=π/4\varphi=\pi/4. Evaluate WW on the imaginary axis, at s=j5s=j5 (not at s=5s=5):

W(j5)=5 (5+5j)(j5)2+2⋅j5+25=25+25j−25+10j+25=25(1+j)10j=2.5 1+jj=2.5 (1+j)(−j)=2.5 (1−j).W(j5)=\frac{5\,(5+5j)}{(j5)^2+2\cdot j5+25}=\frac{25+25j}{-25+10j+25}=\frac{25(1+j)}{10j}=2.5\,\frac{1+j}{j}=2.5\,(1+j)(-j)=2.5\,(1-j).

So M=2.52≈3.5355M=2.5\sqrt2\approx3.5355 and θ=−π4\theta=-\dfrac{\pi}{4}. The output tends to

y(t)→2⋅2.52 sin⁡ ⁣(5t+π4−π4)=52 sin⁡5t≈7.071sin⁡5t.y(t)\to2\cdot2.5\sqrt2\,\sin\!\Bigl(5t+\frac\pi4-\frac\pi4\Bigr)=5\sqrt2\,\sin5t\approx7.071\sin5t .

The frequency 55 rad/s equals 25\sqrt{25}, where the real part of the denominator vanishes: this is why the gain is large (the poles are lightly damped, ζ=0.2\zeta=0.2, and the input frequency is close to their imaginary part). Typical mistakes: forgetting to add the phase of the input; giving the phase in degrees in one place and in radians in another; evaluating W(5)W(5) instead of W(j5)W(j5).

Point 3: two frequencies. Evaluate W(jω)=25+5jω(25−ω2)+2jωW(j\omega)=\dfrac{25+5j\omega}{(25-\omega^2)+2j\omega}.

  • ω=1\omega=1: W(j)=25+5j24+2jW(j)=\dfrac{25+5j}{24+2j}. Modulus 252+52242+22=650580≈1.0586\dfrac{\sqrt{25^2+5^2}}{\sqrt{24^2+2^2}}=\dfrac{\sqrt{650}}{\sqrt{580}}\approx1.0586. Phase: numerator arctan⁡525=11.31∘\arctan\dfrac{5}{25}=11.31^\circ, denominator arctan⁡224=4.76∘\arctan\dfrac{2}{24}=4.76^\circ, difference ≈6.55∘\approx6.55^\circ.
  • ω=10\omega=10: W(10j)=25+50j−75+20jW(10j)=\dfrac{25+50j}{-75+20j} (since 25−100=−7525-100=-75 and 2⋅10=202\cdot10=20). Modulus 252+502752+202=31256025≈0.7202\dfrac{\sqrt{25^2+50^2}}{\sqrt{75^2+20^2}}=\dfrac{\sqrt{3125}}{\sqrt{6025}}\approx0.7202. Phase: the numerator is in the first quadrant, arctan⁡5025=63.43∘\arctan\dfrac{50}{25}=63.43^\circ; the denominator has negative real part and positive imaginary part (second quadrant), angle 180∘−arctan⁡2075=180∘−14.93∘=165.07∘180^\circ-\arctan\dfrac{20}{75}=180^\circ-14.93^\circ=165.07^\circ. Difference: 63.43∘−165.07∘=−101.64∘63.43^\circ-165.07^\circ=-101.64^\circ (more precisely −101.63∘-101.63^\circ).

(Using arctan⁡20−75\arctan\frac{20}{-75} with a calculator would give the wrong quadrant: the denominator must be taken in the second quadrant.)

The input is a sum of two sinusoids of different frequencies; by linearity each one is propagated separately, with the gain and the phase of its own frequency (cosine: the phase shift is added to the cosine itself, as in the corollaries of the theorem):

y(t)→4⋅1.0586 cos⁡(t+6.55∘)+3⋅0.7202 sin⁡(10t−101.63∘)=4.2345cos⁡(t+6.55∘)+2.1606sin⁡(10t−101.63∘).y(t)\to4\cdot1.0586\,\cos\bigl(t+6.55^\circ\bigr)+3\cdot0.7202\,\sin\bigl(10t-101.63^\circ\bigr)=4.2345\cos\bigl(t+6.55^\circ\bigr)+2.1606\sin\bigl(10t-101.63^\circ\bigr).

Typical mistake: using the gain of one frequency for the whole sum.

Grafico interattivo: Guadagno |W(jω)| del sistema: vale 1 in ω = 0, 1,06 in ω = 1, 2,5 in ω = √15 ≈ 3,87, 3,54 in ω = 5 e 0,72 in ω = 10; poi scende a zero come 1/ω

Point 4: output in phase with the input. The output is in phase with the input if ∠W(jω)=0\angle W(j\omega)=0 (modulo 360∘360^\circ), i.e. if W(jω)W(j\omega) is a positive real number. Write W(jω)=NDW(j\omega)=\dfrac{N}{D} with N=5(5+jω)N=5(5+j\omega) and D=(25−ω2)+2jωD=(25-\omega^2)+2j\omega. Multiplying numerator and denominator by D‾\overline D, the denominator ∣D∣2\lvert D\rvert^2 is real and positive, so the phase of WW is the phase of ND‾N\overline D:

(5+jω)[(25−ω2)−2jω]=[5(25−ω2)+2ω2]+j ω[(25−ω2)−10]=[125−3ω2]+j ω (15−ω2).(5+j\omega)\bigl[(25-\omega^2)-2j\omega\bigr]=\bigl[5(25-\omega^2)+2\omega^2\bigr]+j\,\omega\bigl[(25-\omega^2)-10\bigr]=\bigl[125-3\omega^2\bigr]+j\,\omega\,(15-\omega^2).

The imaginary part vanishes for ω>0\omega>0 only if ω2=15\omega^2=15, i.e. ω=15≈3.873\omega=\sqrt{15}\approx3.873 rad/s. There the real part is 125−45=80>0125-45=80>0, so the phase is 00 and not 180∘180^\circ. The gain: ∣N∣=525+15=540\lvert N\rvert=5\sqrt{25+15}=5\sqrt{40}, ∣D∣=(25−15)2+4⋅15=160\lvert D\rvert=\sqrt{(25-15)^2+4\cdot15}=\sqrt{160}, hence

M=540160=5⋅12=2.5,W(j15)=2.5.M=\frac{5\sqrt{40}}{\sqrt{160}}=5\cdot\frac12=2.5,\qquad W(j\sqrt{15})=2.5 .

(Directly: 2.5 D=2.5 (10+215 j)=25+515 j=N2.5\,D=2.5\,(10+2\sqrt{15}\,j)=25+5\sqrt{15}\,j=N.) At this frequency the output is a sinusoid of the same shape as the input, amplified by 2.52.5. Typical mistake: solving only Im⁡=0\operatorname{Im}=0 and forgetting to check the sign of the real part (a negative real part would give a phase of 180∘180^\circ, output in antiphase).

Point 5: an unstable variant. With y¨−2y˙+25y=5u˙+25u\ddot y-2\dot y+25y=5\dot u+25u the denominator is s2−2s+25s^2-2s+25, with roots 1±j241\pm j\sqrt{24} and a negative coefficient: it is not Hurwitz. The theorem of Frequency Response of BIBO Stable SystemsFor a BIBO stable system W(s) driven by a sinusoid of angular frequency w, the output converges to a sinusoid of the same frequency whose amplitude is multiplied by |W(jw)| and whose phase is shifted by the angle of W(jw); the result extends to cosines and to sums of sinusoids.Frequency Response of BIBO Stable Systems → requires BIBO stability, which fails here: the natural response contains modes etcos⁡(24 t)e^{t}\cos(\sqrt{24}\,t) and etsin⁡(24 t)e^{t}\sin(\sqrt{24}\,t) that grow and never die out, so the output does not tend to a sinusoid. The expression W(jω)=5(5+jω)(25−ω2)−2jωW(j\omega)=\frac{5(5+j\omega)}{(25-\omega^2)-2j\omega} can still be evaluated, but it no longer describes the steady-state response. Typical mistake: applying the formula without checking the poles.

Theory 1 (points 5)

Theory 1: The Routh-Hurwitz criterion. Let p(s)=ansn+an−1sn−1+⋯+a1s+a0p(s)=a_ns^n+a_{n-1}s^{n-1}+\cdots+a_1s+a_0, an>0a_n>0, be a real polynomial.

  1. (2 points) State the Routh-Hurwitz criterion: define a Hurwitz polynomial, explain how the Routh table is built (first rows, general entry), and how the first column is read, including the number of roots in the open right half-plane.
  2. (1.5 points) Prove that a polynomial of degree 22 is Hurwitz if and only if a1>0a_1>0 and a0>0a_0>0. For degree 33, deduce from the table the necessary and sufficient condition and show with an example that the positivity of all coefficients is not sufficient.
  3. (1.5 points) Describe the two special cases (a zero as first element of a row that is not entirely zero; an entire row of zeros) and apply the right procedure to p1(s)=s4+s3+2s2+2s+3p_1(s)=s^4+s^3+2s^2+2s+3 and p2(s)=s4+4s3+7s2+16s+12p_2(s)=s^4+4s^3+7s^2+16s+12.
Show the result
  1. Hurwitz: all roots with Re⁡<0\operatorname{Re}<0. Table: first two rows from the alternate coefficients an,an−2,…a_n,a_{n-2},\dots and an−1,an−3,…a_{n-1},a_{n-3},\dots; each new entry is minus the determinant of the 2×22\times2 matrix formed by the first column and the target column of the two rows above, divided by the first element of the lower row. Hurwitz if and only if all the first-column entries are strictly positive; otherwise the number of sign changes in the first column is the number of roots with positive real part (regular case).
  2. Degree 2: sum of roots −a1/a2-a_1/a_2, product a0/a2a_0/a_2; Hurwitz iff a1>0a_1>0, a0>0a_0>0. Degree 3: Hurwitz iff a3,a2,a1,a0>0a_3,a_2,a_1,a_0>0 and a2a1>a3a0a_2a_1>a_3a_0. Example: s3+s2+s+3s^3+s^2+s+3 (all positive coefficients, but 1⋅1<1⋅31\cdot1<1\cdot3): 22 roots with positive real part.
  3. Case I: replace the zero by ε>0\varepsilon>0 and let ε→0+\varepsilon\to0^+. Case II: auxiliary polynomial A(s)A(s) from the row above, replace the zero row by the coefficients of A′(s)A'(s), the roots of A(s)A(s) are roots of pp (symmetric about the origin). p1p_1: first column +,+,+ε,−,++,+,+\varepsilon,-,+, so 22 roots with Re⁡>0\operatorname{Re}>0 (unstable). p2p_2: zero row, A(s)=3s2+12A(s)=3s^2+12, roots ±2j\pm2j; no sign changes: no roots in the right half-plane, and p2=(s2+4)(s+1)(s+3)p_2=(s^2+4)(s+1)(s+3): not asymptotically stable, with simple roots on the imaginary axis.
Show the full solution

Point 1: statement. A polynomial is Hurwitz if all its roots lie in the open left half-plane, Re⁡(λi)<0\operatorname{Re}(\lambda_i)<0. This is exactly the condition of asymptotic stability of the natural response of the differential equation with characteristic polynomial p(s)p(s), and the same polynomial gives the poles of a transfer function in least terms (Stability of Dynamical SystemsFor an LTI system the response to a perturbation of an equilibrium does not depend on the equilibrium or on the perturbation amplitude, so stability reduces to the free evolution being bounded (stable) or vanishing (asymptotically stable), decided by the roots of the characteristic polynomial, and is related to BIBO stability.Stability of Dynamical Systems →, The Routh-Hurwitz CriterionThe Routh-Hurwitz criterion decides whether all roots of a characteristic polynomial lie in the open left half-plane, and counts the right-half-plane roots, by building a table (the Routh array) from the coefficients and counting sign changes in its first column.The Routh-Hurwitz Criterion →). The criterion decides it without computing the roots.

Building the table. Normalize an>0a_n>0 (otherwise multiply pp by −1-1). The first two rows contain the coefficients alternately:

s^n     | a_n      a_{n-2}   a_{n-4}  ...
s^(n-1) | a_{n-1}  a_{n-3}   a_{n-5}  ...
s^(n-2) | b_1      b_2       b_3      ...

Each entry of the following rows is built with the same rule on the two rows above:

bj=−1an−1∣anan−2jan−1an−2j−1∣,b_j=-\frac{1}{a_{n-1}}\begin{vmatrix}a_n&a_{n-2j}\\a_{n-1}&a_{n-2j-1}\end{vmatrix},

i.e. minus the determinant of the matrix formed by the first column and the column to be filled, divided by the pivot (first element of the lower row). Missing elements are zeros. The table has n+1n+1 rows, from sns^n to s0s^0.

Reading. pp is Hurwitz if and only if all the elements of the first column are strictly positive. In general, the number of sign changes of the first column equals the number of roots with positive real part (when no special case occurs). The inequalities must be strict.

Typical mistakes: sign errors in the determinant (it is the negative determinant); forgetting the strictness; skipping the normalization an>0a_n>0.

Point 2: degrees 2 and 3.

Degree 2. Let p(s)=a2s2+a1s+a0p(s)=a_2s^2+a_1s+a_0 with a2>0a_2>0. By Vieta, λ1+λ2=−a1a2\lambda_1+\lambda_2=-\dfrac{a_1}{a_2} and λ1λ2=a0a2\lambda_1\lambda_2=\dfrac{a_0}{a_2}.

  • If a1>0a_1>0 and a0>0a_0>0: for real roots, the product is positive (same sign) and the sum is negative, so both are negative; for a complex pair, the real part is −a12a2<0-\dfrac{a_1}{2a_2}<0. So pp is Hurwitz.
  • Conversely, if pp is Hurwitz: real roots both negative give positive product (a0>0a_0>0) and negative sum (a1>0a_1>0); a complex pair with real part −a12a2<0-\dfrac{a_1}{2a_2}<0 gives a1>0a_1>0, and the product is ∣λ∣2>0\lvert\lambda\rvert^2>0, so a0>0a_0>0.

Degree 3. For p(s)=a3s3+a2s2+a1s+a0p(s)=a_3s^3+a_2s^2+a_1s+a_0:

s^3 | a3   a1
s^2 | a2   a0
s^1 | b1   0
s^0 | a0   0

with b1=−1a2∣a3a1a2a0∣=a2a1−a3a0a2b_1=-\dfrac{1}{a_2}\begin{vmatrix}a_3&a_1\\a_2&a_0\end{vmatrix}=\dfrac{a_2a_1-a_3a_0}{a_2}. The first column a3, a2, b1, a0a_3,\ a_2,\ b_1,\ a_0 must be positive, hence pp is Hurwitz iff a3,a2,a1,a0>0a_3,a_2,a_1,a_0>0 and a2a1>a3a0a_2a_1>a_3a_0 (the condition a1>0a_1>0 is implied by b1>0b_1>0 together with a2>0a_2>0 and a3a0>0a_3a_0>0 and is listed for clarity).

Positivity is not sufficient. p(s)=s3+s2+s+3p(s)=s^3+s^2+s+3 has all positive coefficients but a2a1=1<3=a3a0a_2a_1=1<3=a_3a_0: the table is

s^3 |  1   1
s^2 |  1   3
s^1 | -2   0
s^0 |  3   0

with first column +,+,−,++,+,-,+: two sign changes, so two roots with positive real part (numerically ≈0.287±1.350j\approx0.287\pm1.350j). For degree 22 positivity of the coefficients is necessary and sufficient, for degree ≥3\ge3 it is only necessary.

Point 3: special cases.

Case I: a zero in the first column, row not entirely zero. The next entry would need a division by zero. Replace the zero by a small ε>0\varepsilon>0, continue the table, then look at the signs for ε→0+\varepsilon\to0^+. For p1(s)=s4+s3+2s2+2s+3p_1(s)=s^4+s^3+2s^2+2s+3:

s^4 | 1                  2   3
s^3 | 1                  2   0
s^2 | 0 -> eps           3   0
s^1 | -(3 - 2 eps)/eps   0   0
s^0 | 3                  0   0

Computation: b1=−11∣1212∣=0b_1=-\dfrac{1}{1}\begin{vmatrix}1&2\\1&2\end{vmatrix}=0 (replaced by ε\varepsilon) and b2=−11∣1310∣=−(0−3)=3b_2=-\dfrac{1}{1}\begin{vmatrix}1&3\\1&0\end{vmatrix}=-(0-3)=3. Then c1=−1ε∣12ε3∣=−3−2εε→−∞c_1=-\dfrac{1}{\varepsilon}\begin{vmatrix}1&2\\\varepsilon&3\end{vmatrix}=-\dfrac{3-2\varepsilon}{\varepsilon}\to-\infty, and d1=3d_1=3. First column for ε→0+\varepsilon\to0^+: +,+,+,−,++,+,+,-,+: two sign changes, so p1p_1 has two roots with positive real part and is unstable (numerically 0.406±1.293j0.406\pm1.293j and −0.906±0.902j-0.906\pm0.902j).

Case II: an entire row of zeros. It occurs when pp has roots symmetric about the origin (for example a pair ±jω\pm j\omega). Form the auxiliary polynomial A(s)A(s) with the coefficients of the row above the zero row (in powers of ss descending by two), replace the zero row by the coefficients of A′(s)A'(s) and continue; the roots of A(s)A(s) are roots of p(s)p(s). For p2(s)=s4+4s3+7s2+16s+12p_2(s)=s^4+4s^3+7s^2+16s+12:

s^4 | 1    7    12
s^3 | 4    16   0
s^2 | 3    12   0
s^1 | 0    0    0     -> replaced by A'(s) = 6s: 6
s^0 | 12

Computation: b1=−14(1⋅16−7⋅4)=3b_1=-\frac14(1\cdot16-7\cdot4)=3, b2=−14(1⋅0−12⋅4)=12b_2=-\frac14(1\cdot0-12\cdot4)=12; the s1s^1 row is −13(4⋅12−16⋅3)=0-\frac13(4\cdot12-16\cdot3)=0, entirely zero. Auxiliary polynomial from the s2s^2 row: A(s)=3s2+12A(s)=3s^2+12, with roots ±2j\pm2j; A′(s)=6sA'(s)=6s gives the new s1s^1 row (6, 0)(6,\ 0) and then s0s^0 equal to 1212. The first column 1,4,3,6,121,4,3,6,12 has no sign changes: no roots in the right half-plane. The two roots of AA are on the imaginary axis, and indeed p2(s)=(s2+4)(s+1)(s+3)p_2(s)=(s^2+4)(s+1)(s+3): the polynomial is not Hurwitz (not asymptotically stable): the natural response contains a sustained oscillation at ω=2\omega=2 rad/s, which stays bounded because the imaginary-axis roots are simple. Typical mistakes: concluding "stable" from the absence of sign changes when a zero row has appeared; dropping the factor ε\varepsilon and continuing with 00; for a zero row, not using the row above to build A(s)A(s).

Applications: the stability range of a closed loop with a parameter, as in Exercise 2, comes from the same table applied to the characteristic polynomial NH+DHN_H+D_H (The Feedback Control Scheme and RequirementsThe basic control scheme feeds the plant G(s) with the output of a controller C(s) acting on the tracking error e = r - y, giving the closed-loop transfer function W(s) = C(s)G(s) / (1 + C(s)G(s)); the requirement y close to r splits into steady-state conditions (small error for some references, disturbances, model uncertainty) and transient conditions on rise time, settling time and overshoot, which become a region of the complex plane where the poles of W(s) must lie.The Feedback Control Scheme and Requirements →); for linearized models see LinearizationLinearization replaces a nonlinear model by its first-order Taylor expansion around an equilibrium, written in deviation variables, so that transfer functions, poles and stability can be used locally.Linearization →.

Self-assessment grid
Exercise Points What must be there for full points Typical mistakes
Exercise 1 9 Equilibria from f(xe,ue)=0\mathbf f(\mathbf x_e,u_e)=\mathbf 0 with x2,e=0x_{2,e}=0 (2); Jacobians evaluated at each equilibrium, AA with entry −5-5 or +5+5, and Glin=1/(s2+2s±5)G_{\rm lin}=1/(s^2+2s\pm5) (3); poles −1±2j-1\pm2j (stable) and −1±6-1\pm\sqrt6 (unstable), conclusion local and per equilibrium (2); δy=Glin(0) δu=0.1\delta y=G_{\rm lin}(0)\,\delta u=0.1 versus exact 0.09810.0981 (2) linearizing without checking equilibria; writing the model in y,uy,u instead of δy,δu\delta y,\delta u; same AA for both equilibria; calling the whole nonlinear system stable or unstable
Exercise 2 8 Type 11, s3+5s2+4s+10Ks^3+5s^2+4s+10K, Routh 0<K<20<K<2 and the case K=2K=2 (2); errors 00, 2/(5K)2/(5K), ∞\infty (2); linearity, disturbance rejected, e(∞)=4/(5K)e(\infty)=4/(5K), range 4/3≤K<24/3\le K<2, value 8/158/15 (2.5); proportional controller: stable, 4/194/19, −2/19-2/19, ramp infinite (1.5) wrong constant term (KK instead of 10K10K); final value theorem without stability; unit-ramp error used for r=2tr=2t; stability not checked together with the error specification
Exercise 3 8 W(s)=5(s+5)/(s2+2s+25)W(s)=5(s+5)/(s^2+2s+25) and Hurwitz denominator (2); W(j5)=2.5(1−j)W(j5)=2.5(1-j), output 52sin⁡5t5\sqrt2\sin5t (1.5); gain and phase at ω=1,10\omega=1,10 with the right quadrant, each component with its own M,θM,\theta (2); ω=15\omega=\sqrt{15} and gain 2.52.5 (1.5); unstable variant: theorem not applicable (1) W(ω)W(\omega) instead of W(jω)W(j\omega); wrong quadrant for the phase at ω=10\omega=10; phase of the input forgotten; one gain for the whole sum; applying the theorem to an unstable system
Theory 1 5 Hurwitz definition, table rule with the negative determinant and the pivot, strict positivity of the first column, sign changes count (2); degree-2 proof by Vieta, degree-3 condition a2a1>a3a0a_2a_1>a_3a_0, counterexample with positive coefficients (1.5); ε\varepsilon procedure with the result on p1p_1 (2 roots) and auxiliary polynomial with the result on p2p_2 (roots ±2j\pm2j, not Hurwitz) (1.5) sign of the determinant; non-strict inequalities; stating that positive coefficients are sufficient; ignoring the zero row or continuing with a division by zero