Profit Controller Concepts Reference Guide
Profit Controller Concepts Reference Guide
Profit Controller Concepts Reference Guide
Release 310
Notices and Trademarks
Copyright 2007 by Honeywell International Inc.
Release 310 December, 2007
While this information is presented in good faith and believed to be accurate, Honeywell disclaims
the implied warranties of merchantability and fitness for a particular purpose and makes no
express warranties except as may be stated in its written agreement with and for its customers.
In no event is Honeywell liable to anyone for any indirect, special or consequential damages. The
information and specifications in this document are subject to change without notice.
Honeywell, PlantScape, Experion PKS, and TotalPlant are registered trademarks of Honeywell
International Inc.
Honeywell International
Process Solutions
2500 West Union Hills
Phoenix, AZ 85027
1-800 343-0228
Statement of Work
The following table describes the audience, purpose, and scope of this document:
Field technicians
Release Information
This is document version 1.11 for all releases of Profit® Controller (RMPCT) software.
R310 Advanced Process Control Profit Controller Concepts Reference Guide iii
12/07
About This Publication
What This Book Tells you about RMPCT
About This Publication How to make the best use of this book,
(You are here) and how the information is ordered.
Section 6, “Quick Reference to the Profit How to quickly locate on the Profit
Controller (RMPCT) Displays” Controller (RMPCT) displays the
configuration, tuning, and optimization
parameters described in this book.
• Acronyms, Scan parameters, point names, file names, and paths appear in
UPPERCASE. The context makes the meaning and use clear.
• Command keys appear in UPPERCASE within angle brackets. For example, press
<ENTER>.
• TPS user station touch-screen targets appear in rounded boxes. For example, touch
MODIFY NODE
.
Selected Bibliography
The following technical publications can be helpful. More recent editions might be
available since compiling this list. Contact your company or university librarian, or local
bookstore for complete bibliographic and ordering information for these and other books
about model identification and multivariable control.
Golub and Loan Matrix Computations Baltimore: John Hopkins UP, 1989
Morari and Zafiriou Robust Process Control Englewood Cliffs: Prentice, 1989
R310 Advanced Process Control Profit Controller Concepts Reference Guide vii
12/07
This page is left intentionally blank
R310 Advanced Process Control Profit Controller Concepts Reference Guide viii
12/07
Contents
3. CONTROL INTERVAL................................................................. 45
3.1 Overview .........................................................................................................45
Read This ............................................................................................................................ 45
In This Section..................................................................................................................... 45
3.2 Control Interval and Settling Time ...............................................................46
The Ideal Interval-to-Settling Time ...................................................................................... 46
Shorter Intervals .................................................................................................................. 46
Longer Intervals................................................................................................................... 46
When Time Constants Vary ................................................................................................ 46
Recommended Intervals ..................................................................................................... 46
Intervals > Settling Time...................................................................................................... 46
xii Advanced Process Control Profit Controller Concepts Reference Guide R310
12/07
1. Quick Tour
1.1 Overview
In This Section
This section introduces you to Profit Controller (RMPCT). Read this section to learn
about:
• What you can expect from an Profit Controller (RMPCT) controller, and
• What it takes to implement a controller on an automated control system.
1.3 Implementation
The Variables
There are three types of process variables that RMPCT uses as control input and output:
• Controlled Variables (CVs) variables that the controller attempts to keep at
setpoint or within a range that the Operator specifies. The first priority of the
controller is to keep the CVs within their constraints.
• Manipulated Variables (MVs) variables that the controller adjusts in order to keep
the CVs within constraints and to optimize the process, while not moving any of the
MVs outside of their constraints.
• Disturbance Variables (DVs) measured variables not under control of the controller
(they may come from an upstream process, for example) but which affect the values
of the CVs. By predicting the future effects of the DVs on the CVs, the controller
can take action to prevent CV excursions outside constraints before they develop.
DVs provide feedforward information to the controller.
To identify the model you obtain data from the process while any existing control loops
between the MVs and CVs are open. During this open-loop testing, the MVs are moved
independently. The MV input values and the CV response values are recorded.
Model Coefficients This test data is used to determine the model coefficients. With the
appropriate coefficients, the model can predict CV responses quite accurately.
Implementing a Controller
Here is a summary of how you implement a controller:
1. Decide what the CVs, MVs, and DVs are.
2. Open existing loops between CVs and MVs. Apply test input signals to the MVs
(the simplest test signal is a series of steps made by the Operator). Apply test signals
to the DVs, if possible; otherwise, a period of time must be found when the DV
value is undergoing significant change.
3. Record the CV, MV, and DV signals during the test. The variables’ values are
sampled at the interval (or a sub interval) at which the controller is expected to
execute. The sampled values are collected into one or more files.
4. Identify the process model, using the collected data from the open-loop testing.
5. Build the controller from the model. Using the Honeywell Controller Builder, the
result is two files that define this particular controller application. These are read by
the controller to define its operation when it is first activated.
6. Run the controller in simulation to verify that the controller works as expected.
7. Install the controller. Use WARM mode to test control before turning control ON.
The remaining sections in this book provide more detailed information about RMPCT
variables and about the control functions that RMPCT performs.
Correction Horizon
The controller uses the performance ratio to determine the correction horizon. The
correction horizon is the time within which the controller must bring the CV to zero
error.
To determine the correction horizon, the controller multiplies the performance ratio times
the nominal open-loop settling time of the CV, then adds the nominal dead time.
The performance ratio determines the trade-offs that inherently exist between speed of
response, model accuracy, and MV movement.
• A smaller performance ratio gives faster response, results in larger MV movement,
and requires a more accurate model for stable control.
• A larger performance ratio gives slower response, results in smaller MV movement,
and works well with a less accurate model.
Degrees of Freedom
Defined The controller keeps all CVs at setpoint or within range if there are sufficient
degrees of freedom to do so.
Basically, the number of degrees of freedom is the number of MVs not at a limit minus
the number of CVs that either have setpoints or are at or outside a limit. The controller
chooses MV values so as to minimize the number of CVs that are away from setpoint or
outside limits.
As long as the degrees of freedom are zero or positive, all CV constraints can be
satisfied. If the degrees of freedom become negative, it is physically impossible to keep
all CVs at setpoint or within range.
Example Take, for example, a fractionation column with two CVs (top composition and
bottom composition), and two MVs (reflux rate and reboil rate). Both CVs have
setpoints. As long as the reflux and reboil flow control valves are not fully open, the
degrees of freedom are zero and both CVs can be kept at their setpoints.
However, if feed to the column continues to increase (and nothing bad happens, such as
flooding), there can come a point when the reflux valve, for example, becomes wide
open. Now the degrees of freedom are negative, and it is impossible to maintain both
CVs at setpoint. This limitation is imposed by the physical process, not by any limitation
in the controller.
minimum effort solution using error weights determined by EU give-ups. CV error offset
ratios are not guaranteed to be equal to those specified by EU give-up factors when
infeasibility occurs. EU give-up factors only specify a relative preference for CV errors.
EU give-ups are analogous to concern factors used in some other controllers.
ATTENTION
CV EU give-ups do not affect the speed at which the controller corrects CV
errors, and should not be used in an attempt to tune the controller response.
Use performance ratios for this.
EU give-ups can be changed while on control. You do not have to take RMPCT off-
process.
CV Tracking
Configuration You can configure a CV to tracks its limits or its setpoint. Tracking
means that the controller adjusts the Operator-set CV limit or setpoint so that there is no
CV error on initialization.
Objective of CV Tracking CV tracking and limit ramping have the same objective: to
prevent an initial jolt to the process that can occur if CVs are far outside limits or are
away from setpoint when control is initiated. The difference is this:
• CV tracking moves both the external (Operator-set) and internal (controller-honored)
violated limit or setpoint to the current CV value. It is up to the Operator, then, to
return the limit or setpoint gradually to the desired or appropriate value.
• Limit ramping moves only the internal, violated limit to the current CV value. The
controller then automatically returns the internal limit gradually to the external limit
or setpoint.
Setpoint vs Range
The limits that are adjusted depend on whether the CV has a setpoint (high limit equal to
low limit) or a range:
• Setpoint: Both high and low limits are set equal to the CV value (which therefore
becomes the setpoint value) when the CV is placed on control.
• Range: If the CV is within limits when the CV is placed on control there is no
adjustment. If the CV is outside of a limit, the value of the violated limit is set equal
to the CV value when the CV is initialized, and the other limit is not modified.
A CV is placed on control when the Operator turns RMPCT control ON, or when the
Operator changes the state of an individual CV from dropped to ON.
Limit Ramping
The controller can make excessively large MV movements to bring a CV back within
limits or to setpoint within the error correction horizon when:
• The Operator makes a large change to a CV limit or setpoint, or
• A CV is far outside a limit or away from setpoint when control is turned on.
Limit ramping minimizes the disruption, establishing the rate at which the old limit
ramps to the new limit.
You configure limit ramping by specifying the amount that the controller must move the
old limit towards the new limit at each control interval. Different ramp settings can be
entered for the high and low limits.
• Limit ramping applies (1) When a CV is placed on control, and (2) Anytime an
Operator change violates an internal (active) CV limit or setpoint.
• CV tracking applies only when a CV is placed on control.
Periodic Sampling
Configuration You can configure periodic (asynchronous) sampling for any CV to
indicate that its source value is updated at irregular intervals or at an interval longer than
the control interval.
Example What if you have a control interval of one minute, but one of the CVs receives
its input from an analyzer that has a sampling cycle of 10 minutes? In this case the value
read by the controller changes only every 10 minutes and is constant in between.
If the controller uses the constant value between updates, there is the potential for a
noticeable jolt every 10 minutes if the value changes in one direction at a fast rate. The
jolt happens because the controller sees a large change every 10 minutes instead of a one-
tenth change every one minute. This problem is avoided by configuring the CV for
periodic sampling.
Predicted Values
A non critical CV continues to be controlled if its value goes bad, using its predicted
value rather than measured feedback.
The predicted value of a non critical CV that remains on control will begin to deviate
from the true (but unknown, because it is bad) process value. The prediction generally
continues to worsen as time passes.
ATTENTION
State Estimation
State Estimation – A Quick Definition State estimation in RMPCT is offset and ramp
rate correction.
See Table 2-1 for a discussion of state estimation settings and their usage.
Prediction – A Quick Review As explained when we talked about Bad Value
Treatment, RMPCT adjusts its predicted values into the future based on a comparison of
the predicted and actual values at the present and past intervals. This constitutes the
controller's feedback information.
Controller Output The controller can correct either (1) The offset (the prediction error
only), or (2) Both the offset and the rate-of-change of the error (the ramp).
Default Settings RMPCT’s default state estimation settings are determined by the
presence or absence of integrators across a CV (in model terms these are the CV-MV [i j]
pairs, the sub-processes):
When there are no integrating processes across a CV, ramp correction is OFF.
When at least one sub-process across a CV is an integrating process, ramp correction is
ON. Integrators require both offset correction and ramp correction to avoid sustained
offsets.
However, when the ramp stops or changes sign, which it eventually must, prediction is
worse during transition when both offset and ramp correction are used than prediction
otherwise would be using offset correction only.
The controller is started up with the MV outside its limits (unless tracking is on).
The Operator changes an MV limit such that the MV value is outside the limit.
These limits are the maximum move that the controller can impose on an MV in a single
control interval. Separate rate-of-change limits can be set for positive and negative
changes.
Rate-of-change limits prevent the controller from making excessively large changes
when an abnormal event occurs. This gives the Operator a chance to intervene.
If a rate-of-change limit is set so small that the controller is hitting it much of the time,
this takes away some freedom for the controller to determine the most stable and robust
trajectory to use in correcting CV errors.
ATTENTION
If MV movement is excessive, it is generally better to increase some of the
CV performance ratios to reduce MV movement instead of reducing rate-of-
change limits.
Limit Ramping
Although the controller never moves an MV outside a limit, an MV can be outside a limit
when the MV initializes if MV tracking is not configured. Also, the Operator can change
a limit to a value such that the MV is outside the new limit.
Rather than force the controller to move an MV to a violated limit in one interval, you
can specify the minimum amount that the controller must move the MV toward the
violated limit at each control interval. This in effect determines the minimum rate at
which the MV ramps to its limit. The controller, however, is free to move the MV a
larger amount, subject to the rate-of-change limits.
If the MV is not violating the old limit but is violating the new limit, the limit ramps to
the new limit at ten times the configured ramp rate until the limit reaches the MV value.
The limit continues to ramp at the configured ramp rate until the new limit is reached. To
avoid unnecessary interference with possible future MV values that the controller may be
planning, the limit is not immediately moved to the MV value.
Different limits for high and low ramping can be set.
Movement Weights
Defined Conceptually, MV weighting is analogous to CV weighting in that weights are
applied to encourage, or discourage, controller action on particular variables.
• CV engineering give-ups encourage the resolution of particular CV errors at the
expense of other CV errors.
• MV movement weights discourage the movement of particular MVs in resolving CV
error, which results in larger movement of other MVs.
When you want an MV to move less than others, or not to move at all unless necessary,
you apply a movement weight. The movement weight penalizes movement of the MV,
and influences the controller’s choice of alternate MV moves.
All MVs are assigned an initial movement weight of 1.0, which is a neutral weighting.
Example If you set the movement weight of MV1 to twice that of MV2, the controller
moves MV1 half as much as MV2, all other conditions being equal.
Degrees of Freedom
The controller minimizes MV movement whenever possible while still meeting both the
operating and the economic objectives.
When there are more MVs than are required to meet the objectives, the controller spreads
the total MV movement across the MVs to minimize the sum of the squared changes.
The controller minimizes the sum of the squared changes of the MVs, with each change
multiplied by the movement weight for the MV.
Setting MV Priorities
You can force the controller to move particular MVs by assigning much larger weights to
the MVs you prefer to move very little or not at all.
If you give MV1 a weight of 5, for example, and MV2 a weight of 1, the controller tends
to leave MV1 alone, moving MV2 instead so long as MV2 is not constrained and can
affect the CVs that need to be changed. If MV2 hits a constraint, only then does the
controller move MV1, and only so much as to achieve the control and economic
objectives.
ATTENTION
An important distinction between RMPCT and some other controllers is that
in RMPCT movement weights do not affect the speed of response or the
stability of the controller. The feedback performance ratio is used to tune the
dynamic response.
Movement weights are used only to set priorities, which MVs you prefer to
move when more than one MV can do the job. If there are redundancies in
the MVs, the MV movement weights have no affect.
MV Tracking
MV tracking is analogous to CV tracking. When you configure an MV for tracking, the
controller adjusts the appropriate MV limit so that the MV is not violating a limit when
the MV initializes. An MV is initialized when RMPCT control is turned on or when an
individual MV is returned to RMPCT control.
If the MV is within limits when it initializes, there is no adjustment. If the MV is outside
a limit, the value of the violated limit is set equal to the current MV value; the other limit
is left alone.
Anti-Windup
The controller checks the windup status of all control loops cascaded from the MV to the
ultimate output.
If MV movement up or down worsens a windup condition anywhere in the cascade, the
controller does not move the MV in that direction.
Tuning The predict-back ratio tuning parameter filters the portion of the estimated
disturbance that is used for feedforward compensation. Its value is zero to 1.0. The
default is 1.0, which uses the full value of the estimated disturbance for compensation.
Predict-Back ⎯ An Illustration
To see how predict-back and estimated disturbance compensation can be used to
advantage, examine the variables and the controls on this process:
RM09-400
SP PID
Operator
TC
RM09-400
When the MV is taken off Profit Controller control, the backup regulatory scheme
controls the valve. The setpoint to the flow controller no longer moves the process.
Instead, the Operator-controlled setpoint to the temperature controller moves the process.
When non critical MVs are dropped and backup control assumes the process, such as it
does in the illustration, the MV value cannot represent the results on the CVs that are
presumed in the model. To avoid this, configure the MVs for DROP instead of
FEEDFORWARD. This prevents Profit Controller from assuming that the MV is moving
the process congruently with the models, which it is not, when the backup PIDs have
control.
(RMPCT) control. These changes are difficult for an Operator to make, so a mechanism
is provided to automate the mode switching.
MV Move Accumulation
MV moves are calculated as single-precision floating-point values in IEEE format. When
the output to a DCS such as the LCN accepts values in this same format, there is no loss
of information. However, some DCSs have a coarser resolution. For example, a DCS
might be able to store only integer values from 0 to 1023 unscaled. If the scaled range
was 1000 to 3000, an MV output value of 1000 would be represented exactly on the DCS
(as unscaled 0) but the next greatest value that could be represented on the DCS would be
1001.953 (as unscaled 1). MV output values between 1000 and 1001.953 would have to
be rounded to one value or the other.
Coarse DCS resolution causes a problem when small MV moves are being calculated,
because the change at any one interval may be too small to “kick” the DCS value to its
next increment. The controller reads back the value from the DCS at the next interval to
establish where the MV actually is, and in this case will read the same value as at the
previous interval, and again add a move that will not be big enough to actually change
the DCS value.
MV move accumulation solves the problem of ignoring MV moves that are smaller than
DCS resolution. To implement MV move accumulation you either enter the DCS
resolution if it is known or tell the controller to estimate the resolution. The controller
rounds the MV output value to the nearest value that the DCS can actually represent and
outputs this value. The controller remembers the difference between the desired full
resolution output and the rounded value that was actually output, and algebraically adds
this to the move at the next interval. In this way, small moves accumulate until the
accumulation is eventually large enough to change the DCS value to its next increment.
The following parameters (per MV) are used with move resolution:
• Resolution – This should be set as follows:
-1 Move accumulation calculations are not performed. The MV output value is sent
directly to the external system. Use this value for output to a DCS such as the LCN that
supports IEEE single-precision resolution.
0 Automatic resolution calculation is performed. The controller attempts to
determine the resolution of the DCS by accumulating the maximum difference between
the read back of the MV output and the value that was output at the previous interval.
Use this value if the DCS has coarse resolution and you do not know what the resolution
is.
>0 Resolution calculation is performed using Resolution as the DCS resolution.
The value of Resolution should be the smallest increment to the MV output that can be
represented at the DCS, expressed in the units of MV output. Use this setting if the DCS
has coarse resolution and you know what the resolution is. This may be somewhat more
reliable than the automatic resolution calculation.
• Calculated Resolution – If Resolution = -1 or Resolution = 0, Calculated Resolution
is the estimated resolution of the DCS value (i.e., the smallest increment of MV
output that can be represented at the DCS). This should be zero if the DCS supports
IEEE single-precision. If Resolution > 0, Calculated Resolution is the maximum
mismatch between the MV value output at one interval and read back at the next,
which should be zero or very small. If Resolution > 0 and Calculated Resolution is
significant, the value entered for Resolution is probably incorrect.
• Resolution Mismatch – The difference between the value read back from the DCS
and the value output to the DCS at the previous interval.
• Resolution Residual – The amount of unrealized MV output (i.e., the difference
between the full-resolution value and the nearest value that can be represented on the
DCS).
DV Influence on CV Tuning
You can configure the desired feedforward response time of a CV to a DV differently
than the feedback response time of a CV to the effects of unmeasured disturbances and
model error.
Feedback tuning is set by the CV Feedback Performance Ratio. Inevitable errors in the
model limit how fast you can set the feedback response. At some point, attempts to
achieve faster response result in oscillations and eventually unstable control. These
instabilities are caused by feedback, which is necessary to correct unmeasured
disturbances and model error.
If feedforward information is treated outside the feedback loop, as it is with RMPCT,
then feedforward does not contribute to unstable control and the feedforward response
can be tuned much faster.
This ratio multiplies the feedback performance ratio, which in turn multiplies the nominal
open-loop settling time to determine the response time.
Example The feedback performance ratio is set to 0.8 and the feedforward-to-feedback
performance ratio is set to 0.5 for some CV.
Here, the controller corrects:
• Feedback errors (the unmeasured disturbances and the contribution of model error)
in 0.8 of the nominal open-loop settling time.
• Feedforward errors (caused by DVs) in 0.4 of the nominal open-loop settling time
(0.5 x 0.8 = 0.4).
Plus the nominal dead time for both.
In This Section
This section explains the relationship between the control interval and the settling time,
time constants, CV constraints, independent variables, and blocking. Understanding these
relationships and their interplay can help you pick the best control interval for your
application.
Shorter Intervals
A smaller interval than 1/10 of the major time constant does not noticeably improve
control because the process does not appreciably respond in less than this interval.
Smaller control intervals entail more processing overhead and more memory to hold the
step response coefficients, so the ideal interval size is a reasonable compromise between
computational efficiency and control performance.
Longer Intervals
The only deleterious effect of a long control interval is that it delays recognition of
disturbances and subsequent corrective action.
Recommended Intervals
There are no hard rules, but it is generally desirable to have the longest settling times less
than 200 - 300 intervals, subject to having the shortest settling times for important CVs
more than 10 intervals.
If the time required to detect an error is not a problem, the control interval can be set as
large as the settling time of a CV, or even larger.
This is no more difficult for the controller than if the settling time consisted of 40 control
intervals.
However, if a large disturbance occurs just after a control calculation, no corrective
action is taken until one settling time elapses. Then it takes an additional settling time to
achieve the correction. For many CVs, this is not a problem.
3.3 Blocking
Defined
In principle, the controller should consider a constraint on each CV at each control
interval in the future out to the correction horizon (where steady state is achieved). In
practice, however, this can result in too large a problem to be solved efficiently. So, the
controller places constraints only at selected intervals. This is blocking.
Control Quality
Blocking doesn’t appreciably reduce the quality of control because there is little
incentive for the controller to generate moves that cause CVs to wiggle outside of
constraints in the intervals between the blocking intervals when constraints are not
actually imposed. Such behavior requires high frequency changes to the MVs, which the
controller tries to avoid because MV movement results in less robust control.
CV Constraints
The default number of constraints for a CV is 10 (10 is also the maximum number of
constraints). You can specify a smaller value for each CV.
The specified number of constraints are distributed approximately uniformly over the
time range from the current interval out to the correction horizon. The last CV blocking
will always be placed around the longest setting time interval of all the associated
submodels of a particular CV. The controller can deviate from a uniform distribution to
place constraints where they do the most good, as determined from the distribution of
dead times and correction horizons.
MV Moves
Ideally, if the computing power were available, the controller would consider each MV
an independent variable at each interval from the present out to the longest correction
horizon of any CV affected by the MV (minus the dead time).
Unfortunately, just as with CVs, this can result in too large a problem to be solved
efficiently. Therefore, the controller places independent variables only at selected
intervals. When the performance ratio of a CV is tuned greater than 1, the associated MV
control horizon will also be extended.
Independent Variables
The default number of independent variables for an MV is 10 (10 is also the maximum
number of independent variables). You can specify a smaller value for each MV.
The specified number of independent variables are distributed from the present time
interval out to the longest correction horizon of any CV affected by the MV, minus the
dead time. The controller places the independent variables closer together at first and
then farther apart the further they are into the future.
Optimization Concepts
To understand how Profit Controller (RMPCT) optimizes a process, here are a few
fundamental terms you should know:
Term Meaning
Objective Function What you want the controller to accomplish after the
control objectives are met (improve product spec,
increase product throughput, lower utility costs).
Degrees of Freedom The number of MVs not at a limit minus the number of
CVs that either have setpoints or are at or outside
limits. The controller chooses MV values so as to
minimize the number of CVs that are away from
setpoint or that are outside limits.
Optimization Horizon How fast the controller must bring the objective function
to an optimal value.
Soft Limits Offset from high and low limits to protect future freedom
for moving MVs, and for leaving room in CVs for
unexpected disturbances.
General Form
The objective function is a linear or quadratic function of any or all of the CVs and MVs.
The general form of the objective function is:
∑ bj x M Vj + ∑a j 2 ( MVj − MV 0 j )
2
j j
where
bi are the linear coefficients on the CVs
bj are the linear coefficients on the MVs
ai are the quadratic coefficients on the CVs
aj are the quadratic coefficients on the MVs
CV0i are the desired resting values of the CVs
MV0j are the desired resting values of the MVs.
To maximize rather than minimize the objective function, multiply each term by -1
(minimizing the negative of something is the same as maximizing it).
The controller minimizes the objective function (or maximizes the negative of it) subject
to keeping all CVs within limits or at setpoint, and all MVs within limits.
Weighting Coefficients
Emphasizing What Is Valuable Weighting of the linear objective coefficients is
relative. A larger absolute value relative to other CV and MV coefficients emphasizes
that variable. A “-100”, for example, emphasizes ten times the desirability that “-10”
attributes, so far as the optimizer is concerned. And 100 attributes ten times the cost that
10 attributes.
Example The objective function can be used for many purposes. For a simple example,
assume that there is one valuable product from a process controlled by RMPCT and you
want to maximize this product.
MV3 is the setpoint of a PID controller that controls the flow of this product. To
maximize its flow rate, set b3 = -1 (or any other negative number with a reasonable
magnitude), and set all the other objective function coefficients to zero.
Then the objective function is
minimize J = -MV3
which is the same as
maximize J = MV3
which causes the controller to maximize the valuable product.
MV3 typically would have a high limit that is the maximum flow rate achievable. Under
some operating conditions the controller can increase MV3 until it hits its high limit.
Under other operating conditions, however, other MV and CV limits are hit first. When
this happens, the controller may have to reduce MV3 to keep other variables within their
limits.
In any case, the controller always determines which constraints should be active in order
for MV3 to be as large as possible.
• Set the linear coefficients (bi or bj) of all CVs and MVs that are products to the
negative of the product value. ⎯ For example, if CV2 is a product stream with units
of kg/hr and the product has a value of $1.2/kg, set b2 = -1.2. This assumes that you
want the units of the objective function to be $/hr.
• Set the linear coefficients of all CVs and MVs that are feeds to the feed cost.
• Set the linear coefficients of all CVs and MVs that are utility streams to the utility
cost.
• Set all other objective function coefficients to zero.
When the controller is able to work within a range rather than being constrained to
holding setpoint, the controller corrects the error more easily (and you can configure a
much shorter correction horizon). The optimizer can then more leisurely push both
qualities against their constraints.
ATTENTION
Setting the optimization speed factor to zero turns the optimizer off, which
turns off the objective function. CV and MV objective coefficients, then, have
no influence on the direction of the process.
To increase the optimization speed (to decrease the optimization horizon), set a larger
value for the optimization speed factor, and vice versa.
Hard Limits
Soft Limits
Soft Limits
Hard Limits
RM09-400
You do not set soft limits directly. Rather, you set the amount that the soft limit is inside
the control limit. Soft limits are respected by the optimization of the economic objective
function. In other words, the optimum value is subject to all variables being inside their
soft limits. Soft limits are ignored for the control purposes of keeping the CVs inside
their control limits or at setpoint.
CV Soft Limits
You can set a soft limit on a CV slightly inside the control limit to provide a buffer so
that disturbances of normal magnitude do not bump the CV outside the control limit.
If the optimization limit and the control limit are instead both set equal to the actual spec
on the CV, optimization then tends to keep the CV at the spec value. Consequently, even
a small disturbance can push the CV out of spec until the controller reacts.
If you configure the soft limit some small amount inside of the actual spec, optimization
cannot push the CV all the way to the spec. Optimization, in fact, tends to bring the CV
back to the soft limit if the CV is outside the soft limit but inside the control limit. This
action proceeds at the speed determined by the optimization horizon, and provides a
buffer. If a large disturbance pushes the CV outside the control limit, the much more
aggressive error correction horizon comes into play, and the CV is quickly brought back
within the control limit.
MV Soft Limits
You can set a soft limit on an MV slightly inside the control limit to ensure that the MV
is available to correct disturbances in either direction most of the time. If the controller
moves the MV outside a soft limit to correct CV errors (it cannot move the MV outside
its control limit), then the optimizer adjusts other MVs to gradually bring this MV back
within its soft limit.
Keeping MVs slightly inside their control limits can improve controller robustness by
giving the controller more freedom to correct CV errors.
The Problem
Assume that a disturbance pushes the top quality above its high limit, but the bottom
quality remains at its high limit. If setpoints are used, the controller must move the top
CV back to its limit while not moving the bottom CV.
Because these CVs want to move together, the independent movement of one of them
requires large changes to the MVs to move the top CV the desired amount, but with
canceling effects on the bottom CV.
The model separately predicts the effects of the reflux change and the reboil change on
bottom quality, and the controller chooses large changes in reflux and reboil whose
effects on bottom quality cancel out. The problem here is that the controller relies on a
small difference between two large calculated values, both of which have some error.
These errors become greatly magnified in the difference, which is the CV value. The
result can be unstable control.
Three Examples
The following figures illustrate limit funnels for different situations. Constraints are
indicated by the converging lines of the funnel.
Examine these figures to see how Profit Controller (RMPCT) moves the CV within the
funnel when control is made within a range, to a setpoint, and by a setpoint change.
High Limit
CURRENT TIME
Low Limit
Minimum
Funnel
Height CORRECTION
HORIZON
MEASURED PREDICTED
PREDICTED
t
RM09-400 Funnel
Setpoint
Minimum
Funnel
Height CURRENT T IME
CORRECTION
HORIZON
MEASURED PREDICTED
PREDICTED
t
RM09-400 Funnel
Setpoint
Minimum
Funnel With No
Height Further
CURRENT TIME
Control
Action
CORRECTION
HORIZON
MEASURED PREDICTED
PREDICTED
t
RM09-400 Funnel
funnel is decided by a new tuning factor called the decouple ratio (value range from 0 to
1). The smaller the decouple ratio is, the tighter the funnel opening will be. The funnel
opening of type 2 does not change with the performance ratio. Whichever funnel type
and tuning is used, the funnel will always be relaxed to include the current CV value. The
following figure gives an illustration of the new funnel type for a range controlled CV.
If the CV excursion cannot be prevented by different funnel types and decouple ratio,
small performance ratio or ff2fb ratio may be considered. However, the robustness of the
controller could be compromised.
Matrix Condition
Singular-value thresholding is based on the numerical properties of the singular values of
the dynamic process matrix. The elements in this matrix are the model step response
coefficients, which invariably have some error.
In general, if some of the singular values of a matrix are much smaller than the largest
singular values, the matrix is poorly conditioned (the condition number is the ratio of the
largest to smallest singular values).
For a poorly conditioned matrix, small changes in the matrix coefficients within their
error range result in large changes in the CV values that are predicted by multiplying the
matrix by a proposed set of MV changes.
This magnification of the model error can cause unstable control.
Determining a Threshold
Profit Controller (RMPCT) determines a threshold such that singular values smaller than
the threshold can cause unacceptably large errors in the CV predictions. To get around
this, singular values smaller than this threshold are dropped from the solution. This has
the effect of slowing down the control response slightly.
Typically, stable control is maintained and large reductions in MV movement are
achieved with only small reductions in CV error correction when the control matrix
becomes poorly conditioned.
CVs that are not contributing to the poor conditioning are not affected. When the matrix
is not poorly conditioned, singular-value thresholding has no effect on the control.
Model error can be especially conspicuous if the two sets of data are from two
periods of different operating conditions.
• A list of the CVs that have setpoints and CVs that you expect will be against a limit
most of the time.
• The error correction horizons that you expect to use for these CVs.
From your input, the min-max design then determines the controller parameters that
result in the best control, given the combination of model error that cause the worst
problems.
Benefits
Sweat the details. Careful attention to the off-line design, time consuming as it might be,
can result in dramatically better control for processes with highly-interacting variables.
The results are similar to those achieved with H∞ or µ-synthesis design techniques.
Target Access
Configuration, tuning, and optimization parameters require ENG key access.
See Control (Operating) Parameters later in this section for the targets open to Operators.
The control interval is established See “Blocking” on page 48 for a discussion of how
off-line in the Controller Builder. blocking influences the execution speed (cycle time).
Once a controller has been put on
the system, the control interval
cannot be changed. If you want a
controller to execute at a different
frequency, rebuild and reinstall the
controller.
Critical, Non Critical Control Use the [CRITICAL] targets on the CV, MV, DV Detail
screens, or the Process Tuning screens.
Drop, Feedforward Control Toggle the drop/feedforward settings with the [WHEN
MV IN MAN] targets on the MV Detail screen.
Feedback Performance Ratio Set the feedback performance ratio with the
[PERFORMANCE RATIO] target on the CV Detail
screen.
Feedforward Response Ratio Set the feedforward response ratio with the [FF TO FB
PERF RATIO] target on the CV Detail screen.
Ramp Rates Use the [HI/LO RAMP RATE] targets on the CV, MV
Detail screens.
Rate of Change Set the MV rate of change with the [MAX MOVE]
targets on the MV Detail screen.
State Estimation Toggle state estimation ON/OFF with the [STATE EST]
target on the CV Control Tuning screen.
Funnel Type Set the funnel type with the [FUNNEL TYPE} target on
the CV Advanced Tuning screen. If Funnel Type 2 is
selected, use the corresponding [DECOUPLE RATIO]
target to set the opening of the funnel.
Optimization Parameters
The following table tells you where to set optimization parameters on the RMPCT
displays:
Optimization Speed (Optimization Horizon) Use the [optimizer speed factor] target on
the Controller Detail screen.
Honeywell International
Process Solutions
2500 W. Union Hills Drive
Phoenix, AZ 85027 USA
1-800 343-0228