Fuzzy Inference System: J.Saminathan 1513419867 Department of ECE Anna University, Chennai
Fuzzy Inference System: J.Saminathan 1513419867 Department of ECE Anna University, Chennai
J.Saminathan
1513419867
Department of ECE
Anna University, Chennai
Fuzzy Inference System
A Fuzzy Inference System (FIS) is a way of mapping an
Fuzzy
Knowledge base
Fuzzy Knowledge Base
I nf erence
I nput Fuzzifi er Def uzzifi er Output
Engine
Fuzzy
Knowledge base
Fuzzy
Knowledge base
Inference Engine
Fuzzy
Knowledge base
Fuzzy
Knowledge base
Mamdani
Fuzzy models
Mamdani Fuzzy models
Original Goal: Control a steam engine & boiler
Defuzzifier
I nput Fuzzifi er Def uzzifi er Output
Engine
Fuzzy
Knowledge base
Rule: 1 Rule: 1
IF x is A3 IF project_funding is sufficient
OR y is B1 OR project_staffing is small
THEN z is C1 THEN risk is low
Rule: 2 Rule: 2
IF x is A2 IF project_funding is marginal
AND y is B2 AND project_staffing is large
THEN z is C2 THEN risk is normal
Rule: 3 Rule: 3
IF x is A1 IF project_funding is insufficient
THEN z is C3 THEN risk is high
Step 1: Fuzzification
The first step is to take the crisp inputs, x1 and y1 (project
funding and project staffing), and determine the degree to which
these inputs belong to each of the appropriate fuzzy sets.
1 1 B1 B2
A1 A2 A3 0.7
0.5
0.2 0.1
0 0
x1 X y1 Y
(x = A1) = 0.5 (y = B1) = 0.1
= 0.2 = 0.7
(x = A2) (y = B2)
Step 2: Rule Evaluation
RECAL:
To evaluate the disjunction of the rule antecedents, we use the OR
fuzzy operation. Typically, fuzzy expert systems make use of the
classical fuzzy operation union:
0 x1 X 0 Z
Rule 3: IF x is A1 (0.5) THEN z is C3 (0.5)
Step 3: Aggregation of the rule outputs
1 1 1
C1 C2 C3
0.5 0.5
0.2 0.2
0.1 0.1
0 Z 0 Z 0 Z 0 Z
z is C 1 (0.1) z is C 2 (0.2) z is C 3 (0.5)
Step 4: Defuzzification
Degree of
Membership
1.0
0.8
0.6
0.4
0.2
0.0
0 10 20 30 40 50 60 70 80 90 100
67.4 Z
Sugeno
Fuzzy Models
Sugeno Fuzzy Inference
In Mamdani FIS, it requires us to find the centroid of a two-
one.
Sugeno suggested to use a single spike or a singleton, as
input variable.
The format of the Sugeno-style fuzzy rule is
IF x is A
AND y is B
THEN z is f(x, y)
IF x is A
AND y is B
THEN z is k
where k is a constant.
In this case, the output of each fuzzy rule is constant.
singleton spikes.
Sugeno Rule Evaluation
1 1 1
A3 B1
0.1 OR 0.1
0.0
(max)
0 x1 X 0 y1 Y 0 k1 Z
0 x1 X 0 k3 Z
Rule 3: IF x is A1 (0.5) THEN z is k3 (0.5)
Sugeno Aggregation of the Rule
Outputs
1 1 1 1
0.5 0.5
0.2
0.1 0.2 0.1
0 k1 Z 0 k2 Z 0 k3 Z 0 k1 k2 k3 Z
0 z1 Z
Crisp Output
z1
Fuzzy Inference Systems
Tsukamoto
Fuzzy models
Tsukamoto Fuzzy models
• The consequent of each fuzzy if-then-rule is
represented by a fuzzy set with a
monotonical MF.
• Crisp output is weighted average of fuzzy
outputs
Tsukamoto fuzzy model
Case Study
Tumor Size MF