PID Controller: Dr. Sadeq Al-Majidi
PID Controller: Dr. Sadeq Al-Majidi
PID controller
Dr. Sadeq Al-Majidi
• Overview
• P controller
• PI controller
• PD controller
• PID controller
• Tuning of PID
2
Overview
• Proportional-Integral-Derivative (PID) control is the most
common control algorithm used in industry.
• The popularity of PID controllers can be attributed partly
to their robust performance in a wide range of operating
conditions and partly to their functional simplicity.
• It does not require accurate model of the plant or process
being controlled and can be understood by most
engineers without being a control expert.
• It is closed loop system.
3
General diagram of PID system
5
P controller response
• In general, increasing
the proportional gain Kp
will increase the speed
of the control system
response. However, if
the proportional gain is
too large, the process
variable will begin to
oscillate.
• application : Adjust the
liquid level in tanks.
6
PI controller
• High overshoot
7
PI response
8
PD controller
• High damping
9
PD response
10
PID controller
11
Block diagram of PID controller
12
Tuning of PID controller
• The process of setting the optimal gains for P, I and D to get
an ideal response from a control system is called tuning.
• There are different methods of tuning of which the “guess
and check” method and the Ziegler Nichols method will be
discussed.
• In guess and check method, the KI and KD are set to zero
first and the proportional gain is increased until the output of
the loop oscillates.
• As one increases the Kp, the system becomes faster.
• Once Kp has been set to obtain a desired fast response, the
integral term is increased to stop the oscillations.
• Increasing KD decreases overshoot and yields higher gain
with stability.
13
Ziegler Nichols method
Control P Ti Td
P 0.5Kc - -
PI 0.45Kc Tc/1.2 -