2nintro FuzzyLogic PDF
2nintro FuzzyLogic PDF
Introduction
Fuzzy Sets
Logic
Example
References and . . .
Peter Molnar
c
2003
JJ
II
Page 1 of 21
1. Introduction
1.1. Motivation: The classical engineering problem of balancing an inverted pendulum
A solid pendulum is hinged at
its base to a platform which
can move in opposite directions.
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Inverted Pendulum
Page 2 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 3 of 21
Output:
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 4 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 5 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 6 of 21
2. Fuzzy Sets
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 7 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
II
Page 8 of 21
Membership
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 9 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 10 of 21
3. Logic
3.1. Fuzzy Rule Based Systems
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 11 of 21
3.2. Fuzzification
Process by which crisp, non-fuzzy, input values are converted into
their fuzzy representations.
Example: a crisp input value of 63 for height, fuzzification of this
input entails applying this value to the fuzzy set average.
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
The fuzzification process will take place for all inputs in all corresponding fuzzy sets, yielding fuzzified membership functions for use
in each rule.
Page 12 of 21
JJ
II
Page 13 of 21
Logic Operators
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 14 of 21
Compute all rules that apply, i.e. for any set that any input value is
a member of.
Combine results: unify sets.
Defuzzify result: calculating a crisp output value.
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 15 of 21
3.4. Defuzzification
The opposite of fuzzification; entails the rationalization of a fuzzified
output to obtain a crisp value for the output.
Several methods can be used, one of them: the Center of Gravity
method.
Finding the center of gravity of the fuzzified output membership
function and returning the crisp value that corresponds to this point.
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 16 of 21
4. Example
Inverted Pendulum
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 17 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 18 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 19 of 21
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 20 of 21
Disclaimer
This presentation material has been created for class presentation
only.
This presentation is intended solely for students at Clark Atlanta
University.
Introduction
Fuzzy Sets
Logic
Example
References and . . .
JJ
II
Page 21 of 21