This content is not included in your SAE MOBILUS subscription, or you are not logged in.

An Auto-Encoder Based TinyML Approach for Real-Time Anomaly Detection

Journal Article
2022-28-0406
ISSN: 2641-9637, e-ISSN: 2641-9645
Published October 05, 2022 by SAE International in United States
An Auto-Encoder Based TinyML Approach for Real-Time Anomaly Detection
Sector:
Citation: Sai Charan, K., "An Auto-Encoder Based TinyML Approach for Real-Time Anomaly Detection," SAE Int. J. Adv. & Curr. Prac. in Mobility 5(4):1496-1501, 2023, https://doi.org/10.4271/2022-28-0406.
Language: English

Abstract:

Condition monitoring plays a crucial role in the automotive space because they reduce the downtime and maintenance costs by preventing sudden catastrophic breakdown of vehicles. Condition monitoring solutions primarily monitor onboard sensor data to detect anomalies. However, with vehicles becoming more complex each day, the number of sensors to be monitored is also growing. This increases the data volume to be processed to make decisions. It is not feasible to send all the embedded sensor data captured to the cloud for processing. The network bandwidth, latency for transferring the data and finally the cost associated with data transfer are the factors which impede us from taking this approach. Much of the previous work done to address these issues has proposed Deep Learning driven onboard anomaly detection approaches. The deployment of these implementations requires power hungry and costly hardware with high computational resources. The recent advances in the field of Tiny Machine Learning have made it possible to design and deploy Deep Neural Networks on resource constrained low-cost embedded hardware. In this paper, we propose an Auto-Encoder based approach for anomaly detection in time-series vibration sensor data. The designed Auto-Encoder model has a 7.5 KB footprint and was finally deployed on a highly resource constrained ARM Cortex-M4 microcontroller with 256KB of SRAM and 1MB Flash. The model has been validated on the previous machine data. It has achieved an accuracy and precision close to 80%. Currently, by using post training quantization we are trading-off model accuracy for a reduction in model size. In future, we plan to use Quantization Aware Training which will help us in achieving even higher model accuracy.