Professional Documents
Culture Documents
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-1
Dynamic Systems and Control, Chapter 5: PID control
Feedback
Amplifier
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-2
Dynamic Systems and Control, Chapter 5: PID control
On/Off Control
Reference signal r
+
- On/Off control Incubator
y
e u
Feedback
ery u
umax
umin , e 0
u umin
umax , e 0
e
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-3
Dynamic Systems and Control, Chapter 5: PID control
Proportional Control
Reference signal r
+ KP Incubator
y
-
e u
Feedback
Reference signal r
+ KP ++ Incubator
-
e u
y
Feedback
Proportional Integral
(PI) controller keeps 𝑡
Reference signal r
+ KP ++ Incubator
-
e + u
y
K D det / dt
Feedbac
Add the prediction of the control k
error
e D
𝑡 𝑑𝑒
I P 𝑢 𝑡 = 𝐾𝑃 𝑒 𝑡 +𝐾𝐼 0 𝑒 𝑠 𝑑𝑠+𝐾𝐷
𝑑𝑡
t
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-6
Dynamic Systems and Control, Chapter 5: PID control
Oscillation!
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-7
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-8
Dynamic Systems and Control, Chapter 5: PID control
PI
control law
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-9
Dynamic Systems and Control, Chapter 5: PID control
Decreas
KI e
Increase Increase Eliminate
Small Small
KD Change
Decrease Decrease
Change
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-11
Dynamic Systems and Control, Chapter 5: PID control
Conclusions
PID controller is the best because:
- High demand on precision
- High variation in desired outputs
However, it is:
- Expensive
- Complicated to tune
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-12
Dynamic Systems and Control, Chapter 5: PID control
PID control
- The magical three-term controller
t
K I e( s ) ds
0
Reference signal r
+ KP ++ Incubator
-
e + u
y
K D det / dt
Feedbac
k
de 1 0 de(t )
t
u (t ) K P e(t ) K I e( s )ds K D K p e(t ) e( )d Td
TI dt
t
0 dt
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-13
Dynamic Systems and Control, Chapter 5: PID control
PID Tuning
₋ Tuning is the choosing of the parameters KD, KI, and KP,
for a PID Controller
₋ The oldest and most used method of tuning are the
Ziegler-Nichols (ZN) methods developed in the 1940’s.
₋ The first method is based on the assumption that the
process without its feedback loop performs with a 1st
order transfer function
₋ The second method assumes that a higher order system
has dominant poles which can be excited by gain to the
point of steady oscillation
₋ In order to establish the constants for computing the
parameters, simple tests are performed of the process
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-14
Dynamic Systems and Control, Chapter 5: PID control
Rise Time T
Type Kp TI TD
T
P L
Lag L 0.9T
PI L
3.33L
1.2T
PID L
2L 0.5L
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-15
Dynamic Systems and Control, Chapter 5: PID control
Type Kp TI TD
Pcr P 0.5Kcr
1 PI 0.45Kcr Pcr
Cycl 1.2
e PID 0.6Kcr 0.5Pcr 0.125Pcr
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-16
Dynamic Systems and Control, Chapter 5: PID control
PID tuning
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-17
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-18
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-19
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-20
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-21
Dynamic Systems and Control, Chapter 5: PID control
(a) No Compensation
(b) Only Integrator:
– Steady-state performance
improved.
– However, the transient
response in (a) can not be
achieved!
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-22
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-23
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-24
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-25
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-26
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-27
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-28
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-29
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-30
Dynamic Systems and Control, Chapter 5: PID control
Cascade compensator
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-31
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-32
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-33
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-34
Dynamic Systems and Control, Chapter 5: PID control
Design Procedure
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-35
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-36
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-37
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-38
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-39
Dynamic Systems and Control, Chapter 5: PID control
© 2015 Quoc Chi Nguyen, Head of Control & Automation Laboratory, nqchi@hcmut.edu.vn 5-40