Automatic Construction of Efficient Multiple Battery Usage Policies

Maria Fox, Derek Long, Daniele Magazzeni

Abstract

Managing power in multi-battery systems requires navigating complex chemical dynamics, specifically the "recovery effect." This paper introduces a two-phase framework that combines high-fidelity AI planning (PDDL+) with machine learning to automatically generate efficient switching policies. By utilizing variable discretization in the planning phase and training a reactive classifier, the approach achieves near-theoretical maximum energy extraction (>99% efficiency) while reducing hardware wear by orders of magnitude compared to traditional heuristics.

Introduction

Batteries are often mistakenly viewed as simple energy reservoirs. In reality, they are complex chemical systems where rapid power draw can lead to apparent depletion despite remaining charge. This phenomenon occurs because chemical reactions within the cell cannot keep pace with high demand. However, if the battery is allowed to rest, it "recovers" functional capacity. In systems with multiple batteries, such as electric vehicles or remote sensors, intelligent switching between cells can exploit this recovery effect to extend overall device lifetime.

The Kinetic Battery Model (KiBaM)

To capture these dynamics, the researchers utilize the Kinetic Battery Model (KiBaM). As illustrated in Figure 1, KiBaM represents a battery as two connected wells: the "available charge" well, which supplies the load directly, and the "bound charge" well, which replenishes the available charge over time.

The Kinetic Battery Model (KiBaM) conceptualizes charge as two interconnected wells, facilitating the modeling of the recovery effect.

The rate of flow between these wells is governed by the parameter $\gamma$, while the difference in heights $\delta$ represents the chemical lag. Effective policy design must decide when to switch loads to allow the available charge well to replenish from the bound charge.

Methodology

The proposed solution bridges deep deliberative planning with fast reactive execution through a two-phase process:

Phase 1: Planning via Hindsight Optimization

The system models battery physics in PDDL+, a language designed for continuous systems. Thousands of "perfect" plans are generated for sampled power-demand scenarios using the UPMurphi planner. A critical innovation here is variable discretization: the planner uses high-resolution time steps during critical transitions (e.g., near-empty states) and larger steps during stable periods. This approach maintains accuracy while making the combinatorial search space manageable.

Phase 2: Policy Learning

To enable real-time execution on resource-constrained hardware, the "perfect" plans from Phase 1 serve as training data for a J48 decision tree classifier. This creates a fast mapping from current battery states and load levels to the optimal switching action, effectively distilling complex physical insights into a computationally "free" reactive policy.

Results

The methodology was validated against various load profiles, including deterministic and stochastic distributions.

Efficiency and Lifetime

The AI-generated policies achieved over 99% efficiency relative to the theoretical maximum charge extraction. As shown in the performance data, the DD-KiBaM approach consistently matched or exceeded the performance of model-checking methods like UPPAAL-KiBaM while scaling more effectively to larger battery arrays.

Performance comparison across various load profiles, highlighting the efficiency and reduced switching frequency of the proposed DD-Policy.

Hardware Longevity

A standout result is the massive reduction in switching frequency. Traditional "best-of-n" policies (which simply select the battery with the highest charge) often result in excessive switching. For an 8-battery system under a CL_250 load, the standard policy required 31,072 switches, whereas the AI-generated policy achieved comparable lifetimes with only 992 switches. This reduction significantly minimizes electronic noise and physical wear on switching hardware.

Conclusion

By combining PDDL+ planning with machine learning, this research provides a scalable way to generate near-optimal battery management policies. Future work will focus on validating these simulated results on physical hardware and incorporating environmental variables like temperature to further refine the predictive models.

Summary updated

BibTeX
@inproceedings{fox2011automatic,
  author = {Maria Fox and Derek Long and Daniele Magazzeni},
  title = {{Automatic Construction of Efficient Multiple Battery Usage Policies}},
  booktitle = {ICAPS},
  year = {2011},
}
Figure