Skip to content
#diffusion models Open access

Deterministic Electrochemical Battery State Estimation via Volume-Weighted Lithium Mass Hyperplane Projections: Achieving Zero-Drift SoC and Hard Real-Time BMS on Microcontrollers

Sep 2026 · Zenodo (CERN European Organization for Nuclear Research)
Advanced Battery Technologies Research

Abstract

Precise on-board estimation of State of Charge (SoC) and State of Health (SoH) in lithium-ion battery management systems (BMS) remains a critical bottleneck in electric vehicle range predictability, fast-charging safety, and pack longevity. Conventional BMS firmware is polarized between two inadequate paradigms: empirical Equivalent Circuit Models (ECM) paired with Extended Kalman Filters (EKF), which evaluate rapidly but suffer from cumulative sensor bias drift (2%–6% SoC error over typical drive cycles) and lack physical diffusion dynamics during pulse acceleration; and full Doyle-Fuller-Newman (DFN/P2D) electrochemical models, whose coupled nonlinear differential-algebraic equations (DAEs) require iterative Newton-Raphson solvers and multi-second compute budgets that exceed the memory and compute capacity of automotive microcontrollers (e.g., ARM Cortex-M4/M7, Infineon AURIX TC397). In this paper, we resolve this dichotomy by introducing IdemBattery, a deterministic, zero-heap electrochemical estimator based on an Enhanced Single Particle Model with Thermal and Degradation Coupling (SPM-T) accelerated by algebraic idempotent metric projectors (Π2 = Π). Solid-phase lithium transport is discretized via conservative spherical finite volumes and inverted in closed form using an unconditionally stable O(N) tridiagonal Thomas algorithm. Interfacial charge transfer is evaluated analytically via inverse hyperbolic sine Butler-Volmer kinetics with second-order boundary layer flux extrapolation, completely bypassing nonlinear root-finding. To eliminate numerical discretization truncation leakage, we formulate the Volume-Weighted Lithium Mass Projector (ΠmassL2), which rigorously satisfies exact mass conservation while provably preserving internal spatial concentration gradients: ∂/∂r(ΠmassL2 cs) ≡ ∂cs/∂r. Boundary lattice saturation is resolved simultaneously via an exact O(N) continuous quadratic knapsack projector (Mmass ∩ Mbox). Physical current-sensor zero-offset bias (+80 mA) is rejected via a closed-loop observer (IdemObserver) with terminal voltage innovation feedback. Parametrized with peer-reviewed experimental data from Chen et al. (2020) for NMC-811/Graphite (LG M50) and Safari & Delacourt (2011) for LFP/Graphite, and incorporating Pinson-Bazant SEI degradation, IdemBattery achieves: An average execution latency of 60.49 μs per step on host CPU (σ = 48.34 μs, P99 = 148.91 μs, ≈ 15,000 instruction cycles on automotive MCUs, comfortably fitting within 10–100 ms BMS loop deadlines); Provable machine-precision lithium mass invariance (|ΔQ| / Q0 < 10−14); Total dynamic rejection of sensor bias drift; and Strictly zero dynamic heap memory allocation (0.0 bytes), making it architecturally compatible with safety-critical automotive Electronic Control Units (ECUs).

View source

Similar papers

#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6
#computer vision Conference Sep 2010

Exploring the Sources of Waste in Kanban Software Development Projects

The application of agile software methods and more recently the integration of Lean practices contribute to the trend of continuous improvement in the software industry. One such area warranting proper empirical evidence is a project’s operational efficiency when using the Kanban method. This short paper takes a new an...

Marko Ikonen, Petri Kettunen, Nilay V. Oza et al. · 67 citations · ⚡9

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.