Short-Term Capacity Estimation of 4S LiFePO4 Battery Under Constant Current Cycling Based on Temporal Convolutional Network

Full Text Preview
Download PDF

Abstract

Lithium iron phosphate (LiFePO₄) batteries are widely utilized in renewable energy storage systems due to their high thermal stability and long cycle life. However, accurate battery capacity estimation remains a significant challenge, particularly for small-scale batteries with limited datasets. This study proposes a short-term capacity estimation framework based on a Temporal Convolutional Network (TCN) for a 4S LiFePO₄ 12.8 V 6 Ah battery pack under constant-current cycling conditions. A custom data acquisition (DAQ) system was developed using a Raspberry Pi Pico microcontroller integrated with ADS1115, INA226, and DS18B20 sensors to monitor voltage, current, and temperature in real time during charging and discharging experiments. A dataset consisting of 76 cycles was collected experimentally, from which 13 anomalous early-cycle samples were removed due to electrochemical stabilization phenomena, resulting in 63 effective samples. The TCN model was trained using a sliding-window approach with a sequence length of 5 timesteps, incorporating causal and dilated convolutions, residual connections, and dropout regularization. Evaluation on the testing dataset produced an RMSE of 0.02114 Ah, MAE of 0.01288 Ah, and MAPE of 0.827%, indicating high prediction accuracy with an average relative deviation below 1%. The negative value of −5.8753 was attributed to the statistical limitations of the metric when applied to small-scale datasets with low variance. The results demonstrate that the proposed TCN architecture is capable of learning short-term temporal degradation characteristics from limited battery cycling data with high relative accuracy.

References

[1] G. Jin, W. Zhao, J. Zhang, W. Liang, M. Chen, and R. Xu, “High-Temperature Stability of LiFePO4/Carbon Lithium-Ion Batteries: Challenges and Strategies,” Sustainable Chemistry, vol. 6, no. 1, p. 7, Feb. 2025, doi: 10.3390/suschem6010007.
[2] L. Wang et al., “Insights for understanding multiscale degradation of LiFePO4 cathodes,” eScience, vol. 2, no. 2, pp. 125–137, Mar. 2022, doi: 10.1016/j.esci.2022.03.006.
[3] V. Olivero-Ortiz, I. O. Pantoja, and C. Robles-Algarín, “Data-Driven Capacity Modeling of 18650 Lithium-Ion Cells from Experimental Electrical Measurements,” Sustainability, vol. 17, no. 10, p. 4718, May 2025, doi: 10.3390/su17104718.
[4] D. Zhou, Z. Li, J. Zhu, H. Zhang, and L. Hou, “State of Health Monitoring and Remaining Useful Life Prediction of Lithium-Ion Batteries Based on Temporal Convolutional Network,” IEEE Access, vol. 8, pp. 53307–53320, 2020, doi: 10.1109/ACCESS.2020.2981261.
[5] S. Nazaralizadeh, P. Banerjee, A. K. Srivastava, and P. Famouri, “Battery Energy Storage Systems: A Review of Energy Management Systems and Health Metrics,” Energies (Basel)., vol. 17, no. 5, p. 1250, Mar. 2024, doi: 10.3390/en17051250.
[6] M.-F. Ng, J. Zhao, Q. Yan, G. J. Conduit, and Z. W. Seh, “Predicting the state of charge and health of batteries using data-driven machine learning,” Nat. Mach. Intell., vol. 2, no. 3, pp. 161–170, Mar. 2020, doi: 10.1038/s42256-020-0156-7.
[7] Y. Shi, “Remaining Useful Life Prediction of Lithium-Ion Batteries Based on Transfer Learning and DAE-LSTM,” Academic Journal of Science and Technology, vol. 9, no. 3, pp. 181–188, Mar. 2024, doi: 10.54097/pdvk6n65.
[8] X. Pang, R. Huang, J. Wen, Y. Shi, J. Jia, and J. Zeng, “A Lithium-ion Battery RUL Prediction Method Considering the Capacity Regeneration Phenomenon,” Energies (Basel)., vol. 12, no. 12, p. 2247, Jun. 2019, doi: 10.3390/en12122247.
[9] A. Dineva, “Evaluation of Advances in Battery Health Prediction for Electric Vehicles from Traditional Linear Filters to Latest Machine Learning Approaches,” Batteries, vol. 10, no. 10, p. 356, Oct. 2024, doi: 10.3390/batteries10100356.
[10] A. Rastegarpanah, J. Hathaway, and R. Stolkin, “Rapid Model-Free State of Health Estimation for End-of-First-Life Electric Vehicle Batteries Using Impedance Spectroscopy,” Energies (Basel)., vol. 14, no. 9, p. 2597, May 2021, doi: 10.3390/en14092597.
[11] M. A. Hoque, M. K. Hassan, A. Hajjo, and M. O. Tokhi, “Neural Network-Based Li-Ion Battery Aging Model at Accelerated C-Rate,” Batteries, vol. 9, no. 2, p. 93, Jan. 2023, doi: 10.3390/batteries9020093.
[12] C. Sun, Z. Zhang, M. Wang, H. Yang, and Y. Gao, “Effect of Different Carbon Sources on Electrochemical Performance of LiFePO4/C,” Int. J. Electrochem. Sci., vol. 15, no. 11, pp. 11215–11226, Nov. 2020, doi: 10.20964/2020.11.57.
[13] J. Zhu et al., “Data-driven capacity estimation of commercial lithium-ion batteries from voltage relaxation,” Nat. Commun., vol. 13, no. 1, p. 2261, Apr. 2022, doi: 10.1038/s41467-022-29837-w.
[14] D. Irawan, “KOORDINASI PEMBANGKIT LISTRIK TENAGA SURYA (PLTS) BERBASIS ALGORITMA MULTIPLE SEQUENCE ALIGNMENT (MSA),” MULTITEK INDONESIA, vol. 17, no. 1, pp. 17–26, Jul. 2023, doi: 10.24269/mtkind.v17i1.7021.
[15] D. Irawan and Z. A. Kinanti, “Performance Analysis of Wind Turbine,” Kontribusia : Research Dissemination for Community Development, vol. 6, no. 1, p. 129, Jan. 2023, doi: 10.30587/kontribusia.v6i1.4256.
[16] N. Zhang, J. Li, Y. Ma, and K. Wu, “Lithium-Ion Batteries state of health estimation based on optimized TCN-GRU-WNN,” Energy Reports, vol. 13, pp. 2502–2515, Jun. 2025, doi: 10.1016/j.egyr.2025.02.007.

How to Cite

[1]
“Short-Term Capacity Estimation of 4S LiFePO4 Battery Under Constant Current Cycling Based on Temporal Convolutional Network”, JTERA, vol. 11, no. 1, pp. 117–130, Jun. 2026, doi: 10.31544/jtera.v11.i1.2026.117-130.