LumoHub Physics-Feature Event MLP
a compact motion recognition model for ESP32
2 min readupdated
This physics-informed Multi-Layer Perceptron (a feedforward neural network) is a compact model built to run on the LumoHub microcontroller (ESP32-S3). It processes 16 biomechanical features extracted from 3-second windows of 6-axis IMU (inertial measurement unit) data, such as free-fall depth, impact pulse width, and gravity tilt angle. The model outputs high-accuracy event classifications, including fall detection. It has a tiny footprint—just 3,365 float values taking up 13,460 bytes of Flash—and avoids false positives when the device itself is dropped or bumped on the wrist. It is a solid fit for embedded systems and wearables developers building real-time motion analysis.
Key features
- 99.73% accuracy and 99.73% Macro F1 on a held-out test set (N = 4,500)
- Zero false alarms (0.00%) from wrist impacts and device drops
- Ultra-compact footprint: 3,365 float values and 3,232 MACs/inference
- Resilient to BLE packet loss and sensor noise
What you can do
- Integrate it into ESP32-S3 firmware using the exported C99 weights from the header file
- Build reliable fall detection for wearable medical devices or fitness trackers
- Analyze physical motion parameters (accelerations, jerks, tilt angles) directly on microcontrollers
Read more
DetailsArchitecture: Input 16 -> Linear(16->64) + ReLU -> Linear(64->32) + ReLU -> Linear(32->5) with batch normalization weights.
Benchmarks: Binary fall detection sensitivity (classes 3 and 4) reaches 99.94%. Under 10% BLE packet loss, accuracy drops to 96.56%.
Integration: Weights and scaling constants are exported to lumo_hub_feature_model.h (lumo_imu_ai.c).










Comments