Documente Academic
Documente Profesional
Documente Cultură
Introduction
Fuzzy logic:
A way to represent variation or imprecision in logic
A way to make use of natural language in logic
Approximate reasoning
Humans say things like "If it is sunny and warm today, I
will drive fast"
Linguistic variables:
Temp: {freezing, cool, warm, hot}
Cloud Cover: {overcast, partly cloudy, sunny}
Speed: {slow, fast}
5/13/2018 3
While other approaches require accurate equations to model
real-world behaviors, fuzzy design can accommodate the
ambiguities of real-world human language and logic.
5/13/2018 4
What do you mean by fuzzy ??!!
Fuzzy logic is a superset of Boolean logic that has been
extended to handle the concept of partial truth- truth values
between "completely true" and "completely false".
The essential characteristics of fuzzy logic are as follows:-
exact reasoning is viewed as a limiting case of approximate
reasoning.
everything is a matter of degree.
Any logical system can be fuzzified
knowledge is interpreted as a collection of elastic or fuzzy
constraint on a collection of variables
The third statement hence, define Boolean logic as a subset
of Fuzzy logic.
5/13/2018 5
Fuzzy Sets
5/13/2018 6
How do fuzzy sets differ from classical sets?
5/13/2018 7
WHY FUZZY CONTROL?
5/13/2018 8
How far can fuzzy logic go???
5/13/2018 9
Crisp (Traditional) Variables
Crisp variables represent precise quantities:
x = 3.1415296
A {0,1}
A proposition is either True or False
ABC
King(Richard) Greedy(Richard)
Evil(Richard)
Richard is either greedy or he isn't:
Greedy(Richard) {0,1}
How cool is 36 F° ?
How cool is 36 F° ?
It is 30% Cool and 70% Freezing
0.7
0.3
(AB = C) (C = 0.75)
2/9/2004 Fuzzy Logic 17
Fuzzy Conjunction
(AB = C) (C = 0.375)
2/9/2004 Fuzzy Logic 18
Example: Fuzzy Conjunction
0.9
0.7
0.7
0.4
0.8
0.2
0
0 20 40 60 80 100
Cloud Cover (%)
5/13/2018 33
Example 3: inverted pendulum on a
cart con’d…
5/13/2018 34
Example 3: inverted pendulum on a
cart con’d…
5/13/2018 35
Example 3: inverted pendulum on a
cart con’d…
Can we control this non linear
equation using fuzzy Logic
Controller (FLC)?
5/13/2018 36
5/13/2018 37