
A battery–supercapacitor system close to a storage limit can exhaust its reserve during a pulse missing from the demand forecast. We proposed a discrete-time barrier filter that corrects the power split from an energy-domain quadratic program at each 0.10-s update. It retains a fraction of each battery or supercapacitor margin and adds an allowance for uncertainty. The device power intervals give an exact feasibility check for the selected battery direction. Starting inside the nominal operating set, the model stays inside at subsequent samples if a feasible filter command is applied at every update. Under unpreviewed power shocks near an operating boundary, the filter kept 488 of 500 trajectories within the sampled physical limits (97.6%), compared with 470 (94.0%) under matched hard projection. These paired electrical simulations included losses, actuation delay and measurement error. Mean boundary dwell increased from 2.950 to 2.957 s. Guarded complementary filtering kept all 500 trajectories within limits and left less energy unserved. Its mean root-mean-square battery current was 65.10 A, compared with 28.28 A for the proposed controller. The nominal split accounts for most of that 56.6% reduction.
hybrid energy storage system; battery–supercapacitor; model predictive control; discrete-time control barrier function; quadratic programming; safety filtering; uncertainty-aware control