Optimization of battery AI models for edge deployment: A systematic study of model compression techniques and hardware-aware efficiency
| dc.contributor.author | Xia, Yuxin | |
| dc.contributor.author | Liu, Yerui | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för mikroteknologi och nanovetenskap (MC2) | sv |
| dc.contributor.department | Chalmers University of Technology / Department of Microtechnology and Nanoscience (MC2) | en |
| dc.contributor.examiner | Peterson, Lena | |
| dc.contributor.supervisor | Thiringer, Torbjörn | |
| dc.contributor.supervisor | Fleischer, Christian | |
| dc.date.accessioned | 2026-09-30T08:44:13Z | |
| dc.date.issued | 2026 | |
| dc.date.submitted | ||
| dc.description.abstract | Battery management systems (BMS) increasingly employ data-driven models to estimate battery state of health (SoH), but deploying such models on automotive microcontrollers remains challenging because of limited memory and computational resources. This thesis evaluates a hardware-aware workflow for transferring, compressing, and preparing a long short-term memory (LSTM)-based SoH estimation model for embedded execution. The baseline model and its original training were provided by Cognivity AI; model development is therefore outside the scope of this thesis. The study uses the provided model and its established preprocessing pipeline, with battery-level data separation for evaluation. The workflow covers PyTorch to MATLAB model transfer, numerical equivalence verification, pruning and quantization evaluation, Simulink integration, and embedded C++ code generation. Two complementary compression directions are evaluated. Structured pruning reduces the number of learnable parameters while retaining useful predictive accuracy in the reported experiment. INT8 post-training quantization (PTQ) and quantization-aware training (QAT) reduce the theoretical weight storage to approximately one quarter of the FP32 value; QAT performs better than PTQ for the unpruned baseline in the reported comparison. Compression configurations are selected with validation data and evaluated on the held-out test data only after they are frozen. The selected models are exported to Simulink for model-in-the-loop functional checks, and statically allocated C++ code is generated using Embedded Coder. The generated artifacts were cross-compiled for the Infineon KIT_A3G_TC4D7_LITE evaluation platform. These results demonstrate conversion and compilation feasibility, but do not establish INT8 arithmetic in the generated implementation, on-target execution time, power consumption, or completed hardware deployment. Those measurements remain future work. | |
| dc.identifier.coursecode | MCCX04 | |
| dc.identifier.uri | https://hdl.handle.net/20.500.12380/312567 | |
| dc.language.iso | eng | |
| dc.setspec.uppsok | PhysicsChemistryMaths | |
| dc.subject | Battery Management System, Deep Learning, Edge Computing, Model Pruning, Model Compression, Quantization-Aware Training | |
| dc.title | Optimization of battery AI models for edge deployment: A systematic study of model compression techniques and hardware-aware efficiency | |
| dc.type.degree | Examensarbete för masterexamen | sv |
| dc.type.degree | Master's Thesis | en |
| dc.type.uppsok | H | |
| local.programme | Embedded electronic system design (MPEES), MSc |
