Joint Prediction of the State of Charge and the State of Health of Lithium-Ion Batteries Based on the PSO-XGBoost Algorithm
Abstract
:1. Introduction
2. Correlation Analysis between SOC and SOH of Lithium-Ion Batteries
3. A Joint SOC and SOH Prediction Model Based on the PSO-XGBoost Algorithm
3.1. XGBoost Algorithm
3.2. Particle Swarm Optimization Algorithm
3.3. Joint SOC and SOH Prediction Model Building
- (1)
- Data preprocessing: remove missing values from the dataset, reorder and normalize them.
- (2)
- Use “SOC” and “SOH” as output features and the remaining features as input; use 70% of the dataset as training set and 30% as test set.
- (3)
- Initialize the particles and their velocities, set the random sampling rate (subsample) and the minimum leaf node sample weight (min_child_weight) as the parameters to be sought, set the coefficient of determination of the model fit as the value of the fitness function, and initialize the global optimum and the individual optimum of the particles according to the value of the fitness function.
- (4)
- Update the particle velocity and position according to Equation (10), calculate its fitness value, and update the individual optimal value and the global optimal value.
- (5)
- Determine whether the stopping condition is satisfied; if not, the individual optimum and the global optimum will continue to be updated. If satisfied, the optimum parameters will be output (subsample, min_child_weight).
- (6)
- Select the optimal combination of parameters (subsample, min_child_weight) and construct the XGBoost regression model with parameter optimization.
4. Validation Analysis
4.1. Experiment Data
4.2. Predicted Results
4.3. Comparison of Prediction Results of Different Methods
5. Conclusions
- (1)
- In order to improve the joint prediction accuracy of the SOC and SOH of Li-ion battery energy-storage devices, a more accurate PSO-XGBoost model for joint prediction of the SOC and SOH of Li-ion batteries is proposed in this paper by combining the PSO algorithm and the XGBoost algorithm.
- (2)
- The analysis of the experimental results based on the Oxford battery aging dataset shows that the PSO-XGBoost model proposed in this paper achieves not only the prediction of the lithium battery temperature and voltage, but also the joint prediction of the SOC and SOH with higher accuracy than of the SOC alone, verifying the correlation between SOC and SOH.
- (3)
- To verify the accuracy of the PSO-XGBoost model, the PSO-XGBoost model, the XGBoost model, and LSTM neural networks were applied to Li-ion battery SOC and SOH prediction. The results show that the RMSE and MAE of the SOC and SOH prediction results of the PSO-XGBoost model proposed in this paper are lower than those of the traditional XGBoost model and the LSTM neural network, so the method proposed in this paper achieves more accurate joint prediction of the SOC and SOH of Li-ion battery energy-storage devices.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Huang, J.; Li, J.L.; Li, Z. A state of health rapid assessment method for decommissioned lithium-ion batteries. Power Syst. Prot. Control 2021, 49, 25–32. (In Chinese) [Google Scholar] [CrossRef]
- Li, C.; Wang, C.H.; Wang, G.; Lu, Z.H.; Ma, C.Z. Review on implementation method analysis and performance comparison of lithium battery state of charge estimation. Energy Storage Sci. Technol. 2022, 11, 3328–3344. [Google Scholar] [CrossRef]
- Wang, Y.F.; Huang, L.; Shu, C.C.; Zhang, N.; Xia, J.B. Research on SOC and SOH estimation of vehicle lead-acid battery. Agricult. Equip. Veh. Eng. 2017, 55, 19–24. (In Chinese) [Google Scholar]
- Shu, C.C. Research on the Co-Estimation of SOC and SOH and on Charging-Discharging Strategy of the Vehicular Lead-Acid Battery. Master’s Thesis, Hefei University of Technology, Hefei, China, 2018. [Google Scholar]
- Pang, H.; Guo, L.; Wu, L.X.; Jin, J.M.; Liu, K. An improved dual polarization model of Li-ion battery and its state of charge estimation considering ambient temperature. Trans. China Elect. Soc. 2021, 36, 2178–2189. (In Chinese) [Google Scholar] [CrossRef]
- Fan, M.S.; Geng, M.M.; Yang, K.; Zhang, M.; Liu, H. State of Health Estimation of Lithium-Ion Battery Based on Electrochemical Impedance Spectroscopy. Energies 2023, 16, 3393. [Google Scholar] [CrossRef]
- Peng, Z.X.; Pan, C.Y.; Yang, S.C.; Wen, G.G.; Huang, T. Resilient Filter for State of Charge and Parameter Co-estimation with Missing Measurement. IEEE Trans. Indust. Inform. 2022, 1–10. [Google Scholar] [CrossRef]
- Shen, P.; Ouyang, M.G.; Lu, L.G.; Li, J.; Feng, X. The co-estimation of state of charge, state of health, and state of function for lithium-ion batteries in electric vehicles. IEEE Trans. Veh. Technol. 2018, 67, 92–103. [Google Scholar] [CrossRef]
- Zhang, M.; Yang, D.F.; Du, J.X.; Sun, H.; Li, L.; Wang, L.; Wang, K. A Review of SOH Prediction of Li-Ion Batteries Based on Data-Driven Algorithms. Energies 2023, 16, 3167. [Google Scholar] [CrossRef]
- Zhao, Z.K.; Han, X.J.; Ma, H.M. Capacity fade prediction model of battery energy storage system based on BP neural network. Electrical. Energy Manag. Technol. 2016, 19, 68–72. (In Chinese) [Google Scholar] [CrossRef]
- Jiménez-bermejo, D.; Fraile-ardanuy, J.; Castaño, S.; Merino, J.; Álvaro-Hermana, R. Using dynamic neural networks for battery state of charge estimation in electric vehicles. Procedia Comp. Sci. 2018, 130, 533–540. [Google Scholar] [CrossRef]
- Jia, X.Y.; Zhang, C.P.; Wang, L.Y.; Zhang, L.; Zhou, X. Early Diagnosis of Accelerated Aging for Lithium-Ion Batteries with an Integrated Framework of Aging Mechanisms and Data-Driven Methods. IEEE Trans. Transp. Elect. 2022, 8, 4722–4742. [Google Scholar] [CrossRef]
- Li, C.R.; Xiao, F.; Fan, Y.X.; Yang, G.R.; Tang, X. A hybrid approach to lithium-ion battery SOC estimation based on recurrent neural network with gated recurrent unit and Huber-M robust Kalman filter. Trans. China Elect. Soc. 2020, 35, 2051–2062. (In Chinese) [Google Scholar] [CrossRef]
- Jiang, C. Joint Online Estimation of SOC and SOH for Lithium-Ion Battery Based on Improved Dual Kalman Filtering. Master’s Thesis, Southwest University of Science and Technology, Mianyang, China, May 2021. [Google Scholar]
- Luo, F.; Huang, H.H.; Wang, H.X. Rapid prediction of the state of charge and state of health of decommissioned power batteries based on electrochemical impedance spectroscopy. Chin. J. Sci. Instrum. 2021, 42, 172–180. [Google Scholar] [CrossRef]
- Wei, Z.B.; Zhao, J.Y.; Ji, D.X.; Tseng, K.J. A multi-timescale estimator for battery state of charge and capacity dual estimation based on an online identified model. Appl. Energy 2017, 204, 1264–1274. [Google Scholar] [CrossRef]
- Zhang, J.A.; Wang, P.; Cheng, Z. A joint estimation framework of SOC-SOH-RUL for lithium batteries based on charging voltage segment and hybrid method. Power Syst. Technol. 2021, 46, 1063–1072. [Google Scholar] [CrossRef]
- Li, C.R.; Xiao, F.; Fan, Y.X.; Tang, X.; Yang, G.R. Joint Estimation of the State of Charge and the State of Health Based on Deep Learning for Lithium-ion Batteries. Proc. Csee 2021, 41, 681–692. [Google Scholar] [CrossRef]
- Liu, Y.X.; Yao, L.Z.; Zhou, J.H.; Chen, C.; Ke, D.; Liao, S.; Gong, L.; Cheng, F. Joint Prediction of State of Charge and State of Health Based on LSTM for Lithium-ion Batteries. J. Glob. Energy Interconnect. 2022, 5, 37–45. [Google Scholar] [CrossRef]
- Zhu, L.Q.; Zhang, J.Q. A new model of jointed states of charge and health for lithium batteries. Proc. Csee 2018, 38, 3613–3620. [Google Scholar] [CrossRef]
- Juan, R.B.; Nicolás, M.G.; Henry, S.M. SoC estimation for lithium-ion batteries: Review and future challenges. Electronics 2017, 6, 102. [Google Scholar] [CrossRef]
- Pan, H.H.; Lü, Z.Q.; Wang, H.M.; Wei, H.; Chen, L. Novel battery state-of-health online estimation method using multiple health indicators and an extreme learning machine. Energy 2018, 160, 466–477. [Google Scholar] [CrossRef]
- Birkl, C. Diagnosis and Prognosis of Degradation in Lithium-Ion Batteries. Master’s Thesis, University of Oxford, Oxford, UK, 2017. [Google Scholar]
- Qiu, C.M.; Wang, Q.J.; Xie, F.; Qian, Z. Prediction Method of Full-condition and High-precision Current of Asynchronous Motors for Electric Vehicles Based on XGBoost. Proc. Csee 2020, 40, 313–322. [Google Scholar] [CrossRef]
- Zhao, H.S.; Yan, X.H.; Wang, G.L.; Yin, X.L. Fault Diagnosis of Wind Turbine Generator Based on Deep Autoencoder Network and XGBoos. Autom Electr. Power Syst. 2019, 43, 81–86. [Google Scholar] [CrossRef]
- Wu, C.H.; Dong, A.L.; Li, Z.H.; Wang, F. Photovoltaic Power Prediction Based on Graph Similarity Day and PSO-XGBoost. High Volt. Eng. 2022, 48, 3250–3259. [Google Scholar] [CrossRef]
- André, M. The ARTEMIS European driving cycles for measuring car pollutant emissions. Sci. Total. Environ. 2004, 334–335, 73–84. [Google Scholar] [CrossRef]
Predicted Objects | Methods | MAE/% | RMSE/% |
---|---|---|---|
SOC | PSO-XGBoost | 0.184 | 0.192 |
XGBoost | 0.342 | 0.358 | |
LSTM | 0.62 | 0.74 | |
SOH | PSO-XGBoost | 0.197 | 0.214 |
XGBoost | 0.36 | 0.379 | |
LSTM | 0.51 | 0.62 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
An, J.; Guo, W.; Lv, T.; Zhao, Z.; He, C.; Zhao, H. Joint Prediction of the State of Charge and the State of Health of Lithium-Ion Batteries Based on the PSO-XGBoost Algorithm. Energies 2023, 16, 4243. https://doi.org/10.3390/en16104243
An J, Guo W, Lv T, Zhao Z, He C, Zhao H. Joint Prediction of the State of Charge and the State of Health of Lithium-Ion Batteries Based on the PSO-XGBoost Algorithm. Energies. 2023; 16(10):4243. https://doi.org/10.3390/en16104243
Chicago/Turabian StyleAn, Jiakun, Wei Guo, Tingyan Lv, Ziheng Zhao, Chunguang He, and Hongshan Zhao. 2023. "Joint Prediction of the State of Charge and the State of Health of Lithium-Ion Batteries Based on the PSO-XGBoost Algorithm" Energies 16, no. 10: 4243. https://doi.org/10.3390/en16104243
APA StyleAn, J., Guo, W., Lv, T., Zhao, Z., He, C., & Zhao, H. (2023). Joint Prediction of the State of Charge and the State of Health of Lithium-Ion Batteries Based on the PSO-XGBoost Algorithm. Energies, 16(10), 4243. https://doi.org/10.3390/en16104243