Predictive Control Quality in Batch Polymerization Using Hybrid Models
Predictive Control Quality in Batch Polymerization Using Hybrid Models
Two issues involving the methodology used for on-line control of product quality in
batch manufacturing processes are addressed: the generation of fast, data-driven process
models and the use of such process models for on-line feedback control of product
quality. The methodology is investigated using the example of the control of dispersity
and molecular weight distribution in a batch reactor for emulsion polymerization of
vinyl acetate. A n artificial neural network (ANN) is used as a model to predict the
quality as a function of the manipulated variables and on-line measurements. This
model is constructed using an augmented dataset that integrates experimental informa-
tion and knowledge from a mathematical model. The proposed model is compared with
other types such as a theoretical model whose key parameters are fitted to experimental
data. The hybrid A N N is superior to the parameter-fittingapproach for this case. Exper-
imental and simulation studies confirm the advantage of using the proposed model and
the predictive control algorithm.
Introduction
Objective
Batch processes are especially suited for manufacturing of Artificial neural networks have been suggested as an alter-
small amounts of high value added products. Quality control native for generation of process models. These models are
in batch processes presents a uniquely challenging problem data-driven and have the advantages of computational effi-
because the product quality is not known until the batch ciency and ease of construction. They also provide conve-
processing is completed. One is naturally forced to use pre- nient means for on-line adaptation as shown by Joseph and
dictive models to compensate for undesirable disturbances Wang Hanratty (1993). Since batch processes are often poorly
detected through intermediate measurements while the batch understood physically, the artificial neural network (ANN)
is in progress. Due to the complex nonlinear nature of seems to be a promising modeling tool for modeling such sys-
batch-process dynamics, a model capable of accurately pre- tems.
dicting the final product quality is usually difficult to gener- Joseph and Wang Hanratty (1993) developed a “shrinking
ate. Feedback control therefore requires significant operator horizon” predictive control scheme applied to an autoclave
experience and input. Statistical process control (SPC) and curing process for manufacturing composites using an ANN
statistical quality control (SQC) provide systematic ways of model. In this approach, ANN predictive models were devel-
monitoring process status (Klein, 1991; Levinson, 1992) but oped from simulation runs. Corrective control actions were
does not address the issue of on-line feedback corrections based on predictions of the ANN model and intermediate
when the quality measurement is not directly available. Due measurements. They showed that tight quality control can be
to the strong nonlinearity exhibited by most batch processes, achieved using model-based on-line feedback corrections to
there is still much room for development of automated deci- the batch recipe. Their studies were limited to simulated
sion-making tools for batch quality control. processes. They also did not address an important issue of
generating the data required for training the ANN model.
Correspondence concerning this article should be addressed to S . S . Jang. Normal operating data cannot be used for fitting models be-
Hybrid Ah”
Recently, the use of an ANN to capture nonlinear dynam-
ics and serve as a “black-box” model has been extensively
subject to system dynamics:
researched. ANNs have been applied to diverse areas of
chemical process engineering such as fault diagnosis (e.g.,
Hoskins and Himmelblau, 1988; Venkatasubramanian and (OP1.C1)
I I I I
f ” ( m ; , m ; , . ..) = f e ( m ; l , r n & , ..) + - (my - m f , ) I I I I
m1
model
... .
( m ; - me,,>+ Figure 1. Extrapolation from different experimental
”f/
+ dm2 m h , ... points.
+
of the disturbance variable is about 45 min ( Y ~ ~ ) .
The completion of intermediate measurement using a GC I l
requires another 20 minutes. Therefore, manipulative action
is taken at the 65th minute, with a one-shot addition of initia-
tor 165 and the temperature of the reactor controlled at T65
Initial condition
4 8% A I I
throughout the later stage of the process. Since Z,, M a , and
To are kept constant in this study, A “ s for predicting the
end time, the number average molecular weight (Mn), and Model predictive
dispersity ( D ) have the following simplified forms: controller
Begin batch
Initial condition
Experiments
The experimental setup is illustrated in Figure 3. The reac-
tor is a l-liter glass vessel placed in a constant temperature
40
Training set A d
Original Value Updated Value
AP 0.89 x 107 2.21 x 107 I I t
- 5,650 - 5,563 W Augmented Doto ANN
EP E Z 2 Z ANN-EXP
Aim 0.43 X lo6 0.41 X lo6 30 0Fitted Theoretical Model
Eh - 9,020 - 11,146
l l
fP 3.55 x 106 4.04 X lo6
EfP - 9,950 -9,168
55
i
4obT[
monomer: kfm= A , X e-€fflT. RUN NUMBER
3. A f p and Efp for the rate constant of chain transfer to (a)
polymer: k f p= A f pX e-Ef@T.
The following optimization problem was solved to “update”
these parameters: Training set Test s e t >
,I’)?(
30
-
. . I t I
+ (OP.5)
subject to
RUN NUMBER
(b)
Test set
Q------ Traininqset _____() k
Y
40
1 I
m Augmented Data ANN
C&2a ANN-EXP
30 .
The “updated”parameters are shown in Table 2.
Figure 4 shows the error in the predictions of the three
models. Table 3 gives the mean and standard deviation of the
--
A-
u
Mo
‘ 6 5 3 T65
I
Fitted Theoretical
Model -1 xn
t
D
Runl-20 tf
Mn
D P
U
u
P
1.74
1.60
5.23
4.09
5.49
4.48
7.63
6.90
7.23
6.06
11.52
6.63
3.16
3.99
6.12
6.82
6.51
6.99
Figure 5. Series hybrid ANN. +: mean value; o:standard deviation.
1 3 5 7 9 11 13 15 17 19
Run number
(4
Y45
10
Model predictive control of latex reactor
In this work, a one-shot policy, as shown in Figure 2, is
0
implemented to perform the model predictive control. It is
1 3 5 7 9 11 13 15 17 ID possible to obtain the control profiles of T6, and Z65 as func-
Run number
tions of y,, based on the hybrid A" model described ear-
(b) lier by solving the model predictive problem OP4. The result
is shown in Figure 8, which shows that the control actions
est se
can be more aggressive to shorten the batch time if the inter-
-
mediate measurement shows that the amount of feed impu-
rity is small (high conversion), and the product qualities can
still be guaranteed as shown in Figure 9. In polymerization
Augmented Data ANN reaction the dispersity of the polymer product will be larger
ezzzd Series Hybrid ANN
0Parallel Hybrid ANN with higher reactor temperature and higher concentration of
free radicals (initiator). Figure 8 shows that if y, is low, that
h
x
v is, inhibitor is high, then the control action i65 and T65 can-
g0 2o not be aggressive to shorten the batch time since the con-
straint on dispersity will be violated (see also Figure 9c).
Based on the results shown in Figure 8, three test batch
10 runs (runs 17, 18 and 19 in Table 1) were carried out to eval-
uate the predictions of the hybrid ANN model. The results
are given in Figure 9. It shows that the control actions taken
0
1 3 5 7 9 11 13 15 17 19
do shorten the batch time while maintaining the product
Run number quality within its tolerances. If one simply wants to shorten
the batch time and ignore the existence of the impurity by
(c) setting the control actions into their upper bounds (62°C for
Figure 7. (a) Absolute values of percent error in pre- T6, and 40 mL for &5r called aggressiue control), the upper
dicted end time with different hybrid ANN bound on the dispersity of the polymer product is violated as
models; (b) absolute values of percent error predicted by the model. This is confirmed by run 20. How-
in predicted number average molecular weight ever, if no predictive control action is taken, and a fixed recipe
with different hybrid ANN models; (c) abso- is followed, the batch time can be very long and the number
lute values of percent error in predicted dis- average molecular weight of the polymer product is out of
persity with different hybrid ANN models. the lower bound as shown in Figure 9 and Table 1 (run 5).
I
Model prediction
cations.
The augmented data hybrid ANN is trained using a combi-
nation of actual experimental data and augmented data points
2.3
generated through extrapolation and interpolation using gra-
ro dient information from the theoretical model. This procedure
I
0 of augmenting the data allows development of ANN models
X when experimental data are scarce and expensive to obtain.
z
3 The augmented data hybrid ANN was also shown to be
superior in terms of its correlative capability to other hybrid
ANN approaches. It also performed better than a theoretical
model whose parameters were fitted to the experimental data.
Although we restricted ourselves to specific types of mea-
surements, models, and control actions, the methodology
1.5 I I presented is quite general and can be applied to the model-
0.1 0.3 0.5 ing and control of other batch processes where product qual-
Y45 ity control is difficult to achieve using conventional tech-
niques and algorithms.
Acknowledgment
Model prediction
5- I
4 -
11 Upper bound Notation
3 T 4 .__..
A f m=frequency factor of the rate constant of chain transfer to
monomer
A f p=frequency factor of the rate constant of chain transfer to
polymer
A , =frequency factor of the polymer propagation rate constant
Derr0,=relative error of the predictive dispersity
Dj=dispersity of the final product at run j
DT =predictive dispersity of the final product at run j
2 I Efm =activation energy of the rate constant of chain transfer to
0.1 0.3 0.5 monomer
Efp =activation energy of the rate constant of chain transfer to
Y45
polymer
Figure 9. (a) End time: Experimental and simulation re- Ep =activation energy of the polymer propagation rate con-
sults; (b) number average molecular weight: stant
f" =augmented data function
experimental and simulation results; (c) dls- f'=experimental result
persity: experimental and simulation results. h =intermediate states of the system