Você está na página 1de 6

J. Inst. Brew., March-April, 1994, Vol. 100, pp.

99-104

TEMPERATURE CONTROL IN FERMENTERS: APPLICATION OF NEURAL NETS AND


FEEDBACK CONTROL IN BREWERIES

By G. Gvazdaitjs, S. Beil, U. Kreibaum, R. Simutis, I. Havlik, M. Dors, F. Schneider,


and A. LGbbert

(Institut far Technische Chentie, Universiliit Hannover, Callinslrasse 3, D-3000 Hannover, Germany)

Received 19 April 1993

The main objective of on-line quality control in fermentation is to perform the production processes
as reproducible as possible. Since temperature is the main control parameter in the fermentation
process of beer breweries, it is of primary interest to keep it close to the predefined set point. Here,
we report on a model-supported temperature controller for large production-scale beer fermenters.
The dynamic response of the temperature in the tank on temperature changes in the cooling elements
has been modeled by means of a difference equation. The heat production within the tank Is taken
into account by means of a model for the substrate degradation. Any optimization requires a model
to predict the consequences of actions. Instead of using a conventional mathematical model of the
fermentation kinetics, an artificial neural network approach has been used. The set point profiles for
the temperature control have been dynamically optimized in order to minimize the production cost
while meeting the constraints posed by the product quality requirements.

Key Words: Fermentation, temperature control processes cess in breweries, this primarily means to control the fermen
tation temperature.
Introduction Advanced quality assurance requires continuous state pre
Temperature control is a practical problem in production- diction as the essential basis of control. In the beer fermen
scale brewery fermenters, when the vessels are very big and tation process, prediction of the substrate degradation rate
not able to immediately follow changes in the temperature and prediction of those components in the fermentation
set point profiles. Since in practice the control strategies are medium that influence the taste of the beer are of primary
very simple, considerable temperature fluctuations may be importance. It would be of considerable value to monitor
observed in big fermenters. and predict the development and degradation of the key
Temperature is the variable by which the fermentation component of the different compounds influencing the taste,
process in beer breweries is controlled. It is, thus, essential diacetyl. This is a requisite for every measure of keeping it
for a reproducible fermentation process (the only practical below some threshold concentration.
means to ensure constant quality during fermentation) that In an earlier publication, we described the supervision and
the temperature exactly follows the predefined profile. prediction of the extract concentration in a beer fermentation
Hence, the temperature control is of considerable importance by means of fuzzy-supported extended Kalman filters4 and
for any quality assurance of the beer fermentation process. In by fuzzy-aided artificial neural networks5.
particular, for a reliable prediction of the process behaviour, In the course of these investigations, it has been found
which becomes necessary if the length of the fermentation that the temperature fluctuations limit improvements in the
process and thus the tank logistics is to be controlled, one state prediction of fermentation processes. Hence, advanced
must presume that the temperature can be kept close to the temperature control becomes imperative.
predefined temperature profile. Any model-supported control of the fermentation tempera
With larger production vessels, the time constants of the ture must be based on a reliable description of the cooling
temperature response behaviour increase, and it becomes behaviour of the big fermentation tanks as well as on a
more difficult to control the temperature in the tanks. Then, reliable description of the temperature generation process,
advanced control strategies become indispensable in optimiz i.e., the fermentation process itself.
ing the quality/cost relation of the fermentation process. As a representation of the fermentation process we use
Energy conservation is on everybody's agenda these days. an extended form of the neural network software described
In new plants for beer fermentation and maturing measures by Simutis3. The dynamic response behaviour of the 300 m3
for reducing the energy for cooling is of high importance. For cylindroconical fermentation tank used in the corresponding
daytime cooling operations, a big Japanese brewery recently fermentation runs was modeled by means of a difference
installed ice banks frozen at night using cheap 'off peak' equation. Both models have been incorporated into a model-
electricity to minimize the refrigeration costs. supported adaptive temperature controller. The models and
In this paper, we describe an advanced temperature control the controller construction are described in the following
strategy for brewery fermenters by the example of a 300 mJ sections.
cylindroconical fermenter installed in a German brewery. Based on the process models and the controller, a minimiz
ation of the cooling expenses under the constraints of prede
fined tolerances of some quality parameters has been perfor
Temperature Control
med by construction of an optimal feedback controller.

Objectives Neural Net Representing the Extract Degradation


Quality assurance is imperative for all industrial compa In their previous work, the authors4 compared different
nies. The main aim of quality control is to keep those process ways of representing the microbial conversion of malt into
parameters which characterize the product quality strictly ethanol and carbon dioxide in the brewery fermentation
within predefined tolerance bands. In most processes where process. One result was that process simulations based on
living organisms are involved, this can only be obtained by neural networks are at least as reliable as simulations using
running the process under reproducible conditions, i.e., close mathematical process models, but the networks turned out
to the desired parameter profiles. For the fermentation pro to be much easier to establish and to maintain. Consequently,
100 TEMPERATURE CONTROL IN FERMENTERS [J. Inst. Brew.

we used a neural network approach in the work described tation tanks is complicated by several mechanisms. The stir
in this article. ring action of the CO2 bubbles rising in the liquid phase is
In the model presented by Simutis et al.5 the only variable by no means continuous, considerable eruptions characterize
predicted was the substrate degradation rate or the extract the carbon dioxide gas production. Supersaturation effects
concentration, respectively. In order to supervise the key and chaotic flow properties of the dispersion may be respon
quality indicator as well, the diacetyl concentration was incor sible for this behaviour. As the cooling sections at the fer-
porated into the model. Since the available expert knowledge menter wall are switched on and off in a binary way, the
about the diacetyl development and its degradation is rather boundary conditions concerning the temperature at the fer-
limited, we did not use a fuzzy-aided neural network as in menter wall are abruptly changed.
the reference mentioned. Instead, we used a more compli Since most of the parameters determining the heat transfer
cated net and an advanced training technique to fit the coefficients are unknown, the cooling behaviour of the tank
network to the requirements. The training procedures used was determined experimentally by analysing the temperature
are described in Simutis et al.6 response to changes in the cooling control signals. In order
As can be seen in Figure 1, the network contains 9 input to keep the dynamical representation of the results simple,
and 2 output nodes. These numbers, characterizing part of a linear difference equation was used. In this equation, the
the network topology are fixed to the available data and temperature sampling values Tk, where k is the time index,
required output quantities. The remaining question is the are related to the registered control signals Sik of the i-th
.structure of the hidden layers. Only a single hidden layer cooling element.
was chosen. 10 nodes in the hidden layer proved to be
sufficient for modelling the fermentation process and to keep
the time needed for the training in acceptable limits. The Tk
number of nodes in the hidden layer were determined by a, Tk_, + a2 Tk_2 + a3 Tk_3 aj Tk_4 + a5 Tk_5
means of cross validation techniques3. The essential idea b, b3 Si,k_j b4 Si,k-4 bs Si.k_5
behind this technique is to divide the available data sets into b| S2,k_i b2 S2.k-2 b3 S2-k_3 b4 S2.k_4 + b5 S2-k_5
two parts. About 70% of the data sets are used for training, bi S3,k_i b2 S3,k_2 b3 S3,k_3 b4 S3,k_4 + b5 S3-k_5
the remaining 30% were kept aside to validate the trained Kk
network with independent data.
The advanced training procedure used in the experiments
is based on an evolutionary optimization algorithm, i.e., the
ideas behind the optimal development of organisms in nature with the parameters ai, bj, Cj, determined by the identification
(mutation, cross-over and selection in a set of individuals) procedure. The variables Kk are characterizing the heat pro
have been applied to the optimization of the artificial neural duction and the Ck are characteristic for the CO2-off-gas
network representing the dynamics of the substrate degra mass flow. As a characteristic CO2 mass flow through the
dation and diacetyl formation/degradation in a beer fer- off-gas line we took a short-term integrated average (over
menter. A typical result of the simulation is depicted in 2-3 hours in our application) of the CO2 massflow. The
Figure 2. As can be seen, the simulations very closely follow characteristic heat production parameter Kk can be deter
the measured experimental data. mined in two alternative ways, either from the long term
CO2 development, which is directly proportional to the heat
Model for the Fermentation Tank Dynamics production, or by directly incorporating the output of the
Fermentation tanks with 300 m3 total volume have been neural net describing the kinetics of the substrate degra
taken as examples. Their diameters are 4.1 m, and they are dation, as described above. Once again, the fact is used that
equipped with three wall cooling segments each. The cooling heat production is proportional to the substrate conversion
is performed by vaporization of ammonia. rate.
The dynamical behaviour of big cylindroconical fermen The identification of the other parameter was performed

Time

Fio. 1. Structure of the neural network used lo represent the substrate degradation and diacetyl formation and degradation in the
fermentation tank.
Vol. 100, 1994| TEMPERATURE CONTROL IN FERMENTERS 101

120 0.6

110
-- 0.5
"*N£iacetyl
100
Extract^
I
\
\
r i
-
0.4 §
80

/\
80 0.3

70
-- 0.2

I
/
60

■- 0.1

/
SO

40
SO 100 150 200

Fermentation Time [h]


Fig. 2. Typical examples of the predicted variables substrate and diacetyl concentration. The symbols are the experimental data measured
off-line. The lines represent the output of the neural network simulation.

with a standard optimization procedure taken from the well- Hence, this model can be used to construct a model-
known NAG scientific subroutine library. supported temperature controller.
In order to get an impression of the performance of this Since it has been observed that the dynamical behaviour of
model, the temperature was predicted for periods of two the big fermentation tank is different at different temperature
hours in advance using the available measuring data sampled intervals, the parameters of the model have been separately
up to the actual time point. These simulated temperatures identified for intervals around the normal fermentation tem
are depicted in Figure 3 together with the temperature perature and the temperature which is kept in the end phase
measurement values obtained two hours later. of the fermentation, the so called diacetyl step. The two
As can be seen from Figure 3, the temperature of the tank different temperature intervals in our application are
can be predicted quite accurately two hours in advance. 12°C > T > 7"C and 7°C> T > 4°C.

50 100 150 200

Fermentation Time [h]


Fig. 3. Comparison of the simulated temperatures together with the temperatures measured two hours later. Also, the control profile of
the cooling system is shown in Ihe graph. Its values 1, 2, and 3 denote that only the upper cooling section, the upper two only, and
all three cooling sections are switched on.
102 TEMPERATURE CONTRO1. IN FERMENTERS [J. Inst. Brew

DATA MEMORY

J SWITCH
Lpcto ERROR /
FUZZY
/I
Y CONTROLLER / PLANT

/
, /
WATCH

DOG
J CCS CO 2

DATA
MEMORY

ERROR ^

i S
CONTROLLER
y
To

PROOESS
MODEL

7
Fig. 4. Schematic view of the temperature controller consisting of the adaptive controller, the fuzzy controller and the watch-dog which
works as supervisor.

Controller Design The control actions for the 8 time steps are chosen from
The feedback controller used is based on a prediction of all possible combinations of activating the three cooling
the temperature by means of the above-mentioned models. sections in such a way that the mean squared deviation
The required control vector for the three cooling elements from the set point profile in that interval becomes minimal.
is computed every 8 sampling time steps (12 min each) only, In the case that the actual temperature is far below the
in order to reduce the controller actions. In Figure 3 it was set point temperature, nothing is done, because it is not
shown that the model can reliably predict the temperature possible to heat the fermenter. In this case, one must wait
over such long intervals. However, time between is used to until the internal heat production enhances the temperature
adapt the model parameters to the process. Hence, after the to a value near the set point.
8 time steps, the next control profile segment is computed The most important parameter in the model-supported
with an updated model. controller is the adaptation gain by which the deviations

ON-LINE (a)

aolpolnl
FUZZY-AIDED CCS STATE X(t)

CONTROLLER

APPRIORI
KNOWLEDGE
ERROR

FUZZY-AIDED CCS PLANT


CONTROLLER MODEL

OPTIMIZATION

1 opllm
J
Flo. 5. Schematic of the optimal feedback controller used to minimise the fermentation cooling cost in a running production.
Vol. 100, 1994] TEMPERATURE CONTROL IN FERMENTERS 103

120 12

Optimized
11
110

10
100

\
L 9
E
-

90

\ - 8
I2
1
O 80

W 70
\ \
7

6
53
a.

H
60
5

50 4

40
0 SO 100 150 200

Fermentation Time [h]


Fig. 6. Typical example of the controlled temperature with and without optimal feedback control.

AT of the actual temperature value from the temperature used to minimize the cooling costs under the condition that
predicted by the model influences the model parameters used the quality parameters stay within guaranteed intervals.
in the controller. If the gain is high, i.e., the influence of Since in our application the cost of electrical energy is
the temperature deviations on the model adaption is high, lower overnight, the cooling actions are controlled, so that
the controller might become unstable. If it is too low, the cooling is predominantly performed during night hours. The
controller might not follow fast changes in the system behav process state prediction developed is thus used to fit the
iour. Since the response of the reactor on the actions in the process control profiles to match this requirement.
cooling system is rapidly changing during the fermentation,
it was decided to use a high gain. Implementation
Any risk of obtaining an unstable controller behaviour was The cost functional J used in the optimization is defined
kept extremely low by the introduction of a robust fuzzy as follows:
expert controller which was constructed from the available
knowledge on the cooling process. This fuzzy controller is J = k, (Sf - Sg (Deviation from extract set
able to compensate for larger deviations of the actual tem point)
perature, however, its performance is not as good as that of k2D2 + (Deviation from diacetyl set
the adaptive model-supported controller. point)
In order to supervise both controllers, a watch-dog module 2 uk P At (Cooling cost)
was installed in the software which detects whether the adapt
ive controller works correctly or not. If the adaptive control — The first component describes the influence of a deviation
cannot cope with the control, the watch-dog switches over of the actual extract concentration from the model value.
to the fuzzy controller. Figure 4 depicts a schematic view of The coefficient kt is typically chosen to be 0.05.
the controller structure. — The second term describes the influence of the diacetyl
concentration D. It is assumed that concentration D influ
ences the loss quadratically. Parameter k2 is zero as long as
Profile Optimization the concentration is below some threshold value (usually
0.2 mg/1). Above that concentration it might be chosen to
Objectives be 100.
The temperature fluctuations, observed over a longer — The third term sums up the cooling cost up to the actual
period showed that random variations of ±1 °C around the point of time. At is the time increment. uk, with k = 1, 2, 3,
set point do not influence the beer quality significantly. respectively, is a binary control signal indicating whether the
However, the predictability of the extract degradation and individual cooling elements are switched on or off. P = P(t),
its reproducibility depend on the accuracy of the temperature a function of time t, is the price of electric power for the
control. cooling aggregate.
At first glance, an improved control would thus primarily The minimization of the cost functional was obtained with
support the process predictability. This might not be a strong classical optimization techniques. A NAG library routine
enough argument to justify investments for an improved (E04DBF) was used in the optimization.
temperature control. The value of an improved controller Figure 5 shows the structure of the feedback controller
becomes more obvious if one considers its integration into schematically. The controller contains an on-line part and an
an optimized feedback control strategy, where the quality off-line component. In the off-line part, the optimal control
requirements as well as the cooling costs are taken into profile is calculated every 24 hours in advance. Then, the
account. In other words, the possibility to more precisely on-line part controls the temperature along this profile. Dur
guide the temperature within a given tolerance band can be ing this closed loop control, the deviations of the temperature
104 TEMPERATURE CONTROL IN FERMENTERS [J. Inst. Brew.

from the predefined profile are used to correct the para for these powerful tools is considerably shorter than that for
meters of the model within the controller. If, every 24 h, the construction of conventional software approaches, the
new extract values are available, the kinetic representation new techniques become economically interesting for many
by the neural nets is also improved. So, for the next days industrial companies.
the profile can be calculated using updated models. The controller was developed using the practical example
Figure 6 presents a typical example of the controlled tem of a fermentation process of a German brewer. The software
perature with and without optimal feedback control. The runs under the process management system RISP on a simple
optimized controller fully exploits the temperature interval small VAX workstation connected to several fermentation
allowed during the extract degradation. As far as possible, tanks via a microprocessor system.
cooling actions are performed overnight.
For a single fermenter, the cost reductions may come up Acknowledgements. The financial support of the AIF
to more than 20% in this way. This is in the same order of (Arbeitsgemeinschaft industrieller Forschungsvereinigungen,
magnitude as the energy reduction claimed by Asahi and Koln) is gratefully acknowledged. This AIF grant Nr. 08
Kinoshita, who used an unspecified AI computer system was financed by the German Federal Ministry of Economic
in combination with a cold storage system to maintain an Affairs. The Gilde Brauerei AG, Hannover, generously sup
optimized economical balance. ported the developments described.

References
Conclusion 1. Asahi, K., Kinoshita, M. Technical Quarterly of the Master Brew
A model-based adaptive controller has been constructed er's Association of the Americas, 1992, 29, 48-52.
based on a neural network representation of the substrate 2. Beil, S., Dors, M., Havlik, I.. Krcibaum, U., Schneider. F..
degradation and the diacetyl formation/degradation process Simutis, R., Lubbert, A. Brauwissenschaft, 1992, 45, 196-204.
and a difference equation to model the dynamical tempera 3. Nahas. E. P.. Henson, M. A., Scborg. D. E. Computerised
ture behaviour of the fermenter. The feedback control profile Chemical Engineering, 1992, 16, 1039-1057.
4. Simutis, R., Havlik, I., Lubbert. A. Journal of Biotechnology,
could be optimized in order to minimize the cooling expense
1992.24,211-234.
while fully maintaining the quality requirements.
5. Simutis, R., Havlik, I., Lubbert, A. Journal of Biotechnology,
The investigation shows that advanced software techniques 1993, 27, 203-215.
combining traditional and new approaches can be used to 6. Simutis, R., Havlik, I., Dors, M., Lubbert, A. Process Control
improve production processes. Since the development time and Quality, 1993, 4, 211-220.

Você também pode gostar