Professional Documents
Culture Documents
Dr. Xiao-Zhi Gao Department of Electrical Engineering Helsinki University of Technology gao@cc.hut.fi
Page 1
Outline
Fuzzy set theory
Basic concepts in fuzzy sets Operations on fuzzy sets
Page 2
Fuzzy sets
Extend the degrees of membership: {0,1} [0,1] An element partially belongs to and partially does not belong to a given fuzzy set Smooth and Gradual boundary Assignment of membership functions is subjective
Membership functions
Page 4
Page 5
Membership Grades
Membership Grades
Membership Grades
Membership Grades
Page 6
Fuzzy Singleton
Page 8
Page 9
Membership Grades
Membership Grades
Page 10
core( A) = A1
Page 11
Aa = {x A (x) }
cuts
Resolution Principle
A fuzzy membership function can be expressed in terms of the characteristic functions of its cuts
A ( x) = max min[ , A ]
Resolution Principle
1 1 1 A0.1 = + + 1 2 3 1 1 A0.2 = + 2 3 1 A0.3 = 3 0.1 0.1 0.1 + 0.1A0.1 = + 1 2 3 0.2 0.2 + 0.2 A0.2 = 3 2 0.3 0.3 A0.3 = 3 0.1 max(0.1,0.2) max(0.1,0.2,0.3) 0.1 0.2 0.3 A= + + + = + 1 2 3 1 2 3
Page 13 Institute of Intelligent Power Electronics IPE
Resolution Principle
Resolution Principle 1.2 1
0.8
Membership Grades
0.6
0.4
0.2
10
20
30
40
50 x
60
70
80
90
100
Page 14
Extension Principle
Extending crisp domains of mathematical expressions to fuzzy domains Suppose f is a function mapping from X to Y, and A is a fuzzy set:
A=
A ( x1 )
x1
A ( x2 )
x2
+L+
A ( xn )
xn
A ( x1 )
f ( x1 )
A ( x2 )
f ( x2 )
+L+
A ( xn )
f ( xn )
Page 15
Extension Principle
An example of extension principle
0 . 1 0 .4 0 .8 0 . 9 0 . 3 A= + + + + 2 1 0 1 2
f ( x) = x 2 3
0.1 0.4 0.8 0.9 0.3 B= + + + + 1 2 3 2 1 0.8 (0.4 0.9) (0.1 0.3) = + + 3 2 1 0.8 0.9 0.3 = + + 3 2 1
Page 16 Institute of Intelligent Power Electronics IPE
Extension Principle
Page 17
Page 18
Membership Grades
Membership Grades
Page 19
Union
Complement
Page 20
A and B
A
(d) Fuzzy Set "A AND B"
(c) Fuzzy Set "A OR B" 1.2 1.2 1 0.8 0.6 0.4 0.2 0
A U B
A I B
Page 21
A B and B A
Page 22
Concept of A B
A Is Contained in B 1.2 1 B
0.8
Membership Grades
0.6
0.4
0.2
Page 23
Linguistic Variables
Modeling of human thinking
Numerical values are not sufficient Linguistic variables exist in real world e.g, chatting with a stranger on the phone
Estimation of your partners age: (40? probability of 40? About middle-aged?)
Linguistic variables are characterized by linguistic values (Age:[Young, Old, Very Old, etc.]) Linguistic values are described by their fuzzy membership functions
Page 24 Institute of Intelligent Power Electronics IPE
Membership Functions For Linguistic Values Young, Middle Aged, and Old
1.2 Young Middle Aged Old 1
Membership Grades
0.8
0.6
0.4
0.2
10
20
30
40 X = Age
50
60
70
80
90
Page 25
Membership Grades
Young
Old
10
20
30
40
50 X = age
60
70
80
90
100
Membership Grades
0.2 0
10
20
30
40
50 X = age
60
70
80
90
100
Page 26
A fuzzy IF-THEN rule associates fuzzy input and output membership functions
Page 27 Institute of Intelligent Power Electronics IPE
Fuzzy Reasoning
Fuzzy reasoning derives conclusions based on given fuzzy IF-THEN rules and known facts
An example:
Given a fuzzy rule: IF bath is very hot THEN add a lot of cold water Known fact: bath is a little hot Conclusion: how much cold water should be added?
Page 28 Institute of Intelligent Power Electronics IPE
Fuzzy Reasoning
Premise 1: IF X is A THEN Y is B Premise 2: IF X is A Conclusion: THEN Y is B
First, measure the similarity between A and Second, project this similarity to B
Intersection
Page 30
Aggregation
Known Facts: X is A Y is B
Page 32
Fuzzification
Converts a crisp value (from sensors, devices, measurement meters, etc.) into a fuzzy value A crisp value = A fuzzy singleton (no fuzziness is introduced)
A ( x)
A ( x)
Fuzzy singleton x0
Page 34
Both premise and consequent parts consist of fuzzy membership functions Max-Min composition can be applied in fuzzy reasoning procedure
Page 35
Page 36
Defuzzification Methods
Page 37
Defuzzification Methods
Centroid of Area (COA)
Z* = COA
i=1 n i=1
(xi )x i (x i )
where
* COA
is a crisp output
i=1
(xi ) =
j=M +1
(x j)
Defuzzification Methods
Mean of Maximum (MOM)
Z
* i
* MOM
x* i
i
MOM could generatate wrong discrete outputs in certain cases Different defuzzification methods may have similar performances [Lee 88]
Page 39 Institute of Intelligent Power Electronics IPE
Page 40
Membership Grades
0.5
0 -5
-4 large negative
-3
-2
-1
0 Y
4 large positive
Membership Grades
small negative
small positive
0.5
0 -5
-4
-3
-2
-1
0 Z
Page 41
0 -1 -2 -3 5 5 0 0 -5 -5
Page 42
Only premise part employs fuzzy membership functions Consequent output is a function of input variables
First order = linear consequent part Higher orders = nonlinear consequent part
Page 43 Institute of Intelligent Power Electronics IPE
Disadvantages
Difficult to interpret practical meanings of consequent part
Page 45 Institute of Intelligent Power Electronics IPE
Page 46
Membership Grades
Membership Grades
Page 47
4 2 0 -2 5 5 0 0 -5 -5
Page 48
Page 49
Conclusions
Background knowledge of fuzzy sets is introduced Concept of fuzzy sets is basically a natural generalization of classical sets Fuzzy sets have some characteristics different from classical sets Fuzzy inference systems are used to model human thinking
Page 50 Institute of Intelligent Power Electronics IPE
Conclusions
Two fuzzy logic systems: Mamdani and Sugeno types Engineering potential is more important than pure theoretical research Applications of fuzzy logic and fusion with neural networks will be discussed later
Fuzzy control and fuzzy signal filtering Fuzzy neural networks
Page 51 Institute of Intelligent Power Electronics IPE