Interested in linking to "How to tame unruly ramp function behavior"?
You may use the Headline, Deck, Byline and URL of this article on your Web site. To link to this article, select and copy the HTML code below and paste it on your own Web site.
04/07/2006
By Martin Emond, TopControl Inc.
RAMPING BLOCK devices are widespread in most PLCs as a built-in feature these days. The same goes for DCSs in the process field. This involves either ramping the setpoint from one operating point to another production rate, or limiting the rate of change of the controller output through the use of a ramp.
Most of the time, when people use a ramp device, they attempt to:
For any of these three approaches, we’ll see that lead/lag filter is a better alternative to properly handle potential problems.
ADVERTISEMENT
Avoid Overshoot During Setpoint Change
Wherever the ramp is located--either at the controller output or at the setpoint--there certainly will be an overshoot for a non-self-regulating process and a high potential of overshoot for a self-regulating process (higher potential for a lag-dominant process model) according to the tuning’s aggressiveness. This is what we see by looking at G2(s), G3(s) and G5(s): all of them are overshot (See Figure 1 below).
What is this lead/lag filter? This function often is available as a built-in device in most DCSs and PLCs on the market. It is a ratio between 0 and 1 of two time constants. One of them is the numerator and acts as the leader. The leader corresponds to the instantaneous portion of the step change applied to the controller. For instance, if the ratio is 0.7, then 70% of the step is instant or abrupt change and the other 30% goes through a first-order filter, which also is called lag.
The denominator is the lag, which is actually the time constant of a first-order filter. Generally, this filter time constant will match the tuning value of the integral action in the controller. This type of mechanism offers the best of the two worlds: no overshoot during setpoint change and fast load rejection.
Because of this lead/lag filter, tuning can be optimized for load disturbances without having any overshoot at all during a setpoint change. Furthermore, the load rejection will remain the fastest it can be during a load disturbance. Without a lead/lag filter, most people naturally tend to relax the tuning to avoid overshooting too much on a set-point change, or to use a ramp and get an overshoot of different magnitude depending on the tuning’s aggressiveness.
With a lead/lag filter, the excitation signal sent to the PID controller has a sharp break at the beginning, then the rest of the pattern is very smooth. In fact, it has the same shape as a first-order response. When using the ramp pattern, there are two abrupt changes: there is one at the beginning and a second one at the end when it reaches the new setpoint. The idea of a lead/lag function is to make a steep change at the beginning, when it is far away from the final value, then reduce the speed for the final approach. A two-degrees of freedom PID controller (Integral only on SP change) will produce similar results.
The settling time can be improved by a factor of two without overshoot when using a lead/lag filter. Settling time is defined as the time that has passed for both the process Value and controller Output to reach steady state and remain within the range of normal process noise.
The settling time is cut by a factor of two when using a lead/lag filter, as opposed to using a ramp applied on the set point or using a ramp limiter applied at the controller output, where this latter acts as a slew rate limiter.
In addition to lengthening the settling time by 100%, the ramp caused (in this example) an overshoot of 10%. If the aggressiveness of the tuning and the slope of the ramp are reduced to lessen the overshoot as close as possible to the minimum, then the settling time could be increased by a factor as high as four--a considerable amount. Consequently, with a ramp, the reduction of the overshoot during a set point change implies a significant increase of the settling time. On the other hand, the lead/lag filter does not create overshoot for either self-regulating or non-self-regulating processes.
ControlDesign.com is the only multimedia source dedicated to the controls, instrumentation, and automation information needs of industrial machine builders, those original equipment manufacturers (OEMs) that build the machines that make industry work.