Embedded Predictive Thermal Intelligence for Li-Ion Batteries: A Preemptive, Cloud-Free Control Architecture for IoT-Scale Power Systems
Francesco Colace, Roberto D’Amato, Angelo Lorusso, Antonio Metallo, Carmine ValentinoAccurate thermal management is crucial for ensuring the safety, longevity, and performance of lithium-ion batteries, especially in compact embedded systems like USB chargers, power banks, and IoT nodes. Despite extensive research on predictive thermal models and intelligent control frameworks, their implementation in resource-constrained microcontroller-class devices has been limited. Existing strategies in the literature, such as threshold-based or PID logic, cloud-enabled analytics, machine learning models, and observer-based estimators, are often reactive, computationally intensive, or dependent on external infrastructure, making them unsuitable for low-power, standalone applications. This study introduces a novel Scalable Embedded Thermal Intelligence architecture designed for real-time battery thermal regulation in locally executable, without cloud dependency, low-cost platforms. Unlike conventional methods, the proposed system operates entirely on-device using closed-form models implemented on an ESP32 microcontroller. It combines two synergistic algorithms: a static preemptive model that calculates a safe C-rate at startup based solely on ambient and initial battery temperature, and a dynamic disturbance-aware model that monitors temperature rise per SOC step and adjusts airflow or current adaptively without requiring high memory, floating-point units, or supervisory control. The architecture achieves sub-second response times, <7% RAM, and <25% Flash usage, and does not need cloud connectivity, simulation backend, or complex thermal-management infrastructures such as liquid cooling circuits, phase-change systems, or cloud-supervised architectures. The significant contribution of this work is not the introduction of a new electrochemical–thermal formulation, but the effective integration and application of previously validated closed-form thermal predictors on low-cost microcontroller-class hardware, designed for anticipatory battery thermal regulation while adhering to strict computational limitations. Compared to traditional battery thermal management systems using PCM, liquid-cooling circuits, or cloud-based predictive estimators, the proposed approach eliminates the need for complex thermal hardware, fluidic systems, external computing infrastructure and resource-efficient edge operation. This makes the system suitable for deployment in real-world embedded applications like USB-C smart charging cables, compact IoT power banks, and portable medical devices, where form factors, energy efficiency, and cost are critical. The proposed SETI framework offers a firmware-integrated architecture and a firmware-integrated solution that provides a lightweight embedded alternative for predictive thermal regulation for distributed energy systems and miniaturized electronics.