Research Article

Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN

Volume: 9 Number: 4 December 30, 2025

Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN

Abstract

Power quality disturbances (PQDs) such as voltage sags, swells, interruptions, and harmonics significantly impact the performance and stability of electrical distribution networks. With the growing demand for intelligent, embedded monitoring systems in smart grids, edge computing offers a practical approach to real-time disturbance detection. This paper presents a compact and efficient PQD classification system based on a quantized 1D Convolutional Neural Network (CNN), deployed on an ESP32 microcontroller. The model, developed using Edge Impulse, was compressed to approximately 2 KB, allowing deployment on low-power hardware. Key signal features such as root mean square voltage (VRMS) and total harmonic distortion (THD) were extracted to aid in classification. Real-time validation was performed using both live signals and real-world data obtained from the National Company for Electricity and Gas distribution areas, covering various single and combined PQD events. The ESP32 was connected to the Blynk IoT platform for live monitoring, where detected disturbances triggered mobile alerts, virtual LED indicators, and sound notifications. Results confirm the system’s high classification accuracy and responsiveness, demonstrating the potential of lightweight neural models for edge-based PQ monitoring.

Keywords

Supporting Institution

Algerian National Company for Electricity and Gas

Thanks

The authors would like to express their sincere gratitude to the Algerian National Company for Electricity and Gas for providing the necessary power quality disturbance measurements from distribution areas, which were essential for this work. Their support was instrumental in validating the proposed system and demonstrating its effectiveness in real-world conditions.

References

  1. [1] Zhan H, Strawderman AD, Hovakimyan CE. Autonomous wildland fire monitoring via integrated path planning and sensor fusion. IEEE Trans Autom Sci Eng. 2024; early access. doi:10.1109/TASE.2024.3456789.
  2. [2] Bar-Shalom Y, Tse E, Weiss A. A localization upper bound with uncertain transmitter positions. IEEE Trans Signal Process. 2023;71:234–247. doi:10.1109/TSP.2023.3321458.
  3. [3] Rezaei M, Weiss A, Wang L. Robust position estimation under transmitter location uncertainty using sensitivity maps. IEEE Trans Veh Technol. 2024 May;73(5):6154–6167. doi:10.1109/TVT.2024.3367890.
  4. [4] Rahmani R, Abbas N, Ahmad M. Performance comparison of H∞ control and feedback linearization on a rotary inverted pendulum system. IEEE Access. 2024;12:87156–87168. doi:10.1109/ACCESS.2024.3459087.
  5. [5] Khaldi BF, Dekhandji FZ, Recioui A. Power quality disturbances: A review of detection, classification, optimization, and mitigation techniques. Alger J Signal Syst. 2024;9:261–275.
  6. [6] Ravi T, Kumar KS, Kumar KS. Analysis, monitoring, and mitigation of power quality disturbances in a distributed generation system. Front Energy Res. 2022;10:989474.
  7. [7] Channa IA, Li D, Dahri FH, Abro GEM, Zahid F. A novel deep learning model for classifying power quality problems in PV-integrated microgrids using CNN-LSTM. In: Proc. 1st Int Conf Innovative Engineering Sciences and Technological Research (ICIESTR); 2024; Muscat, Oman. p. 1–5. doi:10.1109/ICIESTR60916.2024.10798309.
  8. [8] Cen S, Kim DO, Lim CG. A fused CNN-LSTM model using FFT with application to real-time power quality disturbances recognition. Energy Sci Eng. 2023;11:2267–2280.

Details

Primary Language

English

Subjects

Electrical Energy Transmission, Networks and Systems, Energy Systems Engineering (Other)

Journal Section

Research Article

Early Pub Date

December 14, 2025

Publication Date

December 30, 2025

Submission Date

June 12, 2025

Acceptance Date

November 12, 2025

Published in Issue

Year 2025 Volume: 9 Number: 4

APA
Khaldi, B. F., Dekhandji, F. Z., & Recioui, A. (2025). Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN. Journal of Energy Systems, 9(4), 365-379. https://doi.org/10.30521/jes.1718242
AMA
1.Khaldi BF, Dekhandji FZ, Recioui A. Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN. Journal of Energy Systems. 2025;9(4):365-379. doi:10.30521/jes.1718242
Chicago
Khaldi, Bouchra Feriel, Fatma Zohra Dekhandji, and Abdelmadjid Recioui. 2025. “Low-Cost IoT-Based Smart Meter for Real-Time Power Quality Monitoring and Disturbance Detection Using Embedded 1D CNN”. Journal of Energy Systems 9 (4): 365-79. https://doi.org/10.30521/jes.1718242.
EndNote
Khaldi BF, Dekhandji FZ, Recioui A (December 1, 2025) Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN. Journal of Energy Systems 9 4 365–379.
IEEE
[1]B. F. Khaldi, F. Z. Dekhandji, and A. Recioui, “Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN”, Journal of Energy Systems, vol. 9, no. 4, pp. 365–379, Dec. 2025, doi: 10.30521/jes.1718242.
ISNAD
Khaldi, Bouchra Feriel - Dekhandji, Fatma Zohra - Recioui, Abdelmadjid. “Low-Cost IoT-Based Smart Meter for Real-Time Power Quality Monitoring and Disturbance Detection Using Embedded 1D CNN”. Journal of Energy Systems 9/4 (December 1, 2025): 365-379. https://doi.org/10.30521/jes.1718242.
JAMA
1.Khaldi BF, Dekhandji FZ, Recioui A. Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN. Journal of Energy Systems. 2025;9:365–379.
MLA
Khaldi, Bouchra Feriel, et al. “Low-Cost IoT-Based Smart Meter for Real-Time Power Quality Monitoring and Disturbance Detection Using Embedded 1D CNN”. Journal of Energy Systems, vol. 9, no. 4, Dec. 2025, pp. 365-79, doi:10.30521/jes.1718242.
Vancouver
1.Bouchra Feriel Khaldi, Fatma Zohra Dekhandji, Abdelmadjid Recioui. Low-cost IoT-based smart meter for real-time power quality monitoring and disturbance detection using embedded 1D CNN. Journal of Energy Systems. 2025 Dec. 1;9(4):365-79. doi:10.30521/jes.1718242

Journal of Energy Systems is licensed under CC BY-NC 4.0