Control Systems U2 (TEL306)
Control Systems U2 (TEL306)
Control Systems
Unit 2
System Response
Analysis
Contents
Unit overview 1
Unit outcomes 3
Introduction 4
Disturbances 8
Introduction 21
Summary of Unit 2 75
References 77
Unit Overview
It was shown in Unit 1 that the behaviour of a process can be represented
by a mathematical model that is developed by means of theoretical or
empirical approach. How do we know that the process model is valid?
This can be done by comparing the model solution with the experimental
result for a given input force function. In this unit, four forms of input force
functions that are commonly used to test the system time response will
be introduced, namely impulse, step, ramp and parabolic inputs. These
inputs represent four different scales of changes of the force function for
a system to follow. The relationship between the input and the system
can be analogised as the teaching and learning process in a classroom.
Assuming an average student (system) sitting in the class, if the teacher
teaches slowly, which resembles a step input, the student will learn very
well. As the teacher speeds up the lesson, which resembles a ramp
input, the student might find it harder to follow and may absorb only
part of the knowledge. If the teaching goes speedy, which resembles a
parabolic input, then the student may not be able to cope. He/she may
end up learning nothing and may eventually lose interest in the study!
Actual output
Process/System
Perhaps the most useful input force function is the step input which is at
the second row of the table. It represents an abrupt change in the setpoint
such as an ON-OFF state of a switch. Comprehending the response
of the system to the step input change is of considerable interest. For
instance, how long is the time needed to reach the set temperature
from the current temperature of 30°C when the air conditioner is being
switched on? By observing the output response (temperature profile), we
may justify the suitability of the air conditioner for a given size of room
and the local weather conditions.
Y(S) 1
= 2
R(S) s + 3s + 2
1
⇒ Y(s) = R(s)
s2 + 3s + 2
1 1 1
For a step input, R(s) = , ⇒ Y(s) = 2 •
s (s + 3s + 2) s
Activity 2.1
1
Given a process transfer function of G(s) = , compare the
ts + 1
time response when subjected to a unit impulse and a unit step
input.
1
Step i(t) = 1 i(s) =
s
1
Ramp i(t) = t i(s) =
s2
2
Parabolic i(t) = t 2 i(s) =
s3
i (s) O(s)
G1(s) G2(s) G2(s)
H2(s)
D5(s)
It is obvious from the equation that the output, Y(s), is affected by the
disturbances, D(s) and no remedy could be proposed to reduce the effect
of disturbances. Meanwhile, for a closed loop system as illustrated in
Figure 2.5, the output, Y(s) can be derived as:
Since the error signal, E(s), is the discrepancies between the input signal,
R(s), and the actual output, Y(s), hence
KG(s) 1
Y(s) = R(s) + D(s)
1 + KG(s) 1 + KG(s)
R(s) Y(s)
K Process, G(s)
D(s)
Activity 2.2
Example 1
1. Derive the overall transfer function for the system with the
disturbances.
2. Construct a signal flow graph for the system and derive the
system transfer function using Mason’s rule.
3. Find the output, Y(s), of the system given that the disturbances,
D(s), is in the form of step function and the input signal, R(s),
is null. Comment on the output obtained.
D(s)
R(s) E(s) Y(s)
K1 Process, G(s)
K2
K1G(s) G(s)
Y(s) = R(s) + D(s)
1 + K2K1G(s) 1 + K2K1G(s)
D(s)
1
R(s) 1 K1 G(s) 1 Y(s)
−K2
There are two forward paths. One path originated from input
signal, R(s), another path from disturbances, D(s).
P1 = K1G(s)
P2 = G(s)
K1G(s) G(s)
Y(s) = R(s) + D(s)
1 + K1K2G(s) 1 + K1K2G(s)
1
3. Given D(s) = and R(s) = 0,
s
K1G(s) G(s) 1
Y(s) = •0+ •
1 + K1K2G(s) 1 + K1K2G(s) s
G(s) 1
Y(s) = •
1 + K1K2G(s) s
Bump disturbances,
D(s)
H(s)
1. Derive the overall transfer function for the system with the
disturbances.
G(s)[1 − H(s)K] 1
Y(s) = •
1 + KG(s) s
H(s)K = 1
Example 3
Figure 2.8 shows the block diagram for a water heating system in the hot
water dispenser. The desired water temperature, R(s), in the dispenser is
to maintain at 90°C but fresh water will be added to refill the quantity of
hot water being dispensed. The temperature of the fresh water normally is
around room temperature at 25°C and this has introduced disturbances,
D(s), to the system. Derive the overall system transfer function so that
the effect of disturbances could be studied. Suggest the way to reduce
the effect of disturbances so that the water can be maintained at 90°C?
D(s)
Solution
1 1
Y(s) = K · E(s) + D(s)
10s + 1 10s + 1
1 1
Y(s) = K · [R(s) − Y(s)] + D(s)
10s + 1 10s + 1
K K 1
Y(s) = R(s) − Y(s) + D(s)
10s + 1 10s + 1 10s + 1
K K 1
[1 + ]Y(s) = R(s) + D(s)
10s + 1 10s + 1 10s + 1
[ 10s + 1 + K
10s + 1 ]
Y(s) =
K
10s + 1
R(s) +
1
10s + 1
D(s)
K 1
Y(s) = R(s) + D(s)
10s + 1 + K 10s + 1 + K
Web Reference
https://www.controleng.com/articles/noise-and-disturbances-in-
process-control-2/
Feedback
Activity 2.1
Y(s) 1
G(s) = =
R(s) ts + 1
1
Y(s) = • R(s)
ts + 1
1
t
Y(s) = •1
s+ 1
t
1 −t/t
y(t) = e
t
1
When a step input is applied, R(s) = ,
s
Y(s) 1
G(s) = =
R(s) ts + 1
1
Y(s) = • R(s)
ts + 1
1
t 1
Y(s) = •
s+ 1 s
t
The following are some of the examples, but not limited to, inputs
and disturbances for a learning process in a classroom.
Due to the heavy load, the ideal conditions might not be easily achieved.
It tends to suffer from instability in the response and steady state error.
The design of the turning table involves large mass with as little friction as
possible. This imposes a low damping ratio that results in an overshooting
and oscillating system response. Steady state error may also occur due
to the heavy load of the turning table. As the load approaches the desired
angle, the error signal, E(s), becomes progressively smaller to a situation
that the amplified error signal is insufficient to keep the motor driving.
Thus the load will come to rest at an angle other than the desired. The
discrepancy between the actual angle at rest and the desired angle is
defined as the steady state error.
Variable
resistor
1
where t is the time constant. Applying a unit step input R(s) = and
s
assuming zero initial conditions,
1 1
Y(s) = ∙
ts + 1 s
1 1
Y(s) = −
s s+ 1
t
y(t) = 1 − e−t/t
The equation above indicates that the initial output, y(0) is zero and the
output at steady state , y(∞), converges to unity, i.e.
lim y(t) = 1
t→∞
1
Yss =
s
lim
t→∞
e(t) = 0
Ess = 0
since E(s) = R(s) – Y(s)
The transient response of the first order system is determined by the time
constant, τ, of the system. At the time, t = τ, the system output reaches
63.2% of the final value at steady state. This can be proven as follows:
y(t) = 1 − e− t/t
y(t) = 1-e−1
y(t) = 0.632 = 63.2%
y(t)
63.2%
86.5%
98.2%
99.3%
95%
t
0 t 2t 3t 4t 5t
Y(s) w n2
T(s) = = 2
R(s) s + 2wnϚs + wn2
The transient response of the second order system could be described
by two parameters, namely the natural frequency, wn, and the damping
ratio, Ϛ. The natural frequency is the frequency of oscillation of the
system if all the damping is removed, while the damping ratio is the
ratio of the exponential decay frequency to the natural frequency (Nise,
2011). Depending on the damping ratio, Ϛ, the transient responses of
the second order system when subjected to a unit step input R(s) =
1
, can be categorised into four cases as follows:
s
Y(s) w n2
= 2
R(s) s + 2wnϚs + wn2
Since the damping ratio, Ϛ, is zero, the resultant transfer function is:
Y(s) w n2
=
R(s) s2 + wn2
p1, 2 = ± jwn
Figure 2.14 shows the locations of the poles on the s-plane, which are
plotted on the imaginary axis. The output response to a unit step input
can be derived from:
w n2 1 1 s
Y(s) = 2 · = −
s + w n2 s s s 2 + w n2
Inverse Laplace,
y(t) = 1 − cos wn t
The solution above reveals that the output, y(t), oscillates above a unity
and with a frequency of wn rad/s. Figure 2.15 shows a typical step response
for the case where Ϛ = 0 and wn = 2 rad/s. The oscillatory response is
denoted as a marginally stable response in the control system.
Re
−jwn
y(t)
Y(s) w n2
= 2
R(s) s + 2wnϚs + wn2
s2 + 2wn Ϛs + wn2 = 0
Solving the characteristic equation, there are two complex poles at:
y(t) = 1 −
e−a
√1 − Ϛ2 (
sin wdt + tan −1 √1 − Ϛ
Ϛ
2
)
Figure 2.17 shows a typical step response with an overshoot for the case
where � = 0.5 and wn = 2 rad/s. The transient response is denoted as an
underdamped response in the control system.
Y(s) w n2
= 2
R(s) s + 2wnϚs + wn2
Solving the characteristic equation, there are two real poles at:
p1, 2 = −wn
The poles are plotted at the same location on the s-plane at the real
axis as shown in Figure 2.18. The output response to a unit step input
is given as:
Imaginary
Real
y(t)
Y(s) w n2
= 2
R(s) s + 2wnϚs + wn2
where Ϛ > 1. Solving the characteristic equation, there are two negative,
real and distinct poles at:
The poles are located at the real axis on the s-plane as depicted in Figure
2.20. The characteristics of the system response are determined by the
pole, p1, that is located near the origin of the s-plane. This is the concept
of dominant pole that will be described in the next section. The nearer
to the origin, the slower is the system response. Increasing the damping
ratio, Ϛ, will further distinct both poles apart. One of the poles, p2, will
approach the origin while another pole, p1, moves away from the origin.
Hence the system responds slower.
y(t) = 1 +
wn
( e−p1t
2√Ϛ 2 − 1 p1
−
e−p2t
p2 )
Figure 2.21 shows a typical step response for the case where Ϛ = 1.5
and wn = 2 rad/s. The transient response is slower as compared with the
critically damped case illustrated in Figure 2.19.
p1 p2
Real
Increasing Ϛ
y(t)
Figure 2.22 The effect of damping ratio, Ϛ, on the system output, y(t)
Source: https://en.wikipedia.org/wiki/Damping_ratio
Web Reference
https://en.wikipedia.org/wiki/Damping_ratio
Y(s) 3
= 2
U(s) 5s + 7s + 2
Find the value of the gain, K, the damping ratio, Ϛ, and the natural
frequency, wn, of the process. Sketch and comment on the system
response based on the calculations.
Solution
2
Y(s) 3 3 5
= 2 = •
U(s) 5s + 7s + 2 2 s2 + 7 s + 2
5 5
3
K = = 1.5
2
wn =
√ 2
5
= 0.6325
1.4
Ϛ= = 1.1067
2 · 0.6325
The figure above shows the step response of the process. The gain, K,
indicates the final value that the system converges. Since the damping
ratio is more than one, a sluggish response without overshoot is expected.
R(s) 1 Y(s)
+ 20 (s + 1)(0.2s + 1)
-
1
5
F(t)
Mass, m
x(t)
dx(t)
Fs(t) = kx(t) Fd(t) = kd
dt
The system is subjected to an input force, F(t) and the output is the
displacement, x(t). The transfer function of the system is given as:
1
x(s) m
=
m ( )
F(s) s2 + kd s + k
m
Time required for the response to reach half of the final value
at very first time.
Time required for the response to reach the final value at very
first time.
p−b
tr =
wd
b = tan−1
( )
wd
Ϛwn
jwd
wn
w n√ 1 − 2
b
−
wn
y(t)
%OS or Mp
Allowable
Final tolerance
value 5% or 2%
td tr tp ts time
Time required for the response to reach the first peak of the
overshoot.
p p
tp = =
wd wn√1 − 2
Mp = 1 + exp
( −p
√1 − 2 )
Or maximum percentage overshoot,
%OS = 100exp
( −p
√1 − 2 )
5. Settling time, ts:
The time required for the system response to reach and stay
within a specific percentage tolerance band of the final steady
state value. Typical values of tolerance are 2% and 5%.
4
ts = 4t = (2% criterion)
wn
3
ts = 3t = (5% criterion)
wn
1
t=
wn
R(s) + + 1 1 Y(s)
25
- - (s + 2) s
0.16 s
Solution
Y(s) 25
= 2
R(s) s + 6s + 25
Comparing the transfer function with the standard second order transfer
function:
25 wn2
⇒ 2
s2 + 6s + 25 s + 2wns + wn2
wn2 = 25 → wn = 5 rad/s
6
2n = 6 → = = 0.6
2×5
p−b wd
tr = wd = wn√1 − Ϛ2 = 4 rad/s, b = tan−1
wd wn
3.14 − 0.93 4
= = tan−1
4 3
= 0.55s = 0.93 rad
p 3.14
tp = = = 0.785 s
wd 4
3 3
ts = 3t = = = 1s (5% criteria)
wn 3
4 4
ts = 4t = = = 1.33s (2% criteria)
wn 3
1. Natural frequency
2. Damping ratio
3. Peak time
5. Settling time
+ E(s)
1
R(s) s(s + 15) Y(s)
-
where the value of the N variable defines the type of the system, K is the
process gain, z is the zero and p is the pole.
G(s)
Y(s) = R(s)
1 + G(s)
Figure 2.27
The error signal, E(s), is the difference between the setpoint, R(s), and
actual output, Y(s):
1
E(s) = R(s)
1 + G(s)
Applying the final value theorem to find the steady state performance
of the system:
sR(s)
ess = lim e(t) = lim sE(s) = lim
t→ s→0 s→0
1 + G(s)
The steady state error, ess, equation above provides an estimation of the
steady state performance of the system for a given transfer function of
the process, G(s), and the input, R(s). The steady state performance can
now be evaluated when the step, the ramp, and the parabolic inputs are
applied.
1
When a step input, , is applied to the system, the steady state error is:
s
s 1
ess = lim ∙
s→0
1 + G(s) s
1
=
1 + limG(s)
s→0
The term, lim G(s), is a dc gain of the open loop transfer function, since
s→0
s is the frequency variable that approaches zero. In order to have a zero
steady state error,
lim G(s) =
s→0
z1z2 ... zm
lim G(s) =
s→0 p1p2 ... pq
1
When a ramp input, , is applied to the system, the steady state error is:
s2
s 1
ess = lim ∙ 2
s→0
1 + G(s) s
1
= lim
s→0
s + sG(s)
1
=
lim sG(s)
s→0
lim sG(s) =
s→0
z1z2 ... zm
lim sG(s) =
s→0 p1p2 ... pq
1
When a parabolic input, , is applied to the system, the steady state
s3
error is:
s 1
ess = lim ∙ 3
s→0
1 + G(s) s
1
= lim
s→0
s2 + s2G(s)
1
=
lim s2G(s)
s→0
lim s2G(s) =
s→0
z1z2 ... zm
lim s2G(s) =
s→0 p1p2 ... pq
lim s2G(s) = 0
s→0
Find the steady state errors for the inputs of step u(t), ramp tu(t) and
parabolic t2u(t) to the system as shown in Figure 2.28. Comment on your
findings.
Solution
For a type 1 system as shown in Figure 2.28, the steady state error, ess
is formulated as follows:
1
E(s) = R(s)
1 + G(s)
since,
1
Applying a unit step input, R(s) =
s
When s → 0
ess = 0
1
Applying a unit ramp input, R(s) =
s2
When s → 0
(8)(10)(12)
ess = = 0.16
100(2)(5)(6)
1
Applying a unit parabolic input, R(s) =
s3
When s → 0
(8)(10)(12) 1
ess = •
0 + 100(2)(5)(6) 0
ess =
In the previous section, the steady state errors are estimated by using
the final value theorem. An alternative method is by using the static error
constant. Recall that in the previous section, we derived the following
steady state functions,
1
ess =
1 + lim G(s)
s→0
1
ess =
lim sG(s)
s→0
1
ess =
lim s2G(s)
s→0
Position constant,
Kp = lim G(s)
s→0
Velocity constant,
K = lim sG(s)
s→0
Acceleration constant,
Ka = lim s2G(s)
s→0
Example 7
Re-evaluate the steady state errors of the system in the previous example
using the static error constants.
To re-evaluate the steady state error for type 1 system described in the
previous example, the open loop transfer function is:
1
When a unit step input, R(s) = , is applied, the static constant is:
s
Kp = lim G(s)
s→0
1 1
ess = = =0
1 + Kp 1 +
1
When a unit ramp input, R(s) = , is applied, the static constant is:
s2
K = lim sG(s)
s→0
Using the static error constants to evaluate the steady state error is
comparatively easier but you should be aware that it is applicable only
to a closed loop system with unity feedback loop.
Type 1 0
1
K
Type 2 0 0
1
Ka
Table 2.2 Static error constants for various types of systems subjected to
different inputs
1
s+5
To calculate the steady state error for a non-unity feedback system, the
same approach of derivation could be applied. For a simple closed loop
system as shown in Figure 2.30 (a), the equivalent closed loop transfer
function can be depicted as in Figure 2.30 (b). The output of the closed
loop system is:
G(s)
Y(s) = R(s)
1 + G(s)H(s)
E(s) = 1 −
( G(s)
1 + G(s)H(s)
R(s)
)
Applying the final value theorem to find the steady state performance of
the system:
It should be remarked that the above steady state error, ess, is general and
applicable to both systems with a unity and a non-unity feedback loop.
+ E(s) Y(s)
R(s) G(s)
- R(s) G(s) Y(s)
Equivalent
1 + G(s)H(s)
H(s)
Figure 2.30
Find the steady state error for the system shown below for a unit step
input.
1
s + 0.5
Solution
G(s)
Y(s) = R(s)
1 + G(s)H(s)
100 1
where G(s) = and H(s) =
s(s + 10) s + 0.5
100(s + 0.5)
Y(s) = • R(s)
s(s + 10)(s + 0.5) + 100
E(s) = 1 −
( 100(s + 0.5)
s(s + 10)(s + 5) + 100 ) • R(s)
E(s) =
( s(s + 10)(s + 0.5) + 100 − 100(s + 0.5)
s(s + 10)(s + 0.5) + 100 )
• R(s)
ess = lim s
s→0 ( s(s + 10)(s + 0.5) + 100 )
s(s + 10)(s + 0.5) + 100 − 100(s + 0.5)
• R(s)
ess = lim s
s→0 ( s(s + 10)(s + 0.5) + 100 )
s(s + 10)(s + 0.5) + 100 − 100(s + 0.5)
•
1
s
ess =
( 0 + 100 − 100(0.5)
100
= 0.5
)
Pole placement and system response
It should be realised that the location of poles on the s-plane influences
the response of the system. For a first order system, the closer the pole
to the origin of the s-plane, the slower is the system response. For a
second order system, when the poles are located on the imaginary axis,
the system exhibits marginally stable condition. When the poles are
located on the left hand side of the s-plane, the system is stable but it
may have overshoots depending on the damping ratio. If the damping
ratio is greater than one, there will be two real negative poles which
exhibit sluggish response without overshoot. Alternatively, when the
damping ratio is less than one, the poles will be complex conjugates,
which exhibit fast response but with overshoots.
Imaginary, jw
Real,
b = cos−1 Ϛ
| |
1
≥ 10|Ϛwn|
then the time response of the third order system can be approximated
by the time response of the second order system with the complex
conjugates poles. It should be reminded that the poles that are located
closer to the origin exhibit slower response, hence are the dominant
poles.
jw
jwd
wn
wn√1 − Ϛ2
b
1 − Ϛw
− n
For information about the effects of third pole and zero on the
second order system response, please refer to:
Activity 2.8
1. Natural frequency
2. Damping ratio
3. Peak time
j7
Real,
−3
Kf
Solution:
i(s) 10 o(s)
s2 + (2 + 10Kf)s + 10
2Ϛwn − 2
∴ Kf = = 0.4325
10
Substitute the natural frequency, n, gain, Kf, into characteristics
equation (CE):
CE = s2 + (2 + 10 * 0.4325)s + 10
Poles will be at p1 = −3.2, p2 = −3.1
2Ϛwn − 2
∴ Kf = = 0.2427
10
Substitute the natural frequency, n, gain, Kf, into characteristics
equation (CE):
CE = s2 + (2 + 10 * 0.2427)s + 10
Poles will be at p1, 2 = −2.2135 + j2.2584
1
R(s) = in terms of KA.
s2
o(s) 4500KA
= 2
i(s) s + 361.2s
Y(s) 1
=
R(s) 1 + G(s)H(s)
o(s) 4500KA
= 2
i(s) s + 361.2s + 4500KA
wn = √4500KA
361.2 2.692
Ϛ= =
2√4500KA √KA
5. When the input is a ramp, the steady state error of the system
is,
1
ess = lim sE(s) = lim
s→0 s + sG(s)H(s)
361.2 0.0803
ess = lim sE(s) = =
s→0 4500KA KA
2.692
a. Damping ratio = = 0.707
√ 14.7
f. Rise time, tr =
p − cos−1Ϛ
=
p − 45 ( )
p
180
wd 180.6
= 0.013 seconds
p
g. Peak time, tp = = 0.0174 seconds
wd
2.692
Damping ratio = =1
√7.247
This section elaborated the time response of the first and second
order systems, which can be described as the transient response
and the steady state response. The transient response of the first
order system follows the setpoint at a speed stated by the time
constant, t. When the time approaches the time constant, t, the
system reaches 63% of the final output and gradually converges
to the final output without overshooting. The transient response
of the second order system may vary depending on the damping
ratio, Ϛ, and the natural frequency, wn. The smaller is the value of
the damping ratio, Ϛ < 1, the more oscillatory is the response. When
Ϛ ≥ 1, there is no overshoot and the response becomes sluggish
when Ϛ increases. Analyses of the second order transient response
also include calculating the rise time, peak time, overshoot, etc.
Feedback
Activity 2.3
Y(s) 1
=
R(s) 10s + 1
Activity 2.4
20
G(s) =
(s + 1)(0.2s + 1)
1
H(s) =
5
Y(s) 1 100
= = 2
R(s) 1 + G(s)H(s) s + 6s + 25
1. wn = 5rad/sec
2Ϛwn = 6
6
2. Ϛ= = 0.6
2*5
3. wd = wn(√1 − Ϛ2)
= 5(√1 − 0.62) = 4 rad/sec
Activity 2.5
1. wn =
√( )
k
m
=
√( )
800
3
= 16.322 rad/s
kd
2. 2 Ϛwn =
m
kd 20
Ϛ= =
(2wnm) (2*16.322*3)
= 0.2042
Activity 2.6
Y(s) 100
= 2
R(s) s + 15s + 100
100 wn2
⇒
s2 + 15s + 100 s2 + 2wns + wn2
wn2 = 100
1. wn = 10
2wn = 15
15
2. = = 0.75
20
4 4
4. ts = = = 0.533s
wn (0.75)(10)
Activity 2.7
100(s + 5)
Since G(s) =
s(s + 10)(s + 5) + 100
cos =
wd 7
tan = =
d 3
7
= tan−1 = 66.80º
3
p p
3. tp = = = 0.449s
wd 7
4. %OS = 100e−(p/√1 − ) = 26.11%
2
3
5. tS = 4t = = 1.33s (3% criteria)
wn
Summary
1
located at − on the s-plane for a stable first order system.
t
The further away this pole is from the origin, the faster is the
response time.
8. There are two factors that define the steady state error,
namely the input force functions and the type of the system.
COURSE COORDINATOR
Dr. Magdalene Goh Wan Ching
PRODUCTION
In-house Editor: Ms. Jeanne Chow
Graphic Designer: Ms. Valerie Ooi
Wawasan Open University is Malaysia’s first private not-for-profit tertiary institution dedicated to
adult learners. It is funded by the Wawasan Education Foundation, a tax-exempt entity established
by the Malaysian People’s Movement Party (Gerakan) and supported by the Yeap Chor Ee Charitable
and Endowment Trusts, other charities, corporations, members of the public and occasional grants
from the Government of Malaysia.
The course material development of the university is funded by Yeap Chor Ee Charitable and
Endowment Trusts.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise,
without prior written permission from WOU.