基于PyConv⁃Transformer的锂离子电池剩余寿命预测

吴忠强, 吴江浩

计量学报 ›› 2026, Vol. 47 ›› Issue (1) : 102-110.

PDF(2460 KB)
PDF(2460 KB)
计量学报 ›› 2026, Vol. 47 ›› Issue (1) : 102-110. DOI: 10.3969/j.issn.1000-1158.2026.01.13
电磁学计量

基于PyConv⁃Transformer的锂离子电池剩余寿命预测

作者信息 +

Residual Life Prediction for Lithium⁃ion Battery Based on PyConv⁃Transformer

Author information +
文章历史 +

摘要

锂离子电池的剩余使用寿命(RUL)是电池健康管理的重要参数。电池在实际使用过程中会出现容量再生现象,而且在电池数据采集过程中,通常难以避免噪声干扰,影响数据质量。针对以上问题提出一种基于Transformer结合金字塔卷积网络的电池RUL预测模型,选取容量作为健康因子,利用金字塔卷积网络中不同大小的卷积核提取容量序列的特征信息,利用Transformer中的多头注意力机制进一步学习序列的时序特征。采用加权Huber损失函数,提高模型的鲁棒性;采用Dropout技术,提高模型的泛化能力,防止训练过程中出现过拟合。将所提预测模型在NASA和CALCE数据集上实验,并与其他模型比较。实验结果表明,所提模型的预测精度更高,在NASA和CALCE数据集上的相对误差分别为0.008 6、0.019 3;平均绝对误差分别为0.011 5、0.012 6;均方根误差分别为0.017 3、0.018 9。

Abstract

The remaining useful life (RUL) of lithium-ion batteries is an important parameter for battery health management. In the actual use process of batteries, the phenomenon of capacity regeneration will occur, and it is difficult to avoid noise interference in the process of battery data acquisition, which affects the quality of data. A battery RUL prediction model based on Transformer combined with pyramid convolutional(PyConv) network is proposed to address the above issues. Capacity is chosen as the health indicator, and feature information of the capacity sequence is extracted by the pyramid convolutional network with convolutional kernels of different sizes. The multi-head attention mechanism in Transformer is used to further learn the temporal features of the sequence. The weighted Huber loss function is used to improve the robustness of the model; Dropout technology is used to improve generalization ability of the model and prevent overfitting during training. The proposed prediction model is tested on the NASA and CALCE datasets and compared with other models. The experimental results show that the proposed model has higher prediction accuracy, on the NASA and CALCE datasets, the relative errors are 0.008 6、0.019 3 respectively; the mean absolute errors are 0.011 5 and 0.012 6 respectively; and root mean square errors are 0.017 3 and 0.018 9 respectively.

关键词

电学计量 / 剩余使用寿命 / 锂电池容量 / 金字塔卷积网络 / Transformer / 加权Huber损失函数 / Dropout

Key words

electrical measurement / remaining useful lif / lithium battery capacity / pyramid convolution network / Transformer / weighted Huber loss function / Dropout

引用本文

导出引用
吴忠强, 吴江浩. 基于PyConv⁃Transformer的锂离子电池剩余寿命预测[J]. 计量学报. 2026, 47(1): 102-110 https://doi.org/10.3969/j.issn.1000-1158.2026.01.13
WU Zhongqiang, WU Jianghao. Residual Life Prediction for Lithium⁃ion Battery Based on PyConv⁃Transformer[J]. Acta Metrologica Sinica. 2026, 47(1): 102-110 https://doi.org/10.3969/j.issn.1000-1158.2026.01.13
中图分类号: TB971   

参考文献

[1]
来鑫, 陈权威, 顾黄辉, 等. 面向“双碳”战略目标的锂离子电池生命周期评价: 框架、方法与进展[J]. 机械工程学报202258(22): 3-18.
LAI X CHEN Q W GU H H, et al. Lithium-ionbattery life cycle assessment for “Dual Carbon” strategic objectives: framework, methodology and progress[J]. Journal of Mechanical Engineering202258(22): 3-18.
[2]
李炳金, 韩晓霞, 张文杰, 等. 锂离子电池剩余使用寿命预测方法综述[J]. 储能科学与技术202413(4): 1266-1276.
LI B J LI X X ZHANG W J, et al. Review of lithium-ion battery residual life prediction methods[J]. Energy Storage Science and Technology202413(4): 1266-1276.
[3]
陈则王, 李福胜, 林娅, 等. 基于GA-ELM的锂离子电池RUL间接预测方法[J]. 计量学报202041(6): 735-742.
CHEN Z W LI F S LIN Y, et al. An indirect RUL prediction method for lithium-ion batteries based on GA-ELM[J]. Acta Metrologica Sinica202041(6): 735-742.
[4]
梁海强, 何洪文, 代康伟, 等. 融合经验老化模型和机理模型的电动汽车锂离子电池寿命预测方法研究[J]. 汽车工程202345(5): 825-835+844.
LIANG H Q HE H W DAI K W, et al. Research on the method of electric vehicle lithium-ion battery life prediction based on empirical aging model and mechanism model[J]. Automotive Engineering202345(5): 825-835+844.
[5]
郭芮君, 辛永强, 杨剑锋. 基于无迹粒子滤波改进算法的电池容量衰退预测研究[J]. 计量学报. 202445 (8): 1222-1230.
GUO R J XIN Y Q YANG J F. Research on battery capacity fade prediction based on improved unscented particle filter algorithm[J]. Acta Metrologica Sinica202445 (8): 1222-1230.
[6]
QU J LIU F MA Y, et al. A neural-network-based method for RUL prediction and SOH monitoring of lithium-ion battery[J]. IEEE Access2019 (7): 87178-87191.
[7]
WANG Z CHENG J ZHENG H, et al. Multi-stage convolutional autoencoder and BCM-LSTM networks for RUL prediction of rolling bearings[J]. IEEE Transactions on Instrumentation and Measurement202372: 1-13.
[8]
徐佳宁, 倪裕隆, 朱春波. 基于改进支持向量回归的锂电池剩余寿命预测[J]. 电工技术学报202136(17): 3693-3704.
XU J N NI Y L ZHU C B. Residual life prediction of lithium battery based on improved support vector regression[J]. Transactions of China Electrotechnical Society202136(17): 3693-3704.
[9]
REN L B DONG J WANG X K, et al. A data-drivenauto-CNN-LSTM prediction model for lithium-ion battery remaining useful life[J]. IEEE Transactions on Industrial Informatics202117(5): 3478-3487.
[10]
GU X Y SEE K W LI P H, et al. A novel state-of-health estimation for the lithium-ion battery using a convolutional neural network and transformer model[J]. Energy2023262: 125501.
[11]
FENG Y XIAO S. Multi-Scale blind Image quality predictor Based on pyramidal Convolution[J]. Journal on Big Data20202(4): 167-176.
[12]
王冠皓, 徐军. 基于多级金字塔卷积神经网络的快速特征表示方法[J]. 计算机应用研究201532(8): 2492-2495.
WANG G H XU J. A fast feature representation method based on multilevel pyramid convolutional neural network[J]. Application Research of Computers201532(8): 2492-2495.
[13]
VASWANI A SHAZEER N PARMAR N, et al. Attention is all you need[J]. Advances in Neural Information Processing Systems201730: 5998-6008.
[14]
宋兴海, 张小乾, 梁惠施, 等. 基于SDAE-Transformer-ECA网络的锂电池剩余使用寿命预测[J]. 储能科学与技术202312(10): 3181-3190
SONG X H ZHANG X Q LIANG H S, et al. Residual life prediction of lithium battery based onSDAE-Transformer-ECA network[J]. Energy StorageScience and Technology202312(10): 3181-3190.
[15]
CHEN D Q HONG W C ZHOU X Z. Transformer network for remaining useful life prediction of lithium-ion batteries[J]. IEEE Access202210: 19621-19628.
[16]
ZHANG Z Z SONG W LI Q Q. Dual-aspect self-attentionbased on transformer for remaining useful life prediction[J]. IEEE Transactions on Instrumentation and Measurement202271: 1-11.
[17]
XU R L WANG Y J CHEN Z H. A hybrid approach to predict battery health combined with attention-based transformer and online correction[J]. Journal of Energy Storage202365: 107365.
[18]
HU Q K ZHAO Y P REN L H. Novel transformer-based fusion models for aero-engine remaining useful life estimation[J]. IEEE Access202311: 52668-52685.
[19]
张朝龙, 罗来劲, 刘惠汉, 等. 基于增量能量法和BiGRU-Dropout的锂电池健康状态估计[J]. 电子测量与仪器学报202337(1): 167-176.
ZHANG C L LUO L J LIU H H, et al. Health State estimation of lithium battery based on incremental energy method and BiGRU-Dropout[J]. Journal of Electronic Measurement and Instrument202337(1): 167-176.

基金

河北省重点实验室绩效补助经费(22567612H)

PDF(2460 KB)

Accesses

Citation

Detail

段落导航
相关文章

/