Professional Documents
Culture Documents
Time Response of The Dynamical Systems
Time Response of The Dynamical Systems
𝑈 𝑠 1 𝑌(𝑠)
𝑠 !𝐺(𝑠)
+ 3𝑠 + 4 𝑌 𝑠 = 𝐺 𝑠 𝑈 𝑠 ⇒ 𝑇𝑖𝑚𝑒 𝑟𝑒𝑠𝑝𝑜𝑛𝑠𝑒 ∶ 𝑦 𝑡 (𝑓𝑜𝑟 𝑎 𝑘𝑛𝑜𝑤𝑛 𝑢(𝑡)
Time response of a system is to obtain 𝑦 𝑡 analytically for a specified input. In other words, time response of a system is
to take the inverse Laplace transform of 𝑌 𝑠 , for a specified input.
Example: For a system with the differential equation given as below, find the time response of the system for 𝑢 𝑡 = 𝑢" 𝑡
𝑦 ## 𝑡 + 5𝑦 # 𝑡 + 6𝑦 𝑡 = 𝑢(𝑡)
!
𝑌(𝑠) 1 𝑈 𝑠 1
1 𝑌(𝑠)
𝑠 + 5𝑠 + 6 𝑌 𝑠 = 𝑈 𝑠 𝐺 𝑠 = ⇒ ⇒ 𝑠!! + 3𝑠 + 4
𝑈(𝑠) 𝑠 ! + 5𝑠 + 6 𝑠 + 5𝑠 + 6
$
Second Step: Specify the input and obtain 𝑌(𝑠). 𝑈 𝑠 = 𝑈" 𝑠 =
"
1 1 1
𝑌(𝑠) = 𝐺 𝑠 𝑈 𝑠 = 𝐺 𝑠 𝑈" 𝑠 = ! × = !
𝑠 + 5𝑠 + 6 𝑠 (𝑠 +5𝑠 + 6)𝑠
1
Third Step: Find the inverse transform of 𝑌(𝑠) and obtain 𝑦 𝑡
$ + , -
𝑌 𝑠 = = + + A = 1/6 , B = -1/2 , C = 1/3
"("(!)("(*) " "(! "(*
! ! !
⇒ 𝑦 𝑡 = " 𝑢# 𝑡 + $ 𝑒 %$& − ' 𝑒 %'& Describes the situation the 𝑡 → ∞
ØAs might be observed from the example, the time response of a system is equivalent solving a differential equation. The
most tedious step of this procedure is the third step, i.e. taking the inverse Laplace Transform.
ØHowever, for 1st and 2nd order systems of a certain kind, there is no need to accomplish the third step. 𝑦 𝑡 can be
directly deduced from the transfer function of the system, i.e. 𝐺 𝑠 , as long as 𝐺 𝑠 is written in a particular format.
ØWithout loss of generality, step type inputs are mostly used for that purpose.
ØFor the response of a system, some performance specifications are defined in order to evaluate and compare the
systems. Since, even if we find 𝑦 𝑡 , our main aim is not to solve the differential equation, belonging to the system. Our
main aim is to evaluate the system’s behaviour from an engineering perspective and one way of achieving this goal is the
performance criteria defined for time response of the systems.
2
Definitions and Explanations of Performance Criteria
v Suppose that the plot of 𝑦 𝑡 is as follows:
𝑦 𝑡 Performance Criteria:
%𝑶𝒔 (Percent Overshoot): The ratio of peak value of 𝑦 𝑡 exceeding from its final value to the final value of 𝑦 𝑡 .
0! 12
Mathematically: %𝑂𝑠 = 2
𝑥 100
3
𝒕𝒑 𝑷𝒆𝒂𝒌 𝒕𝒊𝒎𝒆 : The instant of time at which the peak value occurs.
Ø Depending on the shape of the time response, %𝑂𝑠 and 𝑡4 might not be observed.
𝑦 𝑡
0.1𝐾
𝑡$ 𝑡" 𝑡
𝑡 4
Time Response of First Order Systems
𝑈(𝑠) 1
𝑌(𝑠) 1
𝐺 3𝑠𝑠+ 4
𝑠! + 𝑌(𝑠) = 𝑈 𝑠 𝐺 𝑠 ⇒ 𝐿𝑒𝑡 𝑈 𝑠 =
𝑠
2 𝐾 𝐴 𝐵
v Required format of 𝐺 𝑠 = 𝑌(𝑠) = = + ⇒ 𝐴τ + 𝐵 𝑠 + 𝐴 = 𝐾
5"($ 𝑠(𝜏𝑠 + 1) 𝑠 𝜏𝑠 + 1
𝑗𝜔 𝐴 = 𝐾 𝐵 = −𝐾𝜏
𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝐾 𝐾𝜏 𝐾 𝐾𝜏
𝑌(𝑠) = − = −
𝜎 𝑠 𝜏𝑠 + 1 𝑠 1
1 𝑛𝑜 𝑧𝑒𝑟𝑜𝑠 𝜏 𝑠+
− 𝜏
𝜏 1 6 6
𝑜𝑛𝑒 𝑝𝑜𝑙𝑒 𝑎𝑡: 𝑠 = − 1 1
𝜏 𝑦 𝑡 = 𝐾 − 𝐾𝑒 5 = 𝐾(1 − 𝑒 5)
v The plot of 𝑦(𝑡)
𝑦 𝑡 𝜏 ∶ time constant of the system.
Ø For 𝑡 = 𝜏, 𝑦 𝑡 = 0.63𝐾
𝐾
2
Ø In order to directly obtain 𝑦(𝑡), the format of the transfer function must be of the form: 𝐺 𝑠 =
5"($
𝐴 𝐴 𝐴/𝑝$ 𝐾
Ø Ever first order systems as below can be converted to this format: = = =
𝑠 + 𝑝$ 1 1 𝜏𝑠 + 1
𝑝$ ( 𝑠 + 1) 𝑠+1
𝑝$ 𝑝$
$8
Example: 𝐺 𝑠 = , For 𝑢 𝑡 = 𝑢" (𝑡) find
:"(*
2
Required format: 𝐺 𝑠 =
5"($
<
𝑎) 𝐺 𝑠 = ⇒ 𝐾 = 6, 𝜏 = 3𝑠𝑛 c) 𝑢(𝑡) = 𝑢" final value : 𝐾 = 6
*"($
" "
1 1 %"⁄
b) 𝑡" = 4𝜏 ⇒ 12𝑠𝑛, 𝑡7 = 2,2𝜏 ⇒ 6.6𝑠𝑛 d) 𝑦 𝑡 = 𝐾 1 − 𝑒 # =6 1−𝑒 $ = 6 − 6𝑒 $
6
Example: Assuming zero initial conditions in the circuit, by taking 𝐼(𝑠) as the input and the terminal voltage 𝑉(𝑠) as the output:
𝑎
=(")
+ a) Find the transfer function of the circuit, i.e. 𝐺 𝑠 =
>(")
𝐼
𝑉 𝑅 b) For 𝑖 𝑡 = 5 𝐴, 𝑅 = 2Ω, and 𝐶 = 0.5 𝜇𝐹
𝐶
i. Find the steady – state value of 𝑉(𝑡)
ii. Find the time constant, settling time and rise time of the system.
c) Discuss the effect of 𝑅 and 𝐶 to the speed and the steady state value of the system.
𝑏
$ A =(") A
𝑍?@ = & & = "-A($ >(")
= 𝑍?@ 𝑠 = 𝐺 𝑠 = "-A($
(
' &(
)*
5 2 2 𝐾
𝐼 𝑠 = = 5𝑈" 𝑠 ⇒ 𝐺 𝑠 = = =
𝑠 𝑠𝑥2𝑥0,5𝑥101* + 1 0.001𝑠 + 1 𝜏𝑠 + 1
𝑦̈ 𝑡 + 𝑎$ 𝑦̇ 𝑡 + 𝑎B 𝑦 𝑡 = 𝑏B 𝑟 𝑡
ℒ
𝑦 𝑡 → 𝑌 𝑠 ⇒ 𝑠 ! + 𝑎$ 𝑠 + 𝑎B 𝑌 𝑠 = 𝑏B 𝑅(𝑠) All initial conditions are zero
D " E+
⇒𝐺 𝑠 = = ∶ Second order system
A(") " ,(F&"( F+
𝐾 : open loop gain. Defines the steady state
,
Ø The utilized format of second order systems: 𝐺 𝑠 =
2 G- value of the system.
,
" ,(!HG- "(G-
𝜔I : Natural frequency
Ø Every second order system belonging to that class can be written in
𝜁: Damping ratio
the required format:
,
2G- $< 9J9 𝜔I! = 4 ⇒ 𝜔I = 2
𝐺 𝑠 ⇒ , , = " , (!"(9 = " , (!JB.LJ!"(!,
" (!HG- "(G-
2𝜁𝜔I = 2 ⇒ 𝜁 = 0.5
𝐾=4
Ø The poles of the second order systems can be given as:
4𝜁 ! 𝜔I! − 4𝜔I!
𝑠$,! = −𝜁𝜔I ± = 𝑠$,! = −𝜁𝜔I ± 𝜔I 𝜁 ! − 1 This expression can be real or imaginary depending on 𝜁
2
Ø Unlike the first order systems, there can exist 4 distinctly cases in second order systems.
8
𝑗𝜔
i. Poles are real-distinct: (𝜻 > 𝟏)
𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝑦 𝑡 = 𝐾 + 𝐾$ 𝑒 "&6 + 𝐾! 𝑒 ",6
𝜎
$8 𝑠! 𝑠%
Example: 𝐺 𝑠 = a) Find natural frequency 𝜔I and damping ratio(𝜁) and 𝐾
" ,($B"(:
b) Find the unit step response 𝑦 𝑡
c) Find the poles of the system
𝑅(𝑠) 1 𝑌(𝑠)
18 𝐾
𝑠 ! + 3𝑠 + 4
𝑠 ! + 10𝑠 + 9 0.9𝐾
𝐾 = 2,
0.98𝐾
𝜔5' = 9 ⇒ 𝜔5 = 3,
,
2G- !J: 5
, = 2𝜁𝜔5 = 10 ⇒ 𝜁 = 𝑜𝑣𝑒𝑟𝑑𝑎𝑚𝑝𝑒𝑑
" ,(!HG- "(G- " ,($B"(: 3
𝑠! = −9 𝑠' = −1
0.1𝐾
18 𝐴 𝐵 𝐶 𝑡$ 𝑡" 𝑡
𝑦 𝑠 = = + +
𝑠 𝑠 + 1 (𝑠 + 9) 𝑠 𝑠+1 𝑠+9 𝑡𝑟𝑎𝑛𝑠𝑖𝑒𝑛𝑡 𝑠𝑡𝑎𝑡𝑒 𝑠𝑡𝑒𝑎𝑑𝑦 𝑠𝑡𝑎𝑡𝑒
𝐴 𝑠 ' + 10𝑠 + 9 + 𝐵 𝑠 ' + 9𝑠 + 𝐶 𝑠 ' + 𝑠 = 18 “overdamped system” %𝑂𝑠 𝑎𝑛𝑑 𝑡4 𝑎𝑟𝑒 𝑛𝑜𝑡 𝑑𝑒𝑓𝑖𝑛𝑒𝑑
A+B+C=0
10A+9B + C = 0 9 1 Mathematically: %𝑂𝑠 = 0
9A=18 𝑦 𝑡 = 2 − 𝑒 %& + 𝑒 %6&
4 4 𝑡4 = ∞
A = 2, B = -9/4, C = 1/4
9
𝑗𝜔
ii. Poles are real-same: (𝜻 = 𝟏)
𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝑦 𝑡 = 𝐾 + 𝐾$ 𝑒 "&6 + 𝐾! 𝑡𝑒 "&6 𝑠%
𝜎
𝑡$ 𝑡# 𝑡" 𝑡
$1H ,
%𝑂𝑠 = 𝑒 1HN/ x100 11
𝑡𝑟𝑎𝑛𝑠𝑖𝑒𝑛𝑡 𝑠𝑡𝑎𝑡𝑒 𝑠𝑡𝑒𝑎𝑑𝑦 𝑠𝑡𝑎𝑡𝑒
9
Example: 𝐺 𝑠 =
" ,(!"(9
𝑦 𝑡
𝜁 = 0.5,
𝑠!
𝑠$,! = −1 ± 3𝑗 𝜋
𝑡4 = = 1.81 𝑠𝑒𝑐
𝜔P
4 𝐴 𝐵𝑠 + 𝐶 𝐴 𝑠 ! + 2𝑠 + 4 + 𝐵𝑠 ! + 𝐶𝑠 9 9
𝑌(𝑠) = 𝑅 𝑠 𝐺 𝑠 = = + 𝑡" = = = 4 𝑠𝑒𝑐
𝑠(𝑠 ' + 2𝑠 + 4) 𝑠 𝑠 ' + 2𝑠 + 4 A = 1, B = -1, C = -2 HG- Q.
1 𝑠+1 1 1
= − + 𝑦 𝑡 = 1 − (𝑒 %& 𝑐𝑜𝑠 3𝑡 + 𝑒 %& 𝑠𝑖𝑛 3𝑡)
𝑠 𝑠+1 '+3 𝑠+1 '+3 3 12
𝑗𝜔
iv. Poles are purely imaginary (undamped): ( 𝜻 = 𝟎) 𝑠 − 𝑃𝑙𝑎𝑛𝑒
v Since the system is not stable, performance criteria are not meaningful for these
type of systems.
𝑡
−𝐾
$8
Example: 𝐺 𝑠 =
" ,(:
a) 𝜔5 = 3, 𝐾 = 2, 𝜁 = 0 ∶ 𝑢𝑛𝑑𝑎𝑚𝑝𝑒𝑑 𝑠𝑦𝑠𝑡𝑒𝑚
a) Find 𝐾, 𝜔5 𝑎𝑛𝑑 𝜁 𝑗𝜔
b) 𝑠!,' = ±𝑗𝜔5 = ±𝑗3
b) Find the poles of the system 𝑠 − 𝑃𝑙𝑎𝑛𝑒
c) Find the unit step response 3 !K M N#LO
c) 𝑌(𝑠) = #(#'L6)
= + (#'L$')
⇒ 𝐴𝑠 ' + 9𝐴 + 𝐵𝑠 ' + 𝐶𝑠 = 18 ⇒
d) Find %𝑂𝑠 , 𝑡J 𝑎𝑛𝑑 𝑡# . #
𝜎 𝐴 + 𝐵 = 0, 𝐶 = 0, 9𝐴 = 18 ⇒ 𝐴 = 2 ⇒ 𝐵 = −2
2 −2𝑠
−3 𝑌 𝑠 = + ' ⇒ 𝑦 𝑡 = 2𝑢# 𝑡 − 2𝑐𝑜𝑠3𝑡
𝑠 𝑠 + 3'
d) Performance criteria are meaningless for this system.
13
Effect of Additional Poles – Zeros to The Step Response
Ø Up to this point, we have derived the general characteristics of 1st and 2nd order systems and have defined the system
parameters (1st order → 𝐾, 𝜏, 2nd order → 𝐾, 𝜁, 𝜔I ).
Ø We related the performance criteria to these parameters and at the same time the location of the poles.
Ø However for third order or higher order systems, these relations are extremely difficult to obtain.
Ø Therefore it is logical to analyse the affect of the additional poles to the systems.
14
Effect of Additional Poles: 𝑈 𝑠 𝑌 𝑠
𝐺(𝑠)
𝐾𝜔5' 𝐾𝜔5'
𝐺 𝑠 = ' ⟹𝑌 𝑠 =
𝑠 + 2𝜁𝜔5 𝑠 + 𝜔5' 𝑠(𝑠 + 𝑃$)(𝑠 ' + 2𝜁𝜔5 𝑠 + 𝜔5' )
𝐴 𝐵 𝐶𝑠 + 𝐷
𝑌(𝑠) = + + '
𝑠 𝑠 + 𝑃$ 𝑠 + 2𝜁𝜔5 𝑠 + 𝜔5'
⟹ 𝑦 𝑡 = 𝐴 + 𝐵𝑒 1S$6 + 𝐾𝑒 1HG-6 cos(𝜔I 1 − 𝜁 ! 𝑡 + 𝜙)
Ø If 𝑃* ≫ 𝜁𝜔I the term 𝑒 1S$6 decays much more rapidly than the term: 𝐾$ 𝑒 1HG-6 cos(𝜔I 1 − 𝜁 ! 𝑡 + 𝜙) does
Ø In general, if 𝑃* > 5𝜁𝜔I the effect of the third pole can be neglected. The system can be considered as
a second – order system.
𝑗𝜔 𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝑠% non-dominant zone dominant zone
𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝑠% and 𝑠! are dominant poles
𝑠%
𝜎 𝜎
𝑃% −𝜁𝜔" −5𝜁𝜔" −𝜁𝜔"
15
Effect of Zeros: 𝑈 𝑠 𝑌 𝑠
𝐺(𝑠)
𝐾𝜔5' (𝑠 + 𝑍# ) 𝐾𝜔5' (𝑠 + 𝑍# )
𝐺 𝑠 = ' ⟹ 𝑌 𝑠 = '
(𝑠 +2𝜁𝜔5 𝑠 + 𝜔5' )(𝑠 + 𝑃$) (𝑠 +2𝜁𝜔5 𝑠 + 𝜔5' ) 𝑠 + 𝑃$ 𝑠
𝐴 𝐵 𝐶𝑠 + 𝐷
𝑌(𝑠) = + + '
𝑠 𝑠 + 𝑃$ 𝑠 + 2𝜁𝜔5 𝑠 + 𝜔5'
Ø To generalize, if a zero is located sufficiently close to a pole, it cancels the effect of the pole!
16
𝑦 𝑡 Steady – State Errors
𝑟(𝑡)
𝑡" 𝑡
For most of the control systems it is desired that the output of the system tracks the reference signal with a zero error.
In other words the error signal 𝑒 𝑡 ≜ 𝑟 𝑡 − 𝑦 𝑡
must be zero in the steady state to ensure this fact. Mathematically, this can be expressed as:
𝑠. 𝑠. 𝑒. = lim 𝑒 𝑡 = 0
6→U
Since the error signal is obvious in the unity feedback configuration, it is more convenient to use this structure
when calculating the 𝑠. 𝑠. 𝑒.
17
𝑅 𝑠 + 𝐸 𝑠 𝑌 𝑠
𝐺(𝑠)
𝑅 𝑠 _
𝑌 𝑠
𝐺(𝑠)
Ø To find the s.s.e. ℒ 1 𝑌(𝑠) = 𝑦(𝑡) must be calculated. Ø In this case 𝐸(𝑠) is apparent.
After calculating 𝑦 𝑡 = 𝑦& 𝑡 + 𝑦% 𝑡
𝐺 𝑠
𝐸 𝑠 =𝑅 𝑠 −𝑌 𝑠 =𝑅 𝑠 − 𝑅 𝑠
𝑒 𝑡 = 𝑟 𝑡 − 𝑦 𝑡 = 𝑟 𝑡 − 𝑦& 𝑡 − 𝑦% (𝑡) 1+𝐺 𝑠
1
lim 𝑒 𝑡 = 𝑟 𝑡 − 𝑦& 𝑡 − 𝑦% (𝑡) = 𝑟 𝑡 − 𝑦% (𝑡) 𝐸 𝑠 =𝑅 𝑠 ⇔ 𝑒 𝑡 = ℒ 1$ 𝐸(𝑠)
6→U 1 + 𝐺(𝑠)
Ø Theorem (Final Value Theorem): For stable signal in the 𝑠 − 𝑑𝑜𝑚𝑎𝑖𝑛, Bay 𝐸 𝑠 , the final value of its equivalent
in time – domain lim 𝑒 𝑡 , can be computed with the following formula, without taking the Laplace transform.
6→U
𝑅 𝑠 + 𝐸 𝑠 𝑌 𝑠
+ 𝐺(𝑠)
= 𝐺% 𝑠 𝐺! 𝑠 … 𝐺& (𝑠) _
_
+
= 𝐺 𝑠
_
Ø There is a strict relation between s.s.e. 𝐺 𝑠 and 𝑅 𝑠 . In this criterion, we do not need to restrict ourselves to 1st and 2nd
order systems. In general, let 𝐺(𝑠) be in the form of:
𝑠 + 𝑧$ 𝑠 + 𝑧! … (𝑠 + 𝑧I )
𝐺 𝑠 = V
𝑠 𝑠 + 𝑝$ 𝑠 + 𝑝! … (𝑠 + 𝑝I )
Ø Definition: We define 𝐺 𝑠 as «type k system». In other words, the system type is defined by the number of open – loop
poles at 𝑠 = 0 .
𝑠+8
𝐺 𝑠 = ∶ 𝑇𝑦𝑝𝑒 1 𝑠𝑦𝑠𝑡𝑒𝑚 𝑠 ! + 5𝑠 + 4
𝑠(𝑠 + 7)(𝑠 + 9) 𝐺 𝑠 = ∶ 𝑇𝑦𝑝𝑒 0 𝑠𝑦𝑠𝑡𝑒𝑚
𝑠 + 11 𝑠 + 14 𝑠 + 7 𝑠 + 8 19
v The error function 𝐸 𝑠 is a function of 𝑅 𝑠 at the same time. we will diversify 𝑅 𝑠 as unit step, ramp and parabolic
functions
𝟏 𝑟 𝑡 𝑟
i) Unit Step Function (𝑹 𝒔 = ): 𝑟 𝑡 = 𝑟𝑢 " 𝑡 𝑅(𝑠) =
𝒔
𝑠
𝑟
1 1 1
𝐸 𝑠 = 𝑅 𝑠 =
1+𝐺 𝑠 1 + 𝐺(𝑠) 𝑠 𝑡
$ $
s.s.e = lim 𝑒 𝑡 = lim 𝑠𝐸 𝑠 = lim 𝑠 " $(X(")
6→U "→B "→B
$ $ 𝑦 𝑡
s.s.e = = Type 1 or higher
$(YZ[ X(") )01& )01, …()01-)
)→+ $(YZ[ 5
)→+) )0!& )0!, …()0!-)
𝑟(𝑡)
$
If 𝑘 ≥ 1 (i.e.) 𝐺 𝑠 is type 1 : 𝑠. 𝑠. 𝑒. = $(U = 0
𝑡
$
If 𝑘 = 0 (i.e.) 𝐺 𝑠 is type 0 : 𝑠. 𝑠. 𝑒. =
$(26
𝑟(𝑡)
𝐾S = lim 𝐺(𝑠) : position error constant
"→B 𝑦 𝑡
Type 0
𝑡 20
𝟏
ii) Ramp Function (𝑹 𝒔 = 𝒔𝟐)
1
𝑟 𝑡 = 𝑡𝑢" 𝑡 𝑅(𝑠) =
𝑠!
𝑟 𝑡
1 1 1
𝐸 𝑠 = 𝑅 𝑠 =
1+𝐺 𝑠 1 + 𝐺(𝑠) 𝑠 ! 𝑟
$ $
s.s.e = lim 𝑒 𝑡 = lim 𝑠𝐸 𝑠 = lim 𝑠 ,
6→U "→B "→B " $(X(")
$ $
s.s.e. = lim = : 𝑡
"→B "("X(") YZ[ "X(")
)→+
lim 𝑠𝐺(𝑠) ≜ 𝐾= : 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 𝑒𝑟𝑟𝑜𝑟 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
"→B
If 𝑘 ≥ 2 (𝐺 𝑠 is type 2 or more) ∶
If 𝑘 ≥ 3 𝐾+ = ∞, 𝑠. 𝑠. 𝑒. = 0
$ Type 3 or higher Type 2 Type 1 or 0
If 𝑘 = 2 𝐾+ = 𝑐𝑜𝑛𝑠𝑡, 𝑠. 𝑠. 𝑒. =
29
If 𝑘 < 2 𝐾+ = 0, 𝑠. 𝑠. 𝑒. = ∞ 𝑟(𝑡) 𝑟(𝑡)
𝑟(𝑡)
𝑦 𝑡 𝑦 𝑡 𝑦 𝑡
22
STABILITY
ØStability is the first and the foremost important criterion of a control system. Without stability, other performance criteria such as
𝑡J , 𝑡# , %𝑂𝑠, 𝑡8 𝑎𝑛𝑑 𝑠. 𝑠. 𝑒. are meaningless.
ØFor a stable system, homogenous response of the system must be bounded. In other words, the transient state cannot grow without bound.
ØFor Single Input Single Output (SISO), Linear Time Invariant (LTI) systems stability is strictly related with the location of the poles
ØFor a SISO – LTI system, this is equivalent to non existence of right half s – plane poles. For a stable system no poles can lie in the right half
plane (RHP).
ØThen all is needed to check the pole distribution of the transfer function of the system.
ØIn general, depending on the control strategy, the poles of the resulting control system cannot be easily determined, even if the pole
location of the process itself is known.
−𝜎$
−𝜎$ 𝜎 𝜎 −𝜎$ −𝜎' = 0 𝜎
−𝜎' 𝜎% −𝜎% −𝜎' −𝜎%
𝑦 𝑡 𝑦 𝑡 𝑦 𝑡
Unstable system Stable system Marginally stable system
𝑡 𝑡 𝑡
Transient response grows without a bond Transient response decays to zero and finally steady Transient response neither grows without a
state response remain. Asymptotically Stable system bond nor decays. Marginally stable system 24
Routh – Hurwitz Criterion
Ø This method known as the Routh Table, is used to determine the root distribution. The method does not tell exact locations
of the poles, but it gives the number of RHP and LHP poles, hence stability can be determined with this knowledge.
…
For a characteristic equation in the form as:
𝑎I 𝑠 I + 𝑎I1$ 𝑠 I1$ + 𝑎I1! 𝑠 I1! + 𝑎I1* 𝑠 I1* + ⋯ + 𝑎$ 𝑠 + 𝑎B
𝑠I 𝑎I 𝑎I1! 𝑎I19
The sign change in the first column
I1$
𝑠 𝑎I1$ 𝑎I1* 𝑎I1L gives the number of RHP poles
𝑠 I1! 𝑎I1$ . 𝑎I1! − 𝑎I . 𝑎I1* 𝑎I1$ . 𝑎I19 − 𝑎I . 𝑎I1L
𝑎I1$ 𝑏$ 𝑎I1$ 𝑏!
𝑠 I1* 𝑏$ . 𝑎I1* − 𝑏! . 𝑎I1$
𝑏$
𝑈(𝑠) (𝑠 + 3) (𝑠 + 3) Y(𝑠)
𝐺 𝑠 = = 0
𝑠 + 1 𝑠 + 5 (𝑠 + 7) 𝑠 + 14𝑠 ! + 48𝑠 + 35
𝑠 0 + 14𝑠 ! + 48𝑠 + 35
No sign change! The system is asymptotically stable
+ 𝑠0 1 48
No RHP poles
+ 𝑠! 14 35
+ 𝑠% 14x48−35x1
=45.5 0
'(
+ 𝑠5 45.5x35−0
= 35
45.5
Special Cases: There can be special cases in which a «0» appears in the first column.
𝜀 = 06 𝜀 = 0-
Example: Determine the stability of the system.
𝑠3 1 4 3 + +
1 1
𝑠4 −1 −4 −2 − −
"(L
𝐺 𝑠 = 𝑠0 0 (𝜀) 1 2
" : 1" ;(9" $19" ,(*"1! + −
𝑠! −4𝜀 + 1 −2
+ −
𝜀 2
%
Only one element in the column is zero. 𝑠 2𝜀 ! − 4𝜀 + 1 0 + +
The corresponding row of the zero element 1 − 4𝜀 3 3
− −
is not composed of complete zeros. 𝑠5 −2 26
Three sign changes, 3 RHP + 2 LHP poles
" ,(9"1*
Example: Determine the stability of the system. 𝐺 𝑠 = " ;(9" $(8" ,(!B"($L
No sign change. Then it means 2 LHP poles + 2𝑗𝜔 axis poles. The system is marginally stable.
To find the location of the imaginary axis poles: 3𝑠 ! + 15 = 0 ⇒ 𝑠 ! = −5 ⇒ 𝑠 = ± 5𝑗
𝑗𝜔
5 𝑠 − 𝑃𝑙𝑎𝑛𝑒
v The remaining poles are on the LHP, but their
location cannot be determined with this method.
𝜎
− 5 27
Example:
𝑅 𝑠 + 𝐸 𝑠 𝐾 𝑌 𝑠
_ 𝑠 i. Determine the range of 𝐾 for which the closed loop system is asymptotically stable.
ii. If the system exhibits oscillations, (i.e. Marginally stable) find the oscillation frequency.
𝑠−1
𝑠! + 2𝑠 + 1
i) 𝑇 𝑠 =
2("1$)
+ 𝑠0 1 𝐾+1 For an asymptotically stable system, the following
" $(!" ,( 2($ "12 two equations must be simultaneously satisfied:
+ 𝑠! 2 −𝐾
? 𝑠% 2𝐾 + 2 + 𝐾 0 3𝐾 + 2 2
>0 ⇒ 𝐾>−
2 2 3
? 𝑠5 −𝐾 0
−𝐾 > 0 ⇒ 𝐾 < 0
v Then the system is asymptotically stable for −2/3 < 𝐾 < 0
3𝐾 + 2 2 !
2 !
1
= 0 ⇒ 𝐾 = − ⇒ In this case the imaginary axis root will be: 2𝑠 + = 0 ⇒ 𝑠 = −
2 3 3 3
3
* 𝑠= ± 𝑗
Oscillation frequency : 𝑟𝑎𝑑⁄𝑠𝑒𝑐 3
*
28
Evaluation of a Transfer Function at a Complex Point in s-plane
𝑠 + 𝑧$ 𝑠 + 𝑧! … (𝑠 + 𝑧I )
Ø Suppose that 𝐺 𝑠 𝐻(𝑆) is a transfer function of the form: 𝐺 𝑠 =
𝑠 + 𝑝$ 𝑠 + 𝑝! … (𝑠 + 𝑝I )
Ø If 𝑚 and 𝑛 are big numbers, this calculation can be extremely complicated and tedious.
Ø However, if the vector representative is used, this computation might be easier. To understand the logic, suppose
(𝑠 + 𝑧$ )
𝐺 𝑠 = Evaluation point: 𝑠 = 𝑠$ = 𝑎 + 𝑏𝑗
(𝑠 + 𝑝$ )
Ø Then the vector representation method indicates that, to evaluate a transfer function at a complex point in 𝑠 − 𝑝𝑙𝑎𝑛𝑒s,
simply draw vectors from the zeros and poles.
29
v Classical Method v Vector Representation
𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝑎 + 𝑧$ + 𝑏𝑗 𝑗𝜔
𝐺 𝑠$ = 𝑠%
𝑎 + 𝑝$ + 𝑏𝑗 𝑏
Or
E
! ](F7`6FI F(\&) 𝑀7 𝑀8
𝑎 + 𝑧$ + 𝑏! 𝑒 𝜃7 𝜃#
𝐺 𝑠 = E 𝑎 𝜎
](F7`6FIF(4 ) −𝑧 −𝑝
𝑎 + 𝑝$ ! + !
𝑏 𝑒 &
𝑀\ 𝑒 ]^1 𝑀\ ](^ 1^ ) 𝑏
= = 𝑒 1 ! 𝜃J = 𝑎𝑟𝑐𝑡𝑎𝑛
𝑀4 𝑒 ]^! 𝑀4 𝑎+𝑝
𝑀# = length of the vector = 𝑀# = 𝑎 + 𝑝% ! + 𝑏!
𝑏
𝑀7 = length of the vector = 𝑀7 = 𝑎 + 𝑧% ! + 𝑏! 𝜃X = 𝑎𝑟𝑐𝑡𝑎𝑛
𝑎+𝑧
1L(8] (1*(8])
1"6 𝑤𝑎𝑦: 𝐺 𝑠$ 𝐻 𝑠$ =
19(8] 8]
: Tedious!
𝑗𝜔
2IP 𝑤𝑎𝑦: 𝑠$ 𝑠 − 𝑃𝑙𝑎𝑛𝑒 8
𝜃\& = 180 − 𝑎𝑟𝑐𝑡𝑎𝑛 ≅ 122∘ 𝑀\& = 5! + 8! = 89
8 5
8 𝑀\, = 3! + 8! = 73
𝜃\, = 180 − 𝑎𝑟𝑐𝑡𝑎𝑛 ≅ 110.56∘
3
𝜃#! 𝜎
𝑀4& = 4! + 8! = 4 5
𝜃7! 𝜃## 𝜃7# 8
𝜃4& = 180 − 𝑎𝑟𝑐𝑡𝑎𝑛 ≅ 116.57∘
−7 −4 −3 −2 4 𝑀4, = 8
𝜃4, ≅ 90∘
𝑀\& 𝑒 ]^1& 𝑀\, 𝑒 ]^1, 𝑀\& 𝑀\, ] ^1& (^1, 1 ^!& (^!,
𝐺 𝑠$ 𝐻 𝑠$ = = 𝑒
𝑀4& 𝑒 ]^!& 𝑀4, 𝑒 ]^!, 𝑀4& 𝑀4,
∘
= 1.127𝑒 ]!L.::
31
" ,(!"(!
Example: 𝐺 𝑠 𝐻 𝑠 = ⇒ Evaluate 𝐺 𝑠 𝐻 𝑠 at the point 𝑠$ = 1 + 1𝑗. Find the resulting angle.
("(L)(" ,(8"(!L)("(8)
𝑗𝜔
𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝜃##
3 𝜃\& = 0 𝑀\& = 2
𝑀##
𝜃\, = 45∘ 𝑀\, = 2 2
𝜃7# 𝑀7
# 1
𝑠$
𝜃#$ 𝑀#$ 2
𝑀#" 𝜎 𝜃4& = 360 − 𝑎𝑟𝑐𝑡𝑎𝑛 = 339.2∘ 𝑀4& = 29
−8 −5 −4
𝜃#" 𝑀7 1
𝜃7! !
5
−1 4
𝜃4, = 𝑎𝑟𝑐𝑡𝑎𝑛 = 38.66∘ 𝑀4, = 41
𝑀#! 5
1
𝜃#! 𝜃4$ = 𝑎𝑟𝑐𝑡𝑎𝑛 = 9.46∘ 𝑀4$ = 37
−3
6
−1 1
𝜃4; = 𝑎𝑟𝑐𝑡𝑎𝑛 = 6.34∘ 𝑀4; = 82
9
𝑀\& 𝑀\,
𝐺 𝑠$ 𝐻 𝑠$ = 𝑒] ^1& (^1, 1 ^!& (^!, (^!$ (^!;
𝑀4& 𝑀4, 𝑀4$ 𝑀4;
𝐻(𝑠) v Closed-loop 𝑇. 𝐹. =
2X(")
: Closed-loop poles change with 𝐾.
$(2X " f(")
1 1
Example: 𝐺 𝑠 = , 𝐻 𝑠 =
𝑠 ! + 4𝑠 + 3 𝑠+1
2 2
Open loop 𝑇. 𝐹. = (" ,(9"(*)("($)
= " $(L" ,(c"(*
: location of poles are not affected by 𝐾
?
,
) 0;)0$ 2("($)
Closed Loop 𝑇. 𝐹. = ? = : locations of closed-loop poles change by 𝐾
$( , " $(L" ,(c"(*(2
() 0;)0$)()0&)
%
Magnitude Condition: |𝐺 𝑠 𝐻 𝑠 | = 9
Angle Condition: 𝐺 𝑠]
𝐻 𝑠 = 180(2𝑛 + 1)
Ø Then an 𝑠$ point can be made one of the closed – loop poles by a suitable positive real value of 𝐾, if 𝐺 𝑠 𝐻 𝑠 has can
angle of 180(2𝑛 + 1) (add multiple of 180). Every s – point satisfying this condition defines the root – locus of the system.
Ø In the other words, a point in s – plane is the root locus of the closed loop system if this point satisfies the angle
¢ = 180(2𝑛 + 1). The positive real 𝐾 value for this 𝑠$ value to be a closed – loop pole can be
condition, i.e. 𝐺(𝑠)𝐻(𝑠)
computed by using the magnitude conditions.
𝑠+5
Example: 𝐺 𝑠 𝐻 𝑠 =
𝑠 + 1 (𝑠 + 3)
i) Is 𝑠$ = −2 + 4𝑗 included by the root locus of the closed-loop
𝑅(𝑠) + 𝐾 𝐺(𝑠)
𝑌(𝑠)
_ system? If so, what is the corresponding 𝐾 value?
ii) Is 𝑠! = −3 + 2𝑗 included by the root locus of the closed-loop
𝐻(𝑠) system? If so, what is the corresponding 𝐾 value?
35
𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒
i)
𝑠$ 𝐺 𝑠 𝐻 𝑠 = 𝜃X: − (𝜃J: + 𝜃J' ) = 127∘
4 𝜃J: = 104.04∘
𝜃J' = 75.96∘
𝜃X: = 53∘ Ø The point 𝑠! = −2 + 4𝑗 is not included by the root locus of closed – loop system.
𝑀7# 𝑀#! 𝑀##
Ø Therefore, there is no suitable positive – real 𝐾 value, resulting in 𝑠! is a closed loop pole.
𝜃7# 𝜃#! 𝜃##
𝜎
−5 −3 −1
ii)
𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒 𝐺 𝑠 𝐻 𝑠 = 𝜃X: − (𝜃J: + 𝜃J' ) = −180∘
𝑠! 𝜃J: = 135∘ Ø The point 𝑠' = −3 + 2𝑗 is included by the root locus of closed – loop system.
2
𝜃J' = 90∘ ! \;: \;' ' ''
𝜃X: = 45∘ Ø To find the corresponding 𝐾 value 𝐾 = = = =2
𝑀7# 𝑀#! 𝑀## |Z # [(#)| \<: ' '
𝜃7# 𝜃#! 𝜃## 𝜎
2X(")
−5 −3 −1 To verify: ⇒ =
$(2X " f(") " ,( 9(2 "((L2(*)
−𝑏 ± 𝑏 ' − 4𝑎𝑐
⇒ 𝑠' + 6𝑠 + 13 = ⇒ −3 ± 2𝑗
2𝑎
This is the actual root locus of the closed loop system. In this root
locus it can be observed that 𝑠' = −3 + 2𝑗 is included by the
root locus, hence for 𝐾 = 2 it is a closed loop pole. The other
closed loop pole is at s = −3 − 2𝑗 , as might be expected.
36
v To plot the complete root locus, some properties of the root locus must be clarified.
𝑠+7 Ø Starting point 𝑠 = −3, 𝑠 = −4, 𝑠 = −5 open-loop poles of the system. The
𝐺" 𝐻" = closed-loop poles of the system are at 𝑠 = −3, 𝑠 = −4 and 𝑠 = −5 for 𝐾 = 0.
(𝑠 + 3)(𝑠 + 4)(𝑠 + 5)
Ø Ending points: 𝑠 = −7, the others? (zeros of the open-loop poles)
Definition: Mathematically, every s points that satisfies 𝐺" 𝐻" =0 is a zero of 𝐺" 𝐻" . These s values might be at infinity.
𝐺" 𝐻" =0 𝑠$ =-7
"(c $
lim ≈ " ,=0⇒ 𝑠!,* =∞ Therefore, there are two zeros at infinity. In general, there are n-m zeros at infinity.
" →U " $($!" ,(9c"(<B
37
To detect the location of the zeros at infinity, asymptotes of 𝐺" 𝐻" must be found. Without its proof, the formulas of
the asymptote can be given as follows:
𝑛: 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑝𝑜𝑙𝑒𝑠
𝑚: 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑧𝑒𝑟𝑜𝑠
For the previous example:
∑ 𝑟𝑒𝑎𝑙 𝑝𝑎𝑟𝑡 𝑜𝑓 𝑡ℎ𝑒 𝑝𝑜𝑙𝑒𝑠 − ∑ 𝑟𝑒𝑎𝑙 𝑝𝑎𝑟𝑡 𝑜𝑓 𝑡ℎ𝑒 𝑧𝑒𝑟𝑜𝑠 1L191*1(1c)
𝐺] = 𝜎F = =-2.5
𝑛−𝑚 !
𝜃] =
('JL!)
180° (𝑝 = 0,1,2,3, . . (𝑛 − 𝑚 − 1)) 𝜃F = 90° , 270 °
5%T
𝑠+5
𝐺 𝑠 𝐻 𝑠 =
𝑠 + 1 (𝑠 + 3)
1E± ∆ *!
𝑠 ! + 10𝑠 + 17 = 0, 𝑠 = !F
=-5 ± !
=-5 ±2 2
𝑠$ = −2,17, 𝑠! = −7,82
39
iv. Angle of Departure- Angle of Arrival: This is a property of root-locus for systems possessing complex-conjugate
poles/zeros on its open-loop transfer function.
To find the angle of departure (explain in detail) 𝜃!∗ : angle of 𝜃*∗ : angle of
arrival
departure
Departure: (𝜃X! + 𝜃X' + ⋯ + 𝜃XT )-(𝜃 ∗ + 𝜃J' + 𝜃J$ + … + 𝜃J5 )=180(2p+1)
1
Arrival: (𝜃 ∗ + 𝜃X' + 𝜃X$ + ⋯ + 𝜃XT )- (𝜃J!+ 𝜃J'+ 𝜃J$ + … + 𝜃J5 )=180(2p+1)
v. Imaginary axis (𝒋𝝎 axis) Crossing Points: For a root-locus, the imaginary axis crossing points and the corresponding 𝐾
values is of great importance, as this fact is the stability borderline which is the primary criteria for a control system to
satisfy.
1
𝐺" 𝐻" =
(𝑠 + 1)(𝑠 + 3)(𝑠 + 5)
¨©^ …
ª«¨©^ ¬^
= -_ «®-` «¯®-«ª°«¨ first approach
40
v To practically sketch the root-locus of any system, the following steps should be followed:
𝑅(𝑠) + 𝑌(𝑠)
𝐾 𝐺(𝑠) Open-loop𝑇. 𝐹. = 𝐾𝐺" 𝐻" = 𝐺" 𝐻i (in terms of pole dist.)
_
-
Let 𝐺$ = , 𝐻$ = 1
𝐻(𝑠) $($%-)($%,)
−60°
v. Imaginary Axis (𝒋𝝎 axis) Crossing: Routh table of closed – loop system: −0.4226
𝐾
𝑠0 1 2 𝐾𝐺(𝑠) 𝐾
𝑠(𝑠 + 1)(𝑠 + 2)
𝑠! 3 𝐾 = = $
1 + 𝐾𝐺 𝑠 𝐻 𝑠 𝐾 𝑠 + 3𝑠 ' + 2𝑠 + 𝐾
1+ − 2
𝑠 % 6−𝐾 𝑠(𝑠 + 1)(𝑠 + 2)
− 3
3 6 – 𝐾 = 0 ⇒ 𝐾Q = 6
5
𝑠 𝐾 41
3𝑠 ! + 6 = 0 ⇒ 𝑠 ! = −2 → 𝑠 = ± 2𝑗
" ,1!"(!
Example: For 𝐺 𝑠 = and 𝐻 𝑠 = 1 , plot the root locus of the closed loop system.
"("($)("(!)("(*)
bZ # [(#)
(The solution of the equation =0 ⇒ 𝑠! = −2.563, 𝑠' = −1.422, 𝑠$ = −0.298) 𝑅(𝑠) + 𝑌(𝑠)
b# 𝐾 𝐺(𝑠)
_
i. Real Axis Segments: −3 − 2 ∪ −1 0 𝐻(𝑠)
ii. Starting Ending Points(Asymptotes):
(%!%'%$%U)%(!L!) 'JL!
𝜎] = = −4, 𝜃] = 180∘ = 90∘, 270∘,
' '
𝑠4 1 11 + 𝐾 2𝐾 −4 1
𝑠0 6 6 − 2𝐾 0
𝑠! 4𝐾 2𝐾 -49 ! -0=96>5
10 + %36!9
=0 ⇒ 𝐾 = 2.04
3
𝑠% −4𝐾 ! − 36𝐾 + 90 0 12.71𝑠 ! + 4.08 = 0 ⇒
15 + 2𝐾 𝑠 ! = −0.32 → 𝑠 = ±0.56𝑗
𝑠5 2𝐾 42
("(!)("(!.cL)
Example: Plot the root locus of 𝐺 𝑠 𝐻 𝑠 =
"(" ,(!"(!)
jX " f(")
The solution of the equation = 0 ⇒ 𝑠$ = −6.085, 𝑠! = −2.277)
j"
i. Real Axis Segments: −∞, −2.75 ∪ −2, 0
−1 − 1 − (−2 + 2.75) 2𝑝 + 1
ii. Starting – Ending Points: 𝜎] = = 2.75 𝜃] = . 180∘ = 180∘
1 𝑛−𝑚
iii. Break – away Break – in Points: 𝑠$ = −6.085 𝑏𝑟𝑒𝑎𝑘 − 𝑖𝑛, 𝑠! = −2.277 𝑛𝑜𝑡 𝑖𝑛𝑐𝑙𝑢𝑑𝑒𝑑 𝑏𝑦 𝑟𝑜𝑜𝑡 𝑙𝑜𝑐𝑢𝑠.
iv. Angle of Departure – Angle of Arrival: (𝜃X: + 𝜃X' ) − (𝜃J∗ + 𝜃J: + 𝜃J' ) = 180(2𝑝 + 1) 74.74∘ − 225 − 𝜃J∗ = 160∘
v. 𝑗𝜔 axis crossing: 𝜃J∗ = 29.26∘
𝜃X: = 45∘
Characteristic poly: 𝑠 $ + 2 + 𝐾 𝑠 ' + 2 + 4.75𝐾 𝑠 + 5.5𝐾 1
𝜃X' = arctan = 29.74∘
1.75
d.efg'LfgLd 𝜃J: = 135 ∘
⇒ 𝑏 ' − 4𝑎𝑐 = 25 − 4x4x4.75 = 25 − 76 = −51 𝜃!∗ = 29.26∘
'Lg 𝜃J' = 90∘ 𝑠 − 𝑃𝑙𝑎𝑛𝑒
𝐾 is a complex number. Cannot be 0 for any 𝐾 𝑗𝜔
−6.085
𝜃4∗
−2.75 1
𝑠0 1 2 + 4.75𝐾
𝜃7! 𝜃##
𝑠! 2+𝐾 5.5𝐾 𝜃7# 𝜎
𝑠% −2.75 −2 −1
4.75𝐾 ! + 11.5𝐾 + 4 − 5.5𝐾
2+𝐾
𝑠5 5.5𝐾
43
Design By Root Locus
i. P Type Controllers: 𝐶 𝑠 = 𝐾, the controller is composed of simply a gain. In other words, there are no
poles/zeros of the controller.
26
i. PD Type Controllers: 𝐶 𝑠 = 𝐾e 𝑠 + 𝐾S ⇒ Mathematically, 𝐶 𝑠 = 𝐾e 𝑠 + = 𝐾e 𝑠 + 𝑧` (proper
2D
format for root locus). The controller composed of one adjustable zero and gain 𝐾e .
𝐾e : 𝐷𝑒𝑟𝑖𝑣𝑎𝑡𝑖𝑣𝑒 𝑔𝑎𝑖𝑛, 𝐾4 : 𝑝𝑟𝑜𝑝𝑜𝑟𝑡𝑖𝑜𝑛𝑎𝑙 𝑔𝑎𝑖𝑛
2E 26 2E
iii. PI Type Controllers: 𝐶 𝑠 = 𝐾S + ⇒ Mathematically, 𝐶 𝑠 = 𝑠+ . The controller is composed
" " 26
of one adjustable zero, one pole at s = 0 and a gain 𝐾S . (proper format for root locus)
𝐾> : 𝐼𝑛𝑡𝑒𝑔𝑟𝑎𝑙 𝑔𝑎𝑖𝑛
? ?
2 2D " ,( 6 "( E
? ?
iv. PID Type Controllers: 𝐶 𝑠 = 𝐾e 𝑠 + 𝐾S + E ⇒ Mathematically, 𝐶 𝑠 = D D
. The controller is
" "
composed of two adjustable zeros, one pole at 𝑠 = 0 and a gain 𝐾e . (proper format for root – locus)
44
Ø In all controller types (P, PD, PI, PID) the following assumption will be made:
i. The system of interest will be thought as if as classical 2IP order system, although it contains addition poles and/or
zeros.
ii. In the respect, the desired location of the closed – loop poles will be determined in accordance with the
performance criteria defined for the classical 2IP order systems.
iii. After the design step, the validity of the design will be discussed.
𝑒(𝑡) 𝐾𝑒(𝑡)
𝐾
Ø Using P - type controllers only limited range of performance criteria could be satisfied. The fundamental
limitation of a P – type controller is the necessity of the desired closed – loop locations to be included by
the root locus of the closed – loop system. P controller:
45
1 For a P controller i.e. 𝐶 𝑠 = 𝐾, can the closed – loop system exhibit, a 16 %𝑂𝑠 and
Example: 𝐺 𝑠 = , 𝐻 𝑠 =1
𝑠 𝑠 + 4 (𝑠 + 6) 3.32 𝑠𝑒𝑐. of settling time (𝑡# ) ? If so, find the value of corresponding 𝐾 value.
𝑅(𝑠) + 𝑌(𝑠)
'
_ 𝐶(𝑠) 𝐺(𝑠)
16 %𝑂𝑠 ⇒ 0.16 = 𝑒 %hi/ !%h ⇒ 𝜁 ≅ 0.5
d
3.32 𝑠𝑒𝑐. 𝑡# ⇒ = 3.32 ⇒ 𝜔5 ≅ 2.4
hk?
𝑠!,' = −𝜁𝜔5 ± 𝑗𝜔5 1 − 𝜁 ' = −1.205 ± 𝑗 2.064 the desired location of the closed – loop poles. 𝐻(𝑠)
𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒
Π 𝑚𝑎𝑔𝑛𝑖𝑡𝑢𝑑𝑒 𝑜𝑓 𝑝𝑜𝑙𝑒𝑠
2.066 𝑡ℎ𝑒 𝑐𝑜𝑟𝑟𝑒𝑠𝑝𝑜𝑛𝑑𝑖𝑛𝑔 𝐾 ∶
Π 𝑚𝑎𝑔𝑛𝑖𝑡𝑢𝑑𝑒 𝑜𝑓 𝑧𝑒𝑟𝑜𝑠
𝑀#" 𝑀##
𝑀#!
𝜃## 𝐾 = 43.29
𝜃#" 𝜃#! 𝜎 𝑀J: = 1.205' + 2.064' = 2.39 2.064
−6 −4 −1.205
0 𝑀J' = 1.205' + 3.052' = 3.47
Ø As can be observed from the first example, P controller becomes insufficient for the system to satisfy most of the performance criteria. In
other words, if the root locus of the closed loop system does not include the desired location of the closed loop poles P controller
becomes insufficient in the design.
Ø Mathematically, the root-locus of the closed loop system can be changed by a PD controller, since it contains an adjustable zero.
𝑑 𝐾4
𝐾e 𝑃𝐷 = 𝐾e 𝑠 + = 𝐾e 𝑠 + 𝑧
𝑑𝑡 𝐾e
+ 𝑜𝑛𝑒 𝑎𝑑𝑗𝑢𝑠𝑡𝑎𝑏𝑙𝑒 𝑧𝑒𝑟𝑜 𝑎𝑛𝑑 𝑜𝑛𝑒 𝑔𝑎𝑖𝑛
𝑒(𝑡)
+
𝐾
Ø In other word, a P type controller + an adjustable zero.
Ø If this zero is used for to complement the angle of the system
𝑑𝑒(𝑡)
𝑒(𝑡) 𝐾e + 𝐾4 𝑒(𝑡) to 180(2𝑝 + 1) all the performance criteria can be satisfied.
𝑃𝐷 𝑑𝑡
47
Example: Consider the first example in the P – Controller section. Can the performance criteria % 0𝑠 = 16 % and 𝑡" = 1.1 𝑠𝑒𝑐.
be satisfied by a P – type controller only? If not, design a PD controller for the closed – loop system to satisfy these criteria.
'
16 %𝑂𝑠 ⇒ 0.16 = 𝑒 %hi/ !%h ⇒ 𝜁 ≅ 0.5 1 𝑌(𝑠)
d 𝑅(𝑠) +
1.1 𝑠𝑒𝑐. 𝑡# ⇒ hk = 1.1 ⇒ 𝜔5 ≅ 7.27 _ 𝐾 𝑠 𝑠 + 4 (𝑠 + 6)
?
𝑠!,' = −𝜁𝜔5 ± 𝑗𝜔5 1 − 𝜁 ' = −3.613 ± 𝑗 6.193
the desired location of the closed – loop poles.
𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒
6.193
𝜃J: = 180 − arctan = 120.26l
6.193 3.613
6.193
𝜃J' = arctan = 86.42l
4 − 3.613
6.193
𝜃J@ = arctan = 68.92l
𝑀#" 𝑀## 6 − 3.613
𝑀#!
𝜃## 0 − (𝜃J: +𝜃J' + 𝜃J@ ) = −275.6l is not included by the root –locus.
𝜃#" 𝜃#! 𝜎
−6 −4 −3.613 0
48
𝐾S Ø As might be deduced, PD controller is used to assign two closed – loop
𝑧= : 𝑎𝑑𝑗𝑢𝑠𝑡𝑎𝑏𝑙𝑒 𝑧𝑒𝑟𝑜.
𝐾e poles to the desired locations by changing Root-Locus.
Ø These pole locations directly related to the performance criteria of
The location of 𝑧 can be selected such that:
transient state (𝑡# , 𝑡J , %0𝑠, 𝑡8 )
Ø Therefore, PD controller is used for transient state requirements!
𝜃\ − 𝜃4& + 𝜃4, + 𝜃4$ = 180 2𝑝 + 1 ⇒ 𝜃\ = 95.6k
6.193 6.193
= tan 84.4 ≅ 10.2
3.613 − 𝑧
𝐾S 𝑀#" 𝑀7 𝑀##
6.193 = 36.85 − 10.2𝑧 ⇒ 𝑧 = 3.006 = 𝑀#!
𝐾e 𝜃##
0!& 0!, 0!$ 𝜃#" 𝜃#! 𝜎
To find 𝐾e = 01
≅ 46.79 −6 −4 −3.613 −𝑧 = −3.006
0
Then PD ⇒ 𝐶 𝑠 = 46.79𝑠 + 140.66 𝑀## = 7.17
𝑀#! = 6.2
𝑀#" = 6.6
𝑀7 = 6.27
49
PI – Type Controller Design
Ø On the contrary to PD controller, PI controller is used for steady-state requirements, i.e. reducing or removing steady state errors.
(𝑠. 𝑠. 𝑒.) This can be better understood from the figure below:
𝑅(𝑠) + 𝐾m (𝑠 + 𝑧) 𝑌(𝑠)
_ 𝑠
𝐺(𝑠)
𝐾n
𝐾n 𝐾m 𝑠 + 𝐾n 𝐾m 𝑠 + 𝐾m (𝑠 + 𝑧)
𝐾m
𝑃𝐼 = 𝐾m + = = =
𝐾> d 𝑠 𝑠 𝑠 𝑠
+ 𝐾m 𝑒 𝑡 + 𝐾n z 𝑒 𝑡 𝑑𝑡 𝑠+𝑧
𝑒(𝑡) 𝑂𝑝𝑒𝑛 𝐿𝑜𝑜𝑝 𝑇𝐹 = 𝐾m 𝐺(𝑠)
𝑠
+
𝐾S Increase the system type by 1
Ø Since the PI controller increases the system type by 1, it tends to improve or remove 𝑠. 𝑠. 𝑒. depending on the input type, i.e.
step, ramp or parabolic. (for details see the steady – state errors section.)
Ø In the other words, a PI controller can be used to
v Remove 𝑠. 𝑠. 𝑒.
v Reduce the amount of 𝑠. 𝑠. 𝑒.(if removing is not possible)
Ø To remove the 𝑠. 𝑠. 𝑒. using a PI controller, the following steps should be followed:
v If some performance criteria for transient response are desired to be satisfied, adjust the gain of the controller to satisfy the desired criteria.
v If the system is operating under certain conditions, and there is no need to satisfy some transient state performance criteria, only find the
operating gain (𝐾 ) and skip this step.
v Since just placing a PI controller increases the system type by 1, 𝑠. 𝑠. 𝑒. is removed. Then all is needed to place the adjustable zero of PI.
v In that regard, place the zero of the PI sufficiently close to the origin (𝑠 = 0) in order not to change the root – locus of the system. 50
Example: The system is operating at 𝑡# = 6.36 𝑠𝑒𝑐, %0𝑠 = % 61.8, design a PI controller for this system for a zero 𝑠. 𝑠. 𝑒. for step inputs.
𝑅(𝑠) 1 𝑌(𝑠) 𝑠+𝑧 The adjustable zero will be placed so that the root
+ 𝐶(𝑠) 𝐶 𝑠 = 𝐾m locus of the system is not affected.
_ (𝑠 + 1) 𝑠 + 2 (𝑠 + 10) 𝑠
The gain will be used to ensure the operation criteria
𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒
4.1
0 − 𝜃J: + 𝜃J' + 𝜃J@ = 180 2𝑝 + 1 = 179.97 The described pole locations are included by the
root-locus of the system.
The operating 𝐾m = 𝑀J: 𝑀J' 𝑀J@ = 182
2.05
𝑀#" 𝑀#!
𝑀## Now add PI’s fixed pole at s = 0 and place the adjustable zero sufficiently close to the pole (origin).
l l
𝜃#" 𝜃#! 𝜃## 𝜎 v If 𝑧 = 0.1 ⇒ 𝐴𝑛𝑔𝑙𝑒 𝑐𝑜𝑛𝑡𝑟𝑖𝑏𝑢𝑡𝑖𝑜𝑛: 𝜃X − 𝜃J : 𝜃J = 98.722 , 𝜃X = 95.3519 ,
−10 −2 −1 0 𝜃X − 𝜃J ≅ −1.35 approx. no effect
v If 𝑧 = 0.01 ⇒ 𝐴𝑛𝑔𝑙𝑒 𝑐𝑜𝑛𝑡𝑟𝑖𝑏𝑢𝑡𝑖𝑜𝑛: 𝜃X − 𝜃J : 𝜃J = 98.722l , 𝜃X = 98.5854l ,
𝜃X − 𝜃J ≅ −0.14 approx. no effect
𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒
v 𝑀𝑎𝑔𝑖𝑡𝑢𝑑𝑒𝑠: 𝑀J: 𝑀J' 𝑀J@
\;
𝑧 = 0.1 ⇒ 𝑀J ≅ 4.15, 𝑀X = 4.13, \<
≅ 1.0
4.1 \;
𝑧 = 0.01 ⇒ 𝑀J ≅ 4.15, 𝑀X = 4.1465, \<
≅ 1.0
2.05 Then the PI controller becomes:
gA(#LX) (#LU.!) gB
𝑀#" 𝑀## v If z is selected so that 𝑧 = 0.1 ⇒ = 18.2 ⇒ = 0.1
𝑀#! # # gA
𝜃#! 𝜃## 𝜎 𝐾n = 18.2 , 𝐾m = 182
𝜃#"
−10 −2 −1
0
gA(#LX) (#LU.!) gB
v If z is selected so that 𝑧 = 0.01 ⇒ #
= 18.2 #
⇒ gA
= 0.01
51
𝐾n = 1.82 , 𝐾m = 182
PID Type Controller Design
• PD → Satisfaction of criteria related to transient state
• PI → Removing the steady state error (steady-state criterion)
• PID → Satisfaction of both transient state criteria + steady state criterion.
"(B.$
Step 2: Add PI to the system: Select 𝑧! = 0.1 ⇒ "
𝐾S 𝐾>
= 3.106 ⇒ 𝐾S = 145.3297 = 0. 3006 ⇒ 𝐾> = 14.0651
𝐾e 𝐾e
53
("(8)
Example: For the system given as: 𝐺 𝑠 = design a PID controller such that the system exhibits
"(* "(< ("($B)
𝑡J = 0.2 𝑠𝑒𝑐, %0𝑠 = 20%, 𝑧𝑒𝑟𝑜 𝑠. 𝑠. 𝑒. 𝑓𝑜𝑟 𝑠𝑡𝑒𝑝 𝑖𝑛𝑝𝑢𝑡𝑠
Step 1: Design a PD controller for the closed loop system to meet the transient state criteria: 𝑃𝐷 = 𝐾e (𝑠 + 𝑧`& )
𝑗𝜔 𝑠 − 𝑃𝑙𝑎𝑛𝑒
15.87
'
20 %𝑂𝑠 ⇒ 0.20 = 𝑒 %hi/ !%h ⇒ 𝜁 ≅ 0.45 𝜃J: = 107.91°
i
0.2 𝑠𝑒𝑐. 𝑡J ⇒ '
= 0.2 ⇒ 𝜔5 ≅ 17.58 𝜃J' = 97.64°
k? !%h
𝑀#"
𝜃J@ = 83.29°
𝑀7 𝑀#! 𝑀##
𝑠!,' = −𝜁𝜔5 ± 𝑗𝜔5 1 − 𝜁 ' = −8.13 ± 𝑗 15.87 𝜃X = 90.47°
𝜃#" 𝜃7 𝜃#!
the desired location of the closed – loop poles. 𝜃## 𝜎
−10 −8 −6 −3 0
−8.13
54
𝑠 + 𝑧u' 𝑠 + 0.1
Step 2: Add PI to the system without appreciably affecting the transient response : =
𝑠 𝑠
𝐾o (𝑠 + 𝑧u: )(𝑠 + 𝑧u' ) 𝐾o (𝑠 + 55.05)(𝑠 + 0.1) 5.34 𝑠 ' + 56.02𝑠 + 5.592
𝑃𝐼𝐷 = = =
𝑠 𝑠 𝑠
55