3. Intro to Controller Design
3. Intro to Controller Design
INTRODUCTION TO
CONTROLLER DESIGN
01 02 03
01 02 03
Previously, you got the idea of the controller's role in a control system
4
EXAMPLE
5
EXAMPLE
6
GENERAL IDEA
7
CONTROL METHODS
8
9
CONTENTS
01 02 03
https://youtu.be/wkfEZmsQqiA
11
PID CONTROL
12
PID CONTROL
13
PID CONTROL
𝑑𝑒(𝑡)
𝑢 𝑡 = 𝑘𝑃 𝑒 𝑡 + 𝑘𝐼 න 𝑒 𝑡 𝑑𝑡 + 𝑘𝐷
𝑑𝑡
where
• u(t): controller output
• e(t): error term
• kP: proportional gain
• kI: integral gain
• kD: derivative gain
14
PID CONTROL
• In this chapter, we will not go depth into the maths, but rather
build an intuitive understanding of PID controller
• More detail will be covered in later chapters
15
PROPORTIONAL CONTROL
v = kPe(t)
50 m
16
PROPORTIONAL CONTROL
17
PROPORTIONAL CONTROL
Zeno Paradox
18
INTEGRAL CONTROL
19
INTEGRAL CONTROL
Overshooting Windup
20
DERIVATIVE CONTROL
21
VARIANCES OF PID CONTROL
kp kp kp
Error Output Error Output Error Output
0 kI 0
0 0 kD
22
PID TUNING
Adjust kP, kI, kD properly to obtain desired output with desired performance
23
INTEGRAL WINDUP
24
DERIVATIVE NOISE
25
HARDWARE DEMO
https://youtu.be/fusr9eTceEo
26
CONTENTS
01 02 03
28
SIMULINK PRACTICE #2
29