Skip to main content

Chapter 3 · 10 hours

Analysis of Discrete Time Control System

IOE past exam questions

Past questions and answers

24 questions set from this chapter, 11 of them more than once. Most asked first.

  • Asked 5 times
  • 2082 Kartik · 8 marks
  • 2080 Chaitra · 6 marks
  • 2078 Chaitra · 6 marks
  • 2073 Bhadra · 8 marks
  • 2070 Magh · 8 marks

Determine the stability of system having characteristic equation using Jury test: P(z)=2z⁴+7z³+10z²+4z+1=0.

Answer

Jury stability test (Ogata form)

For P(z)=a0zn+a1zn−1+⋯+anP(z) = a_0z^n + a_1z^{n-1} + \dots + a_n with a0>0a_0 > 0, all roots lie inside the unit circle if and only if:

  1. ∣an∣<a0|a_n| < a_0
  2. P(1)>0P(1) > 0
  3. (−1)nP(−1)>0(-1)^nP(-1) > 0
  4. ∣bn−1∣>∣b0∣|b_{n-1}| > |b_0|, ∣cn−2∣>∣c0∣|c_{n-2}| > |c_0|, and so on, for the rows of the Jury table

The table entries are

bk=∣anan−1−ka0ak+1∣,ck=∣bn−1bn−2−kb0bk+1∣b_k = \begin{vmatrix} a_n & a_{n-1-k} \\ a_0 & a_{k+1}\end{vmatrix}, \qquad c_k = \begin{vmatrix} b_{n-1} & b_{n-2-k} \\ b_0 & b_{k+1}\end{vmatrix}

Coefficients

P(z)=2z4+7z3+10z2+4z+1P(z) = 2z^4 + 7z^3 + 10z^2 + 4z + 1, so n=4n = 4, a0=2a_0 = 2, a1=7a_1 = 7, a2=10a_2 = 10, a3=4a_3 = 4, a4=1a_4 = 1.

Conditions 1 to 3

  • ∣a4∣=1<a0=2|a_4| = 1 < a_0 = 2: satisfied
  • P(1)=2+7+10+4+1=24>0P(1) = 2 + 7 + 10 + 4 + 1 = 24 > 0: satisfied
  • (−1)4P(−1)=2−7+10−4+1=2>0(-1)^4P(-1) = 2 - 7 + 10 - 4 + 1 = 2 > 0: satisfied

Jury table

b0=a4a1−a0a3=1(7)−2(4)=−1b1=a4a2−a0a2=1(10)−2(10)=−10b2=a4a3−a0a1=1(4)−2(7)=−10b3=a4a4−a0a0=1−4=−3\begin{aligned} b_0 &= a_4a_1 - a_0a_3 = 1(7) - 2(4) = -1 \\ b_1 &= a_4a_2 - a_0a_2 = 1(10) - 2(10) = -10 \\ b_2 &= a_4a_3 - a_0a_1 = 1(4) - 2(7) = -10 \\ b_3 &= a_4a_4 - a_0a_0 = 1 - 4 = -3 \end{aligned} c0=b3b1−b0b2=(−3)(−10)−(−1)(−10)=20c1=b3b2−b0b1=(−3)(−10)−(−1)(−10)=20c2=b3b3−b0b0=9−1=8\begin{aligned} c_0 &= b_3b_1 - b_0b_2 = (-3)(-10) - (-1)(-10) = 20 \\ c_1 &= b_3b_2 - b_0b_1 = (-3)(-10) - (-1)(-10) = 20 \\ c_2 &= b_3b_3 - b_0b_0 = 9 - 1 = 8 \end{aligned}
Rowz0z^0z1z^1z2z^2z3z^3z4z^4
1141072
2271041
3b3=−3b_3 = -3b2=−10b_2 = -10b1=−10b_1 = -10b0=−1b_0 = -1
4b0=−1b_0 = -1b1=−10b_1 = -10b2=−10b_2 = -10b3=−3b_3 = -3
5c2=8c_2 = 8c1=20c_1 = 20c0=20c_0 = 20

Condition 4

  • ∣b3∣=3>∣b0∣=1|b_3| = 3 > |b_0| = 1: satisfied
  • ∣c2∣=8>∣c0∣=20|c_2| = 8 > |c_0| = 20: not satisfied

Conclusion

One Jury condition fails, so the system is unstable.

Check: the roots of P(z)P(z) are z=−1.526±j1.078z = -1.526 \pm j1.078 (magnitude 1.868, outside the unit circle) and z=−0.224±j0.305z = -0.224 \pm j0.305 (magnitude 0.379, inside). Two roots lie outside the unit circle, which confirms the result.

Answer: Unstable, because ∣c2∣=8<∣c0∣=20|c_2| = 8 < |c_0| = 20.

  • Asked 3 times
  • 2082 Chaitra · 8 marks
  • 2081 Chaitra · 6 marks
  • 2076 Bhadra · 8 marks

Consider the discrete-time unity-feedback control system whose open-loop pulse transfer function is given by G(z)=K(0.3679z+0.2642)/((z-0.3679)(z-1)). Determine the range of gain K for stability by using the Jury stability test.

Answer

Step 1: Characteristic equation

For unity feedback, 1+G(z)=01 + G(z) = 0:

(z−0.3679)(z−1)+K(0.3679z+0.2642)=0(z - 0.3679)(z - 1) + K(0.3679z + 0.2642) = 0 P(z)=z2+(0.3679K−1.3679)z+(0.3679+0.2642K)=0P(z) = z^2 + (0.3679K - 1.3679)z + (0.3679 + 0.2642K) = 0

So n=2n = 2, a0=1a_0 = 1, a1=0.3679K−1.3679a_1 = 0.3679K - 1.3679, a2=0.3679+0.2642Ka_2 = 0.3679 + 0.2642K.

Step 2: Jury conditions for a second-order system

For n=2n = 2 there are only three conditions: ∣a2∣<a0|a_2| < a_0, P(1)>0P(1) > 0, and P(−1)>0P(-1) > 0. No table rows are needed.

Condition 1: ∣a2∣<a0|a_2| < a_0

∣0.3679+0.2642K∣<1|0.3679 + 0.2642K| < 1 ⇒  −1<0.3679+0.2642K<1  ⇒  −5.178<K<1−0.36790.2642=2.3925\Rightarrow\; -1 < 0.3679 + 0.2642K < 1 \;\Rightarrow\; -5.178 < K < \frac{1 - 0.3679}{0.2642} = 2.3925

Condition 2: P(1)>0P(1) > 0

P(1)=1+0.3679K−1.3679+0.3679+0.2642K=0.6321K>0  ⇒  K>0P(1) = 1 + 0.3679K - 1.3679 + 0.3679 + 0.2642K = 0.6321K > 0 \;\Rightarrow\; K > 0

Condition 3: (−1)2P(−1)>0(-1)^2P(-1) > 0

P(−1)=1−0.3679K+1.3679+0.3679+0.2642K=2.7358−0.1037K>0  ⇒  K<26.38P(-1) = 1 - 0.3679K + 1.3679 + 0.3679 + 0.2642K = 2.7358 - 0.1037K > 0 \;\Rightarrow\; K < 26.38

Step 3: Combine

ConditionRequirement
∣a2∣<a0\lvert a_2\rvert < a_0−5.178<K<2.3925-5.178 < K < 2.3925
P(1)>0P(1) > 0K>0K > 0
P(−1)>0P(-1) > 0K<26.38K < 26.38

The intersection of all three is

0<K<2.39250 < K < 2.3925

Step 4: Check at the critical gain

At K=2.3925K = 2.3925: P(z)=z2−0.4877z+1=0P(z) = z^2 - 0.4877z + 1 = 0, which gives z=0.244±j0.970z = 0.244 \pm j0.970 with ∣z∣=1.000|z| = 1.000. The poles lie on the unit circle, so the system is marginally stable and oscillates.

This G(z)G(z) is the ZOH equivalent of Ks(s+1)\dfrac{K}{s(s+1)} with T=1T = 1 s. The continuous system is stable for every K>0K > 0, but sampling limits the stable gain to K<2.39K < 2.39.

Answer: The closed-loop system is stable for 0<K<2.39250 < K < 2.3925.

  • Asked 3 times
  • 2077 Chaitra · 8 marks
  • 2075 Baisakh · 4 marks
  • 2074 Bhadra · 4 marks

Determine the stability of system having characteristic equation using Jury test: P(z)=z³-1.1z²-0.1z+0.2=0.

Answer

Jury stability test (Ogata form)

For P(z)=a0zn+a1zn−1+⋯+anP(z) = a_0z^n + a_1z^{n-1} + \dots + a_n with a0>0a_0 > 0, all roots lie inside the unit circle if and only if:

  1. ∣an∣<a0|a_n| < a_0
  2. P(1)>0P(1) > 0
  3. (−1)nP(−1)>0(-1)^nP(-1) > 0
  4. ∣bn−1∣>∣b0∣|b_{n-1}| > |b_0|, ∣cn−2∣>∣c0∣|c_{n-2}| > |c_0|, and so on, for the rows of the Jury table

The table entries are

bk=∣anan−1−ka0ak+1∣,ck=∣bn−1bn−2−kb0bk+1∣b_k = \begin{vmatrix} a_n & a_{n-1-k} \\ a_0 & a_{k+1}\end{vmatrix}, \qquad c_k = \begin{vmatrix} b_{n-1} & b_{n-2-k} \\ b_0 & b_{k+1}\end{vmatrix}

Coefficients

P(z)=z3−1.1z2−0.1z+0.2P(z) = z^3 - 1.1z^2 - 0.1z + 0.2, so n=3n = 3, a0=1a_0 = 1, a1=−1.1a_1 = -1.1, a2=−0.1a_2 = -0.1, a3=0.2a_3 = 0.2.

Conditions 1 to 3

  • ∣a3∣=0.2<a0=1|a_3| = 0.2 < a_0 = 1: satisfied
  • P(1)=1−1.1−0.1+0.2=0P(1) = 1 - 1.1 - 0.1 + 0.2 = 0: not greater than 0. The equality means there is a root exactly at z=1z = 1.
  • (−1)3P(−1)=−(−1−1.1+0.1+0.2)=1.8>0(-1)^3P(-1) = -(-1 - 1.1 + 0.1 + 0.2) = 1.8 > 0: satisfied

Jury table (for completeness)

b0=a3a1−a0a2=0.2(−1.1)−1(−0.1)=−0.12b1=a3a2−a0a1=0.2(−0.1)−1(−1.1)=1.08b2=a3a3−a0a0=0.04−1=−0.96\begin{aligned} b_0 &= a_3a_1 - a_0a_2 = 0.2(-1.1) - 1(-0.1) = -0.12 \\ b_1 &= a_3a_2 - a_0a_1 = 0.2(-0.1) - 1(-1.1) = 1.08 \\ b_2 &= a_3a_3 - a_0a_0 = 0.04 - 1 = -0.96 \end{aligned}
Rowz0z^0z1z^1z2z^2z3z^3
10.2−0.1−1.11
21−1.1−0.10.2
3b2=−0.96b_2 = -0.96b1=1.08b_1 = 1.08b0=−0.12b_0 = -0.12
  • ∣b2∣=0.96>∣b0∣=0.12|b_2| = 0.96 > |b_0| = 0.12: satisfied

Conclusion

All conditions hold except P(1)>0P(1) > 0, which is exactly zero. So one root lies on the unit circle at z=1z = 1 and the others lie inside. The system is critically (marginally) stable, not asymptotically stable.

Check by factorising:

P(z)=(z−1)(z2−0.1z−0.2)=(z−1)(z−0.5)(z+0.4)P(z) = (z - 1)(z^2 - 0.1z - 0.2) = (z - 1)(z - 0.5)(z + 0.4)

The roots are z=1z = 1, 0.50.5 and −0.4-0.4, which confirms the result.

Answer: Critically (marginally) stable, with a root at z=1z = 1 (because P(1)=0P(1) = 0).

  • Asked 3 times
  • 2073 Bhadra · 4 marks
  • 2071 Magh · 4 marks
  • 2070 Magh · 4 marks

Explain one of the methods for mapping s-plane to z-plane. (How can s-plane be converted into z-plane and vice versa?)

Answer

The s-plane and z-plane are linked by the sampling relation z=eTsz = e^{Ts}, where TT is the sampling period. The inverse relation is s=1Tln⁡zs = \dfrac{1}{T}\ln z.

Mapping s→zs \to z

Put s=σ+jωs = \sigma + j\omega:

z=eT(σ+jω)=eσTejωT  ⇒  ∣z∣=eσT,∠z=ωTz = e^{T(\sigma + j\omega)} = e^{\sigma T}e^{j\omega T} \;\Rightarrow\; |z| = e^{\sigma T}, \quad \angle z = \omega T
s-planez-plane
Imaginary axis (σ=0\sigma = 0)Unit circle ∣z∣=1\lvert z\rvert = 1
Left half-plane (σ<0\sigma < 0)Inside the unit circle
Right half-plane (σ>0\sigma > 0)Outside the unit circle
Origin s=0s = 0z=1z = 1
Constant σ\sigma (vertical line)Circle of radius eσTe^{\sigma T}
Constant ω\omega (horizontal line)Radial line at angle ωT\omega T
Constant ζ\zeta lineLogarithmic spiral

As ω\omega goes from −ωs/2-\omega_s/2 to ωs/2\omega_s/2 (with ωs=2π/T\omega_s = 2\pi/T), the angle ωT\omega T goes from −π-\pi to π\pi, covering the circle once. This band is the primary strip. Each complementary strip above or below it maps onto the same z-plane again. So the mapping is many-to-one, and frequencies differing by ωs\omega_s cannot be told apart (aliasing).

   s-plane (primary strip)       z-plane
   jw
   | ws/2 ---------             .---.
   |   LHP  | RHP   ==>       /  in  \  out
 --+--------+---> sigma      | (LHP)  |
   |        |                 \      /
   | -ws/2 ---------            '---'  |z|=1

Mapping z→sz \to s

s=1Tln⁡z=1T[ln⁡∣z∣+j∠z]s = \frac{1}{T}\ln z = \frac{1}{T}\left[\ln|z| + j\angle z\right]

This gives the principal value in the primary strip.

Example: T=0.1T = 0.1 s and s=−2+j10s = -2 + j10. Then z=e−0.2∠1 rad=0.819∠57.3∘z = e^{-0.2}\angle 1\text{ rad} = 0.819\angle57.3^\circ. Going back: σ=ln⁡(0.819)/0.1=−2\sigma = \ln(0.819)/0.1 = -2 and ω=1/0.1=10\omega = 1/0.1 = 10 rad/s.

Use

The left half-plane maps to the inside of the unit circle. So a discrete system is stable when all its closed-loop poles lie inside ∣z∣=1|z| = 1. Specifications such as ζ\zeta, ωn\omega_n and settling time can also be carried from the s-plane to the z-plane for design.

  • Asked 2 times
  • 2082 Chaitra (new course) · 3 marks
  • 2082 Kartik · 3 marks

Map the following system in Z-plane. [Figure: s-plane with a shaded rectangle between σ=-2 and σ=-1, extending from jω=-ωₛ/4 to +ωₛ/4; corner/edge points a (σ=-1, -ωₛ/4), b (σ=-1, 0), c (σ=-1, +ωₛ/4), d (σ=-2, +ωₛ/4), e (σ=-2, 0), f (σ=-2, -ωₛ/4)]

Answer

Use z=eTsz = e^{Ts} with s=σ+jωs = \sigma + j\omega. Then ∣z∣=eσT|z| = e^{\sigma T} and ∠z=ωT\angle z = \omega T. Since ωs=2π/T\omega_s = 2\pi/T, the frequency ω=±ωs/4\omega = \pm\omega_s/4 gives the angle

ωT=±ωs4⋅2πωs=±π2=±90∘\omega T = \pm\frac{\omega_s}{4}\cdot\frac{2\pi}{\omega_s} = \pm\frac{\pi}{2} = \pm90^\circ

Mapping of the corner and edge points

Pointss∣z∣=eσT\lvert z\rvert = e^{\sigma T}∠z\angle z
a−1−jωs/4-1 - j\omega_s/4e−Te^{-T}−90∘-90^\circ
b−1-1e−Te^{-T}0∘0^\circ
c−1+jωs/4-1 + j\omega_s/4e−Te^{-T}+90∘+90^\circ
d−2+jωs/4-2 + j\omega_s/4e−2Te^{-2T}+90∘+90^\circ
e−2-2e−2Te^{-2T}0∘0^\circ
f−2−jωs/4-2 - j\omega_s/4e−2Te^{-2T}−90∘-90^\circ

Mapping of the edges

  • The line σ=−1\sigma = -1 (a-b-c) maps to an arc of radius e−Te^{-T} from −90∘-90^\circ to +90∘+90^\circ.
  • The line σ=−2\sigma = -2 (f-e-d) maps to an arc of radius e−2Te^{-2T} from −90∘-90^\circ to +90∘+90^\circ.
  • The lines ω=±ωs/4\omega = \pm\omega_s/4 (c-d and f-a) map to the radial segments along the positive and negative imaginary axes, between the two radii.

Mapped region

The shaded rectangle maps to the right half of an annulus (a half-ring) lying between the circles ∣z∣=e−2T|z| = e^{-2T} and ∣z∣=e−T|z| = e^{-T}, for −90∘≤∠z≤90∘-90^\circ \le \angle z \le 90^\circ. It lies entirely inside the unit circle.

          Im z
           |
           c        c: r=e^-T,  +90 deg
           |  .
           d    .   d: r=e^-2T, +90 deg
           | .   .
  ---------+--e---b------- Re z
           | .   .  e: e^-2T  b: e^-T
           f    .
           |  .     f: r=e^-2T, -90 deg
           a        a: r=e^-T,  -90 deg
           |
  Shaded: right half-ring, e^-2T <= |z| <= e^-T

Example with T=1T = 1 s: the inner radius is e−2=0.135e^{-2} = 0.135 and the outer radius is e−1=0.368e^{-1} = 0.368. So b = 0.368, e = 0.135, c = j0.368j0.368, d = j0.135j0.135, a = −j0.368-j0.368, f = −j0.135-j0.135.

  • Asked 2 times
  • 2075 Bhadra · 6 marks
  • 2071 Bhadra · 8 marks

Examine the stability of the following characteristic equation using Jury test: P(z)=z⁴-1.2z³+0.07z²+0.3z-0.08=0.

Answer

Jury stability test (Ogata form)

For P(z)=a0zn+a1zn−1+⋯+anP(z) = a_0z^n + a_1z^{n-1} + \dots + a_n with a0>0a_0 > 0, all roots lie inside the unit circle if and only if:

  1. ∣an∣<a0|a_n| < a_0
  2. P(1)>0P(1) > 0
  3. (−1)nP(−1)>0(-1)^nP(-1) > 0
  4. ∣bn−1∣>∣b0∣|b_{n-1}| > |b_0|, ∣cn−2∣>∣c0∣|c_{n-2}| > |c_0|, and so on, for the rows of the Jury table

The table entries are

bk=∣anan−1−ka0ak+1∣,ck=∣bn−1bn−2−kb0bk+1∣b_k = \begin{vmatrix} a_n & a_{n-1-k} \\ a_0 & a_{k+1}\end{vmatrix}, \qquad c_k = \begin{vmatrix} b_{n-1} & b_{n-2-k} \\ b_0 & b_{k+1}\end{vmatrix}

Coefficients

P(z)=z4−1.2z3+0.07z2+0.3z−0.08P(z) = z^4 - 1.2z^3 + 0.07z^2 + 0.3z - 0.08, so n=4n = 4, a0=1a_0 = 1, a1=−1.2a_1 = -1.2, a2=0.07a_2 = 0.07, a3=0.3a_3 = 0.3, a4=−0.08a_4 = -0.08.

Conditions 1 to 3

  • ∣a4∣=0.08<a0=1|a_4| = 0.08 < a_0 = 1: satisfied
  • P(1)=1−1.2+0.07+0.3−0.08=0.09>0P(1) = 1 - 1.2 + 0.07 + 0.3 - 0.08 = 0.09 > 0: satisfied
  • (−1)4P(−1)=1+1.2+0.07−0.3−0.08=1.89>0(-1)^4P(-1) = 1 + 1.2 + 0.07 - 0.3 - 0.08 = 1.89 > 0: satisfied

Jury table

b0=a4a1−a0a3=(−0.08)(−1.2)−0.3=−0.2040b1=a4a2−a0a2=(−0.08)(0.07)−0.07=−0.0756b2=a4a3−a0a1=(−0.08)(0.3)+1.2=1.1760b3=a42−a02=0.0064−1=−0.9936\begin{aligned} b_0 &= a_4a_1 - a_0a_3 = (-0.08)(-1.2) - 0.3 = -0.2040 \\ b_1 &= a_4a_2 - a_0a_2 = (-0.08)(0.07) - 0.07 = -0.0756 \\ b_2 &= a_4a_3 - a_0a_1 = (-0.08)(0.3) + 1.2 = 1.1760 \\ b_3 &= a_4^2 - a_0^2 = 0.0064 - 1 = -0.9936 \end{aligned} c0=b3b1−b0b2=(−0.9936)(−0.0756)−(−0.2040)(1.1760)=0.3150c1=b3b2−b0b1=(−0.9936)(1.1760)−(−0.2040)(−0.0756)=−1.1839c2=b32−b02=0.9872−0.0416=0.9456\begin{aligned} c_0 &= b_3b_1 - b_0b_2 = (-0.9936)(-0.0756) - (-0.2040)(1.1760) = 0.3150 \\ c_1 &= b_3b_2 - b_0b_1 = (-0.9936)(1.1760) - (-0.2040)(-0.0756) = -1.1839 \\ c_2 &= b_3^2 - b_0^2 = 0.9872 - 0.0416 = 0.9456 \end{aligned}
Rowz0z^0z1z^1z2z^2z3z^3z4z^4
1−0.080.30.07−1.21
21−1.20.070.3−0.08
3−0.99361.1760−0.0756−0.2040
4−0.2040−0.07561.1760−0.9936
50.9456−1.18390.3150

Condition 4

  • ∣b3∣=0.9936>∣b0∣=0.2040|b_3| = 0.9936 > |b_0| = 0.2040: satisfied
  • ∣c2∣=0.9456>∣c0∣=0.3150|c_2| = 0.9456 > |c_0| = 0.3150: satisfied

Conclusion

All the Jury conditions are satisfied, so all the roots lie inside the unit circle and the system is stable.

Check by factorising: P(z)=(z−0.8)(z−0.5)(z+0.5)(z−0.4)P(z) = (z - 0.8)(z - 0.5)(z + 0.5)(z - 0.4). The roots are 0.80.8, 0.50.5, −0.5-0.5 and 0.40.4, all with ∣z∣<1|z| < 1.

Answer: Stable. All conditions hold, with ∣b3∣=0.9936>0.2040|b_3| = 0.9936 > 0.2040 and ∣c2∣=0.9456>0.3150|c_2| = 0.9456 > 0.3150.

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

Obtain the closed loop transfer function of the system shown in figure below. Assume proportional gain Kₚ=1, integral gain Kᵢ=0.2, derivative gain Kd=0.2. [Take T = 1 sec] [Figure: unity-feedback loop: R(z) → summing junction → E(z) → sampler (T = 1 s) → digital PID controller → ZOH → 1/s(s+1) → C(z)]

Answer

The controller and the ZOH + plant are in cascade with only one sampler in front, so C(z)/R(z)=GD(z)G(z)/[1+GD(z)G(z)]C(z)/R(z) = G_D(z)G(z)/[1+G_D(z)G(z)].

Step 1: Pulse transfer function of controller

Digital PID controller. Using the positional PID form (Ogata), with KP=1K_P = 1, KI=0.2K_I = 0.2, KD=0.2K_D = 0.2:

GD(z)=KP+KI1−z−1+KD(1−z−1)=(KP+KI+KD)−(KP+2KD)z−1+KDz−21−z−1=1.4−1.4z−1+0.2z−21−z−1=1.4z2−1.4z+0.2z(z−1)\begin{aligned} G_D(z) &= K_P + \frac{K_I}{1-z^{-1}} + K_D(1-z^{-1}) \\ &= \frac{(K_P+K_I+K_D) - (K_P+2K_D)z^{-1} + K_D z^{-2}}{1-z^{-1}} \\ &= \frac{1.4 - 1.4z^{-1} + 0.2z^{-2}}{1-z^{-1}} = \frac{1.4z^2 - 1.4z + 0.2}{z(z-1)} \end{aligned}

Step 2: Pulse transfer function of ZOH + plant

G(z)=Z[1−e−Tss⋅1s(s+1)]=(1−z−1) Z[1s2(s+1)]1s2(s+1)=1s2−1s+1s+1G(z)=(1−z−1)[Tz(z−1)2−zz−1+zz−e−T]\begin{aligned} G(z) &= \mathcal{Z}\left[\frac{1-e^{-Ts}}{s}\cdot\frac{1}{s(s+1)}\right] = (1-z^{-1})\,\mathcal{Z}\left[\frac{1}{s^2(s+1)}\right] \\ \frac{1}{s^2(s+1)} &= \frac{1}{s^2} - \frac{1}{s} + \frac{1}{s+1} \\ G(z) &= (1-z^{-1})\left[\frac{Tz}{(z-1)^2} - \frac{z}{z-1} + \frac{z}{z-e^{-T}}\right] \end{aligned}

With T=1T = 1 s and e−1=0.3679e^{-1} = 0.3679:

G(z)=0.3679z+0.2642(z−1)(z−0.3679)G(z) = \frac{0.3679z + 0.2642}{(z-1)(z-0.3679)}

Step 3: Open-loop pulse transfer function

GD(z)G(z)=(1.4z2−1.4z+0.2)(0.3679z+0.2642)z(z−1)2(z−0.3679)=0.5151z3−0.1451z2−0.2964z+0.0528z4−2.3679z3+1.7358z2−0.3679z\begin{aligned} G_D(z)G(z) &= \frac{(1.4z^2-1.4z+0.2)(0.3679z+0.2642)}{z(z-1)^2(z-0.3679)} \\ &= \frac{0.5151z^3 - 0.1451z^2 - 0.2964z + 0.0528}{z^4 - 2.3679z^3 + 1.7358z^2 - 0.3679z} \end{aligned}

Step 4: Closed-loop pulse transfer function

Adding numerator and denominator gives the characteristic polynomial:

C(z)R(z)=GDG1+GDG=0.5151z3−0.1451z2−0.2964z+0.0528z4−1.8528z3+1.5907z2−0.6642z+0.0528\frac{C(z)}{R(z)} = \frac{G_DG}{1+G_DG} = \frac{0.5151z^3 - 0.1451z^2 - 0.2964z + 0.0528}{z^4 - 1.8528z^3 + 1.5907z^2 - 0.6642z + 0.0528}

or, in powers of z−1z^{-1}:

C(z)R(z)=0.5151z−1−0.1451z−2−0.2964z−3+0.0528z−41−1.8528z−1+1.5907z−2−0.6642z−3+0.0528z−4\frac{C(z)}{R(z)} = \frac{0.5151z^{-1} - 0.1451z^{-2} - 0.2964z^{-3} + 0.0528z^{-4}}{1 - 1.8528z^{-1} + 1.5907z^{-2} - 0.6642z^{-3} + 0.0528z^{-4}}

Answer: C(z)R(z)=0.5151z3−0.1451z2−0.2964z+0.0528z4−1.8528z3+1.5907z2−0.6642z+0.0528\dfrac{C(z)}{R(z)} = \dfrac{0.5151z^3 - 0.1451z^2 - 0.2964z + 0.0528}{z^4 - 1.8528z^3 + 1.5907z^2 - 0.6642z + 0.0528}

Check: At z=1z = 1 the numerator is 0.12640.1264 and the denominator is 0.12650.1265, so the ratio is about 1. Because the controller has integral action, the steady-state error for a step input is zero, as expected.

  • Asked 2 times
  • 2073 Bhadra · 8 marks
  • 2072 Magh · 8 marks

Obtain the pulse transfer function of the system shown below. [Figure: unity-feedback loop: R(s) → summing junction → E(s) → sampler (T = 1) → PID controller (kₚ=1, kD=0.2, kI=0.2) → ZOH → 1/(s+1) → C(s); ZOH = transfer function of zero order hold circuit]

Answer

There is one sampler in front of the controller, so the closed-loop pulse transfer function is C(z)/R(z)=GD(z)G(z)/[1+GD(z)G(z)]C(z)/R(z) = G_D(z)G(z)/[1+G_D(z)G(z)], where G(z)G(z) is the z-transform of ZOH and plant together.

Step 1: Digital PID controller

Digital PID controller. Using the positional PID form (Ogata), with KP=1K_P = 1, KI=0.2K_I = 0.2, KD=0.2K_D = 0.2:

GD(z)=KP+KI1−z−1+KD(1−z−1)=(KP+KI+KD)−(KP+2KD)z−1+KDz−21−z−1=1.4−1.4z−1+0.2z−21−z−1=1.4z2−1.4z+0.2z(z−1)\begin{aligned} G_D(z) &= K_P + \frac{K_I}{1-z^{-1}} + K_D(1-z^{-1}) \\ &= \frac{(K_P+K_I+K_D) - (K_P+2K_D)z^{-1} + K_D z^{-2}}{1-z^{-1}} \\ &= \frac{1.4 - 1.4z^{-1} + 0.2z^{-2}}{1-z^{-1}} = \frac{1.4z^2 - 1.4z + 0.2}{z(z-1)} \end{aligned}

Here KP=K−KI/2K_P = K - K_I/2, KI=KT/TiK_I = KT/T_i and KD=KTd/TK_D = KT_d/T are the usual digital PID gains. Trapezoidal integration and a backward difference for the derivative give this form.

Step 2: ZOH + plant 1/(s+1)1/(s+1)

G(z)=(1−z−1) Z[1s(s+1)]=(1−z−1)[zz−1−zz−e−T]=1−e−Tz−e−T=0.6321z−0.3679(T=1)\begin{aligned} G(z) &= (1-z^{-1})\,\mathcal{Z}\left[\frac{1}{s(s+1)}\right] = (1-z^{-1})\left[\frac{z}{z-1} - \frac{z}{z-e^{-T}}\right] \\ &= \frac{1-e^{-T}}{z-e^{-T}} = \frac{0.6321}{z-0.3679} \quad (T = 1) \end{aligned}

Step 3: Open-loop pulse transfer function

GD(z)G(z)=0.6321(1.4z2−1.4z+0.2)z(z−1)(z−0.3679)=0.8850z2−0.8850z+0.1264z3−1.3679z2+0.3679z\begin{aligned} G_D(z)G(z) &= \frac{0.6321(1.4z^2-1.4z+0.2)}{z(z-1)(z-0.3679)} \\ &= \frac{0.8850z^2 - 0.8850z + 0.1264}{z^3 - 1.3679z^2 + 0.3679z} \end{aligned}

Step 4: Closed-loop pulse transfer function

C(z)R(z)=0.8850z2−0.8850z+0.1264(z3−1.3679z2+0.3679z)+(0.8850z2−0.8850z+0.1264)=0.8850z2−0.8850z+0.1264z3−0.4829z2−0.5171z+0.1264\begin{aligned} \frac{C(z)}{R(z)} &= \frac{0.8850z^2 - 0.8850z + 0.1264}{(z^3 - 1.3679z^2 + 0.3679z) + (0.8850z^2 - 0.8850z + 0.1264)} \\ &= \frac{0.8850z^2 - 0.8850z + 0.1264}{z^3 - 0.4829z^2 - 0.5171z + 0.1264} \end{aligned}

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

C(z)R(z)=0.8850z−1−0.8850z−2+0.1264z−31−0.4829z−1−0.5171z−2+0.1264z−3\frac{C(z)}{R(z)} = \frac{0.8850z^{-1} - 0.8850z^{-2} + 0.1264z^{-3}}{1 - 0.4829z^{-1} - 0.5171z^{-2} + 0.1264z^{-3}}

Answer: C(z)R(z)=0.8850z2−0.8850z+0.1264z3−0.4829z2−0.5171z+0.1264\dfrac{C(z)}{R(z)} = \dfrac{0.8850z^2 - 0.8850z + 0.1264}{z^3 - 0.4829z^2 - 0.5171z + 0.1264}

Check: At z=1z = 1 both numerator and denominator equal 0.12640.1264. The DC gain is 1, so there is zero steady-state error to a step input because of the integral term.

  • Asked 2 times
  • 2077 Chaitra · 8 marks
  • 2070 Magh · 8 marks

Derive the pulse transfer function of digital PID controller.

Answer

A digital PID controller is the discrete-time version of the analog PID law. We obtain it by replacing the integral with a numerical sum (trapezoidal rule) and the derivative with a backward difference. Its pulse transfer function is GD(z)=U(z)/E(z)G_D(z) = U(z)/E(z).

Analog PID law

u(t)=K[e(t)+1Ti∫0te(t) dt+Tdde(t)dt]u(t) = K\left[e(t) + \frac{1}{T_i}\int_0^t e(t)\,dt + T_d\frac{de(t)}{dt}\right]

Here KK is the proportional gain, TiT_i the integral time and TdT_d the derivative time.

Discretization (sampling period TT)

  • Integral, trapezoidal rule: ∫0kTe dt≈T∑h=1ke((h−1)T)+e(hT)2\displaystyle\int_0^{kT} e\,dt \approx T\sum_{h=1}^{k}\frac{e((h-1)T)+e(hT)}{2}
  • Derivative, backward difference: dedt∣kT≈e(kT)−e((k−1)T)T\displaystyle\frac{de}{dt}\Big|_{kT} \approx \frac{e(kT)-e((k-1)T)}{T}
u(kT)=K{e(kT)+TTi∑h=1ke((h−1)T)+e(hT)2+TdT[e(kT)−e((k−1)T)]}u(kT) = K\left\{e(kT) + \frac{T}{T_i}\sum_{h=1}^{k}\frac{e((h-1)T)+e(hT)}{2} + \frac{T_d}{T}\big[e(kT)-e((k-1)T)\big]\right\}

Taking the z-transform

Let f(h)=12[e((h−1)T)+e(hT)]f(h) = \tfrac12[e((h-1)T)+e(hT)], so F(z)=12(1+z−1)E(z)F(z) = \tfrac12(1+z^{-1})E(z). A running sum transforms as Z[∑h=0kf(h)]=F(z)/(1−z−1)\mathcal{Z}\left[\sum_{h=0}^{k} f(h)\right] = F(z)/(1-z^{-1}), with f(0)=0f(0) = 0 because ee is zero for negative time. Therefore:

Z[∑h=1ke(h−1)+e(h)2]=1+z−12(1−z−1)E(z)Z[e(k)−e(k−1)]=(1−z−1)E(z)\begin{aligned} \mathcal{Z}\left[\sum_{h=1}^{k}\frac{e(h-1)+e(h)}{2}\right] &= \frac{1+z^{-1}}{2(1-z^{-1})}E(z) \\ \mathcal{Z}\big[e(k)-e(k-1)\big] &= (1-z^{-1})E(z) \end{aligned} U(z)=K[1+T2Ti⋅1+z−11−z−1+TdT(1−z−1)]E(z)U(z) = K\left[1 + \frac{T}{2T_i}\cdot\frac{1+z^{-1}}{1-z^{-1}} + \frac{T_d}{T}(1-z^{-1})\right]E(z)

Rearranging into the standard form

Use 1+z−12(1−z−1)=11−z−1−12\dfrac{1+z^{-1}}{2(1-z^{-1})} = \dfrac{1}{1-z^{-1}} - \dfrac{1}{2}:

U(z)=[K−KT2Ti+KTTi⋅11−z−1+KTdT(1−z−1)]E(z)GD(z)=U(z)E(z)=KP+KI1−z−1+KD(1−z−1)\begin{aligned} U(z) &= \left[K - \frac{KT}{2T_i} + \frac{KT}{T_i}\cdot\frac{1}{1-z^{-1}} + \frac{KT_d}{T}(1-z^{-1})\right]E(z) \\ G_D(z) &= \frac{U(z)}{E(z)} = K_P + \frac{K_I}{1-z^{-1}} + K_D(1-z^{-1}) \end{aligned}

where

GainExpressionName
KPK_PK−KT2Ti=K−KI2K - \dfrac{KT}{2T_i} = K - \dfrac{K_I}{2}proportional gain
KIK_IKTTi\dfrac{KT}{T_i}integral gain
KDK_DKTdT\dfrac{KT_d}{T}derivative gain

Single-fraction form

GD(z)=(KP+KI+KD)−(KP+2KD)z−1+KDz−21−z−1G_D(z) = \frac{(K_P+K_I+K_D) - (K_P+2K_D)z^{-1} + K_D z^{-2}}{1-z^{-1}}

Remarks

  • The pole at z=1z = 1 comes from the integral action. It makes the steady-state error to a step input zero.
  • KD(1−z−1)K_D(1-z^{-1}) adds a zero and gives phase lead (anticipation).
  • Setting KD=0K_D = 0 gives the PI controller KP+KI/(1−z−1)K_P + K_I/(1-z^{-1}). Setting KI=0K_I = 0 gives the PD controller KP+KD(1−z−1)K_P + K_D(1-z^{-1}).

Example: For KP=1K_P = 1, KI=0.2K_I = 0.2, KD=0.2K_D = 0.2: GD(z)=(1.4−1.4z−1+0.2z−2)/(1−z−1)G_D(z) = (1.4 - 1.4z^{-1} + 0.2z^{-2})/(1-z^{-1}).

  • Asked 2 times
  • 2081 Chaitra · 6 marks
  • 2073 Magh · 4×2 marks

Determine the pulse transfer function Y(z)/X(z) of the given system as shown in figure (a) and (b). [Figure (a): X(s) → sampler → X*(s) → G₁(s) → U(s) → sampler → U*(s) → G₂(s) → Y(s) → sampler → Y*(s). Figure (b): X(s) → sampler → X*(s) → G₁(s) → U(s) → G₂(s) (no sampler between) → Y(s) → sampler → Y*(s)]

Answer

The answer depends on whether a sampler separates G1G_1 and G2G_2. With a sampler between them, the two pulse transfer functions multiply. Without one, the two s-domain transfer functions must be multiplied first and then z-transformed.

(a) Sampler between G1G_1 and G2G_2

X(s)  _/  X*  +----+ U(s)  _/  U*  +----+ Y(s)  _/  Y*
 ---o/ o---->| G1 |------o/ o---->| G2 |------o/ o--->
      T      +----+        T      +----+        T
  • U(s)=G1(s)X∗(s)U(s) = G_1(s)X^*(s), so U∗(s)=G1∗(s)X∗(s)U^*(s) = G_1^*(s)X^*(s), i.e. U(z)=G1(z)X(z)U(z) = G_1(z)X(z).
  • Y(s)=G2(s)U∗(s)Y(s) = G_2(s)U^*(s), so Y(z)=G2(z)U(z)Y(z) = G_2(z)U(z).
Y(z)X(z)=G1(z) G2(z),G1(z)=Z[G1(s)],  G2(z)=Z[G2(s)]\frac{Y(z)}{X(z)} = G_1(z)\,G_2(z), \qquad G_1(z) = \mathcal{Z}[G_1(s)],\; G_2(z) = \mathcal{Z}[G_2(s)]

(b) No sampler between G1G_1 and G2G_2

X(s)  _/  X*  +----+ U(s)  +----+ Y(s)  _/  Y*
 ---o/ o---->| G1 |------->| G2 |------o/ o--->
      T      +----+        +----+        T
  • Y(s)=G1(s)G2(s)X∗(s)Y(s) = G_1(s)G_2(s)X^*(s), so Y∗(s)=[G1G2]∗(s) X∗(s)Y^*(s) = [G_1G_2]^*(s)\,X^*(s).
Y(z)X(z)=G1G2(z)=Z[G1(s)G2(s)]\frac{Y(z)}{X(z)} = G_1G_2(z) = \mathcal{Z}\big[G_1(s)G_2(s)\big]

In general, G1G2(z)≠G1(z)G2(z)G_1G_2(z) \neq G_1(z)G_2(z).

Example

Take G1(s)=1sG_1(s) = \dfrac{1}{s} and G2(s)=as+aG_2(s) = \dfrac{a}{s+a}.

Case (a):

Y(z)X(z)=zz−1⋅azz−e−aT=az2(z−1)(z−e−aT)\frac{Y(z)}{X(z)} = \frac{z}{z-1}\cdot\frac{az}{z-e^{-aT}} = \frac{az^2}{(z-1)(z-e^{-aT})}

Case (b):

as(s+a)=1s−1s+aY(z)X(z)=zz−1−zz−e−aT=(1−e−aT)z(z−1)(z−e−aT)\begin{aligned} \frac{a}{s(s+a)} &= \frac{1}{s} - \frac{1}{s+a} \\ \frac{Y(z)}{X(z)} &= \frac{z}{z-1} - \frac{z}{z-e^{-aT}} = \frac{(1-e^{-aT})z}{(z-1)(z-e^{-aT})} \end{aligned}

The two results are different. You cannot move or remove a sampler without changing the system.

  • Asked 2 times
  • 2072 Magh · 8 marks
  • 2068 Magh · 4 marks

Discuss with example an absolute stability analysis method of a closed loop system in the Z-plane.

Answer

Absolute stability asks only whether the system is stable or unstable. A closed-loop discrete-time system with pulse transfer function C(z)/R(z)=G(z)/[1+GH(z)]C(z)/R(z) = G(z)/[1+GH(z)] is stable if all roots of the characteristic equation

P(z)=1+GH(z)=0P(z) = 1 + GH(z) = 0

lie inside the unit circle ∣z∣<1|z| < 1. A simple pole on ∣z∣=1|z| = 1 makes the system critically stable. Any pole outside the circle, or a repeated pole on it, makes the system unstable.

Factoring a high-order P(z)P(z) is tedious, so two direct tests are used:

  1. Jury stability test, applied directly in the z-plane.
  2. Bilinear transformation + Routh–Hurwitz: substitute z=(w+1)/(w−1)z = (w+1)/(w-1). This maps the inside of the unit circle onto the left half of the w-plane, so the ordinary Routh test can be used.

Jury stability test

Write P(z)=a0zn+a1zn−1+⋯+anP(z) = a_0z^n + a_1z^{n-1} + \dots + a_n with a0>0a_0 > 0. The system is stable if and only if all of these hold:

  1. ∣an∣<a0|a_n| < a_0
  2. P(1)>0P(1) > 0
  3. (−1)nP(−1)>0(-1)^nP(-1) > 0
  4. In the Jury table, ∣bn−1∣>∣b0∣|b_{n-1}| > |b_0|, ∣cn−2∣>∣c0∣|c_{n-2}| > |c_0|, … down to the row with three elements.

The rows of the Jury table are built as:

bk=∣anan−1−ka0ak+1∣,ck=∣bn−1bn−2−kb0bk+1∣b_k = \begin{vmatrix} a_n & a_{n-1-k} \\ a_0 & a_{k+1} \end{vmatrix},\qquad c_k = \begin{vmatrix} b_{n-1} & b_{n-2-k} \\ b_0 & b_{k+1} \end{vmatrix}

Example 1

Test P(z)=z3−1.3z2−0.08z+0.24=0P(z) = z^3 - 1.3z^2 - 0.08z + 0.24 = 0. Here a0=1a_0 = 1, a1=−1.3a_1 = -1.3, a2=−0.08a_2 = -0.08, a3=0.24a_3 = 0.24.

ConditionValueResult
∣a3∣<a0\lvert a_3\rvert < a_00.24<10.24 < 1satisfied
P(1)>0P(1) > 01−1.3−0.08+0.24=−0.141 - 1.3 - 0.08 + 0.24 = -0.14violated
(−1)3P(−1)>0(-1)^3P(-1) > 0−(−1−1.3+0.08+0.24)=1.98-(-1 - 1.3 + 0.08 + 0.24) = 1.98satisfied
∣b2∣>∣b0∣\lvert b_2\rvert > \lvert b_0\rvertb2=−0.9424b_2 = -0.9424, b0=−0.232b_0 = -0.232satisfied

The condition P(1)>0P(1) > 0 fails, so the system is unstable. Factoring confirms this: the roots are z=1.2,0.5,−0.4z = 1.2, 0.5, -0.4, and z=1.2z = 1.2 lies outside the unit circle.

Example 2: stable range of gain

Take G(z)=K(0.3679z+0.2642)(z−1)(z−0.3679)G(z) = \dfrac{K(0.3679z + 0.2642)}{(z-1)(z-0.3679)} with unity feedback. The characteristic equation is:

z2+(0.3679K−1.3679)z+(0.3679+0.2642K)=0z^2 + (0.3679K - 1.3679)z + (0.3679 + 0.2642K) = 0
  • ∣a2∣<1|a_2| < 1: 0.3679+0.2642K<10.3679 + 0.2642K < 1, so K<2.392K < 2.392
  • P(1)=0.6321K>0P(1) = 0.6321K > 0, so K>0K > 0
  • P(−1)=2.7358−0.1037K>0P(-1) = 2.7358 - 0.1037K > 0, so K<26.38K < 26.38

Answer: The system is stable for 0<K<2.3920 < K < 2.392. At K=2.392K = 2.392 it is critically stable and oscillates.

  • 2082 Chaitra (new course) · 4 marks

Examine the stability of the given characteristic equation using Jury stability test: P(z)=z³+2.1z²+1.44z+0.32=0.

Answer

We apply the Jury test to P(z)=a0z3+a1z2+a2z+a3P(z) = a_0z^3 + a_1z^2 + a_2z + a_3, where a0=1a_0 = 1, a1=2.1a_1 = 2.1, a2=1.44a_2 = 1.44, a3=0.32a_3 = 0.32, and n=3n = 3.

Conditions on the coefficients

  1. ∣a3∣<a0|a_3| < a_0: 0.32<10.32 < 1, satisfied.
  2. P(1)=1+2.1+1.44+0.32=4.86>0P(1) = 1 + 2.1 + 1.44 + 0.32 = 4.86 > 0, satisfied.
  3. (−1)3P(−1)>0(-1)^3P(-1) > 0: P(−1)=−1+2.1−1.44+0.32=−0.02P(-1) = -1 + 2.1 - 1.44 + 0.32 = -0.02, so (−1)3P(−1)=0.02>0(-1)^3P(-1) = 0.02 > 0, satisfied.

Jury table

bk=∣a3a2−ka0ak+1∣b_k = \begin{vmatrix} a_3 & a_{2-k} \\ a_0 & a_{k+1} \end{vmatrix}
Rowz0z^0z1z^1z2z^2z3z^3
1a3=0.32a_3 = 0.32a2=1.44a_2 = 1.44a1=2.1a_1 = 2.1a0=1a_0 = 1
2a0=1a_0 = 1a1=2.1a_1 = 2.1a2=1.44a_2 = 1.44a3=0.32a_3 = 0.32
3b2=−0.8976b_2 = -0.8976b1=−1.6392b_1 = -1.6392b0=−0.768b_0 = -0.768
b2=a32−a02=0.1024−1=−0.8976b1=a3a2−a0a1=0.32(1.44)−2.1=−1.6392b0=a3a1−a0a2=0.32(2.1)−1.44=−0.768\begin{aligned} b_2 &= a_3^2 - a_0^2 = 0.1024 - 1 = -0.8976 \\ b_1 &= a_3a_2 - a_0a_1 = 0.32(1.44) - 2.1 = -1.6392 \\ b_0 &= a_3a_1 - a_0a_2 = 0.32(2.1) - 1.44 = -0.768 \end{aligned}
  1. ∣b2∣>∣b0∣|b_2| > |b_0|: 0.8976>0.7680.8976 > 0.768, satisfied.

Conclusion

All the Jury conditions are satisfied, so the system is stable.

Check by factoring: z=−0.5z = -0.5 is a root, since −0.125+0.525−0.72+0.32=0-0.125 + 0.525 - 0.72 + 0.32 = 0. Then P(z)=(z+0.5)(z2+1.6z+0.64)=(z+0.5)(z+0.8)2P(z) = (z+0.5)(z^2 + 1.6z + 0.64) = (z+0.5)(z+0.8)^2. The roots are −0.5,−0.8,−0.8-0.5, -0.8, -0.8, all inside ∣z∣=1|z| = 1. The margin is small: (−1)3P(−1)(-1)^3P(-1) is only 0.02 because two roots sit at −0.8-0.8, close to z=−1z = -1.

  • 2079 Chaitra · 8 marks

How do you perform the stability study of discrete time control system? Perform the stability test of the digital control system having characteristic equation given below: P(z)=z³-1.1z²-0.1z+0.2.

Answer

How the stability of a discrete-time control system is studied

A linear discrete-time system is studied through the roots (poles) of its closed-loop characteristic equation P(z)=1+GH(z)=0P(z) = 1 + GH(z) = 0.

Location of closed-loop polesNature of system
All inside the unit circle ∣z∣<1\lvert z\rvert < 1asymptotically stable
Simple pole(s) on ∣z∣=1\lvert z\rvert = 1, rest insidecritically (marginally) stable
Any pole outside, or a repeated pole on ∣z∣=1\lvert z\rvert = 1unstable

Zeros do not affect absolute stability. The usual methods are:

  1. Direct root finding: factor P(z)P(z). This is practical only for low order.
  2. Jury stability test: a tabular test on the coefficients of P(z)P(z), done directly in the z-plane.
  3. Bilinear transformation + Routh test: put z=w+1w−1z = \frac{w+1}{w-1} and apply the Routh array in the w-plane.
  4. Root locus and Nyquist/Bode methods in the z-plane, mainly for relative stability and gain design.

Jury test for P(z)=z3−1.1z2−0.1z+0.2P(z) = z^3 - 1.1z^2 - 0.1z + 0.2

Here a0=1a_0 = 1, a1=−1.1a_1 = -1.1, a2=−0.1a_2 = -0.1, a3=0.2a_3 = 0.2, and n=3n = 3.

ConditionCalculationResult
∣a3∣<a0\lvert a_3\rvert < a_00.2<10.2 < 1satisfied
P(1)>0P(1) > 01−1.1−0.1+0.2=01 - 1.1 - 0.1 + 0.2 = 0not satisfied (equal to 0)
(−1)3P(−1)>0(-1)^3P(-1) > 0P(−1)=−1−1.1+0.1+0.2=−1.8P(-1) = -1 - 1.1 + 0.1 + 0.2 = -1.8, so 1.8>01.8 > 0satisfied

Jury table, row 3:

b2=a32−a02=0.04−1=−0.96b1=a3a2−a0a1=−0.02+1.1=1.08b0=a3a1−a0a2=−0.22+0.1=−0.12\begin{aligned} b_2 &= a_3^2 - a_0^2 = 0.04 - 1 = -0.96 \\ b_1 &= a_3a_2 - a_0a_1 = -0.02 + 1.1 = 1.08 \\ b_0 &= a_3a_1 - a_0a_2 = -0.22 + 0.1 = -0.12 \end{aligned}
Row
10.2−0.1−1.11
21−1.1−0.10.2
3−0.961.08−0.12

∣b2∣=0.96>∣b0∣=0.12|b_2| = 0.96 > |b_0| = 0.12, satisfied.

Conclusion

Every condition holds except P(1)>0P(1) > 0, because P(1)=0P(1) = 0. This means there is a closed-loop pole exactly at z=1z = 1. So the system is not asymptotically stable. It is critically (marginally) stable.

Check by factoring: P(z)=(z−1)(z2−0.1z−0.2)=(z−1)(z−0.5)(z+0.4)P(z) = (z-1)(z^2 - 0.1z - 0.2) = (z-1)(z-0.5)(z+0.4). The roots are 1,0.5,−0.41, 0.5, -0.4. There is one simple root on the unit circle and the other two are inside. The output will contain a non-decaying constant component.

  • 2072 Asoj · 8 marks

Examine the stability of given system with characteristic equation by Jury stability test: p(z)=z⁴-1.2z³+0.07z²+1.5z-0.06=0.

Answer

We apply the Jury test to P(z)=a0z4+a1z3+a2z2+a3z+a4P(z) = a_0z^4 + a_1z^3 + a_2z^2 + a_3z + a_4, where a0=1a_0 = 1, a1=−1.2a_1 = -1.2, a2=0.07a_2 = 0.07, a3=1.5a_3 = 1.5, a4=−0.06a_4 = -0.06, and n=4n = 4.

Coefficient conditions

  1. ∣a4∣<a0|a_4| < a_0: 0.06<10.06 < 1, satisfied.
  2. P(1)=1−1.2+0.07+1.5−0.06=1.31>0P(1) = 1 - 1.2 + 0.07 + 1.5 - 0.06 = 1.31 > 0, satisfied.
  3. (−1)4P(−1)=1+1.2+0.07−1.5−0.06=0.71>0(-1)^4P(-1) = 1 + 1.2 + 0.07 - 1.5 - 0.06 = 0.71 > 0, satisfied.

Jury table

bk=∣a4a3−ka0ak+1∣=a4ak+1−a0a3−k,ck=∣b3b2−kb0bk+1∣b_k = \begin{vmatrix} a_4 & a_{3-k} \\ a_0 & a_{k+1} \end{vmatrix} = a_4a_{k+1} - a_0a_{3-k},\qquad c_k = \begin{vmatrix} b_3 & b_{2-k} \\ b_0 & b_{k+1} \end{vmatrix} b3=a42−a02=0.0036−1=−0.9964b2=a4a3−a0a1=−0.09+1.2=1.11b1=a4a2−a0a2=−0.0042−0.07=−0.0742b0=a4a1−a0a3=0.072−1.5=−1.428\begin{aligned} b_3 &= a_4^2 - a_0^2 = 0.0036 - 1 = -0.9964 \\ b_2 &= a_4a_3 - a_0a_1 = -0.09 + 1.2 = 1.11 \\ b_1 &= a_4a_2 - a_0a_2 = -0.0042 - 0.07 = -0.0742 \\ b_0 &= a_4a_1 - a_0a_3 = 0.072 - 1.5 = -1.428 \end{aligned} c2=b32−b02=0.9928−2.0392=−1.0464c1=b3b2−b0b1=−1.1060−0.1060=−1.2120c0=b3b1−b0b2=0.0739+1.5851=1.6590\begin{aligned} c_2 &= b_3^2 - b_0^2 = 0.9928 - 2.0392 = -1.0464 \\ c_1 &= b_3b_2 - b_0b_1 = -1.1060 - 0.1060 = -1.2120 \\ c_0 &= b_3b_1 - b_0b_2 = 0.0739 + 1.5851 = 1.6590 \end{aligned}
Rowz0z^0z1z^1z2z^2z3z^3z4z^4
1−0.061.50.07−1.21
21−1.20.071.5−0.06
3−0.99641.11−0.0742−1.428
4−1.428−0.07421.11−0.9964
5−1.0464−1.21201.6590

Remaining conditions

  1. ∣b3∣>∣b0∣|b_3| > |b_0|: 0.9964>1.4280.9964 > 1.428 is false.
  2. ∣c2∣>∣c0∣|c_2| > |c_0|: 1.0464>1.65901.0464 > 1.6590 is false.

Conclusion

The first three conditions hold, but the table conditions fail. Hence the system is unstable.

Check by root finding: the roots are z=1.0084±j0.8572z = 1.0084 \pm j0.8572 (with ∣z∣=1.3235|z| = 1.3235), z=−0.8568z = -0.8568 and z=0.0400z = 0.0400. Two complex poles lie outside the unit circle. This also shows why checking only P(1)P(1) and P(−1)P(-1) is not enough.

  • 2071 Magh · 6 marks

What is Jury stability test in digital control system? Explain.

Answer

The Jury stability test is an algebraic test for the absolute stability of a discrete-time (sampled-data) system. It works directly in the z-plane. Using only the coefficients of the characteristic polynomial P(z)P(z), it tells whether all roots lie inside the unit circle ∣z∣=1|z| = 1, without solving for the roots. It does for the z-plane what the Routh–Hurwitz test does for the s-plane.

Procedure

Write the characteristic equation as

P(z)=a0zn+a1zn−1+⋯+an−1z+an=0,a0>0P(z) = a_0z^n + a_1z^{n-1} + \dots + a_{n-1}z + a_n = 0, \qquad a_0 > 0

Form the Jury table:

Rowz0z^0z1z^1…\dotszn−1z^{n-1}znz^n
1ana_nan−1a_{n-1}…\dotsa1a_1a0a_0
2a0a_0a1a_1…\dotsan−1a_{n-1}ana_n
3bn−1b_{n-1}bn−2b_{n-2}…\dotsb0b_0
4b0b_0b1b_1…\dotsbn−1b_{n-1}
5cn−2c_{n-2}…\dotsc0c_0
⋮
2n−32n-3q2q_2q1q_1q0q_0

Each even row is the row above it written in reverse. The elements are 2×22\times2 determinants:

bk=∣anan−1−ka0ak+1∣,ck=∣bn−1bn−2−kb0bk+1∣, …b_k = \begin{vmatrix} a_n & a_{n-1-k} \\ a_0 & a_{k+1} \end{vmatrix},\quad c_k = \begin{vmatrix} b_{n-1} & b_{n-2-k} \\ b_0 & b_{k+1} \end{vmatrix},\ \dots

Stability conditions

The system is stable if and only if all of these hold:

  1. ∣an∣<a0|a_n| < a_0
  2. P(z)∣z=1>0P(z)\big|_{z=1} > 0
  3. (−1)nP(z)∣z=−1>0(-1)^nP(z)\big|_{z=-1} > 0
  4. ∣bn−1∣>∣b0∣|b_{n-1}| > |b_0|, ∣cn−2∣>∣c0∣|c_{n-2}| > |c_0|, …, ∣q2∣>∣q0∣|q_2| > |q_0|

There are n+1n+1 conditions in total. Check conditions 1–3 first. If any of them fails, the system is unstable and no table is needed. For n=2n = 2 no table is needed at all.

Example

Take G(z)=K(0.3679z+0.2642)(z−1)(z−0.3679)G(z) = \dfrac{K(0.3679z+0.2642)}{(z-1)(z-0.3679)} with unity feedback. The characteristic equation is

P(z)=z2+(0.3679K−1.3679)z+(0.3679+0.2642K)=0P(z) = z^2 + (0.3679K - 1.3679)z + (0.3679 + 0.2642K) = 0
  1. ∣a2∣<1|a_2| < 1: 0.3679+0.2642K<10.3679 + 0.2642K < 1, so K<2.392K < 2.392
  2. P(1)=0.6321K>0P(1) = 0.6321K > 0, so K>0K > 0
  3. P(−1)=2.7358−0.1037K>0P(-1) = 2.7358 - 0.1037K > 0, so K<26.38K < 26.38

The system is stable for 0<K<2.3920 < K < 2.392.

Features

  • It works directly with z-domain coefficients, so no bilinear transformation is needed.
  • It also gives the range of a gain KK for stability, as in the example.
  • If a condition becomes an equality (for example P(1)=0P(1) = 0), a root lies on the unit circle and the system is critically stable.
  • It shows only absolute stability, not relative stability (damping, margins).
  • 2082 Kartik · 8 marks

For the control system with digital PID controller as shown in the figure, obtain the pulse transfer function. Assume that the sampling period T is 1 second. Consider Kₚ=1, KI=0.2 and Kd=0.2 of PID controller. [Figure: unity-feedback loop: r(t) → summing junction → e(t) → sampler (T = 1) → e(kT) → digital controller → ZOH → 1/s(s+2) → C(t)]

Answer

The digital controller is a PID controller. It is followed by a ZOH and the plant, with one sampler on the error signal, so:

C(z)R(z)=GD(z)G(z)1+GD(z)G(z)\frac{C(z)}{R(z)} = \frac{G_D(z)G(z)}{1+G_D(z)G(z)}

Step 1: Digital PID controller

Digital PID controller. Using the positional PID form (Ogata), with KP=1K_P = 1, KI=0.2K_I = 0.2, KD=0.2K_D = 0.2:

GD(z)=KP+KI1−z−1+KD(1−z−1)=(KP+KI+KD)−(KP+2KD)z−1+KDz−21−z−1=1.4−1.4z−1+0.2z−21−z−1=1.4z2−1.4z+0.2z(z−1)\begin{aligned} G_D(z) &= K_P + \frac{K_I}{1-z^{-1}} + K_D(1-z^{-1}) \\ &= \frac{(K_P+K_I+K_D) - (K_P+2K_D)z^{-1} + K_D z^{-2}}{1-z^{-1}} \\ &= \frac{1.4 - 1.4z^{-1} + 0.2z^{-2}}{1-z^{-1}} = \frac{1.4z^2 - 1.4z + 0.2}{z(z-1)} \end{aligned}

Step 2: ZOH + plant 1/[s(s+2)]1/[s(s+2)]

G(z)=(1−z−1) Z[1s2(s+2)]1s2(s+2)=1/2s2−1/4s+1/4s+2G(z)=(1−z−1)[0.5Tz(z−1)2−0.25zz−1+0.25zz−e−2T]=(2T−1+e−2T)z+(1−e−2T−2Te−2T)4(z−1)(z−e−2T)\begin{aligned} G(z) &= (1-z^{-1})\,\mathcal{Z}\left[\frac{1}{s^2(s+2)}\right] \\ \frac{1}{s^2(s+2)} &= \frac{1/2}{s^2} - \frac{1/4}{s} + \frac{1/4}{s+2} \\ G(z) &= (1-z^{-1})\left[\frac{0.5Tz}{(z-1)^2} - \frac{0.25z}{z-1} + \frac{0.25z}{z-e^{-2T}}\right] \\ &= \frac{(2T-1+e^{-2T})z + (1-e^{-2T}-2Te^{-2T})}{4(z-1)(z-e^{-2T})} \end{aligned}

With T=1T = 1 and e−2=0.1353e^{-2} = 0.1353:

G(z)=(1+0.1353)z+(1−0.4060)4(z−1)(z−0.1353)=0.2838z+0.1485(z−1)(z−0.1353)G(z) = \frac{(1+0.1353)z + (1-0.4060)}{4(z-1)(z-0.1353)} = \frac{0.2838z + 0.1485}{(z-1)(z-0.1353)}

Step 3: Open-loop pulse transfer function

GD(z)G(z)=(1.4z2−1.4z+0.2)(0.2838z+0.1485)z(z−1)2(z−0.1353)=0.3974z3−0.1895z2−0.1511z+0.0297z4−2.1353z3+1.2707z2−0.1353z\begin{aligned} G_D(z)G(z) &= \frac{(1.4z^2 - 1.4z + 0.2)(0.2838z + 0.1485)}{z(z-1)^2(z-0.1353)} \\ &= \frac{0.3974z^3 - 0.1895z^2 - 0.1511z + 0.0297}{z^4 - 2.1353z^3 + 1.2707z^2 - 0.1353z} \end{aligned}

Step 4: Closed-loop pulse transfer function

C(z)R(z)=0.3974z3−0.1895z2−0.1511z+0.0297z4−1.7380z3+1.0812z2−0.2865z+0.0297\frac{C(z)}{R(z)} = \frac{0.3974z^3 - 0.1895z^2 - 0.1511z + 0.0297}{z^4 - 1.7380z^3 + 1.0812z^2 - 0.2865z + 0.0297}

or

C(z)R(z)=0.3974z−1−0.1895z−2−0.1511z−3+0.0297z−41−1.7380z−1+1.0812z−2−0.2865z−3+0.0297z−4\frac{C(z)}{R(z)} = \frac{0.3974z^{-1} - 0.1895z^{-2} - 0.1511z^{-3} + 0.0297z^{-4}}{1 - 1.7380z^{-1} + 1.0812z^{-2} - 0.2865z^{-3} + 0.0297z^{-4}}

Answer: The closed-loop pulse transfer function is as above, with characteristic equation z4−1.7380z3+1.0812z2−0.2865z+0.0297=0z^4 - 1.7380z^3 + 1.0812z^2 - 0.2865z + 0.0297 = 0.

Check: At z=1z = 1 the numerator is 0.08650.0865 and the denominator is 0.08640.0864, so the DC gain is about 1, as expected with integral action.

  • 2079 Chaitra · 8 marks

Obtain in a closed form the response sequence c(kT) of the system as shown in figure below when subjected to a Kronecker delta input r(k). Assume that the sampling period T is 1 second. Consider Kₚ=1 and KI=0.2 of PI controller. [Figure: unity-feedback loop: r(t) → summing junction → e(t) → sampler (T = 1) → e(kT) → digital PI controller GD*(s) → ZOH Gₕ(s) → 1/s(s+1) → C(t)]

Answer

Step 1: Pulse transfer functions

PI controller (KP=1K_P = 1, KI=0.2K_I = 0.2):

GD(z)=KP+KI1−z−1=1.2−z−11−z−1=1.2z−1z−1G_D(z) = K_P + \frac{K_I}{1-z^{-1}} = \frac{1.2 - z^{-1}}{1-z^{-1}} = \frac{1.2z - 1}{z-1}

ZOH + plant 1/[s(s+1)]1/[s(s+1)] with T=1T = 1:

G(z)=(1−z−1) Z[1s2(s+1)]=0.3679z+0.2642(z−1)(z−0.3679)G(z) = (1-z^{-1})\,\mathcal{Z}\left[\frac{1}{s^2(s+1)}\right] = \frac{0.3679z + 0.2642}{(z-1)(z-0.3679)}

Step 2: Closed-loop pulse transfer function

GDG=(1.2z−1)(0.3679z+0.2642)(z−1)2(z−0.3679)=0.4415z2−0.0508z−0.2642z3−2.3679z2+1.7358z−0.3679C(z)R(z)=0.4415z2−0.0508z−0.2642z3−1.9264z2+1.6850z−0.6321\begin{aligned} G_DG &= \frac{(1.2z-1)(0.3679z+0.2642)}{(z-1)^2(z-0.3679)} = \frac{0.4415z^2 - 0.0508z - 0.2642}{z^3 - 2.3679z^2 + 1.7358z - 0.3679} \\ \frac{C(z)}{R(z)} &= \frac{0.4415z^2 - 0.0508z - 0.2642}{z^3 - 1.9264z^2 + 1.6850z - 0.6321} \end{aligned}

Step 3: Kronecker delta input

For r(0)=1r(0) = 1 and r(k)=0r(k) = 0 for k≠0k \neq 0, we have R(z)=1R(z) = 1, so C(z)C(z) equals the closed-loop pulse transfer function.

The closed-loop poles are the roots of z3−1.9264z2+1.6850z−0.6321=0z^3 - 1.9264z^2 + 1.6850z - 0.6321 = 0:

p1=0.8096,p2,3=0.5584±j0.6848=0.8836 ∠±0.8867 rad (±50.80∘)p_1 = 0.8096,\qquad p_{2,3} = 0.5584 \pm j0.6848 = 0.8836\,\angle \pm 0.8867\ \text{rad}\ (\pm 50.80^\circ)

All the poles are inside the unit circle, so the system is stable.

Step 4: Inverse z-transform (residue method)

c(k)=∑Res[C(z)zk−1]=∑iAi pi k−1,Ai=N(pi)D′(pi)c(k) = \sum \text{Res}\left[C(z)z^{k-1}\right] = \sum_i A_i\,p_i^{\,k-1}, \qquad A_i = \frac{N(p_i)}{D'(p_i)}
  • A1=−0.0301A_1 = -0.0301 for p1=0.8096p_1 = 0.8096
  • A2,3=0.2358∓j0.4094=0.4724 ∠∓1.0484 radA_{2,3} = 0.2358 \mp j0.4094 = 0.4724\,\angle \mp 1.0484\ \text{rad}

The complex pair combines into one real cosine term:

c(k)=0.9448 (0.8836)k−1cos⁡[0.8867(k−1)−1.0484]−0.0301 (0.8096)k−1,k≥1c(k) = 0.9448\,(0.8836)^{k-1}\cos\big[0.8867(k-1) - 1.0484\big] - 0.0301\,(0.8096)^{k-1}, \quad k \ge 1

and c(0)=0c(0) = 0, because the numerator degree is less than the denominator degree.

Step 5: First few values

Check the closed form against long division or the difference equation c(k)=1.9264c(k−1)−1.6850c(k−2)+0.6321c(k−3)+0.4415r(k−1)−0.0508r(k−2)−0.2642r(k−3)c(k) = 1.9264c(k-1) - 1.6850c(k-2) + 0.6321c(k-3) + 0.4415r(k-1) - 0.0508r(k-2) - 0.2642r(k-3).

kk01234567
c(k)c(k)00.44150.79960.5324−0.0428−0.4739−0.5044−0.2002

For example, at k=1k = 1: 0.9448cos⁡(−1.0484)−0.0301=0.4717−0.0301=0.44150.9448\cos(-1.0484) - 0.0301 = 0.4717 - 0.0301 = 0.4415. ✔

Answer: c(kT)=0.9448(0.8836)k−1cos⁡[0.8867(k−1)−1.0484]−0.0301(0.8096)k−1c(kT) = 0.9448(0.8836)^{k-1}\cos[0.8867(k-1) - 1.0484] - 0.0301(0.8096)^{k-1} for k=1,2,3,…k = 1, 2, 3, \dots (with c(0)=0c(0) = 0). This is a damped oscillation that decays to zero.

  • 2075 Bhadra · 4 marks

Find the discrete time output C(z) of the following closed loop system. [Figure: R(s) → summing junction (+) → E(s) → G₁(s) → sampler → G₂(s) → C(s) → sampler → C(z); C(s) is fed back through H(s) as B(s) to the negative input of the summing junction]

Answer

There is no sampler on the error signal. The only sampler is after G1(s)G_1(s), so let its output be V∗(s)V^*(s), the sampled version of V(s)=G1(s)E(s)V(s) = G_1(s)E(s). The output sampler only reads C(z)C(z); it is not inside the loop.

       E(s)  +-----+ V   _/ V*  +-----+  C(s)   _/
R(s)-->(S)-->| G1  |---o/ o--->| G2  |---+---o/ o--> C(z)
       ^ -   +-----+     T     +-----+   |    T
       |            +-----+              |
       +------------|  H  |<-------------+
            B(s)    +-----+

Step 1: Write the signal equations

C(s)=G2(s)V∗(s)E(s)=R(s)−H(s)C(s)=R(s)−G2(s)H(s)V∗(s)V(s)=G1(s)E(s)=G1(s)R(s)−G1(s)G2(s)H(s)V∗(s)\begin{aligned} C(s) &= G_2(s)V^*(s) \\ E(s) &= R(s) - H(s)C(s) = R(s) - G_2(s)H(s)V^*(s) \\ V(s) &= G_1(s)E(s) = G_1(s)R(s) - G_1(s)G_2(s)H(s)V^*(s) \end{aligned}

Step 2: Take starred (sampled) transforms

Sampling both sides, a starred quantity can be taken outside: [G1G2HV∗]∗=(G1G2H)∗V∗[G_1G_2HV^*]^* = (G_1G_2H)^*V^*. This gives

V∗(s)=(G1R)∗(s)−(G1G2H)∗(s)V∗(s)V∗(s)=(G1R)∗(s)1+(G1G2H)∗(s)\begin{aligned} V^*(s) &= (G_1R)^*(s) - (G_1G_2H)^*(s)V^*(s) \\ V^*(s) &= \frac{(G_1R)^*(s)}{1 + (G_1G_2H)^*(s)} \end{aligned}

Step 3: Output

C∗(s)=G2∗(s)V∗(s)C^*(s) = G_2^*(s)V^*(s)

In z-notation:

C(z)=G2(z) G1R(z)1+G1G2H(z)C(z) = \frac{G_2(z)\,G_1R(z)}{1 + G_1G_2H(z)}

where

  • G2(z)=Z[G2(s)]G_2(z) = \mathcal{Z}[G_2(s)]
  • G1R(z)=Z[G1(s)R(s)]G_1R(z) = \mathcal{Z}[G_1(s)R(s)]
  • G1G2H(z)=Z[G1(s)G2(s)H(s)]G_1G_2H(z) = \mathcal{Z}[G_1(s)G_2(s)H(s)]

Note: The input R(s)R(s) reaches the first sampler only after passing through G1(s)G_1(s), so it cannot be separated from G1G_1. You can find the output C(z)C(z) for a given input, but no closed-loop pulse transfer function C(z)/R(z)C(z)/R(z) exists for this system.

  • 2072 Magh · 4 marks

Obtain the closed loop pulse transfer function of the system shown below. [Figure: R(s) → summing junction → E(s) → sampler → G1(s) → sampler → G2(s) → C(s); C(s) fed back through H(s) to the negative input of the summing junction]

Answer

There is a sampler on the error (before G1G_1) and another between G1G_1 and G2G_2. Because G2G_2 and HH are not separated by a sampler, they appear together as G2H(z)G_2H(z).

      E   _/  E*  +----+ U  _/  U*  +----+   C(s)
R(s)->(S)-o/ o-->| G1 |---o/ o--->| G2 |----+--->
      ^ -   T    +----+     T     +----+    |
      |              +-----+                |
      +--------------|  H  |<---------------+
                     +-----+

Step 1: Signal equations

C(s)=G2(s)U∗(s)U(s)=G1(s)E∗(s)  ⇒  U∗(s)=G1∗(s)E∗(s)E(s)=R(s)−H(s)C(s)=R(s)−G2(s)H(s)U∗(s)\begin{aligned} C(s) &= G_2(s)U^*(s) \\ U(s) &= G_1(s)E^*(s) \;\Rightarrow\; U^*(s) = G_1^*(s)E^*(s) \\ E(s) &= R(s) - H(s)C(s) = R(s) - G_2(s)H(s)U^*(s) \end{aligned}

Step 2: Sample the error equation

E∗(s)=R∗(s)−(G2H)∗(s) U∗(s)=R∗(s)−(G2H)∗(s) G1∗(s)E∗(s)E∗(s)=R∗(s)1+G1∗(s)(G2H)∗(s)\begin{aligned} E^*(s) &= R^*(s) - (G_2H)^*(s)\,U^*(s) = R^*(s) - (G_2H)^*(s)\,G_1^*(s)E^*(s) \\ E^*(s) &= \frac{R^*(s)}{1 + G_1^*(s)(G_2H)^*(s)} \end{aligned}

Step 3: Output

C∗(s)=G2∗(s)U∗(s)=G2∗(s)G1∗(s)E∗(s)C^*(s) = G_2^*(s)U^*(s) = G_2^*(s)G_1^*(s)E^*(s)

Closed-loop pulse transfer function

C(z)R(z)=G1(z) G2(z)1+G1(z) G2H(z)\frac{C(z)}{R(z)} = \frac{G_1(z)\,G_2(z)}{1 + G_1(z)\,G_2H(z)}

where

  • G1(z)=Z[G1(s)]G_1(z) = \mathcal{Z}[G_1(s)]
  • G2(z)=Z[G2(s)]G_2(z) = \mathcal{Z}[G_2(s)]
  • G2H(z)=Z[G2(s)H(s)]G_2H(z) = \mathcal{Z}[G_2(s)H(s)], which is in general not equal to G2(z)H(z)G_2(z)H(z)

Special case: with unity feedback (H=1H = 1), this becomes G1(z)G2(z)1+G1(z)G2(z)\dfrac{G_1(z)G_2(z)}{1+G_1(z)G_2(z)}.

  • 2071 Bhadra · 8 marks

Evaluate the closed loop pulse transfer function of the system shown below. Hence obtain the continuous time output C(s) of the system. [Figure: R(s) → summing junction → E(s) → sampler → G1(s) → sampler → G2(s) → C(s); C(s) fed back through H(s) to the negative input of the summing junction]

Answer

The error is sampled, and the output of G1G_1 is sampled again before G2G_2. The feedback HH acts on the continuous output, so G2G_2 and HH are not separated by a sampler.

      E   _/  E*  +----+ U  _/  U*  +----+   C(s)
R(s)->(S)-o/ o-->| G1 |---o/ o--->| G2 |----+--->
      ^ -   T    +----+     T     +----+    |
      |              +-----+                |
      +--------------|  H  |<---------------+
                     +-----+

Step 1: Signal equations

C(s)=G2(s)U∗(s)U(s)=G1(s)E∗(s)  ⇒  U∗(s)=G1∗(s)E∗(s)E(s)=R(s)−H(s)C(s)=R(s)−G2(s)H(s)U∗(s)\begin{aligned} C(s) &= G_2(s)U^*(s) \\ U(s) &= G_1(s)E^*(s) \;\Rightarrow\; U^*(s) = G_1^*(s)E^*(s) \\ E(s) &= R(s) - H(s)C(s) = R(s) - G_2(s)H(s)U^*(s) \end{aligned}

Step 2: Sample the error equation

E∗(s)=R∗(s)−(G2H)∗(s) U∗(s)=R∗(s)−(G2H)∗(s) G1∗(s)E∗(s)E∗(s)=R∗(s)1+G1∗(s)(G2H)∗(s)\begin{aligned} E^*(s) &= R^*(s) - (G_2H)^*(s)\,U^*(s) = R^*(s) - (G_2H)^*(s)\,G_1^*(s)E^*(s) \\ E^*(s) &= \frac{R^*(s)}{1 + G_1^*(s)(G_2H)^*(s)} \end{aligned}

Step 3: Output

C∗(s)=G2∗(s)U∗(s)=G2∗(s)G1∗(s)E∗(s)C^*(s) = G_2^*(s)U^*(s) = G_2^*(s)G_1^*(s)E^*(s)

Closed-loop pulse transfer function

C∗(s)R∗(s)=G1∗(s)G2∗(s)1+G1∗(s)(G2H)∗(s)⟺C(z)R(z)=G1(z)G2(z)1+G1(z) G2H(z)\frac{C^*(s)}{R^*(s)} = \frac{G_1^*(s)G_2^*(s)}{1 + G_1^*(s)(G_2H)^*(s)} \quad\Longleftrightarrow\quad \frac{C(z)}{R(z)} = \frac{G_1(z)G_2(z)}{1 + G_1(z)\,G_2H(z)}

with G2H(z)=Z[G2(s)H(s)]G_2H(z) = \mathcal{Z}[G_2(s)H(s)].

Continuous-time output C(s)C(s)

The output is not sampled inside the loop. C(s)C(s) is G2(s)G_2(s) driven by the sampled signal U∗(s)U^*(s), so do not take the star of G2G_2 here:

C(s)=G2(s) U∗(s)=G2(s) G1∗(s) E∗(s)C(s)=G2(s) G1∗(s) R∗(s)1+G1∗(s) (G2H)∗(s)\begin{aligned} C(s) &= G_2(s)\,U^*(s) = G_2(s)\,G_1^*(s)\,E^*(s) \\ C(s) &= \frac{G_2(s)\,G_1^*(s)\,R^*(s)}{1 + G_1^*(s)\,(G_2H)^*(s)} \end{aligned}

Answers:

  • C(z)R(z)=G1(z)G2(z)1+G1(z)G2H(z)\dfrac{C(z)}{R(z)} = \dfrac{G_1(z)G_2(z)}{1+G_1(z)G_2H(z)}
  • C(s)=G2(s)G1∗(s)R∗(s)1+G1∗(s)(G2H)∗(s)C(s) = \dfrac{G_2(s)G_1^*(s)R^*(s)}{1+G_1^*(s)(G_2H)^*(s)}

C(s)C(s) gives the output between sampling instants as well. Its starred version C∗(s)C^*(s) gives back C(z)C(z).

  • 2075 Baisakh · 4 marks

Explain with suitable diagram how constant damping ratio line in s-plane is mapped into z-plane.

Answer

In the s-plane, a constant damping ratio line is a radial line from the origin making angle θ=cos⁡−1ζ\theta = \cos^{-1}\zeta with the negative real axis. On it, s=−ζωn+jωn1−ζ2s = -\zeta\omega_n + j\omega_n\sqrt{1-\zeta^2}, i.e. s=−ωdζ1−ζ2+jωds = -\omega_d\dfrac{\zeta}{\sqrt{1-\zeta^2}} + j\omega_d.

Mapping with z=eTsz = e^{Ts}

Use T=2π/ωsT = 2\pi/\omega_s:

z=eTs=exp⁡(−2πζ1−ζ2⋅ωdωs)∠ 2πωdωsz = e^{Ts} = \exp\left(-\frac{2\pi\zeta}{\sqrt{1-\zeta^2}}\cdot\frac{\omega_d}{\omega_s}\right)\angle\ 2\pi\frac{\omega_d}{\omega_s}
  • ∣z∣=exp⁡(−2πζ1−ζ2⋅ωdωs)|z| = \exp\left(-\dfrac{2\pi\zeta}{\sqrt{1-\zeta^2}}\cdot\dfrac{\omega_d}{\omega_s}\right) decreases exponentially as ωd\omega_d increases.
  • ∠z=2πωd/ωs\angle z = 2\pi\omega_d/\omega_s increases linearly with ωd\omega_d.

Since the radius shrinks exponentially as the angle grows, a constant-ζ line maps into a logarithmic spiral. It starts at z=1z = 1 (for ωd=0\omega_d = 0) and winds toward the origin.

Example: ζ=0.5\zeta = 0.5

ωd/ωs\omega_d/\omega_s∣z∣\lvert z\rvert∠z\angle z
010°
1/80.63545°
1/40.40490°
1/20.163180°

At ωd=ωs/2\omega_d = \omega_s/2 the spiral reaches the negative real axis. The part from ωd=0\omega_d = 0 to ωs/2\omega_s/2 fills the upper half of the z-plane. The line for −ωd-\omega_d maps to the mirror spiral in the lower half.

                Im z
                 |
                 * B = j0.404  (wd/ws = 1/4)
                 |
                 |     * A = 0.449 + j0.449  (1/8)
                 |
 ------*---------+-----------* O ------ Re z
  C = -0.163     0           1   (wd = 0)
  (wd/ws = 1/2)

 zeta = 0.5 spiral runs O -> A -> B -> C inside
 the unit circle; its mirror image (for -wd) lies
 in the lower half-plane.

Key points

  • ζ=0\zeta = 0 (the jωj\omega axis) maps onto the unit circle.
  • ζ=1\zeta = 1 (the negative real axis) maps onto the segment 0<z≤10 < z \le 1 of the positive real axis.
  • Larger ζ\zeta gives a spiral that shrinks faster, i.e. tighter toward the origin.
  • In design, the desired closed-loop poles lie on the ζ-spiral at angle ωdT=2π/N\omega_dT = 2\pi/N, where NN is the number of samples per cycle of damped oscillation.
  • 2072 Magh · 4 marks

Obtain z-transform of f(s)=ZOH·1/s(s+1).

Answer

The ZOH transfer function is Gh(s)=1−e−TssG_h(s) = \dfrac{1-e^{-Ts}}{s}. The factor e−Tse^{-Ts} is a delay of one sampling period, which becomes z−1z^{-1}. So the transform is (1−z−1)(1-z^{-1}) times the z-transform of the plant divided by ss:

F(z)=Z[1−e−Tss⋅1s(s+1)]=(1−z−1) Z[1s2(s+1)]F(z) = \mathcal{Z}\left[\frac{1-e^{-Ts}}{s}\cdot\frac{1}{s(s+1)}\right] = (1-z^{-1})\,\mathcal{Z}\left[\frac{1}{s^2(s+1)}\right]

Partial fractions

1s2(s+1)=1s2−1s+1s+1\frac{1}{s^2(s+1)} = \frac{1}{s^2} - \frac{1}{s} + \frac{1}{s+1}

z-transform of each term

Z[1s2(s+1)]=Tz(z−1)2−zz−1+zz−e−T\mathcal{Z}\left[\frac{1}{s^2(s+1)}\right] = \frac{Tz}{(z-1)^2} - \frac{z}{z-1} + \frac{z}{z-e^{-T}}

Multiply by (1−z−1)=(z−1)/z(1-z^{-1}) = (z-1)/z

F(z)=Tz−1−1+z−1z−e−T=T(z−e−T)−(z−1)(z−e−T)+(z−1)2(z−1)(z−e−T)=(T−1+e−T)z+(1−e−T−Te−T)(z−1)(z−e−T)\begin{aligned} F(z) &= \frac{T}{z-1} - 1 + \frac{z-1}{z-e^{-T}} \\ &= \frac{T(z-e^{-T}) - (z-1)(z-e^{-T}) + (z-1)^2}{(z-1)(z-e^{-T})} \\ &= \frac{(T-1+e^{-T})z + (1-e^{-T}-Te^{-T})}{(z-1)(z-e^{-T})} \end{aligned}

With T=1T = 1 s

e−1=0.3679e^{-1} = 0.3679, so T−1+e−T=0.3679T - 1 + e^{-T} = 0.3679 and 1−e−T−Te−T=1−2(0.3679)=0.26421 - e^{-T} - Te^{-T} = 1 - 2(0.3679) = 0.2642.

F(z)=0.3679z+0.2642(z−1)(z−0.3679)=0.3679z−1+0.2642z−21−1.3679z−1+0.3679z−2F(z) = \frac{0.3679z + 0.2642}{(z-1)(z-0.3679)} = \frac{0.3679z^{-1} + 0.2642z^{-2}}{1 - 1.3679z^{-1} + 0.3679z^{-2}}

Answer: F(z)=(T−1+e−T)z+(1−e−T−Te−T)(z−1)(z−e−T)F(z) = \dfrac{(T-1+e^{-T})z + (1-e^{-T}-Te^{-T})}{(z-1)(z-e^{-T})}, which for T=1T = 1 s is 0.3679z+0.2642(z−1)(z−0.3679)\dfrac{0.3679z + 0.2642}{(z-1)(z-0.3679)}.

  • 2068 Jestha · 8 marks

Consider the system shown below. If transfer function of FOH is ((Ts+1)/T)·((1-e⁻ᵀˢ)/s)² and T=1, determine Y(z)/X(z). [Figure: X(s) → sampler → 1/(s+3) → sampler → FOH → 1/(s+2) → Y(s)]

Answer

There is a sampler between 1/(s+3)1/(s+3) and the FOH, so the system splits into two cascaded pulse transfer functions:

Y(z)X(z)=G1(z) G2(z),G1(s)=1s+3,G2(s)=Gh1(s)1s+2\frac{Y(z)}{X(z)} = G_1(z)\,G_2(z), \qquad G_1(s) = \frac{1}{s+3}, \quad G_2(s) = G_{h1}(s)\frac{1}{s+2}

Here Y(z)Y(z) is the output at the sampling instants (a fictitious output sampler).

Step 1: G1(z)G_1(z)

G1(z)=Z[1s+3]=zz−e−3T=zz−0.0498(T=1)G_1(z) = \mathcal{Z}\left[\frac{1}{s+3}\right] = \frac{z}{z-e^{-3T}} = \frac{z}{z-0.0498}\quad(T = 1)

Step 2: G2(z)G_2(z), FOH + plant

G2(z)=Z[Ts+1T(1−e−Tss)21s+2]=(1−z−1)2 Z[s+1s2(s+2)](T=1)\begin{aligned} G_2(z) &= \mathcal{Z}\left[\frac{Ts+1}{T}\left(\frac{1-e^{-Ts}}{s}\right)^2\frac{1}{s+2}\right] = (1-z^{-1})^2\,\mathcal{Z}\left[\frac{s+1}{s^2(s+2)}\right]\quad(T=1) \end{aligned}

Partial fractions:

s+1s2(s+2)=1/4s+1/2s2−1/4s+2\frac{s+1}{s^2(s+2)} = \frac{1/4}{s} + \frac{1/2}{s^2} - \frac{1/4}{s+2} Z[s+1s2(s+2)]=0.25zz−1+0.5z(z−1)2−0.25zz−e−2\mathcal{Z}\left[\frac{s+1}{s^2(s+2)}\right] = \frac{0.25z}{z-1} + \frac{0.5z}{(z-1)^2} - \frac{0.25z}{z-e^{-2}}

Multiply by (1−z−1)2=(z−1)2/z2(1-z^{-1})^2 = (z-1)^2/z^2:

G2(z)=1z[0.25(z−1)+0.5−0.25(z−1)2z−e−2]=(3−e−2)z−(1+e−2)4z(z−e−2)=0.7162z−0.2838z(z−0.1353)\begin{aligned} G_2(z) &= \frac{1}{z}\left[0.25(z-1) + 0.5 - \frac{0.25(z-1)^2}{z-e^{-2}}\right] \\ &= \frac{(3-e^{-2})z - (1+e^{-2})}{4z(z-e^{-2})} \\ &= \frac{0.7162z - 0.2838}{z(z-0.1353)} \end{aligned}

Check: at z=1z = 1, G2(1)=0.4324/0.8647=0.5G_2(1) = 0.4324/0.8647 = 0.5, which equals the DC gain of 1/(s+2)1/(s+2). ✔

Step 3: Overall pulse transfer function

Y(z)X(z)=zz−0.0498⋅0.7162z−0.2838z(z−0.1353)=0.7162z−0.2838(z−0.0498)(z−0.1353)\frac{Y(z)}{X(z)} = \frac{z}{z-0.0498}\cdot\frac{0.7162z - 0.2838}{z(z-0.1353)} = \frac{0.7162z - 0.2838}{(z-0.0498)(z-0.1353)}

Expanding the denominator:

Y(z)X(z)=0.7162z−0.2838z2−0.1851z+0.00674=0.7162z−1−0.2838z−21−0.1851z−1+0.00674z−2\frac{Y(z)}{X(z)} = \frac{0.7162z - 0.2838}{z^2 - 0.1851z + 0.00674} = \frac{0.7162z^{-1} - 0.2838z^{-2}}{1 - 0.1851z^{-1} + 0.00674z^{-2}}

Answer: Y(z)X(z)=0.7162z−0.2838(z−0.0498)(z−0.1353)\dfrac{Y(z)}{X(z)} = \dfrac{0.7162z - 0.2838}{(z-0.0498)(z-0.1353)}

  • 2071 Magh · 4 marks

Write a short note on general procedure for obtaining pulse transfer function.

Answer

The pulse transfer function G(z)=Y(z)/X(z)G(z) = Y(z)/X(z) relates the z-transform of the sampled output to the z-transform of the sampled input, with zero initial conditions. The general procedure is:

  1. Draw the block diagram with all samplers. Name the input of each sampler (for example EE, UU). Name the outputs as starred signals E∗E^*, U∗U^*. Add a fictitious sampler at the output if the output is continuous.
  2. Write the s-domain equations. Express each sampler input and the output in terms of the starred signals and the input R(s)R(s), e.g. U(s)=G1(s)E∗(s)U(s) = G_1(s)E^*(s).
  3. Take the starred transform of each equation. Use [G(s)X∗(s)]∗=G∗(s)X∗(s)[G(s)X^*(s)]^* = G^*(s)X^*(s). Elements not separated by a sampler must be combined first: [G1G2X∗]∗=(G1G2)∗X∗[G_1G_2X^*]^* = (G_1G_2)^*X^*, and this is not equal to G1∗G2∗X∗G_1^*G_2^*X^*.
  4. Find each pulse transfer function using partial fractions or residues: G(z)=Z[G(s)]=∑Res[G(s)zz−eTs]G(z) = \mathcal{Z}\big[G(s)\big] = \sum \text{Res}\left[G(s)\frac{z}{z-e^{Ts}}\right] With a ZOH, G(z)=(1−z−1) Z[Gp(s)/s]G(z) = (1-z^{-1})\,\mathcal{Z}\left[G_p(s)/s\right].
  5. Solve the algebraic equations for C(z)C(z) and form C(z)/R(z)C(z)/R(z). If R(s)R(s) enters through a continuous block before the first sampler (as GR(z)GR(z)), only C(z)C(z) can be found. In that case no pulse transfer function exists.

Example: Unity feedback with a sampler on the error, a ZOH and plant Gp(s)G_p(s). Then E∗=R∗−(GhGp)∗E∗E^* = R^* - (G_hG_p)^*E^*, which gives C(z)R(z)=G(z)1+G(z)\dfrac{C(z)}{R(z)} = \dfrac{G(z)}{1+G(z)} with G(z)=(1−z−1)Z[Gp/s]G(z) = (1-z^{-1})\mathcal{Z}[G_p/s].

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 ↗