0% found this document useful (0 votes)
74 views11 pages

Fuzzy Logic

This document discusses fuzzy logic and provides an example of a fuzzy logic air conditioning controller. It defines fuzzy logic as handling partial truth values between 0 and 1 rather than binary true/false. It then gives examples of fuzzy logic applications, defines key fuzzy set concepts like membership functions, and outlines the general structure of a fuzzy logic controller including fuzzification, rules, inference, and defuzzification. Finally, it provides the rule base and membership functions for controlling a fuzzy air conditioning system based on temperature.

Uploaded by

Tej Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views11 pages

Fuzzy Logic

This document discusses fuzzy logic and provides an example of a fuzzy logic air conditioning controller. It defines fuzzy logic as handling partial truth values between 0 and 1 rather than binary true/false. It then gives examples of fuzzy logic applications, defines key fuzzy set concepts like membership functions, and outlines the general structure of a fuzzy logic controller including fuzzification, rules, inference, and defuzzification. Finally, it provides the rule base and membership functions for controlling a fuzzy air conditioning system based on temperature.

Uploaded by

Tej Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 11

Fuzzy Logic

11/6/2001
Agenda

• General Definition
• Applications
• Formal Definitions
• Operations
• Rules
• Fuzzy Air Conditioner
• Controller Structure
General Definition
Fuzzy Logic - 1965 Lotfi Zadeh, Berkely

• superset of conventional (Boolean) logic that has been


extended to handle the concept of partial truth
• central notion of fuzzy systems is that truth values (in
fuzzy logic) or membership values (in fuzzy sets) are
indicated by a value on the range [0.0, 1.0], with 0.0
representing absolute Falseness and 1.0 representing
absolute Truth.
• deals with real world vagueness
Applications

• ABS Brakes
• Expert Systems
• Control Units
• Bullet train between Tokyo and
Osaka
• Video Cameras
• Automatic Transmissions
Formal Definitions
• Definition 1: Let X be some set of objects, with elements noted as x.
• X = {x}.
• Definition 2: A fuzzy set A in X is characterized by a membership function
mA(x) which maps each point in X onto the real interval [0.0, 1.0]. As mA(x)
approaches 1.0, the "grade of membership" of x in A increases.
• Definition 3: A is EMPTY iff for all x, mA(x) = 0.0.
• Definition 4: A = B iff for all x: mA(x) = mB(x) [or, mA = mB].
• Definition 5: mA' = 1 - mA.
• Definition 6: A is CONTAINED in B iff mA  mB.
• Definition 7: C = A UNION B, where: mC(x) = MAX(mA(x), mB(x)).
• Definition 8: C = A INTERSECTION B where: mC(x) = MIN(mA(x), mB(x)).
Operations

A B

AB AB A
Controller Structure

• Fuzzification
– Scales and maps input variables to fuzzy sets
• Inference Mechanism
– Approximate reasoning
– Deduces the control action
• Defuzzification
– Convert fuzzy output values to control signals
Rule Base

Air Temperature Fan Speed

• Set cold {50, 0, 0} • Set stop {0, 0, 0}


• Set cool {65, 55, 45} • Set slow {50, 30, 10}
• Set just right {70, 65, 60} • Set medium {60, 50, 40}
• Set warm {85, 75, 65} • Set fast {90, 70, 50}
• Set hot {, 90, 80} • Set blast {, 100, 80}
default: Membership
default:
The
Thetruth
truthofofany
statement is
any
a
Membership
function
functionisisaa
curve
curveofofthe
the
Rules
statement is a degree
degree oftruth
of truth
matter
matterofofdegree
degree of
ofaagiven
giveninput
input
value
value

Air Conditioning Controller Example:

• IF Cold then Stop


• If Cool then Slow
• If OK then Medium
• If Warm then Fast
• IF Hot then Blast
Fuzzy Air Conditioner
0

100
st If Hot
Bla then
90
Blast

80 Fa
st If Warm
then
70 Fast

60
Med If Just Right
ium then
50 Medium

40 IF Cool
Slo then
w
30 Slow

if Cold
20
then Stop

10
St
op

1
m

t
ol

Ho
ar
Co

W
Co

Rig t
Jus
ht
ld

45 50 55 60 65 70 75 80 85 90
Mapping Inputs to Outputs
1
0

100

90 t

80

70

60

50

40

30

20

10

45 50 55 60 65 70 75 80 85 90

You might also like