| Title |
Trade-off Analysis of Accuracy and Computation Time by Window Size in Time Series Deep Learning for Battery Data Using STM32Cube.AI |
| Authors |
윤태민(Taemin Yoon) ; 심재훈(Jaehoon Shim) |
| DOI |
https://doi.org/10.5370/KIEE.2026.75.12.3817 |
| Keywords |
Accuracy-Latency Trade-off; Battery Management System (BMS); Edge AI Model Quantization; Sliding Window; State of Health (SOH); Time-Series Analysis |
| Abstract |
This study investigates the trade-off between prediction accuracy and MCU hardware cost as a function of input window size in battery state-of-health estimation, with discharge capacity as the prediction target. Six lightweight neural network architectures with approximately 5 000 trainable parameters were evaluated using the NASA PCoE dataset at window sizes of 20, 50, and 100. Training and validation data were separated by discharge cycle. FP32 and full-integer INT8 prediction accuracy was evaluated on a PC using all windows from independent test cells, and the results were summarized as means and standard deviations across five random seeds. The INT8 models were deployed on a NUCLEO-H755ZI-Q board using STM32Cube.AI, and inference latency was measured over 100 runs. Flash and RAM usage were obtained from the firmware ELF files, and MACC values were obtained from the generated reports. The effects of window size and quantization on accuracy varied across architectures, whereas inference latency increased with window size for all models. FNN at a window size of 20 achieved the lowest latency of 0.018 ms. At a window size of 100, CNN achieved a mean absolute error of 0.1816 Ah with a latency of 0.417 ms, while CNN-LSTM achieved the lowest mean absolute error of 0.1743 Ah with a latency of 2.369 ms. These results show that model architecture and window size should be selected jointly according to the required accuracy and allowable inference latency. |