SlideShare a Scribd company logo
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

IOT based smart agriculture monitoring.pptx
IOT based smart agriculture monitoring.pptxIOT based smart agriculture monitoring.pptx
IOT based smart agriculture monitoring.pptx
KaRtHiCkR859827
 
Green house monitoring and control
Green house monitoring and controlGreen house monitoring and control
Green house monitoring and control
Logic Mind Technologies
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
Sudhanshu Janwadkar
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
vinayvickky
 
Mobile phone embedded system
Mobile phone embedded systemMobile phone embedded system
Mobile phone embedded system
Ashutosh Jaiswal
 
Smart irrigation system
Smart irrigation systemSmart irrigation system
Smart irrigation system
Ayesha Sajjad
 
iot based agriculture
 iot based agriculture iot based agriculture
iot based agriculture
Tanish Khilani
 
Introduction to soft computing
Introduction to soft computingIntroduction to soft computing
Introduction to soft computing
Ankush Kumar
 
IOT based Smart Agricultural System
IOT based Smart Agricultural SystemIOT based Smart Agricultural System
IOT based Smart Agricultural System
PurbashaChowdhury5
 
Wireless monitoring of soil moisture
Wireless monitoring of soil moistureWireless monitoring of soil moisture
Wireless monitoring of soil moisture
Ayushi Gagneja
 
GREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNO
GREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNOGREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNO
GREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNO
helmi nur muhammad zain setiawan
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry Pi
Yash Gajera
 
INTERNET OF THINGS (IoT) APPLICATIONS TO MONITORING PLANT DISEASE DETECTION
INTERNET OF THINGS (IoT)  APPLICATIONS TO MONITORING PLANT DISEASE DETECTIONINTERNET OF THINGS (IoT)  APPLICATIONS TO MONITORING PLANT DISEASE DETECTION
INTERNET OF THINGS (IoT) APPLICATIONS TO MONITORING PLANT DISEASE DETECTION
Balamurugan K
 
Home Automation System using iot
Home Automation System using iotHome Automation System using iot
Home Automation System using iot
Kowshik Deb
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring system
Sai Kumar
 
Difference between wavelet transform and fourier transform
Difference between wavelet transform and fourier transformDifference between wavelet transform and fourier transform
Difference between wavelet transform and fourier transform
Department of Technical Education, Ministry of Education
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Romeo N Janga
 
Application of control system
Application of control systemApplication of control system
Application of control system
Avijit Adhikary
 

What's hot (20)

IOT based smart agriculture monitoring.pptx
IOT based smart agriculture monitoring.pptxIOT based smart agriculture monitoring.pptx
IOT based smart agriculture monitoring.pptx
 
Green house monitoring and control
Green house monitoring and controlGreen house monitoring and control
Green house monitoring and control
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
Fuzzy Logic Controller
Fuzzy Logic ControllerFuzzy Logic Controller
Fuzzy Logic Controller
 
Mobile phone embedded system
Mobile phone embedded systemMobile phone embedded system
Mobile phone embedded system
 
Smart irrigation system
Smart irrigation systemSmart irrigation system
Smart irrigation system
 
State space
State spaceState space
State space
 
iot based agriculture
 iot based agriculture iot based agriculture
iot based agriculture
 
Introduction to soft computing
Introduction to soft computingIntroduction to soft computing
Introduction to soft computing
 
Case study of digital camera
Case study of digital cameraCase study of digital camera
Case study of digital camera
 
IOT based Smart Agricultural System
IOT based Smart Agricultural SystemIOT based Smart Agricultural System
IOT based Smart Agricultural System
 
Wireless monitoring of soil moisture
Wireless monitoring of soil moistureWireless monitoring of soil moisture
Wireless monitoring of soil moisture
 
GREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNO
GREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNOGREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNO
GREEN HOUSE MONITORING SYSTEM BASED ON ARDUINO UNO
 
Internet of things using Raspberry Pi
Internet of things using Raspberry PiInternet of things using Raspberry Pi
Internet of things using Raspberry Pi
 
INTERNET OF THINGS (IoT) APPLICATIONS TO MONITORING PLANT DISEASE DETECTION
INTERNET OF THINGS (IoT)  APPLICATIONS TO MONITORING PLANT DISEASE DETECTIONINTERNET OF THINGS (IoT)  APPLICATIONS TO MONITORING PLANT DISEASE DETECTION
INTERNET OF THINGS (IoT) APPLICATIONS TO MONITORING PLANT DISEASE DETECTION
 
Home Automation System using iot
Home Automation System using iotHome Automation System using iot
Home Automation System using iot
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring system
 
Difference between wavelet transform and fourier transform
Difference between wavelet transform and fourier transformDifference between wavelet transform and fourier transform
Difference between wavelet transform and fourier transform
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Application of control system
Application of control systemApplication of control system
Application of control system
 

Viewers also liked

Fuzzy Logic in the Real World
Fuzzy Logic in the Real WorldFuzzy Logic in the Real World
Fuzzy Logic in the Real World
BCSLeicester
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logic
Viraj Patel
 
Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)Fuzzy logic application (aircraft landing)
Fuzzy logic application (aircraft landing)
Piyumal Samarathunga
 
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
pradnya patil
 
Fuzzy logic ppt
Fuzzy logic pptFuzzy logic ppt
Fuzzy logic ppt
Priya_Srivastava
 
Fuzzy logic (1)
Fuzzy logic (1)Fuzzy logic (1)
Fuzzy logic (1)Ifrah Naaz
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy introduction
Fuzzy introductionFuzzy introduction
Fuzzy introductionVivek Kumar
 
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...
Andino Maseleno
 
Community detection (Поиск сообществ в графах)
Community detection (Поиск сообществ в графах)Community detection (Поиск сообществ в графах)
Community detection (Поиск сообществ в графах)
Kirill Rybachuk
 
Prelims - Felicity Open Quiz 2017
Prelims - Felicity Open Quiz 2017Prelims - Felicity Open Quiz 2017
Prelims - Felicity Open Quiz 2017
Sameer Dharur
 
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
Jennifer Jones
 

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 Models
Nicolas 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 Code
Nicolas 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 Data
Nicolas 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 Quality
Nicolas 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 Level
Nicolas 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 Changes
Nicolas Bettenburg
 
Cloning Considered Harmful Considered Harmful
Cloning Considered Harmful Considered HarmfulCloning Considered Harmful Considered Harmful
Cloning Considered Harmful Considered Harmful
Nicolas Bettenburg
 
Approximation Algorithms
Approximation AlgorithmsApproximation Algorithms
Approximation Algorithms
Nicolas Bettenburg
 
Predictors of Customer Perceived Quality
Predictors of Customer Perceived QualityPredictors of Customer Perceived Quality
Predictors of Customer Perceived Quality
Nicolas 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'07
Nicolas 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

Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
Aurelien Domont, MBA
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
BBPMedia1
 
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptxCADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
fakeloginn69
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
awaisafdar
 
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s DholeraTata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Avirahi City Dholera
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
usawebmarket
 
What is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdfWhat is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdf
seoforlegalpillers
 
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
BBPMedia1
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
uae taxgpt
 
Brand Analysis for an artist named Struan
Brand Analysis for an artist named StruanBrand Analysis for an artist named Struan
Brand Analysis for an artist named Struan
sarahvanessa51503
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
agatadrynko
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
zoyaansari11365
 
Attending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learnersAttending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learners
Erika906060
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
LR1709MUSIC
 
Business Valuation Principles for Entrepreneurs
Business Valuation Principles for EntrepreneursBusiness Valuation Principles for Entrepreneurs
Business Valuation Principles for Entrepreneurs
Ben Wann
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
marketing317746
 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
ofm712785
 
Enterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdfEnterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdf
KaiNexus
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
dylandmeas
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
Lital Barkan
 

Recently uploaded (20)

Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
 
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptxCADAVER AS OUR FIRST TEACHER anatomt in your.pptx
CADAVER AS OUR FIRST TEACHER anatomt in your.pptx
 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
 
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s DholeraTata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujarat’s Dholera
 
Buy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star ReviewsBuy Verified PayPal Account | Buy Google 5 Star Reviews
Buy Verified PayPal Account | Buy Google 5 Star Reviews
 
What is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdfWhat is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdf
 
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
RMD24 | Retail media: hoe zet je dit in als je geen AH of Unilever bent? Heid...
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
 
Brand Analysis for an artist named Struan
Brand Analysis for an artist named StruanBrand Analysis for an artist named Struan
Brand Analysis for an artist named Struan
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
 
Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111Introduction to Amazon company 111111111111
Introduction to Amazon company 111111111111
 
Attending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learnersAttending a job Interview for B1 and B2 Englsih learners
Attending a job Interview for B1 and B2 Englsih learners
 
FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134FINAL PRESENTATION.pptx12143241324134134
FINAL PRESENTATION.pptx12143241324134134
 
Business Valuation Principles for Entrepreneurs
Business Valuation Principles for EntrepreneursBusiness Valuation Principles for Entrepreneurs
Business Valuation Principles for Entrepreneurs
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
 
Enterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdfEnterprise Excellence is Inclusive Excellence.pdf
Enterprise Excellence is Inclusive Excellence.pdf
 
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdfMeas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
Meas_Dylan_DMBS_PB1_2024-05XX_Revised.pdf
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
 

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