Professional Documents
Culture Documents
Introduction (1)
Fuzzy inference is a computer paradigm based
on fuzzy set theory, fuzzy if-then-rules and fuzzy
reasoning
Applications: data classification, decision
analysis, expert systems, times series
predictions, robotics & pattern recognition, which
all of them are Decision Making systems!
Different names; fuzzy rule-based system, fuzzy
model, fuzzy associative memory, fuzzy logic
controller & fuzzy system
2
Introduction (2)
FIS was 1st devloped by Mamdani at 1975.
He used FIS to control a steam engine &
boiler combination by a set of linguistic
control rules obtained from experienced
human operators
Introduction (3)
Conventional computing system use function
as the representation of the process. Such as:
Where g(x,y) could be any function. Such as:
Z = g(x,y) = 2*x + 1/y;
Introduction (4)
But for FIS, the process itself is not in a
mathematic function, but rather than a
combination of calculation with rule base. In
short, if can be called as computing with
words.
Inference Engine
Process to calculate the possible value of
OUTPUT MFs based on the rules given.
Generally we have two type of Inference Engine
Mamdani Fuzzy Model
Sugeno Fuzzy Model
7
Defuzzification
It is a process to calculate the final output based on the
fuzzy values calculated by Inference Engine (that
associated with Rule Base). The are many methods of
defuzzication such as:
Centriod of Gravity (COG), Also know as Center of
Area(COA) (Mamdani)
Mean of Maximum (MOM) (Mamdani)
Weighted Average (WA) (sugeno)
8
10
11
12
13
14
15
16
17
18
19
20
10
tip*(MOM) = 27.8
21
22
11
23
Example 2 (1)
A two inputs (x, y) and one output (z) FIS is use for
control system. Given that the fuzzy values of z
after inference engine are:
and the MFs of z are given as
24
12
Example 2 (2)
Redraw the MFs of z, and shade the region of
interest (area) that will be used for defuzzication.
Find the final out z using COG and MOM.
25
Example 2 (3)
For COG, assume the sampling rate is 0.1.
26
13
Example 2 (4)
For MOM, assume the sampling rate is 0.1.
27
Exercise 1
Develop and solve the Example 1 using
Matlab Fuzzy Logic Toolbox. Find the
tip*(COG). Solving this question by
Manual Calculation will not be accept.
28
14
Rule base:
It must be changed because output is defined
as function rather than MFs.
29
15
32
16
33
17
35
Exercise 2 (1)
Consider a non-linear (XOR) classification:
(Manually) Develop a Mamdani Fuzzy Model that
able to solve this classification task.
36
18
Exercise 2 (2)
Your design of FIS must consider the
following issue:
MFs (number of MF, name of MFs, shape of
MFs)
What are the useful rules? How many of them?
Use both COG and MOM defuzzification
37
Exercise 3
Repeat Exercise 2, but using Sugeno
Fuzzy Model with Weighted Average of
defuzzification method.
Exercise 4:
Repeat Exercise 3 and 4 using Matlab
Fuzzy Logic Toolbox!
38
19
Remark (1)
We have covered several types of fuzzy
inference systems (FISs)
A design of a fuzzy inference system is
based on the past known behavior of a
target system
A developed FIS should reproduce the
behavior of the target system
39
Remark (2)
Examples of FIS
Replace the human operator that regulates &
controls a chemical reaction, a FIS is a fuzzy
logic controller
Target system is a medical doctor; a FIS
becomes a fuzzy expert system for medical
diagnosis
we will study more detail on Fuzzy Logic
Controller in next chapter.
40
20
Remark (3)
How to construct a FIS for a specific
application?
Incorporate human expertise about the target
system: it is called the domain knowledge (linguistic
data!)
Use conventional system identification techniques for
fuzzy modeling when input-output data of a target
system are available (numerical data)
41
Remark (4)
General guidelines about fuzzy modeling
A. Identification of the surface structure
i. Select relevant input-output variables
ii. Choose a specific type of FIS
iii. Determine the number of linguistic terms associated with
each input & output variables (for a Sugeno model,
determine the order of consequent equations)
21
Remark (5)
B.
22