Next Article in Journal
A Hybrid Mechanistic–Empirical and Neural Network Model Framework for Forecasting Fatigue Crack Deterioration in Ethiopian Flexible Pavements
Previous Article in Journal
Co-Evolution Between Technology and User Engagement in the Niche of Energy Communities in Portugal
Previous Article in Special Issue
New Fault Diagnosis Strategy Based on KGLRT Chart for Monitoring Chemical Processes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Design of a Lightweight Edge-AI System for Predictive Maintenance on ESP32-S3

by
Gaurav Kumar
*,
Maris Terauds
*,
Amal Ajayakumar Raji
,
Janis Semenako
,
Vladimirs Smolaninovs
,
Pauls Eriks Sics
and
Arun Kumar Malayidinja Poikayil Thankappan
Institute of Photonics, Electronics and Telecommunications, Riga Technical University, LV-1002 Riga, Latvia
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2026, 16(11), 5287; https://doi.org/10.3390/app16115287
Submission received: 19 March 2026 / Revised: 12 May 2026 / Accepted: 18 May 2026 / Published: 25 May 2026

Abstract

While predictive maintenance increasingly relies on artificial intelligence, strict dependence on cloud computing introduces network latency and demands continuous connectivity, creating critical bottlenecks for time-sensitive industrial applications. To overcome this, we introduce a novel hybrid edge-cloud architecture, which allows deploying an ultra-low-power microcontroller (ESP32-S3) without dedicated AI acceleration hardware to perform complete, operational, predictive maintenance on ultra-constrained embedded hardware. The edge model is optimized to be very small to ensure that increasing model complexity does not cause inference latency to exceed 100 ms or make real-time operation infeasible. We created a very compact INT8-quantized neural network to perform the simultaneous classification of faults and estimation of Time-to-Failure (TTF) with a deterministic mean inference time of 42.3 ms. It dynamically estimates prediction confidence, processes high-confidence predictions locally, and offloads uncertain predictions to a higher-capacity cloud model, and recovers 97.3% of the cloud accuracy gain at 92% of the cloud latency budget. An asymmetric loss function penalizes over-prediction of the remaining useful life, and thus it provides conservative and safe warnings of fault. Operators’ interpretability is improved with Shapley Additive exPlanations (SHAP) and natural-language recommendations. Network outages of up to 50% have not influenced the safety-critical fault recall (above 0.924), so graceful degradation is reached when the network is used in real time in industrial applications. The edge-first with adaptive cloud fallback approach is demonstrated to be technically feasible for a full predictive maintenance workflow—including inference, confidence fusion, and explainability on a low-cost commercial microcontroller.
Keywords: edge AI; predictive maintenance; TinyML; ESP32-S3; embedded neural networks; hybrid edge-cloud architecture; quantized inference; industrial IoT; real-time diagnostics; explainable AI edge AI; predictive maintenance; TinyML; ESP32-S3; embedded neural networks; hybrid edge-cloud architecture; quantized inference; industrial IoT; real-time diagnostics; explainable AI

Share and Cite

MDPI and ACS Style

Kumar, G.; Terauds, M.; Ajayakumar Raji, A.; Semenako, J.; Smolaninovs, V.; Sics, P.E.; Malayidinja Poikayil Thankappan, A.K. Design of a Lightweight Edge-AI System for Predictive Maintenance on ESP32-S3. Appl. Sci. 2026, 16, 5287. https://doi.org/10.3390/app16115287

AMA Style

Kumar G, Terauds M, Ajayakumar Raji A, Semenako J, Smolaninovs V, Sics PE, Malayidinja Poikayil Thankappan AK. Design of a Lightweight Edge-AI System for Predictive Maintenance on ESP32-S3. Applied Sciences. 2026; 16(11):5287. https://doi.org/10.3390/app16115287

Chicago/Turabian Style

Kumar, Gaurav, Maris Terauds, Amal Ajayakumar Raji, Janis Semenako, Vladimirs Smolaninovs, Pauls Eriks Sics, and Arun Kumar Malayidinja Poikayil Thankappan. 2026. "Design of a Lightweight Edge-AI System for Predictive Maintenance on ESP32-S3" Applied Sciences 16, no. 11: 5287. https://doi.org/10.3390/app16115287

APA Style

Kumar, G., Terauds, M., Ajayakumar Raji, A., Semenako, J., Smolaninovs, V., Sics, P. E., & Malayidinja Poikayil Thankappan, A. K. (2026). Design of a Lightweight Edge-AI System for Predictive Maintenance on ESP32-S3. Applied Sciences, 16(11), 5287. https://doi.org/10.3390/app16115287

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop