Professional Documents
Culture Documents
Fuzzy Inference Systems
Fuzzy Inference Systems
Fuzzy Inference Systems
Inference
Input Fuzzifier Defuzzifier Output
Engine
Fuzzy
Knowledge base
Fuzzy Inference Systems Inference
Input Fuzzifier Defuzzifier Output
Engine
Fuzzy
Knowledge base
The steps of fuzzy reasoning (inference operations upon fuzzy IF–THEN rules)
performed by FISs are:
1. Fuzzification: Compare the input variables with the membership functions on the
antecedent part to obtain the membership values of each linguistic label. (this
step is often called fuzzification.)
Fuzzy
Knowledge base
The rule base and the database are jointly referred to as the knowledge
base.
•a rule base containing a number of fuzzy IF–THEN rules;
•a database which defines the membership functions of the fuzzy sets
used in the fuzzy rules
Fuzzifier
Inference
Input Fuzzifier Defuzzifier Output
Engine
Fuzzy
Knowledge base
Inference Engine
Input Fuzzifier Defuzzifier Output
Engine
Fuzzy
Knowledge base
Fuzzy
Knowledge base
Fuzzy
Knowledge base
Fuzzy Input
Crisp Output
Fuzzy Inference Methods
The most important two types of fuzzy inference
method are Mamdani and Sugeno fuzzy inference
methods,
Mamdani fuzzy inference is the most commonly seen
inference method. This method was introduced by
Mamdani and Assilian (1975).
2. Rule evaluation;
4. Defuzzification.
Mamdani fuzzy inference
The Reasoning Scheme
Max-Min Composition is used.
Mamdani fuzzy inference
The Reasoning Scheme
Max-Product Composition is used.
Mamdani fuzzy inference
We examine a simple two-input one-output problem that
includes three rules:
Rule: 1 Rule: 1
IF x is A3 IF project_funding is adequate
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 inadequate
THEN z is C3 THEN risk is high
Mamdani fuzzy inference
Step 1: Fuzzification
■ Take the crisp inputs, x1 and y1 (project funding and
project staffing)
■ Determine the degree to which these inputs belong
to each of the appropriate fuzzy sets.
Mamdani fuzzy inference
Step 2: Rule Evaluation
• take the fuzzified inputs, (x=A1) = 0.5, (x=A2) = 0.2,
(y=B1) = 0.1 and (y=B2) = 0.7
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)
Mamdani fuzzy inference
Step 4: Defuzzification
x x dx
A
COG a
b
x dx
a
A
Mamdani fuzzy inference
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
2. Rule evaluation
3. Defuzzification.
Sugeno fuzzy inference: Steps
Consider a system with n implications (rules); the variable of
consequence, y, will have to be notated for each of these implications,
leading to yi variables of consequence. There are three stages of
computations in Takagi-Sugeno controllers:
FUZZIFICATION: Fuzzify the input. For all input variables compute the
implication for each of the rules;
INFERENCE or CONSEQUENCES: For each implication compute the
consequence for a rule which fires. Compute the output y for the rule by
using the linear relationship between the inputs and the output (y = p0 +
p1x1 + … + pkxk.).
AGGREGATE (& DEFUZZIFICATION): The final output y is inferred
from n-implications and given as an average of all individual implications
yi with weights |y= yi |:
y = (S |y= yi | * yi )/ S |y= yi |
Sugeno fuzzy inference: Example
Truth Value
Min (Premise 1 &
Rule Premise 1 Premise 2 Consequenc Premise2)
e
y y (i ) * y (i )
i 1,3
y
y y (i )
i 1,3
0.25 *17 0.2 * 24 0.375 *15
y 17.8
0.25 0.2 0.375
In Sugeno’s model, each rule has a crisp output, the
overall input is obtained by a weighted average – this
avoids the time-consuming process of defuzzification
required in a Mamdani model. The weighted
average operator is replaced by a weighted sum to
reduce computation further.