Uploaded by asukambajames

36336583-Control-Systems-Lecture-Notes

advertisement
Control
Systems
Lecture Notes for
KJM597
Faculty of Mechanical
Engineering, UiTM Shah Alam
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
CHAPTER 1.0
1.1
MATHEMATICAL REVIEW
COMPLEX VARIABLES AND COMPLEX FUNCTION
This chapter will outline an overview of basic mathematical formulation in solving control
systems problem that you will encounter throughout the course.
1.1.1
Complex Variables Concept
A complex variable denoted by s consists of two components: a real component x and an
imaginary axis component y. Graphically, the real component of s is represented by a x-axis in
the horizontal direction, and the imaginary component is measured along the vertical jy-axis.
Figure 1.0 illustrates the complex s-plane.
Figure 1.0: Complex s-plane
(source: http://mathworld.wolfram.com)
Using notation ๐‘— = −1, all numbers in engineering calculations can be re-written as
๐‘ง = ๐‘ฅ + ๐‘—๐‘ฆ
Where z is called a complex number. Note that j is the only imaginary quantity in the expression.
The magnitude, |z| and angle, ๐œƒ of z can be obtained mathematically,
Magnitude of z=|z|= ๐‘ฅ 2 + ๐‘ฆ 2 ,
๐‘ฆ
angle of z=๐œƒ = tan−1 ๐‘ฅ
2
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
A complex number can be written in rectangular form or in polar form as follows:
i.
Rectangular forms
๐‘ง = ๐‘ฅ + ๐‘—๐‘ฆ
๐‘ง = ๐‘ง (cos ๐œƒ + ๐‘— sin ๐œƒ)
ii.
Polar forms
๐‘ง = |๐‘ง|∠๐œƒ
๐‘ง = |๐‘ง|๐‘’ ๐‘—๐œƒ
In converting complex numbers to polar form from rectangular, we use
๐‘ง =
๐‘ฅ2 + ๐‘ฆ2,
๐‘ฆ
๐œƒ = tan−1 ๐‘ฅ
To convert complex number to rectangular form from polar, we employ
๐‘ฅ = |๐‘ง| cos ๐œƒ,
๐‘ฆ = |๐‘ง| sin ๐œƒ
(source: Ogata)
Notes:
3
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Notes:
4
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
1.1.2
Complex Function Concept
a) Complex Function
A complex function F(s,) a function of s, has a real component and imaginary component, or
๐น ๐‘  = ๐น๐‘ฅ + ๐น๐‘ฆ
where ๐น๐‘ฅ and ๐น๐‘ฆ are real quantities. The magnitude of ๐น(๐‘ )is ๐น๐‘ฅ2 + ๐น๐‘ฆ2 , and the angle ๐œƒ of ๐น(๐‘ )
๐น๐‘ฆ
is tan−1 ๐น . The angle is measured counterclockwise from the positive real axis.
๐‘ฅ
b) Single-valued Function
In complex function analysis, we are interested in Single-Valued Function that can uniquely
determine the value of s. For instance, given the function
๐น ๐‘  =
1
๐‘ (๐‘  + 1)
๐น ๐‘  = ∞ is mapped onto two points, s=0 and s=-1, in the s-plane
c) Poles and zeros of a Function
Poles are the value of s that will make the function F(s) become infinity. In other words, poles
are the roots of the denominator of F(s). If the denominator of F(s) involves k-multiple factors
(๐‘  + ๐‘)๐‘˜ , then ๐‘  = −๐‘ is called a multiple poles and of order ๐‘˜or repeated pole of order ๐‘˜. If
๐‘˜ = 1, the pole is called a simple pole.
Zeros are the value of s that will make the function F(s) become zero. In other words, zeros are
the numerator of F(s).
As an illustrative example, consider the following complex function
๐บ ๐‘  =
๐‘  + 2 (๐‘  + 10)
๐‘  ๐‘  + 1 ๐‘  + 5 (๐‘  + 15)2
G(s) has zeros at ๐‘  = −2 and ๐‘  = −10, simple poles at ๐‘  = 0, ๐‘  = −1 and ๐‘  = −5, and a
double pole (multiple pole of order 2) at ๐‘  = −15. Note that G(s) becomes zero at ๐‘  = ∞.
G(s) is therefore has 2 zeros and 5 poles.
d) Singularities of a Function
The singularities of a function are the points in the s-plane at which the function or its
derivatives do not exist. A pole is the most common of singularities and plays a very important
role in studies of classical control theory.
(source: ogata)
5
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
1.2
REVIEW OF DIFFERENTIAL EQUATIONS, LINEAR SYSTEMS, IMPULSE RESPONSE AND LAPLACE
TRANSFORMATIONS. DEFINITION OF STABILITY. INTRODUCTION TO STATE EQUATIONS AND
TRANSFER FUNCTIONS.
1.2.1
Review of Differential Equations
Differential equations generally involve derivatives and integrals of the dependant variables
with respect to the independent variable. For instance, a shock absorber system of a car as in
figure 1.2 can be represented by the differential equation,
Ri (t ) ๏€ซ L
di(t ) 1
๏€ซ ๏ƒฒ i(t )dt ๏€ฝ v(t )
dt
C
Figure 1.2: RLC Circuit
where R is the resistance, L the inductance, C the capacitance, i(t) the current and v(t) the
applied voltage. The dependent variable i(t) is determined by solving the equation.
In general, a differential equation of nth-order is written as
d n y(t )
d n๏€ญ1 y(t )
dy (t )
๏€ซ
a
๏€ซ ๏‹ ๏€ซ a1
๏€ซ a0 y(t ) ๏€ฝ f (t )
n ๏€ญ1
n
n ๏€ญ1
dt
dt
dt
Which is also known as a linear ordinary differential equation if the coefficients a0, a1, … ,an-1 are
not a function of y(t).
6
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
1.2.2
Laplace Transforms
a) Laplace Transform
Laplace transform is used to convert from time domain to s-domain. Working with differential
equation is rather complicated. In analyzing and designing a control system it is easier to work in
s-domain. Laplace transform is defined as;
∞
โ„’๐‘“ ๐‘ก
๐‘“ ๐‘ก ๐‘’ −๐‘ ๐‘ก ๐‘‘๐‘ก
=๐น ๐‘  =
0
Where ๐‘  = ๐‘ฅ + ๐‘—๐‘ฆ, a complex variable.
Example 2.1: Let f(t) be a unit-step function that is defined as
๏ƒฌ 1, t ๏‚ณ 0
u (t ) ๏€ฝ ๏ƒญ
๏ƒฎ0, t ๏€ผ 0
The Laplace transform of f(t) is obtained as
๏‚ฅ
๏‚ฅ
1
1
F ( s) ๏€ฝ ๏ƒฒ u (t )e ๏€ญst dt ๏€ฝ ๏€ญ e ๏€ญst ๏€ฝ
s
s
0
0
Example 2.2: Consider the exponential function
f (t ) ๏€ฝ e๏€ญ๏กt , t ๏‚ณ 0
where α is real constant. The Laplace transform of f(t) is written as
๏‚ฅ
F ( s) ๏€ฝ ๏ƒฒ e ๏€ญ๏กt e ๏€ญ st dt ๏€ฝ
0
e ๏€ญ ( s ๏€ซ๏ก )t
s ๏€ซ๏ก
๏‚ฅ
0
๏€ฝ
1
s ๏€ซ๏ก
7
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Table 2.1: Laplace Transform table for input responses
Notes:
8
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
b) Laplace Transform Theorems
The laplace transform has a set of theorems to solve a complex mathematical equations.
Table 2.2 summarizes the Laplace Transform theorems
Table 2.2: Laplace Transform Theorems
9
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
c) Inverse Laplace Transformation Using Partial Fraction Method
Given the Laplace transform F(s), the operation of obtaining f(t) is termed the inverse
Laplace Transformation and is denoted by:
๐‘“ ๐‘ก = โ„’ −1 [๐น ๐‘  ]
Inverse Laplace Transform is used when we want to convert from s-domain to time domain.
The inverse Laplace transform of rational functions are normally carried out using partialfraction expansion and the Laplace transform table.
Consider a rational function
๐บ ๐‘  =
๐‘„(๐‘ )
๐‘ƒ(๐‘ )
where Q(s) and P(s) are polynomials of s. It is assume that the order of P(s) in s is greater
than of Q(s). The polynomial P(s) may be written as
P(s) ๏€ฝ s n ๏€ซ an๏€ญ1s n๏€ญ1 ๏€ซ ๏‹ ๏€ซ a1s ๏€ซ a0
where a0, a1, … ,an-1 are real coefficients. This method will be emphasized for the cases of
simple poles, multiple-order poles and complex poles.
Case 1: Simple poles
If all the poles of G(s) are simple and real, then G(s) can be written as
๐บ ๐‘  =
๐‘„(๐‘ )
๐‘„(๐‘ )
=
, ๐‘ค๐‘•๐‘’๐‘Ÿ๐‘’ ๐‘ 1 ≠ ๐‘ 2 ≠ โ‹ฏ ๐‘ ๐‘›
๐‘ƒ(๐‘ )
๐‘  + ๐‘ 1 ๐‘  + ๐‘ 2 … (๐‘  + ๐‘ ๐‘› )
Applying partial-fraction expansion, the equation can be written as
๐บ ๐‘  =
๐พ−๐‘ ๐‘›
๐พ−๐‘ 1
๐พ−๐‘ 2
+
+ โ‹ฏ+
๐‘  + ๐‘ 1 ๐‘  + ๐‘ 2
๐‘  + ๐‘ ๐‘›
๏ƒฉ
Where K ๏€ญ si ๏€ฝ ๏ƒช( s ๏€ซ si )
๏ƒซ
Q( s ) ๏ƒน
P( s) ๏ƒบ๏ƒป
s ๏€ฝ ๏€ญ si
The numerator of each fraction is called the residue. ๐พ−๐‘ ๐‘– is called the residue of G(s)
for the pole ๐‘  = −๐‘ ๐‘– .
The inverse transform is the written as
g (t ) ๏€ฝ K ๏€ญs1 e๏€ญ s1t ๏€ซ K ๏€ญs2 e๏€ญ s2t ๏€ซ ๏‹ ๏€ซ K ๏€ญsn e๏€ญ snt
10
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 2.3:
Consider the function
G(s) ๏€ฝ
5s ๏€ซ 3
( s ๏€ซ 1)(s ๏€ซ 2)(s ๏€ซ 3)
which is written in the partial-fraction expanded form:
G(s) ๏€ฝ
K
K ๏€ญ1 K ๏€ญ2
๏€ซ
๏€ซ ๏€ญ3
s ๏€ซ1 s ๏€ซ 2 s ๏€ซ 3
The coefficients ๐พ−1 , ๐พ−2 , ๐พ−3 are determined as follows:
5(๏€ญ1) ๏€ซ 3
๏€ฝ ๏€ญ1
(๏€ญ1 ๏€ซ 2)(๏€ญ1 ๏€ซ 3)
5(๏€ญ2) ๏€ซ 3
K ๏€ญ 2 ๏€ฝ ๏›( s ๏€ซ 2)G ( s)๏
๏€ฝ
๏€ฝ7
s ๏€ฝ ๏€ญ2 (๏€ญ2 ๏€ซ 1)(๏€ญ2 ๏€ซ 3)
5(๏€ญ3) ๏€ซ 3
K ๏€ญ3 ๏€ฝ ๏›( s ๏€ซ 3)G ( s)๏
๏€ฝ
๏€ฝ ๏€ญ6
s ๏€ฝ ๏€ญ3 (๏€ญ3 ๏€ซ 1)(๏€ญ3 ๏€ซ 2)
K ๏€ญ1 ๏€ฝ ๏›( s ๏€ซ 1)G ( s )๏
s ๏€ฝ ๏€ญ1
๏€ฝ
Thus,
G(s) ๏€ฝ
๏€ญ1
7
๏€ญ6
๏€ซ
๏€ซ
s ๏€ซ1 s ๏€ซ 2 s ๏€ซ 3
The inverse transform or time function is
g (t ) ๏€ฝ ๏€ญe๏€ญt ๏€ซ 7e๏€ญ2t ๏€ญ 6๏€ญ3t
Case 2: Multiple-order poles
If r of the n poles is identical, G(s) is written as
๐บ ๐‘  =
๐‘„(๐‘ )
๐‘„(๐‘ )
=
๐‘ƒ(๐‘ )
๐‘  + ๐‘ 1 ๐‘  + ๐‘ 2 … ๐‘  + ๐‘ ๐‘›−๐‘Ÿ (๐‘  + ๐‘ ๐‘– )๐‘Ÿ
11
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Then G(s) can be expanded as
G(s) ๏€ฝ
K ๏€ญ s( n ๏€ญ r )
K ๏€ญ s2
A
A2
Ar
๏€ซ
๏€ซ๏‹๏€ซ
๏€ซ 1 ๏€ซ
๏€ซ๏‹๏€ซ
2
s ๏€ซ s s ๏€ซ s2
s ๏€ซ s n ๏€ญ r s ๏€ซ si ( s ๏€ซ si )
(s ๏€ซ s ) r
๏€ฑ๏€ด1๏€ด๏€ด๏€ด
๏€ด๏€ฒ๏€ด๏€ด๏€ด๏€ด๏€ด
๏€ณ ๏€ฑ๏€ด๏€ด๏€ด๏€ด๏€ด๏€ฒ๏€ด๏€ด๏€ด๏€ด๏€ดi๏€ณ
n - r terms of simple poles
r terms of repeated poles
K ๏€ญ s1
The (n-r) coefficients K-s1, K-s2, … , K-s(n−r) which correspond to simple poles may be
evaluated as explained before. The coefficients A1 … Ar are evaluated as follows:
๏›
Ar ๏€ฝ ( s ๏€ซ si ) r G ( s )
๏s ๏€ฝ ๏€ญs
i
Ar ๏€ญ1 ๏€ฝ
Ar ๏€ญ 2
๏›
๏
d
( s ๏€ซ si ) r G ( s )
s ๏€ฝ ๏€ญs
ds
i
๏›
๏
1 d2
๏€ฝ
( s ๏€ซ si ) r G ( s )
2
s ๏€ฝ ๏€ญs
2 ! ds
i
๏
A1 ๏€ฝ
๏›
๏
1 d r ๏€ญ1
( s ๏€ซ si ) r G ( s )
r ๏€ญ1
s ๏€ฝ ๏€ญs
(r ๏€ญ 1)! ds
i
Example 2.4:
Consider the function
G(s) ๏€ฝ
2
( s ๏€ซ 1)(s ๏€ซ 2) 2
G(s) can be written as
G(s) ๏€ฝ
K ๏€ญ1
A1
A2
๏€ซ
๏€ซ
( s ๏€ซ 1) ( s ๏€ซ 2) ( s ๏€ซ 2) 2
The coefficient corresponding to the simple pole is
๏ƒฉ 2 ๏ƒน
K ๏€ญ1 ๏€ฝ ๏ƒช
๏€ฝ2
2๏ƒบ
๏ƒซ ( s ๏€ซ 2) ๏ƒป s ๏€ฝ ๏€ญ1
12
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
and those of second order-pole are
๏ƒฉ 2 ๏ƒน
A2 ๏€ฝ ๏ƒช
๏€ฝ ๏€ญ2
๏ƒบ
๏ƒซ ( s ๏€ซ 1) ๏ƒป s ๏€ฝ ๏€ญ2
A1 ๏€ฝ
d ๏ƒฉ 2 ๏ƒน
ds ๏ƒช๏ƒซ ( s ๏€ซ 1) ๏ƒบ๏ƒป
๏ƒฉ ๏€ญ2 ๏ƒน
๏€ฝ๏ƒช
๏€ฝ ๏€ญ2
( s ๏€ซ 1) 2 ๏ƒบ๏ƒป s ๏€ฝ ๏€ญ2
๏ƒซ
s ๏€ฝ ๏€ญ2
The completed partial-fraction expansion is
G( s) ๏€ฝ
2
2
2
๏€ญ
๏€ญ
s ๏€ซ 1 s ๏€ซ 2 ( s ๏€ซ 2) 2
The time function is
g (t ) ๏€ฝ 2e ๏€ญt ๏€ญ 2e ๏€ญ2t ๏€ญ 2te ๏€ญ2t
Case 3: Simple complex-conjugate poles
Suppose that G(s) contains a pair of complex poles:
s ๏€ฝ ๏€ญ๏ก ๏€ซ j๏ท and s ๏€ฝ -๏ก - j๏ท
The corresponding coefficients of these poles are
K ๏€ญ๏ก ๏€ซ j๏ท ๏€ฝ ( s ๏€ซ ๏ก ๏€ญ j๏ท )G(s)
s ๏€ฝ ๏€ญ๏ก ๏€ซ j๏ท
K ๏€ญ๏ก ๏€ญ j๏ท ๏€ฝ ( s ๏€ซ ๏ก ๏€ซ j๏ท )G( s)
s ๏€ฝ ๏€ญ๏ก ๏€ญ j๏ท
Example 2.5:
Considering transfer function G(s)
3
3
๏€ฝ
s ( s ๏€ซ 2s ๏€ซ 5) s( s ๏€ซ 1 ๏€ซ j 2)( s ๏€ซ 1 ๏€ญ j 2)
K ๏€ญ1๏€ญ j 2
K ๏€ญ1๏€ซ j 2
K
๏€ฝ 0๏€ซ
๏€ซ
s s ๏€ซ1๏€ซ j2 s ๏€ซ1๏€ญ j2
G ( s) ๏€ฝ
2
13
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
3
3
๏ƒฉ
๏ƒน
K0 ๏€ฝ ๏ƒช 2
๏€ฝ
๏ƒบ
๏ƒซ s ๏€ซ 2s ๏€ซ 5 ๏ƒป s ๏€ฝ 0 5
๏ƒฉ
๏ƒน
3
๏€ญ3
K ๏€ญ1๏€ญ j 2 ๏€ฝ ๏ƒช
๏€ฝ
(2 ๏€ซ j1)
๏ƒบ
๏ƒซ s ( s ๏€ซ 1 ๏€ญ j 2) ๏ƒป s ๏€ฝ ๏€ญ1 ๏€ญ j 2 20
๏ƒฉ
๏ƒน
3
๏€ญ3
K ๏€ญ1๏€ซ j 2 ๏€ฝ ๏ƒช
๏€ฝ
(2 ๏€ญ j1)
๏ƒบ
๏ƒซ s ( s ๏€ซ 1 ๏€ซ j 2) ๏ƒป s ๏€ฝ ๏€ญ1 ๏€ซ j 2 20
3
3 ๏ƒฆ 2 ๏€ซ j1
2 ๏€ญ j1 ๏ƒถ
๏ƒท
G ( s ) ๏€ฝ 5 ๏€ญ ๏ƒง๏ƒง
๏€ซ
s 20 ๏ƒจ s ๏€ซ 1 ๏€ซ j 2 s ๏€ซ 1 ๏€ญ j 2 ๏ƒท๏ƒธ
and the time function is given as
๏›
๏
3 3
๏€ญ
(2 ๏€ซ j1)e ( ๏€ญ1๏€ญ j 2 )t ๏€ซ (2 ๏€ญ j1)e ( ๏€ญ1๏€ซ j 2 )t
5 20
3 3
๏€ฝ ๏€ญ e ๏€ญt (2e ๏€ญ j 2t ๏€ซ 2e j 2t ) ๏€ซ j (e ๏€ญ j 2t ๏€ญ e j 2t )
5 20
๏ƒฉ e ๏€ญ j 2t ๏€ซ e j 2t
3 3
e j 2t ๏€ญ e ๏€ญ j 2t ๏ƒน
๏€ฝ ๏€ญ e ๏€ญt ๏ƒช 4
๏€ซ2
๏ƒบ
5 20 ๏ƒซ
2
j2
๏ƒป
g (t ) ๏€ฝ
๏›
๏€ฝ
3 3 ๏€ญt ๏ƒฆ
1
๏ƒถ
๏€ญ e ๏ƒง cos 2t ๏€ซ sin 2t ๏ƒท
5 5 ๏ƒจ
2
๏ƒธ
๏
14
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
TUTORIAL 1: MATHEMATICAL REVIEW
1. Derive equations for a unit step, ramp, impulse and sinusoidal response in time domain.
2. In a unit step response graph, what is the relationship between final value theorem and steady
state error?
3. Find the Laplace transform of time function ๐‘“ ๐‘ก = 5 + 3๐‘’ −2๐‘ก .
4. Verify question (3) above by using MATLAB application.
MATLAB hint
>>syms s t; % Command to run MATLAB in s and t domains
>>f=5+3*exp(-2*t) % Entering the function
>>F=laplace(f,t,s) % Executing Laplace Transform command
5. Find the inverse Laplace Transform of a rational function and
๐น ๐‘  =
๐‘ 2
5
+ 3๐‘  + 2
6. Find the inverse Laplace transform of a rational function
๐น ๐‘  =
2
๐‘  + 1 (๐‘  + 2)2
7. Verify the result in question (6) above using MATLAB application.
MATLAB hint
>> syms st;
>>F=2/((s+1)*(s+2)^2)
>>f=ilaplace(F,s,t)
15
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
CHAPTER 2.0
INTRODUCTION TO CONTROL SYSTEMS
Control systems can be placed into three broad functional groups:
๏‚ท
๏‚ท
๏‚ท
Monitoring systems, such as Supervisory Control and Data Acquisition (SCADA) systems, which
provide information about the process state to the operator;
Sequencing systems, used where some process must follow a pre-defined sequence of discrete
events;
Closed-loop systems, which is widely taught in engineering course, are typically implemented to
give some process a set of desired performance characteristics
The history of feedback control system begun as early as in 1769 when James Watt’s steam engine and
governor are developed. The Watt stem engine often used to mark the beginning of the Industrial
Revolution in England. The revolution of automatic control system continues in which the first ever
autonomous rover vehicle, known as Sojourner was invented in 1997.
In summary below is the history of feedback control system
1769
-
James Watt’s flyball governer
Figure 2.0: James Watt’s flyball governer
1868
-
J. C. Maxwell’s model of governer
1927
-
H. W. Bode’s feedback amplifiers
1932
-
H. Nyquist’s stability theory
16
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
1954
-
George Devol’s robot design
1970
-
State-variable models and optimal control theory
1980
-
Robust control system design
1997
-
First ever autonomous rover vehicle “Sojourner”
Info: The mobile Sojourner had a mass
of 10.5kg and 0.25 square meter solar
array
Figure 2.1: Sojourner
But before we go into further details, we have to know control systems’ terms and concepts. The
frequently used terms and concepts are as follow:
Automation
Control system
-
Controlled
variable
Manipulated
variable
Plant
-
Processes
-
-
The control of a process by automatic means
An interconnection of components forming a system
configuration that will provide a desired response
Quantity or condition that is measured and controller.
Normally it is the output of the system
Quantity or condition that is varied by the controller so
as to affect the value of the controlled variable
A plant is a piece of equipment, perhaps just a set of
machine parts functioning together, the purpose of
which to perform a particular operation. Any physical
object to be controller (such as heating furnace, a
chemical reactor etc) is called a plant
A process can be defined as a natural, progressively
continuing operation or development marked by a
17
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Disturbances
-
Feedback
control
-
Feedforward
-
series of gradual changes that succeed one another in a
relatively fixed way and lead towards a particular result
or end
A disturbance is a signal which tends to adversely affect
the value of the output of the system. If a disturbance is
generated within the system, it is called internal; which
an external disturbance is generated outside the
system.
Feedback control is an operation which in the presence
of disturbances, tends to reduce the difference
between the output of a system and the reference
input and which does so on the basis of the difference.
Feedforward has a reference signal which is act as an
additional input.
Source: AAMI, Fac of Mech Eng., UiTM
Figure 2.2: Input-output configuration of control system (souce: AAMI)
18
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 2.3: Input-output configuration of a closed-loop control system (source: AAMI)
2.1
OPEN LOOP AND CLOSED-LOOP SYSTEMS
2.1.1
Open Loop Control System
A system is said to be an open loop system when the system’s output has no effect on the control
action. In open loop system, the output is neither measured nor fed back for comparison with the input.
Figure 2.4: Open loop control system
An open loop control system utilizes an actuating device (or controller) to control the process directly
without using feedback as shown in Figure 2.4.
The advantages and the disadvantages of an open-loop control system is tabulated in table 2.1 below
ADVANTAGES
Simple and ease of maintenance
Less expensive
Stability is not a problem
Convenient when output is hard to
measure
DISADVANTAGES
Disturbances and changes in calibration
cause errors
Output may be different from what is
desired
19
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.1.2
Closed-loop control system
A system that maintains a prescribed relationship between the output and the reference input is called a
closed-loop system or a feedback control system. The system uses a measurement of the output and
feedback of the signal to compare it with the desired output.
Figure 2.5: Closed loop control system
In a closed-loop control system, the actuating error signal, which is the difference between the input
signal and the feedback signal, is fed to the controller so as to reduce the error and bring the output of
the system to a desired value.
2.1.3
Comparison between open loop and closed-loop control system.
The table below shows the comparison between the two systems:
OPEN LOOP
System stability is not a major problem,
therefore easier to build
Use open loop only when the inputs are
known ahead of time and there is no
disturbances
2.2
CLOSED LOOP
The use of feedback makes the system
response relatively insensitive to external
disturbances and internal variations in
system parameters
System stability is a major problem
because the system tends to overcorrect
errors that can cause oscillations or
changing amplitude.
TRANSFER FUNCTION
The transfer function of a linear system is defined as the ratio of the Laplace transform of the output
variable to the Laplace transform of the input variable, with all initial conditions assumed to be zero. The
Transfer function of a system (or element) represents the relationship describing the dynamics of the
system under consideration. A transfer function may be defined only for a linear, stationary (constant
parameter) system. A non-stationary system often called a time-varying system, has one or more timevarying parameters, and the Laplace transformation may not be utilized. Furthermore, a transfer
function is an input-output description of the behavior of a system. Thus the transfer function
description does not include any information concerning the internal structure of the system and its
behavior.
20
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.2.1
The Transfer function of linear systems
The transfer function of a LTI system is defined as the Laplace transform of the impulse response, with
all the initial conditions set to zero.
G(s) ๏€ฝ L[ g (t )]
The transfer function is related to the Laplace transform of the input and the output through the
following relation:
G( s) ๏€ฝ
Y ( s)
R( s )
where all the initial conditions set to zero, and Y (s) and R(s) are the Laplace transform of y (t ) and
r (t ) respectively.
Although the transfer function of a linear system is defined in terms of the impulse response, in practice,
the input-output relation of a linear time-invariant system with continuous–data input is often described
by the differential equation, so it is more convenient to derive the transfer function directly from the
differential equation.
Let us consider that the input-output relation of a linear time-invariant system is described by the
following nth-order differential equation with constant real coefficients:
d n y(t )
d n๏€ญ1 y(t )
dy(t )
d m r (t )
d m๏€ญ1r (t )
dr (t )
๏€ซ
a
๏€ซ
......
๏€ซ
a
๏€ซ
a
y
(
t
)
๏€ฝ
b
๏€ซ
b
๏€ซ ..... ๏€ซ b1
๏€ซ b0 r (t )
n
๏€ญ
1
1
0
m
m
๏€ญ
1
n
n ๏€ญ1
m
m ๏€ญ1
dt
dt
dt
dt
dt
dt
To obtain the transfer function of the linear system that is represented by Eq. (2.3), we simply take the
Laplace transform on both sides of the equation and assume zero initial conditions. The result is
๏€จs
n
๏€ฉ
๏€จ
๏€ฉ
๏€ซ an๏€ญ1s n๏€ญ1 ๏€ซ ๏‹ ๏€ซ a1s ๏€ซ a0 Y(s) ๏€ฝ bm s m ๏€ซ bm๏€ญ1s m๏€ญ1 ๏€ซ ๏‹ ๏€ซ b1s ๏€ซ b0 R(s)
The transfer function between r (t ) and y (t ) is given by:
G( s) ๏€ฝ
b s m ๏€ซ .............. ๏€ซ b1 s ๏€ซ b0
Y ( s)
๏€ฝ nm
R( s) s ๏€ซ an๏€ญ1 s n๏€ญ1 ๏€ซ ...... ๏€ซ a1 s ๏€ซ a0
21
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The transfer function is said to be strictly proper if m ๏€ผ n . If m ๏€ฝ n then the transfer function is proper.
It is improper if m ๏€พ n .
๏‚ท
Characteristic Equation: The characteristic equation of a LTI system is defined as the equation
obtained by setting the denominator polynomial of the transfer function to zero. Thus, the
characteristic equation of the system described by the Eq. (2.4) is
s n ๏€ซ an๏€ญ1s n๏€ญ1 ๏€ซ ๏Œ ๏€ซ a1s ๏€ซ a0 ๏€ฝ 0
Later, we shall show that the stability of a linear single-input single-output system is governed
completely by the roots of the characteristic equation.
2.2.2
Transfer function of multivariable system
The definition of a transfer function is easily extended to a system with multiple inputs and outputs. A
system of this type is often referred to as a multivariable system. Figure 2.6 shows a control system with
two inputs and two outputs.
Figure 2.6: General block representation of a two-input, two-output system
Since the principle of superposition is valid for linear systems, the total effect on any output due to all
the inputs acting simultaneously is obtained by adding up the outputs due to each input acting alone.
Thus, using transfer function relations we can write the simultaneous equations for the output variables
as
Y1 ( s) ๏€ฝ G11( s) R1 ( s) ๏€ซ G12 ( s) R2 ( s)
Y2 ( s) ๏€ฝ G21( s) R1 ( s) ๏€ซ G22 ( s) R2 ( s)
22
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
where G ij (s) is the transfer function relating the ith output to the jth input variable. Thus
Gij ๏€ฝ
Yi ( s)
R j ( s)
In general, for j inputs and i outputs, we can write the simultaneous equations for the output variables
as
๏ƒฉY1 ( s) ๏ƒน ๏ƒฉG11( s ) G12 ( s) ๏Œ G1 j ( s ) ๏ƒน ๏ƒฉ R1 ( s ) ๏ƒน
๏ƒชY ( s)๏ƒบ ๏ƒชG ( s) G ( s) ๏Œ G ( s )๏ƒบ ๏ƒช R ( s )๏ƒบ
22
2j
๏ƒบ๏ƒช 2 ๏ƒบ
๏ƒช 2 ๏ƒบ ๏€ฝ ๏ƒช 21
๏
๏
๏ ๏ƒบ๏ƒช ๏ ๏ƒบ
๏ƒช ๏ ๏ƒบ ๏ƒช ๏
๏ƒบ๏ƒช
๏ƒบ
๏ƒช
๏ƒบ ๏ƒช
๏ƒซYi ( s ) ๏ƒป ๏ƒช๏ƒซ Gi1 ( s ) G i 2 ( s ) ๏Œ Gij ( s ) ๏ƒบ๏ƒป ๏ƒช๏ƒซ R j ( s)๏ƒบ๏ƒป
It is convenient to express Eq. (2.7) in a matrix-vector form
Y(s) ๏€ฝ G(s)R(s)
where
๏ƒฉY1 ( s ) ๏ƒน
๏ƒชY ( s )๏ƒบ
Y (s) ๏€ฝ ๏ƒช 2 ๏ƒบ
๏ƒช ๏ ๏ƒบ
๏ƒช
๏ƒบ
๏ƒซYi ( s ) ๏ƒป
is the i ๏‚ด 1 transformed output vector; whereas
๏ƒฉ R1 ( s ) ๏ƒน
๏ƒช R ( s)๏ƒบ
2
๏ƒบ
R( s) ๏€ฝ ๏ƒช
๏ƒช ๏ ๏ƒบ
๏ƒช
๏ƒบ
๏ƒซ๏ƒช R j ( s )๏ƒป๏ƒบ
is the j ๏‚ด 1 transformed input vector; and
๏ƒฉG11( s ) G12 ( s ) ๏Œ G1 j ( s ) ๏ƒน
๏ƒชG ( s ) G ( s ) ๏Œ G ( s )๏ƒบ
21
22
2j
๏ƒบ
G( s) ๏€ฝ ๏ƒช
๏ƒช ๏
๏
๏
๏ ๏ƒบ
๏ƒช
๏ƒบ
๏ƒซ๏ƒช Gi1 ( s ) G i 2 ( s) ๏Œ Gij ( s) ๏ƒบ๏ƒป
is the i ๏‚ด j transfer-function matrix.
23
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.3
DEFINITION OF STABILTY
A stable system is defined as a system which gives a bounded output in response to a bounded input.
The concept of stability can be illustrated by considering a circular cone placed on a horizontal surface,
as shown in Fig. 2.7 and Fig. 2.8.
Figure 2.7: The stability of a cone.
----------------------------------------------------------------------------------------------------
Figure 2.8: Stability in the s-plane.
The stability of a dynamic system is defined in a similar manner. Let u(t), y(t), and g(t) be the input,
output, and impulse response of a linear time-invariant system, respectively. The output of the system is
given by the convolution between the input and the system's impulse response. Then
๏‚ฅ
y(t ) ๏€ฝ ๏ƒฒ u (t ๏€ญ ๏ด ) g (๏ด )d๏ด
0
24
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
This response is bounded (stable system) if and only if the absolute value of the impulse response, g(t),
integrated over an infinite range, is finite. That is
๏ƒฒ
๏‚ฅ
0
g (๏ด ) d๏ด
๏€ผ๏‚ฅ
Mathematically, Eq. (4.24) is satisfied when the roots of the characteristic equation, or the poles of G(s),
are all located in the left-half of the s-plane.
A system is said to be unstable if any of the characteristic equation roots is located in the right-half of
the s-plane. When the characteristic equation has simple roots on the j๏ท-axis and none in the right-half
plane, we refer to the system as marginally stable.
The following table illustrates the stability conditions of a linear continuous system with reference to the
locations of the roots of the characteristic equation.
STABILITY CONDITION
Stable
Marginally stable of marginally unstable
Unstable
LOCATION OF THE ROOTS
All the roots are in the left-half s-plane
At least one simple root and no multiple
roots on the j๏ท-axis; and no roots in the
right-half s-plane.
At least one simple root in the right-half splane or at least one multiple-order root
on the j๏ท-axis.
The following examples illustrate the stability conditions of systems with reference to the poles of the
closed-loop transfer function M(s).
M ( s) ๏€ฝ
20
๏€จs ๏€ซ 1๏€ฉ๏€จs ๏€ซ 2๏€ฉ๏€จs ๏€ซ 3๏€ฉ
Stable
M ( s) ๏€ฝ
20( s ๏€ซ 1)
( s ๏€ญ 1)( s 2 ๏€ซ 2s ๏€ซ 2)
Unstable due to the pole at s = 1
M ( s) ๏€ฝ
20( s ๏€ญ 1)
( s ๏€ซ 2)( s 2 ๏€ซ 4)
Marginally stable or marginally unstable due to s =
๏‚ฑj2.
25
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
M ( s) ๏€ฝ
2.3.1
Unstable due to the multiple-order pole at s = ๏‚ฑj2.
10
( s ๏€ซ 4) 2 ( s ๏€ซ 10)
2
Open loop and Closed loop stability
A system is open-loop stable if the poles of the loop transfer function G(s)H(s) are all in the left hand
side of s-plane.
Controller
ysp
+
๏“
-
H(s)
Plant
G(s)
y
e(s)
Figure 2.9: A typical closed-loop system
A system is closed0loop stable (or simply stable) if the poles of the closed-loop transfer function (or
zeros of 1+G(s)H(s) are all in the left hand side of s-plane
2.4
BASIC CONTROL ACTIONS
The following six basic control actions are very common among industrial automatic controllers:
1.
2.
3.
4.
5.
6.
2.4.1
Two-position or on-off controller
Proportional controller
Integral controller
Proportional-plus-integral controller
Proportional-plus-derivative controller
Proportional-plus-derivative-plus-integral controller
Two-position of on-off control action
In a two-position control system, the actuating element has only two fixed positions which are, in many
cases, simply on and off. Two-position or on-off control is relatively simple and inexpensive and, for this
reason, is very widely used in both industrial and domestic control systems.
Let the output signal from the controller be m(t) and the actuating error signal be e(t). In two position
control, the signal m(t) remains at either a maximum or minimum value, depending on whether the
actuating error signal is positive or negative, so that
๐‘š ๐‘ก = ๐‘€1 ๐‘“๐‘œ๐‘Ÿ ๐‘’(๐‘ก) > 0
= ๐‘€2 ๐‘“๐‘œ๐‘Ÿ ๐‘’(๐‘ก) < 0
26
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Where ๐‘€1 and ๐‘€2 , are constants. The minimum value ๐‘€2 , is usually either zero or −๐‘€1 . Two-position
controllers are generally electrical devices, and an electric, solenoid-operated valve is widely used in
such controller. Pneumatic proportional controller with very high gain act as two-position controller and
are sometimes called pneumatic two-position controller.
Figure 2.10 show the block diagrams for two-position controller. The range through which the actuating
error signal must move before the switching occurs is called the differential gap.
Figure 2.10: Two-position controller
2.4.2
Proportional controller
For a controller with proportional control action, the relationship between the output of the controller
m(t) and the actuating error signal e(t) is
๐‘š ๐‘ก = ๐พ๐‘ ๐‘’(๐‘ก)
or, in Laplace Transform
๐‘€(๐‘ )
= ๐พ๐‘
๐ธ(๐‘ )
Where ๐พ๐‘ , is termed the proportional sensitivity or the gain.
27
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Whatever the actual mechanism may be and whatever the form of the operating power, the
proportional controller is essentially an amplifier with and adjustable gain.
The proportional action has the following two properties:
1. Reduce rise time
2. Does not eliminate steady state error
Example 2.1:
Given a system consist of mass-spring and damper
x
k
M
F
b
The second order PDE is:
Taking the LT
The TF is therefore:
Let M=1kg, b=10N.s/m, k=20 N/m & F(s)=1, therefore X(s) / F(s):
From the Transfer Function, the DC gain is:
Corresponding to the steady state error of:
The settling time is:
Open Loop Response
0.05
0.045
0.04
0.035
Displacement (m)
a)
b)
c)
d)
e)
f)
g)
0.03
0.025
0.02
0.015
0.01
0.005
0
0
0.2
0.4
0.6
0.8
1
Time (sec)
1.2
1.4
1.6
1.8
2
28
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
P control (K) reduces the rise time, increases the overshoot and reduces the steady state error.
h) The closed-loop transfer function of the system with P controller is X(s)/F(s)=G/(1+G):
i) Let the P gain (K) equal 300
Closed Loop Step : K = 300
1.4
1.2
Displacement (m)
1
0.8
0.6
0.4
0.2
0
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
Time (sec)
Rise time and ss error reduced, slightly reduced settling time but increased overshoot.
2.4.3
Integral controller
In a controller with integral control action, the value of the controller output m(t) is changed at a rate
proportional to, the actuating error signal e(t). That is
Therefore;
๐‘‘๐‘š(๐‘ก)
= ๐พ๐‘– ๐‘’(๐‘ก)
๐‘‘๐‘ก
๐‘ก
๐‘š ๐‘ก = ๐พ๐‘– 0 ๐‘’ ๐‘ก ๐‘‘๐‘ก
Where ๐พ๐‘– is an adjustable constant. The transfer function of the integral controller is
๐‘€(๐‘ ) ๐พ๐‘–
=
๐ธ(๐‘ )
๐‘ 
If the value of e(t) is doubled, then the value of m(t) varies twice as fast. For zero actuating error, the
value of m(t) remains stationary.
29
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The integral controller has the following properties:
1. Proportional controllers often give a steady-state error. Integral controller arose from trying to
add a “reset” term to the control signal to eliminate steady state error. In other words, the
integral controller “resets” the bias error from the P controller.
2. Gives large gain at low frequencies resulting in “beating down” load disturbances.
3. May make the transient response worse.
4. Controller phase starts out at -90° and increases to 0° at the break frequency. This phase lag can
be compensated by derivative action.
The integral controller act as “automatic reset” as shown in figure 2.11
load disturbance
ysp
+ ๏“
e
K
-
1
sTi
u
๏“
plant
y
Figure 2.11: Automatic reset action
Almost always used in conjunction with P control.
K
load disturbance
ysp
+
๏“
-
e
K
1
sTi
u
๏“
plant
y
Figure 2.12: PI control
The integral term may be expressed in (i) ๐‘‡๐‘– and (ii) ๐‘˜๐‘–
The integral term ๐‘‡๐‘– is known as the integral time constant. ๐‘‡๐‘– = ∞ corresponds to pure (proportional)
gain.
The integral term ๐‘˜๐‘– is known as integral gain (e.g: in MATLAB)
The relationship between ๐‘‡๐‘– and ๐‘˜๐‘– is as follows:
๐‘˜๐‘–
๐พ
=
๐‘ 
๐‘‡๐‘– ๐‘ 
30
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 2.2:
a) I control reduces the rise time, increases both settling time and overshoot, and eliminates the
steady-state error
b) The closed-loop transfer function of the system with a PI controller is: X(s)/F(s) =
______________ .
c) Let k = 30 and ki = 70. P gain (k) was reduced because the I controller also reduces the rise time
and increases the overshoot as does the P controller (double effect).
Closed Loop Step : K = 30, Ki = 70
1.4
1.2
Displacement (m)
1
0.8
0.6
0.4
0.2
0
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
Time (sec)
2.4.4
Derivative controller
Introducing a derivative controller will add damping and in doing so:
1. increases system stability (add phase lead)
2. reduces overshoot
3. generally improves transient response
A derivative controller may able to provide anticipative action but derivative action can make the system
become noisy.
Almost always used in conjunction with P control.
load disturbance
ysp
c
+ ๏“
-
KTd s
1+sTd /N
๏“
Figure 2.12: PD control
The integral term may be expressed in (i) ๐‘‡๐‘‘ and (ii) ๐‘˜๐‘‘
The integral term ๐‘‡๐‘‘ is known as the derivative time constant.
plant
y
31
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The integral term ๐‘˜๐‘‘ is known as derivative gain (e.g: in MATLAB)
The relationship between ๐‘‡๐‘‘ and ๐‘˜๐‘‘ is as follows:
๐‘˜๐‘‘ ๐‘  = ๐พ๐‘‡๐‘‘ ๐‘ 
Example 2.3:
a) D control reduces both settling time and overshoot.
b) The closed-loop transfer function of the system with a PD controller is:
X(s)/F(s)=______________
c) Let k = 300 and kd = 10.
Closed Loop Step : K = 300, Kd = 10
1.4
1.2
Displacement (m)
1
0.8
0.6
0.4
0.2
0
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
Time (sec)
d) Reduced overshoot and settling time, small effect on rise time and ss error
2
32
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Closed Loop Step : K = 350, Ki = 300, Kd = 50
1.2
Displacement (m)
1
0.8
0.6
0.4
0.2
0
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
Time (sec)
2.4.5
PID controller
In some system the commonly implemented controller consist of the P, I and D control action. We call
this type of controller as PID controller.
Tds
1/(Tis)
ysp +
-
๏“
e
๏“
K
u
G(s)
y
Figure 2.13: PID control
The standard form of PID controller according to ISA (Instrument Society of America) is as follows:
๐บ๐‘ ๐‘  = ๐พ(1 +
Or
๐บ๐‘ ๐‘  = ๐พ +
๐‘˜๐‘–
๐‘ 
1
+ ๐‘‡๐‘‘ ๐‘ )
๐‘ ๐‘‡๐‘–
+ ๐‘˜๐‘‘ ๐‘ 
33
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 2.4:
a) The closed-loop transfer function of the system with a PID controller is:
X(s)/F(s) = (kd s2 +ks+ki )/(s3 + (10+kd)s2 + (20+k)s + ki )
b) Let k = 350, ki = 300 and kd = 50.
Closed Loop Step : K = 350, Ki = 300, Kd = 50
1.2
Displacement (m)
1
0.8
0.6
0.4
0.2
0
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
2
Time (sec)
c) No overshoot, fast rise and settling time and no steady-state error
2.4.6
PID tuning
Introducing the P, I and D controller has certainly proven to contribute some effect to our system’s
response. These effects are summarized as in table below.
CLOSED LOOP
RESPONSE
K
Decrease
Increase
SETTLING
TIME
Small change
๐พ
๐‘‡๐‘–
๐‘˜๐‘‘ = ๐พ๐‘‡๐‘‘
Decrease
Increase
Increase
Eliminate
Small change
Decrease
Decrease
Small change
๐‘˜๐‘– =
RISE TIME
OVERSHOOT
SS ERROR
Decrease
When you are designing a PID controller for a given system, follow the steps shown below to obtain a
desired response.
1. Obtain an open-loop response and determine what needs to be improved
2. Add a proportional control to improve the rise time
3. Add a derivative control to improve the overshoot
4. Add an integral control to eliminate the steady-state error
5. Adjust each of K, Ki, and Kd until you obtain a desired overall response referring to the table
shown previously to find out which controller controls what characteristics.
34
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
6. It is not necessary to implement all three controllers (P, I & D) into a single system. For example,
if a PI controller gives a good enough response, then you don't need to add D control to the
system. Simple is better.
2.5
BLOCK DIAGRAM & REDUCTION METHODS
A block diagram is used to describe the composition and interconnection of a system, or it can be used
together with the transfer functions to describe the cause-and-effect relationships throughout the
system. For instance, Figure 2.14 (a) shows a dc motor wiring diagram, (b) sketch, and (c) shows the
block diagram with transfer function.
Figure 2.14: A dc motor: (a) wiring diagram (b) sketch
Figure 2.14 (c): A dc motor: Block diagram with transfer functions
35
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.5.1
Block diagram reduction method
We shall now define the block diagram elements used frequently in linear control systems and the
related algebra. All component parts of a block diagram for linear time-invariant systems are shown in
Figure 2.15.
The characteristic of the summing junction as shown in Figure 2.15 (c) is that the output signal, C (s) , is
the algebraic sum of the input signals. The figure shows three inputs, but any number can be presented.
A pickoff point, as shown in Figure 2.15 (d), distributes the input signal, R(s) , undiminished, to several
output points.
Figure 2.15: Components of a block diagram for LTI systems
Figure 2.16 shows the block diagram of a linear feedback control system. The following terminology is
defined with reference to the diagram.
Figure 2.16: Feedback control system
36
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
R(s), r (t ) = reference input (command)
C (s), c(t ) or Y (s), y(t ) = output (controlled variable)
B(s), b(t ) = feedback signal
E (s), e(t ) = actuating signal = error signal
H (s) = feedback transfer function
G(s) H (s) = L(s) = loop transfer function
G(s) = forward-path transfer function
M (s) ๏€ฝ C (s) R(s) or Y (s) R(s) = closed-loop transfer function or system transfer function.
M (s) can be expressed as a function of G(s) and H (s) . From Figure 2.16, we write
Y ( s) ๏€ฝ G( s) E ( s)
B( s) ๏€ฝ H ( s)Y ( s)
The actuating signal is written as
E(s) ๏€ฝ R(s) ๏€ญ B(s)
Thus,
Y ( s ) ๏€ฝ G ( s) R( s) ๏€ญ G ( s ) B( s)
Y ( s)
G( s)
M ( s) ๏€ฝ
๏€ฝ
R( s ) 1 ๏€ซ G ( s) H ( s)
The block diagram representation of a given system often can be reduced by block diagram reduction
techniques to a simplified block diagram with fewer blocks than the original diagram. Table below shows
some of the block diagram reduction techniques.
The block diagram reduction technique is based on the utilization of rule 6 in which eliminates feedback
loops. Therefore, the other transformations are used to transform the diagram to a form ready for
eliminating feedback loops.
37
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
For parallel subsystems as shown below in (a), the reduction technique is shown in (b).
38
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 2.5: Block Diagram Reduction.
A block diagram of a multiple-loop feedback control system is shown in Figure 2-5. It is interesting to
note that the feedback signal H1(s)Y(s) is a positive feedback signal, and the loop G3(s)G4(s)H1(s) is called
a positive feedback loop. First, to eliminate the loop G3G4H1, we move H2 behind block G4 by using rule
4, and therefore obtain Figure 2-6 (a).
Multiple-loop feedback control system
39
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Eliminating the loop G3G4H1 by using rule 6, we obtain Figure 2-6 (b). Then, eliminating the inner loop
containing H2/G4, we obtain Figure 2-6 (c). Finally, by reducing the loop containing H3, we obtain the
closed-loop system transfer function as shown in Figure 2-6 (d).
Block diagram reduction of the system
40
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 2.6: Reduce the system shown to a single transfer function.
Block diagram for Example 2.6
41
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Steps in the block diagram reduction for Example 2.6
The block diagram representation of feedback control systems is a valuable and widely used approach.
The block diagram provides the analyst with a graphical representation of the interrelationships of
controlled and input variables. Furthermore, the designer can readily visualize the possibilities for
adding blocks to the existing system block diagram to alter and improve the system performance. The
transition from the block diagram method to a method utilizing a line path representation instead of a
block representation is readily accomplished and is presented in the following section.
42
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.6
SIGNAL FLOW DIAGRAM & REDUCTION METHODS
Block diagrams are adequate for the representation of the interrelationships of controlled and input
variables. However, for a system with reasonably complex interrelationships, the block diagram
reduction technique is cumbersome and often quite difficult to complete. An alternative method for
determining the relationship between system variables has been developed by Mason and is based on a
representation of the linear system by line segments called Signal-Flow Graph (SFG).
The advantage of the SFG method is the availability of a flow graph gain formula, which provides the
relation between system variables without requiring any reduction procedure or manipulation of the
flow graph.
2.6.1
Basic elements of SFG
When constructing a SFG, junction points or nodes are used to represent variables. The nodes are
connected by line segments, called branches. A signal can transmit through a branch only in the
direction of the arrow.
For instance, consider that a linear system is represented by a simple algebraic equation
y2 ๏€ฝ a12 y1
where y1 is the input, y2 the output, and a12 the gain between two variables. The SFG is shown in Figure
2-9.
a12
Y1
Y2
Figure 2.17: Signal-flow graph of y2 ๏€ฝ a12 y1
Example 2.7: Consider the following set of algebraic equations:
y2 ๏€ฝ a12 y1 ๏€ซ a32 y3
y3 ๏€ฝ a23 y2 ๏€ซ a43 y4
y4 ๏€ฝ a24 y 2 ๏€ซ a34 y3 ๏€ซ a44 y4
y5 ๏€ฝ a25 y2 ๏€ซ a45 y4
43
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The SFG for these equations is constructed, step by step, as shown:
Step-by-step construction of the SFG of Example 2.7
44
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.6.2
Summary of the basic properties of SFG
The important properties of the SGF are summarized as follows:
1. SFG applies only to linear systems.
2. Nodes are used to represent variables. Normally, the nodes are arranged from left to right,
from input to output.
3. Signals travel along branches only in the direction described by the arrows of the branches.
2.6.3
Definitions of the SFG terms
Input Node
(source)
Output Node
(sink)
-
Path
-
Forward Path
-
Loop
-
Path Gain
-
Loop Gain
Non-touching
Loops
-
-
An input node is a node that has only outgoing
branches.
An output node is a node that has only incoming
branches. In general, we can make any non input node
an output node, simply by connecting a branch with
unity gain from the existing node to a new node with
the same name (Example: node y2 in Figure 2.18(b)). If
we attempt to convert y2 into input node, by using the
same unity gain branch (Figure 2.18 (c)), then y2 output
will differ from the original (y2 = y2 + a12y1 + a32y3).
A path is any collection of a continuous succession of
branches traversed in the same direction.
A forward path is a path that starts at an input node
and ends at an output node, and along which no node is
traversed more than once.
A loop is a path that originates and terminates on the
same node and along which no other node is
encountered more than once. For example, there are
four loops in the SFG of Example 2.7. These are shown
in Figure 2.19
The product of the branch gains encountered in
traversing a path is called the path gain
The loop gain is the path gain of a loop
Two parts of a SFG are non-touching if they do not
share a common node. For example, the loop y2-y3-y2
and y4-y4 of the SFG in Figure (d) of Example 2.7 are
non-touching loops.
45
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 2.18 (a & b): Modification of SFG so that y2 become output node
(c): Erroneous way to make node y2 an input node
46
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 2.19: Four loops in the signal-flow graph of Example 2.7
2.6.4
SFG Algebra
Based on the properties of the SFG, we can outline the following manipulation rules and algebra of SFG.
1. The value of the variable represented by a node is equal to the sum of all the signals
entering the node. For the SFG of Figure 2.20 (a),
y1 ๏€ฝ a21 y2 ๏€ซ a31 y3 ๏€ซ a41 y4 ๏€ซ a51 y5
2. The value of the variable represented by a node is transmitted through all branches
leaving the node. In Figure 2.20 (a), we have
y6 ๏€ฝ a16 y1
y7 ๏€ฝ a17 y1
y8 ๏€ฝ a18 y1
47
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 2.20
3. Parallel branches in the same direction connecting two nodes can be replaced by a
single branch with the gain equal to the sum of gains of the parallel branches. Example:
Figure 2.20 (b).
4. A series connection of unidirectional branches can be replaced by one branch with gain
equal to the product of branch gains.
48
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.6.5
Gain formula for SFG (Mason’s Rule)
The overall gain between the input node yin and output node yout of a SFG with N forward paths and L
loops is given by
y
M ๏€ฝ out ๏€ฝ
yin
๏ƒฅP ๏„
k
k
k
๏„
, k ๏€ฝ 1,2,๏‹ N
where
yin = input-node variable
yout = output-node variable
M = gain between yin and yout
N = total number of forward paths between yin and yout
Pk = kth forward-path gain
๏„ = 1 – (sum of all individual loop gains)
+ (sum of all gain products of two non-touching loops)
– (sum of all gain products of three non-touching loops) + …
๏„k = ๏„, which is evaluated by eliminating all loops that touch kth forward-path
Procedures to solve SFG by using Mason’s rule:
1. Identify the no. of forward paths and determine the forward-path gains.
2. Identify the no. of loops and determine the loop gains.
3. Identify the non-touching loops taken two at a time, three at a time and so on. Determine the
product of the non-touching loop gains.
4. Determine ๏„ and ๏„k.
5. Substitute all of the above information into the gain formula:
y
M ๏€ฝ out ๏€ฝ
yin
๏ƒฅP ๏„
k
k
๏„
k
, k ๏€ฝ 1,2,๏‹ N
49
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Care must be taken when applying the gain formula to ensure that it is applied between an input node
and an output node.
Example 2.8: Consider the SFG of a closed loop control system as given in Figure below. By using the
gain formula, find the transfer function Y ( s) R( s) .
SFG of a feedback control system
1. There is only one forward path between R(s) and Y (s) , and the forward-path gain is
P1 = G(s) .
2. There is only one loop; the loop gain is L1 = ๏€ญ G( s) H ( s) .
3. There are no non-touching loops.
4. ๏„ = 1 - L1 = 1 ๏€ซ G( s) H ( s) and ๏„1 = 1.
5. Thus,
Y ( s) P1๏„1
G( s)
๏€ฝ
๏€ฝ
R( s )
๏„
1 ๏€ซ G( s) H ( s)
50
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 2.9: For the system shown in Figure below, determine the gain between y1 and y5.
SFG for Example 2.9
1. There are three forward paths
Path 1: y1 – y2 – y3 – y4 – y5
P1 = a12 a23 a34 a45
Path 2: y1 – y2 – y4 – y5
P2 = a12 a24 a45
Path 3: y1 – y2 – y5
P3 = a12 a25
2. There are four loops
Loop 1: y2 – y3 – y2
L1 = a23 a32
Loop 2: y3 – y4 – y3
L2 = a34 a43
Loop 3: y2 – y4 – y3 – y2
L3 = a24 a43 a32
Loop 4: y4 – y4
L4 = a44
3. Non-touching loops: y2 – y3 – y2 and y4 – y4
Thus the product of the gains of the two non-touching loops:
L1L4 = a23 a32 a44
4. ๏„ = 1 – (L1 + L2 + L3 + L4) + L1L4
= 1 – (a23 a32 + a34 a43 + a24 a43 a32 + a44) + a23 a32 a44
51
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
All the loops are in touch with forward path P1, thus ๏„1 = 1.
All the loops are in touch with forward path P2, thus ๏„2 = 1.
Two loops (y3 – y4 – y3 and y4 – y4) are not touching with forward path P3.
Thus, ๏„3 = 1 - a34a43 – a44.
5. Thus,
y 5 P1 ๏„1 ๏€ซ P2 ๏„ 2 ๏€ซ P3 ๏„ 3
๏€ฝ
y1
๏„
M ๏€ฝ
๏€ฝ
(a12 a 23a34 a 45 ) ๏€ซ (a12 a 24 a 45 ) ๏€ซ (a12 a 25 )(1 ๏€ญ a34 a 43 ๏€ญ a 44 )
1 ๏€ญ (a 23a32 ๏€ซ a34 a 43 ๏€ซ a 24 a32 a 43 ๏€ซ a 44 ) ๏€ซ a 23a32 a 44
Example 2.10: Consider the SFG as shown in the figure. The following input-output relation is obtained
by use of the gain formula:
y 7 P1๏„1 ๏€ซ P2 ๏„ 2 G1G2 G3G4 ๏€ซ G1G5 (1 ๏€ซ G3 H 2 )
๏€ฝ
๏€ฝ
y1
๏„
๏„
where
๏„ ๏€ฝ 1 ๏€ซ G1 H1 ๏€ซ G3 H 2 ๏€ซ G1G2G3 H 3 ๏€ซ H 4 ๏€ซ G1G3 H1 H 2
๏€ซ G1 H1 H 4 ๏€ซ G3 H 2 H 4 ๏€ซ G1G2G3 H 3 H 4 ๏€ซ G1G3 H1 H 2 H 4
SFG for Example 2.10
52
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.7
CONVERSION FROM BLOCK DIAGRAMS TO SFG
An equivalent SFG for a block diagram can be drawn by performing the following steps:
1. Identify the input/output signals, summing junctions & pickoff points → they are replaced with
nodes.
2. Interconnect the nodes & indicate the directions of signal flow by using arrows.
3. Identify the blocks - they are replaced with branches.
For each negative sum, a negative sign is included with the branch.
4. Add unity branches as needed for clarity or to make connections.
5. Simplify the SFG → eliminate redundant nodes/branches (only if the node is connected to branches
of a single flow in & a single flow out with unity gain).
6. Label the input/output signals and the branches accordingly.
Example 2.11: Convert the block diagram in the figure to a signal flow graph and determine the transfer
function using Mason’s gain formula.
53
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The equivalent SFG:
1. There are two forward paths; the forward-path gains are:
P1 = G1G2G3
P2 = G1G4
2. There are five individual loops; the loop gains are:
L1 = −G1G2H1
L2 = −G2G3H2
L3 = −G1G2G3
L4 = −G1G4
L5 = −G4H2
3. There are no non-touching loops.
4. โˆ† = 1 – (L1 + L2 + L3 + L4 + L5)
= 1 + G1G2H1 + G2G3H2 + G1G2G3 + G1G4 + G4H2
All the loops are in touch with forward path P1, thus ๏„1 = 1.
54
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
All the loops are in touch with forward path P2, thus ๏„2 = 1
5. Thus,
Y P1 ๏„1 ๏€ซ P2 ๏„ 2
๏€ฝ
R
๏„
๏€ฝ
2.8
G1G2 G3 ๏€ซ G1G4
1 ๏€ซ G1G2 H 1 ๏€ซ G2 G3 H 2 ๏€ซ G1G2 G3 ๏€ซ G1G4 ๏€ซ G4 H 2
STATE SPACE EQUATIONS
State space approach is an alternative method for representing physical system. In order to use this
approach, we have to limit our approach to linear, time-invariant systems or system that can be
linearized by the methods we have covered previously.
In state space method, the models are constructed in the time domain. This means we can work directly
with the governing differential equations to model, analyze and design a wide range of system. In
contrast, classical control design practices looking at the frequency domain output to interpret system’s
physical dynamics. With the arrival of space exploration, requirements for control systems increased in
scope. Hence the use of classical control design seems inadequate.
Many systems do not have just a single input. Multiple-input, multiple-output systems can be compactly
represented in state space with a model similar in form and complexity to that used for single-input,
single-output systems. To address the multiple input and output system a convenient matrix based is
used in representing the state space. In addition, the state space approach is also attractive because of
the availability of numerous state-space software packages for the personal computer
55
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The table below outlines the advantages and disadvantages of state space models
ADVANTAGES
Multiple input / output models are now
possible
Possible to minimize “error critera”
(optimal control)
Possible to examine stability in more
depth
Ideally suited to computer-based design
and analysis
2.8.1
DISADVANTAGES
Difficult to examine robustness (stability
margins)
More work than classical control for
“simple” problems
“optimal” systems require “optimal” error
criteria
Definition of state space terms
State of a
system
-
State Variables
-
State Vector
-
State Space
-
State trajectory
-
A set of quantities which completely determine the
evolution of the response of a system (in the absence of
external inputs)
Set of variables that define the state. These variables
are not unique. For example x1, x2,….
The (column) vector of the nth state variables:
๐‘ฅ ๐‘ก = [๐‘ฅ1 ๐‘ก ๐‘ฅ2 ๐‘ก … ๐‘ฅ๐‘› ๐‘ก ]
Note: system is of order n (i.e it is described by an nth
order D.E.
The n-dimensional space in which the components of
the state vector are the co-ordinate axes.
The path in state space produced by the state vector as
it changes with time.
Note: The selection of state variables is not unique. In the first instance, it is often reasonable to
choose something with “physical meaning”, often something associated with system “energy”
56
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
2.8.2
State space model
We begin our state space equation with a state equation. A state equation consist of the state equation
and output equation as follows:
๐‘ฅ = ๐ด๐‘ฅ + ๐ต๐‘ข
๐‘ฆ = ๐ถ๐‘ฅ + ๐ท๐‘ข
State Equation
Output Equation
Now A, B, C and D are all matrices involved in a state space equation
A = (n x n) state matrix that describes “internal (homogenous) motion
B = (n x r) input matrix that describes how r inputs affect n states
C = (m x n) output matrix that describes how n states contribute to m outputs
D = (m x r) direct transmission matrix that describes how r inputs are fed through to m outputs.
LECTURER’S NOTES:
57
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
LECTURER’S NOTES:
58
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
CHAPTER 3.0
SYSTEM PERFORMANCE ANALYSIS
The ability to adjust the transient and steady-state response of a control system is a beneficial outcome
of the design of feedback systems. Since time is used as an independent variable in most of control
systems, it is usually of interest to evaluate the state and output responses with respect to time, or
simply the time response.
In the analysis problem, we will use selected input signals to test the response of control systems. This
response will be characterized by a selected set of response measures. In this chapter, we will strive to
delineate a set of quantitative performance measures that adequately represent the performance of the
control systems.
3.1
Time Response and Test Signals
The time response of a control system is usually divided into two parts: the transient response and the
steady-state response. Let y(t) denote the time response of a continuous-data system; then, in general,
it can be written as
y(t) = yt(t) + yss(t)
(3.1)
where yt(t) denotes the transient response and yss(t) denotes the steady-state response.
In control systems, the transient response is defined as the part of the time response that goes to zero
as time becomes very large. Thus yt(t) has the property
lim yt (t ) ๏€ฝ 0
t ๏‚ฎ๏‚ฅ
(3.2)
The steady-state response is simply the part of the total response that remains after the transient has
died out. All real stable systems exhibit transient phenomena to some extent before the steady state is
reached.
In the design problem, specifications are usually given in terms of the transient and steady-state
performance, and controllers are designed so that the specifications are all met by the design system.
59
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Since it is difficult to design a control system that will perform satisfactorily for all possible forms of
input signals, it is necessary, for the purpose of analysis and design, to assume some basic types of test
signals properly for the prediction of the system's performance to other more complex inputs.
3.1.2
Step-Input Function
The step-function input represents an instantaneous change in the reference input. The mathematical
representation of a step function of magnitude A is
๏ƒฌA
r (t ) ๏€ฝ ๏ƒญ
๏ƒฎ0
t๏‚ณ0
t๏€ผ0
Mathematically, r(t) = Aus(t), where us(t) is the unit-step function. The step function is shown in Fig.
3.1(a).
3.1.3
Ramp-Input Function
The ramp function is a signal that changes constantly with time. Mathematically, a ramp function is
represented by
r (t ) ๏€ฝ Atu s (t )
where A is a real constant. The ramp function is shown in Fig. 3.1(b).
3.1.4
Parabolic-Input Function
The parabolic function represents a signal that is one order faster than the ramp function.
Mathematically, it is represented by
r (t ) ๏€ฝ
The parabolic function is shown in Fig. 3.1(c).
At 2
u s (t )
2
60
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Fig. 3.1 shows the three time-domain test signals.
Figure 3.1: Test input signals: (a) Step, (b) Ramp, (c) Parabolic.
3.2
First & Second Order System: Transient & Steady State Response
For linear control systems, the time response is characterized by using the unit-step input. The response
of the control system to the unit-step input is called the unit-step response. Fig. 3.2 illustrates a typical
unit-step response of a linear control system. With reference to the unit-step response, the following
performance criteria (parameters) are defined:
1. Maximum overshoot: Let ymax denotes the maximum value of y(t) and yss be the steady-state value of
y(t) and ymax ๏‚ณ yss. The maximum overshoot of y(t) is defined as,
Maximum overshoot = ymax − yss
Percentage of maximum overshoot ๏€ฝ
maximum overshoot
๏‚ด 100%
y ss
(3.3)
2. Delay time: The delay time, td is defined as, the time required for the step response to reach 50% of
its final value.
3. Rise time: The rise time, tr is defined as, the time required for the step response to rise from 10 to 90
percent of its final value.
4. Settling time: The settling time, ts is defined as, the time required for the step response to reach and
stay within a specified percentage (5%) of its final value.
61
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.2: Step response of a control system.
Analytically, these quantities are difficult to establish, except for simple systems that are lower than the
third order.
3.2.1
Transient Response of a Prototype of Second-Order Systems
Although it is true that second-order control systems are rare in practice, their analysis generally helps
to form a basis for the understanding of analysis and design of higher-order systems, especially the ones
that can be approximated by second-order systems.
Consider that a second-order control system with unity feedback is represented by the block diagram
shown in Fig. 3.3. The open-loop transfer function of the system is
๏ทn2
G( s) ๏€ฝ
s๏€จs ๏€ซ 2๏บ๏ท n ๏€ฉ
(3.5)
62
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
where ζ and ๏ทn are real constants. The closed-loop transfer function of the system is
๏ทn2
Y ( s)
๏€ฝ
R( s) s 2 ๏€ซ 2๏บ๏ท n s ๏€ซ ๏ท n2
(3.6)
The characteristic equation of the prototype of the second-order system is obtained by setting the
denominator of Eq. (3.6) to zero
๏„(s) ๏€ฝ s 2 ๏€ซ 2๏บ๏ท n s ๏€ซ ๏ทn2 ๏€ฝ 0
(3.7)
The system is stable (Bounded output for bounded input) if the roots of the characteristic equation is
located on the left half of s-plane, and marginally stable (Oscillation for a bounded input) if the
characteristic equation has simple roots on the imaginary axis with all other roots on the left half of splane. For an unstable (Unbounded output for any bounded input) system, the characteristic equation
has at least one root on the right half of the s-plane or it has a repeated j๏ท roots.
Figure 3.3: A prototype of a second-order control system.
For a unit-step input, R(s) = 1/s, the output response is given as
๏ทn 2
Y ( s) ๏€ฝ
2
s( s 2 ๏€ซ 2๏บ๏ท n s ๏€ซ ๏ท n )
(3.8)
By taking inverse Laplace transform, we obtain the unit step response of the control system
y (t ) ๏€ฝ 1 ๏€ญ
e ๏€ญ๏บ๏ท nt
1๏€ญ ๏บ
2
๏€จ
sin ๏ทn 1 ๏€ญ ๏บ 2 t ๏€ซ cos ๏€ญ1 ๏บ
๏€ฉ
t๏‚ณ0
(3.9)
63
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Fig. 3.4 shows the unit-step response of the second-order system for various values of ๏บ. It may be
noted that the response becomes more oscillatory with larger overshoot as ๏บ decreases.
Figure 3.4: Unit-step response of a second-order system with various ζ values.
3.2.2
Damping Ratio and Damping Factor
The effects of the system parameters ζ and ๏ทn on the step response y(t) can be studied by referring to
the roots of the characteristic equation in Eq. (4.7). The roots can be expressed as
s1 , s2 ๏€ฝ ๏€ญ๏บ๏ท n ๏‚ฑ j๏ทn 1 ๏€ญ ๏บ 2
๏€ฝ ๏€ญ๏ก ๏€ซ j๏ท
(3.10)
where
๏ก = ζ๏ทn
and
(3.11)
64
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
๏ท ๏€ฝ ๏ทn 1 ๏€ญ ๏บ 2
(3.12)
The physical significance of ζ and ๏ก is now investigated. As seen from Eq. (4.9), the factor ๏ก = ๏บ๏ทn
appears as a constant multiplied by t in the exponential term of the response y(t). Therefore, ๏ก controls
the rate of rise or decay of the unit-step response y(t). In other words, ๏ก controls the "damping" of the
system and is called the damping factor.
The inverse of ๏ก, 1/๏ก is proportional to the time constant of the system. When ๏บ = 1, the oscillations
disappear and the system is said to be critically damped. Under this condition, ๏ก = ๏ทn. Thus, we can
regard ๏บ as
Damping ratio, ๏บ ๏€ฝ
๏ก
actual damping factor
๏€ฝ
๏ทn damping factor at the critical damping
(3.13)
When ๏บ < 1, the system is under-damped and when ๏บ > 1, the system is over-damped.
3.2.3
Natural Undamped Frequency
The parameter ๏ทn is defined as the natural undamped frequency. As seen from Eq. (3.10), when ๏บ = 0,
the roots of the characteristic equation are imaginary. Thus, the unit-step response of the system
becomes purely oscillatory with angular frequency of ๏ทn. For 0 < ๏บ < 1, the imaginary parts of the roots
have the magnitude of the actual (damped) frequency of oscillation. Thus
๏ท ๏€ฝ ๏ทn 1 ๏€ญ ๏บ 2
Fig. 3.5 illustrates the relationships between the location of the roots of the characteristic equation and
๏ก, ζ, and ๏ทn.
65
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.5: The relationships between the location of the roots of the characteristic equation and ๏ก, ζ,
and ๏ทn.
The effect of the roots of the characteristic equation on the damping of the second-order system is
illustrated in Fig. 3.6.
66
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.6: Step-response comparison for various locations of the roots of the characteristic equation in
the s-plane.
67
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
3.2.4
Analytical Expression for Maximum Overshoot
By taking the derivative of Eq. (3.9) with respect to time t and setting the result to zero, we get
๏ทn
dy (t )
๏€ฝ
e ๏€ญ๏บ๏ท nt sin ๏ทn . 1 ๏€ญ ๏บ 2 . t
2
dt
1๏€ญ๏บ
๏ทn 1 ๏€ญ ๏บ 2 t ๏€ฝ n๏ฐ
(3.14)
n ๏€ฝ 0,1,2,...
From which we get
t๏€ฝ
n๏ฐ
n ๏€ฝ 0,1,2,...
๏ทn 1 ๏€ญ ๏บ 2
(3.15)
For the unit-step responses shown in Fig. 3.4, the first overshoot is the maximum overshoot. This
corresponds to n = 1 in Eq. (4.15). Thus, the time at which the maximum overshoot occurs is
tmax ๏€ฝ
๏ฐ
(3.16)
๏ทn 1 ๏€ญ ๏บ 2
With reference to Fig. 3.4, the overshoots occur at odd values of n, that is, n =1, 3, 5, …, and
undershoots occur at even values of n.
The magnitude of the overshoots and undershoots can be determined by subistituting Eq. (3.14) into Eq.
(3.9). This results in y(t)max or min . Therefore
maximum overshoot ๏€ฝ ymax ๏€ญ 1 ๏€ฝ e ๏€ญ๏ฐ๏บ /
1๏€ญ๏บ 2
(3.17)
and the percentage of maximum overshoot is
percentage of maximum overshoot ๏€ฝ 100e -๏ฐ๏บ /
1-๏บ 2
(3.18)
The relationship between the percent maximum overshoot and the damping ratio, as given in Eq. (3.18),
is plotted in Fig. 3.7.
68
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.7: The relationship between the percent maximum overshoot and the damping ratio.
3.2.5
Delay Time and Rise Time
It is more difficult to determine the exact analytical expressions of the delay time td, rise time tr, and
settling time ts. However, we can utilize the linear approximation
td ๏€
1 ๏€ซ 0.7๏บ
๏ทn
0 ๏€ผ ๏บ ๏€ผ 1.0
(3.19)
The plot of ๏ทntr versus ζ is shown in Fig. 3.8. This relation can be approximated by a straight line over a
limited range of ζ.
tr ๏€ฝ
0.60 ๏€ซ 2.16๏บ
๏ทn
0 ๏€ผ ๏บ ๏€ผ1
(3.20)
69
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.8: Normalized rise time versus ζ for the prototype second-order system.
From this discussion, the following conclusions can be made:
1. tr and td are proportional to ζ and inversely proportional to ๏ทn.
2. Increasing (decreasing) the natural undamped frequency ๏ทn will reduce (increase) tr and td.
The settling time ts can be approximated as
ts ๏€ฝ
3
๏บ๏ท n
(3.21)
We can summarize the relationships between ts and the system parameters as follows:
1. For ζ < 0.69, the settling time is inversely proportional to ζ and ๏ทn. A practical way of reducing
the settling time is to increase ๏ทn while holding ζ constant.
2. For ζ > 0.69, the settling time is proportional to ζ and inversely proportional to ๏ทn. Again, ts can
be reduced by increasing ๏ทn.
70
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
3.3
STABILITY & PERFORMANCE SPECIFICATIONS – ROUTH-HURWITZ STABILITY TEST
The discussions in the preceding sections lead to the conclusion that the stability of a linear timeinvariant system can be determined by checking on the location of the roots of the characteristic
equation. When the system parameters are all known, the roots of the characteristic equation can be
solved by means of a root-finding computer program.
For design purposes, there will be unknown or variable parameter embedded in the characteristic
equation, and it will be feasible to use the root-finding programs. The method outlined below is well
known for the determination of stability of a LTI system without involving root solving.
3.3.1
Routh-Hurwitz Criterion
The Routh-Hurwitz criterion represents a method of determining the location of zeros of a polynomial
with constant real coefficients with respect to the left and right half of the s-plane, without actually
solving for the zeros.
Consider that the characteristic equation of a linear time-invariant SISO system is of the form
F (s) ๏€ฝ an s n ๏€ซ an๏€ญ1s n๏€ญ1 ๏€ซ ๏Œ ๏€ซ a1s ๏€ซ a0 ๏€ฝ 0
(3.25)
where all the coefficients are real. In order that Eq. (3.25) does not have roots in the right half of splane, it is necessary and insufficient that the following conditions hold:
1. All the coefficients of the equation have the same sign
2. None of the coefficients vanishes
However, these conditions are not sufficient, for it is quite possible that an equation with all its
coefficients nonzero and of the same sign still will not have all the roots in the left half of the s-plane.
The first step in the Routh-Hurwitz criterion is to arrange the coefficients of the Eq. (3.25) as follows:
71
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
sn
s
n ๏€ญ1
an
an๏€ญ1
an๏€ญ2
a n ๏€ญ3
an๏€ญ4 ๏Œ
a n ๏€ญ5 ๏Œ
Further rows of the schedule are then completed as follows:
sn
s
n ๏€ญ1
s n๏€ญ2
s n ๏€ญ3
๏
s0
an
an ๏€ญ1
bn ๏€ญ1
cn ๏€ญ1
๏
hn ๏€ญ1
an ๏€ญ 2
an ๏€ญ3
bn ๏€ญ3
cn ๏€ญ 3
๏
an ๏€ญ 4
an ๏€ญ 5
bn ๏€ญ5
cn ๏€ญ 5
๏
๏Œ
๏Œ
๏Œ
๏Œ
๏
where
bn๏€ญ1 ๏€ฝ ๏€ญ
1 an
an๏€ญ1 an๏€ญ1
an๏€ญ2
a n ๏€ญ3
bn๏€ญ3 ๏€ฝ ๏€ญ
1 an
an๏€ญ1 an๏€ญ1
an ๏€ญ4
a n ๏€ญ5
cn๏€ญ1 ๏€ฝ ๏€ญ
1 an๏€ญ1
bn๏€ญ1 bn๏€ญ1
a n ๏€ญ3
bn๏€ญ3
and so on.
Once the Routh's tabulation has been completed, we investigate the signs of the coefficients in the first
column of the tabulation. The roots of the equation are all in the left half of the s-plane if all the
elements of the first column of the Routh's tabulation are of the same sign. The number of changes of
signs in the elements of the first column equal the number of roots with positive real parts or in the righthalf s-plane.
72
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 3.1: Consider the equation
๏€จs ๏€ญ 2๏€ฉ๏€จs ๏€ซ 1๏€ฉ๏€จs ๏€ญ 3๏€ฉ ๏€ฝ s3 ๏€ญ 4s 2 ๏€ซ s ๏€ซ 6 ๏€ฝ 0
This equation has one negative coefficient. Thus, we know without applying Routh's test that not all the
roots of the equation are in the left-half s-plane. In fact, from the factored form of the equation, we
know that there are two roots in the right-half s-plane, at s = 2 and s = 3. For the purpose of illustrating,
the Routh's tabulation is made as follows:
s3
s2
s1
s0
1
๏€ญ4
2 .5
6
1
6
0
0
Since there are two sign changes in the first column of the tabulation, the equation has two roots
located in the right-half s-plane.
Example 3.2: Consider the equation
2s 4 ๏€ซ s 3 ๏€ซ 3s 2 ๏€ซ 5s ๏€ซ 10 ๏€ฝ 0
Since this equation has no missing terms and the coefficients are all of the same sign, it satisfies the
necessary conditions for not having roots in the right half or on the imaginary axis of the s-plane.
However, since these conditions are necessary but not sufficient, we have to check the Routh's
tabulation.
s4
s3
s2
s1
s0
2
3 10
1
5 0
๏€ญ 7 10 0
6.43 0 0
10
0 0
Since there are two changes in the first column of the tabulation, the equation has two roots in the right
half of the s-plane.
73
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
๏‚ท
Special Cases When Routh's Tabulation Terminates Prematurely
Depending on the coefficients of the equation, the following difficulties may occur that prevent the
Routh's tabulation from completing properly:
1. The first element in any one row of Routh's tabulation is zero, but the others are not.
2. The elements in one row of Routh's tabulation are all zero.
In the first case, we replace the zero element in the first column by an arbitrary small positive number ๏ฅ,
and then proceed with Routh's tabulation. This is illustrated by the following example:
Example 3.3: Consider the characteristic equation of a linear system:
s 4 ๏€ซ s 3 ๏€ซ 2s 2 ๏€ซ 2s ๏€ซ 3 ๏€ฝ 0
Since all the coefficients are nonzero and of the same sign, we need to apply the Routh-Hurwitz
criterion. Routh's tabulation is carried out as follows:
s4
s3
s2
1 2 3
1 2 0
0 3
Since the first element of the s2 row is zero, the element in the s1 row would all be infinite. To overcome
this difficulty, we replace the zero in the s2 row by a small positive number ๏ฅ and then proceed with the
tabulation.
s2
s
1
s0
๏ฅ
3
3
๏€๏€ญ
0
๏ฅ
3
0
Since there are two sign changes in the first column of Routh's tabulation, the equation has two roots in
the right-half s-plane.
74
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
In the second special case, when all the elements in one row of Routh's tabulation are zeros before the
tabulation is properly terminated, it indicates that one or more of the following conditions may exist.
1. The equation has at least one pair of real roots with equal magnitude but opposite signs.
2. The equation has one or more pairs of imaginary roots.
3. The equation has pairs of complex-conjugate roots forming symmetry about the origin of the splane (e.g. s = -1 ๏‚ฑ j1, s = 1 ๏‚ฑ j1).
The situation with the entire row of zeros can be remedied by using the auxiliary equation A(s) = 0,
which is formed from the coefficients of the row just above the row of zeros in Routh's tabulation. The
roots of the auxiliary equation also satisfy the original equation. To continue with Routh's tabulation
when a row of zeros appears, we conduct the following steps:
1. Form the auxiliary equation A(s) = 0 by use of the coefficients from the row just preceding the
row of zeros.
2. Take the derivative of the auxiliary equation with respect to s; this gives dA(s)/ds = 0.
3. Replace the row of zeros with the coefficients of dA(s)/ds = 0.
4. Continue with Routh's tabulation in the usual manner.
Example 3.4: Consider the following characteristic equation of a linear control system:
s 5 ๏€ซ 4s 4 ๏€ซ 8s 3 ๏€ซ 8s 2 ๏€ซ 7s ๏€ซ 4 ๏€ฝ 0
The Routh's tabulation is
s5
s4
s3
s2
s1
1
4
6
4
0
8 7
8 4
6 0
4
0
75
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
A(s) = 4s2 + 4 = 0
The derivative of A(s) with respect to s is
dA(s)/ds = 8s = 0
From which the remaining portion of the Routh's tabulation is
s1
s0
8 0
4
Since there are no sign changes in the first column, the system is stable. Solving the auxiliary equation
A(s) = 0, we get the two roots at s = j and s = -j, which are also two of the roots of the characteristic
equation. Thus, the equation has two roots on the j๏ท-axis, and the system is marginally stable. These
imaginary roots caused the tabulation to have an entire row of zeros in the s1 row.
Example 3.5: Consider that a third-order control system has the characteristic equation
s 3 ๏€ซ 3408.3s 2 ๏€ซ 1204 ๏‚ด103 s ๏€ซ 1.5 ๏‚ด107 k ๏€ฝ 0
Determine the crucial value of k for stability.
s3
s2
s1
s0
1
3408.3
1.5 ๏‚ด 10 7 k ๏€ญ 3408 ๏‚ด 1204 ๏‚ด 10 3
๏€ญ
3408
1.5 ๏‚ด 10 7
1204 ๏‚ด 10 3
1.5 ๏‚ด 10 7 k
0
For the system to be stable, all the coefficients in the first column must have the same sign. This lead to
the following conditions:
๏€ญ
1.5 ๏‚ด 107 k ๏€ญ 410.36 ๏‚ด 107
๏€พ0
3408
Therefore, the condition of k for the system to be stable is
0 ๏€ผ k ๏€ผ 273.57
76
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
If we let k = 273.57, the characteristic equation will have two roots on the j๏ท-axis. To find these roots,
we substitute k = 273.57 in the auxiliary equation, as follows:
A(s) ๏€ฝ 3408.3s 2 ๏€ซ 4.1036 ๏‚ด109 ๏€ฝ 0
which has roots at s = j1097.27 and s = -j1097.27.
Thus if the system operate with k = 273.57, the system response will be an undamped sinusoid with a
frequency of 1097.27 rad/sec.
3.4
STEADY STATE RESPONSE – STEADY STATE ERROR
One of the objectives of most control systems is that the system output response follows a specific
reference signal accurately in the steady state. Steady-state error is the difference between the output
and the reference in the steady state. Steady-state errors in control systems are almost unavoidable and
generally derive from the imperfections, frictions, and the natural composition of the system. In the
design problem, one of the objectives is to keep the steady-state error below a certain tolerable value.
3.4.1
Definition of the Steady-State Error with respect to System Configuration
Let us refer to the closed-loop system shown in Fig. 3.11, where r(t) is the input, e(t) the actuating signal,
and y(t) is the output. The error of the system may be defined as:
Figure 3.11: Closed-Loop Control System.
77
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
e(t ) ๏€ฝ reference signal ๏€ญ y(t )
(3.26)
where the reference signal is the signal that the output is to track. When the system has unity feedback
(i.e. H(s) = 1), the error is simply
e(t ) ๏€ฝ r (t ) ๏€ญ y(t )
The steady-state error is defined as
ess ๏€ฝ lim e(t ) ๏€ฝ lim sE( s )
t ๏‚ฎ๏‚ฅ
s ๏‚ฎ0
sR( s)
s ๏‚ฎ0 1 ๏€ซ G ( s )
๏€ฝ lim
(3.27)
Clearly, ess depends on the characteristics of G(s). More specifically, ess depends on the number of poles
that G(s) has at s = 0. This number is known as the system type. Fig. 3.12 shows steady state errors for
different input functions.
78
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.12: Steady-state errors (a) step input, (b) ramp input
Now let us investigate the effects of the types of inputs on the steady-state error.
79
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
3.4.2
Steady-State Error of System with a Step-Input Function
When the input r(t) to a control system with unity-feedback is a step function with magnitude A, then
R(s) = A/s and the steady-state error is written from Eq. (4.27),
ess ๏€ฝ lim
s ๏‚ฎ0
sR( s)
A
A
๏€ฝ lim
๏€ฝ
s
๏‚ฎ
0
1 ๏€ซ G(s)
1 ๏€ซ G( s) 1 ๏€ซ lim G( s)
(3.28)
s ๏‚ฎ0
For convenience, we define
k p ๏€ฝ lim G(s)
s ๏‚ฎ0
as the step-error constant. Then Eq. (4.28) becomes
ess ๏€ฝ
A
1๏€ซ k p
We can summarize the steady-state error due to a step-function input as follows:
3.4.3
๏‚ท
Type 0 system:
๏‚ท
Type 1 or higher system:
ess ๏€ฝ
A
= constant
1๏€ซ k p
ess = 0
Steady-State Error of System with a Ramp-Input Function
When the input to the unity-feedback control system is a ramp function with amplitude A,
r (t ) ๏€ฝ Atu s (t )
where A is a real constant, the Laplace transform of r(t) is
R( s) ๏€ฝ
A
s2
The steady-state error is written using Eq. (4.27) as follows:
(3.29)
80
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
A
A
๏€ฝ
s ๏‚ฎ0 s ๏€ซ sG( s )
lim sG( s)
ess ๏€ฝ lim
(3.30)
s ๏‚ฎ0
We define the ramp-error constant as
kv ๏€ฝ lim sG( s)
s๏‚ฎ0
Then Eq. (3.30) becomes
ess ๏€ฝ
A
kv
(3.31)
The following conclusions may be stated with regard to the steady-state error of a system with ramp
input:
3.4.4
๏‚ท
Type 0 system:
ess = ๏‚ฅ
๏‚ท
Type 1 system:
ess = A/kv = constant
๏‚ท
Type 2 or higher system:
ess = 0
Steady-State Error of System with a Parabolic Input
When the input is described by the standard parabolic form
r (t ) ๏€ฝ
At 2
u s (t )
2
The Laplace transform of r(t) is
R( s ) ๏€ฝ
A
s3
The steady-state error of the system is
ess ๏€ฝ
A
lim s 2 G ( s)
s ๏‚ฎ0
(3.32)
81
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Defining the parabolic-error constant as
ka ๏€ฝ lim s 2G( s)
s๏‚ฎ0
(3.33)
the steady-state error becomes
ess ๏€ฝ
A
ka
(3.34)
The following conclusions are made with regard to the steady-state error of a system with parabolic
input:
๏‚ท
Type 0 system:
ess = ๏‚ฅ
๏‚ท
Type 1 system:
ess = ๏‚ฅ
๏‚ท
Type 2 system:
ess = A/ka = constant
๏‚ท
Type 3 or higher system:
ess = 0
Example 3.5: Find the steady state errors of the following system
G( s) ๏€ฝ
k ( s ๏€ซ 3.15)
s( s ๏€ซ 1.5)(s ๏€ซ 0.5)
H(s) ๏€ฝ 1
It is clear that this system is a type 1 system. The steady-state errors are:
Step input
Step-error constant, kp = ๏‚ฅ
Ramp input
Ramp-error constant, kv = 4.2k ess= A/kv = A/(4.2k)
ess = A/1+kp = 0
Parabolic input Parabolic-error constant, ka = 0 ess = A/ka = ๏‚ฅ
3.4.5
Steady-State Error for Non-unity Feedback System
For non-unity feedback control, we usually find the equivalent unity-feedback system, as shown in Fig.
3.13.
82
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.13: Forming an equivalent unity feedback for nonunity feedback system.
We have to take into consideration, that the above steps require that input and output of the same
units. The following example summarizes the concepts of steady-state error, system type, and the
steady state errors.
Example 3.6: For the system shown in Fig. 4.14, find the system type and the steady state error for the
unit step function. Assume input and output units are the same.
83
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 3.14: Nonunity feedback control system for Example 3.6.
The first step in solving the problem is to convert the system of Fig. 3.14 into an equivalent unity
feedback system. Using the equivalent forward transfer function of Fig. 3.13(e) along with
G( s) ๏€ฝ
100
s( s ๏€ซ 10)
and
H ( s) ๏€ฝ
1
s๏€ซ5
we find
Ge ( s) ๏€ฝ
G( s)
100( s ๏€ซ 5)
๏€ฝ 3
1 ๏€ซ G( s) H ( s) ๏€ญ G( s) s ๏€ซ 15s 2 ๏€ญ 50s ๏€ญ 400
Thus, the system is type 0, and
k p ๏€ฝ lim Ge ( s) ๏€ฝ
s ๏‚ฎ0
100 ๏‚ด 5
5
๏€ฝ๏€ญ
๏€ญ 400
4
The steady-state error is
ess ๏€ฝ
1
๏€ฝ ๏€ญ4
1๏€ซ kp
84
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
3.5
FREQUENCY RESPONSE ANALYSIS
In practice, the performance of a control system is measured more realistically by its time-domain
characteristics. The reason is that the performance of most control systems is judged based on the time
response due to certain test signals.
In design problems, there are no unified methods of arriving at a designated system that meets timedomain performance specifications. On the other hand, in frequency domain, a wealth of graphical and
other techniques are available that are useful for system analysis and design, irrespective of the order of
the system.
It is important to realize that there are correlating relations between the frequency- and time-domain
performances in linear system so that time-domain properties of the system can be predicted based on
the frequency–domain characteristics. With these in mind, we shall study the frequency response
analysis of control systems.
3.5.1
Frequency Response of a System
It is well known from linear system theory that, when the input to a linear time invariant system is
sinusoidal with amplitude R and frequency ๏ทo, i.e.,
r(t) ๏€ฝ R sin ωot
the steady-state output of the system, y(t), will be a sinusoid with the same frequency ๏ทo, but possibly
with different amplitude and phase; i.e.
y(t) ๏€ฝ Y sin (ωot ๏€ซ φ)
where Y is the amplitude of the output sine wave and ๏ฆ is the phase shift.
Let the transfer function of a SISO system be M(s); the output Y(s) and the input R(s) are related through
Y(s) ๏€ฝ M(s)R(s)
85
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
For sinusoidal steady-state analysis, we replace s by j๏ท, and equation (6.3) becomes
Y(j๏ท) ๏€ฝ๏€ Μ ๏€จ j๏ท)๏€ R๏€จ j๏ท)๏€ 
By writing Y(j๏ท) and M(j๏ท) as (similar expression for R๏€จ j๏ท ) also):
Y ( j๏ท ) ๏€ฝ Y ( j๏ท ) ๏ƒY ( j๏ท )
M ( j๏ท ) ๏€ฝ M ( j๏ท ) ๏ƒM ( j๏ท )
Y ( j๏ท ) ๏€ฝ M ( j๏ท ) R( j๏ท )
and the phase relation:
๏ƒY ( j๏ท) ๏€ฝ ๏ƒM ( j๏ท) ๏€ซ ๏ƒR( j๏ท)
Thus, for the input and output signals described by equations (6.1) and (6.2),
Y ๏€ฝ M ( j๏ทo ) R
๏ฆ ๏€ฝ ๏ƒM ( j๏ทo )
Thus, by knowing the transfer function M(s), the frequency response of the system can be obtained.
The frequency response of the loop transfer function G(s)H(s) [G(s) if H(s) is unity] can be plotted in
several ways. The two commonly used representations are:
a. Bode diagram, or Logarithmic plot.
b. Polar plot, or Nyquist plot.
86
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
3.5.2
Frequency Response – Bode Diagram
A Bode diagram consists of two graphs. One is a plot of the logarithm of the magnitude of a sinusoidal
transfer function; the other is a plot of the phase angle; both are plotted against the frequency on a
logarithmic scale.
The standard representation of the logarithmic magnitude of G(j๏ท) is 20 log |G(j๏ท)|, where the base of
the logarithm is 10. The unit used in this representation is the decibel (dB). The curves are drawn on a
semilog paper, using the log scale for frequency and linear scale for either magnitude (in dB) or phase
angle (degrees).
The main advantage of Bode diagrams is that the multiplication of magnitudes can be converted into
addition. Furthermore, a simple asymptotic method is available for sketching the approximate curve.
Should the exact curve be desired, corrections could be made easily to these basic asymptotic plots.
In Bode diagrams, the frequency ratios are expressed in terms of octaves or decades. An octave is a
frequency band from ๏ท1 to 2๏ท1, where ๏ท1 is any frequency. A decade is a frequency band from ๏ท1 to
10๏ท1, where ๏ท1 is any frequency.
Basic Factors of G(j๏ท)H(j๏ท):
The basic factors that very frequently occur in an arbitrary open-loop transfer function G(j๏ท)H(j๏ท) are:
a. Constant gain, K.
b. Zeros and poles at the origin, ๏€จ j๏ท ๏€ฉ .
๏‚ฑn
c. Simple zeros and poles, ๏€จ1 ๏€ซ j๏ทT ๏€ฉ .
๏‚ฑ1
๏›
d. Quadratic factors, 1 ๏€ซ 2๏ธ ๏€จ j๏ท / ๏ทn ๏€ฉ ๏€ซ ๏€จ j๏ท / ๏ทn ๏€ฉ
a. Real Constant: G(s)H(s) = K
G(jω)H(jω) = K
Magnitude: |G(jω)H(jω)| (dB) = 20 log10 |K| (dB).
Phase angle: ๏ƒG(jω)H(jω) = 0°.
๏
2 ๏‚ฑ1
.
87
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The Bode plot for any value of K is shown in Fig. 6.1.
Figure 6.1: Bode plot for gain K.
b. Poles and zeros at the origin: G(s)H(s) = s±n
For sn:
G(jω)H(jω)=(jω)n
Magnitude: |G(jω)H(jω)| (dB) = 20n log10 |jω| (dB) = 20n log10 ω (dB)
(6.11)
Phase angle: ๏ƒG(jω)H(jω) = 90n° (a constant).
For s-n:
G(jω)H(jω)=(jω)-n
Magnitude: |G(jω)H(jω)| (dB) = −20n log10 |jω| (dB) = −20n log10 ω (dB)
(6.12)
Phase angle: ๏ƒG(jω)H(jω) = −90n° (a constant).
The Bode magnitude plots are a straight line in semi log coordinate. The slope of the line is ±20n
dB/decade i.e. the magnitude change by ±20n dB for the frequency change of 10 times. The straight line
passes through 0 dB at ๏ท = 1. The phase angle (๏ฆ) of ±j๏ท is constant and equal to ±900.The Bode plots
are shown in Fig. 6.2.
88
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.2: Bode diagrams for (a)G(j๏ท) = 1/j๏ท (b)G(j๏ท) = j๏ท.
c.
Simple zeros and poles: G(s)H(s) = (1+sT)±1
G(jω)H(jω)= (1+ jωT)±1
Magnitude:
|G(jω)H(jω)| (dB) = ±20 log10 |1 + jωT| (dB)
= ±20 log10 √*1 + ω2T2] (dB)
(6.11)
89
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
To obtain asymptotic approximation we consider both very large and very small values of ๏ท. For low
frequencies, such that ๏ทT << 1, the log magnitude may be approximated by
๏‚ฑ 20 log 1 ๏€ซ ๏ท 2T 2 ๏€ ๏‚ฑ20 log1 ๏€ฝ 0 dB
For high frequencies, such that ๏ทT >> 1,
๏‚ฑ 20 log 1 ๏€ซ ๏ท 2T 2 ๏€ ๏‚ฑ20 log ๏ทT dB
At ๏ท=1/T, log magnitude = 0 dB while at ๏ท=10/T, log magnitude = ±20 dB. Thus, the value of
๏‚ฑ 20 log ๏ทT increases/decreases with 20 dB/decade. Hence, the magnitude plot can be approximated
by two straight-line asymptotes, one a straight line at 0 dB for the frequency range 0 < ๏ท < 1/T and the
other a straight line with slope ±20 dB/decade for the frequency range 1/T < ๏ท < ๏‚ฅ. The frequency,
๏ท=1/T, at which the two asymptotes meet is called the corner frequency or break frequency.
Phase angle: ๏ƒG(jω)H(jω) = ๏‚ฑ tan ๏€ญ1 ๏ทT .
At corner frequency, ๏ƒG(jω)H(jω) = ±45๏‚ฐ. The phase plot can be approximated by a straight line passing
through 0๏‚ฐ at one decade below corner frequency and ±90๏‚ฐ at one decade above corner frequency. The
Bode plots are shown in Fig. 6.3 and Fig. 6.4.
An advantage of the Bode diagram is that for reciprocal factors, for example the factor 1/(1+j๏ทT), the
log-magnitude and phase angle curves need only be changed in sign, since
20 log
1
๏€ฝ ๏€ญ20 log 1 ๏€ซ j๏ทT and phase angle of 1/(1+j๏ทT) = ๏€ญ tan ๏€ญ1 ๏ทT = ๏€ญ (phase angle of
1 ๏€ซ j๏ทT
(1+j๏ทT).
90
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.3: Bode plot for (1+j๏ทT).
91
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.4: Log-magnitude curve (with asymptotes) for 1/(1+j๏ทT).
๏›
d. Quadratic factors: G( s) H ( s) ๏€ฝ 1 ๏€ซ 2๏บ ๏€จs / ๏ทn ๏€ฉ ๏€ซ ๏€จs / ๏ทn ๏€ฉ
๏
2 ๏‚ฑ1
๏›
G( j๏ท ) H ( j๏ท ) ๏€ฝ 1 ๏€ซ 2๏บ ๏€จ j๏ท / ๏ทn ๏€ฉ ๏€ซ ๏€จ j๏ท / ๏ทn ๏€ฉ
๏
2 ๏‚ฑ1
Magnitude:
|G(jω)H(jω)| (dB) = ±20 log10 |1 + 2ζ(jω/ωn)+ (jω/ωn)2| (dB)
2
= ±20 log10
2
๏ƒฆ ๏ท2 ๏ƒถ ๏ƒฆ
๏ท๏ƒถ
๏ƒง๏ƒง1 ๏€ญ 2 ๏ƒท๏ƒท ๏€ซ ๏ƒง๏ƒง 2๏บ
๏ƒท๏ƒท (dB)
๏ƒจ ๏ทn ๏ƒธ ๏ƒจ ๏ทn ๏ƒธ
(6.12)
92
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
If ζ > 1, this quadratic factor can be expressed as a product of two first-order factors with real
zeros/poles. If 0 < ζ < 1, this quadratic factor is the product of two complex-conjugate zeros/poles. The
asymptotic frequency response curves can be obtained as follows.
For low frequencies such that ๏ท/๏ทn << 1, the log magnitude becomes ±20 log 1 = 0 dB. The low
frequency asymptote is thus a horizontal line at 0 dB. For high frequencies such that ๏ท/๏ทn >> 1, the logmagnitude becomes ๏‚ฑ 20 log
๏ท2
๏ท
๏€ฝ ๏‚ฑ40 log
dB. The equation for the high frequency asymptote is a
2
๏ทn
๏ทn
straight line with a slope of ±40 dB/decade.
The frequency ๏ทn is the corner frequency. The two asymptotes just derived are independent of the value
of ζ. Fig. 6.5 shows exact curves with the straight-line asymptotes and the exact phase angle curves.
Phase angle of the quadratic factor is:
๏ƒฉ
๏ท ๏ƒน๏ƒบ
๏ƒช 2๏บ
๏ทn ๏ƒบ
๏ƒช
๏ฆ ๏€ฝ ๏‚ฑ tan ๏€ญ1 ๏ƒช
2๏ƒบ
๏ƒช1 ๏€ญ ๏ƒฆ๏ƒง ๏ท ๏ƒถ๏ƒท ๏ƒบ
๏ƒช ๏ƒง๏ƒจ ๏ท n ๏ƒท๏ƒธ ๏ƒบ
๏ƒซ
๏ƒป
(6.13)
93
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.5: Bode plot for Eqn. (6.12) and (6.13).
94
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 6.1: Sketch the Bode plot for the following function: G ( s) ๏€ฝ
๏ƒฆ
1
1
1 ๏ƒง๏ƒง 1
Solution: G ( s) ๏€ฝ
, G ( j๏ท ) ๏€ฝ
๏€ฝ
j๏ท
j๏ท ๏€ซ 2 2 ๏ƒง
s๏€ซ2
๏ƒง1๏€ซ
2
๏ƒจ
1
s๏€ซ2
๏ƒถ
๏ƒท
๏ƒท
๏ƒท
๏ƒท
๏ƒธ
๏ƒฆ1๏ƒถ
๏ƒจ2๏ƒธ
๏ƒฆ๏ท ๏ƒถ
๏ƒท
๏ƒจ2๏ƒธ
2
Magnitude: 20 log G ( j๏ท ) ๏€ฝ 20 log๏ƒง ๏ƒท - 20log 1 ๏€ซ ๏ƒง
๏ƒG( j๏ท ) ๏€ฝ ๏€ญ tan๏€ญ1
๏ท
2
-5
-15
-20
-25
0
-20
To: Y(1)
Phase (deg); Magnitude (dB)
-10
-40
-60
-80
-1
10
0
10
Frequency (rad/sec)
Figure 6.6: Bode plots for the system in Example 6.1.
1
10
95
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
General Procedure for Plotting the Bode Diagrams:
๏‚ท
Rewrite the sinusoidal transfer function as a product of the basic factors discussed above.
๏‚ท
Identify the corner frequencies associated with these basic factors.
๏‚ท
Draw the asymptotic log-magnitude curves with proper slopes between the corner frequencies
considering all the basic factors together. The exact curve, which lies very close to the
asymptotic curve, can be obtained by adding contributions from all the factors and proper
corrections.
๏‚ท
3.5.3
Phase-angle curve can be drawn by adding the phase-angle curves of individual factors.
Polar Plot (Nyquist Plot)
The polar plot of a sinusoidal transfer function G(j๏ท) is a plot of the magnitude of G(j๏ท) versus the phase
angle of G(j๏ท) on polar coordinates as ๏ท is varied from zero to infinity. Note that, in polar plots, a
positive (negative) phase angle is measured counterclockwise (clockwise) from the positive real axis. The
polar plot is very often called the Nyquist plot in control system engineering. An example of such a plot
is shown in Fig. 6.7. Each point on the polar plot of G(j๏ท) represents the terminal point of a vector at a
particular value of ๏ท. In the polar plot, it is important to show the frequency graduation of the locus.
96
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example of a Polar Plot.
a. Poles and zeros at the origin: G(s)H(s) = s±n
G( j๏ท ) H ( j๏ท ) ๏€ฝ ๏€จ j๏ท ๏€ฉ
๏‚ฑ1
The polar plot of G(j๏ท)H(j๏ท) = 1/j๏ท is the negative imaginary axis since
G๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ
1
j 1
๏€ฝ ๏€ญ ๏€ฝ ๏ƒ ๏€ญ 90 0
j๏ท
๏ท ๏ท
The polar plot of G(j๏ท)H(j๏ท) = j๏ท is the positive imaginary axis.
(6.14)
97
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
b. Simple zeros and poles: G(s)H(s) = (1+sT)±1
G( j๏ท ) H ( j๏ท ) ๏€ฝ ๏€จ1 ๏€ซ j๏ทT ๏€ฉ
๏‚ฑ1
For the sinusoidal transfer function
G๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ
1
1
๏€ฝ
๏ƒ ๏€ญ tan ๏€ญ1 ๏ทT
2
2
1 ๏€ซ j๏ทT
1๏€ซ ๏ท T
(6.15)
the values of G(j๏ท)H(j๏ท) at ๏ท = 0 and at ๏ท = 1/T are, respectively,
๏ƒฆ 1๏ƒถ ๏ƒฆ 1๏ƒถ 1
G๏€จ j 0๏€ฉH ( j 0) ๏€ฝ 1๏ƒ00 and G๏ƒง j ๏ƒท H ๏ƒง j ๏ƒท ๏€ฝ
๏ƒ ๏€ญ 450
2
๏ƒจ T๏ƒธ ๏ƒจ T๏ƒธ
If ๏ท approaches infinity, the magnitude approaches 0 and the phase angle approaches –900. The polar
plot of this transfer function is a semicircle as the frequency is varied from 0 to ๏‚ฅ. It is shown in Fig. 6.8.
The center is located at 0.5 in the real axis and the radius is equal to 0.5. The lower semicircle
corresponds to 0 ๏‚ฃ ๏ท ๏‚ฃ ๏‚ฅ , and the upper semicircle corresponds to ๏€ญ ๏‚ฅ ๏‚ฃ ๏ท ๏‚ฃ 0 .
Figure 6.8: (a) Polar plot of 1/(1+j๏ทT) ; (b)Same plot in X-Y plane.
98
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The polar plot of the transfer function 1+j๏ทT is simply the upper half of the straight line passing through
the point (1, 0) in the complex plane and parallel to the imaginary axis as shown in Fig. 6.7.
Figure 6.7: Polar plot of 1+j๏ทT.
๏›
c. Quadratic factors: G(s) H (s) ๏€ฝ 1 ๏€ซ 2๏บ ๏€จs / ๏ทn ๏€ฉ ๏€ซ ๏€จs / ๏ทn ๏€ฉ
๏›
๏
2 ๏‚ฑ1
G( j๏ท ) H ( j๏ท ) ๏€ฝ 1 ๏€ซ 2๏บ ๏€จ j๏ท / ๏ทn ๏€ฉ ๏€ซ ๏€จ j๏ท / ๏ทn ๏€ฉ
๏
2 ๏‚ฑ1
The low and high frequency portions of the polar plot of the following transfer function
G๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ
1
1 ๏€ซ 2๏บ ๏€จ j๏ท / ๏ทn ๏€ฉ ๏€ซ ๏€จ j๏ท / ๏ทn ๏€ฉ
2
are given, respectively, by
lim G๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ 1๏ƒ0 0 and lim G๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ 0๏ƒ ๏€ญ 1800
๏ท ๏‚ฎ0
๏ท ๏‚ฎ๏‚ฅ
Thus, the high frequency portion is tangent to the negative real axis. The polar plots are shown in Fig.
6.8.
*Phase angle of the quadratic factor is the same as Eqn. (6.13):
99
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
๏ƒฉ
๏ท ๏ƒน๏ƒบ
๏ƒช 2๏บ
๏ทn ๏ƒบ
๏ƒช
๏ฆ ๏€ฝ ๏‚ฑ tan ๏€ญ1 ๏ƒช
2๏ƒบ
๏ƒช1 ๏€ญ ๏ƒฆ๏ƒง ๏ท ๏ƒถ๏ƒท ๏ƒบ
๏ƒช ๏ƒง๏ƒจ ๏ท n ๏ƒท๏ƒธ ๏ƒบ
๏ƒซ
๏ƒป
Figure 6.8: Polar plots of
1
1 ๏€ซ 2๏บ ๏€จ j๏ท / ๏ทn ๏€ฉ ๏€ซ ๏€จ j๏ท / ๏ทn ๏€ฉ
2
Next, consider the following transfer function:
G ๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ 1 ๏€ซ 2๏บ ๏€จ j๏ท / ๏ทn ๏€ฉ ๏€ซ ๏€จ j๏ท / ๏ทn ๏€ฉ
2
๏ƒฆ ๏ท2 ๏ƒถ
๏€ฝ ๏ƒง๏ƒง1 ๏€ญ 2 ๏ƒท๏ƒท ๏€ซ
๏ƒจ ๏ทn ๏ƒธ
๏ƒฆ 2๏บ๏ท
j ๏ƒง๏ƒง
๏ƒจ ๏ทn
๏ƒถ
๏ƒท๏ƒท
๏ƒธ
The low-frequency portion of the curve is:
lim G๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ 1๏ƒ00
๏ท ๏‚ฎ0
and the high-frequency portion of the curve is:
for ζ > 0.
100
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
lim G๏€จ j๏ท ๏€ฉH ( j๏ท ) ๏€ฝ ๏‚ฅ๏ƒ1800
๏ท ๏‚ฎ๏‚ฅ
The general shape of the polar plot is shown in Fig. 6.9.
Figure 6.9: Polar plot of 1 ๏€ซ 2๏บ ๏€จ j๏ท / ๏ทn ๏€ฉ ๏€ซ ๏€จ j๏ท / ๏ทn ๏€ฉ for ζ > 0.
2
Example 6.2: Draw polar plot of G ( s) ๏€ฝ
1
s๏€ซ2
Solution: First substitute s = j๏ท in G(s).
G( j๏ท ) ๏€ฝ
G( j๏ท ) ๏€ฝ
1
j๏ท ๏€ซ 2
1
๏ท2 ๏€ซ 4
๏ƒG( j๏ท ) ๏€ฝ tan ๏€ญ1
๏ท
2
101
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.10: Polar plot of G(s) in Example 6.2.
Example 6.3: Draw polar plot for the system with G ( s) ๏€ฝ
Solution:
G( j๏ท ) ๏€ฝ
10
s( s ๏€ซ 1)( s ๏€ซ 2)
10
j๏ท ( j๏ท ๏€ซ 1)( j๏ท ๏€ซ 2)
G( j๏ท ) ๏€ฝ
10
๏ท (๏ท ๏€ซ 1) (๏ท 2 ๏€ซ 2)
2
๏ƒG( j๏ท ) ๏€ฝ ๏€ญ90๏ฏ ๏€ญ tan๏€ญ1
๏ท
2
๏€ญ tan๏€ญ1 ๏ท
102
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The plot is shown in Fig. 6.11.
Figure 6.11: Polar plot for the system in Example 6.3.
NYQUIST STABILITY TEST – THE CAUCHY CRITERION
The Cauchy criterion (from complex analysis) states that when taking a closed contour in the complex
plane, and mapping it through a complex function G(s), the number of times, N, that the plot of G(s)
encircles the origin is equal to the number of zeros, Z, of G(s) enclosed by the frequency contour minus
the number of poles, P, of G(s) enclosed by the frequency contour.
N=Z–P
Encirclements of the origin are counted as positive if they are in the same direction as the original closed
contour or negative if they are in the opposite direction.
When studying feedback control, we are not as interested in G(s)H(s) as in the closed-loop transfer
function G(s)H(s)/[1+G(s)H(s)]
If 1+G(s)H(s) encircles the origin, then G(s)H(s) will enclose the point -1. Since we are interested in the
closed-loop stability, we want to know if there are any closed-loop poles (zeros of 1+G(s)H(s)) in the
right-half plane.
103
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The Nyquist Stability Criterion usually written as Z = P + N, where
>
Z is the number of right hand plane poles for the closed loop system (or zeros of
1+G(s)H(s))
>
P is the number of open-loop poles (in the RH side of the s-plane) of G(s)H(s) (or poles of
1+G(s)H(s)), and
>
N is the number of clockwise encirclements of (-1,0)
“A feedback control system is stable if and only if the number of counter-clockwise encirclements of the
critical point (-1,0) by the GH polar plot is equal to the number of poles of GH with positive real parts.”
(Nyquist Stability Criterion Definition)
Example:
•
Consider the unity feedback applied to the following system
G(s)=K/[s(s+3)(s+5)]
•
The loop transfer function is
G(j๏ท)H(j๏ท)=K/[s(s+3)(s+5)]|K=1,s= j๏ท
•
The number of open-loop poles in the RH side of the s-plane, P = __
104
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
•
For stability Z = 0, therefore N must also be __
•
From Nyquist diagram it can be seen that K can be increased by ____________ before the
Nyquist diagram encircles -1.
•
For marginal stability, K = _____
RELATIVE STABILITY – GAIN AND PHASE MARGIN
•
K is a variable (constant) gain
•
G(s) is the plant under consideration
Gain margin is defined as the change in open loop gain required to make the system unstable. Systems
with greater gain margins can withstand greater changes in system parameters before becoming
unstable in closed loop. Phase margin is defined as the change in open loop phase shift required to
make a closed loop system unstable.
105
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Stability Analysis with Bode Plot
Bode plot is a very useful graphical tool for the analysis and design of linear control systems.
Advantages of the Bode Plot over Nyquist plot:
1. Gain crossover, phase crossover, gain margin, and phase margin are more easily determined on the
Bode plot.
2. For design purposes, the effects of adding controllers and their parameters are more easily visualized
on the Bode plot.
Identifying Marginal Values from Bode Plot
The gain margin is the difference between the magnitude curve and 0dB at the point corresponding to
the frequency that gives us a phase of −180° (the phase cross over frequency, ωp).
The phase margin is the difference in phase between the phase curve and −180° at the point
corresponding to the frequency that gives us a gain of 0dB (the gain cross over frequency, ωg).
106
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.12: Determination of GM and PM from the Bode plot.
Example 6.4: Consider the loop transfer function given as
L( s ) ๏€ฝ
2500
s( s ๏€ซ 5)( s ๏€ซ 50)
From the provided Bode diagram, find the GM and PM and corresponding frequencies.
107
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Solution:
Figure 6.13: Bode diagram for Example 6.4.
Fig. 6.14 illustrates PM and GM of a stable and unstable system in Bode diagrams.
108
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.14: Phase and Gain margins for stable and unstable systems.
Stability Analysis with Nyquist Plot
OPEN LOOP
Gain Margin, GM
Phase Margin, ๏†M
Gain margin and phase margin
CLOSED LOOP
The change in open-loop gain, expressed in
dB, required at -180° to make the closedloop system unstable. A good range is
2<GM<5 (equivalent to 6dB < GM < 14dB).
The change in the open-loop phase shift
required at unity gain to make the closedloop unstable. Good range 30 < PM < 60
degrees.
quantitative measures of stability.
systems with large gain and phase margins
can withstand greater changes in system
parameter before becoming unstable.
related to root locus, in that systems with
poles farther from the imaginary axis have
a greater degree of stability.
109
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
A gain of a will move the system response to the critical point
If a phase shift of ๏ก degrees occurs, then the system will become unstable
110
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
CHAPTER 4.0
PID CONTROLLER
There are three broad categories of PID tuning techniques:
i)
Feature-based techniques
ii) Techniques that require an analytical model
iii) Optimisation (minimisation of an error criterion)
But before looking at PID tuning, we need to look at modeling of simple process dynamics. There are
two common approaches:
transient response methods, which look at the time domain characteristics of the system
response to a step or impulse
frequency response methods, which look at the response to an impulse, white noise or one
or more sinusoids
Stick to transient response models and very simple frequency response for the moment.
111
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
4.1
Transient Response Method of Modelling
Step response modeling probably the most common approach.
Peak Overshoot
Amplitude
1.5
Unit
Step
Input
1.05
1
0.95
0.9
0.5
Rise Time
0.1
0
0 Time Delay
Time
Settling Time
Step Response
i)
Peak Overshoot
๏‚ท
(peak - final value)/final value*100%
๏‚ท
Measure of maximum value of response
๏‚ท
Indication of the largest error between input and output
๏‚ท
Increases as damping decreased
๏‚ท
Well designed systems generally have overshoot less than 30%
ii) Rise Time
๏‚ท
Measure of the speed of response
๏‚ท
Time necessary for the response to rise from 10% to 90% of its final steady state
error
iii) Time Delay
๏‚ท
Time for system to show any response
112
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
iv) Delay Time
๏‚ท
Time necessary for the step response to reach some value (often 50%) of the steady
state value. Not to be confused with Dead time = Time Delay
v) Settling Time
๏‚ท
The time taken for the step response to decrease and stay within a specified range
of the final value.
๏‚ท
Often 1%, 2% or 5%
vi) Decay Ratio
๏‚ท
Defined as the ratio between two consecutive maxima of the error for a step change
in the set-point
๏‚ท
The value d=1/4, which is called quarter amplitude damping, is used traditionally
but is often too high
๏‚ท
For a second order system given by
G( s)
1 ๏€ซ G ( s)
CL( s ) ๏€ฝ
๏€ฝ
๏ทn2
s 2 ๏€ซ 2๏บ๏ท n s ๏€ซ ๏ทn2
๏€ฝ
1
1 ๏€ซ 2๏บs / ๏ทn ๏€ซ ( s / ๏ทn ) 2
The decay ration is given by
d ๏€ฝe
๏€ญ 2๏ฐ๏บ / 1๏€ญ๏บ 2
113
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Step Response Model 1 – 2 parameter model
18
16
G(s) =
14
a -sL
e
Ls
12
amplitude
4.1.1
10
8
6
4
1
step response for e-2s
s
2
2
a
4
6
8
L
10 12
time
Model of Integrator with time delay (first order response)
๏‚ท
Response rises linearly over time
๏‚ท
characterised by two parameters
๏‚ท
L - essentially the “dead time”
๏‚ท
a - where a/L is the slope.
14
16
18
20
114
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Step Response Model 2 – 3 parameter model (first order)
T
2
k
1.5
amplitude
4.1.2
G(s) =
k -sL
e
1+sT
1
0.5
step response for
0
0
1
2
3
L
4
2 -2s
e
1+s
5
6
time
7
8
9
10
Response rises smoothly and is stable:
๏‚ท
characterised by three parameters, gain k, time constant T and time delay L.
๏‚ท
Most common model for PID tuning
๏‚ท
Tangent to step response must be drawn at the location of the largest slope
๏‚ท
Need some alternatives that are more robust
Problem:
115
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Step Response Model 3 – Alternative 3 parameter model (first order)
T
2
k
1.5
amplitude
4.1.3
G(s) =
.63k
k -sL
e
1+sT
1
0.5
step response for
0
0
1
L
2
3
4
2 -2s
e
1+s
5
6
time
๏‚ท
Response is 63% of final value at t = T
๏‚ท
63% =1-e-1
๏‚ท
Still some sensitivity to high frequency noise
7
8
9
10
116
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Step Response Model 4 – Another alternative 3 parameter model (first order)
L+T
2
k
1.5
amplitude
4.1.4
G(s) =
A1
k -sL
e
1+sT
1
0.5
A2
0
0
1
2
3
L
3 Parameter Model Alternative:
๏‚ท
Effective at removing noise
๏‚ท
Let (L+T) = A1/k
๏‚ท
Can show that T = (A2/k)e1
4
5
time
6
7
8
9
10
117
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Step Response Model 5 – Second order response
Second order response generally has the following features:
๏‚ท
Oscillatory
๏‚ท
3 parameters - need k, w, z
Tp
3.5
d = e2 / e1
e1-e2=o(1-d)
3
2.5
amplitude
4.1.5
2
k
1.5
G(s) =
1
k๏ท2
s2 + 2๏บ๏ทs + ๏ท2
0.5
0
0
2
4
6
8
10 12
time
14
16
18
20
-2๏บ๏ฐ
2 1/2
d = e (1-๏บ )
Tp =
or
2๏ฐ
๏ท๏€ (1-๏บ2)1/2
๏€ ๏บ =
or
1
2 1/2
(1 + (2๏ฐ/ log d) )
2๏ฐ
๏ท=
Tp(1-๏บ2)1/2
Time delay can be added to this model and determined as done previously in the tutorial.
118
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
4.2
Frequency Response Modelling
Some tuning formulas are based upon the frequency response of the plant
Parameters of interest are the ultimate gain Ku and the ultimate period Tu
Find these by first closing the loop and then disabling the integral and derivative parts of the controller
(Td=0, Ti=very large), and increasing the proportional gain until the system begins to oscillate. Gain at
this point = Ku and period of oscillation = Tu
Controller
ysp
+
๏“
-
K
Plant
G(s)
y
e(s)
Problems with looking for ultimate gain in this way
๏‚ท
Often time consuming in practice, requiring several trials
๏‚ท
Process can be detrimental to plant equipment and product quality
๏‚ท
Can easily mistake other responses for the ultimate gain
a. small amplitude “limit cycles” due to valve friction or hysteresis
b. large amplitude oscillations due to actuator saturation
Alternative method for finding ultimate gain and period:
๏‚ท
for the closed-loop system, find controller gain that produces a 1/4 decay ratio
(overshoot of one peak is 25% of the peak before it). Let this be K25%
๏‚ท
Ku = 2 K25%
๏‚ท
Period of oscillation, T25%, will be approximately Tu (a little longer in practice, but close
enough)
119
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
4.2.1
Nyquist Plot Frequency Reponse Modelling
On a Nyquist plot:
๏‚ท
Look at open-loop response
๏‚ท
static gain Kp = point on plot where w=0
๏‚ท
Ku = -1 divided by ultimate point
๏‚ท
Tu = 2p divided by w at ultimate point
ultimate point
-1
+
Im G(j๏ท)
๏ท=0
Re G(j๏ท)
120
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
4.3
Simple Tuning Law
There are several tuning law can be implemented in order to obtain the desired response. These
tuning law are as follows:
i)
Ziegler – Nichols
๏‚ท
Step Response
๏‚ท
Ultimate Gain method
๏‚ท
Generalised ZN
ii) Chien, Hrones and Reswick Method
iii) Cohen Coon Method
4.3.1
Ziegler – Nichols Method
Ziegler-Nichols rule was first presented in 1942. This tuning law was developed empirically
based on large number of cases. It can be said as a standard starting point.
There are some drawbacks of using this rule mainly because it needs additional manual tuning
and not particularly robust.
Now we will employ this method for both step response and frequency response modeling.
121
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
4.3.1.1 Z-N method for Step Response modeling
Uses 2 parameter model “a” and “L”
CONTROLLER
TYPE
P
K
Ti
1/a
PI
PID
0.9/a
1.2/a
Consider the plant G(s) = (s+1)-3
a= 0.218
From step response
a = _____
L = _____
PID controller
L= 0.806
Tp
4L
3L
2L
Tp is the estimate of the period of the closed loop system
Example:
Td
L/2
5.7L
3.4L
122
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
K = ____, Ti = ____ and Td = ____
Overshoot in setpoint response is too large
123
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
4.3.1.2 Z-N Method for Frequency Response Modelling
PID settings based upon ultimate gain, Ku, and ultimate period, Tu
Aims to achieve effective disturbance rejection, and acceptable set point following
CONTROLLER
TYPE
P
K
0.5Ku
PI
PID
0.4Ku
0.6Ku
Example:
Consider the plant G(s) = (s+1)-3
Ti
Td
Tp
Tu
0.8Tu
0.5Tu
0.125Tu
1.4Tu
0.85Tu
124
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
From the Nyquist diagram
Ultimate Gain, Ku = _____
Ultimate Period, Tu = _____ = _____
PID controller
K = ____ Ti = ____ and Td = ____
4.3.2
The Chien, Hrones and Reswick Method – Improved Z-N step response modeling
The CHN method is a modified Z-N step response rules which can gives better damped closed
loop response.
The tuning method gives you two options depending on the desired response and they can be
either:
๏‚ท
quickest response without overshoot, or
๏‚ท
quickest response with 20% overshoot
125
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
CONTROLLER
TYPE
P
PI
PID
K
Ti
Td
0.3/a
0.6/a
0.95/a
4L
2.4L
0.42L
Option for 0% overshoot
CONTROLLER
TYPE
P
PI
PID
K
Ti
Td
0.7/a
0.7/a
1.2/a
2.3L
2L
0.42L
Option for 20% overshoot
4.3.3
Cohen-Coon Method
Based on plant model
G( s) ๏€ฝ
K 0 ๏€ญ sL
e
1 ๏€ซ sT
Attempts to position dominant poles that give quarter amplitude decay ratio by employing:
๏‚ท
Method same as the ZN rules
๏‚ท
This minimises the SS error due to load disturbances.
For PID control, 3 poles are assigned, two complex conjugate poles and the third real pole is
positioned at the same distance from the origin as the other 2 poles.
CONTROLLER
TYPE
K
P
(1/a)*[1+0.35๏ด/(1-๏ด)]
PI
(0.9/a)*[1+0.92๏ด/(1-๏ด)]
PD
(1.24/a)*[1+0.13๏ด/(1-๏ด)]
PID
(1.35/a)*[1+0.18๏ด/(1-๏ด)]
Ti
Td
[(3.3-3๏ด)/(1+1.2๏ด)]*L
[(2.5-2๏ด)/(1-0.39๏ด)]*L
Where a = K0L/T and ๏ด = L / (L+T) and K0 is the Open Loop DC Gain.
[(0.27-0.36๏ด) / (10.87๏ด)]*L
[(0.37-0.37๏ด)/(10.81๏ด)]*L
126
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
4.5
PID Tuning Rule of Thumb
PARAMETER
K increases
SPEED
Increases
STABILITY
Decreases
Ti increases
Decreases
Increases
Td increases
Does not really change
to much (Increase)
Increases
PID Tuning – A Summary
CONTROLLER
TYPE
P
PI
Z-N Step
Z-N Nyquist
K=1/a
0.5Ku
K=0.9/a
PID
K=1.2/a
amplitude
4.4
Ti=3L
Ti=2L
K=0.4Ku
Td=L/2 K=0.6ku Ti=0.5Pu Td=0.125Pu
open loop step
response
time
a
L
Ti=0.8Pu
127
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
step response with
closed loop proportional
control with gain Ku
amplitude
Pu
time
4.5.1
Interpretation of ZN Ultimate Gain Approach
The ZN ultimate gain approach can be interpreted as shifting a point in the Nyquist curve. The
technique is based around finding the “ultimate point”, where the Nyquist curve intercepts the real axis.
๏‚ท
P moves in direction of G(jw), or radially out.
๏‚ท
I moves in direction of G(jw)/jw, or at -90 degrees to P
๏‚ท
D moves in direction of jwG(jw), or at 90 degrees to P
ultimate point
= -1/Ku
Im G(j๏ท)
๏ท=0
-1
+
Re G(j๏ท)
I
P
D
A point on the Nyquist curve can
be moved to an arbitrary position
using PI, PD or PID control.
128
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
CHAPTER 5.0
ANALYSIS OF CONTROL SYSTEM STATE SPACE
The introduction of the state space representation has been discussed earlier in chapter 2.0. Please
refer to the chapter for basic overview of state space representation.
In this chapter, we will cover InsyaAllah the extension of state space representation for example the
conversion between the transfer function and state space equation. Also in this chapter we will gonna
look at how to solve the time invariant state equation, controllability and observability.
5.1
State Space Representation Extended
The transfer function of any system can be converted to state space equation and vice versa. Consider a
transfer function given by:
๐‘Œ(๐‘ )
= ๐บ(๐‘ )
๐‘ˆ(๐‘ )
This system may also be represented in state space as:
๐ฑ = ๐€๐ฑ + ๐๐‘ข
๐‘ฆ = ๐‚๐ฑ + ๐ท๐‘ข
Where x is the state vector, u is the input and y is the output. The Laplace Transform of the equations:
๐‘ ๐— ๐‘  − ๐ฑ 0 = ๐€๐— ๐‘  + ๐๐‘ˆ(๐‘ )
๐‘Œ ๐‘  = ๐‚๐— ๐‘  + ๐ท๐‘ˆ(๐‘ )
Assuming the initial conditions are zero
๐‘ ๐— ๐‘  − ๐€๐— ๐‘  = ๐๐‘ˆ(๐‘ )
Or
๐‘†๐ˆ − ๐€ ๐— ๐‘  = ๐๐‘ˆ(๐‘ )
By premultiplying (๐‘ ๐ˆ − ๐€)−1 to both sides of this equation, we obtain
๐‘‹ ๐‘  = ๐‘ ๐ˆ − ๐€
−1
๐๐‘ˆ(๐‘ )
Substitute into output equation;
๐‘Œ ๐‘  = ๐‚ ๐‘ ๐ˆ − ๐€
−1
๐ + ๐ท ๐‘ˆ(๐‘ )
129
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Comparing with the above equation, we see that
๐บ ๐‘  = ๐‚(๐‘ ๐ˆ − ๐€)−1 ๐ + ๐ท
5.1.1
Transfer Matrix
For MIMO system that the r inputs ๐‘ข1 , ๐‘ข2 , … … . , ๐‘ข๐‘Ÿ and m outputs ๐‘ฆ1 , ๐‘ฆ2 , … … . , ๐‘ฆ๐‘š define as:
๐‘ฆ1
๐‘ฆ2
๐‘ฆ= .
.
๐‘ฆ๐‘š
๐‘ข1
๐‘ข2
๐‘ข= .
.
๐‘ข๐‘Ÿ
The transfer matrix G(s) relates the output Y(s) to the input U(s), or
๐˜ ๐‘  = ๐† ๐‘  ๐”(๐‘ )
Since the input vector u is r dimensional and the ouput vector y is m dimensional, the transfer matrix is
an m x r matrix.
5.2
Converting State Space to transfer function
A modern complex system may have many inputs and outputs. Let say we have a state space
representations of the following:
๐‘ฆ ๐‘› + ๐‘Ž1 ๐‘ฆ ๐‘›−1 + โ‹ฏ + ๐‘Ž๐‘›−1 ๐‘ฆ + ๐‘Ž๐‘› ๐‘ฆ = ๐‘0 ๐‘ข๐‘› + ๐‘1 ๐‘ข๐‘›−1 + โ‹ฏ + ๐‘๐‘›−1 ๐‘ข + ๐‘๐‘› ๐‘ข
Controllable canonical form
๐‘ฅ1
0
๐‘ฅ2
0
.
.
=
.
.
๐‘ฅ๐‘›−1
0
−๐‘Ž๐‘›
๐‘ฅ๐‘›
๐‘ฆ = ๐‘๐‘› − ๐‘Ž1 ๐‘0
1
0
.
.
0
−๐‘Ž๐‘›−1
0
1
.
.
0
−๐‘Ž๐‘›−2
๐‘๐‘›−1 − ๐‘Ž๐‘›−1 ๐‘0
…
0
…
0
…
.
…
.
…
1
… −๐‘Ž1
๐‘ฅ1
0
๐‘ฅ2
0
.
.
. + . ๐‘ข
๐‘ฅ๐‘›−1
0
๐‘ฅ๐‘›
1
… . ๐‘1 − ๐‘Ž1 ๐‘0
๐‘ฅ1
๐‘ฅ2
.
. + ๐‘0 ๐‘ข
๐‘ฅ๐‘›−1
๐‘ฅ๐‘›
130
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Observable canonical form
๐‘ฅ1
0
๐‘ฅ2
1
.
.
=
.
.
๐‘ฅ๐‘›−1
0
0
๐‘ฅ๐‘›
0
0
.
.
0
0
…
…
…
…
…
…
0
0
.
.
0
1
๐‘ฅ1
๐‘๐‘› − ๐‘Ž1 ๐‘0
๐‘ฅ2
๐‘๐‘›−1 − ๐‘Ž๐‘›−1 ๐‘0
.
.
๐‘ข
. +
.
๐‘ฅ๐‘›−1
.
๐‘ฅ๐‘›
๐‘1 − ๐‘Ž1 ๐‘0
−๐‘Ž๐‘›
−๐‘Ž๐‘›−1
−๐‘Ž๐‘›−2
.
.
−๐‘Ž1
๐‘ฅ1
๐‘ฅ2
.
. + ๐‘0 ๐‘ข
๐‘ฅ๐‘›−1
๐‘ฅ๐‘›
๐‘ฆ= 0 0 … 0 1
Diagonal Canonical Form
Consider the transfer function system defined by equation below. In this case the denominator
polynomial involves only distinct roots only.
๐‘Œ(๐‘ ) ๐‘0 ๐‘  ๐‘› + ๐‘1 ๐‘  ๐‘›−1 + โ‹ฏ + ๐‘๐‘›−1 ๐‘  + ๐‘๐‘›
=
๐‘ˆ(๐‘ )
๐‘  + ๐‘1 ๐‘  + ๐‘2 … (๐‘  + ๐‘๐‘› )
๐‘
๐‘
๐‘
= ๐‘0 + ๐‘ +๐‘1 + ๐‘ +๐‘2 + โ‹ฏ + ๐‘ +๐‘๐‘›
1
๐‘ฅ1
−๐‘1
๐‘ฅ2
0
.
.
=
.
.
๐‘ฅ๐‘›−1
0
0
๐‘ฅ๐‘›
๐‘ฆ = ๐‘1
๐‘2
2
0
−๐‘2
.
.
0
0
… ๐‘๐‘›−1
…
…
…
…
…
…
๐‘๐‘›
๐‘›
0
0
0
0
.
.
.
.
0
.
0 −๐‘๐‘›
๐‘ฅ1
1
๐‘ฅ2
1
.
.
. + . ๐‘ข
๐‘ฅ๐‘›−1
.
๐‘ฅ๐‘›
1
๐‘ฅ1
๐‘ฅ2
.
. + ๐‘0 ๐‘ข
๐‘ฅ๐‘›−1
๐‘ฅ๐‘›
131
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Jordan Canonical Form
Consider the case where the denominator polynomial involves multiple roots.
๐‘Œ(๐‘ข)
๐‘0 ๐‘  ๐‘› + ๐‘1 ๐‘  ๐‘›−1 + โ‹ฏ + ๐‘๐‘›−1 ๐‘  + ๐‘๐‘›
=
๐‘ˆ(๐‘ )
๐‘  + ๐‘1 3 ๐‘  + ๐‘4 ๐‘  + ๐‘5 … (๐‘  + ๐‘๐‘› )
The partial fraction expansion becomes
๐‘Œ(๐‘ )
๐‘1
๐‘2
๐‘3
๐‘4
๐‘๐‘›
= ๐‘0 +
+
+
+
+
โ‹ฏ
+
๐‘ˆ(๐‘ )
(๐‘  + ๐‘1 )3 (๐‘  + ๐‘1 )2 (๐‘  + ๐‘1 ) (๐‘  + ๐‘4 )
(๐‘  + ๐‘๐‘› )
A state space representation of this system in the Jordan canonical form is given by:
−๐‘1
๐‘ฅ1
0
๐‘ฅ2
0
๐‘ฅ3
0
๐‘ฅ4
=
.
.
.
.
.
.
๐‘ฅ๐‘›
0
๐‘ฆ = ๐‘1
๐‘2
1
−๐‘1
0
0
0
1
−๐‘1
0
0
0
… ๐‘๐‘›−1
0
0
0
−๐‘4
.
.
.
0
๐‘๐‘›
…
…
…
…
…
0
0
0
0
.
.
.
−๐‘๐‘›
๐‘ฅ1
๐‘ฅ2
โ‹ฎ +๐‘0 ๐‘ข
๐‘ฅ๐‘›−1
๐‘ฅ๐‘›
๐‘ฅ1
0
๐‘ฅ2
0
๐‘ฅ3
1
๐‘ฅ4
1
. + . ๐‘ข
.
.
.
.
๐‘ฅ๐‘›
1
132
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
LECTURER’S NOTE
133
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
5.3
Controllability and Observability
5.3.1
Controllability
Controllability is a test of the ability of the actuators. A system is controllable if it is possible to transfer
any state with any set of initial conditions to any final state in some finite time period. Alternatively, a
system is only controllable if every mode (or state) is connected to the control input.
A system is referred to as “stabilizable” so long as we can state control all unstable modes. This might
mean that there are some stable uncontrollable states. Strictly speaking the dynamical system described
by the pair (A;B) is said to be (state-feedback) stabilizable if there exists a state feedback u=-Kx such that
A+BK is stable.
In order to test the controllability of a LTI system, the “Controllability Matrix” must be of full rank. The
Controllability matrix, ๐‚๐จ = ๐ ๐€๐ ๐€๐Ÿ ๐ … ๐€๐ง−๐Ÿ ๐ i.e the controllability matrix must be invertible. Note
the difference between rank and determinant. Often in uncontrollable systems, part of the system is
unconnected from input.
Additional tests are to show that the controllability Gramian P is positive definite, where P may be found
by the solution to the Lyapunov equation: ๐€๐ + ๐๐€๐“ = −๐๐๐“ .
Alternatively;
∞
๐‘‡
๐‘’ ๐€๐‘ก ๐๐๐‘‡ ๐‘’ ๐€ ๐‘ก ๐‘‘๐‘ก
๐≡
0
134
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 1:
Investigate the controllability of: ๐€ =
−1 0
1
,๐=
1 −2
2
Finding the Controllability Matrix,
๐‚0= ๐ ๐€๐
๐‚0=
1
2
−1
−3
Look at the determinant,
๐‚๐ŸŽ = −1 ≠ 0
The rank of this matrix is 2, hence the system is controllable.
Example 2:
Investigate the controllability of: ๐€ =
−1 0
1
,๐=
0 −1
3
Example 3:
Investigate the controllability of:
๐‘Œ(๐‘ )
1
=๐‘‡ ๐‘  = 3
2
๐‘ˆ(๐‘ )
๐‘† + ๐‘Ž2 ๐‘  + ๐‘Ž1 ๐‘  + ๐‘Ž0
135
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
5.3.2
Observability
Observability is a test of the ability of the sensors. A system is observable if every initial state x(0) can be
determined by observing the system output over some finite time period. A system is referred to as
“detectable” if all unstable modes are state observable. This may mean the system has unobservable
states which are stable. Strictly speaking the pair (C;A) is said to be detectable if there exists a matrix L
such that A+LC is stable.
In order to test the observability of an LTI system, the “Observability Matrix” must be of full rank. The
๐‚
๐‚๐€
observability matrix, ๐Ž๐› = ๐‚๐€๐Ÿ i.e the observability matrix must be invertible.
โ‹ฎ
๐‚๐€๐ง−๐Ÿ
Additional tests are to show that the controllability Gramian Q is positive definite, where Q may be
found by the solution to the Lyapunov equation: ๐€๐“ ๐ + ๐๐€ = −๐‚ ๐“ ๐‚.
Alternatively;
∞
๐‘‡
๐‘’ ๐€ ๐‘ก ๐‚ ๐‘‡ ๐‚๐‘’ ๐€๐‘ก ๐‘‘๐‘ก
๐≡
0
Example 1:
Investigate the observability of: ๐€ =
−1 0
, ๐‚ = 1 0 and ๐‚ = 0 1
1 −2
Finding the observability matrix,
๐‚= 1 0
๐‚๐€ = −1 0
๐Ž๐› =
1 0
−1 0
136
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Look at the determinant,
๐‚๐ŸŽ = 0
The rank of this matrix is 1, hence the system is non observable.
What about the other case?
Example 2:
Investigate the observability of: ๐€ =
−1 0
,๐‚= 1 3
1 −1
Example 3:
Investigate the observability of:
๐‘Œ(๐‘ )
1
=๐‘‡ ๐‘  = 3
2
๐‘ˆ(๐‘ )
๐‘† + ๐‘Ž2 ๐‘  + ๐‘Ž1 ๐‘  + ๐‘Ž0
137
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
5.4
Solving the time invariant State equation
The homogeneous State Equations is ๐ฑ = ๐€๐ฑ which gives:
๐‘ฅ ๐‘ก = ๐‘’ ๐€๐‘ก ๐‘ฅ(0)
Matrix ๐‘’ ๐€๐‘ก is a matrix exponential. This matrix is also known as the state transition matrix. It is
sometimes labeled as ๐œ™ ๐‘ก = ๐‘’ ๐€๐‘ก .
The state transition matrix is difficult to calculate. Hence there are two common ways of expressing it:
1. Expansion:
๐œ™ ๐‘ก = ๐‘’ ๐ด๐‘ก = ๐ผ + ๐ด๐‘ก +
๐ด2 ๐‘ก 2
๐ด๐‘˜ ๐‘ก ๐‘˜
+ โ‹ฏ+
2!
๐‘˜!
2. Inversion:
๐œ™ ๐‘ก = ๐ฟ−1 Φ ๐‘ 
= ๐ฟ−1 ๐‘ ๐ˆ − ๐€
−1
The forced response (in-homogeneous solution) is given by (assuming ๐‘ก0 = 0):
๐‘ก
๐’™ ๐‘ก = ๐‘’ ๐€๐‘ก ๐ฑ 0 +
๐‘’ ๐€ ๐‘ก−๐œ ๐๐ฎ ๐œ ๐‘‘๐œ
0
The output is therefore given by:
๐ฒ ๐‘ก = ๐‚๐ฑ ๐‘ก + ๐ƒ๐ฎ(๐‘ก)
Example 1:
Obtain the state transition matrix Φ(๐‘ก) of the following system.
๐‘ฅ1
0
1 ๐‘ฅ1
=
๐‘ฅ2
−2 −3 ๐‘ฅ2
Obtain also the inverse of the state transition matrix, Φ−1 ๐‘ก
For this sytem
๐ด=
The state transition matrix is given by
0
1
−2 −3
138
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Φ ๐‘ก = ๐‘’ ๐€๐‘ก = ๐ฟ−1 [ ๐ฌ๐ผ − ๐€
Since ๐‘ ๐ผ − ๐ด =
๐‘ 
0
−1
]
๐‘ 
−1
0
0
1
−
=
−2 ๐‘  + 3
๐‘ 
−2 −3
(sI − A)−1 =
1
s+3
s + 1 (s + 2) −2
๐‘ +3
๐‘  + 1 (๐‘  + 2)
−2
๐‘  + 1 (๐‘  + 2)
Hence Φ ๐‘ก = ๐‘’ ๐€๐‘ก = ๐‹−1 ๐‘ ๐ผ − ๐ด
−1
=
−1
s
1
๐‘  + 1 (๐‘  + 2)
๐‘ 
๐‘  + 1 (๐‘  + 2)
2๐‘’ −๐‘ก − ๐‘’ −2๐‘ก
−2๐‘’ −๐‘ก + 2๐‘’ −2๐‘ก
๐‘’ −๐‘ก − ๐‘’ −2๐‘ก
−๐‘’ −๐‘ก + 2๐‘’ −2๐‘ก
Noting that Φ−1 ๐‘ก = Φ(๐‘ก)
2๐‘’ −๐‘ก − ๐‘’ −2๐‘ก
−2๐‘’ −๐‘ก + 2๐‘’ −2๐‘ก
Φ−1 ๐‘ก = ๐‘’ −๐€๐‘ก =
๐‘’ −๐‘ก − ๐‘’ −2๐‘ก
−๐‘’ −๐‘ก + 2๐‘’ −2๐‘ก
Example 2: EM/APR 2008/KJM597/MEC522
a) An electro-hydraulic car suspension system can be modeled by the following state matrix
equation
๐‘ฅ1
๐‘ฅ2
๐‘˜−1
๐‘ฅ1
๐‘ฅ
๐‘˜
=
+ 1 ๐‘ข
1 ๐‘ฅ2
๐‘ฅ2
0
−
๐‘˜
๐‘ฅ1
๐‘ฆ = ๐‘1 ๐‘2 ๐‘ฅ
2
−1
Where ๐‘ฅ1 and ๐‘ฅ2 are suspension displacements, u is an electrical actuating signal and k is the
suspension stiffness.
i.
Determine the condition for the system to be controllable
ii.
If y is a single output displacement, (given as ๐‘1
๐‘2 where ๐‘1 and ๐‘2 are constants),
establish the conditions which must be avoided if the system is to remain observable.
b) If the values of k=2N/m, ๐‘1 =1 and ๐‘2 =0, determine
i.
The eigenvalue of the system
ii.
The state transition matrix
iii.
The variation of x(t) response to a step change in u(t) at time t=0 from u=0 to u=1N for
initial conditions ๐‘ฅ1 (๐‘ก) and ๐‘ฅ2 (๐‘ก) equal to zero.
139
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
CHAPTER 6.0
CONTROL SYSTEM DESIGN
We have discussed so far the importance of the closed-loop system poles on the dynamic performance
of the system. The transient-response specifications can be translated into desired locations for
dominant closed-loop poles. The roots of the characteristic equation, which are the poles of the closedloop system, determine the absolute and relative stability of the system. Therefore, an important study
in linear control systems is the investigation of the trajectories of the roots of the characteristic
equation, or simply, the root loci when a certain system parameter varies. The basic properties and
construction of root loci are first due to W.R. Evans (1948).
In this chapter, we will discuss the construction of root loci using simple rules. For plotting the root loci
accurately, one can always use standard computer program packages like MATLAB. The basics of root
loci should be thoroughly understood so that the engineers may be able to interpret the data provided
by root loci for system analysis and design.
6.1
Root locus technique
Consider the second-order system shown in Fig. 6.1, which represents a typical position control system.
The plant consists of a servomotor and load, driven by power amplifier with gain K. The open-loop
transfer function of the system is
G( s) ๏€ฝ
K
s( s ๏€ซ 2)
(6.1)
140
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.1: A position control system
Figure 6.2: Root locus for Eq. (6.3)
The open-loop poles, marked ๏‚ด in Fig. 5.2, are at s = 0 and s = -2. The closed-loop transfer function of the
system is
Y ( s)
G( s)
K
๏€ฝ
๏€ฝ 2
R( s ) 1 ๏€ซ G ( s ) s ๏€ซ 2 s ๏€ซ K
(6.2)
141
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The characteristic equation is
๏„( s ) ๏€ฝ s 2 ๏€ซ 2 s ๏€ซ K ๏€ฝ 0
(6.3)
This second order system is always stable for positive values of K. The relative stability of the system
depends upon the location of the closed-loop poles
s1, 2 ๏€ฝ ๏€ญ1 ๏‚ฑ 1 ๏€ญ K
(6.4)
and hence on the choice of the parameter K.
As K is varied from zero to infinity, the closed-loop poles move in the s-plane as shown in Fig. 6.2. At K =
0, the root s1 is equal to the open-loop pole at s = 0, and root s2 is equal to the open-loop pole at s = −2.
As K increases, the roots move toward each other. The two roots meet at s = −1 for K = 1. As K is
increased further, the roots breakaway from the real axis, become complex conjugate, and since the real
part of both roots remains fixed at s = −1, the roots move along the line ๏ณ = −1.
A root locus of a system is a plot of the roots of the system characteristic equation (poles of the closedloop transfer function) as some parameters of the system are varied.
The two branches A-C-E and B-C-D of the plot of Fig. 6.2 are thus two root loci of the system of Fig. 6.1.
Each root locus starts at an open-loop pole with K = 0 and terminates at infinity as K ๏‚ฎ ๏‚ฅ. Each root
locus gives one characteristic root (closed-loop pole) for a specific value of K.
The root locus plot gives us considerable information about the transient behavior of the system as gain
K is varied. From Fig. 6.2:
๏‚ท
For 0 < K < 1, the roots are real and distinct and the system is overdamped.
๏‚ท
For K = 1, the roots are real and repeated. Thus, the system is critically damped.
๏‚ท
For K > 1, the roots are complex conjugate and the system is underdamped with the value of ๏บ
decreasing as K increases.
142
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Thus, by choosing appropriate value of K, we can cause a characteristic root at any point on root locus.
For example, the dashed lines in Fig. 5.2 correspond to ๏บ = 0.707. The points where the root loci cross
the dashed lines have been marked ๏ฟ. These points corresponds to the closed loop poles for K = 2.
6.1.1
Basic properties of root loci
KG(s)
Figure 6.3: Typical control system
Consider the control system shown in Fig. 6.3. The closed-loop transfer function is
Y ( s)
KG ( s)
๏€ฝ
R( s) 1 ๏€ซ KG ( s) H ( s)
(6.5)
Let K be a positive quantity. The roots of the characteristics equation must satisfy the expression
or,
1 + KG(s)H(s) = 0
(6.6)
G(s)H(s) = -1/K
(6.7)
143
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Thus, any point s is a closed-loop pole or a root of the characteristic equation, if it satisfies the following
conditions (K > 0):
Magnitude condition: |G(s)H(s)| = 1/K
(6.8)
Angle condition: ๏ƒG(s)H(s) = (2q+1)๏ฐ = (2q+1) 180o
where q = 0, ±1, ±2, …
(6.9)
๏‚ท
The angle condition is used to determine the trajectory of the loci in the s-plane.
๏‚ท
Once the root loci are drawn, the values of K on the loci are determined by using the magnitude
condition.
Graphical Interpretation
Let KG ( s) H ( s) ๏€ฝ
K ( s ๏€ซ z1 )(s ๏€ซ z2 ) ๏Œ ( s ๏€ซ zm )
( s ๏€ซ p1 )(s ๏€ซ p2 ) ๏Œ ( s ๏€ซ pn )
(6.10)
The magnitude condition becomes
m
G(s) H (s) ๏€ฝ
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
i
i ๏€ฝ1
n
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
๏€ฝ
1
K
(6.11)
j
j ๏€ฝ1
The angle condition becomes
m
n
i ๏€ฝ1
j ๏€ฝ1
๏ƒG( s) H ( s) ๏€ฝ ๏ƒฅ ๏ƒ( s ๏€ซ zi ) ๏€ญ ๏ƒฅ ๏ƒ( s ๏€ซ p j ) ๏€ฝ ๏‚ฑ(2q ๏€ซ 1)180o where q = 0, 1, 2, …
(6.12)
144
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.4: Zero (z1) and pole (p1) on a complex plane
In Fig 6.4, let us assume a complex pole and real zero: s+p1 and s+z1 represent the respective vectors in
the complex plane. A and B are magnitudes of vectors (s+z1) and (s+p1) and ๏ฑ2 and ๏ฑ1 are angles of (s+z1)
and (s+p1), respectively.
The graphical interpretation is:
The difference between the sums of the angles of the vectors drawn from the zeros and those from
the poles of G(s)H(s) to s is an odd multiple of 180๏‚ฐ.
Once the root loci are constructed, the values of K along the loci can be determined. Thus, the
construction of root loci involves:
1. A search for all the points in the s-plane.
2. Find the magnitude of K on the root loci.
145
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
6.1.2
Properties and construction of root loci
The purpose of root locus is to show in graphical form the general trend of the roots of the characteristic
equation
๏„(s) = 1+KG(s)H(s) = 1+F(s) = 0
(6.13)
m
where
G ( s) H ( s) ๏€ฝ
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
i
; m๏‚ฃn
i ๏€ฝ1
n
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
(6.14)
j
j ๏€ฝ1
as the parameter K is varied from zero to infinity. Every point s = ๏ณ + j๏ท in the complex plane that
satisfies the angle criterion
m
n
i ๏€ฝ1
j ๏€ฝ1
๏ƒG( s) H ( s) ๏€ฝ ๏ƒฅ ๏ƒ( s ๏€ซ zi ) ๏€ญ ๏ƒฅ ๏ƒ( s ๏€ซ p j ) ๏€ฝ ๏‚ฑ(2q ๏€ซ 1)180o ; q = 0, 1, 2, ….
is on the root locus. The value of the parameter K corresponding to a point on the root locus can be
obtained from the magnitude criterion
m
G( s) H ( s) ๏€ฝ
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
i
i ๏€ฝ1
n
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
๏€ฝ
1
K
j
j ๏€ฝ1
In principle, the root locus for a given F(s) can be sketched by measuring ๏ƒF(s) at all the points of the
complex plane and marking down those places where we find ๏ƒF(s) equal to an odd multiple of 1800.
However, this trial-and-error method would be a very tedious task. Therefore, certain rules have been
developed for making a quick approximate sketch of the root locus. This approximate sketch provides a
guide for the selection of trial points such that a more accurate root locus can be obtained by a few
trials. Further, the approximate root locus sketch is very useful in visualizing the effects of variation of
the parameter K, the effects of shifting of pole-zero locations and of bringing a new set of poles and
zeros.
146
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Rules for Construction of Root Loci
The root locus for a given F(s) is to be sketched. F(s) has m zeros at s = -zi and n poles at s = -pj (refer to
Eq. (6.14)) where m ๏‚ฃ n. These m zeros and n poles of F(s) are referred to as open-loop zeros and openloop poles, respectively.
Rule 1: Number of Root Loci (Branches)
The root locus plot consists of n root loci (branches) as K varies from 0 to ๏‚ฅ. The loci are symmetric with
respect to the real axis.
The characteristic equation can be written as:
n
m
j ๏€ฝ1
i ๏€ฝ1
๏„( s) ๏€ฝ ๏ƒ• ( s ๏€ซ p j ) ๏€ซK ๏ƒ• ( s ๏€ซ zi ) ๏€ฝ 0
(6.15)
This equation has degree n. Thus, for each real K, there are n roots. As the roots are continuous function
of the coefficients of equation, the n roots form n continuous loci as K varies from 0 to ๏‚ฅ. Since the
complex roots occur in complex conjugate pairs, the root loci must be symmetrical about the real axis.
Rule 2: Starting and Ending Points of Root Loci
As K increases from 0 to ๏‚ฅ, each root locus starts from an open-loop pole with K = 0 and ends on an
open-loop zero or on ๏‚ฅ with K = ๏‚ฅ. The number of root loci ending at ๏‚ฅ equals the number of open-loop
poles minus zeros.
Refer to Eq. (6.15). When K = 0, the equation has roots at -pj (j = 1,๏‚ผ, n), which are open-loop poles.
Thus, the root loci start at open-loop poles.
Eq. (6.15) can be rearranged as
m
1 n
(
s
๏€ซ
p
)
๏€ซ
( s ๏€ซ zi ) ๏€ฝ 0
๏ƒ•
๏ƒ•
j
K j ๏€ฝ1
i ๏€ฝ1
When K = ๏‚ฅ, the equation has roots at –zi (i = 1, ๏‚ผ, m), which are open-loop zeros. Therefore, m root
loci end on the open-loop zeros.
147
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
In case m < n, the open-loop transfer function has (n - m) zeros at infinity. From the magnitude criterion,
m
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
i
i ๏€ฝ1
n
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
๏€ฝ
1
, we find that this is satisfied by s ๏‚ฎ ๏‚ฅej๏ช as
K
j
j ๏€ฝ1
K ๏‚ฎ ๏‚ฅ. Thus, (n - m) root loci end on infinity.
Rule 3: Asymptotes to Root Loci (Behavior at Infinity)
The (n − m) root loci which tend to ๏‚ฅ do so along straight line asymptotes radiating out from a single
point s= −๏ณa on the real axis (called the centroid) where
๏€ญ๏ณ a ๏€ฝ
๏ƒฅ (real part of open ๏€ญ loop poles ) ๏€ญ ๏ƒฅ (real part of open ๏€ญ loop zeros)
n๏€ญm
These (n − m) asymptotes have angles
๏ฆa ๏€ฝ
(2q ๏€ซ 1)1800
n๏€ญm
; q ๏€ฝ 0,1,๏Œ, (n ๏€ญ m ๏€ญ 1)
This rule will be justified by referring to a pole-zero patterns shown in Fig. 6.5. For a point far away from
the origin, the poles and zeros can be considered to cluster at the same point, say −๏ณa, as shown in Fig.
6.5. Thus, Eq. (6.15) can be approximated as
m
1๏€ซ
K ๏ƒ• ๏€จs ๏€ซ zi ๏€ฉ
i ๏€ฝ1
n
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
๏€ 1๏€ซ
K
(s ๏€ซ ๏ณ a ) n๏€ญm
๏€ฝ0
j
j ๏€ฝ1
This means that all m zeros are cancelled by poles, and only (n - m) poles are left at -๏ณa.
(6.16)
148
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.5: Asymptotes to root loci
From Eq. (6.16),
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
n
j
j ๏€ฝ1
m
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
๏€ (s ๏€ซ ๏ณ a ) n๏€ญm
(6.17)
i
i ๏€ฝ1
By simplifying this, we get,
m
๏ƒฆ n
๏ƒถ
s n๏€ญm ๏€ซ ๏ƒง๏ƒง ๏ƒฅ p j ๏€ญ ๏ƒฅ zi ๏ƒท๏ƒทs n๏€ญm๏€ญ1 ๏€ซ ๏‹ ๏€ฝ s n๏€ญm ๏€ซ ๏€จn ๏€ญ m๏€ฉ๏ณ a s n๏€ญm๏€ญ1 ๏€ซ ๏‹
i ๏€ฝ1
๏ƒจ j ๏€ฝ1
๏ƒธ
Thus, by comparison of coefficients, we get
๏€ญ๏ณa ๏€ฝ
n
m
j ๏€ฝ1
i ๏€ฝ1
๏ƒฅ (๏€ญ p j ) ๏€ญ ๏ƒฅ (๏€ญ zi )
n๏€ญm
Moreover, for the point s0 to be on the root locus,
๏€ญ (n ๏€ญ m)๏ฆ ๏€ฝ ๏€ญ(2q ๏€ซ 1)1800 ; q ๏€ฝ 0,1,๏Œ
Thus,
(2q ๏€ซ 1)1800
๏ฆa ๏€ฝ
n๏€ญm
; q ๏€ฝ 0,1,๏Œ, (n ๏€ญ m ๏€ญ 1)
(6.18)
149
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The (n - m) angles given by the above equation divide 3600 equally and are symmetric with respect to
real axis. The (n - m) root loci tend to ๏‚ฅ along (n - m) asymptotes radiating out from s = -๏ณa at angles ๏ฆa.
Example 6.1: The pole-zero map of Fig. 6.5 corresponds to
F(s) ๏€ฝ
K(s ๏€ซ 2 )
(s ๏€ซ 1 ๏€ซ j 4 )(s ๏€ซ 1 ๏€ญ j 4 )(s ๏€ซ 3 )(s ๏€ซ 4 )
(6.19)
The root loci has four branches, each starting from an open-loop pole with K = 0. One root locus will
terminate on open-loop zero with K = ๏‚ฅ. The other three loci will terminate on ๏‚ฅ as K ๏‚ฎ ๏‚ฅ along the
asymptotes radiating out from s = -๏ณa
where ๏€ญ ๏ณ a ๏€ฝ
๏€ญ 1 ๏€ญ 1 ๏€ญ 3 ๏€ญ 4 ๏€ญ (๏€ญ2)
7
๏€ฝ๏€ญ
4 ๏€ญ1
3
at angles 600, 1800, and 3000, respectively. Fig. 6.6 shows the asymptotes.
Figure 6.6: Asymptotes for Eq. (5.19)
150
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Rule 4: On-Locus Segments on the Real Axis
A point on the real axis lies on the locus if the number of open-loop poles plus zeros on the real axis to
the right of this point is odd.
For the system of Eq. (6.19), the open-loop pole-zeros are shown in Fig. 6.7(a). Take a point s0 on the
real axis. Join this point to all the open-loop poles and zeros. It is seen that (i) poles and zeros on the real
axis to the right of this point contribute an angle of 1800 each, (ii) poles and zeros to the left of this point
contribute angle of 00 each, and (iii) the net angle contribution of a complex conjugate pole or zero pair
is always zero.
Thus, ๏ƒF(s)=(mr – nr)1800 = ๏‚ฑ(2q+1) 1800 , q = 0, 1, 2, …
where mr = number of open-loop zeros on the real axis to the right of s0 and nr = number of open-loop
poles on the real axis to the right of s0. Thus, the angle criterion is satisfied if (nr – mr) or (nr + mr) is odd
and hence the rule. Thus, the real axis can be divided into segments on-locus and not-on-locus; the
dividing points being the real open-loop poles and zeros. The on-locus segments of the real axis
alternate as shown in Fig. 6.7(b).
Figure 6.7: On-locus segments of the real axis
151
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Rule 5: On-Locus Points of the Imaginary Axis
The intersections (if any) of root loci with the imaginary axis can be determined by use of the Routh
criterion.
Segments of root loci can exist in the right half of s-plane. This signifies instability. The points at which
the root loci cross the imaginary axis define the stability limits. The Routh Table determines the gains at
the stability limit. By using this gain in the auxiliary equation, the value s = j๏ท0 at the stability limit is
computed.
Example 6.2: The characteristic equation of system in Eq. (5.19) is
s 4 ๏€ซ 9s3 ๏€ซ 43s 2 ๏€ซ (143 ๏€ซ K )s ๏€ซ 204 ๏€ซ 2K ๏€ฝ 0
(6.20)
The corresponding Routh Table is shown below.
s4
1
43
s3
9
143+K
s2
(244 – K)/9
204+2K
s1
(18368 – 61K – K2)/(244 – K)
s0
204+2K
204+2K
For stability, 244 – K > 0, 18368 – 61K – K2 > 0, and 204 + 2K > 0. It can be seen that these conditions are
satisfied if K < 108.4. For K = 108.4, all the coefficients in s1 row are zero. Thus, the auxiliary equation is
formed from the coefficients of s2 row and is given by
244 ๏€ญ K 2
s ๏€ซ (204 ๏€ซ 2 K ) ๏€ฝ 0
9
For K = 108.4, the roots of the above equation lie on the j๏ท axis and are given by s = ๏‚ฑj5.28. Thus, the
root loci intersect the imaginary axis at s = ๏‚ฑj5.28 and the corresponding value of K is 108.4.
152
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Rule 6: Angle of Departure from Complex Poles
The angle of departure, ๏ฆp, of a locus from a complex open-loop pole is given by ๏ฆp = 1800+๏ฆ where ๏ฆ is
the net angle contribution at this pole of all other open-loop poles and zeros.
Example 6.3: For the system of Eq. (6.19), the characteristic equation is
1 ๏€ซ F(s) ๏€ฝ 1 ๏€ซ
K(s ๏€ซ 2 )
๏€ฝ0
(s ๏€ซ 1 ๏€ซ j 4 )(s ๏€ซ 1 ๏€ญ j 4 )(s ๏€ซ 3 )(s ๏€ซ 4 )
(6.21)
The pole zero-map is shown in Fig. 6.8.
Figure 6.8: Angle of departure from complex poles
Let s0 be an arbitrary point on the root locus starting from s = -1+j4. The phase from this pole to s0 is ๏ฆp.
The net angle contribution of all other open-loop poles and zeros at s0 is
๏ฆ ๏€ฝ ๏ฑ 2 ๏€ญ (๏ฑ1 ๏€ซ ๏ฑ 3 ๏€ซ ๏ฑ 4 )
Thus, the total phase of F(s) at s0 is ๏ฆ - ๏ฆp. For s0 to be on the root locus, the total phase must be ๏‚ฑ1800.
So, ๏ฆp = 1800 +๏ฆ. This is the angle of departure from the complex open-loop pole.
153
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
If s0 is very close to the pole -1+j4, then the vectors drawn from all other poles and zeros to s0 can be
approximated by the vector drawn to the pole at -1+j4, i.e., we consider s0 to be -1+j4 for measurement
of angles ๏ฑ1, ๏ฑ2, ๏ฑ3, and ๏ฑ4. With this approximation, for this example, ๏ฑ1 = 900, ๏ฑ2 = 760, ๏ฑ3 = 630, and ๏ฑ4 =
530. So, ๏ฆ ๏€ฝ ๏ฑ 2 ๏€ญ (๏ฑ1 ๏€ซ ๏ฑ 3 ๏€ซ ๏ฑ 4 ) ๏€ฝ ๏€ญ1300 and ๏ฆp = 1800 + ๏ฆ = 500. A rough sketch of the root locus for this
system is shown in Fig. 5.9.
Figure 6.9: Root locus plot for Eq. (6.21)
There are four open-loop poles, so there are four loci. One locus departs from real pole at –3 and ends
on the zero at –2 along the real axis. The second locus departs from real pole at –4 and moves along the
asymptote on the negative real axis. The third locus departs from the complex pole at –1+j4 with a
departure angle of ๏ฆp = 500 and moves toward the asymptote radiating from the centroid at –7/3 at an
angle of +600; it crosses the imaginary axis at j5.28. Using the symmetry property, the fourth locus is
obtained immediately by reflection about the real axis.
154
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Rule 7: Angle of Arrival at Complex Zeros
The angle of arrival, ๏ฆz , of a locus at a complex zero is given by ๏ฆz = 1800 – ๏ฆ , where ๏ฆ is the net angle
contribution at this zero of all other open-loop poles and zeros.
Example 6.4: Let us consider the characteristic equation
1 ๏€ซ F ( s) ๏€ฝ 1 ๏€ซ
K ( s 2 ๏€ซ 1)
๏€ฝ0
s( s ๏€ซ 2)
(6.22)
The pole-zero map of this F(s) is shown in Fig. 6.10. Open loop poles: s = 0, –2. Open-loop zeros: s = ๏‚ฑj1.
Let s0 be an arbitrary point on the root locus terminating on the zero at s = j1. Let the phase from this
zero to s0 = ๏ฆz. If the point s0 is very close to the zero at j1, then the vectors drawn from the other zero at
–j1 and poles at 0 and –2 to s0 can be approximated by vectors to the zero at j1. Under this
approximation, the net angle contribution at s0 is given by
๏ฆ = 900 – 900 – 26.50 = – 26.50.
For s0 to be on the root locus, the total phase must be ๏‚ฑ1800. Thus, ๏ฆz = 1800 – ๏ฆ = 206.50. The complete
root locus plot is shown in Fig. 6.10.
Figure 6.10: Angle of arrival at complex zero
155
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Rule 8: Location of Multiple Roots
Points at which multiple roots of the characteristic equation occur (breakaway points of root loci) are the
solutions of
dK
๏€ฝ0
ds
(6.23)
where
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
n
j
K ๏€ฝ๏€ญ
j ๏€ฝ1
m
(6.24)
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
i
i ๏€ฝ1
Let us assume that the characteristic equation has a multiple root at s = s0 of multiplicity r. Then,
1 ๏€ซ F (s) ๏€ฝ (s ๏€ญ s0 )r M (s)
,r๏‚ณ2
(6.25)
where M(s) does not contain the factor (s - s0). Thus, by differentiating Eq. (6.25), we have
๏›
๏
(5.26)
KB( s)
๏€ฝ0
A( s)
(6.27)
dF
๏€ฝ ( s ๏€ญ s0 )r ๏€ญ1 rM ( s) ๏€ซ ( s ๏€ญ s0 ) M ' ( s)
ds
At s = s0, the RHS of Eq. (6.26) is zero. Thus, at s = s0,
dF
๏€ฝ0
ds
In pole-zero form, the characteristic equation is:
m
1 ๏€ซ F (s) ๏€ฝ 1 ๏€ซ
K ๏ƒ• ๏€จs ๏€ซ zi ๏€ฉ
i ๏€ฝ1
n
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
๏€ฝ1๏€ซ
j
j ๏€ฝ1
Thus,
dF
A( s) B๏‚ข( s) ๏€ญ A๏‚ข( s) B( s)
๏€ฝK
๏€ฝ0
ds
๏›A(s)๏2
(6.28)
Therefore, the breakaway points are the roots of
A(s) B ' (s) ๏€ญ A' (s) B(s) ๏€ฝ 0
(6.29)
156
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
This equation can be equivalently represented as
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
n
dK
A(s)
๏€ฝ 0 , where K ๏€ฝ ๏€ญ
๏€ฝ๏€ญ
ds
B(s)
j
j ๏€ฝ1
m
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
(6.30)
i
i ๏€ฝ1
Example 6.5: Consider the characteristic equation
1๏€ซ
K ( s ๏€ซ 2)(s ๏€ซ 3)
KB( s)
๏€ฝ1๏€ซ
๏€ฝ0
s( s ๏€ซ 1)
A( s)
(6.31)
Fig. 6.11 shows the open-loop poles and zeros on the complex plane. Root loci segments exist on the
negative real axis between 0 and –1 and between –2 and –3. At K = 0, the roots are at s = 0 and s = –1.
As K increases, the two roots move away from poles at 0 and –1 toward each other inside the segment [1,0]. At some K, the two real roots will become repeated real roots and then break away from the real
axis into two complex conjugate roots. Such a point is called a breakaway point.
Figure 6.11: Root locus plot for Eq. (6.31)
Similarly as K approaches ๏‚ฅ, one root will approach zero at s = –2 along the negative real axis and
another will approach zero at s = –3. As the root loci are continuous, the two complex conjugate roots
will approach the real axis somewhere inside the segment [–3, –2] and then depart in opposite
directions along the real axis. This point is also another breakaway point. Sometimes, such a point is also
called as break-in point.
Applying Eq. (6.30) to this case, we get the solutions of dK/ds = 0 as s = –0.634 and s = –2.366. Thus, the
root locus has two breakaway points.
157
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
It is important to note that the condition for the breakaway point (as derived above) is necessary but
not sufficient. In other words, all breakaway points on root locus must satisfy Eq. (6.30), but not all
points that satisfy Eq. (6.30) are breakaway points.
SUMMARY OF RULES FOR ROOT LOCUS PLOTTING
The characteristic equation of the system is
m
1 ๏€ซ KG ( s ) H ( s) ๏€ฝ 1 ๏€ซ F ( s ) ๏€ฝ 1 ๏€ซ
K ๏ƒ• ๏€จs ๏€ซ zi ๏€ฉ
i ๏€ฝ1
n
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
๏€ฝ0
j
j ๏€ฝ1
; m๏‚ฃn ; K ๏‚ณ0
1. The root locus plot consists of n root loci (branches) as K varies from 0 to ๏‚ฅ. The loci are symmetric
with respect to real axis.
2. As K increases from 0 to ๏‚ฅ, each root locus starts from an open-loop pole with K = 0 and ends on an
open-loop zero or on ๏‚ฅ with K = ๏‚ฅ. The number of root loci ending at ๏‚ฅ equals the number of openloop poles minus zeros.
3. The (n - m) root loci which tend to ๏‚ฅ do so along straight line asymptotes radiating out from a single
point s= -๏ณa on the real axis (called the centroid) where
๏€ญ๏ณa ๏€ฝ
๏ƒฅ (real part of open ๏€ญ loop poles ) ๏€ญ ๏ƒฅ (real part of open ๏€ญ loop zeros)
n๏€ญm
These (n - m) asymptotes have angles
๏ฆa ๏€ฝ
(2q ๏€ซ 1)1800
n๏€ญm
; q ๏€ฝ 0,1,๏Œ, (n ๏€ญ m ๏€ญ 1)
4. A point on the real axis lies on the locus if the number of open-loop poles plus zeros on the real axis
to the right of this point is odd. By use of this fact, the real axis can be divided into segments onlocus and not-on-locus; the dividing points being the real open-loop poles and zeros.
5. The intersections (if any) of root loci with the imaginary axis can be determined by use of Routh
criterion.
6. The angle of departure ๏ฆp of a locus from a complex open-loop pole is given by ๏ฆp = 1800 + ๏ฆ, where
๏ฆ is the net angle contribution at this pole of all other open-loop poles and zeros.
158
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
7. The angle of arrival ๏ฆz of a locus at a complex zero is given by ๏ฆz = 1800 - ๏ฆ , where ๏ฆ is the net angle
contribution at this zero of all other open-loop poles and zeros.
8. Points at which multiple roots of the characteristic equation occur (breakaway points of root loci)
๏ƒ• ๏€จs ๏€ซ p ๏€ฉ
n
dK
are the solutions of
๏€ฝ0
ds
j
K ๏€ฝ๏€ญ
where
j ๏€ฝ1
m
๏ƒ• ๏€จs ๏€ซ z ๏€ฉ
i
i ๏€ฝ1
6.1.3
A complete example
Question: Consider a feedback system with the characteristic equation
1๏€ซ
K
๏€ฝ0 ; K ๏‚ณ0
s( s ๏€ซ 1)(s ๏€ซ 2)
(6.32)
Plot the root locus for this system.
Solution:
The open-loop poles are located at s = 0, −1, −2. There are no finite open-loop zeros. The pole-zero
configuration is shown in Fig. 5.12.
Rule 1 tells that the root locus plot consists of three root loci as K varies from 0 to ๏‚ฅ.
Rule 2 tells that the three root loci originate from the three open loop poles with K = 0 and terminate on
๏‚ฅ with K = ๏‚ฅ.
Rule 3 tells that the three root loci tend to ๏‚ฅ along asymptotes radiating out from
s ๏€ฝ ๏€ญ๏ณ a ๏€ฝ
๏€ฝ
๏ƒฅ (real parts of
poles ) ๏€ญ ๏ƒฅ (real parts of zeros)
number of poles ๏€ญ number of zeros
๏€ญ 2 ๏€ญ1
๏€ฝ ๏€ญ1
3๏€ญ0
with angles
(2q ๏€ซ 1)1800
๏ฆa ๏€ฝ
; q ๏€ฝ 0,1,2, ๏Œ
number of poles ๏€ญ number of zeros
(2q ๏€ซ 1)1800
; q ๏€ฝ 0,1,2
3
๏€ฝ 600 ,1800 , 3000
๏€ฝ
159
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The asymptotes are shown by dotted lines.
Figure 6.12: Root locus plot for Eq. (6.32)
Rule 4 tells that the segments of real axis between 0 and –1, and between –2 and -๏‚ฅ lie on the root
locus. On-locus segments are shown by thick lines in the Figure.
From Fig. 6.12, it is seen that out of the three loci, one is a real-root locus originating from s = −2 and
terminating on −๏‚ฅ. The other two loci originate from s = 0 and s = −1, and move on the real axis towards
each other as K increases. Their meeting point corresponds to a double root. As K increases further, the
root loci breakaway from the real axis to give complex conjugate pair of roots.
Rule 5 is used to calculate the intersection points on the imaginary axis by Routh Table. The
characteristic equation can be written as
s3 ๏€ซ 3s 2 ๏€ซ 2s ๏€ซ K ๏€ฝ 0
The Routh Table is given below.
s3
1
2
s2
3
K
s
1
s0
(6-K)/3
K
160
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
For all roots to lie on the left half of the s-plane, the following conditions must be satisfied.
K > 0, and (6 − K)/3 > 0
Therefore, the critical value of K, which corresponds to the roots on the imaginary axis, is 6. K = 6 makes
all the coefficients on s1 row to be zero. The auxiliary equation is formed from the coefficients of the s2
row as:
3s 2 ๏€ซ K ๏€ฝ 3s 2 ๏€ซ 6 ๏€ฝ 0
The roots of this equation lie on the j๏ท axis and are given by s ๏€ฝ ๏‚ฑ j 2 which are also the points where
the two root loci intersect the imaginary axis and the intersection points correspond to K = 6.
Rule 6 and Rule 7 are not necessary in this case since there are no open-loop complex poles or zeros.
Rule 8 is used to determine the breakaway points. From the characteristic equation of the system,
K = −(s3 + 3s2 + 2s).
Thus, by differentiating K and equate it to zero,
dK
๏€ฝ ๏€ญ(3s 2 ๏€ซ 6s ๏€ซ 2) ๏€ฝ 0
ds
The solutions of this equation are:
s = −0.4226 and s = −1.5774
Thus, s = −0.4226 is the breakaway point and, since the other point s = −1.5774 is not on the root locus,
it is not a breakaway point.
If two loci breakaway from a breakaway point, their tangents will be 1800 apart. In general, if r loci
breakaway from a breakaway point, then their tangents will be 3600/r apart, i.e., the tangents will
equally divide 3600.
The complete root loci are shown in Fig. 6.12. For K > 6, the system has two closed-loop poles in the
right half s-plane.
A closed-loop pole with ๏บ = 0.5 lies on a line passing through the origin and making an angle cos-1๏บ = 600
with the negative real axis. From Fig. 6.12, the points of intersection are s = −0.33 ๏‚ฑ j0.58 which are the
dominant closed-loop poles. From the magnitude criterion, the corresponding K can be found.
K ๏€ฝ ๏ปs s ๏€ซ 1 s ๏€ซ 2 ๏ฝs ๏€ฝ ๏€ญ0.33๏€ซ j 0.58 ๏€ฝ 1.04
161
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Additional Example
Question: Sketch the root lo
cus of a unity feedback system with forward path transfer function G(s) given as follows:
G(s) ๏€ฝ
K
s(s ๏€ซ 4s ๏€ซ 5 )
2
Solution:
The open-loop poles are located at s = 0, −2+j, −2−j. There are no finite open-loop zeros.
Rule 1 tells that the root locus plot consists of three root loci as K varies from 0 to ๏‚ฅ.
Rule 2 tells that the three root loci originate from the three open loop poles with K = 0 and terminate on
๏‚ฅ with K = ๏‚ฅ.
Rule 3 tells that the three root loci tend to ๏‚ฅ along asymptotes radiating out from
s ๏€ฝ ๏€ญ๏ณ a ๏€ฝ
๏€ฝ
๏ƒฅ (real parts of
poles ) ๏€ญ ๏ƒฅ (real parts of zeros)
number of poles ๏€ญ number of zeros
๏€ญ2๏€ญ2
๏€ฝ ๏€ญ4 / 3
3๏€ญ0
with angles
(2q ๏€ซ 1)1800
๏ฆa ๏€ฝ
; q ๏€ฝ 0,1,2, ๏Œ
number of poles ๏€ญ number of zeros
(2q ๏€ซ 1)1800
; q ๏€ฝ 0,1,2
3
๏€ฝ 600 ,1800 , 3000
๏€ฝ
Rule 4 tells that the segments of real axis between 0 and –๏‚ฅ lie on the root locus.
Rule 5 is used to calculate the intersection points on the imaginary axis by Routh Table. The
characteristic equation can be written as
s 3 ๏€ซ 4s 2 ๏€ซ 5s ๏€ซ K ๏€ฝ 0
162
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The Routh Table is given below.
s3
1
5
s2
4
K
s1
(20-K)/4
s
0
K
For all roots to lie on the left half of the s-plane, the following conditions must be satisfied.
K > 0, and (20−K)/4 > 0
Therefore, the critical value of K, which corresponds to the roots on the imaginary axis, is 20. K = 20
makes all the coefficients on s1 row to be zero. The auxiliary equation is formed from the coefficients of
the s2 row as:
4s 2 ๏€ซ K ๏€ฝ 4s 2 ๏€ซ 20 ๏€ฝ 0
The roots of this equation lie on the j๏ท axis and are given by s ๏€ฝ ๏‚ฑ j 5 which are also the points where
the two root loci intersect the imaginary axis and the intersection points correspond to K = 20.
Rule 6 tells the angle of departure for complex poles.
For pole −2+j,
φ ๏€ฝ ๏€ญ153.43 ๏€ญ 90 and ๏ฆp = 1800 + ๏ฆ = -63.430
For pole −2−j,
๏ฆp = 63.430
Rule 8 is used to determine the breakaway points. From the characteristic equation of the system, K =
−(s3 + 4s2 + 5s).
Thus, by differentiating K and equate it to zero,
dK
๏€ฝ ๏€ญ( 3s 2 ๏€ซ 8s ๏€ซ 5 ) ๏€ฝ 0
ds
The solutions of this equation are:
s = −1 and s = −1.667
Since the complete negative real axis is on the root loci, both are valid breakaway or break-in points.
K s ๏€ฝ๏€ญ1 ๏€ฝ 2 , K s ๏€ฝ๏€ญ1.667 ๏€ฝ 1.852
163
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
164
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
6.1.4
Effects of addition of poles and zeros to G(s)H(s)
The controller design in control systems may be treated as an investigation of the effects to root loci
when poles and zeros are added to the loop transfer function KG(s)H(s).
Addition of Poles to G(s)H(s)
Adding a pole to G(s)H(s) has the effect of pushing the root loci toward the right-half s-plane.
Example 6.6: Consider the loop transfer function KG ( s) H ( s) ๏€ฝ
K
s( s ๏€ซ 2)
The root loci are shown in Fig. 6.13(a). It is noted that the system is stable for all K. Let us introduce a
pole at s = −b (b > 2). The loop transfer function G(s)H(s) becomes, with b = 3,
KG ( s) H ( s) ๏€ฝ
K
K
๏€ฝ
s( s ๏€ซ 2)(s ๏€ซ b) s( s ๏€ซ 2)(s ๏€ซ 3)
The root loci are shown in Fig. 6.13(b) where the root loci bend towards the right-half s-plane. The
asymptote angles and centroid are changed from ๏‚ฑ90๏‚ฐ to ๏‚ฑ60๏‚ฐ and –1 to –(2+b)/3, respectively. The
addition of a pole may make the system unstable if K exceeds the stability limit.
Figure 6.13(a): Root loci for
K
s ( s ๏€ซ 2)
165
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.13(b): Root loci for
K
s( s ๏€ซ 2)( s ๏€ซ 3)
Addition of Zeros to G(s)H(s)
Adding left-half plane zeros to the function G(s)H(s) generally has the effect of moving and bending the
root loci toward the left-half s-plane.
Fig. 6.14 shows the root loci of G(s)H(s) with a zero added at s = −3. The complex conjugate parts of root
loci of the original system are bent towards the left and form a circle. Thus, the relative stability is
improved by the addition of the zero.
166
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Figure 6.14: Root locus for
6.1.5
K ( s ๏€ซ 3)
.
s ( s ๏€ซ 2)
Compensator design via root locus
The preceding chapters have shown that it is often possible to adjust the system parameters in order to
provide the desired system response. However, we often find that it is not sufficient to reconsider the
structure of the system and redesign the system in order to obtain a suitable one. That is, we must
examine the scheme or plan of the system and obtain a new design or plan that results in a suitable
system. Thus the design of a control system is concerned with the arrangement, or the plan, of the
system structure and the selection of suitable components performance is called compensation.
Compensation is the adjustment of a system in order to make up for deficiencies or inadequacies. In
redesigning a control system to alter the system response, an additional component is inserted within
the structure of the feedback system. It is this additional component or device that equalizes or
compensates for the performance deficiency.
167
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The compensating device may be electric, mechanical, hydraulic, pneumatic, or some other type of
device or network and is often called a compensator. Commonly an electric circuit serves as a
compensator in many control systems. A compensator is an additional component or circuit that is
inserted into a control system to compensate for a deficient performance. The transfer function of a
compensator is designated as ๐บ๐‘ ๐‘  = ๐ธ0 (๐‘ )/๐ธ๐‘–๐‘› (๐‘ ), and the compensator can be placed in a suitable
location within the structure of the system. Several types of compensation are shown in Figure 6.15 for
a simple, single-loop feedback control system. The compensator placed in the feedforward path is called
a cascade, or series, compensator (6.15a)
Figure 6.15: Types of compensation (a) Cascaded compensation. (b) Feedback compensation. (c) Output,
or load compensation. (d) Input compensation
The objectives of introducing compensator can be categorized as follows:
i.
Use PI and phase-lag compensators to improve steady-state error.
ii.
Use PD and phase-lead compensators to improve transient response.
168
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Ideal PI compensator design
The PI compensator’s transfer function is given by:
๐พ2
๐พ2 ๐พ1 (๐‘  + ๐พ1 )
๐บ๐‘ ๐‘  = ๐พ1 +
=
๐‘ 
๐‘ 
The ideal PI compensator’s transfer function is given by;
๐บ๐‘ ๐‘  =
๐‘ +๐‘Ž
๐‘ 
169
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 6.7:
Given a uncompensated system operating with a damping ration of 0.174. Find out the steady state
error for a unit step input. Design an ideal PI compensator to reduce the steady-state error to zero
without appreciably affecting transient response.
If the original OLTF is ๐บ ๐‘  =
1
๐‘ +1 ๐‘ +2 (๐‘ +10)
operating with a damping ratio of 0.174, then design a PI
compensator to reduce the steady-state error to zero for a step input without appreciably affecting
transient response. The compensator has a zero at -0.1, close to the compensator pole.
To achieve these requirements, the compensated system should have a dominant closed-loop pole at
๐‘ 1 = −0.694 + ๐‘—3.926, ๐พ = 164.6
170
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Thus, the steady-state error is
๐‘’๐‘ ๐‘ ,๐‘ ๐‘ก๐‘’๐‘ =
1
1
=
= 0.108
1 + ๐พ๐‘ 1 + 164.6/20
The dominant pole of the compensated system and the gain are approximately the same as for the
uncompensated system
๐‘’๐‘ ๐‘ ,๐‘ ๐‘ก๐‘’๐‘ =
1
1
=
=0
1 + ๐พ๐‘ 1 + lim ๐บ๐‘ ๐บ(๐‘ )
๐‘ →0
171
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
General first-order compensators
Consider the first-order compensator with the transfer function
๐บ๐‘ =
๐พ(๐‘  − ๐‘ง0 )
๐‘  − ๐‘0
When |๐‘ง0 |<|๐‘0 |, the compensator is called a phase-lead compensator, because this results in a
contribution to the angle criterion of the root locus that is always positive.
∠๐บ๐‘ ๐‘  = ∠๐‘  − ๐‘ง0 − ∠๐‘  − ๐‘0 = ๐œƒ๐‘ง − ๐œƒ๐‘ > 0
When |๐‘ง0 |>|๐‘0 |, the compensator is called a phase-lag compensator, because this results in a
contribution to the angle criterion of the root locus that is always positive.
∠๐บ๐‘ ๐‘  = ∠๐‘  − ๐‘ง0 − ∠๐‘  − ๐‘0 = ๐œƒ๐‘ง − ๐œƒ๐‘ < 0
172
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Phase-lead compensator design
The compensator transfer function is given by:
๐บ๐‘ ๐‘  =
๐พ๐‘ (๐‘  − ๐‘ง0 )
๐‘  − ๐‘0
and it can be re-written in a form as:
๐บ๐‘ ๐‘  =
๐‘Ž1 ๐‘  + ๐‘Ž0
๐‘1 ๐‘  + 1
Where,
๐พ๐‘ =
๐‘Ž1
๐‘Ž0
1
, ๐‘ง0 = − , ๐‘0 = −
๐‘1
๐‘Ž1
๐‘1
The compensator DC gain is ๐ท๐ถ๐‘”๐‘Ž๐‘–๐‘› = lim๐‘ →0 ๐บ๐‘ ๐‘  = ๐‘Ž0
Assume that the parameter ๐‘Ž0 is either known or can be determined. The design problem is to find
๐‘Ž1 and ๐‘1 such that the compensated system will have a closed-loop pole at ๐‘  = ๐‘ 1 .
First we express ๐‘ 1 and G(s)H(s) as
๐‘ 1 = ๐‘ 1 ๐‘’ ๐‘—๐›ฝ
๐บ ๐‘ 1 ๐ป ๐‘ 1 = ๐บ ๐‘ 1 ๐ป(๐‘ 1 ) ๐‘’ ๐‘—๐œ“
From the characteristics equation, we get 1 +
๐‘Ž 1 ๐‘ +๐‘Ž 0
๐บ
๐‘1 ๐‘ +1
๐‘  ๐ป ๐‘  =0
Equating magnitudes and angles, we can rewrite as
๐‘Ž1 ๐‘ 1 + ๐‘Ž0
๐บ ๐‘ 1 ๐ป(๐‘ 1 ) = 1
๐‘1 ๐‘ 1 + 1
∠
๐‘Ž1 ๐‘ 1 + ๐‘Ž0 ∠๐บ ๐‘ 1 ๐ป(๐‘ 1 )
+
= 180°
๐‘1 ๐‘ 1 + 1
๐œ“
Where
๐‘Ž1 =
sin ๐›ฝ + ๐‘Ž0 ๐บ ๐‘ 1 ๐ป(๐‘ 1 ) sin(๐›ฝ − ๐œ“)
๐‘ 1 ๐บ ๐‘ 1 ๐ป(๐‘ 1 ) sin ๐œ“
173
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
๐‘1 =
sin(๐›ฝ + ๐œ“) + ๐‘Ž0 ๐บ ๐‘ 1 ๐ป(๐‘ 1 ) sin ๐›ฝ
− ๐‘ 1 sin ๐œ“
Example 6.8:
Design a phase-lead compensator such that the closed-loop compensated system has a settling time
around 4 sec. and a percent overshoot around 4.32%. The compensator has a DC gain as 0.15.
To achieve these requirements, the compensated system should have a dominant closed-loop pole at
๐‘ 1= − 1 + ๐‘–. Because the DC gain for ๐บ๐‘ (๐‘ ) is 0.15, so we have ๐‘Ž0 =0.15.
At ๐‘ 1= − 1 + ๐‘–, we have ๐‘ 
21
๐‘ +1 (๐‘ +3) ๐‘  −1+๐‘–
1=
= −2.1 + 6.3๐‘— = 6.64∠108.43°
Also, we have ๐‘ 1= − 1 + ๐‘– = 2∠135°
๐‘Ž1 =
sin ๐›ฝ + ๐‘Ž0 ๐บ ๐‘ 1 ๐ป(๐‘ 1 ) sin(๐›ฝ − ๐œ“)
= 0.1924
๐‘ 1 ๐บ ๐‘ 1 ๐ป(๐‘ 1 ) sin ๐œ“
๐‘1 =
sin(๐›ฝ + ๐œ“) + ๐‘Ž0 ๐บ ๐‘ 1 ๐ป(๐‘ 1 ) sin ๐›ฝ
= 0.1417
− ๐‘ 1 sin ๐œ“
174
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Phase-lag compensator design
The negative angle contributed by the phase-lag compensator will tend to shift the root locus to the
right in the s-plane, i.e., towards the unstable region. Thus, in general, the angle contribution of the
phase-lag compensator must be small, which is assured by placing the pole and the zero of the
compensator very close to each other.
For convenience in the design, we assume that the compensator has a unit DC gain, i.e.,
๐บ๐‘ (๐‘ )
๐‘ =0
=
๐พ๐‘ ๐‘ง0
=1
๐‘0
175
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
๐พ๐‘ =
๐‘ƒ0
<1
๐‘ง0
Suppose that the root locus of the point of the uncompensated system passes through the point ๐‘ 1 for
๐พ0 .
1 + ๐พ0 ๐บ ๐‘ 1 ๐ป ๐‘ 1 = 0
๐พ0 =
−1
๐บ ๐‘ 1 (๐ป(๐‘ 1 )
As we choose the value of ๐‘ง0 and ๐‘0 to be approximately equal, and the magnitudes of ๐‘ง0 and ๐‘0 to be
small compared to ๐‘ 1 , so
๐บ๐‘ ๐‘ 1 =
๐พ๐‘ (๐‘ 1 − ๐‘ง0 )
≈ ๐พ๐‘
๐‘ 1 − ๐‘0
Now the gain required to place a root of the locus at approximately ๐‘ 1 for the uncompensated system is
given by
๐พ=
−1
−1
๐พ0
=
=
๐บ๐‘ ๐‘ 1 ๐บ(๐‘ 1 ) ๐พ๐‘ ๐บ๐‘ ๐‘ 1 ๐บ ๐‘ 1
๐พ๐‘
Since ๐พ๐‘ < 1, so ๐พ > ๐พ0 . The compensator has been chosen to have a unity DC gain; thus the open-loop
DC gain has been increased, but the transient response appears to remain unaffected.
The steady-state error ๐‘’๐‘ ๐‘  , when H(s)=1, is
๐‘ ๐‘…(๐‘ )
๐‘ →0 1 + ๐บ(๐‘ )
๐‘’๐‘ ๐‘  = lim ๐‘’ ๐‘ก = lim ๐‘ ๐ธ ๐‘  = lim
๐‘ก→∞
๐‘ →0
176
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
The sready-state error ๐‘’๐‘ ๐‘  has been improved, and this is the principal use of the phase-lag
compensator.
Example 6.9: Phase-lag compensator design
๐พ
Design a radar tracking system of the uncompensated OLTF given by ๐พ๐บ ๐‘  ๐ป ๐‘  = ๐‘ (๐‘ +2). Suppose that
the design requirements are such that a time constant of 1 second and damping coefficient of 0.707 are
satisfactory and the compensator has a DC gain as 1.
So ๐‘ 1 = −1 + ๐‘— ๐‘ค๐‘•๐‘’๐‘› ๐พ0 = 2 , is acceptable. Suppose that the system is required to track aircraft that
have essentially constant velocity, which will appear to the control system as a ramp input, i.e. the
antenna must rotate at a constant velocity to remain pointed directly at the aircraft. Also, it is required
that the ๐‘’๐‘ ๐‘  of 0.2° with a unit ramp input.
177
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
178
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Ideal PD compensator
The PD compensator’s transfer function is given by:
๐บ๐‘ ๐‘  = ๐พ1 + ๐พ2 = ๐พ2 (๐‘  +
๐พ1
)
๐พ2
The ideal PD compensator’s transfer function is given by;
๐บ๐‘ ๐‘  = ๐‘  + ๐‘ง๐‘
If the original open-loop transfer function is
๐บ ๐‘  =
1
๐‘  + 1 ๐‘  + 2 (๐‘  + 5)
Then design the PD compensator zero at -2.
๐บ๐‘  ๐‘  = ๐‘  + 2
179
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
180
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 6.9
Given the system below, design an ideal derivative compensator such that the closed-loop compensated
system has a threefold reduction in settling time and a 16% percent overshoot.
To achieve these requirements, the compensated system should have a dominant closed-loop pole at
๐‘ 1 = −1.205 + ๐‘—2.064๐พ = 43.45. Thus, the uncompensated system’s settling time is ๐‘‡๐‘  =
4
1.205
4
๐œ๐œ” ๐‘›
=
= 3.302.
4
4
The desired real part of the closed-loop pole is ๐œ๐œ”๐‘› = ๐‘‡ = 1.107 = 3.613. The desired imaginary part of
๐‘ 
the closed-loop pole is ๐œ”๐‘‘ = 3.613 tan 180 − 120.26 = 6.193.
181
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
182
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
6.2
State Space Applications
An alternative method yet powerful tools of control system design by using a State Space
representation. The concept of using state space is by placing a pole at a desired location. We call this as
pole placement method.
Similar in concept to classical control system design where we have to firstly formulate desired pole
locations to satisfy some performance criteria, then formulate control gains to make this happen.
In designing the control system by using state space application, we have to assume that all states can
be measured and used in control implementation; this is called full state feedback.
6.2.1
Controller Pole Placement Method
The controller pole placement method mainly concerns with the controllability matrix. It takes
measurement and/or estimates of the state variables, multiplies them by the control gains, and produce
the control signal. This can be designed by pole placement or optimal control.
Let say we have a control input, u in the form of,
u = -kx
where k = vector (or matrix) of proportional control gains applied to each state given by:
k = [๐’Œ๐Ÿ ๐’Œ๐Ÿ … ๐’Œ๐’ ]
Essentially, we are trying to modify the underlying differential equations.
Now, consider the state equation:
๐ฑ = ๐€๐ฑ + ๐๐ฎ = ๐€๐ฑ − ๐๐ค๐ฑ = ๐€ − ๐๐ค ๐ฑ
Taking the Laplace,
๐‘ ๐ˆ − ๐€ + ๐๐ค ๐ฑ ๐ฌ = 0
183
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Poles defined by:
det ๐‘ ๐ˆ − ๐€ + ๐๐ค = 0
Suppose we have some desired pole locations:
๐‘1 , ๐‘2 , ๐‘3 , ….
Then the desired characteristics equation is:
๐‘  − ๐‘1 ๐‘  − ๐‘2 … ๐‘  − ๐‘๐‘› = 0
This can be expanded to (desired characteristics equation):
๐‘  ๐‘› + ๐›ผ1 ๐‘  ๐‘›−1 + โ‹ฏ + ๐›ผ๐‘›−1 ๐‘  + ๐›ผ๐‘› = 0
Now suppose that the state space equations are in control canonical form:
0
0
.
๐€=
.
0
−๐‘Ž๐‘›
1
0
.
.
0
−๐‘Ž๐‘›−1
0
1
.
.
0
−๐‘Ž๐‘›−2
…
0
…
0
…
.
…
.
…
1
… −๐‘Ž1
0
0
.
๐=
.
0
1
๐‚ = ๐‘๐‘› − ๐‘Ž1 ๐‘0
๐‘๐‘›−1 − ๐‘Ž๐‘›−1 ๐‘0
… . ๐‘1 − ๐‘Ž1 ๐‘0
The poles of the feedback system are defined by the expression:
det ๐‘ ๐ˆ − ๐€ + ๐๐ค = 0
Poles are therefore given by
det ๐‘ ๐ˆ − ๐€ + ๐๐ค = ๐‘  ๐‘› + (๐›ผ1 + ๐‘˜1 )๐‘  ๐‘›−1 + โ‹ฏ + (๐›ผ2 + ๐‘˜2 )๐‘  ๐‘›−2 + ๐›ผ๐‘› + ๐‘˜๐‘› = 0
Compare this to the “desired” characteristics equation:
๐‘  ๐‘› + ๐›ผ1 ๐‘  ๐‘›−1 + ๐›ผ2 ๐‘  ๐‘›−2 … + ๐›ผ๐‘›−1 ๐‘  + ๐›ผ๐‘› = 0
The conclusion is that when the system is in control canonical form, then control gains can be calculated
by simple comparison of coefficients:
๐‘˜๐‘– = ๐›ผ๐‘– − ๐‘Ž๐‘–
184
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 6.10
Consider an undamped oscillator with frequency ๐œ”๐‘› and a SS model given by
๐‘ฅ1
0
=
−๐œ”๐‘›2
๐‘ฅ2
1 ๐‘ฅ1
0
+
0 ๐‘ฅ2
1
Find the controller that places the both CL poles of the system at −2๐œ”๐‘› . In other words, you want to
double the natural frequency and increase the damping ratio from 0 to 1.
Solution:
Assumption: Must be a full state feedback. We need to prove the system has a full state feedback by
assessing its controllability matrix.
We have an open loop poles, ๐‘  = ๐‘—๐œ”๐‘› and closed loop poles, ๐‘  = −2๐œ”๐‘› .
The open loop characteristics equation is: ๐‘  + ๐‘—๐œ”๐‘› ๐‘  + ๐‘—๐œ”๐‘› = ๐‘  2 + ๐œ”๐‘›2
And the desired characteristics equation:
(๐‘  + 2๐œ”๐‘› )2 = ๐‘  2 + 4๐œ”๐‘› ๐‘  + 4๐œ”๐‘›2
Now we have to determine the poles of closed-loop system;
det ๐‘ ๐ˆ − ๐€ + ๐๐ค = 0
det
0
๐‘  0
−
−๐œ”๐‘›2
0 ๐‘ 
1
0 ๐‘˜
+
0
1 1
๐‘  2 + ๐‘˜2 ๐‘  + ๐œ”๐‘›2 + ๐‘˜1 = 0
Comparing with the desired characteristics equation gives:
๐‘˜2 = 4๐œ”๐‘›
๐‘˜1 + ๐œ”๐‘›2 = 4๐œ”๐‘›2
We have now,
๐‘˜1 = 3๐œ”๐‘›2
๐‘˜2 = 4๐œ”๐‘›
Hence,
๐ค = ๐‘˜1
๐ค = 3๐œ”๐‘›2
๐‘˜2
4๐œ”๐‘›
๐‘˜2
185
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Generalised Strategy
Step 1: Transform state equations into control canonical form.
๐ฑ ′ = ๐“ −๐Ÿ ๐ฑ (๐ฑ ′ = transformed state vector)
๐€′ = ๐“ −๐Ÿ ๐€๐“, ๐′ = ๐“ −๐Ÿ ๐ (A’=transformed state matrix)
Where T is the transformation matrix: ๐“ = ๐‚๐ŸŽ ๐
๐‚๐ŸŽ = controllability matrix = ๐ ๐€๐ … ๐€๐ง−๐Ÿ ๐
1
โ‹ฎ
๐ = the following Toeplitz matrix: ๐‘Ž๐‘›−2
๐‘Ž๐‘›−1
0 … 0
โ‹ฑ โ‹ฎ โ‹ฎ
0 1 0
… ๐‘Ž1 1
Where ๐‘Ž1 , ๐‘Ž2 , … are from the characteristics equation of the uncontrolled system:
๐‘  ๐‘› + ๐›ผ1 ๐‘  ๐‘›−1 + ๐›ผ2 ๐‘  ๐‘›−2 … + ๐›ผ๐‘›−1 ๐‘  + ๐›ผ๐‘› = 0
Step 2: Calculate control gains by comparison with the desired characteristics equation
Step 3: Transform back to original state
Transform has the form:
๐ค ๐‘œ๐‘Ÿ๐‘–๐‘”๐‘–๐‘›๐‘Ž๐‘™
๐‘ ๐‘ก๐‘Ž๐‘ก๐‘’
= ๐ค ๐‘๐‘œ๐‘›๐‘ก๐‘Ÿ๐‘œ๐‘™
๐‘๐‘Ž๐‘›๐‘œ๐‘›๐‘–๐‘๐‘Ž๐‘™
๐“ −๐Ÿ
Controller Pole Placement using Ackermann’s Formula
For SISO systems the control gains using Ackermann’s Formula are
๐ค= 0 0
… 0
1 ๐‚0−1 ๐›พ(๐€)
Where ๐‚0 =controllability matrix (note inversion again), and
๐›พ ๐€ = ๐€๐‘› + ๐›ผ1 ๐€๐‘›−1 + ๐›ผ2 ๐€๐‘›−2 + โ‹ฏ + ๐›ผ๐‘› ๐ˆ
A = state matrix,
Where ๐‘Ž1 , ๐‘Ž2 , … = coefficient of the desired characteristics equation.
186
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Example 6.11:
Consider an undamped oscillator with frequency ๐œ”๐‘› and a SS model given by
๐‘ฅ1
0
=
−๐œ”๐‘›2
๐‘ฅ2
1 ๐‘ฅ1
0
+
0 ๐‘ฅ2
1
Find the controller that places the both CL poles of the system at −2๐œ”๐‘› . In other words, you want to
double the natural frequency and increase the damping ratio from 0 to 1.
Solution:
Our objective is to get the vector k. According to Ackermann’s Formula:
๐ค= 0 0
1 ๐‚0−1 ๐›พ(๐€)
… 0
The SS model must be controllable before we can proceed. Checking the controllability matrix,
๐‚๐ŸŽ =
0 1
1 0
Where
๐›พ ๐€ = ๐€๐‘› + ๐›ผ1 ๐€๐‘›−1 + ๐›ผ2 ๐€๐‘›−2 + โ‹ฏ + ๐›ผ๐‘› ๐ˆ
From the desired characteristics equation we have,
(๐‘  + 2๐œ”๐‘› )2 = ๐‘  2 + 4๐œ”๐‘› ๐‘  + 4๐œ”๐‘›2
So we have,
๐›พ ๐€ = ๐€2 + 4๐œ”๐‘› ๐€ + 4๐œ”๐‘›2 ๐ˆ
Matrices ๐€2 , 4๐œ”๐‘› ๐€ and 4๐œ”๐‘›2 ๐ˆ are given by,
๐€2 =
−๐œ”๐‘›2
0
4๐œ”๐‘› ๐€ =
4๐œ”๐‘›2 ๐ˆ =
0
−๐œ”๐‘›2
0
−4๐œ”๐‘›3
4๐œ”๐‘›2
0
4๐œ”๐‘›
0
0
4๐œ”๐‘›2
Therefore matrix ๐›พ ๐€ is given by,
๐›พ ๐€ =
3๐œ”๐‘›2
−4๐œ”๐‘›3
4๐œ”๐‘›
3๐œ”๐‘›2
187
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Hence,
๐ค= 0 1
0 1 3๐œ”๐‘›2
1 0 −4๐œ”๐‘›3
๐ค = 3๐œ”๐‘›2
4๐œ”๐‘›
3๐œ”๐‘›2
4๐œ”๐‘›
Example 6.12:
Consider the SS system
๐‘ฅ1
−1 0 ๐‘ฅ1
1
=
+
๐‘ข
๐‘ฅ2
1 −2 ๐‘ฅ2
2
Design a control system to move the system poles to ๐‘  = −1 ± ๐‘—
188
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
6.2.2
Observer Pole Placement Method
The observer pole placement mainly concerns with Observability matrix. The objective of designing the
observer is to estimate some or all of the states of the system. This can be achieved by linear observers
(pole placement) or optimal observers (Kalman filters).
Let’s say a system is described by:
๐ฑ = ๐€๐ฑ + ๐๐ฎ,
๐ฒ = ๐‚๐ฑ
Assume that we know ๐€, ๐, ๐‚, ๐ฎ.
We need to extract ๐ฑ by constructing a second linear system (a model of the target system), using the
known parameters (๐€, ๐, ๐‚, ๐ฎ) of the target system, which predicts the (measurable) target system
output. If the predicted output is acceptably close to the actual output, then we can use the estimated
states in place of the actual states.
In other words, we want to minimize the difference between the actual and predicted states. This
difference or error in estimate of state is given by,
๐ฑ๐‘’ = ๐ฑ − ๐ฑ
Which converges to zero if ๐€ is stable.
The open loop dynamics is then:
๐ฑ ๐‘’ = ๐ฑ − ๐ฑ = ๐€๐ฑ + ๐๐ฎ − ๐€ ๐ฑ − ๐ฑ๐‘’ − ๐๐ฎ = ๐€๐ฑ๐‘’
And the characteristics equation,
det ๐‘ ๐ˆ − ๐€ = 0
The observer (model) system response is now:
๐ฑ = ๐€๐ฑ + ๐๐ฎ + ๐‹๐‚(๐ฑ − ๐ฑ)
189
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
where L = vector (or matrix) of estimator (observer) gains applied to each state given by:
โ„“1
โ„“2
๐‘ณ=
โ‹ฎ
โ„“๐‘›
The dynamics of the error become:
๐ฑ๐‘’ = ๐€๐ฑ๐‘’ − ๐‹๐‚๐ฑ ๐‘’
Therefore, the characteristics equation = det ๐‘ ๐ˆ − (๐€ − ๐‹๐‚) = 0 i.e we can change convergence speed
by adding feedback.
Suppose we have some desired pole locations:
๐‘1 , ๐‘2 , ๐‘3 , ….
Then the desired characteristics equation is:
๐‘  − ๐‘1 ๐‘  − ๐‘2 … ๐‘  − ๐‘๐‘› = 0
This can be expanded to (desired characteristics equation):
๐‘  ๐‘› + ๐›ผ1 ๐‘  ๐‘›−1 + โ‹ฏ + ๐›ผ๐‘›−1 ๐‘  + ๐›ผ๐‘› = 0
Now suppose that the state space equations are in observer canonical form:
0
1
.
๐ด=
.
0
0
0
0
.
.
0
0
…
…
…
…
…
…
0
0
.
.
0
1
−๐‘Ž๐‘›
−๐‘Ž๐‘›−1
−๐‘Ž๐‘›−2
.
.
−๐‘Ž1
๐‘๐‘› − ๐‘Ž1 ๐‘0
๐‘๐‘›−1 − ๐‘Ž๐‘›−1 ๐‘0
.
๐ต=
.
.
๐‘1 − ๐‘Ž1 ๐‘0
๐ถ= 0 0
… 0
1
With the observer feedback, the poles are defined by the expression: det ๐‘ ๐ˆ − (๐€ − ๐‹๐‚) = 0
190
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
๐‘  0
−1 ๐‘ 
.
.
๐‘ ๐ˆ − ๐€ − ๐‹๐‚ =
.
.
0 0
0 0
… 0
๐‘Ž๐‘› + โ„“๐‘›
… 0 ๐‘Ž๐‘›−1 + โ„“๐‘›−1
…
.
.
…
.
.
… ๐‘ 
๐‘Ž2 + โ„“2
… −1 ๐‘  + ๐‘Ž1 + โ„“1
Poles are therefore given by
det ๐‘ ๐ˆ − ๐€ + ๐‹๐‚ = ๐‘  ๐‘› + (๐›ผ1 + โ„“1 )๐‘  ๐‘›−1 + (๐›ผ2 + โ„“2 )๐‘  ๐‘›−2 + โ‹ฏ + ๐›ผ๐‘› + โ„“๐‘› = 0
Compare this to the “desired” characteristics equation:
๐‘  ๐‘› + ๐›ผ1 ๐‘  ๐‘›−1 + ๐›ผ2 ๐‘  ๐‘›−2 … + ๐›ผ๐‘›−1 ๐‘  + ๐›ผ๐‘› = 0
The conclusion is that when the system is in control canonical form, then control gains can be calculated
by simple comparison of coefficients:
โ„“๐‘– = ๐›ผ๐‘– − ๐‘Ž๐‘–
Example 6.13:
Compute the estimator (observer) gain matrix which will place both estimator poles at −10๐œ”๐‘› , given
๐‘ฅ1
0
=
−๐œ”๐‘›2
๐‘ฅ2
๐‘ฆ= 1
1 ๐‘ฅ1
0
+
0 ๐‘ฅ2
1
๐‘ฅ1
0 ๐‘ฅ
2
Solution:
The desired characteristics equation is given by;
(๐‘  + 10๐œ”๐‘› )2 = ๐‘  2 + 20๐œ”๐‘› ๐‘  + 100๐œ”๐‘› 2
Now we have to determine the poles of closed-loop system;
det ๐‘ ๐ˆ − ๐€ + ๐‹๐‚ = 0
det
0
๐‘  0
−
−๐œ”๐‘›2
0 ๐‘ 
โ„“
1
+ 1
0
โ„“2
0
0
191
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
det
๐‘  + โ„“1
๐œ”๐‘›2 +โ„“2
−1
๐‘ 
det ๐‘  2 + โ„“1 ๐‘  + ๐œ”๐‘›2 + โ„“2 = 0
Comparing with the desired characteristics equation gives:
โ„“1 = 20๐œ”๐‘›
โ„“2 + ๐œ”๐‘›2 = 100๐œ”๐‘›2
We have now,
โ„“1 = 20๐œ”๐‘›
โ„“2 = 99๐œ”๐‘›2
Hence,
๐ค=
๐ค=
โ„“1
โ„“2
20๐œ”๐‘›
99๐œ”๐‘›2
Generalised Strategy
Step 1: Transform state equations into control canonical form.
๐ฑ ′ = ๐“ −๐Ÿ ๐ฑ (๐ฑ ′ = transformed state vector)
๐€′ = ๐“ −๐Ÿ ๐€๐“, ๐‚ ′ = ๐“ −๐Ÿ ๐‚ (A’=transformed state matrix)
Where T is the transformation matrix: ๐“ = (๐๐Ž๐› )−๐Ÿ and
๐‚
๐‚๐€
๐Ž๐› = observability matrix = ๐‚๐€๐Ÿ
โ‹ฎ
๐‚๐€๐ง−๐Ÿ
1
โ‹ฎ
๐ = the following Toeplitz matrix: ๐‘Ž๐‘›−2
๐‘Ž๐‘›−1
0 … 0
โ‹ฑ โ‹ฎ โ‹ฎ
0 1 0
… ๐‘Ž1 1
Where ๐‘Ž1 , ๐‘Ž2 , … are from the characteristics equation of the uncontrolled system:
๐‘  ๐‘› + ๐›ผ1 ๐‘  ๐‘›−1 + ๐›ผ2 ๐‘  ๐‘›−2 … + ๐›ผ๐‘›−1 ๐‘  + ๐›ผ๐‘› = 0
192
KJM597 Control Systems
Faculty of Mechanical Engineering
UiTM Shah Alam
Step 2: Calculate control gains by comparison with the desired characteristics equation
Step 3: Transform back to original state
Transform has the form:
๐‹๐‘œ๐‘Ÿ๐‘–๐‘”๐‘–๐‘›๐‘Ž๐‘™
๐‘ ๐‘ก๐‘Ž๐‘ก๐‘’
= ๐“ ∗ ๐‹๐‘œ๐‘๐‘ ๐‘’๐‘Ÿ๐‘ฃ๐‘’๐‘Ÿ
๐‘๐‘Ž๐‘›๐‘œ๐‘›๐‘–๐‘๐‘Ž๐‘™
Observer Pole Placement using Ackermann’s Formula
For SISO systems the observer gains using Ackermann’s Formula are
๐‹ = ๐›พ(๐€)๐Ž−1
b 0
0 … 0 1
T
Where ๐‚0 =controllability matrix (note inversion again), and
๐›พ ๐€ = ๐€๐‘› + ๐›ผ1 ๐€๐‘›−1 + ๐›ผ2 ๐€๐‘›−2 + โ‹ฏ + ๐›ผ๐‘› ๐ˆ
A = state matrix,
Where ๐‘Ž1 , ๐‘Ž2 , … = coefficient of the desired characteristics equation.
Example 6.14:
Compute the estimator (observer) gain matrix which will place both estimator poles at −10๐œ”๐‘› , given
๐‘ฅ1
0
=
−๐œ”๐‘›2
๐‘ฅ2
๐‘ฆ= 1
1 ๐‘ฅ1
0
+
0 ๐‘ฅ2
1
๐‘ฅ1
0 ๐‘ฅ
2
193
Download