Professional Documents
Culture Documents
TO FUZZY LOGIC
What is fuzzy thinking?
❑ Expert rely on common sense to solve problem.
❑ This type of knowledge exposed when expert
describe problem with vague terms.
❑ Example of vague terms:
✓ When it is really/quite hot ...
✓ If a person is very tall he is suitable for ...
✓ Only very small person can enter into that hole
✓ I am quite young
✓ Mr. Azizi drives his car moderately fast
❑ How can we represent and reason with vague
terms in a computer?
❑ Use FUZZY LOGIC!!
What is fuzzy thinking?
❑ What is FUZZINESS?
❑ According to OXFORD DICTIONARY, FUZZY means
“Blurred, Fluffy, Frayed or Indistinct”
❑ Fuzziness is deterministic uncertainty
❑ Fuzziness is concerned with the degree to which events
occur rather than the likelihood of their occurrence
(probability)
What is fuzzy thinking?
Not Highly
Sure Confirm
0 3 5 7 10
BRIEF HISTORY OF FUZZY
LOGIC
1965 Seminar paper by Prof Lotfi Zadeh on fuzzy sets
1966 Fuzzy Logic (P Marinos Bell Labs)
1972 Fuzzy measures (M.Sugeno,TIT)
1974 Fuzzy logic control(E H Mamdani,London, Q.Mary)
1980 Control of Cement Kiln (F.L.Smidth, Denmark)
1987 Automatic Train Operation for Sendai Subway,
Japan(Hitachi)
1988 Stock Trading Expert System (Yamaichi Security)
1989 LIFE (Lab for Intl. Fuzzy Eng.) Japanese US70m on Fuzzy
Research
1989 First Fuzzy Logic air-conditioner
1990 First Fuzzy Logic washing machine
2000 ??
Current Applications of
Fuzzy Logic
Camera aiming for telecast of sporting events
Expert system for assessment of stock exchange
activities.
Efficient and stable control of car engines
Medicine technology: cancer diagnosis
Backlight control for camcorder
Flight aids for helicopter
Single button control for washing machine
Automatic motor control for vacuum cleaner.
Current Applications of
Fuzzy Logic
Expert system also utilized fuzzy logic since the
domain is often inherently fuzzy . Example:-
Decision support system
Financial planner
Diagnosing systems for determining soybean
pathology
A meteorological ES in China for determining areas
in which to establish rubber tree orchards
Definition of Fuzzy Logic
Fuzzy Sets
Traditional set theory views world as black and white
Example like set of young people i.e children
A person is either a member or non-member. Member
is given value 1 and non-member 0; called crisp value
Whereas, fuzzy logic interpret young people
reasonable using fuzzy set.
Overview of Fuzzy Logic
By assigning membership values between 0 and 1.
Example:
Consider young people
If person age is 5 assign membership value 0.9
if 13, assign membership value of 0.1
membership
short medium tall
1
0.5
0
1.6 1.7 1.8 Height (m)
How it works?
Height (m) Short Medium Tall
1.45 1 0 0
1.57 1 0 0
1.80 0 0 1
How it works?
• Example:
Consider Fuzzy set of tall, medium and short
people:
• Example:
Tall = {0/5, 0.25/5.5, 0.76/6, 1/6.5, 1/7}
somewhat tall= {?/5, ? /5.5, ? /6, ? /6.5, ? /7}
Hedges
Intensification (Indeed)
• Example:
short = {1/5, 0.8/5.5, 0.5/6, 0.2/6.5, 0/7}
indeed short = {? /5, ? /5.5, ? /6, ? /6.5, ? /7}
Hedges
Power (Very Very)
• Example:
Create fuzzy set of very very tall person with n=3
Tall = {0/5, 0.25/5.5, 0.76/6, 1/6.5, 1/7}
Very very tall = {? /5, ? /5.5, ? /6, ? /6.5, ? /7}
Operations
Complement (not)
Example :
Short = {1/5,0.8/5.5,0.5/6,0.2/6.5,0/7}
Not short = {?/5, ?/5.5, ?/6, ?/6.5, ?/7}
Operations
Intersection
Example
Tall = {0/5,0.2/5.5,0.5/6,0.8/6.5,1/7}
Short = {1/5,0.8/5.5,0.5/6,0.2/6.5,0/7}
tallshort =
Tall = {0/5,0.2/5.5,0.5/6,0.8/6.5,1/7}
Short = {1/5,0.8/5.5,0.5/6,0.2/6.5,0/7}
tall short =
0.6 0.6
0.4 0.4
0.2 0.2
0.0 0.0
160 180 190 200 70 80 100 120
Height, cm Weight, kg
IF height is tall
THEN weight is heavy
The value of the output or a truth membership
grade of the rule consequent can be estimated
directly from a corresponding truth membership
grade in the antecedent. This form of fuzzy
inference uses a method called monotonic
selection.
Degree of Degree of
Membership Membership
1.0 1.0
Tall men
0.8 0.8 Heavy men
0.6 0.6
0.4 0.4
0.2 0.2
0.0 0.0
160 180 190 200 70 80 100 120
Height, cm Weight, kg
A fuzzy rule can have multiple antecedents, for
example:
IF project_duration is long
AND project_staffing is large
AND project_funding is inadequate
THEN risk is high
IF service is excellent
OR food is delicious
THEN tip is generous
Exercise
Gives the value of degree for the fuzzy set
based on category of washer loading.
Large = { ?/0.5,?/1,?/2.5,?/4,?/5}
Medium = { ?/0.5,?/1,?/2.5,?/4,?/5}
Small = { ?/0.5,?/1,?/2.5,?/4,?/5}
Draw the graphTall
toand
show the fuzzy
short can mean
set.
Produce the fuzzy set to show the loading:
a) very very large b) somewhat large
c) very large indeed.
Produce the fuzzy set using operator as below:-
a) large small b) large small c) not large
Exercise
There is one factory produce a washing
machine using the fuzzy system. Rules that
been used to determine the volume of
water and the load are as below:
IF load is large
THEN use large volume of water
IF load is small
THEN use small volume of water