Professional Documents
Culture Documents
2
Review on Lecture 6 (Root locus)
Sketching of the Root Locus Practice: Sketch the root locus and its
asymptotes for a unity feedback system
Rule 5: Behaviour at infinity that has the forward transfer function:
The root locus approaches straight lines as 𝐾𝐾
𝐺𝐺 𝑠𝑠 =
asymptotes as the locus approaches infinity. 𝑠𝑠 + 2 𝑠𝑠 + 4 𝑠𝑠 + 6
Further, the equation of the asymptotes is given
by the real-axis intercept, 𝜎𝜎𝑎𝑎 , and 𝜃𝜃𝑎𝑎 , as follows:
∑ finite poles − ∑ finite zeros
𝜎𝜎𝑎𝑎 =
#finite poles − #finite zeros
(2𝑘𝑘 + 1)𝜋𝜋
𝜃𝜃𝑎𝑎 =
#finite poles − #finite zeros
Method 2: 𝑚𝑚 𝑛𝑛
1 1
� =�
𝜎𝜎 + 𝑧𝑧𝑖𝑖 𝜎𝜎 + 𝑝𝑝𝑖𝑖
1 1 7
Review on Lecture 6 (Root locus)
𝑠𝑠 2 90 − 𝐾𝐾 21𝐾𝐾 0
Step 1: Forcing a row of zeros in the 𝑠𝑠1 −𝐾𝐾 2 − 65𝐾𝐾 + 720 0 0
Routh table will yield the gain; 90 − 𝐾𝐾
𝑠𝑠 0 21K 0 0
Step 2: Going back one row to the even
polynomial equation and solving for the −𝐾𝐾 2 − 65𝐾𝐾 + 720 = 0 𝐾𝐾 = 9.65
roots yields the frequency at the 90 − 𝐾𝐾 𝑠𝑠 2 + 21𝐾𝐾 = 0 80.35𝑠𝑠 2 + 202.7 = 0
imaginary-axis crossing.
𝑠𝑠 = ±𝑗𝑗𝑗.59 8
Review on Lecture 6 (Root locus)
𝜃𝜃6
𝜃𝜃3
𝜎𝜎
𝜃𝜃5
𝜃𝜃4
9
𝜃𝜃2 + 𝜃𝜃4 + 𝜃𝜃6 − 𝜃𝜃1 + 𝜃𝜃3 + 𝜃𝜃5 = 2𝑘𝑘 + 1 180°
Exercise
1. Given a DC Motor Position Control system shown below, sketch the root locus of the closed-
loop poles as the proportional gain 𝐾𝐾𝑃𝑃 varies from 0 to ∞.
θD θDV + 16 θ
0.03 KP s(0.0174 s + 1)
− Controller Plant G(s)
θV
0.03
10
Exercise
1. Given a DC Motor Position Control system shown below, sketch the root locus of the closed-
loop poles as the proportional gain 𝐾𝐾𝑃𝑃 varies from 0 to ∞.
Solution:
Forward transfer function (TF):
0.48𝐾𝐾𝑃𝑃
𝐺𝐺𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹 (𝑠𝑠) =
𝑠𝑠(0.0174𝑠𝑠 + 1)
Open-loop (OL) TF :
0.48𝐾𝐾𝑃𝑃
𝐺𝐺𝑂𝑂𝑂𝑂 𝑠𝑠 = 𝐺𝐺𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹𝐹 𝑠𝑠 × 1 =
𝑠𝑠(0.0174𝑠𝑠 + 1)
OL poles: -57.47 and 0. OL zeros: two infinities. 11
Exercise
2. Given a positioning feedback control system shown below, sketch the root locus of the closed-
loop poles as the proportional gain K varies from 0 to ∞.
R(s) + 16 C(s)
K(s+80) s(0.0174 s + 1)
− Controller Plant G(s)
12
Exercise
2. Given a positioning feedback control system shown below, sketch the root locus of the closed-
loop poles as the proportional gain K varies from 0 to ∞.
Solution:
Open-loop (OL) TF :
16𝐾𝐾(𝑠𝑠 + 80)
𝐺𝐺𝑂𝑂𝑂𝑂 𝑠𝑠 =
𝑠𝑠(0.0174𝑠𝑠 + 1)
3. Given a positioning feedback control system shown below, sketch the root locus of the closed-
loop poles as the proportional gain K varies from 0 to ∞, and find the stability condition for K.
14
14
Exercise
3. Given a positioning feedback control system shown below, sketch the root locus of the closed-
loop poles as the proportional gain K varies from 0 to ∞, and find the stability condition for K.
Solution:
OL TF :
K ( s 2 + 2 s + 101)
GOL ( s ) =
( s + 2)( s 2 + 2 s + 26)
OL poles: -1±j5, -2
OL zeros: -1±j10, infinity
15
What is a PID controller?
− Controller Plant
𝐾𝐾𝑃𝑃 𝐾𝐾𝑃𝑃
𝑅𝑅 𝑠𝑠 + 𝐸𝐸(𝑠𝑠) 1
𝐶𝐶 𝑠𝑠
𝐾𝐾𝑃𝑃 𝐺𝐺 𝑠𝑠 = 2
𝑠𝑠 + 𝑎𝑎1 𝑠𝑠 + 𝑎𝑎2
−
Step Response
2
System: Kp = 100
Time (seconds): 0.101 Kp = 1
Amplitude: 1.6 Kp = 10
Kp = 100
1.5 System: Kp = 10
Time (seconds): 0.359
tem: Kp = 100 System: Kp = 1
Amplitude: 1.16
e (seconds): 0.0553 Time (seconds): 5.93
plitude: 0.997 Amplitude: 0.999
Amplitude
System: Kp = 10 System: Kp = 1
Time (seconds): 0.212 Time (seconds): 2.16
Amplitude: 0.897 Amplitude: 0.899
0.5
0 19
0 1 2 3 4 5 6
Time (seconds)
What is a PID controller?
What is the effect of each term – Integral Term
𝑅𝑅 𝑠𝑠 + 𝐸𝐸(𝑠𝑠) 𝐾𝐾𝐼𝐼 1
𝐶𝐶 𝑠𝑠
𝐺𝐺 𝑠𝑠 =
𝑎𝑎1 𝑠𝑠 + 𝑎𝑎2
− 𝑠𝑠
𝑅𝑅 𝑠𝑠 + 𝐸𝐸(𝑠𝑠) 𝐾𝐾𝐼𝐼 1
𝐶𝐶 𝑠𝑠
𝐺𝐺 𝑠𝑠 =
𝑎𝑎1 𝑠𝑠 + 𝑎𝑎2
− 𝑠𝑠
21
What is a PID controller?
How does a PID work? – Derivative Term
𝑅𝑅 𝑠𝑠 + 𝐸𝐸(𝑠𝑠) 1
𝐶𝐶 𝑠𝑠
𝐾𝐾𝐷𝐷 𝑠𝑠 𝐺𝐺 𝑠𝑠 = 2
𝑠𝑠 + 𝑎𝑎1 𝑠𝑠 + 𝑎𝑎2
−
Ang, K.H. and Chong, G.C.Y. and Li, Y. (2005) PID control system analysis, design, and technology. IEEE
23
Transactions on Control Systems Technology 13(4):pp. 559-576.
From Perspective of Root Locus, …
Improve transient response
𝑗𝑗𝑗𝑗
𝑗𝑗𝑗𝑗
+𝑗𝑗𝜔𝜔𝑛𝑛 1 − 𝜁𝜁 2 = +𝑗𝑗𝜔𝜔𝑑𝑑
𝜎𝜎 𝜔𝜔𝑛𝑛
𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃 = 𝜁𝜁
𝜃𝜃
−𝜁𝜁𝜔𝜔𝑛𝑛 = −𝜎𝜎𝑑𝑑 𝜎𝜎
π 4 − 𝜁𝜁 ⁄ 1−𝜁𝜁 2 π
𝑇𝑇𝑝𝑝 = , 𝑇𝑇 = and 𝑀𝑀𝑝𝑝 = 𝑒𝑒
𝜔𝜔𝑑𝑑 𝑠𝑠 𝜎𝜎𝑑𝑑
𝑡𝑡
24
From Perspective of Root Locus, …
Improve steady-state response
𝑗𝑗𝑗𝑗 𝑗𝑗𝑗𝑗 𝑗𝑗𝑗𝑗
𝜎𝜎 𝜎𝜎 𝜎𝜎
𝑐𝑐(𝑡𝑡)
𝑐𝑐(𝑡𝑡)
𝑡𝑡 25
𝑡𝑡
From Perspective of Root Locus, …
Improve transient response
𝑗𝑗𝑗𝑗
Typical objective: Design a response that has a
desirable percent overshoot and a shorter settling
time than the original system.
26
𝑡𝑡
From Perspective of Root Locus, …
Improve transient response
Example: Design a PD controller to yield a 𝑅𝑅(𝑠𝑠) + 𝐸𝐸(𝑠𝑠) 𝐾𝐾 𝐶𝐶 𝑠𝑠
16% overshoot, with a threefold reduction in 𝑠𝑠(𝑠𝑠 + 4)(𝑠𝑠 + 6)
settling time. −
Desired
pole
4 4 3.32 27
𝑇𝑇𝑠𝑠 = = = 3.32 s 𝑇𝑇𝑠𝑠,new = = 1.107 s
𝜎𝜎𝑑𝑑 1.025 3
From Perspective of Root Locus, …
Improve transient response
Example: Design a PD controller to yield a 𝑅𝑅(𝑠𝑠) + 𝐸𝐸(𝑠𝑠) 𝐾𝐾 𝐶𝐶 𝑠𝑠
16% overshoot, with a threefold reduction in 𝑠𝑠(𝑠𝑠 + 4)(𝑠𝑠 + 6)
settling time. −
28
From Perspective of Root Locus, …
Improve transient response
Example: Design a PD controller to yield a 𝑅𝑅(𝑠𝑠) + 𝐸𝐸(𝑠𝑠) 𝐾𝐾 𝐶𝐶 𝑠𝑠
16% overshoot, with a threefold reduction in 𝑠𝑠(𝑠𝑠 + 4)(𝑠𝑠 + 6)
settling time. −
𝐸𝐸(𝑠𝑠) PD controller
𝑅𝑅(𝑠𝑠) + 47.45 𝐶𝐶 𝑠𝑠
(𝑠𝑠 + 3.006)
𝑠𝑠(𝑠𝑠 + 4)(𝑠𝑠 + 6)
−
29
From Perspective of Root Locus, …
Improve steady-state response
𝑗𝑗𝑗𝑗
Typical objective: Design a response to improve
the steady-state error without appreciably
affecting the transient response.
𝜎𝜎 Use a pure integrator to place an open-loop,
forward-path pole at the origin, thus increasing
the system type and reducing the error to zero
𝐾𝐾(𝑠𝑠 + 𝑎𝑎)
𝐺𝐺𝑐𝑐 =
𝑐𝑐(𝑡𝑡) 𝑠𝑠
30
𝑡𝑡
From Perspective of Root Locus, …
Improve steady-state response
Example: Given a system operating at a 𝐸𝐸(𝑠𝑠)
damping ratio of 0.174, reduce the steady- 𝑅𝑅(𝑠𝑠) + 1 𝐶𝐶 𝑠𝑠
𝐾𝐾
state error to zero for a step input without − (𝑠𝑠 + 1)(𝑠𝑠 + 2)(𝑠𝑠 + 10)
appreciably affecting transient response.
31
From Perspective of Root Locus, …
Improve steady-state response
Example: Given a system operating at a 𝐸𝐸(𝑠𝑠)
𝑅𝑅(𝑠𝑠) + 1 𝐶𝐶 𝑠𝑠
damping ratio of 0.174, reduce the steady- 𝐾𝐾
state error to zero for a step input without (𝑠𝑠 + 1)(𝑠𝑠 + 2)(𝑠𝑠 + 10)
−
appreciably affecting transient response.
32
From Perspective of Root Locus, …
Improve transient response & steady-state response
Proportional-integral-derivative Procedures:
(PID) controller
Evaluate the performance of the uncompensated
system to determine how much improvement in
transient response is required.
Design the PD controller to meet the transient
response specifications.
Simulate the system to be sure all requirements
have been met. Redesign if necessary.
Design the PI controller to yield the required
steady-state error.
Determine K1, K2, and K3.
Simulate the system to be sure all requirements
have been met. Redesign if necessary.
33
From Perspective of Root Locus, …
Improve transient response & steady-state response
Example: Design a PID controller so that the
system can operate with a peak time that is
two-thirds that of the uncompensated system
at 20% overshoot and with zero steady-state
error for a step input.
34
From Perspective of Root Locus, …
Improve transient response & steady-state response
Example: Design a PID controller so that the
system can operate with a peak time that is
two-thirds that of the uncompensated system
at 20% overshoot and with zero steady-state
error for a step input.
Desired 𝑗𝑗𝑗𝑗
pole
𝜎𝜎
35
From Perspective of Root Locus, …
Improve transient response & steady-state response
Example: Design a PID controller so that the
system can operate with a peak time that is
two-thirds that of the uncompensated system
at 20% overshoot and with zero steady-state
error for a step input.
36
From Perspective of Root Locus, …
Improve transient response & steady-state response
Example: Design a PID controller so that the
system can operate with a peak time that is
two-thirds that of the uncompensated system
at 20% overshoot and with zero steady-state
error for a step input.
𝑗𝑗𝑗𝑗
0.456
𝜎𝜎
37
From Perspective of Root Locus, …
Improve transient response & steady-state response
38
Example of Flight Control Systems
Flight control systems
𝜙𝜙, 𝜃𝜃, 𝜓𝜓 …
Actuator Aircraft
dynamics
Sensor 39
Example of Flight Control Systems
Attitude control system – Example
𝛿𝛿𝑐𝑐 𝑠𝑠 1
= 𝐾𝐾𝑝𝑝 1 + + 𝑇𝑇𝑑𝑑 𝑠𝑠 𝐾𝐾𝑝𝑝 =? , 𝑇𝑇𝑖𝑖 =? , 𝑇𝑇𝑑𝑑 =?
𝑒𝑒 𝑠𝑠 𝑇𝑇𝑖𝑖 𝑠𝑠
• Root locus
• Ziegler–Nichols Rules
40
Example of Flight Control Systems
Ziegler–Nichols Rules for Tuning PID Controllers
1
𝐺𝐺𝑐𝑐 𝑠𝑠 = 𝐾𝐾𝑝𝑝 1 + + 𝑇𝑇𝑑𝑑 𝑠𝑠
𝑇𝑇𝑖𝑖 𝑠𝑠
43
Practice
Example: For a unity feedback system operating with a dominant-pole damping ratio of 0.707.
Design a PD controller so that the settling time is reduced by a factor of 2. Compare the transient
and steady-state performance of the uncompensated and compensated systems.
44
Reference
The learning and teaching platforms of The Hong Kong Polytechnic University
(‘PolyU”) are for the use of PolyU students to facilitate their learning. The student
shall use the platforms and the materials available (including teaching sessions
conducted by staff of PolyU) for their personal study only. Where a student needs
to download or save the materials available on the platforms for the permitted
purposes, the student shall take all necessary measures to prevent their access by
other parties. The materials are copyright protected. Save for the permitted
purposes, no copying, distribution, transmission or publication of the materials in
whole or in part in any form is permitted.
AAE3004 Dynamical Systems and Control
Dr. Bing XU
Research Assistant Professor
Department of Aeronautical and Aviation Engineering
The Hong Kong Polytechnic University
Office: QR832
Tel: 3400 8010
Email: pbing.xu@polyu.edu.hk