Professional Documents
Culture Documents
!! !!! ! !! !
ℎ! ! =
!!
!! !!! ! !! !
ℎ! ! =
!! (1)
!! !! !!! !
!! ! =
!
!! !! !!! !
!! ! =
!
229
Table 1. Rule – base for the FLC PB. From figure 4, membership functions from left to
right are VS, S, B and VB.
Membership functions take part in the fuzzification
process. They determine the degree of pertinence to
"Valve
1
voltaje"
!!
which the input variables belong to each of the
appropriate fuzzy sets.
NB
VB
For the inference mechanism implication and
NS
B
aggregation methods were defined as minimum and
"error"
OK
B
maximum respectively. Implication relates the weight
! !
PS
S
of each input fuzzy set. Aggregation is the process by
PB
VS
which the fuzzy sets that represent the outputs of each
rule are combined into a single fuzzy set. [6]
The chosen defuzzification process combines each
NB stands for negative big, NS for negative small, of the outputs of the aggregation process with a
PS for positive small, PB for positive big. VB stands centroid operation. The centroid operation returns the
for very big, B for big, S for small and VS for very center of the area under de curve of the aggregated
small. OK represents an acceptable error tolerance. weights. [6]
The membership functions implemented can be Minimum to maximum voltages applied to
found in figure 3 and 4, input error ! ! and output proportional valve 1 were 0 Volts to 30 Volts. A
control voltage 1 !! respectively. saturation function at these levels was placed after the
FLC. The closed loop diagram of the implemented
FLC system can be observed in figure 5.
4. Results
Al results were obtained via simulation in MatLab
Figure 3. Input error FLC membership Simulink®. The TTHS model was implemented in its
functions differential equation form. As said previously the
controlled input to the system was proportional valve
voltage 1. Proportional valve voltage 2 was left
constant at a 30 V value. Input flux to tank 1, !! , was
left constant at a 0.0001 m3 value, leaving liquid level
of tank 1, ℎ! ! , the controlled output, with an initial
condition of 0.3 m. Simulation was performed for a 2.5
hours time, 9000 seconds.
A perturbation to the !! TTHS was also simulated
by modeling an abrupt times 5 input flux increase in
order to observe the control response. The simulated
Figure 4. Output voltage 1 FLC membership
input !! signal at t=5500 s with a 510 s duration can be
functions observed in figure 6. x axis is time in seconds and y
axis is water input flux in cubic meters.
From figure 3 membership functions related to each Error signal input to the FLC was obtained from
fuzzy set from left to right are NB, NS, OK, PS and equation (2). Sinusoidal form, square form and
constant value ℎ!! ! signals were tested in
230
simulation. These signals are presented in figure 7(a),
7(b) and 7(c) respectively. x axis is time in seconds
and y axis is desired liquid level in meters.
Figure 8(a) presents the FLC control performance
for the sinusoidal ℎ!! ! , figure 8(b) the square ℎ!! !
and figure 8(c) the constant ℎ!! ! signal. All figures
show below them a zoom where the disturbance is
located. The dotted line represents the desired value in
accordance to figures 7(a, b and c). The continuous line
denotes the achieved control response. x axis is time in
seconds and y axis is liquid level in meters.
(a)
(a)
(b)
(b)
(c)
231
action follows the desired liquid level value. Even
when the disturbance shown in figure 6 occurs, the
FLC design shows robustness which can be
appreciated in the zooms located below each control
response. These zooms show no important undesirable
behaviors that could affect the accepted error tolerance.
Figures 9(a), 9(b), and 9(c) present !! output FLC
signals for the sinusoidal, square and constant ℎ!! !
signals respectively.
(a)
(a)
(b)
(b)
(c)
232
5. Conclusions
A fuzzy logic control algorithm for a two tanks
hydraulic system was successfully tested in simulation
to achieve optimum performance.
The system performance for different desired
signals was tested to validate the adaptability of the
FLC to diverse operating states.
An input disturbance of a 5 times increase to the
TTHS’s input water flux was simulated to show the
FLC’s adaptability to this parameter variation.
Satisfactory performance of the FLC was
demonstrated achieving a rapid response to abrupt
desired liquid level signals with smoothness
characteristics near the desired value. Smooth voltage
response to proportional valve 1 was achieved without
any important chattering effects that could damage the
valve.
From the obtained results it should be assumed that
FLC is a good design approach to solve the control
requirements of non-lineal hydraulic plants and similar
systems with an intuitive heuristic analysis instead of a
mathematically complex one.
6. References
[1] S.K. Hong, and Y. Nam, “An LMI-Based Fuzzy Sate
Feedback Control with Multi-Objectives”, KSME
International Journal, Springer, Korea, 2003, pp. 105-113.
233