[Paper Review] tinyMAN: Lightweight Energy Manager using Reinforcement Learning for Energy Harvesting Wearable IoT Devices
tinyMAN is a lightweight, reinforcement learning-based energy manager for energy-harvesting wearable IoT devices that operates without energy forecasts. Using Proximal Policy Optimization (PPO), it dynamically allocates harvested energy to maximize device utility, achieving up to 45% higher performance than prior methods while consuming under 27.75 µJ per inference and fitting in under 100 KB of memory.
Advances in low-power electronics and machine learning techniques lead to many novel wearable IoT devices. These devices have limited battery capacity and computational power. Thus, energy harvesting from ambient sources is a promising solution to power these low-energy wearable devices. They need to manage the harvested energy optimally to achieve energy-neutral operation, which eliminates recharging requirements. Optimal energy management is a challenging task due to the dynamic nature of the harvested energy and the battery energy constraints of the target device. To address this challenge, we present a reinforcement learning-based energy management framework, tinyMAN, for resource-constrained wearable IoT devices. The framework maximizes the utilization of the target device under dynamic energy harvesting patterns and battery constraints. Moreover, tinyMAN does not rely on forecasts of the harvested energy which makes it a prediction-free approach. We deployed tinyMAN on a wearable device prototype using TensorFlow Lite for Micro thanks to its small memory footprint of less than 100 KB. Our evaluations show that tinyMAN achieves less than 2.36 ms and 27.75 $\\mu$J while maintaining up to 45% higher utility compared to prior approaches.
Motivation & Objective
- Address the challenge of energy management in resource-constrained wearable IoT devices with limited battery capacity and dynamic energy harvesting.
- Enable energy-neutral operation without relying on energy forecasts, ensuring robustness to unpredictable ambient energy sources.
- Maximize device utility under varying battery levels and harvested energy patterns through adaptive, real-time energy allocation.
- Design a deployable solution on low-end microcontrollers with minimal execution time, energy overhead, and memory footprint.
Proposed method
- Employ Proximal Policy Optimization (PPO), a deep reinforcement learning algorithm, to learn optimal energy allocation policies in continuous action spaces.
- Formulate the energy management problem as a Markov Decision Process (MDP), with battery level and past harvested energy as state inputs.
- Design a generalized reward function that reflects device utility based on energy consumption, enabling compatibility across diverse applications.
- Train the agent on a synthetic environment using real-world data from the American Time Use Survey and dual energy harvesting modalities (light and motion).
- Deploy the trained model on a TI CC2652R microcontroller using TensorFlow Lite for Micro (TFLM) to ensure low memory and energy overhead.
- Optimize model size and inference efficiency to balance performance, memory usage, and energy consumption across different hardware constraints.
Experimental results
Research questions
- RQ1Can a reinforcement learning-based energy manager achieve higher device utility than existing prediction-based or heuristic approaches in energy-harvesting wearable IoT devices?
- RQ2To what extent can a lightweight RL agent operate effectively without energy forecasts, adapting to dynamic and unpredictable harvesting patterns?
- RQ3How does the memory footprint and energy overhead of the RL agent scale with model size on a resource-constrained wearable microcontroller?
- RQ4Can the trained agent generalize to unseen user-specific energy harvesting patterns and battery conditions not seen during training?
Key findings
- tinyMAN achieves up to 45% higher device utility compared to state-of-the-art approaches, with normalized utility reaching 86% of the optimal solution.
- The framework maintains energy neutrality across all tested scenarios, ensuring sustainable operation without recharging.
- tinyMAN's inference energy consumption is as low as 6.74 µJ for the smallest model (16 neurons), with a maximum of 27.75 µJ for the 64-neuron model.
- Execution time per inference is under 2.36 ms, and the memory footprint is less than 100 KB, even with additional drivers and I/O components.
- Smaller model variants (16 and 32 neurons) reduce energy and memory usage by 75% and 50% respectively, with only a 7% drop in normalized utility.
- The agent generalizes well to unseen user patterns due to training on diverse EH distributions and battery initial states, demonstrating strong adaptability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.