SlideShare a Scribd company logo
Presented by:
                                                            Bhanu Fix Poudyal
                                                                     066BEL305
                                           Department Of Electrical Engineering
                                                            Pulchowk Campus




2/20/2012   Institute Of Engineering, Pulchowk Campus
Agenda

             General Definition
             Applications
             Formal Definitions
             Operations
             Rules
             Fuzzy Air Conditioner
             Controller Structure



2/20/2012   Institute Of Engineering, Pulchowk Campus
Fuzzy Logic



Definition

  Experts rely on common sense when they solve problems.


  How can we represent expert knowledge that uses vague and
     ambiguous terms in a computer?

  Fuzzy logic is not logic that is fuzzy, but logic that is used to describe
     fuzziness. Fuzzy logic is the theory of fuzzy sets, sets that calibrate
     vagueness.

  Fuzzy logic is based on the idea that all things admit of degrees.
     Temperature, height, speed, distance, beauty – all come on a sliding scale.
       The motor is running really hot.
       Tom is a very tall guy.

2/20/2012               Institute Of Engineering, Pulchowk Campus
Fuzzy Logic



Definition

  Many decision-making and problem-solving tasks are too complex to be
     understood quantitatively, however, people succeed by using
     knowledge that is imprecise rather than precise.
    Fuzzy set theory resembles human reasoning in its use of approximate
     information and uncertainty to generate decisions.
    It was specifically designed to mathematically represent uncertainty and
     vagueness and provide formalized tools for dealing with the imprecision
     intrinsic to many engineering and decision problems in a more natural
     way.
    Boolean logic uses sharp distinctions. It forces us to draw lines between
     members of a class and non-members. For instance, we may say, Tom is tall
     because his height is 181 cm. If we drew a line at 180 cm, we would find
     that David, who is 179 cm, is small.
    Is David really a small man or we have just drawn an arbitrary line in the
     sand?

2/20/2012             Institute Of Engineering, Pulchowk Campus
Fuzzy Logic



Bit of History

  Fuzzy, or multi-valued logic, was introduced in the 1930s by Jan
     Lukasiewicz, a Polish philosopher. While classical logic operates with
     only two values 1 (true) and 0 (false), Lukasiewicz introduced logic that
     extended the range of truth values to all real numbers in the interval
     between 0 and 1.

  For example, the possibility that a man 181 cm tall is really tall might be
     set to a value of 0.86. It is likely that the man is tall. This work led to
     an inexact reasoning technique often called possibility theory.

  In 1965 Lotfi Zadeh, published his famous paper “Fuzzy sets”. Zadeh
     extended the work on possibility theory into a formal system of
     mathematical logic, and introduced a new concept for applying natural
     language terms. This new logic for representing and manipulating
     fuzzy terms was called fuzzy logic.


2/20/2012              Institute Of Engineering, Pulchowk Campus
Fuzzy Logic



 Why Fuzzy Logic?
 Why fuzzy?
  As Zadeh said, the term is concrete, immediate and descriptive; we all
  know what it means. However, many people in the West were repelled by
  the word fuzzy, because it is usually used in a negative sense.
 Why logic?
  Fuzziness rests on fuzzy set theory, and fuzzy logic is just a small part of
  that theory.
 The term fuzzy logic is used in two senses:
    Narrow sense: Fuzzy logic is a branch of fuzzy set theory, which deals
     (as logical systems do) with the representation and inference from
     knowledge. Fuzzy logic, unlike other logical systems, deals with
     imprecise or uncertain knowledge. In this narrow, and perhaps correct
     sense, fuzzy logic is just one of the branches of fuzzy set theory.
    Broad Sense: fuzzy logic synonymously with fuzzy set theory


 2/20/2012           Institute Of Engineering, Pulchowk Campus
Applications

             ABS Brakes
             Expert Systems
             Control Units
             Bullet train between Tokyo and Osaka
             Video Cameras
             Automatic Transmissions
             Washing Machines




2/20/2012         Institute Of Engineering, Pulchowk Campus
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)).

 2/20/2012            Institute Of Engineering, Pulchowk Campus
Fuzzy Logic Operators
  Fuzzy Logic:
     NOT (A) = 1 - A
     A AND B = min( A, B)
     A OR B = max( A, B)




2/20/2012       Institute Of Engineering, Pulchowk Campus
Operations




                A                                               B




   A        B                            A       B                  A

2/20/2012           Institute Of Engineering, Pulchowk Campus
Fuzzy Logic NOT




2/20/2012   Institute Of Engineering, Pulchowk Campus
Fuzzy Logic AND




2/20/2012   Institute Of Engineering, Pulchowk Campus
Fuzzy Logic OR




2/20/2012   Institute Of Engineering, Pulchowk Campus
Fuzzy Controllers
  Used to control a physical system




2/20/2012      Institute Of Engineering, Pulchowk Campus
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




2/20/2012         Institute Of Engineering, Pulchowk Campus
Structure of a Fuzzy Controller




2/20/2012   Institute Of Engineering, Pulchowk Campus
Fuzzification
  Conversion of real input to fuzzy set values
  e.g. Medium ( x ) = {
     0 if x >= 1.90 or x < 1.70,
     (1.90 - x)/0.1 if x >= 1.80 and x < 1.90,
     (x- 1.70)/0.1 if x >= 1.70 and x < 1.80 }




2/20/2012          Institute Of Engineering, Pulchowk Campus
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
     Short( height) AND Light(weight) => Small(feet)




2/20/2012        Institute Of Engineering, Pulchowk Campus
Fuzzification & Inference Example
  If height is 1.7m and weight is 55kg
     what is the value of Size(feet)




2/20/2012       Institute Of Engineering, Pulchowk Campus
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
               One approach is to use a centre of gravity method




2/20/2012                 Institute Of Engineering, Pulchowk Campus
Defuzzification Example
  Imagine we have output fuzzy set values
     Small membership value = 0.5
     Medium membership value = 0.25
     Large membership value = 0.0
  What is the deffuzzified value




2/20/2012      Institute Of Engineering, Pulchowk Campus
Fuzzy Control Example




2/20/2012   Institute Of Engineering, Pulchowk Campus
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}




2/20/2012       Institute Of Engineering, Pulchowk Campus
default:             Membership function is
The truth of any
statement is a
                     a curve of the degree
                     of truth of a given
                                                                    Rules
matter of degree
                     input 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




   2/20/2012            Institute Of Engineering, Pulchowk Campus
Fuzzy Air Conditioner
           0

100
                        s   t                                                                   If Hot
90                  Bla                                                                          then
                                                                                                Blast

80                Fa
                     st                                                      If Warm
                                                                                then
70                                                                              Fast

60
                  Med                                       If Just Right
                      ium                                        then
50                                                             Medium

40                                                IF Cool
                     Sl
                          ow                        then
30                                                  Slow

                                      if Cold
20
                                    then Stop

10
                    St
                       o  p




0



                                1
                                                                                 m




                                                                                                          t
                                                  ol




                                                                                                         Ho
                                                                                 ar
                                                Co




                                                                             W
                                      Co




                                                             Rig t
                                                                ht
                                                              Jus
                                       ld




                                0

      2/20/2012                        Institute Of Engineering, Pulchowk Campus
                                      45    50         55   60    65        70        75   80      85         90
Mapping Inputs to Outputs
                                       1
                  0

            100
                               s   t
            90              Bla                                                                  t


            80            Fa
                             st
            70


            60
                          Med
                              iu  m
            50


            40
                             Sl
                                  ow
            30


            20


            10
                            St
                              op




            0



                                           1




                                                                                   m




                                                                                                       t
                                                          ol




                                                                                                      Ho
                                                                                ar
                                                      Co




                                                                               W
                                               Co




                                                                     Rig t
                                                                        ht
                                                                      Jus
                                                ld




                                           0

                                               45    50        55   60   65   70       75   80   85        90

2/20/2012             Institute Of Engineering, Pulchowk Campus

More Related Content

PPTX
FUZZY LOGIC
PPT
Fuzzy logic
PDF
On fuzzy concepts in engineering ppt. ncce
PPTX
Fuzzy logic
PPTX
Fuzzy mathematics:An application oriented introduction
PPTX
Application of fuzzy logic
PPTX
Fuzzy logic
PPT
Fuzzy logic ppt
FUZZY LOGIC
Fuzzy logic
On fuzzy concepts in engineering ppt. ncce
Fuzzy logic
Fuzzy mathematics:An application oriented introduction
Application of fuzzy logic
Fuzzy logic
Fuzzy logic ppt

What's hot (20)

PPTX
Fuzzy logic mis
PPTX
Fuzzy Logic ppt
PPTX
Fuzzy sets
PPTX
Classical Sets & fuzzy sets
PPTX
Fuzzy logic and its applications
PPTX
Chapter 5 - Fuzzy Logic
PPT
Fuzzy Set Theory
PPTX
Fuzzy sets
PPTX
Fuzzy Sets Introduction With Example
PDF
Fuzzy Logic in the Real World
PDF
If then rule in fuzzy logic and fuzzy implications
PPTX
Fuzzy Logic Ppt
PPTX
Fuzzy Set
PPTX
santosh kumar fuzzy logic presentation
PPTX
Neuro-fuzzy systems
PPTX
Applications of linear algebra in computer science
PPTX
Fuzzy logic and application in AI
PPTX
Fuzzy Logic and Neural Network
Fuzzy logic mis
Fuzzy Logic ppt
Fuzzy sets
Classical Sets & fuzzy sets
Fuzzy logic and its applications
Chapter 5 - Fuzzy Logic
Fuzzy Set Theory
Fuzzy sets
Fuzzy Sets Introduction With Example
Fuzzy Logic in the Real World
If then rule in fuzzy logic and fuzzy implications
Fuzzy Logic Ppt
Fuzzy Set
santosh kumar fuzzy logic presentation
Neuro-fuzzy systems
Applications of linear algebra in computer science
Fuzzy logic and application in AI
Fuzzy Logic and Neural Network
Ad

Viewers also liked (20)

PDF
Fuzzy logic speed control of three phase
PPT
Fuzzy Logic
PDF
Fuzzy+logic
PPTX
Speed control of dc motor by fuzzy controller
PPTX
Fuzzy logic
PPTX
Fuzzy logic and neural networks
PPT
Fuzzy control and its applications
PPTX
Soft computing08
PPTX
Fuzzy Logic Application in Robotics( Humanoid Push Recovery)
PPTX
Lecture 29 fuzzy systems
PPTX
Fuzzy Logic Fossil Classification System
PDF
Top Drive Electrical
PPT
Intelligence control using fuzzy logic
PPT
fuzzy logic
PPTX
Fuzzy logic control of washing m achines
PPT
Thompson tchobanian ni_li)
PPTX
Control of electric drive
DOTX
Los chicos de segundo t
PDF
Applying soft computing techniques to corporate mobile security systems
PPTX
Photovoltaic based three phase three-wire saf for significant energy conserva...
Fuzzy logic speed control of three phase
Fuzzy Logic
Fuzzy+logic
Speed control of dc motor by fuzzy controller
Fuzzy logic
Fuzzy logic and neural networks
Fuzzy control and its applications
Soft computing08
Fuzzy Logic Application in Robotics( Humanoid Push Recovery)
Lecture 29 fuzzy systems
Fuzzy Logic Fossil Classification System
Top Drive Electrical
Intelligence control using fuzzy logic
fuzzy logic
Fuzzy logic control of washing m achines
Thompson tchobanian ni_li)
Control of electric drive
Los chicos de segundo t
Applying soft computing techniques to corporate mobile security systems
Photovoltaic based three phase three-wire saf for significant energy conserva...
Ad

Similar to Fuzzy logic (20)

PPTX
Fuzzy logic-120419044344-phpapp01
PPT
Industrial Automation SEQUENTIAL FLOW CHARTSDL.ppt
PPT
Fuzzy logic
PPT
Fuzzy logic - copy
PPTX
Fuzzy logic by zaid da'ood
PDF
Fuzzy Logic & Artificial Neural Network 3
PPTX
Presentation on fuzzy logic and fuzzy systems
PPT
fuzzy-logic.ppt
PPTX
Final presentation
PDF
Report on robotic control
PPTX
Applicationsssssssss_of_fuzzy_logic.pptx
PPTX
Fuzzy set and its application
PDF
Lecture 11 Neural network and fuzzy system
PDF
IRJET- Design of Photovoltaic System using Fuzzy Logic Controller
PPTX
Fuzzy expert system
PPTX
PPTX
Fuzzy logic system
PDF
DEVELOPING Air Conditioner Controller using MATLAB Fuzzy logic presentation
DOCX
What is Fuzzy Logic?
Fuzzy logic-120419044344-phpapp01
Industrial Automation SEQUENTIAL FLOW CHARTSDL.ppt
Fuzzy logic
Fuzzy logic - copy
Fuzzy logic by zaid da'ood
Fuzzy Logic & Artificial Neural Network 3
Presentation on fuzzy logic and fuzzy systems
fuzzy-logic.ppt
Final presentation
Report on robotic control
Applicationsssssssss_of_fuzzy_logic.pptx
Fuzzy set and its application
Lecture 11 Neural network and fuzzy system
IRJET- Design of Photovoltaic System using Fuzzy Logic Controller
Fuzzy expert system
Fuzzy logic system
DEVELOPING Air Conditioner Controller using MATLAB Fuzzy logic presentation
What is Fuzzy Logic?

Recently uploaded (20)

PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
1. Introduction to Computer Programming.pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Hybrid model detection and classification of lung cancer
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Tartificialntelligence_presentation.pptx
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Programs and apps: productivity, graphics, security and other tools
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
1. Introduction to Computer Programming.pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
OMC Textile Division Presentation 2021.pptx
A novel scalable deep ensemble learning framework for big data classification...
Hybrid model detection and classification of lung cancer
cloud_computing_Infrastucture_as_cloud_p
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
NewMind AI Weekly Chronicles – August ’25 Week III
Final SEM Unit 1 for mit wpu at pune .pptx
Assigned Numbers - 2025 - Bluetooth® Document
Tartificialntelligence_presentation.pptx
Getting started with AI Agents and Multi-Agent Systems
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Developing a website for English-speaking practice to English as a foreign la...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
A comparative study of natural language inference in Swahili using monolingua...

Fuzzy logic

  • 1. Presented by: Bhanu Fix Poudyal 066BEL305 Department Of Electrical Engineering Pulchowk Campus 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 2. Agenda  General Definition  Applications  Formal Definitions  Operations  Rules  Fuzzy Air Conditioner  Controller Structure 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 3. Fuzzy Logic Definition  Experts rely on common sense when they solve problems.  How can we represent expert knowledge that uses vague and ambiguous terms in a computer?  Fuzzy logic is not logic that is fuzzy, but logic that is used to describe fuzziness. Fuzzy logic is the theory of fuzzy sets, sets that calibrate vagueness.  Fuzzy logic is based on the idea that all things admit of degrees. Temperature, height, speed, distance, beauty – all come on a sliding scale.  The motor is running really hot.  Tom is a very tall guy. 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 4. Fuzzy Logic Definition  Many decision-making and problem-solving tasks are too complex to be understood quantitatively, however, people succeed by using knowledge that is imprecise rather than precise.  Fuzzy set theory resembles human reasoning in its use of approximate information and uncertainty to generate decisions.  It was specifically designed to mathematically represent uncertainty and vagueness and provide formalized tools for dealing with the imprecision intrinsic to many engineering and decision problems in a more natural way.  Boolean logic uses sharp distinctions. It forces us to draw lines between members of a class and non-members. For instance, we may say, Tom is tall because his height is 181 cm. If we drew a line at 180 cm, we would find that David, who is 179 cm, is small.  Is David really a small man or we have just drawn an arbitrary line in the sand? 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 5. Fuzzy Logic Bit of History  Fuzzy, or multi-valued logic, was introduced in the 1930s by Jan Lukasiewicz, a Polish philosopher. While classical logic operates with only two values 1 (true) and 0 (false), Lukasiewicz introduced logic that extended the range of truth values to all real numbers in the interval between 0 and 1.  For example, the possibility that a man 181 cm tall is really tall might be set to a value of 0.86. It is likely that the man is tall. This work led to an inexact reasoning technique often called possibility theory.  In 1965 Lotfi Zadeh, published his famous paper “Fuzzy sets”. Zadeh extended the work on possibility theory into a formal system of mathematical logic, and introduced a new concept for applying natural language terms. This new logic for representing and manipulating fuzzy terms was called fuzzy logic. 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 6. Fuzzy Logic Why Fuzzy Logic?  Why fuzzy? As Zadeh said, the term is concrete, immediate and descriptive; we all know what it means. However, many people in the West were repelled by the word fuzzy, because it is usually used in a negative sense.  Why logic? Fuzziness rests on fuzzy set theory, and fuzzy logic is just a small part of that theory.  The term fuzzy logic is used in two senses:  Narrow sense: Fuzzy logic is a branch of fuzzy set theory, which deals (as logical systems do) with the representation and inference from knowledge. Fuzzy logic, unlike other logical systems, deals with imprecise or uncertain knowledge. In this narrow, and perhaps correct sense, fuzzy logic is just one of the branches of fuzzy set theory.  Broad Sense: fuzzy logic synonymously with fuzzy set theory 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 7. Applications  ABS Brakes  Expert Systems  Control Units  Bullet train between Tokyo and Osaka  Video Cameras  Automatic Transmissions  Washing Machines 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 8. 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)). 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 9. Fuzzy Logic Operators  Fuzzy Logic:  NOT (A) = 1 - A  A AND B = min( A, B)  A OR B = max( A, B) 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 10. Operations A B A B A B A 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 11. Fuzzy Logic NOT 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 12. Fuzzy Logic AND 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 13. Fuzzy Logic OR 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 14. Fuzzy Controllers  Used to control a physical system 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 15. 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 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 16. Structure of a Fuzzy Controller 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 17. Fuzzification  Conversion of real input to fuzzy set values  e.g. Medium ( x ) = {  0 if x >= 1.90 or x < 1.70,  (1.90 - x)/0.1 if x >= 1.80 and x < 1.90,  (x- 1.70)/0.1 if x >= 1.70 and x < 1.80 } 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 18. 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  Short( height) AND Light(weight) => Small(feet) 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 19. Fuzzification & Inference Example  If height is 1.7m and weight is 55kg  what is the value of Size(feet) 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 20. 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  One approach is to use a centre of gravity method 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 21. Defuzzification Example  Imagine we have output fuzzy set values  Small membership value = 0.5  Medium membership value = 0.25  Large membership value = 0.0  What is the deffuzzified value 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 22. Fuzzy Control Example 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 23. 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} 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 24. default: Membership function is The truth of any statement is a a curve of the degree of truth of a given Rules matter of degree input 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 2/20/2012 Institute Of Engineering, Pulchowk Campus
  • 25. Fuzzy Air Conditioner 0 100 s t If Hot 90 Bla then Blast 80 Fa st If Warm then 70 Fast 60 Med If Just Right ium then 50 Medium 40 IF Cool Sl ow then 30 Slow if Cold 20 then Stop 10 St o p 0 1 m t ol Ho ar Co W Co Rig t ht Jus ld 0 2/20/2012 Institute Of Engineering, Pulchowk Campus 45 50 55 60 65 70 75 80 85 90
  • 26. Mapping Inputs to Outputs 1 0 100 s t 90 Bla t 80 Fa st 70 60 Med iu m 50 40 Sl ow 30 20 10 St op 0 1 m t ol Ho ar Co W Co Rig t ht Jus ld 0 45 50 55 60 65 70 75 80 85 90 2/20/2012 Institute Of Engineering, Pulchowk Campus