Siemens Feedforward Control
Siemens Feedforward Control
AD353-129
                                                                                           Rev 2
                                                                                           April 2012
1
  See Applications Support at the back of this publication
for a list of controllers.
AD353-129
Exit Temperature
Steam Flow
Feed Flow
Figure 3 shows an example of feedforward control            scaling and dynamic compensation, it is theoretically
applied to the heat exchanger temperature control           possible to match the change in valve position to the
loop. The load disturbance, caused by a change in           change in feed flow so that there is no effect
feed flow, is measured and added directly to the exit       whatsoever on the exit temperature.
temperature controller output. This allows an
increase in feed flow to provide an immediate               It should be noted that feedforward is an open loop
increase in steam flow. With appropriate signal             control strategy. The change in the manipulated
                                                            variable (steam flow) has no effect on the load
                     Steam                                  variable (feed flow). Therefore, it is not possible for a
                                                            feedforward loop to become unstable.
                                     +   TC
                                                            For feedforward to be effective, it must be configured
                                 +
                                                            so that the change in load moves the manipulated
                                                            variable in the right direction, the right amount, and at
                                                            the right time. The right direction can be deduced
                                                            from an understanding of the process. The right
                                          TT
       FT                                                   amount and the timing may be estimated from
                                                            process knowledge, but is more often determined by
                                                            empirical testing of the control loop and its response.
  Feed                                   Exit
                                         Temperature
                                                            If feedforward adds too much steam for an increase
                                                            in feed flow, the exit temperature will increase, and
                              Heat
                              Exchanger
                                                            there will be a control error in the opposite direction
                       T                                    from that caused by the load change. The control
                                                            configuration must include a gain adjustment so that
                                                            the magnitude of the change in the manipulated
                  Condensate                                variable can be adjusted relative to the change in the
                                                            load variable.
    Figure 3 Heat Exchanger Steady State
             Feedforward Control                            A similar problem occurs if the change in steam flow
                                                            is too soon or too late. Since exit temperature will
                                                            respond at different rates to a change in feed flow
                                                            and a change in steam flow, it may be necessary to
                                                            slow down (or speed up) the response of the
                                                        2
                                                                                                          AD353-129
                                                          3
AD353-129
Figure 4 Exit Temperature Controller with Steady State Feedforward Control (CF353-129SS)
Figure 5 Steady State Feedforward Computation for Exit Temperature Controller (CF353-129SS)
                                                 4
                                                                                                                AD353-129
tracks the output of the A/M block. This forces the            minimize the change in the controlled variable for a
output of the PID block to midscale (50%); which               change in the load variable.
forces the output of the MTH1 block to match the
output of the A/M block.                                       For tuning the feedforward response, it is most
                                                               convenient if the load can be adjusted to change the
An example of the response to a feed flow change for           feedforward variable. When this is not possible, it is
this example is shown in Figure 6. Compared with               necessary to observe and, preferably, record the
the single loop only response in Figure 2, the                 effect of changes as they occur. A record of the
feedforward compensation has reduced the effect of             valve position is particularly useful for tuning.
a feed flow load disturbance significantly. Depending
on the dynamic interaction between the feed forward            Figure 7 shows four feedforward tuning examples
variable (feed flow) and the controlled variable (exit         and the resulting valve positions. In all cases, a step
temperature), the amount of improvement may be                 change occurred at the instant the valve plot
limited. The tuning of the feedforward compensation            undergoes a step change upward. The horizontal
is also critical to the performance of the feedforward         dashed line represents the new steady state valve
compensation.                                                  position that returns the controlled variable to
Exit Temperature
                                                                                             Steam Flow
                                  PG = 0.58, TLAG = 0.01 min, TLEAD = 0.18 min.
Feed Flow
                                                           5
AD353-129
controller at steady state. However, the transient             The dynamic compensation will rarely be perfect due
increase in valve position after the initial step              to the complex nature of the process dynamics.
indicates that the controlled variable did not remain at
setpoint initially. Feedforward was too late to prevent        Comparison with Other Methods
the transient control error. Clearly, feedforward
cannot be expected to respond before the load                  Steady state feedforward is relatively simple to
change occurs. However, lead compensation                      implement and tune. However, it is important to
provides an initial kick to minimize the effect of being       realize that this method of feedforward control can
late.                                                          prevent the feedback controller from stroking the
                                                               valve completely. If, for example, the feedforward
In example D, the feedforward gain is also set                 component is contributing more than 50% to the
correctly. However, in this case, the transient                valve signal, the feedback controller will not be able
decrease in valve position indicates that the                  to bias the feedforward sufficiently in the negative to
feedforward response was too early. Lag                        close an air-to-open valve. This does not normally
compensation can minimize the effect of being too              occur unless the feedforward component is badly
early.                                                         misadjusted.
Typically, the feedforward gain (PG) should be                 If a sustained control offset develops due to the
adjusted to the correct value before adjusting the             biasing problem described above, momentarily switch
lead or lag settings. Then, find the dynamic                   the loop to manual to re-initialize the controllers and
compensation that minimizes the transient effect.              then switch the loop back to auto to resume control.
                                                           6
                                                                                                                    AD353-129
  Load                       Controller
 Variable                     Output            100%
Gx L
                                   C                                                                         DEV AMP
                             A                                                                                Output
                                 DEV                                   TL
                                 AMP
                                                                                                            Load Variable
                             B
Lag L
                                                  0
                         GAIN(A-B) + C                                                                                      t
                                                             7
AD353-129
    Load
   Variable
                                       FB     100%
                                 PID
                                                                                                     DEV AMP
                                                                                    Reset             Output
                                                            Gx   L
                                   C                                                Impulse
                             A
                                 DEV                                 TL
                                 AMP
                             B
                                                                                                       Load Variable
Lag L
                                                0
                             G(A-B) + C                                                                                t
amplifier. This achieves a steady state change in                If desired, a characterizer block can be inserted in the
valve loading without integrating a control error or             valve signal, as shown in Figure 4 for the steady
adding a steady state bias.                                      state feedforward configuration. However, the
                                                                 external feedback for the PID block must “tee off”
Impulse feedforward can also provide dynamic                     upstream of the characterizer block.
compensation by setting the lag time (TLAG) to be
less than or greater than the integral setting (TI) of           Tuning
the controller. For lead response, TLAG must be less
than TI, and for lag response, TLAG must be greater              Impulse feedforward is tuned in much the same way
than TI.                                                         as steady state feedforward. The main difference is
                                                                 the manner in which dynamic compensation is
Configuration                                                    accomplished when using impulse feedforward.
Figure 11 shows the configuration for impulse                    With the gain (GAIN) of the deviation amplifier
feedforward. The PID controller manipulates its                  (DAM1) and the time constant (TLAG) of the lag
output to control the exit temperature at setpoint.              block (LL1) set at minimum values, the feedback
The feed flow signal is the load variable for                    controller (PID) can be tuned using any of the
implementing feedforward control. This signal is                 preferred methods.
applied directly to one side of a deviation amplifier
(DAM1) and indirectly through a lag block (LL1) to the           Before doing tests to determine the feedforward gain,
other side of the deviation amplifier. If the application        the lag time constant should be set equal to the
requires an inverse relationship between the valve               integral time constant of the controller ( TLAG = TI).
signal and the load variable, these connections to the           This adjusts the impulse for no lead or lag. Use
deviation amplifier must be reversed. A change in                examples A and B in Figure 7 as a guide to find the
feed flow generates an impulse as described above.               correct feedforward gain setting.
The A/M transfer switch allows the operator to switch            With the correct feedforward gain, use examples C
between auto and manual modes of operation. To                   and D in Figure 7 to determine the need for lead or
provide bumpless transfer from manual to auto, the               lag action. If lead is required, decrease the lag time
auto status (AS) signal from the A/M block forces the            constant (TLAG) and if lag is required, increase the
PID block to track the valve signal and the lag block            lag time constant.
(LL1) to bypass the lag function.
                                                             8
                                                                                                           AD353-129
The steady state gain (G) of the impulse function is          The only disadvantage of impulse feedforward is the
affected by both the deviation amplifier gain                 potentially disconcerting interaction among the tuning
adjustment (GAIN) and the ratio of the integral and           constants during the tuning process. The tuning
lag time constants as follows:                                procedure is essentially the same in both cases, but
                                                              the interaction must be understood to avoid
                     TLAG                                     frustration.
        G = GAIN (        )
                      TI
                                                              MODEL PREDICTIVE FEEDFORWARD
To retain the effective feedforward gain for changes
in TLAG, recalculate the gain of the deviation                Model predictive feedforward uses a rigorous
amplifier (GAIN) per the following equation:                  mathematical model of the process to calculate the
                                                              value of the manipulated variable as a function of one
                                                              or more load variables. The primary feedback
                     TI
        GAIN = G(        )                                    controller “trims” the model to compensate for
                    TLAG                                      modeling errors or unmeasured load disturbances.
Suppose, for example, that the feedforward gain was           As shown in Figure 12, both the feed flow and the
set for 1.2 when TLAG = TI. If the lag time (TLAG) is         feed temperature are measured. The output of the
readjusted to 0.8TI to achieve a leading response,            temperature controller (TC) represents the exit
the GAIN of the deviation amplifier should be                 temperature. In this application, the heat required to
readjusted to (1.2)/(0.8) or 1.5 to retain the original       raise the feed flow to the desired exit temperature
feedforward gain. It will be necessary to readjust            can be calculated using the following equation.
GAIN for every value of TLAG that is tried while
conducting experiments to determine the optimum
                                                                      Q = c p F f Δ`T
value of TLAG.
                                                                      where:
Comparison with Other Methods                                         Q is heat transfer rate [e.g. BTU/hr]
                                                                      cp is specific heat [e.g. BTU/(lb·ºF)]
Impulse feedforward is accomplished with a simple                     Ff is feed flow (mass) [e.g. lb/hr]
configuration. It also eliminates completely the                      ∆T is change in temperature [e.g.·ºF]
potential bias problem that can occur with steady
state feedforward.
                                                          9
AD353-129
The heat supplied by the steam can be calculated               In addition, if both the setpoint and the controller
using the following equation:                                  output are used in the feedforward calculation, there
                                                               will be a double correction whenever the setpoint is
          Q = λFS                                              changed. This configuration avoids that problem. If
                                                               the model provides perfect steady state feedforward
                                                               compensation, the temperature controller will be
          Where:                                               satisfied when the output equals the desired exit
          Q is heat transfer rate [e.g. BTU/hr]
                                                               temperature. Otherwise the PID block will bias the
          λ is the latent heat of steam [e.g. BTU/lb]          ∆T calculation as required to drive the temperature to
          Fs is steam flow (mass) [lb/hr]                      setpoint.
This equation is used to calculate the value of the            The equation derived above can be implemented
manipulated variable in a model predictive                     using a single configurable math block (MTH_). A
feedforward configuration. For other applications, it          lead/lag block (LL_) provides dynamic lead or lag
will be necessary to use whichever first principles            compensation. A dead time block (DTM_) provides
(heat balance, material balance, etc.) are appropriate
                                                               any dead time compensation that may be required.
to derive a rigorous mathematical model.                       Although all load variables may require dynamic
                                                               compensation, it is usually more critical on load
                      Steam                                    variables that move more quickly such as flow.
                                                          10
                                                                                                               AD353-129
                   CP
MTH1      Fs = (        )(60 ρF )(T
                               f      e   − Tf )                  This method requires more design effort than either
                   λ                                              the steady state or impulse feedforward methods.
                                                                  However, the effort required will usually be rewarded
MTH2 T e =      ( λ )(      Fs
                                   ) + Tf                         by significant improvement in control loop
                                                                  performance.
                   Cp     60 ρ F f
                                                                  APPLICATIONS
Ff (Feed Flow) ................ 0 to 400 GPM
                                                                  The feedforward control techniques described in this
Tf (Feed Temp) ............... 0 to 200 ºF
                                                                  publication are applicable to any process control loop
Te (Exit Temp)................. 0 to 200 ºF
                                                                  with measurable load disturbances. Examples are
Fs (Steam Flow) .............. 0 to 6000 lbs/hr
                                                                  boiler drum level control, composition control in
Cp (specific heat) ............ 0.8 BTU/lb (feed) ºF
                                                                  distillation columns, and pH control in waste water
ρ (density)........................ 8.25 lb (feed)/ gallon
                                                                  treatment.
λ (latent heat of steam).... 853.5 BTU/lb of steam
                                                                  Application Support
Tuning
                                                                  User manuals for controllers and transmitters,
With model predictive feedforward, the mathematical
                                                                  addresses of Siemens sales representatives, and
model establishes the relationship between the
                                                                  more application data sheets can be found at
manipulated variable and the load variables.
                                                                  www.usa.siemens.com/ia. To reach the process
Therefore, there is no feedforward gain adjustment,
                                                                  controller page, click Process Instrumentation and
except that which is already built into the model. It is
                                                                  then Process Controllers and Recorders. To select
necessary to determine only the type of dynamic
                                                                  the type of assistance desired, click Support (in the
compensation required and to tune it in much the
                                                                  right-hand column). See AD353-138 for a list of
same manner as described for steady state
                                                                  Application Data sheets.
feedforward.
                                                                  The configuration(s) shown in this publication were
Comparison with Other Methods
                                                                  created in Siemens i|config™ Graphical
                                                                  Configuration Utility. Those with CF353 in
Model predictive feedforward is the most
                                                                  parenthesis in the Figure title are available using the
sophisticated of the three methods described and has
                                                                  above navigation, then click Software Downloads >
the potential to provide the best performance. It can
                                                                  353 Feedforward Control (Reference AD353-129).
compensate for more than one load variable and is
based on fundamental knowledge of the process.
                                                             11
AD353-129
i|pac, i|config, Procidia, and 352Plus are trademarks of Siemens Industry, Inc. Other trademarks are the property of their respective owners.
All product designations may be trademarks or product names of Siemens Industry, Inc. or other supplier companies whose use by third
parties for their own purposes could violate the rights of the owners.
Siemens Industry, Inc. assumes no liability for errors or omissions in this document or for the application and use of information in this
document. The information herein is subject to change without notice.
Siemens Industry, Inc. is not responsible for changes to product functionality after the publication of this document. Customers are urged to
consult with a Siemens Industry, Inc. sales representative to confirm the applicability of the information in this document to the product they
purchased.
Control circuits are provided only to assist customers in developing individual applications. Before implementing any control circuit, it should
be thoroughly tested under all process conditions.
12