SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Fuzzy logic




 By: zaid da’ood
Fuzzy Logic Introduction
1.Introduction
Fuzzy Logic was initiated in 1965 [1], [2], [3], by
Lotfi A. Zadeh , professor for computer science at
the University of California in Berkeley.

Basically, Fuzzy Logic (FL) is a multivalued
logic, that allows intermediate values to be
defined between conventional evaluations like
true/false,yes/no, high/low, etc. Notions like rather
tall or very fast can be formulated
mathematically and processed by computers, in
order to apply a more human−like way of thinking
in the programming of computers[4].

Fuzzy systems is an alternative to traditional
notions of set membership
Fuzzy systems is an alternative to traditional notions of set
membership and logic that has its origins in ancient Greek
philosophy.
The precision of mathematics owes its success in large part
to the efforts of Aristotle and the philosophers who
preceded him.
 In their efforts to devise a concise theory of logic, and
later a, the so−called "Laws of Thought" were posited
[5].
One of these, the "Law of the Excluded Middle," states that
   every proposition must either be True or False. Even when
Parminedes proposed the first version of this law (around 400
     B.C.) there were strong and immediate objections: for
      example, Heraclitus proposed that things could be
  simultaneously True and not True. It was Plato who laid the
foundation for what would become fuzzy logic, indicating that
 there was a third region (beyond True and False) where these
opposites "tumbled about." Other, more modern philosophers
echoed his sentiments, notably Hegel, Marx, and Engels. But it
was Lukasiewicz who first proposed a systematic alternative to
               the bi−valued logic of Aristotle [6].
Even in the present time some Greeks are still outstanding
 examples for fussiness and fuzziness, (note the connection to
   logic got lost somewhere during the last 2 mileniums [7]).
     Fuzzy Logic has emerged as a a profitable tool for the
  controlling and steering of systems and complex industrial
     processes, as well as for household and entertainment
electronics, as well as for other expert systems and applications
                like the classification of SAR data.
Fuzzy Sets
   In contrast to crisp sets, fuzzy sets have membership
Degrees That means, in addition to the values 1 (belongs to)
and 0 (does not belong to) an element can have any value in
  between (“kind of belongs to”) Formally speaking, the
membership function μA(x) for a fuzzy set A maps elements
            x to any value in the interval [0, 1]:
                       μA : X → [0, 1]
Comparing Fuzzy Sets
 Equality:
 Crisp sets: two sets A and B are equal, if they
 contain the same elements
 Fuzzy sets: all membership degrees have to be
 equal, i.e. μA(x) = μB(x) for all x ∈ X
 Containment:
 Crisp sets: A is contained in B (A ⊆ B), if all
 elements in A are also elements of B
 Fuzzy sets: again membership degrees have to be
 considered, i.e. A ⊆ B ⇔ μA(x) ≤ μB(x) for all x ∈ X
Fuzzy Operators

 Complement (logical NOT): μA(u) = 1 − μA(u)


 Union (logical OR): μA[B(u) = max(μA(u), μB(u))


 Intersection(logical AND):μAB(u)=min(μA(u),μB(u))
Example: Build a Fuzzy Controller
     FROM Fuzzy Thinkring, Bart Kosko

Goal: Design a motor speed controller for air
Conditioner.
Step 1: assign input and output variables
Let X be the temperature in Fahrenheit
Let Y be the motor speed of the air conditioner
Step 2: Pick fuzzy sets
Define linguistic terms of the linguistic
variables
temperature (X) and motor speed (Y) and
associate them with fuzzy sets
For example, 5 linguistic terms / fuzzy
sets on X
• Cold, Cool, Just Right, Warm, and Hot
Say 5 linguistic terms / fuzzy sets on Y
• Stop, Slow, Medium, Fast, and Blast
Input Fuzzy sets
Output Fuzzy sets
Step 3: Assign a motor speed set to
each
temperature set
• If temperature is cold then motor speed is stop
• If temperature is cool then motor speed is slow
• If temperature is just right then motor speed is
Medium
• If temperature is warm then motor speed is fast
• If temperature is hot then motor speed is blast
A Fuzzy Relation
 expressed by a
      rule
A Fuzzy controller with 5 patches
If temperature is just right then motor
          speed is medium
t = 63 degree F.
Summary of Fuzzy Logic
• Rather than ealing with probability (0.0-1.0), Fuzzy
Logic deals with fuzzy set membership – an entity can
be in two or more sets at the same time, to different
degrees.

• Key concept is thus the degree of set membership
(0-1) The degree of set membership can also be referred
to as degree of truth of the proposition, X is in set Y.

• Degree of membership often calculated
algebraically, e.g., if height= 185, then degree = (185-170)
/(200-170) = 0.5
• Degree can also be given in tables (which would
give a stepped membership graph):
OPERATIONS:
• Subset: A fuzzy set A is a subset of fuzzy set B if for all
elements of A, the degree
of membership in A is less than in B.
• Complement: 2 fuzzy sets are complementary if for all
elements of A, the degree of
membership in B is 1-A(s).
• Union: The union of two fuzzy sets will assign degree of
membership equal to the
highest of the two sets.
• Intersection: The intersection of two fuzzy sets will
assign degree of membership
equal to the lowest of the two sets.
MEMBERSHIP IN COMPLEX SETS:

• To what degree is X in SET1 and SET2 ? – take
the lowest of the truth values (e.g.,as in
traditional logic A&B is false if any one is false).

• To what degree is X in SET1 or SET2 ? – take the
highest of the truth values (e.g., as in traditional
logic AvB is true if any one is true)
NATURAL LANGUAGE MODIFIERS
References

[1]L.A. Zadeh, Fuzzy Sets, Information and Control, 1965
[2]L.A. Zadeh, Outline of A New Approach to the Analysis of of Complex
Systems and Decision Processes, 1973
[3] L.A. Zadeh, "Fuzzy algorithms," Info. & Ctl., Vol. 12, 1968, pp. 94������ 102.
[4] L.A. Zadeh, "Making computers think like people," IEEE.
Spectrum, 8/1984,
pp. 26������ 32.
[5] S. Korner, "Laws of thought," Encyclopedia of Philosophy, Vol.
4, MacMillan,
NY: 1967, pp. 414������ 417.
[6] C. Lejewski, "Jan Lukasiewicz," Encyclopedia of Philosophy, Vol. 5,
MacMillan, NY: 1967, pp. 104������ 107.
[7] A. Reigber, "My life with Kostas", unpublished report, Neverending Story
Press , 1999
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Sets and disjoint sets union123
Sets and disjoint sets union123Sets and disjoint sets union123
Sets and disjoint sets union123
Ankita Goyal
 
lecture 9
lecture 9lecture 9
lecture 9
sajinsc
 
connected compounds
connected compoundsconnected compounds
connected compounds
sowfi
 

Was ist angesagt? (19)

Publisher
PublisherPublisher
Publisher
 
Sets and disjoint sets union123
Sets and disjoint sets union123Sets and disjoint sets union123
Sets and disjoint sets union123
 
0.1 Sets
0.1 Sets0.1 Sets
0.1 Sets
 
Discrete Mathematics Lecture Notes
Discrete Mathematics Lecture NotesDiscrete Mathematics Lecture Notes
Discrete Mathematics Lecture Notes
 
Use of the Tree.
Use of the Tree.Use of the Tree.
Use of the Tree.
 
lecture 9
lecture 9lecture 9
lecture 9
 
Introduction to theory of computation
Introduction to theory of computationIntroduction to theory of computation
Introduction to theory of computation
 
Binary search algorithm
Binary search algorithmBinary search algorithm
Binary search algorithm
 
SEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSSEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMS
 
0.2 Real Number Properties
0.2 Real Number Properties0.2 Real Number Properties
0.2 Real Number Properties
 
connected compounds
connected compoundsconnected compounds
connected compounds
 
Subset sum problem Dynamic and Brute Force Approch
Subset sum problem Dynamic and Brute Force ApprochSubset sum problem Dynamic and Brute Force Approch
Subset sum problem Dynamic and Brute Force Approch
 
PPT On Sorting And Searching Concepts In Data Structure | In Programming Lang...
PPT On Sorting And Searching Concepts In Data Structure | In Programming Lang...PPT On Sorting And Searching Concepts In Data Structure | In Programming Lang...
PPT On Sorting And Searching Concepts In Data Structure | In Programming Lang...
 
Demonstrate interpolation search
Demonstrate interpolation searchDemonstrate interpolation search
Demonstrate interpolation search
 
Interpolation search
Interpolation searchInterpolation search
Interpolation search
 
Sum of subset problem
Sum of subset problemSum of subset problem
Sum of subset problem
 
Pattern recognition 4 - MLE
Pattern recognition 4 - MLEPattern recognition 4 - MLE
Pattern recognition 4 - MLE
 
Arithmetic Order Of Operations
Arithmetic Order Of OperationsArithmetic Order Of Operations
Arithmetic Order Of Operations
 
7.01
7.017.01
7.01
 

Andere mochten auch

Fuzzy introduction
Fuzzy introductionFuzzy introduction
Fuzzy introduction
Vivek Kumar
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy Logic
Praneel Chand
 
33412283 solving-fuzzy-logic-problems-with-matlab
33412283 solving-fuzzy-logic-problems-with-matlab33412283 solving-fuzzy-logic-problems-with-matlab
33412283 solving-fuzzy-logic-problems-with-matlab
sai kumar
 
Speed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controllerSpeed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controller
Murugappa Group
 
Pid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logicPid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logic
Roni Roshni
 

Andere mochten auch (13)

Ar drones
Ar dronesAr drones
Ar drones
 
Fuzzy introduction
Fuzzy introductionFuzzy introduction
Fuzzy introduction
 
Modelling of fuzzy logic controller for variable step mppt in photovoltaic sy...
Modelling of fuzzy logic controller for variable step mppt in photovoltaic sy...Modelling of fuzzy logic controller for variable step mppt in photovoltaic sy...
Modelling of fuzzy logic controller for variable step mppt in photovoltaic sy...
 
Introduction to Fuzzy Logic in Networks
Introduction to Fuzzy Logic in NetworksIntroduction to Fuzzy Logic in Networks
Introduction to Fuzzy Logic in Networks
 
Intelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy LogicIntelligent Control and Fuzzy Logic
Intelligent Control and Fuzzy Logic
 
33412283 solving-fuzzy-logic-problems-with-matlab
33412283 solving-fuzzy-logic-problems-with-matlab33412283 solving-fuzzy-logic-problems-with-matlab
33412283 solving-fuzzy-logic-problems-with-matlab
 
srm
srmsrm
srm
 
BLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPTBLDC control using PID & FUZZY logic controller-CSD PPT
BLDC control using PID & FUZZY logic controller-CSD PPT
 
Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
 
Fuzzy logic and neural networks
Fuzzy logic and neural networksFuzzy logic and neural networks
Fuzzy logic and neural networks
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
 
Speed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controllerSpeed control of dc motor by fuzzy controller
Speed control of dc motor by fuzzy controller
 
Pid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logicPid controller tuning using fuzzy logic
Pid controller tuning using fuzzy logic
 

Ähnlich wie Fuzzy logic by zaid da'ood

Fuzzy logic and fuzzy time series edited
Fuzzy logic and fuzzy time series   editedFuzzy logic and fuzzy time series   edited
Fuzzy logic and fuzzy time series edited
Prof Dr S.M.Aqil Burney
 
Resources
ResourcesResources
Resources
butest
 
On fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceOn fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncce
Surender Singh
 
23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt
jdinfo444
 
santosh kumar fuzzy logic presentation
santosh kumar   fuzzy logic presentationsantosh kumar   fuzzy logic presentation
santosh kumar fuzzy logic presentation
Akash Maurya
 

Ähnlich wie Fuzzy logic by zaid da'ood (20)

Fuzzy logic Notes AI CSE 8th Sem
Fuzzy logic Notes AI CSE 8th SemFuzzy logic Notes AI CSE 8th Sem
Fuzzy logic Notes AI CSE 8th Sem
 
Classical Sets & fuzzy sets
Classical Sets & fuzzy setsClassical Sets & fuzzy sets
Classical Sets & fuzzy sets
 
Fuzzy.pptx
Fuzzy.pptxFuzzy.pptx
Fuzzy.pptx
 
Fuzzy logic and fuzzy time series edited
Fuzzy logic and fuzzy time series   editedFuzzy logic and fuzzy time series   edited
Fuzzy logic and fuzzy time series edited
 
Resources
ResourcesResources
Resources
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Optimization using soft computing
Optimization using soft computingOptimization using soft computing
Optimization using soft computing
 
Fuzzy sets
Fuzzy sets Fuzzy sets
Fuzzy sets
 
Fuzzy logic1
Fuzzy logic1Fuzzy logic1
Fuzzy logic1
 
Foundation of KL Divergence
Foundation of KL DivergenceFoundation of KL Divergence
Foundation of KL Divergence
 
Fuzzy logic member functions
Fuzzy logic member functionsFuzzy logic member functions
Fuzzy logic member functions
 
On fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncceOn fuzzy concepts in engineering ppt. ncce
On fuzzy concepts in engineering ppt. ncce
 
Application for Logical Expression Processing
Application for Logical Expression Processing Application for Logical Expression Processing
Application for Logical Expression Processing
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
 
Fuzzy Logic_HKR
Fuzzy Logic_HKRFuzzy Logic_HKR
Fuzzy Logic_HKR
 
23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt23 fuzzy lecture ppt basics- new 23.ppt
23 fuzzy lecture ppt basics- new 23.ppt
 
Fb35884889
Fb35884889Fb35884889
Fb35884889
 
Fuzzy Logic ppt
Fuzzy Logic pptFuzzy Logic ppt
Fuzzy Logic ppt
 
santosh kumar fuzzy logic presentation
santosh kumar   fuzzy logic presentationsantosh kumar   fuzzy logic presentation
santosh kumar fuzzy logic presentation
 
Unit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdfUnit-II -Soft Computing.pdf
Unit-II -Soft Computing.pdf
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 

Fuzzy logic by zaid da'ood

  • 1. Fuzzy logic  By: zaid da’ood
  • 2. Fuzzy Logic Introduction 1.Introduction Fuzzy Logic was initiated in 1965 [1], [2], [3], by Lotfi A. Zadeh , professor for computer science at the University of California in Berkeley. Basically, Fuzzy Logic (FL) is a multivalued logic, that allows intermediate values to be defined between conventional evaluations like true/false,yes/no, high/low, etc. Notions like rather tall or very fast can be formulated mathematically and processed by computers, in order to apply a more human−like way of thinking in the programming of computers[4]. Fuzzy systems is an alternative to traditional notions of set membership
  • 3. Fuzzy systems is an alternative to traditional notions of set membership and logic that has its origins in ancient Greek philosophy. The precision of mathematics owes its success in large part to the efforts of Aristotle and the philosophers who preceded him. In their efforts to devise a concise theory of logic, and later a, the so−called "Laws of Thought" were posited [5].
  • 4. One of these, the "Law of the Excluded Middle," states that every proposition must either be True or False. Even when Parminedes proposed the first version of this law (around 400 B.C.) there were strong and immediate objections: for example, Heraclitus proposed that things could be simultaneously True and not True. It was Plato who laid the foundation for what would become fuzzy logic, indicating that there was a third region (beyond True and False) where these opposites "tumbled about." Other, more modern philosophers echoed his sentiments, notably Hegel, Marx, and Engels. But it was Lukasiewicz who first proposed a systematic alternative to the bi−valued logic of Aristotle [6].
  • 5. Even in the present time some Greeks are still outstanding examples for fussiness and fuzziness, (note the connection to logic got lost somewhere during the last 2 mileniums [7]). Fuzzy Logic has emerged as a a profitable tool for the controlling and steering of systems and complex industrial processes, as well as for household and entertainment electronics, as well as for other expert systems and applications like the classification of SAR data.
  • 6. Fuzzy Sets In contrast to crisp sets, fuzzy sets have membership Degrees That means, in addition to the values 1 (belongs to) and 0 (does not belong to) an element can have any value in between (“kind of belongs to”) Formally speaking, the membership function μA(x) for a fuzzy set A maps elements x to any value in the interval [0, 1]: μA : X → [0, 1]
  • 7. Comparing Fuzzy Sets  Equality:  Crisp sets: two sets A and B are equal, if they  contain the same elements  Fuzzy sets: all membership degrees have to be  equal, i.e. μA(x) = μB(x) for all x ∈ X  Containment:  Crisp sets: A is contained in B (A ⊆ B), if all  elements in A are also elements of B  Fuzzy sets: again membership degrees have to be  considered, i.e. A ⊆ B ⇔ μA(x) ≤ μB(x) for all x ∈ X
  • 8. Fuzzy Operators  Complement (logical NOT): μA(u) = 1 − μA(u)  Union (logical OR): μA[B(u) = max(μA(u), μB(u))  Intersection(logical AND):μAB(u)=min(μA(u),μB(u))
  • 9. Example: Build a Fuzzy Controller FROM Fuzzy Thinkring, Bart Kosko Goal: Design a motor speed controller for air Conditioner. Step 1: assign input and output variables Let X be the temperature in Fahrenheit Let Y be the motor speed of the air conditioner
  • 10. Step 2: Pick fuzzy sets Define linguistic terms of the linguistic variables temperature (X) and motor speed (Y) and associate them with fuzzy sets For example, 5 linguistic terms / fuzzy sets on X • Cold, Cool, Just Right, Warm, and Hot Say 5 linguistic terms / fuzzy sets on Y • Stop, Slow, Medium, Fast, and Blast
  • 13. Step 3: Assign a motor speed set to each temperature set • If temperature is cold then motor speed is stop • If temperature is cool then motor speed is slow • If temperature is just right then motor speed is Medium • If temperature is warm then motor speed is fast • If temperature is hot then motor speed is blast
  • 14. A Fuzzy Relation expressed by a rule
  • 15. A Fuzzy controller with 5 patches
  • 16. If temperature is just right then motor speed is medium
  • 17. t = 63 degree F.
  • 19. • Rather than ealing with probability (0.0-1.0), Fuzzy Logic deals with fuzzy set membership – an entity can be in two or more sets at the same time, to different degrees. • Key concept is thus the degree of set membership (0-1) The degree of set membership can also be referred to as degree of truth of the proposition, X is in set Y. • Degree of membership often calculated algebraically, e.g., if height= 185, then degree = (185-170) /(200-170) = 0.5
  • 20.
  • 21. • Degree can also be given in tables (which would give a stepped membership graph):
  • 22. OPERATIONS: • Subset: A fuzzy set A is a subset of fuzzy set B if for all elements of A, the degree of membership in A is less than in B. • Complement: 2 fuzzy sets are complementary if for all elements of A, the degree of membership in B is 1-A(s). • Union: The union of two fuzzy sets will assign degree of membership equal to the highest of the two sets. • Intersection: The intersection of two fuzzy sets will assign degree of membership equal to the lowest of the two sets.
  • 23. MEMBERSHIP IN COMPLEX SETS: • To what degree is X in SET1 and SET2 ? – take the lowest of the truth values (e.g.,as in traditional logic A&B is false if any one is false). • To what degree is X in SET1 or SET2 ? – take the highest of the truth values (e.g., as in traditional logic AvB is true if any one is true)
  • 25.
  • 26. References [1]L.A. Zadeh, Fuzzy Sets, Information and Control, 1965 [2]L.A. Zadeh, Outline of A New Approach to the Analysis of of Complex Systems and Decision Processes, 1973 [3] L.A. Zadeh, "Fuzzy algorithms," Info. & Ctl., Vol. 12, 1968, pp. 94������ 102. [4] L.A. Zadeh, "Making computers think like people," IEEE. Spectrum, 8/1984, pp. 26������ 32. [5] S. Korner, "Laws of thought," Encyclopedia of Philosophy, Vol. 4, MacMillan, NY: 1967, pp. 414������ 417. [6] C. Lejewski, "Jan Lukasiewicz," Encyclopedia of Philosophy, Vol. 5, MacMillan, NY: 1967, pp. 104������ 107. [7] A. Reigber, "My life with Kostas", unpublished report, Neverending Story Press , 1999