TL;DR
This paper presents a novel approach to track the usage of construction power tools using low-power IoT devices. By porting the efficient MINIROCKET algorithm to resource-constrained microcontrollers, they achieve highly accurate activity classification (distinguishing between tool usage and mere movement) with minimal power consumption, enabling multi-year battery life.
What Problem Does This Paper Address?
The "Internet of Things" (IoT) is rapidly transforming how we monitor and interact with our environment, particularly in industrial settings. A key application is asset and utilization tracking, aiming to optimize the management, health, and usage of physical assets like machinery and power tools. For construction power tools, knowing when a tool is actively being used versus just being moved is crucial for productivity, maintenance scheduling, and understanding wear. However, retrofitting these tools with intelligent sensors presents significant challenges: limited space within the tools, strict certification requirements, and the need for ultra-low power consumption to ensure long battery life. Existing solutions often rely on complex neural networks or external devices that are bulky or power-hungry, making them impractical for widespread adoption on individual tools. This paper tackles the challenge of enabling accurate, on-device activity classification for power tools using minimal resources.
Methods
The core of this paper lies in adapting and optimizing the MINImally RandOm Convolutional Kernel Transform (MINIROCKET) algorithm for resource-constrained IoT devices. MINIROCKET is a recently developed time-series classification algorithm known for its speed, scalability, and accuracy, requiring remarkably low computational resources for training. The authors' key innovation is porting this algorithm to C for inference on microcontrollers (MCUs), specifically targeting ultra-low power devices like the NRF52810.
They developed both floating-point and fixed-point (integer-quantized) implementations of MINIROCKET. The fixed-point version is crucial for MCUs lacking a dedicated floating-point unit, and the authors detail a two-step calibration process to quantize both the transform and prediction functions while minimizing accuracy loss.
The system relies on a single accelerometer as the sole sensor, simplifying hardware and reducing power draw. Data is transmitted wirelessly using Bluetooth Low Energy (BLE). The entire system is designed for extreme power efficiency, employing heavy duty-cycling where the MCU sleeps most of the time and is only woken by an accelerometer interrupt indicating potential movement.
Datasets
The authors collected a novel, extensive real-world dataset specifically for this research. This dataset comprises accelerometer data from 16 different power tools (including jigsaws, circular saws, gas-powered saws, combi hammers, diamond cording tools, and breakers) from six different brands.
Seven distinct working activities (e.g., wood sawing, concrete cutting) and five transportation modes were recorded. Crucially, each recording blends active "Usage" phases with "Transportation" phases, simulating realistic working conditions. This diverse dataset was meticulously labeled sample-by-sample using synchronized video recordings, providing a robust benchmark for evaluating the algorithm's generalization capabilities across various tools and scenarios.
Key Insights and Ideas
- MINIROCKET's TinyML Potential: The paper demonstrates that MINIROCKET, while known for its training efficiency, is also highly effective for inference on extremely resource-constrained devices, opening doors for advanced ML on "Extreme Edge" IoT.
- Accelerometer-Only is Sufficient: Relying solely on an accelerometer for activity classification is shown to be effective, simplifying hardware and reducing power consumption compared to systems using multiple sensor types.
- Fixed-Point Precision: The detailed quantization process for MINIROCKET highlights how to achieve near-floating-point accuracy (within 1%) using integer arithmetic, a critical step for deployment on MCUs without FPUs.
- Pareto Optimization for IoT: The authors emphasize the importance of finding a "Pareto point" that balances memory usage, accuracy, and energy consumption, demonstrating a practical approach to hyperparameter tuning for embedded systems.
- Real-World Data is Key: The use of a large, diverse, real-world construction dataset is a significant contribution, ensuring the algorithm's performance is validated under practical, challenging conditions, not just in simulated environments.
Key Results
- High Accuracy: The proposed solution achieves an impressive 96.9% accuracy in distinguishing between tool usage and other motion statuses.
- Minimal Resource Footprint: The embedded MINIROCKET implementation requires only 7 kB of flash and 3 kB of RAM, making it suitable for even the most constrained MCUs.
- Ultra-Low Power Consumption: The entire system exhibits an average current consumption of less than 15 µW.
- Extended Battery Life: This low power consumption translates to a projected battery life of 3 to 9 years for typical power tool usage scenarios, depending on battery capacity and usage hours.
- Near-Perfect Floating-Point Equivalence: The fixed-point implementation matches the floating-point accuracy within 1%, with no perceivable bias.
Limitations and Future Work
- Runtime Estimation Granularity: The current system's runtime estimation granularity is limited by the BLE advertisement interval (7 seconds). While acceptable for many use cases, more frequent updates would require increased power consumption.
- Future Work: The authors suggest that the framework can be extended to handle more complex ML tasks, such as multi-class classification or regression, by leveraging more features or samples. They also highlight the potential for further optimization of the MINIROCKET interference algorithm to enable even more sophisticated TinyML applications on IoT devices for Industry 4.0.
Summary updated