Fuzzy
Fuzzy
Fuzzy
OVERVIEW
Definition of fuzzy
Fuzzy – “not clear, distinct, or precise; blurred”
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
[ 0.50 – 0.75 ]
Fastest
[ 0.75 – 1.00 ]
FUZZY LOGIC REPRESENTATION CONT.
systems.
FUZZY LOGIC IN CONTROL SYSTEMS
Outputs
Pulsewidth
Error lamp
FUZZY LOGIC IN OTHER FIELDS
Business
Hybrid Modeling
Expert Systems
CONCLUSION
We’re assuming we know what words like “hunger” and “high” mean in “if
hunger is high go to café”.
While we might be able to give a clear RDF definition of “hunger” it won’t ever
match the real world. This may not matter if our rules replicate reality
quantitatively.
However, since the early Greeks, people have found that the way we
understand the world isn’t black and white.
Fuzzy Sets let us say something is 90% “one thing” and 10%
“another”, without being illogical.
1
Degree of membership
Membership
Young Middle Old function
0.5 Aged
0 50 90 Age
38yr old = 10% Young + 90% Middle Aged
Fuzzy Logic models
1
Degree of membership
Membership
function
0.5 Happy Bored
0 5 10
Foot itchiness
0.6 bored to tears + 0.4 happy as Larry
Decide on rules
Short Long
0 2
hours
Transfer the degrees to the output sets
1
0.6 Bored
Short Long
0.4 Happy
0 2 Hours
0.4
0 2 Hours
Calculate the average
0.6
0.4
0 2