NavigationPopular contentUser login |
Developing the auto-tuning functionThe auto-tuning method implemented in the PID controller is a "relay test" as published by Karl Åström and Tore Hägglund of the Lund (Sweden) Institute of Technology in 1984. It works by forcing the process to oscillation by first applying a step on the output (i.e. the power to the heating element). When the process value (i.e. the temperature) passes the setpoint (i.e. the desired temperature), a negative step is put on the output, as shown in the figure below. The time required to complete a single oscillation is known as the process' ultimate period (Tu), and the relative amplitude of the two oscillations multiplied by 4/π gives the ultimate gain (Ku). The values of Ku and Tu can then be used to determine the optimum PID parameters according to the following tuning rule table:
In the prototype set-up, it seems like the Pessen Integral Rule works somewhat better, i.e. less overshoot and stabilizes faster than the Ziegler-Nichols rule, see the diagram below (green=PIR, red=ZN): |
|