MPC To Replace Split-Range Schemes2
MPC To Replace Split-Range Schemes2
TM
DeltaV, the DeltaV design, SureService, the SureService design, SureNet, the SureNet design, and PlantWeb are marks of one of the Emerson
Process Management group of companies. All other marks are property of their respective owners. The contents of this publication are presented for
informational purposes only, and while every effort has been made to ensure their accuracy, they are not to be construed as warrantees or guarantees,
express or implied, regarding the products or services described herein or their use or applicability. All sales are governed by our terms and conditions,
which are available on request. We reserve the right to modify or improve the design or specification of such products at any time without notice.
Whitepaper
Implementing MPC to Reduce Variability by Optimizing
Control Valve Response
September 2005—Page 2
TM
Contents
Introduction.................................................................................................................................................................. 4
Application Examples ................................................................................................................................................. 4
Implementation Example ............................................................................................................................................ 7
Controller Configuration............................................................................................................................................. 8
Controller Tuning ........................................................................................................................................................ 9
Discussion and Related Issues................................................................................................................................ 11
Whitepaper
Implementing MPC to Reduce Variability by Optimizing
Control Valve Response
September 2005—Page 3
TM
Figures
Figure 1 Split-range control for a neutralizer................................................................................................................. 5
Figure 2 Valve position controller for a neutralizer........................................................................................................ 6
Figure 3 Model predictive controller for rapid simultaneous throttling of two valves..................................................... 7
Figure 4 Controlled and manipulated screens in DeltaV Predict .................................................................................. 8
Figure 5 Penalty on moves and errors on controller generation screen in DeltaV Predict ........................................... 9
Figure 6 Trend in MPC Operate of response of DeltaV Predict to disturbances and setpoints.................................. 10
Whitepaper
Implementing MPC to Reduce Variability by Optimizing
Control Valve Response
September 2005—Page 4
TM
Introduction
In industrial applications, two valves are often used to extend the range of loads that loops can handle. Typically,
the valves are split ranged where the small valve is throttled for low loads (low controller outputs) and the large
valve is throttled for high loads (high controller outputs). A splitter block is used on the controller output to split a
single controller output into set points for two set points for analog outputs. Ideally, the split range point or point of
transition from the small to large valve is based on valve capacity to help linearize the loop. For example if the large
valve has nine times the capacity of the small valve, the split range point should be 10% so that the small and large
valves stroke from closed to wide open for a controller output of 0-10% and 10-100%, respectively.
Unfortunately, the large valve may have a larger deadband (backlash) and resolution limit (stick-slip) than the small
valve because a rotary valve instead of a sliding stem valve was selected for the larger body size. Even if the large
valve has the same deadband or resolution limit as the small valve, the variability introduced into the process is
greater for the large valve because of its larger flow coefficient. Stick-slip causes a limit cycle in all processes and
backlash causes a limit cycle in integrating or non-self-regulating processes and cascade loops.
Most loops limit cycle across the split range point because the friction is greatest when the large valve is near the
closed position from the seating of the plug in sliding stem valves and the sealing of the ball or disc in rotary valves.
To address these issues, valve position controllers have been used to eliminate the split ranging. The original
process PID controller output now goes to just the small valve. An integral only (I-only) valve position controller is
added with the trim valve signal as its input, a mid throttle position, such as 50%, as its set point, and an output that
only goes to the large valve. The valve position controller integral time is set larger than 5 times the product of the
PID controller gain and integral time settings to make the interaction between the controllers negligible.
Consequently, the I-only valve position controller is too slow to handle disturbances and causes a slow limit cycle
from the slip-stick in the large valve.
In this application note, a model predictive controller is configured to simultaneously manipulate the small and large
valve eliminating the problems inherent in split ranged and valve position controllers. This provides the precision of
control offered by the small valve with the range of control possible from the combination of the small and large
valve.
Application Examples
Small and large valves are used whenever there is a need to extend the rangeability of a final element. Common
applications are steam header let down pressure control, jacket temperature control, and neutralizer pH control. In
Figure 2, the pH controller AC1-1 output goes to a splitter block AY1-1 where it is split into separate signals for the
small valve and large valve. In this application, the flow is throttled in parallel branches of the same reagent stream.
For pH systems, the rangeability required for reagent flow can approach 10,000:1, which is theoretically reachable
by the use of two Fisher control valves with digital positioners, where the small valve has about 1/10 the capacity of
the large valve. However, the discontinuity and friction at the split range point makes this difficult to achieve in
practice. Also, once the control is on the large valve, the precision of the small valve is not available.
Whitepaper
Implementing MPC to Reduce Variability by Optimizing
Control Valve Response
September 2005—Page 5
TM
Reagent
AY
1-1
Splitter Block
Small Large
(Fine) (Coarse)
Neutralizer
AC
1-1
PID Controller
AT
1-1
TM
Just putting the controller in automatic even though there is no disturbance can cause a sustained oscillation (limit
cycle) from valve stick-slip or valve deadband in pressure, temperature, and composition control loops. The
amplitude of the limit cycle is roughly the stick-slip or half deadband multiplied by the process gain. For a pH set
point on the steep portion of a titration curve, the valve resolution and deadband requirement is extraordinary and
approaches the resolution of the analog card output. To get the incredible rangeability and resolution demanded in
pH systems, vessels in series are used with the largest valve on the first and the smallest valve on the last vessel.
To avoid the considerable cost of multiple stages of neutralization, a valve position controller is employed as shown
in Figure 2.
Since the valve pressure drop is relatively constant because of the low piping and fitting friction loss associated with
the low reagent flow, there is relatively little interaction in terms of pressure. There is, of course, the interaction in
terms of the effect of both flows on pH. The valve position controller (ZC1-1) below has a slow integral-only control
action to keep the two loops from fighting. The controlled variable (CV) of ZC1-1 is the output of the pH controller
(AC1-1), which is the implied valve position of the small valve. It is not necessary to use a read back of actual valve
position since ZC1-1 is only trying to return the small valve in a mid throttle range by a slow adjustment of the large
valve. Unfortunately, upsets that send the small valve to its output limit take a long time to be corrected by the slow
ZC1-1.
Reagent
Large Small
(Coarse) (Fine)
ZC CV
1-1
Neutralizer
AC
1-1
PID Controller
AT
1-1
TM
Implementation Example
A model predictive controller (MPC) can rapidly and simultaneously throttle both valves to reject disturbances or
reach new set points and keep the small valve in a mid throttle range. The MPC in Figure 3 has two manipulated
variables (small and large valves), one optimization variable (small valve position)., and one controlled variable
(pH).
manipulated
variables
Small (Fine) Large (Coarse)
MPC Reagent Valve SP Reagent Valve SP
controlled
variable
Neutralizer
pH PV
Figure 3 Model predictive controller for rapid simultaneous throttling of two valves
The fine valve is usually faster than the coarse valve because it has a smaller actuator, which can translate to a
faster pH response when the transportation and mixing delays from piping design and valve location are similar for
both valves. Since the lower process gain associated with the smaller size of the trim valve introduces less
variability into the process, the trim valve can be labeled the “fast low cost MV” and the coarse valve can be labeled
the “slow high cost MV”. The labeling of “fast’ or “slow’ is more appropriate for header systems where the dead time
from pressurization/depressurization of the actuator and getting through the deadband of the larger valve are
significantly greater than transportation or mixing delays. The labeling of “low cost” and “high cost” is true not only
because of the process variability but also the raw material or energy consumption associated with the respective
valves.
The MPC could have been set up for optimization of the large valve to a minimum valve position. However the set
point (target) for this minimization would need to be calculated based on the installed characteristics and capacities
to keep the small valve from riding its output limit. This complication is unnecessary with the MPC shown in
Figure 3, which works to insure the fine valve is always available.
Whitepaper
Implementing MPC to Reduce Variability by Optimizing
Control Valve Response
September 2005—Page 8
TM
Controller Configuration
In DeltaV Predict, the number of controlled variables as extensible parameters for the model predictive control block
MPC1 is specified as 2 (NOF_CNTRL=2). This gives two controlled variables (CNTRL1 and CNTRL2) and two
manipulated variables (MNPLT1 and MNPLT2).
MNPLT1 is the small valve (Fast Trim MV) and MNPLT2 is the large valve (Slow Coarse MV) as shown in
Manipulated screen in Figure 4. The manipulated variables MNPLT1 and MNPLT2 are wired to the RCAS_IN or
CAS_IN set points of the analog output (AO) blocks for the valves.
CNTRL1 is the set point for the Fast Trim Valve and “Observe” is chosen in the optimization column as shown In
Controlled screen in Figure 4. Since an optimization strategy has been chosen, Predict knows inherently that you
want to optimize MNPLT1 for CNTRL1 and will set up a pure unity gain model automatically between these two
variables. Note that the user does not need to wire back MNPLT1 to CNTRL1 or identify this model. CNTRL2 is
chosen to be the process variable of importance (Critical PV) with a default of “<none>” in the optimization column.
The AI block AI1-1 OUT is wired to CNTRL1.
TM
Controller Tuning
In DeltaV Predict, the Penalty on Error (PE) is significantly decreased on the “Controller Generation” screen as
shown in Figure 5. In this case, the PE was lowered form 1.0 to 0.1 to make the optimization of the small (trim) valve
position much less important than the control of the Critical PV at its target. A longer than normal control horizon
was chosen to make the results of Predict closer to that of PredictPro. The Penalty on Move (PM) was set for each
MV to the value found by the automatic tuning algorithm in Predict-Pro based on the identified process gain and
dead time. If the PM for the large valve was increased beyond the setting suggested by model dynamics, it could
cause saturation of the small and a slow response of the Critical PV for large upsets or big set point changes.
Figure 5 Penalty on moves and errors on controller generation screen in DeltaV Predict
Whitepaper
Implementing MPC to Reduce Variability by Optimizing
Control Valve Response
September 2005—Page 10
TM
The trend chart in MPC Operate in Figure 5 shows the response for large steps in load and set points for both the
critical PV and the desired optimum position for the fine (trim) valve. Notice that for the successive load upsets, the
large valve moves rather quickly to a new position that enables the small valve to return to its optimum. The load
rejection is smooth and fast. Similarly, for a change in the set point of the critical PV from 50% to 70%, the large
(coarse) valve moves to take care of the long term need at the new set point. Finally, a set point change in the small
(trim) valve position from 50 to 60% shows only a small bump to the process. Normally, the operator would not be
changing the optimum trim valve position, but a set point filter could be added for the optimization variable to
prevent even a small bump.
Successive Load Upsets Process Set Point Change Trim Valve Set Point Change
Trim
Valve
Critical
Process
Variable
Coarse
Valve
Figure 6 Trend in MPC Operate of response of DeltaV Predict to disturbances and setpoints
Whitepaper
Implementing MPC to Reduce Variability by Optimizing
Control Valve Response
September 2005—Page 11
TM