+ All Categories
Home > Documents > Chapter 9 FUZZY INFERENCE

Chapter 9 FUZZY INFERENCE

Date post: 14-Jan-2016
Category:
Upload: uriel
View: 361 times
Download: 26 times
Share this document with a friend
Description:
Chapter 9 FUZZY INFERENCE. Chi-Yuan Yeh. GMP and GMT. Fuzzy rule as a relation. Fuzzy implications. Example of Fuzzy implications. Example of Fuzzy implications. Example of Fuzzy implications. Compositional rule of inference. - PowerPoint PPT Presentation
Popular Tags:
46
Chapter 9 FUZZY INFERENCE Chi-Yuan Yeh
Transcript
Page 1: Chapter 9 FUZZY INFERENCE

Chapter 9

FUZZY INFERENCE

Chi-Yuan Yeh

Page 2: Chapter 9 FUZZY INFERENCE

GMP and GMT

2

Page 3: Chapter 9 FUZZY INFERENCE

Fuzzy rule as a relation

3

BAin ),( of thoseinto

Bin andA in of degrees membership theing transformof

task theperforms ,function"n implicatiofuzzy " is f where

))(),((f),(

function membership dim-2set with fuzzy a considered becan ),R(

)B()A( :),R(

relationby drepresente becan

)B( then ),A( If

)B( ),A( predicatesfuzzy B is A, is

B is then A, is If

R

yx

yx

yxyx

yx

yxyx

yx

yxyx

yx

BA

Page 4: Chapter 9 FUZZY INFERENCE

Fuzzy implications

4

Page 5: Chapter 9 FUZZY INFERENCE

Example of Fuzzy implications

5

),/()()(BAh)R(t,

R(h)R(t):h)R(t,

B ish :R(h) A, ist :R(t)

B ish then A, is t If:h)R(t,

asrewritten becan rule then the

HB,high"fairly "B

TA ,high""A

H.h and T t variablesdefine and

humidity, and re temperatuof universe be H and TLet

htht BA

Page 6: Chapter 9 FUZZY INFERENCE

Example of Fuzzy implications

6

),/()()(BAh)R(t, htht BA

ht

20 50 70 90

20 0.1 0.1 0.1 0.130 0.2 0.5 0.5 0.540 0.2 0.6 0.7 0.9

Page 7: Chapter 9 FUZZY INFERENCE

Example of Fuzzy implications

7

TA ,A isor t high"fairly is etemperatur"When ''

) ,(R )R( )R(

R(h) find torelationsfuzzy ofn compositio usecan We

C' htth

ht

20 50 70 90

20 0.1 0.1 0.1 0.130 0.2 0.5 0.5 0.540 0.2 0.6 0.7 0.9

Page 8: Chapter 9 FUZZY INFERENCE

Compositional rule of inference

8

The inference procedure is called as the “compositional rule of inference”. The inference is determined by two factors : “implication operator” and “composition operator”.

For the implication, the two operators are often used:

For the composition, the two operators are often used:

Page 9: Chapter 9 FUZZY INFERENCE

Representation of Fuzzy Rule

9

Fact: is ' : ( )

Rule: If is then is : ( , )

Result: is ' : ( ) ( ) ( , )

u A R u

u A w C R u w

w C R w R u R u w

Single input and single output

' ' '1 1 2 2

1 1 2 2

Fact: is ' and is ' and ... and is '

Rule: If is and is and ... and is then is

Result: is '

n n

n n

u A u A u A

u A u A u A w C

w C

Multiple inputs and single output

' ' '1 1 2 2

1 1 2 2 1 1 2 2

Fact: is and is and ... and is

Rule: If is and is and ... and is then is , is ,..., is

Res

n n

n n m m

u A u A u A

u A u A u A w C w C w C' ' '

1 1 2 2ult: is , is ,..., is m mw C w C w C

Multiple inputs and Multiple outputs

Page 10: Chapter 9 FUZZY INFERENCE

Representation of Fuzzy Rule

10

Multiple rules

m'

m2'

21'

1

mj'

mj2j'

2j1j'

1j2211

2211

C is w..., ,C is w,C is w:Result

C is w..., ,C is w,C is then w, is and ... and is and is If :j Rule

is and ... and is and is :Fact

nj'

njj'

n'

n'

AuAuAu

AuAuAu'

'

Page 11: Chapter 9 FUZZY INFERENCE

Representation of Fuzzy Rule

11

Fact: is '

Rule: If is then is

Result: is '

u A

u A w C

w C

fuzzy set

inputFuzzy

Singleton

Singleton

Page 12: Chapter 9 FUZZY INFERENCE

Representation of Fuzzy Rule

12

Fact: is '

Rule: If is then is

Result: is '

u A

u A w C

w C fuzzy set

fuzzy set with a monotonic function

crisp function

Consequence:

fuzzy set fuzzy set with a

monotonic function

crisp function

Page 13: Chapter 9 FUZZY INFERENCE

Representation of Fuzzy Rule

13

Max-min composition operator

Fact: is ' : ( )

Rule: If is then is : ( , )

Result: is ' : ( ) ( ) ( , )

u A R u

u A w C R u w

w C R w R u R u w

( , ) :R u w A C

Mamdani: min operator for the implicationLarsen: product operator for the implication

Page 14: Chapter 9 FUZZY INFERENCE

One singleton input and one fuzzy output

14

Fact: is ' : ( )

Rule: If is then is : ( , )

Result: is ' : ( ) ( ) ( , )

u A R u

u A w C R u w

w C R w R u R u w

Mamdani

Page 15: Chapter 9 FUZZY INFERENCE

One singleton input and one fuzzy output

15

Mamdani

Page 16: Chapter 9 FUZZY INFERENCE

One singleton input and one fuzzy output

16

Fact: is ' : ( )

Rule: If is then is : ( , )

Result: is ' : ( ) ( ) ( , )

u A R u

u A w C R u w

w C R w R u R u w

Larsen

Page 17: Chapter 9 FUZZY INFERENCE

One singleton input and one fuzzy output

17

Larsen

Page 18: Chapter 9 FUZZY INFERENCE

One fuzzy input and one fuzzy output

18

Fact: is ' : ( )

Rule: If is then is : ( , )

Result: is ' : ( ) ( ) ( , )

u A R u

u A w C R u w

w C R w R u R u w

Mamdani

Page 19: Chapter 9 FUZZY INFERENCE

One fuzzy input and one fuzzy output

19

Mamdani

Page 20: Chapter 9 FUZZY INFERENCE

MIMO to MISO

20

},,,,,{

])[( where}{

}])[({

]})[(,],)[(],)[({

})()({

}{

:

D is z , ,C is z then , B isy and A is x If

:rule therepresents R where

}R , ,R ,R ,{R R

21

11

1 1

112

11

11

1

iqi1ii

MIMOi

MIMOn

MIMO3

MIMO2

MIMO1

MISOq

MISOk

MISOMISO

n

ikiiMISO

kq

k

MISOk

q

k

n

ikii

n

iqii

n

iii

n

iii

n

iqii

n

i

MIMOi

MIMOi

RBRBRBRB

zBARBRB

zBA

zBAzBAzBA

zzBA

RR

R

Page 21: Chapter 9 FUZZY INFERENCE

Ri consists of R1 and R2

21

iii C is then w,B is vand A isu If :i Rule

)]}μμ(μ[)],μμ(μmin{[

)]}μμ(,μmin[)],μμ(,μmin{min[max

)]}μμ(),μμmin[(),μ,μmin{(max

)]μμ(),μμmin[()μ,μ(

)μ)μ,μ(min()μ,μ(

)μμ()μ,μ(μ

)CB and (A)B,(AC

CBBCAA

CBBCAA,

CBCABA,

CBCABA

CBABA

CBABAC

iii''

i'

i'

i'

i'

i'

ii''

ii''

ii''

ii''

i'

vu

vu

2i

1i

2i

'1i

'

ii'

ii'

i'

CC

]R[A]R[A

)]C (B[B)]C (A[AC

Page 22: Chapter 9 FUZZY INFERENCE

Example

22

output? then , )(Singleton 1.5 y and 1 input x If

sets.fuzzy r triangulaare (5,6,7)C (1,2,3),B (0,1,2),A where

C is z then B, isy andA is x if:R

00

Page 23: Chapter 9 FUZZY INFERENCE

Two singleton inputs and one fuzzy output

23

Mamdani

Fact: is ' and is ' : ( , )

Rule: If is and is then is : ( , , )

Result: is '

u A v B R u v

u A v B w C R u v w

w C : ( ) ( , ) ( , , )R w R u v R u v w

Page 24: Chapter 9 FUZZY INFERENCE

Two singleton inputs and one fuzzy output

24

Mamdani

Page 25: Chapter 9 FUZZY INFERENCE

Example

25

output? then , )(Singleton 1.5 y and 1 input x If

sets.fuzzy r triangulaare (5,6,7)C (1,2,3),B (0,1,2),A where

C is z then B, isy andA is x if:R

00

Page 26: Chapter 9 FUZZY INFERENCE

Two fuzzy inputs and one fuzzy output

26

Mamdani

Fact: is ' and is ' : ( , )

Rule: If is and is then is : ( , , )

Result: is '

u A v B R u v

u A v B w C R u v w

w C : ( ) ( , ) ( , , )R w R u v R u v w

Page 27: Chapter 9 FUZZY INFERENCE

Two fuzzy inputs and one fuzzy output

27

Mamdani

Page 28: Chapter 9 FUZZY INFERENCE

Two fuzzy inputs and one fuzzy output

28

Mamdani

Page 29: Chapter 9 FUZZY INFERENCE

Example

29

output? then , set)(Fuzzy 3.5) 2.5, (1.5, B' and (1,2,3) A'input If

sets.fuzzy r triangulaare (5,6,7)C (1,2,3),B (0,1,2),A where

C is z then B, isy andA is x if:R

Page 30: Chapter 9 FUZZY INFERENCE

Multiple rules

30

Page 31: Chapter 9 FUZZY INFERENCE

Multiple rules

31

Page 32: Chapter 9 FUZZY INFERENCE

Multiple rules

32

Page 33: Chapter 9 FUZZY INFERENCE

Example

33

output? then , )(Singleton 1 input x If

sets.fuzzy r triangulaare

(2,3,4)C .5),(0.5,1.5,2A (1,2,3),C (0,1,2),A where

C is z then ,A is x if:R

C is z then ,A is x if:R

0

2211

222

111

Page 34: Chapter 9 FUZZY INFERENCE

Mamdani method

34

Page 35: Chapter 9 FUZZY INFERENCE

Mamdani method

35

Page 36: Chapter 9 FUZZY INFERENCE

Mamdani method

36

Page 37: Chapter 9 FUZZY INFERENCE

Mamdani method

37

Page 38: Chapter 9 FUZZY INFERENCE

Larsen method

38

Page 39: Chapter 9 FUZZY INFERENCE

Larsen method

39

Page 40: Chapter 9 FUZZY INFERENCE

Larsen method

40

Page 41: Chapter 9 FUZZY INFERENCE

Larsen method

41

Page 42: Chapter 9 FUZZY INFERENCE

Tsukamoto method

42

Page 43: Chapter 9 FUZZY INFERENCE

Tsukamoto method

43

Page 44: Chapter 9 FUZZY INFERENCE

TSK method

44

Page 45: Chapter 9 FUZZY INFERENCE

TSK method

45

Page 46: Chapter 9 FUZZY INFERENCE

46

Thanks for your attention!


Recommended