Вы находитесь на странице: 1из 21

FUZZY SYSTEMS

Fuzzy Washing Machine:


Comparison with Ordinary Washing Machines

FUZZY SYSTEMS
Fuzzy Washing Machine: Comparison with ordinary systems
How could we have approached this problem with ordinary
expert systems?
The nine rules would have been the same, but the values of
Dirtiness and Soil would have been crisp sets (fixed intervals)
If Dirtiness = x and Soil = xx, then Time = xxx

FUZZY SYSTEMS
If Dirtiness = x and Soil = xx, then Time = xxx

FUZZY SYSTEMS

Fuzzy Washing Machine: Comparison with ordinary systems


For the specific measured values of D and S, we check the
rules

FUZZY SYSTEMS

Fuzzy Washing Machine: Comparison with ordinary systems


The only rule fired would have been:
If Dirt = Low & Soil = Medium then Time = Short

FUZZY SYSTEMS
Fuzzy Washing Machine: Comparison with ordinary systems

FUZZY SYSTEMS
Fuzzy Washing Machine: Comparison with ordinary systems
In non-fuzzy washing machines only five fixed timer settings
would have been possible
In the fuzzy case we have the whole range from 0 to tmax

FUZZY SYSTEMS

Fuzzy Controllers

FUZZY SYSTEMS
Controllers
A controller is used to control some system, or plant
The system has a desired response that must be maintained
under whatever inputs are received
The task of the controller is then to take corrective action by
providing a set of inputs that ensure the desired response

FUZZY SYSTEMS
Main Components

Fuzzy Rule Base


Condition Interface (fuzzifier)
Action Interface (defuzzifier)
Inference Engine (fuzzy controller)

FUZZY SYSTEMS
Main Components
Fuzzy Rule Base:
The rule base, or knowledge base, contains the fuzzy rules
that represent the knowledge and experience of a human
expert of the system
Condition Interface (fuzzifier):
The fuzzifier receives the actual outputs of the system, and
transforms these non-fuzzy values into membership degrees
to the corresponding fuzzy sets. The fuzzification of the input
values also occurs via this interface

FUZZY SYSTEMS
Main Components
Action Interface (defuzzifier) :
It defuzzifies the outcome of the inference engine to produce
a non-fuzzy value
Inference Engine:
The inference engine performs inferencing upon fuzzified
inputs to produce a fuzzified output

FUZZY SYSTEMS
Mamdani Fuzzy Controller
Developed by Mamdani & Assilian in 1975. Mamdani-type
controllers follow the following simple steps:

FUZZY SYSTEMS

Alternate Type of Inference:


Max-Product Inference

FUZZY SYSTEMS
Max-Product Inference
Let

A = [0/100, 0.5/125, 1/150, 0.5/175, 0/200]


B = [0/10, 0.6/20, 1/30, 0.6/40, 0/50]

then

M=
0
0
0
0
0

0
0.3
0.6
0.3
0

0
0.5
1
0.5
0

0
0.3
0.6
0.3
0

0
0
0
0
0

by taking the product


of each pair

FUZZY SYSTEMS
Max-Product Inference
Let Temperature = 125 oF = Acurrent
Then it may be thought of as a new fuzzy set defined over the
universe of discourse of variable Temperature
Acurrent = [0/100, 0.5/125, 0/150, 0/175, 0/200]
We can find the FAM by taking the product
A = Acurrent x A =

x
0.5
0
0
0

[0 0.5 1 0.5 0]
= [0 0.25 0.5 0.25 0]
(if we eliminate all 0 rows)

FUZZY SYSTEMS
Max-Product Inference
Now the composition of A and M will produce a new
relationship, which we call B
max product composition: bj= maxi {(ai.mij)}
A M = B
[0 0.25 0.5 0.25 0]

0
0
0
0
0

0
0.3
0.6
0.3
0

0 0
0.5 0.3
1.0 0.6
0.5 0.3
0 0

0
0
0
0
0
= [0 0.3 0.5 0.3 0]

FUZZY SYSTEMS
Max-Product Inference
Max-product inference

FUZZY SYSTEMS
Multiple Fuzzy Rules

FUZZY SYSTEMS
Multiple Fuzzy Rules

FUZZY SYSTEMS
References
Engelbrecht Chapter 18, 19 & 20
Scan of Fuzzy Washing Machine on Folder

Вам также может понравиться