Battery Detection Method, Device, Equipment, Storage Medium and Program Product
By sorting and calculating the difference in the battery voltages at the end time of the target time period of the battery, the problem of low accuracy of the battery voltage discreteness in the prior art is solved, and the accuracy of battery detection is improved.
Patent Information
- Application Number
- CN202510294127.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2045-03-13
AI Technical Summary
The prior art has low accuracy in determining the discretency of the cell voltage, resulting in low accuracy of battery detection.
By sorting the voltages of each cell at the end time of the target time period of the battery to be tested, a cell voltage group is formed, the voltage difference degree is calculated, and the first voltage dispersion is determined based on the voltage difference degree, and the battery to be tested is then detected.
The interference of the cell voltage outliers is reduced, the accuracy of the first voltage dispersion is improved, and the accuracy of battery detection is improved.
Smart Images

Figure CN119780739B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a battery detection method, device, equipment, storage medium and program product. Background Art
[0002] The higher the discreteness of the voltage of each battery cell in the battery, that is, the greater the difference between the battery cell voltages, the more it will affect the battery performance, accelerate battery aging, and even pose a safety hazard. Therefore, it is necessary to detect batteries whose battery cell voltages are discrete to a certain extent.
[0003] Currently, the dispersion of the cell voltage is determined based on the extreme value, average value or standard deviation of the cell voltage. However, there is a problem that the accuracy of the determined dispersion of the cell voltage is low, which leads to a low detection accuracy of the battery. Summary of the invention
[0004] Based on this, it is necessary to provide a battery detection method, device, equipment, storage medium and program product that can improve the accuracy of battery detection in response to the above technical problems.
[0005] In a first aspect, the present application provides a battery detection method. The method comprises:
[0006] The voltages of the cells at the end of the target time period within the test time period of each test battery are sorted to obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than the preset duration, and each test battery includes batteries with the same battery information;
[0007] Two adjacent cell voltages in the sorting result are used as cell voltage groups, and the voltage difference of each cell voltage group is determined according to the two cell voltages in each cell voltage group;
[0008] Determine a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference;
[0009] According to the first voltage dispersion corresponding to the target time period in each time period of each battery to be tested in the preset time window, each battery to be tested is tested to obtain a test result; each time period includes the time period to be tested and a preset number of time periods before the time period to be tested, and the duration of each time period is the same.
[0010] The battery detection method provided in this embodiment sorts the voltages of each battery cell at the end moment in the target time period of the battery to obtain a sorting result, takes two adjacent battery cell voltages in the sorting result as a battery cell voltage group, determines the voltage difference degree of each battery cell voltage group according to the two battery cell voltages in each battery cell voltage group, and further determines the first voltage dispersion degree of the battery under test corresponding to the end moment according to each voltage difference degree. According to the first voltage dispersion degree corresponding to the target time period of each battery under test in the test time period, each battery under test is detected to obtain a detection result. This battery cell detection method can reduce the interference of abnormal battery cell voltages, improve the accuracy of the obtained first voltage dispersion degree, and detect each battery under test according to the first voltage dispersion degree corresponding to the target time period of each battery under test in the test time period, which can improve the accuracy of the detection result obtained by detecting the battery.
[0011] In one embodiment, determining the voltage difference degree of each battery cell voltage group according to the two battery cell voltages in each battery cell voltage group includes:
[0012] Determine the voltage difference between the two battery cell voltages in each battery cell voltage group;
[0013] Determine the corresponding voltage difference degree according to the voltage difference of each battery cell voltage group.
[0014] The method provided in this embodiment determines the voltage difference between the two battery cell voltages in each battery cell voltage group and determines the corresponding voltage difference degree according to the voltage difference of each battery cell voltage group, thereby providing a basis for determining the first voltage dispersion degree of the battery under test corresponding to the end moment based on the voltage difference degree, and can reduce the interference of abnormal battery cell voltages, thereby improving the accuracy of the obtained first voltage dispersion degree.
[0015] In one embodiment, determining the first voltage dispersion degree of the battery under test corresponding to the end moment according to each voltage difference degree includes:
[0016] Determine the first median of each voltage difference degree;
[0017] Determine the first voltage dispersion degree according to the first median.
[0018] The method provided in this embodiment determines the first median of each voltage difference degree and determines the first voltage dispersion degree according to the first median, thereby reducing the interference of abnormal battery cell voltages and improving the accuracy of the obtained first voltage dispersion degree.
[0019] In one embodiment, detecting each battery under test according to the first voltage dispersion degree corresponding to the end moment of each time period of each battery under test in a preset time window to obtain a detection result includes:
[0020] For each battery to be tested, determine the second voltage dispersion corresponding to each time period according to the first voltage dispersion corresponding to the target time period within each time period of the battery to be tested;
[0021] Perform a test on each battery to be tested based on the second voltage dispersion corresponding to each time period of each battery to be tested to obtain a test result.
[0022] In the method provided in this embodiment, by determining the second voltage dispersion corresponding to each time period according to the first voltage dispersion corresponding to the target time period within each time period of the battery to be tested, the accuracy of the second voltage dispersion of the battery to be tested in each time period obtained can be improved, and further the accuracy of the test result determined based on the second voltage dispersion can be improved.
[0023] In one of the embodiments, determining the second voltage dispersion corresponding to each time period according to the first voltage dispersion corresponding to the target time period within each time period of the battery to be tested includes:
[0024] For each time period, determine the second median of the first voltage dispersions corresponding to each target time period within the time period, and determine the second voltage dispersion corresponding to the time period according to the second median.
[0025] In the method provided in this embodiment, by determining the second median of the first voltage dispersions corresponding to each target time period within the time period to be tested and determining the second voltage dispersion corresponding to the time period according to the second median, the interference of the outlier of the first voltage dispersion can be reduced, and the accuracy of the obtained second voltage dispersion can be further improved.
[0026] In one of the embodiments, the preset time window includes a first preset time window. Performing a test on each battery to be tested based on the second voltage dispersion corresponding to each time period of each battery to be tested to obtain a test result includes:
[0027] Determine a dispersion threshold according to the second voltage dispersions of each battery to be tested in each first time period within the first preset time window; each first time period includes the time period to be tested and the first preset number of time periods before the time period to be tested, and the durations of each first time period are the same;
[0028] Perform a test on each battery to be tested based on the dispersion threshold and the second voltage dispersion of each battery to be tested in the time period to be tested to obtain a test result.
[0029] The method provided in this embodiment determines a dispersion threshold according to the second voltage dispersion of each battery under test in each first time period within a first preset time window, and performs detection on each battery under test based on the dispersion threshold and the second voltage dispersion of each battery under test in the time period under test to obtain a detection result. Thus, it is possible to perform anomaly detection on abnormal batteries among multiple batteries under test with the same battery information. Moreover, since the dispersion threshold is based on the second battery detection of each battery under test within the first preset time window, the accuracy of abnormal battery detection can be improved.
[0030] In one embodiment, determining the dispersion threshold according to the second voltage dispersion of each battery under test in each first time period within a first preset time window includes:
[0031] Determine the first quartile and the third quartile of the second voltage dispersion of each battery under test in each first time period;
[0032] Determine the first difference between the third quartile and the first quartile, and determine the first product of the first difference and a first preset coefficient;
[0033] Determine the dispersion threshold according to the sum of the first product and the third quartile.
[0034] The method provided in this embodiment determines the first quartile and the third quartile of the second voltage dispersion of each battery under test in each first time period, determines the first difference between the third quartile and the first quartile, and determines the first product of the first difference and a first preset coefficient, and then determines the dispersion threshold according to the sum of the first product and the third quartile, thereby improving the accuracy of the obtained dispersion threshold and the accuracy of anomaly detection for abnormal batteries among multiple batteries under test with the same battery information.
[0035] In one embodiment, performing detection on each battery under test based on the dispersion threshold and the second voltage dispersion of each battery under test in the time period under test to obtain a detection result includes:
[0036] For each battery under test, if the second voltage dispersion of the battery under test in the time period under test is greater than the dispersion threshold, determine that the detection result of the battery under test is that the battery under test is abnormal.
[0037] The method provided in this embodiment, for each battery under test, if the second voltage dispersion of the battery under test in the time period under test is greater than the dispersion threshold, determines that the detection result of the battery under test is that the battery under test is abnormal, thereby realizing anomaly detection for abnormal batteries among multiple batteries under test and improving the accuracy of abnormal battery detection.
[0038] In one embodiment, each time period includes each second time period within a second preset time window. According to the second voltage dispersion of each battery under test corresponding to each time period, the batteries under test are detected to obtain a detection result, including:
[0039] For each battery under test, according to the second voltage dispersion of the battery under test corresponding to each second time period and each second time period, determine the voltage dispersion deterioration rate of the battery under test corresponding to the time period to be measured; each second time period includes the time period to be measured and a second preset number of time periods before the time period to be measured, and the duration of each second time period is the same;
[0040] According to the voltage dispersion deterioration rate of each battery under test under each third time period within a third preset time window, the batteries under test are detected to obtain a detection result; each third time period includes the time period to be measured and a third preset number of time periods before the time period to be measured, and the duration of each third time period is the same.
[0041] The method provided in this embodiment determines the voltage dispersion deterioration rate of the battery under test corresponding to the time period to be measured by according to the second voltage dispersion of the battery under test corresponding to each second time period and each second time period, and detects each battery under test according to the voltage dispersion deterioration rate of each battery under test under each third time period within a third preset time window to obtain a detection result. This embodiment improves the accuracy of the determined voltage dispersion deterioration rate, and further improves the accuracy of the detection result obtained by detecting each battery under test based on the voltage dispersion deterioration rate.
[0042] In one embodiment, determining the voltage dispersion deterioration rate of the battery under test corresponding to the time period to be measured according to the second voltage dispersion of the battery under test corresponding to each second time period and each second time period includes:
[0043] Perform fitting on the second voltage dispersion of the battery under test corresponding to each second time period and each second time period to obtain a fitting line;
[0044] Determine the voltage dispersion deterioration rate according to the slope of the fitting line.
[0045] The method provided in this embodiment performs fitting on the second voltage dispersion of the battery under test corresponding to each second time period and each second time period to obtain a fitting line, and determines the voltage dispersion deterioration rate according to the slope of the fitting line, thereby improving the accuracy of the determined voltage dispersion deterioration rate.
[0046] In one embodiment, detecting each battery under test according to the voltage dispersion deterioration rate of each battery under test under each third time period within a third preset time window to obtain a detection result includes:
[0047] Determine a deterioration rate threshold according to the voltage dispersion deterioration rate of each battery under test in each third time period within a third preset time window;
[0048] Based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery under test in the time period under test, perform detection on each battery under test to obtain a detection result.
[0049] The method provided in this embodiment determines a deterioration rate threshold according to the voltage dispersion deterioration rate of each battery under test in each third time period within a third preset time window, and based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery under test in the time period under test, performs detection on each battery under test to obtain a detection result, so as to realize anomaly detection of abnormal batteries among multiple batteries under test with the same battery information. And since the deterioration rate threshold is determined based on the voltage dispersion deterioration rate of each battery under test within a third preset time window, the accuracy of abnormal battery detection can be improved.
[0050] In one embodiment, determining a deterioration rate threshold according to the voltage dispersion deterioration rate of each battery under test in each third time period within a third preset time window includes:
[0051] Determine the first quartile and the third quartile of the voltage dispersion deterioration rate of each battery under test in each third time period within a third preset time window;
[0052] Determine the second difference between the third quartile and the first quartile, and determine the second product of the second difference and a second preset coefficient;
[0053] Determine the deterioration rate threshold according to the sum of the second product and the third quartile.
[0054] The method provided in this embodiment determines the first quartile and the third quartile of the voltage dispersion deterioration rate of each battery under test in each third time period within a third preset time window, determines the second difference between the third quartile and the first quartile, and determines the second product of the second difference and a second preset coefficient, and then determines the deterioration rate threshold according to the sum of the second product and the third quartile, thereby improving the accuracy of the obtained deterioration rate threshold and improving the accuracy of anomaly detection of abnormal batteries among multiple batteries under test with the same battery information.
[0055] In one embodiment, based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery under test in the time period under test, performing detection on each battery under test to obtain a detection result includes:
[0056] For each battery under test, if the deterioration rate of the voltage dispersion of the battery under test in the time period under test is greater than the deterioration rate threshold, it is determined that the test result of the battery under test is abnormal.
[0057] The method provided in this embodiment realizes the abnormal detection of abnormal batteries among multiple batteries under test and improves the accuracy of abnormal battery detection by determining that the test result of the battery under test is abnormal if the deterioration rate of the voltage dispersion of the battery under test in the time period under test is greater than the deterioration rate threshold for each battery under test.
[0058] In one embodiment, the method further includes:
[0059] For each battery under test, if the current at multiple moments of the battery under test is less than the preset current and the total duration corresponding to the multiple moments is greater than the preset duration, the time period corresponding to the multiple moments is used as the candidate time period;
[0060] Determine the target state of charge according to the cell voltage at the end moment of the battery under test in the candidate time period;
[0061] Determine the target time period from the candidate time periods according to the target state of charge and the preset state of charge interval corresponding to the type of the battery under test.
[0062] The method provided in this embodiment improves the accuracy of the first voltage dispersion obtained based on the cell voltages at the end moment of the target time period of the battery under test by determining the target time period from the candidate time periods according to the target state of charge and the preset state of charge interval corresponding to the type of the battery under test.
[0063] In one embodiment, determining the target state of charge according to the cell voltage at the end moment of the battery under test in the candidate time period includes:
[0064] Determine the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moment in the candidate time period;
[0065] Determine the target cell voltage according to the remaining cell voltages; the remaining cell voltages include the cell voltages other than the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moment in the candidate time period;
[0066] Determine the target state of charge based on the target cell voltage and the preset relationship corresponding to the type of the battery under test; the preset relationship includes the corresponding relationship between the preset voltage and the state of charge.
[0067] The method provided in this embodiment determines the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moments in the candidate time period, determines the target cell voltage based on the cell voltages other than the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moments in the candidate time period, and determines the target state of charge based on the target cell voltage and the preset corresponding relationship between the voltage and the state of charge. Since the maximum cell voltage and the minimum cell voltage are removed, the accuracy of the determined target cell voltage is higher, and thus the accuracy of the obtained target state of charge is improved.
[0068] In one embodiment, determining the target time period from the candidate time periods according to the target state of charge and the preset state-of-charge interval corresponding to the type of the battery to be measured includes:
[0069] If the target state of charge is within the preset state-of-charge interval corresponding to the type of the battery to be measured, the candidate time period is used as the target time period.
[0070] The method provided in this embodiment, when the target state of charge is within the preset state-of-charge interval corresponding to the type of the battery to be measured, uses the candidate time period as the target time period, so that the target state of charge corresponding to each determined target time period is within the same preset state-of-charge interval, and thus the accuracy of the second voltage dispersion in the to-be-measured time period obtained by improving the first voltage dispersion based on the end moments of multiple target time periods is improved.
[0071] In a second aspect, the present application also provides a battery detection device. The device includes:
[0072] A sorting module for sorting the cell voltages at the end moments in the target time period within the to-be-measured time period of each to-be-measured battery to obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than a preset duration, and each of the to-be-measured batteries includes batteries with the same battery information;
[0073] A first determination module for taking two adjacent cell voltages in the sorting result as a cell voltage group, and determining the voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group;
[0074] A second determination module for determining the first voltage dispersion of the to-be-measured battery corresponding to the end moment according to each voltage difference degree.
[0075] A detection module for detecting each to-be-measured battery according to the first voltage dispersion corresponding to the target time period in each time period within a preset time window to obtain a detection result; each time period includes the to-be-measured time period and a preset number of time periods before the to-be-measured time period, and the durations of each time period are the same.
[0076] In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0077] Sort the cell voltages at the end moment in the target time period within the measurement time period of each battery to be measured, and obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than a preset duration. Each battery to be measured includes batteries with the same battery information;
[0078] Take two adjacent cell voltages in the sorting result as a cell voltage group, and determine the voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group;
[0079] Determine the first voltage dispersion degree of the battery to be measured corresponding to the end moment according to each voltage difference degree;
[0080] Detect each battery to be measured according to the first voltage dispersion degree corresponding to the target time period in each time period within the preset time window of each battery to be measured, and obtain a detection result; each time period includes the measurement time period and a preset number of time periods before the measurement time period, and the durations of each time period are the same.
[0081] In a fourth aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0082] Sort the cell voltages at the end moment in the target time period within the measurement time period of each battery to be measured, and obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than a preset duration. Each battery to be measured includes batteries with the same battery information;
[0083] Take two adjacent cell voltages in the sorting result as a cell voltage group, and determine the voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group;
[0084] Determine the first voltage dispersion degree of the battery to be measured corresponding to the end moment according to each voltage difference degree;
[0085] Detect each battery to be measured according to the first voltage dispersion degree corresponding to the target time period in each time period within the preset time window of each battery to be measured, and obtain a detection result; each time period includes the measurement time period and a preset number of time periods before the measurement time period, and the durations of each time period are the same.
[0086] In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program which, when executed by a processor, implements the following steps:
[0087] Sort the cell voltages at the end time of the target time period within the measurement time period of each battery to be measured to obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than a preset duration. Each battery to be measured includes batteries with the same battery information.
[0088] Take two adjacent cell voltages in the sorting result as a cell voltage group, and determine the voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group.
[0089] Determine the first voltage dispersion degree of the battery to be measured corresponding to the end time according to each voltage difference degree.
[0090] Detect each battery to be measured according to the first voltage dispersion degree corresponding to the target time period in each time period within a preset time window of each battery to be measured to obtain a detection result; each time period includes the measurement time period and a preset number of time periods before the measurement time period, and the durations of each time period are the same.
[0091] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the following specifically illustrates the specific embodiments of the present application. Description of the Drawings
[0092] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present application. And in all the drawings, the same reference numerals are used to represent the same components. In the drawings:
[0093] Figure 1 is a schematic internal structure diagram of a computer device provided by an embodiment of the present application;
[0094] Figure 2 is a schematic flowchart of a battery detection method provided by an embodiment of the present application;
[0095] Figure 3 is a schematic flowchart of a method for determining the first voltage dispersion degree provided by an embodiment of the present application;
[0096] Figure 4 is a schematic flowchart of another battery detection method provided by an embodiment of the present application;
[0097] Figure 5 It is the second schematic flowchart of the battery detection method provided by the embodiments of the present application;
[0098] Figure 6 It is the third schematic flowchart of the battery detection method provided by the embodiments of the present application;
[0099] Figure 7 It is the schematic flowchart of a method for determining a dispersion threshold provided by the embodiments of the present application;
[0100] Figure 8 It is the fourth schematic flowchart of the battery detection method provided by the embodiments of the present application;
[0101] Figure 9 It is the schematic flowchart of a method for determining the deterioration rate of voltage dispersion provided by the embodiments of the present application;
[0102] Figure 10 It is the fifth schematic flowchart of the battery detection method provided by the embodiments of the present application;
[0103] Figure 11 It is the schematic flowchart of a method for determining a deterioration rate threshold provided by the embodiments of the present application;
[0104] Figure 12 It is the schematic flowchart of a method for determining a target time period provided by the embodiments of the present application;
[0105] Figure 13 It is the schematic flowchart of a method for determining a target state of charge provided by the embodiments of the present application;
[0106] Figure 14 It is the overall schematic flowchart of a battery detection method provided by the embodiments of the present application;
[0107] Figure 15 It is the structural block diagram of a battery detection device provided by the embodiments of the present application;
[0108] Figure 16 It is the structural block diagram of a detection module provided by the embodiments of the present application;
[0109] Figure 17 It is the structural block diagram of a detection unit provided by the embodiments of the present application;
[0110] Figure 18 It is the structural block diagram of another detection module provided by the embodiments of the present application;
[0111] Figure 19 It is the structural block diagram of a target time period determination device provided by the embodiments of the present application. Detailed implementation manners
[0112] The embodiments of the technical solution of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and therefore are only examples and cannot be used to limit the protection scope of the present application.
[0113] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.
[0114] In the description of the embodiments of this application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "a plurality" is more than two, unless otherwise specifically defined.
[0115] Referring to "embodiments" herein means that the specific features, structures or characteristics described in connection with the embodiments may be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
[0116] In the description of the embodiments of this application, the term "and / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.
[0117] In the description of the embodiments of this application, the term "a plurality" refers to more than two (including two). Similarly, "a plurality of groups" refers to more than two groups (including two groups), and "a plurality of pieces" refers to more than two pieces (including two pieces).
[0118] The higher the dispersion of the voltages of the individual battery cells in the battery, that is, the greater the difference between the cell voltages, will affect the battery performance, accelerate the battery aging, and even pose a safety hazard. Therefore, it is necessary to detect the battery in which the voltage of the battery cells is dispersed to a certain extent.
[0119] Currently, the dispersion of the cell voltage is determined based on the extreme value, average value, or standard deviation of the cell voltage. However, there is a problem of low accuracy in determining the dispersion of the cell voltage. For example, if there are 100 cells in a battery and there are individual cells with relatively large capacities among the 100 cells, after the battery discharges for a period of time, the cell voltage of the cells with relatively large capacities is significantly higher than that of other cells, that is, there are outlier cell voltages. Such outlier cell voltages are relatively large. In this case, when using the method of extreme value, average value, or standard deviation to determine the dispersion of the cell voltages of each cell in the battery, since the method for determining the dispersion is affected by extreme values such as the maximum value and the minimum value, the accuracy of the determined dispersion is not high. That is, it will be considered that the cell voltages of the battery are dispersed based on the determined dispersion, and the battery will be detected and considered an abnormal battery. However, in fact, since the cell voltages of individual cells in the battery are high, it will not affect the performance of the battery. Therefore, it is not necessary to detect this battery. That is, due to the problem of low accuracy of the method for determining the dispersion, the battery is misdetected. Therefore, how to improve the accuracy of battery detection based on the dispersion has become an urgent problem to be solved in this field.
[0120] To solve the above technical problems, an embodiment of the present application provides a battery detection method, which can be applied to a computer device such as Figure 1 shown. The computer device can be a terminal. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a battery detection method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, a touchpad, or a mouse, etc.
[0121] Those skilled in the art can understand that Figure 1 the structure shown in is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0122] In order to introduce the embodiments of the present application more clearly, Figure 2 Introduction, such as Figure 2 As shown, Figure 2 This is one of the flow charts of a battery detection method provided in an embodiment of the present application, in which the method is applied to Figure 1 The computer device in the example is used to illustrate, and the method includes the following steps S201-S203:
[0123] S201, sorting the voltages of the cells at the end of the target time period within the test time period of each battery to be tested to obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than the preset duration, and each battery to be tested includes batteries with the same battery information.
[0124] Each battery to be tested is a battery of the same batch and model, that is, the battery information of each battery to be tested is the same, and the battery information may at least include the batch information and model information of the battery, that is, each battery to be tested is a battery of the same battery project. The length of a time period to be tested may be one day, or the length of a time period to be tested may include multiple days, or the length of a time period to be tested may include one week, etc. Taking the length of a time period to be tested including one day as an example, the time period to be tested is the day in which the target time period is located, and a time period to be tested may include at least one target time period.
[0125] In this embodiment, the BMS of electric vehicles such as electric vehicles and electric ships can report the collected data of the battery at multiple moments to the cloud, and the collected data includes but is not limited to the cell voltage, current, state of charge (SOC) and other data of each cell in the battery. The computer device can obtain the collected data of the battery at multiple moments from the cloud through network transmission. In one possible implementation, in order to improve the validity and availability of the data, the collected data can be cleaned to eliminate abnormal collected data, and the target time period is determined based on the collected data at each moment after eliminating the abnormal collected data. Exemplarily, if the current in the collected data at a certain moment is abnormal, the collected data at that moment is eliminated.
[0126] In a possible implementation, after removing abnormal collected data, the remaining collected data at each moment is obtained. If there are currents at multiple moments among the remaining currents at each moment that are less than a preset current, and the total duration corresponding to these multiple moments is greater than a preset duration, then the time period corresponding to these multiple moments is taken as the target time period. It should be noted that in order to obtain the cell voltage when the cell is in a relatively stable state, the current at each moment in this embodiment can be the current in units of rate, that is, by dividing the original current in the collected data corresponding to the moment by the capacity of the battery to obtain the current in units of rate. Exemplarily, after removing abnormal collected data, the remaining collected data at each moment is obtained, and the original current in the remaining collected data at each moment is converted into the current in units of rate. If there are currents at multiple moments among the remaining currents in units of rate at each moment that are less than 0.05C, and the duration corresponding to these multiple moments is greater than 1 hour, then the time period corresponding to these moments can be taken as the target time period. Among them, 0.05C is the preset current, and 1 hour is the preset duration.
[0127] In another possible implementation, after removing abnormal collected data, the remaining collected data at each moment is obtained. If there are currents at multiple moments among the remaining currents at each moment that are less than a preset current, and the total duration corresponding to these multiple moments is greater than a preset duration, then the time period corresponding to these multiple moments is taken as the candidate time period. Remove the maximum cell voltage and the minimum cell voltage in the collected data corresponding to the end moment under the candidate time period to obtain the remaining cell voltage corresponding to the end moment. Calculate the average value of the remaining cell voltages, and then determine the SOC corresponding to this average value according to the corresponding relationship between voltage and SOC. If the SOC corresponding to this average value is within the preset SOC interval corresponding to the type of this battery, then the candidate time period is taken as the target time period.
[0128] In yet another possible implementation, after removing abnormal collected data, the remaining collected data at each moment is obtained. If there are currents at multiple moments among the remaining currents at each moment that are less than a preset current, and the total duration corresponding to these multiple moments is greater than a preset duration, then the time period corresponding to these multiple moments is taken as the candidate time period. If the SOC in the collected data corresponding to the end moment under the candidate time period is within the preset SOC interval corresponding to the type of this battery, then the candidate time period is taken as the target time period.
[0129] In this embodiment, the cell voltages corresponding to the end moments in the target time period of the battery can be sorted in ascending order according to the magnitude of the cell voltage to obtain a sorting result. Or the cell voltages corresponding to the end moments in the target time period of the battery can be sorted in descending order according to the magnitude of the cell voltage to obtain a sorting result.
[0130] S202. Take two adjacent cell voltages in the sorting result as a cell voltage group, and determine the voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group.
[0131] Taking the example that the cell voltages at the end moment in the target time period of the battery are sorted in ascending order to obtain the sorting result, any two adjacent cell voltages in the sorting result can be used as a cell voltage group. In one possible implementation, the voltage difference between the two cell voltages in each cell voltage group can be determined, and the corresponding voltage difference degree can be determined according to the voltage differences of each cell voltage group. Among them, for each cell voltage group, if the first cell voltage in the two cell voltages in the cell voltage group is greater than the second cell voltage, it is determined that the first cell voltage minus the second cell voltage obtains the voltage difference, and the voltage difference corresponding to the cell voltage group is used as the voltage difference degree of the cell voltage group. The voltage difference is positively correlated with the voltage difference degree, that is, the greater the voltage difference, the greater the voltage difference degree corresponding to the voltage difference. Or, it is determined that the second cell voltage minus the first cell voltage obtains the voltage difference, and the absolute value of the voltage difference corresponding to the cell voltage group is used as the voltage difference degree of the cell voltage group. The absolute value of the voltage difference is positively correlated with the voltage difference degree, that is, the greater the absolute value of the voltage difference, the greater the voltage difference degree corresponding to the absolute value of the voltage difference.
[0132] In another possible implementation, the voltage quotient of the two cell voltages in each cell voltage group can be determined, and the corresponding voltage difference degree can be determined according to the voltage quotients of each cell voltage group. Among them, for each cell voltage group, if the first cell voltage in the two cell voltages in the cell voltage group is greater than the second cell voltage, it is determined that the first cell voltage divided by the second cell voltage obtains the voltage quotient, and the voltage quotient corresponding to the cell voltage group is used as the voltage difference degree of the cell voltage group. The voltage quotient is positively correlated with the corresponding voltage difference degree, that is, the greater the voltage quotient, the greater the voltage difference degree corresponding to the voltage quotient.
[0133] S203. Determine the first voltage dispersion degree of the battery under test corresponding to the end moment according to each voltage difference degree.
[0134] In a possible implementation, determine the voltage difference between two cell voltages in each cell voltage group, and use the voltage difference of each cell voltage group as the corresponding voltage difference degree. The median of the voltage difference degrees of each cell voltage group can be used as the first voltage dispersion degree of the battery under test corresponding to the end time. Exemplarily, taking the end time as t1, at time t1, there are a total of n cell voltages from Vt1,1 to Vt1,n, where n is an integer greater than 1, and Vt1,1 to Vt1,n are the sorting results after ascending order. Obtain the voltage differences ΔVt1,1 to ΔVt1,n-1 between any two adjacent cell voltages, and find the 50th percentile value, i.e., the median, of ΔVt1,1 to ΔVt1,n-1, and use this median as the first voltage dispersion degree of the battery under test at time t1. Among them, ΔVt1,1 = Vt1,2 - Vt1,1, and ΔVt1,n-1 = Vt1,n - Vt1,n-1.
[0135] In another possible implementation, it is also possible to calculate the average value or standard deviation, etc. of ΔVt1,1 to ΔVt1,n-1, and use the calculated average value or standard deviation as the first voltage dispersion degree of the battery under test at time t1. Exemplarily, if n = 100, a total of 99 voltage differences, namely ΔVt1,1, ΔVt1,2,..., ΔVt1,99, are calculated. The average value or standard deviation, etc. of the 99 voltage differences can be calculated, and the calculated average value or standard deviation is used as the first voltage dispersion degree of the battery under test at time t1.
[0136] S204. According to the first voltage dispersion degree corresponding to the target time period in each time period within the preset time window for each battery under test, perform detection on each battery under test to obtain a detection result.
[0137] Among them, each time period includes the time period to be measured and a preset number of time periods before the time period to be measured, and the duration of each time period is the same.
[0138] In a possible implementation, for each battery under test, according to the first voltage dispersion corresponding to the target time period in each time cycle of the battery under test, determine the second voltage dispersion corresponding to each time cycle; according to the second voltage dispersion corresponding to each battery under test in each time cycle, perform detection on each battery under test to obtain a detection result. Taking the time length of a time cycle under test as one day as an example, the time cycle under test is the day when the target time period is located. If the day is December 31, 2024, then there can be multiple target time periods within December 31, 2024. Exemplarily, for a certain battery under test, the corresponding multiple target time periods include target time period 1 with an end time of t1, target time period 2 with an end time of t2, and target time period 3 with an end time of t3. Then, according to the first voltage dispersion 1 corresponding to the end time of t1, the first voltage dispersion 2 corresponding to the end time of t2, and the first voltage dispersion 3 corresponding to the end time of t3, determine the second voltage dispersion of the battery under test on December 31, 2024. Among them, the median of the first voltage dispersions corresponding to the end times of each target time period can be used as the second voltage dispersion of the battery under test in the time cycle under test. Exemplarily, the median of the first voltage dispersion 1, the first voltage dispersion 2, and the first voltage dispersion 3 can be used as the second voltage dispersion of the battery under test on December 31, 2024. Alternatively, the average value or standard deviation of the first voltage dispersions corresponding to the end times of each target time period can be used as the second voltage dispersion of the battery under test in the time cycle under test. The method for determining the second voltage dispersion of this battery under test corresponding to other time cycles, as well as the method for determining the second voltage dispersion of other batteries under test corresponding to each time cycle, are similar to the method for determining the second voltage dispersion of this battery under test in the time cycle under test, and will not be elaborated here.
[0139] In a possible implementation, if the number of target time periods in each time cycle of each battery under test within the preset time window is one, that is, each battery under test corresponds to one first voltage dispersion in each time cycle within the preset time window, then the average value of the first voltage dispersions corresponding to each battery under test in each time cycle within the preset time window can be determined, and this average value is used as the dispersion threshold. If the first voltage calculation degree corresponding to the target time period of a certain battery under test within the time cycle under test is greater than this dispersion threshold, it can be determined that the voltage dispersion of this battery under test is too large, and it can be determined that this battery under test is an abnormal battery.
[0140] The battery detection method provided in this embodiment is to obtain the sorting result by sorting the cell voltages at the end time of the target time period within the test time period of the test battery, and taking the two adjacent cell voltages in the sorting result as the cell voltage group, and determining the voltage difference of each cell voltage group according to the two cell voltages in each cell voltage group, and then determining the first voltage dispersion of the test battery corresponding to the end time according to each voltage difference, and detecting each test battery according to the first voltage dispersion corresponding to the target time period within the test time period to obtain the detection result. The cell battery detection method can reduce the interference of cell voltage outliers, improve the accuracy of the obtained first voltage dispersion, and detect the test battery according to the first voltage dispersion corresponding to the target time period within the test time period of each test battery, which can improve the accuracy of the detection result obtained by detecting the battery.
[0141] In one embodiment, Figure 3 As shown, Figure 3 The above-mentioned step S202 of "determining the voltage difference of each battery cell voltage group according to the two battery cell voltages in each battery cell voltage group" may include the following steps S301-S302:
[0142] S301, determining a voltage difference between two battery cell voltages in each battery cell voltage group.
[0143] S302, determining a corresponding voltage difference according to the voltage difference of each battery cell voltage group.
[0144] Exemplarily, in combination with the above examples, a total of n-1 voltage differences from ΔVt1,1 to ΔVt1,n-1 can be obtained, and the voltage difference corresponding to cell voltage group 1 is determined according to ΔVt1,1, and the voltage difference corresponding to cell voltage group 2 is determined according to ΔVt1,1, and so on, the voltage difference corresponding to cell voltage group n-1 is determined according to ΔVt1,n-1. Among them, cell voltage group 1 includes two adjacent cell voltages Vt1,2 and Vt1,1, cell voltage group 2 includes two adjacent cell voltages Vt1,3 and Vt1,2, and so on, cell voltage group n-1 includes two adjacent cell voltages Vt1,n and Vt1,n-1.
[0145] The voltage difference between each cell voltage group may be used as the voltage difference degree of the cell voltage group, or, for each cell voltage group, the product obtained by multiplying the voltage difference between the cell voltage group and the first preset value may be used as the voltage difference degree of the cell voltage group.
[0146] The method provided in this embodiment determines the voltage difference between two cell voltages in each cell voltage group, and determines the corresponding voltage difference degree according to the voltage difference degrees of each cell voltage group, thereby providing a basis for determining the first voltage dispersion degree of the battery under test corresponding to the end time based on the voltage difference degree, and can reduce the interference of outlier cell voltages, thereby improving the accuracy of the obtained first voltage dispersion degree.
[0147] In one embodiment, as Figure 4 shown, Figure 4 is a schematic flowchart of a method for determining the first voltage dispersion degree provided by an embodiment of the present application. This embodiment relates to a possible implementation manner of how to determine the first voltage dispersion degree of the battery under test corresponding to the end time according to each voltage difference degree. On the basis of the above embodiment, the above S203 may include the following steps S401 - S402:
[0148] S401, determine the first median of each voltage difference degree.
[0149] S402, determine the first voltage dispersion degree according to the first median.
[0150] The first median of each voltage difference degree can be used as the first voltage difference degree, or the product obtained by multiplying the first median by a second preset value can be used as the first voltage dispersion degree.
[0151] The method provided in this embodiment determines the first median of each voltage difference degree and determines the first voltage dispersion degree according to the first median, thereby reducing the interference of outlier cell voltages and improving the accuracy of the obtained first voltage dispersion degree.
[0152] In one embodiment, as Figure 5 shown, Figure 5 is the second schematic flowchart of the battery detection method provided by an embodiment of the present application. This embodiment relates to a possible implementation manner of how to detect each battery under test to obtain a detection result according to the first voltage dispersion degree corresponding to the end time of each battery under test in each time period within a preset time window. On the basis of the above embodiment, the above S204 may include the following steps S501 - S502:
[0153] S501, for each battery under test, determine the second voltage dispersion degree corresponding to each time period according to the first voltage dispersion degree corresponding to the target time period within each time period of the battery under test.
[0154] S502, detect each battery under test according to the second voltage dispersion degree corresponding to each time period of each battery under test to obtain a detection result.
[0155] In a possible implementation, the preset time window includes a first preset time window. The dispersion threshold is determined according to the second voltage dispersion of each battery under test in each first time period within the first preset time window. Based on the dispersion threshold and the second voltage dispersion of each battery under test in the time period under test, each battery under test is detected to obtain a detection result. Wherein, each first time period includes the time period under test and a first preset number of time periods before the time period under test, and the durations of each first time period are the same.
[0156] In another possible implementation, each time period includes each second time period within a second preset time window. For each battery under test, according to the second voltage dispersion of the battery under test corresponding to each second time period and each second time period, the voltage dispersion deterioration rate of the battery under test corresponding to the time period under test is determined. According to the voltage dispersion deterioration rate of each battery under test in each third time period within a third preset time window, each battery under test is detected to obtain a detection result. Wherein, each second time period includes the time period under test and a second preset number of time periods before the time period under test, the durations of each second time period are the same, each third time period includes the time period under test and a third preset number of time periods before the time period under test, and the durations of each third time period are the same.
[0157] The method provided in this embodiment can improve the accuracy of the second voltage dispersion of each battery under test in each time period obtained by determining the second voltage dispersion corresponding to each time period according to the first voltage dispersion corresponding to the target time period of each battery under test in each time period, and further improve the accuracy of the detection result determined based on the second voltage dispersion.
[0158] In one embodiment, the above-mentioned determination of the second voltage dispersion corresponding to each time period according to the first voltage dispersion corresponding to the target time period of each battery under test in each time period can be implemented in the following manner:
[0159] For each time period, determine the second median of the first voltage dispersion corresponding to each target time period within the time period, and determine the second voltage dispersion corresponding to the time period according to the second median.
[0160] The second median is the 50th percentile of the first voltage dispersion corresponding to each target time period within a time period, and the second median can be used as the second voltage dispersion. Alternatively, the product obtained by multiplying the second median by a third preset value is used as the second voltage dispersion.
[0161] The method provided in this embodiment determines the second median of the first voltage dispersion corresponding to each target time period within a time cycle, and determines the second voltage dispersion corresponding to the time cycle according to the second median, thereby reducing the interference of outliers in the first voltage dispersion and further improving the accuracy of the obtained second voltage dispersion.
[0162] In one embodiment, referring to Figure 6 , Figure 6 FIG. 3 is a schematic flowchart of a battery detection method provided in an embodiment of the present application. The preset time window in this embodiment includes a first preset time window. The above S502, according to the second voltage dispersion corresponding to each battery under test in each time cycle, detecting each battery under test to obtain a detection result may include the following steps S601-S602:
[0163] S601, determine a dispersion threshold according to the second voltage dispersion of each battery under test in each first time cycle within the first preset time window; each first time cycle includes a time cycle to be measured and a first preset number of time cycles before the time cycle to be measured, and the duration of each first time cycle is the same.
[0164] Taking the time length of the first preset time window as 7 days and the time length of a time cycle to be measured as one day as an example, if the time cycle to be measured is December 31, 2024, the first preset time window is from December 25, 2024 to December 31, 2024, and the first preset number of first time cycles includes 6 first time cycles from December 25, 2024 to December 30, 2024. Each first time cycle of a battery under test corresponds to a second voltage dispersion, so a battery under test corresponds to 7 second voltage dispersions.
[0165] Exemplarily, if the number of each battery under test is 100 and the time length of the first preset time window is 7 days and the time length of a time cycle to be measured is one day, then for one battery under test, the number of second voltage dispersions of this battery under test within the first preset time window includes 7, that is, the second voltage dispersion of this battery under test on December 31, 2024, the second voltage dispersion of this battery under test on December 30, 2024, the second voltage dispersion of this battery under test on December 29, 2024, and so on, until the second voltage dispersion of this battery under test on December 25, 2024 is determined. Therefore, for 100 batteries under test, a total of 700 second voltage dispersions can be determined within the first preset time window.
[0166] It should be noted that the method for determining the second voltage dispersion of the battery under test in each time period is the same as the method for determining the second voltage dispersion of the battery under the time period to be tested, which will not be elaborated here. Thus, the second voltage dispersions of each battery under test in 7 time periods from December 25, 2024 to December 31, 2024 can be determined. These 7 time periods include the time period to be tested and 6 first time periods before the time period to be tested.
[0167] In this embodiment, the median or average value of the second voltage dispersions of each battery under test in each first time period within the first preset time window can be used as the dispersion threshold, so as to determine the dispersion threshold based on the distribution of the second voltage dispersions of each battery under test within the first preset time window, and then determine the abnormal batteries from each battery under test based on the dispersion threshold and the second voltage dispersions of each battery under test in the time period to be tested. Exemplarily, the median or average value of the above 700 second voltage dispersions can be used as the dispersion threshold.
[0168] S602, based on the dispersion threshold and the second voltage dispersions of each battery under test in the time period to be tested, detect each battery under test to obtain a detection result.
[0169] In a possible implementation manner, for each battery under test, if the second voltage dispersion of the battery under test in the time period to be tested is greater than the dispersion threshold, then the battery under test is regarded as an abnormal battery. Combining the above example, if the time period to be tested is December 31, 2024, there are 100 second voltage dispersions of each battery under test on December 31, 2024. The abnormal values among these 100 second voltage dispersions can be determined, and the battery under test corresponding to the abnormal value is the abnormal battery. Exemplarily, if the second voltage dispersion of battery 1 under test on December 31, 2024 is greater than the dispersion threshold, then it can be determined that the second voltage dispersion of battery 1 under test is an abnormal value, and it can be determined that the detection result of battery 1 under test is that battery 1 under test is abnormal, that is, battery 1 under test is an abnormal battery.
[0170] In another possible implementation manner, for each battery under test, if the quotient obtained by dividing the second voltage dispersion of the battery under test in the time period to be tested by the dispersion threshold is greater than 1, then the battery under test can be regarded as an abnormal battery.
[0171] It should be noted that if the batteries to be tested with the same battery information are regarded as the batteries of the same battery project, in the current related technologies, for different battery projects, the same dispersion threshold is used to detect abnormal batteries. Therefore, the accuracy of the current abnormal battery detection is relatively low. Since the dispersion threshold in the embodiments of the present application is determined based on the second voltage dispersion of the batteries to be tested in the same battery project, that is, the dispersion thresholds corresponding to different battery projects are determined by the second voltage dispersion of the batteries to be tested in different battery projects, so that the dispersion threshold of one battery project is different from that of another battery project. Therefore, the dispersion threshold of one battery project is more suitable for detecting abnormal batteries in this battery project, improving the accuracy of abnormal battery detection.
[0172] The method provided in this embodiment determines the dispersion threshold according to the second voltage dispersion of each battery to be tested in each first time period within the first preset time window, and based on the dispersion threshold and the second voltage dispersion of each battery to be tested in the time period to be tested, each battery to be tested is detected to obtain a detection result. Thus, it is possible to perform abnormal detection on abnormal batteries among multiple batteries to be tested with the same battery information. And since the dispersion threshold is determined based on the second voltage dispersion of each battery to be tested within the first preset time window, the accuracy of abnormal battery detection can be improved.
[0173] In one embodiment, as Figure 7 shown, Figure 7 FIG. is a schematic flowchart of a method for determining a dispersion threshold provided by an embodiment of the present application. This embodiment relates to a possible implementation manner of how to determine the dispersion threshold according to the second voltage dispersion of each battery to be tested in each first time period within the first preset time window. On the basis of the above embodiment, the above S601 may include the following steps S701-S703:
[0174] S701, determine the first quartile and the third quartile of the second voltage dispersion of each battery to be tested in each first time period.
[0175] The first quartile is the 25th percentile of the second voltage dispersion of each battery to be tested in each first time period, and the third quartile is the 75th percentile of the second voltage dispersion of each battery to be tested in each first time period. It is possible to determine the first quartile and the third quartile of the second voltage dispersion of each battery to be tested in each first time period. Exemplarily, the 25th percentile and the 75th percentile of the above 700 second voltage dispersions can be determined.
[0176] S702, determine the first difference between the third quartile and the first quartile, and determine the first product of the first difference and the first preset coefficient.
[0177] S703. Determine the dispersion threshold based on the sum of the first product and the third quartile.
[0178] The dispersion threshold can be determined according to the following formula:
[0179] Dispersion threshold = 75th percentile of N_x + 3 × (75th percentile of N_x - 25th percentile of N_x).
[0180] Wherein, N_x represents the second voltage dispersion of each battery under test in each first time period. In this formula, taking the first preset coefficient equal to 3 as an example, the sum of the first product and the third quartile can be used as the dispersion threshold. Or determine the dispersion threshold based on other deformation formulas of the above formula. The first preset coefficient can also be adjusted according to the anomaly detection result, that is, the first preset coefficient can also be adjusted to other values according to the anomaly detection result.
[0181] The method provided in this embodiment determines the first quartile and the third quartile of the second voltage dispersion of each battery under test in each first time period, determines the first difference between the third quartile and the first quartile, and determines the first product of the first difference and the first preset coefficient, and then determines the dispersion threshold based on the sum of the first product and the third quartile, thereby improving the accuracy of the obtained dispersion threshold and improving the accuracy of anomaly detection for abnormal batteries among multiple batteries under test with the same battery information.
[0182] In one embodiment, for the above S602, based on the dispersion threshold and the second voltage dispersion of each battery under test in the time period to be measured, detecting each battery under test to obtain a detection result can be implemented in the following manner:
[0183] For each battery under test, if the second voltage dispersion of the battery under test in the time period to be measured is greater than the dispersion threshold, it is determined that the detection result of the battery under test is that the battery under test is abnormal.
[0184] The method provided in this embodiment determines that if the second voltage dispersion of the battery under test in the time period to be measured is greater than the dispersion threshold for each battery under test, then it is determined that the detection result of the battery under test is that the battery under test is abnormal, thereby realizing anomaly detection for abnormal batteries among multiple batteries under test and improving the accuracy of abnormal battery detection.
[0185] In one embodiment, referring to Figure 8 , Figure 8 is the fourth flowchart of the battery detection method provided in the embodiments of the present application. The preset time window in this embodiment includes a second preset time window. For the above S502, according to the second voltage dispersion of each battery under test corresponding to each time period, detecting each battery under test to obtain a detection result may include the following steps S801 - S802:
[0186] S801. For each battery under test, based on the second voltage dispersion of the battery under test corresponding to each second time period and each second time period, determine the deterioration rate of the voltage dispersion of the battery under test corresponding to the time period to be measured.
[0187] Each second time period includes the time period to be measured and a second preset number of time periods before the time period to be measured, and the duration of each second time period is the same.
[0188] Taking the time length of the second preset time window as 30 days and the time length of a time period to be measured as one day as an example, if the time period to be measured is December 31, 2024, then the second preset time window is from December 2, 2024 to December 31, 2024. The second preset number of time periods includes 29 time periods from December 2, 2024 to December 30, 2024. Each second time period within the second preset time window includes 30 time periods from December 2, 2024 to December 31, 2024. The second voltage dispersion of a battery under test within the second preset time window includes the second voltage dispersion of the battery under test from December 2, 2024 to December 31, 2024, that is, the second voltage dispersion of a battery under test within the second preset time window includes a total of 30 second voltage dispersions.
[0189] The 30 second voltage dispersions and the time periods corresponding to December 2, 2024 to December 31, 2024 can be fitted to obtain a fitting line, and the deterioration rate of the voltage dispersion of the battery under test on December 31, 2024 can be determined according to the slope of the fitting line. It should be noted that the method for determining the deterioration rate of the voltage dispersion corresponding to the battery under test at other time periods, as well as the method for determining the deterioration rate of the voltage dispersion corresponding to other batteries under test at each time period, are similar to the method for determining the deterioration rate of the voltage dispersion of the battery under test at the time period to be measured. For example, the 30 second voltage dispersions corresponding to December 1, 2024 to December 30, 2024 and the 30 time periods corresponding to December 1, 2024 to December 30, 2024 can be fitted to obtain a fitting line, and the slope of the fitting line can be used as the deterioration rate of the voltage dispersion of the battery under test on December 30, 2024. The methods for determining other voltage dispersion deterioration rates will not be elaborated one by one.
[0190] It should be noted that the method for determining the second voltage dispersion of the battery from December 2, 2024 to December 30, 2024 for a total of 29 time periods is the same as the method for determining the second voltage dispersion of the battery on December 31, 2024, and will not be elaborated here.
[0191] In some embodiments, the time length of the second preset time window may be 2 days. In this case, the change rate of the second voltage dispersion within these 2 days can be directly determined, and this change rate is used as the voltage dispersion deterioration rate. Exemplarily, the second preset time window is two time periods, namely December 30, 2024 and December 31, 2024. Determine the change rate of the second voltage dispersion for these two time periods, and use this change rate as the voltage dispersion deterioration rate of the battery on December 31, 2024.
[0192] S802. Detect each battery under test based on the voltage dispersion deterioration rate of each battery under test in each third time period within the third preset time window; each third time period includes the time period to be tested and a third preset number of time periods before the time period to be tested, and the duration of each third time period is the same.
[0193] Taking the time length of the third preset time window as 7 days and the time length of a time period to be tested as 1 day as an example, if the time period to be tested is December 31, 2024, then the third preset time window is from December 25, 2024 to December 31, 2024, and the third preset number of time periods includes 6 third time periods from December 25, 2024 to December 30, 2024.
[0194] The deterioration rate threshold can be determined based on the voltage dispersion deterioration rate of each battery under test in each third time period within the third preset time window; detect each battery under test based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery under test in the time period to be tested to obtain the detection result.
[0195] The method provided in this embodiment determines the voltage dispersion deterioration rate of the battery under test corresponding to the time period to be tested according to the second voltage dispersion of the battery under test corresponding to each second time period and each second time period, and detects each battery under test based on the voltage dispersion deterioration rate of each battery under test in each third time period within the third preset time window to obtain the detection result. This embodiment improves the accuracy of the determined voltage dispersion deterioration rate, and further improves the accuracy of the detection result obtained by detecting each battery under test based on the voltage dispersion deterioration rate.
[0196] In one embodiment, as Figure 9 shown, Figure 9FIG. 0 is a schematic flowchart of a method for determining the deterioration rate of voltage dispersion provided by an embodiment of the present application. This embodiment relates to a possible implementation manner of determining the deterioration rate of voltage dispersion of a battery under test corresponding to a time period under test according to the second voltage dispersion of the battery under test corresponding to each second time period and each second time period. On the basis of the above embodiment, the method includes the following steps S901 - S902:
[0197] S901, fit the second voltage dispersion of the battery under test corresponding to each second time period and each second time period to obtain a fitting line.
[0198] S902, determine the deterioration rate of voltage dispersion according to the slope of the fitting line.
[0199] The slope of the fitting line can be used as the deterioration rate of voltage dispersion, or the product obtained by multiplying the slope of the fitting line by a fourth preset value can be used as the deterioration rate of voltage dispersion.
[0200] The method provided by this embodiment fits the second voltage dispersion of the battery under test corresponding to each second time period and each second time period to obtain a fitting line, and determines the deterioration rate of voltage dispersion according to the slope of the fitting line, thereby improving the accuracy of the determined deterioration rate of voltage dispersion.
[0201] In one embodiment, as Figure 10 shown, Figure 10 FIG. 19 is the fifth schematic flowchart of the battery detection method provided by an embodiment of the present application. This embodiment relates to a possible implementation manner of detecting each battery under test to obtain a detection result according to the deterioration rate of voltage dispersion of each battery under test at each third time period within a third preset time window. On the basis of the above embodiment, the above S802 includes the following steps S1001 - S1002:
[0202] S1001, determine a deterioration rate threshold according to the deterioration rate of voltage dispersion of each battery under test at each third time period within a third preset time window.
[0203] Taking the time length of the third preset time window as 7 days and the time length of a time period under test as one day as an example, if the time period under test is December 31, 2024, then each third time period within the third preset time window includes 7 third time periods from December 25, 2024 to December 31, 2024, and the third preset number of time periods includes 6 time periods from December 25, 2024 to December 30, 2024.
[0204] Exemplarily, if the number of batteries to be measured is 100, the time length of the first preset time window is 7 days, and the time length of a measurement time period is one day, then for one battery to be measured, the number of voltage dispersion deterioration rate within the third preset time window includes 7, that is, the voltage dispersion deterioration rate of the battery to be measured on December 31, 2024 can be determined, the voltage dispersion deterioration rate of the battery to be measured on December 30, 2024, the voltage dispersion deterioration rate of the battery to be measured on December 29, 2024, and so on, until the voltage dispersion deterioration rate of the battery to be measured on December 25, 2024 is determined. Therefore, for 100 batteries to be measured, a total of 700 voltage dispersion deterioration rates can be determined within the third preset time window.
[0205] It should be noted that the method for determining the voltage dispersion deterioration rate of the batteries to be measured in each time period is the same as the method for determining the voltage dispersion deterioration rate of the batteries to be measured in the measurement time period, which will not be elaborated here. Thus, the voltage dispersion deterioration rates of the batteries to be measured in 7 time periods from December 25, 2024 to December 31, 2024 can be determined. These 7 time periods include the measurement time period and the previous 6 third time periods.
[0206] In this embodiment, the median or average value of the voltage dispersion deterioration rate of each battery to be measured within the third preset time window can be used as the deterioration rate threshold, so as to determine the deterioration rate threshold based on the distribution of the voltage dispersion deterioration rate of each battery to be measured within the third preset time window, and then based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery to be measured in the measurement time period, each battery to be measured is detected to obtain the detection result. Exemplarily, the median or average value of the above 700 voltage dispersion deterioration rates can be used as the deterioration rate threshold.
[0207] S1002. Based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery to be measured in the measurement time period, each battery to be measured is detected to obtain the detection result.
[0208] In a possible implementation, for each battery under test, if the deterioration rate of the voltage dispersion of the battery under test in the time period under test is greater than the deterioration rate threshold, the battery under test is regarded as an abnormal battery. Combining the above example, if the time period under test is December 31, 2024, there are 100 deterioration rates of the voltage dispersion of each battery under test on December 31, 2024. The outliers among the 100 deterioration rates of the voltage dispersion can be determined, and the battery under test corresponding to the outlier is an abnormal battery. Exemplarily, if the deterioration rate of the voltage dispersion of battery under test 1 on December 31, 2024 is greater than the deterioration rate threshold, it can be determined that the deterioration rate of the voltage dispersion of battery under test 1 is an outlier, and it can be determined that the test result of battery under test 1 is that battery under test 1 is abnormal, that is, battery under test 1 is an abnormal battery.
[0209] In another possible implementation, for each battery under test, if the quotient obtained by dividing the deterioration rate of the voltage dispersion of the battery under test in the time period under test by the deterioration rate threshold is greater than 1, the battery under test can be regarded as an abnormal battery.
[0210] It should be noted that since the deterioration rate threshold in the embodiment of the present application is determined based on the deterioration rates of the voltage dispersions of each battery under test in the same battery project, that is, the deterioration rate thresholds corresponding to different battery projects are determined by the deterioration rates of the voltage dispersions of each battery under test in different battery projects, so that the deterioration rate threshold of one battery project is different from that of another battery project. Therefore, the deterioration rate threshold of one battery project is more suitable for detecting abnormal batteries in this battery project, improving the accuracy of detecting abnormal batteries.
[0211] The method provided in this embodiment determines the deterioration rate threshold according to the deterioration rates of the voltage dispersions of each battery under test in each third time period within the third preset time window, and based on the deterioration rate threshold and the deterioration rates of the voltage dispersions of each battery under test in the time period under test, each battery under test is detected to obtain a test result, so that abnormal detection of abnormal batteries among multiple batteries under test with the same battery information can be realized. And since the deterioration rate threshold is determined based on the deterioration rates of the voltage dispersions of each battery under test within the third preset time window, the accuracy of abnormal battery detection can be improved.
[0212] In one embodiment, as Figure 11 shown, Figure 11 FIG. is a schematic flowchart of a method for determining a deterioration rate threshold provided by an embodiment of the present application. This embodiment relates to a possible implementation of how to determine the deterioration rate threshold according to the deterioration rates of the voltage dispersions of each battery under test within the third preset time window. On the basis of the above embodiment, the above S1001 includes the following steps S1101-S1103:
[0213] S1101, determine the first quartile and the third quartile of the voltage dispersion deterioration rate of each battery under test for each third time period within the third preset time window.
[0214] Among them, each time period within the third preset time window includes the time period under test and the third preset number of third time periods before the time period under test. Taking the time length of the third preset time window as 7 days and the time length of a time period under test as one day as an example, if the time period under test is December 31, 2024, then each time period within the third preset time window includes 7 time periods from December 25, 2024 to December 31, 2024.
[0215] The first quartile is the 25th percentile of the voltage dispersion deterioration rate of each battery under test for each time period within the third preset time window, and the third quartile is the 75th percentile of the voltage dispersion deterioration rate of each battery under test for each time period within the third preset time window. It is possible to determine the first quartile and the third quartile of the second voltage dispersion of each battery under test for each first time period. Exemplarily, it is possible to determine the 25th percentile and the 75th percentile of the above-mentioned 700 second voltage dispersions.
[0216] S1102, determine the second difference between the third quartile and the first quartile, and determine the second product of the second difference and the second preset coefficient.
[0217] S1103, determine the deterioration rate threshold according to the sum of the second product and the third quartile.
[0218] The deterioration rate threshold can be determined according to the following formula:
[0219] Deterioration rate threshold = 75th percentile of R_x + 3×(75th percentile of R_x - 25th percentile of R_x).
[0220] Among them, R_x represents the voltage dispersion deterioration rate of each battery under test for each time period within the third preset time window. Taking the first preset coefficient equal to 3 as an example in this formula, the sum of the first product and the third quartile can be used as the deterioration rate threshold. Or determine the deterioration rate threshold based on other deformation formulas of this formula. It is also possible to adjust the second preset coefficient according to the anomaly detection result, that is, the first preset coefficient can also be adjusted to other values according to the anomaly detection result.
[0221] The method provided in this embodiment determines the first quartile and the third quartile of the voltage dispersion deterioration rate of each battery under test in each third time period within the third preset time window, determines the second difference between the third quartile and the first quartile, and determines the second product of the second difference and the second preset coefficient. Furthermore, the deterioration rate threshold is determined based on the sum of the second product and the third quartile, thereby improving the accuracy of the obtained deterioration rate threshold and improving the accuracy of anomaly detection for abnormal batteries among multiple batteries under test with the same battery information.
[0222] In one embodiment, for S1002 above, based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery under test in the time period under test, detecting each battery under test to obtain a detection result can be achieved in the following manner:
[0223] For each battery under test, if the voltage dispersion deterioration rate of the battery under test in the time period under test is greater than the deterioration rate threshold, it is determined that the detection result of the battery under test is that the battery under test is abnormal.
[0224] The method provided in this embodiment determines that, for each battery under test, if the voltage dispersion deterioration rate of the battery under test in the time period under test is greater than the deterioration rate threshold, the detection result of the battery under test is that the battery under test is abnormal, thereby realizing anomaly detection for abnormal batteries among multiple batteries under test and improving the accuracy of abnormal battery detection.
[0225] In one embodiment, as Figure 12 shown, Figure 12 is a flowchart of a method for determining a target time period provided by an embodiment of the present application. The method includes the following steps S1201 - S1203:
[0226] S1201, for each battery under test, if the current at multiple moments of the battery under test is less than the preset current and the total duration corresponding to the multiple moments is greater than the preset duration, the time period corresponding to the multiple moments is used as a candidate time period.
[0227] By using the time period that satisfies the condition that the current at multiple moments of the battery is less than the preset current and the total duration corresponding to the multiple moments is greater than the preset duration as the candidate time period, the end voltage of the battery cell at the end of the subsequent obtained target time period can be the voltage data under a stable static condition, thereby improving the accuracy of the first voltage dispersion obtained based on the end voltage of the battery cell at the end of the target time period.
[0228] S1202, determining the target state of charge according to the end voltage of the battery cell at the end of the candidate time period for the battery under test.
[0229] In a possible implementation, the average value of the cell voltage at the end moment of the battery under test in the candidate time period can be determined, and according to the corresponding relationship between the voltage and the state of charge preset, the state of charge corresponding to the average value can be determined, and the state of charge corresponding to the average value is used as the target state of charge.
[0230] In another possible implementation, the maximum cell voltage and the minimum cell voltage in the cell voltages corresponding to the end moment in the candidate time period can be determined, the average value of the cell voltages other than the maximum cell voltage and the minimum cell voltage in the cell voltages corresponding to the end moment in the candidate time period can be determined, and according to the preset relationship corresponding to the type of the battery under test, the state of charge corresponding to the average value can be determined, and the state of charge corresponding to the average value is used as the target state of charge. Among them, the preset relationship refers to the OCV-SOC curve. OCV is the abbreviation of Open Circuit Voltage, indicating the open circuit voltage. The OCV-SOC curve can represent the corresponding relationship between the voltage and the SOC. The abscissa of the OCV-SOC curve is the SOC, and the ordinate is the OCV. Different types of batteries under test have different OCV-SOC curves corresponding to them.
[0231] S1203. Determine the target time period from the candidate time periods according to the target state of charge and the preset state of charge interval corresponding to the type of the battery under test.
[0232] If the target state of charge is within the preset state of charge interval corresponding to the type of the battery under test, the candidate time period is used as the target time period. Exemplarily, for the battery under test of the three-body system type, the preset state of charge interval corresponding to this type is 60%-80%. Since the slope of the OCV-SOC curve corresponding to the battery under test of the three-body system type is relatively large in the 60%-80% interval, therefore, selecting this preset state of charge interval can make the error between the target state of charge corresponding to the obtained target time period and the actual state of charge of the battery under test smaller, so that a more accurate first voltage dispersion at the end moment can be obtained based on the cell voltage at the end moment of the more accurate target time period. For the battery under test of the lithium iron phosphate system type, the preset state of charge interval corresponding to this type is 10%-20%. Since the slope of the OCV-SOC curve corresponding to the battery under test of the lithium iron phosphate system type is relatively large in the 10%-20% interval, therefore, selecting this preset state of charge interval can make the error between the target state of charge corresponding to the obtained target time period and the actual state of charge of the battery under test smaller, so that a more accurate first voltage dispersion at the end moment can be obtained based on the cell voltage at the end moment of the more accurate target time period.
[0233] By determining a target time period from candidate time periods according to a target state of charge and a preset state-of-charge interval corresponding to the type of the battery under test, the target states of charge corresponding to the determined multiple target time periods are located within the same preset state-of-charge interval. Furthermore, based on the first voltage dispersion at the end time of the target time period corresponding to the target state of charge within the same preset state-of-charge interval, the second voltage dispersion of the battery under test in the time period under test is determined, improving the accuracy of the determined second voltage dispersion.
[0234] The method provided in this embodiment determines a target time period from candidate time periods according to a target state of charge and a preset state-of-charge interval corresponding to the type of the battery under test, thereby improving the accuracy of the first voltage dispersion obtained from the cell voltages at the end time of the target time period of the battery under test.
[0235] In one embodiment, as Figure 13 shown, Figure 13 FIG. is a schematic flowchart of a method for determining a target state of charge provided by an embodiment of the present application. This embodiment relates to a possible implementation manner of how to determine the target state of charge according to the cell voltages at the end time of the battery under test in candidate time periods. On the basis of the above embodiment, the above S1202 includes the following steps S1301-S1303:
[0236] S1301, determine the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end time in the candidate time period.
[0237] S1302, determine the target cell voltage according to the remaining cell voltages; the remaining cell voltages include the cell voltages corresponding to the end time in the candidate time period except for the maximum cell voltage and the minimum cell voltage.
[0238] In this embodiment, the average value of the remaining cell voltages can be used as the target cell voltage, or the standard deviation of the remaining cell voltages can be used as the target cell voltage.
[0239] S1303, determine the target state of charge based on the preset relationship corresponding to the target cell voltage and the type of the battery under test; the preset relationship includes the corresponding relationship between the preset voltage and the state of charge.
[0240] If the types of the batteries under test are different, the preset relationships corresponding to the types of the batteries under test, that is, the OCV-SOC curves, are different. The state of charge corresponding to the target cell voltage can be determined according to the preset relationship corresponding to the target cell voltage and the type of the battery under test, and the state of charge corresponding to the target cell voltage is used as the target state of charge.
[0241] The method provided in this embodiment determines the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moments in the candidate time period, determines the target cell voltage according to the cell voltages other than the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moments in the candidate time period, and determines the target state of charge based on the target cell voltage and the corresponding relationship between the voltage and the state of charge preset. Since the maximum cell voltage and the minimum cell voltage are removed, the accuracy of the determined target cell voltage is higher, and thus the accuracy of the obtained target state of charge is improved.
[0242] In one embodiment, for S1203 above, according to the preset state-of-charge interval corresponding to the target state of charge and the type of the battery under test, the target time period can be determined from the candidate time periods in the following way:
[0243] If the target state of charge is within the preset state-of-charge interval corresponding to the type of the battery under test, the candidate time period is used as the target time period.
[0244] For example, for a battery under test of the lithium iron phosphate system type, the preset state-of-charge interval corresponding to this type is 10% - 20%. If the target state of charge corresponding to the candidate time period is 15%, then this candidate time period is used as the target time period.
[0245] The method provided in this embodiment, by using the candidate time period as the target time period when the target state of charge is within the preset state-of-charge interval corresponding to the type of the battery under test, makes the target state of charge corresponding to each determined target time period within the same preset state-of-charge interval, and thus improves the accuracy of the second voltage dispersion in the time period under test obtained based on the first voltage dispersion at the end moments of multiple target time periods.
[0246] In one embodiment, as Figure 14 shown, Figure 14 is the overall flow schematic diagram of a battery detection method provided by an embodiment of the present application. On the basis of any of the above embodiments, the embodiment of the present application further introduces and explains the overall flow of the battery detection method. The method includes the following steps S1201 - S1214:
[0247] S1401, if the currents at multiple moments of the battery under test are less than the preset current and the total duration corresponding to the multiple moments is greater than the preset duration, then the time period corresponding to the multiple moments is used as the candidate time period.
[0248] S1402, determine the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moments in the candidate time period.
[0249] S1403. Determine the target cell voltage according to the remaining cell voltages. The remaining cell voltages include the cell voltages corresponding to the end moment in the candidate time period except for the maximum cell voltage and the minimum cell voltage.
[0250] S1404. Determine the target state of charge based on the preset relationship corresponding to the target cell voltage and the type of the battery under test.
[0251] S1405. If the target state of charge is within the preset state-of-charge interval corresponding to the type of the battery under test, then use the candidate time period as the target time period.
[0252] S1406. Sort the cell voltages at the end moment in the target time period of the battery under test to obtain a sorting result.
[0253] S1407. Take two adjacent cell voltages in the sorting result as a cell voltage group, and determine the voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group.
[0254] S1408. Determine the first voltage dispersion degree of the battery under test corresponding to the end moment according to each voltage difference degree.
[0255] S1409. Determine the second voltage dispersion degree of the battery under test in the test time period according to the first voltage dispersion degrees corresponding to the end moments of each target time period in the test time period.
[0256] S1410. Determine the dispersion threshold according to the second voltage dispersion degrees of each battery under test within the first preset time window.
[0257] S1411. Determine the abnormal batteries from each battery under test based on the dispersion threshold and the second voltage dispersion degrees of each battery under test in the test time period.
[0258] S1412. Determine the voltage dispersion deterioration rate of the battery under test corresponding to the test time period according to the second voltage dispersion degree of the corresponding battery under test within the second preset time window and each second time period within the second preset time window.
[0259] S1413. Determine the deterioration rate threshold according to the voltage dispersion deterioration rates of each battery under test within the third preset time window.
[0260] S1414. Determine the abnormal batteries from each battery under test based on the deterioration rate threshold and the voltage dispersion deterioration rates of each battery under test in the test time period.
[0261] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0262] Based on the same inventive concept, an embodiment of the present application also provides a battery detection device for implementing the battery detection method described above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the battery detection device provided below can refer to the limitations on the battery detection method in the above text, and will not be repeated here.
[0263] In one embodiment, as Figure 15 shown, Figure 15 FIG. 10 is a structural block diagram of a battery detection device provided by an embodiment of the present application. The battery detection device 1500 includes:
[0264] A sorting module 1501, configured to sort the cell voltages at the end moments in the target time period within the measurement time period of each battery to be measured, and obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than a preset duration, and each battery to be measured includes batteries with the same battery information;
[0265] A first determination module 1502, configured to use two adjacent cell voltages in the sorting result as a cell voltage group, and determine the voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group;
[0266] A second determination module 1503, configured to determine the first voltage dispersion degree of the battery to be measured corresponding to the end moment according to each voltage difference degree.
[0267] A detection module 1504, configured to detect each battery to be measured according to the first voltage dispersion degree corresponding to the target time period in each time period within a preset time window, and obtain a detection result; each time period includes a measurement time period and a preset number of time periods before the measurement time period, and the durations of each time period are the same.
[0268] In one embodiment, the first determining module 1502 is specifically configured to determine a voltage difference between two battery cell voltages in each battery cell voltage group; and determine a corresponding voltage difference according to the voltage difference of each battery cell voltage group.
[0269] In one embodiment, the second determining module 1503 is specifically configured to determine a first median of each voltage difference; and determine a first voltage dispersion according to the first median.
[0270] In one embodiment, Figure 16 As shown, Figure 16 1504 is a structural block diagram of a detection module provided in an embodiment of the present application. The detection module 1504 includes:
[0271] The determining unit 1601 is used to determine, for each battery to be tested, a second voltage dispersion corresponding to each time period according to a first voltage dispersion corresponding to a target time period of the battery to be tested in each time period;
[0272] The detection unit 1602 is used to detect each battery to be tested and obtain a detection result according to the second voltage dispersion corresponding to each battery to be tested in each time period.
[0273] In one embodiment, the determination unit 1601 determines, for each time period, a second median of the first voltage dispersion corresponding to each target time period in the time period, and determines the second voltage dispersion corresponding to the time period according to the second median.
[0274] In one embodiment, Figure 17 As shown, Figure 17 1602 is a structural block diagram of a detection unit provided in an embodiment of the present application. The detection unit 1602 may include:
[0275] The first determining subunit 1701 is used to determine a dispersion threshold according to the second voltage dispersion of each battery to be tested in each first time period within a first preset time window; the preset time window includes the first preset time window.
[0276] The first detection subunit 1702 is used to detect each battery to be tested to obtain a detection result based on a discreteness threshold and a second voltage discreteness of each battery to be tested in a test time period.
[0277] In one embodiment, the first determination subunit 1701 is specifically used to determine the first quartile and the third quartile of the second voltage dispersion of each battery to be tested in each first time period; determine the first difference between the third quartile and the first quartile, and determine the first product of the first difference and a first preset coefficient; determine the dispersion threshold value according to the sum of the first product and the third quartile.
[0278] In one embodiment, the first detection subunit 1702 is specifically configured to, for each battery to be measured, if the second voltage dispersion of the battery to be measured in the time period to be measured is greater than the dispersion threshold, determine that the detection result of the battery to be measured is abnormal for the battery to be measured.
[0279] In one embodiment, as Figure 18 shown, Figure 18 is a structural block diagram of another detection module provided by an embodiment of the present application. The detection module 1504 includes:
[0280] A second determination subunit 1801, configured to, for each battery to be measured, determine the voltage dispersion deterioration rate corresponding to the time period to be measured according to the second voltage dispersion of the battery to be measured corresponding to each second time period and each second time period; each second time period includes the time period to be measured and a second preset number of time periods before the time period to be measured, and the duration of each second time period is the same.
[0281] A second detection subunit 1802, configured to detect each battery to be measured according to the voltage dispersion deterioration rate of each battery to be measured in each third time period within a third preset time window to obtain a detection result; each third time period includes the time period to be measured and a third preset number of time periods before the time period to be measured, and the duration of each third time period is the same.
[0282] In one embodiment, the second determination subunit 1801 is specifically configured to fit the second voltage dispersion of the battery to be measured corresponding to each second time period and each second time period to obtain a fitting line; determine the voltage dispersion deterioration rate according to the slope of the fitting line.
[0283] In one embodiment, the second detection subunit 1802 is specifically configured to determine a deterioration rate threshold according to the voltage dispersion deterioration rate of each battery to be measured in each third time period within a third preset time window; based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery to be measured in the time period to be measured, detect each battery to be measured to obtain a detection result.
[0284] In one embodiment, the second detection subunit 1802 is specifically configured to determine the first quartile and the third quartile of the voltage dispersion deterioration rate of each battery to be measured in each third time period within a third preset time window; determine the second difference between the third quartile and the first quartile, and determine the second product of the second difference and a second preset coefficient; determine the deterioration rate threshold according to the sum of the second product and the third quartile.
[0285] In one embodiment, the second detection subunit 1802 is specifically configured to, for each battery under test, if the deterioration rate of the voltage dispersion of the battery under test in the time period under test is greater than the deterioration rate threshold, determine that the detection result of the battery under test is abnormal.
[0286] In one embodiment, as Figure 19 shown, Figure 19 FIG. is a structural block diagram of a target time period determination device provided by an embodiment of the present application. The determination device 1900 may include:
[0287] A third determination module 1901, configured to, for each battery under test, if the current of the battery under test at multiple moments is less than a preset current, and the total duration corresponding to the multiple moments is greater than a preset duration, use the time period corresponding to the multiple moments as a candidate time period;
[0288] A fourth determination module 1902, configured to determine a target state of charge according to the cell voltage at the end moment of the battery under test in the candidate time period;
[0289] A fifth determination module 1903, configured to determine a target time period from the candidate time periods according to the target state of charge and a preset state of charge interval corresponding to the type of the battery under test.
[0290] In one embodiment, the fourth determination module 1902 is specifically configured to determine the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end moment in the candidate time period; determine a target cell voltage according to the remaining cell voltages; the remaining cell voltages include the cell voltages corresponding to the end moment in the candidate time period except for the maximum cell voltage and the minimum cell voltage; determine the target state of charge based on a preset relationship corresponding to the type of the battery under test; the preset relationship includes a corresponding relationship between the preset voltage and the state of charge.
[0291] In one embodiment, the fifth determination module 1903 is specifically configured to, if the target state of charge is within the preset state of charge interval corresponding to the type of the battery under test, use the candidate time period as the target time period.
[0292] Each module in the above battery detection device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0293] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the technical solutions in the above embodiments of the battery detection method of the present application are implemented. The implementation principle and technical effects are similar and will not be elaborated here.
[0294] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the technical solutions in the above embodiments of the battery detection method of the present application are implemented. The implementation principle and technical effects are similar and will not be elaborated here.
[0295] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the technical solutions in the above embodiments of the battery detection method of the present application are implemented. The implementation principle and technical effects are similar and will not be elaborated here.
[0296] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data that have been authorized by the user or fully authorized by all parties.
[0297] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0298] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0299] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A battery detection method, characterized in that: The method comprises: The voltages of the cells at the end of the target time period within the test time period of each battery to be tested are sorted to obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than a preset duration, and each of the batteries to be tested includes batteries with the same battery information; Taking two adjacent cell voltages in the sorting result as a cell voltage group, and determining a voltage difference degree of each cell voltage group according to two cell voltages in each cell voltage group; Determining a first voltage dispersion of the battery to be tested corresponding to the end time according to each of the voltage differences; According to the first voltage dispersion corresponding to the target time period in each time period in the preset time window of each battery to be tested, each battery to be tested is tested to obtain a test result; each time period includes the time period to be tested and a preset number of time periods before the time period to be tested, and the duration of each time period is the same; The step of testing each of the batteries to be tested to obtain a test result according to the first voltage dispersion corresponding to the target time period in each time period in the preset time window includes: For each of the batteries to be tested, determining a second voltage dispersion corresponding to each of the time periods according to a first voltage dispersion corresponding to a target time period of the battery to be tested within each of the time periods; According to the second voltage dispersion corresponding to each of the batteries to be tested in each of the time periods, each of the batteries to be tested is tested to obtain a test result.
2. The method according to claim 1, characterized in that The step of determining the voltage difference of each of the battery cell voltage groups according to the two battery cell voltages in each of the battery cell voltage groups includes: Determining a voltage difference between two battery cell voltages in each of the battery cell voltage groups; The corresponding voltage difference is determined according to the voltage difference of each of the battery cell voltage groups.
3. The method according to claim 2, characterized in that The step of determining the first voltage dispersion of the battery to be tested corresponding to the end time according to each of the voltage differences includes: Determining a first median of each of the voltage differences; The first voltage dispersion is determined according to the first median.
4. The method according to any one of claims 1 to 3, characterized in that: The determining, according to the first voltage dispersion corresponding to the target time period of the battery under test in each of the time periods, the second voltage dispersion corresponding to each of the time periods comprises: For each of the time periods, a second median of the first voltage dispersion corresponding to each of the target time periods within the time period is determined, and a second voltage dispersion corresponding to the time period is determined according to the second median.
5. The method according to any one of claims 1 to 3, characterized in that: The preset time window includes a first preset time window, and the detection of each of the batteries to be tested to obtain a detection result according to the second voltage dispersion corresponding to each of the batteries to be tested in each of the time periods includes: Determine a dispersion threshold value according to the second voltage dispersion of each battery to be tested in each first time period within the first preset time window; each first time period includes the time period to be tested and a first preset number of time periods before the time period to be tested, and the duration of each first time period is the same; Based on the dispersion threshold and the second voltage dispersion of each battery to be tested in the time period to be tested, each battery to be tested is tested to obtain a test result.
6. The method according to claim 5, characterized in that The step of determining a dispersion threshold value according to the second voltage dispersion of each battery to be tested in each first time period within the first preset time window includes: Determine a first quartile and a third quartile of a second voltage dispersion of each of the batteries to be tested in each of the first time periods; Determine a first difference between the third quartile and the first quartile, and determine a first product of the first difference and a first preset coefficient; The dispersion threshold is determined according to the sum of the first product and the third quartile.
7. The method according to claim 5 or 6, characterized in that: The detecting each of the batteries to be tested to obtain a detection result based on the dispersion threshold and the second voltage dispersion of each of the batteries to be tested in the time period to be tested includes: For each of the batteries to be tested, if the second voltage dispersion of the battery to be tested during the testing time period is greater than the dispersion threshold, it is determined that the detection result of the battery to be tested is that the battery to be tested is abnormal.
8. The method according to any one of claims 1 to 3, characterized in that: Each of the time periods includes each second time period within a second preset time window, and the detection of each of the batteries to be tested to obtain a detection result according to the second voltage dispersion corresponding to each of the batteries to be tested in each of the time periods includes: For each of the batteries to be tested, determining a voltage dispersion deterioration rate of the battery to be tested corresponding to the time period to be tested according to the second voltage dispersion of the battery to be tested corresponding to each of the second time periods and each of the second time periods; each of the second time periods includes the time period to be tested and a second preset number of time periods before the time period to be tested, and the duration of each of the second time periods is the same; According to the voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window, each battery to be tested is tested to obtain a test result; each third time period includes the time period to be tested and a third preset number of time periods before the time period to be tested, and each third time period has the same length.
9. The method according to claim 8, characterized in that The step of determining the voltage dispersion deterioration rate of the battery to be tested corresponding to the time period to be tested according to the second voltage dispersion of the battery to be tested corresponding to each of the second time periods and each of the second time periods includes: Fitting the second voltage dispersion of the battery to be tested corresponding to each of the second time periods and each of the second time periods to obtain a fitting line; The voltage dispersion deterioration rate is determined according to the slope of the fitting line.
10. The method according to claim 8 or 9, characterized in that: The step of testing each of the batteries to be tested to obtain a test result according to the voltage dispersion deterioration rate of each of the batteries to be tested in each third time period within the third preset time window includes: Determining a deterioration rate threshold according to a deterioration rate of the voltage dispersion of each of the batteries to be tested in each of the third time periods within the third preset time window; Based on the deterioration rate threshold and the voltage dispersion deterioration rate of each of the batteries to be tested in the time period to be tested, each of the batteries to be tested is tested to obtain a test result.
11. The method according to claim 10, characterized in that The step of determining the deterioration rate threshold according to the voltage dispersion deterioration rate of each of the batteries to be tested in each of the third time periods within the third preset time window includes: Determine a first quartile and a third quartile of a voltage dispersion deterioration rate of each of the batteries to be tested in each of the third time periods within the third preset time window; Determine a second difference between the third quartile and the first quartile, and determine a second product of the second difference and a second preset coefficient; The deterioration rate threshold is determined according to the sum of the second product and the third quartile.
12. The method according to claim 10, characterized in that The detecting of each of the batteries to be tested to obtain a detection result based on the deterioration rate threshold and the voltage dispersion deterioration rate of each of the batteries to be tested in the time period to be tested comprises: For each of the batteries to be tested, if the voltage dispersion deterioration rate of the battery to be tested during the testing time period is greater than the deterioration rate threshold, it is determined that the detection result of the battery to be tested is that the battery to be tested is abnormal.
13. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: For each of the batteries to be tested, if the current of the battery to be tested at multiple moments is less than the preset current, and the total duration corresponding to the multiple moments is greater than the preset duration, then the time periods corresponding to the multiple moments are taken as candidate time periods; Determine a target state of charge according to the cell voltage of the battery to be tested at the end of the candidate time period; The target time period is determined from the candidate time periods according to the target state of charge and a preset state of charge interval corresponding to the type of the battery to be tested.
14. The method according to claim 13, characterized in that The step of determining the target state of charge according to the cell voltage of the battery to be tested at the end time of the candidate time period includes: Determine a maximum cell voltage and a minimum cell voltage among the cell voltages corresponding to the end times of the candidate time periods; Determine the target cell voltage according to the remaining cell voltage; the remaining cell voltage includes the cell voltages corresponding to the end time of the candidate time period except the maximum cell voltage and the minimum cell voltage; The target state of charge is determined based on a preset relationship between the target cell voltage and the type of the battery to be tested; the preset relationship includes a corresponding relationship between a preset voltage and a state of charge.
15. The method according to claim 13, characterized in that The determining the target time period from the candidate time periods according to the target state of charge and the preset state of charge interval corresponding to the type of the battery to be tested includes: If the target state of charge is within a preset state of charge interval corresponding to the type of the battery to be tested, the candidate time period is used as the target time period.
16. A battery detection device, characterized in that: The device comprises: A sorting module is used to sort the voltages of the cells at the end of the target time period within the test time period of each battery to be tested to obtain a sorting result; the current at each moment in the target time period is less than a preset current, and the total duration of the target time period is greater than a preset duration, and each of the batteries to be tested includes batteries with the same battery information; A first determination module, configured to use two adjacent cell voltages in the sorting result as cell voltage groups, and determine a voltage difference between each cell voltage group according to two cell voltages in each cell voltage group; A second determining module, configured to determine a first voltage dispersion of the battery to be tested corresponding to the end time according to each of the voltage differences; A detection module, configured to detect each of the batteries to be tested to obtain a detection result according to a first voltage dispersion corresponding to a target time period in each time period in a preset time window of each of the batteries to be tested; each of the time periods includes the time period to be tested and a preset number of time periods before the time period to be tested, and the duration of each of the time periods is the same; The step of testing each of the batteries to be tested to obtain a test result according to the first voltage dispersion corresponding to the target time period in each time period in the preset time window includes: For each of the batteries to be tested, a second voltage dispersion corresponding to each of the time periods is determined according to a first voltage dispersion corresponding to a target time period of the battery to be tested within each of the time periods; and a test result is obtained by testing each of the batteries to be tested according to the second voltage dispersion corresponding to each of the time periods of the battery to be tested.
17. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 15 are implemented.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
Citation Information
Patent Citations
Battery voltage inconsistency analysis and prediction method, device and system
CN116482540A