Fuzzy Logic - Reasoning With Uncertainty

9
© Manfred Huber 2005 1 Reasoning with Uncertainty Fuzzy Logic

Transcript of Fuzzy Logic - Reasoning With Uncertainty

Page 1: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 1/9

© Manfred Huber 2005 1

Reasoning with Uncertainty

Fuzzy Logic

Page 2: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 2/9

© Manfred Huber 2005 2

Fuzzy Logic

Fuzzy Logic is a multivalued logic Rule-based inference system

Membership values indicate degree of truthof predicates

Fuzzy set operations permit reasoning withmembership values

Fuzzy Logic has been applied verysuccessfully to a number of control

problems

Page 3: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 3/9

© Manfred Huber 2005 3

Fuzzy Logic - Applications

Many everyday applications use FuzzyLogic control

Microwaves

 ABS brakes

Camera image stabilization

Cruise control Air conditioning control

Washing machine control

Page 4: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 4/9

© Manfred Huber 2005 4

Fuzzy Sets

 A Fuzzy set  A is a set of items withmembership values

 A is a subset of the universe (all possible

objects)

There is a membership function

µ  A 

(x) ∈ [0..1]

indicating the degree to which x belongs toset A 

Page 5: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 5/9

© Manfred Huber 2005 5

Fuzzy Set Operations

Union of two Fuzzy Sets µ  A ∪ B (x) = µ  A (x) ⊕ µ B (x) 

Often max (µ  A (x) , µ B (x) )

Intersection of two Fuzzy Sets

µ  A ∩ B (x) = µ  A (x) ⊗ µ B (x) 

Often min (µ  A (x) , µ B (x) ) Inversion of a Fuzzy Set

µ¬  A (x) = 1 - µ  A (x) 

Page 6: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 6/9

© Manfred Huber 2005 6

Fuzzy Inference (Control)

Fuzzy Logic uses logic inference rules anddefuzzification

Inference rules are of the form:

If a in A and b in B then c in C Where A , B , and C are Fuzzy sets, a, b, and c, are elementsfrom the universe of discourse.

Multiple rules for the same set are combined using ⊕

 A value for the variable c in C is extracted bydefuzzification - Often as the center of mass of themembership function

Page 7: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 7/9

© Manfred Huber 2005 7

Fuzzy Inference (Control)

Inference rules derive a membershipfunction for the resulting fuzzy set

Rule 1: If a in A and b in B then c in C

Results in a membership function for c which islimited by the degree of truth of the rule’santecedents and the membership function for

µ Rule 1 (c) = min ( µ  A (a) ⊗µ B (b) , µ C (c) )  

 All inference rules that have the samevariable as a consequent

µ Result (c) = µ Rule 1 (c) ⊕µ Rule 2 (c) 

⊕…

Page 8: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 8/9

© Manfred Huber 2005 8

Fuzzy Inference (Control)

 A value for the variable in the consequent isderived from the resulting membership profile

using defuzzification

Defuzzification often uses the center of mass of the

membership function

c is the point where 

- ∞ c µ Result (x) dx =  c 

∞ µ Result (x) dx 

Page 9: Fuzzy Logic - Reasoning With Uncertainty

8/6/2019 Fuzzy Logic - Reasoning With Uncertainty

http://slidepdf.com/reader/full/fuzzy-logic-reasoning-with-uncertainty 9/9

© Manfred Huber 2005 9

Fuzzy Logic

 Advantages Simple inference system

Easy to design

Good for simple control

Problems Problems with strings of inference

Non-symmetric inference

Difficulty interpreting resulting membershipvalues.