Professional Documents
Culture Documents
Slow Fast
Speed = 0 Speed = 1
bool speed;
get the speed
if ( speed == 0) {
// speed is slow
}
else {
// speed is fast
}
FUZZY LOGIC REPRESENTATION
Slowest
For every problem
[ 0.0 – 0.25 ]
must represent in
terms of fuzzy sets.
Slow
What are fuzzy sets? [ 0.25 – 0.50 ]
Fast
Here comes degree or
[ 0.50 – 0.75 ]
membership value
=[0,1]
Fastest
[ 0.75 – 1.00 ]
FUZZY LOGIC REPRESENTATION CONT.
Solution:
The pairwise comparison is made among 1,000 people and their views
are summarized:
The set Aλ is going to be a crisp set. This crisp set is called the lambda
cut set of the fuzzy set , where
Then Aλ = 1
Else Aλ = 0
Max-membership principle
- height method
This method is given by the expression,
Weighted average method
Formed by weighting each functions in the output by its
respective maximum membership value
Mean-max membership (middle of maxima)
Z* = a + b
2
Fuzzy Inference Systems
Fuzzy inference system is known by a number of names, such as
fuzzy-rule-based system,
fuzzy expert system,
fuzzy model,
fuzzy associative memory,
fuzzy logic controller,
simply fuzzy system.
Decision-making is an important part in the entire system.
FIS forms the rules, decision is made based on rules.
FIS is based on,
fuzzy set theory
fuzzy IF–THEN rules
fuzzy reasoning
Fuzzy Inference Systems
FIS uses “IF. . . THEN. . . ” statements, and the connectors present are
“OR” or “AND” to make the necessary decision rules.
FIS can take either fuzzy inputs or crisp inputs, but the output is fuzzy
When the FIS is used as a controller, it is necessary to have a crisp
output. For this defuzzification is used
Fuzzy Inference Systems The Architecture of
Fuzzy Inference Systems
Inference
Input Fuzzifier Defuzzifier Output
Engine
Fuzzy
Knowledge base
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 fuzzy rules.
Fuzzifier