Design and Implementation of an ESP32-Based Electronic Module for Monitoring and Protecting Industrial Electrical Panels Using the Modbus TCP/IP Protocol

International Journal of Electrical and Electronics Engineering
© 2025 by SSRG - IJEEE Journal
Volume 12 Issue 10
Year of Publication : 2025
Authors : Cesar Lenin Chavez Arque, Jhonatan Elvis Muñuyco Jinez , Raúl Ricardo Sulla Torres
pdf
How to Cite?

Cesar Lenin Chavez Arque, Jhonatan Elvis Muñuyco Jinez , Raúl Ricardo Sulla Torres, "Design and Implementation of an ESP32-Based Electronic Module for Monitoring and Protecting Industrial Electrical Panels Using the Modbus TCP/IP Protocol," SSRG International Journal of Electrical and Electronics Engineering, vol. 12,  no. 10, pp. 123-135, 2025. Crossref, https://doi.org/10.14445/23488379/IJEEE-V12I10P110

Abstract:

This paper presents the design and implementation of an ESP32-based electronic module for the monitoring and preventive protection of industrial electrical panels using Modbus TCP/IP. The system integrates non-invasive sensors to measure up to 400 A, NTC thermistors for temperature in distribution bars, and sensors for detecting fine smoke and gases. In addition, it uses an analyzer to record 3rd and 5th harmonics, allowing for advanced power quality diagnostics. The ESP32 processes the information in real time. In the presence of smoke or flammable gases, it activates an actuator that triggers the “TRIP” button on the main switch to prevent fires and disable the mains voltage used. According to INDECI, OSINERGMIN, and the Peruvian Fire Department, 70% of industrial fires in the country are electrical in origin. Implementing the system can reduce the risk of fire by 52.2%, increase the timely detection of incidents by 85%, and improve automatic response by 89%. It also promotes predictive maintenance of the electrical panel by identifying excessive current, overheating, and harmonic distortions, offering a low-cost, high-efficiency, and quick-to-implement solution.

Keywords:

ESP32 Microcontroller, Industrial Electrical Panels, Modbus TCP/IP Communication, Predictive Maintenance, Fire Prevention System.

References:

[1] Abbas Q. Mohammed et al., “Using IoT Applications for Detection of the Overvoltage and Undervoltage in Electrical Systems,” Sustainable Engineering and Innovation, vol. 7, no. 1, pp. 41-50, 2025.
[CrossRef] [Publisher Link]
[2] Tomșe Andrei-Dan, Stașac Claudia-Olimpia, and Molnar Carmen-Otilia, “ESP32 Based Detection and Monitoring System of Power Quality in Electrical Networks,” Journal of Electrical and Electronics Engineering, vol. 17, no. 2, pp. 59-62, 2024.
[Google Scholar] [Publisher Link]
[3] Jongwon Kim, and Sang Bin Lee, “Detection of High Resistance Contacts in the Electrical Distribution System During the Induction Motor Starting Transient,” IEEE Transactions on Energy Conversion, vol. 39, no. 4, pp. 2480-2489, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[4] Tejanshu Bhandari et al., “Enhancing Grid Resilience: Machine Learning-Based Electrical Fault Detection in Power Systems,” 2024 IEEE Third International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES), Delhi, India, pp. 1060-1065, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[5] Shenquan Wang et al., “A Reversible Residual Network-Aided Canonical Correlation Analysis to Fault Detection and Diagnosis in Electrical Drive Systems,” IEEE Transactions on Instrumentation and Measurement, vol. 73, pp. 1-10, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[6] Na Tian, Mei Lin, and Ding Zheng, “Fault Detection and Prevention Mechanism Driven by Sensors in Electrical Automation Systems,” 2024 4th International Signal Processing, Communications and Engineering Management Conference (ISPCEM), Montreal, QC, Canada, pp. 264-269, 2024.
[CrossRef] [Google Scholar] [Publisher Link]
[7] Marin-Titus Tomse, Claudia-Olimpia Stasac, and Andrei-Dan Tomse, “Detection and Monitoring System of Disturbances in Electrical Networks,” 2023 17th International Conference on Engineering of Modern Electric Systems (EMES), Oradea, Romania, pp. 1-4, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[8] Lubabalo Mcunukelwa, and Sinawo Nomandela, “Systematic Development and Testing of an Overcurrent Protection-based Power Redirection Technique for an Electrical Distribution System,” 2025 33rd Southern African Universities Power Engineering Conference (SAUPEC), Pretoria, South Africa, pp. 1-6, 2025.
[CrossRef] [Google Scholar] [Publisher Link]
[9] Iliya Iliev et al., “Modeling of Measuring Transducers for Relay Protection Systems of Electrical Installations,” Sensors, vol. 25, no. 2, pp. 1-18, 2025.
[CrossRef] [Google Scholar] [Publisher Link]
[10] John Bryan S. Camacho et al., “Protection System for Electrical Loads of Administration Building in Controlling Voltage Variations Due to Over-Voltage and Under-Voltage,” Asean Journal of Science and Engineering, vol. 3, no. 3, pp. 259-270, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[11] Philip Oludele Awuwoloye et al., “Performance Analysis of Protection Devices in Electrical Power Distribution System: Eko Electricity Distribution Company as a Case Study” International Journal of Advances in Applied Sciences, vol. 12, no. 4, pp. 361-367, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[12] Milan Stork, and Daniel Mayer, “Simulation of Electrical System Protection Against the Effects of a Magnetic Storm,” Journal of Electrical Engineering, vol. 74, no. 4, pp. 321-327, 2023.
[CrossRef] [Google Scholar] [Publisher Link]
[13] Jamil H. Sacaca Ramos et al., “Real-Time Monitoring of Constant Pressure and Variable Frequency Drive Motor in a Control Plant Using Modbus TCP/IP, IoT Core, MQTT, and Grafana,” Business Sustainability with Artificial Intelligence (AI): Challenges and Opportunities, pp. 881-890, 2024.
[CrossRef] [Google Scholar] [Publisher Link]