Temperature control with parameter switching
The configuration of a standard PID controller is characterised by criteria which are designed for good disturbance behaviour. The P-component of the lrTempCtrlGain controller is defined as the half value of the critical route gain according to Ziegler/Nichols.
There are also criteria that are designed for good guidance behaviour prevention of overshooting when changing the setpoint temperature, e.g. after switching on the controller. Typically, the time constant of the setpoint filter lrTempSetFilterTime is defined as the 6-fold value of the controller route dead time for this purpose.
When the focus is on good guidance behaviour for the assessment of the control response, this design can (in certain cases) result in the period until the temperature setpoint is reached for the first time being too long the control response being unsteady due to small residual vibrations
In this case, a controller with parameter switching can be used.
In doing so, the current system deviation is assessed and, if necessary, systematic intervention can be made into the controller construction (parameter switching). Switching is done between the following parameter sets:
-
Parameter set A "Optimum guidance behaviour"
-
Parameter set B "Optimum disturbance behaviour"
Function
Parameter switching is active when xActivateParameterSwitching = TRUE.
-
After switching on the controller, parameter set A "Optimum guidance behaviour" must first be activated.
-
At the time at which the degree of system deviation first falls below a configurable limit value (e.g. +- 1 °C, lrDeviationConstraintA parameter), it switches to parameter set B "Optimum disturbance behaviour".
-
Should the degree of system deviation increase again later on (which is typically triggered by a change to the setpoint temperature), it switches back to parameter set A "Optimum guidance behaviour" when a second limit value (e.g. +- 3 °C, lrDeviationConstraintB parameter) is exceeded.
-
In doing so, the second limit value is consciously selected with a factor 2 ... 4 times greater than the first limit value to prevent excessively frequent switching of the parameter sets near the limit value (hysteresis).
The assessment factors which specify when the parameters should be switched over are defined as parameters:
-
lrGainFactorDisturbanceControl
-
lrFilterTimeFactorDisturbanceControl
-
lrGainFactorReferenceControl
-
lrFilterTimeFactorReferenceControl
In most common applications, these parameters can be left in the default value.