Vous êtes sur la page 1sur 5

Proceedings of the 1998 IEEE

International Conference on Control Applications


Trieste, Italy 1-4 September 1998 TM04

Adaptive Geno-Fuzzy Control of Process Plants via Perpetual Evolution


Athula Rajapakse’, Kazuo Furuta, Shunsuke Kondo
Department of Quantum Engineering and Systems Science, The University of Tokyo
7-3-1, Hongo, Bunkyo-Ku, Tokyo 113, Japan
‘Email: athulaC3rokoh.gen.u-tokyo.ac.jp

Abstract evaluations. Dumitrache and Buiu [2] have developed a


geno-fuzzy controller for a servo system. They proposed
This paper presents an adaptive mechanism based on to use an algebraic model of the fuzzy controller as way
genetic algorithms for the basic fuzzy controller. The to minimize the number of tuning parameters and the
concept of “Perpetual Evolution” is proposed as a novel
computation time. Further, they suggest using two other
strategy for using genetic search to tune fuzzy controllers GA systems to determine the structure of the algebraic
in real-time. In this, a population of potential fuzzy model and to obtain a simulation model.
coritrollers evolves continuously over the time
responding to changes in the environment. At a given In this paper, we propose an adaptation mechanism for a
time, the best fitting controller in the latest population is FLC using genetic search techniques. The computing
accepted as the solution. Adaptability for any real-time time available for the genetic search is efficiently utilized
process changes is achieved by using an online neural via a continuous evolution process, which we named as
network model for evaluating trial solutions. The “Perpetual Evolution”. This is an ever-living process of
proposed technique is demonstrated through simulations evolution during which the GA’s goal and hence the
by applying to control a chemical reactor. evaluation criteria are dynamically adjusted to suit for
the immediate control task at the each control step. The
1. Introduction evolution is continued for as many as possible number of
Although the basic fuzzy logic controller (FLC) has generations within a given control step and the best
deinonstrated to be robust in dealing with complex and fitting FLC available at the end is accepted as the
poorly modeled processes, it has no mechanisms for solution. Further, we propose to use an ANN model for
adapting to real time plant changes [I]. Consequently it evaluating competing FLCs when an analytical model of
may exhibit poor performance or even instability under the process is not available. This, in addition to
variations that result from non-linear andor time varying facilitating the evaluation of FLCs, will enhance the
characteristics of the process. In recent years there has adaptive capability of the controller through on-line
been much interest and progress in incorporating learning of any unmodeled phenomena.
intelligent features, i.e. adaptability, learning ability and
The next three sections of the paper present the structure
self-organizing ability into fuzzy controllers to cope up
of the proposed control system, design of fuzzy logic
with such situations. Hybridization of fuzzy logic with
controllers using genetic algorithms, and the idea of
other soft computing techniques such as artificial neural
perpetual evolution. It will be followed by the simulation
networks (ANN) and genetic algorithms (GA) has been
results and concluding remarks.
advocated as a paradigm for realization of intelligent
control systems [I]. 2. Architecture of the Proposed Control System
Genetic algorithms are domain independent powerful Figure 1 shows a schematic diagram of the proposed
search techniques that work on a coding of the adaptive control system. The basic building blocks in the
parameters to be optimized. Search is carried out using a control system are: on-line neural network model of the
population of trails representing possible solutions to the process, fixed and variable fuzzy logic controllers and
problem. Successive populations are generated by GA tuner. The neural network model updates its
applying biomimetic operations such as reproduction, parameters on-line to track any changes in the process.
crossover, and mutation. Search is guided by an CA tuner uses the neural network simulation model for
ob-jective assessment of each trail. A thorough review of evaluating the fitness of competing fuzzy controllers
genetic algorithms in control can be found in [3]. produced via genetic operations. Parameters of the
Number of studies reports the use of GA for design and
opitimization of fuzzy logic controllers [4,5,6]. However,
application of GA for real-time adaptation of fuzzy
coiitrollers has been some what restrained. This is mainly
duc: to the time taken by GA for computation that could
be painfully long in some cases [ 3 ] . Karr and Jain [7]
have studied the applicability of GA for real-time
adaptation of fuzzy controllers in water level, pH and
inverted pendulum control problems. They have used
micro GA, a special kind of genetic algorithm which uses
small populations to reduce the computing time and
Fig. 1 Structure of the proposed adaptive control system
relied on fixed analytical simulation models for

01998 IEEE
0-~7803-4104-X/98/$10.00

797
variable FLC are replaced by those found by the genetic considered that the purpose of using GA in a real-time
search, if they fit better for the current control task than application is for learning in contrast to its traditional
the existing parameters. The purpose of the fixed FLC, use, optimization. Therefore, any good solution found
which is designed off-line, is to ensure the stability. within the available time would be acceptable though it
may not be the optimum solution. Based on the above
3. Design of Fuzzy Controllers Using Genetic
observations, we propose a new strategy for effectively
Algorithms
using the available computing time. Instead of
I - FUZZY Controller -1 formulating a separate genetic search to locate
membership functions at each control time step, a
perpetual evolutionary process that continues through
control steps is maintained. Appropriate membership
functions are located at each control step by dynamically
focusing the evaluation criteria of this continuous
evolutionary process on “immediate control task”. At a
given time point, the available best fitting individual for
I U U I the current task is accepted as the solution. Figure 3
Fig. 2 Fuzzy logic controller shows an outline of the proposed algorithm. The goal of
Figure 2 illustrates arrangement of a fuzzy controller. the genetic search changes with the time responding to
The two inputs to the fuzzy controller are control error changes in the environment. These changes in the goal
may induce an acceleration or deceleration in the
e and the rate of change of control error e . The output evolutionary process.
of the fuzzy controller is the input to the controlled
process, LI. In addition to the fuzzifier, rule base, If the process error becomes greater than a specified
inference engine, and defuzzifier, it needs a set of scaling threshold, adaptive process starts causing the activation
factors to normalize the input and output data. Usually, of search. When activated, GA tuner gets information
the output of the defuzzifier is directly input to the plant. about the current plant status and modifies the objective
However, the configuration shown in Fig 2 has the of the search to suit for current control task. This is
characteristic of a parameter time varying PID controller achieved by modifying the starting point, the reference
due to the integration term at the output and exhibit trajectory, and period of time (I”,,,,,)for controlling the
superior performance [SI. simulation model during the fitness evaluation. Then the
number of generations to evolve in the present control
The complete design of the fuzzy controller involves time step (G,rie,,)is chosen depending on the selected
deterinination of the scaling factors, input and output simulation length. To comprehend this, see Fig 4, which
fuzzy partitions, membership functions, and the rule illustrates a possible choice of reference trajectory. If the
base. The most straightforward approach is to define current operating point is at point OP,, which is far from
rules and membership functions subjectively using expert the set point, we are interested in a controller that can
knowledge and testing the design for specified
performance. This however, is a difficult task in most begin
cases due to inadequate control knowledge. Recently, set index g=O
CAS have been successfully used to obtain optimum initialize the population P(g)
initialize fixed-flc with the off-line design of FLC
parameters for FLCs. This requires representation of the initialize variable_flc with the off-line design of FLC
parameters to be searched in a coded string. A suitable while (plant in operation) do
objective f’unction is required to evaluate the fitness of begin
if (error > errorm,”)
competing FLCs represented as a population of strings. begin
Usually, fitness is coinputed as a weighted sum of the get the current plant status
suimnations of squared errors and efforts when the FLC set starting point and simulation scenario
is used to control a simulation model of the actual set simulation length TSi,
set number of generation for this control step Gstep
process. evaluate P(g) for current control task
set index g’=O
4. Perpetual Evolution as a Strategy for Real-time while (g’c G S e , )do
Adaptation of Fuzzy Controllers begin
g g+1, g’=g’+1
Once the structure and scaling factors are fixed, the select P(g) from P(g-1)
response of a fuzzy controller can be fine-tuned via the recombine P(g)
evaluate P(g) for current control task
adjustment of membership functions. Genetic algorithms, end
which were used to locate optimal membership functions select the best Individual p
during the off-!he design, are difficult to use for real- evaluate variable-flc for current control task
time adaptation due to associated long computation evaluate fixed-flc for current control task
iffitness(p) > fitness(variab1e-flc) then
times. However, we noticed that faster convergence can begin
be achieved, if the genetic search is initiated with a replace variable-flc by p
population having high average fitness. It was also end
compute fitness(variab1e-flc) / fitness(fixed-flc)
observed that when GA is used to optimize FLC end
parameters, much of the coinputation time is used for the end
simulations during the fitness evaluation. Further, we Fig. 3 Algorithm for adaptive fuzzy control

798
bring the plant as quickly as possible towards the set is controlled by adjusting the heater's power level.
point. So in such a situation the simulation length can be Dynamic equations for this nonlinear process are
restricted to T\ir7L!.
On the other hand, if the plant is obtained from [9].
operating at point OP3 , which is very close to the set
The design of complete control system comprise of the
point, we are interested in a controller that is capable of
stabilizing the plant at the set point. In this case an following major steps: identification experiment to
obtain ANN training data, development of neural
extended simulation time (ex. TlLnz3) is required to
adcquatcly test the fitness of a prospective controller. network model, design of fixed fuzzy controller by using
T
CA off-line, and the design of CA tuner. It should be
noted that the development of ANN model itself is an

.,'
imposing task for a complex system, though that topic is
not discussed in this paper.
plant set poin!....-0 O P ~
,, 7 ....
. . ..... . . .. . . Design of fixed fuzzy controller
I, The standard genetic algorithm was used to find the
parameters for the fixed fuzzy controller, including
scaling factors, number of fuzzy partitions for error and
error rate, and the membership function parameters. The
coding scheme used resulted in a real valued string of 39
bit positions. Crossover and mutation operations
described in [4] were used on the real valued strings with
probabilities of 0.99 and 0.02 respectively. Population
size was set to 100. GA was terminated after 100
generations. Previously (obtained neural network model
was used for evaluation with thc following objective
function.
c
v= ..
1 1

I =o ,=I1

+ (F, - N e . N , )
Where r is the reference, y is the plant output, U is the
controller output and N e and N , are the number of
fuzzy partitions of the inputs e and e respectively. F,, F2
and F3 are constants. After setting an upper limit of 11
for N e and N e , F3 was set to 121, which is the
maximum possible nuniber of rules in a controller.
Proper values for F , and. F2 could be selected only after
few trail runs.
Design of GA tuner
The variable fuzzy controller was initialized with the
parameters found for the fixed fuzzy controller in the
previous step. In our experiments, adaptation was
restricted only to membership functions, keeping the
structure and the scaling factors fixed. When the bit
positions for scaling factors and the number of input
partitions are omitted, the length of a chromosome
reduces to 33 bits. In order to minimize the computation
time, population size was set to 30, takmg into account
the guidelines suggested in [3] for minimum population
size. The probabilities of crossover and mutation were
set as 0.99 and 0.02 respectively. Many control
performance specifications such as overshoot, rise-time,
settling time, etc. are specified related to the step
response. Therefore, a reference trajectory similar to that
shown in Fig 4, which include two step changes in the set
point, was used for evaluating the fitness of competing
controllers. Simulation length, set point changes and
number of generations per control step were chosen as
F i g 5 Chemical reactor system used for simulations given in Table 1 for the ;simulation experiments.

799
Fable 1 Choice of T,,, and GIrep plant output, though it appears to be trying to compensate
Error (e) Simulation Set point changes Gem for disturbances.
length (Ar)mollm3 per step These oscillations in the process output may have caused
by the process of adaptation itself, when changes occur
0 5<e<6 0 +5 at 150, -15 at 225 in the controller parameters. Unlike iii adaptive schemes
60<e<110 t 5 at 150 where parameter changes occur gradually, GA may select
11 O<e None a completely different parameter set for the next control
step, if it shows a better fitness for the current control
Simulation results task. The fixed FLC was made used to suppress this
effect by computing the final output of the control system
In the first simulation experiment, the final output of the as given below.
controller was determined as following. If the fitness of
fixed FLC is greater than that of the variable FLC for the 1.1 = O.U/i,& + (1 - Q).uvarLnb,e (7)
current task, the output of fixed FLC is applied to the 1
plant. Otherwise the output of variable FLC is applied to a = l+[fit(variable_fc)lfit(fixed- f c ) ] (8)
the plant. This appeared to be the most logical approach
in the first instance. During the experiment, two product The second simulation was a repeat of the first
concentration set point changes of +21 and +I5 were experiment but with the new scheme for computing the
effected at 800 inin and 1800 min respectively. In final controller output. The simulation results are shown
addition, disturbances were introduced by increasing the in Fig 7. The names of the curves have the same meaning
feed flow rate from 0.5 to 0.7 at 200 min and then by as in the previous case. It can be seen that the adaptive
decreasing the feed flow rate to 0.45 at 1100 min. Figure control system shows very nice performance this time.
6 shows results obtained from the simulations. The Performance at the points where feed flow changes were
curves named “without feed flow change”, “static”, and introduced has significantly improved over that of the
“adaptive” are referred to the variation of product nonadaptive controller. Step response of the system has
concentration when controlled only using the fixed FLC also improved with less overshoot and slightly shorter
for the case of no disturbances, controlled using only the rise time. A good coordination between the fixed and
fixed controller, and controlled with the proposed variable FLCs is evident where variable FLC assists to
adaptive control system respectively. Contrary to our improve the performance of fixed FLC while fixed FLC
expectation, the adaptive control system showed very helps to smooth out the response of variable FLC.
poor performance introducing lot of oscillation into the
570
570 1 560
0

E 550
1

v
540
4 530
520
510
0 400 800 1200 1600 2000
0 400 800 1200 1600 2000 time (min)
time ( m i n ) ...........,.“,, no UA change static -adaptive
ll__l

no feed flow change ---static -adaptive


Fig. 8 Variation of product concentration in experiment 3
Fig 6 Variation of product concentration in Experiment 1

570 7

0 400 800 1200 1600 2000


0 400 800 1200 1600 2000 time (mi.)
time (min)
-alpha
set point --+ controller
UA
updates
- no feed flow change static -adaptive
Fig. 9 Variation of UA, set point, CL, and instances of variable FLC
Fig 7 Variation of product concentration in experiment 2 parameter updates during experiment 3.

800
In the third experiment, an unmodeled disturbance was framework. However, there are numerous aspects of this
introduced by changing the value of heat transfer technology that must be further investigated.
coefl‘icieiit between the reactor and heating water system
(deiioted by UA). Performance was examined under two References
types of variations in UA: first a gradual reduction of UA [ I ] Linkens D.A., Nyongesa H.O., “Learning Systems in
at a rate of about 0.01% per control step was introduced Intelligent Control: An Appraisal of Fuzzy, Neural and
during the time interval from 100-350 min, and then a Genetic Algorithm Control Applications”, IEE
step drop of 16% was introduced at 1200 min. Further, Proceedings on Control Theory, Vol. 143, No. 4, July
two product concentration set point changes of -15 and - 1996, pp. 367-386.
20 were effected at 800 min and 1800 min respectively.
The results of this experiment are shown in Figs 8 and 9. [2] Dumitrache I, Buiu (2. , “Fuzzy Controllers: From
The curve named as “without UA change” refers to the Manual Design and Tuning to Geno-Fuzzy Control”,
case of using fixed FLC for controlling the plant without Pre-Prints of IFAC Symposium on Artificial Intelligence
disturbance. Other two curves have the same meanings as in Real Time Control ’97, 22-25 September 1997, Kuala
in the previous cases. Once again the response of the Lumpur, Malaysia.
adaptive controller show improved performance [3] Man K.F., Tang :K.S., Kwong S., “Genetic
compared to the non-adaptive case with respect to Algorithms: Concepts and Applications”, IEEE
disturbance rejection. However, at the last set point Transactions on Industrial Electronics, Vol. 43, No. 5,
change, adaptive controller gives a slightly larger October 1996, pp. 519-53:3.
overshoot. This experiment shows the importance of the
on-line ANN model and its ability to learn unmodeled [4] Hanebeck U.D., Schmidt G.K, “Genetic Optimization
phenomena that occur in the process. The variation of a of Fuzzy Networks”, Fuzzy Sets and Systems, Vol. 79,
shown in Fig 9 suggests that there is more contribution to 1996, pp. 59-68.
controller output from variable FLC during the [ 5 ] Homaifar A., McCornlick Ed, “Simultaneous Design
transients. The instances when the parameters of variable ol‘ Membership Functions and Rule Sets for Fuzzy
FLC were updated by GA tuner are shown by “+” marks. Controllers Using Genetic Algorithms”, IEEE
Concentration of “-t”marks around the transients also Transactions on Fuzzy Systems, Vol. 3, No. 2, May
suggests the effectiveness of the proposed GA tuner. 1995, pp. 129-138.
In application of the proposed adaptive control system [6] Kim J., Zeigler B.P., “Designing of Fuzzy Logic
for a particular process, the control engineer has to Controllers Using a Multiresolutional Search Paradigm”,
develop a proper scheme for evaluating trial fuzzy IEEE Transactions on F:uzzy Systems, Vol. 4, No.3,
coritrollcrs. The number of generations per control time August 1996, pp. 213-2261.
step has to be specified considering the sampling rate and
the speed of the control computer. Simulation results [7] Karr C.L., Jain L.C., “Genetic Learning in Fuzzy
indicate that the proposed adaptive technique works Control” and “Cases in Geno-Fuzzy Control”, Hybrid
satislactory even with the extremely small values chosen Intelligent Engineering Systems, Editors Jain L.C and
for Cne,, (2-4 generations compared to over 100 Jain R.C, World Scientific, Singapore, 1997.
generations in traditional GA). We expect improvement [8] Qiao W.Z., Mizunioto M., “PID Type Fuzzy
in the performance if some memory element is employed Controller and Parameters Adaptive Method”, Fuzzy
in CA tuner to keep copies of best performing Sets and Systems, Vol. 78, , 1996, pp. 23-35.
individuals classified according to some criteria and
introduce those into the population under similar [9] Fan, J.Y., Nikolaou, Pd., and White, R.E., “Approach
situations. to Fault Diagnosis of Chemical Process via Neural
Networks”, AIChE Journal, Vol. 39, No. 1, Jan. 1993.
6. Conclusion
In this study, the objective was to utilize GAS as a tool to
provide real-time adaptive capabilities to a fuzzy control
sys#tem. Architecture of an adaptive control system
consisting of an on-line ANN process model, a GA tuner,
a fixed FLC and a variable FLC was presented. Perpetual
evolution of a population of competing FLC’s using
dy nainic evaluation criteria was introduced as a strategy
for efficiently using the available computing time when
using GA for real-time control. The proposed technique
was used to develop a GA tuner which alters the
membership functions of a FLC in real-time and its
effectiveness was investigated by using this system to
control a sirnulation model of a chemical process. The
sirnulation results, which showed improved control
performance with the proposed adaptive control system,
indicate that GAS can be successfully used to provide
FLCs with real-time adaptive capabilities in the proposed

80 1

Vous aimerez peut-être aussi