An Indoor Multi-Environment Sensor System Based on Intelligent Edge Computing
Abstract
:1. Introduction
- The proposed system collects and monitors data simultaneously via 14 general-purpose sensors. Furthermore, the user may set a data collection cycle and prediction target data.
- The proposed indoor human detection model is implemented with the MobileNet structure and collects the number of humans. Aside from that, we construct and evaluate indoor human object datasets for accurate object detection.
- The proposed environmental prediction model is implemented based on the bi-directional LSTM structure and predicts PM2.5, TVOC, and CO. We also validate our prediction performance by comparing its performance with gated recurrent units (GRU), bi-directional GRU, and LSTM.
- This study proposes an integrated system through various experiments and builds a multi-environment sensor system based on the NVIDIA Jetson Nano board, which is the representative edge computing environment.
2. Proposed Multi-Environment Sensor System
2.1. Data Collection Unit
2.2. Data Processing Unit
- PM2.5 (Fine dust 2.5): Fine dust is classified into PM10 and PM2.5. PM10 is dust less than 10/1000 mm in size, and PM2.5 is dust less than 2.5/1000 mm in size [28]. Fine dust is emitted as a mixture of solid and liquid particles in the air and is produced by chemical reactions or naturally. Fine dust worsens respiratory diseases such as asthma and causes a decrease in lung function. PM2.5 is not filtered through the nasal mucosa due to its fine particles, but it directly penetrates the alveoli during inhalation, increasing the prevalence and early mortality due to asthma or lung diseases [29]. In addition, fine dust worsens visibility, deposits on the leaf surfaces of plants, interferes with metabolism, and deposits on buildings, historical sites, and statues, causing corrosion [30].
- TVOC (Total volatile organic compounds): Total volatile organic compounds (TVOC) is a generic term for liquid or gaseous organic compounds that are easily evaporated into the atmosphere (benzene, toluene, ethylbenzene, xylene, styrene, etc.) [31]. These volatile organic compounds usually cause odors even at low concentrations, and the compounds themselves are directly harmful to the environment and the human body or participate in photochemical reactions in the atmosphere to produce secondary pollutants such as photochemical oxides [32]. They mainly occur in petrochemical oil refining, the manufacturing and storage process of paint, automobile exhaust, construction materials such as paint and adhesives, and storage tanks at gas stations. The main sources of indoor occurrence are building materials, laundry solvents, paints, and pesticides, which are mainly absorbed by the human body through breathing and the skin, and acute poisoning can cause difficulty breathing, lethargy, headaches, and vomiting, while chronic poisoning can cause blood disorders and anemia [33].
- CO (Carbon dioxide): This is a colorless and tasteless gas and has little toxicity, but if it exists in large quantities, it can increase the breathing speed of a person, resulting in respiratory disorders, headaches, tinnitus, and increased blood pressure due to inhalation of many harmful gases [34,35,36]. Indoor carbon dioxide is mainly generated during human respiration, heating, and cooking, and it is influenced by the indoor volume, indoor personnel, heating status, and ventilation, so it is used as a major indicator of indoor pollution. The carbon dioxide concentration is expressed in ppm, which means parts per million, and this is used to indicate the toxic gas ratio for an amount of fresh air. A typical indoor level of CO is about 400 ppm, and an indoor level of CO above 3000 ppm causes health problems [37,38].
3. Experimental Results
3.1. Implementation Details
3.2. Unified System
4. Results
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Othman, M.F.; Khairunnisa, S. Wireless sensor network applications: A study in environment monitoring system. Procedia Eng. 2012, 41, 1204–1210. [Google Scholar] [CrossRef] [Green Version]
- Peng, I.H.; Chu, Y.Y.; Kong, C.Y.; Su, Y.S. Implementation of indoor VOC air pollution monitoring system with sensor network. In Proceedings of the 2013 Seventh International Conference on Complex, Intelligent, and Software Intensive Systems, Taichung, Taiwan, 3–5 July 2013. [Google Scholar]
- Liu, D.; Cao, X.; Huang, C.; Ji, L. Intelligent agriculture greenhouse environment monitoring system based on IOT technology. In Proceedings of the 2015 International Conference on Intelligent Transportation, Big Data and Smart City, Halong Bay, Vietnam, 19–20 December 2015. [Google Scholar]
- Qian, G.; Lu, S.; Pan, D.; Tang, H.; Liu, Y.; Wang, Q. Edge computing: A promising framework for real-time fault diagnosis and dynamic control of rotating machines using multi-sensor data. IEEE Sens. J. 2019, 19, 4211–4220. [Google Scholar] [CrossRef]
- Evans, D. The Internet of Things: How the Next Evolution of the Internet Is Changing Everything; White Paper; CISCO: San Jose, CA, USA, 2011; Volume 1, pp. 1–11. [Google Scholar]
- Tu, Z.X.; Hong, C.C.; Feng, H. EMACS: Design and implementation of indoor environment monitoring and control system. In Proceedings of the 2017 IEEE/ACIS 16th International Conference on Computer and Information Science (ICIS), Wuhan, China, 24–26 May 2017. [Google Scholar]
- Assante, D.; Fornaro, C. An educational iot-based indoor environment monitoring system. In Proceedings of the 2019 IEEE Global Engineering Education Conference (EDUCON), Dubai, United Arab Emirates, 8–11 April 2019. [Google Scholar]
- Bhoi, S.K.; Panda, S.K.; Jena, K.K.; Sahoo, K.S.; Jhanjhi, N.; Masud, M.; Aljahdali, S. IoT-EMS: An internet of things based environment monitoring system in volunteer computing environment. Intell. Autom. Soft Comput 2022, 32, 1493–1507. [Google Scholar] [CrossRef]
- Chen, X.; Wang, X.; Shen, H. Design of greenhouse environment monitoring system based on NB-IoT and edge computing. In Proceedings of the 2021 IEEE 5th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), Chongqing, China, 12–14 March 2021; Volume 5. [Google Scholar]
- Yu, Q.; Xiong, F.; Wang, Y. Integration of wireless sensor network and IoT for smart environment monitoring system. J. Interconnect. Netw. 2022, 22 (Suppl. 2), 2143010. [Google Scholar] [CrossRef]
- Zhang, S.; Guo, Y.; Li, S.; Ke, Z.; Zhao, H.; Yang, J.; Wang, Y.; Li, D.; Wang, L.; Yang, W. Investigation on environment monitoring system for a combination of hydroponics and aquaculture in greenhouse. Inf. Process. Agric. 2022, 9, 123–134. [Google Scholar] [CrossRef]
- Borkar, P.S.; Thakur, R. Smart Environment Monitoring Models Using Cloud-Based Data Analytics: A Comprehensive Study. Mach. Learn. Approach Cloud Data Anal. IoT 2021, 227–271. [Google Scholar] [CrossRef]
- Sivasankar, G.; Balaji, S.; Vignesh, N. Internet of Things based Smart Students’ body Temperature Monitoring System for a Safe Campus. In Proceedings of the 2022 6th International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India, 25–27 May 2022. [Google Scholar]
- Pramanik, J.; Samal, A.K.; Pani, S.K.; Chakraborty, C. Elementary framework for an IoT based diverse ambient air quality monitoring system. Multimed. Tools Appl. 2022, 81, 36983–37005. [Google Scholar] [CrossRef]
- Akhter, F.; Khadiviz, S.; Siddiquei, H.R.; Alahi, M.E.E.; Mukhopadhyay, S. IoT enabled intelligent sensor node for smart city: Pedestrian counting and ambient monitoring. Sensors 2019, 19, 3374. [Google Scholar] [CrossRef] [Green Version]
- Nassif, N. A robust CO2-based demand-controlled ventilation control strategy for multi-zone HVAC systems. Energy Build. 2012, 45, 72–81. [Google Scholar] [CrossRef]
- Mumma, S.A. Transient occupancy ventilation by monitoring CO2. ASHRAE IAQ Appl. 2004, 5, 21–23. [Google Scholar]
- Meyn, S.; Surana, A.; Lin, Y.; Oggianu, S.M.; Narayanan, S.; Frewen, T.A. A sensor-utility-network method for estimation of occupancy in buildings. In Proceedings of the 48h IEEE Conference on Decision and Control (CDC) Held Jointly with 2009 28th Chinese Control Conference, Shanghai, China, 15–18 December 2009. [Google Scholar]
- Kamal, U.; Ahmed, S.; Toha, T.R.; Islam, N.; Al Islam, A.B.M. Intelligent human counting through environmental sensing in closed indoor settings. Mob. Netw. Appl. 2020, 25, 474–490. [Google Scholar] [CrossRef]
- Li, T.; Fong, S.; Yang, L. Counting passengers in public buses by sensing carbon dioxide concentration: Data collection and machine learning. In Proceedings of the 2018 2nd International Conference on Big Data and Internet of Things, Beijing, China, 24–26 October 2018. [Google Scholar]
- Ler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.C. Mobilenetv2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018. [Google Scholar]
- Wang, L.; Shi, J.; Song, G.; Shen, I.F. Object detection combining recognition and segmentation. In Asian Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2007. [Google Scholar]
- Available online: https://www.aihub.or.kr/ (accessed on 14 December 2022).
- Tran, V.V.; Park, D.; Lee, Y.C. Indoor air pollution, related human diseases, and recent trends in the control and improvement of indoor air quality. Int. J. Environ. Res. Public Health 2020, 17, 2927. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Megahed, N.A.; Ghoneim, E.M. Indoor Air Quality: Rethinking rules of building design strategies in post-pandemic architecture. Environ. Res. 2021, 193, 110471. [Google Scholar] [CrossRef] [PubMed]
- Mannan, M.; Al-Ghamdi, S.G. Indoor air quality in buildings: A comprehensive review on the factors influencing air pollution in residential and commercial structure. Int. J. Environ. Res. Public Health 2021, 18, 3276. [Google Scholar] [CrossRef] [PubMed]
- Settimo, G.; Manigrasso, M.; Avino, P. Indoor air quality: A focus on the European legislation and state-of-the-art research in Italy. Atmosphere 2020, 11, 370. [Google Scholar] [CrossRef] [Green Version]
- Fang, G.C.; Peng, Y.P.; Kao, C.L.; Zhuang, Y.J. Measurements of ambient air fine (PM ≤ 2.5) and coarse (PM > 2.5) particulates concentrations by using of a dust monitoring system. Environ. Forensics 2021, 1–8. [Google Scholar] [CrossRef]
- Zhang, M. Transboundary Fine Dust and “PM 2.5 Diplomacy” in Northeast Asia: Cooperation and Future Challenges. In Risk Management in East Asia; Palgrave Macmillan: Singapore, 2021; pp. 223–246. [Google Scholar]
- Seong, N. Deep spatiotemporal attention network for fine particle matter 2.5 concentration prediction with causality analysis. IEEE Access 2021, 9, 73230–73239. [Google Scholar] [CrossRef]
- Jin, L.; Griffith, S.M.; Sun, Z.; Yu, J.Z.; Chan, W. On the flip side of mask wearing: Increased exposure to volatile organic compounds and a risk-reducing solution. Environ. Sci. Technol. 2021, 55, 14095–14104. [Google Scholar] [CrossRef]
- Suárez-Cáceres, G.P.; Fernández-Cañero, R.; Fernández-Espinosa, A.J.; Rossini-Oliva, S.; Franco-Salas, A.; Pérez-Urrestarazu, L. Volatile organic compounds removal by means of a felt-based living wall to improve indoor air quality. Atmos. Pollut. Res. 2021, 12, 224–229. [Google Scholar] [CrossRef]
- Alford, K.L.; Kumar, N. Pulmonary Health Effects of Indoor Volatile Organic Compounds—A Meta-Analysis. Int. J. Environ. Res. Public Health 2021, 18, 1578. [Google Scholar] [CrossRef]
- Hou, J.; Sun, Y.; Dai, X.; Liu, J.; Shen, X.; Tan, H.; Yin, H.; Huang, K.; Gao, Y.; Lai, D.; et al. Associations of indoor carbon dioxide concentrations, air temperature, and humidity with perceived air quality and sick building syndrome symptoms in Chinese homes. Indoor Air 2021, 31, 1018–1028. [Google Scholar] [CrossRef] [PubMed]
- Prakash, K.B.; Subramaniayan, C.; Ch, R.M.; Kumar, P.M.; Saravanakumar, S. Development of mathematical model to study the effect of indoor air quality parameters and optimization using response surface methodology. Mater. Today Proc. 2021, 45, 8195–8198. [Google Scholar] [CrossRef]
- Canha, N.; Teixeira, C.; Figueira, M.; Correia, C. How is indoor air quality during sleep? A review of field studies. Atmosphere 2021, 12, 110. [Google Scholar] [CrossRef]
- Geiss, O. Effect of wearing face masks on the carbon dioxide concentration in the breathing zone. Aerosol Air Qual. Res. 2021, 21, 200403. [Google Scholar] [CrossRef]
- Xu, X.; Lian, Z.; Shen, J.; Cao, T.; Zhu, J.; Lin, X.; Qing, K.; Zhang, W.; Zhang, T. Experimental study on sleep quality affected by carbon dioxide concentration. Indoor Air 2021, 31, 440–453. [Google Scholar] [CrossRef]
- Yu, Y.; Si, X.; Hu, C.; Zhang, J. A review of recurrent neural networks: LSTM cells and network architectures. Neural Comput. 2019, 31, 1235–1270. [Google Scholar] [CrossRef]
- Huang, Z.; Xu, W.; Yu, K. Bidirectional LSTM-CRF models for sequence tagging. arXiv 2015, arXiv:1508.01991. [Google Scholar]
- Sherstinsky, A. Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network. Phys. D Nonlinear Phenom. 2020, 404, 132306. [Google Scholar] [CrossRef] [Green Version]
- Smagulova, K.; James, A.P. A survey on LSTM memristive neural network architectures and applications. Eur. Phys. J. Spec. Top. 2019, 228, 2313–2324. [Google Scholar] [CrossRef]
- Gers, F.A.; Nicol, N. Schraudolph, and Jürgen Schmidhuber. Learning precise timing with LSTM recurrent networks. J. Mach. Learn. Res. 2002, 3, 115–143. [Google Scholar]
- Mikolov, T.; Karafiát, M.; Burget, L.; Cernocký, J.; Khudanpur, S. Recurrent neural network based language model. Interspeech 2010, 2, 1045–1048. [Google Scholar]
- Wang, J. Analysis and design of a recurrent neural network for linear programming. IEEE Trans. Circuits Syst. I Fundam. Theory Appl. 1993, 40, 613–618. [Google Scholar] [CrossRef]
- Lukoševičius, M.; Jaeger, H. Reservoir computing approaches to recurrent neural network training. Comput. Sci. Rev. 2009, 3, 127–149. [Google Scholar] [CrossRef]
- Graves, A.; Jaitly, N.; Abdel-Rahman, M. Hybrid speech recognition with deep bidirectional LSTM. In Proceedings of the 2013 IEEE Workshop on Automatic Speech Recognition and Understanding, Olomouc, Czech Republic, 8–12 December 2013. [Google Scholar]
- Graves, A.; Schmidhuber, J. Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Netw. 2005, 18, 602–610. [Google Scholar] [CrossRef]
- Graves, A.; Fernández, S.; Schmidhuber, J. Bidirectional LSTM networks for improved phoneme classification and recognition. In International Conference on Artificial Neural Networks; Springer: Berlin/Heidelberg, Germany, 2005. [Google Scholar]
- Chiu, J.P.C.; Nichols, E. Named entity recognition with bidirectional LSTM-CNNs. Trans. Assoc. Comput. Linguist. 2016, 4, 357–370. [Google Scholar] [CrossRef]
- Light, R.A. Mosquitto: Server and client implementation of the MQTT protocol. J. Open Source Softw. 2017, 2, 265. [Google Scholar] [CrossRef]
- Rattanatamrong, P.; Boonpalit, Y.; Suwanjinda, S.; Mangmeesap, A.; Subraties, K.; Daneshmand, V.; Smallen, S.; Haga, J. Overhead study of telegraf as a real-time monitoring agent. In Proceedings of the 2020 17th International Joint Conference on Computer Science and Software Engineering (JCSSE), Bangkok, Thailand, 4–6 November 2020. [Google Scholar]
- Naqvi, S.N.Z.; Yfantidou, S.; Zimányi, E. Time series databases and influxdb. Stud. Univ. Libre Brux. 2017, 12, 1–44. [Google Scholar]
- Chakraborty, M.; Kundan, A.P. Grafana. In Monitoring Cloud-Native Applications; Apress: Berkeley, CA, USA, 2021; pp. 187–240. [Google Scholar]
- Ash, A.; Shwartz, M. R2: A useful measure of model performance when predicting a dichotomous outcome. Stat. Med. 1999, 18, 375–384. [Google Scholar] [CrossRef]
Sensors | Interface | Data |
---|---|---|
SCD30 | I2C | Temperature, humidity, CO |
SHT35 | I2C | Temperature, humidity |
BME680 | I2C | Temperature, humidity |
SGP30 | I2C | TVOC, eCO |
BH1750 | I2C | Illumination |
BMP388 | I2C | Air pressure |
SEN0376 | I2C | Alcohol |
SEN0321 | I2C | Ozone |
SEN50135 | Digital TTL | Motion |
PMS5003 | UART | PM2.5, PM10 (indoor) |
S-pH-01A | RS-485 | pH |
C930 | USB | The number of people |
AirKorea | Ethernet | PM2.5, PM10 (outdoor) |
Korea Meteorological Administration | Ethernet | Temperature, humidity (outdoor) |
MobileNet V2 + SSDLite | ||
---|---|---|
Train Dataset | Test Dataset | mAP |
Own human dataset | Own human dataset | 0.62 |
Own human dataset | Aihub | 0.79 |
Own human dataset | PennFudan | 0.80 |
PennFudan | Own human dataset | 0.19 |
PennFudan | Aihub | 0.76 |
PennFudan | PennFudan | 0.95 |
Aihub | Own human dataset | 0.10 |
Aihub | Aihub | 0.91 |
Aihub | PennFudan | 0.65 |
Prediction Model | Input Values | Unit |
---|---|---|
PM2.5 (indoor) | UTC time, day, humidity, PM10 (indoor or outdoor), PM2.5 (indoor or outdoor) | g/m |
TVOC | UTC time, day, temperature, TVOC, PM2.5 (indoor), PM10 (indoor), eCO | mg/m |
CO | UTC time, day, temperature, CO, TVOC, PM2.5 (outdoor), PM10 (outdoor), the number of people | mg/m |
Architecture | Bi-Directional LSTM | LSTM | Bi-Directional GRU | GRU | ||||
---|---|---|---|---|---|---|---|---|
Metric | MAE | MAE | MAE | MAE | ||||
PM2.5 | 0.836 | 0.329 | 0.830 | 0.333 | 0.810 | 0.344 | 0.815 | 0.340 |
TVOC | 0.990 | 0.088 | 0.986 | 0.105 | 0.987 | 0.102 | 0.972 | 0.147 |
CO | 0.996 | 0.053 | 0.991 | 0.078 | 0.990 | 0.070 | 0.990 | 0.070 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2022 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Kim, M.; Kim, T.; Park, S.; Lee, K. An Indoor Multi-Environment Sensor System Based on Intelligent Edge Computing. Electronics 2023, 12, 137. https://doi.org/10.3390/electronics12010137
Kim M, Kim T, Park S, Lee K. An Indoor Multi-Environment Sensor System Based on Intelligent Edge Computing. Electronics. 2023; 12(1):137. https://doi.org/10.3390/electronics12010137
Chicago/Turabian StyleKim, Myeongseop, Taehyeon Kim, Seho Park, and Kyungtaek Lee. 2023. "An Indoor Multi-Environment Sensor System Based on Intelligent Edge Computing" Electronics 12, no. 1: 137. https://doi.org/10.3390/electronics12010137
APA StyleKim, M., Kim, T., Park, S., & Lee, K. (2023). An Indoor Multi-Environment Sensor System Based on Intelligent Edge Computing. Electronics, 12(1), 137. https://doi.org/10.3390/electronics12010137