Supervisory Fuzzy Logic Controller Used For Process Loop Control
Supervisory Fuzzy Logic Controller Used For Process Loop Control
Supervisory Fuzzy Logic Controller Used For Process Loop Control
SYSTEM
M. ABD EL-GELIEL .Prof M. A . El-Khazendar
Arab Academy for Science and Technology Tanta University
D e p m e n t of Electric and control Eng. E e c .Power &Machine Dept.
P.O.1029 Miami, Alexandria, Egypt Tanta, Egypt
[email protected]
- m a khazendar@,hotmail.com
Abstract - In this paper, the designed schemes for two dependant on the experience of the individual operator [IO].
Mamdani fuzzy controllers, employing the scaling factor The development of controllers capable of generating tuning
tuning are proposed. The first fuzzy logic controller, is a parameters of fuzzy controller to obtain the desired dynamics
normalized controller used to control the process loops, for the plant is of a great importance. There are many
the tuning for its input and output-scaling factors is done parameters can be adapted on line in fuzzy controller
through the second fuzzy controller (the supervisory (universe of discourse, FIS, FAM, etc.) some of the
controller). The supervisory fuzzy controller tunes the adaptation methods (proposals) in [4,9,11,12]. Adjustable
normalized fuzzy controller based on the variation of the scale factor of normalized fuzzy controller [4] are one of the
loop response. adaptation parameters. Some of the scale factor selection
The normalized fuzzy controller and the supervisory methods are explained in [4,13,14,15]. In this work, a fuzzy
fuzzy controller are organized with specific experience controller that self-adapts the parameters, mainly the input
information ahout a nonlinear thermal process. The and the output gain coefficients is proposed, using only
proposed fuzzy controllers are applied practically to qualitative knowledge of the plant. The controller will start
control the thermal process. That controller is applied to with a set of fixed parameter (normalized fuzzy controller
another process (level control process), where the with input scale factor and output scale factor) and through
controller gains are selected based on the process the supervisory fuzzy controller, the scale factors of the
conditions and limitations. normalized fuzzy controller are adjusted or adapted. The
The great advantage of that contribution is the ability adaptation of scale, factors are done by two methods, the
to he generalized for different process variable loops in output-input scale factors are tuned due to the error between
Multi-inpuuoutput system o r any DCS system. The the reference input and actual output firstly. Finally input-
supervisor here make a decouple between the process output scale factors are tuned according to the error between
Keywords: Normalized fuzzy controller, supervisory the desired response ad the actual response (model reference
fuzzy controller, scaling factor tuning, and DCS systems adaptive technique)[l7]. This adjustment is accomplished in
control loop. continuous time. The analysis of the robustness of the
proposed algorithms is performed for different real-time
1- INTRODUCTION situation of the case study (Thermal process).
The same control algorithm is applied to control level
The dynamic characteristics of most control system are process with the same tuning parameters (with-out retuning
not constant because of several reasons, such as deterioration and prior information about the process) but the input-output
of components as time elapse or change in parameters and signal level is changed according to sensor and actuator
environment. A satisfactory system must have the ability to
voltages limits.
adaptation. Adaptation implies the ability to self-adjustment
The response in the two cases (level and thermal) is
or modification in accordance with an unpredictable change
acceptable. So this approach can he generalized in DCS
in the condition of the environment or structure. In many
system to control different loops (variables).
cases, the physical measurements of the pertinent quantities
are very difficult and expensive. These difficulties lead to 2- NORMALIZED FUZZY CONTROLLER AND
explore the use of "Artificial Intelligence" (AI) [l-4] as a
SUPERVISORY CONTROLLES
way of obtaining models based on the experimental
measurements. One of the superior capabilities of fuzzy The first stage of the fuzzy controller operation is the
system, as an AI technique, is that it can use the information fuzzification and the last one is the defuuification. On both
expressed in linguistic pattem [I-81. Though most fuzzy stages, the membership functions that describe the different
system have been formed to emulate human decision making values of the linguistic variables are applied. To choose
behavior, the linguistic information stated by an expert may membership function, first of all one needs to consider the
not be precise, or it may be difficult for the expert to universe of discourse for all the linguistic variables, applied
articulate the accumulated knowledge to encompass all to the rules formation. To specify the universe of discourse,
circumstances. Hence, it is essential to provide a tuning one must frstly determines the applicable range foe the
capability [9] for fuzzy system to generate or modify the characteristics variable in the context of the system designed.
controller parameters on line in real system and it is an It is usually desirable to scale, or normalize, the universe of
important issue in intelligent control. Thus, the human discourses of an input/output variable, where a reasonable
operator (supervisor) is often required to provide on line choice of one case can be unsuitable for another case of the
adjustment, which makes the process performance greatly system operation. Normalization means applying the
6- REFERENCE
264
standard range of [-I, + I ] for the universe of discourses of
the inputs and the outputs. The structure of the fuzzy
controller is shown in Fig. 1. controller
- - - - - - - - - _ - _ - .._ .. !
I, . .. . . .. .. .. .. .. . . .. . . .. ..
I Controller I 1
71 ~
\
Normalized
Output
fuly
controller scale
factor
I
Crisp Crisp
input Process or object output
under control
Fig. 2 Over-all Block of the process and supervisory fuvy
controller with the same inout Siena1 ofthe main controllers
Fig, 1 Block diagram of normalized fuuy controller
Model
265
The required process temperature (set point) is adjusted by The two experimental process tested in this work are a
gradual dial on the panel. The error signal is suitably simulation model of two process variable (temperature and
amplified to drive a temperature deviation of 200mv for one level) in actual liquefied petroleum gases recovery process in
degree centigrade of the temperature error change. The petrochemical industries. The system is exposed to a variable
control of the power to the process heater is achieved using condition irregularly so the exist controller (mainly PI) not
thyristor circuit operating in burst firing mode, which suitable.
transforms the control signal of +IO v from the controller to
0-220V to the heater. The schematic diagram of the process
4- EXPREMENTAL WORK
is shown in Fig. 4.
The level process is a continuous process. The apparatus The first parameter of the fuzzy logic controller (FLC)
consists of level tank driving pump and two electric valves, was obtained from a manual tuning of process that gave the
one for feedback water and the other for output water flow most appropriate response [16]. Fig. 6 shows the normalized
rate driven by their positioning units. The control problem membership function of inputs and outputs signals of the
investigated is that to maintain the tank level constant under FLC and Table 1 shows the fuzzy rule base. The process
variation of output water flow rate. The required process response for step input 30"c and 50% flow rate cooling
level (set point) is adjusted in the controller. The actual level waters and using static fuzzy controller described above is
is measured using level sensor. The level signal is suitably shown in Fig. 7. Using supervisory fuzzy controller to tune
amplified to drive 50mv for one percent of the tank capacity. the main fuzzy controller output scale factors, with
The controller output signal is 0-5 volt to operate the membership function is shown in Fig. 8, and the rule base is
feedback valve and the feeding pump is supplied from shown in Table 2. These parameters are selected according to
constant 22OV AC supply. The schematic diagram of the the experience and manual tuning results. The input signals
process is shown in Fig. 5 .
c-"- .. Digital
for both the supervisory controller and the main controller
are the same but the outout is the new scale factor. The block
supply diagram of the overall control system is shown in Fig. 2. The
controller
~ 220 V system response using supervisory controller for step input
5O"c and different cooling water flow rates (disturbance
case); i s shown in Fig. 9 when scale factor for inputs fixed to
IO and 20 respectively. The results show the robustness of
Thermometer
~ ..... .......... ~ ~ ~ ~ . . . ~ . . the supervisory fuzzy controller
TABLE 1
FUZZY ALLOCATION MATRIX OF
NORMALIZED FUZZY CONTROOLER
roportional NB NM Z PM PB
~ Drain valve
I ...... ~.~~~~
................... ~ ...............
. ~ .~ ~ ~ ~~ ~~ . . .
Process
Fig. 4 Schematic diagram ofthermal process
@MA
-I -0.5 0 0.5 I
NM PM PM
Z PM PM Z NM NM
PM Z NM NR NB
PM Z NM NB NB NB
I- -7-7 I
the supervised system. The relation between each output
Fig, 5 Schematic diagram of level process from the supervisory controller and its input signal is
specified according to the tule base in Table 2. Each output
membership functions are taken as shown in Fig. 8 for all
outputs. By comparing both results, the system response is
266
improved in case of tuning the input and output scale factors
simultaneously, where the overshoot is reduced. Table 2
The output gains of the supervised fuzzy controller, in all FUZZY ALOCCATION MATKIX OF
of the responses obtained, depend on the error signal SUPERVISORY FUZZY
between the reference input to the process and the actual
output. In this case the system response performs accepted
specification but if it is desired to force the over-all system to
achieve a desired specification such as overshoot, rise time
etc ... the output gains should be related to that
specifications. Model reference adaptive technique Fig. 3 is H H
one of the adaptation methods used to force the system
performance to the desired specifications. If the reference
output was taken as a second order system with 2%
overshoot and 150 sec rise time. Fig.1 I shows the forcing of
the system for different operating condition of the process - 100
50% and 80% cooling water flow rates. Fig. 12 shows the - 90
system response for step input 2O"c and different cooling - 80
water flow rates (disturbed case). The results show the - 70 Cooling
robustness of the model reference supervisory fuzzy - Water
60 Flow
controller. By analysis the results, the supervisory controller
improve the system performance, but if it is desired to
- 50 Rate
controller is preferred.
- 30
- 20
30
- 10
25 ' 0
o 400 eo0 1200 1600 2000
l
2. .. ... .i" i:2 ~ .-.>;.J -..*..: ..... ~:&.i
L_. ._.I AI t
Time (sec)
Time (sec)
Fig. 7 Normalized fuzzy controller response (without
supervision)
N Z P N Z P
b) Kate of error
x
a) Error
Time (sec)
267
Applying the supervisory fuzzy controller based on the
i(55 variation of the output response to the level process in Fig. 5
I
with the same parameter used in the thermal process with
150
i
changing the controller output to 0-5V corresponding to 0%-
output
Temp
I 45
100% opening of the feedback valve and the sensor signal
level 0-5V corresponding to 0%-100% level. The level
(“c) A0 response for step input 60% and disturbed suction valve is
i shown in Fig. 13. The variation of scale factor of input and
i
i
L
35
30
output of the supervisory controller is shown in Fig. 14. It is
no need to apply model reference adaptation technique in this
case where the system achieves the best performance with
I minimum rise time and 0% overshoots.
After testing the supervisory fuzzy controller in thermal
0 200 400 600 800 900
and level process without prior information about the level
I. ._.,~ - -._-~
268