PID Tuning

PID Temperature Controller Tuning

As a general rule there are 2 types of tuning you can implement with a PID controller at the setup stage. The tuning process involves evaluating the best values for the PID parameters and applying them to the control output to achieve best response. Here we will discuss tuning methods for temperature control but many of these themes are common to generic process control and can be applied to PID control of pressure, flow and speed.

Automatic tuning - the controller performs an algorithm to calculate best settings for PID. Different types of autotune can be performed.

Manual tuning - is implemented by the user, parameters are adjusted to achieve desired response. A logical process should be followed with manual tuning and it is not recommended for inexperienced personnel.

Looking first at Automatic tuning, most modern temperature controllers incorporate this feature to speed up the commissioning process. There are a number of different categories of Autotune. With a Novus controller these are Fast, Full and Adaptive. With some variation on each depending on the controller model.

What Is A Fast Autotune?

Fast Autotune is sufficient for the majority of basic temperature control applications. It typically takes under 10 minutes and automatically finds the best PID values for your installation. One of the key points to remember is to allow adequate span between process value and setpoint when performing the Autotune. We normally recommend a 50-100C differential. As an example, with an oven or kiln it is preferable to allow the equipment to cool down to ambient temperature prior to enabling the fast tune parameter. This ensures there is time for the algorithm to accurately run through the calculations required. With a Novus device, at the end of the Autotune the AT or Tune display indication light will go out and the parameters are stored to the controller. Generally it is not necessary to repeat this process unless there is a change in the process configuration. For example, adding or removing heat/cool capacity, changing physical dimensions of area under control, replacing or moving sensor.

Our entry level controllers support simple automatic PID tuning. If you are new to using PID equipment we particularly recommend the models N1030, N1030T and N1040. Once you find a stable set of values it is worth noting them down as a backup. The relevant parameters to check are Pb (Proportional Band), Ir (Integral Rate) and dT (derivative time). A successful tune will automatically populate these values.

Why Perform A Full Autotune?

Full Autotune will take longer to finalise the necessary calculations. This can be beneficial where the sensor feedback can take some time to settle out. Again at the end of the Autotuning process the best values are automatically saved to the controller and there is no need to perform further tuning unless the response deteriorates. In theory a Full Autotune is more precise than Fast Autotune, although often in practise the difference in PID parameters is very small with no noticeable loss in performance. You should always avoid switching the controller off until any tuning process is complete.

One example of using the Full autotune would be in an industrial oven which contains expensive products or raw materials. An initial Fast tune can be performed with an empty oven at 50-75% of the normal working temperature. This creates a good baseline with a small potential overshoot before proceeding to a full autotune with the products loaded.

All of the PID controllers we stock support full autotuning. Models equipped with a USB port will allow you to monitor the tuning process graphically using the QuickTune tool. At the end of the process you can also save the configuration for future use. For example, if you have a number of identical devices to program you can flash the devices with the same PID values.

Except the entry level N1030, all Novus models are equipped with USB. Including N1020, N1050 and the devices found in our advanced range.

What Is Adaptive PID Tuning?

Adaptive Tuning when this function is enabled and the controller detects a change in performance it will initiate a cycle of Autotuning to re-establish the correct PID values. Adaptive tuning requires minimal input from the user. It is advised for processes with a potential for degrading response or inherent instability. Consider a complex heating operation with a number of elements, it is possible that over time some elements may fail. Adaptive tuning will adjust the PID values to provide best performance. One disadvantage of Adaptive tuning is that is not available on some models of controllers and generally comes with high end devices which are more costly. For industrial processes a controller with Adaptive tuning is often the best choice. It may not be required in all cases but is beneficial to future proof the control process.

Adaptive tuning is supported by the models N1020, N1200 and N20K48. The Atun (Autotune) parameter must be set to SELF or one of the other adaptive variants. With the latest models there are 5 variants on automatic tuning.

How To Perform Manual PID Tuning For Temperature Control?

Manual Tuning has the significant disadvantage of being subject to operator intervention and requires a degree of trial and error to establish the best PID values. We recommend following an established pattern of Manual tuning where one parameter is adjusted at a time before noting the response and refining as necessary.

1. The first parameter to adjust should always be Pb, looking for the optimum performance, but understanding that there will always be some steady state error until the other terms are set.

2. Once happy with Pb introduce the Ir term and check to see if the steady state error is minimised. At this point the controller should hold temperature relatively well

3. Finally slowly increase the Dt such that the controller achieves any change in setpoint quickly with little to no overshoot

If all else fails revert the controller to default settings or perform a Fast Autotune to restore PID values. It is sometimes the case that a small amount of manual tuning is required following Automatic tuning. For example, to increase the rate of response or dampen small oscillations.

PARAMETER BY INCREASING, THE PROCESS … BY DECREASING, THE PROCESS …
Pb
It gets slower.

 

It generally gets more stable or less oscillating.

It has less overshoot.

It gets faster.

 

It gets more unstable or more oscillating.

It has more overshoot.

Ir
It gets faster, reaching the Setpoint quickly.

 

It gets more unstable or more oscillating.

It has more overshoot.

It gets slower, taking longer to reach the Setpoint.

 

It gets more stable or more oscillating.

It has less overshoot.

Dt It gets slower.

 

It has less overshoot.

It gets faster.

 

It has more overshoot.

 

IF THE PROCESS PERFORMANCE … TRY THE OPTIONS ONE BY ONE:
It is almost good but the overshoot is a little high. Increase Pb by 20 %.

 

Decrease Ir by 20 %.

Increase Dt by 50 %.

It is almost good but there is no overshoot, and it takes a while to reach the Setpoint. Decrease Pb by 20 %.

 

Increase Ir by 20 %.

Decrease Dt by 50 %.

It is good, but MV is always varying between 0 % and 100 % or is varying too much. Decrease Dt by 50 %.

 

Increase Pb by 20 %.

It is bad. After startup, the transient has several periods of oscillation, which reduces very slowly or not at all. Increase Pb by 50 %.
It is bad. After startup, it moves slowly towards the Setpoint, without overshoot. It is still far from the Setpoint and MV is already less than 100 %. Decrease Pb by 50 %.

 

Increase Ir by 50 %.

Decrease Dt by 70 %.