Lithium ion battery thermal process fault detection and positioning method based on space-time transformation network
By using a method based on spatio-temporal transformation network, feature extraction and fault detection are performed on lithium-ion battery surface temperature data, which solves the problems in the existing technology that rely on partial differential equations and cannot achieve continuous spatial positioning, and achieves rapid detection of battery thermal process faults. and accurate positioning.
Patent Information
- Application Number
- CN202410742890.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-15
AI Technical Summary
Existing model-based battery thermal process fault diagnosis methods rely on partial differential equations and cannot adapt to nonlinear battery thermal processes, and data-based fault diagnosis methods cannot achieve continuous fault location in space.
A method based on spatiotemporal transformation network is used to extract features from lithium-ion battery surface temperature data, construct comprehensive statistics for fault detection, realize fault location through spatial basis function changes, and use spatiotemporal transformation network to optimize target design and Gaussian process regression for nonlinear identification. , construct time dynamics residual and spatial dynamics difference analysis, and design space basis function weighted absolute error to achieve fault location.
It achieves rapid detection and spatial continuous positioning of battery thermal process faults, is suitable for fault detection and positioning of actual battery thermal processes, does not rely on accurate partial differential equations, and is adaptable to nonlinear battery thermal processes.
Smart Images

Figure CN118777879A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery fault diagnosis, and more specifically, to a lithium-ion battery thermal process fault detection and positioning method based on a time-space transformation network. Background Art
[0002] Lithium-ion batteries (LIBs) are widely used as a power source for electric vehicles due to their long cycle life, high Coulombic efficiency, and high energy density. However, thermal anomalies in lithium-ion batteries have been hindering the rapid development of electric vehicles. For example, internal short circuit (ISC) is one of the most worrying faults in lithium-ion batteries, which can generate a large amount of heat in a short time and develop into thermal runaway. Therefore, it is necessary to develop effective battery thermal process fault detection and location methods to cope with the increasingly prominent battery thermal process safety issues.
[0003] At present, some model-based and data-based methods have been proposed for abnormality detection and location of battery systems. For example, based on battery thermal model and sensor placement optimization, a fault detection and location framework for large batteries was proposed. Based on the equivalent circuit model (ECM), a parameter estimation-based method was proposed for ISC detection of battery cells and battery packs. However, since the battery thermal process is a complex and time-varying nonlinear system, it is difficult to obtain the partial differential equations behind the battery thermal process in actual processes. Therefore, the above model-based methods have obvious limitations in practical applications.
[0004] To this end, data-based battery thermal process fault diagnosis methods have been proposed. For example, a method based on spatiotemporal entropy detects and locates battery thermal process faults. However, since the sampling space of the sensor is discrete, the positioning accuracy of these data-based fault diagnosis methods depends largely on the number of sensors, and it is impossible to achieve continuous positioning of faults in space. At the same time, since these data-based fault diagnosis methods are linear, they cannot adapt well to nonlinear battery thermal processes.
[0005] Therefore, it is necessary to propose a nonlinear space construction method for spatially continuous anomaly localization of battery thermal processes under limited sensor conditions. Summary of the invention
[0006] In order to solve the problems that the existing model-based battery thermal process fault diagnosis method has a high dependence on partial differential equations, the data-based fault diagnosis method cannot adapt to the nonlinear battery thermal process and cannot achieve continuous positioning of faults in space, the present invention provides a lithium-ion battery thermal process fault detection and positioning method based on a space-time transformation network.
[0007] To solve the above technical problems, according to a first aspect of the present invention, a method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network is provided, the method comprising the following steps:
[0008] S1. Extract the features of the collected lithium-ion battery surface temperature data based on the space-time transformation network to obtain the spatial basis function and time coefficient matrix;
[0009] S2. Construct comprehensive statistics of fault detection based on time coefficient residual and spatial basis function difference analysis;
[0010] S3. Design the weighted absolute error of spatial basis function based on the variation of spatial basis function to achieve fault location.
[0011] In some embodiments, the specific process of step S1 includes:
[0012] S11. Design of optimization objectives for time-space transformation networks;
[0013] S12. Spatial and temporal feature extraction based on space-time transformer network.
[0014] Wherein, step S11 is specifically as follows:
[0015] According to the principle of minimum modeling error, the spatial characteristics of the battery thermal process can be solved by optimization:
[0016]
[0017] where φ i (x) and a i (t) represents the i-th spatial basis function and the corresponding time coefficient respectively; represents the loss function; g2(·) is a nonlinear function; n represents the model order; the symbol ‖·‖ 2 Defined as ‖s(x)‖ 2 =∫ Ω s(x)s(x)dx; λ1,λ2∈[0,1] are regularization parameters, and λ1+λ2=1; Ω=[x a ,x b ] represents the entire spatial domain; i, j = 1, 2, …, n; l represents the number of data snapshots in a data batch; the second and third terms on the right side of the equation represent the orthogonality and uniqueness constraints of the spatial basis functions, respectively.
[0018] Wherein, step S12 is specifically as follows:
[0019] The activation functions of the neural network input layer and output layer are selected as Sigmoid functions:
[0020]
[0021] The weights between the input layer and the hidden layer are tied together with the weights between the hidden layer and the output layer to speed up training and avoid overfitting, i.e.:
[0022] When r = j,
[0023] By using the above method, the number of weights to be optimized can be reduced by half. According to the back propagation algorithm, the spatial basis function is updated in the (m+1)th iteration as follows:
[0024]
[0025] where η∈[0,1] represents the iteration step size; sgn(·) is the standard sign function; is the input of the jth output layer at the mth iteration, that is Represents the single point error at the mth iteration, and the expression is as follows:
[0026]
[0027] in
[0028] When the loss function When it is established, the iteration stops. Then the spatial basis function can be obtained The time coefficient can be calculated as:
[0029]
[0030] In some embodiments, the specific process of step S2 includes:
[0031] S21. Construction of temporal dynamic residuals;
[0032] S22. Spatial dynamics difference analysis;
[0033] S23. Design of comprehensive fault detection statistics.
[0034] Wherein, step S21 is specifically as follows:
[0035] First, Gaussian process regression (GPR) is used to perform nonlinear identification of the time coefficient. Assume that the time coefficient t i Each sample of (i) can be represented as the underlying function q(·) and a Gaussian noise model:
[0036]
[0037] in represents the noise variance; Represents the input of the model, defined as:
[0038] ω i (t) = [a i (t-1), a i (t-2), ..., a i (tn l ),u1(t),...,u m (t)] T
[0039] where n l and m represent the system delay and the number of input signals respectively; u k (t) represents the kth external input signal; k = 1, 2,…, m.
[0040] Through Gaussian process regression, the posterior distribution of the time coefficient can be derived:
[0041]
[0042] in and represents the mean and variance of the Gaussian process. They are the input vector ω i In the present invention, only the mean value of the Gaussian process is used to derive the square of the prediction error.
[0043] The i-th time coefficient can be predicted as the average value of the Gaussian process Then, the mean square prediction error at time t can be expressed as:
[0044]
[0045] The i-th spatial basis function at time t is Updates can be made in the following ways:
[0046] When (t mod W)≠0, When (t mod W) = 0, update with the latest batch data
[0047] Among them, "mod" and The functions represent the remainder and integer operations respectively, W represents the data batch interval, and W≤l.
[0048] Wherein, step S22 is specifically as follows:
[0049] According to the cosine similarity, the following spatial dissimilarity index ε(t) can be constructed to describe the deviation of the spatial basis function:
[0050]
[0051] in is the initial u-th spatial basis function; n and N represent the model order and the number of sensors, respectively.
[0052] Wherein, step S23 is specifically as follows:
[0053] According to the time residual index γ(t) and the spatial difference index ε(t), the following comprehensive detection statistic D(t) can be constructed:
[0054]
[0055] where γ r and ε r denote the reference signals of the residual index γ(t) and the spatial dissimilarity index ε(t), respectively. α∈[0,1] is the weight parameter to be optimized. The proposed detection statistic D(t) is a comprehensive indicator that takes into account the abnormal changes on the time scale and the abnormal distribution on the spatial scale.
[0056] In order to eliminate the influence of random interference, it is necessary to derive the confidence interval of the detection statistic D(t) to achieve reliable anomaly detection. Kernel density estimation is a nonparametric probability density function estimation method that can be used to calculate the reference signal D of the statistic D(t). r Assumptions Based on the training data The independent and identically distributed time residuals are calculated; L represents the number of snapshots of the training data. Then, the probability density function of the detection index γ(t) can be expressed as:
[0057]
[0058] in is the probability density function of the statistic γ(t); K(·) is the Gaussian kernel function; b represents the bandwidth constant, which can be determined by minimizing the integrated square error.
[0059] Given a confidence level p, the reference signal γ can be calculated by optimizing as follows r :
[0060]
[0061] The confidence level p is usually set to 0.95 or 0.99; similarly, the reference signal ε of the spatial dissimilarity index ε(t) can be calculated r Therefore, the reference signal D of the comprehensive statistic D(t) r It can be calculated as:
[0062] D r =α+(1-α)=1
[0063] The anomaly detection rules are as follows:
[0064] When D(t)>D r , the system is in an abnormal state, and records the time when the abnormality occurs t f ; When D(t)≤D r , indicating that the system is in normal status.
[0065] In some embodiments, step S3 is specifically:
[0066] Spatial basis functions reflects the spatial dynamics of the system. Therefore, the change of the spatial basis function can be used to identify the location where the anomaly occurs. The spatial change of the i-th spatial basis function can be defined as follows:
[0067]
[0068] in Indicates t f The i-th spatial basis function at time t; In order to achieve accurate anomaly positioning, the spatial construction method is used to derive continuous spatial basis functions and Therefore, the discrete spatial basis function changes Δφ i It can be transformed into the following continuous spatial basis function changes:
[0069]
[0070] The weighted absolute error of the spatial basis function can be expressed as:
[0071]
[0072] The spatial position where the weighted absolute error is the largest can be regarded as the location where the fault occurs:
[0073]
[0074] where a i (t f ) indicates t f The i-th time coefficient at time; x f Represents the identified fault location.
[0075] According to a second aspect of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network are implemented.
[0076] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the above-mentioned methods for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network are implemented.
[0077] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:
[0078] The present invention provides a method for detecting and locating thermal process faults of lithium-ion batteries based on a space-time transformation network. The space-time transformation network is used to extract features of battery temperature data, and fault detection statistics are constructed based on the extracted spatial and temporal features to achieve rapid fault detection, and spatial positioning of faults is achieved based on changes in spatial basis functions. This method is a purely data-driven method that does not rely on precise partial differential equations, and is therefore suitable for fault detection and positioning in actual battery thermal processes; at the same time, this method can achieve continuous positioning of faults in space. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 It is a schematic flow chart of a method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network of the present invention;
[0080] Figure 2 is a structural diagram of a space-time transformation network in an embodiment of the present invention;
[0081] Figure 3 is a test current curve diagram in an embodiment of the present invention;
[0082] Figure 4 is a temperature distribution diagram of a battery cell at different times in an embodiment of the present invention; wherein, Figure 4 (a) is the temperature distribution diagram at 300s. Figure 4 (b) is the temperature distribution diagram at 600s. Figure 4 (c) is the temperature distribution diagram at 900s;
[0083] Figure 5 is a diagram of abnormal detection results under fault 1 in an embodiment of the present invention; wherein, Figure 5 (a) is a diagram of the abnormality detection result of the present invention, Figure 5 (b) is the anomaly detection result diagram of the traditional PCA method;
[0084] Figure 6 is a diagram of abnormal detection results under fault 7 in an embodiment of the present invention; wherein, Figure 6 (a) is a diagram of the abnormality detection result of the present invention, Figure 6 (b) is the anomaly detection result diagram of the traditional PCA method;
[0085] Figure 7 : is a diagram of abnormal location results under fault 7 in an embodiment of the present invention; wherein, Figure 7 (a) is a diagram showing the abnormality location results of the present invention, Figure 7 (b) is the anomaly location result diagram of the cubic interpolation method. Figure 7 (c) is the anomaly location result diagram of the cubic spline method. Figure 7 (d) is the anomaly location result diagram of the traditional PCA method;
[0086] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0087] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0088] The present invention provides a method for detecting and locating thermal process faults of lithium-ion batteries based on a space-time transformation network. The space-time transformation network is used to extract features of battery temperature data, and fault detection statistics are constructed based on the extracted spatial features and time features to achieve rapid fault detection, and spatial positioning of faults is achieved based on changes in spatial basis functions. This method is a purely data-driven method that does not rely on precise partial differential equations, and is therefore suitable for fault detection and positioning in actual battery thermal processes. At the same time, this method can achieve continuous positioning of faults in space.
[0089] Embodiment 1
[0090] like Figure 1 and Figure 2 As shown, a method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network comprises the following steps:
[0091] S1. Extract the features of the collected lithium-ion battery surface temperature data based on the space-time transformation network to obtain the spatial basis function and time coefficient matrix;
[0092] S2. Construct comprehensive statistics of fault detection based on time coefficient residual and spatial basis function difference analysis;
[0093] S3. Design the weighted absolute error of spatial basis function based on the variation of spatial basis function to achieve fault location.
[0094] In some embodiments, the specific process of step S1 includes:
[0095] S11. Design of optimization objectives for time-space transformation networks;
[0096] S12. Spatial and temporal feature extraction based on space-time transformer network.
[0097] Wherein, step S11 is specifically as follows:
[0098] According to the principle of minimum modeling error, the spatial characteristics of the battery thermal process can be solved by optimization:
[0099]
[0100] where φ i (x) and a i (t) represents the i-th spatial basis function and the corresponding time coefficient respectively; represents the loss function; g2(·) is a nonlinear function; n represents the model order; the symbol ‖·‖ 2 Defined as ||s(x)|| 2 =∫ Ω s(x)s(x)dx; λ1,λ2∈[0,1] are regularization parameters, and λ1+λ2=1; Ω=[x a ,x b ] represents the entire spatial domain; i, j = 1, 2, …, n; l represents the number of data snapshots in a data batch; the second and third terms on the right side of the equation represent the orthogonality and uniqueness constraints of the spatial basis functions, respectively.
[0101] Wherein, step S12 is specifically as follows:
[0102] The activation functions of the neural network input layer and output layer are selected as Sigmoid functions:
[0103]
[0104] The weights between the input layer and the hidden layer are tied together with the weights between the hidden layer and the output layer to speed up training and avoid overfitting, i.e.:
[0105] When r = j,
[0106] By using the above method, the number of weights to be optimized can be reduced by half. According to the back propagation algorithm, the spatial basis function is updated in the (m+1)th iteration as follows:
[0107]
[0108] where η∈[0,1] represents the iteration step size; sgn(·) is the standard sign function; is the input of the jth output layer at the mth iteration, that is Represents the single point error at the mth iteration, and the expression is as follows:
[0109]
[0110] in
[0111] When the loss function When it is established, the iteration stops. Then the spatial basis function can be obtained The time coefficient can be calculated as:
[0112]
[0113] In some embodiments, the specific process of step S2 includes:
[0114] S21. Construction of temporal dynamic residuals;
[0115] S22. Spatial dynamics difference analysis;
[0116] S23. Design of comprehensive fault detection statistics.
[0117] Wherein, step S21 is specifically as follows:
[0118] First, Gaussian process regression (GPR) is used to perform nonlinear identification of the time coefficient. Assume that the time coefficient a i Each sample of (t) can be represented as the underlying function q(·) and a Gaussian noise model:
[0119]
[0120] in represents the noise variance; Represents the input of the model, defined as:
[0121] ω i (t) = [a i (t-1), a i (t-2), ..., a i (tn l ),u1(t),...,u m (t)] T
[0122] where n l and m represent the system delay and the number of input signals respectively; u k (t) represents the kth external input signal; k = 1, 2,…, m.
[0123] Through Gaussian process regression, the posterior distribution of the time coefficient can be derived:
[0124]
[0125] in and represents the mean and variance of the Gaussian process. They are the input vector ω i In the present invention, only the mean value of the Gaussian process is used to derive the square of the prediction error.
[0126] The i-th time coefficient can be predicted as the average value of the Gaussian process Then, the mean square prediction error at time t can be expressed as:
[0127]
[0128] The i-th spatial basis function at time t is Updates can be made in the following ways:
[0129] When (t mod W)≠0, When (t mod W) = 0, update with the latest batch data
[0130] Among them, "mod" and The functions represent the remainder and integer operations respectively, W represents the data batch interval, and W≤l.
[0131] Wherein, step S22 is specifically as follows:
[0132] According to the cosine similarity, the following spatial dissimilarity index ε(t) can be constructed to describe the deviation of the spatial basis function:
[0133]
[0134] in is the initial i-th spatial basis function; n and N represent the model order and the number of sensors, respectively.
[0135] Wherein, step S23 is specifically as follows:
[0136] According to the time residual index γ(t) and the spatial difference index ε(t), the following comprehensive detection statistic D(t) can be constructed:
[0137]
[0138] where γ r and ε rdenote the reference signals of the residual index γ(t) and the spatial dissimilarity index ε(t), respectively. α∈[0,1] is the weight parameter to be optimized. The proposed detection statistic D(t) is a comprehensive indicator that takes into account the abnormal changes on the time scale and the abnormal distribution on the spatial scale.
[0139] In order to eliminate the influence of random interference, it is necessary to derive the confidence interval of the detection statistic D(t) to achieve reliable anomaly detection. Kernel density estimation is a nonparametric probability density function estimation method that can be used to calculate the reference signal D of the statistic D(t). r Assumptions Based on the training data The independent and identically distributed time residuals are calculated; L represents the number of snapshots of the training data. Then, the probability density function of the detection index γ(t) can be expressed as:
[0140]
[0141] in is the probability density function of the statistic γ(t); K(·) is the Gaussian kernel function; b represents the bandwidth constant, which can be determined by minimizing the integrated square error.
[0142] Given a confidence level p, the reference signal γ can be calculated by optimizing as follows r :
[0143]
[0144] The confidence level p is usually set to 0.95 or 0.99; similarly, the reference signal ε of the spatial dissimilarity index ε(t) can be calculated r Therefore, the reference signal D of the comprehensive statistic D(t) r It can be calculated as:
[0145] D r =α+(1-α)=1
[0146] The anomaly detection rules are as follows:
[0147] When D(t)>D r , the system is in an abnormal state, and records the time when the abnormality occurs t f ; When D(t)≤D r , indicating that the system is in normal status.
[0148] Wherein, step S3 is specifically as follows:
[0149] Spatial basis functions reflects the spatial dynamics of the system. Therefore, the change of the spatial basis function can be used to identify the location where the anomaly occurs. The spatial change of the i-th spatial basis function can be defined as follows:
[0150]
[0151] in Indicates t f The i-th spatial basis function at time t; In order to achieve accurate anomaly positioning, the spatial construction method is used to derive continuous spatial basis functions and Therefore, the discrete spatial basis function changes Δφ i It can be transformed into the following continuous spatial basis function changes:
[0152]
[0153] The weighted absolute error of the spatial basis function can be expressed as:
[0154]
[0155] The spatial position where the weighted absolute error is the largest can be regarded as the location where the fault occurs:
[0156]
[0157] where a i (t f ) indicates t f The i-th time coefficient at time; x f Represents the identified fault location.
[0158] Embodiment 2
[0159] More specifically, the solution was implemented by taking the thermal process fault detection and location of 18650 cylindrical lithium-ion batteries as an example.
[0160] 18650 cylindrical lithium-ion batteries are widely used in portable devices, medical equipment and electric vehicles. The local heat source caused by internal short circuits not only affects the battery life, but also increases the risk of thermal runaway of the battery system. Therefore, early detection and location of battery internal short circuit anomalies are very important. The following four performance indicators are defined for performance evaluation and comparison:
[0161] Recall:
[0162] False Positive Rate:
[0163] Fault detection delay: FDD = t d -t f
[0164] Relative positioning error:
[0165] Where Nta and N tn Respectively represent the total number of abnormal samples and the total number of normal samples; N d Indicates the number of abnormal samples detected under abnormal conditions; N fd Indicates the number of normal samples that are mistakenly detected as abnormal samples under normal circumstances; t d is the moment when the anomaly is first detected and the alarm is issued; t f is the moment when the anomaly actually occurs; x d and x f They represent the identified position and the actual position of the fault respectively; h represents the length of the spatial domain.
[0166] Since the temperature variation along the radial direction is small, the cylindrical lithium battery can be regarded as a one-dimensional distributed parameter system. Since the short-circuit experiment in the battery is dangerous, costly and difficult to repeat, a battery modeling method is used to simulate the normal and abnormal thermal processes of 18650 lithium-ion batteries. The main model parameters are listed in Table 1. The data batch size l and the weight parameter α are determined by cross-validation to achieve a high recall rate and a small false alarm rate:
[0167]
[0168] The confidence level p is set to 0.99 to ensure the sensitivity of the algorithm.
[0169] Table 1 Main model parameters
[0170]
[0171] The settings for the internal short circuit fault are listed in Table 2. Fault 1 is the basic setting. From Fault 2 to 7, the settings that are different from Fault 1 are marked in bold. The internal short circuit of the battery can be caused by a small resistor R short The corresponding power density function P(t) is calculated as follows:
[0172]
[0173] Where V and r represent the working voltage and the equivalent radius of the internal short-circuit resistance of the battery respectively; in this study, r is set to 0.005m. Figure 3 The current in the form of UDDS shown is experimentally tested. The sampling frequency is 1Hz. The first 400 data snapshots Used to calculate the detection threshold. The data after 400 seconds is used for testing. Figure 4 The surface temperature evolution of the battery cell under fault 1 condition is shown, where Figure 4 (a) is the temperature distribution diagram at 300s. Figure 4 (b) is the temperature distribution diagram at 600s. Figure 4(c) is the temperature distribution diagram at 900s. According to Table 2, the internal short circuit failure occurred at 800s and lasted until the end of the test. As shown in the figure, the temperature distribution on the battery surface changed significantly after the internal short circuit occurred. The local temperature at the location of the internal short circuit is relatively high.
[0174] Table 2 Internal short circuit fault settings
[0175]
[0176]
[0177] The abnormal detection results of fault 1 and fault 7 are as follows: Figure 5 and Figure 6 As shown in Figure 2, principal component analysis (PCA) is a classic anomaly detection method. 2 Statistics are used to compare the performance of the proposed method. The red solid points indicate the actual occurrence time of the anomaly. The time when the anomaly is detected is marked by a black arrow. Figure 5 (a) and Figure 6 As shown in (a), the proposed method can respond immediately after the exception occurs.
[0178] like Figure 5 (b) and Figure 6 As shown in (b), PCA’s I 2 The statistic exceeds its reference signal at about 400 seconds, but no failure occurs at this time. It should be noted that the first 400 data snapshots are used for model training. 2 The statistic gradually increases after the anomaly occurs, but it never exceeds its detection threshold, which makes its detection of the short-circuit anomaly within the battery invalid.
[0179] As shown in Table 3, the recall rate (Recall), false alarm rate (FAR) and fault detection delay (FDD) are used to quantitatively describe the anomaly detection performance of the proposed method. In order to avoid frequent false alarms in practice, an alarm is only issued when three consecutive points exceed the reference signal. The spatiotemporal entropy statistic and the SPE statistic of the PCA algorithm are used for performance comparison. The superscripts a, b, and c represent the proposed method, the spatiotemporal entropy statistic, and the SPE statistic of PCA, respectively. The performance of the proposed method is slightly better than that of the spatiotemporal entropy statistic. Compared with the SPE statistic of PCA, the proposed method achieves a higher recall rate and a smaller false alarm rate. For the fault detection delay, the three methods achieve the same performance on faults 1 and 5. In general, the proposed method has better internal short circuit detection performance than the SPE statistic and spatiotemporal entropy statistic of PCA.
[0180] Table 3. Comparison of fault detection performance
[0181]
[0182] Comparing the experimental results under the conditions of Fault 1, Fault 5, and Fault 6, it can be found that the performance of the above three methods basically decreases with the increase of current rate. Under high current rate conditions, the battery surface temperature tends to increase significantly and fluctuate faster, which will mask the impact of the fault and make fault detection and location more difficult.
[0183] The abnormal location results of the proposed method for fault 1 are as follows: Figure 7 (a) shows. The positioning performance of the proposed method is compared with that of the cubic polynomial method, cubic spline method and PCA method. Figure 7 (b)-(d) The red solid circles and black solid triangles represent the actual anomaly locations and the identified anomaly locations, respectively. Compared with the peer methods, the proposed method has a smaller relative positioning error RLE.
[0184] Table 4 lists the relative positioning errors RLE of different methods under fault conditions 1 to 7. All RLEs of the PCA method are not less than 8.33%. Since the traditional PCA method cannot achieve spatial continuous positioning, its positioning error is large. Although the RLE of cubic polynomial and cubic spline on faults 1, 4 and 7 is not greater than 5.00\%, they perform poorly under other fault conditions. All RLEs of this method are no greater than the RLE of other methods and are stable within 5.00%. Overall, the proposed method outperforms peer methods and can achieve accurate anomaly detection and positioning of battery ISC.
[0185] Compared with the traditional fault diagnosis method, the proposed method shows better performance. This is mainly due to the following reasons: On the one hand, the space-time separation network is a nonlinear feature extraction network. It can automatically adapt to the nonlinearity of the system according to the collected data. The powerful nonlinear learning ability and model adaptation ability of the space-time separation network ensure that the extracted spatial basis function is optimal. On the other hand, the spatial construction algorithm for abnormal location using the spatial construction method ensures the optimality of the continuous spatial feature reconstruction, thereby making the fault location more accurate.
[0186] Table 4 Relative positioning error RLE (%) results of different methods
[0187]
[0188] Embodiment 3
[0189] like Figure 8The figure is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention, such as a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server, or a server cluster composed of multiple servers) that can execute programs. The computer device 20 of this embodiment includes at least but is not limited to: a memory 21 and a processor 22 that can communicate with each other via a system bus, such as Figure 8 It should be pointed out that Figure 8 Only computer device 20 is shown with components 21 - 22 , but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0190] In this embodiment, the memory 21 (i.e., readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM). The memory 21 can also be an external storage device of the computer device 20, such as a plug-in hard disk equipped on the computer device 20, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 21 can also include both the internal storage unit of the computer device 20 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed on the computer device 20, such as the program code of the lithium-ion battery thermal process fault detection and positioning method based on the time-space transformation network in the method embodiment. In addition, the memory 21 can also be used to temporarily store various data that have been output or are to be output.
[0191] The processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 22 is generally used to control the overall operation of the computer device 20. In this embodiment, the processor 22 is used to run the program code stored in the memory 21 or process data, such as running a device storing the program code of the lithium-ion battery thermal process fault detection and positioning method based on the time-space transformation network, so as to implement the lithium-ion battery thermal process fault detection and positioning method based on the time-space transformation network in the method embodiment.
[0192] Embodiment 4
[0193] The present application also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, and the program realizes the corresponding function when executed by the processor. The computer-readable storage medium of this embodiment is used to store the program code of the lithium-ion battery thermal process fault detection and positioning method based on the time-space transformation network, and when executed by the processor, the lithium-ion battery thermal process fault detection and positioning method based on the time-space transformation network of the method embodiment is realized.
[0194] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0195] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0196] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0197] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0198] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0199] It should be pointed out that, according to the needs of implementation, the various steps / components described in this application can be split into more steps / components, and two or more steps / components or partial operations of steps / components can be combined into new steps / components to achieve the purpose of the present invention.
[0200] It will be easily understood by those skilled in the art that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network, characterized in that: The method comprises the following steps: S1. Extract the features of the collected lithium-ion battery surface temperature data based on the space-time transformation network to obtain the spatial basis function and time coefficient matrix; S2. Construct comprehensive statistics of fault detection based on time coefficient residual and spatial basis function difference analysis; S3. Design the weighted absolute error of spatial basis function based on the variation of spatial basis function to achieve fault location.
2. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 1, characterized in that: Step S1 includes: S11. Design of optimization objectives for time-space transformation networks; S12. Spatial and temporal feature extraction based on space-time transformer network.
3. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 2, characterized in that: Step S11 includes: According to the principle of minimum modeling error, the spatial characteristics of the battery thermal process are solved by optimization: Among them, φ i (x) and a i (t k ) represent the i-th spatial basis function and the corresponding time coefficient respectively; {φ i (x)} represents the set of spatial basis functions; represents the loss function; g2(·) is a nonlinear function; n represents the model order; Y(x,t k ) represents the lithium-ion battery at spatial position x and time t k Surface temperature measurement data at ; symbol ‖·‖ 2 Defined as ‖s(x)‖ 2 =∫ Ω s(x)s(x)dx; λ1,λ2∈[0,1] are regularization parameters, and λ1+λ2=1; Ω represents the entire spatial domain; i,j=1,2,…,n; l represents the number of data snapshots in a data batch; The second and third terms on the right side of the equation represent the orthogonality and uniqueness constraints of the spatial basis functions, respectively.
4. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 3 is characterized in that: Step S12 includes: The activation functions of the neural network input layer and output layer are selected as Sigmoid functions: Where x′ represents input, g1(x′) and g2(x′) represent output; definition φ ij is the weight between the hidden layer and the output layer, i.e., the jth element of the i-th spatial basis function; The weights between the input layer and the hidden layer are tied together with the weights between the hidden layer and the output layer, that is: When r = j, in, represents the weight between the input layer and the hidden layer, and r represents the node number of the input layer; According to the back propagation algorithm, the spatial basis function is updated in the (m+1)th iteration as follows: Where η∈[0,1] represents the iteration step length; g ′ 2 represents partial derivative; sgn(·) is the standard sign function; is the input of the jth output layer at the mth iteration, that is Represents the single point error at the mth iteration, and the expression is as follows: in When the loss function When it is established, the iteration stops and the spatial basis function is obtained The time coefficient calculation is expressed as: in N is the number of temperature sensors; ∈ is the loss threshold.
5. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 4, characterized in that: Step S2 includes: S21. Construction of temporal dynamic residuals; S22. Spatial dynamics difference analysis; S23. Design of comprehensive fault detection statistics.
6. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 5, characterized in that: Step S21 includes: Gaussian process regression GPR is used to identify the time coefficient nonlinearly; assuming that the time coefficient a i Each sample of (t) is represented by the underlying function q(·) and a Gaussian noise model: in, represents the Gaussian process regression function, represents the noise variance; Represents the input of the model, defined as: ω i (t)=[a i (t-1),a i (t-2),…,a i (t-n l ),u1(t),…,u m (t)] T Among them, t is the time variable, n l and m represent the system delay and the number of input signals respectively; u k (t) represents the kth external input signal; k = 1, 2, ..., m; Through Gaussian process regression, the posterior distribution of the time coefficient is derived: in and represents the mean and variance of the Gaussian process; t * Indicates the time point at which the solution is required; The i-th time coefficient is predicted as the mean value of the Gaussian process Then the mean square prediction error γ(t) at time t is expressed as: in, represents the predicted value of the i-th time coefficient at time t, and the i-th spatial basis function at time t Update via: When (t mod W)≠0, When (t mod W) = 0, update with the latest batch data Where "mod" and The functions represent the remainder and integer operations respectively, W represents the data batch interval, and W≤l.
7. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 6, characterized in that: Step S22 includes: According to the cosine similarity, the following spatial dissimilarity index ε(t) is constructed to describe the deviation of the spatial basis function: in is the initial i-th spatial basis function; n and N represent the model order and the number of sensors, respectively.
8. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 7, characterized in that: Step S23 includes: According to the time residual index γ(t) and the spatial difference index ε(t), the following comprehensive detection statistic D(t) is constructed: where γ r and ε r They represent the reference signals of the residual index γ(t) and the spatial dissimilarity index ε(t), respectively; a∈[0,1] is the weight parameter to be optimized; the detection statistic D(t) is a comprehensive indicator that takes into account the abnormal changes in the time scale and the abnormal distribution in the spatial scale; The reference signal D for calculating the statistic D(t) r , including: Assumptions Based on the training data The calculated independent and identically distributed time residuals; L represents the number of snapshots of the training data; then the probability density function of the detection index γ(t) is expressed as: in is the probability density function of the statistic γ(t); K(·) is the Gaussian kernel function; b represents the bandwidth constant; Given a confidence level p, the reference signal γ is calculated by optimizing r : Where p is the confidence level; the reference signal ε of the spatial dissimilarity index ε(t) is calculated r , so the reference signal D of the comprehensive statistic D(t) r Calculated as: D r =a+(1-a)=1 The anomaly detection rules are as follows: When D(t)>D r , the system is in an abnormal state, and records the time when the abnormality occurs t f ; When D(t)≤D r , indicating that the system is in normal status.
9. The method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network according to claim 3, characterized in that: Step S3 includes: Spatial basis functions Reflecting the spatial dynamics of the system, the change of the spatial basis function is used to identify the location where the anomaly occurs. The spatial change of the i-th spatial basis function is defined as follows: in Indicates t f The i-th spatial basis function at time t; use the spatial construction method to derive continuous spatial basis functions and Therefore, the discrete spatial basis function changes Δφ i Transformed into the following continuous spatial basis function changes: where ψ i (x) is φ i Continuous expression of The weighted absolute error of the spatial basis function is expressed as: The spatial position with the largest weighted absolute error is regarded as the fault location: where a i (t f ) indicates t f The i-th time coefficient at time; x f Represents the identified fault location.
10. A computer device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for detecting and locating thermal process faults of lithium-ion batteries based on a time-space transformation network as claimed in any one of claims 1 to 9 are implemented.
Citation Information
Cited By
Destructive discharge spark detection method and system based on visual technology
CN119559170A
Abnormal battery positioning method and system, equipment, medium and product
CN120490850A
Methods, systems, equipment, media, and products for locating abnormal batteries
CN120490850B
Soft package battery fault detection method and system based on adaptive neural network
CN120577707A
A soft package battery fault detection method and system based on an adaptive neural network
CN120577707B
