1
IoT Augmented Physical Scale Model of a Suburban Home Abstract Acknowledgements The support for this work was provided by the National Science Foundation REU program under Award No. 1852002. Any opinions, findings, and conclusions and recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. Thomas Burns 1 , Gregory Fichthorn 2 , Sharare Zethabian 3 , Safa Bacanlı 3 , Lotzi Bölöni 3 , and Damla Turgut 3 Department of Computer Science 1 Rutgers University, 2 Stetson University, 3 University of Central Florida [email protected], [email protected], [email protected], {sbacanli, lboloni, turgut}@cs.ucf.edu Background Experimental Set-up / Methods Conclusion Using a random lottery based system to determine which motors will change state Up to six motors activate per lottery drawing Sensors report data on temperature and humidity once per minute Lottery drawing happens once every five minutes Fan changes state every thirty minutes Heat lamp changes state every sixty minutes A Raspberry Pi is a small single board computer which is extremely energy-efficient, but its processing capabilities are limited A Pi hat is a module for the Raspberry Pi that allows the control of up to sixteen servo motors through pulse width modulation by adding an additional external power source A Breadboard is a programmable circuit board module for Raspberry Pi. Using a scaled model of a suburban home allows the performance of accelerated experiments in hypothetical external circumstances, and in a variety of environments that would be prohibitively expensive to do with real world homes. Data was collected from the model home and machine learning models were trained to predict the temperature and humidity within the home’s environment. A predictive AI can be used to automate the operation of doors and windows to best regulate the climate in a more financially and environmentally conscious way. Results References Figure 1. Plywood used to create house is drying after being painted and stained. Figure 2. Testing configuration of motor and window on extra materials utilizing Raspberry Pi (left) and breadboard (center) Figure 3. Two outside motors attached to windows and wired to breadboard. Other windows attached but not wired. Figure 4. Pi hat attached to all fifteen motors, and is running separately from Raspberry Pi used for data collection . Figure 5. Gathering data of our 'random' scenario to train/test machine learning model. Heat lamp is turned on to simulate solar energy from the sun. Fan is turned on to simulate wind. Gathered data is used to train and test our machine learning model to predict expected temperature and humidity for the rooms of the house throughout a set of pre-prepared scenarios. We focused on a Long Short Term Memory (LSTM) model since the previous year’s research [1] concluded that LSTM was more accurate than a Fully Connected Neural Network (FCNN). The LSTM was first modeled using 90% of the data as training (Fig 8, 9), followed by models using 70% for training (Fig 10, 11). Figure 6. Temperature recordings from each of the sensors. (Smoothed) Figure 7. Humidity recordings from each of the sensors. (Smoothed) Figures 6 & 7 show temperature and humidity recordings from seven sensors inside the house. Asymptotes every sixty minutes represent the heat lamp changing state (starting with 'on' then 'off', respectively) Every other hour, the lamp changes position to mimic time of day (above bedroom 1, bathroom, then bedroom 2) [1]. J. Ling, S. Zehtabian, S. S. Bacanli, L. Bölöni, and D. Turgut, “Predicting the temperature dynamics of scaled model and real -world IoT-enabled smart homes,” Submitted to IEEE Globecom 2019. The data from Figures 6 & 7 is also used to train/test the machine learning algorithm. Figures 8, 9, 10, &11 show LSTM models predicting temperature in 'living room sensor 1' Figure 9. Accuracy for training set size: 90% Figure 11. Accuracy for training set size: 70% Figure 10. Accuracy for training set size: 70% Figure 8. Accuracy for training set size: 90% The training/testing dataset consisted of around three hundred sixty data points collected over the course of about seven hours. The accuracy ofthe models would improve with more data points. The accuracy of our LSTM models varied with size of the training data, batch size, number of features, and number of epochs. The training set accuracy reached acceptable levels for the data. The testing set accuracy was not as accurate as we had originally hoped. As more data is gathered for the training set, we would expect dramatic improvements in modelaccuracy. For the future work on this project, we envision: increasing the amount data being gathered implementing additionalmachine learning algorithms having a temperature controlled environment extensively testing in a variety of scenarios

IoT Augmented Physical Scale Model of a Suburban Homeiotreu.cs.ucf.edu/wp-content/uploads/2019/07/Fichthorn... · 2019-07-19 · IoT Augmented Physical Scale Model of a Suburban Home

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: IoT Augmented Physical Scale Model of a Suburban Homeiotreu.cs.ucf.edu/wp-content/uploads/2019/07/Fichthorn... · 2019-07-19 · IoT Augmented Physical Scale Model of a Suburban Home

IoT Augmented Physical Scale Model of a Suburban Home

Abstract

AcknowledgementsThe support for this work was provided by the National Science Foundation REU programunder Award No. 1852002. Any opinions, findings, and conclusions and recommendationsexpressed in this material are those of the author(s) and do not necessarily reflect the viewsof the National Science Foundation.

Thomas Burns 1, Gregory Fichthorn 2, Sharare Zethabian3, Safa Bacanlı3, Lotzi Bölöni3, and Damla Turgut3Department of Computer Science

1Rutgers University, 2Stetson University, 3University of Central [email protected], [email protected], [email protected], {sbacanli, lboloni, turgut}@cs.ucf.edu

Background

Experimental Set-up / Methods

Conclusion

● Using a random lottery based system to determine which motorswill change state

● Up to six motors activate per lottery drawing● Sensors report data on temperature and humidity once per minute● Lottery drawing happens once every five minutes● Fan changes state every thirty minutes● Heat lamp changes state every sixty minutes

● A Raspberry Pi is a small single board computer which isextremely energy-efficient, but its processing capabilities arelimited

● A Pi hat is a module for the Raspberry Pi that allows thecontrol of up to sixteen servo motors through pulse widthmodulation by adding an additional external power source

● A Breadboard is a programmable circuit board module forRaspberry Pi.

Using a scaled model of a suburban home allows theperformance of accelerated experiments in hypothetical externalcircumstances, and in a variety of environments that would beprohibitively expensive to do with real world homes. Data wascollected from the model home and machine learning modelswere trained to predict the temperature and humidity within thehome’s environment. A predictive AI can be used to automatethe operation of doors and windows to best regulate the climatein a more financially and environmentally conscious way.

Results

References

Figure 1. Plywood used to createhouse is drying after being painted andstained.

Figure 2. Testing configuration of motor andwindow on extra materials utilizing Raspberry Pi(left) and breadboard (center)

Figure 3. Two outside motors attachedto windows and wired to breadboard.Other windows attached but not wired.

Figure 4. Pi hat attached to all fifteen motors,and is running separately from Raspberry Piused for data collection .

Figure 5. Gathering data of our 'random' scenario to train/test machine learning model. Heat lamp is turned on to simulate solar energy from the sun. Fan is turned on to simulate wind.

● Gathered data is used to train and test our machine learning modelto predict expected temperature and humidity for the rooms of thehouse throughout a set of pre-prepared scenarios.

● We focused on a Long Short Term Memory (LSTM) model since the previous year’s research [1] concluded that LSTM was more accurate than a Fully Connected Neural Network (FCNN).

● The LSTM was first modeled using 90% of the data as training (Fig 8, 9), followed by models using 70% for training (Fig 10, 11).

Figure 6. Temperature recordings from each of the sensors. (Smoothed)

Figure 7. Humidity recordings from each of the sensors. (Smoothed)

● Figures 6 & 7 show temperature and humidity recordings fromseven sensors inside the house.

● Asymptotes every sixty minutes represent the heat lampchanging state (starting with 'on' then 'off', respectively)

● Every other hour, the lamp changes position to mimic time ofday (above bedroom 1, bathroom, then bedroom 2)

[1]. J. Ling, S. Zehtabian, S. S. Bacanli, L. Bölöni, and D. Turgut, “Predicting the temperature dynamics of scaled model and real -world IoT-enabled smart homes,” Submitted to IEEE Globecom 2019.

● The data from Figures 6 & 7 is also used to train/tes t the machine learning algorithm.

● Figures 8, 9, 10, &11 show LSTM models predicting temperature in ' living room sensor 1'

Figure 9. Accuracy for training set s ize: 90%

Figure 11. Accuracy for training set s ize: 70%Figure 10. Accuracy for training set s ize: 70%

Figure 8. Accuracy for training set s ize: 90%

The training/tes ting dataset cons is ted of around three hundred s ixtydata points collected over the course of about seven hours . Theaccuracy of the models would improve with more data points .● The accuracy of our LSTM models varied with s ize of the training

data, batch s ize, number of features , and number of epochs .● The training set accuracy reached acceptable levels for the data.● The tes ting set accuracy was not as accurate as we had originally

hoped. As more data is gathered for the training set, we wouldexpect dramatic improvements in model accuracy.

For the future work on this project, we envis ion:● increas ing the amount data being gathered● implementing additional machine learning algorithms● having a temperature controlled environment● extens ively tes ting in a variety of scenarios