# Safe Learning-Based Optimization of Model Predictive Control: Application to Battery Fast-Charging

arXiv: https://arxiv.org/abs/2410.04982 · HTML: https://mlsanity.com/paper/2410.04982/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 8 of its 24 references that are in the map.
- First posted on arXiv 7 Oct 2024.

## Builds on (most cited first, 8 of 8)

- [Cautious Model Predictive Control using Gaussian Process Regression](https://mlsanity.com/paper/1705.10702/) (2017)
- [Safe Reinforcement Learning Using Robust MPC](https://mlsanity.com/paper/1906.04005/) (2019)
- [Performance-oriented model learning for data-driven MPC design](https://mlsanity.com/paper/1904.10839/) (2019)
- [Stability-informed Bayesian Optimization for MPC Cost Function Learning](https://mlsanity.com/paper/2404.12187/) (2024)
- [Machine Learning Benchmarks for the Classification of Equivalent Circuit Models from Electrochemical Impedance Spectra](https://mlsanity.com/paper/2302.03362/) (2023)
- [Safe and Stable Closed-Loop Learning for Neural-Network-Supported Model Predictive Control](https://mlsanity.com/paper/2409.10171/) (2024)
- [Cycle Life Prediction for Lithium-ion Batteries: Machine Learning and More](https://mlsanity.com/paper/2404.04049/) (2024)
- [Learning Model Predictive Control Parameters via Bayesian Optimization for Battery Fast Charging](https://mlsanity.com/paper/2404.06125/) (2024)

## Abstract (arXiv)

Model predictive control (MPC) is a powerful tool for controlling complex nonlinear systems under constraints, but often struggles with model uncertainties and the design of suitable cost functions. To address these challenges, we discuss an approach that integrates MPC with safe Bayesian optimization to optimize long-term closed-loop performance despite significant model-plant mismatches. By parameterizing the MPC stage cost function using a radial basis function network, we employ Bayesian optimization as a multi-episode learning strategy to tune the controller without relying on precise system models. This method mitigates conservativeness introduced by overly cautious soft constraints in the MPC cost function and provides probabilistic safety guarantees during learning, ensuring that safety-critical constraints are met with high probability. As a practical application, we apply our approach to fast charging of lithium-ion batteries, a challenging task due to the complicated battery dynamics and strict safety requirements, subject to the requirement to be implementable in real time. Simulation results demonstrate that, in the context of model-plant mismatch, our method reduces charging times compared to traditional MPC methods while maintaining safety. This work extends previous research by emphasizing closed-loop constraint satisfaction and offers a promising solution for enhancing performance in systems where model uncertainties and safety are critical concerns.
