Académique Documents
Professionnel Documents
Culture Documents
6.1 FUZZIFICATION
Fuzzification comprises the process of transforming numerical
crisp inputs into linguistic variables based on the degree of membership to certain
sets. Membership functions are used to associate a grade to each linguistic term. The
number of membership functions used depends on the accuracy of the controller, but
it usually varies between 5 and 7 . In Fig.6.2 five fuzzy levels are used: NB (Negative
Big), NS (Negative Small), ZE (Zero), PS (Positive Small), and PB (Positive Big).
The values a and b are based on the range values of the numerical variable. In some
29
cases the membership functions are chosen less symmetric or even optimized for the
application for better accuracy.
The inputs of the fuzzy controller are usually an error (E) and the
change of the error (E). The error can be chosen by the designer, but usually it is
chosen as P/V because it is zero at the MPP. Then E and E are defined as
following equations (6.1) and (6.2).
P(k ) P(k 1)
V (k ) V (k 1) (6.1)
E=E(k)-E(k-1)
(6.2)
In other cases P/I is used as error or other inputs are
considered, where V and P are used. The output of the fuzzy logic converter is
usually a change in the duty ratio of the power converter, D, or a change in the
reference voltage of the DC-link, V.
30
NB
NS
ZO
PS
PB
NB
ZO
ZO
PB
PB
PB
NS
ZO
ZO
PS
PS
PS
ZO
PS
ZO
ZO
ZO
NS
PS
NS
NS
NS
ZO
ZO
PB
NB
NB
NB
ZO
ZO
6.3 DEFUZZIFICATION
The last stage of the fuzzy logic control is the defuzzification. In
this stage the output is converted from a linguistic variable to a numerical crisp one
again using membership functions. There are different methods to transform the
linguistic variables into crisp values. It can be said that the most popular is the center
of gravity method. For a sampled data representation, the center of gravity (D) is
calculated by the equation (6.3).
31
Dj .Dj
j 1
Dj
.. (6.3)
j 1
32