26 - PID - Controller - Part3
26 - PID - Controller - Part3
PID controller:
Ziegler and Nichols tuning methods
ñ It allows the optimization of a closed loop performance and minimizes the error
between the variable of the process and its set point.
ñ The Ziegler-Nichols methods are trial and error method often used when the
mathematical model of the system is not available
ñ The Ziegler-Nichols methods can be used for both closed and open loop
systems
ñ It can be used only with regularly stable systems: closed loop systems moving
toward the instability when the proportional gain increases
ñ Let us define ultimate gain 𝑲 ! 𝑷 the proportional gain which gives stable and
consistent oscillations for closed loop systems
! 𝑷 is found experimentally by starting from a small value of 𝐾" and adjusting
ñ 𝑲
upwards until consistent oscillations are obtained. The integral and derivative
actions are set to zero.
! 𝑷 is the ultimate
ñ Another important value associated with the ultimate gain 𝑲
period 𝑻 ! . The ultimate period is the time required to complete one full
oscillation while the system is at steady state
ñ The parameters, 𝑲𝑷 and !𝑻 are used to find the loop-tuning constants of the
controllers (P, PI, or PID)
ñ Let us design a
ò Proportional (P) controller
ò Proportional-Integral (PI) controller
ò a Proportional-Integral-Derivative (PID) controller
PID Mechanical
Actuator
Controller system
my(t ) + by (t ) + ky (t ) = u (t )
with 𝑚 = 1 Kg, 𝑘 = 25 N/m, 𝑏 = 20 Ns/m .
f (t ) + 50 f (t ) = 50u (t )
ñ The P, PI and PID controllers have been tuned with the Ziegler-Nichols
closed loop method
Actuator Mechanical
system
P-controller
§ Overshoot 𝑠 ≅ 15%
PI-controller
PID-controller
P-controller
§ Slow oscillations
PI-controller
PID-controller
§ NO oscillations
ñ To use the Ziegler-Nichols open-loop tuning method, you must perform the
following steps:
ò Evaluate the open loop unitary step response of the process
ò From the process reaction curve, determine
§ the transportation lag or dead time 𝑻,
§ the equivalent time constant 𝝉
§ the steady state value 𝑮 of the a step response
Line tangent to
the step response
at the point of
inflection
Dead time 𝑻: time interval defined by the intersection of the line tangent to the
step response at the point of inflection and the time-axis
Equivalent time constant 𝝉: Time interval from 𝑇 to the intersection of the line
tangent to the step response at the point of inflection and the line indicating the
steady-state value 𝐺
ñ The parameters, 𝑻, 𝝉 and 𝑮 are used to find the loop-tuning constants of the
controllers (P, PI, or PID)