Changes in instrument response due to maintenance events such
as lamp changes are inconsequential as long as the instrument
response continues to provide sufficient signal to accurately and
precisely update parameter estimates.
decomposition does not represent Y exactly. We define a residuals
matrix R that is the difference between the measurements and
the model. The process of nonlinear least-squares fitting gives
estimates Cˆ and Aˆ that best represent Y by minimizing the sum
of squares of the residuals matrix Rˆ .
Traditional near-infrared (NIR) measurements have found
widespread use in process analytical application because of the
method’s good sensitivity, high information content, and low noise.
Commercially available scanning instruments or Fourier transform
(FT-NIR) instruments require long scan times. Some batch
processes take place on a much shorter time frame. For example,
4-(dimethylamino)pyridine (DMAP) is one of the best-known
catalysts available for acetylation with acetic anhydride, and
commercially available NIR scanning or FT instruments may be
too slow to give measurements relevant for estimation of rate
constants. Recent advances in semiconductor technology has
made possible indium gallium arsenide charge-coupled device
diode arrays with excellent sensitivity in the range from 1100 to
2200 nm and high scan speeds of 5 ms.6
In this paper, we report the use of an NIR fiber-optic
spectrometer with a high-speed diode array for monitoring and
modeling the reaction of acetic anhydride and butanol with DMAP
as the catalyst in a microscale batch reactor. The spectrometer is
capable of acquiring spectra at the rate of 5 ms/ scan, which gives
information relevant for modeling the batch process with a kinetic
model. A total of five different batches were modeled in a multiway
kinetic model. Augmentation of four prerun batches with data from
a fifth batch permitted updating of parameter estimates as well
as forecasting reaction trajectories, reaction yield and end points.
Data Analysis Method. The use of multivariate absorption
measurements for fitting multiway kinetic models has received
considerable attention in the past few years.7-10 In most of these
approaches, nonlinear least-squares estimation of model param-
eters is required. In this paper we chose the nonlinear least-
squares (NLLS) Levenberg-Marquardt algorithm11 to fit the
activation parameters of our proposed reaction mechanism using
a hard-modeling approach. The NLLS fitting of multivariate
absorption data has been used for some time,12 and the procedure
is briefly outlined here.
Rˆ ) Y - Cˆ Aˆ
(2)
Calibration-free modeling of batch reactions is summarized by the
following steps: (1) A reaction mechanism is postulated giving a
model composed of a system of simultaneous ODEs. (2) Numer-
ical integration of the ODEs produces an estimate of Cˆ . (3) Least-
squares fitting of Cˆ to Y produces calibration-free estimates of
pure component spectra, Aˆ . (4) The model parameters (rate
constants) are iteratively adjusted by a nonlinear estimation
method until no further reduction in Rˆ 2 is obtained.
Specialized software with a graphical user interface was written
in C++ to perform the kinetic modeling. After postulating a
chemical model, it is encoded into strings of text representing
the proposed reaction mechanism and input into the computer
program. For example, the reaction between acetic anhydride and
butanol might be represented by the following string: “AcOAc +
BuOH + DMAP > BuOAc + HOAc + DMAP”. The program uses
an intelligent model parser to extract the number of species,
species names, their corresponding stoichiometric coefficients,
and the number of reactions. The program produces a list of
parameters, their reaction coefficients and constructs a system
of ODEs that describes the change in concentration of each
species with time.13 This approach is completely general so that
a system of ODEs of arbitrary complexity can be automatically
generated for any number of coupled reactions. With knowledge
of the initial concentrations of the species in the chemical model,
the differential equations are integrated to yield the concentration
of each species at any desired time. Only the simplest system of
ODEs describing chemical models can be integrated explicitly;
consequently, the Bulirsch-Stoer numerical integration technique
was used,11 which is capable of integrating complex systems of
stiff ODEs to any desired level of accuracy.
The on-line spectroscopic measurements consist of s spectra
measured at w wavelengths arranged into a data matrix Y with
dimensions s × w. According to the Beer-Lambert law, this
matrix can be decomposed into the product of a concentration
matrix C (s × n) and a matrix of molar absorptivities A (n × w),
where n is the number of absorbing species.
The parameters to be fitted associated with a chemical model
are the rate constants of each step. Under isothermal conditions,
it is assumed that the rate constants of all reaction steps remain
constant for all experiments. The experiments reported in this
paper were performed under nonisothermal conditions, neces-
sitating the use of the Arrhenius model to describe the rate
constants, k, as a function of the absolute temperature, T:
Y ) CA + R
(1)
k ) Ae-E / RT
(3)
A
However, due to the noise inherent in any measurement and other
sources of measurement error such as concentration errors, this
where A is the preexponential factor, EA is the activation energy
of the reaction, and R is the universal gas constant. The two fitted
parameters, A and EA, are different by several orders of magnitude
in most typical applications, which causes significant problems
during nonlinear estimation. To alleviate this problem, the Ar-
rhenius equation was reparametrized to the form shown in eq 4,
(6) Hoogeveen, R. W. M.; van der A, R. J.; Goede, A. P. H. Infrared Phys. Technol.
2 0 0 1 , 42, 1-16.
(7) Dyson, R.; Maeder, M.; Neuhold, Y.-M.; Puxty, G. Anal. Chim. Acta 2 0 0 3 ,
490, 99-108.
(8) Neuhold, Y.-M.; Maeder, M. J. Chemom. 2 0 0 2 , 16, 218-227.
(9) Bijlsma, S.; Louwerse, D. J.; Smilde, A. K. J. Chemom. 1 9 9 9 , 13, 311-329.
(10) Bijlsma, S.; Louwerse, D. J.; Windig, W.; Smilde, A. K. Anal. Chim Acta
1 9 9 8 , 376, 339-355.
(11) Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; Vetterling, W. T. Numerical
Recipes in C: The Art of Scientific Computing; Cambrige University Press:
Cambridge, U.K., 1992.
(12) Maeder, M.; Zuberbu¨ hler, A. D. Anal. Chem. 1 9 9 0 , 62, 2220-2224.
(13) Dyson, R.; Maeder, M.; Puxty, G.; Neuhold, Y.-M. Inorg, React. Mech. In
press.
2576 Analytical Chemistry, Vol. 76, No. 9, May 1, 2004