0% found this document useful (0 votes)
26 views

Control Most Impo File

1. A cascade compensator was designed for a plant with a double pole and insignificant pole such that the closed loop system had a 25% overshoot and 5s settling time. The compensator transfer function was derived. 2. Using a Lyapunov function, conditions for asymptotic stability of a second order system were obtained in terms of the state variables. 3. For a discrete time plant, the limiting value of the proportional controller gain Kp was obtained such that the closed loop system remained marginally stable by considering the characteristic polynomial.

Uploaded by

Sumit Bahl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Control Most Impo File

1. A cascade compensator was designed for a plant with a double pole and insignificant pole such that the closed loop system had a 25% overshoot and 5s settling time. The compensator transfer function was derived. 2. Using a Lyapunov function, conditions for asymptotic stability of a second order system were obtained in terms of the state variables. 3. For a discrete time plant, the limiting value of the proportional controller gain Kp was obtained such that the closed loop system remained marginally stable by considering the characteristic polynomial.

Uploaded by

Sumit Bahl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 72

Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Major Test

Date: 23 April 2011 Time: 2 hrs Marks: 60

____________________________________________________________________________________

1. A plant has open loop transfer function given by


G(s) = 1
s(s + 1 )(s + 5 )
Design a cascade compensator for unity negative feedback operation with the plant, such that
i. The insignificant pole at −5 is retained.
ii. The two significant closed loop poles respond with approximately 25% peak overshoot and 5s setting time
to unit step input.
...(10)

2. At zero input, a certain second order system is described as


d x1 −2 1 x1
=
dt x2 0 −4 x2
Using the Lyapunov function V(x1, x2) = x12/2 + x22/2 +x1x2, obtain conditions in terms of the state variables that
assure asymptotic stability for the system.
...(10)

3. A plant has equivalent discrete time transfer function (at some known sampling time T) is given by

G(z) = 0.025z
2
+ 0.06z + 0.008
z − 1.6z 2 + 0.73z − 0.1
3

For this, we consider design of a proportional controller gain Kp. By considering the marginal stability
condition (digital domain!), obtain the limiting value of Kp within which the closed loop system will remain
stable.
...(23)

4. A typical electro-hydraulic valve control system adjusts pressure output at a valve opening based on control
current input that has magnitude plot asymptotes in the usual dB/log-of-Hertz scale that may be described as
i. Constant 20dB from low frequencies up to 2Hz.
ii. −20dB/decade slope from 2Hz to 10Hz.
iii. Constant at the final value of “ii” up to 20Hz.
iv. −40dB/decade slope from 20Hz onwards.
Assuming a simple minimum order transfer function without all-pass terms, and the gain-to-asymptote error to
be negligible at the gain crossover frequencies, calculate the approximate phase margin for the control system.
...(17)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Major Test

1. For the second order double poles to respond with 25% peak overshoot and 5s settling time,
e −/ 1− 2
= 0.25 u  = 0.4037
...(1+1)
*n l 4 = 4 = 1.982rad/s
t ss 0.4037 % 5
Then the closed loop transfer function works out to
* 2n
G CL (s) =
(s 2 + 2* n s + * 2n )(s + 5 ) ...(3)
= 2 3.927
(s + 1.6s + 3.927 )(s + 5 )
The transfer function required to be cascaded for unity negative feedback is then
G CL (s)
H(s) =
[1 − G CL (s) ]G(s)
−1 −1
= 3.927 1− 3.927 1
(s 2 + 1.6s + 3.927 )(s + 5 ) (s 2 + 1.6s + 3.927 )(s + 5 ) s(s + 1 )(s + 5 ) ...(5)
3.927s(s + 1 )(s + 5 )
=
s 3 + s 2 (1.6 + 5 ) + s(3.927 + 8 ) + (4 % 3.927 )
3.927s(s + 1 )(s + 5 )
=
s 3 + 6.6s 2 + 11.927s + 15.708
(10 marks)

2. With the given Lyapunov function, we have


d V(x , x ) = x dx 1 + x dx 2 + x dx 2 + x dx 1 ¢(1)
1 2 1 2 1 2
dt dt dt dt dt
dx dx
= (x 1 + x 2 ) 1
+ 2
dt dt ¢(1)
= (x 1 + x 2 )[(−2x 1 + x 2 ) + (−4x 2 )] ¢(1)
= −(x 1 + x 2 )(2x 1 + 3x 2 ) ¢(1)
The system is therefore asymptotically stable if dV/dt < 0, that is
x 1 + x 2 > 0 and 2x 1 + 3x 2 > 0
...(2+1)
u x 1 > −x 2 and x 1 > − 3 x 2
2
or if
x 1 + x 2 < 0 and 2x 1 + 3x 2 < 0
...(2+1)
u x 1 < −x 2 and x 1 < − 3 x 2
2
(10 marks)

3. The closed loop system will retain the order three, so that it must have one real pole and a pair of complex
conjugate poles. ...(1)
In a manner similar to the analog counterpart, the real pole in this case will move toward the origin
(increasingly stable) as Kp increases.
...(2)

The complex pole pair will on the other hand, tend to move out of the unit circle, so that at the marginal
stability condition, we expect the closed loop poles to be at some p < 1.0, and e!jθ for some angle θ.
...(2)

Thus, writing the closed loop characteristic polynomial in two ways,


¢ (2)
(z − p )(z − e j )(z − e −j ) = z 3 − 1.6z 2 + 0.73z − 0.1 + K p (0.025z 2 + 0.06z + 0.008 )

u z 3 − (p + e j + e −j )z 2 + (pe j + pe −j + 1 )z − p =


¢ (1)
z 3 − (1.6 − 0.025K p )z 2 + (0.73 + 0.06K p )z − (0.1 − 0.008K p )
⎧ p + 2 cos  = 1.6 − 0.025K p ⎫
⎪ ⎪ ¢ (2)
u ⎨ 1 + 2p cos  = 0.73 + 0.06K p ⎬
⎪ p = 0.1 − 0.008K p ⎪
⎩ ⎭
⎧ 2 cos  = 1.5 − 0.017K p ⎫ ¢ (2)
u⎨ ⎬
⎩ p = 0.1 − 0.008K p ⎭
u 1 + (0.1 − 0.008K p )(1.5 − 0.017K p ) = 0.73 + 0.06K p ¢ (4)
u 0.000136K 2p − 0.0737K p + 0.42 = 0 ¢ (2)

0.0737 ! 0.0737 2 − 4 % 0.000136 % 0.42


u Kp = = 0.0737 ! 0.07213
2 % 0.000136 2 % 0.000136
¢ (2)
which leads to 5.772 to 536.14 as the two values for Kp at marginal stability limit. ...(1)

The second is obviously absurd because it corresponds to p = −4.189 (by the expression for p obtained through
coefficient comparison, as above) which is way beyond the unit circle. ...(1)

Therefore the limiting gain is 5.772, at which, p = 0.053824, and θ = !45.5o.


...(1)
(23 marks)

4. The following features for the system can be concluded from the description of the problem:
i. The steady state gain for the transfer function is 1020/20 = 10.0. ...(1)
ii. Single pole at 2Hz (12.57rad/s) ...(1)
iii. Single zero at 10Hz (62.83rad/s) ...(1)
iv. Double pole at 20Hz (125.66rad/s) ...(1)
The transfer function is thus given by
...(1)
10(1 + s/62.83 )
G(s) =
(1 + s/12.57 )(1 + s/125.66 ) 2
ignoring the possibility that we may have a ζ for the double pole that is not equal to unity, since we have no
way to estimate it (this leads to some approximation in the phase margin). Tracking the gain plot asymptotes,
we first obtain the magnitude at the 10Hz frequency by the −20dB/dec slope relation
M(10) − 20
= −20
log 10 − log 2 ...(2+1)
u M(10) = 20 − 20 log 5 = 6.0206dB
Clearly, 10Hz is still more than the gain crossover frequency, since the magnitude is not negative in dB. We
next move to the point 6.0206dB at 20Hz (constant up to that point), beyond which we have a plot of
−40dB/dec slope relation
...(2)
M(f) − 6.0206
= −40
log f − log 20
for any frequency f. Then solving for gain crossover frequency as M(f) = 0dB, we have
log f = log 20 + 6.0206/40
...(1+1)
u f = 20 % 10 6.0206/40 = 28.28Hz = 177.72rad/s
The phase at this frequency can be obtained from the transfer function expression as
øG(s) = tan −1 (177.72/62.83 ) − tan −1 (177.72/12.57 ) − 2 tan −1 (177.72/125.66 )
...(2+1)
= −124.9 o
Thus the phase margin available is (180−124.9)o = 55.1o. ...(2)
(17 marks)
EEL 205/11/Min1
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Minor Test I

Date: 11 February 2011 Time: 60 mins Marks: 20

____________________________________________________________________________________

1. For the plant transfer function given by

G(s) = s 2 + 4s + 6
2
s + 4s + 4
a. Obtain the overall time-response when fed with an input step of magnitude 5.
b. From the result of part “a” obtain the steady state error between the input and final output. (Use
of the Final Value Theorem for this part is not permitted.)
...(3+3)

2. Fig. P2 shows an experiment conducted by engineers after


P2
construction of a pavement, so as to check if a pedestrian x (t )
would be able to walk comfortably on it or not. The idea is
to have a mass (roughly of the weight of a pedestrian) with wall M
the material of a typical shoe sole attached at the bottom, f (t)
and to check if this mass has adequate damping coefficient K
on the wet pavement. The mass, which has a value 4kg, is wet pavement
sole D
attached to a wall across the pavement through an arbitrary
spring, and a force of known value (say, 10N) is suddenly
applied to it. In a particular experiment, the mass is found to move to maximum distance of 0.1163m
from its initial rest position, and then settles at a distance of 0.1m from the same initial position after
some oscillations.
i. What is the damping constant D between the typical shoe and the pavement ?
ii. In practice of course, a “spring support” is hardly to be expected for any pedestrian, so that a
more meaningful question can now be answered. If the spring had been missing, what will be the
displacement response of the mass if subjected to an impulse of 10N (that is, how much will a
pedestrian skid if given a push) ?
...(10+4)
EEL 205/11/Min1
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Minor Test I

1.
a. We have
Y(s) = s 2 + 4s + 6 % 5s = 5s + 20s +2 30
2 2

s + 4s + 4 s(s + 2)
...(2)
= 15/2 5/2 5
s − s + 2 − (s + 2) 2

By table of inverse Laplace transforms, we have


...(1)
y(t) = 15 − 5 e −2t − 5te −2t
2 2
b. From the above, the steady state value of the output is
lim y(t) = lim 15 − 5 e −2t − 5te −2t
tt∞ tt∞ 2 2 ...(2)
= 15
2
Therefore, steady state error to input = 5 − 15/2 = −5/2 ...(1)
(6 marks)

2. The dynamic equation to describe the experiment is a second order one, given by
2
M d 2 x(t) + D d x(t) + Kx(t) = f(t)
dt dt ...(1+1)
u X(s) = 2 1/M $ F(s)
s + (D/M)s + (K/M)
This has a standard form of the type
G* 2n
X(s) = $ F(s)
s 2 + 2* n s + * 2n
i. If the input is a step so that F(s) = F/s, then the output is known to have
Steady state value = GF

Peak overshoot = e −/ 1− 2


% steady state value
Here F = 10Nm, and G = (1/M)/(K/M) = 1/K. ...(1)

Now, from the experimental results we know that the steady state displacement is 0.1m, while the peak
overshoot is 0.1163m. By simple substitution we have
10/K = 0.1 u K = 100N/m ¢(1)

e −/ 1− 2
= (0.1163 − 0.1 )/0.1 = 0.163
2 ¢(1)
u = 0.3334 u  2 = 0.3334 = 0.25
1 − 2 1.3334
u  = 0.5 ¢(1)
Then
EEL 205/11/Min1

* n = K/M = 100/4 = 5rad/s


...(1+1)
2* n = 2 % 0.5 % 5 = D/M = D/4
which gives us D = 20N/m-s−1. ...(2)

ii. Having found out the parameters, the displacement response (without the spring) will now be
X(s) = 1 $F
Ms 2 + Ds ¢(2)

= 0.25 % 10 = 2.5 = 0.5 % 1s − 1 ¢(1)


s( s + 5 ) s (s + 5 ) s+5
so that in time domain,
x(t) = 0.5[1 − e −5t ]m ...(1)
giving a steady state displacement of 0.5m.

(14 marks)
EEL 205/11/Min2
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Minor Test II

Date: 16 March 2011 Time: 60 mins Marks: 20

____________________________________________________________________________________

1. The input-output relation describing a discrete time plant is given by


y(k + 2) − 0.6y(k + 1) + 0.05y(k) = 0.25u(k + 1) + 0.2u(k)
Obtain the discrete time Lure state space representation for the system with all unity elements in the
C matrix.
...(6)

2. If a proportional controller of gain KP is designed for unity negative feedback closed loop operation
of the plant

G(s) = 10
(s + 5 )(s + 0.2 )
so as to have 20-30% peak overshoot on step response, what is the range of KP required ?
...(8)

3. Obtain the value of K for which the root loci of


K(s + 1 )
G(s) =
(2s + 1 )(3s + 1 )
break off from the real axis indicating identical real roots.
...(6)
EEL 205/11/Min2
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Test II

1. The z-transform of the input-output relation is


[z 2 − 0.6z + 0.05 ]y(z) = [0.25z + 0.2 ]u(z) ¢(1)
u G(z) = 2 0.25z + 0.2 = 0.25z + 0.2 = 0.8125 − 0.5625 ¢(2)
z − 0.6z + 0.05 (z − 0.5 )(z − 0.1 ) z − 0.5 z − 0.1
Defining x1 and x2 as the two Lure variables, we have
x 1 (k + 1) = 0.5x 1 (k) + 0.8125u(k) ¢(1)
x 2 (k + 1) = 0.1x 2 (k) − 0.5675u(k) ¢(1)
Then the state variable form is given as
0.5 0 0.8125 ¢(1)
x(k + 1) = x(k) + u(k)
0 0.1 −0.5675

y(k) = 1 1 x(k)
(6 marks)

2. Since the system in closed loop will remain a second order system without zeros, the peak overshoot range of
20-30% can be related to the damping ratio by the relation
i. e −/ 1− 2
= 0.2 u  = 0.4559 ¢(0.5)

ii. e −/ 1− 2


= 0.3 u  = 0.3579 ¢(0.5)
The characteristic equation in either case takes the form
s 2 + 5.2s + 1 + 10K P = 0 ¢(1)
u * 2n = 1 + 10K P ; 2* n = 5.2 ¢(0.5 + 0.5)
Corresponding to ζ = 0.4559 and 0.3579, by the second relation we have natural frequencies of 5.703rad/s, and
7.265rad/s respectively. ...(1+1)

By the first relation, corresponding to the natural frequencies, we have KP = 3.152, and 5.178 respectively.
...(1+1)
Therefore the required range of proportional controller gain is 3.152 to 5.178. ...(1)
(8 marks)

3. One could solve this by the conventional “derivative of K” method, but there is a short cut available for this
simple second order system !

Method 1:
Simply assume that at each of the breakoffs, we encounter double closed loop poles at some negative real
location (say, −σ). ...(1)

Then the closed loop characteristic equation can be written as


EEL 205/11/Min2

(2s + 1 )(3s + 1 ) + K(s + 1 )


s 2 + 2"s + " 2 = =0
6 ...(1+1)
u s 2 + 2"s + " 2 = s 2 + 5 + K s + 1 + K = 0
6 6
By comparing coefficients, we have
1 % 5+K 2
= 1+K
2 6 6 ¢(1)
u K 2 + 10K + 25 = 24 + 24K
u K 2 − 14K + 1 = 0 ¢(1)
14 ! 196 − 4 ¢(1)
uK= = 13.928, 0.0718
2
which are the gains corresponding to breakoff points.
(6 marks)

Method 2:
By the conventional “rules” for root-loci, the breakoff points are obtained as solutions to
ØK = 0
Øs

u Ø − 6s + 5s + 1 = 0
2
¢(1)
Øs s+1
(s + 1 )(12s + 5 ) − (6s 2 + 5s + 1 )
u =0
(s + 1 ) 2 ¢(1)
u 6s + 12s + 4 = 0
2
¢(1)
−6 ! 36 − 24 ¢(1)
us= = −1.5773, − 0.4226
6
Substitution gives us

For s = −1.5773, K = − 6 % 1.5773 − 5 % 1.5773 + 1 = 13.928


2
−1.5773 + 1 ¢(1)

For s = −0.4226, K = − 6 % 0.4226 − 5 % 0.4226 + 1 = 0.0718 ¢(1)


2
−0.4226 + 1
(6 marks)
EEL 205/11/Min3
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Minor Test III

Date: 19 April 2011 Time: 60 mins Marks: 20

____________________________________________________________________________________

1. A unity negative feedback system uses a cascade controller

H(s) = 5
5s + 1
on an analog plant of open-loop transfer function
.
2(s + 1 )
G(s) =
(2s + 1 )
Calculate the exact gain crossover frequency for the closed loop system.
...(10)

2. An analog hydraulic speed control system has a two-state representation with


−3 10 0
A= ; B= ; C= 1 0
0 0 5
Design a state-feedback gain row vector K with two elements k1 and k2, such that the closed-loop
system eigenvalues are located corresponding to a natural frequency of 29.7rad/s and damping ratio
of 0.7.
...(10)
EEL 205/11/Min3
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Test III

1. The open-loop transfer function of the system and controller is given by


...(1)
H(s)G(s) = 5 2(s + 1 ) = 10(s + 1 )
5s + 1 (2s + 1 ) (5s + 1 )(2s + 1 )
At the gain crossover frequency, we have
H(j*)G(j*) = 1

10 * 2 + 1 ¢(2)
u =1
25* 2 + 1 4* 2 + 1
u 100(* 2 + 1 ) = (25* 2 + 1 )(4* 2 + 1 )
¢(2)
u 100* 4 − 71* 2 − 99 = 0
¢(1)
71 ! 71 + 4 % 100 % 99
2
u *2 = = 71 ! 211.2842 ¢(1)
2 % 100 200
The only feasible value to the above corresponds to the addition in the numerator, so that ω2 = 1.4114
(rad/s)2, that is ω = 1.188rad/s. The gain crossover frequency is therefore 1.188/2 π = 0.189Hz....(2+1)
(10 marks)

2. The state-space system with feedback is given by


d x = Ax + Bu = Ax + B[r + Kx ] = [A + BK ]x + Br
dt
⎧ −3 10 0 ⎫ 0
=⎨ + k1 k2 ⎬x + r
⎩ 0 0 5 ⎭ 5 ¢(1)

−3 10 0
= x+ r
5k 1 5k 2 5 ¢(1)
so that the characteristic equation is given by
⎧ −3 10 ⎫
det ⎨ sI − ⎬=0
⎩ 5k 1 5k 2 ⎭ ¢(1)
⎧ s + 3 −10 ⎫
u det ⎨ ⎬=0
⎩ −5k 1 s − 5k 2 ⎭ ¢(1)
u (s + 3 )(s − 5k 2 ) − 50k 1 = 0 ¢(1)
u s 2 + (3 − 5k 2 )s − (50k 1 + 15k 2 ) = 0 ¢(1)
If this is to correspond to a natural frequency of 29.7rad/s, and a damping constant of 0.7, then by the
standard form of the second order characteristic equation, we conclude that
− (50k 1 + 15k 2 ) = 29.7 2 u 50k 1 + 15k 2 = −882.09 ¢(1)
(3 − 5k 2 ) = 2 % 0.7 % 29.7 = 41.58 ¢(1)
Thus by a pair of simple calculations,
EEL 205/11/Min3

k 2 = 3 − 41.58 = −7.716 ¢(1)


5
k1 = 15 % 7.716 − 882.09 = −15.327 ¢(1)
50
which are the required gains.
(10 marks)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Major Test

Date: 7 May 2013 Time: 3 hrs Marks: 60

____________________________________________________________________________________

1. A plant with digital transfer function

G(z) = z+1
z 2 − 4z + 9
is provided with an output feedback through a feedback gain K, which is adjustable. Obtain an
expression for the closed loop transfer function. Find the values of K for which the closed loop plant
becomes
a. Marginally stable (or on the verge of being stable).
b. Stable with critical damping.
...(10)

2. Fig. P2 shows a hydraulic problem involving two


tanks. For a tank with an opening at the bottom, it can P2 A2
be shown that the flow rate Q(t) is related to the A1
pressure at the bottom as
Q(t) = (A/!g ) $ dP(t)/dt valve

where ρ is the density of liquid in a tank, A is its cross


section area, and P(t) is the pressure at the bottom (g:
acceleration due to gravity).
P1( t ) P2( t )
Consider two tanks as shown with initial pressures P1o Q( t )
and P2o (P2o > P1o) at the bottoms, cross section areas
A1 and A2, and connected initially by a closed valve. When open, the valve offers a hydraulic
resistance R to the flow Q(t). Obtain the time variation of Q(t) from the instant at which the valve is
opened.
...(10)

3. A designer is contemplating variation of the phase crossover frequency for a plant

G(s) = s+1
(s + 2 )(s + 5 )
by cascading it with different all-pass transfer functions. What are the values for gain margin
available to him when the crossover is set at the different corner frequencies of the plant ?
...(10)

4. The digital input-output relation describing a plant is given by


y(k + 2) − 0.6y(k + 1) + 0.05y(k) = 0.25u(k + 1) + 0.2u(k)
Obtain the discrete time Lure state space representation for the system.
...(10)
5. Fig. P5 shows the basic configuration of a tire tester, that
is used by automotive tire manufacturers to study their P5
product at the factory. Elasticity of the tire and the
tester ceiling
pressure of air pumped into it together decide an
equivalent spring constant K2 between the tire shaft and GAUGE V
0
the point of contact on the floor. The support for the force
gauge, which runs against the ceiling by wheels, has an
equivalent damping constant D and spring constant K1. D
K1
tire shaft
As the tester is pulled over a ramp at constant horizontal
speed V0, the vertical force recorded by the gauge is used tester floor
as the output signal f(t) by the manufacturer to assess the tire
tire. The input to the system is obviously the height of the H
contact point of the tire with the floor, which may be
assumed to be approximately equal to the floor height h(t),
starting from t = 0 at the ramp base where all variables L
have zero value. For convenience, let the height of the t= 0
wheel shaft above its initial position be hs(t) (which too is
zero initially). Thus the entire system is to be analysed in
terms of h(t), hs(t) and f(t).

Obtain the force time response f(t) recorded by the gauge as the tester moves on the ramp (only up to the
horizontal distance L), starting at the ramp base at t = 0.
...(20)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Major Test

1. Assuming the negative feedback convention (K positive for negative feedback), the closed loop transfer
function is given by

G(z)
G CL (z) =
1 + KG(z)

= z+1
z 2 + (K − 4 )z + (K + 9 )
so that
2e "T $ cos *T = K − 4
e 2"T = K + 9

i. For marginally stable case, the roots of the characteristic polynomial must lie on the unit circle, so that
eσΤ=1

This requires K + 9 = 1, that is K = −8 However, corresponding to this, we get cos ωT = −6, which is
impossible. Therefore, no value of the closed loop gain satisfies the marginal stability problem.

ii. For critical damping case we require that ω = 0, so that.


K−4 2
=K+9
2
u K 2 − 12K − 20 = 0
12 ! 144 + 80
uK= = 6 ! 56 = 13.48, − 1.48
2
Thus two gains are possible these being a negative feedback of 13.48, or a positive feedback of 1.48.
However, neither solution is stable, since in each case,
e "T = K − 4
2
= 4.74, −2.74
which have magnitudes greater than unity (where feasible !). Therefore, critically damped closed loop
solutions can not be stable for this system.
(10 marks)

2. It is clear from the statement of the problem that for any tank A/ρg is essentially its hydraulic capacitance C.
Thus from the instance that the valve is opened, the following dynamics apply
P 2 (t) − P 1 (t) dP 1 (t) dP 2 (t)
Q(t) = = C1 = −C 2
R dt dt
dQ(t)
u 1 + 1 $ Q(t ) = − d [P 2 (t) − P 1 (t) ] = −R $
C1 C2 dt dt
RC 1 C 2 dQ(t)
u $ + Q(t) = 0
C1 + C2 dt
RA 1 A 2 dQ(t)
u $ + Q(t) = 0
!g(A 1 + A 2 ) dt
Now the initial flow immediately after the valve is opened is obviously
Qo = (P2o − P1o )/R
so that by conversion to Laplace domain we get
RA 1 A 2 RA 1 A 2 P − P 1o
$ s + 1 Q(s) = $ 2o
!g(A 1 + A 2 ) !g(A 1 + A 2 ) R
P 2o − P 1o !g(A 1 + A 2 )
u Q(t) = $ exp − $t
R RA 1 A 2
which is the expected flow dynamics.
(10 marks)

3. The gain margin at a particular phase crossover frequency ω is given by the expression
GM = −20 log *2 + 1 + 20 log *2 + 4 + 20 log *2 + 25
The corner frequencies of the transfer function are at 1rad/s, 2rad/s, and 5rad/s

If these are set as the phase crossover frequencies, we obtain gain margins as
GM(1 ) = −20 log 2 + 20 log 5 + 20 log 26 = 18.13dB

GM(2 ) = −20 log 5 + 20 log 8 + 20 log 29 = 16.67dB

GM(5 ) = −20 log 26 + 20 log 29 + 20 log 50 = 17.46dB


(10 marks)

4. The z-transform of the input-output relation is


[z 2 − 0.6z + 0.05 ]y(z) = [0.25z + 0.2 ]u(z)

u G(z) = 0.25z + 0.2 = 0.25z + 0.2 = 0.8125 − 0.5625


z 2 − 0.6z + 0.05 (z − 0.5 )(z − 0.1 ) z − 0.5 z − 0.1
Defining x1 and x2 as the two Lure variables, we have
x 1 (k + 1) = 0.5x 1 (k) + 0.8125u(k)
x 2 (k + 1) = 0.1x 2 (k) − 0.5675u(k)
Then the state variable form is given as
0.5 0 0.8125
x(k + 1) = x(k) + u(k)
0 0.1 −0.5675

y(k) = 1 1 x(k)
(10 marks)

5. Equating forces at the shaft, we have


dh s (t)
K 2 [h(t) − h s (t) ] = K 1 h s (t) + D
dt
u K 2 H(s) = [K 1 + K 2 ]H s (s) + DsH s (s)
H s (s) K2
u =
H(s) [K 1 + K 2 ] + Ds
At the gauge,
dh s (t)
f(t) = K 1 h s (t) + D
dt
u F(s) = K 1 H s (s) + DsH s (s)
F(s) F(s) H s (s) K 2 [K 1 + Ds ]
â G(s) = H(s) =
H s (s) $ H(s) = [K 1 + K 2 ] + Ds

While on the ramp, the input to this transfer function is h(t) = H(V0t/L), so that the gauge record can be
obtained as
K 2 [K 1 + Ds ] HV 0 K 2 HV 0 s + K 1 /D
F(s) = $ = $ 2
[K 1 + K 2 ] + Ds Ls 2 L s [s + (K 1 + K 2 )/D ]
K2V0H K2D 1 + K1 1 − K2D 1
=
L (K 1 + K 2 ) 2 s K 1 + K 2 s 2 (K 1 + K 2 ) 2 [s + (K 1 + K 2 )/D ]
Then the record of the gauge works out to
K2V0H K2D K1 K2D
f(t) = + $t− $ e −(K 1 +K 2 )t/D
L (K 1 + K 2 ) 2 K 1 + K 2 (K 1 + K 2 ) 2
(20 marks)
EEL 205/13/Min1
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Minor Test I

Date: 1 March 2013 Time: 2 hrs Marks: 20

____________________________________________________________________________________

1 When tested independently, the unit step response of a first order system H(s) reaches a value of 6 in
2s finally attaining a steady state value of 8. H(s) is now configured as a negative feedback path to a
second order system G(s) with unity steady state gain and both poles at −4.
i. Obtain the transfer functions for G(s) and H(s).
ii. What will be the steady state error for the feedback system when subjected to a step input of
5u(t)?
...(5+5)

2 When an inpulse input


u(k)= 1 for k = 0
= 0 for all other values of k.
is applied to a certain digital system, the response is
y(k)= 1 for k = 0
= −5 for k = 1
=6 for k = 2
=0 for all other values of k.

i. Obtain the transfer function for the system.


ii. Obtain the poles and zeros of the system.
iii. Briefly reason out whether the system is stable or unstable.
...(2+2+1)

3. Find the phase variable representation for a second order single-input/single-output plant that has the
following particulars:
a. Poles at −1 and −3.
b. Zero at −2
c. Steady state gain of 2/3.

Write down the A, B, C, D matrices clearly to conclude your answer.


...(2+3)
EEL 205/13/Min1
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Minor Test I

1
i. G(s) has unity gain with two poles at −4, so it takes the form of

G(s) = 42 = 16 2
(s + 4 ) 2 (s + 4 )
H(s) gives a unit-step response of output 8, so that its steady state gain is 8/1 = 8. It therefore takes a form

H(s) = 8
1 + $s
with a unit-step response given by
Y(s) = 1s % 8 = 8 1s − $
1 + $s 1 + $s
u y(t) = 8[1 − e −t/$ ]
At t = 2s, y(t) = 6, so that
6 = 8[1 − e −2/$ ]

u e −2/$ = 0.25 u $ = −2 = 1.4427s


ln 0.25
Therefore

H(s) = 8
1 + 1.4427s

ii. If G(s) is provided negative feedback through H(s), then the closed-loop transfer function is
G(s)
G CL (s) =
1 + G(s)H(s)
16/(s + 4 ) 2
=
1 + 16/(s + 4 ) 2 [8/(1 + 1.4427s )]
16(1 + 1.4427s )
=
(s + 4 ) (1 + 1.4427s ) + 16 % 8
2

The steady state gain for the closed-loop system is obtained in the limit as

G CLss = 16 = 1
16 + 16 % 8 9
Then steady state error to a step of 5 is obtained as
16(1 + 1.4427s )
e ss 5s = lim s 1 % 5s − % 5
st0 9 (s + 4 ) 2 (1 + 1.4427s ) + 16 % 8 s

= 5 − 2 16 % 5
9 4 + 16 % 8
=0
(5+5 marks)
EEL 205/13/Min1
2
i. In terms of generic time instant k, we have
y(k) = 1.u(k)
y(k+1) = −5.u(k)
y(k+2) = 6.u(k)

The impulse response is the summation of all for y(k) - which gives us the convolution - as
y(k) = [ 1 − 5z−1 + 6z-2 ].u(k)
so that the transfer function becomes G(z) = 1 − 5z−1 + 6z-2

ii. We can write the transfer function as


G(z) = z − 5z +6
2
z2
(z − 3 )(z − 2 )
=
z2
which is seen to have two poles at the origin, and zeros at +2 and +3.

iii. The system is obviously stable, because both poles are within the unit circle.
(2+2+1 marks)

3
The transfer function for the plant is
G(s) = s+2
(s + 1 )(s + 3 )

= s+2
s 2 + 4s + 3
Define
x 1 (s) = 1 u(s)
s 2 + 4s + 3
x 2 (s) = sx 1 (s)
In time domain these work out to
dx 1 (t)
= x 2 (t)
dt
d 2 x 1 (t) dx 1 (t) dx 2 (t)
+4 + 3x 1 (t) = u(t) u = −3x 1 (t) − 4x 2 (t) + u(t)
dt 2 dt dt
x 1 (t) 0 1 x 1 (t) 0
â d = + u(t)
dt x 2 (t) −3 −4 x 2 (t) 1

Then the output is obtained as


y(s) = (s + 2 )x 1 (s)

dx 1 (t) x 1 (t)
u y(t) = + 2x 1 (t) = x 2 (t) + 2x 1 (t) = 2 1
dt x 2 (t)

Finally
0 1 0
A= ; B= ; C= 2 1 ; D= [0 ]
−3 −4 1
(2+3 marks)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Minor Test II

Date: 27 April 2013 Time: 2 hrs Marks: 20

____________________________________________________________________________________

1. Two known strains of bacteria are mutually supportive of each other’s growth according to the
equations
dx 1 /dt = −x 1 + x 1 x 2
dx 2 /dt = −2x 2 + x 1 x 2
where x1 and x2 are concentration of the two strains in number per-unit-volume of a sample substrate.
Note that if each population is sufficiently small, the linear terms dominate over the nonlinear terms,
and each concentration would decay to zero over time. However if the individual concentrations are
high, the nonlinear terms make each growth rate positive, so that the concentrations may go up
without limit ! Clearly the desirable equilibrium has both concentrations is zero, and we are interested
to find out the condition under which this will be achieved over time.

Using the total bacterial concentration (x1 + x2) as a Liapunov function, obtain the condition under
which the zero concentration equilibrium is asymptotically stable.
...(5)

2. A proportional controller gain KP is to be designed for unity feedback operation of a plant with
open-loop transfer function

G(s) = 10
(s + 5 )(s + 0.2 )
By studying the coefficients of the closed loop characteristic polynomial, obtain the value of KP at
which the root-locus based design will result in a closed loop response of 20% overshoot to unit step
input.
...(7)

3. A plant has open loop poles at −1 and −5, and steady state gain of unity. What is the cascade
compensator transfer function H(s), which in closed loop with the plant will ensure a critically
damped second order system with unity steady state gain. Your answer will be in terms of the desired
natural frequency ωn of the closed loop system.

For a particular desired natural frequency of the closed loop system, where must the poles of H(s) lie?
...(8)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Minor Test II

1. With the given Liapunov function, we have


V(x 1 , x 2 ) = x 1 + x 2
d V(x , x ) = dx 1 + dx 2
1 2
dt dt dt
= −x 1 + x 1 x 2 + −2x 2 + x 1 x 2
= −x 1 − 2x 2 + 2x 1 x 2
With both x1 and x2 as greater than zero, the system is therefore asymptotically stable if
x 1 + 2x 2 > 2x 1 x 2

u x12 + x21 > 2

(5 marks)

2. The closed loop characteristic polynomial of the plant with controller is given by
(s + 5 )(s + 0.2 ) + 10K P = 0
u s 2 + 5.2s + [1 + 10K P ] = 0
u * 2n = 1 + 10K P ; 2* n = 5.2

u 2 1 + 10K P = 5.2
Now, for a 20% overshoot to step input,
e −/ 1− 2
= 0.2

u = 0.5123
1 − 2

u  = 0.4559
Substituting this value in the above relation,
2 % 0.4559 1 + 10K P = 5.2 u K P = 3.1517
which is the required value that will be obtained by the loci at the appropriate ζ-line.
(7 marks)

3. The plant transfer function is described as


G(s) = 5
(s + 1 )(s + 5 )

= 5
s 2 + 6s + 5
With H(s) as a cascade controller, the closed loop transfer function must have second order, critical damping,
and unity steady state gain. It must therefore have the form
G(s)H(s) * 2n
= 2
1 + G(s)H(s) s + 2* n s + * 2n
5H(s) * 2n
u =
s 2 + 6s + 5 + 5H(s) s 2 + 2* n s + * 2n
* 2n * 2n (s 2 + 6s + 5 )
u 5H(s) 1 − 2 = 2
s2 + 2* n s + * n s + 2* n s + * 2n
* 2n (s 2 + 6s + 5 )
u H(s) =
5(s 2 + 2* n s )
H(s) has two poles, of which one must be located at the origin, and the other at −2ωn depending on the desired
natural frequency.
(8 marks)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Major Test

Time: 3 hrs (Open book) Marks: 60

____________________________________________________________________________________

1. The digital transfer function of a second order system in open loop has positive real poles at a and b,
both located within the unit circle. In closed loop the system has a cascaded controller of proportional
gain KP. Obtain an equation for the digital root loci once they leave the real axis.
...(15)

2. An analog system has open loop negative real poles at −a, −b, and −c. If the loop is closed through a
gain K, what will be its value at the point of marginal stability?
...(10)

3. The Lyapunov function defined as


x1
V(x 1 , x 2 ) å 1 x 22 + ¶ x 5 $ dx
2 0

is to be used to examine stability of


d x1 x2
=
dt x2 −x 51 − x 22

at its equilibrium points. Are the equilibria stable, asymptotically stable, or unstable ?
...(10)

4. The non-linear system given by


d x1 −1.1x 1 + g 2 (x 2 )
=
dt x2 g 1 (x 1 ) − 1.1x 2

where 2 $ tan −1 (0.7x )


g i (x i ) =  i

has equilibria at (0.454, 0.454), (−0.454, −0.454), and (0, 0). By eigenvalue analysis, examine the
stability to small changes around each of the equilibrium point.
...(15)

5. If ζ = 0.5 for a complex conjugate pole pair, by how much dB does the gain response differ from the critically
damped case at the corresponding corner frequency ?.
...(10)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Major Test

1. The closed loop characteristic equation is given by


(z − a )(z − b ) + K P = 0
Once the loci leave the real axis, the closed loop poles will always occur as complex conjugate pole pairs. Let
these be represented as z = ρ.e!jθ. Then
(!e !j − a )(!e !j − b ) + K P = 0

u ! 2 e !j2 − (a + b )!e !j + ab + K P = 0


Since the equation holds separately for positive and negative signs of θ, we obtain real and imaginary
component equations as
! 2 cos 2 − (a + b )! cos  + (ab + K P ) = 0
! 2 sin 2 − (a + b )! sin  = 0
Since neither ρ nor sinθ can be zero for the complex conjugate poles, the second equation reduces to
! cos  − (a + b )/2 = 0
Since this expression is free of KP, it gives a relation for the locus. We observe that once the locus leaves the
real axis, it follows the perpendicular bisector of the real section between a and b.
(15 marks)

2. From our knowledge of third order transfer function at the point of marginal stability, we expect a single real
closed loop pole, together with a complex conjugate pair of imaginary poles. Thus in closed loop,
(s + " )(s 2 + * 2n ) = (s + a )(s + b )(s + c ) + K
By comparison of closed loop coefficients, we get relations to be simultaneously satisfied
"=a+b+c
* 2n = ab + bc + ca
" $ * 2n = abc + K
Thus the required value of K is
K = " $ * 2n − abc
= (a + b + c )(ab + bc + ca ) − abc
(10 marks)

3. From the state equation we observe that time derivative of the first state variable can be zero only if x2 = 0.
Time variation of the second derivative can therefore be zero only if x1 = 0 as well, because at any other x1 the
derivative assumes negative values. Thus the only equilibrium point to be examined is (x1, x2) = (0, 0).

Further we have
x1
V(x 1 , x 2 ) å 1 x 22 + ¶ x 5 $ dx
2 0

= 1 x 22 + 1 x 61
2 6
which has a value of zero at the origin and positive values at all other points, indicating that it is
positive definite.
Next,
d V(x , x ) = [=V(x , x )] T $ d x
1 2 1 2
dt dt
x2
= x 51 x 2 $
−x 51 − x 22

= x 51 x 2 − x 2 x 51 − x 32
= −x 32
Since the time derivative is negative only for positive values of x2, we conclude that the point (0, 0) is
unstable.
(10 marks)

4. About either of the steady state points, we can obtain the incremental linear state space system by the Jacobian
of the nonlinear functions f(x) in the state space equation. We get
−1.1 1.4/ 1 + (0.7x 2 )
2
d x 1 x 1
= $
1.4/ 1 + (0.7x 1 ) −1.1
2
dt x 2 x 2
x0

At x0 = (0.454, 0.454), or x0 = (−0.454, −0.454),


d x 1 −1.1 0.7073 x 1
= $
dt x 2 0.7073 −1.1 x 2

In either case, the characteristic equation emerges as


(s + 1.1 ) 2 − 0.7073 2 = 0

u s = −1.1 ! 0.7073 = −1.8073, −0.3927


With the poles as negative real, both points are asymptotically stable.

At x0 = (0, 0),
d x 1 −1.1 1.4 x 1
= $
dt x 2 1.4 −1.1 x 2

so that the characteristic equation is


(s + 1.1 ) 2 − 1.4 2 = 0

u s = −1.1 ! 1.4 = −2.5, 0.3


This point has a positive real pole, and is therefore unstable.
(15 marks)

5. The ratio of the transfer function terms is given by


s 2 + 2* n s + * 2n
g(s) =
s 2 + 2 % 0.5* n s + * 2n
−* 2n + 2j* 2n + * 2n
u g(j* n ) =
−* 2n + j* 2n = +* 2n
2j* 2n
u g(j* n ) = = 2 w 20 log 10 2 = 6.02dB
j* 2n
(10 marks)
EEL 205/14/Min1
EEL 205: Control Engineering

Minor Test I

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

1 The Ziegler-Nichols gain setting is to be done for an analog system, whose dominant dynamics transfer
function is known to be

G(s) = 2
s($s + 1 ) 2
A closed-loop response test is done with a proportional controller of gain Kp, which is progressively increased
until sustained oscillations are obtained at an ultimate period. At that point, how does the ultimate gain Kp
relate to the parameter τ ?
...(10)

2 An analog system has a state space form that is known to be


1 0 0 1 1
d x(t) = 0 −1 0 $ x(t) + 1 −1 $ u(t)
dt
0 0 −4 −1 0
An embedded controller that samples at 0.1s intervals, is to be set up for closed loop control exclusively using
the third state variable for feedback. Obtain the digital difference equation that can be used by the controller to
generate x3(k+1) from state and input values at the k-th instant; all of which are measurable.
...(5)

3. A chemical solution tank is heated by a current carrying coil at located at one end, while its temperature is
sensed by a thermistor located at the other end. Starting initially at steady state, when the current in the coil is
changed by a step of +1A, the temperature sensor is found to record a rise in temperature by 1.2oC after 0.5s,
and by 2oC once steady state has been resumed. Assuming the solution tank to have first order thermal
dynamics, obtain a first order state equation for temperature T in terms of coil current I.
...(5)
EEL 205/14/Min1
EEL 205: Control Engineering

Solutions to Minor Test I

1 The closed loop transfer function of the given system, through the controller gain KP, is given by
2K P
G CL (s) =
s($s + 1 ) 2 + 2K P
With the ultimate gain, there must be some closed-loop pole that is purely imaginary, since this must
correspond to sustained oscillations with the ultimate period. Let this imaginary pole be jω (note that this
occurs with a complex conjugate pair).

Being a pole value, it must reduce the denominator to zero. Therefore


j*(j$* + 1 ) + 2K P = 0
2

u j*(1 − $ 2 * 2 ) + 2(K P − $* 2 ) = 0
Both the real and imaginary parts of this equation must equate to zero simultaneously, for the same value of ω.

Since ω itself can not be zero, the imaginary part of the equation gives us ω = 1/τ. For this value of ω, the real
part of the equation gives KP = 1/τ, which the the condition for ultimate gain.
(10 marks)

2 Since the matrix A for the given system is diagonal, its higher power are also diagonal, and so is the expansion
eAT. The only non-zero elements of eAT are therefore the diagonal elements, each of which can be obtained as
the exponential of the corresponding term of A.

We can therefore evaluate


e 1%0.1 0 0 1.1051 0 0
F(T ) = e AT = 0 e −1%0.1 0 = 0 0.9048 0
0 0 e −4%0.1 0 0 0.6703
and
(k+1 )T (k+1 )T
G (T ) = ¶ e A[(k+1 )T−$ ] $ B $ d$ = −A −1 ¶ e A[(k+1 )T−$ ] $ B $ dA[(k + 1 )T − $ ] = −A −1 $ e AT $ B
kT kT
−1
1 0 0 1.1051 0 0 1 1
= − 0 −1 0 $ 0 0.9048 0 $ 1 −1
0 0 −4 0 0 0.6703 −1 0

1.1051 0 0 1 1
=− 0 −0.9048 0 $ 1 −1
0 0 −0.1676 −1 0

1.1051 1.1051 −1.1051 −1.1051


= − −0.9048 0.9048 = 0.9048 −0.9048
0.1676 0 −0.1676 0

From the third row of the vector digital relation


x(k + 1 ) =F(T) $x(k ) +G(T) $u(k ),
we obtain the required answer as
x 3 (k + 1 ) = 0.6703 $ x 3 (k ) − 0.1676 $ u 2 (k )
(5 marks)

3 Assume the first order state equation to be


EEL 205/14/Min1

d T(t) = −aT(t) + bi(t)


dt
u (s + a )T(s) = bI(s)

u T(s) = s +b a $ 1s = b 1 1
a s − s+a

u T(t) = b −at
a [1 − e ]
as a response to the +1A step change in I(t).
At steady state, this must have a value b/a which is 2oC
Equating values at 0.5s,
1.2 = 2[1 − e −0.5a ]

u e −0.5a = 1 − 1.2 = 0.4


2
u a = 1.8326s
so that the state equation is
d T(t) = −1.8326T(t) + 3.6652I(t)
dt
(5 marks)
EEL 205/14/Min2
EEL 205: Control Engineering

Minor Test II

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

1 Find the phase variable representation for a second order single-input/single-output plant that has the following
particulars:
a. Poles at −1 and −3.
b. Zero at −2 and −4.
c. Steady state gain of 8/3.
Write down the A, B, C, D matrices clearly to conclude your answer..
...(10)

2, What is the phase margin of the transfer function


G(s) = Ks
s 2 + * 2n
at its gain cross-over frequency ?
...(5)

3. For the unstable system


1 0 0 1 1
d x(t) = 0 −1 0 $ x(t) + 1 −1 $ u(t)
dt
0 0 −4 −1 0
obtain the response at time t > t0, starting with initial time at t0.
...(5)
EEL 205/14/Min2
EEL 205: Control Engineering

Solutions to Minor Test II

1 The transfer function for the plant is


(s + 4 )(s + 2 )
G(s) =
(s + 1 )(s + 3 )

= s 2 + 6s + 8
2
s + 4s + 3
= 1 + 2 2s + 5
s + 4s + 3
Define
x 1 (s) = 1 u(s)
s 2 + 4s + 3
x 2 (s) = sx 1 (s)
In time domain these work out to
dx 1 (t)
= x 2 (t)
dt
d 2 x 1 (t) dx 1 (t) dx 2 (t)
+4 + 3x 1 (t) = u(t) u = −3x 1 (t) − 4x 2 (t) + u(t)
dt 2 dt dt
x 1 (t) 0 1 x 1 (t) 0
â d = + u(t)
dt x 2 (t) −3 −4 x 2 (t) 1
Then the output is obtained a
y(s) = (2s + 5 )x 1 (s) + u(s)

dx 1 (t) x 1 (t)
u y(t) = 2 + 5x 1 (t) + u(t) = 2x 2 (t) + 5x 1 (t) + u(t) = 5 2 + [1 ]u(t)
dt x 2 (t)
Finally
0 1 0
A= ; B= ; C= 5 2 ; D= [1 ] .
−3 −4 1
(10 marks)

2 Frequency response of the given transfer function is


jK*
G(j*) =
−* 2 + * 2n
u øG(j*) = tan −1 ∞ = 
2
Regardless of the frequency. Thus whatever the gain cross-over frequency, the phase margin is −π/2.
(5 marks)

3
The resolvent matrix is given by
−1
s−1 0 0 (s − 1 ) −1 0 0
−1 −1
(sI − A ) = 0 s+1 0 = 0 (s + 1 ) 0
0 0 s+4 0 0 (s + 4 ) −1
The state transition matrix between t0 and t is then given by
EEL 205/14/Min2
(s − 1 ) −1 0 0 e (t−t 0 ) 0 0
−1 −1 −1 −1 −
d (sI − A ) t−t0 = d 0 (s + 1 ) 0 = 0 e (t−t 0 )
0
0 0 (s + 4 ) −1 0 0 e −4(t−t0 )
t−t 0
The response at t, starting with t0, is then given by
e (t−t 0 ) 0 0 ⎧ e (t−$ ) 0 0 1 1 ⎫
t
⎪ ⎪
x(t) = 0 e −(t−t 0 )
0 $ x(t 0 ) + ¶ ⎨ 0 e −(t−$ )
0 1 −1 $ u($) ⎬ d$
t0 ⎪ ⎪
0 0 e −4(t−t 0 ) ⎩ 0 0 e −4(t−$ )
−1 0 ⎭
e (t−t 0 ) 0 0 ⎧ e (t−$ ) e (t−$ ) ⎫
t
⎪ ⎪
= 0 e −(t−t 0 ) 0 $ x(t 0 ) + ¶ ⎨ e −(t−$ )
−e −(t−$ ) $ u($) ⎬ d$
t0 ⎪ ⎪
0 0 e −4(t−t 0 ) ⎩ −e
−4(t−$ )
0 ⎭
(5 marks)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Major Test

Time: 3 hrs (Open book) Marks: 60

____________________________________________________________________________________

(Please note that no credit will be awarded for any figure. They can be included for your own
convenience only.)

1. For the linear dynamical system model


$
x= A $ x + b $ u ;

0 1 0
A= ; b=
1 0 1

Design a state feedback cascade controller that stabilises the system about the operating state
corresponding to the constant input u = 2. The desired closed loop poles are at −2, −3.
...(20)

2. How much time does it take an unexcited system:


$ $
x1 = x2 ; x 2 = −x 1
to move from state [0 1]T to state [1 0]T ?
...(10)

3. Under what conditions is the nonlinear state space system


$
x1 −2x 1 + x 2 $ u
$ =
x2 −x 1 $ u
stable at the origin? Assume the Lyapunov function V(x) = x 21 + x 22 to be applicable.
...(10)

4. A second order digital transfer function has open loop poles at the origin and unity, and no open-loop
zeros. What is its overall gain constant when it is marginally unstable in closed loop ?
...(10)

5. A second order analog transfer function has the same natural frequency for the numerator and
denominator polynomials, but the damping ratio of the two are 1 −  2 and , respectively. If the gain
constant of the transfer function is unity, what is the magnitude and phase values at the natural
frequency ?
...(10)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Major Test

1. The state corresponding to u = 2 is obtained by putting the state derivative equal to null at that input, and this
will be the reference vector for the system.
−1
0 1 0 0 1 0 0 1 0 2
0= $x+ $ 2 u x= − $ $2= $ =
1 0 1 1 0 1 1 0 2 0
Let the cascade gain vector be some k 1 k 2 , since it will convert a second order error vector to a scalar
input. That is, in closed loop,
$ 0 1 0 ⎧ 2 ⎫
x= $x+ $ k1 k2 $⎨ − x⎬
1 0 1 ⎩ 0 ⎭
⎧ 0 1 0 0 ⎫ 0 0 2
=⎨ − ⎬$x+ $
⎩ 1 0 k1 k2 ⎭ k1 k2 0

0 1 0
= $x+
1 − k 1 −k 2 2 $ k1

The characteristic equation of the closed loop system must have roots at −2 and −3. That is
s $ (s + k 2 ) − (1 − k 1 ) = (s + 2 ) $ (s + 3 ) = 0
u s 2 + k 2 $ s + (k 1 − 1 ) = s 2 + 5s + 6 = 0
u k1 = 7 ; k2 = 5
The feedback gain matrix should therefore be [ 7 5 ] for required performance.
(20 marks)

2. In state space, the system is represented as


$
x1 0 1 x1
$ = $
x2 −1 0 x2
−1
x 1 (s ) ⎧⎪ s −1 ⎫⎪ x 1 (0 )
u = ‡ −1 ⎨ ⎬$
x 2 (s ) ⎪⎩ 1 s ⎪⎭ x 2 (0 )

x 1 (s ) ⎧ s 1 ⎫ x 1 (0 )
u = ‡ −1 ⎨ 2 1 $ ⎬$
x 2 (s ) ⎩ s +1 −1 s ⎭ x 2 (0 )

x 1 (t ) cos t sin t x 1 (0 )
u = $
x 2 (t ) − sin t cos t x 2 (0 )

Substituting the values of initial and final state vectors:


1 cos t sin t 0
= $
0 − sin t cos t 1

u 1 = sin t ; 0 = cos t
u t = /2 s
(10 marks)

3. For stability at the origin,


d V(x , x ) = [=V(x )] T $ d x
1 2
dt dt
−2x 1 + x 2 $ u
= 2x 1 2x 2 $
−x 1 $ u

= −4x 21 + 2x 1 x 2 u − 2x 1 x 2 u
= −4x 21
which makes the origin always stable, since at all values other than the origin the time derivative of
the Lyapunov function is negative, regardless of the value of input !

Thus as long as the origin is an equilibrium point, it will always be stable. To check if the origin is an
equilibrium, examine
0 −2x 1 + x 2 $ u
=
0 −x 1 $ u
The condition for this is obviously that u must be finite (bounded), which is the required condition.
(10 marks)

4. Since the plotting rules for the two-pole transfer function are well known, we realise that once the root loci
leave the real axis, the real component of roots will maintain a value of (0 + 1)/2 = 0.5.

Now at the point of marginal stability, the loci must cross the unit circle, so the imaginary components of the
CL poles must be !j(1 − 0.52)1/2 = !j0.8660. Thus the closed loop characteristic equation becomes
(z − 0.5 ) 2 + 0.8660 2 = z(z − 1 ) + K = 0

u z2 − z + 1 = z2 − z + K = 0
which occurs when the gain is unity.
(10 marks)

5. Magnitude:

(−* 2n + * 2n ) 2 + 4(1 −  2 )* 4n 1 − 2
20 log 10 = 20 log 10
(−* 2n + * 2n ) 2 + 4( 2 )* 4n 
Phase:
2 1 −  2 * 2n 2* 2n
tan −1 − tan −1 =0
0 0

(10 marks)
EEL 205/15/Min1
EEL 205: Control Engineering

Minor Test I

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

1 An oven temperature control system has an analog transfer function given by

G(s) = K
s 2 + 3s + 10
For what value of open loop gain K will the closed loop system have peak overshoots less than 5% to step
inputs ?
...(7)

2 For an internal combustion engine, the transfer function with injected fuel flow rate as input and fuel flow rate into
the cylinder as output is given by1

G(s ) = $s + 1
$s + 1
where τ is a time constant, and ε is known as the fuel split parameter. Starting with the transfer matrix
expression of {C.[sI − A]−1.B + D}, obtain the state space representation for the system in terms of A, B, C, D.

(Note that use of standard forms such as phase variable form or Lure canonical form lifted from the text will be
given no credit. You must only follow the procedure indicated in the problem statement.)
...(8)

3 Obtain the difference equation by which a computer will represent the engine of Problem 2, if the input fuel
flow and the output speed are both sampled at time step T. Do not include the zero-order hold at either end,
since the A/D and D/A converters are not to be included in your answer.
...(5)
EEL 205/15/Min1
EEL 205: Control Engineering

Solutions to Minor Test I

1 From the peak overshoot condition,

−
exp [ 0.05
1 − 2

u m 0.9536
1 − 2

u  m 0.6901
The closed loop transfer function has a denominator polynomial
s 2 + 3s + (10 + K),
from which, by comparison of coefficients, we obtain
* 2n = 10 + K ; 2* n = 3

u= 3 m 0.6901
2 10 + K
u 10 + K [ 4.7245
u K [ −5.2754
The upper limit of ζ is of course, unity (the critical damping limit). Corresponding to it, ωn = 1.5rad/s; and
hence K = −7.75.

The required range of gain is therefore −7.75 to −5.2754.


(7 marks)

2 Since the transfer function represents a SISO system, we have input and output vectors reduced to scalars u(t)
and y(t), both being of unity dimension.

Further, the denominator polynomial, which is equal to ||sI−A||, is also of first order. Thie therefore reduces the
matrix A to a scalar constant, and number of states to unity. Thus A, B, C, D are all of order 1x1.

Working with the transfer function, we begin by taking out D, which would make the numerator polynomial of
an order strictly less than that of the denominator polynomial (one reducde dto zero)
G(s ) = $s + 1
$s + 1
= 1− +
$s + 1
that is, D = [ε]. Further, dividing both the numerator and denominator of the remaining transfer function by τ,
an equivalent for the first order ||sI−A|| can be obtained
(1 −  )/$
G(s ) = +
s + 1/$
u æsI − A æ = s + 1/$
u A = [−1/$ ]
The numerator of the transfer function, after removal of D is equivalent to C.adj[sI−A].B. The adjoint, since
[sI−A] is of order one, is unity. The factor (1−ε)/τ can be factorised between B and C in a variety of ways. A
good choice (though not the only one) is B = [1/τ] and C = (1−ε), because this keeps the state equation and
output equation - each dependent on exactly one constant. This makes the state space representation as
EEL 205/15/Min1
$
x = [−1/$ ] $ x + [1/$ ] $ u
y = [1 −  ] $ x + [ ] $ u
(8 marks)

3 The given transfer function has an analog pole at −1/τ and an analog zero at −1/(ετ), the DC gain (at s = 0)
being 1/ε .

By pole-zero map, the digital transfer function must have a pole at e−T/τ and a zero at e−T/(ετ) while the DC gain
must remain the same. The overall digital transfer function (without holds) would therefore be

G(z ) = 1 − e −T/$ $ z − e −T/($ )


1 − e −T/($ ) z − e −T/$
1 − e −T/$ $ 1 − e −T/($ ) $ z −1
=
1 − e −T/($ ) 1 − e −T/$ $ z −1
The difference equation therefore provides the values of output in terms of past values of output, and past and
present values of input as

y(k ) = e −T/$ $ y(k − 1 ) + 1 − e −T/$ $ [u(k ) − e −T/($ ) $ u(k − 1 )]


1 − e −T/($ )
(5 marks)
EEL 205/15/Min2
EEL 205: Control Engineering

Minor Test 2

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

1 An open loop analog transfer function has real poles at a, b, and complex conjugate zeros at c ! jd. If the
transfer function is closed with a negative feedback and the overall gain of the loop is K, at what values or
range of the gain will the closed loop transfer function be unstable ?
...(10)

2 What is the decibel contribution to the magnitude response of a transfer function by complex conjugate pole
pairs located at ρ/!θ at a frequency of ω rads/s ? Assume the sampling time of all signals to be some T in
seconds.
...(5)

3 A second order SISO state space system has a Jordan form with double eigenvalue at some non-zero λ, and an
input matrix [b1 b2]T. Under what condition is this system uncontrollable ?
...(5)
EEL 205/15/Min2
EEL 205: Control Engineering

Solutions to Minor Test I

1 There are two possibilities within the solution depending on the values of a, b, c, and d.
a. Note that part of the locus lies on the real axis between a and b, and there could be unstable conditions
within this, if either or both are positive real.
b. Additionally depending on c, the complex conjugate branches may or may not cross the imaginary axis.
The characteristic equation in terms of s is given for gain K as
(s 2 − [a + b ]s + ab ) + K $ (s 2 − 2c $ s + [c 2 + d 2 ]) = 0

u [1 + K ] $ s 2 − [a + b + 2cK ] $ s + (ab + K[c 2 + d 2 ]) = 0


Once the loci leave the real axis, let the roots have a general form x!jy. By substitution,
[1 + K ] $ (x 2 − y 2 ! j2xy ) − [a + b + 2cK ] $ (x ! jy ) + (ab + K[c 2 + d 2 ]) = 0

⎧ [1 + K ] $ (x 2 − y 2 ) − [a + b + 2cK ] $ x + (ab + K[c 2 + d 2 ]) = 0 ⎫


u⎨ ⎬
⎩ [1 + K ] $ 2xy − [a + b + 2cK ] $ y = 0 ⎭

To examine instability conditions on the real pole branch, we substitute y = 0 in both equations. This makes the
second equation valid for any gain, while the first one reduces to
[1 + K] $ x 2 − [a + b + 2cK ] $ x + (ab + K[c 2 + d 2 ]) = 0
If the real pole branch at all crosses the origin at any gain, then for such K,
ab + K[c 2 + d 2 ] = 0

uK=− ab
c2 + d2
That is, the real pole branch can have instability conditions if
a. Only one out of the two open loop real poles is negative, and
b. K m −ab/(c2+d2)
To examine instability conditions on complex conjugate branches, since y is non-zero at the crossover point, we
can eliminate it from the second equation by division. Further, x = 0 can be substituted in both equations,
thereby reducing them to
[1 + K ] $ y 2 = (ab + K[c 2 + d 2 ])
[a + b + 2cK ] = 0
That is, the complex branches move from stability to instability at K = −(a+b)/(2c) if the value works out to be
positive (otherwise the complex branches are entirely stable or entirely unstable). In case the complex branches
do cross the imaginary axis,
i. The system is unstable for K [−(a+b)/(2c) if the complex branches tilt left to reach the OL zeros at high
gains.
ii. The system is unstable for K m −(a+b)/(2c) if the complex branches tilt right to reach the OL zeros at high
gains.
(10 marks)

2 The decibel contribution by the complex conjugate pole pair is obtained as


EEL 205/15/Min2

− 20 log 10 [z − !e j ][z − !e −j ] = −20 log 10 z 2 − 2z! cos  + ! 2

= −20 log 10 (e j*T ) − 2e j*T ! cos  + ! 2


2

= −20 log 10 [cos(2*T ) + ! 2 − 2! cos  cos(*T )] 2 + [sin(2*T ) − 2! cos  sin(*T )] 2

= −20 log 10 1 + ! 4 + 4! 2 cos 2  + 2! 2 cos(2*T ) − 4! cos  cos(*T ) − 4! 3 cos  cos(*T )

= −20 log 10 [1 + ! 4 + 4! 2 cos 2  − 4! cos  ] + [2! 2 cos(2*T ) − 4! 3 cos  cos(*T )]


(5 marks)

3 The system as defined has


 1 b1
A= ; b=
0  b2
The controllability matrix is then computed as
b 1 (b 1 + b 2 )
b A$b =
b2 (b 2 )
For the system to be uncontrollable, the controllability matrix must not have full rank, that is, the determinant
of the controllability matrix must be zero. For this to be so,
b 1 $ (b 2 ) − b 2 $ (b 1 + b 2 ) = 0
u −b 22 = 0
u b2 = 0
(5 marks)
Indian Institute of Technology, Ropar.

EEL205: Control Engineering

Major Test

Time: 3 hrs (Open book) Marks: 60

____________________________________________________________________________________

(Please note that no credit will be awarded for any figure. They can be included for your own
convenience only.)

1. For a gas flow valve that is being controlled by a dedicated servomechanism, the speed and position
of the valve gate are linearly related. At the position of 3cm from the “fully open” position, the gate
speed is 6cm/s; while at a gate position of 6cm, its speed is 2cm/s. How long does the valve gate take
to traverse between the 3cm and 6cm positions, one way ?
...(10)

2. If a particular analog transfer function has a k-th order complex conjugate pole-pair at a natural
frequency ωn (total of 2k poles at ωn), by how many dB does the magnitude plot differ at ωn from the
critically damped case ?
...(10)

3. The characteristic equation of a linear digital control system is


z 3 + z 2 + 1.5Kz − (K + 0.5) = 0
For what values of K will the system be asymptotically stable ? (A well reasoned approach, and not
some algorithmic answer is expected for this problem.)
...(10)

4. A system has an analog open loop transfer function GOL(s) = 100/s2. In closed loop, it is to be
controlled by a P-D controller of transfer function C(s) = KP + KDs. If the maximum peak overshoot
and maximum 2% settling time to step input are available as design specifications 10% and 5s
respectively, establish the design relations between KP and KD.
...(10)

5. Find out the range of state vector across which the following system is stable:
$
x 1 = (1 − x 1 − 0.5x 2 )x 1
$
x 2 = (1 − 0.5x 1 − x 2 )x 2
Use the square of the state vector magnitude as the Liapunov function.
(10)

6. A second order, single input system, when digitised has


0 1 0
F= ; g=
−1 −1 1
Design the gain matrix for a negative state feedback controller, so that the closed loop eigenvalues
are located at 0.5 and 0.7.
...(10)
Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Major Test

1. We can obtain the linear relation between the position (x) and speed as
$
x −6 = 2 − 6 = − 4
x−3 6−3 3
$ 4
ux −6 = − x + 4
3
$ 4
ux= − x + 10
3
This essentially becomes a state equation of order one, and the state variation as a function of time is obtained
as
t
x(t ) = e −4(t−t 0 )/3 $ x 0 + ¶ e −4(t−$ )/3 $ 10 $ d$
t0

= e −4(t−t 0 )/3 $ x 0 + 3 % 10 % [e −4(t−$ )/3 ] tt 0


4
=e −4(t−t 0 )/3
$ x 0 + 15 (1 − e −4(t−t 0 )/3 )
2
= 15 + x0 − 15 e −4(t−t 0 )/3
2 2
For the total time, simply equate x(t) = 6cm and x0 = 3cm, so that

(t − t 0 ) = − 3 % ln 6 − 15/2 = 0.8240s
4 3 − 15/2
(10 marks)

2. The complex conjugate pole pair at damping ratio ζ contributes a factor to the transfer function given by
1/(s 2 + 2*n s + *2n ) k
with a corresponding critically damped factor of
1/(s 2 + 2*n s + *2n ) k
The difference in magnitude plots due to the two terms at any ω will be
−10k log 10 (* 2n − * 2 ) 2 + (2* n * ) 2 + 10k log 10 (* 2n − * 2 ) 2 + (2* n * ) 2
At ω = ωn, the difference becomes
− 10k log 10 (2* 2n ) 2 + 10k log 10 (2* 2n ) 2
= −20k $ log 10 
(10 marks)

3. Since the characteristic equation is of order three, at any value of K it must always have either
i. An isolated real pole together with a complex conjugate pair, say σ and ρ/!θ with |σ|, ρ < 1; or
ii. Three isolated real poles with |σ1|, |σ2|, |σ3| < 1.
In case “i”, the characteristic polynomial has a form:
(z − " )(z 2 − 2!z cos  + ! 2 ) = z 3 + z 2 + 1.5Kz − (K + 0.5 ) = 0

⎧ " + 2! cos  = −1 ⎫
⎪ ⎪
u ⎨ ! 2 + 2!" cos  = 1.5K ⎬
⎪ "! 2 = K + 0.5 ⎪
⎩ ⎭
where the three relations above have been obtained by comparison of coefficients.

For asymptotic stability, the conditions to be satisfied simultaneously are σ > −1, σ < +1 and ρ < 1. The loci
can be examined for limiting conditions of σ = −1, σ = +1 or ρ = 1, either of which need to be satisfied at the
limit of asymptotic stability. We consider each of these in sequence.

a. If σ = −1 at any K, then
−1 + 2! cos  = −1 u ! cos  = 0
! 2 − 2! cos  = 1.5K u ! 2 = 1.5K
−! 2 = K + 0.5 u K = −0.2
which is invalid since ρ2 must be positive.
b. If σ = 1 at any K, then
1 + 2! cos  = −1 u ! cos  = −1
! 2 − 2 = 1.5K u ! 2 = 1.5K + 2
! 2 = K + 0.5 u K = −3
which is invalid since ρ2 must be positive.
c. If ρ = 1 at any K, then
" + 2 cos  = −1
1 + 2" cos  = 1.5K
" = K + 0.5
Elimination of σ and ρcosθ from the three relations gives
1 + (K + 0.5 )(−1 − K − 0.5 ) = 1.5K
u (K + 0.5 )(K + 1.5 ) + 1.5K − 1 = 0
u K 2 + 3.5K − 0.25 = 0
−3.5 ! 12.25 + 1
uK= = −1.785 or 0.07
4
Thus the possibilities are −1.785 < K < 0.07, since ρ = 1 has been taken as a precondition.

In case “ii”, the loci can be examined for either |σ1|, |σ2|, |σ3| < 1. All three poles must be < +1 or > −1, so that
for each of them,
" 3 + " 2 + 1.5K % " − (K + 0.5 ) = 0 < 1 + 1 + 1.5K − (K + 0.5 ) u K > −3 or

" 3 + " 2 + 1.5K % " − (K + 0.5 ) = 0 > (−1 ) + (−1 ) + 1.5K(−1 ) − (K + 0.5 ) u K > −0.2
3 2

which are satisfied if K is greater than arbitrary negative values.

Between “i-ii”, the intersection range is −0.2 < K < 0.07, which is the required answer.
(10 marks)

4. The closed loop polynomial for the P-D controlled system is


s 2 + 100K D s + 100K P = 0

⎪⎧ * n = 100K P ⎪⎫
u⎨ ⎬
⎪⎩  = 100K D / 2 100K P ⎪⎭
From the 10% peak overshoot condition, the minimum value of ζ can be obtained as
exp −/ 1 −  2 [ 0.1 u  m 0.5912
From the 2% settling time of 5s,
5 m − ln 0.02/(* n ) = 3.912/(* n ) u * n m 0.7824 u * n m 1.3235rad/s
The design rules thus become:
100K P m 1.3235 u K P m 0.01751
.
100K D / 2 100K P m 0.5912 u K D m 0.01565
(10 marks)

5. The equilibria for x1 must have x1 = 0 or x1 + 0.5x2 = 1, while for x2 require x2 = 0 or 0.5x1 + x2 = 1.
The system therefore has four equilibrium points at (0, 0), (0, 1), (1, 0), (2/3, 2/3).

Now, V(x) as the square of state vector magnitude has value 0, 1, 1, and 8/9 at the four points. Therefore only
the origin needs to be examined for stability, since it is the only one with zero value of the Liapunov function.

Evaluating the time derivative of the Liapunov function,


d V(x , x ) = [=V(x )] T $ d x
1 2
dt dt
(1 − x 1 − 0.5x 2 )x 1
= 2x 1 2x 2 $
(1 − 0.5x 1 − x 2 )x 2

= 2(x 21 − x 31 − 0.5x 21 x 2 ) + 2(x 22 − 0.5x 1 x 22 − 2x 32 )


= 2(x 21 + x 22 ) − x 1 x 2 (x 1 + x 2 ) − 2(x 31 + x 32 )
At all four equilibrium points: (0, 0), (0, 1), (1, 0), and (2/3, 2/3), the rate of change of the Liapunov function is
zero. However, for it to be negative in the neighborhood of the origin, note that
d V (x , x ) < 0
1 2
dt
u 2(x 21 + x 22 ) < x 1 x 2 (x 1 + x 2 ) + 2(x 31 + x 32 )
The last inequality is the condition for asymptotic stability around the origin. But notably, the time derivative is
zero at all four equilibria, which proves that it is not negative within the entire vicinity of the origin. Thus the
origin is stable, but not asymptotically stable !
(10 marks)

6. The closed loop system matrix is given by


0 1 0 0 1
− $ k1 k2 =
−1 −1 1 −1 − k 1 −1 − k 2
The characteristic equation is given by
z −1
det =0
1 + k 1 z + (1 + k 2 )

u z[z + (1 + k 2 )] + (1 + k 1 ) = 0
The roots of the characteristic equation must be at 0.5 and 0.7, so that
0.5[0.5 + (1 + k 2 )] + (1 + k 1 ) = 0 u k 1 + 0.5k 2 = −1.75
0.7[0.7 + (1 + k 2 )] + (1 + k 1 ) = 0 u k 1 + 0.7k 2 = −2.19
The required values are k1 = −0.65, and k2 = −2.2
(10 marks)
EEL 205/16/Min1
EEL 205: Control Engineering

Minor Test I

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

1 The lumped model of a robot arm manipulator is shown in Fig. P1. The
heavy arm base has an effective mass m1 that can be assumed to be P
1
concentrated at a distance r1 from the axis of rotation, both quantities
assumed constant and known by design. At a distance r from the axis, r
the arm carries a load of mass m. The mass of load can assume arbitrary F
positive values, but is constant for a particular experiment. mg
θ
The system has two displacements variables r and θ, each with its r1
forcing inputs: force F and torque T, respectively.
T mg
Obtain the nonlinear state space system that describes the given 1
manipulator.
...(6)

2 For known values r = r* and θ = θ* at which the robot arm manipulator is initially at standstill with F = F* and
T = T*, obtain the linearised state space system for the system in Problem 1. In a more restrictive experiment, if
r = r* is held constant (with no ∆r changes allowed), under what condition will ∆θ show oscillatory dynamics
about θ = θ* ? What will be the natural frequency and damping ratio of the oscillations (as and when they
occur) ?
...(8)

3 For a first order system with time constant τ, what would be the approximate settling times (in terms of τ) for
step response settlement to 2% and 5% of steady state.
...(6)
EEL 205/16/Min1
EEL 205: Control Engineering

Solutions to Minor Test I

1 The force F is balanced by the weight components of the two masses, as well as the acceleration force
component for m (note that m1 can not have an inertial component, since r1 is constant !). We get
2
m $ d 2r + (m + m 1 )g $ sin  = F
dt
2 m + m1
u d 2r = − m
1F
g $ sin  + m
dt
The torque T is balanced by the weight torque components of the two masses, as well as the angular
acceleration torque for both masses:
(mr 2 + m 1 r 21 ) $ d 2 + (mr + m 1 r 1 )g $ cos  = T
2

dt
mr + m 1 r 1
u d 2 = −
2
g $ cos  + T
dt mr 2 + m 1 r 21 mr 2 + m 1 r 21
By choosing the four state variables as x1 = r, x2 = dr/dt, x3 = θ, and x4 = dθ/dt, we obtain a fourth order
nonlinear state space form as:
x1 x2
d x2 −([m + m 1 ]/m )g $ sin x 3 + (1/m ) $ F
=
dt x3 x4
x4 −([mx 1 + m 1 r 1 ]/[mx 21 + m 1 r 21 ])g $ cos x 3 + T/[mx 21 + m 1 r 21 ]

(6 marks)

2 We note that the initial value of both speeds is zero. The Jacobians are obtained as
0 1 0 0
0 0 −([m + m 1 ]/m )g $ cos x 3 0
A å [df/dx ] = 0 0 0 1
− − g $ cos x 3 + T & 0 ([mx 1 + m 1 r 1 ]/[mx 21 + m 1 r 21 ])g $ sin x 3 0
m+m 1 r 1 2mx 1 2mx 1
mx 21 +m 1 r 21 [mx 21 +m 1 r 21 ] 2 [mx 21 +m 1 r 21 ] 2

0 0
(1/m ) 0
B å [df/du ] =
0 0
0 (mx 21 + m 1 r 21 ) −1

Substitution of equilibrium values gives us the specific matrices A and B as:


0 1 0 0
−( m 1 )g $ cos  &
m+m
0 0 0
A å [df/dx ] = 0 0 0 1
2m$r & 2m$r & m$r & +m 1 r 1
− − g $ cos  & +
m+m 1 r 1
m$r &2 +m 1 r 21 [m$r &2 +m 1 r 21 ] 2 [mr &2 +m 1 r 21 ] 2
T& 0 m$r &2 +m 1 r 21
g $ sin  & 0

0 0
(1/m ) 0
B å [df/du ] =
0 0
0 (m $ r &2 + m 1 r 21 ) −1

In the restricted system with ∆r = 0, the system reduces to a second order one with A modified to A/ given by
0 1
A∏ = m$r & +m 1 r 1 &
m$r &2 +m 1 r 21
g $ sin  0
EEL 205/16/Min1
The transfer function for ∆θ dynamics has a denominator polynomial given by
s −1 m $ r& + m1r1
det m$r & +m 1 r 1 = s2 − g $ sin  &
− m$r &2 +m 1 r 21
g $ sin  &
s m $ r &2 + m 1 r 21

The dynamics will be oscillatory only if sin θ* is negative (that is, the steady value θ* is between π/2 and 3π/2),
in which case
m $ r& + m1r1
*n = $ g $ sin  &
m $ r &2 + m 1 r 21

=0
(8 marks)

3 The unit step response for the first order system in terms of time constant τ is obtained as
y(t) = A $ (1 − e −t/$ )
which has a steady state output of value A. For 2% setting time,
0.98 $ A [ A $ (1 − e −t/$ ) u e −t/$ [ 1 − 0.98 = 0.02
u t/$ m − ln 0.02 u t m 3.91 $ $ l 4 $ $
Likewise for 5% settling time,
0.95 $ A [ A $ (1 − e −t/$ ) u e −t/$ [ 1 − 0.95 = 0.05
u t/$ m − ln 0.05 u t m 2.99 $ $ l 3 $ $
(6 marks)
EEL 205/16/Min2
EEL 205: Control Engineering

Minor Test II

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

(Please note that no credit will be awarded for any figure. They can be included for your own
convenience only.)

1 Upon linearisation, a digital system in open loop has a state equation:


1 −1 2
x(k + 1 ) = $x(k ) + $ u(k )
1 −2 1
The single order input is to be generated as a feedback of the state vector through a gain k, as u(k) = r(k)
−kT.x(k), where r(k) is the one dimensional reference vector. Obtain the relation between the elements of k that
would make the closed loop states always controllable.
...(6)

2 The product of an open-loop system transfer function and its cascaded controller is given by

C(s ) $ G(s ) = K
s(Ts + 1 )(0.5s + 1 )
Obtain the design rule between K and T which will ensure that the negative unity feedback, closed loop system
is always stable.
...(6)

3 A unity feedback, closed loop system has the output error sensed through a transducer of transfer function T(s),
after which the sensed error is used to generate a proportional-derivative control through a block of transfer
function C(s). The system being controlled has an open-loop transfer function G(s). All three transfer function
blocks are defined as follows:

T(s ) = 1 ; C(s ) = K(s + a ) ; G(s ) = 1


s+1 s(s + 2 )(s + 3 )
In closed loop, the system is required to have a gain margin of 20dB at a frequency of 5rad/s. Obtain the values
of a and K.
...(8)
EEL 205/16/Min2
EEL 205: Control Engineering

Solutions to Minor Test II


T
1 The gain vector obviously has two elements, and may be defined as k1 k2 . The design condition is
required as a relation between the two elements.

The state equation is modified to


1 −1 2
x(k + 1 ) = $ x(k ) + $ r(k ) − k1 k2 $ x(k )
1 −2 1

1 − 2k 1 −1 − 2k 2 2
= $ x(k ) + $ r(k )
1 − k 1 −2 − k 2 1
The controllability matrix can be constructed as:
2 2(1 − 2k 1 ) + 1(−1 − 2k 2 ) 2 (1 − 2k 1 − 2k 2 )
g Fg = =
1 2(1 − k 1 ) + 1(−2 − k 2 ) 1 (−2k 1 − k 2 )
The closed loop system is always controllable if the controllability matrix has a full rank of two. Being a square
matrix, for fuul rank the controllability matrix needs to be non-singular. Thus the design condition required is:
2(−2k 1 − k 2 ) − (1 − 2k 1 − 2k 2 ) ! 0
u k 1 ! −1/2
(6 marks)

2 The system has open loop poles at the origin (marginally unstable), −1/T, and −2. To ensure closed loop
stability, the root locus should not have any marginally stable solution for non zero values of K.

We begin by substituting the marginal stability condition in the closed loop characteristic polynomial:
j*(jT* + 1 )(j0.5* + 1 ) + K = 0

* − 0.5T* 3 = 0 ; from imaginary component balance


u
* 2 (0.5 + T ) = K ; from real component balance

* 2 = 1/(0.5T ) ; since the origin is ruled out (* ! 0 )


u
* (0.5 + T ) = K
2

u K = 0.5 + T = 2 + 1/T
0.5T
which becomes the required rule.
(6 marks)

3 The overall open loop transfer function is given by


K(s + a )
T(s )C(s )G(s ) =
s s + 1 )(s + 2 )(s + 3 )
(
The magnitude and phase plots are then given by
dB = 20 log 10 K + 10 log 10 (* 2 + a 2 ) − 20 log 10 * − 10 log 10 (* 2 + 1 ) − 10 log 10 (* 2 + 4 ) − 10 log 10 (* 2 + 9 )
rads = −  + tan −1 * −1 −1 *
a − tan * − tan 2 − tan 3
−1 *
2
Since it is desired to have a PCO at 5 rad/s, the phase relation can be rewritten as
EEL 205/16/Min2

 = −  + tan −1 5 −1 −1 5
a − tan 5 − tan 2 − tan 3
−1 5
2
ua= 5
tan[3/2 + tan −1 5 + tan −1 2.5 + tan −1 1.67 ]
u a = −2.436
Similarly, the GM condition makes the first relation:
20 = 20 log 10 K + 10 log 10 (25 + 2.436 2 ) − 20 log 10 5 − 10 log 10 (25 + 1 ) − 10 log 10 (25 + 4 ) − 10 log 10 (25 + 9 )
u 1 = log 10 K + 0.7452 − 0.6990 − 0.7075 − 0.7312 − 0.7657
u log 10 K = 3.1582
u K = 1439.46
(8 marks)
EEL205/17/Maj

Indian Institute of Technology, Ropar.

EEL205: Control Engineering

Major Test

Time: 3 hrs (Open book) Marks: 60


____________________________________________________________________________________

(Please note that no credit will be awarded for any figure. They may be included solely for your own
convenience.)

1. In many high pressure, steam based thermal systems, oscillations in pressure are discouraged so as to prevent
fractures, leaks, and consequent contingencies. Post design, a particular boiler is found to have normalised (or
dimensionless) dominant second order dynamics of natural frequency and damping ratio measured as ωn and ζ,
respectively in open loop. The transfer function may be assumed to have no zeros. If the analog closed loop
control to the boiler (between steam valve position and boiler pressure as input and output, respectively) uses
an effective gain constant K, what range is permissible for K to obtain satisfactory operation with no
oscillations of pressure for any step change of steam valve position?
...(10)

2. It is known that when digitised, a particular nonlinear system has dominant behaviour of a second order digital
transfer function with no zeros. Of the two open loop poles, one is always at the digital unity, while the second
has a stable, real value that may change according to the nonlinearities (we will refer to this as the sensitive
pole). When operating in unity feedback, closed loop, how must the effective closed loop gain change so that
the dominant dynamics are critically damped regardless of the sensitive pole? Does the answer depend on the
digitisation time step ?
...(10)

3. The forward path transfer function of a unity feedback analog control system with a P-D controller is
10(K P + K D $ s )
G(s ) =
s2
What is the difference between the GCO and PCO frequencies for this system?
...(10)

4. A digital state space system has the following matrices in open loop
0 1 1
F= ; g=
−1 a b
Is the system controllable and stable in open loop ?
...(10)

5. Find all the possible equilibrium states of


$ $
x 1 = 4x 1 − 2x 21 $ x 2 ; x 2 = −16x 2 + 4x 21 $ x 2
and the state matrix A for the system linearised about each equilibrium point.
(10)

6. An n-th order analog state space system is transformed to a different one by an nxn transformation matrix T.
Obtain the state transition matrix for the “new” (or transformed) state space system for time difference (t−t0).
How does the forward gain matrix F of the corresponding digitised system change by the transformation,
assuming some realistic digitisation time step τ for either system ?
...(10)
EEL205/17/Maj

Indian Institute of Technology, Ropar.

EEL 205: Control Engineering

Solutions to Major Test

1. The closed loop characteristic equation for the system becomes


s 2 + 2* n s + * 2n + K = 0
To eliminate oscillations to step input, ζ m 1 essentially replacing the underdamped roots by overdamped ones.
This implies that K must be negative, with a minimum magnitude governed by
* 2n + K [ (* n )
2

u K [ −(1 −  2 ) $ * 2n
However as K is progressively reduced, one of the loci moves to the positive real s-plane whereafter the closed
loop system becomes unstable (obviously not permissible). This restriction demands that
* 2n + K m 0
u K m −* 2n
The range of negative gain admissible is therefore
−* 2n [ K [ −(1 −  2 ) $ * 2n
(10 marks)

2. The closed loop characteristic equation for the digitised system is


(z − 1 )(z − a ) + K = 0 ; a < 1

u z 2 − (1 + a ) $ z + (a + K ) = 0
For critical damping ζ = 1, which leads to identical closed loop real poles as
!ø !  = e −* n T ø !* n 1 −  2 T

= e −* n T = !
This immediately gives
z 2 − (1 + a ) $ z + (a + K ) = 0
u 2! = 1 + a ; ! 2 = a + K

uK= 1+a −a= 1−a


2 2

2 2
as the required design rule.

Clearly, this is completely independent of T.


(10 marks)

3. The frequency response of the forward transfer function is obtained as


10(K P + jK D $ * )
G(j* ) =
−* 2

= 102 K 2P + (K D $ * ) $ exp[ + tan −1 (K D $ */K P )]


2
*
The GCO is obtained by solving (realistic values only)
EEL205/17/Maj

10 K 2P + (K D $ * GCO )
2
=1
* 2GCO
u * 4GCO − (100K 2D ) $ * 2GCO − 100K 2P = 0

(100K 2D ) ! (100K 2D ) 2 + 400K 2P


u * 2GCO =
2

(100K 2D ) + (100K 2D ) 2 + 400K 2P


u * GCO =
2
Similarly, the PCO can be obtained by solving
 = (2n + 1 ) + tan −1 (K D $ * PCO /K P )
u tan −1 (K D $ * PCO /K P ) = 2n
u * PCO = 0
Difference between the two is the same as the GCO, that is
.
(100K 2D ) + (100K 2D ) 2 + 400K 2P
* GCO =
2
(10 marks)

4. For controllability condition, we have


1 0 1 1 b
g= ; F$g= $ =
b −1 a b ab − 1
For the system to be controllable, the controllability matrix must be full rank, that is
1 b
det ! 0 u ab − 1 − b 2 ! 0
b ab − 1
The open loop system will be controllable subject to (ab − 1 − b2) working out to a non-zero value.

For stability condition, we examine the characteristic polynomial in z-domain as


z −1
det(zI − F ) = det =0
1 z−a

u z(z − a ) + 1 = 0
u z 2 − az + 1 = 0
Since magnitude product of the two poles is the constant term in the characteristic equation, clearly at least one
of them must occur outside the unit circle. The system can therefore not be open loop stable regardless of the
value of a.
(10 marks)

5. At any equilibrium point, time derivative of either variable should be zero; that is,
4x 1 − 2x 21 $ x 2 = 0 u x 1 = 0 or x 1 x 2 = 2
− 16x 2 + 4x 21 $ x 2 = 0 u x 2 = 0 or x 21 = 4
The possible equilibria are at [0 0], [−2 −1] and [+2 +1].

We obtain the A matrix as the Jacobian given by


EEL205/17/Maj

$ $
Ø x 1 /Øx 1 Ø x 1 /Øx 2 (4 − 4x 1 x 2 ) −2x 21
A= $ $ =
Ø x 2 /Øx 1 Ø x 2 /Øx 2 8x 1 x 2 −16 + 4x 21

0 4 0
â At ,A = .
0 0 −16

−2 −4 −8
At ,A = .
−1 16 0

+2 −4 −8
At ,A = .
+1 16 0

(10 marks)

6. The analog system matrix A converts to T−1AT for the transformed system. The state transition matrix for the
transformed system works out to

(T −1 AT ) i $ t − t 0
( )i
[(T −1 AT ), (t − t 0 )] =
i=0 i!
∞ (t − t 0 ) i
= T −1 (A i )T $
i=0 i!

(A i ) $ t − t 0
( )i
= T −1 $ $T
i=0 i!

= T −1 $ [A, (t − t 0 )] $ T
Since F for the digitised system is simply a special case of [(T −1 AT ), (t − t 0 )] with (t−t0) = T, the forward gain
matrix of the transformed, digitised system, is simply T−1FT where F is the forward gain matrix of the original
digitised system.
(10 marks)
EEL 205/17/Min1
EEL 205: Control Engineering

Minor Test I

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

1 The angular position of a solar collector can be changed by a motor torque, the effective transfer function
between the two being G A (s) = 10/[s(s + 5)] following calibration. The motor and its controller together have a
transfer function GM (s) = (s + 5)/(s + 10) between the angular position error and the motor torque.

Once installed, a wind gust disturbance *(s) is found to continuously change the angular position from what it
should have been in the “gust free” environment. To take care of this problem, the gust is sensed through a
sensor-compensator G d (s), the output of which is subtracted from the angular position error.

What should be the transfer function G d (s) so as to eliminate the effect of gusts altogether ?
...(8)

2 A second order, linear, analog state space system has


" −*
A=
* "
Obtain the state transition matrix corresponding to A. By a clear set of points that discuss properties of the state
transition matrix, establish the condition under which any initial state vector x0 would always converge to the
null vector (or the origin) in absence of input signals.
...(6)

3 A digital control system is described by the state equation


x(k + 1 ) = (0.368 − 0.632K ) $ x(k ) + K $ r(k )
Obtain the values of K that will lead to stable performance.
...(6)
EEL 205/17/Min1
EEL 205: Control Engineering

Solutions to Minor Test I

1 Between the reference angular position reference θref and actual angular position θ(s), the transfer function in
absence of gusts is given by
(s ) G M (s ) $ G A (s )
=
 ref (s ) 1 + G M (s ) $ G A (s )
10/[s $ (s + 10 )] 10
= =
1 + 10/[s $ (s + 10 )] s 2 + 10s + 10
Between the gust and the angular position, without the sensor-compensator, the disturbance transfer function is
given by
(s ) 1
=
* (s ) 1 + G M (s ) $ G A (s )

= s + 10s
2
= 1
1 + 10/[s $ (s + 10 )] s 2 + 10s + 10
Once the sensor-compensator is installed, the gust has a second path to the angular position through Gd (s),
with an effective (additional) transfer function:
(s ) G M (s ) $ G A (s )
= −G d (s ) $
*(s ) G d (s) 1 + G M (s ) $ G A (s )

= −G d (s ) $ 10
s 2 + 10s + 10
The overall expression for the angular position then becomes
$  (s ) + 2 s + 10s $ *(s ) − G d (s ) $ 2 10
2
(s ) = 10 $ * (s )
s 2 + 10s + 10 ref s + 10s + 10 s + 10s + 10

$  (s ) + 2 s + 10s − G d (s ) $ 2 10
2
= 10 $ * (s )
s 2 + 10s + 10 ref s + 10s + 10 s + 10s + 10
The effect of gust can be totally eliminated if G d (s ) = (s 2 + 10s )/10.
(8 marks)

2 From the given system matrix, we have (what is referred to as the resolvent matrix by many texts)
−1
s−" *
[sI − A ] −1 =
−* s − "
s−" −*
1 s − " −* (s−" ) 2 +* 2 (s−" ) 2 +* 2
= $ = *
(s − " ) 2 + * 2 * s−" (s−" ) 2 +* 2
s−"
(s−" ) 2 +* 2

The state transition matrix is then obtained as


−*
‡ −1 s−"
(s−" ) 2 +* 2
‡ −1 (s−" ) 2 +* 2
e At = ‡ −1 [sI − A ] −1 = *
‡ −1 (s−" ) 2 +* 2
‡ −1 s−"
(s−" ) 2 +* 2

e "t cos *t −e "t sin *t cos *t − sin *t


= = e "t $
e "t sin *t e "t cos *t sin *t cos *t

Since the matrix elements of eAt have undamped sine and cosine variation, the convergence of any initial vector
to the origin is entirely decided by the value of σ. If " [ 0, then the convergence is assured, otherwise not.
(6 marks)

3. Converting to z-transforms
EEL 205/17/Min1

z $ X(z ) = (0.368 − 0.632K ) $ X(z ) + K $ R(z )


X(z ) K
u =
R(z ) z − (0.368 − 0.632K )
Assuming real coefficients, this will be stable if
0.368 − 0.632K < 1
u −1 < 0.368 − 0.632K < 1
u 2.1646 > K > −1
which is the required range of stable operation.
(6 marks)
EEL 205/17/Min2
EEL 205: Control Engineering

Minor Test II

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

(Please note that no credit will be awarded for any figure. They may be included solely for your own
convenience.)

1 Upon linearisation, a digital system in open loop has a state equation:


0 1 0
x(k + 1 ) = $x(k ) + $ u(k )
−1 −1 1
The single order input is to be generated as a feedback of the state vector through a gain k, as u(k) = r(k)
−kT.x(k), where r(k) is the one dimensional reference vector. Obtain the relation between the elements of k that
would make the closed loop states always stable. For what values of gain matrix elements will the closed loop
poles locate at 0.5 and 0.7 ?
...(6)

2 A system that to operate with unity feedback has a system and cascaded controller transfer functions given
respectively by
G(s ) = 1000
s(s + 10 )

G c (s ) = 1 + aTs ; a > 1
1 + Ts
Design the controller so as to eliminate the open loop pole at −10, while the closed loop performance should be
critically damped.
...(6)

3 The inventory stock of a product x1(t), its rate of sale x2(t), and production rate u(t) are related by an analog
production management model:
dx 1 (t )
= −2x 2 (t )
dt
dx 2 (t )
= −2u(t )
dt
y(t ) = x 1 (t )
the time being in units of days. Design a P-D controller of the form (KP + KD.s) so as to realise a closed-loop
natural frequency of 1rad/s, and damping ratio of 0.707.
...(8)

1
EEL 205/17/Min2
EEL 205: Control Engineering

Solutions to Minor Test II

1 Since the state space is two-dimensional and the input one-dimensional, we expect the gain matrix k to be 1x2.
With k = [k1 k2], the closed loop state equation becomes
0 1 0
x(k + 1 ) = $ x(k ) + $ r(k ) − k1 k2 $ x(k )
−1 −1 1

0 1 0
u x(k + 1 ) = $ x(k ) + $ r(k )
−(1 + k 1 ) −(1 + k 2 ) 1
The closed loop state equation can be converted to z-domain as
z −1 0
$X(z ) = $ r(k )
(1 + k 1 ) z + (1 + k 2 ) 1
The characteristic equation of the closed loop system is therefore given by
z $ [z + (1 + k 2 )] + (1 + k 1 ) = 0
u z 2 + (1 + k 2 ) $ z + (1 + k 1 ) = 0

−(1 + k 2 ) ! (1 + k 2 ) 2 − 4 $ (1 + k 1 )
uz=
2
This gives us two design rules:
a. Real poles:
If (1 + k 2 ) 2 m 4 $ (1 + k 1 ), the
−(1 + k 2 ) ! (1 + k 2 ) 2 − 4 $ (1 + k 1 )
< 1.0
2

b. Complex conjugate pole pairs:


If (1 + k 2 ) 2 < 4 $ (1 + k 1 ), the
(1 + k 2 ) 2 − 2 $ (1 + k 1 ) < 1.0
u k 22 + 2 $ k 2 < 2.0 + 2k 1

If the roots are to be at 0.5 and 0.7, then by comparison of characteristic equation coefficients,
z 2 + (1 + k 2 ) $ z + (1 + k 1 ) = (z − 0.5 ) $ (z − 0.7 ) = 0
⎧ 0.35 = 1 + k 1 u k 1 = −0.65 ⎫
u⎨ ⎬uk= −0.65 −2.2
⎩ −1.2 = 1 + k 2 u k 2 = −2.2 ⎭

(6 marks)

2 The overall transfer function in open loop becomes:


G c (s ) $ G(s ) = 1 + aTs % 1000
1 + Ts s(s + 10 )
1000 $ (s + 1/aT )
=a$
s $ (s + 1/T ) $ (s + 10 )
To cancel the open loop pole at −10, we must have 1/aT = 10, that is aT = 0.1.

With the cancellation, the open loop transfer function reduces to

2
EEL 205/17/Min2

G c (s ) $ G(s ) = 1000 $ a
s $ (s + 1/T )
The closed loop characteristic polynomial is accordingly

s 2 + s/T + 1000a
Critically damped condition requires this polynomial to be a perfect square, in which case,
(1/T ) 2 − 4 % 1000a = 0
u aT 2 = 1/4000
This gives T = 1/(4000x0.1) = 1/400 = 0.0025s.
Accordingly, a = 0.1/0.0025 = 40.0.
(6 marks)

3 It is easy to see that, the system can be reduced to SISO form as


y(t ) = x 1 (t )
dx 1 (t ) dy(t )
x 2 (t ) = − 1 =−1
2dt 2 dt
dx 2 (t ) dy(t )
=−1 d = −2u(t )
dt 2 dt dt
â s 2 $ Y(s ) = 4 $ U(s ) u G(s ) = 42
s
With the P-D control as stated, the closed loop transfer function becomes
4 $ (K P + K D $ s )
G CL (s ) = 2
s + 4 $ (K P + K D $ s )
4 $ (K P + K D $ s )
=
s2 + 4K D $ s + 4K P
The closed loop characteristic polynomial is noted as
s 2 + 4KD $ s + 4KP = s 2 + 2*n $ s + *2n
A natural frequency of 1 rad/s implies = (24 x 60 x 60) x 1 rad/day = 86400 rad/day. This leads to
4K P = 86400 2
u K P = 1.86624 % 10 9 units of inventory stock,
and
4K D = 2 % 0.707 % 86400
u K D = 30542.4 units of inventory stock-day
(8 marks)

3
EEL 205/18/Min1
EEL 205: Control Engineering

Minor Test I

Time: 2 hrs (Open Book) Marks: 20

____________________________________________________________________________________

1 The dominant unit step response of an unknown system has steady output value of unity. The first dynamic
peak of 1.25, occurs at 0.01s from the instant that the step input is applied. After how much time from the latter
instant, must the dynamics decay within the range 1.1 to 0.9, for a second order transfer function (without any
zero) to be a valid representation for the dominant-dynamics ? ...(8)

2 In open-loop, an aircraft turboprop engine is controlled by fuel rate and propeller blade angle to set two
outputs, namely engine speed and turbine inlet temperature. Upon linearisation and conversion to s-domain, the
turboprop engine has an open-loop transfer matrix
2/[s(s + 2 )] 10
[G OL (s )] =
5/s 1/(s + 1 )
If the outputs are fed back to the inputs through an identity matrix in the negative feedback path, find the
resulting closed loop transfer matrix. ...(6)

3 A discrete time SISO system has an open-loop transfer function given by

G OL (z ) = 0.6321z −1
1 − 0.3276z −1
is controlled in closed-loop negative feedback through a P-I controller:
u(k ) = u(k − 1 ) + q 0 $ e(k ) + q 1 $ e(k − 1 )
Establish relations for parameters q0 and q1, required to maintain stability of the closed-loop system.
...(6)
EEL 205/18/Min1
EEL 205: Control Engineering

Solutions to Minor Test I

1 The peak overshoot, with steady state value of output as unity, is obtained as 1.25 − 1.0 = 0.25. For an assumed
second oder representation of dominant dynamics,
exp −/ 1 −  2 = 0.25

u / 1 −  2 = 0.4413

u  = 0.4413/ 1 + 0.4413 2 = 0.4037


Since the first peak of the step response occurs at 0.01s
 = 0.01
*n 1 − 2

u *n =  = 343.38rad/s
0.01 % 1 − 0.4037 2
Expecting the step-response oscillations to confine in the range of 1.1 to 0.9 (with steady state value as unity),
essentially amounts to a 10% settling time, which is
T 10% = − ln 0.1 = − ln 0.1
 $ *n 0.4037 % 343.38
= 0.01661s
(8 marks)

2 This problem can be solve dfrom fundamentals of feedback reduction (similar to what we derived in the
lectures for the SISO block), but the more confident can go for the direct expression as follows.
−1
[G CL (s )] = I + I $ [G OL (s )] $ [G OL (s )]
−1
⎧ 1 0 2/[s(s + 2 )] 10 ⎫ 2/[s(s + 2 )] 10
=⎨ + ⎬ $
⎩ 0 1 5/s 1/(s + 1 ) ⎭ 5/s 1/(s + 1 )
−1
(s 2 + 2s + 2 )/(s 2 + 2s ) 10 2/[s(s + 2 )] 10
= $
5/s (s + 2 )/ (s + 1 ) 5/s 1/(s + 1 )

1 (s + 2 )/ (s + 1 ) −10 2/[s(s + 2 )] 10
= $ $
(s 2 + 2s + 2 )/(s 2 + s ) − 50/s −5/s (s 2 + 2s + 2 )/(s 2 + 2s ) 5/s 1/(s + 1 )

s(s + 1 ) 2/[s(s + 1 )] − 50/s 10(s + 2 )/(s + 1 ) − 10/(s + 1 )


=
s 2 − 48s − 48 −10/[s 2 (s + 2 )] + 5(s 2 + 2s + 2 )/[s 2 (s + 2 )] −50/s + (s 2 + 2s + 2 )/[s 2 (s + 2 )]

1 −(48 + 50s ) 10s(s + 1 )


=
s 2 − 48s − 48 5(s + 1 ) −(49s 2 + 148s + 98 )/(s + 2 )

(6 marks)

3. The P-I controller can be converted to z-domain as


u (k ) = u (k − 1 ) + q 0 $ e (k ) + q 1 $ e (k − 1 )
u [1 − z −1 ] $ U(z ) = [q 0 + q 1 $ z −1 ] $ E(z )
U(z ) q 0 + q 1 $ z −1
u å G C (z ) =
(
Ez ) 1 − z −1
The closed loop transfer function has a characteristic equation given by
EEL 205/18/Min1

q 0 + q 1 $ z −1 0.6321z −1
1+ $ =0
1 − z −1 1 − 0.3276z −1
u (1 − z −1 )(1 − 0.3276z −1 ) + (q 0 + q 1 $ z −1 )(0.6321z −1 ) = 0
u (z − 1 )(z − 0.3276 ) + 0.6321(q 0 $ z + q 1 ) = 0
u z 2 + (0.6321q 0 − 1.3276 )z + (0.3276 + 0.6321q 1 ) = 0
The coefficients must satisfy the conditions
2! cos  = 0.6321q 0 − 1.3276
! 2 = 0.3276 + 0.6321q 1
For stability, ρ must have a magnitude less than unity, and since by its very nature (cos θ) must assume a
magnitude less than unity,
0.3276 + 0.6321q 1 [ 1 u 0.3276 + 0.6321q 1 [ 1 u q 1 [ 1.06376 ;

0.6321q 0 − 1.3276
[ 1 u (0.6321q 0 − 1.3276 ) [ 4 $ (0.3276 + 0.6321q 1 )
2
2 $ 0.3276 + 0.6321q 1

u −2 [ 0.6321q 0 − 1.3276 [ 2 u − 1.06376 [ q 0 [ 5.2644


(6 marks)
EEL 205/18/Min2
EEL 205: Control Engineering

Minor Test 2

Time: 2 hrs (Open Book) Marks: 20

Note:

y For problems that have stated method for solution, use of alternative methods will not secure any
credit.
y There is no credit for any graphic, or graphic solution. Figures may be used by students only for ease
of understanding problems, with no mark expected for them.
____________________________________________________________________________________

1 A digitised system has an open loop transfer function given by


1.1(z − 1 )
G(z ) =
(z − a )(z − 0.8 )
From properties of the digital root-loci, obtain range of the real parameter “a” for unity feedback, closed loop,
stable operation. ...(8)

2 The forward path transfer function of a unity-feedback analog control system is


K(s +  )
G(s ) = 2
s (s + 3 )
For −∞ < K < ∞, determine value of α for which the closed loop root-loci will have zero, one, and two
breakaway points, excluding the one at the origin. ...(8)

3 Obtain the expression for dB magnitude plot for the transfer function of Problem #1. Your answer should be in
terms of the parameter “a”. ...(4)
EEL 205/18/Min2
EEL 205: Control Engineering

Solutions to Minor Test 2

1 The closed loop transfer function is obtained as


(z − a )(z − 0.8 ) + 1.1(z − 1 ) = 0

u z 2 − (a − 0.3)z − 1.1 = 0

(a − 0.3 ) ! (a − 0.3 ) 2 + 4 % 1.1 (a − 0.3 ) ! a 2 − 0.6a + 5.3


uz= =
2 2
The closed loop system can either have two real poles or a complex conjugate pole pair. If both poles are real,
then for stable range,
(a − 0.3 ) ! a 2 − 0.6a + 5.3
−1< <1
2
u −1.7 − a < ! a 2 − 0.6a + 5.3 < 2.3 − a
u 2.89 + 3.4a + a 2 < a 2 − 0.6a + 5.3 < 5.29 − 4.6a + a 2
⎧ 4a < 2.41 ⎫
u⎨ ⎬ u a < −0.0025
⎩ 4a < −0.01 ⎭
If the poles are complex conjugate pairs, then
a−3 + a − 0.6a + 5.3 < 1
2 2

2 4
u 2a 2 − 6.6a + 14.3 < 4
u a 2 − 3.3a + 5.15 < 0
3.3 ! 10.89 − 20.6
ua<
2
Since this requires “a” to be complex, the possibility is not admissible. Thus a < −0.0025 defines the design
range for stable operation.
(8 marks)

2 The closed loop characteristic equation for all three cases, has the form:
K(s +  ) + s 2 (s + 3 ) = 0
s 2 (s + 3 )
uK=−
(s +  )
Thus all breakaway points must lie on the real axis. Differentiating throughout with respect to s:
ØK = − (s +  ) $ (3s 2 + 6s ) − s 2 (s + 3 ) = 0
Øs (s +  ) 2
u (s +  ) $ (3s 2 + 6s ) − s 2 (s + 3 ) = 0
u s $ [3s 2 + 3s + 6s + 6 − s 2 − 3s ] = 0
u s $ [2s 2 + 3s(1 +  ) + 6 ] = 0
Other than the origin, the breakaway points can be located at
−3(1 +  ) ! 9(1 +  ) − 48
2
s=
4
−3(1 +  ) ! 9 + 9 2 − 30
=
4
i. For no breakaway point other than the origin, the above values for s must be complex. That is
EEL 205/18/Min2

9 2 − 30 + 9 < 0
10 − 100 − 36 10 + 100 − 36
u <<
6 6
1
u <<3
3
ii. For one breakaway point other than the origin,
9 2 − 30 + 9 = 0

u  = 1 or  = 3
3
iii. For two breakaway points other than the origin,
9 2 − 30 + 9 > 0
10 − 100 − 36 10 + 100 − 36
u< = 1 or  > =3
6 3 6
(8 marks)

3. This is simply obtained as


1.1(e j*T − 1 )
20 log 10
(e j*T − a )(e j*T − 0.8 )
= 20 log 10 1.1 + 10 log 10 (2 − 2 cos *T ) − 10 log 10 (1 + a 2 − 2a cos *T ) − 10 log 10 (1.64 − 2a cos *T )
The intermediate steps for each pole and zero term will include the square of “cosine term added to the real
pole” added to square of the “sine term”, but those you can figure out easily. I am skipping those steps here.
(4 marks)
EEL 205/18/Maj
EEL 205: Control Engineering

Major Test

Time: 3 hrs (Open Book) Marks: 60

Note:

y For problems that have stated method for solution, use of alternative methods will not secure any
credit.
y There is no credit for any graphic, or graphic solution. Figures may be used by students only for ease
of understanding problems, with no mark expected for them.
____________________________________________________________________________________

1 Using a Lyapunov function V(x1, x2) = x12 + x22, estimate the region around all equilibria points, for asymptotic
stability:
$
x 1 = (2 − x 1 − x 2 )x 1
$
x 2 = (2 − x 1 − x 2 )x 2
...(10)

2 A digital system in open loop is described by the matrices:


0 1 1
F= ; G= ; C= 1 1
−1 −3 2
The input is obtained as state feedback through gain matrix K, such that u(k) = −KT.x(k) . Determine if and how
controllability and observability of the closed loop system are affected by elements of K. ...(10)

3 In open loop, a gas operated furnace has a second order transfer function

G(s ) = 1
(1 + 10s )(1 + 25s )
between burner temperature as input, and furnace temperature (as sensed at the furnace wall remote to the
burner). A fixed delay of 2s exists between the burner gas flow and burner temperature, that has a transfer
function of e−2s, so that the overall system open loop transfer function has a form

G ∏ (s ) = e −2s
(1 + 10s )(1 + 25s )
What will be the dB and phase plot expressions for G/(s) ? ...(10)

4 A SISO digital system has a CL characteristic equation given by


z 2 + (0.15K − 1.5 )z + 1 = 0
Given that K is a positive gain parameter, determine its values at conditions of marginal stability. ...(10)

5 When plotted against linear scale of ω in rad/s, the |G(jω)| for a second order analog transfer function has
values 0.9 at ω = 0 rad/s, from where it rises to a maximum of 1.4 at ω = 3 rad/s, falling progressively thereafter
at higher frequencies. How much will be the peak overshoot in a step response of G(s) ? ...(10)

6 The loop transfer function of a single-loop analog control system is


K(s + 5 )
G(s )H(s ) =
s(s + 2 )(1 + Ts )
Obtain the relation between gain K and time constant T that represents the boundary for marginal stability in
closed loop ....(10)
EEL 205/18/Maj
EEL 205: Control Engineering

Solutions to Major Test

1 Setting time derivative for both variables to zero, we immediately obtain two conditions for equilibria:
a. All points on the line x1 + x2 = 2.
b. The origin, that is [0 0]T.
To examine Liapunov stability for the equilibria “a”, we note that
V(x 1 , x 2 ) = x 21 + (2 − x 1 )
2

= 2x 21 + 4 − 4x 1
which assumes the the mandatory zero value for further checks of Liapunov stability only if
2x 21 − 4x 1 + 4 = 0
4 ! 16 − 32
u x1 = =1!j
4
u x2 = 1 " j
Since complex values for any state variable are not admissible, the given Liapunov function can not be used to
check stability of any point satisfying condition “a”.

The origin is the only equilibrium corresponding to condition “b”, at which V(0, 0) = 0.

Further, at any other point V(x1, x2) > 0, so stability conditions can be examined further. We have
ØV(x 1 , x 2 ) [ (
= =V x 1 , x 2 )] T $ f(x 1 , x 2 )
Øt
(2 − x 1 − x 2 )x 1
= 2x 1 2x 2 $
(2 − x 1 − x 2 )x 2

= 2(2 − x 1 − x 2 )(x 21 + x 22 )
The time derivative is negative conditional to x1+x2 > 2. So the origin is not asymptotically stable.
(10 marks)

2 The closed loop has the same gain and output matrices, but the forward matrix changes to
0 1 1 (−k 1 ) (1 − k 2 )
F CL = − $ k1 k2 =
−1 −3 2 (−1 − 2k 1 ) (−3 − 2k 2 )

Accordingly, the closed loop controllability matrix is obtained as


1 −k 1 + 2(1 − k 2 ) 1 2 − k 1 − 2k 2
=
2 (−1 − 2k 1 ) + 2(−3 − 2k 2 ) 2 −7 − 2k 1 − 4k 2
For the CL system to be controllable, the controllability matrix should be full rank, that is
1 2 − k 1 − 2k 2
!0
2 −7 − 2k 1 − 4k 2

u (−7 − 2k 1 − 4k 2 ) − 2(2 − k 1 − 2k 2 ) ! 0
u 11 ! 0
We may therefore conclude that the CL system is controllable for all settings of matrix K.

Similarly, the closed loop observability matrix is obtained as


1 1
(−1 − 3k 1 ) (−2 − 3k 2 )
For the CL system to be observable, the observability matrix should be full rank, that is
EEL 205/18/Maj

1 1
!0
(−1 − 3k 1 ) (−2 − 3k 2 )

u (−2 − 3k 2 ) + (1 + 3k 1 ) ! 0
u k 1 − k 2 − 1/3 ! 0
(10 marks)

3. The dB response is obtained as


20 log 10 G ∏ (j* ) = 20 log 10 e −j2*
(1 + j10* )(1 + j25* )
= 20 log 10 e −j2* − 20 log 10 1 + j10* − 20 log 10 1 + j25*

= 0 − 10 log 10 1 + (10* ) − 10 log 10 1 + (25* )


2 2

= −10 log 10 1 + (10* ) − 10 log 10 1 + (25* )


2 2

The phase response is similarly obtained as

øG ∏ (j* ) = ø e −j2*
(1 + j10* )(1 + j25* )
= −2* − tan −1 (10* ) − − tan −1 (25* )
(10 marks)

4. The OLTF corresponding to the problem has OL poles


z 2 − 1.5z + 1 = 0
1.5 ! 2.25 − 4
uz= = 0.75 ! j0.6614
2
which are on the unit circle, and therefore one of the conditions of marginal instability is K=0.

It is further noted that there is only one OL zero at the origin (corresponding to infinite K), so that the closed
loop poles must always be a complex conjugate pair. Their magnitude must be unity at any point of marginal
stability, so we may assume them to be of the form e!jθ. Then comparing coefficients with the CL characteristic
polynomial given,
0.15K − 1.5 = −2 cos 
u cos  = 0.75 − 0.075K
u −1 [ 0.75 − 0.075K [ 1
u −1.75 [ −0.075K [ 0.25
u 23.33 m K m −3.33
of which the positive range of K is admissible.
(10 marks)

5. Let the second order transfer function be represented as


K* 2n
G(s ) =
s 2 + 2* n s + * 2n
The description of the TF provided indicates:
y There is no zero.
y K = 0.9
y ωn = 3rad/s
Equating the magnitude at 3rad/s,
EEL 205/18/Maj

0.9 % 3 2 = 1.4
2 % 3 2

u= 0.9 = 0.3214


2 % 1.4
The peak overshoot for a step response will then be
e −/ 1− 2
= exp −0.3214 % / 1 − 0.3214 2 = 0.34428 = 34.428%
(10 marks)

6. The CL characteristic equation is given by


K(s + 5 ) + s(s + 2 )(1 + Ts ) = 0
At points of marginal stability, s = !jω, so that
Ts 3 + (2T + 1 )s 2 + (K + 2 )s + 5K = 0
u −jT* 3 − (2T + 1 )* 2 + j(K + 2 )* + 5K = 0
⎧ −T* 3 + (K + 2 )* = 0 ⎫ ⎧ * 2 = (K + 2 )/T ⎫
u⎨ ⎬ u⎨ 2 ⎬
⎩ −(2T + 1 )* + 5K = 0 ⎭ ⎩ * = 5K/(2T + 1 ) ⎭
2

u (K + 2 )/T = 5K/(2T + 1 ) u 2KT + 4T + K + 2 = 5KT


u 4T + K − 3KT + 2 = 0
(10 marks)

You might also like