A Combined Data-Driven and Model-Based Algorithm for Accurate Battery Thermal Runaway Warning
Abstract
:1. Introduction
1.1. Background
1.2. Related Works
1.3. Motivations and Contributions
- A combined data-driven and model-based algorithm is proposed to realize accurate battery TR warning. The data-driven component employs the K-Means clustering algorithm to cluster the temporal state data of batteries. The anomaly is detected by observing abrupt changes in the clustering results. On the other hand, the model-driven component, facilitated by the Bernardi equation, utilizes the battery’s charge and discharge currents to predict the battery’s temperature under normal conditions. By comparing this prediction with the actual temperature, it assesses whether the battery temperature is abnormal.
- Taking into account the strengths and weaknesses of model-driven and data-driven approaches in the context of TR prediction, this study employs a parallel fusion approach to integrate both methods. Initially, the K-Means algorithm is used to assess the battery’s state, and if an anomaly is detected, the Bernardi algorithm is introduced for a secondary assessment. By employing support vector machines to integrate the output parameters of both methods, the alarm threshold is determined.
- Two sets of single-cell battery TR data and two sets of battery pack TR data are used to test the algorithm’s performance. The lead time and accuracy of TR prediction for the model-driven approach, data-driven approach, and the proposed algorithm are tested separately. The experimental results indicate that the proposed algorithm exhibits high versatility and low training costs. They also verify the superior lead time compared to the model-driven approach and the low probability of false alarms compared to the data-driven approach, showcasing outstanding performance.
1.4. Organization
2. Theoretical Principles
2.1. Bernardi Equation
2.2. K-Means Clustering Algorithm
- (a)
- Initialization: randomly select k observations from the dataset as initial cluster centers.
- (b)
- Assignment: for each observation and each cluster center , calculate the dynamic time warping (DTW) distance between them (note: DTW distance can be calculated by using a dynamic programming matrix. It takes into account the shape differences between time series and allows for stretching and compression along the time axis [18]. Thus, using DTW can better characterize the distance between time series) as
- (c)
- Update: for each cluster, calculate the average shape of all observations within that cluster and set it as the new cluster center:
- (d)
- Repeat steps (b) and (c) until the termination condition is met.
- (e)
- Evaluation: evaluate the quality of the clustering using the silhouette coefficient. After completing the clustering, calculate the silhouette coefficient for each vector in the clusters. Taking point i as an example, to obtain the silhouette coefficient, we should first calculate the average distance from the vector to all other points within the cluster it belongs to and the average distance, denoted by , from the vector to all points within different clusters that do not include it. Then, the silhouette coefficient of point i is given as:
3. A Combined Data-Driven and Model-Driven Algorithm for Battery TR Warning
3.1. Algorithm Workflow
3.2. Pre-Training
- (A)
- First, we need to record the different output results of the K-Means algorithm when processing battery pack data under normal and thermal runaway conditions. To achieve this, we employ the K-means algorithm for the time series to process the temperature data of battery pack A, which comprises the same type of battery cells. By utilizing the temperature variations of various battery cells within the battery pack under normal working conditions as input, we obtain the normal clustering results and the corresponding silhouette coefficient for the battery pack’s temperature. In the absence of any abnormalities in the battery cell, the clustering results of the battery pack generally remain unchanged over time.
- (B)
- Apply the K-means algorithm to process the voltage, current, and temperature data of battery pack A under thermal runaway conditions, and output clustering results and silhouette coefficient variation under abnormal conditions.
- (C)
- We also need to record the performance of the Bernardi equation when it deals with the same thermal runaway data. Utilize the Bernardi equation to process the voltage, current, and SOC data of battery pack A under normal operating conditions and thermal runaway conditions, as well as the output temperature data predicted under different conditions. By using the Bernardi equation to process the normal and abnormal data of the same battery pack as in Step B, predict the current temperature value using past voltage and current data and calculate the difference between the output and the actual battery cell temperature.
- (D)
- In this step, we obtain the weighted ratio of the dual-drive algorithm. Through steps A to C, the same data, i.e., battery pack A under normal and thermal runaway conditions, are processed by both the K-Means algorithm and the Bernardi equation. Therefore, we obtain the variation in Silhouette Score output by the K-Means algorithm and the difference between the predicted temperature output by the Bernardi equation and the actual temperature at each moment. As shown in Figure 3, plot each time point into a Cartesian coordinate system, using the output of the data-driven module as the horizontal axis and the output of the model-driven module as the vertical axis. Then, we label each time point to indicate whether it belongs to a normal or abnormal data sequence. Then, we use Support Vector Machines (SVM) [20] to find a straight line that can segment normal and abnormal data. This line represents the alarm threshold of the dual-drive algorithm, which can be expressed as:
4. Experiments
4.1. Data Source
- The battery cells/battery packs are subjected to an initial charging process.
- A flat or rod-shaped heating device, with its surface covered in ceramic, is used. The heating device is assembled with the battery cells, directly in contact with them. The size of the heating device does not exceed the heated surface of the test object. Temperature sensors are installed, and the temperature monitoring points are placed on the side farthest from heat conduction, i.e., on the opposite side of the heating device. The sampling interval for temperature data is 0.5 s, with an accuracy ±2 °C. The diameter of the temperature sensor’s tip is less than 1 mm.
- After fully charging the battery cells using the standard charging method, the cells are continuously charged with a current of 1 Coulomb.
- After overcharging, the heating device is immediately activated, applying its maximum power to continuously heat the test object. The triggering is stopped when thermal runaway occurs or when the temperature at the monitoring point (opposite the heating surface) reaches 300 °C. The heating device is then turned off.
- (A)
- The test object experiences a voltage drop.
- (B)
- The temperature at the monitoring point reaches the battery’s protection operating temperature, which is 60 °C.
- (C)
- The temperature rising rate at the monitoring point, dT/dt, is greater than or equal to 1 °C/s.
4.2. Pre-Training
4.3. Battery Thermal Runaway Prediction
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Kebede, A.A.; Kalogiannis, T.; Van Mierlo, J.; Berecibar, M. A comprehensive review of stationary energy storage devices for large scale renewable energy sources grid integration. Renew. Sustain. Energy Rev. 2022, 159, 112213. [Google Scholar] [CrossRef]
- Sayed, E.T.; Olabi, A.G.; Alami, A.H.; Radwan, A.; Mdallal, A.; Rezk, A.; Abdelkareem, M.A. Renewable energy and energy storage systems. Energies 2023, 16, 1415. [Google Scholar] [CrossRef]
- Killer, M.; Farrokhseresht, M.; Paterakis, N.G. Implementation of large-scale Li-ion battery energy storage systems within the EMEA region. Appl. Energy 2020, 260, 114166. [Google Scholar] [CrossRef]
- Talele, V.; Moralı, U.; Patil, M.S.; Panchal, S.; Fraser, R.; Fowler, M.; Thorat, P.; Gokhale, Y.P. Computational modelling and statistical evaluation of thermal runaway safety regime response on lithium-ion battery with different cathodic chemistry and varying ambient condition. Int. Commun. Heat Mass Transf. 2023, 146, 106907. [Google Scholar] [CrossRef]
- Cao, R.; Cheng, H.; Jia, X.; Gao, X.; Zhang, Z.; Wang, M.; Li, S.; Zhang, C.; Ma, B.; Liu, X.; et al. Non-invasive characteristic curve analysis of lithium-ion batteries enabling degradation analysis and data-driven model construction: A review. Automot. Innov. 2022, 5, 146–163. [Google Scholar] [CrossRef]
- Feng, X.; He, X.; Ouyang, M.; Wang, L.; Lu, L.; Ren, D.; Santhanagopalan, S. A coupled electrochemical-thermal failure model for predicting the thermal runaway behavior of lithium-ion batteries. J. Electrochem. Soc. 2018, 165, A3748–A3765. [Google Scholar] [CrossRef]
- Dey, S.; Perez, H.E.; Moura, S.J. Model-based battery thermal fault diagnostics: Algorithms, analysis, and experiments. IEEE Trans. Control. Syst. Technol. 2017, 27, 576–587. [Google Scholar] [CrossRef]
- Wei, J.; Dong, G.; Chen, Z. Model-based fault diagnosis of Lithium-ion battery using strong tracking Extended Kalman Filter. Energy Procedia 2019, 158, 2500–2505. [Google Scholar] [CrossRef]
- Zhang, W.; Ouyang, N.; Yin, X.; Li, X.; Wu, W.; Huang, L. Data-driven early warning strategy for thermal runaway propagation in Lithium-ion battery modules with variable state of charge. Appl. Energy 2022, 323, 119614. [Google Scholar] [CrossRef]
- Li, D.; Liu, P.; Zhang, Z.; Zhang, L.; Deng, J.; Wang, Z.; Dorrell, D.G.; Li, W.; Sauer, D.U. Battery thermal runaway fault prognosis in electric vehicles based on abnormal heat generation and deep learning algorithms. IEEE Trans. Power Electron. 2022, 37, 8513–8525. [Google Scholar] [CrossRef]
- Zhang, C.; Zhao, S.; Yang, Z.; He, Y. A multi-fault diagnosis method for lithium-ion battery pack using curvilinear Manhattan distance evaluation and voltage difference analysis. J. Energy Storage 2023, 67, 107575. [Google Scholar] [CrossRef]
- Li, X.; Li, J.; Abdollahi, A.; Jones, T. Data-Driven Thermal Anomaly Detection for Batteries using Unsupervised Shape Clustering. In Proceedings of the 2021 IEEE 30th International Symposium on Industrial Electronics (ISIE), Kyoto, Japan, 20–23 June 2021; pp. 1–6. [Google Scholar]
- Li, D.; Zhang, Z.; Wang, Z.; Liu, P.; Liu, Z.; Lin, N. Timely thermal runaway prognosis for battery systems in real-world electric vehicles based on temperature abnormality. IEEE J. Emerg. Sel. Top. Power Electron. 2022, 11, 120–130. [Google Scholar] [CrossRef]
- Zhang, C.; He, Y.; Yang, T.; Zhang, B.; Wu, J. An analog circuit fault diagnosis approach based on improved wavelet transform and MKELM. Circuits Syst. Signal Process. 2022, 41, 1–32. [Google Scholar] [CrossRef]
- Zhang, C.; He, Y.; Zuo, L.; Wang, J.; He, W. A novel approach to diagnosis of analog circuit incipient faults based on KECA and OAO LSSVM. Metrol. Meas. Syst. 2015, 22, 251–262. [Google Scholar] [CrossRef]
- Bernardi, D.; Pawlikowski, E.; Newman, J. A general energy balance for battery systems. J. Electrochem. Soc. 1985, 132, 5. [Google Scholar] [CrossRef]
- Wu, J. Cluster Analysis and K-means Clustering: An Introduction. In Proceedings of the Advances in K-means Clustering; Springer: Berlin/Heidelberg, Germany, 2012; pp. 1–16. [Google Scholar] [CrossRef]
- Giorgino, T. Computing and visualizing dynamic time warping alignments in R: The Dtw package. J. Stat. Softw. 2009, 31, 1–24. [Google Scholar] [CrossRef]
- Wang, Q.; Wang, Z.; Zhang, L.; Liu, P.; Zhang, Z. A novel consistency evaluation method for series-connected battery systems based on real-world operation data. IEEE Trans. Transp. Electrif. 2020, 7, 437–451. [Google Scholar] [CrossRef]
- Suthaharan, S.; Suthaharan, S. Support vector machine. In Machine Learning Models and Algorithms for Big Data Classification: Thinking with Examples for Effective Learning; Springer: Berlin/Heidelberg, Germany, 2016; pp. 207–235. [Google Scholar]
Cluster Number | Normal Result No. 1 | Abnormal Result No. 1 | Normal Result No. 2 | Abnormal Result No. 2 |
---|---|---|---|---|
1 | T1, T2 | T1 | T1, T2 | T1, T2 |
2 | T3, T4 | T2, T3 | T3, T4 | T3 |
3 | T5 | T4 | T5 | T4 |
4 | / | T5 | / | T5 |
Cluster Number | Normal Result No. 1 | Abnormal Result No. 1 | Normal Result No. 2 | Abnormal Result No. 2 |
---|---|---|---|---|
1 | T1, T2, T3, T4, T5, T6 | T1 | T1 | T1, T3, T5, T7 |
2 | T7, T10 | T2, T3, T4, T5, T6 | T2, T4, T6, T8 | T2, T6 |
3 | T8, T9 | T7, T8, T9, T10 | T3, T5, T7 | T4, T8 |
Method | Warning Lead Time | Warning Accuracy | Applicable TR Types | Applicable Battery Types | Training Difficulty |
---|---|---|---|---|---|
[7] | 50–300 s after the error happens | higher that 90% | ISC, overheat | battery cell | easy |
[8] | 100 s after the error happens | no discussion | impedance fault | battery cell | easy |
[10] | 28 min before TR | error rate 0.28% | all types | battery cell | very complex |
[12] | 90 min before TR | no discussion | all types | battery group | easy |
the proposed method | 60 s after the error happens and 25 min before TR | 100% in experiments | all types | battery cell and battery group | easy |
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. |
© 2024 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
Chen, Q.; He, Y.; Fang, N.; Yu, G. A Combined Data-Driven and Model-Based Algorithm for Accurate Battery Thermal Runaway Warning. Sensors 2024, 24, 4964. https://doi.org/10.3390/s24154964
Chen Q, He Y, Fang N, Yu G. A Combined Data-Driven and Model-Based Algorithm for Accurate Battery Thermal Runaway Warning. Sensors. 2024; 24(15):4964. https://doi.org/10.3390/s24154964
Chicago/Turabian StyleChen, Qingyang, Yinghui He, Nengjie Fang, and Guanding Yu. 2024. "A Combined Data-Driven and Model-Based Algorithm for Accurate Battery Thermal Runaway Warning" Sensors 24, no. 15: 4964. https://doi.org/10.3390/s24154964
APA StyleChen, Q., He, Y., Fang, N., & Yu, G. (2024). A Combined Data-Driven and Model-Based Algorithm for Accurate Battery Thermal Runaway Warning. Sensors, 24(15), 4964. https://doi.org/10.3390/s24154964