Skip to main content

Chapter 5 · 8 hours

Discrete Time State Equations

IOE past exam questions

Past questions and answers

32 questions set from this chapter, 10 of them more than once. Most asked first.

  • Asked 4 times
  • 2082 Chaitra · 5 marks
  • 2074 Bhadra · 6 marks
  • 2071 Bhadra · 8 marks
  • 2070 Magh · 6 marks

Obtain the state space representation of the following pulse transfer function in observable canonical form: Y(z)/U(z)=(0.368z⁻¹+0.264z⁻²)/(1-1.368z⁻¹+0.368z⁻²).

Answer

In the observable canonical form the denominator coefficients appear in the last column of G\mathbf{G}, and the numerator coefficients appear in H\mathbf{H}.

Standard form

For

Y(z)U(z)=b0+b1z−1+b2z−21+a1z−1+a2z−2\frac{Y(z)}{U(z)} = \frac{b_0 + b_1z^{-1} + b_2z^{-2}}{1 + a_1z^{-1} + a_2z^{-2}}

the observable canonical form (Ogata) is

x(k+1)=[0−a21−a1]x(k)+[b2−a2b0b1−a1b0]u(k),y(k)=[01]x(k)+b0u(k)\mathbf{x}(k+1) = \begin{bmatrix} 0 & -a_2 \\ 1 & -a_1 \end{bmatrix}\mathbf{x}(k) + \begin{bmatrix} b_2 - a_2b_0 \\ b_1 - a_1b_0 \end{bmatrix}u(k),\qquad y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\mathbf{x}(k) + b_0u(k)

Derivation

Cross-multiplying gives Y(z)=−a1z−1Y−a2z−2Y+b1z−1U+b2z−2UY(z) = -a_1z^{-1}Y - a_2z^{-2}Y + b_1z^{-1}U + b_2z^{-2}U (here b0=0b_0 = 0), so

Y(z)=z−1[b1U−a1Y+z−1(b2U−a2Y)]Y(z) = z^{-1}\Big[b_1U - a_1Y + z^{-1}\big(b_2U - a_2Y\big)\Big]

Define X2(z)=Y(z)X_2(z) = Y(z) and X1(z)=z−1(b2U−a2Y)X_1(z) = z^{-1}(b_2U - a_2Y). Then

x1(k+1)=−a2x2(k)+b2u(k)x2(k+1)=x1(k)−a1x2(k)+b1u(k)y(k)=x2(k)\begin{aligned} x_1(k+1) &= -a_2x_2(k) + b_2u(k)\\ x_2(k+1) &= x_1(k) - a_1x_2(k) + b_1u(k)\\ y(k) &= x_2(k) \end{aligned}

Coefficients

CoefficientValue
a1a_1−1.368
a2a_20.368
b0b_00
b1b_10.368
b2b_20.264

Result

[x1(k+1)x2(k+1)]=[0−0.36811.368][x1(k)x2(k)]+[0.2640.368]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & -0.368 \\ 1 & 1.368 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0.264 \\ 0.368 \end{bmatrix}u(k) y(k)=[01][x1(k)x2(k)]y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check

C(zI−G)−1H=0.368z+0.264z2−1.368z+0.368\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{0.368z + 0.264}{z^2 - 1.368z + 0.368}

This is the given function (multiply numerator and denominator by z−2z^{-2}).

  • Asked 4 times
  • 2082 Kartik · 8 marks
  • 2078 Chaitra · 8 marks
  • 2077 Chaitra · 8 marks
  • 2075 Baisakh · 10 marks

Obtain pulse transfer function matrix of the following state space representation: x(k+1)=Gx(k)+Hu(k), y(k)=Cx(k)+Du(k), where G=[-a₁ 1 0; -a₂ 0 1; -a₃ 0 0], H=[h₁; h₂; h₃], C=[1 0 0] and D=b₀.

Answer

The pulse transfer function is F(z)=C(zI−G)−1H+DF(z) = \mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + D, obtained by taking the z-transform of the state equations with zero initial state.

Given

G=[−a110−a201−a300],H=[h1h2h3],C=[100],D=b0\mathbf{G} = \begin{bmatrix} -a_1 & 1 & 0 \\ -a_2 & 0 & 1 \\ -a_3 & 0 & 0 \end{bmatrix},\quad \mathbf{H} = \begin{bmatrix} h_1 \\ h_2 \\ h_3 \end{bmatrix},\quad \mathbf{C} = \begin{bmatrix} 1 & 0 & 0 \end{bmatrix},\quad D = b_0

Step 1: zI−Gz\mathbf{I} - \mathbf{G} and its determinant

zI−G=[z+a1−10a2z−1a30z]z\mathbf{I}-\mathbf{G} = \begin{bmatrix} z+a_1 & -1 & 0 \\ a_2 & z & -1 \\ a_3 & 0 & z \end{bmatrix}

Expanding along the first row:

∣zI−G∣=(z+a1)z2+1 (a2z+a3)=z3+a1z2+a2z+a3\begin{aligned} |z\mathbf{I}-\mathbf{G}| &= (z+a_1)z^2 + 1\,(a_2z + a_3)\\ &= z^3 + a_1z^2 + a_2z + a_3 \end{aligned}

Step 2: First row of the adjoint

Only the first row of (zI−G)−1(z\mathbf{I}-\mathbf{G})^{-1} is needed, because C=[1 0 0]\mathbf{C} = [1\ 0\ 0]. The first row of the adjoint (the cofactors of the first column, transposed) is

[z2z1]\begin{bmatrix} z^2 & z & 1 \end{bmatrix}

Check: cofactor C11=z⋅z−0=z2C_{11} = z\cdot z - 0 = z^2, C21=−(−1⋅z−0)=zC_{21} = -(-1\cdot z - 0) = z, C31=(−1)(−1)−0=1C_{31} = (-1)(-1) - 0 = 1.

Step 3: C(zI−G)−1H\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H}

C(zI−G)−1H=[z2z1][h1h2h3]z3+a1z2+a2z+a3=h1z2+h2z+h3z3+a1z2+a2z+a3\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{\begin{bmatrix} z^2 & z & 1 \end{bmatrix}\begin{bmatrix} h_1 \\ h_2 \\ h_3 \end{bmatrix}}{z^3+a_1z^2+a_2z+a_3} = \frac{h_1z^2 + h_2z + h_3}{z^3+a_1z^2+a_2z+a_3}

Step 4: Add D

F(z)=b0+h1z2+h2z+h3z3+a1z2+a2z+a3=b0z3+(h1+a1b0)z2+(h2+a2b0)z+(h3+a3b0)z3+a1z2+a2z+a3\begin{aligned} F(z) &= b_0 + \frac{h_1z^2 + h_2z + h_3}{z^3+a_1z^2+a_2z+a_3}\\ &= \frac{b_0z^3 + (h_1 + a_1b_0)z^2 + (h_2 + a_2b_0)z + (h_3 + a_3b_0)}{z^3 + a_1z^2 + a_2z + a_3} \end{aligned}

Remark

This is the observable canonical form written with the state order reversed. Comparing with b0z3+b1z2+b2z+b3z3+a1z2+a2z+a3\dfrac{b_0z^3+b_1z^2+b_2z+b_3}{z^3+a_1z^2+a_2z+a_3} gives hi=bi−aib0h_i = b_i - a_ib_0, which is the standard result for the observable form. Since there is one input and one output, the "matrix" is the 1×1 function above.

Answer: F(z)=b0z3+(h1+a1b0)z2+(h2+a2b0)z+(h3+a3b0)z3+a1z2+a2z+a3F(z) = \dfrac{b_0z^3 + (h_1+a_1b_0)z^2 + (h_2+a_2b_0)z + (h_3+a_3b_0)}{z^3+a_1z^2+a_2z+a_3}

  • Asked 3 times
  • 2082 Chaitra (new course) · 4 marks
  • 2074 Bhadra · 4 marks
  • 2073 Bhadra · 8 marks

Obtain the state space representation of the system shown below in Jordan canonical form: Y(z)/U(z)=5/((z+1)²(z+2)).

Answer

When the denominator has a repeated pole, the diagonal form is not possible, and the Jordan canonical form is used. The repeated pole gives a Jordan block with 1 on the superdiagonal.

Partial fractions

Y(z)U(z)=5(z+1)2(z+2)=c1(z+1)2+c2z+1+c3z+2\frac{Y(z)}{U(z)} = \frac{5}{(z+1)^2(z+2)} = \frac{c_1}{(z+1)^2} + \frac{c_2}{z+1} + \frac{c_3}{z+2} c1=[5z+2]z=−1=5c2=ddz[5z+2]z=−1=[−5(z+2)2]z=−1=−5c3=[5(z+1)2]z=−2=5\begin{aligned} c_1 &= \left[\frac{5}{z+2}\right]_{z=-1} = 5\\ c_2 &= \frac{d}{dz}\left[\frac{5}{z+2}\right]_{z=-1} = \left[\frac{-5}{(z+2)^2}\right]_{z=-1} = -5\\ c_3 &= \left[\frac{5}{(z+1)^2}\right]_{z=-2} = 5 \end{aligned}

So Y(z)U(z)=5(z+1)2−5z+1+5z+2\dfrac{Y(z)}{U(z)} = \dfrac{5}{(z+1)^2} - \dfrac{5}{z+1} + \dfrac{5}{z+2}.

Choice of states

X3(z)=U(z)z+2,X2(z)=U(z)z+1,X1(z)=X2(z)z+1=U(z)(z+1)2X_3(z) = \frac{U(z)}{z+2},\qquad X_2(z) = \frac{U(z)}{z+1},\qquad X_1(z) = \frac{X_2(z)}{z+1} = \frac{U(z)}{(z+1)^2}

This gives

x1(k+1)=−x1(k)+x2(k)x2(k+1)=−x2(k)+u(k)x3(k+1)=−2x3(k)+u(k)y(k)=5x1(k)−5x2(k)+5x3(k)\begin{aligned} x_1(k+1) &= -x_1(k) + x_2(k)\\ x_2(k+1) &= -x_2(k) + u(k)\\ x_3(k+1) &= -2x_3(k) + u(k)\\ y(k) &= 5x_1(k) - 5x_2(k) + 5x_3(k) \end{aligned}

Jordan canonical form

[x1(k+1)x2(k+1)x3(k+1)]=[−1100−1000−2][x1(k)x2(k)x3(k)]+[011]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \\ x_3(k+1) \end{bmatrix} = \begin{bmatrix} -1 & 1 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & -2 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \\ x_3(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}u(k) y(k)=[5−55]x(k)+0⋅u(k)y(k) = \begin{bmatrix} 5 & -5 & 5 \end{bmatrix}\mathbf{x}(k) + 0\cdot u(k)

Check: C(zI−G)−1H=5z3+4z2+5z+2=5(z+1)2(z+2)\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \dfrac{5}{z^3+4z^2+5z+2} = \dfrac{5}{(z+1)^2(z+2)}.

  • Asked 3 times
  • 2074 Bhadra · 6 marks
  • 2071 Bhadra · 8 marks
  • 2071 Magh · 8 marks

Derive the pulse transfer function (matrix) of the given state space representation form x(k+1)=Gx(k)+Hu(k) and y(k)=Cx(k)+Du(k).

Answer

The pulse transfer function (matrix) relates the z-transform of the output to that of the input, with all initial conditions zero. It is found by taking the z-transform of the state and output equations.

Given system

x(k+1)=Gx(k)+Hu(k)y(k)=Cx(k)+Du(k)\begin{aligned} \mathbf{x}(k+1) &= \mathbf{G}\mathbf{x}(k) + \mathbf{H}\mathbf{u}(k)\\ \mathbf{y}(k) &= \mathbf{C}\mathbf{x}(k) + \mathbf{D}\mathbf{u}(k) \end{aligned}

Here x\mathbf{x} is an n-vector, u\mathbf{u} an r-vector, y\mathbf{y} an m-vector, and G\mathbf{G} (n×nn\times n), H\mathbf{H} (n×rn\times r), C\mathbf{C} (m×nm\times n), D\mathbf{D} (m×rm\times r) are constant matrices.

Derivation

  1. Take the z-transform of the state equation, using Z[x(k+1)]=zX(z)−zx(0)\mathcal{Z}[\mathbf{x}(k+1)] = z\mathbf{X}(z) - z\mathbf{x}(0):
zX(z)−zx(0)=GX(z)+HU(z)z\mathbf{X}(z) - z\mathbf{x}(0) = \mathbf{G}\mathbf{X}(z) + \mathbf{H}\mathbf{U}(z)
  1. Put x(0)=0\mathbf{x}(0) = \mathbf{0} (a transfer function is defined for zero initial state):
(zI−G)X(z)=HU(z)(z\mathbf{I} - \mathbf{G})\mathbf{X}(z) = \mathbf{H}\mathbf{U}(z)
  1. Pre-multiply by (zI−G)−1(z\mathbf{I}-\mathbf{G})^{-1}, which exists for all zz except the eigenvalues of G\mathbf{G}:
X(z)=(zI−G)−1HU(z)\mathbf{X}(z) = (z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H}\mathbf{U}(z)
  1. Take the z-transform of the output equation:
Y(z)=CX(z)+DU(z)\mathbf{Y}(z) = \mathbf{C}\mathbf{X}(z) + \mathbf{D}\mathbf{U}(z)
  1. Substitute X(z)\mathbf{X}(z):
Y(z)=[C(zI−G)−1H+D]U(z)\mathbf{Y}(z) = \left[\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + \mathbf{D}\right]\mathbf{U}(z)

Result

F(z)=C(zI−G)−1H+D=C adj⁡(zI−G) H∣zI−G∣+D\mathbf{F}(z) = \mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + \mathbf{D} = \frac{\mathbf{C}\,\operatorname{adj}(z\mathbf{I}-\mathbf{G})\,\mathbf{H}}{|z\mathbf{I}-\mathbf{G}|} + \mathbf{D}

F(z)\mathbf{F}(z) is an m×rm\times r matrix. Element Fij(z)F_{ij}(z) is the pulse transfer function from input uju_j to output yiy_i. For a single-input single-output system it is a scalar.

Properties

  • Characteristic equation: ∣zI−G∣=0|z\mathbf{I}-\mathbf{G}| = 0. The poles of F(z)\mathbf{F}(z) are eigenvalues of G\mathbf{G}, unless a pole is cancelled by a zero.
  • Invariance: a change of state variables x=Px^\mathbf{x} = \mathbf{P}\hat{\mathbf{x}} gives G^=P−1GP\hat{\mathbf{G}} = \mathbf{P}^{-1}\mathbf{G}\mathbf{P}, H^=P−1H\hat{\mathbf{H}} = \mathbf{P}^{-1}\mathbf{H}, C^=CP\hat{\mathbf{C}} = \mathbf{C}\mathbf{P}, and
C^(zI−G^)−1H^+D=CP P−1(zI−G)−1P P−1H+D=F(z)\hat{\mathbf{C}}(z\mathbf{I}-\hat{\mathbf{G}})^{-1}\hat{\mathbf{H}} + \mathbf{D} = \mathbf{C}\mathbf{P}\,\mathbf{P}^{-1}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{P}\,\mathbf{P}^{-1}\mathbf{H} + \mathbf{D} = \mathbf{F}(z)

So the pulse transfer function is unique, even though the state-space form is not.

  • D≠0\mathbf{D} \neq 0 means a direct feed-through, and the numerator degree equals the denominator degree.

Example

For G=[01−0.16−1]\mathbf{G} = \begin{bmatrix} 0 & 1 \\ -0.16 & -1 \end{bmatrix}, H=[01]\mathbf{H} = \begin{bmatrix} 0 \\ 1 \end{bmatrix}, C=[1  0]\mathbf{C} = [1\ \ 0], D=0D = 0:

F(z)=[1  0][z+11−0.16z][01]z2+z+0.16=1z2+z+0.16F(z) = \frac{[1\ \ 0]\begin{bmatrix} z+1 & 1 \\ -0.16 & z \end{bmatrix}\begin{bmatrix} 0 \\ 1 \end{bmatrix}}{z^2 + z + 0.16} = \frac{1}{z^2 + z + 0.16}
  • Asked 2 times
  • 2082 Chaitra · 5 marks
  • 2082 Kartik · 8 marks

Obtain the state space representation of the system shown below in Jordan canonical form: Y(z)/U(z)=(2z³+6z+5)/((z+2)²(z+3)).

Answer

The pole z=−2z=-2 is repeated, so the Jordan canonical form is used. The numerator and denominator have the same degree, so there is a direct term D=b0D = b_0.

Separate the direct term

Denominator: (z+2)2(z+3)=z3+7z2+16z+12(z+2)^2(z+3) = z^3 + 7z^2 + 16z + 12.

2z3+6z+5z3+7z2+16z+12=2+−14z2−26z−19(z+2)2(z+3)\frac{2z^3+6z+5}{z^3+7z^2+16z+12} = 2 + \frac{-14z^2 - 26z - 19}{(z+2)^2(z+3)}

So D=b0=2D = b_0 = 2.

Partial fractions

Y(z)U(z)=2+c1(z+2)2+c2z+2+c3z+3\frac{Y(z)}{U(z)} = 2 + \frac{c_1}{(z+2)^2} + \frac{c_2}{z+2} + \frac{c_3}{z+3}

Let N(z)=2z3+6z+5N(z) = 2z^3 + 6z + 5, so N(−2)=−16−12+5=−23N(-2) = -16 - 12 + 5 = -23 and N(−3)=−54−18+5=−67N(-3) = -54 - 18 + 5 = -67.

c1=[N(z)z+3]z=−2=−231=−23c2=ddz[N(z)z+3]z=−2=[(6z2+6)(z+3)−N(z)(z+3)2]z=−2=30+231=53c3=[N(z)(z+2)2]z=−3=−671=−67\begin{aligned} c_1 &= \left[\frac{N(z)}{z+3}\right]_{z=-2} = \frac{-23}{1} = -23\\ c_2 &= \frac{d}{dz}\left[\frac{N(z)}{z+3}\right]_{z=-2} = \left[\frac{(6z^2+6)(z+3) - N(z)}{(z+3)^2}\right]_{z=-2} = \frac{30 + 23}{1} = 53\\ c_3 &= \left[\frac{N(z)}{(z+2)^2}\right]_{z=-3} = \frac{-67}{1} = -67 \end{aligned} Y(z)U(z)=2−23(z+2)2+53z+2−67z+3\frac{Y(z)}{U(z)} = 2 - \frac{23}{(z+2)^2} + \frac{53}{z+2} - \frac{67}{z+3}

States

X2=Uz+2X_2 = \dfrac{U}{z+2}, X1=X2z+2X_1 = \dfrac{X_2}{z+2}, X3=Uz+3X_3 = \dfrac{U}{z+3}:

x1(k+1)=−2x1(k)+x2(k)x2(k+1)=−2x2(k)+u(k)x3(k+1)=−3x3(k)+u(k)y(k)=−23x1(k)+53x2(k)−67x3(k)+2u(k)\begin{aligned} x_1(k+1) &= -2x_1(k) + x_2(k)\\ x_2(k+1) &= -2x_2(k) + u(k)\\ x_3(k+1) &= -3x_3(k) + u(k)\\ y(k) &= -23x_1(k) + 53x_2(k) - 67x_3(k) + 2u(k) \end{aligned}

Jordan canonical form

x(k+1)=[−2100−2000−3]x(k)+[011]u(k)\mathbf{x}(k+1) = \begin{bmatrix} -2 & 1 & 0 \\ 0 & -2 & 0 \\ 0 & 0 & -3 \end{bmatrix}\mathbf{x}(k) + \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}u(k) y(k)=[−2353−67]x(k)+2u(k)y(k) = \begin{bmatrix} -23 & 53 & -67 \end{bmatrix}\mathbf{x}(k) + 2u(k)

Check: C(zI−G)−1H+2\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + 2 gives back 2z3+6z+5(z+2)2(z+3)\dfrac{2z^3+6z+5}{(z+2)^2(z+3)}.

  • Asked 2 times
  • 2082 Chaitra · 6 marks
  • 2076 Bhadra · 8 marks

Obtain pulse transfer function matrix of the following state space representation: x(k+1)=Gx(k)+Hu(k), y(k)=Cx(k)+Du(k), where G=[-4 1; -2 -1], H=[1; 1], C=[1 1; 2 1] and D=0.

Answer

The pulse transfer function matrix is F(z)=C(zI−G)−1H+D\mathbf{F}(z) = \mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + \mathbf{D}. Here there is one input and two outputs, so F(z)\mathbf{F}(z) is 2×1.

Step 1: (zI−G)−1(z\mathbf{I}-\mathbf{G})^{-1}

zI−G=[z+4−12z+1]z\mathbf{I}-\mathbf{G} = \begin{bmatrix} z+4 & -1 \\ 2 & z+1 \end{bmatrix} ∣zI−G∣=(z+4)(z+1)+2=z2+5z+6=(z+2)(z+3)|z\mathbf{I}-\mathbf{G}| = (z+4)(z+1) + 2 = z^2 + 5z + 6 = (z+2)(z+3) (zI−G)−1=1(z+2)(z+3)[z+11−2z+4](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{(z+2)(z+3)}\begin{bmatrix} z+1 & 1 \\ -2 & z+4 \end{bmatrix}

Step 2: (zI−G)−1H(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H}

(zI−G)−1[11]=1(z+2)(z+3)[z+2z+2]=[1z+31z+3](z\mathbf{I}-\mathbf{G})^{-1}\begin{bmatrix} 1 \\ 1 \end{bmatrix} = \frac{1}{(z+2)(z+3)}\begin{bmatrix} z+2 \\ z+2 \end{bmatrix} = \begin{bmatrix} \dfrac{1}{z+3} \\[2mm] \dfrac{1}{z+3} \end{bmatrix}

Step 3: Multiply by C (D = 0)

F(z)=[1121][1z+31z+3]=[2z+33z+3]\mathbf{F}(z) = \begin{bmatrix} 1 & 1 \\ 2 & 1 \end{bmatrix}\begin{bmatrix} \dfrac{1}{z+3} \\[2mm] \dfrac{1}{z+3} \end{bmatrix} = \begin{bmatrix} \dfrac{2}{z+3} \\[2mm] \dfrac{3}{z+3} \end{bmatrix}

Remarks

  • Y1(z)U(z)=2z+3\dfrac{Y_1(z)}{U(z)} = \dfrac{2}{z+3} and Y2(z)U(z)=3z+3\dfrac{Y_2(z)}{U(z)} = \dfrac{3}{z+3}.
  • The eigenvalue z=−2z = -2 is cancelled by a zero: the mode at −2-2 is not excited by uu (it is uncontrollable). This is why the transfer functions are first order although the system is second order.
  • Both eigenvalues (−2-2, −3-3) lie outside the unit circle, so the system is unstable.

Answer: F(z)=[2/(z+3)3/(z+3)]\mathbf{F}(z) = \begin{bmatrix} 2/(z+3) \\ 3/(z+3) \end{bmatrix}

  • Asked 2 times
  • 2081 Chaitra · 4 marks
  • 2075 Baisakh · 6 marks

Obtain the state space representation of the following pulse transfer function in controllable canonical form: Y(z)/X(z)=(4z³+3z²+5z+4)/(2z³+5z²+2z+3).

Answer

The controllable canonical form needs a monic denominator, so first divide the numerator and denominator by 2.

Normalise

Y(z)X(z)=2z3+1.5z2+2.5z+2z3+2.5z2+z+1.5\frac{Y(z)}{X(z)} = \frac{2z^3 + 1.5z^2 + 2.5z + 2}{z^3 + 2.5z^2 + z + 1.5}
b0b_0b1b_1b2b_2b3b_3a1a_1a2a_2a3a_3
21.52.522.511.5

Since the degrees are equal, D=b0=2D = b_0 = 2 and

b3−a3b0=2−3=−1b2−a2b0=2.5−2=0.5b1−a1b0=1.5−5=−3.5\begin{aligned} b_3 - a_3b_0 &= 2 - 3 = -1\\ b_2 - a_2b_0 &= 2.5 - 2 = 0.5\\ b_1 - a_1b_0 &= 1.5 - 5 = -3.5 \end{aligned}

Controllable canonical form

With x(k)x(k) as the input, let u(k)u(k) denote it, and choose states as successive delays of an intermediate variable:

[x1(k+1)x2(k+1)x3(k+1)]=[010001−1.5−1−2.5][x1(k)x2(k)x3(k)]+[001]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \\ x_3(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ -1.5 & -1 & -2.5 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \\ x_3(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}u(k) y(k)=[−10.5−3.5][x1(k)x2(k)x3(k)]+2u(k)y(k) = \begin{bmatrix} -1 & 0.5 & -3.5 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \\ x_3(k) \end{bmatrix} + 2u(k)

Check

C(zI−G)−1H=−3.5z2+0.5z−1z3+2.5z2+z+1.5\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \dfrac{-3.5z^2 + 0.5z - 1}{z^3 + 2.5z^2 + z + 1.5}, and adding D=2D = 2 gives 2z3+1.5z2+2.5z+2z3+2.5z2+z+1.5\dfrac{2z^3 + 1.5z^2 + 2.5z + 2}{z^3 + 2.5z^2 + z + 1.5}, which is the given function.

  • Asked 2 times
  • 2081 Chaitra · 4 marks
  • 2080 Chaitra · 8 marks

Obtain the state space representation of the following pulse transfer function in the diagonal canonical form: Y(z)/U(z)=(z⁻¹+2z⁻²)/(1+0.7z⁻¹+0.12z⁻²).

Answer

The diagonal canonical form is obtained from the partial-fraction expansion when all poles are distinct. Each pole becomes one decoupled state.

Write in powers of z

Y(z)U(z)=z−1+2z−21+0.7z−1+0.12z−2=z+2z2+0.7z+0.12=z+2(z+0.3)(z+0.4)\frac{Y(z)}{U(z)} = \frac{z^{-1}+2z^{-2}}{1+0.7z^{-1}+0.12z^{-2}} = \frac{z+2}{z^2+0.7z+0.12} = \frac{z+2}{(z+0.3)(z+0.4)}

Poles: p1=−0.3p_1 = -0.3, p2=−0.4p_2 = -0.4 (distinct). b0=0b_0 = 0.

Partial fractions

c1=[z+2z+0.4]z=−0.3=1.70.1=17c2=[z+2z+0.3]z=−0.4=1.6−0.1=−16\begin{aligned} c_1 &= \left[\frac{z+2}{z+0.4}\right]_{z=-0.3} = \frac{1.7}{0.1} = 17\\ c_2 &= \left[\frac{z+2}{z+0.3}\right]_{z=-0.4} = \frac{1.6}{-0.1} = -16 \end{aligned} Y(z)U(z)=17z+0.3−16z+0.4\frac{Y(z)}{U(z)} = \frac{17}{z+0.3} - \frac{16}{z+0.4}

States

X1(z)=U(z)z+0.3X_1(z) = \dfrac{U(z)}{z+0.3}, X2(z)=U(z)z+0.4X_2(z) = \dfrac{U(z)}{z+0.4}:

x1(k+1)=−0.3x1(k)+u(k)x2(k+1)=−0.4x2(k)+u(k)y(k)=17x1(k)−16x2(k)\begin{aligned} x_1(k+1) &= -0.3x_1(k) + u(k)\\ x_2(k+1) &= -0.4x_2(k) + u(k)\\ y(k) &= 17x_1(k) - 16x_2(k) \end{aligned}

Diagonal canonical form

[x1(k+1)x2(k+1)]=[−0.300−0.4][x1(k)x2(k)]+[11]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} -0.3 & 0 \\ 0 & -0.4 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 1 \\ 1 \end{bmatrix}u(k) y(k)=[17−16][x1(k)x2(k)]y(k) = \begin{bmatrix} 17 & -16 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check

17z+0.3−16z+0.4=17z+6.8−16z−4.8(z+0.3)(z+0.4)=z+2z2+0.7z+0.12\frac{17}{z+0.3} - \frac{16}{z+0.4} = \frac{17z + 6.8 - 16z - 4.8}{(z+0.3)(z+0.4)} = \frac{z+2}{z^2+0.7z+0.12}
        +-->[1/(z+0.3)]--x1-->[17]---+
 u -----|                            (+)--> y
        +-->[1/(z+0.4)]--x2-->[-16]--+
  • Asked 2 times
  • 2080 Chaitra · 8 marks
  • 2073 Bhadra · 8 marks

State space representation of a system is given by [ẋ₁; ẋ₂]=[0 1; 0 -2][x₁; x₂]+[0; 1]u and y=[0 1][x₁; x₂]. Discretize the above system and also find the pulse transfer function matrix.

Answer

Discretization with a zero-order hold gives G=eAT\mathbf{G} = e^{\mathbf{A}T} and H=(∫0TeAλdλ)B\mathbf{H} = \left(\int_0^T e^{\mathbf{A}\lambda}d\lambda\right)\mathbf{B}, with C\mathbf{C} and D\mathbf{D} unchanged. The sampling period is not given, so the result is found for a general T and then evaluated for T = 1 s.

Step 1: State transition matrix eAte^{\mathbf{A}t}

A=[010−2],B=[01],C=[01]\mathbf{A} = \begin{bmatrix} 0 & 1 \\ 0 & -2 \end{bmatrix},\quad \mathbf{B} = \begin{bmatrix} 0 \\ 1 \end{bmatrix},\quad \mathbf{C} = \begin{bmatrix} 0 & 1 \end{bmatrix} (sI−A)−1=[s−10s+2]−1=[1s1s(s+2)01s+2](s\mathbf{I}-\mathbf{A})^{-1} = \begin{bmatrix} s & -1 \\ 0 & s+2 \end{bmatrix}^{-1} = \begin{bmatrix} \dfrac{1}{s} & \dfrac{1}{s(s+2)} \\[2mm] 0 & \dfrac{1}{s+2} \end{bmatrix} eAt=L−1[(sI−A)−1]=[112(1−e−2t)0e−2t]e^{\mathbf{A}t} = \mathcal{L}^{-1}\left[(s\mathbf{I}-\mathbf{A})^{-1}\right] = \begin{bmatrix} 1 & \tfrac{1}{2}(1-e^{-2t}) \\ 0 & e^{-2t} \end{bmatrix}

Step 2: G and H

G=eAT=[112(1−e−2T)0e−2T]\mathbf{G} = e^{\mathbf{A}T} = \begin{bmatrix} 1 & \tfrac{1}{2}(1-e^{-2T}) \\ 0 & e^{-2T} \end{bmatrix} H=∫0T[12(1−e−2λ)e−2λ]dλ=[14(2T−1+e−2T)12(1−e−2T)]\mathbf{H} = \int_0^T \begin{bmatrix} \tfrac{1}{2}(1-e^{-2\lambda}) \\ e^{-2\lambda} \end{bmatrix}d\lambda = \begin{bmatrix} \tfrac{1}{4}\left(2T - 1 + e^{-2T}\right) \\ \tfrac{1}{2}(1-e^{-2T}) \end{bmatrix}

Discretized model

x(k+1)=[112(1−e−2T)0e−2T]x(k)+[14(2T−1+e−2T)12(1−e−2T)]u(k),y(k)=[01]x(k)\mathbf{x}(k+1) = \begin{bmatrix} 1 & \tfrac{1}{2}(1-e^{-2T}) \\ 0 & e^{-2T} \end{bmatrix}\mathbf{x}(k) + \begin{bmatrix} \tfrac{1}{4}(2T-1+e^{-2T}) \\ \tfrac{1}{2}(1-e^{-2T}) \end{bmatrix}u(k),\qquad y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\mathbf{x}(k)

For T = 1 s (e−2=0.1353e^{-2} = 0.1353):

G=[10.432300.1353],H=[0.28380.4323]\mathbf{G} = \begin{bmatrix} 1 & 0.4323 \\ 0 & 0.1353 \end{bmatrix},\qquad \mathbf{H} = \begin{bmatrix} 0.2838 \\ 0.4323 \end{bmatrix}

Step 3: Pulse transfer function

(zI−G)−1=1(z−1)(z−e−2T)[z−e−2T12(1−e−2T)0z−1](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{(z-1)(z-e^{-2T})}\begin{bmatrix} z-e^{-2T} & \tfrac{1}{2}(1-e^{-2T}) \\ 0 & z-1 \end{bmatrix}

With C=[0  1]\mathbf{C} = [0\ \ 1] only the second row is needed:

F(z)=[0  z−1] H(z−1)(z−e−2T)=(z−1)12(1−e−2T)(z−1)(z−e−2T)=12(1−e−2T)z−e−2T\begin{aligned} F(z) &= \frac{[0\ \ z-1]\,\mathbf{H}}{(z-1)(z-e^{-2T})} = \frac{(z-1)\tfrac{1}{2}(1-e^{-2T})}{(z-1)(z-e^{-2T})}\\ &= \frac{\tfrac{1}{2}(1-e^{-2T})}{z-e^{-2T}} \end{aligned}

For T = 1 s:

F(z)=0.4323z−0.1353F(z) = \frac{0.4323}{z - 0.1353}

Remark

The output y=x2y = x_2 is the velocity, so the integrator pole at z=1z = 1 cancels. The result matches the direct ZOH transform of 1/(s+2)1/(s+2): (1−z−1)Z[1s(s+2)]=0.5(1−e−2T)z−e−2T(1-z^{-1})\mathcal{Z}\left[\frac{1}{s(s+2)}\right] = \frac{0.5(1-e^{-2T})}{z-e^{-2T}}.

Answer: F(z)=0.5(1−e−2T)z−e−2TF(z) = \dfrac{0.5(1-e^{-2T})}{z-e^{-2T}}, which is 0.4323z−0.1353\dfrac{0.4323}{z-0.1353} for T = 1 s.

  • Asked 2 times
  • 2075 Bhadra · 8 marks
  • 2068 Magh · 8 marks

Determine pulse transfer function matrix for the system which is described by state space representation as: [x₁(k+1); x₂(k+1)]=[3 1; -2 1][x₁(k); x₂(k)]+[1; 1]u(k) and [y₁(k); y₂(k)]=[1 1; 2 1][x₁(k); x₂(k)]+[1; 0]u(k).

Answer

The pulse transfer function matrix is F(z)=C(zI−G)−1H+D\mathbf{F}(z) = \mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + \mathbf{D}. There is one input and two outputs, so F(z)\mathbf{F}(z) is 2×1.

Given

G=[31−21],H=[11],C=[1121],D=[10]\mathbf{G} = \begin{bmatrix} 3 & 1 \\ -2 & 1 \end{bmatrix},\quad \mathbf{H} = \begin{bmatrix} 1 \\ 1 \end{bmatrix},\quad \mathbf{C} = \begin{bmatrix} 1 & 1 \\ 2 & 1 \end{bmatrix},\quad \mathbf{D} = \begin{bmatrix} 1 \\ 0 \end{bmatrix}

Step 1: Inverse of zI−Gz\mathbf{I}-\mathbf{G}

zI−G=[z−3−12z−1],∣zI−G∣=(z−3)(z−1)+2=z2−4z+5z\mathbf{I}-\mathbf{G} = \begin{bmatrix} z-3 & -1 \\ 2 & z-1 \end{bmatrix},\qquad |z\mathbf{I}-\mathbf{G}| = (z-3)(z-1) + 2 = z^2 - 4z + 5 (zI−G)−1=1z2−4z+5[z−11−2z−3](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{z^2-4z+5}\begin{bmatrix} z-1 & 1 \\ -2 & z-3 \end{bmatrix}

Step 2: Multiply by H

(zI−G)−1H=1z2−4z+5[zz−5](z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{1}{z^2-4z+5}\begin{bmatrix} z \\ z-5 \end{bmatrix}

Step 3: Multiply by C

C(zI−G)−1H=1z2−4z+5[z+(z−5)2z+(z−5)]=1z2−4z+5[2z−53z−5]\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{1}{z^2-4z+5}\begin{bmatrix} z + (z-5) \\ 2z + (z-5) \end{bmatrix} = \frac{1}{z^2-4z+5}\begin{bmatrix} 2z-5 \\ 3z-5 \end{bmatrix}

Step 4: Add D

F1(z)=2z−5z2−4z+5+1=z2−2zz2−4z+5F2(z)=3z−5z2−4z+5\begin{aligned} F_1(z) &= \frac{2z-5}{z^2-4z+5} + 1 = \frac{z^2-2z}{z^2-4z+5}\\ F_2(z) &= \frac{3z-5}{z^2-4z+5} \end{aligned}

Result

F(z)=[z(z−2)z2−4z+53z−5z2−4z+5]\mathbf{F}(z) = \begin{bmatrix} \dfrac{z(z-2)}{z^2-4z+5} \\[3mm] \dfrac{3z-5}{z^2-4z+5} \end{bmatrix}

The poles are z=2±j1z = 2 \pm j1 (∣z∣=5>1|z| = \sqrt5 > 1), so the system is unstable.

Answer: Y1(z)/U(z)=z2−2zz2−4z+5Y_1(z)/U(z) = \dfrac{z^2-2z}{z^2-4z+5}, Y2(z)/U(z)=3z−5z2−4z+5Y_2(z)/U(z) = \dfrac{3z-5}{z^2-4z+5}

  • 2082 Chaitra (new course) · 4 marks

Obtain a state-space representation of the following pulse-transfer-function system in the controllable canonical form: Y(z)/U(z)=(z⁻¹+2z⁻²)/(1+4z⁻¹+3z⁻²).

Answer

In the controllable canonical form the states are successive delays of an intermediate variable. The denominator coefficients form the last row of G\mathbf{G}.

Write in powers of z

Y(z)U(z)=z−1+2z−21+4z−1+3z−2=z+2z2+4z+3\frac{Y(z)}{U(z)} = \frac{z^{-1}+2z^{-2}}{1+4z^{-1}+3z^{-2}} = \frac{z+2}{z^2+4z+3}

So a1=4a_1 = 4, a2=3a_2 = 3, b0=0b_0 = 0, b1=1b_1 = 1, b2=2b_2 = 2.

Derivation

Introduce Q(z)Q(z) with Q(z)U(z)=1z2+4z+3\dfrac{Q(z)}{U(z)} = \dfrac{1}{z^2+4z+3}, so Y(z)=(z+2)Q(z)Y(z) = (z+2)Q(z). Choose x1(k)=q(k)x_1(k) = q(k) and x2(k)=q(k+1)x_2(k) = q(k+1):

x1(k+1)=x2(k)x2(k+1)=q(k+2)=−3x1(k)−4x2(k)+u(k)y(k)=q(k+1)+2q(k)=2x1(k)+x2(k)\begin{aligned} x_1(k+1) &= x_2(k)\\ x_2(k+1) &= q(k+2) = -3x_1(k) - 4x_2(k) + u(k)\\ y(k) &= q(k+1) + 2q(k) = 2x_1(k) + x_2(k) \end{aligned}

Controllable canonical form

[x1(k+1)x2(k+1)]=[01−3−4][x1(k)x2(k)]+[01]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -3 & -4 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 1 \end{bmatrix}u(k) y(k)=[21][x1(k)x2(k)]y(k) = \begin{bmatrix} 2 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check: C(zI−G)−1H=[2  1][1z]z2+4z+3=z+2z2+4z+3\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \dfrac{[2\ \ 1]\begin{bmatrix} 1 \\ z \end{bmatrix}}{z^2+4z+3} = \dfrac{z+2}{z^2+4z+3}.

  • 2082 Chaitra (new course) · 4 marks

Describe discretization of continuous time state space representation. Obtain the state transition matrix for the discrete time system given below: x(k+1)=Gx(k)+Hu(k), y(k)=Cx(k), where G=[0 2; -0.2 -1.5], H=[1; 1] and C=[1 0].

Answer

Discretization of a continuous-time state model

Consider x˙(t)=Ax(t)+Bu(t)\dot{\mathbf{x}}(t) = \mathbf{A}\mathbf{x}(t) + \mathbf{B}\mathbf{u}(t), y(t)=Cx(t)+Du(t)\mathbf{y}(t) = \mathbf{C}\mathbf{x}(t) + \mathbf{D}\mathbf{u}(t), where the input comes from a zero-order hold, so u(t)=u(kT)\mathbf{u}(t) = \mathbf{u}(kT) for kT≤t<(k+1)TkT \le t < (k+1)T.

The solution from t=kTt = kT to (k+1)T(k+1)T is

x((k+1)T)=eATx(kT)+(∫0TeAλ dλ)B u(kT)\mathbf{x}((k+1)T) = e^{\mathbf{A}T}\mathbf{x}(kT) + \left(\int_0^T e^{\mathbf{A}\lambda}\,d\lambda\right)\mathbf{B}\,\mathbf{u}(kT)

Hence

x(k+1)=Gx(k)+Hu(k),G=eAT,H=(∫0TeAλdλ)B\mathbf{x}(k+1) = \mathbf{G}\mathbf{x}(k) + \mathbf{H}\mathbf{u}(k),\qquad \mathbf{G} = e^{\mathbf{A}T},\quad \mathbf{H} = \left(\int_0^T e^{\mathbf{A}\lambda}d\lambda\right)\mathbf{B}

C\mathbf{C} and D\mathbf{D} are unchanged. eAte^{\mathbf{A}t} is found from L−1[(sI−A)−1]\mathcal{L}^{-1}[(s\mathbf{I}-\mathbf{A})^{-1}]. If A\mathbf{A} is invertible, H=A−1(eAT−I)B\mathbf{H} = \mathbf{A}^{-1}(e^{\mathbf{A}T}-\mathbf{I})\mathbf{B}.

State transition matrix of the given system

ψ(k)=Gk=Z−1[(zI−G)−1z],G=[02−0.2−1.5]\boldsymbol{\psi}(k) = \mathbf{G}^k = \mathcal{Z}^{-1}\left[(z\mathbf{I}-\mathbf{G})^{-1}z\right],\qquad \mathbf{G} = \begin{bmatrix} 0 & 2 \\ -0.2 & -1.5 \end{bmatrix} ∣zI−G∣=z2+1.5z+0.4=0  ⇒  λ1=−0.3469, λ2=−1.1531|z\mathbf{I}-\mathbf{G}| = z^2 + 1.5z + 0.4 = 0 \;\Rightarrow\; \lambda_1 = -0.3469,\ \lambda_2 = -1.1531

For distinct eigenvalues, Gk=λ1kM1+λ2kM2\mathbf{G}^k = \lambda_1^k\mathbf{M}_1 + \lambda_2^k\mathbf{M}_2 with M1=G−λ2Iλ1−λ2\mathbf{M}_1 = \dfrac{\mathbf{G}-\lambda_2\mathbf{I}}{\lambda_1-\lambda_2} and M2=G−λ1Iλ2−λ1\mathbf{M}_2 = \dfrac{\mathbf{G}-\lambda_1\mathbf{I}}{\lambda_2-\lambda_1}, where λ1−λ2=0.8062\lambda_1-\lambda_2 = 0.8062:

ψ(k)=[1.43032.4807−0.2481−0.4303](−0.3469)k+[−0.4303−2.48070.24811.4303](−1.1531)k\boldsymbol{\psi}(k) = \begin{bmatrix} 1.4303 & 2.4807 \\ -0.2481 & -0.4303 \end{bmatrix}(-0.3469)^k + \begin{bmatrix} -0.4303 & -2.4807 \\ 0.2481 & 1.4303 \end{bmatrix}(-1.1531)^k

Check: k=0k = 0 gives I\mathbf{I}, and k=1k = 1 gives G\mathbf{G}. Since ∣λ2∣>1|\lambda_2| > 1, the system is unstable.

  • 2079 Chaitra · 8 marks

Obtain the state transition matrix for the discrete time system given below: x(k+1)=Gx(k)+Hu(k), y(k)=Cx(k), where G=[0 2; -0.2 -1.5], H=[1; 1] and C=[1 0].

Answer

The state transition matrix of x(k+1)=Gx(k)+Hu(k)\mathbf{x}(k+1) = \mathbf{G}\mathbf{x}(k) + \mathbf{H}u(k) is ψ(k)=Gk\boldsymbol{\psi}(k) = \mathbf{G}^k. It is found as

ψ(k)=Z−1[(zI−G)−1z]\boldsymbol{\psi}(k) = \mathcal{Z}^{-1}\left[(z\mathbf{I}-\mathbf{G})^{-1}z\right]

H\mathbf{H} and C\mathbf{C} are not needed for ψ(k)\boldsymbol{\psi}(k).

Step 1: (zI−G)−1(z\mathbf{I}-\mathbf{G})^{-1}

zI−G=[z−20.2z+1.5],∣zI−G∣=z2+1.5z+0.4z\mathbf{I}-\mathbf{G} = \begin{bmatrix} z & -2 \\ 0.2 & z+1.5 \end{bmatrix},\qquad |z\mathbf{I}-\mathbf{G}| = z^2 + 1.5z + 0.4 (zI−G)−1=1z2+1.5z+0.4[z+1.52−0.2z](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{z^2+1.5z+0.4}\begin{bmatrix} z+1.5 & 2 \\ -0.2 & z \end{bmatrix}

Step 2: Eigenvalues

z=−1.5±2.25−1.62=−0.75±0.4031  ⇒  λ1=−0.3469,λ2=−1.1531z = \frac{-1.5 \pm \sqrt{2.25 - 1.6}}{2} = -0.75 \pm 0.4031 \;\Rightarrow\; \lambda_1 = -0.3469,\quad \lambda_2 = -1.1531

λ1−λ2=0.8062\lambda_1 - \lambda_2 = 0.8062.

Step 3: Partial fractions of each element of (zI−G)−1z(z\mathbf{I}-\mathbf{G})^{-1}z

Each element has the form N(z) z(z−λ1)(z−λ2)=N(λ1)λ1−λ2zz−λ1+N(λ2)λ2−λ1zz−λ2\dfrac{N(z)\,z}{(z-\lambda_1)(z-\lambda_2)} = \dfrac{N(\lambda_1)}{\lambda_1-\lambda_2}\dfrac{z}{z-\lambda_1} + \dfrac{N(\lambda_2)}{\lambda_2-\lambda_1}\dfrac{z}{z-\lambda_2}.

ElementN(z)N(z)coeff. of λ1k\lambda_1^kcoeff. of λ2k\lambda_2^k
(1,1)z+1.5z+1.51.1531/0.8062=1.43031.1531/0.8062 = 1.43030.3469/(−0.8062)=−0.43030.3469/(-0.8062) = -0.4303
(1,2)222.48072.4807−2.4807-2.4807
(2,1)−0.2-0.2−0.2481-0.24810.24810.2481
(2,2)zz−0.3469/0.8062=−0.4303-0.3469/0.8062 = -0.4303−1.1531/(−0.8062)=1.4303-1.1531/(-0.8062) = 1.4303

Using Z−1[zz−λ]=λk\mathcal{Z}^{-1}\left[\dfrac{z}{z-\lambda}\right] = \lambda^k:

Result

ψ(k)=[1.4303(−0.3469)k−0.4303(−1.1531)k2.4807(−0.3469)k−2.4807(−1.1531)k−0.2481(−0.3469)k+0.2481(−1.1531)k−0.4303(−0.3469)k+1.4303(−1.1531)k]\boldsymbol{\psi}(k) = \begin{bmatrix} 1.4303(-0.3469)^k - 0.4303(-1.1531)^k & 2.4807(-0.3469)^k - 2.4807(-1.1531)^k \\ -0.2481(-0.3469)^k + 0.2481(-1.1531)^k & -0.4303(-0.3469)^k + 1.4303(-1.1531)^k \end{bmatrix}

Check

  • k=0k = 0: [1001]\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}
  • k=1k = 1: [02−0.2−1.5]=G\begin{bmatrix} 0 & 2 \\ -0.2 & -1.5 \end{bmatrix} = \mathbf{G}
  • k=2k = 2: [−0.4−30.31.85]=G2\begin{bmatrix} -0.4 & -3 \\ 0.3 & 1.85 \end{bmatrix} = \mathbf{G}^2

Exact form: λ1,2=−0.75±65/20\lambda_{1,2} = -0.75 \pm \sqrt{65}/20 and 1.4303=0.5+7.5/651.4303 = 0.5 + 7.5/\sqrt{65}, 2.4807=20/652.4807 = 20/\sqrt{65}.

Note: ∣λ2∣=1.153>1|\lambda_2| = 1.153 > 1, so ψ(k)\boldsymbol{\psi}(k) grows without bound and the system is unstable.

  • 2072 Magh · 8 marks

Obtain the state space representation of the following pulse transfer function in (i) controllable canonical form (ii) observable canonical form: Y(z)/U(z)=(0.368z⁻¹+0.264z⁻²)/(1-1.368z⁻¹+0.368z⁻²).

Answer

Both forms come from the same coefficients. The controllable form puts the denominator in the last row of G\mathbf{G}, and the observable form puts it in the last column.

Coefficients

Y(z)U(z)=0.368z−1+0.264z−21−1.368z−1+0.368z−2=0.368z+0.264z2−1.368z+0.368\frac{Y(z)}{U(z)} = \frac{0.368z^{-1}+0.264z^{-2}}{1-1.368z^{-1}+0.368z^{-2}} = \frac{0.368z + 0.264}{z^2 - 1.368z + 0.368}

a1=−1.368a_1 = -1.368, a2=0.368a_2 = 0.368, b0=0b_0 = 0, b1=0.368b_1 = 0.368, b2=0.264b_2 = 0.264. Since b0=0b_0 = 0: b2−a2b0=0.264b_2 - a_2b_0 = 0.264 and b1−a1b0=0.368b_1 - a_1b_0 = 0.368.

(i) Controllable canonical form

Let Q(z)=U(z)z2−1.368z+0.368Q(z) = \dfrac{U(z)}{z^2-1.368z+0.368}, x1=q(k)x_1 = q(k), x2=q(k+1)x_2 = q(k+1), y=0.264x1+0.368x2y = 0.264x_1 + 0.368x_2:

[x1(k+1)x2(k+1)]=[01−0.3681.368][x1(k)x2(k)]+[01]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -0.368 & 1.368 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 1 \end{bmatrix}u(k) y(k)=[0.2640.368][x1(k)x2(k)]y(k) = \begin{bmatrix} 0.264 & 0.368 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

(ii) Observable canonical form

Write Y=z−1[0.368U+1.368Y+z−1(0.264U−0.368Y)]Y = z^{-1}\left[0.368U + 1.368Y + z^{-1}(0.264U - 0.368Y)\right] and take x2=yx_2 = y, x1(k+1)=−0.368x2(k)+0.264u(k)x_1(k+1) = -0.368x_2(k) + 0.264u(k):

[x1(k+1)x2(k+1)]=[0−0.36811.368][x1(k)x2(k)]+[0.2640.368]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & -0.368 \\ 1 & 1.368 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0.264 \\ 0.368 \end{bmatrix}u(k) y(k)=[01][x1(k)x2(k)]y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check

For both forms, C(zI−G)−1H=0.368z+0.264z2−1.368z+0.368\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \dfrac{0.368z+0.264}{z^2-1.368z+0.368}. The observable form is the transpose of the controllable one: Go=GcT\mathbf{G}_o = \mathbf{G}_c^T, Ho=CcT\mathbf{H}_o = \mathbf{C}_c^T, Co=HcT\mathbf{C}_o = \mathbf{H}_c^T. (The denominator factors as (z−1)(z−0.368)(z-1)(z-0.368).)

  • 2075 Bhadra · 8 marks

Obtain the state space representation of following pulse transfer function in (i) controllable canonical form (ii) observable canonical form: Y(z)/U(z)=(0.368z⁻¹+0.264z⁻²)/(1-1.368z⁻¹+0.36z⁻²).

Answer

Here the constant term of the denominator is 0.36, not 0.368. The method is the same; only the entry −a2-a_2 changes.

Coefficients

Y(z)U(z)=0.368z−1+0.264z−21−1.368z−1+0.36z−2=0.368z+0.264z2−1.368z+0.36\frac{Y(z)}{U(z)} = \frac{0.368z^{-1}+0.264z^{-2}}{1-1.368z^{-1}+0.36z^{-2}} = \frac{0.368z+0.264}{z^2-1.368z+0.36}
a1a_1a2a_2b0b_0b1b_1b2b_2
−1.3680.3600.3680.264

(i) Controllable canonical form

Let Q(z)U(z)=1z2−1.368z+0.36\dfrac{Q(z)}{U(z)} = \dfrac{1}{z^2-1.368z+0.36} with x1(k)=q(k)x_1(k) = q(k), x2(k)=q(k+1)x_2(k) = q(k+1):

x1(k+1)=x2(k)x2(k+1)=−0.36x1(k)+1.368x2(k)+u(k)y(k)=0.264x1(k)+0.368x2(k)\begin{aligned} x_1(k+1) &= x_2(k)\\ x_2(k+1) &= -0.36x_1(k) + 1.368x_2(k) + u(k)\\ y(k) &= 0.264x_1(k) + 0.368x_2(k) \end{aligned} G=[01−0.361.368],H=[01],C=[0.2640.368],D=0\mathbf{G} = \begin{bmatrix} 0 & 1 \\ -0.36 & 1.368 \end{bmatrix},\quad \mathbf{H} = \begin{bmatrix} 0 \\ 1 \end{bmatrix},\quad \mathbf{C} = \begin{bmatrix} 0.264 & 0.368 \end{bmatrix},\quad D = 0

(ii) Observable canonical form

From Y=z−1[0.368U+1.368Y+z−1(0.264U−0.36Y)]Y = z^{-1}\left[0.368U + 1.368Y + z^{-1}(0.264U - 0.36Y)\right] with x2=yx_2 = y:

x1(k+1)=−0.36x2(k)+0.264u(k)x2(k+1)=x1(k)+1.368x2(k)+0.368u(k)y(k)=x2(k)\begin{aligned} x_1(k+1) &= -0.36x_2(k) + 0.264u(k)\\ x_2(k+1) &= x_1(k) + 1.368x_2(k) + 0.368u(k)\\ y(k) &= x_2(k) \end{aligned} G=[0−0.3611.368],H=[0.2640.368],C=[01],D=0\mathbf{G} = \begin{bmatrix} 0 & -0.36 \\ 1 & 1.368 \end{bmatrix},\quad \mathbf{H} = \begin{bmatrix} 0.264 \\ 0.368 \end{bmatrix},\quad \mathbf{C} = \begin{bmatrix} 0 & 1 \end{bmatrix},\quad D = 0

Check and remark

  • Both give C(zI−G)−1H=0.368z+0.264z2−1.368z+0.36\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \dfrac{0.368z+0.264}{z^2-1.368z+0.36}.
  • The poles are z=0.3556z = 0.3556 and z=1.0124z = 1.0124. The second lies just outside the unit circle, so this system is (slightly) unstable, unlike the 0.368 version, which has a pole at exactly z=1z = 1.
  • 2068 Jestha · 8 marks

Determine pulse transfer function matrix for the following state space representation: x(k+1)=Gx(k)+Hu(k), y(k)=Cx(k)+Du(k), where G=[-4 1; -2 -1], H=[1; 1], C=[1 1; 2 1], D=[1; 0].

Answer

The pulse transfer function matrix is F(z)=C(zI−G)−1H+D\mathbf{F}(z) = \mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + \mathbf{D}. There is one input and two outputs, so F(z)\mathbf{F}(z) is a 2×1 matrix.

Step 1: zI−Gz\mathbf{I}-\mathbf{G} and its inverse

zI−G=[z+4−12z+1]z\mathbf{I}-\mathbf{G} = \begin{bmatrix} z+4 & -1 \\ 2 & z+1 \end{bmatrix} ∣zI−G∣=(z+4)(z+1)+2=z2+5z+6=(z+2)(z+3)|z\mathbf{I}-\mathbf{G}| = (z+4)(z+1) + 2 = z^2 + 5z + 6 = (z+2)(z+3) (zI−G)−1=1(z+2)(z+3)[z+11−2z+4](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{(z+2)(z+3)}\begin{bmatrix} z+1 & 1 \\ -2 & z+4 \end{bmatrix}

Step 2: Multiply by H

(zI−G)−1H=1(z+2)(z+3)[z+1+1−2+z+4]=1(z+2)(z+3)[z+2z+2]=[1z+31z+3](z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{1}{(z+2)(z+3)}\begin{bmatrix} z+1+1 \\ -2+z+4 \end{bmatrix} = \frac{1}{(z+2)(z+3)}\begin{bmatrix} z+2 \\ z+2 \end{bmatrix} = \begin{bmatrix} \dfrac{1}{z+3} \\[2mm] \dfrac{1}{z+3} \end{bmatrix}

Step 3: Multiply by C

C(zI−G)−1H=[1121][1z+31z+3]=[2z+33z+3]\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \begin{bmatrix} 1 & 1 \\ 2 & 1 \end{bmatrix}\begin{bmatrix} \dfrac{1}{z+3} \\[2mm] \dfrac{1}{z+3} \end{bmatrix} = \begin{bmatrix} \dfrac{2}{z+3} \\[2mm] \dfrac{3}{z+3} \end{bmatrix}

Step 4: Add D

F(z)=[2z+3+13z+3+0]=[z+5z+33z+3]\mathbf{F}(z) = \begin{bmatrix} \dfrac{2}{z+3} + 1 \\[2mm] \dfrac{3}{z+3} + 0 \end{bmatrix} = \begin{bmatrix} \dfrac{z+5}{z+3} \\[2mm] \dfrac{3}{z+3} \end{bmatrix}

Remarks

  • The factor (z+2)(z+2) cancels: the mode at z=−2z = -2 is not excited by the input, so it does not appear in F(z)\mathbf{F}(z).
  • The non-zero D1=1D_1 = 1 makes Y1/UY_1/U have equal numerator and denominator degree (direct feed-through).

Answer: Y1(z)U(z)=z+5z+3\dfrac{Y_1(z)}{U(z)} = \dfrac{z+5}{z+3}, Y2(z)U(z)=3z+3\dfrac{Y_2(z)}{U(z)} = \dfrac{3}{z+3}

  • 2081 Chaitra · 8 marks

Obtain the pulse transfer function of the system defined by: x(k+1)=Gx(k)+Hu(k), y(k)=Cx(k)+Du(k), where G=[-0.3679 1 0; -0.1353 0 1; -0.0497 0 0], H=[0.5; 0.25; 0.125], C=[1 0 0] and D=1.25.

Answer

The pulse transfer function is F(z)=C(zI−G)−1H+DF(z) = \mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + D. Because C=[1 0 0]\mathbf{C} = [1\ 0\ 0], only the first row of the inverse is needed.

Step 1: Characteristic polynomial

zI−G=[z+0.3679−100.1353z−10.04970z]z\mathbf{I}-\mathbf{G} = \begin{bmatrix} z+0.3679 & -1 & 0 \\ 0.1353 & z & -1 \\ 0.0497 & 0 & z \end{bmatrix} ∣zI−G∣=(z+0.3679)(z2)+1 (0.1353z+0.0497)=z3+0.3679z2+0.1353z+0.0497\begin{aligned} |z\mathbf{I}-\mathbf{G}| &= (z+0.3679)(z^2) + 1\,(0.1353z + 0.0497)\\ &= z^3 + 0.3679z^2 + 0.1353z + 0.0497 \end{aligned}

Step 2: First row of adj(zI−G)(z\mathbf{I}-\mathbf{G})

[z2z1]\begin{bmatrix} z^2 & z & 1 \end{bmatrix}

(Cofactors of the first column: z⋅z−0z\cdot z - 0, −(−z−0)-(-z - 0), (+1)−0(+1) - 0.)

Step 3: C adj H\mathbf{C}\,\text{adj}\,\mathbf{H}

[z2z1][0.50.250.125]=0.5z2+0.25z+0.125\begin{bmatrix} z^2 & z & 1 \end{bmatrix}\begin{bmatrix} 0.5 \\ 0.25 \\ 0.125 \end{bmatrix} = 0.5z^2 + 0.25z + 0.125

Step 4: Add D

F(z)=1.25+0.5z2+0.25z+0.125z3+0.3679z2+0.1353z+0.0497=1.25z3+(0.5+1.25×0.3679)z2+(0.25+1.25×0.1353)z+(0.125+1.25×0.0497)z3+0.3679z2+0.1353z+0.0497\begin{aligned} F(z) &= 1.25 + \frac{0.5z^2 + 0.25z + 0.125}{z^3 + 0.3679z^2 + 0.1353z + 0.0497}\\ &= \frac{1.25z^3 + (0.5 + 1.25\times0.3679)z^2 + (0.25 + 1.25\times0.1353)z + (0.125 + 1.25\times0.0497)}{z^3 + 0.3679z^2 + 0.1353z + 0.0497} \end{aligned}

Result

F(z)=Y(z)U(z)=1.25z3+0.9599z2+0.4191z+0.1871z3+0.3679z2+0.1353z+0.0497F(z) = \frac{Y(z)}{U(z)} = \frac{1.25z^3 + 0.9599z^2 + 0.4191z + 0.1871}{z^3 + 0.3679z^2 + 0.1353z + 0.0497}

In powers of z−1z^{-1}:

F(z)=1.25+0.9599z−1+0.4191z−2+0.1871z−31+0.3679z−1+0.1353z−2+0.0497z−3F(z) = \frac{1.25 + 0.9599z^{-1} + 0.4191z^{-2} + 0.1871z^{-3}}{1 + 0.3679z^{-1} + 0.1353z^{-2} + 0.0497z^{-3}}

The given model is an observable-type companion form, so in general bi=hi+aib0b_i = h_i + a_ib_0. This matches the numerator found above.

  • 2072 Asoj · 6 marks

State space representation of a system is given by [ẋ₁; ẋ₂]=[0 1; 0 -2][x₁; x₂]+[0; 1]u. Obtain the pulse transfer function matrix.

Answer

The continuous model is first discretized with a zero-order hold (G=eAT\mathbf{G} = e^{\mathbf{A}T}, H=∫0TeAλdλ B\mathbf{H} = \int_0^T e^{\mathbf{A}\lambda}d\lambda\,\mathbf{B}). The pulse transfer function matrix is then (zI−G)−1H(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H}. No output equation is given, so the matrix is found from u to the state vector x\mathbf{x}, for general T and for T = 1 s.

Step 1: eAte^{\mathbf{A}t}

A=[010−2],(sI−A)−1=[1s1s(s+2)01s+2]\mathbf{A} = \begin{bmatrix} 0 & 1 \\ 0 & -2 \end{bmatrix},\qquad (s\mathbf{I}-\mathbf{A})^{-1} = \begin{bmatrix} \dfrac{1}{s} & \dfrac{1}{s(s+2)} \\[2mm] 0 & \dfrac{1}{s+2} \end{bmatrix} eAt=[112(1−e−2t)0e−2t]e^{\mathbf{A}t} = \begin{bmatrix} 1 & \tfrac{1}{2}(1-e^{-2t}) \\ 0 & e^{-2t} \end{bmatrix}

Step 2: G and H

G=[112(1−e−2T)0e−2T],H=∫0T[12(1−e−2λ)e−2λ]dλ=[14(2T−1+e−2T)12(1−e−2T)]\mathbf{G} = \begin{bmatrix} 1 & \tfrac{1}{2}(1-e^{-2T}) \\ 0 & e^{-2T} \end{bmatrix},\qquad \mathbf{H} = \int_0^T\begin{bmatrix} \tfrac{1}{2}(1-e^{-2\lambda}) \\ e^{-2\lambda} \end{bmatrix}d\lambda = \begin{bmatrix} \tfrac{1}{4}(2T-1+e^{-2T}) \\ \tfrac{1}{2}(1-e^{-2T}) \end{bmatrix}

For T = 1 s: G=[10.432300.1353]\mathbf{G} = \begin{bmatrix} 1 & 0.4323 \\ 0 & 0.1353 \end{bmatrix}, H=[0.28380.4323]\mathbf{H} = \begin{bmatrix} 0.2838 \\ 0.4323 \end{bmatrix}.

Step 3: (zI−G)−1H(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H}

(zI−G)−1=1(z−1)(z−e−2T)[z−e−2T12(1−e−2T)0z−1](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{(z-1)(z-e^{-2T})}\begin{bmatrix} z-e^{-2T} & \tfrac{1}{2}(1-e^{-2T}) \\ 0 & z-1 \end{bmatrix} X(z)U(z)=[(2T−1+e−2T)z+(1−e−2T−2Te−2T)4(z−1)(z−e−2T)12(1−e−2T)z−e−2T]\frac{\mathbf{X}(z)}{U(z)} = \begin{bmatrix} \dfrac{(2T-1+e^{-2T})z + (1-e^{-2T}-2Te^{-2T})}{4(z-1)(z-e^{-2T})} \\[3mm] \dfrac{\tfrac{1}{2}(1-e^{-2T})}{z-e^{-2T}} \end{bmatrix}

For T = 1 s

X(z)U(z)=[0.2838z+0.1485(z−1)(z−0.1353)0.4323z−0.1353]\frac{\mathbf{X}(z)}{U(z)} = \begin{bmatrix} \dfrac{0.2838z + 0.1485}{(z-1)(z-0.1353)} \\[3mm] \dfrac{0.4323}{z-0.1353} \end{bmatrix}

Interpretation

  • If the output is y=x1y = x_1 (position), the pulse transfer function is the first element. This is the ZOH equivalent of 1/[s(s+2)]1/[s(s+2)].
  • If the output is y=x2y = x_2 (velocity), it is the second element, the ZOH equivalent of 1/(s+2)1/(s+2).
  • For any output y=Cxy = \mathbf{C}\mathbf{x}, the pulse transfer function is C\mathbf{C} times this vector.
  • 2072 Magh · 8 marks

Obtain the discrete-time state and output equations and pulse transfer function (when the sampling period T = 1) of the following continuous-time system: G(s)=Y(s)/U(s)=1/s(s+2), which may be represented in state space by the equations [ẋ₁; ẋ₂]=[0 1; 0 -2][x₁; x₂]+[0; 1]u, y=[1 0][x₁; x₂].

Answer

With a zero-order hold, the discrete model is x(k+1)=Gx(k)+Hu(k)\mathbf{x}(k+1) = \mathbf{G}\mathbf{x}(k) + \mathbf{H}u(k), y(k)=Cx(k)y(k) = \mathbf{C}\mathbf{x}(k), where G=eAT\mathbf{G} = e^{\mathbf{A}T} and H=(∫0TeAλdλ)B\mathbf{H} = \left(\int_0^T e^{\mathbf{A}\lambda}d\lambda\right)\mathbf{B}.

Step 1: State transition matrix of the continuous system

(sI−A)−1=[s−10s+2]−1=[1s1s(s+2)01s+2](s\mathbf{I}-\mathbf{A})^{-1} = \begin{bmatrix} s & -1 \\ 0 & s+2 \end{bmatrix}^{-1} = \begin{bmatrix} \dfrac{1}{s} & \dfrac{1}{s(s+2)} \\[2mm] 0 & \dfrac{1}{s+2} \end{bmatrix} eAt=[112(1−e−2t)0e−2t]e^{\mathbf{A}t} = \begin{bmatrix} 1 & \tfrac{1}{2}(1-e^{-2t}) \\ 0 & e^{-2t} \end{bmatrix}

Step 2: G and H for T = 1 s

e−2=0.1353e^{-2} = 0.1353:

G=eA=[112(1−e−2)0e−2]=[10.432300.1353]\mathbf{G} = e^{\mathbf{A}} = \begin{bmatrix} 1 & \tfrac{1}{2}(1-e^{-2}) \\ 0 & e^{-2} \end{bmatrix} = \begin{bmatrix} 1 & 0.4323 \\ 0 & 0.1353 \end{bmatrix} H=∫01[12(1−e−2λ)e−2λ]dλ=[12[1−12(1−e−2)]12(1−e−2)]=[0.28380.4323]\begin{aligned} \mathbf{H} &= \int_0^1\begin{bmatrix} \tfrac{1}{2}(1-e^{-2\lambda}) \\ e^{-2\lambda} \end{bmatrix}d\lambda = \begin{bmatrix} \tfrac{1}{2}\left[1 - \tfrac{1}{2}(1-e^{-2})\right] \\ \tfrac{1}{2}(1-e^{-2}) \end{bmatrix} = \begin{bmatrix} 0.2838 \\ 0.4323 \end{bmatrix} \end{aligned}

Discrete state and output equations

[x1(k+1)x2(k+1)]=[10.432300.1353][x1(k)x2(k)]+[0.28380.4323]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 1 & 0.4323 \\ 0 & 0.1353 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0.2838 \\ 0.4323 \end{bmatrix}u(k) y(k)=[10][x1(k)x2(k)]y(k) = \begin{bmatrix} 1 & 0 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Step 3: Pulse transfer function

(zI−G)−1=1(z−1)(z−0.1353)[z−0.13530.43230z−1](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{(z-1)(z-0.1353)}\begin{bmatrix} z-0.1353 & 0.4323 \\ 0 & z-1 \end{bmatrix} F(z)=C(zI−G)−1H=0.2838(z−0.1353)+0.4323×0.4323(z−1)(z−0.1353)=0.2838z+0.1485(z−1)(z−0.1353)=0.2838z+0.1485z2−1.1353z+0.1353\begin{aligned} F(z) &= \mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{0.2838(z-0.1353) + 0.4323\times0.4323}{(z-1)(z-0.1353)}\\ &= \frac{0.2838z + 0.1485}{(z-1)(z-0.1353)} = \frac{0.2838z + 0.1485}{z^2 - 1.1353z + 0.1353} \end{aligned}

Check by direct transformation

(1−z−1) Z[1s2(s+2)]=(2T−1+e−2T)z+(1−e−2T−2Te−2T)4(z−1)(z−e−2T)=1.1353z+0.59404(z−1)(z−0.1353)(1-z^{-1})\,\mathcal{Z}\left[\frac{1}{s^2(s+2)}\right] = \frac{(2T-1+e^{-2T})z + (1-e^{-2T}-2Te^{-2T})}{4(z-1)(z-e^{-2T})} = \frac{1.1353z + 0.5940}{4(z-1)(z-0.1353)}

This is the same result.

Answer: F(z)=0.2838z+0.1485(z−1)(z−0.1353)=0.2838z−1+0.1485z−21−1.1353z−1+0.1353z−2F(z) = \dfrac{0.2838z + 0.1485}{(z-1)(z-0.1353)} = \dfrac{0.2838z^{-1} + 0.1485z^{-2}}{1 - 1.1353z^{-1} + 0.1353z^{-2}}

  • 2079 Chaitra · 8 marks

Consider the following system: Y(z)/U(z)=(z+1)/(z²+1.3z+0.4). Obtain the state space representation of the above pulse transfer function in the controllable canonical form.

Answer

In the controllable canonical form the state variables are successive time shifts of an intermediate variable q(k)q(k). G\mathbf{G} is a companion matrix with the denominator coefficients in its last row, and H=[0  1]T\mathbf{H} = [0\ \ 1]^T.

Coefficients

Y(z)U(z)=z+1z2+1.3z+0.4=0⋅z2+1⋅z+1z2+1.3z+0.4\frac{Y(z)}{U(z)} = \frac{z+1}{z^2+1.3z+0.4} = \frac{0\cdot z^2 + 1\cdot z + 1}{z^2 + 1.3z + 0.4}

a1=1.3a_1 = 1.3, a2=0.4a_2 = 0.4, b0=0b_0 = 0, b1=1b_1 = 1, b2=1b_2 = 1.

Derivation

Introduce Q(z)Q(z) such that

Q(z)U(z)=1z2+1.3z+0.4,Y(z)=(z+1)Q(z)\frac{Q(z)}{U(z)} = \frac{1}{z^2+1.3z+0.4},\qquad Y(z) = (z+1)Q(z)

In the time domain, q(k+2)+1.3q(k+1)+0.4q(k)=u(k)q(k+2) + 1.3q(k+1) + 0.4q(k) = u(k) and y(k)=q(k+1)+q(k)y(k) = q(k+1) + q(k). Choose x1(k)=q(k)x_1(k) = q(k) and x2(k)=q(k+1)x_2(k) = q(k+1):

x1(k+1)=x2(k)x2(k+1)=−0.4x1(k)−1.3x2(k)+u(k)y(k)=x1(k)+x2(k)\begin{aligned} x_1(k+1) &= x_2(k)\\ x_2(k+1) &= -0.4x_1(k) - 1.3x_2(k) + u(k)\\ y(k) &= x_1(k) + x_2(k) \end{aligned}

Controllable canonical form

[x1(k+1)x2(k+1)]=[01−0.4−1.3][x1(k)x2(k)]+[01]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -0.4 & -1.3 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 1 \end{bmatrix}u(k) y(k)=[11][x1(k)x2(k)]y(k) = \begin{bmatrix} 1 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check

C(zI−G)−1H=[11][z+1.31−0.4z][01]z2+1.3z+0.4=1+zz2+1.3z+0.4\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{\begin{bmatrix} 1 & 1 \end{bmatrix}\begin{bmatrix} z+1.3 & 1 \\ -0.4 & z \end{bmatrix}\begin{bmatrix} 0 \\ 1 \end{bmatrix}}{z^2+1.3z+0.4} = \frac{1 + z}{z^2+1.3z+0.4}
  • 2078 Chaitra · 8 marks

What do you mean by state representation and why is it required? Consider the following system: Y(z)/U(z)=(z+1)/(z²+1.3z+0.4). Obtain the state representation of the above pulse transfer function in the controllable canonical form.

Answer

State representation

The state of a system is the smallest set of variables x1(k),…,xn(k)x_1(k), \ldots, x_n(k) such that knowing them at k=k0k = k_0, together with the input for k≥k0k \ge k_0, completely fixes the future behaviour. A discrete-time system is then described by first-order vector difference equations:

x(k+1)=Gx(k)+Hu(k),y(k)=Cx(k)+Du(k)\mathbf{x}(k+1) = \mathbf{G}\mathbf{x}(k) + \mathbf{H}\mathbf{u}(k),\qquad \mathbf{y}(k) = \mathbf{C}\mathbf{x}(k) + \mathbf{D}\mathbf{u}(k)

Why it is required

  • It handles multi-input multi-output systems as easily as single-input ones; transfer functions become clumsy for these.
  • It includes initial conditions, whereas a transfer function assumes zero initial state.
  • It applies to time-varying and nonlinear systems, not only LTI ones.
  • It shows internal behaviour: hidden modes, controllability and observability. A transfer function can hide pole–zero cancellations.
  • It is the basis of modern design: pole placement, state observers, optimal (LQR) control and Liapunov stability.
  • The first-order form is ideal for computer simulation and implementation.

Controllable canonical form of the given system

Coefficients

Y(z)U(z)=z+1z2+1.3z+0.4=0⋅z2+1⋅z+1z2+1.3z+0.4\frac{Y(z)}{U(z)} = \frac{z+1}{z^2+1.3z+0.4} = \frac{0\cdot z^2 + 1\cdot z + 1}{z^2 + 1.3z + 0.4}

a1=1.3a_1 = 1.3, a2=0.4a_2 = 0.4, b0=0b_0 = 0, b1=1b_1 = 1, b2=1b_2 = 1.

Derivation

Introduce Q(z)Q(z) such that

Q(z)U(z)=1z2+1.3z+0.4,Y(z)=(z+1)Q(z)\frac{Q(z)}{U(z)} = \frac{1}{z^2+1.3z+0.4},\qquad Y(z) = (z+1)Q(z)

In the time domain, q(k+2)+1.3q(k+1)+0.4q(k)=u(k)q(k+2) + 1.3q(k+1) + 0.4q(k) = u(k) and y(k)=q(k+1)+q(k)y(k) = q(k+1) + q(k). Choose x1(k)=q(k)x_1(k) = q(k) and x2(k)=q(k+1)x_2(k) = q(k+1):

x1(k+1)=x2(k)x2(k+1)=−0.4x1(k)−1.3x2(k)+u(k)y(k)=x1(k)+x2(k)\begin{aligned} x_1(k+1) &= x_2(k)\\ x_2(k+1) &= -0.4x_1(k) - 1.3x_2(k) + u(k)\\ y(k) &= x_1(k) + x_2(k) \end{aligned}

Controllable canonical form

[x1(k+1)x2(k+1)]=[01−0.4−1.3][x1(k)x2(k)]+[01]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -0.4 & -1.3 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 1 \end{bmatrix}u(k) y(k)=[11][x1(k)x2(k)]y(k) = \begin{bmatrix} 1 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check

C(zI−G)−1H=[11][z+1.31−0.4z][01]z2+1.3z+0.4=1+zz2+1.3z+0.4\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} = \frac{\begin{bmatrix} 1 & 1 \end{bmatrix}\begin{bmatrix} z+1.3 & 1 \\ -0.4 & z \end{bmatrix}\begin{bmatrix} 0 \\ 1 \end{bmatrix}}{z^2+1.3z+0.4} = \frac{1 + z}{z^2+1.3z+0.4}
  • 2073 Magh · 8 marks

Consider the following system: Y(z)/U(z)=(z+1)/(z²+1.3z+0.4). Obtain the state space representation of the above pulse transfer function in the controllable canonical form and observable canonical form.

Answer

Both forms are found from the same coefficients: a1=1.3a_1 = 1.3, a2=0.4a_2 = 0.4, b0=0b_0 = 0, b1=1b_1 = 1, b2=1b_2 = 1.

Y(z)U(z)=z+1z2+1.3z+0.4\frac{Y(z)}{U(z)} = \frac{z+1}{z^2+1.3z+0.4}

Controllable canonical form

Let Q(z)U(z)=1z2+1.3z+0.4\dfrac{Q(z)}{U(z)} = \dfrac{1}{z^2+1.3z+0.4}, so Y=(z+1)QY = (z+1)Q. With x1(k)=q(k)x_1(k) = q(k) and x2(k)=q(k+1)x_2(k) = q(k+1):

x1(k+1)=x2(k)x2(k+1)=−0.4x1(k)−1.3x2(k)+u(k)y(k)=x1(k)+x2(k)\begin{aligned} x_1(k+1) &= x_2(k)\\ x_2(k+1) &= -0.4x_1(k) - 1.3x_2(k) + u(k)\\ y(k) &= x_1(k) + x_2(k) \end{aligned} [x1(k+1)x2(k+1)]=[01−0.4−1.3][x1(k)x2(k)]+[01]u(k),y(k)=[11]x(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -0.4 & -1.3 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 1 \end{bmatrix}u(k),\qquad y(k) = \begin{bmatrix} 1 & 1 \end{bmatrix}\mathbf{x}(k)

Observable canonical form

Divide by z2z^2 and cross-multiply:

Y(z)=z−1[U−1.3Y+z−1(U−0.4Y)]Y(z) = z^{-1}\Big[U - 1.3Y + z^{-1}\big(U - 0.4Y\big)\Big]

Let X2(z)=Y(z)X_2(z) = Y(z) and X1(z)=z−1(U−0.4Y)X_1(z) = z^{-1}(U - 0.4Y):

x1(k+1)=−0.4x2(k)+u(k)x2(k+1)=x1(k)−1.3x2(k)+u(k)y(k)=x2(k)\begin{aligned} x_1(k+1) &= -0.4x_2(k) + u(k)\\ x_2(k+1) &= x_1(k) - 1.3x_2(k) + u(k)\\ y(k) &= x_2(k) \end{aligned} [x1(k+1)x2(k+1)]=[0−0.41−1.3][x1(k)x2(k)]+[11]u(k),y(k)=[01]x(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & -0.4 \\ 1 & -1.3 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 1 \\ 1 \end{bmatrix}u(k),\qquad y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\mathbf{x}(k)

Check

  • Controllable form: C adj(zI−G)H=[1  1][1z]=z+1\mathbf{C}\,\text{adj}(z\mathbf{I}-\mathbf{G})\mathbf{H} = [1\ \ 1]\begin{bmatrix} 1 \\ z \end{bmatrix} = z+1.
  • Observable form: [0  1][z+1.3−0.41z][11]=1+z[0\ \ 1]\begin{bmatrix} z+1.3 & -0.4 \\ 1 & z \end{bmatrix}\begin{bmatrix} 1 \\ 1 \end{bmatrix} = 1 + z.
  • Both have denominator z2+1.3z+0.4z^2 + 1.3z + 0.4.

The two forms are duals: Go=GcT\mathbf{G}_o = \mathbf{G}_c^T, Ho=CcT\mathbf{H}_o = \mathbf{C}_c^T, Co=HcT\mathbf{C}_o = \mathbf{H}_c^T.

  • 2071 Magh · 8 marks

Consider the following system: Y(z)/U(z)=(z+1)/(z²+1.3z+0.4). Obtain the state space representation of the above pulse transfer function in the diagonal canonical form.

Answer

The diagonal canonical form uses the partial-fraction expansion. Each distinct pole becomes a decoupled first-order state.

Poles

z2+1.3z+0.4=(z+0.5)(z+0.8)z^2 + 1.3z + 0.4 = (z+0.5)(z+0.8)

The poles are p1=−0.5p_1 = -0.5 and p2=−0.8p_2 = -0.8 (distinct). b0=0b_0 = 0.

Partial fractions

Y(z)U(z)=z+1(z+0.5)(z+0.8)=c1z+0.5+c2z+0.8\frac{Y(z)}{U(z)} = \frac{z+1}{(z+0.5)(z+0.8)} = \frac{c_1}{z+0.5} + \frac{c_2}{z+0.8} c1=[z+1z+0.8]z=−0.5=0.50.3=53=1.6667c2=[z+1z+0.5]z=−0.8=0.2−0.3=−23=−0.6667\begin{aligned} c_1 &= \left[\frac{z+1}{z+0.8}\right]_{z=-0.5} = \frac{0.5}{0.3} = \frac{5}{3} = 1.6667\\ c_2 &= \left[\frac{z+1}{z+0.5}\right]_{z=-0.8} = \frac{0.2}{-0.3} = -\frac{2}{3} = -0.6667 \end{aligned}

States

X1(z)=U(z)z+0.5X_1(z) = \dfrac{U(z)}{z+0.5}, X2(z)=U(z)z+0.8X_2(z) = \dfrac{U(z)}{z+0.8}:

x1(k+1)=−0.5x1(k)+u(k)x2(k+1)=−0.8x2(k)+u(k)y(k)=53x1(k)−23x2(k)\begin{aligned} x_1(k+1) &= -0.5x_1(k) + u(k)\\ x_2(k+1) &= -0.8x_2(k) + u(k)\\ y(k) &= \tfrac{5}{3}x_1(k) - \tfrac{2}{3}x_2(k) \end{aligned}

Diagonal canonical form

[x1(k+1)x2(k+1)]=[−0.500−0.8][x1(k)x2(k)]+[11]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} -0.5 & 0 \\ 0 & -0.8 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 1 \\ 1 \end{bmatrix}u(k) y(k)=[53−23][x1(k)x2(k)]y(k) = \begin{bmatrix} \tfrac{5}{3} & -\tfrac{2}{3} \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check

5/3z+0.5−2/3z+0.8=53z+43−23z−13(z+0.5)(z+0.8)=z+1z2+1.3z+0.4\frac{5/3}{z+0.5} - \frac{2/3}{z+0.8} = \frac{\tfrac{5}{3}z + \tfrac{4}{3} - \tfrac{2}{3}z - \tfrac{1}{3}}{(z+0.5)(z+0.8)} = \frac{z+1}{z^2+1.3z+0.4}
        +-->[1/(z+0.5)]--x1-->[ 5/3]--+
 u -----|                            (+)--> y
        +-->[1/(z+0.8)]--x2-->[-2/3]--+

Both eigenvalues lie inside the unit circle, so the system is stable. In this form each mode can be seen directly.

  • 2077 Chaitra · 8 marks

Obtain the state space representation of following pulse transfer function in controllable canonical form: Y(z)/U(z)=(1+3z⁻¹+5z⁻²+4z⁻³)/(1+2z⁻¹+7z⁻²+5z⁻³).

Answer

Since the numerator and denominator have the same degree, there is a direct term D=b0D = b_0, and the output row uses bi−aib0b_i - a_ib_0.

Standard result

For

Y(z)U(z)=b0zn+b1zn−1+⋯+bnzn+a1zn−1+⋯+an\frac{Y(z)}{U(z)} = \frac{b_0z^n + b_1z^{n-1} + \cdots + b_n}{z^n + a_1z^{n-1} + \cdots + a_n}

the controllable canonical form (Ogata) is

G=[01⋯0⋮⋱⋮00⋯1−an−an−1⋯−a1],H=[0⋮01]\mathbf{G} = \begin{bmatrix} 0 & 1 & \cdots & 0 \\ \vdots & & \ddots & \vdots \\ 0 & 0 & \cdots & 1 \\ -a_n & -a_{n-1} & \cdots & -a_1 \end{bmatrix},\quad \mathbf{H} = \begin{bmatrix} 0 \\ \vdots \\ 0 \\ 1 \end{bmatrix} C=[bn−anb0⋯b1−a1b0],D=b0\mathbf{C} = \begin{bmatrix} b_n - a_nb_0 & \cdots & b_1 - a_1b_0 \end{bmatrix},\quad D = b_0

Coefficients

Y(z)U(z)=1+3z−1+5z−2+4z−31+2z−1+7z−2+5z−3=z3+3z2+5z+4z3+2z2+7z+5\frac{Y(z)}{U(z)} = \frac{1+3z^{-1}+5z^{-2}+4z^{-3}}{1+2z^{-1}+7z^{-2}+5z^{-3}} = \frac{z^3+3z^2+5z+4}{z^3+2z^2+7z+5}
b0b_0b1b_1b2b_2b3b_3a1a_1a2a_2a3a_3
1354275
b3−a3b0=4−5=−1b2−a2b0=5−7=−2b1−a1b0=3−2=1\begin{aligned} b_3 - a_3b_0 &= 4 - 5 = -1\\ b_2 - a_2b_0 &= 5 - 7 = -2\\ b_1 - a_1b_0 &= 3 - 2 = 1 \end{aligned}

Controllable canonical form

[x1(k+1)x2(k+1)x3(k+1)]=[010001−5−7−2][x1(k)x2(k)x3(k)]+[001]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \\ x_3(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ -5 & -7 & -2 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \\ x_3(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}u(k) y(k)=[−1−21][x1(k)x2(k)x3(k)]+u(k)y(k) = \begin{bmatrix} -1 & -2 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \\ x_3(k) \end{bmatrix} + u(k)

Check

C(zI−G)−1H+D=z2−2z−1z3+2z2+7z+5+1=z3+3z2+5z+4z3+2z2+7z+5\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + D = \frac{z^2 - 2z - 1}{z^3+2z^2+7z+5} + 1 = \frac{z^3+3z^2+5z+4}{z^3+2z^2+7z+5}
  • 2076 Bhadra · 8 marks

Obtain the state space representation of following pulse transfer function in observable canonical form: Y(z)/U(z)=(0.3z⁻¹+0.6z⁻²)/(1-0.2z⁻¹+0.5z⁻²).

Answer

In the observable canonical form the denominator coefficients sit in the last column of G\mathbf{G}, the numerator terms form H\mathbf{H}, and C=[0  1]\mathbf{C} = [0\ \ 1].

Coefficients

Y(z)U(z)=0.3z−1+0.6z−21−0.2z−1+0.5z−2\frac{Y(z)}{U(z)} = \frac{0.3z^{-1}+0.6z^{-2}}{1-0.2z^{-1}+0.5z^{-2}}

a1=−0.2a_1 = -0.2, a2=0.5a_2 = 0.5, b0=0b_0 = 0, b1=0.3b_1 = 0.3, b2=0.6b_2 = 0.6.

Derivation

Cross-multiplying:

Y(z)=0.2z−1Y−0.5z−2Y+0.3z−1U+0.6z−2UY(z) = 0.2z^{-1}Y - 0.5z^{-2}Y + 0.3z^{-1}U + 0.6z^{-2}U Y(z)=z−1[0.3U+0.2Y+z−1(0.6U−0.5Y)]Y(z) = z^{-1}\Big[0.3U + 0.2Y + z^{-1}\big(0.6U - 0.5Y\big)\Big]

Define X2(z)=Y(z)X_2(z) = Y(z) and X1(z)=z−1(0.6U−0.5Y)X_1(z) = z^{-1}(0.6U - 0.5Y). Then X2=z−1(0.3U+0.2X2+X1)X_2 = z^{-1}(0.3U + 0.2X_2 + X_1):

x1(k+1)=−0.5x2(k)+0.6u(k)x2(k+1)=x1(k)+0.2x2(k)+0.3u(k)y(k)=x2(k)\begin{aligned} x_1(k+1) &= -0.5x_2(k) + 0.6u(k)\\ x_2(k+1) &= x_1(k) + 0.2x_2(k) + 0.3u(k)\\ y(k) &= x_2(k) \end{aligned}

Observable canonical form

[x1(k+1)x2(k+1)]=[0−0.510.2][x1(k)x2(k)]+[0.60.3]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & -0.5 \\ 1 & 0.2 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0.6 \\ 0.3 \end{bmatrix}u(k) y(k)=[01][x1(k)x2(k)]y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix}

Check

∣zI−G∣=∣z0.5−1z−0.2∣=z2−0.2z+0.5|z\mathbf{I}-\mathbf{G}| = \begin{vmatrix} z & 0.5 \\ -1 & z-0.2 \end{vmatrix} = z^2 - 0.2z + 0.5 C adj(zI−G) H=[1z][0.60.3]=0.3z+0.6\mathbf{C}\,\text{adj}(z\mathbf{I}-\mathbf{G})\,\mathbf{H} = \begin{bmatrix} 1 & z \end{bmatrix}\begin{bmatrix} 0.6 \\ 0.3 \end{bmatrix} = 0.3z + 0.6

So F(z)=0.3z+0.6z2−0.2z+0.5=0.3z−1+0.6z−21−0.2z−1+0.5z−2F(z) = \dfrac{0.3z+0.6}{z^2-0.2z+0.5} = \dfrac{0.3z^{-1}+0.6z^{-2}}{1-0.2z^{-1}+0.5z^{-2}}, as given.

 u --+----------[0.3]----------+
     |                         v
     +-[0.6]->(+)->[z^-1]-x1->(+)->[z^-1]--x2--+--> y
               ^                ^              |
               +----[-0.5]------+-----[0.2]----+
  • 2073 Magh · 8 marks

Check the stability of given system by Liapunov stability test: [x₁(k+1); x₂(k+1)]=[0 1; -0.5 1][x₁(k); x₂(k)].

Answer

Liapunov stability theorem (discrete time): the equilibrium x=0\mathbf{x} = \mathbf{0} of x(k+1)=Gx(k)\mathbf{x}(k+1) = \mathbf{G}\mathbf{x}(k) is asymptotically stable if and only if, for any positive-definite Hermitian matrix Q\mathbf{Q}, there is a positive-definite matrix P\mathbf{P} satisfying

GTPG−P=−Q\mathbf{G}^T\mathbf{P}\mathbf{G} - \mathbf{P} = -\mathbf{Q}

Then V(x)=xTPxV(\mathbf{x}) = \mathbf{x}^T\mathbf{P}\mathbf{x} is a Liapunov function, and ΔV=xT(GTPG−P)x=−xTQx<0\Delta V = \mathbf{x}^T(\mathbf{G}^T\mathbf{P}\mathbf{G}-\mathbf{P})\mathbf{x} = -\mathbf{x}^T\mathbf{Q}\mathbf{x} < 0.

Choose Q=I\mathbf{Q} = \mathbf{I} and P=[p11p12p12p22]\mathbf{P} = \begin{bmatrix} p_{11} & p_{12} \\ p_{12} & p_{22} \end{bmatrix}.

Forming the equations

G=[01−0.51],GT=[0−0.511]\mathbf{G} = \begin{bmatrix} 0 & 1 \\ -0.5 & 1 \end{bmatrix},\qquad \mathbf{G}^T = \begin{bmatrix} 0 & -0.5 \\ 1 & 1 \end{bmatrix} PG=[−0.5p12p11+p12−0.5p22p12+p22]\mathbf{P}\mathbf{G} = \begin{bmatrix} -0.5p_{12} & p_{11}+p_{12} \\ -0.5p_{22} & p_{12}+p_{22} \end{bmatrix} GTPG=[0.25p22−0.5(p12+p22)−0.5(p12+p22)p11+2p12+p22]\mathbf{G}^T\mathbf{P}\mathbf{G} = \begin{bmatrix} 0.25p_{22} & -0.5(p_{12}+p_{22}) \\ -0.5(p_{12}+p_{22}) & p_{11}+2p_{12}+p_{22} \end{bmatrix}

Setting GTPG−P=−I\mathbf{G}^T\mathbf{P}\mathbf{G} - \mathbf{P} = -\mathbf{I} element by element:

(1,1):0.25p22−p11=−1(1,2):−0.5p12−0.5p22−p12=0  ⇒  p22=−3p12(2,2):p11+2p12+p22−p22=−1  ⇒  p11=−1−2p12\begin{aligned} (1,1):&\quad 0.25p_{22} - p_{11} = -1\\ (1,2):&\quad -0.5p_{12} - 0.5p_{22} - p_{12} = 0 \;\Rightarrow\; p_{22} = -3p_{12}\\ (2,2):&\quad p_{11} + 2p_{12} + p_{22} - p_{22} = -1 \;\Rightarrow\; p_{11} = -1 - 2p_{12} \end{aligned}

Solving

Substitute into (1,1): 0.25(−3p12)−(−1−2p12)=−10.25(-3p_{12}) - (-1-2p_{12}) = -1, so 1.25p12=−21.25p_{12} = -2 and p12=−1.6p_{12} = -1.6. Then

p22=4.8,p11=−1+3.2=2.2p_{22} = 4.8,\qquad p_{11} = -1 + 3.2 = 2.2 P=[2.2−1.6−1.64.8]\mathbf{P} = \begin{bmatrix} 2.2 & -1.6 \\ -1.6 & 4.8 \end{bmatrix}

Test for positive definiteness (Sylvester's criterion)

  • Δ1=p11=2.2>0\Delta_1 = p_{11} = 2.2 > 0
  • Δ2=∣P∣=2.2×4.8−(1.6)2=10.56−2.56=8>0\Delta_2 = |\mathbf{P}| = 2.2\times4.8 - (1.6)^2 = 10.56 - 2.56 = 8 > 0

P\mathbf{P} is positive definite (its eigenvalues are 1.44 and 5.56).

Conclusion

The origin is asymptotically stable in the large, and V(x)=2.2x12−3.2x1x2+4.8x22V(\mathbf{x}) = 2.2x_1^2 - 3.2x_1x_2 + 4.8x_2^2 is a Liapunov function.

Cross-check: ∣zI−G∣=z2−z+0.5=0|z\mathbf{I}-\mathbf{G}| = z^2 - z + 0.5 = 0 gives z=0.5±j0.5z = 0.5 \pm j0.5, with ∣z∣=0.707<1|z| = 0.707 < 1. Both eigenvalues are inside the unit circle, which agrees.

  • 2070 Magh · 6 marks

Check the stability of given system by Liapunov stability test: [x₁(k+1); x₂(k+1)]=[0 1; -0.5 -1][x₁(k); x₂(k)].

Answer

Liapunov stability theorem (discrete time): the equilibrium x=0\mathbf{x} = \mathbf{0} of x(k+1)=Gx(k)\mathbf{x}(k+1) = \mathbf{G}\mathbf{x}(k) is asymptotically stable if and only if, for any positive-definite Hermitian matrix Q\mathbf{Q}, there is a positive-definite matrix P\mathbf{P} satisfying

GTPG−P=−Q\mathbf{G}^T\mathbf{P}\mathbf{G} - \mathbf{P} = -\mathbf{Q}

Then V(x)=xTPxV(\mathbf{x}) = \mathbf{x}^T\mathbf{P}\mathbf{x} is a Liapunov function, and ΔV=xT(GTPG−P)x=−xTQx<0\Delta V = \mathbf{x}^T(\mathbf{G}^T\mathbf{P}\mathbf{G}-\mathbf{P})\mathbf{x} = -\mathbf{x}^T\mathbf{Q}\mathbf{x} < 0.

Choose Q=I\mathbf{Q} = \mathbf{I} and P=[p11p12p12p22]\mathbf{P} = \begin{bmatrix} p_{11} & p_{12} \\ p_{12} & p_{22} \end{bmatrix}.

Forming the equations

G=[01−0.5−1],GTPG=[0.25p22−0.5(p12−p22)−0.5(p12−p22)p11−2p12+p22]\mathbf{G} = \begin{bmatrix} 0 & 1 \\ -0.5 & -1 \end{bmatrix},\qquad \mathbf{G}^T\mathbf{P}\mathbf{G} = \begin{bmatrix} 0.25p_{22} & -0.5(p_{12}-p_{22}) \\ -0.5(p_{12}-p_{22}) & p_{11}-2p_{12}+p_{22} \end{bmatrix}

Setting GTPG−P=−I\mathbf{G}^T\mathbf{P}\mathbf{G} - \mathbf{P} = -\mathbf{I}:

(1,1):0.25p22−p11=−1(1,2):−0.5p12+0.5p22−p12=0  ⇒  p22=3p12(2,2):p11−2p12=−1  ⇒  p11=2p12−1\begin{aligned} (1,1):&\quad 0.25p_{22} - p_{11} = -1\\ (1,2):&\quad -0.5p_{12} + 0.5p_{22} - p_{12} = 0 \;\Rightarrow\; p_{22} = 3p_{12}\\ (2,2):&\quad p_{11} - 2p_{12} = -1 \;\Rightarrow\; p_{11} = 2p_{12} - 1 \end{aligned}

Solving

Substitute into (1,1): 0.75p12−2p12+1=−10.75p_{12} - 2p_{12} + 1 = -1, so p12=1.6p_{12} = 1.6. Then

p22=4.8,p11=2.2p_{22} = 4.8,\qquad p_{11} = 2.2 P=[2.21.61.64.8]\mathbf{P} = \begin{bmatrix} 2.2 & 1.6 \\ 1.6 & 4.8 \end{bmatrix}

Positive definiteness

  • Δ1=2.2>0\Delta_1 = 2.2 > 0
  • Δ2=2.2×4.8−1.62=8>0\Delta_2 = 2.2\times4.8 - 1.6^2 = 8 > 0

So P\mathbf{P} is positive definite.

Conclusion

The equilibrium state x=0\mathbf{x} = \mathbf{0} is asymptotically stable, with Liapunov function V(x)=2.2x12+3.2x1x2+4.8x22V(\mathbf{x}) = 2.2x_1^2 + 3.2x_1x_2 + 4.8x_2^2 and ΔV(x)=−(x12+x22)<0\Delta V(\mathbf{x}) = -(x_1^2 + x_2^2) < 0.

Cross-check: the characteristic equation z2+z+0.5=0z^2 + z + 0.5 = 0 gives z=−0.5±j0.5z = -0.5 \pm j0.5, with ∣z∣=0.707<1|z| = 0.707 < 1.

  • 2072 Asoj · 10 marks

Consider the system defined by Y(z)/U(z)=(z+1)/(z²+z+0.6). Obtain state-space representation for this system in the following three different forms: (i) controllable canonical form (ii) observable canonical form (iii) diagonal canonical form.

Answer

The three forms all realise

Y(z)U(z)=z+1z2+z+0.6\frac{Y(z)}{U(z)} = \frac{z+1}{z^2+z+0.6}

with a1=1a_1 = 1, a2=0.6a_2 = 0.6, b0=0b_0 = 0, b1=1b_1 = 1, b2=1b_2 = 1.

(i) Controllable canonical form

Let Q(z)U(z)=1z2+z+0.6\dfrac{Q(z)}{U(z)} = \dfrac{1}{z^2+z+0.6}, so Y=(z+1)QY = (z+1)Q. With x1(k)=q(k)x_1(k) = q(k) and x2(k)=q(k+1)x_2(k) = q(k+1):

x1(k+1)=x2(k)x2(k+1)=−0.6x1(k)−x2(k)+u(k)y(k)=x1(k)+x2(k)\begin{aligned} x_1(k+1) &= x_2(k)\\ x_2(k+1) &= -0.6x_1(k) - x_2(k) + u(k)\\ y(k) &= x_1(k) + x_2(k) \end{aligned} x(k+1)=[01−0.6−1]x(k)+[01]u(k),y(k)=[11]x(k)\mathbf{x}(k+1) = \begin{bmatrix} 0 & 1 \\ -0.6 & -1 \end{bmatrix}\mathbf{x}(k) + \begin{bmatrix} 0 \\ 1 \end{bmatrix}u(k),\qquad y(k) = \begin{bmatrix} 1 & 1 \end{bmatrix}\mathbf{x}(k)

(ii) Observable canonical form

Y=z−1[U−Y+z−1(U−0.6Y)]Y = z^{-1}\left[U - Y + z^{-1}(U - 0.6Y)\right]. Take x2=yx_2 = y and X1=z−1(U−0.6Y)X_1 = z^{-1}(U - 0.6Y):

x1(k+1)=−0.6x2(k)+u(k)x2(k+1)=x1(k)−x2(k)+u(k)y(k)=x2(k)\begin{aligned} x_1(k+1) &= -0.6x_2(k) + u(k)\\ x_2(k+1) &= x_1(k) - x_2(k) + u(k)\\ y(k) &= x_2(k) \end{aligned} x(k+1)=[0−0.61−1]x(k)+[11]u(k),y(k)=[01]x(k)\mathbf{x}(k+1) = \begin{bmatrix} 0 & -0.6 \\ 1 & -1 \end{bmatrix}\mathbf{x}(k) + \begin{bmatrix} 1 \\ 1 \end{bmatrix}u(k),\qquad y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\mathbf{x}(k)

(iii) Diagonal canonical form

Poles:

z2+z+0.6=0  ⇒  p1,2=−1±1−2.42=−0.5±j0.5916z^2 + z + 0.6 = 0 \;\Rightarrow\; p_{1,2} = \frac{-1 \pm \sqrt{1-2.4}}{2} = -0.5 \pm j0.5916

They are distinct, but complex. Residues:

c1=[z+1z−p2]z=p1=0.5+j0.5916j1.1832=0.5−j0.4226c2=cˉ1=0.5+j0.4226\begin{aligned} c_1 &= \left[\frac{z+1}{z-p_2}\right]_{z=p_1} = \frac{0.5 + j0.5916}{j1.1832} = 0.5 - j0.4226\\ c_2 &= \bar{c}_1 = 0.5 + j0.4226 \end{aligned} Y(z)U(z)=0.5−j0.4226z+0.5−j0.5916+0.5+j0.4226z+0.5+j0.5916\frac{Y(z)}{U(z)} = \frac{0.5 - j0.4226}{z + 0.5 - j0.5916} + \frac{0.5 + j0.4226}{z + 0.5 + j0.5916}

With Xi=U/(z−pi)X_i = U/(z - p_i):

x(k+1)=[−0.5+j0.591600−0.5−j0.5916]x(k)+[11]u(k)\mathbf{x}(k+1) = \begin{bmatrix} -0.5 + j0.5916 & 0 \\ 0 & -0.5 - j0.5916 \end{bmatrix}\mathbf{x}(k) + \begin{bmatrix} 1 \\ 1 \end{bmatrix}u(k) y(k)=[0.5−j0.42260.5+j0.4226]x(k)y(k) = \begin{bmatrix} 0.5 - j0.4226 & 0.5 + j0.4226 \end{bmatrix}\mathbf{x}(k)

The states are complex conjugates of each other, but the output y(k)y(k) is real. Exact values: p1,2=−12±j3510p_{1,2} = -\tfrac12 \pm j\tfrac{\sqrt{35}}{10} and c1,2=12∓j3514c_{1,2} = \tfrac12 \mp j\tfrac{\sqrt{35}}{14}.

Check

  • c1+c2=1c_1 + c_2 = 1, the coefficient of z in the numerator.
  • −(c1p2+c2p1)=1-(c_1p_2 + c_2p_1) = 1, the constant term.

All three forms give z+1z2+z+0.6\dfrac{z+1}{z^2+z+0.6}. The poles have ∣p∣=0.6=0.775<1|p| = \sqrt{0.6} = 0.775 < 1, so the system is stable.

  • 2068 Magh · 8 marks

Represent system having pulse transfer function G(z)=(4z²+3z+5)/(5z²+z-4) in observable canonical form.

Answer

The leading coefficient of the denominator is 5, so divide the numerator and denominator by 5 first. Because the degrees are equal, there is a direct term D=b0D = b_0.

Normalise

G(z)=4z2+3z+55z2+z−4=0.8z2+0.6z+1z2+0.2z−0.8G(z) = \frac{4z^2+3z+5}{5z^2+z-4} = \frac{0.8z^2 + 0.6z + 1}{z^2 + 0.2z - 0.8}
b0b_0b1b_1b2b_2a1a_1a2a_2
0.80.610.2−0.8
b2−a2b0=1−(−0.8)(0.8)=1.64b1−a1b0=0.6−(0.2)(0.8)=0.44\begin{aligned} b_2 - a_2b_0 &= 1 - (-0.8)(0.8) = 1.64\\ b_1 - a_1b_0 &= 0.6 - (0.2)(0.8) = 0.44 \end{aligned}

Derivation

Separate the direct term:

G(z)=0.8+0.44z+1.64z2+0.2z−0.8G(z) = 0.8 + \frac{0.44z + 1.64}{z^2 + 0.2z - 0.8}

For the strictly proper part, W=z−1[0.44U−0.2W+z−1(1.64U+0.8W)]W = z^{-1}\left[0.44U - 0.2W + z^{-1}(1.64U + 0.8W)\right]. With x2=wx_2 = w:

x1(k+1)=0.8x2(k)+1.64u(k)x2(k+1)=x1(k)−0.2x2(k)+0.44u(k)y(k)=x2(k)+0.8u(k)\begin{aligned} x_1(k+1) &= 0.8x_2(k) + 1.64u(k)\\ x_2(k+1) &= x_1(k) - 0.2x_2(k) + 0.44u(k)\\ y(k) &= x_2(k) + 0.8u(k) \end{aligned}

Observable canonical form

[x1(k+1)x2(k+1)]=[00.81−0.2][x1(k)x2(k)]+[1.640.44]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 0.8 \\ 1 & -0.2 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 1.64 \\ 0.44 \end{bmatrix}u(k) y(k)=[01][x1(k)x2(k)]+0.8u(k)y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + 0.8u(k)

Check

C(zI−G)−1H+D=0.44z+1.64z2+0.2z−0.8+0.8=0.8z2+0.6z+1z2+0.2z−0.8=4z2+3z+55z2+z−4\mathbf{C}(z\mathbf{I}-\mathbf{G})^{-1}\mathbf{H} + D = \frac{0.44z + 1.64}{z^2+0.2z-0.8} + 0.8 = \frac{0.8z^2 + 0.6z + 1}{z^2+0.2z-0.8} = \frac{4z^2+3z+5}{5z^2+z-4}

(Poles: z=0.8z = 0.8 and z=−1z = -1. The pole at −1-1 is on the unit circle, so the system is only marginally stable.)

  • 2068 Jestha · 8 marks

Represent X(z)=(3z²+7z+15)/(z²+2z+4) in controllable canonical form.

Answer

The numerator and denominator have the same degree, so first separate the direct term D=b0D = b_0. Then use the standard controllable canonical form.

Coefficients

X(z)=3z2+7z+15z2+2z+4X(z) = \frac{3z^2+7z+15}{z^2+2z+4}

Treat this as Y(z)/U(z)Y(z)/U(z) with b0=3b_0 = 3, b1=7b_1 = 7, b2=15b_2 = 15, a1=2a_1 = 2, a2=4a_2 = 4:

b2−a2b0=15−12=3b1−a1b0=7−6=1\begin{aligned} b_2 - a_2b_0 &= 15 - 12 = 3\\ b_1 - a_1b_0 &= 7 - 6 = 1 \end{aligned}

So

Y(z)U(z)=3+z+3z2+2z+4\frac{Y(z)}{U(z)} = 3 + \frac{z + 3}{z^2 + 2z + 4}

Derivation

Let Q(z)U(z)=1z2+2z+4\dfrac{Q(z)}{U(z)} = \dfrac{1}{z^2+2z+4}, so q(k+2)=−4q(k)−2q(k+1)+u(k)q(k+2) = -4q(k) - 2q(k+1) + u(k). Take x1=q(k)x_1 = q(k) and x2=q(k+1)x_2 = q(k+1):

x1(k+1)=x2(k)x2(k+1)=−4x1(k)−2x2(k)+u(k)y(k)=3x1(k)+x2(k)+3u(k)\begin{aligned} x_1(k+1) &= x_2(k)\\ x_2(k+1) &= -4x_1(k) - 2x_2(k) + u(k)\\ y(k) &= 3x_1(k) + x_2(k) + 3u(k) \end{aligned}

Controllable canonical form

[x1(k+1)x2(k+1)]=[01−4−2][x1(k)x2(k)]+[01]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -4 & -2 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} 0 \\ 1 \end{bmatrix}u(k) y(k)=[31][x1(k)x2(k)]+3u(k)y(k) = \begin{bmatrix} 3 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + 3u(k)

Check

[3  1]1z2+2z+4[1z]+3=z+3+3z2+6z+12z2+2z+4=3z2+7z+15z2+2z+4[3\ \ 1]\frac{1}{z^2+2z+4}\begin{bmatrix} 1 \\ z \end{bmatrix} + 3 = \frac{z + 3 + 3z^2 + 6z + 12}{z^2+2z+4} = \frac{3z^2 + 7z + 15}{z^2+2z+4}
  • 2067 Mangsir · 8 marks

Represent X(z)=(3z²+7z+1)/(z²+2z+4) in observable canonical form.

Answer

The numerator and denominator have equal degree, so there is a direct term D=b0=3D = b_0 = 3. The observable form then follows the standard pattern.

Coefficients

Y(z)U(z)=3z2+7z+1z2+2z+4\frac{Y(z)}{U(z)} = \frac{3z^2+7z+1}{z^2+2z+4}

b0=3b_0 = 3, b1=7b_1 = 7, b2=1b_2 = 1, a1=2a_1 = 2, a2=4a_2 = 4:

b2−a2b0=1−12=−11b1−a1b0=7−6=1\begin{aligned} b_2 - a_2b_0 &= 1 - 12 = -11\\ b_1 - a_1b_0 &= 7 - 6 = 1 \end{aligned}

So

Y(z)U(z)=3+z−11z2+2z+4\frac{Y(z)}{U(z)} = 3 + \frac{z - 11}{z^2 + 2z + 4}

Derivation

For the strictly proper part W(z)=z−11z2+2z+4U(z)W(z) = \dfrac{z-11}{z^2+2z+4}U(z):

W=z−1[U−2W+z−1(−11U−4W)]W = z^{-1}\Big[U - 2W + z^{-1}\big(-11U - 4W\big)\Big]

Let x2=wx_2 = w and X1=z−1(−11U−4W)X_1 = z^{-1}(-11U - 4W):

x1(k+1)=−4x2(k)−11u(k)x2(k+1)=x1(k)−2x2(k)+u(k)y(k)=x2(k)+3u(k)\begin{aligned} x_1(k+1) &= -4x_2(k) - 11u(k)\\ x_2(k+1) &= x_1(k) - 2x_2(k) + u(k)\\ y(k) &= x_2(k) + 3u(k) \end{aligned}

Observable canonical form

[x1(k+1)x2(k+1)]=[0−41−2][x1(k)x2(k)]+[−111]u(k)\begin{bmatrix} x_1(k+1) \\ x_2(k+1) \end{bmatrix} = \begin{bmatrix} 0 & -4 \\ 1 & -2 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + \begin{bmatrix} -11 \\ 1 \end{bmatrix}u(k) y(k)=[01][x1(k)x2(k)]+3u(k)y(k) = \begin{bmatrix} 0 & 1 \end{bmatrix}\begin{bmatrix} x_1(k) \\ x_2(k) \end{bmatrix} + 3u(k)

Check

C adj(zI−G) H=[1z][−111]=z−11\mathbf{C}\,\text{adj}(z\mathbf{I}-\mathbf{G})\,\mathbf{H} = \begin{bmatrix} 1 & z \end{bmatrix}\begin{bmatrix} -11 \\ 1 \end{bmatrix} = z - 11 z−11z2+2z+4+3=3z2+7z+1z2+2z+4\frac{z-11}{z^2+2z+4} + 3 = \frac{3z^2 + 7z + 1}{z^2+2z+4}
  • 2067 Mangsir · 8 marks

Determine the state transition matrix for the system given by: x(k+1)=Gx(k)+Hu(k), y(k)=Cx(k)+Du(k), where G=[0 1; -0.21 -1], H=[1; 1], C=[1 0], D=[1].

Answer

The state transition matrix of x(k+1)=Gx(k)+Hu(k)\mathbf{x}(k+1) = \mathbf{G}\mathbf{x}(k) + \mathbf{H}u(k) is

ψ(k)=Gk=Z−1[(zI−G)−1z]\boldsymbol{\psi}(k) = \mathbf{G}^k = \mathcal{Z}^{-1}\left[(z\mathbf{I}-\mathbf{G})^{-1}z\right]

It depends only on G\mathbf{G}. H\mathbf{H}, C\mathbf{C} and D\mathbf{D} are needed only for the response.

Step 1: (zI−G)−1(z\mathbf{I}-\mathbf{G})^{-1}

zI−G=[z−10.21z+1],∣zI−G∣=z2+z+0.21=(z+0.3)(z+0.7)z\mathbf{I}-\mathbf{G} = \begin{bmatrix} z & -1 \\ 0.21 & z+1 \end{bmatrix},\qquad |z\mathbf{I}-\mathbf{G}| = z^2 + z + 0.21 = (z+0.3)(z+0.7) (zI−G)−1=1(z+0.3)(z+0.7)[z+11−0.21z](z\mathbf{I}-\mathbf{G})^{-1} = \frac{1}{(z+0.3)(z+0.7)}\begin{bmatrix} z+1 & 1 \\ -0.21 & z \end{bmatrix}

Step 2: Partial fractions of (zI−G)−1z(z\mathbf{I}-\mathbf{G})^{-1}z

(z+1)z(z+0.3)(z+0.7)=1.75zz+0.3−0.75zz+0.7z(z+0.3)(z+0.7)=2.5zz+0.3−2.5zz+0.7−0.21z(z+0.3)(z+0.7)=−0.525zz+0.3+0.525zz+0.7z⋅z(z+0.3)(z+0.7)=−0.75zz+0.3+1.75zz+0.7\begin{aligned} \frac{(z+1)z}{(z+0.3)(z+0.7)} &= \frac{1.75z}{z+0.3} - \frac{0.75z}{z+0.7}\\ \frac{z}{(z+0.3)(z+0.7)} &= \frac{2.5z}{z+0.3} - \frac{2.5z}{z+0.7}\\ \frac{-0.21z}{(z+0.3)(z+0.7)} &= \frac{-0.525z}{z+0.3} + \frac{0.525z}{z+0.7}\\ \frac{z\cdot z}{(z+0.3)(z+0.7)} &= \frac{-0.75z}{z+0.3} + \frac{1.75z}{z+0.7} \end{aligned}

(For example, for (1,1): at z=−0.3z = -0.3, 0.70.4=1.75\frac{0.7}{0.4} = 1.75; at z=−0.7z = -0.7, 0.3−0.4=−0.75\frac{0.3}{-0.4} = -0.75.)

Step 3: Inverse z-transform

Using Z−1[zz+a]=(−a)k\mathcal{Z}^{-1}\left[\dfrac{z}{z+a}\right] = (-a)^k:

ψ(k)=[1.75(−0.3)k−0.75(−0.7)k2.5(−0.3)k−2.5(−0.7)k−0.525(−0.3)k+0.525(−0.7)k−0.75(−0.3)k+1.75(−0.7)k]\boldsymbol{\psi}(k) = \begin{bmatrix} 1.75(-0.3)^k - 0.75(-0.7)^k & 2.5(-0.3)^k - 2.5(-0.7)^k \\ -0.525(-0.3)^k + 0.525(-0.7)^k & -0.75(-0.3)^k + 1.75(-0.7)^k \end{bmatrix}

Check

  • k=0k = 0: [1001]=I\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = \mathbf{I}
  • k=1k = 1: [−0.525+0.525−0.75+1.750.1575−0.36750.225−1.225]=[01−0.21−1]=G\begin{bmatrix} -0.525+0.525 & -0.75+1.75 \\ 0.1575-0.3675 & 0.225-1.225 \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ -0.21 & -1 \end{bmatrix} = \mathbf{G}
  • k=2k = 2: [−0.21−10.210.79]=G2\begin{bmatrix} -0.21 & -1 \\ 0.21 & 0.79 \end{bmatrix} = \mathbf{G}^2

Both eigenvalues (−0.3-0.3, −0.7-0.7) are inside the unit circle, so ψ(k)→0\boldsymbol{\psi}(k) \to \mathbf{0} and the system is asymptotically stable.

Questions from Old Question Collection (EE 652) (NCE Library scans of IOE Digital Control System papers, 2067 Mangsir to 2082 Chaitra), 2080 course papers (ENEE 304) (New-course (ENEE 304) regular paper, 2082 Chaitra) and Question bank (ioesolutions) (IOE Digital Control System papers, 2067 Mangsir to 2075 Baisakh; used for the second pages of the 2068 Magh and 2068 Jestha papers). Answers are written for this site; check them against your class notes.

Chapter titles and hours from the IOE syllabus ↗