Whitepaper pcs7 Apc en
Whitepaper pcs7 Apc en
White Paper
How to Improve the Performance of your Plant Using the
Appropriate Tools of SIMATIC PCS 7 APC-Portfolio?
October 2008
A white paper issued by: Siemens. © Siemens AG 2008. All rights reserved.
White Paper | SIMATIC PCS 7 APC-Portfolio | October 2008 2
Contents
so called AddOn Catalogue [3.], but are not further only 1/3 of the plant
loops are running in
detailed in this paper. 16% good performance !
36%
Due to the reduced costs of a system-embedded
and template-based implementation, a large num- 16% acceptable
DCS.
In the following sections, each of the APC tools is Plant operators or instrumentation and control
explained by its main principle, typical use cases technicians on their own do not have a chance to
and typical applications (industry branches, process permanently supervise the huge numbers of control
units). The short descriptions are intended as intro- loops they are responsible for. Therefore functional-
ductory reading and make no claim to be complete. ity is needed to automatically monitor the control
Further information can be found in the literature performance of all loops in a plant, and all the time,
cited and the relevant product documentation. in order to schedule specific maintenance activities
or selective controller re-tuning in a timely manner
The PCS 7 example project ‘Getting Started with
if the performance of single control loops is de-
Advanced Control’ allows users to get familiar with
creasing or troubles are developing. For monitoring
the new advanced process control structures by
in the sense of a non-invasive diagnostic, only the
doing hands-on experiments without having to
measurement data of regular process operation are
intervene in the real process. This way, the concept,
evaluated. (Controller re-tuning however requires
the requirements and the benefit of a certain APC
active plant experiments.)
structure can be realized before it is applied to a
real process. For this the examples include process Each control loop to be monitored is by default
simulation and intuitive OS-pictures. For the exten- equipped with a dedicated performance monitoring
sions to PID control, the same process simulation is function block (ConPerMon, [6.] ), like designated
set up twice, one instance with APC extension and in the process tag types of the Advanced Process
the other without - all other process and controller Library [9.]. Using these process tag types, the
parameters identical. The advantages of the APC engineering effort for manual linking of monitoring
extension can be tested as a direct comparison. and controller function blocks can be reduced.
ever, the process has a strongly non-linear response view. This becomes clear even with benign non-
and/or operates at different operating points, no linearities (that are continuous and can be differen-
constantly good control response can be expected tiated) when setpoint step changes are made be-
throughout the entire operating range. Due to the tween different operating points. With non-
non-linearity, various gain factors or process time linearities that are discontinuous or cannot be dif-
constants are in effect at different operating points. ferentiated or with non-monotonic non-linearities,
In keeping with this, different controller parameters great caution is needed.
will be considered to be optimum
Measurement (X)
Application Examples
• Control (especially temperature control) of
batch processes, for example, batch reactors
Gain and batch columns
Scheduler
• pH value control by dosing acid or base
Control (nonlinear titration curve)
parameter sets
SP PID Process PV
• Temperature control with phase transitions (for
Controller example, fluid/vapour)
+ - MV
• Control of semi-batch plants (continuous plants
with operating point changes, for example, po-
lymerization reactors)
Figure 5: Gain scheduling
• Control in power plants with load changes
An additional input at the PID controller block al- perature of the medium are the measurable
lows adding this signal to the MV value. It is impor- disturbance variables.
tant that the addition of sideline contributions to • Fill level control in a drum steam generator
the MV value is performed before the MV limitation using the inlet volume: the outflow is the
of the controller block, in order to ensure proper measurable disturbance variable that is deter-
limitation of the overall MV (including anti- mined by the variable steam consumption in
windup). the plant.
However for general transfer functions g (s ) and • Temperature control in a distillation column
g z (s ) there will be more complicated or even un- using the reflux ratio or heating steam flow:
the measurable disturbance variable is the mix-
feasible compensation functions. Those have to be
ture feed flow.
simplified by order reduction, which might reduce
the efficiency of disturbance compensation. This • Temperature and concentration control in an
simplification can go that far, that the process dy- agitated tank reactor using cooling medium
namics is completely neglected, and only flow and discharge volume: the temperature
and possibly also the concentration of the in-
kS z flow are measurable disturbance variables.
c( s ) = is implemented (static feedforward
kS Note: Dynamic disturbance compensation can also
control). be realized with a model predictive controller (c.f.
section 1.4), in multi-input multi-output and in
Application Examples
single-output constellations. It provides greater
• Temperature control of an industrial oven: at
the oven inlet, the disturbance variable feed flexibility in system modelling and is more conven-
flow is measured and fed-forward to the output ient thanks to the integrated design tool. However,
of the temperature controller. The impact of it does require more CPU resources.
varying flows on the oven temperature is an-
ticipated and compensated for by modifying
the heating power.
• Controlling the outlet temperature of a heat
exchanger via steam pressure or heat-
ing/cooling medium flow: flow and inlet tem-
Figure 8: Benchmarking template for disturbance compensation, taken from example project of PCS7 APC Library. Black: set-
point, green: controlled variables, orange: manipulated variables, light colours: with disturbance compensation, dark colours:
without compensation, purple: disturbance variable.
Control) DV1
ModPreCon MV1 G(2,1)
G(1,2)
If there are several manipulated and controlled MV2
variables (MVs and CVs) in one unit, that are G(2,2) +
interacting with each other, you are dealing with + + CV2
If the impact of the interactions ( G(2,1) and 1.4.1 Intuitive Explanation of Predic-
G(1,2) in the example) is weak compared to the tive Control
main transfer functions (G(1,1) and G(2,2) in the
example), it might be possible to solve the mul- Controller detects future deviation
tivariable problem with two separate PID control- (e.g. violation of max. tolerable quality value)
complete optimization is re-started (‘moving (2) “Lean” MPC: If the constraints are not consid-
horizon principle’). ered during optimization, an analytical solution
of the optimization problem is possible, resulting
In other words: the control problem is formu-
in a straight-forward formula.
lated as an optimization problem and solved as
an optimization problem. The typical perform- This formula can be posted offline using per-
ance index looks like: formance index and process model. For the
r rT r r r r online calculation of the MVs, there are only
J = (w − y ) R(w − y ) + Δu T QΔu → min . some matrix multiplications to be performed (no
iterative search). This requires much less com-
w contains the time series of future setpoints, puting power than a full blown MPC. (MV con-
y contains the time series of future CVs (inside straints are fulfilled by the online-controller
the prediction horizon), anyway.) Such simplified predictive control algo-
rithms without online-optimization (lean MPC,
Δu contains the time series of future MV moves embedded MPC) and with a limited number of
(inside the control horizon). MVs and CVs can be implemented as a function
If the weightings in the Q diagonal matrix are block on DCS controllers.
increased, the controller moves its manipulated Example: The MPC function block from [1.] and
variables more cautiously resulting in a slower the ModPreCon function block from [2.] can
but more robust control action. Using the cope with up to four interacting MVs and CVs.
weighting factors in the R diagonal matrix, the Such an embedded MPC has the following ad-
relative significance of the individual controlled vantages:
variables can be specified. A higher weighting • The availability of the MPC function block is
(priority) for a controlled variable means that similar to a conventional PID controller.
this one moves more quickly towards the set- Backup strategies and arrangements for su-
point and remains more accurately at the set- pervision of communication to external PCs
point in steady state if it is not possible to are not necessary. All options of redundant
achieve all setpoints precisely. DCS hardware can be fully exploited, in-
creasing the availability of APC functions.
1.4.2 DCS embedded MPC versus
MPC with Online Optimization • The MPC function block can be connected to
other function blocks in the engineering
There are two completely different approaches system like any PID controller, using prede-
to solve the MPC optimization task, resulting in fined process tag types (templates for con-
two different classes of MPC algorithms: tinuous function charts).
(1) MPC with online optimization: If the optimi- • For operator control of the MPC function
zation problem is to be solved with respect to block there are standard faceplates.
constraints, a numeric iterative search for the • Look&Feel is similar to a conventional PID
optimum is necessary at each sampling step. controller and so familiar to plant operators,
Obviously, such an online optimization needs a reducing training effort. External consult-
lot of computing power. Therefore such types of ants as experts for special MPC software
MPC cannot be implemented in the controllers of packages are no longer needed.
a DCS, but need a separate PC interfaced to the
• Summing up, the starting prize for a turn-
DCS. Typically, an MPC is not manipulating the
key solution is reduced by an order of mag-
process directly but is commanding setpoints for nitude. This also means that small and me-
subordinate PID controllers, i.e. the MPC per- dium - sized applications become attractive
forms the coordination of several PID controllers for APC that does not allow amortizing a
in the basic automation level, in the sense of full-blown MPC.
“supervisory control”.
Typical examples of such full blown MPC-
software packages are e.g. DMC+ by AspenTech,
Inca by Ipcos [3.], ProfitController by Honeywell.
Check
instrumentation
OK
Performance?
PID Tuning
OK
Performance?
SISO MIMO
Dimension?
yes no yes no
Linearity? Linearity?
formance using APC is a need for MIMO control (orange arrow). After
successful commissioning, APC functions as well
2.1 Situation Analysis and product quality, for production costs (consump-
tion of raw materials and energy)? Which re-
Potential Estimation quirements for process automation are imposed
by chemical engineering (e.g. recipes for chemi-
2.1.1 Identification of Economic Tar- cal reactions), in order to ensure optimal produc-
gets for Process Control tion conditions? Which benefit could be achieved
by improved control performance?
The starting points for any discussion are eco-
nomic considerations and the requirements for Table 1 summarizes the typical objectives for
process control imposed by chemical engineer- APC solutions in (predominantly continuously
ing: Which measurable variables are relevant for operated) process plants (following [4.], p. 201).
the economic success of process operation?
Which of them are relevant for plant safety, for
Objectives Aspects
Productivity and Increase throughput
Profitability
Minimize energy consumption
Reduce changeover times, e.g. for changes of operation mode, raw material or
target products (grade changes)
Increase yield
Reduce processing time
Quality Increase repeatability; make process operation more steady and smooth
Minimize variance of quality parameters
Reduce effort for chemical analyses
Reduce production of giveaway or inferior qualities
Operability and Increase tolerance against fluctuations in raw material
Availability
Reduce sensitivity to disturbances
Increase plant uptime
Avoid plant shutdowns and reduce shutdown times
Increase plant availability, flexibility and robustness
Operator Control Cope with change of operators/shifts
Reduce operator workload
Increase operating comfort
Safety Increase occupational health and safety
Increase process and operational safety
Ecology Minimize environmental impact, pollution and wastage
Minimize emissions
Save effluents and sewage
If in doubt, a MIMO process model can be identi- In both cases, the compensation functions be-
fied by the MPC Configurator. In the matrix of come part of the controlled process from the
transfer functions, the step response of the in- perspective of the controller. The aim is always
teractions can be observed and compared to the to make the overall response of the controlled
main transfer functions on the matrix diagonal. system (consisting of process and compensation
elements) as linear as possible.
Tips for the decision to apply smith-predictor or
lead-lag feedforward and the discrimination with 2.2.1.2.2 Operating-Point-Specific Parame-
respect to a SISO MPC can be found in the re- ter Sets
spective sections 1.3.3 and 1.3.4.
For SISO case: PID gain scheduling according to
section 1.3.2.
2.2.1.2 Linear or Nonlinear Control?
For MIMO case: MPC multi-model control, cf.
Most process plants are nonlinear by nature
example project in PCS 7 Advanced Process Li-
(physics, chemistry), i.e. the impact of a certain
brary. This approach is related to the basic idea
MV move is different depending on the actual
of operating-point-based parameter control with
operating point of the process. Typical causes
PID controllers. Since the model parameters of
are nonlinear valve characteristics; nonlinear
the ModPreCon block cannot be modified at
reaction kinetics; phase transitions
runtime, the schedule for selecting the suitable
(solid/fluid/gaseous); titration characteristics etc.
parameter sets becomes a schedule for selecting
To decide on a linear or nonlinear control con-
the suitable models.
cept, the following questions are relevant:
• Is an existing linear control concept (e.g. Several ModPreCon instances with different
conventional PID control) working well at a models for different operating points run at the
certain operating point, but oscillating or same time in parallel. The local optimal models
very sluggish at different operating points are determined by exciting the process at the
(e.g. after load change)? various operating points with small amplitudes,
• Does the operation of a process plant re- so that only the reaction of the nonlinear proc-
quire frequent changeovers of operating ess in the ambience of this operating point is
point, e.g. in the context of batch recipes; in registered.
the context of grade changes (multi-product
The final manipulated value for each manipu-
plant); in the context of a flexible produc-
lated variable is formed as a weighted mean
tion (load changes)? Counter-example: a lin-
ear controller can cope even with a strongly value of the manipulated variables proposed by
nonlinear process if a continuous plant is the different controller instances. The weighting
running always at the same constant operat- factors 0 ... 1 are formed in the same way as the
ing point. membership functions known from fuzzy logic
so that the sum of all weights is always one and
each controller has the highest weighting at its multivariable control problem increases
own operating point. quadratically with the number of MVs and
CVs (‘Divide and conquer!’).
2.2.1.2.3 Trajectory Control • The quality of measurements is also relevant
This approach proposed by [11.] neatly com- for the selection of CVs: are the measure-
bines the advantages of an open loop controller ments reproducible, available in real time
(feedforward control) with those of a closed and low in noise?
loop controller (using process value feedback). • Which MVs are selected because they have a
The controller follows a previously optimized significant and direct impact on the desig-
trajectory of setpoints and manipulated vari- nated CVs? Normally, it is recommended to
ables; in other words, it only needs to compen- search for as many MVs as there CVs to cope
sate small deviations between the stored trajec- with, resulting in a ‘quadratic system’. The
tory and the current plant state. A trajectory is controller can then bring all CVs exactly to
an optimum series of manipulated variables over their target values as far as allowed by con-
time and the process values that match them. straints. Otherwise you have constituted a…
The required manipulated variables are read into • non-quadratic control problem (number of
the ModPreCon block via the inputs MV1Traj to MVs is not equal to number of CVs). If there
MV4Traj and added to the values of the manipu- are less MVs than CVs, or some of the MVs
lated variable calculated by the algorithm (in have reached their limits, there is a lack of
automatic mode only). Among other things, the degrees of freedom, and it is no longer pos-
advantage of this is that the effective manipu- sible to reach all setpoints exactly. The MPC
lated variable acting on the process (the sum of algorithm then finds a compromise that can
trajectory and controller action) is limited as be influenced by the selection of CV weights
configured in the controller block. The process (priorities) in the MPC Configurator and CV
values from the trajectory are linked to the cor- zones in the MPC function block: CVs with
higher priority will have lower control devia-
responding setpoint inputs SP1 to SP4 of the
tions with respect to their setpoints or
controller. As long as the process reacts exactly
zones. If there are more MVs than CVs or if
as planned in the trajectory, it will respond to
some of the CVs are already within their
the series of MV values from the trajectory with control zones, there is surplus freedom in
the corresponding series of CV values and the the control problem. A lean predictive con-
control deviation is zero. It is generally known troller algorithm (cf. respective section
that a non-linear dynamic process can linearized 1.4.2) however, cannot recognize this situa-
around a fixed operating point or a steady state tion explicitly and use the free manipulated
of the system but it is also possible to linearize it variables for optimization. The MPC block
around a trajectory. therefore moves all manipulated variables to
values that meet the targets in terms of con-
2.2.2 Design of Control System trolled variables and then leaves them there.
Structure, Selection of MVs, In the context of unipolar actuators (e.g.
CVs and Constraints heating and cooling) it makes sense to com-
bine two unipolar actuators into one bipolar
For SISO controllers, a one-to-one assignment of actuator using a split-range function block.
MVs and CVs must be specified: for each control-
ler it must be decided which MV is used to ma- 2.2.2.1 Hard- and Soft Constraints
nipulate a certain CV. If several MVs are in ques-
tion, select the MV that has the strongest impact MV limitations are ‘hard constraints’ that always
on the CV (in the sense of gain) and the most have to be accepted by the controller. On the
direct impact (in the sense of small time lag) other hand, CV constraints (control zones) are
‘soft constraints’: violations of such constraints
For an MPC concept, such an assignment is not are regarded as control deviations and avoided
necessary because the MPC makes use of all MVs as much as possible. However, there can actually
to manipulate all CVs. For selection of MVs and be a temporary violation of a CV constraint,
CVs in a multivariable control system, the follow- similar to an overshoot with respect to an exact
ing issues are to be considered: setpoint.
• Which CVs are interesting in the sense of the
arguments of section 2.2.1.1? Which CVs are In multivariable controllers, it is advisable to
relevant for plant safety, product qualityand make use of the fact that from the perspective of
economics? Which requirements for control the application, only some of the controlled
precision are imposed by chemical engineer- variables need to move to a specified setpoint
ing? Avoid inflating the problem more than exactly while others only need to remain within
necessary because the complexity of the a defined range. A typical example would be
quality characteristics for which a tolerance band During the recording of learning data, significant
is specified. In principle, the effect of the control disturbance events must be avoided such as load
zones of an MPC is the same as the effect of a changes; grade changes of raw materials; set-
dead band in a PID controller but extends over point steps of neighbouring control loops; main-
the entire future prediction horizon. In other tenance activities in the plant; significant modi-
words, if, for example, the predicted controlled fications in upstream plant sections or in the
variable CV1 in the entire prediction horizon is mains power or steam supply, etc.
within the band SP1 ± SP1DeadBand, the con-
There are different possibilities for the choice of
troller sees no reason whatsoever to change any
the excitation signal. For PID tuning a single step
manipulated variable. While a dead band in a PID
response is normally sufficient. For the identifi-
controller tends to put stability of the control
cation of MIMO processes, all MVs must be ex-
loop at risk, CV zones in individual control chan-
cited, ideally one after the other. Signals sym-
nels of an MPC generally relieve the multivari-
metrical to the operating point are preferred, i.e.
able controller overall. Using CV zones, the ac-
small steps upwards and downwards from the
tion of a soft override control can be achieved. If
operating point. The amplitude of the excitation
one CV must be limited only in one direction,
must be carefully specified and discussed with
e.g. prevented from violating an upper limit, the
facility and plant operators:
exact setpoint is not relevant. Setpoint and zone
• The amplitude should be large enough to
width are then specified such that the lower
make sure that the process response is
limit is never reached during operation. clearly visible relative to measurement noise
(signal-to-noise ratio).
2.3 Configuration of APC-
• It must not be too large to avoid process
Functions nonlinearities having a strong impact.
After selection of an appropriate control algo- • It should be not bigger than necessary to
rithm and design of the control system structure, avoid distraction of running production.
the next step is the configuration, i.e. the pa-
• In the MIMO case, the process should be
rameterization and commissioning of the control excited uniformly with respect to all CV
function. For PID controllers and MPC functions channels, i.e. MVs with weak impact must
there are dedicated software tools like e.g. PID- be excited with bigger amplitudes.
Tuner and MPC-Configurator.
Note: the routine inspections related to control-
The principal procedure however is the same for ler commissioning (cf. section 2.3.4) have to be
all controller types that rely on a model of proc- performed before recording of learning data in
ess dynamics for controller design. Such a the context of computer aided control system
model must be identified from learning data design.
because it is not usually known beforehand.
2.3.2 Modelling
2.3.1 Process Excitation and Re-
cording of Learning Data The identification of the dynamic process model
from learning data is performed in most of the
In order to identify the process dynamics from respective software tools automatically without
learning data, the process must be stimulated to prompting the user for dedicated specifications
move i.e. actively excited via the MVs. If at least of a model structure. Simple functions for data-
a stable and not too oscillatory (although sub- pre-processing are sometimes offered e.g. selec-
optimal) controller already exists, the excitation tion of a relevant time slice from a longer ar-
can be achieved by setpoint steps in automatic chive data set, or low-pass filtering for reduction
mode; otherwise MV moves in manual mode are of measurement noise.
necessary.
Verification of the model is generally very impor-
It is important to perform the experiment at tant, i.e. comparison of a simulation of the iden-
exactly the same operating point and under tified model to real measured data, in order to
exactly the same conditions that are designated check if the model response sufficiently fits the
for operation of the controller in order to really response of the real process. Ideally, different
observe the process behaviour relevant for con- excitation signals are used for verification and
trol. Before starting the experiment, a steady learning data. Moreover, it is recommended to
state of the process is required, because tran- check the plausibility of the model at a descrip-
sients that have not yet faded away and have tive level, e.g. using model parameters or model
been caused by phenomena outside the learning step responses: are gains and time constants in
data will spoil the estimation results.
the order of magnitude expected from physical • if the sign of the controller gain (of PID
conceivabilities or other a priori knowledge? controller) fits to the sign of the process
gain
2.3.3 Controller Tuning
• if additional calculations for pre- or post-
Similar to model identification, controller design processing of controller signals (e.g. unit
is performed automatically by the related soft- transformations, measurement corrections,
ware tools. The specifications for controller de- linearization functions according to section
sign naturally differ for different controller 2.2.1.2.1 ) are working properly.
types.
Frequently (hopefully), these checks have been
performed before recording learning data (c.f.
2.3.3.1 PID-Tuner section 2.3.1).
In PID-Tuner, the user can specify the controller Typically, during commissioning the process is
structure: P-, PI- or PID-controller. PI control is driven to the operating point in manual mode of
applied in most cases. P controllers are suitable the controller and at the operating point, a
especially for integrating processes like e.g. level bumpless switchover from manual to automatic
control. The differential action of a PID controller mode is performed. If the controller does not
allows faster control response and better com- respond as expected, it is immediately switched
pensation of disturbances if stronger movements back to manual mode. In very critical processes,
of the actuators are accepted (wear, energy MV limitations are limited to a very small zone
consumption). around the current MV value before the control-
PID controllers principally allow modifying the ler is switched to automatic mode for the first
proposed parameters manually (fine-tuning) and time.
many tuning tools allow study of the response of Only MPC allows running the controller ‘pas-
the closed control loop in a simulation before sively’ in automatic mode without connecting its
new parameter sets are downloaded into the MVs to the process. This way, the MV proposals
target system. of the MPC can be checked for plausibility and
eventually typed in manually: ‘advisory control’,
2.3.3.2 MPC-Configurator ‘human in the loop’.
The response of a predictive controller is mainly In contrast to that, a PID controller is not allowed
determined by the process model used inside the to run in automatic mode without connection of
controller. Internal parameters like prediction its MV to the process because this would cause
horizon and control horizon can be specified integrator windup.
automatically based on the process model.
If the control loop is running stably in automatic
The user only has to specify CV priorities and MV mode, the concrete requirements with respect to
move penalties in the performance index as control performance are checked in detail. A first
described in section 1.4.3. Manual tuning of impression of control performance gain can be
other controller parameters is not possible for obtained by a small setpoint step. In the MIMO
MPC, just the simulation of the closed control case too, setpoint steps are initially tested at
loop. single CVs, and the (undesired) ‘crosstalk’ to
neighbouring control channels is observed as
2.3.4 Commissioning
well. If possible, certain operating procedures or
If the closed loop response has been already disturbance scenarios relevant for control opera-
checked in simulations, the risks for controller tion are played through and tested e.g. load
commissioning are reduced. Before really closing changes; grade changes of raw materials; limita-
the loop, you should generally check… tions in heating or cooling system etc. Other-
• if the measured CVs arrive correctly at the wise, the disturbance response can be tested by
controller in the physical unit of the setpoint an artificial MV step. Most controller function
specification blocks offer an input variable for offsets to the
• if the MVs have an impact on the process at MV.
all, i.e. if the CVs respond to small MV steps A control performance monitoring system ac-
in manual mode cording to section 1.2.1 can be initialized after
• if the specification of MV limits fits to the successful controller commissioning.
process actuator
2.4 The Most Important Process plants are subject to permanent modifi-
cations, like a living organism. Modifications
Rules at a Glance result both from undesired aging processes like
catalyser deactivation or heat exchanger fouling
• First check instrumentation and then tune and from conscious measures of maintenance,
controllers. modification or expansion of the plant in the
• For cascade structures, first tune the slave operational phase. This implies that the static
controller and then the master controller. and dynamic behaviour of a process plant is
subject to changes - slower or faster, smaller or
• First optimize the basic control loops and bigger. You must be aware of the fact that the
then design APC functions. process models used for APC in the course of
• If several MVs come into consideration, time will diverge more and more from reality,
select the MV with the strongest impact (in implying negative effects on control perform-
the sense of gain) and the most direct im- ance. Maintenance of an APC solution requires
pact (in the sense of small time lag). permanent observation and evaluation and in
this context the tools for control performance
• The general aim is to design the overall monitoring described in section 1.2.1 are help-
response of controlled plant and compensa- ful. Suggested actions are scheduling of an ap-
tion blocks as linearly as possible. propriate date for re-identification of some or all
process models; eventual re-configuration of the
APC solution (include new MVs or CVs, or elimi-
2.5 Documentation, Train- nate MVs or CVs that are no longer necessary or
available); re-commissioning and last but not
ing and Maintenance least, the initialization of follow-up projects.
It is good practice in the sense of benefit control
to compare the performance of an APC solution
to the performance of the automation system
3 Case Study Distilla-
existing beforehand (conventional control or
manual operation) and to document the differ-
tion Column
ence. Distillation is one of the most important separa-
tion processes in the chemical-pharmaceutical
In order to ensure the long term benefit of ad-
industry. It is a thermal separation process to
vanced control, documentation, training and
separate a mixture of several fluids dissolvable in
maintenance play an important role. A func-
each other, making use of the different relative
tional documentation of the APC solution should
evaporation and boiling points. Typical applica-
allow usage and maintenance of the solution,
tion areas of distillation are alcohols or crude oil.
even for people who have not participated in the
There are two main classes: (1.) batch distilla-
design of the solution. Especially in the context
tion, and (2.) continuous distillation (e.g. rectifi-
of a first-time application of APC in a facility,
cation, extractive or reactive distillation.). In
confidence-building measures are very impor-
rectification (counter flow distillation), a mixture
tant to motivate plant operators, process and
of several components is separated in at least
automation engineers and facility managers.
two fluid streams. At the column head, the head
Essentially, the attitude ‘rather a bad solution
product (low-boiling component) is extracted,
than a solution that I don’t understand’ must be
and at the column bottom, the bottom product
overcome. The functionality of most APC solu-
(high-boiling component).
tions can be described in an illustrative way like
in chapter 1 of this document, and as can be Due to the strong thermodynamic interactions
seen from section 1.4.1, even for MPC, a basic inside the distillation tower, conventional PID
understanding of the approach can be achieved control technology can only control the product
without diving deeply into the mathematical quality (concentration, or substituted by tem-
theories. Formal and on-the-job training have to perature) either at the head or at the bottom of
be considered separately. In spite of the required the column. Therefore, up to now there are 5
effort, it is recommended to offer different train- different alternative structures for distillation
ing for different target audiences with different column control via one single temperature [12.].
focus and different coverage.
Thanks to the routine application of a MIMO
To this end, it is helpful to provide a simulation controller with two MVs and two CVs, now for
environment not only in the design and training the first time all columns that have been driven
phase of an APC project but also in the operating with one of the five conventional control struc-
phase. tures up to now, can be equipped with the same
standard automation structure: [10.]. This stan- application can be specified using the CV priori-
dard structure comprises a complete quality ties in the performance index of the MPC.
control: control of head- and (!) bottom tem-
perature via reflux and heating vapour flow. The
relative importance of the CVs for an individual
Figure 16: P&I diagram for a rectification column with quality control via MPC. (Source: OS picture of the PCS 7 solution tem-
plate described in [10.] . The measured values are greyed, because here they are in status simulation.)
3.1 Template-based Imple- controllers), the usual guidelines for the engi-
neering of cascade control structures have to be
mentation considered as shown in the CFC template cas-
cade control:
The CFC template (process tag type) for the pre- • The actuation range of the primary control-
dictive controller is the starting point for the ler (in the respective MV channel) must
implementation of the multivariable controller. match the setpoint range of the secondary
This signal flow chart is modified at the output controller to ensure proper operation of the
side: the output variables of the predictive con- anti-windup functions of the primary con-
troller are not directly connected to the plant but troller.
are connected as external setpoints to the exist-
• If the secondary controller is not operated in
ing PID flow controllers for reflux and heating
cascade mode (automatic mode with exter-
steam. nal setpoint) but in any other mode (for ex-
Because this is actually a cascade structure (with ample manual or automatic mode with local
one MIMO master controller and two PID slave setpoint) and therefore does not respond to
commands of the primary controller, the ventions and operator workload are reduced
corresponding channel of the primary con- accordingly.
troller must be put into tracking mode. The
• Feed flow as the main measurable distur-
manipulated value of the primary controller
bance variable is used to improve prediction
tracks the process value (or setpoint) of the
accuracy, in order to compensate for feed
corresponding secondary controller to allow
a bumpless return to cascade mode. The dif- flow fluctuations in a predictive way by ad-
ference between tracking the setpoint and justing reflux and heating steam without
tracking the process value becomes appar- tolerating significant product quality devia-
ent when the secondary controller is put tions from setpoint. Control performance in
into manual mode. If the process value is this respect can be improved significantly
tracked, the response is similar to the ‘Track compared to conventional PID control.
setpoint to process value in manual mode’ • The main economic benefit however can be
of a simple controller. achieved according to Figure 15 by a dedi-
• Commissioning of cascade control structures cated move of the quality control setpoints.
The constraints for allowed head and bot-
is performed from inner loop to outer loop,
tom temperatures result from specifications
i.e. first all slave controllers are optimized
of product quality, considering actual vari-
with the PID tuner and afterwards the mas-
ances of controlled variables. For optimal
ter controller is tuned by the MPC configura-
operation of the column with minimal en-
tor.
ergy consumption (i.e. steam consumption),
Due to the nonlinear thermodynamic effects in the head temperature setpoint is selected as
the distillation column, quality control with a high as possible and the bottom setpoint as
linear MPC is only feasible in a limited range low as possible, i.e. the temperature span
around a defined operating point. Therefore it is inside the column is minimized. In other
important to do experiments for recording learn- words, do not produce the best quality
ing data at this operating point and to restrict achievable, but exactly this acceptable qual-
ity that can be produced with minimal costs.
the MV range of the MPC for automatic mode to
In other plant constellations there can be
the validity range of this linear model. The MV
other optimization targets. For example,
limits for manual mode however should span the
maximize throughput by increasing feed
whole SP range of the slave controllers in order flow step by step under quality control until
to allow start up and shutdown of the process in heating steam flow is settling close to the
manual mode of quality control. upper limit.
When using the standard CFC templates of the
PCS7 APC library, control performance monitor-
ing according to section 1.2.1 for all PID loops
and the MPC is automatically included in the
project.
4 Literature
[1.] Siemens AG, Automation and Drives: Online-
Hilfe zur PCS7 APC-Library V7.0 SP 1, Nov. 2007.
[2.] Siemens AG, Sektor Industry: Online-Hilfe
zur PCS7 Advanced Process Library V7.1, Nov.
2008.
[3.] Siemens AG, Sektor Industry: PCS7 AddOn-
Katalog. (available at
www.automation.siemens.com )
[4.] Dittmar, R., Pfeiffer, B-M.: Modellbasierte
prädiktive Regelung - Eine Einführung für Inge-
nieure. Oldenbourg Verlag, München, 2004.
[5.] Dittmar, R., Pfeiffer, B-M.: Modellbasierte
prädiktive Regelung in der industriellen Praxis.
at 12/2006, S. 590-601.
[6.] Pfeiffer, B-M.: Control Performance Monito-
ring mit einer Kombination aus stochastischen
und deterministischen Merkmalen. GMA-
Kongress 2005, Baden-Baden. VDI-Berichte
1883, VDI-Verlag, Düsseldorf, S. 411-420.
[7.] Föllinger, O.: Regelungstechnik. 6. Auflage,
Figure 17: Distillation columns
Hüthig-Verlag, Heidelberg 1990.
The overall benefit of an APC solution for a distil- [8.] Preuß, H.-P., Linzenkirchner, E., Kirchberg,
lation column (like that described e.g. in [13.]) K.-H.: SIEPID – ein Inbetriebsetzungsgerät zur
typically adds up to more than €100,000 per automatischen Regleroptimierung. Automatisie-
year. rungstechnische Praxis atp 29(1987), Heft 9, S.
427-436.
Typical empirical values for the benefit of APC
solutions are: [9.] Pfeiffer, B-M.: Standardisierung gehobener
Regelungsfunktionen als Messstellen-Typen.
• Throughput increased by 1…5%
GMA-Kongress 2007, Baden-Baden. VDI-Berichte
• Yield increased by 2..10% 1980, VDI-Verlag, Düsseldorf, S. 83-94.
• Energy consumption reduced by 3…10% [10.] Pfeiffer, B-M., Lorenz, O.: Unit-orientierte
Musterlösungen für Advanced Control (Unit-
• Standard deviation of process variables
oriented solution templates for advanced
reduced to 25…50% of the value before.
control) - Beispiel Destillationskolonne (Example
distillation column). Automation 2008, Baden-
Baden. VDI-Berichte 2032, S. 11-14, VDI-Verlag,
3.3 Summary Düsseldorf.
APC methods are a tool of vital importance to [11.] Pfeiffer, B-M.: PID-Regelung von Batch-
improve plant performance with respect to pro- Prozessen entlang vorab optimierter Trajektorien
ductivity and economics, product quality, oper- – Studien am Chylla-Haase Reaktor-Benchmark.
ability and availability, agility, safety and envi- atp 4/2003, S. 76-86.
ronmental issues. [12.] Kister, H.Z.: Distillation Operation. Mcgraw-
APC solutions can be realized much more cost Hill Professional, 2007.
effectively due to a DCS embedded implementa- [13.] Schüler, M.: Implementing MPC at Ineos
tion with standard function blocks and pre- Phenol’s Gladbeck site. Hydrocarbon Engineer-
defined CFC templates as offered by Siemens in ing, Vol. 11, No. 10, Oct. 2006.
the APC library. [14.] VanDoren, V.: Advances in control loop
optimization. Software takes users from simple
tuning to plant-wide optimization. Control Engi-
neering May 2008.
www.siemens.com Siemens AG