SlideShare a Scribd company logo
1 of 44
SMART HOMES AND
  FUZZY LOGIC

  presented by Nicolas Bettenburg




                                    1
1,000,000 years ago
                      2
Photograph by Sisse Brimberg © 2007 National Geographic




                                                          250,000 years ago
                                                                              3
not so long ago
                  4
today
        5
What’s next?
Latest Trend: Smart Homes


                            6
Imagine when you
come home ...
      ... your front door opens on its own
      ... lights turn on automatically
      ... your fridge is filled
      ... the pets are already fed


                                             7
Pioneers
           8
You need:
         +                     +
A home       Lots of Sensors       Controller



                               +   Actuators



                                                9
Location

          Time
                            Day




                                  Rules

Devices

                                          10
The system should be
           • context sensitive
           • adaptive
           • invisible


                                 11
Context-sensitive
     • act application-specific
        lighting for a party


     • context triggered actions
        the cake comes in



usually achieved using Machine Learning

                                          12
Adaptive
     • our habits change
        summer vs. winter ...


     • different persons have
       different perceptions
       male vs. female ...


usually achieved with Neural Networks

                                        13
Capturing the
     Environment
 Time         == 2pm
 Month        == September
 Date         == 21
 Humidity     == 35%
 Luminosity   == 100 lx
 Location     == 30.12 , 41.21, 8.51
               ...



we will end up with millions of rules!
                                         14
Humans perceive
their environment
        differently!


                       15
We use natural
  language!
Time      is ‘around noon‘

Date      is ‘beginning of fall’

Weather is ‘still warm and dry’

Location is   ‘in the bathroom’

                                   16
Sensors              Humans
                vs.
measure crisp         use natural
   values              language

 27.14 ºC             pretty warm

                                    17
How can we solve
this?




                   18
Use Fuzzy
  Logic
            19
Two Obstacles
(1) learn from user’s actions
(2) pro-actively anticipate user’s needs




                                           20
invisible. It has removable floor and ceiling tiles, lots of space for equipment
 and customized electrics, which allow us to reconfigure lights, wall sockets and

Example: Lighting Control System
 switches as needed. A picture of the smart home is shown in figure 1.




                                                                                   21
Example: Lighting Control System

               Inputs
           outdoor light level
            person activity
                 time


                Outputs
           ceiling light power
         venetian blinds position

                                    22
Example: Lighting Control System


            dark   normal   bright
        1




        0
            0        120        250



            Outdoor Illuminance



                                      23
Example: Lighting Control System


                           at home
                  absent
         1




          0
              0                      255



              Person activity
      Sensor gives either 0 or 255 (binary)


                                              24
Example: Lighting Control System


               t1   t2   t3     t4   t5
         1
                                          ...

         0
         -20   0          120                   1440



                   Time
      1440 minutes mapped on 50 ‘zones’


                                                       25
Example: Lighting Control System


                       on                                 on
        off                                off
1                                  1




0                                  0
    0                        255       0                        255



            Ceiling                             Blinds
          Override: on/off                   Override: on/off

                                                                      26
Example: Lighting Control System

                         quite small            quite much
                                                             much
                 small                 normal



             1




             0
                           250
             0                                         250



     Output 1: Ceiling Light Power
      Defuzzify using ‘Center of Gravity’


                                                                    27
Example: Lighting Control System

                       down            up
                                             closed up
              closed          center



             1




              0
                       250
              0                             250



    Output 2: Venetian Blinds Position
       Defuzzify using ‘Center of Gravity’


                                                         28
event-based control.

Example: Lighting Control System
                       Table 1. An example of a rule table




                          Example Rule
     Fuzzify input, map to output and defuzzify output
   Table 2 shows all the possible types of rules used and the possible values
in the rule table with the used rules. In autonomous control, the override flags
of outputs on the input side are defined to be off, marked with number one.
The output states on the input side are marked with zeros, so that the state
of an output is ignored during the input aggregation. All the other values of     29
Just another Mamdani-like
         system ...



                            30
... But this system can learn
its rule table without prior
          knowledge!



                                31
Learning Process
                                Data
                             Fuzzification




                                 Data
                               Filtering


Sensors         Server

                                           Rule Database
                                              Update




                                Fuzzy
                               control
                               process

                                                       32
Automatic Data Gathering


                   • Monitor Input and Output devices
                   • Record their values periodically
                   • Reasonable Timer: 1 minute

                        Data
                     Fuzzification




                         Data
                       Filtering


Sensors   Server

                                   Rule Database
                                      Update




                        Fuzzy
                       control
                       process



                                                        33
Data Fuzzification

          • Read recorded input and output values.
          • Determine membership function with
            greatest degree of membership.
          • Store fuzzy value for later use in learning
            process.

                      Data
                   Fuzzification




                       Data
                     Filtering


Sensors   Server

                                 Rule Database
                                    Update




                      Fuzzy
                     control
                     process



                                                          34
Data Filtering

          • Search most common combinations of
            inputs and outputs within a time period.
          • Time period no longer than one fuzzy
            time unit.


                      Data
                   Fuzzification




                       Data
                     Filtering


Sensors   Server

                                 Rule Database
                                    Update




                      Fuzzy
                     control
                     process



                                                            35
Rule Base Updating

          • Search database for input combinations
                   determined in previous step.

          • If not found: add rule with small weight
          • If found: increase/ decrease weights
          • If weight becomes 0: remove
                         Data
                      Fuzzification




                          Data
                        Filtering


Sensors   Server

                                    Rule Database
                                       Update




                         Fuzzy
                        control
                        process



                                                       36
Discussion


• System well suited for pro-active control
• Learns behavior quickly
• Needs tweaking of values and thresholds
• Timer too small: data explosion
• Timer too long: behavior not adaptive enough


                                                 37
Still there are many more
problems to solve...

         Scale system up to hundreds of
         sensors and thousands of rules?


 Control Interfaces?

                       Interaction between
                       controller systems?
                                             38
Research Work Covered

A.Vainio et al. : Learning and adaptive fuzzy
control system for smart home.

H.Sunghoi et al. : Adaptive Type-2 Fuzzy Logic
for Intelligent Home Environment.

Minkyoung Kim et al. : Behavior Coordination
Mechanism for Intelligent Home.

                                                 39
40
40
40
40
40

More Related Content

What's hot

Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Umar Shuaib
 
Smart automated irrigation system ppt
Smart automated irrigation system pptSmart automated irrigation system ppt
Smart automated irrigation system pptAutoNextAutoHub
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Diwash Kapil Chettri
 
Home Automation using IOT
Home Automation using IOTHome Automation using IOT
Home Automation using IOTNaveensing87
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controllervinayvickky
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduinoIkram Arshad
 
Home automation Using Arduino Uno and Bluetooth
Home automation Using Arduino Uno and BluetoothHome automation Using Arduino Uno and Bluetooth
Home automation Using Arduino Uno and BluetoothSOURAV ROY
 
Arduino based Home Automation System with Android
Arduino based Home Automation System with AndroidArduino based Home Automation System with Android
Arduino based Home Automation System with AndroidSayan Seth
 
IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3Mohammad Qasim Malik
 
Paper presentation of mini project
Paper presentation of mini projectPaper presentation of mini project
Paper presentation of mini projectJayashankar Gavvala
 
automatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture contentautomatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture contentPAMULA MURALI
 
Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation  Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation Arun Kumar
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONEklavya Sharma
 
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...ASHOKKUMAR RAMAR
 
Cell On Wheels Optima 3030 1
Cell On Wheels   Optima 3030   1Cell On Wheels   Optima 3030   1
Cell On Wheels Optima 3030 1Atul Kotkar
 

What's hot (20)

Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)Passive infrared sensor technology(pir)
Passive infrared sensor technology(pir)
 
Smart irrigation system
Smart irrigation systemSmart irrigation system
Smart irrigation system
 
Fuzzy logic control system
Fuzzy logic control systemFuzzy logic control system
Fuzzy logic control system
 
Smart automated irrigation system ppt
Smart automated irrigation system pptSmart automated irrigation system ppt
Smart automated irrigation system ppt
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...
 
Home Automation using IOT
Home Automation using IOTHome Automation using IOT
Home Automation using IOT
 
Voice controlled home appliances
Voice controlled home appliancesVoice controlled home appliances
Voice controlled home appliances
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
Home automation using arduino
Home automation using arduinoHome automation using arduino
Home automation using arduino
 
Home automation Using Arduino Uno and Bluetooth
Home automation Using Arduino Uno and BluetoothHome automation Using Arduino Uno and Bluetooth
Home automation Using Arduino Uno and Bluetooth
 
Arduino based Home Automation System with Android
Arduino based Home Automation System with AndroidArduino based Home Automation System with Android
Arduino based Home Automation System with Android
 
IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3IOT Based Home Automation using Raspberry Pi-3
IOT Based Home Automation using Raspberry Pi-3
 
Paper presentation of mini project
Paper presentation of mini projectPaper presentation of mini project
Paper presentation of mini project
 
automatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture contentautomatic irrigation system by sensing soil moisture content
automatic irrigation system by sensing soil moisture content
 
Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation  Home automation in kerala ,home automation in calicut , home automation
Home automation in kerala ,home automation in calicut , home automation
 
SMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATIONSMART HOME AUTOMATION USING MOBILE APPLICATION
SMART HOME AUTOMATION USING MOBILE APPLICATION
 
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
AGRICULTURE PROJECTS-EMBEDDED SYSTEM BASED GSM COMMUNICATION FOR AUTOMATIC IR...
 
Cell On Wheels Optima 3030 1
Cell On Wheels   Optima 3030   1Cell On Wheels   Optima 3030   1
Cell On Wheels Optima 3030 1
 
Deadbeat Response Design _8th lecture
Deadbeat Response Design _8th lectureDeadbeat Response Design _8th lecture
Deadbeat Response Design _8th lecture
 

Viewers also liked

Viewers also liked (13)

Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logic
 
Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)
 
Fuzzy logic control of washing m achines
Fuzzy logic control of washing m achinesFuzzy logic control of washing m achines
Fuzzy logic control of washing m achines
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
 
Fuzzy logic (1)
Fuzzy logic (1)Fuzzy logic (1)
Fuzzy logic (1)
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Fuzzy introduction
Fuzzy introductionFuzzy introduction
Fuzzy introduction
 
Viva Presentation - Fuzzy Logic and Dempster-Shafer Theory to Detect The Risk...
Viva Presentation - Fuzzy Logic and Dempster-Shafer Theory to Detect The Risk...Viva Presentation - Fuzzy Logic and Dempster-Shafer Theory to Detect The Risk...
Viva Presentation - Fuzzy Logic and Dempster-Shafer Theory to Detect The Risk...
 
Community detection (Поиск сообществ в графах)
Community detection (Поиск сообществ в графах)Community detection (Поиск сообществ в графах)
Community detection (Поиск сообществ в графах)
 
Prelims - Felicity Open Quiz 2017
Prelims - Felicity Open Quiz 2017Prelims - Felicity Open Quiz 2017
Prelims - Felicity Open Quiz 2017
 
Fuzzy logic (vast 2015)
Fuzzy logic (vast 2015)Fuzzy logic (vast 2015)
Fuzzy logic (vast 2015)
 
Guided Reading: Making the Most of It
Guided Reading: Making the Most of ItGuided Reading: Making the Most of It
Guided Reading: Making the Most of It
 

More from Nicolas Bettenburg

10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...
10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...
10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...Nicolas Bettenburg
 
Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...
Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...
Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...Nicolas Bettenburg
 
Think Locally, Act Gobally - Improving Defect and Effort Prediction Models
Think Locally, Act Gobally - Improving Defect and Effort Prediction ModelsThink Locally, Act Gobally - Improving Defect and Effort Prediction Models
Think Locally, Act Gobally - Improving Defect and Effort Prediction ModelsNicolas Bettenburg
 
Mining Development Repositories to Study the Impact of Collaboration on Softw...
Mining Development Repositories to Study the Impact of Collaboration on Softw...Mining Development Repositories to Study the Impact of Collaboration on Softw...
Mining Development Repositories to Study the Impact of Collaboration on Softw...Nicolas Bettenburg
 
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source CodeUsing Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source CodeNicolas Bettenburg
 
A Lightweight Approach to Uncover Technical Information in Unstructured Data
A Lightweight Approach to Uncover Technical Information in Unstructured DataA Lightweight Approach to Uncover Technical Information in Unstructured Data
A Lightweight Approach to Uncover Technical Information in Unstructured DataNicolas Bettenburg
 
Managing Community Contributions: Lessons Learned from a Case Study on Andro...
Managing Community Contributions:  Lessons Learned from a Case Study on Andro...Managing Community Contributions:  Lessons Learned from a Case Study on Andro...
Managing Community Contributions: Lessons Learned from a Case Study on Andro...Nicolas Bettenburg
 
Studying the impact of Social Structures on Software Quality
Studying the impact of Social Structures on Software QualityStudying the impact of Social Structures on Software Quality
Studying the impact of Social Structures on Software QualityNicolas Bettenburg
 
An Empirical Study on Inconsistent Changes to Code Clones at Release Level
An Empirical Study on Inconsistent Changes to Code Clones at Release LevelAn Empirical Study on Inconsistent Changes to Code Clones at Release Level
An Empirical Study on Inconsistent Changes to Code Clones at Release LevelNicolas Bettenburg
 
An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...
An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...
An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...Nicolas Bettenburg
 
Finding Paths in Large Spaces - A* and Hierarchical A*
Finding Paths in Large Spaces - A* and Hierarchical A*Finding Paths in Large Spaces - A* and Hierarchical A*
Finding Paths in Large Spaces - A* and Hierarchical A*Nicolas Bettenburg
 
Automatic Identification of Bug Introducing Changes
Automatic Identification of Bug Introducing ChangesAutomatic Identification of Bug Introducing Changes
Automatic Identification of Bug Introducing ChangesNicolas Bettenburg
 
Cloning Considered Harmful Considered Harmful
Cloning Considered Harmful Considered HarmfulCloning Considered Harmful Considered Harmful
Cloning Considered Harmful Considered HarmfulNicolas Bettenburg
 
Predictors of Customer Perceived Quality
Predictors of Customer Perceived QualityPredictors of Customer Perceived Quality
Predictors of Customer Perceived QualityNicolas Bettenburg
 
Extracting Structural Information from Bug Reports.
Extracting Structural Information from Bug Reports.Extracting Structural Information from Bug Reports.
Extracting Structural Information from Bug Reports.Nicolas Bettenburg
 
Computing Accuracy Precision And Recall
Computing Accuracy Precision And RecallComputing Accuracy Precision And Recall
Computing Accuracy Precision And RecallNicolas Bettenburg
 
Duplicate Bug Reports Considered Harmful ... Really?
Duplicate Bug Reports Considered Harmful ... Really?Duplicate Bug Reports Considered Harmful ... Really?
Duplicate Bug Reports Considered Harmful ... Really?Nicolas Bettenburg
 
The Quality of Bug Reports in Eclipse ETX'07
The Quality of Bug Reports in Eclipse ETX'07The Quality of Bug Reports in Eclipse ETX'07
The Quality of Bug Reports in Eclipse ETX'07Nicolas Bettenburg
 

More from Nicolas Bettenburg (20)

10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...
10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...
10 Year Impact Award Presentation - Duplicate Bug Reports Considered Harmful ...
 
Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...
Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...
Ph.D. Dissertation - Studying the Impact of Developer Communication on the Qu...
 
Think Locally, Act Gobally - Improving Defect and Effort Prediction Models
Think Locally, Act Gobally - Improving Defect and Effort Prediction ModelsThink Locally, Act Gobally - Improving Defect and Effort Prediction Models
Think Locally, Act Gobally - Improving Defect and Effort Prediction Models
 
Mining Development Repositories to Study the Impact of Collaboration on Softw...
Mining Development Repositories to Study the Impact of Collaboration on Softw...Mining Development Repositories to Study the Impact of Collaboration on Softw...
Mining Development Repositories to Study the Impact of Collaboration on Softw...
 
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source CodeUsing Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
Using Fuzzy Code Search to Link Code Fragments in Discussions to Source Code
 
A Lightweight Approach to Uncover Technical Information in Unstructured Data
A Lightweight Approach to Uncover Technical Information in Unstructured DataA Lightweight Approach to Uncover Technical Information in Unstructured Data
A Lightweight Approach to Uncover Technical Information in Unstructured Data
 
Managing Community Contributions: Lessons Learned from a Case Study on Andro...
Managing Community Contributions:  Lessons Learned from a Case Study on Andro...Managing Community Contributions:  Lessons Learned from a Case Study on Andro...
Managing Community Contributions: Lessons Learned from a Case Study on Andro...
 
Mud flash
Mud flashMud flash
Mud flash
 
Studying the impact of Social Structures on Software Quality
Studying the impact of Social Structures on Software QualityStudying the impact of Social Structures on Software Quality
Studying the impact of Social Structures on Software Quality
 
An Empirical Study on Inconsistent Changes to Code Clones at Release Level
An Empirical Study on Inconsistent Changes to Code Clones at Release LevelAn Empirical Study on Inconsistent Changes to Code Clones at Release Level
An Empirical Study on Inconsistent Changes to Code Clones at Release Level
 
An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...
An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...
An Empirical Study on the Risks of Using Off-the-Shelf Techniques for Process...
 
Finding Paths in Large Spaces - A* and Hierarchical A*
Finding Paths in Large Spaces - A* and Hierarchical A*Finding Paths in Large Spaces - A* and Hierarchical A*
Finding Paths in Large Spaces - A* and Hierarchical A*
 
Automatic Identification of Bug Introducing Changes
Automatic Identification of Bug Introducing ChangesAutomatic Identification of Bug Introducing Changes
Automatic Identification of Bug Introducing Changes
 
Cloning Considered Harmful Considered Harmful
Cloning Considered Harmful Considered HarmfulCloning Considered Harmful Considered Harmful
Cloning Considered Harmful Considered Harmful
 
Approximation Algorithms
Approximation AlgorithmsApproximation Algorithms
Approximation Algorithms
 
Predictors of Customer Perceived Quality
Predictors of Customer Perceived QualityPredictors of Customer Perceived Quality
Predictors of Customer Perceived Quality
 
Extracting Structural Information from Bug Reports.
Extracting Structural Information from Bug Reports.Extracting Structural Information from Bug Reports.
Extracting Structural Information from Bug Reports.
 
Computing Accuracy Precision And Recall
Computing Accuracy Precision And RecallComputing Accuracy Precision And Recall
Computing Accuracy Precision And Recall
 
Duplicate Bug Reports Considered Harmful ... Really?
Duplicate Bug Reports Considered Harmful ... Really?Duplicate Bug Reports Considered Harmful ... Really?
Duplicate Bug Reports Considered Harmful ... Really?
 
The Quality of Bug Reports in Eclipse ETX'07
The Quality of Bug Reports in Eclipse ETX'07The Quality of Bug Reports in Eclipse ETX'07
The Quality of Bug Reports in Eclipse ETX'07
 

Recently uploaded

Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Riya Pathan
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfrichard876048
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckHajeJanKamps
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Timedelhimodelshub1
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaoncallgirls2057
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 

Recently uploaded (20)

Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdf
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Time
 
Corporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information TechnologyCorporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information Technology
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City GurgaonCall Us 📲8800102216📞 Call Girls In DLF City Gurgaon
Call Us 📲8800102216📞 Call Girls In DLF City Gurgaon
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 

Fuzzy Logic in Smart Homes

  • 1. SMART HOMES AND FUZZY LOGIC presented by Nicolas Bettenburg 1
  • 3. Photograph by Sisse Brimberg © 2007 National Geographic 250,000 years ago 3
  • 4. not so long ago 4
  • 5. today 5
  • 7. Imagine when you come home ... ... your front door opens on its own ... lights turn on automatically ... your fridge is filled ... the pets are already fed 7
  • 9. You need: + + A home Lots of Sensors Controller + Actuators 9
  • 10. Location Time Day Rules Devices 10
  • 11. The system should be • context sensitive • adaptive • invisible 11
  • 12. Context-sensitive • act application-specific lighting for a party • context triggered actions the cake comes in usually achieved using Machine Learning 12
  • 13. Adaptive • our habits change summer vs. winter ... • different persons have different perceptions male vs. female ... usually achieved with Neural Networks 13
  • 14. Capturing the Environment Time == 2pm Month == September Date == 21 Humidity == 35% Luminosity == 100 lx Location == 30.12 , 41.21, 8.51 ... we will end up with millions of rules! 14
  • 16. We use natural language! Time is ‘around noon‘ Date is ‘beginning of fall’ Weather is ‘still warm and dry’ Location is ‘in the bathroom’ 16
  • 17. Sensors Humans vs. measure crisp use natural values language 27.14 ºC pretty warm 17
  • 18. How can we solve this? 18
  • 19. Use Fuzzy Logic 19
  • 20. Two Obstacles (1) learn from user’s actions (2) pro-actively anticipate user’s needs 20
  • 21. invisible. It has removable floor and ceiling tiles, lots of space for equipment and customized electrics, which allow us to reconfigure lights, wall sockets and Example: Lighting Control System switches as needed. A picture of the smart home is shown in figure 1. 21
  • 22. Example: Lighting Control System Inputs outdoor light level person activity time Outputs ceiling light power venetian blinds position 22
  • 23. Example: Lighting Control System dark normal bright 1 0 0 120 250 Outdoor Illuminance 23
  • 24. Example: Lighting Control System at home absent 1 0 0 255 Person activity Sensor gives either 0 or 255 (binary) 24
  • 25. Example: Lighting Control System t1 t2 t3 t4 t5 1 ... 0 -20 0 120 1440 Time 1440 minutes mapped on 50 ‘zones’ 25
  • 26. Example: Lighting Control System on on off off 1 1 0 0 0 255 0 255 Ceiling Blinds Override: on/off Override: on/off 26
  • 27. Example: Lighting Control System quite small quite much much small normal 1 0 250 0 250 Output 1: Ceiling Light Power Defuzzify using ‘Center of Gravity’ 27
  • 28. Example: Lighting Control System down up closed up closed center 1 0 250 0 250 Output 2: Venetian Blinds Position Defuzzify using ‘Center of Gravity’ 28
  • 29. event-based control. Example: Lighting Control System Table 1. An example of a rule table Example Rule Fuzzify input, map to output and defuzzify output Table 2 shows all the possible types of rules used and the possible values in the rule table with the used rules. In autonomous control, the override flags of outputs on the input side are defined to be off, marked with number one. The output states on the input side are marked with zeros, so that the state of an output is ignored during the input aggregation. All the other values of 29
  • 30. Just another Mamdani-like system ... 30
  • 31. ... But this system can learn its rule table without prior knowledge! 31
  • 32. Learning Process Data Fuzzification Data Filtering Sensors Server Rule Database Update Fuzzy control process 32
  • 33. Automatic Data Gathering • Monitor Input and Output devices • Record their values periodically • Reasonable Timer: 1 minute Data Fuzzification Data Filtering Sensors Server Rule Database Update Fuzzy control process 33
  • 34. Data Fuzzification • Read recorded input and output values. • Determine membership function with greatest degree of membership. • Store fuzzy value for later use in learning process. Data Fuzzification Data Filtering Sensors Server Rule Database Update Fuzzy control process 34
  • 35. Data Filtering • Search most common combinations of inputs and outputs within a time period. • Time period no longer than one fuzzy time unit. Data Fuzzification Data Filtering Sensors Server Rule Database Update Fuzzy control process 35
  • 36. Rule Base Updating • Search database for input combinations determined in previous step. • If not found: add rule with small weight • If found: increase/ decrease weights • If weight becomes 0: remove Data Fuzzification Data Filtering Sensors Server Rule Database Update Fuzzy control process 36
  • 37. Discussion • System well suited for pro-active control • Learns behavior quickly • Needs tweaking of values and thresholds • Timer too small: data explosion • Timer too long: behavior not adaptive enough 37
  • 38. Still there are many more problems to solve... Scale system up to hundreds of sensors and thousands of rules? Control Interfaces? Interaction between controller systems? 38
  • 39. Research Work Covered A.Vainio et al. : Learning and adaptive fuzzy control system for smart home. H.Sunghoi et al. : Adaptive Type-2 Fuzzy Logic for Intelligent Home Environment. Minkyoung Kim et al. : Behavior Coordination Mechanism for Intelligent Home. 39
  • 40. 40
  • 41. 40
  • 42. 40
  • 43. 40
  • 44. 40