Professional Documents
Culture Documents
a r t i c l e
i n f o
Article history:
Received 16 January 2013
Received in revised form 26 May 2013
Accepted 10 September 2013
Available online 25 December 2013
Keywords:
Model based control
Nonlinear control
Optimizing control
Polymerization control
Semi-batch processes
a b s t r a c t
In this work, the realization of an online optimizing control scheme for an industrial semi-batch polymerization reactor is discussed in detail. The goal of the work is the automatic minimization of the duration
of the batch without violating the tight constraints for the product specication which translate into
stringent temperature control requirements for a highly exothermic reaction. Crucial factors for a successful industrial implementation of the control scheme are the development and the validation of a
process model that is suitable for process optimization purposes and the estimation of unmeasured process states and the online compensation of model uncertainties. Two implementations are proposed, a
direct online optimizing control scheme and a simplied scheme that combines a model-predictive temperature controller and a monomer feed controller that steers the cooling power to a predened value
in a cascaded fashion. We show by simulation results with a validated process model that both schemes
achieve the goals of tight temperature control and reduction of the batch time. The performance of the
NMPC controller is superior, on the other hand the cascaded scheme could be directly implemented into
the DCS of the plant and is in daily operation while the online optimizing scheme requires an additional
computer and is currently in the test phase.
2013 Elsevier Ltd. All rights reserved.
1. Introduction
Linear MPC (Model Predictive Control) was rst proposed and
implemented in the 1970s by Cutler and Richalet. Since then, it
has emerged as the standard solution for multivariate high performance control problems in the chemical industry, especially in the
petro-chemical sector. This technique was successfully applied in
real production units long before it was well understood from the
theoretical point of view. By now linear MPC is quite mature and
it is routinely applied in industry [1]. However, as in the chemical
industry most of the process dynamics are inherently nonlinear,
linear models are often only capable to describe the behavior of
the processes accurately near a xed operating point. Especially
in time-varying processes as batch and semi-batch processes with
tight operating windows, linear MPC may fail to deal provide sufcient control performance. In such cases, the use of nonlinear
models may improve the operation of the process, because the
safety margins due to model inaccuracies can be reduced. Therefore, the use of NMPC (Nonlinear Model Predictive Control) has
been motivated by the growing demands on process economics
Corresponding author at: Evonik Industries AG, Germany. Tel.: +49 6181592087.
E-mail addresses: tiago.nkler@evonik.com, tiago.nkler@bci.tu-dortmund.de
(T.F. Finkler).
0959-1524/$ see front matter 2013 Elsevier Ltd. All rights reserved.
http://dx.doi.org/10.1016/j.jprocont.2013.09.028
400
Note that, for condentiality reasons, all the values are scaled.
401
decomposition approach is applied, in which numerical optimization based on a rigorous model of the process is performed off-line
to calculate optimal trajectories. Some authors, e.g. [13,14], suggest
the use of feedback controllers to track these trajectories online. In
[15], the overall heat of reaction, the conversion and also the concentrations of the monomers in the particle phase are determined
by calorimetry with help from a process model. Master curves
are calculated off-line for the total-conversion-dependent amounts
of monomer and chain-transfer agent (CTA) that will produce a
desired molecular weight distribution. The principle of computing
the optimal feed trajectories ofine can be used to minimize the
batch duration as well. However, as industrial chemical processes
are subjected to a considerable number of uncertainties, an ofine
optimization of the recipe has to take large safety margins into
account in order to guarantee a robust operation. Therefore, several
other contributions focused on adaptive optimizing schemes that
react online against disturbances so that the process can be operated closer to the limits of its operations. For instance, in [16,17],
strategies for the time-optimal operation of emulsion polymerizations that combine model-based state estimation and PI control
have been proposed. In [18], a temperature control scheme for
semi-batch polymerization reactors has been proposed that uses
atness-based feedforward and PID controllers. This scheme was
also tested successfully at an industrial reactor. The monomer feed
rate is taken into account in the feedforward controller but it is not
optimized nor adapted. Constraints are only taken into account by
the choice of design parameters. A feed-rate maximizing control
scheme for semi-batch processes which only uses PI controllers
was introduced in [9,10] and was shown to be remarkably robust
with only small losses of performance compared to a full modelbased online optimization. This scheme has also employed in this
industrial case study.
Few of the mentioned approaches were tested experimentally,
and even fewer have been successfully implemented in industry.
3. Process modeling
In this work, two different process models are employed, a full
model and a reduced model. The complete model was developed in
order to represent the real plant in simulation studies. It is based on
a detailed description of the polymerization kinetics and it is used
402
dMCATB
dt
dMP
1,0
dt
= FCATB ri
(10)
= ri rp1,0 rr,0 +
dMP
2,0
= rr,0 rp2,0 +
i = 1, 2, . . .,
dMP
1,i
dt
dMP
2,i
dt
dMPd,i
dt
kp1
kp2
P2,i
+ M P2,i+1
,
(12)
(13)
i = 1, 2, . . ., N
(14)
N
N
rfm1,i +
KA(TJ TR ) +
dTR
=
dt
i = 1, 2, . . ., N
rfm2,i ,
F Cpi (Ti
i=S,M i
TR ) +
N
dTJin
(4)
(2)
i = 1, 2, . . .,
i=1
CpR MR
(3)
(15)
i=1
(1)
i = 1, 2, . . .,
(17)
(18)
2,0
kfm
P1,i
+ M Pi + P1,0
,
kfm
P2,i
+ M Pi + P2,0
,
i = 1, 2, . . .,
(5)
i = 1, 2, . . .,
(6)
dMM
= FM ri
(rp1,i + rp2,i + rfm1,i + rfm2,i )
dt
N
(7)
i=1
dMs
= Fs
dt
dt
rfm2,i
i = 1, 2, . . ., N
1,i
dMCATA
N
i=1
dt
P1,i
+ M P1,i+1
,
(11)
i=1
kr
rfm1,i
i=1
dt
P1,i
,
P2,i
N
= FCATA ri
(8)
(9)
2
Theoretically this leads to an innitely large number of balance equations. However, for practical purposes, as the average degree of polymerization of this product
is small, the amount polymer molecules with more than one thousand monomer
units can be neglected.
2,i
(19)
dMs
= Fs
dt
(20)
dMCATA
dt
dMCATB
dt
= FCATA ri
(21)
= FCATB ri
(22)
dMP
= rp
dt
(23)
dMC
= ri
dt
(24)
KA (TJ TR ) +
dTR
=
dt
F Cpi (Ti
i=S,M i
TR ) + rp HR
CpR MR
dt
d(0 V )
= kfm CM 0
dt
(31)
d(1 V )
= kfm CM 1
dt
(32)
d(2 V )
= kfm CM 2
dt
(33)
(34)
KA = KA KA
(35)
Fcool
= (KV )Fcool
(36)
where rp , KA and KV are correction factors that are updated
online so that the uncertainties in the model computations for the
reaction rate rp , for the heat transfer coefcient KA and for the ow
rate of cooling brine Fcool are compensated.
(25)
dTJin
403
()(T
Fcool
cool TJout ) + FJ (TJout TJin )
Mmix
(26)
(27)
d(0 V )
= k0 CCATA CCATB CM
dt
(28)
d(1 V )
= k0 CCATA CCATB CM + kp CM 0 + kfm CM (0 1 )
dt
(29)
d(2 V )
= k0 CCATA CCATB CM + kp CM (21 0 ) + kfm CM (0 2 )
dt
(30)
3
It is well known that the number-based average molecular weight (Mn) and
the mass-based average molecular weight (Mw) can be directly computed from the
relevant moments of the molecular weight distribution. The ODEs for computing
the variation of these moments along the batch can be easily obtained by combining the denition of each moment with the kinetic expressions that describe the
polymerization mechanism. For brevity this derivation is not reproduced here.
(37)
404
dTJout
FJ CpJ (TJin TJout ) = (MM + MS + MP )(TR TJ )C1
dt
(38)
Note that the term (MM + MS + MP ) that multiplies C1 corresponds to the overall mass of content inside the reactor, which is continuously measured during the
operation. The polymer mass MP that multiplies the C2 is not measured online. But
value from MP during the batch can be well approximated by a straight line that goes
from zero to the total mass of polymer at the end of the batch, which is measured.
As it can be seen from the results that will be presented later in Fig. 10, the error
associated to this approximation is very small.
5
As the viscosity of both products is different, the parameters C1 and C2 were
estimated separately for each of the products. For sake of brevity, only the estimation
results for Product B are shown here.
6
The computation of KA is expected to be quite inaccurate at the beginning of
the batch, when the reactant mixture is being prepared and heated up from room
to reaction temperature. During this initial period, the reaction activity is low and
the difference between jacket temperature and reactor temperature is very small,
what makes the inversion of (17) error-prone.
known. Therefore, the characteristic curve of this valve was determined experimentally with help of an external ow meter. In Fig. 6,
the experimental measurements of the ow rate are plotted against
the valve position and this curve is approximated by a forth order
polynomial, which is taken as the nominal characteristic curve of
the cooling valve.
The nominal characteristic curve is used in both, the complete
and the reduced model. When the complete model is used to simulate the real process, the coefcients of the polynomial can be
changed in order to represent the effect of disturbances that affect
the cooling supply, e.g. pressure oscillations at the inlet of the valve.
When the reduced model is used for the online optimization of the
process operation, the correction factor KV is updated to compensate such disturbances. Such compensation is important, especially
because the reactor investigated in this work shares the cooling
supply with other production units. Therefore relatively large variations of the correction factor may occur in order to provide an
accurate calculation of the available cooling power, depending on
what is going on in the other plants. Based on operation experience,
KV is expected to vary within the range [0.251.0].
4.3. Kinetic relations
The rates of the different reactions involved in the polymerization mechanism are given by Eqs. (39)(44):
ri = ki CCATA CCATB CM V
(39)
rr,i = ki CP V,
(40)
i = 1, 2, . . ., N
1,i
Ea
1
RTR
Ea
CP
1,i1
CM V,
i = 1, 2, . . ., N
(41)
405
computed based on the results of a calorimetric analysis of the historical process data, which are presented in Fig. 7. This data was
generated from the explicit formula for computing the reaction rate
from the process measurements along a batch that is obtained from
inverting the energy balance (16) of the reactor. The trajectories
of the reaction rate along more than 200 batches are presented in
Fig. 7. The accuracy of the calorimetric computations is also checked
in the histogram where the monomer conversion computed from
the calorimetric analysis is compared to the laboratory analysis that
is performed at the end of each batch. As it can be seen from this
histogram, the cumulative error along one trajectory is in the order
of 5%.
The tting of the propagation constants was divided into two
steps. In the rst step kp2 and Ea2 were estimated using data from
the end of the batches, where the reactor temperature is practically constant and only reactant species of type II are expected to
be present. Note that in this region all the trajectories for the reaction rate are almost identical. Moreover, as data of two different
products which are produced at different temperatures is available,
kp2 and Ea2 can be independently and precisely estimated in this
rst tting step. The second step of the tting procedure was based
on average trajectories for the reaction rate. The parameters kr , kp1 ,
and Ea1 were adjusted so that the kinetic model ts the average trajectories of both products as well as possible. Here it is important
to remark that the estimation of these constants is highly dependent on the data at the startup of the reaction, where the reactant
species of type I are the dominant ones. In this region, the trajectories for the reaction rate are spread over a relatively large region.
Therefore it is must be taken into account that the estimations of
kr , kp1 , and Ea1 are signicantly less accurate than the estimates of
kp2 and Ea2 .
The reaction constants that lead to the trajectories shown in
Fig. 7 are taken as the nominal reaction constants. When the complete model is used to represent the real process, these nominal
values can be modied to test the robustness of the controller with
respect to modeling inaccuracies. The lumped reaction rate of the
reduced model rp , which is given by Eq. (45), depends only on kp2 ,
Ea2 , TR , CM and the overall concentration of active species inside the
reactor CC . When the reduced model is used in the online optimization, the reaction rate computed from Eq. (45) is multiplied by the
correction factor rp that compensates the model errors. Note that,
in the absence of a correction, i.e. for rp equal to one, the reduced
model behaves as if only active species of type II were present. This
is a convenient choice because, as explained before, this reaction
kinetics can be modeled very well. The correction factor rp is then
used to compensate any uncertainties that cause deviations from
this behavior, e.g. the presence of active species of type I. As it can
be seen from the results in Fig. 7, when the rate of polymerization
computed by the reduced model is corrected one may expect rp
to vary up to a value of 5.0.
rp = kp2 exp
Ea
2
RTR
CC CM V
(45)
rfm1,i = kfm CP CM V,
i = 1, 2, . . ., N
(43)
rfm2,i = kfm CP CM V,
i = 1, 2, . . ., N
(44)
RTR
1,i
2,i
CP
2,i1
CM V,
i = 1, 2, . . ., N
(42)
where ki , kr , kp1 , kp2 and kfm are unknown reaction constants that
have to be estimated and CP and CP are the concentrations of
1,i
2,i
The full model was intensively checked with respect to its ability to predict the dynamic behavior of the process. By comparing
simulations of batch runs using the cascaded temperature control
structure with the same controller tuning parameters as in the real
plant with historical data of more than 200 batches, it was veried
that the model represents the dynamics of the real plant faithfully.
406
Fig. 8. Comparison of the model predictions (continuous blue line) with real process measurements (dotted blue line) for typical batch runs. (For interpretation of the
references to color in this gure legend, the reader is referred to the web version of the article.)
KA =
Fcool
=
F Cpi (Ti
i=S,M i
HR
(dTJout /dt)CpJ MJ FJ CpJ (TJin TJout )
TR TJ
Mmix (dTJin /dt) FJ (TJout TJin )
Tcool TJout
TR )
(46)
(47)
(48)
/ TJ ,
Eqs. (46)(48) are always dened, except for TR =
Tcool =
/ TJout . Moreover, apart from KA*, all the variables on the right
hand side of (46)(48) are either known or measured. Therefore,
/ TJ ,
according to this observability map, KA* is observable if TR =
Fcool
is observable if Tcool =
/ TJout and rp is observable if KA* is known.
By analyzing the historical data of the process, one veries that,
apart from some short periods at the very beginning of the batch
when the difference between TR and TJ is small, these observability
conditions are always fullled. Therefore, it is possible to estimate
407
Fig. 9. Molecular weight distribution and its evolution for a typical batch run.
=0
(49)
dKA
=0
dt
(50)
dKV
=0
dt
(51)
dt
In this representation, the outcome of the EKF provides the computations for the correction factors directly. The estimations for rp ,
(52)
This means that the measurements are considered more reliable than the model.
The oscillations in the EKF predictions are not desired because they are transmitted to the plant when the loop of the NMPC controller is closed.
9
Note that the elements corresponding to the simulated states are set to zero.
8
(53)
408
Fig. 10. EKF estimates for a simulation of a typical batch run. (a) The dotted blue lines and the solid red lines denote the simulated trajectories and the EKF estimates for rp ,
KA and Fcool . The solid green lines show the respective correction factors, i.e. rp , KA and KV. (b) The dotted blue lines and the solid red lines denote the simulated values
and the EKF estimates for MM , MP and Mw . (For interpretation of the references to color in this gure legend, the reader is referred to the web version of the article.)
J=
NP
ref 2
wTi (TRi TR ) +
NP
i=1
max
wFM (FMi FM
)
i
i=1
(55)
(56)
max
0 < FMi < FM
(57)
Note that, in the absence of plant-model mismatch, the satisfaction of the hard constraint (55) sufces to keep the reaction
temperature within the specication bounds even in the absence
of the quadratic cost for the tracking of the reference temperature
in (54). In our implementation, the quadratic cost is kept because
it brings the reaction temperature the center of the specication
range, providing more margin for the controller to react to fast
disturbances.
When the optimal control problem is solved, the control movements over the control horizon as well as the evaluation of the
objective function and constraints over the prediction horizon are
discretized considering a discretization period of one minute, with
NC = 2 and NP = 5. These relatively short prediction horizons were
chosen based upon simulations, picking the shortest horizons that
gave a good performance in all situations. As the computation of
the solution of the open-loop optimal control problem takes only
around ve seconds, the NMPC computation and the EKF estimation
are run every ten seconds. This short sampling period is very helpful
because it provides the controller with more accurate information
about the state of the real process, what is important for updating
the correction factors in order to compensate model uncertainties.
The NMPC cost parameters were tuned by extensive tests within
the simulation environment that uses the complete model to represent the plant. After several simulation trials the weights wTRi , wFM
i
and wi were set to 400, 100 and 400, respectively.10 This tuning
provides a good compromise between the main control objectives,
i.e. temperature tracking and feed maximization, without excessive
oscillation of the position of the cooling valve. The nonlinear controller was checked with respect to robustness and performance
by simulating several scenarios with plant-model mismatch which
were realized by varying key parameters of the complete model as
NC
i=1
(54)
10
Note however that the weights depend directly on the units of the reactor
temperature and the monomer feed, which are here arbitrarily scaled due to condentiality.
409
Fig. 11. Simulation of the NMPC controller for Product A (nominal scenario). (a) The solid blue lines are the simulated process measurements. The dotted green line is the
setpoint for TR . The red dotted lines are the specication bounds (1 K). (b) The dotted blue lines and the solid red lines denote the simulated trajectories and the EKF
estimates for rp , KA and Fcool . The solid green lines show the respective correction factors, i.e. rp , KA and KV. (For interpretation of the references to color in this gure
legend, the reader is referred to the web version of the article.)
Fig. 12. Simulation of the NMPC controller for Product B (nominal scenario). (a) The solid blue lines are the simulated process measurements. The dotted green line is the
setpoint for TR . The red dotted lines are the specication bounds (1 K). (b) The dotted blue lines and the solid red lines denote the simulated trajectories and the EKF
estimates for rp , KA and Fcool . The solid green lines show the respective correction factors, i.e. rp , KA and KV. (For interpretation of the references to color in this gure
legend, the reader is referred to the web version of the article.)
kr , kp1 , Ea1 , kp2 , Ea2 , C1 , C2 and the characteristic curve of the cooling valve. The controller was demonstrated to be robust toward a
wide range of uncertainties in both the reaction rate and the heat
transfer coefcient, even under strong variations in the cooling supply. Moreover, the simulations have also shown that the NMPC can
shorten the duration of the batch signicantly and reduces the temperature peak at the early stages of the batch to less than 0.5 K. In
the following, the effectiveness of the controller is illustrated by
simulations.
6.1. Simulation of nominal operation scenarios
A simulation run for Product A where the nominal parameters of
the complete model are used to represent the behavior of the real
plant is shown in Fig. 11. The results show that the NMPC controller
is capable of driving the process very close to its operational limits. At the beginning of the reaction period, monomer is inserted
into the reactor with maximum ow rate and the reactor temperature rapidly stabilizes at the desired value. For approximately
two thirds of the feeding period, the cooling power is adjusted so
that the temperature remains around its setpoint, then the cooling
power constraint is reached and the monomer feed is automatically reduced by the NMPC controller. The EKF estimates are also
reported in Fig. 11. The plots show that the observer compensates
the model uncertainties and follows the trajectories of the reaction
rate and of the heat transfer coefcient almost exactly. rp , KA
and KV converge to their true values, i.e. 1.00. As expected, the correction factor for the reaction rate reaches the value of 1.00 only
in the later stages of the batch, when only active species of type
II are present. Before, the larger values of rp indicate the higher
reactivity due to the presence of the active species of type I.
In Fig. 12, simulation results of a batch run for Product B are
presented. Again, the nominal parameters of the complete model
are used for the representation of the real plant. In this case, the
cooling constraint does not become active and the monomer is
inserted into the reactor with maximal ow rate during practically
the whole feeding period. The results show that the temperature
overshoot at the beginning of the reaction period is considerably
reduced and the quality of the temperature control along the batch
is signicantly improved by the NMPC.
410
Fig. 13. Simulation of the NMPC for Product A (scenario with plant-model mismatch and cooling failure after half of the feeding period). (a) The solid blue lines are the
simulated process measurements. The dotted green line is the setpoint for TR . The red dotted lines are the specication bounds (1 K). (b) The dotted blue lines and the solid
red lines denote the simulated trajectories and the EKF estimates for rp , KA and Fcool . The solid green lines show the respective correction factors, i.e. rp , KA and KV. (For
interpretation of the references to color in this gure legend, the reader is referred to the web version of the article.)
Fig. 14. Simulation of the NMPC for Product B (scenario with plant-model mismatch and cooling failure after half of the feeding period). (a) The solid blue lines are the
simulated process measurements. The dotted green line is the setpoint for TR . The red dotted lines are the specication bounds (1 K). (b) The dotted blue lines and the solid
red lines denote the simulated trajectories and the EKF estimates for rp , KA and Fcool . The solid green lines show the respective correction factors, i.e. rp , KA and KV. (For
interpretation of the references to color in this gure legend, the reader is referred to the web version of the article.)
kept around the target value during the whole batch. In Fig. 14,
the same worst case scenario is simulated for a batch where the
Product B is produced. In this case, the NMPC starts driving the
system along the maximal feed bound. When the failure event takes
place, the cooling constraint is activated and the controller keeps on
driving the system along the maximal cooling bound by adjusting
the monomer dosage.
7. Alternative optimizing control structure
A disadvantage of the optimizing nonlinear model-predictive
controller is that it cannot be run on the DCS by which the plant is
controlled but requires an additional computer and software environment for its implementation. This is technically possible, but
not very much liked in industry. DCS are robust systems with error
checking mechanisms, redundancy etc., while additional hard- and
software imply an additional effort for installation and in particular
for long-term maintenance. The two systems have to be synchronized and additional visualizations have to be built. Moreover,
running a nonlinear optimization online inevitably raises concerns
about its stability and robustness. Therefore, and also to have a
411
model-predictive controller that makes use of a reference trajectory to specify the desired behavior of the closed loop system. In the
PFC algorithm, as in the standard MPC approach, a nonlinear process model is used to simulate the process over a prediction horizon
and discrete control movements are computed every sampling
period. The control action is computed by determining the input
change that makes the process model match the reference trajectory at given coincidence points over the prediction horizon. For
the special case where only one coincidence point is used and a
rst order reference trajectory is specied, the control movement
can be determined by solving an algebraic system of equations,
i.e. one can compute the input movement that makes the model
match the coincidence point at the end of the prediction horizon
by inverting the model equations and there is no need to solve an
optimization problem. This feature makes it easy to implement PFC
controllers directly within most of the commercial digital control
systems. Therefore PFC has become popular way of realizing MPC
regulators in industry [19,28].
In this work, the internal model of the master PFC controller is
given by Eq. (58), which represents a modied energy balance for
the reactor where the terms accounting for the heat transfer coefcient and for the reaction rate are replaced by the approximations
KAPFC and rPPFC . The value of the reaction rate within the computations of the master PFC controller is approximated as being equal to
the value of the current monomer feed rate that enters the reactor,
i.e. rPPFC is assumed to be equal to FM . Note that this corresponds
to a pseudo-stationary assumption with respect to the amount of
monomer inside the reactor and, as the additional PID controller
in fact uses the monomer feed to control the reactivity of the system, FM provides the PFC controller with valuable information with
respect to the variations of the reaction rate. The heat transfer coefcient KAPFC is approximated by a constant value taken from the
plateaus that can be seen in Figs. 4 and 5. At every sampling period,
the master PFC controller tracks the desired reaction temperature
by applying a step change in the setpoint of the jacket temperature
while the slave PFC controller tracks the desired jacket temperature by applying a step change in the position of the cooling valve.
The step change in the jacket temperature is computed so that the
model prediction for the reactor temperature, which is obtained by
integrating (58), matches a reference trajectory at the end of the
prediction horizon. All the terms on the right hand side of Eq. (58)
are kept constant during a sampling period.
KAPFC (TJ TR ) +
dTR
=
dt
F Cpi (Ti
i=S,M i
TR ) + rPPFC HR
CpR MR
(58)
412
Fig. 16. Simulations of the alternative control structure for Product A. (a) Nominal scenario: the solid blue lines are the simulated process measurements. The dotted green
lines are the setpoints for TR and and the red dotted lines are the specication bounds (1 K). (b) Worst case scenario: The solid blue lines are the simulated process
measurements. The dotted green lines are the setpoints for TR and and the red dotted lines are the specication bounds (1 K). (For interpretation of the references to color
in this gure legend, the reader is referred to the web version of the article.)
(59)
feed was tuned in such a way that the variations in the monomer
ow rate enter as a slow disturbance into the cascaded PFC loops.
The setpoint for the valve position set is a tuning parameter that
determines the desired cooling power. In order to provide some
safety margin for the cascaded PFC controllers to reject fast disturbances, e.g. sharp decreases in the cooling supply, set was set to
75%.
In Fig. 16, the alternative control scheme is simulated for the
Product A considering the same nominal and worst case scenarios
that were used for evaluating the NMPC controller in Section 6. The
feeding period is started with maximal monomer feed and afterwards the monomer feed controller is activated. By comparing the
simulations shown in Fig. 16 with the simulation in Figs. 11 and 12
it can be concluded that the quality of the simplied temperature
control scheme is not as good as that of the NMPC controller but still
satisfactory. The batch time with the simplied scheme is longer
which is due to the use of only 75% of the cooling water valve
opening, on the other hand, this provides a safety margin and in a
real implementation the bound for the NMPC controller might also
be reduced using a soft-constraint for this reason. In the nominal
scenario, the system is driven with maximal monomer feed until
the cooling power reaches the desired level, which is specied by
the setpoint for the position of the cooling valve. Then the monomer
feed is adjusted during the remainder of the feeding period so
that the position of the cooling valve remains ne around its setpoint. Note that, as rPPFC is approximated by the measurement FM , a
Fig. 17. Simulations of the alternative control structure for Product B. (a) Nominal scenario: the solid blue lines are the simulated process measurements. The dotted green
lines are the setpoints for TR and and the red dotted lines are the specication bounds (1 K). (b) Worst case scenario: the solid blue lines are the simulated process
measurements. The dotted green lines are the setpoints for TR and and the red dotted lines are the specication bounds (1 K). (For interpretation of the references to color
in this gure legend, the reader is referred to the web version of the article.)
413
Fig. 18. Tests of the alternative optimizing scheme at the real plant rate. (a) Test for Product A: the solid purple line, the solid gray line and the dashed gray line denote the
reactor temperature, the position of the cooling valve and the monomer feed. (b) Test for Product B: the solid purple line, the solid gray line and the dashed gray line denote
the reactor temperature, the position of the cooling valve and the monomer feed. (For interpretation of the references to color in this gure legend, the reader is referred to
the web version of the article.)
8. Conclusion
In this work, the operation of an industrial polymerization reactor is optimized online using two different model-based control
schemes. A process model that describes the dynamics of the relevant system states and the MWD of the polymer along the batch was
developed and validated using historical process data. After intensive investigations in a simulation environment, important issues
related to the practical implementation of the NMPC scheme, e.g.
state estimation and real-time solution of the optimization problem were addressed. In addition, a simplied control scheme with
model-predictive temperature control and a master controller for
the monomer feed was developed that could be integrated into the
DCS of the real process and is in daily operation at the real plant.
This scheme improves the quality of the temperature control and
reduces the duration as well as the variation of the batches already
signicantly. For the case where the cooling constraint is not active
and the monomer can be inserted into the reactor with maximal
ow rate during the whole feeding period, the results provided by
the PFC temperature controller are as good as the ones provided by
the generic NMPC scheme. For the case where the monomer feed
rate and the cooling power have to be simultaneously optimized,
the NMPC scheme provides a superior performance in simulations.
This is due to the fact that the NMPC controller takes the monomer
dosage and the cooling power simultaneously into account in the
optimal control computations while the alternative scheme optimizes the cooling power in an inner loop and the monomer dosage
in an outer loop. While better results can be expected from the use
of the full NMPC scheme at the real plant, it is an open issue whether
the gains over the simplied scheme will justify the additional
414
[6] S. Engell, Feedback control for optimal process operation, J. Process Control 17
(2007) 203219.
[7] D. Bonvin, B. Srinivasan, Optimal operation of batch processes via the tracking
of active constraints, ISA Trans. 42 (2003) 123134.
[8] T.F. Finkler, M. Kawohl, U. Piechottka, S. Engell, Realization of optimizing
control in an industrial polymerization reactor, in: Preprints of the 8th IFAC
Symposium on Advanced Control of Chemical Processes, Singapore, July 1013,
2012.
[9] T.F. Finkler, M.B. Dogru, S. Engell, Optimizing control of semi-batch polymerization reactors, in: Preprints of the 2nd Conference on Advances on Control
and Optimization of Dynamics Systems, Bangalore, India, February 1618,
2012.
[10] T.F. Finkler, S. Lucia, M.B. Dogru, S. Engell, A simple scheme for the timeoptimal operation of semi-batch polymerizations, Ind. Eng. Chem. Res. 52
(2013) 59065920.
[11] J.S. Chang, W.Y. Hsieih, Optimization and control of semibatch reactors, Ind.
Eng. Chem. Res. 34 (1995) 545556.
[12] B. Srinivasan, D. Bonvin, E. Visser, S. Palanki, Dynamic optimization of batch
processes: Part 2, Comput. Chem. Eng. 27 (1) (2003) 2744.
[13] M. Vicente, S.B. Amor, L.M. Gugliotta, J.R. Leiza, J.M. Asua, Control of molecular weight distribution in emulsion polymerization using on-line reaction
calorimetry, Ind. Eng. Chem. Res. 40 (2001) 218227.
[14] C. Kravaris, R.A. Wright, J.F. Carrier, Nonlinear controllers for trajectory tracing
in batch processes, Comput. Chem. Eng. 13 (1989) 7382.
[15] C. Gentric, F. Pla, M.A. Lati, J.P. Corriou, Optimization and nonlinear control of a batch emulsion polymerization reactor, Chem. Eng. J. 75 (1999)
3146.
[16] R. Gesthuisen, S. Krmer, S. Engell, Hierarchical control scheme for timeoptimal operation of semibatch polymerizations, Ind. Eng. Chem. Res. 43 (2004)
74107427.
[17] W. Mauntz, A contribution to observation and time-optimal control of emulsion co-polymerization reactions, Dortmund Technical University, 2010 (Ph.D.
Thesis).
[18] V. Hagenmeyer, M. Nohr, Flatness-based two-degree-of-freedom control of
industrial semi-batch reactors using a new observation model for an extended
Kalman lter approach, Int. J. Control 81 (2008) 428438.
[19] J. Richalet, D. ODonovan, K.E. strm, Predictive Functional Control: Principles
and Industrial Applications (Advances in Industrial Control), Springer, London,
2009.
[20] S. Krmer, Heat balance calorimetry and multirate state estimation applied to
semi-batch emulsion copolymerization to achieve optimal coltrol, Dortmund
Technical University, 2006 (Ph.D. Thesis).
[21] L. Magni, D.M. Raimondo, F. Allgwer, Nonlinear Model Predictive Control:
Towards New Challenging Applications, Springer, Berlin, 2009.
[22] P.S. Agachi, Z.K. Nagy, M.V. Cristea, A. Imre-Lucaci, Model Based Control, WileyVCH, Weinheim (Germany), 2006.
[23] M. Diehl, S. Findeisen, S. Schwarzkopf, I. Uslu, F. Allgwer, H.G. Bock, E.D. Gilles,
J.P. Schlder, An efcient algorithm for nonlinear predictive control of largescale systems, Part I: Description of the method, Automatisierungstechnik 50
(2002) 557567.
[24] C. Kirches, L. Wirsching, H.G. Bock, J.P. Schlder, Efcient direct multiple shooting for nonlinear model predictive control on long horizons, J. Process Control
22 (2012) 18321843.
[25] R.E. Kalman, R. Bucy, New results in linear ltering and prediction, J. Basic Eng.
(ASME) 83D (1961) 98108.
[26] R. Chylla, D. Haase, Temperature control of semi-batch polymerization reactors,
Comput. Chem. Eng. 17 (1993) 257264.
[27] K. Pelz, H. Brandt, T.F. Finkler, S. Engell, Scheme for time-optimal operation of
semi-batch emulsion polymerization reactors, in: Preprints of the International
Symposium on Advanced on Control of Chemical Processes, Singapore, July
1013, 2012.
[28] H. Bouhenchir, M. Cabassud, M.V. Le Lann, Predictive functional control for the
temperature control of a chemical batch reactor, Comput. Chem. Eng. 30 (6/7)
(2006) 11411154.
[29] S. Lucia, T.F. Finkler, X. Basak, S. Engell, A new robust NMPC scheme and its
application to a semi-batch reactor example, in: Preprints of the 8th IFAC Symposium on Advanced Control of Chemical Processes, Singapore, July 1013,
2012.
[30] S. Lucia, T.F. Finkler, S. Engell, Multi-stage nonlinear model predictive control
applied to a semi-batch polymerization reactor under uncertainty, J. Process
Control 23 (9) (2013) 13061319.