Method for judging cell voltage deviation
Technical Field
The invention relates to the technical field of battery packs, in particular to a method for judging cell voltage deviation.
Background
The power battery is used as a core component of the new energy automobile and is directly related to safe and stable running of the automobile. One battery pack is composed of a plurality of battery cells, but the voltage of each battery cell can deviate irreversibly due to the problems of temperature difference in the battery pack, inconsistent charging and discharging degrees of the battery cells and the like. In the past, the performance of the battery pack is remarkably reduced, even faults such as thermal runaway and vehicle bending over are caused, and driving safety is damaged. For the battery cell with voltage deviation, the voltage data of the battery cell has great difference compared with the normal battery cell, and the battery cell with voltage deviation in the battery pack is found by utilizing the characteristic.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method for judging the cell voltage deviation, which can solve the problem of detecting the cell voltage deviation in a battery pack, thereby timely sending out fault early warning.
In order to achieve the purpose, the invention adopts the following technical scheme that:
a method of determining cell voltage deviation, comprising the steps of:
s1, collecting voltage data Vi (T) of each battery cell within a specific time range T according to a specific frequency T;
wherein Vi (t) represents a voltage value of the i-th cell at the sampling time point t, i =1,2,3.. N; t = T0, T1, T2.. T;
s2, calculating a cell voltage median med (t) at the sampling time point t according to the voltage value of each cell at the sampling time point t: med (t) = mean (Vi (t));
wherein mean (·) represents a median function;
and S3, in the specific time range T, according to the voltage data Vi (T) of each section of the electric core, calculating as follows:
s31, calculating the median pressure difference of each cell at each sampling time point:
dev_med(i,t)=Vi(t)-med(t);
wherein dev _ med (i, t) represents the median pressure difference of the ith cell at the sampling time point t; vi (t) represents the voltage value of the ith cell at the sampling time point t, and med (t) represents the cell voltage median at the sampling time point t;
if dev _ med (i, t) >0, it indicates that the median voltage difference of the i-th cell at the sampling time point t is a forward voltage difference, and is marked as dev _ med _ positive (i, t);
if the dev _ med (i, t) <0, indicating that the median voltage difference of the i-th cell at the sampling time point t is a negative voltage difference, and recording as dev _ med _ newtive (i, t);
s32, calculating the average value of the positive pressure difference and the average value of the negative pressure difference of each battery cell in a specific time range T:
wherein avg _ dev _ positive (i) represents the average value of the forward differential pressure of the ith cell in the specific time range T; avg _ dev _ newtive (i) represents the negative-going differential pressure average value of the ith battery cell in the specific time range T; nip represents the number of forward pressure differences of the ith cell in the T specific time range; nin represents the negative pressure difference number of the ith battery cell in the T within the specific time range;
s33, calculating a positive differential pressure correction variance and a negative differential pressure correction variance of each battery cell within a specific time range T:
wherein, the var _ dev _ positive (i) represents a positive differential pressure correction variance of the ith cell section in the specific time range T, and the var _ dev _ negative (i) represents a negative differential pressure correction variance of the ith cell section in the specific time range T;
s4, respectively judging whether each battery cell is deviated in voltage according to the positive voltage difference correction variance, the negative voltage difference correction variance, the positive voltage difference average value and the negative voltage difference average value of each battery cell, wherein the specific mode is as follows:
if the forward differential pressure correction variance var _ dev _ positive (i) of the ith cell section is greater than a set threshold value s, and the average value avg _ dev _ positive (i) of the forward differential pressure of the ith cell section is greater than a set threshold value u, indicating that the ith cell section has forward deviation;
if the negative pressure difference correction variance var _ dev _ new (i) of the ith section of the battery cell is larger than a set threshold value s, and the negative pressure difference average value avg _ dev _ new (i) of the ith section of the battery cell is larger than a set threshold value u, the ith section of the battery cell is subjected to negative deviation;
if the positive differential pressure correction variance var _ dev _ positive (i) of the ith section of battery cell is greater than a set threshold value s, the positive differential pressure average value avg _ dev _ positive (i) of the ith section of battery cell is greater than a set threshold value u, the negative differential pressure correction variance var _ dev _ negative (i) of the ith section of battery cell is greater than a set threshold value s, and the negative differential pressure average value avg _ dev _ negative (i) of the ith section of battery cell is greater than a set threshold value u, it indicates that the ith section of battery cell has bidirectional deviation;
otherwise, it indicates that the ith power saving core is not deviated.
The invention has the advantages that:
(1) The invention divides the common voltage deviation into positive deviation and negative deviation, which is beneficial to more in-depth research; in detail, the positive deviation and the negative deviation have different properties, the cell in which the negative deviation occurs is often repeated multiple times in a short time, and is accompanied by other abnormal phenomena, such as low voltage and abnormal voltage, and the positive deviation is sporadic and occurs independently. Therefore, the voltage deviation is divided into positive deviation and negative deviation, different fault early warnings are sent out, subsequent targeted fault judgment and fault maintenance are facilitated, and the method has great engineering significance.
(2) The traditional judgment method using the pressure difference average value as the voltage deviation is very easily influenced by extreme values to generate false alarm, the problem can be avoided by adding the pressure difference correction variance as the screening condition, and particularly, the method adopts a double-layer screening structure, firstly screens out the cells with the maximum deviation probability by adopting a simple method, namely a method for judging the pressure difference average value, and then screens out the truly deviated cells by using the threshold value of the pressure difference correction variance.
(3) Because the square term exists in the differential pressure correction variance, the differential pressure correction variance has an amplification function compared with the threshold of the differential pressure average value, and most of the cells with voltage deviation have larger differential pressure correction variance, so that the threshold of the differential pressure correction variance is easier to set than the threshold of the differential pressure average value, the threshold of the differential pressure correction variance can be more reasonably set, and false alarm is avoided.
(4) The method is simple to implement, high in result accuracy and easy to popularize.
The method for performing one-time cutting through the simple pressure difference average value or the probability threshold value is easy to generate false alarm, the pressure difference correction variance is added to serve as a screening condition, and the voltage deviation is judged through the discrete degree, so that the false alarm can be avoided.
Drawings
Fig. 1 is a flowchart of a method for determining a cell voltage deviation according to the present invention.
Fig. 2 is a forward voltage difference correction variance curve of cells in a battery pack.
Fig. 3 is a negative differential pressure correction variance curve for a cell in a battery pack.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a method for determining cell voltage deviation includes the following steps:
s1, collecting voltage data Vi (T) of each battery cell in a specific time range T according to a specific frequency T;
wherein Vi (t) represents a voltage value of the ith cell at the sampling time point t, and i =1,2,3.. N; t = T0, T1, T2.. T;
in this embodiment, the specific time range is defaulted to one day;
s2, calculating a cell voltage median med (t) at the sampling time point t according to the voltage value of each cell at the sampling time point t: med (t) = mean (Vi (t));
wherein, mean (.) represents a median function;
and S3, in the specific time range T, according to the voltage data Vi (T) of each section of the electric core, calculating as follows:
s31, calculating the median pressure difference of each cell at each sampling time point:
dev_med(i,t)=Vi(t)-med(t);
wherein dev _ med (i, t) represents the median pressure difference of the ith cell at the sampling time point t; vi (t) represents the voltage value of the ith cell at the sampling time point t, and med (t) represents the cell voltage median at the sampling time point t;
if dev _ med (i, t) >0, it indicates that the median voltage difference of the i-th cell at the sampling time point t is a forward voltage difference, and is marked as dev _ med _ positive (i, t);
if the dev _ med (i, t) <0, indicating that the median voltage difference of the i-th cell at the sampling time point t is a negative voltage difference, and recording as dev _ med _ newtive (i, t);
s32, calculating the average value of the positive pressure difference and the average value of the negative pressure difference of each battery cell in a specific time range T:
wherein avg _ dev _ positive (i) represents the average value of the forward differential pressure of the ith cell in the specific time range T; avg _ dev _ newtive (i) represents the negative-going differential pressure average value of the ith battery cell in the specific time range T; nip represents the number of forward pressure differences of the ith cell in the T specific time range; nin represents the negative pressure difference number of the ith battery cell in the T within the specific time range;
s33, calculating a positive pressure difference correction variance and a negative pressure difference correction variance of each battery cell in a specific time range T:
wherein, the var _ dev _ positive (i) represents a positive differential pressure correction variance of the ith cell section in the specific time range T, and the var _ dev _ negative (i) represents a negative differential pressure correction variance of the ith cell section in the specific time range T;
s4, respectively judging whether each battery cell is deviated in voltage according to the positive voltage difference correction variance, the negative voltage difference correction variance, the positive voltage difference average value and the negative voltage difference average value of each battery cell, wherein the specific mode is as follows:
if the forward differential pressure correction variance var _ dev _ positive (i) of the ith cell section is greater than a set threshold value s, and the average value avg _ dev _ positive (i) of the forward differential pressure of the ith cell section is greater than a set threshold value u, indicating that the ith cell section has forward deviation;
if the negative pressure difference correction variance var _ dev _ new (i) of the ith section of the battery cell is larger than a set threshold value s, and the negative pressure difference average value avg _ dev _ new (i) of the ith section of the battery cell is larger than a set threshold value u, the ith section of the battery cell is subjected to negative deviation;
if the positive differential pressure correction variance var _ dev _ positive (i) of the ith section of battery cell is greater than a set threshold value s, the positive differential pressure average value avg _ dev _ positive (i) of the ith section of battery cell is greater than a set threshold value u, the negative differential pressure correction variance var _ dev _ negative (i) of the ith section of battery cell is greater than a set threshold value s, and the negative differential pressure average value avg _ dev _ negative (i) of the ith section of battery cell is greater than a set threshold value u, it indicates that the ith section of battery cell has bidirectional deviation;
otherwise, that is, except for the three cases, the other cases indicate that the ith cell section is not deviated.
The invention divides the common voltage deviation into positive deviation and negative deviation, which is beneficial to more in-depth research; in detail, the positive deviation and the negative deviation have different properties, the cell in which the negative deviation occurs is often repeated for a plurality of times in a short time, and is accompanied by other abnormal phenomena, such as low voltage and abnormal voltage, and the positive deviation is sporadic and occurs independently. Therefore, the voltage deviation is divided into positive deviation and negative deviation, different fault early warnings are sent out, subsequent targeted fault judgment and fault maintenance are facilitated, and the method has great engineering significance.
The traditional judgment method using the pressure difference average value as the voltage deviation is very easily influenced by extreme values to generate false alarm, the problem can be avoided by adding the pressure difference correction variance as the screening condition, and particularly, the method adopts a double-layer screening structure, firstly screens out the cells with the maximum deviation probability by adopting a simple method, namely a method for judging the pressure difference average value, and then screens out the truly deviated cells by using the threshold value of the pressure difference correction variance.
Because the pressure difference correction variance has a square term, the voltage difference correction variance has an amplification function compared with the threshold of the pressure difference average value, and most of the battery cells with voltage deviation have larger pressure difference correction variance, so that the threshold of the pressure difference correction variance is easier to set than the threshold of the pressure difference average value, the threshold of the pressure difference correction variance can be more reasonably set, and false alarm is avoided.
As shown in fig. 2 and fig. 3, for a cell with a voltage deviation, the average value of the voltage difference may deviate significantly beyond the corresponding threshold u, and at the same time, the variance of the voltage difference correction may exceed the corresponding threshold s.
In the battery pack, the average value of the forward pressure differences of the No. 3 battery cell and the No. 11 battery cell exceeds the corresponding threshold value u, fig. 2 is a forward pressure difference correction variance curve of the battery cell in the battery pack, and it can be known from fig. 2 that the forward pressure difference correction variance of the No. 3 battery cell and the No. 11 battery cell exceeds the corresponding threshold value s, and the No. 3 battery cell and the No. 11 battery cell generate forward deviation.
The average negative pressure differences of the battery pack 10 and the battery pack 13 both exceed the corresponding threshold u, and fig. 3 is a negative pressure difference correction variance curve of the battery pack, and it can be known from fig. 3 that the negative pressure difference correction variance of the battery pack 13 exceeds the corresponding threshold s, and the battery pack 13 has a negative deviation, but the negative pressure difference correction variance of the battery pack 10 does not exceed the corresponding threshold s, because the negative pressure differences of the battery pack 10 at each moment are slightly higher, the average negative pressure difference of the battery pack 10 exceeds the corresponding threshold u, but the battery pack 10 does not actually fluctuate greatly and has no negative deviation. Therefore, the differential pressure correction variance is added to serve as a screening condition for further judgment, and the truly deviated battery cell can be screened out.
The invention is not to be considered as limited to the specific embodiments shown and described, but is to be understood to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.