1
State of Libya
Al-Asmarya Islamic University
Faculty of Engineering
Electrical and Computer Engineering Department
Fuzzy Inferences System
Student:Mustafa EnwiderStudent:Ali Al-sharani
Student:Hisham Ali Student:Waleed Aleyan
Presentation of each of:
Fuzzy Inference System
.
Important Inference systems:
Mamdani
Sugeno
Sost Computing
2
Mamdani method
Themostcommonlyusedfuzzyinferencetechniqueistheso-called
Mamdanimethod.In1975,ProfessorEbrahimMamdaniof
LondonUniversitybuiltoneofthefirstfuzzysystemstocontrola
steamengineandboilercombination.Heappliedasetoffuzzy
rulessuppliedbyexperiencedhumanoperators.
.
lfuzzification of the input variables
lrule evaluation
laggregation of the rule outputs
ldefuzzification.
The Mamdani-style fuzzy inference process is performed in four steps:
Sost Computing
3
Sost Computing 4
We examine a simple two-input one-output problem that
includes three rules:
Sost Computing 7
Toevaluatethedisjunctionoftheruleantecedents,
weusetheORfuzzyoperation.Typically,fuzzy
expertsystemsmakeuseoftheclassicalfuzzy
operationunion:
A
B
(x) = max [
A
(x),
B
(x)]
Similarly, in order to evaluate the conjunction of the
rule antecedents, we apply the AND fuzzy operation
intersection:
A
B
(x) = min [
A
(x),
B
(x)]
Sost Computing 8A3
1
0
X
1
y1
0
Y
0.0
x1
0
0.1
C1
1
C2
Z
1
0
X
0.2
0
0.2
C1
1
C2
Z
A2
x1
Rule 3:IFx isA1 (0.5)
A1
1
0
X
0
1
Zx1
THEN
C1 C2
1
y1
B2
0
Y
0.7
B1
0.1
C3
C3
C30.5 0.5
OR
(max)
AND
(min)
OR THENRule 1:IFx isA3 (0.0)
AND THENRule 2:IFx isA2 (0.2)
yisB1 (0.1) zisC1 (0.1)
yisB2 (0.7) zisC2 (0.2)
zisC3 (0.5)
Mamdani-style rule evaluation
Sost Computing 15
nThereareseveraldefuzzificationmethods,but
probablythemostpopularoneisthecentroid
technique.Itfindsthepointwhereaverticalline
wouldslicetheaggregatesetintotwoequalmasses.
Mathematicallythiscentreofgravity(COG)can
beexpressedas:
b
a
A
b
a
A
COG
xxdx
xdx
Sost Computing 16
nCentroid defuzzification method finds a point
representing the centre of gravity of the fuzzy set, A,
on the interval, ab.
nAreasonableestimatecanbeobtainedbycalculating
itoverasampleofpoints.1.0
0.0
0.2
0.4
0.6
0.8
160170180190200
a b
210
A
150
X
Sost Computing 17
Centre of gravity (COG):4.67
5.05.05.05.02.02.02.02.01.01.01.0
5.0)100908070(2.0)60504030(1.0)20100(
COG
1.0
0.0
0.2
0.4
0.6
0.8
0 2030405010 70809010060
Z
Degreeof
Membership
67.4
Sost Computing 36
Sugeno-stylefuzzyinferenceisverysimilartothe
Mamdanimethod.Sugenochangedonlyarule
consequent.Insteadofafuzzyset,heuseda
mathematicalfunctionoftheinputvariable.The
formatoftheSugeno-stylefuzzyruleis
IF x is A
AND y is B
THEN z is f (x, y)
where x, y and z are linguistic variables; A and B are
fuzzy sets on universe of discourses X and Y,
respectively; and f (x, y) is a mathematical function.
Sost Computing 37
nMamdanimethodiswidelyacceptedforcapturing
expertknowledge.Itallowsustodescribethe
expertiseinmoreintuitive,morehuman-like
manner.However,Mamdani-typefuzzyinference
entailsasubstantialcomputationalburden.
nOntheotherhand,Sugenomethodiscomputationally
effectiveandworkswellwithoptimisationand
adaptivetechniques,whichmakesitveryattractivein
controlproblems,particularlyfordynamicnonlinear
systems.
How to make a decision on which method
to apply –Mamdanior Sugeno?