defuzzification

34
Lecture 05 Defuzzification 解模糊

Upload: sarbjeet-singh

Post on 05-Dec-2014

161 views

Category:

Engineering


5 download

DESCRIPTION

Defuzzification

TRANSCRIPT

Page 1: Defuzzification

Lecture 05Defuzzification

解模糊

Page 2: Defuzzification

vDefuzzification means the fuzzy-to-crisp conversions.§ The fuzzy results generated cannot be used to the applications. § It is necessary to convert the fuzzy quantities into crisp quantities

for further processing.

vDefuzzification has the capability to§ reduce a fuzzy set to a crisp single-valued quantity or as a set.

Page 3: Defuzzification

Outline

vLambda Cuts § for Fuzzy Sets§ for Fuzzy Relations

vDefuzzification Methods§ Maxima method§ Centroid method§ Weighted average method§ Middle-of-maxima method§ First-of-maxima or last-of-maxima

Page 4: Defuzzification

Lambda Cuts for Fuzzy Sets

vConsider a fuzzy set§ Its lambda cut denoted by§ is a crisp set:

• the value of lambda cut set is x, when the membership value corresponding to x is greater than or equal to the specified λ.

§ This lambda cut set can also be called as alpha cutset.

A%

(0 1)Aλ λ≤ ≤Aλ

Page 5: Defuzzification

Lambda Cuts for Fuzzy Sets

v Properties of Lambda Cut Sets

§ The standard set of operations on fuzzy sets is similar to the standard set operations on lambda cut sets.

Page 6: Defuzzification

Lambda Cuts for Fuzzy Relations

v Considering a fuzzy relation § A fuzzy relation can be converted into a crisp relation

by depending the lambda cut relation of the fuzzy relation as:

v Properties of Lambda Cut Relations

R%

Page 7: Defuzzification

Lambda Cuts: Examples

Example 1. Two fuzzy sets P∼ and Q∼ are defined on x as follows:

Find the following λ cut sets:

Page 8: Defuzzification

Lambda Cuts: Examples

Solution. Given

We have

Then we can calculate

Page 9: Defuzzification

Lambda Cuts: Examples

Solution. Given

We have

Then we can calculate

Page 10: Defuzzification

Lambda Cuts: Examples

Solution. Given

We have

Then we can calculate

Page 11: Defuzzification

Lambda Cuts: Examples

Solution. Given

We have

Then we can calculate

0.1 0.2 0.3 0.2 0.4

Page 12: Defuzzification

Lambda Cuts: Examples

Solution. Given

We have

Then we can calculate

0 0 0 0

Page 13: Defuzzification

Lambda Cuts: Examples

Example 2. The fuzzy sets A∼ and B∼ are defined in the universe X = {0, 1, 2, 3}, with the following membership functions:

Define the intervals along x-axis corresponding to the λ cut sets for each fuzzy set A∼ and B∼for following values of λ:λ = 0.2, 0.5, 0.6.

2

Page 14: Defuzzification

Lambda Cuts: Examples

Solution. The membership degrees for each elements:

Then

That is,

2 ( 3)x +2 ( 5)x x + 1/ 3 4 / 7 3 / 4

B

B

Page 15: Defuzzification

Lambda Cuts: Examples

Example 3. For the fuzzy relation:

find the λ cut relations for the following values of λ = 0+, 0.2, 0.9, 0.5.

Page 16: Defuzzification

Lambda Cuts: Examples

Solution. Given

we have

Page 17: Defuzzification

Outline

vLambda Cuts § for Fuzzy Sets§ for Fuzzy Relations

vDefuzzification Methods§ Maxima method§ Centroid method§ Weighted average method§ Middle-of-maxima method§ First-of-maxima or last-of-maxima

Page 18: Defuzzification

Defuzzification Methods

vThe output of an entire fuzzy process can be union of two or more fuzzy sets.

Page 19: Defuzzification

vDefinition 1. Defuzzification is a process to select a representative element from the fuzzy output inferred from the fuzzy rule-based system.

vThere are various methods used for defuzzifyingthe fuzzy output functions:§ Maxima method§ Centroid method§ Weighted average method§ Middle-of-maxima method§ First-of-maxima or last-of-maxima § …

Defuzzification Methods

Page 20: Defuzzification

(1) Maxima

Defuzzification Methods

*( ) ( ), for all C Cz z z Zµ µ≥ ∈% %

( )zµ

z*z0

Page 21: Defuzzification

(2) Centroid method

Defuzzification Methods

*( )

, for all ( )

C

C

z zdzz z Z

z dz

µ

µ= ∈∫

∫%

%

( )zµ

z*z0

Page 22: Defuzzification

(3) Weighted average method§ This method can be used only for symmetrical

output membership functions§ Weighting each membership function in the obtained

output by its largest membership value

Defuzzification Methods

Page 23: Defuzzification

(4) Middle-of-maxima method§ The present of the maximum membership need not

be unique,• i.e., the maximum membership need not be a single point, it

can be a range.

Defuzzification Methods

Page 24: Defuzzification

(5) First-of-Maxima

Last-of-Maxima

Defuzzification Methods

max

0z

Page 25: Defuzzification

Defuzzification: Examples

Example 4. For the given membership function as shown, determine the defuzzified output value using different defuzzification methods.

z

µ

0.7

0.5

1

1 2 3 4 5 6

1A%

z

µ

0.5

1

1 2 3 4 5 6

2A%

Page 26: Defuzzification

Defuzzification: Examples

z

µ

0.7

0.5

1

1 2 3 4 5 6

1A%

z

µ

0.5

1

1 2 3 4 5 6

2A%

0 0

z

µ

0.7

0.5

1

1 2 3 4 5 6

1 2A AU% %

0a

b c

d e

f

0.35 0 20.7 2 2.7

( ) 2 2.7 31 3 4

0.5 3 4 6

z zz

z z zz

z z

µ

≤ < ≤ <= − ≤ < ≤ <

− + ≤ ≤

Page 27: Defuzzification

Defuzzification: Examples

(2) Centroid method

(1) Maxima methodNot applicable since there is no a single maximum point.

0.35 0 20.7 2 2.7

( ) 2 2.7 31 3 4

0.5 3 4 6

z zz

z z zz

z z

µ

≤ < ≤ <= − ≤ < ≤ <

− + ≤ ≤

z

µ

0.7

0.5

1

1 2 3 4 5 6

1 2A AU% %

0a

b c

d e

f

*( )

( )C

C

z zdzz

z dz

µ

µ= ∫

∫%

%

z

Page 28: Defuzzification

Defuzzification: Examples

0.35 0 20.7 2 2.7

( ) 2 2.7 31 3 4

0.5 3 4 6

x xx

x x xx

x x

µ

≤ < ≤ <= − ≤ < ≤ <

− + ≤ ≤

(3) Weighted average method

Not applicable since the membership functions are not symmetrical.

(4) Middle-of-maxima method

4 x

µ

0.7

0.5

1

1 2 3 5 60

d e

* 3 4 3.52

z += =

Page 29: Defuzzification

Review Questions

1. Define defuzzification process.2. What is the necessity to convert the fuzzy quantities into

crisp quantities?3. State the method lambda cuts employed for the conversion of

the fuzzy set into crisp.4. How is lambda cut method employed for a fuzzy relation?5. How does the maximum method convert the fuzzy quantity

to crisp quantity?6. In what way does the Centroid method perform the

defuzzification process?7. Compare the methods employed for defuzzification process

on the basis of accuracy and time consumption.

Page 30: Defuzzification

Exercise Problems1. Two fuzzy sets A∼ and B∼ both defined on x are as

follows:

Find

Page 31: Defuzzification

Exercise Problems

2. The fuzzy set A∼ , B∼ , C∼ are all defined on the universe X = [0, 5] with the following membership functions:

(a) Sketch the membership functions (b) Define the intervals along x-axis corresponding to the λ

cut sets for each of the fuzzy sets A∼ , B∼ , C∼ for the following values of λ. λ = 0.2, λ = 0.5, λ = 0.9.

Page 32: Defuzzification

Exercise Problems3. For fuzzy relation R

Find λ cut relations for the following values of λ

( ) 0.4 ( ) 0.7a bλ λ= =

Page 33: Defuzzification

Exercise Problems

4. By using maxima and centroid methods, convert fuzzy output to a crisp value z∗ for the following graph

z

µ

0.5

1

1 2 3 4 5 60

1A%

2A%

Page 34: Defuzzification

Exercise Problems5. Convert fuzzy value z to precise value z∗ for the

following graph by using weighted average methodand middle-of–maxima method.

The membership functions in the above graph are symmetrical functions.

z

µ

0.5

1

1 2 3 4 5 60 7 8 9 10

1A%

2A%

3A%0.75