The objective is to tune a discrete PID controller and test the performance with a series of setpoint changes over 10 min in the sequence from 23degC initially, 50degC at 10 sec, and 40degC at 300 sec. We modify the tuning parameters to achieve a low Integral Absolute Error between the measured temperature and the setpoint.
A simulator is a useful tool to help evaluate changes in tuning before testing on a physical system. Use the PID simulator to find acceptable control performance that minimizes the integral absolute error between the setpoint and measured temperature.
Source code: http://apmonitor.com/pdc/index.php/Main/TCLabPIDControlTuning
TCLab Overview: https://apmonitor.com/heat.htm
Process Dynamics and Control Schedule: https://apmonitor.com/pdc/index.php/Main/CourseSchedule