TL-UESTC 68a40791e6 | 1 month ago | |
---|---|---|
models | 1 month ago | |
normalized_data | 1 month ago | |
run/1 | 1 month ago | |
saved_model | 1 month ago | |
README.md | 1 month ago | |
Source-Free_Cross-Domain_State_of_Charge_Estimation_of_Lithium-Ion_Batteries_at_Different_Ambient_Temperatures.pdf | 1 month ago | |
env.yaml | 1 month ago | |
models.py | 1 month ago | |
mydata.py | 1 month ago | |
pretrain.py | 1 month ago | |
pseudo.py | 1 month ago | |
run.py | 1 month ago | |
test.py | 1 month ago | |
train.py | 1 month ago | |
utils.py | 1 month ago |
Liyuan Shen; Jingjing Li; Lin Zuo; Lei Zhu; Heng Tao Shen
Abstract:Machine learning methods for state of charge (SOC) estimation of lithium-ion batteries (LiBs) face the problem of domain shift. Varying conditions such as different ambient temperatures can cause performance degradation of the estimators due to data distribution discrepancy. Some transfer learning methods have been utilized to tackle the problem. At real-time transfer, the source model is supposed to keep updating itself online. In the process, source domain data are usually absent because the storage and acquisition of all historical running data can involve violating the privacy of users. However, existing methods require coexistence of source and target samples. In this paper, we discuss a more difficult yet more practical source-free setting where there are only the models pre-trained in source domain and limited target data can be available. To address the challenges of the absence of source data and distribution discrepancy in cross-domain SOC estimation, we propose a novel source-free temperature transfer network (SFTTN), which can mitigate domain shift adaptively. In this paper, cross-domain SOC estimation under source-free transfer setting is discussed for the first time. To this end, we define an effective approach named minimum estimation discrepancy (MED), which attempts to align domain distributions by minimizing the estimation discrepancy of target samples. Extensive transfer experiments and online testing at fixed and changing ambient temperatures are performed to verify the effectiveness of SFTTN. The experiment results indicate that SFTTN can achieve robust and accurate SOC estimation at different ambient temperatures under source-free scenario.
conda env create -f env.yaml
more dataset for LIBs can be downloaded from HERE
put your data fold in normalized_data/
and run this code
python normalized_data/dataprocess.py
python run.py --mode pretrain --mkdir [your_folder] --source_data_path [] --source_temp [] --epochs --batch_size
(check run.py for more arguments)
The model is saved in run/your_folder/saved_model/best.pt
Use pre-trained source model to generate pseudo labels for target data:
python pseudo.py --temp --model --file
python run.py --mode train --mkdir [] --source_data_path --source_temp --target_data_path --target_temp --epochs --batch_size
(check run.py for more arguments)
We have provided pretrained models and models retrained only with limitted target labels for five temperatures of Panasonic 18650PF dataset in folder "models" for comparison.
python run.py --mode test --mkdir [] --test_set [] --target_temp []
电子科技大学 李晶晶老师团队 MindSpore 实现在不同环境温度下锂离子电池的无源跨域充电状态估计
Python
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》