• No results found

fuzzy-logic.ppt

N/A
N/A
Protected

Academic year: 2020

Share "fuzzy-logic.ppt"

Copied!
40
0
0

Loading.... (view fulltext now)

Full text

(1)

Fuzzy Logic

(2)

History, State of the Art, and

Future Development

History, State of the Art, and

Future Development

Sde 2

Today, Fuzzy Logic Has Today, Fuzzy Logic Has Already Become the Already Become the Standard Technique for Standard Technique for Multi-Variable Control ! Multi-Variable Control !

1965 Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh, Faculty in Electrical Engineering, U.C. Berkeley, Sets the Foundation of the “Fuzzy Set Theory”

1970 First Application of Fuzzy Logic in Control Engineering (Europe)

1975 Introduction of Fuzzy Logic in Japan

1980 Empirical Verification of Fuzzy Logic in Europe

1985 Broad Application of Fuzzy Logic in Japan

1990 Broad Application of Fuzzy Logic in Europe

1995 Broad Application of Fuzzy Logic in the U.S.

2000 Fuzzy Logic Becomes a Standard Technology and Is Also Applied in Data and Sensor Signal Analysis. Application of Fuzzy Logic in Business and Finance. 1965 Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh,

Faculty in Electrical Engineering, U.C. Berkeley, Sets the Foundation of the “Fuzzy Set Theory”

1970 First Application of Fuzzy Logic in Control Engineering (Europe)

1975 Introduction of Fuzzy Logic in Japan

1980 Empirical Verification of Fuzzy Logic in Europe

1985 Broad Application of Fuzzy Logic in Japan

1990 Broad Application of Fuzzy Logic in Europe

1995 Broad Application of Fuzzy Logic in the U.S.

(3)

Fuzzy Sets

• Extension of Classical Sets

• Not just a membership value of in the set

and out the set, 1 and 0

(4)

The crisp set v.s. the fuzzy set

• The

crisp set

is defined in such a way as to dichotomize(classification)

the individuals in some given universe of discourse into two groups:

members and nonmembers

.

– However, many classification concepts do not exhibit this characteristic.

– For example, the set of tall people, expensive cars, or sunny days.

• A

fuzzy set

can be defined mathematically by assigning to each possible

individual in the universe of discourse a value representing its

grade of

membership

in the fuzzy set.

– For example: a fuzzy set representing our concept of

sunny

might assign

a degree of membership of 1 to a cloud cover of 0%, 0.8 to a cloud

cover of 20%, 0.4 to a cloud cover of 30%, and 0 to a cloud cover of

75%.

(5)

Conventional (Boolean) Set Theory:

Conventional (Boolean) Set Theory:

Fuzzy Set Theory

Fuzzy Set Theory

“Strong Fever”

40.1°C

40.1°C

42°C

42°C

41.4°C

41.4°C

39.3°C

39.3°C

38.7°C

38.7°C

37.2°C

37.2°C

38°C

38°C

Fuzzy Set Theory:

Fuzzy Set Theory:

(6)

6

Application

• Application areas

– Fuzzy Control

• Subway trains

• Cement kilns

(7)

Example: Height

• Tall people: say taller than or equal to 1.8m

– 1.8m , 2m, 3m etc member of this set

– 1.0 m, 1.5m or even 1.79999m not a member

• Real systems have measurement uncertainty

(8)

1.3 Fuzzy sets: basic types

• A

membership function

:

– A characteristic function: the values assigned to the elements of the

universal set fall within a specified range and indicate the

membership grade of these elements in the set.

– Larger values denote higher degrees of set membership.

• A set defined by membership functions is a

fuzzy set

.

• The most commonly used range of values of membership functions is

the

unit interval

[0,1].

• We think the universal set

X

is always a crisp set.

• Notation:

– The membership function of a fuzzy set

A

is denoted by :

– In the other one, the function is denoted by

A

and has the same form

– In this text, we use the

second notation

.

A

]

1

,

0

[

:

X

A

8 ] 1 , 0 [ :XA
(9)

Member Functions

• Membership function

– better than listing membership values

• e.g. Tall(x) = {1 if x >= 1.9m ,

– 0 if x <= 1.7m

(10)

10

Example: Fuzzy Short

• Short(x) = {0 if x >= 1.9m ,

– 1 if x <= 1.7m

(11)

Fuzzy Set Operators

• Fuzzy Set:

– Union

– Intersection

– Complement

• Many possible definitions

(12)

12

Fuzzy Set Union

• Union ( f

A

(x) and f

B

(x) ) =

– max (f

A

(x) , f

B

(x) )

(13)

Fuzzy Set Intersection

• Intersection ( f

A

(x) and f

B

(x) ) =

– min (f

A

(x) , f

B

(x) )

(14)

14

Fuzzy Set Complement

(15)

Fuzzy Logic Operators

• Fuzzy Logic:

– NOT (A) = 1 - A

(16)

16

(17)
(18)

18

(19)

Fuzzy Controllers

(20)

20

(21)

Fuzzification

• Conversion of real input to fuzzy set values

• e.g. Medium ( x ) = {

– 0 if x >= 1.90 or x < 1.70,

(22)

22

Inference Engine

• Fuzzy rules

– based on fuzzy premises and fuzzy consequences

• e.g.

– If height is Short and weight is Light then feet are

Small

(23)

Fuzzification & Inference

Example

• If height is 1.7m and weight is 55kg

(24)

24

Defuzzification

• Rule base has many rules

– so some of the output fuzzy sets will have

membership value > 0

– Defuzzify to get a real value from the fuzzy

outputs

(25)
(26)

26

Input Fuzzy Sets

(27)

Output Fuzzy Sets

(28)

28

Fuzzy Rules

• If Angle is Zero then output ?

• If Angle is SP then output ?

• If Angle is SN then output ?

(29)
(30)

30

Extended System

• Make use of additional information

– angular velocity:- -5.0 to 5.0 degrees/ second

(31)

New Fuzzy Rules

• Make use of old Fuzzy rules for angular velocity

Zero

• If Angle is Zero and

Angular vel is Zero

– then output Zero velocity

• If Angle is SP and

Angular vel is Zero

– then output SN velocity

(32)

32

(33)

Complete Table

• When angular velocity is opposite to the

angle do nothing

– System can correct itself

• If Angle is SP and Angular velocity is SN

– then output ZE velocity

(34)

34

Example

• Inputs:10 degrees, -3.5 degrees/sec

• Fuzzified Values

• Inference Rules

• Output Fuzzy Sets

(35)

Fuzzy Reasoning

• Single rule with single antecedent

Rule

:

if x is A then y is B

Fact

:

x is A’

Conclusion:

y is B’

• Graphic Representation:

(36)

Fuzzy Reasoning

• Single rule with multiple antecedent

Rule

:

if x is A and y is B then z is C

Fact:

x is A’ and y is B’

Conclusion:

z is C’

• Graphic Representation:

A

B

T-norm

X

Y

w

A’

B’

C

2

Z

C’

Z

X

Y

A’

B’

(37)

Fuzzy Reasoning

• Multiple rules with multiple antecedent

Rule 1:

if x is A

1

and y is B

1

then z is C

1

Rule 2:

if x is A

2

and y is B

2

then z is C

2

Fact:

x is A’ and y is B’

Conclusion:

z is C’

(38)

Fuzzy Reasoning

• Graphics representation:

A

1

B

1

A

2

B

2

T-norm

X

X

Y

Y

w1 w2

A’

A’

B’

B’

C

1

C

2

Z

Z

C’

Z

X

Y

A’

B’

(39)

Fuzzy Reasoning: MATLAB

Demo

(40)

Other Variants

• Some terminology:

– Degrees of compatibility (match)

– Firing strength

Figure

Table format

References

Related documents

Evolution in time of the median specific SF rate inside 50 kpc for BCGs in the main progenitor clusters, compared to observational results. The shaded area enclose the 16 per cent

Profile Opportunity Manage Process Establish Support Build Team Define Sales Process Productivity tools Client Information Opportunity information Targeting process Reward

A drop in potency was observed with imidazole 6 in the HSF1-stress pathway assay (77-fold) and to a lesser extent the CDK2 biochemical assay (12-fold).. This article is licensed

The Card Acceptor hereby accepts, in accordance with the contents of the Special Membership Conditions signed by both parties, and this Framework Contract, all

Chemical treatment was applied by using hydrogen peroxide, sulphuric acid, ferrous sulphate, calcium hypochlorite and kerosene/surfactant to oil polluted sample..

When smoothed out, the faded and yellowed map shows a large room with a sarcophagus in the center, like the room the characters are currently in.. In the far right corner of this

In this case nothing has been mentioned about breakup fee. Only reverse breakup fee has been discussed. c) Reverse Breakup Fee: if the buying company walks out of the deal because

FuzzyF, Fuzzy Logic ToolBox, Mathematica Fuzzy Logic, FIDE, TILShell, FuzzyTECH, RockOn Fuzzy Tool, SciLab Fuzzy Fuzzy Tool, UNFUZZY e XFuzzy.. The choice of the