Solution Description
A solution detecting human motions in real-time using artificial intelligence (AI) and machine learning (ML) algorithms for pattern recognition and then display activity information on a smartphone or battery-operated handheld device via a wireless connection.
The application uses an ultra-low-power, high-accuracy LSM6DSL 6DoF inertial measurement unit (IMU) to collect motion data that is sent to an ultra-low-power STM32L475VG microcontroller with a single-precision floating point unit (FPU) and ST's adaptive real-time accelerator (ART Accelerator™) running one of three different pattern recognition algorithms (FP-AI-SENSING1) based on artificial neural networks for real-time human activity recognition (HAR).
HAR Model | Benefit | Design focus | Recognized activities |
---|---|---|---|
GMP (5 classes) | Better performance | More frequent inference thanks to overlapping windows | Stationary, walking, jogging, biking, and driving |
IGN (5 classes) | Smaller RAM footprint | Lower power consumption thanks to extended deep sleep periods | Stationary, walking, jogging, biking, and driving |
IGN WSDM (4 classes) | Smaller Flash footprint Trained with public dataset | Lightweight deep learning models Easy to reproduce with public models and datasets | Stationary, walking, jogging, and climbing stairs |
An ultra-low-power, dual-core, multi-protocol STM32WB5MMG wireless module with a royalty-free Bluetooth® Low Energy 5.2 protocol stack sends the results of the pattern recognition algorithms to a smartphone or any other battery-operated device where it can be integrated with a dedicated mobile app. This app can be developed based on our ready-to-use BLE sensor mobile application for Android and iOS (STBLESensor).
This type of application is useful across a wide variety of domains including wearables, safety, environmental monitoring, healthcare & fitness, and transportation.
-
Key Product Benefits
STM32L475VG - powerful DSP capable microcontroller
This microcontroller with Arm® Cortex®-M4 core has the necessary peripherals to manage incoming digital audio signals and the processing power and memory to ensure rapid and accurate audio scene recognition with minimal power consumption.
LSM6DSL - 3D accelerometer and gyroscope.
System-in-package featuring a 3D digital accelerometer and a 3D digital gyroscope performing at 0.65 mA in high-performance mode and enabling always-on low-power features
STM32WB5MMG - ultra-low-power BLE 5.2 module
Ultra-low-power, compact Bluetooth module with a completely royalty-free Bluetooth LE 5.2 protocol stack
-
All Features
- Complete ready-to-use firmware featuring an implementation of neural networks for real-time human activity recognition (HAR)
- All motion data is processed on the STM32 microcontroller, leveraging modern computing capabilities at the edge
- 3 different artificial neural network (ANN) models with various properties to fit with solution requirement and able to recognize up to 5 different classes (walking, jogging, climbing stairs, biking and driving)
- Ultra-low-power implementation based on the use of a real-time operating system (RTOS)
- Compatible with our ST BLE Sensor mobile app (Android/iOS) to display HAR algorithm results
- Easy portability and scalability across different STM32 MCU series thanks to STM32Cube
- Compliant with Bluetooth® Low Energy (BLE) SIG specification v5.2