[go: up one dir, main page]

CN118169567B - An adaptive safety warning method for lithium-ion batteries based on actual operation data - Google Patents

An adaptive safety warning method for lithium-ion batteries based on actual operation data Download PDF

Info

Publication number
CN118169567B
CN118169567B CN202410207980.6A CN202410207980A CN118169567B CN 118169567 B CN118169567 B CN 118169567B CN 202410207980 A CN202410207980 A CN 202410207980A CN 118169567 B CN118169567 B CN 118169567B
Authority
CN
China
Prior art keywords
early warning
warning
matrix
time
outlier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410207980.6A
Other languages
Chinese (zh)
Other versions
CN118169567A (en
Inventor
胡晓松
周文涛
张凯
李佳承
李劲文
庄奕
刘弘奥
祁清广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University
Original Assignee
Chongqing University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing University filed Critical Chongqing University
Priority to CN202410207980.6A priority Critical patent/CN118169567B/en
Publication of CN118169567A publication Critical patent/CN118169567A/en
Application granted granted Critical
Publication of CN118169567B publication Critical patent/CN118169567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/392Determining battery ageing or deterioration, e.g. state of health

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Emergency Alarm Devices (AREA)
  • Secondary Cells (AREA)

Abstract

本发明涉及一种基于实际运行数据的锂离子电池自适应安全预警方法,属于电池诊断技术领域。该方法选取电压最大值和最小值的差值、温度最大值作为融合特征输入,利用数据增强技术,建立增强矩阵;选取恰当的核函数,将增强矩阵映射到高维特征空间,进而计算增强核马氏距离;根据切比雪夫不等式,计算出自适应阈值,定位出预警时间;基于滑动窗口中位数离群值,确定出多级预警值,并定位异常单体。本方法能够应用于实际运行的锂离子电池组,以热失控车辆数据作为研究对象,通过未发生热失控前的正常电池数据获取相关参数,然后可以计算出该车辆任意时刻的预警指标,通过计算多级自适应阈值,实现热失控的及时预警。

The present invention relates to an adaptive safety early warning method for lithium-ion batteries based on actual operation data, and belongs to the field of battery diagnosis technology. The method selects the difference between the maximum and minimum voltage values and the maximum temperature as fusion feature inputs, and uses data enhancement technology to establish an enhancement matrix; selects an appropriate kernel function, maps the enhancement matrix to a high-dimensional feature space, and then calculates the enhanced kernel Mahalanobis distance; calculates the adaptive threshold according to the Chebyshev inequality, and locates the early warning time; determines the multi-level early warning value based on the median outlier value of the sliding window, and locates the abnormal single cell. The method can be applied to lithium-ion battery packs in actual operation, taking thermal runaway vehicle data as the research object, obtaining relevant parameters through normal battery data before thermal runaway occurs, and then calculating the early warning index of the vehicle at any time, and realizing timely early warning of thermal runaway by calculating multi-level adaptive thresholds.

Description

Lithium ion battery self-adaptive safety early warning method based on actual operation data
Technical Field
The invention belongs to the technical field of battery diagnosis, and relates to a lithium ion battery self-adaptive safety early warning method based on actual operation data.
Background
As an important new energy storage carrier, the lithium ion battery is an important break for solving the prominent problems of global climate change, resource environmental constraint cracking and the like, and along with the progress of technology, the global output of the lithium ion battery is continuously increased in recent years, and the industrial scale is continuously expanded. The wide application of the lithium ion battery is increasingly remarkable in the following safety problem, and news layers such as fire and explosion of the new energy automobile and the energy storage power station are endless, so that the life and property safety of people is seriously damaged, and the healthy development of the whole lithium ion battery industry is influenced. Therefore, the development of the safety early warning method of the lithium ion battery has great practical value for the whole industry.
The method for the safety early warning of the lithium ion battery mainly comprises a model-based method and a data-driven method, wherein the model-based method is required to establish an accurate lithium ion battery electric model, a thermal model or a fractional order model and the like, has high precision requirements, complex modeling process and high modeling difficulty, and diagnosis effect is influenced by the precision and the robustness of the model, the data-driven method is based on massive battery data, an artificial intelligence algorithm is developed, the signal processing method is included, the thermal runaway characteristics of BMS (battery management system) acquired data in a time domain or a frequency domain are extracted by various signal processing technologies, such as deviation, variance, frequency, entropy value, correlation coefficient and the like, and the machine learning and reinforcement learning method is also included, but the method is required to be trained by a large amount of data in advance, and the method is not interpretable.
Based on the method, the multi-dimensional signals of the battery pack are used as fusion input, the early warning index is represented by utilizing data enhancement and a kernel function, the self-adaptive threshold value is obtained in real time based on the chebyshev inequality, the early warning time is positioned, the multi-stage early warning value is determined based on the median outlier of the sliding window, and the abnormal monomer is positioned. The on-line self-adaptive safety pre-warning of the actual running lithium ion battery is realized.
Disclosure of Invention
Therefore, the invention aims to provide a lithium ion battery self-adaptive safety early warning method based on actual operation data.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a self-adaptive safety pre-warning method of a lithium ion battery based on actual operation data comprises the following steps:
S1, data acquisition, namely acquiring and preprocessing the data of the battery pack with the thermal runaway accident, extracting and standardizing the information of the voltages and the temperatures of the normal segment and the abnormal segment;
s2, feature enhancement, namely taking a difference value between a maximum value and a minimum value of voltage and a maximum value of temperature as fusion features, expanding feature dimensions and establishing an enhancement matrix;
s3, calculating parameters and early warning indexes, namely calculating parameters under normal conditions based on the enhanced nuclear Markov distance, and substituting the parameters into the enhanced nuclear Markov distance of the calculated abnormal segment to serve as the early warning indexes;
S4, calculating an adaptive threshold, namely setting an early warning index sliding window while calculating an early warning index, and synchronously calculating the adaptive threshold according to the index based on chebyshev inequality;
s5, detecting fault moment, namely if the early warning index exceeds the self-adaptive threshold value, carrying out early warning, judging the fault moment according to the early warning time, and counting continuous early warning moment and duration;
S6, detecting a fault monomer, namely calculating a monomer voltage outlier based on a median outlier of the sliding window, and positioning an abnormal monomer according to the outlier degree;
and S7, grading early warning, namely combining continuous early warning time and the outlier degree of the fault monomer to prepare a multistage early warning strategy.
Further, the step S1 specifically includes the following steps:
s11, selecting an accident vehicle as a research object, acquiring vehicle normal state data and data before an accident occurs, and extracting temperature, voltage, time and alarm time data in the data;
s12, carrying out data preprocessing of removing duplication and leak, smoothing interpolation and collecting abnormal points for removing;
And S13, carrying out standardization treatment on the voltage and the temperature.
Further, the step S2 specifically includes the following steps:
s21, calculating the difference value between the maximum value and the minimum value of the voltage at the same moment, then calculating the maximum value of the temperature, taking the difference value between the maximum value of the voltage and the maximum value of the temperature as fusion characteristics, and establishing a characteristic matrix:
X=[X1,X2,…,Xm,...,XD]∈RN×D
Xm=[x1,m,x2,m,...,xk,m,...,xN,m]
Wherein D represents a variable dimension, N represents a sampling point length, and x k,m represents an mth dimension feature vector of a kth sampling point;
S22, introducing a process variable sample, determining the maximum time lag L of the process variable sample, wherein L is a non-negative integer, and the enhancement vector at each sampling time comprises the information of the current and the previous L sampling points so as to describe the dynamic information of the process;
s23, calculating an enhancement matrix Z with time lag L.
Further, the step S3 specifically includes the following steps:
s31: through nonlinear transformation Φ k=F(zk), the enhancement matrix is mapped to a high-dimensional feature space, its dimension is denoted as h, the mapping matrix is denoted as Φ= [ Φ 12,...,φk,...,φN-L]∈Rh×(N-L), and the enhancement kernel mahalanobis distance of the mapping feature Φ k at the kth sample point from the "center" of the feature space is shown:
Wherein the method comprises the steps of Representing the centered feature vector, Σ φ representing the covariance of the mapping vector in the feature space,Representing the centering matrix to satisfyH is a symmetric idempotent matrix:
Wherein I N-L∈R(N-L)×(N-L) is a unit matrix of (N-L) × (N-L), and e N-L is a unit vector of (N-L) ×1;
S32, selecting proper kernel function to calculate dot product of mapping vector to represent kernel matrix K and central kernel matrix
S33, utilizing singular value decomposition (singular value decomposition, SVD) methodPerforming full rank decomposition to calculateMoore-Penrose pseudo-inverse matrix of (E)
S34, solving a final calculation formula of the enhanced kernel Markov distance:
Order the According toThe method can obtain the following steps:
let γ=1/(N-L) HKe N-L, then the enhancement kernel mahalanobis distance in the feature space can be calculated as follows:
Wherein the method comprises the steps of
Substituting the gamma and gamma into an enhancement matrix in a normal state, and calculating parameters gamma and gamma;
S35, substituting the enhancement matrix of the parameters gamma and the abnormal data to be detected into a calculation formula of the enhanced kernel Margaret distance, and solving an early warning index D.
Further, the step S4 specifically includes the following steps:
S41, determining the number w of sliding windows, and determining an early warning index mean mu i and a mean square error sigma i at the moment of abnormal data i to be detected;
s42, according to Chebyshev inequality, for any probability distribution, there is no more than for any real number k >0 The distribution value of (2) may differ from the average value by more than k standard deviations, and since the larger the enhanced kernel mahalanobis distance is, the more likely an abnormality exists, the upper limit of chebyshev inequality is adopted as the adaptive threshold of the algorithm, the k value is set, and the adaptive threshold is calculated in real time:
Ji=μi+kσi
further, the step S5 specifically includes the following steps:
s51, comparing an early warning index of abnormal data to be detected with a self-adaptive threshold, and if the early warning index exceeds the threshold at a certain moment, locating an early warning moment;
S52, recording the starting time and the duration of continuous early warning;
Further, the step S6 specifically includes the following steps:
S61, calculating an outlier of each monomer voltage to achieve the purpose of locating abnormal monomers, and providing a median-based outlier calculation method:
Where u ti is the voltage value normalized by the ith monomer at time t, and u median is the median of all normalized monomer voltages at the specified window length w;
S62, setting an outlier threshold, namely according to the definition of the proposed outlier, knowing that the value range of the outlier is [0,1], wherein the closer the outlier is to 0, the more normal the monomer state is represented;
And S63, judging the outlier condition of each monomer according to the threshold value, positioning the abnormal monomer, and judging the severity of the abnormality of the monomer according to the condition that the monomer exceeds the multi-level threshold value.
The invention has the beneficial effects that:
1. The invention adopts the lithium ion battery which is actually operated as a research object, is not limited by the type and the application scene of the lithium ion battery, and has better practical significance;
2. the invention adopts fusion characteristic input and combines data enhancement technology, considers the cross correlation of multiple characteristics and the autocorrelation of single characteristic, and can more timely predict the occurrence of thermal runaway;
3. according to the invention, nonlinear change in the charge and discharge process of the lithium ion battery is fully considered, and a kernel function is introduced to better describe the early warning index;
4. the invention can early warn the lithium ion battery running in real time, and can adaptively generate the threshold value according to the state and the aging degree of the battery, thereby reducing the missing report and the false report of the early warning;
5. According to the self-adaptive multi-stage early warning value, the severity of the current abnormality of the lithium ion battery can be judged, so that maintenance personnel can carry out corresponding treatment;
6. the invention not only can early warn before the lithium ion battery is thoroughly out of control, but also can accurately locate abnormal monomers.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objects and other advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out in the specification.
Drawings
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in the following preferred detail with reference to the accompanying drawings, in which:
FIG. 1 is a technical roadmap of the invention;
FIG. 2 is a graph of the pre-processed data set of monomer voltage values and probe temperature;
FIG. 3 is a fusion feature after data enhancement;
FIG. 4 is a pre-warning indicator and adaptive threshold;
FIG. 5 is an outlier monomer maximum;
Fig. 6 is a flow chart of an implementation of the present invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the illustrations provided in the following embodiments merely illustrate the basic idea of the present invention by way of illustration, and the following embodiments and features in the embodiments may be combined with each other without conflict.
In which the drawings are for illustrative purposes only and are not intended to be construed as limiting the invention, and in which certain elements of the drawings may be omitted, enlarged or reduced in order to better illustrate embodiments of the invention, and not to represent actual product dimensions, it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
In the description of the present invention, it should be understood that, if there are terms such as "upper", "lower", "left", "right", "front", "rear", etc., the directions or positional relationships indicated are based on the directions or positional relationships shown in the drawings, only for convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred devices or elements must have a specific direction, be constructed and operated in a specific direction, so that the terms describing the positional relationships in the drawings are merely for exemplary illustration and are not to be construed as limitations of the present invention, and that the specific meanings of the terms described above may be understood by those skilled in the art according to specific circumstances.
Referring to fig. 1 to 6, the self-adaptive safety pre-warning method for the lithium ion battery based on actual operation data provided by the invention can effectively perform self-adaptive safety pre-warning on the abnormal lithium ion battery pack so as to improve the safety of the battery system, and can be divided into the following steps:
S1, data acquisition, namely acquiring and preprocessing the data of the battery pack with the thermal runaway accident, extracting and standardizing information such as voltage, temperature and the like of a normal segment and an abnormal segment;
s2, feature enhancement, namely taking a difference value between a maximum value and a minimum value of voltage and a maximum value of temperature as fusion features, expanding feature dimensions and establishing an enhancement matrix;
s3, calculating parameters and early warning indexes, namely calculating parameters under normal conditions based on the enhanced nuclear Markov distance, and substituting the parameters into the enhanced nuclear Markov distance of the calculated abnormal segment to serve as the early warning indexes;
S4, calculating an adaptive threshold, namely setting an early warning index sliding window while calculating an early warning index, and synchronously calculating the adaptive threshold according to the index based on chebyshev inequality;
s5, detecting fault moment, namely if the early warning index exceeds the self-adaptive threshold value, carrying out early warning, judging the fault moment according to the early warning time, and counting continuous early warning moment and duration;
S6, detecting a fault monomer, namely calculating a monomer voltage outlier based on a median outlier of the sliding window, and positioning an abnormal monomer according to the outlier degree;
and S7, grading early warning, namely combining continuous early warning time and the outlier degree of the fault monomer to prepare a multistage early warning strategy.
Further, the step S1 specifically includes the following steps:
S11, selecting an accident vehicle as a research object, acquiring vehicle normal state data and data before an accident occurs, and extracting data such as temperature, voltage, time, alarm time and the like in the data;
S12, carrying out data preprocessing such as duplication elimination, leakage repairing, interpolation smoothing, abnormal point eliminating and the like on the data;
s13, carrying out standardization processing on the voltage and the temperature, wherein the voltage is taken as an example, and the standardization process is as follows:
Vt=(vt1,vt2,vt3,...,vti,...vtn) (1)
Ut=(ut1,ut2,u3,...,utn) (4)
Wherein n is the number of battery cells in the battery pack, v ti and U ti respectively represent the voltage and the characteristics of the ith battery cell at the t sampling time, and U t is the characteristic vector at the t sampling time.
Further, the step S2 specifically includes the following steps:
s21, calculating the difference value between the maximum value and the minimum value of the voltage at the same moment, then calculating the maximum value of the temperature, taking the difference value between the maximum value of the voltage and the maximum value of the temperature as fusion characteristics, and establishing a characteristic matrix:
X=[X1,X2,...,Xm,...,XD]∈RN×D (5)
Xm=[x1,m,x2,m,...,xk,m,...,xN,m] (6)
where D represents the variable dimension, N represents the sample point length, and x k,m represents the kth sample point mth dimension feature vector.
S22, introducing a process variable sample, determining the maximum time lag L of the process variable sample, wherein L is a non-negative integer, and the enhancement vector at each sampling time comprises the information of the current and the previous L sampling points so as to describe the dynamic information of the process;
S23, calculating an enhancement vector of x k at a kth sampling point as follows:
Where x k represents the feature vector at the kth sample point.
S24, calculating an enhancement matrix Z:
Z=[z1,z2,...,zk,...,zN-L]T∈R(N-L)×(L+1)D,k>L (8)
further, the step S3 specifically includes the following steps:
s31: through nonlinear transformation Φ k=F(zk), the enhancement matrix is mapped to a high-dimensional feature space, its dimension is denoted as h, the mapping matrix is denoted as Φ= [ Φ 12,...,φk,...,φN-L]∈Rh×(N-L), and the enhancement kernel mahalanobis distance of the mapping feature Φ k at the kth sample point from the "center" of the feature space is shown:
Wherein the method comprises the steps of Representing the centered feature vector, Σ φ representing the covariance of the mapping vector in the feature space,Representing the centering matrix to satisfyH is a symmetric idempotent matrix:
Where I N-L∈R(N-L)×(N-L) is the identity matrix of (N-L) × (N-L), and e N-L is the identity vector of (N-L) ×1. S32, selecting a polynomial kernel function to calculate a dot product of the mapping vector:
Where α >0, β is the polynomial degree as tuning parameter, and typically no more than 3 times to avoid overfitting.
Showing a kernel matrix K, a centered kernel matrix
K=ΦTΦ∈R(N-L)×(N-L) (16)
S33, utilizing singular value decomposition (singular value decomposition, SVD) methodPerforming full rank decomposition and calculatingMoore-Penrose pseudo-inverse matrix of (E)
Wherein U epsilon R h×h,V∈R(N-L)×(N-L), both of which are orthogonal matrices, S epsilon R h×(N-L) is defined byIs comprised of singular values.
Solving a final calculation formula of the enhanced kernel mahalanobis distance:
Order the According toThe method can obtain the following steps:
let γ=1/(N-L) HKe N-L, then the enhancement kernel mahalanobis distance in the feature space can be calculated as follows:
Wherein the method comprises the steps of
Substituting the gamma and gamma into an enhancement matrix in a normal state, and calculating parameters gamma and gamma;
S35, substituting the enhancement matrix of the parameters gamma and the abnormal data to be detected into a calculation formula of the enhanced kernel Margaret distance, and solving an early warning index D;
further, the step S4 specifically includes the following steps:
S41, determining the number w of sliding windows, and determining an early warning index mean mu i and a mean square error sigma i at the moment of abnormal data i to be detected;
s42, according to Chebyshev inequality, for any probability distribution, there is no more than for any real number k >0 The distribution value of (2) may differ from the average value by more than k standard deviations, and since the larger the enhanced kernel mahalanobis distance is, the more likely an abnormality exists, the upper limit of chebyshev inequality is adopted as the adaptive threshold of the algorithm, the k value is set, and the adaptive threshold is calculated in real time:
Ji=μi+kσi (25)
further, the step S5 specifically includes the following steps:
s51, comparing an early warning index of abnormal data to be detected with a self-adaptive threshold, and if the early warning index exceeds the threshold at a certain moment, locating an early warning moment;
S52, recording the starting time and the duration of continuous early warning;
further, the step S6 specifically includes the following steps:
s61, calculating an outlier of each monomer voltage to achieve the purpose of locating abnormal monomers. The outlier calculation method based on the median is provided:
Where u ti is the normalized voltage value for the ith cell at time t and u median is the median of all normalized cell voltages at the specified window length w.
And S62, setting an outlier threshold, wherein the value range of the outlier is [0,1] according to the definition of the proposed outlier, and the closer the outlier is to 0, the more normal the monomer state is indicated. According to chebyshev inequality, calculating the self-adaptive threshold value of the maximum outlier at the same time in a sliding window mode, and setting the multi-stage early warning threshold value by adjusting different k values.
And S63, judging the outlier condition of each monomer according to the threshold value, positioning the abnormal monomer, and judging the severity of the abnormality of the monomer according to the condition that the monomer exceeds the multi-level threshold value.
Finally, it is noted that the above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made thereto without departing from the spirit and scope of the present invention, which is intended to be covered by the claims of the present invention.

Claims (5)

1.一种基于实际运行数据的锂离子电池自适应安全预警方法,其特征在于:该方法包括以下步骤:1. A lithium-ion battery adaptive safety early warning method based on actual operation data, characterized in that the method comprises the following steps: S1:数据获取:获取热失控事故电池组数据并做预处理,提取正常片段和异常片段的电压、温度的信息并标准化;S1: Data acquisition: obtain the battery pack data of thermal runaway accidents and perform preprocessing, extract the voltage and temperature information of normal and abnormal segments and standardize them; S2:特征增强:以电压最大值与最小值差值、温度最大值作为融合特征,拓展特征维度,建立增强矩阵;S2: Feature enhancement: The difference between the maximum and minimum voltage values and the maximum temperature value are used as fusion features to expand the feature dimension and establish an enhancement matrix; 所述S2具体包括以下步骤:The S2 specifically includes the following steps: S21:计算相同时刻下,电压最大值与最小值的差值,然后计算出温度最大值,将电压最值差值与温度极大值作为融合特征,建立特征矩阵:S21: Calculate the difference between the maximum and minimum voltage at the same time, then calculate the maximum temperature, use the voltage maximum difference and the temperature maximum as fusion features, and establish a feature matrix: X=[X1,X2,…,Xm,...,XD]∈RN×D X=[X 1 ,X 2 ,…,X m ,…,X D ]∈R N×D Xm=[x1,m,x2,m,...,xk,m,...,xN,m]X m =[x 1,m ,x 2,m ,...,x k,m ,...,x N,m ] 其中D表示变量维度,N表示采样点长度,xk,m表示第k个采样点第m维特征向量;Where D represents the variable dimension, N represents the length of the sampling points, and xk ,m represents the m-th dimension feature vector of the k-th sampling point; S22:引入过程变量样本,确定过程变量样本最大时滞L,L为非负整数,每个采样时刻下的增强向量都包含了当下及前L个采样点的信息,以描述过程的动态信息;S22: Introduce process variable samples, determine the maximum time lag L of process variable samples, L is a non-negative integer, and the enhanced vector at each sampling time contains the information of the current and previous L sampling points to describe the dynamic information of the process; S23:计算时滞为L的增强矩阵Z;S23: Calculate the enhancement matrix Z with a time lag of L; S3:计算参数及预警指标:基于增强核马氏距离计算正常情况下的参数,将参数代入计算异常片段的增强核马氏距离作为预警指标;S3: Calculation of parameters and early warning indicators: Calculate the parameters under normal conditions based on the enhanced kernel Mahalanobis distance, and substitute the parameters into the enhanced kernel Mahalanobis distance of the abnormal fragment as the early warning indicator; 所述S3具体包括以下步骤:The S3 specifically includes the following steps: S31:通过非线性变换φk=F(zk),增强矩阵被映射到高维特征空间,其维度表示为h,将映射矩阵表示为Φ=[φ12,...,φk,…,φN-L]∈Rh×(N-L),表示出第k个采样点下的映射特征φk与特征空间的“中心”的增强核马氏距离:S31: Through the nonlinear transformation φ k =F(z k ), the enhancement matrix is mapped to a high-dimensional feature space, whose dimension is represented by h. The mapping matrix is represented as Φ=[φ 12 ,...,φ k ,…,φ NL ]∈R h×(NL) , which represents the enhanced kernel Mahalanobis distance between the mapping feature φ k at the kth sampling point and the “center” of the feature space: 其中表示居中特征向量,Σφ表示特征空间中映射向量的协方差,表示居中矩阵,满足H是一个对称的幂等矩阵:in represents the centered eigenvector, Σ φ represents the covariance of the mapping vector in the feature space, represents a centered matrix that satisfies H is a symmetric idempotent matrix: 其中IN-L∈R(N-L)×(N-L)是(N-L)×(N-L)的单位矩阵,eN-L是(N-L)×1的单位向量;Where I NL ∈R (NL)×(NL) is the identity matrix of (NL)×(NL), e NL is the unit vector of (NL)×1; S32:选择恰当的核函数计算映射向量的点积,表示出核矩阵K、居中核矩阵K:S32: Select an appropriate kernel function to calculate the dot product of the mapping vector, and express the kernel matrix K and the centered kernel matrix K: S33:利用利用奇异值分解(singular value decomposition,SVD)的方法对Φ进行满秩分解,计算出的Moore-Penrose伪逆矩阵 S33: Use the singular value decomposition (SVD) method to perform full rank decomposition on Φ and calculate The Moore-Penrose pseudo-inverse matrix S34:求解出增强核马氏距离的最终计算公式:S34: Solve the final calculation formula of the enhanced kernel Mahalanobis distance: 根据可以得到:make according to You can get: 令γ=1/(N-L)HKeN-L,则特征空间中的增强核马氏距离可以计算如下:Let γ = 1/(NL)HKe NL , then the enhanced kernel Mahalanobis distance in the feature space can be calculated as follows: 其中 in 代入正常状态的增强矩阵,计算出参数γ和Υ;Substitute the normal state enhancement matrix and calculate the parameters γ and Υ; S35:将参数γ和Υ以及待测异常数据的增强矩阵代入增强核马氏距离的计算公式,求解出预警指标D;S35: Substitute the parameters γ and Υ and the enhancement matrix of the abnormal data to be tested into the calculation formula of the enhanced kernel Mahalanobis distance to solve the early warning indicator D; S4:计算自适应阈值:在计算预警指标的同时,设置预警指标滑动窗口,基于切比雪夫不等式,根据指标同步计算自适应阈值;S4: Calculate the adaptive threshold: While calculating the warning indicator, set the warning indicator sliding window, and calculate the adaptive threshold synchronously according to the indicator based on the Chebyshev inequality; S5:故障时刻检测:若预警指标超出自适应阈值,则进行预警,根据预警时间判断故障时刻,并统计连续预警时刻及时长;S5: Fault time detection: If the warning indicator exceeds the adaptive threshold, a warning is issued, the fault time is determined according to the warning time, and the continuous warning time and duration are counted; S6:故障单体检测:基于滑动窗口中位数离群值,计算单体电压离群值,根据离群程度,定位异常单体;S6: Faulty cell detection: Based on the median outlier value of the sliding window, the cell voltage outlier value is calculated, and the abnormal cell is located according to the degree of outlier; S7:分级预警:结合连续预警时刻以及故障单体的离群程度,制定出多级预警策略。S7: Hierarchical warning: A multi-level warning strategy is developed based on the continuous warning time and the degree of outlier of the faulty unit. 2.根据权利要求1所述的一种基于实际运行数据的锂离子电池自适应安全预警方法,其特征在于:所述S1具体包括以下步骤:2. The lithium-ion battery adaptive safety early warning method based on actual operation data according to claim 1, characterized in that: said S1 specifically comprises the following steps: S11:选取事故车辆最为研究对象,获取车辆正常状态数据以及事故发生前的数据,提取数据中的温度、电压、时间和报警时刻的数据;S11: Select the accident vehicle as the research object, obtain the normal state data of the vehicle and the data before the accident, and extract the temperature, voltage, time and alarm time data in the data; S12:对数据进行去重补漏、插值平滑和采集异常点剔除的数据预处理;S12: Data preprocessing including deduplication, leakage compensation, interpolation smoothing and elimination of abnormal points; S13:对电压和温度进行标准化处理。S13: Standardize the voltage and temperature. 3.根据权利要求1所述的一种基于实际运行数据的锂离子电池自适应安全预警方法,其特征在于:所述S4具体包括以下步骤:3. The lithium-ion battery adaptive safety early warning method based on actual operation data according to claim 1, characterized in that: said S4 specifically comprises the following steps: S41:确定滑动窗口数w,待测异常数据i时刻下的预警指标均值μi和均方差σiS41: Determine the number of sliding windows w, the mean μ i and the mean square error σ i of the warning indicators of the abnormal data to be tested at time i; S42:根据切比雪夫不等式,对于任意概率分布,对于任意实数k>0存在不超过的分布值可能与平均值相差超过k个标准差,由于增强核马氏距离越大则说明越有可能存在异常,因此采用切比雪夫不等式的上限作为算法的自适应阈值,设置k值,实时计算自适应阈值:S42: According to Chebyshev's inequality, for any probability distribution, for any real number k>0, there are no more than The distribution value may differ from the mean value by more than k standard deviations. Since the larger the enhanced kernel Mahalanobis distance is, the more likely it is that an anomaly exists, the upper limit of Chebyshev’s inequality is used as the adaptive threshold of the algorithm, the k value is set, and the adaptive threshold is calculated in real time: Ji=μi+kσi Ji = μi + kσi . 4.根据权利要求3所述的一种基于实际运行数据的锂离子电池自适应安全预警方法,其特征在于:所述S5具体包括以下步骤:4. The lithium-ion battery adaptive safety early warning method based on actual operation data according to claim 3 is characterized in that: said S5 specifically comprises the following steps: S51:将待测异常数据的预警指标与自适应阈值进行对比,如果某个时刻预警指标超过阈值则出现异常,定位出预警时刻;在实际应用中,当出现一定时间持续预警时,断开电源,采取相应救助措施;S51: Compare the warning index of the abnormal data to be tested with the adaptive threshold. If the warning index exceeds the threshold at a certain moment, an abnormality occurs, and the warning moment is located. In actual application, when the warning continues for a certain period of time, the power supply is disconnected and corresponding rescue measures are taken; S52:记录连续预警开始时刻以及持续时间。S52: Record the start time and duration of the continuous warning. 5.根据权利要求4所述的一种基于实际运行数据的锂离子电池自适应安全预警方法,其特征在于:所述S6具体包括以下步骤:5. The lithium-ion battery adaptive safety early warning method based on actual operation data according to claim 4, characterized in that: said S6 specifically comprises the following steps: S61:计算出每个单体电压的离群值以达到定位异常单体的目的;提出基于中位数的离群值计算方法:S61: Calculate the outlier value of each monomer voltage to locate the abnormal monomer; propose an outlier value calculation method based on the median: 其中uti是t时刻下,第i个单体标准化后的电压值,umedian是指定窗口长度w下所有标准化单体电压的中位数;Where u ti is the standardized voltage value of the i-th monomer at time t, and u median is the median of all standardized monomer voltages under the specified window length w; S62:设置离群值阈值,根据提出的离群值定义知,离群值的取值范围为[0,1],离群值越接近0,则表示单体状态越正常;根据切比雪夫不等式,将同时刻下最大离群值以滑动窗口形式计算自适应阈值,通过调整不同的k值设置多级预警阈值;S62: setting an outlier threshold. According to the proposed outlier definition, the value range of the outlier is [0,1]. The closer the outlier is to 0, the more normal the monomer state is. According to the Chebyshev inequality, the maximum outlier recorded at the same time is used to calculate the adaptive threshold in the form of a sliding window, and the multi-level warning threshold is set by adjusting different k values. S63:根据阈值判断各单体离群情况,定位出异常单体,并根据单体超出多级阈值的情况,判断单体异常的严重程度。S63: Determine the outlier status of each monomer according to the threshold, locate the abnormal monomer, and determine the severity of the monomer abnormality according to the situation that the monomer exceeds the multi-level threshold.
CN202410207980.6A 2024-02-26 2024-02-26 An adaptive safety warning method for lithium-ion batteries based on actual operation data Active CN118169567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410207980.6A CN118169567B (en) 2024-02-26 2024-02-26 An adaptive safety warning method for lithium-ion batteries based on actual operation data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410207980.6A CN118169567B (en) 2024-02-26 2024-02-26 An adaptive safety warning method for lithium-ion batteries based on actual operation data

Publications (2)

Publication Number Publication Date
CN118169567A CN118169567A (en) 2024-06-11
CN118169567B true CN118169567B (en) 2025-03-04

Family

ID=91353678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410207980.6A Active CN118169567B (en) 2024-02-26 2024-02-26 An adaptive safety warning method for lithium-ion batteries based on actual operation data

Country Status (1)

Country Link
CN (1) CN118169567B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118849789B (en) * 2024-09-25 2024-12-17 陕西西部智联新能源产业集团有限公司 New energy vehicle power battery fault diagnosis method and system
CN120428132A (en) * 2025-07-07 2025-08-05 浙江省白马湖实验室有限公司 A method and system for sampling energy storage battery voltage
CN121186589A (en) * 2025-09-19 2025-12-23 山东省明康安托山特种机电有限公司 Motor data anomaly detection method and system based on Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109143085A (en) * 2018-07-18 2019-01-04 中国电力科学研究院有限公司 A kind of method and system carrying out early warning to lithium ion battery based on intelligent algorithm
CN116696824A (en) * 2023-06-29 2023-09-05 重庆大学 Multi-dimensional information intelligent monitoring system and state evaluation method for tunnel jet fan

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10235523B1 (en) * 2016-05-10 2019-03-19 Nokomis, Inc. Avionics protection apparatus and method
US10615610B1 (en) * 2019-05-28 2020-04-07 Ekergy Llc System and method for efficient charging of multiple battery cassettes
CN111707951B (en) * 2020-06-22 2021-04-06 北京理工大学 Battery pack consistency evaluation method and system
CN117347867A (en) * 2023-10-19 2024-01-05 南通乐创新能源有限公司 Method for predicting SOH of battery based on transducer combined model
CN117171588A (en) * 2023-11-02 2023-12-05 吉林省有继科技有限公司 A fault detection method for power battery ladder utilization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109143085A (en) * 2018-07-18 2019-01-04 中国电力科学研究院有限公司 A kind of method and system carrying out early warning to lithium ion battery based on intelligent algorithm
CN116696824A (en) * 2023-06-29 2023-09-05 重庆大学 Multi-dimensional information intelligent monitoring system and state evaluation method for tunnel jet fan

Also Published As

Publication number Publication date
CN118169567A (en) 2024-06-11

Similar Documents

Publication Publication Date Title
CN118169567B (en) An adaptive safety warning method for lithium-ion batteries based on actual operation data
Wang et al. State of health estimation based on modified Gaussian process regression for lithium-ion batteries
Xu et al. Life prediction of lithium-ion batteries based on stacked denoising autoencoders
CN113791350B (en) Battery fault prediction method
CN111707951A (en) A battery pack consistency evaluation method and system
CN114460481B (en) Bi-LSTM and attention mechanism-based energy storage battery thermal runaway early warning method
CN120629958A (en) Lithium-ion battery fault prediction method and system based on BMS
Niu et al. An online fault diagnosis method for lithium-ion batteries based on signal decomposition and dimensionless indicators selection
CN115963418B (en) A method and system for detecting the operating status of an energy storage battery
Dong et al. Periodic segmentation transformer-based internal short circuit detection method for battery packs
Li et al. A quantitative fault diagnosis method for lithium-ion battery based on MD-LSTM
CN116973763A (en) A lithium battery pack thermal runaway early warning method and device
CN120145278B (en) A method and system for dynamic management and control of energy storage batteries
Guo et al. Early diagnosis of battery faults through an unsupervised health scoring method for real-world applications
CN115128468A (en) Chemical energy storage battery PHM undervoltage fault prediction method
CN114734873B (en) A thermal runaway early warning method for power battery cells based on cloud online data
Liu et al. Enhancing multi-type fault diagnosis in lithium-ion battery systems: Vision transformer-based transfer learning approach
CN118478695B (en) A safety warning method, device and electronic equipment for power battery
Chen et al. State of health estimation for lithium-ion battery based on long short term memory networks
CN112327169A (en) A method for predicting the remaining life of a lithium battery
Huang et al. Safety risk assessment for automotive battery pack based on deviation and outlier analysis of voltage inconsistency
Liu et al. Fault diagnosis of early internal short circuit for power battery systems based on the evolution of the cell charging voltage slope in variable voltage window
CN118393364A (en) Multi-fault diagnosis method, device, medium and product of power battery system
Tang et al. Cloud-based Li-ion battery anomaly detection, localization and classification
CN116061690A (en) A safety warning method and device in the charging process of electric vehicles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20240611

Assignee: Zhaolong Intelligent Technology (Chongqing) Co.,Ltd.

Assignor: Chongqing University

Contract record no.: X2025980010248

Denomination of invention: A self-adaptive safety warning method for lithium-ion batteries based on actual operating data

Granted publication date: 20250304

License type: Common License

Record date: 20250620

EE01 Entry into force of recordation of patent licensing contract