电工技术学报2025,Vol.40Issue(9):2982-2995,14.DOI:10.19595/j.cnki.1000-6753.tces.240706
基于CNN-LSTM-AM模型的储能锂离子电池荷电状态预测
Prediction of State of Charge for Energy Storage Lithium-Ion Batteries Based on CNN-LSTM-AM Model
摘要
Abstract
Accurate prediction of the battery state of charge(SOC)is of great significance to improve the utilization efficiency and safety performance of the battery,and the monitoring of the battery state of charge is very important to help prevent overcharge and overdischarge accidents.The traditional SOC prediction methods are highly dependent on the mechanism model and statistical model,and have problems such as sensitive outliers and limited practical accuracy.In this study,a CNN-LSTM-AM(convolutional neural network-long short term memory neural network-attention mechanism)model is proposed to predict SOC variation trend through battery measurable variables. The model first uses a one-dimensional convolutional neural network to extract spatial features of measurable variables,including battery current,voltage,temperature and average voltage,and then sends them to bidirectional long and short time memory for time series analysis.Finally,the attention mechanism is introduced to screen key features,reduce the redundancy of feature data,and improve the accuracy and generalization of the model.In addition,CNN-LSTM-AM model adopts rime optimization algorithm to optimize the hyperparameters in the training process,which effectively improves the training efficiency and reduces the training cost. The actual evaluation on CALCE(Center for Advanced Life Cycle Engineering)data set of lithium iron phosphate shows that the attention mechanism can effectively improve the training performance of the prediction model,and the rime optimization algorithm adopted can help reduce the model hyperparameters,so as to obtain higher prediction accuracy.The performance of CNN-LSTM-AM model was tested under different temperature conditions,and both RMSE and MAE were less than 1%,which was sufficient to confirm the feasibility of the model to predict SOC.In addition,even if the initial SOC is uncertain,the proposed CNN-LSTM-AM model can still accurately track SOC trend changes,and the overall prediction accuracy reaches RMSE<1.5%and MAE<1.5%.The RMSE and MAE results of the network proposed in this study are smaller than those of CNN-LSTM and CNN-LSTM-AM.It shows strong robustness and generalization ability.Finally,in order to comprehensively compare the performance of different SOC prediction methods,the CNN-LSTM-AM model proposed in this study is compared with other experimental results.It can be seen that the method proposed in this study has significantly lower RMSE compared with AT-CNN-LSTM.At the same time,considering that the proposed method uses less training set data,we can also see the advantages of the designed network.Compared with EI-LSTM-CO(extended input-LSTM-constrained output),it can be found that the error is close.In addition,EI-LSTM-CO performs some post-processing on the predicted SOC,which can also reflect the superiority of the proposed method. The following conclusions are drawn from the simulation analysis:(1)A CNN-LSTM-AM model is proposed and applied to the SOC prediction task of battery,which can effectively capture important input features and improve the prediction accuracy.(2)Design a rime optimization algorithm,which can automatically search the optimal solution of CNN-LSTM-AM model,effectively reduce the time cost of hyperparameter optimization.(3)The influence of different ambient temperatures and initial SOC values on the prediction accuracy of CNN-LSTM-AM was studied,and the performance of CNN-LSTM-AM was compared with that of traditional prediction models to verify its strong robustness and high generalization ability.关键词
储能锂离子电池/荷电状态/长短时记忆/注意力机制/雾凇优化算法Key words
Energy storage battery/state of charge/long and short-term memory/attention module/RIME分类
动力与电气工程引用本文复制引用
杜伟,王圣,李健,韩哲哲,许传龙..基于CNN-LSTM-AM模型的储能锂离子电池荷电状态预测[J].电工技术学报,2025,40(9):2982-2995,14.基金项目
国家重点研发计划(2023YFB4102904)和低碳智能燃煤发电与超净排放全国重点实验室开放课题(D2022FK080)资助项目. (2023YFB4102904)