IdeadWhat! -why you need to be aware of integral deadband
Integral dead-band is one of those PID parameters that is available in pretty much every commercially available PID instruction but many people are not aware of it. It is not something taught at university or any PID training course I have been to but it is very interesting and can be used to great affect!
So what is it?
Integral dead band is a band around the set point at which the PID instruction turns off integral. This stops the instruction from continuing to integrate the error when it is inside the dead band, This in turn stops the integral action adding (or subtracting) from the PIDs output. (Note that gain and derivative are still working though)
Why should I care?
Not turning on integral dead-band can cause instabilities to be introduced into your plant which your downstream controllers will need to compensate for and 'fight'. Essentially this becomes another disturbance variable you will end up dealing with later either in equipment wear, or product quality, or both!
For example, even if you have a plant that has an incredibly smooth feed (i.e. its drawing off a large gas pipeline with no liquids to contend with), quite often inside the plant you will find there will be oscillation occurring. Why is this?
If you look closely you will find what is happening is that the control valves will be undergoing a friction based stick slip limit cycle (the balance point between static friction and dynamic friction).
This is due to a fundamental limit in how small of a motion you can make in moving an object. As you apply force to push an object it will initially not move until the force gets quite high and static friction is exceeded. Suddenly the object will start moving but with a much lower force required.
For example imagine you are trying to precisely move a car 0.0001 mm. We all know this is impossible. Every time you engage the engine to move the car, the static friction of the driveshaft and transmission will need to be broken and the resulting movement will always be larger than 0.0001 mm resulting in overshoot. You then put it in reverse and try again, same result, and again and again and again.
This is in effect what we are asking our PID controllers to do. A modern digital PID controller that has no integral dead-band turned on will continue to try to solve for error = 0.00000000... to what ever precision the controller has (16 bit, 32 bit etc) and will keep moving the control valve to try and do this (essentially forever).
Control valves are usually built with tight packing around the stem to prevent leakage. This creates a large static friction component which must be broken every time it moves. This makes it hard to use open loop control valves i.e. where an I/P is used straight into the actuator - I have seen 20% stick slip limit cycles before!.
Fortunately most control valves are fitted with positioners which are much better.
So if I have a positioner do I have to worry about integral dead-band?
Yes! Positioners reduce the size of the problem (essentially making the control valve much much better) but they still have a lower limit to the size of the motion they can make.
For example the superb Fisher DVC6200 has a factory configured dead zone of 0.26% and other positioners have similar limits. Usually this correlates to the smallest movement you will get out of a positioner controlled valve. (I'm not sure if this parameter is affected by positioner auto-tune/characterization routines).
This is still a very real phenomenon and I have seen PID control loops outputs that are critical for process stability oscillating at 0.25% magnitude and found that there was a positioner deadband involved.
Note that this is not the fault of the positioner! As discussed there will always be a lower limit to the size of movement an actuator can make. Its up to the engineers who are commissioning the plant to be aware of this and take this into account.
I have included highlighted sections of the relevant parts of the fisher DVC manual below:
So my simple PID control loop with a positioner is oscillating, what do I do?
Essentially what appears to be a simple PID is in effect a cascaded PID. The DCS/PLC side PID instruction (master) is cascading a valve position setpoint through to the positioner which in turn has its own PID instruction (slave) and controls actuator pressure to achieve the required valve position.
The problem arises when the DCS/PLC side master PID does not have any integral deadband configured to take into account the low end movement limitations of the actuator. The integral action of the master PID will integrate back and forth through the positioners slave PID deadband achieving an approx 0.25% movement on each side.
Fixing it is as simple as figuring out how much the master PID loops PV moves in response to the 0.25% valve movement and increasing the integral deadband to match (or just gradually start increasing it until the problem goes away!) (Note: I've found that in some cases you may also need to reduce the gain close to the setpoint, there are a variety of ways of doing this).
Summary:
Integral dead-band is not a well known parameter but can be key to solving some types of oscillations in your plant. I have always been interested in why plants with stable feed-stock end up having oscillations throughout them. Lack of use of this parameter is one of the reasons why.
Its also useful for techniques such as valve position control in fine coarse arrangements... a topic for another day!
Further reading:
Freelance Engineer, >35 years DCS/PCS experience with Emerson DeltaV and other. Development Engineering & Commissioning. Interested in hybrid jobs with short travels. Be in retirement but can be reactivated any time
6yHi Alex, thank you for this excellent presentation. I like to add that it come more worse with FF-Valves than with traditional 4-20mA. So it is really a good point to check for the IDEADBAND. We had last an issue where this really became an issue in a specific Cross over control, where two lines where controlled ramped to the opposite starting set point of the other line as end point.At the very low set points the valve have not that expected behavior when it need to work nearly around the close set point
Retired at Home
7yThe author is very right in what he says, and see ISA sp25.25 where the issues of valve position error are defined. The error deadband is fine. However, it is a rare control loop without some sort of process integration. The poster child is is level, but temperature integration is another one. where any error be it ever so small will eventually integrate to an error large enough to energize the controller. Thus any integration process is doomed to oscillate at some frequency which we commonly ignore, or do not notice. Without a perfect controller, perfect and final element there will be cycling
PROCESS CONTROL SYSTEMS ENGINEER in Refining, Petrochemical and Gas with International Experience. Interested in Industry 4.0 Technologies and Energy Transition.
7yI knew about a similar parameter but affecting to the proportional action in regions close to the SP. Nice reading because it explains something that many times is forgotten: a process control system runs in the real world, it's not just an algorithm and many physical phenomenons must be considered