PID Controller
PID Controller
PID Controller
PID Controller
Slide 1 of 13
SEDEMAC
Agenda
● Tuning methods
● Advantages, Limitations
Slide 2 of 13
SEDEMAC
Intro: Feedback Control Systems - I
● PID Controller is a Feedback Control System
● System
– Relationship between inputs and outputs
– Inputs/Outputs: Physical quantities (speed, voltage,
air-to-fuel ratio, fuel, position…)
Inputs Outputs
System
Control
Reference “r” Input “u” Output “y”
Controller Plant
Slide 4 of 13
SEDEMAC
Feedback Control Problem Formulation
● Structure of a feedback control system:
Control
Reference “r” Input “u” Output “y”
Controller Plant
Slide 5 of 13
SEDEMAC
PID Controller Structure - I
● Error based controller
– Generic control structure: u(t) = f(r(t), y(t))
– Define e(t) = r(t) – y(t): the “error signal”
– Control input u(t) expressed as a function of e(t)
Slide 6 of 13
SEDEMAC
PID Controller Structure - II
● Block Diagram
PID Controller
∫ KI
+
r e u y
KP Plant
+ +
+
-
d KD
dt
● PID terms
– P: “present”, based on instantaneous error, fast response
– I: “past”, based on history, removes steady-state error
– D: “future”, based on estimated future, opposes future changes
Slide 7 of 13
SEDEMAC
PID Controller: Virtues
● Criteria for a good control system
– Good closed-loop performance
– Simple to realize
● System cost should be low (hardware, software)
– Simple to tune
● Tuning is critical in a closed loop control
● Closing the loop can de-stabilize an open-loop-stable system
● Number of tuning parameters, ease of tuning important
● How PID controller fairs
– Good performance for most practical systems
– Simple equations, implementable on low-cost MCUs/ hardware
– Relatively simple to tune, plenty of experience built
Slide 8 of 13
SEDEMAC
PID Controller Tuning Methods - I
● Tuning approaches
– Model based (automatic/semi-automatic)
– Model-free
Slide 11 of 13
SEDEMAC
Summary
● PID controller is a particular implementation of feedback control system
Slide 12 of 13
SEDEMAC
Thank You
Slide 13 of 13