ELEN90055 Control Systems
Worksheet 1
Semester 2, 2021
Instructions
This worksheet covers materials about Equilibria and Linearisation from lectures 5 and 6.
Review of key concepts
Consider a system described by its model:
n
d y
dy
dn u
du
, . . . , , y, n , . . . , , u = 0 .
`
dtn
dt
dt
dt
(1)
Equilibria are calculated by considering:
` (0, . . . , 0, ȳ, 0, . . . , 0, ū) = 0 .
(2)
To perform linearisation, we find it convenient to consider the multivariate function:
`(yn , . . . , y0 , un . . . , u0 ) .
We obtain the linearisation of the above equation around the chosen equilibrium (0, . . . , 0, ȳ, 0, . . . , 0, ū):
`lin (yn , . . . y1 , y0 − ȳ, un . . . , u1 , u0 − ū)
∂`
∂`
· (yn − 0) + . . . +
· (y1 − 0)
=
∂yn (0,...,0,ȳ,0,...,0,ū)
∂y1 (0,...,0,ȳ,0,...,0,ū)
+
∂`
∂`
· (y0 − ȳ) +
· (un − 0) + . . .
∂y0 (0,...,0,ȳ,0,...,0,ū)
∂un (0,...,0,ȳ,0,...,0,ū)
+
∂`
∂`
· (u1 − 0) +
· (u0 − ū).
∂u1 (0,...,0,ȳ,0,...,0,ū)
∂u0 (0,...,0,ȳ,0,...,0,ū)
(3)
i
i
Introducing the incremental variables δy := y − ȳ, δu := u − ū, and noting that ddtδiy = ddtyi
i
i
and ddtδiu = ddtui , the linearised model is given by:
n
d δy
dδy
d n δu
dδu
`lin
,...,
, δy , n , . . . ,
, δu = 0 .
dtn
dt
dt
dt
1
1
Tutorial problems
1. Consider the water tank from Lecture 5. The model of the change of water level in
the tank can be written as:
dV
d(Ax)
dx
=
=A
= qi − qo ,
dt
dt
dt
(4)
where x is the level of water in the tank, A is the area of the cross-section of the
tank (assumed constant) and qi and qo are the volumetric flows into and out of the
tank respectively. qi is assumed to be the input to the system and x the output.
Moreover, suppose that the outflow is given by the following relation:
√
(5)
qo = k x .
Find all equilibria and linearise the system around the equilibrium where x = 1 [m];
assume that A = 1 [m2 ] and k = 2 [m5/2 /s].
2. Consider a mass m sliding on a horizontal surface and attached to a vertical surface
through a spring, see Figure 1. The mass is subjected to an external force F (the
input to the system), the spring force and a friction force Ff . We define y as the
displacement from a reference position (the output of the system). We assume that
Ff = cẏ and we will consider two models for the spring force:
• softening spring model Fsp = k(1 − a2 y 2 )y, |ay| ≤ 1;
• hardening spring model Fsp = k(1 + a2 y 2 )y,
which are typically valid for large displacements y and for different types of springs.
Newtons law of motion is given by:
mÿ + Ff + Fsp = F .
Assume that m = 1kg, c = 1kg/s, k = 1N/m, a = 10.
• Find all equilibria for the system with softening spring. Linearise the system
around equilibrium for which y = 0.01m;
• Find all equilibria for the system with hardening spring. Linearise the system
around equilibrium for which y = −0.01m.
3. Consider the Lotka-Volterra or predator-prey equations, which model the change in
predator and prey populations over time in a closed ecology:
ẋ = αx − βxy
ẏ = δxy − γy ,
2
Figure 1: A mass-spring system.
where α, β, γ, δ are constants that depend on the particular predator-prey system, x
denotes the number of prey (e.g. rabbits) and y denotes the number of predators
(e.g. foxes). Find all equilibria of this system and discuss the solution. Suppose that
α = 2/3, β = 4/2, γ = δ = 1. Linearise the system around each equilibrium.
3
ELEN90055 Control Systems
Worksheet 2
Semester 2, 2021
Laplace transforms - key concepts
1. Calculating Laplace transform and inverse Laplace transform:
Method 1. Using the following equations:
L {y(t)} = Y (s) =
L
−1
Z ∞
0−
e−st y(t)dt
1
{Y (s)} = y(t) =
2π j
Z σ + j∞
est Y (s)ds
σ − j∞
Method 2. (Preferred method) Using the Laplace transform table and the properties of
Laplace transforms table.1
We might need to first perform a partial fraction expansion and then we find expressions that can be found in the Laplace transform table. There are two different ways
to perform partial fraction expansion: (i) cross multiplication, (ii) the following direct
formulas:
i. Partial fraction expansion for systems with distinct poles:
A transfer function G(s) of the following general form where m < n (which
means G(s) is strictly proper)
m
bm sm + · · · + b1 s + b0
=
G(s) =
an sn + · · · + a1 s + a0
∑ bi si
i=0
n
∏ (s − αk )
k=1
can be expanded as
n
Bk
,
k=1 s − αk
G(s) = ∑
where the residues Bk are computed as
Bk = lim (s − αk )G(s).
s→αk
1 These tables can be found in almost all linear control textbooks.
“Modern Control Engineering” by K. Ogata, 5th edition.
1
For example, see the attached tables from
ii. Partial fraction expansion (general formula):
If the transfer function has repeated poles, G(s) can be written as (we continue
to assume m < n)
m
∑ bi si
i=0
G(s) =
n
.
∏ (s − αk )rk
k=1
Then the partial fraction expansion representation is
n
rk
Bk`
,
`
k=1 `=1 (s − αk )
G(s) = ∑ ∑
where the residues Bk` are computed as
r −` h
i
1
dk
rk
Bk` =
lim
(s − αk ) G(s) .
(rk − `)! s→αk dsrk −`
2
1
Tutorial problems
1. Find the Laplace transform of the following functions:
(a ∗ ) f (t) = 1 + 2t + t 2 + δ (t)
(b ∗ ) f (t) = (t + 3)2
(c ∗ ) f (t) = t sint
Hint: use the multiplication by time property of Laplace transform.
(d) f (t) = sin2 t
(e) f (t) = e−t sin 2t
You can check your answers to the above problems using the ‘laplace’ M ATLAB command. For example, for part (d) you can use the following M ATLAB code:
>> syms t
>> laplace(sin(t)2 )
You may also need to use the ‘simplify’ command in M ATLAB.
2. Find the time signal f (t) corresponding to the following Laplace transforms:
1
(a ∗ ) F(s) = s(s+1)
2
(b ∗ ) F(s) = s2s+1
3s+2
3s+2
(c ∗ ) F(s) = s2 +4s+20
= (s+2)
2 +16
2
+2s+3
(d ∗ ) F(s) = s (s+1)
3
1
(e) F(s) = s41−1 = (s−1)(s+1)(s
2 +1)
Hint: Perform partial fraction expansion.
2
−1
(f) F(s) = (ss2 +1)
2
s
Hint: First find the inverse Laplace transform of G(s) = s2 +1
and then use the multid
plication by time property of Laplace transform: ds G(s) = −L {tg(t)}. Verify your
answer using M ATLAB:
>> syms s
>> ilaplace((s2 − 1)/(s2 + 1)2 )
3
3. Solve the following differential equations using Laplace transforms:
(a ∗ ) ÿ(t) − 2ẏ(t) + 4y(t) = 0;
y(0) = 1, ẏ(0) = 2
(b) ÿ(t) + ẏ(t) = sint;
y(0) = 1, ẏ(0) = 2
Hint: make sure the transfer function is strictly proper before doing partial fraction
expansion.
4. Find limt→∞ f (t) for functions with the following Laplace transforms:
10
(a) F(s) = s(s+1)(s+2)
2
(b) F(s) = s(s−2)(s+2)
Hint: You may solve this problem using two different methods: (i) first find f (t) and
then find limt→∞ f (t). (ii) use the final value theorem, but make sure the conditions
of the theorem are satisfied.
4
ELEN90055 Control Systems
Worksheet 3
Semester 2, 2021
Instructions
This worksheet covers materials about block diagram algebra, stability criterion and steady state
error. Solutions to starred problems in part 1 (tutorial problems) will be provided to students after
the tutorial. Additional solved problems are provided in part 2. Students are encouraged to work
on the solutions to the problems in parts 3 and ?? by themselves.
1
Tutorial problems
(s)
1∗ . Find the transfer function H(s) = YR(s)
for the feedback system shown in Figure 1.
Figure 1: Problem 1.
2∗ . Consider the system shown in Figure 2. This system contains a delay, indicated by the
non-rational transfer function e−sT .
Figure 2: Feedback system with a delay.
(a) Determine the closed loop characteristic equations. Note: this will include the delay
term e−sT .
1
August 22, 2011
(b) aUse
the following
approximation
to the the
delay
functionregion
and determine
valuesforfor
1. For
second-order
system,
find and sketch
allowable
in the s-plane
theT
and
A
such
that
the
system
is
stable.
poles of a transfer function with system response requirements: tr ≤ 0.9sec, Mp ≤
T
5%, and ts ≤ 4sec. (Hint: refer to Fig 3.23 1in−Franklin,
Powell, Emami-Naeni for
2s
e−sT ≈
variation of Mp vs ζ.)
1 + T2 s
2. For the closed-loop system in Figure 1, compute
(a) Thethe
DC
gain, initial
valueinand
final
value.
3∗ . Consider
closed-loop
system
Figure
3 representing
the block diagram of a DC motor
−1
where
k, K,
andthat
J are
positive,
and let
r(t) = Lfor {R(s)}
be a unit
step function.
Compute
(b) K,
k so
the
maximum
overshoot
a unit-step
response
is 15% and
tp =
2 value of the output.
the initial
value
and
the
final
3sec. Let J = 1kg-m .
5. Define the type for a feedback system. For a general feedback system in Fig. 5,
characterise the system type if,
(a)
1
Figure
G(s) =1: ; a
H(s) = 1
s
Figure 3: Problem
3
(b)
5
s+1
3. Determine whether the following
represent stable or unG(s)characteristic
=
; H(s)polynomials
=
s(s + 3)
s+2
stable
systems.
4∗ . For the unity
(c) feedback system in Figure 4 with
4
2
(a) 2s + 8s3 + 10s2 + 10s +G(s)
20 =
; H(s)
4(s +
1) = s + 5
s2 +=2s + 5
G(s)
4
3
(b) s + s − s − 1
s2 (s + 2)
(d)
4
1
(c)the
s4 steady-state
+ 2s3 + 3s2error
+ 6swhen
+ 1 theG(s)
= is
; H(s) =
find
input
s(s + 3)
s
4. For
of feedback
K do the
following
have negative real parts?
(a) what
r(t)
=values
1.
6. For
the unity
system
in Fig. 6polynomials
with
(b)
(a) r(t)
s3 +=(4t. + K)s2 + 6s + 12
(c)
t 23. + 11s2 + 6s + K
(b) r(t)
s4 +=6s
G(s) =
4(s + 1)
s2 (s + 2)
find
1
(a) The position, velocity, and acceleration error constants.
Figure 4: Problem 3
2
2
5∗ . Consider the system shown in Figure 5 where D(s) = s + k, R(S) is the reference input and
W (s) is a disturbance.
(a) Find the transfer functions from R to Y and from W to Y .
(b) What conditions must k satisfy such that the system is stable.
(c) Let R(s) = W (s) = 1/s. Is it possible to choose the parameter k such that the steady
state error of the system from r(t) = 1 and also the steady state output from the
disturbance w(t) = L −1 {W (s)} are zero?
Figure 5: Problem 5
6. Suppose that unity feedback is to be applied around the open-loop systems listed below (so
the closed-loop system is similar to Figure 4. Use Routh’s stability criterion to determine
whether the resulting closed-loop systems will be stable.
(a)
G(s) =
4(s + 2)
s(s3 + 2s2 + 3s + 4)
(b)
G(s) =
2(s + 4)
s2 (s + 1)
(c)
G(s) =
2
4(s3 + 2s2 + s + 1)
s2 (s3 + 2s2 − s − 1)
Additional solved problems
1. Solved Problems 4.3, 4.9, 5.5 from the solved problems of the web site for Goodwin,
Graebe, Salgado ’Control System Design’ - see Example problems with worked solutions at
http://www.csd.elo.utfsm.cl/.
3
3
Previous exam questions
1. Q2(ii) part (a); Control system final exam 2013.
2. Q3(d) the fist part and Q3(e); Control system final exam 2015.
4
ELEN90055 Control Systems
Worksheet 4
Semester 2, 2021
Instructions
This worksheet covers step response transients. Solutions to starred problems will be
provided after the practice class.
1
1∗ . A certain servo system has dynamics dominated by a pair of complex poles and no finite
zeros. The time domain specifications are
Rise time:
tr ≤ 0.6 sec.
Overshoot:
M p ≤ 17%
Settling time: ts ≤ 9.2 sec.
(a) Sketch the region in the complex s-plane for which the poles could be placed such
that all specifications are met.
(b) Indicate the specific locations that will have the smallest rise time, an overshoot of
M p ≤ 17% and also meet the settling time specification exactly (ts = 9.2sec).
2∗ . (Question 9, Control system final exam 2017):
Suppose you want to achieve an overshoot of no more than 10% and a rise time of at most
2 sec. Assume that there are no finite zeros in the transfer function. Sketch the region of
the complex plane where all the dominant poles of the closed-loop transfer function should
be located.
3∗ . (Question 9, Control system final exam 2016):
Suppose that you designed two controllers for a given plant and they both yield a stable
closed-loop system. The first controller gives you rise time tr = 0.5sec and settling time
ts = 10sec. The second controller gives you the rise time tr = 1sec and settling time ts =
4sec. Which controller gives you a faster response for the closed-loop system?
4. (Question 5, Control system final exam 2016):
Suppose that you have found that the characteristic polynomial of a closed-loop system
takes the following form:
s3 + (k p + 3)s2 + 4k p s + 15
where k p > 0 is a controller parameter that you can tune. Explain how you can use the
Routh-Hurwitz criterion to check if the settling time (5% of the final value) is smaller than
2 sec (you do not need to complete all calculations - just explain the steps you would use).
2
ELEN90055 Control Systems
Worksheet 5
Semester 2, 2021
1
Tutorial problems
1. Given
G(s) =
ωn2
,
s2 + 2ζ ωn s + ωn2
where 0 < ζ < 1, find expressions for the peak magnitude response, the frequency at which
it occurs, and the 3dB bandwidth of G.
Briefly describe what happens to each of these three quantities as ζ → 0 and as ζ → 1.
2∗ . Draw the Bode diagrams (magnitude and phase) for the following transfer functions:
(a)
G(s) = s + 2
(b)
G(s) =
1
s+5
G(s) =
s+2
s+5
(c)
(d)
G(s) =
s+2
(s + 5)2
G(s) =
s+2
s(s + 5)2
(e)
(f)
G(s) =
(s + 2)(s + 10)
s(s + 5)2
Check your sketch using M ATLAB.
3∗ . Open-loop frequency response data is obtained for a system and an approximate Bode
diagram is plotted as shown in Figure 1.
(a) Identify a transfer function model of the system.
(b) Sketch the step response of the system.
1
Figure 1: Question 2 (Bode).
2
Additional solved problems
1. A-7-1 and A-7-5 (pages 521, 525-526): “Modern Control Engineering” by Katsuhiko
Ogata; 5th edition. (see additional sheet)
2
ELEN90055 Control Systems
Worksheet 6
Instructions
This worksheet covers materials about root locus. Solutions to starred problems in the Tutorial
Problems section will be provided to students after the tutorial. Additional solved problems
are provided in Section 2. Students are encouraged to work on the solutions to the Section 3
problems by themselves.
Please see the following table (from “Modern control systems” by Dorf and Bishop) that
summarises the steps required to sketch a root locus and read the example on the next 3 pages
before the tutorial. This example is also from “Modern control systems” by Dorf and Bishop.
Table 7 .2 Seven Steps for Sketching a Root Locus
Step
Related Equation or Rule
1. Prepare the root locus sketch.
(a) Write the characteristic equation so that the
parameter of interest, K, appears as a multiplier.
1 + KP(s) = 0.
M
ll(s + Zi)
i=l
1 + K ,,
= 0.
ll(s + pj)
(b) Factor P(s) in terms of n poles and M zeros.
j==l
(c) Locate the open-loop poles and zeros of P(s)
in the s-plane with selected symbols.
(d) Determine the number of separate loci, SL.
(e) The root loci are symmetrical with respect to the
horizontal real axis.
2. Locate the segments of the real axis that are root loci.
3. The loci proceed to the zeros at infinity along
asymptotes centered at <TA and with angles cp A·
x = poles, 0 = zeros
Locus begins at a pole and ends at a zero.
SL = n when n ;;,::: M; n = number of finite poles,
M = number of finite zeros.
Locus lies to the left of an odd number of poles and
zeros.
n- M
2k + 1
<PA = --180°, k = 0, 1, 2, ... (n - M - 1).
n-M
Use Routh-Hurwitz criterion (see Section 6.2).
4. Determine the points at which the locus crosses the
imaginary axis (if it does so).
5. Determine the breakaway point on the real axis (if any). a) Set K = p(s).
b) Determine roots of dp(s)/ds = 0 or use
graphical method to find maximum of p(s).
il.JjJ_ = 180° + k360° at s = -pj or -z;.
6. Determine the angle of locus departure from complex
poles and the angle of locus arrival at complex zeros,
using the phase criterion.
7. Complete the root locus sketch.
1
EXAMPLE 7.4 Fourth-order system
1. (a) We desire to plot the root locus for the characteristic equation of a system as K
varies for K > 0 when
1+
K
=0
s + 12s + 64s2+ 128s
4
3
(b) Determining the poles, we have
1+
K
0
s(s+ 4)(s+ 4 + j4)(s+ 4 - j4) =
(7.49)
as K varies from zero to infinity. This system has no finite zeros.
(c) The poles are located on the s-plane as shown in Figure 7.14(a).
(d) Because the number of poles n is equal to 4, we have four separate loci.
(e) The root loci are symmetrical with respect to the real axis.
2. A segment of the root locus exists on the real axis between s = 0 and s = -4.
3. The angles of the asymptotes arc
<pA =
(2k + 1)
180 0 ,
4
k = 0, 1, 2, 3;
<P A = +45 ° , 135 ° , 225 ° , 315 °.
The center of the asymptotes is
-4 - 4 - 4
= -3.
4
Then the asymptotes are drawn as shown in Figure 7.14(a).
O"A =
+jw
+jw
�X-P1
''
''
''
j2
''
''
-6
-j
-j2
FIGURE 7.14
The root locus for
Example 7.4.
Locating (a) the
poles and (b) the
asymptotes.
' Departure
"'><: vector
-j4
(a)
(b)
4. The characteristic equation is rewritten as
s(s + 4)(s2 + 8s + 32) + K = s4 + 12s3 + 64s2 + 128s + K = 0.
(7.50)
Therefore, the Routh array is
s4
s3
s2
S
I
so
1 64 K
12 128
bi K
Ct
K
where
b1 =
12(64) - 128
= 53.33 and
12
53.33(128) - 12K
53.33
Hence, the limiting value of gain for stability is K = 568.89, and the roots of the auxil­
iary equation are
53.33s2 + 568.89 = 53.33(s2 + 10.67) = 53.33(s + j3.266)(s - j3.266).
(7.51)
The points where the locus crosses the imaginary axis are shown in Figure 7.14(a).
Therefore, when K = 568.89, the root locus crosses the jw-axis at s = ±j3.266.
5. The breakaway point is estimated by evaluating
K = p(s) = -s(s + 4)(s + 4 + j4)(s + 4 - j4)
betweens = -4 and s = 0. We expect the breakaway point to lie between s = -3 and
s = -1, so we search for a maximum value of p(s) in that region. The resulting values
of p(s) for several values of s are given in Table 7.3. The maximum of p(s) is found to lie
at approximately s = -1.577, as indicated in the table. A more accurate estimate of the
breakaway point is normally not necessary. The breakaway point is then indicated on
Figure 7.14(a).
6. The angle of departure at the complex pole p1 can be estimated by utilizing the angle
criterion as follows:
8 1 + 90 ° + 90° + 83 = 180° + k360 °.
Here, 83 is the angle subtended by the vector from pole p3• The angles from the pole at
s = -4 and s = -4 - j4 are each equal to 90° . Since 83 = 135 ° , we find that
flt = -135° = +225 ° ,
as shown in Figure 7.14(a).
7. Complete the sketch as shown in Figure 7.14(b).
Table 7.3
p(s)
s
O
51.0
68.44
-4.0
-3.0
-2.5
80.0
-2.0
83.57
75.0
0
-1.577
-1.0
0
Using the information derived from the seven steps of the root locus method,
the complete root locus sketch is obtained by filling in the sketch as well as
possible by visual inspection. The root locus for this system is shown in Figure
7.14{b ).
1
Tutorial problems
b(s)
1∗ . Consider the unity feedback loop shown in Figure 1 with G(s) = a(s)
for some polynomials
a(s) and b(s).
R(s)
+
_
K
G(s)
Y(s)
Figure 1: (Unity-feedback loop).
(a) Given the polynomials a(s) and b(s), what does it mean for a point s0 to lie on the
root locus of the feedback loop (in terms of a(s) and b(s))? State this in your own
words with relevant equations.
(b) Let K ≥ 0. Why must a point s0 on the root locus satisfy ∠G(s0 ) = 180o ? Explain.
(c) If a point s0 on the root locus satisfies ∠G(s0 ) = 180o , what does this say about the
gain K if this gain is positive? Explain.
(d) Now let K ≤ 0. What condition must ∠G(s0 ) satisfy for s0 to be on the root locus of
the feedback loop? Explain.
2∗ . An armature-controlled DC motor with negligible armature resistance has a transfer function
4
.
G(s) =
s(s + 0.5)
Consider the block diagram in Figure 2 and let D(s) = (s + 0.5)/(s + 6). Draw the root
locus and calculate (by hand) the gain that ensures the dominant poles of the system have
natural frequency ωn greater than 3rad/s and damping ratio ζ greater than 0.7.
R(s)
+
_
D(s)
G(s)
Figure 2: (Problem 2).
5
Y(s)
3∗ . Suppose that the plant G(s) in Figure 1 is:
G(s) =
s−3
s2 (s + 10)
.
(1)
Sketch by hand the root locus (for K ≥ 0) of the feedback loop using the following six
steps:
(a) Plot the location of the open loop poles and zeros.
(b) Determine the part of the root locus on the real axis.
(c) Determine the departure angle from the open loop poles and arrival angles at the open
loop zeros. Show your calculations.
(d) Determine the asymptotes of the root locus (if any). Show your calculations.
(e) Any other information you may need.
(f) Check your hand sketch is correct using Matlab’s rlocus command.
4∗ . Let K ≥ 0 and let the plant G(s) in Figure 1 be:
G(s) =
(s2 + 16s + 100)(s + 1)
.
s2 (s + 6)(s + 5)(s + 3)
(2)
Repeat the steps (a)-(f) in Exercise 3 for the new G(s) and sketch by hand the 180o root
locus of the feedback loop.
Note: This example is a little tricky.
5∗ . Consider a plant with the transfer function
G(s) =
s+6
s(s + 10)
placed in a unity feedback loop with a controller C(s). Using the root locus method, design
a PID controller C(s) of the form
C(s) = K
(s + z1 )(s + z2 )
s
where K, z1 , z2 > 0 such that the closed loop system is second order with poles at s =
−3 ± 4 j.
2
Additional solved problems
1. A-6-1 to A-6-7 (pages 347-359): “Modern Control Engineering” by Katsuhiko Ogata; 5th
edition. (Available on Canvas)
6
7
ELEN90055 Control Systems
Worksheet 7
Semester 2, 2021
Instructions
This worksheet covers materials about Nyquist stability criterion and reviews root locus and
Routh-Hurwitz stability criterion. Solutions to starred problems will be provided.
1∗ . A system G(s) has two unstable open loop pole and a Nyquist diagram shown in Figure 1.
When G(s) is placed in a unity feedback loop, is the closed loop system stable or unstable?
Explain.
Nyquist Diagram
0.8
0.6
Imaginary Axis
0.4
0.2
0
−0.2
−0.4
−0.6
−0.8
−1
−0.8
−0.6
−0.4
−0.2
0
Real Axis
0.2
0.4
0.6
0.8
1
Figure 1: Question 1 (Nyquist stability test).
2∗ . Consider the unity feedback loop shown in Figure 2 with
G(s) =
s + 0.5
,
(s + 2)(s2 − 1)
C(s) = K.
Using the following methods, find value for K for which the closed-loop system is stable.
1
R(s)
+
C(s)
_
Y(s)
G(s)
Figure 2: (Unity-feedback loop).
(a) Rouths stability criterion.
(b) Root locus.
(c) Nyquist stability criterion (G(s) has a Nyquist plot shown in Figure 3).
Nyquist Diagram
0.15
Imaginary Axis
0.1
0.05
0
-0.05
-0.1
-0.15
-0.25
-0.2
-0.15
-0.1
-0.05
0
Real Axis
Figure 3: Question 1 (Nyquist stability test).
3. [Question 2, 2017 Final exam]
Consider the system given in Figure 4.
Figure 2: Block diagram for Question 2.
Figure 4: Block diagram for Question 3.
Question
2 (10
Marks)
Consider
the system
in Figure
2. given
We in Figure 5.
We know that
the transfer
function
G(s)
is stable
and itsgiven
Nyquist
plot is
know that the transfer function G(s) is stable and its Nyquist plot is
given in Figure 3.
2
(a) (2 Marks) Using the Nyquist plot of G(s) in Figure 3, sketch the
Nyquist plot of G0(s) = G(s) + 0.5 (see Figure 2).
(a) Using the Nyquist plot of G(s) in Figure 5, sketch the Nyquist plot of G0 (s) = G(s) +
0.5 (see Figure 4).
(b) Apply Nyquist criterion to find the range of K > 0 for which the closed loop system
in Figure 4 is stable.
(c) Apply Nyquist criterion to find the range of K < 0 for which the closed loop system
in Figure 4 is stable.
Figure 3: Nyquist plot of G(s) in Figure 2 (Question 2).
Figure 5: Nyquist plot of G(s) in Figure 4 (Question 3).
Please turn the page over.
4
3
ELEN90055 Control Systems
Worksheet 8
Semester 2
Instructions
This worksheet covers materials about Nyquist stability criterion and stability margins. Solutions
to starred problems will be provided to students afterwards.
1∗ . [Question 2, 2016 Final exam]
Consider the Nyquist plot in Figure 1 of the following open-loop transfer function:
Λ0 (s) =
5s + 15
s3 − s2 + 11s − 51
Nyquist Diagram
0.5
0.4
0.3
Imaginary Axis
0.2
0.1
0
-0.1
-0.2
-0.3
-0.4
-0.5
-1
-0.9
-0.8
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0
Real Axis
Figure 1: Nyquist diagram for Question 1.
(a) Using the Routh-Hurwitz criterion, determine the number of unstable poles of Λ0
(Hint: the number of sign changes in the first column of the Routh-Hurwitz array for
the denominator of Λ0 (s) is equal to the number of poles with strictly positive real
part);
(b) Using the Nyquist criterion, determine the stability of the closed-loop system.
(c) Consider KΛ0 (s), K > 0. Give a detailed stability analysis of the closed-loop system
for different values of K.
1
2∗ . [Question 4, 2017 Final exam]
Consider the Bode diagram of a stable open loop transfer function Λ0 (s) shown in Figure 2.
Bode Diagram
Q.)
"O
::::i
:!:=
-50
c
O')
C'O
2 -100
-150 ~ - - - - - ~ - - - - - ~ - - - - - ~ - ~
Of==========----.---------.--------.---=,
,.-...
O')
a.>
"O
-90
'--"
Q.)
(/)
C'O
..c -180
a..
-270 ~ - - - - ~ - - - - - ~ - - - - - ~ - - ~
10·2
10°
1o4
Frequency (rad/s)
Figure 2: Bode plots for Question 2.
(a) Using the Bode diagram, sketch the Nyquist plot of this system. In the Nyquist plot,
indicate clearly where the plot intersects the circle of radius 1 and where it intersects
the negative real axis.
(b) Check the stability of the closed loop system. (Hint: you can use the Nyquist criterion.)
3∗ . Find the gain and phase margins for the transfer function
G(s) =
2(s + 10)
.
(s + 1)(s + 2)(s + 5)
You can use the Bode plots in Figure 3 to find the gain and phase margins. How do these
values change if the gain is doubled?
2
Bode Diagram
Magnitude (dB)
20
0
-20
-40
-60
Phase (deg)
-80
0
-45
-90
-135
-180
-225
10-2
10-1
100
101
102
Frequency (rad/s)
Figure 3: Bode plots for Question 3.
4. [Question 4, 2016 Final exam]
Consider the block diagram in Figure 4 of a wheelchair velocity control system designed
for people that are paralysed from head down. The idea is that the person’s head movement
is converted into a signal that powers the motor driving the wheelchair. The head movement encodes the error between the desired velocity (in the person’s brain) and the actual
velocity that the person observes. Bode diagrams for the sensor and for the wheelchair
with motor are given in Figure 5.
Figure 4: Block diagram for Question 4.
3
Figure 5: Bode plots for Question 4.
(a) Supposing that the amplifier gain is K = 1, check if the closed loop system is stable
and determine the phase and gain margins.
(b) Adjust the amplifier gain so that the phase margin is at least 30◦ . What is the gain
margin in this case?
(c) Is it possible to adjust the amplifier gain so that you achieve steady state error smaller
than 0.01 and phase margin of at least 30◦ ? If so, find the range of K for which this
is possible (provide detailed calculations).
4
ELEN90055 Control Systems
Worksheet 9
Semester 2
Instructions
This worksheet covers material about compensator design.
1∗ . Consider the closed-loop system in Figure 1 with
G(s) =
1
,
s+1
1
R(s) = .
s
The system requirements demand less than 5% steady state tracking error and a rise time
Closed loop control
of less than 1 second. In this question you compare a P, I and a PI strategy.
Figure
1: for
Feedback
systeminwith
reference
R, gives
disturbance W , and sensor noise V .
Solving
the output
terms
of the input
inputs
(a) Consider using a simple proportional
controlG
GDcl
Ycl =
R+
W
1 + GDcl D (s)
1 +=GD
cl
K.
cl
GDcl
V
1 + GDcl
Compute a gain the satisfies the rise time requirement. (For a first order system with
1
transfer function T s+1
, the rise time is tr ≈ 2.2T ).
Ecl = R Ycl
What is the steady state tracking error associated with this choice? Compute a gain
1
G
GDcl
that achieves both the rise
of 5%
= time and the
R steady state tracking
W + error specification
V
1 + GDcl
1 + GDcl
1 + GDcl
relative error.
The closed loop transfer function R ! Ycl is given by
1
Tcl (s) =
GDcl
1 + GDcl
i. Calculate the sensitivity function
S(s) =
1
1 + G(s)Dcl (s)
for the system. What is the sensitivity of the system to a constant disturbance?
ii. What is the sensitivity of the system to a 2 rad/s sinusoidal disturbance? (Evaluate the sensitivity function S(s) at s = 2 j).
(b) For a straight integral (I) Controller
Dcl (s) =
K
,
s
compute a gain K that achieves a rise time of less than 1 second. Verify that the
steady state tracking error is zero.
i. Calculate the sensitivity function for the system with I control. What is the
sensitivity of the system to a constant disturbance?
ii. What is the sensitivity of the system with I control to a 2 rad/s sinusoidal disturbance? (Evaluate the sensitivity function S(s) at s = 2 j).
(c) Consider the case of a proportional integral (PI) control design
1
.
Dcl (s) = K 1 +
Ts
By choosing T = 1 there is an open-loop pole zero cancellation of the compensator
zero and the plant pole. Using this choice of T calculate a gain K in order that the
closed-loop step response has a rise time of less than 1 second.
i. Verify that the steady state tracking error is zero.
ii. What is the sensitivity of the system to a 2 rad/s sinusoidal disturbance?
(d) Comment on the relative performances of the three controllers and discuss the most
suitable design to use in practice.
2∗ . Consider the two mass positioning system shown in Figure 2.
The transfer function for this system, from input force u(t) to output position y(t) is given
by
bs + k
G(s) = 2
.
2
s (mMs + (M + m)bs + (M + m)k)
Typically the smaller mass m is insignificant with respect to the larger mass M (m << M).
The specified performance criteria for the closed loop system are rise time tr ≤ 0.1 second
and an overshoot of less than 10% (M p ≤ 0.1).
Consider the following classical feedback compensator control architecture with compensator C(s). (You may use MATLAB to help in design for all these questions).
2
Figure 2: Mass positioning system.
U(s)
+
_
C(s)
G(s)
Y(s)
(a) Approximate G(s) by assuming that m ≈ 0 and let M = 1, k = 1, b = 0.1. Consider
a pure proportional gain compensator C(s) = K. Can K be chosen to satisfy the
performance specifications? Justify your answer.
(b) Repeat Part 2a) using a PD compensator C(s) = K(λ s + 1), and show that K and λ
may be chosen to meet the specifications.
(c) Repeat Part 2a) using a Lead compensator
C(s) =
K(λ s + 1)
τs + 1
and choose τ so that the same values of K and λ used in Part 2b) still achieve the
closed-loop performance criteria.
3
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )