This website uses cookies primarily for visitor analytics. Certain pages will ask you to fill in contact details to receive additional information. On these pages you have the option of having the site log your details for future visits. Indicating you want the site to remember your details will place a cookie on your device. To view our full cookie policy, please click here. You can also view it at any time by going to our Contact Us page.

De-mystifying PID feedback loop control

09 July 2013

Many people are still mystified by PID, which stands for Proportional Integral Derivative, terms borrowed from calculus. It is not, therefore, a great surprise that many are concerned about the thought of grappling with the complexities of feedback control, says Jez Watson, managing director of CD Automation.

PID block diagram on a typical industrial oven.
PID block diagram on a typical industrial oven.

A PID controller examines feedback, or ‘error’ signals from sensors placed in a process. When a feedback signal is received, it is compared with the desired or ‘set’ value and a calculation is made to match it to the set value.

Taking a typical application, such as an oven, the measured temperature, referred to as the process value (PV), is fed into the controller and compared to the set value (SV) – the desired temperature.

As the temperature rises, the power to the oven is reduced by the controller until the desired temperature is reached.

Most industrial processes require a very stable ‘straight-line’ control of temperature. The example shown assumes that the variable is temperature, but the principles are equally applicable to all analogue variables.

The ‘official’ PID explanation goes something like this:
* P is the factor that determines the basic rate of change at the output in response to changes in the input.
* The proportional element is modified by the I, which is based on the time that a difference *  D is a function of the rate of change while the process value is moving with respect to the set value.

The integral function prevents the initial overshoot on power-up, while the derivative function eliminates the temperature instability over time once the set value is achieved and the process is under control. Most heating applications can be handled by proportional control only. A proportional controller has the ability to vary its output between 0 and 100% and this enables it to continuously adjust the output so that the power input to the process is in balance with the process demand.

The range where the output power is adjusted is called the proportional band (PB). The difference between the stabilised PV and SV is called ‘offset’ and can be reduced by narrowing the proportional band. However the PB can only be reduced so far before instability occurs and this is where the Integral comes in.

Integral, also called ‘reset’, has the primary function of eliminating offset. This eliminates the temperature offset condition caused by proportional control on system start-up. To reduce or eliminate overshoot, we must use the derivative.

Thermal systems
In many thermal systems, overshoot (or undershoot) of the set value temperature is acceptable. However, in some systems this can produce poor quality products or damage equipment. So derivative has one main job: to prevent or reduce overshoot and undershoot. If the temperature rise is too fast, it will begin switching the heater off to prevent overshoot. If the temperature is falling too fast, it will begin switching the heater on longer to prevent undershoot.

Another way to think of derivative is that it opposes change. For example, if the temperature rapidlu drops below the SV, derivative opposes this by turning the heater on full.

Today, most PID controllers come with automatic PID tuning. However, if you ever feeling brave enough to have a go yourself remember that increasing the PB will result in tighter control but give a slower response, taking longer to reach the set value. A narrow PB generates a smaller offset than a wide PB. Too fast a reset (integral) causes overshoot, while too slow a reset delays recovery. Finally, a long rate (derivative) time may cause overshoot, while a short rate time may cause a delay in recovery.


Contact Details and Archive...

Most Viewed Articles...

Print this page | E-mail this page