fuzzy logic (vast 2015)

32
Dept. of Electronics and Communication Engg. Vision: Progress through the growing knowledge of Electronics and Communication technology. Mission: To emerge as a world class center of learning, research and development, integrating with the latest trends in Electronics and Communication Engineering for the service of humanity. 15.01.2015 Prof. Dr. S. Swapna Kumar Introduction to FUZZY LOGIC

TRANSCRIPT

Page 1: Fuzzy logic (vast 2015)

Dept. of Electronics and Communication Engg.

Vision: Progress through the growing knowledge of Electronics and Communication technology.

Mission: To emerge as a world class center of learning, research and development, integrating with the latest trends

in Electronics and Communication Engineering for the service of humanity.

15.01.2015

Prof. Dr. S. Swapna Kumar

Introduction to FUZZY LOGIC

Page 2: Fuzzy logic (vast 2015)

Professor Dr. Lotfali Asker Zadeh

Born: February 4, 1921 (age 93)

Baku, Soviet, Azerbaijan

Professional affiliationProfessor in the Graduate School, Computer Science Division

Department of Electrical Engineering and Computer Sciences

University of California

Berkeley, CA 94720 -1776

Director, Berkeley Initiative in Soft Computing (BISC)

[email protected]

http://www.cs.berkeley.edu/~zadeh/

Tel.(office): (510) 642-4959

Fax (office): (510) 642-1712

Tel.(home): (510) 526-2569

Fax (home): (510) 526-2433

1938: Alborz International High School, Tehran, Iran.

1942: B.S. engineering degree, University of Tehran, Iran.

1946 : M.S., Massachusetts Institute of Technology.

1949: PhD – (Electrical Engineering}, Columbia University.

Faculty member: Columbia University and the University of

California-Berkeley.

1990: Retired from UC-Berkeley

Director of UC Berkeley Initiative on Soft Computing.2

Page 3: Fuzzy logic (vast 2015)

Adversity

*Fuzzy Logic: Intelligence, Control, and Information - J. Yen and R. Langari, Prentice Hall 1999

1964: Lotfi A. Zadeh, UC Berkeley, introduced the

paper on fuzzy sets.

Idea of grade of membership was born

Sharp criticism from academic community

Name!

Theory’s emphasis on imprecision

Waste of government funds!

3

Page 4: Fuzzy logic (vast 2015)

History of Fuzzy Logic

*Fuzzy Logic: Intelligence, Control, and Information - J. Yen and R. Langari, Prentice Hall 1999

1965: Zadeh introduced fuzzy set theory

1970s: research groups were form in JAPAN

1974: Mamdani, United Kingdom, developed the first fuzzy

logic controller

1977: Dubois applied fuzzy sets in a comprehensive study of

traffic conditions

1976-1987: Industrial application of fuzzy logic in Japan and

Europe

1987-Present: Fuzzy Boom4

Page 5: Fuzzy logic (vast 2015)

Precision is not ULTIMATE truth

5

Page 6: Fuzzy logic (vast 2015)

Traditional logic

A rose is either RED or not RED.

6

Page 7: Fuzzy logic (vast 2015)

Traditional (crisp) logic

What about this rose?

7

Page 8: Fuzzy logic (vast 2015)

Precision & Significant in Real world

Fuzzy logic relative importance of precision; when a rough

answer will do.

8

Page 9: Fuzzy logic (vast 2015)

What/How……!!!!

FastestSlow FastSlowest[ 0.1 – 0.25 ] [ 0.25 – 0.50 ] [ 0.50 – 0.75 ] [ 0.75 – 1.00 ]

Very tall ~ 7f

Tall ~ 6f

Average ~ 5f

Short ~ 4f

Very short ~ 3f9

Page 10: Fuzzy logic (vast 2015)

10

What is FUZZY LOGIC?

Fuzzy logic:

A way to represent variation or imprecision in logic

A way to make use of natural language in logic

Approximate reasoning

Linguistic variables:

Temp: {freezing, cool, warm, hot}

Cloud Cover: {overcast, partly cloudy, sunny}

Speed: {slow, fast}

Problem-solving methodology

Definite conclusion

Page 11: Fuzzy logic (vast 2015)

Fuzzy Sets

NOTE: FUZZY SET IS NOT A “SET” but is a mapping

A x x x XA {( , ( ))| }

Universe or

universe of discourseFuzzy set

Membership

Function (MF)

A fuzzy set is totally characterized by a

membership function (MF).

Integer

11

Page 12: Fuzzy logic (vast 2015)

Membership function

A membership function (MF) is a curve that maps input space

to a membership value between 0 and 1.

cxif

cxbifbc

xc

bxaifab

ax

axif

xA

0

0

)(

a b c x

µA(x)

1

0

12

Page 13: Fuzzy logic (vast 2015)

Membership Functions (MFs)

13

Page 14: Fuzzy logic (vast 2015)

14

Is water colorless?

CRISP Yes = 1, No = 0

Is I am honest?

Extremely honest = 1

Very honest = 0.80

Honest at times = 0.4

Extremely dishonest = 0

Crisp Vs.. Fuzzy

Page 15: Fuzzy logic (vast 2015)

Membership Functions

Fuzzy logic Connectives:

Fuzzy Disjunction,

Fuzzy Conjunction,

1550 70 90 1103010

Temp. (F°)

Freezing Cool Warm Hot

0

1

0.7

0.3

How cool is 36 F° ?

µA(x)

Michio SugenoEbrahim Mamdani

Page 16: Fuzzy logic (vast 2015)

Fuzzy Logic System

16

Crisp Input

Fuzzification

Rules

De-Fuzzification

Crisp Output Result

“antecedent”

“consequent”

Begin

End

Page 17: Fuzzy logic (vast 2015)

FUZZY LOGIC USING MATLAB

17

Page 18: Fuzzy logic (vast 2015)

PRIMARY GUI TOOLS

18

Page 19: Fuzzy logic (vast 2015)

User Interface Layout: FIS Editor

19

Page 20: Fuzzy logic (vast 2015)

User Interface Layout: MF Editor

20

Page 21: Fuzzy logic (vast 2015)

User Interface Layout: MF Editor

21

Page 22: Fuzzy logic (vast 2015)

User Interface Layout: Rule Editor

22

Page 23: Fuzzy logic (vast 2015)

User Interface Layout: Rule Viewer

23

fis=readfis('ws')

out=evalfis(scale,fis)

out=result

Page 24: Fuzzy logic (vast 2015)

UIL: Surface Viewer

24

Page 25: Fuzzy logic (vast 2015)

Fuzzy Logic Control of

Washing Machines

25

BWA

Page 26: Fuzzy logic (vast 2015)

Fuzzy Surface

26

Page 27: Fuzzy logic (vast 2015)

27

Drawbacks to Fuzzy logic

Requires tuning of membership functions

Fuzzy Logic control may not scale well to large or

complex problems

Deals with imprecision, and vagueness, but not

uncertainty

Page 28: Fuzzy logic (vast 2015)

Fuzzy Logic Applications

Aerospace

Automotive

Business

Chemical Industry

Defense

Electronics

Financial

Industrial

Manufacturing

Marine

Medical

Signal Processing

Telecommunications

Transportation

28

Page 29: Fuzzy logic (vast 2015)

Summary

Fuzzy logic provides an alternative way to represent

linguistic and subjective attributes of the real world in

computing.

It is able to be applied to control systems and other

applications in order to improve the efficiency and

simplicity of the design process.

29

Page 30: Fuzzy logic (vast 2015)

30

References

L. Zadah, “Fuzzy sets as a basis of possibility” Fuzzy

Sets Systems, Vol. 1, pp3-28, 1978.

T. J. Ross, “Fuzzy Logic with Engineering

Applications”, McGraw-Hill, 1995.

K. M. Passino, S. Yurkovich, "Fuzzy Control" Addison

Wesley, 1998.

Google…..

Page 32: Fuzzy logic (vast 2015)

Thank You

[email protected]