Industrial

Smart offices

Low-power anomaly detection on a fan

Low-power anomaly detection solution running on a sensor.

Low-power anomaly detection on a fan
Contact us to learn more Read the tutorial

Industrial

Smart offices

NanoEdge AI Studio

Context awareness

Gyroscope

Contact us to learn more Read the tutorial
The challenge for designers who wish to monitor warning signs of imminent equipment failure is to build reliable, battery-operated sensor nodes for predictive maintenance applications. Monitoring can occur at the MCU level, by running an AI model on the STM32 for instance. However, further improvements in terms of power consumption can be obtained by running the model at the sensor level.

In this use case, we will show you how to easily create an anomaly detection solution that runs on a MEMS sensor featuring an embedded intelligent sensor processing unit (ISPU).

Approach

The ISPU allows running anomaly detection directly inside the sensor. Once an anomaly is detected by the ISPU, the sensor can wake up the host processor for further analysis.

Here we used NanoEdge AI Studio to generate the AI library. It offers a quick and intuitive approach for building anomaly-detection solutions and allows to find the best possible library among many combinations, starting from a set of normal and abnormal signals.

Here is how we proceeded:
  • Acceleration data were collected at different operating modes of the fan coil to detect the different behaviors (e.g. normal vs abnormal behavior).
  • We then created an anomaly-detection project in NanoEdge AI Studio and imported both sets of signals.
  • The tool searched and generated the best library based on the signals provided.
  • To test and integrate the library generated by NanoEdge AI Studio, we used the X-CUBE-ISPU software package that provides firmware.

You can find the complete step-by-step guide with all the hardware and software used here.

Sensor

6-axis IMU (inertial measurement unit): always-on 3-axis accelerometer and 3-axis gyroscope with ISPU - intelligent sensor processing unit (reference: ISM330IS).

Data

Data logs for the anomaly detection project have been acquired through the datalogger feature in NanoEdge AI Studio. The following parameters have been used for data acquisition:
  • Data rate (Hz): 416 Hz
  • Range (g): 2 g
  • Sample size per axis: 128
  • Number of axes: 3

Results

98.57% accuracy, 5.5 Kbytes RAM, 5.4 Kbytes flash

Model created with

NanoEdge AI Studio

Model created with

Compatible with

MEMS sensors with ISPU

Compatible with

Resources

Model created with NanoEdge AI Studio

A free AutoML software for adding AI to embedded projects, guiding users step by step to easily find the optimal AI model for their requirements.

Model created with NanoEdge AI Studio

Compatible with MEMS sensors with ISPU

A new generation of MEMS sensors featuring an embedded intelligent sensor processing unit (ISPU). The ISPU is an ultralow-power, high-performance programmable core, which can execute signal processing and AI algorithms in the edge.

Compatible with MEMS sensors with ISPU

You also might be interested by

Industrial | Transportation

Smart asset tracking

Packages condition classification on sensors.

Industrial | Smart buildings | Smart homes | Smart offices

Face identification with ID3 Technologies

End-to-end AI solution for face identification running on STM32 microcontrollers.

Industrial | Smart cities

Direct current arc faults detection

Build your own arc fault detection mechanism with edge AI.