Design and Implementation of a Monitoring and Alert System Applied to the Residential Electrical Network Using NodeMCU

Design and Implementation of a Monitoring and Alert System Applied to the Residential Electrical Network Using NodeMCU

  IJETT-book-cover           
  
© 2024 by IJETT Journal
Volume-72 Issue-6
Year of Publication : 2024
Author : Ramces Cavallini-Rodriguez, Pedro Portillo-Mendoza
DOI : 10.14445/22315381/IJETT-V72I6P125

How to Cite?

Ramces Cavallini-Rodriguez, Pedro Portillo-Mendoza, "Design and Implementation of a Monitoring and Alert System Applied to the Residential Electrical Network Using NodeMCU," International Journal of Engineering Trends and Technology, vol. 72, no. 6, pp. 259-272, 2024. Crossref, https://doi.org/10.14445/22315381/IJETT-V72I6P125

Abstract
The object of study of this research is to determine to what extent a monitoring and alert system of a residential electrical network using NodeMCU is efficient, with the purpose of supervising and optimizing the efficiency of electrical power consumption in a home. For this, current data collection techniques were used through the induction sensor, then an electronic analysis technique for voltage reading by voltage division, which consists of scaling the AC input voltage to the reading ranges of the microcontroller in D.C. Finally, the MQTT technique is used for the communication protocol that consists of the transmission of values from a microcontroller to a database via Wi-Fi. In this research, electronic modules were used to capture current and voltage data, and different computer programs, such as Eagle, for the electronic and electrical design of the system; Autodesk Inventor for the development of the schematic of the system components and the design of the prototype of the case that houses the electronic components; UltiMaker Cura 5.2, to configure 3D printing of the case; Arduino IDE, for the development of the ESP32 microcontroller programming code that is carried out in C++ language; Firebase Google, to obtain monitoring and alerts through an IDE interface which was programmed with HTML code and finally Visual Studio Code was used to create the graphical user access interface on the web page. The results demonstrated that this proposal made it possible to optimally monitor and obtain power consumption locally and remotely based on initial magnitudes of voltage, current, and power, obtaining a low error percentage of 0.39% and 3.12% in voltage and current measurements, respectively, comparing them with previously calibrated Fluke brand high precision measuring instruments. In addition, a calculated precision of 97.9289% was obtained for the power based on the values obtained by the instruments. With these parameters, the control algorithm displays the power locally through an LCD screen and remotely through a web page. Finally, the system can notify when an anomaly, such as a power outage, occurs through a notification to Gmail and the website interface.

Keywords
Power Consumption, IoT, Low-cost Monitoring System, Google Firebase, NodeMCU.

References
[1] Anang Suryana, “Monitoring Electrical Energy Consumption Through Impulse Detection Using LDR Sensors and Relay With NodeMCU ESP8266,” 2019 5th International Conference on Computing Engineering and Design, Singapore, pp. 1-7, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[2] R. Bharathi, M. E. Madhushree, and Priyanka Kumari, “Power Consumption Monitoring System Using IOT,” International Journal of Computer Applications, vol. 173, no. 5, pp. 23-25, 2017.
[CrossRef] [Google Scholar] [Publisher Link]
[3] Dyah Lestari, Irawan Dwi Wahyono, and Irham Fadlika, “IoT Based Electrical Energy Consumption Monitoring System Prototype: Case Study in G4 Building Universitas Negeri Malang,” 2017 International Conference on Sustainable Information Engineering and Technology, Malang, Indonesia, pp. 342-347, 2017.
[CrossRef] [Google Scholar] [Publisher Link]
[4] T.M. Thamizh Thentral et al., “Implementation of Protection Circuit for Over Voltage and Under Voltage Protection,” Materials Today: Proceedings, vol. 45, no. 2, pp. 2460-2464, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[5] J.P. Iloh, A.C. Odigbo, and C.B. Mbachu, “Internet of Things Concept for Improving Energy Metering in Power Distribution Networks,” International Peer-Reviewed Journal, vol. 6, no. 11, pp. 632-641, 2023.
[Publisher Link]
[6] Thanh Ba Nguyen, and Tri Cao Nguyen, “Design and Fabrication of an IoT-Based Smart Electrical Meter for Residential Energy Management,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 30, no. 3, pp. 1259-1268, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[7] Electricity Statistical Yearbook 2022, Ministry of Energy And Mines (Peru), pp. 1-383, 2022. [Online]. Available: https://www.minem.gob.pe/_estadistica.php?idSector=6&idEstadistica=13609/
[8] The Electricity Industry in Peru: 25 Years of Contributions to the Country's Economic Growth, Osinergmin, pp. 1-178, 2016. [Online]. Available: https://www.gob.pe/institucion/osinergmin/informes-publicaciones/483410-la-industria-de-la-electricidad-en-el-peru-25-anos-de-aportes-al-crecimiento-economico-del-pais
[9] I.O. Zaitsev et al., “Line Electrical Transmission Damage Identification Tool in Distributors Electrical Networks,” IOP Conference Series: Earth and Environmental Science, Ukraine, vol. 1254, no. 1, pp. 12-36, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[10] Fransiscus Yudi Limpraptono et al., “Design of Power Monitoring and Electrical Control Systems to Support Energy Conservation,” Proceedings of the Pakistan Academy of Sciences: Part A, vol. 58, pp. 1-7, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[11] Muhammad Faiz Bin Mohd Kamal et al., “IoT-Based Electric Monitoring System for Smart Electric Meter Application,” Control and Measurement Applications for Smart Grid, vol. 822, pp. 209-218, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[12] Paul Stone Macheso, and Doreen Thotho, “ESP32 Based Electric Energy Consumption Meter,” International Journal of Computer Communication and Informatics, vol. 4, no. 1, pp. 23-35, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[13] Darwin Alulema, Mireya Zapata, and Miroslava Aracely Zapata, “An IoT-Based Remote Monitoring System for Electrical Power Consumption via Web-Application,” 2018 International Conference on Information Systems and Computer Science, Quito, Ecuador, pp. 193-197, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[14] Wiwid Suryono et al., “Monitoring and Controlling Electricity Consumption Using Wemos D1 Mini and Smartphone,” International Conference on Advanced Mechanical and Industrial Engineering, Banten, Indonesia, vol. 909, pp. 1-10, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[15] Oltean Andrei et al., “IoT Power Monitoring Device Using Wi-fi and Arduino,” 2021 9th International Conference on Modern Power Systems, Cluj-Napoca, Romania, pp. 1-6, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[16] Firdaus Jonathan, and Tri Wahyu Oktaviana Putri, “Prototype of Home Power Monitoring Tool for Electrical Outlet Using ESP32,” 2021 International Conference on ICT for Smart Society, Bandung, Indonesia, pp. 1-5, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[17] Huan-Liang Tsai, Le Phuong Truong, and Wei-Hung Hsieh, “Design and Evaluation of Wireless Power Monitoring IoT System for AC Appliances,” Energies, vol. 16, no. 1, pp. 1-27, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Komkrit Chooruang, and Kraison Meekul, “Design of an IoT Energy monitoring System,” 2018 16th International Conference on ICT and Knowledge Engineering, Bangkok, Thailand, pp. 1-4, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[19] Abdul-Waliyi O. Muhammed et al., “Design and Implementation of an IoT Based Home Energy Monitoring System,” 2022 5th Information Technology for Education and Development, Abuja, Nigeria, pp. 1-7, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[20] Ewerton L. de Sousa et al., “Development a Low-Cost Wireless Smart Meter with Power Quality Measurement for Smart Grid Applications,” Sensors, vol. 23, no. 16, pp. 1-21, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[21] Suhanto et al., “The Electrical Energy Usage of Monitoring System at Real-Time Using IoT as the Primary Policy of Energy Efficiency,” International Conference on Advanced Mechanical and Industrial Engineering, Banten, Indonesia, vol. 909, pp. 1-9, 2020.
[CrossRef] [Google Scholar] [Publisher Link]