Professional Documents
Culture Documents
On The Choice of Membership Functions in A Mamdani-Type Fuzzy Controller
On The Choice of Membership Functions in A Mamdani-Type Fuzzy Controller
On The Choice of Membership Functions in A Mamdani-Type Fuzzy Controller
KEYWORDS
Fuzzy control, membership function, completeness, elicitation, sensitivity.
ABSTRACT
It is well-known that the choice of membership functions is a key problem in the design
of a fuzzy controller. The aim of this paper is thus to give a further contribution in this
direction. In particular, the performance of the Mamdani-type fuzzy controller with piece wise
linear membership functions is discussed in details, taking into account features such as
overlapping, completeness level, sensitivity and convergence of control. A discussion on the
most common elicitation methods is also performed.
ON THE CHOICE OF MEMBERSHIP FUNCTIONS IN
A MAMDANI-TYPE FUZZY CONTROLLER
Bernadette Bouchon-Meunier, Mariagrazia Dotoli, Bruno Maione
1. INTRODUCTION
One of the long standing problems of fuzzy control consists in the high number of
choices necessary to define the fuzzy controller (tuning). If the designer does not dispose of
some general criteria to follow, then the fuzzy controller (FC) is characterised by some
arbitrariness.
The designer must choose the type of fuzzification (singleton or non singleton), the
number of membership functions, the functional forms of the membership functions (piece
wise linear, Gaussian, sigmoidal), the parameters of the membership functions (fixed or tuned
during a training procedure), the conjunction operator (t-norm, t-conorm), the implication or
inference operator (Mamdani, Larsen), the aggregation operator (t-norm, t-conorm) and the
INFERENCE ENGINE
RULE BASE
INFERENCE
Fuzzy Input Fuzzy Output
1
fA fB fC fD fE fF fG
0.5
completeness
ε =0.5 y
universe of discourse
FIGURE 2. COMPLETENESS OF A SET OF FUZZY SETS
On the grounds of some heuristic considerations, some authors [7] suggest a minimum
completeness level ε = 0.25, others [9] suggest an average completeness ε = 0.50, arguing
that, in this case, for every value of the input there is always a dominant rule, i. e. with a
membership grade for that input greater than or equal to 0.5. Generally speaking, it is clear
that when completeness decreases there are more regions in the universe of discourse
characterised by a low maximal truth degree of the rules they activate, thus creating the risk of
an inefficient control. On the other side, when completeness increases, there are zones
characterised by some useless, if not harmful, redundancy.
Mizumoto [9] showed that, for a first order system with a time constant T (equal to
twenty seconds) and a dead time Td (equal to two seconds), when we have a variation of the
width W of the fuzzy sets belonging to set T, the control results vary too. A low width W,
corresponding to entirely separated sets (null completeness), generally leads to bad control
results: the output does not converge to the set point and a null control is obtained, since the
problem is not solvable. On the contrary, as W increases, i. e. as the completeness level
increases, the sets overlap more and more and we obtain convergence, but the step
response overshoot becomes important.
It is therefore convenient to use fuzzy sets of significant but not too high width, in such
a way that they can be fuzzily separated, that is with a limited overlapping.
Let us remark that what Mizumoto suggested in [9] can be easily applied to the concept
of completeness, as, if the middle point of the support of each fuzzy set describing an attribute
remains unchanged with a variation of W, high values of the width W correspond to high
values of completeness ε and vice versa. This leads us to conclude that, as an average width
W is needed, a completeness around ε = 0.5 is probably the best from the point of view of
control.
3. FURTHER INSIGHTS
In spite of the existence of all these methods, the problem of translating fuzzy logic
linguistic terms to membership functions still remains partially solved. The proliferation of
the many methods listed before clearly shows that none of them is completely satisfactory.
Apart from these general methods of defining a membership function, there is a method
described in [10] that can be used when, having already obtained a membership function with
one of the methods listed from 1. to 3., it remains defined only over some elements of the
universe of discourse, while we want it to be defined over all the set. In other words, we
suppose to have a membership function f :X → [0,1] defined only over some points
x 1 <...< x n of the definition set. Therefore we know some values f (x i ) ∈ [0,1] and some
intervals in which f ( x ) = 0 and f ( x ) = 1. For instance, in the description of the membership
function associated to the idea "small", besides the values f (x i ) ∈ ]0,1[ , there are some values
of x that are definitely big (f ( x ) = 0 ) or, on the contrary, small (f ( x ) = 1).
In short, the membership function is defined only for some points. Some interpolation is
therefore needed to have a definition of f on all X. How can we accomplish this?
In [10] it has been remarked that the values f (x i ) are someway inaccurate, as they are
the result of a measure. It is therefore reasonable to choose the rest of the values of f ( x ) in
such a way that a variation of a value of x leads to the smallest change to the value of f ( x ) ,
thus adding the least possible uncertainty to the membership grades. In other words, the
membership function must be as less sensible as possible.
In [10] it has been shown that piece wise linear functions are the least sensitive in this
sense, where sensitivity is defined as
2
df
S( f ) = ∫ dx
dx
X
where we pass over the necessary properties of differentiability of f.
It is now clear why in fuzzy control membership functions are often piece wise linear:
they are the most efficient from the point of view of sensitivity.
4. CONCLUSIONS
We focused in this paper on the choice of membership functions in a Mamdani-type
fuzzy controller, with particular regard to the performances achieved when piece wise linear
membership functions are used.
A discussion on the most common elicitation methods was performed. We came to the
conclusion that, whatever method we use to determine the membership functions, it is
suitable to use some piece wise linear functions, that lead to a lower sensitivity to an error
measure made in their determination. Furthermore, the minimum completeness level required
is ε = 0.25 , which guarantees the convergence of control, and a maximum completeness
ε = 0.5, which gives a lower overshoot and a lower settling time of the time response.
In conclusion, it seems to us to have, in this session, pointed at some general results that
can help the designer in choosing the membership functions while planning the framework of
a Mamdani-type fuzzy controller. Nevertheless, much remains to be done in this direction:
many results we pointed at can be applied only to control some particular systems, whereas
many others make it possible only to reduce the choices to be done. For these reasons,
simulation still is a valuable tool for the designer and should always be made before an
effective control of the system. Much remains to be done on these subjects in the future: a
larger number of simulations could for instance help in reducing the problem to several
classes of peculiar case studies, each characterised by the controlled system.
References