Advanced Safety Filter for Smooth Transient Operation of a Battery Energy Storage System
Michael Schneeberger, Florian Dörfler, Silvia Mastellone
TL;DR
This paper addresses safe current limiting for a grid-connected Battery Energy Storage System (BESS) while preserving grid-forming Direct Power Control (EDPC) during transients. It introduces an advanced safety filter that combines a Control Barrier Function (CBF) and a Control Lyapunov-Like Function (CLF) with Sum-of-Squares (SOS) optimization to generate polynomial candidates and a Quadratically Constrained Quadratic Program (QCQP) to enforce safety under quadratic input constraints. The method achieves forward invariance of a safe set $\mathcal{X}_s \subset \mathcal{X}_a$ and finite-time convergence to a nominal region $\mathcal{X}_n \subset \mathcal{X}_s$ where the EDPC input remains undisturbed, with the dynamics of the filtered PCC voltage accounted for in the model. The approach is demonstrated on a three-phase inverter BESS with load-step experiments at the PCC, showing smoother current limiting and reduced current dip compared to a standard vector current controller, thereby certifying safety and smooth operation under grid transients. The results suggest the framework can be extended to other power-electronics applications requiring safety guarantees and seamless transitions between competing control modes.
Abstract
In this paper, we implement an advanced safety filter to smoothly limit the current of an inverter-based Battery Energy Storage System. The task involves finding suitable Control Barrier Function and Control Lyapunov Function via Sum-of-Squares optimization to certify the system's safety during grid transients. In contrast to the conventional safety filter, the advanced safety filter not only provides a safety certificate but also achieves finite-time convergence to a nominal region. Within this region, the action of the nominal control, i.e. the Enhanced Direct Power Control, remains unaltered by the safety filter. The advanced safety filter is implemented using a Quadratically Constrained Quadratic Program, providing the capability to also encode quadratic input constraints. Finally, we showcase the effectiveness of the implementation through simulations involving a load step at the Point of Common Coupling, and we compare the outcomes with those obtained using a standard vector current controller.
