Plan-based Policies for Efficient Multiple Battery Load Management

Maria Fox, Derek Long, Daniele Magazzeni · DOI

Introduction

Maximizing the operational lifetime of battery-powered systems—ranging from medical prosthetics to electric vehicles—is a critical engineering challenge. Traditional battery management often treats batteries as simple reservoirs of energy. However, chemical batteries exhibit complex dynamics, most notably the "recovery effect." When a battery is discharged rapidly, its "available" charge depletes faster than internal chemical reactions can replenish it from a "bound" pool. If the battery is allowed to rest, this bound charge flows back into the available pool, effectively extending the usable life of the device.

This paper presents a novel approach that combines AI planning and machine learning to manage multi-battery systems. By intelligently switching between multiple batteries, the system can exploit the recovery effect to extract significantly more energy than sequential discharge strategies, while minimizing the energy losses associated with hardware switching.

Modeling the Physics

To capture these dynamics, the authors utilize the Kinetic Battery Model (KiBaM). This model represents the battery as two connected tanks: one containing available charge and the other containing bound charge. The rate of flow between these tanks is governed by the difference in their levels and a diffusion constant.

The Kinetic Battery Model (KiBaM) illustrating the flow between bound and available charge pools.

The system is formally encoded in PDDL+, a planning language designed for mixed discrete-continuous domains. This allows the researchers to model the continuous chemical processes alongside the discrete actions of switching between different batteries in a multi-source configuration.

Methodology: From Planning to Policies

The authors' pipeline consists of three primary stages:

  1. Deterministic Planning with Variable Discretisation: To find optimal switching schedules for known load profiles, the authors used the UPMurphi forward reachability planner. A key innovation here is variable time discretisation. Unlike standard planners that use fixed time steps, this approach allows the planner to choose the duration of intervals—using fine-grained steps during critical transitions and larger steps during stable periods. This drastically reduces the state space, enabling the solution to scale to systems with up to eight batteries.
  2. Generating Training Data: Since real-world loads are unpredictable (stochastic), a single plan is insufficient. The authors generated a large dataset of optimal plans by solving for a wide variety of random load profiles.
  3. Policy Learning: These optimal plans were used to train a machine learning classifier (a J48 decision tree). The resulting policy maps the current state—such as the charge levels of all batteries and the current load—directly to a switching action. This decision tree is computationally lightweight, making it ideal for deployment on low-power embedded hardware like microcontrollers or FPGAs.

Experimental Results

Simulation Performance

In simulated environments, the learned policy achieved >99% of the theoretical maximum lifetime for both 2-battery and 8-battery configurations. Crucially, the policy learned to minimize energy-wasting switches. In an 8-battery setup, the policy required only 300 to 1,600 switches, a massive reduction from the 11,000 to 71,000 switches required by high-frequency theoretical baselines.

Physical Hardware Validation

To validate the approach, the authors built a custom circuit using an Arduino Mega to manage two Ritar 6V lead-acid batteries. On this physical hardware, the learned policy improved battery lifetime by 5% to 15% compared to a standard "best-of-two" (highest charge) policy. Furthermore, it reduced the number of physical switches from an average of 651 to just 57, significantly reducing wear on hardware components like MOSFETs.

Conclusion

By combining the formal rigor of PDDL+ planning with the efficiency of decision-tree classifiers, this research provides a robust framework for multi-battery management. The approach successfully bridges the gap between theoretical chemical dynamics and practical hardware constraints, offering a scalable solution for extending the life of complex autonomous systems.

Summary updated

BibTeX
@article{fox2012plan,
  author = {Maria Fox and Derek Long and Daniele Magazzeni},
  title = {{Plan-based Policies for Efficient Multiple Battery Load Management}},
  journal = {J. Artif. Intell. Res.},
  year = {2012},
  doi = {10.1613/jair.3643},
}
Figure