Fuzzy Logic Dinesh Ganotra What could go in

  • Slides: 15
Download presentation
Fuzzy Logic Dinesh Ganotra

Fuzzy Logic Dinesh Ganotra

What could go in the black box? Any number of things: fuzzy systems, linear

What could go in the black box? Any number of things: fuzzy systems, linear systems, expert systems, neural networks, differential equations, interpolated multidimensional lookup tables, or even a spiritual advisor.

In almost every case you can build the same product without fuzzy logic, but

In almost every case you can build the same product without fuzzy logic, but fuzzy is faster and cheaper.

Tipper problem

Tipper problem

Classical or normal sets wouldn't tolerate this kind of thing. Either you're in or

Classical or normal sets wouldn't tolerate this kind of thing. Either you're in or you're out. Human experience suggests something different, though: fence sitting is a part of life.

In fuzzy logic, the truth of any statement becomes a matter of degree. A

In fuzzy logic, the truth of any statement becomes a matter of degree. A fuzzy set admits the possibility of partial membership in it.

Fuzzy Logic AND(A, B) OR (A, B) NOT(A) Min(A, B) Max(A, B) 1 -A

Fuzzy Logic AND(A, B) OR (A, B) NOT(A) Min(A, B) Max(A, B) 1 -A Membership function Set [1 3 5] MF[0. 1 0. 9 0. 5]

Q: Is Saturday a weekend day? A: 1 (yes, or true) Q: Is Tuesday

Q: Is Saturday a weekend day? A: 1 (yes, or true) Q: Is Tuesday a weekend day? A: 0 (no, or false) Q: Is Friday a weekend day? A: 0. 8 (for the most part yes, but not completely) Q: Is Sunday a weekend day? A: 0. 95 (yes, but not quite as much as Saturday).

Main functions in matlab for fuzzy Logic implementation fuzzy filename var = readfis('filename. fis')

Main functions in matlab for fuzzy Logic implementation fuzzy filename var = readfis('filename. fis') evalfis([input 1 input 2. . . ], var) anfis(tran. Dat)% Last column is output

F V 1 1 2 5 5 5 10 10 9 9 9 8

F V 1 1 2 5 5 5 10 10 9 9 9 8 9 7 8 9 2 3 1 10 10 1 M 40 45 50 95 93 92 85 86 42 80 80

[center, U, obj_fcn] = fcm(data, cluster_n) The membership function matrix U contains the grade

[center, U, obj_fcn] = fcm(data, cluster_n) The membership function matrix U contains the grade of membership of each DATA point in each cluster.

Mamdani and Sugeno fuzzy logic Sugeno output membership functions are either linear or constant

Mamdani and Sugeno fuzzy logic Sugeno output membership functions are either linear or constant . . . endless