Lightweight Real-Time Energy Anomaly Detection And Rule-Based Causal Reasoning Using Multi-Tier Edge Computing
Abstract
This study uses a multi-tier edge computing architecture to present a lightweight, real-time anomaly detection and Rule-Based Causal reasoning framework for energy systems. The system combines ultra-low-power microcontrollers (ESP32/STM32) at Tier 1 for sensing and on-device TinyML-based anomaly inference, a local RISC-V-based embedded host (Lichee RV Dock) at Tier 2 for Rule-Based Causal analysis and dashboard visualization, and optional cloud platforms (Firebase, ThingsBoard, AWS IoT) at Tier 3 for extended services. Real-time voltage, current, and temperature data are collected, processed locally, and interpreted using rule-based Causal logic. Experimental results demonstrate the system’s low-latency performance (~0.2s), high anomaly detection precision (95.2%), and effective interpretability in edge deployments. The proposed TinyML-based model achieved a validation accuracy of 94.8% and a precision of 95.2%, demonstrating robust performance in anomaly classification under real-time edge-deployment conditions.
Keywords
Ethical Statement
Thanks
References
- D. Fährmann, L. Martín, L. Sánchez, and N. Damer, "Anomaly detection in smart environments: A comprehensive survey," IEEE access, vol. 12, pp. 64006-64049, 2024.
- J. Jithish, B. Alangot, N. Mahalingam, and K. S. Yeo, "Distributed anomaly detection in smart grids: a federated learning-based approach," IEEE Access, vol. 11, pp. 7157-7179, 2023.
- S. Deng, H. Zhao, W. Fang, J. Yin, S. Dustdar, and A. Y. Zomaya, "Edge intelligence: The confluence of edge computing and artificial intelligence," IEEE Internet of Things Journal, vol. 7, pp. 7457-7469, 2020.
- I. Ficili, M. Giacobbe, G. Tricomi, and A. Puliafito, "From sensors to data intelligence: Leveraging IoT, cloud, and edge computing with AI," Sensors, vol. 25, p. 1763, 2025.
- Beringer, A. J. Karran, C. K. Coursaris, and P.-M. Léger, "The Situation Awareness, Decision, and Execution (SADE) Ladder: A Framework for Human-AI Collaborative Decision-Making," in The Design of Human-Centered Artificial Intelligence for the Workplace, ed: Springer, 2025, pp. 11-28.
- L. Valente, Y. Tortorella, M. Sinigaglia, G. Tagliavini, A. Capotondi, L. Benini, et al., "HULK-V: a Heterogeneous Ultra-low-power Linux capable RISC-V SoC," in 2023 Design, Automation & Test in Europe Conference & Exhibition (DATE), 2023, pp. 1-6.
- M. L. Sahu, M. Atulkar, M. K. Ahirwal, and A. Ahamad, "Cloud-based remote patient monitoring system with abnormality detection and alert notification," Mobile Networks and Applications, vol. 27, pp. 1894-1909, 2022.
- N. N. Alajlan and D. M. Ibrahim, "TinyML: Enabling of inference deep learning models on ultra-low-power IoT edge devices for AI applications," Micromachines, vol. 13, p. 851, 2022.
Details
Primary Language
English
Subjects
Electrical Energy Transmission, Networks and Systems
Journal Section
Research Article
Publication Date
June 30, 2026
Submission Date
July 22, 2025
Acceptance Date
April 22, 2026
Published in Issue
Year 2026 Volume: 15 Number: 2