Professional Documents
Culture Documents
Tuning of PID Controller: Dr. Sadeq Al-Majidi
Tuning of PID Controller: Dr. Sadeq Al-Majidi
Tuning of PID Controller: Dr. Sadeq Al-Majidi
• Tuning of PID
• First method: continuous cycling
• Second method: process rection
• Example
2
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.
3
Ziegler Nichols method
4
• First way: continuous cycling
5
Example : Consider the control system shown in Figure below in which a PID
controller is used to control the system. Find the K, Ti and Td?
6
• The value of Kp that makes the system marginally stable so that sustained
oscillation occurs can be obtained by use of Routh’s stability criterion. Since the
characteristic equation for the closed-loop system is
7
• Examining the coefficients of the first column of the Routh table, we find that
sustained oscillation will occur if Thus, the critical gain Kc =30.
• Now, the characteristic equation becomes:
8
• To find the frequency of the sustained oscillation, we substitute S=jw into this
characteristic equation as follows:
• From which we find the frequency of the sustained oscillation to be root(5). Hence, the
period of sustained oscillation is
• Kp=0.6Ku=18
• Ti=0.5Ku=1.405
• Td=0.125Pu=0.35124
9
Second method : process rection
10
Example: The process rection curve of temperature control
system shows in Figure below: find the K of PID ?
Solution:
R= 0.0306
D=1.55
Ti=Kp/Ki ….Ki=26.144/3=8.7
Td=Kd/Kp….Kd=0.75*26.144=
19.6
Presentation Title 11