System Integration & Control Systems Design


Digital controllers - part 9: Integral (or reset windup)

November 2002 System Integration & Control Systems Design

As mentioned in an earlier article in this loop signature series, the integral or I term in the controller is a brilliant thing. It is an extremely elegant and simple solution for eliminating offset in control. However, like everything else in this world, virtually everything good has its bad side as well. In the case of the I term, its bad feature is that it never gives up trying to get rid of offset even if it cannot be eliminated.

Many of our control problems stem from continuously working to try and eliminate offset. Some examples of these are stick-slip cycling on self-regulating processes and continuous cycling on integrating processes with hysteresis on the valve, which have already been discussed in earlier articles. In addition, another problem can arise from the same cause, and this is known as integral, or reset windup. Integral windup occurs when a continuous error exists which cannot be eliminated.

For example, imagine that an isolating valve in series with the control valve is closed, and the controller is left in automatic. At this point let us imagine that the PV (process variable) goes to zero. The integrator in the controller will immediately start integrating to try and eliminate the error. This will result in the PD (controller's output) increasing at the ramp rate of the integrator. As the error cannot be reduced, this will continue until eventually the PD reaches a maximum limit (normally set to 20 mA in most controllers). However, it must be remembered that in theory the integrator's output will continue to carry on ramping for as long as the error exists. In reality, in the old days of pneumatic and electronic analog controllers, this could only continue until a physical limit such as air supply pressure, or a bus voltage, was reached. At this point it was said that the integrator was 'saturated' or fully 'wound up'.

The situation is different in a digital computer. The integral is now not a voltage or pressure, but a number, and modern computers can deal with extraordinarily high numbers. Therefore, unless the controller manufacturer does something about it, the integrator could carry on until the output reaches a value close to infinity. This is illustrated in Figure 1.

Figure 1
Figure 1

Eventually, when the process is restarted and the isolating valve reopened, fluid will flow through the fully open control valve. The PV will then start rising towards setpoint. However, due to the nature of an integrator, the PD cannot start reducing, and hence the control valve cannot start closing, before set point is reached. Figure 2 helps explain this. Essentially the integrator's output cannot be reduced until the error signal on its input changes sign. This is because the integrator's output will always rise as long as any positive error exists. If the error reduces to zero, the integrator's output then remains constant. It can only start moving down after a negative error signal occurs. This means that the integrator can only start responding again once the PV has moved through the set point. If the integrator has wound up, it means that it may take a long while for the integrator's output to drop far enough to allow the PD to start moving down again, and at that point it would allow the control valve to also start closing. By this time an enormous process overshoot could have occurred.

Figure 2
Figure 2

To overcome this problem most of the controller manufacturers incorporate a strategy, often referred to as 'anti-reset windup', to prevent the integral from winding up. The method used varies from manufacturer to manufacturer, but most of them 'freeze' the integral units operation when the PD reaches low or high limits (generally at 4 and 20 mA). At this point the output of the integrator remains constant at the last calculated value, and does not carry on winding up. This method of anti-reset windup still does not prevent overshoots, as again the integrator cannot start decreasing until the error actually reverses at the point the PV reaches setpoint. However the overshoots will be much smaller than they would have been if no anti-reset windup had been employed. Some of the manufacturers employ more sophisticated methods of anti-reset windup, which can limit the overshoot even more.

Typically one of them works as follows (refer to Figure 3 for a graphical description). When a controller winds-up, it effectively forces the proportional band fully away from the setpoint - in fact all the way to the far side of the setpoint. The method used in this particular case is that when the controller detects wind-up, it artificially forces the proportional band to move back in the opposite direction to the wind-up, so that its other side is now forced down against the setpoint. In this manner the controller will start reacting as soon as the PV re-enters the proportional band after the control is coming back to normal. Effectively the method reduces the value of the integral to enable this procedure to take effect.

Figure 3
Figure 3

External anti-rest windup

There are certain other situations where it is also important to be able to freeze the integral from an external signal. This is sometimes known as 'external anti-reset' wind-up. Two cases in particular are where more than one controller is connected to the same valve.

The first of these is 'over-ride' or 'selective' control systems. This control strategy is frequently used for turbo-compressor anti-surge control. Various parameters like output pressure and flow can reach a value where a surge can occur through the compressor. At these limiting values the output of the compressor needs venting. A controller is provided for each limiting parameter, the outputs of which generally pass to the vent valve via a high or low signal selector. Whichever controller's output is the highest or lowest (respectively) takes over the control of the valve. The other controllers will then tend to wind up. It is therefore essential that their integrals be prevented from doing this by freezing them at their last values.

The second case is in cascade control systems, which were discussed in the previous loop signature article. Remember the master control loop is generally at least 10 times slower than the slave loop. If the slave controller's output reaches a high limit, at which point its own anti-reset wind-up protection will come in to freeze its integral, then it is very important to also freeze the master controller's integral to prevent it from integrating further. Huge overshoots can occur if this is not done.

It should be noted that most of the DCS systems do take this into account and provide such a feature. Unfortunately very few PLC manufacturers seem to be aware of this, and seldom make provision for external anti-reset windup.

Michael Brown is a specialist in control loop optimisation, with many years of experience in process control instrumentation. His main activities are consulting, and teaching practical control loop analysis and optimisation. He gives training courses that can be held in clients' plants, where students can have the added benefit of practising on live loops. His work takes him to plants all over South Africa, and also to other countries. For more information contact him at Michael Brown Control Engineering, 011 486 0567, [email protected], www.controlloop.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Case History 195: Unstable reboiler steam flow
Michael Brown Control Engineering Editor's Choice
A high-pressure steam flow control in a reboiler on a column in a petrochemical refinery continually cycled when placed in automatic. Several attempts had been made to tune the controller, but these had been unsuccessful.

Read more...
Loop signature 25: Tuning part 3 - Results of tuning a particular simple self-regulating process by several different methods.
Michael Brown Control Engineering Editor's Choice
A couple of SWAG methods of tuning were given in the previous Loop Signature article. I have tuned a simple self-regulating process using those methods, and two other tuning methods, one of them being the sophisticated Protuner tuning package, which is the system I employ. The tests were performed on a very accurate and powerful simulation package, and the results are compared below.

Read more...
The time is now for systems integrators
Editor's Choice System Integration & Control Systems Design
Integrators combine sophistication regarding technology innovation with practical, hands-on experience. Collaborating with systems integrators is the means to significant productivity improvement, powered by the convergence of automation and information and operations technology.

Read more...
System integrators are a diverse market
Editor's Choice System Integration & Control Systems Design
System integrators (SIs) combine expertise on emergent technologies with real world experience. Working with SIs, it’s inevitable that at some point someone will say, “We’re not a typical SI.” And in many ways, it’s true. SIs come in all shapes and sizes.

Read more...
Case history 194: Boiler level control problem.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
A boiler level control in a petrochemical refinery was causing problems, as the level was cycling badly and taking a long time to recover from sudden load changes. In addition, there were frequent high-level alarms.

Read more...
Avoiding the pitfalls of PLC and scada control system integration
Iritron System Integration & Control Systems Design
Upgrading your control system by integrating PLCs with scada systems should be a simple seamless process. Regrettably, the industry is plagued with control system integration and upgrade myths and misconceptions that can lead to liability issues, project delays, cost overruns and decreased plant performance.

Read more...
EtherCAT measurement terminals for vehicle development at Mercedes-Benz
Beckhoff Automation System Integration & Control Systems Design
At the Mercedes Technology Centre plant in Sindelfingen, Germany, car axles are examined with the highest precision on four test benches, in parallel with road tests and simulations. All data is acquired using PC-based control from Beckhoff.

Read more...
Loop signature 23: Tuning Part 2.
Editor's Choice System Integration & Control Systems Design
It is my opinion that most tuning methods are very crude. They do of course also offer a starting point for tuning if one is not fortunate enough to have a sophisticated tuning package like a Protuner around.

Read more...
PIC microcontrollers with integrated FPGA features in TME
System Integration & Control Systems Design
The new PIC16F131xx microcontrollers in TME’s offering from Microchip are ideal for the evolving and miniaturising electronic equipment market, offering efficient power management and predictable response times for controllers.

Read more...
Five smart machine trends you need to know
Adroit Technologies System Integration & Control Systems Design
The last ten years have brought about dramatic advances in technologies that OEMs had never realised would affect their designs or the saleability of their machines, much less impact business models and profits so dramatically. The following discussion will cover key advancements and recommendations all OEMs should be adopting in their design processes to stay current and competitive.

Read more...