Towards Energy Efficient Home Automation: A Deep Learning Approach
Abstract
:1. Introduction
2. Related Works
3. Proposed System
3.1. Problem Statement
- The energy demand is increasing rapidly and in the future, the energy demands can be fulfilled by installing new energy-generating technologies such as nuclear plants and greenhouses. However, installing nuclear plants generate radiations, and the greenhouses result in extreme carbon dioxide emission which results in affecting the community.
- The projected energy consumption demands may increase in the future. A huge difference between energy demand and supply may result in increasing the cost of energy.
- Apart from generating energy by installing new energy technologies there exists other methods and guidelines of using and interacting with appliances. However, such techniques exhibit many issues, such as improper scheduling, modeling human behavior, and interaction towards appliances, difficulty in modeling human behavior, etc.
- Limitations of the machine and deep learning techniques in processing energy data for prediction and forecasting. Furthermore, the current research work mainly focuses on short-term forecasting of energy consumption and cost; however, long-term forecasting is mainly ignored due to the limitations of using ANN and similar learning models.
- The CNN and other relevant models are effective in modeling high dimension, i.e., two or more dimensional and uses huge data for feature extraction; however, this is less effective in the case of feature extraction in 1-Dimensional (1-D) times series data.
- The current home appliances are not intelligent and there is a lack of communication among appliances.
3.2. Contribution of the Proposed Scheme
- A classification of the energy data into different groups based on the time of a day is carried out. This would reduce the processing of the data in later stages.
- The energy data is time-series data with a single dimension, we, therefore incorporate and proposed an approach based on BLSTM. The later approaches mainly used ANN and other deep learning techniques which require a huge amount of data for training.
- The scheduling of home appliances is carried out using the Q-learning reinforcement algorithm on the forecasted data. This enables a home user to decide the future scheduling of home appliances based on the results of the proposed scheduling.
- The energy of the home appliances is significantly reduced and an autonomous home system is achieved incorporating various deep learning and artificial intelligence models.
3.3. Overview of the Proposed System
3.4. Preprocessing Phase
3.5. Feature Extraction and Classification Phase
3.6. Load Forecasting Using LSTM
3.7. Operation Time Scheduling of Home Appliances
4. Performance Evaluation
4.1. Datasets Description
4.2. Performance Evaluation
4.2.1. Analysis of 1D-CNN for Feature Extraction and Classification
4.2.2. Analysis of Forecasting Using BLSTM
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Eia, U. Monthly Energy Review. 27 October 2020. Available online: https://www.eia.gov/totalenergy/data/monthly/pdf/mer.pdf (accessed on 2 November 2020).
- Anguita, D.; Ghio, A.; Oneto, L.; Arra, X.; Yes-Ortiz, J.L. Human activity recognition on smartphones using a multiclass hardware-friendly support vector machine. In International Workshop on Ambient Assisted Living; Springer: Berlin/Heidelberg, Germany, 2012. [Google Scholar]
- Peterek, T.; Penhaker, M.; Gajdoš, P.; Dohnálek, P. Comparison of classification algorithms for physical activity recognition. In Innovations in Bio-Inspired Computing and Applications; Springer: Berlin/Heidelberg, Germany, 2014. [Google Scholar]
- Mnih, V.; Heess, N.; Graves, A. Recurrent models of visual attention. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada, 8–13 December 2014. [Google Scholar]
- Bahdanau, D.; Cho, K.; Bengio, Y. Neural Machine Translation by Jointly Learning to Align and Translate. arXiv 2014, arXiv:1409.0473. [Google Scholar]
- Lin, J.; Keogh, E.; Lonardi, S.; Chiu, B. A symbolic representation of time series, with implications for streaming algorithms. In Proceedings of the 8th ACM SIGMOD Workshop on Research Issues in Data Mining and Knowledge Discovery, San Diego, CA, USA, 13 June 2003. [Google Scholar]
- Huynh, T.; Schiele, B. Analyzing features for activity recognition. In Proceedings of the 2005 Joint Conference on Smart Objects and Ambient Intelligence: Innovative Context-Aware Services: Usages and Technologies, Grenoble, France, 12–14 October 2005. [Google Scholar]
- Galván, I.M.; Valls, J.M.; Cervantes, A.; Aler, R. Multi-objective evolutionary optimization of prediction intervals for solar energy forecasting with neural networks. Inf. Sci. 2017, 418, 363–382. [Google Scholar] [CrossRef]
- Cheng, Y.; Xu, C.; Mashima, D.; Thing, V.L.; Wu, Y. PowerLSTM: Power demand forecasting using long short-term memory neural network. In Proceedings of the international Conference on Advanced Data Mining and Applications, Dalian, China, 21–23 November 2017. [Google Scholar]
- Choi, E.; Cho, S.; Kim, D.K. Power Demand Forecasting using Long Short-Term Memory (LSTM) Deep-Learning Model for Monitoring Energy Sustainability. Sustainability 2020, 12, 1109. [Google Scholar] [CrossRef] [Green Version]
- Bose, A.; Shyjith, M.B. Energy Efficient Multiple Target Prediction and Sleep Scheduling in WSNs. Int. J. Sci. Technol. 2014, 2, 23. [Google Scholar]
- Magno, M.; Boyle, D.; Brunelli, D.; Popovici, E.; Benini, L. Ensuring survivability of resource-intensive sensor networks through ultra-low power overlays. IEEE Trans. Ind. Inform. 2013, 10, 946–956. [Google Scholar] [CrossRef]
- Park, H.; Hwang, S.; Won, M.; Park, T. Activity-Aware Sensor Cycling for Human Activity Monitoring in Smart Homes. IEEE Commun. Lett. 2016, 21, 757–760. [Google Scholar] [CrossRef]
- Mostafa, S.A.; Gunasekaran, S.S.; Mustapha, A.; Mohammed, M.A.; Abduallah, W.M. Modelling an Adjustable Autonomous Multi-agent Internet of Things System for Elderly Smart Home. In Proceedings of the International Conference on Applied Human Factors and Ergonomics 2019, Washington, DC, USA, 24–28 July 2019; pp. 301–311. [Google Scholar]
- Akbari-Dibavar, A.; Nojavan, S.; Mohammadi-Ivatloo, B.; Zare, K. Smart home energy management using hybrid robust-stochastic optimization. Comput. Ind. Eng. 2020, 143, 1–11. [Google Scholar] [CrossRef]
- Mbungu, N.T.; Bansal, R.C.; Naidoo, R.M. Smart energy coordination of autonomous residential home. IET Smart Grid 2019, 2, 336–346. [Google Scholar] [CrossRef]
- Kong, X.; Sun, B.; Kong, D.; Li, B. Home energy management optimization method considering potential risk cost. Sustain. Cities Soc. 2020, 62, 1–14. [Google Scholar] [CrossRef]
- Paudyal, P.; Ni, Z. Smart home energy optimization with incentives compensation from inconvenience for shifting electric appliances. J. Electr. Power Energy Syst. 2019, 109, 1–9. [Google Scholar] [CrossRef]
- Javadi, M.S.; Gough, M.; Lotfi, M.; Nezhad, A.E.; Santos, S.F.; Catalão, J.P. Optimal self-scheduling of home energy management system in the presence of photovoltaic power generation and batteries. Energy 2020, 210, 1–13. [Google Scholar] [CrossRef]
- Divina, F.; Torres, M.G.; Vela, F.A.G.; Noguera, J.L.V. A comparative study of time series forecasting methods for short term electric energy consumption prediction in smart buildings. Energies 2019, 12, 1934. [Google Scholar] [CrossRef] [Green Version]
- Lu, R.; Hong, S.H.; Yu, M. Demand response for home energy management using reinforcement learning and artificial neural network. IEEE Trans. Smart Grid 2019, 10, 6629–6639. [Google Scholar] [CrossRef]
- Ahmad, T.; Chen, H. Deep learning for multi-scale smart energy forecasting. Energy 2019, 175, 98–112. [Google Scholar] [CrossRef]
- Sun, X.; Luh, P.B.; Cheung, K.W.; Guan, W.; Michel, L.D.; Venkata, S.S.; Miller, M.T. An Efficient Approach to Short-Term Load Forecasting at the Distribution Level. IEEE Trans. Power Syst. 2016, 31, 2526–2537. [Google Scholar] [CrossRef]
- Dong, X.; Qian, L.; Huang, L. Short-term load forecasting in smart grid: A combined CNN and K-means clustering approach. In Proceedings of the IEEE International Conference on Big Data and Smart Computing (BigComp), Jeju, Korea, 13–16 February 2017. [Google Scholar]
- Bouktif, S.; Fiaz, A.; Ouni, A.; Serhani, M.A. Optimal deep learning lstm model for electric load forecasting using feature selection and genetic algorithm: Comparison with machine learning approaches. Energies 2018, 11, 1636. [Google Scholar] [CrossRef] [Green Version]
- Grawal, R.K.; Muchahary, F.; Tripathi, M.M. Long term load forecasting with hourly predictions based on long-short-term-memory networks. In Proceedings of the IEEE Texas Power and Energy Conference, College Station, TX, USA, 8–9 February 2018. [Google Scholar]
- Somu, N.; Gauthama Raman, M.R.; Ramamritham, K. A hybrid model for building energy consumption forecasting using long short term memory networks. Appl. Energy 2020, 261, 1–20. [Google Scholar] [CrossRef]
- Wang, K.; Qi, X.; Liu, H. Photovoltaic power forecasting based LSTM-Convolutional Network. Energy 2019, 189, 1–11. [Google Scholar] [CrossRef]
- Alimi, O.A.; Ouahada, K. Smart Home Appliances Scheduling to Manage Energy Usage. In Proceedings of the IEEE 7th International Conference on Adaptive Science & Technology (ICAST), Accra, Ghana, 22–24 August 2018. [Google Scholar]
- Waseem, M.; Lin, Z.; Liu, S.; Sajjad, I.A.; Aziz, T. Optimal GWCSO-based home appliances scheduling for demand response considering end-users comfort. Electr. Power Syst. Res. 2020, 187, 1–15. [Google Scholar] [CrossRef]
- Liu, L.; Liu, Y.; Wang, L.; Zomaya, A.; Hu, S. Economical and balanced energy usage in the smart home infrastructure: A tutorial and new results. IEEE Trans. Emerg. Top. Comput. 2015, 3, 556–570. [Google Scholar] [CrossRef]
- Li, H.; Wan, Z.; He, H. Real-Time Residential Demand Response. IEEE Trans. Smart Grid 2020, 11, 4144–4154. [Google Scholar] [CrossRef]
- Ullah, I.; Ahmad, R.; Kim, D.; Ullah, I.; Ahmad, R.; Kim, D. A prediction mechanism of energy consumption in residential buildings using hidden markov model. Energies 2018, 11, 358. [Google Scholar] [CrossRef] [Green Version]
- Schuster, M.; Paliwal, K.K. Bidirectional recurrent neural networks. IEEE Trans. Signal Process. 1997, 45, 2673–2681. [Google Scholar] [CrossRef] [Green Version]
- Panapakidis, I.P.; Dagoumas, A.S. Day-ahead electricity price forecasting via the application of artificial neural network based models. Appl. Energy 2016, 172, 132–151. [Google Scholar] [CrossRef]
- Lu, R.; Hong, S.H. Incentive-based demand response for smart grid with reinforcement learning and deep neural network. Appl. Energy 2019, 236, 937–949. [Google Scholar] [CrossRef]
- Jean-Michel, D. Smart Meters in London. 22 February 2019. Available online: https://www.kaggle.com/jeanmidev/smart-meters-in-london (accessed on 14 September 2020).
Reference | Algorithm | Energy Consumption | User Comfort | Advantages | Disadvantages |
---|---|---|---|---|---|
[14] | Multi-Agent | No | Yes |
|
|
[16] | Demand-Response | Yes | No |
|
|
[17] | Genetic Methods | Yes | Partially satisfied |
|
|
[18] | Demand-Response | Yes | No |
|
|
[21] | ANN + RL | Yes | Partially satisfied |
|
|
[23] | WNN | Yes | No |
|
|
[26] | LSTM + RNN | Yes | No |
|
|
[28] | LSTM + CNN | No | Partially satisfied |
|
|
[30] | GWCSO | Yes | Yes |
|
|
[Proposed Scheme] | 1D-DCNN + BLSTM + RL | Yes | Yes |
|
|
Time | Daytime | Label Class |
---|---|---|
09:00:00 PM–5:00:00 AM | Night | 1 |
05:00:00 AM–11:00:00 AM | Morning | 2 |
12:00:00 PM–3:00:00 PM | Afternoon | 3 |
3:00:00 PM–08:00:00 PM | Evening | 4 |
Input Index | Parameters Description |
---|---|
1 | Energy Consumption on a time of the day (i.e., morning, evening, etc) |
2 | Time of the day (with 30-min gap) |
3 | Day of the week (1–7) |
4 | Holiday |
5 | Energy demand on Weekends (Saturday and Sunday) |
6 | Energy demand in last day |
7 | Energy demand in last week |
8 | Energy demand in last month |
9 | Average temperature of the day |
10 | Average temperature of the month |
Model | Precision (%) | Recall (%) | F-Measures (%) | Accuracy (%) |
---|---|---|---|---|
1D-CNN | 75 | 75 | 74.82 | 75.03 |
1D-DCNN | 91 | 91 | 90.67 | 90.41 |
Model | MSE | RMSE | MAE | MBE |
---|---|---|---|---|
LSTM | 0.3012 | 0.5452 | 0.3122 | 0.03650 |
BLSTM | 0.2822 | 0.5102 | 0.2920 | 0.03220 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Khan, M.; Seo, J.; Kim, D. Towards Energy Efficient Home Automation: A Deep Learning Approach. Sensors 2020, 20, 7187. https://doi.org/10.3390/s20247187
Khan M, Seo J, Kim D. Towards Energy Efficient Home Automation: A Deep Learning Approach. Sensors. 2020; 20(24):7187. https://doi.org/10.3390/s20247187
Chicago/Turabian StyleKhan, Murad, Junho Seo, and Dongkyun Kim. 2020. "Towards Energy Efficient Home Automation: A Deep Learning Approach" Sensors 20, no. 24: 7187. https://doi.org/10.3390/s20247187
APA StyleKhan, M., Seo, J., & Kim, D. (2020). Towards Energy Efficient Home Automation: A Deep Learning Approach. Sensors, 20(24), 7187. https://doi.org/10.3390/s20247187