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.

CN119780739AActive Publication Date: 2025-04-08CONTEMPORARY AMPEREX TECHNOLOGY CO LTD

Patent Information

Application Number
CN202510294127.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-04-08
Estimated Expiration
2045-03-13

AI Technical Summary

Technical Problem

The prior art has low accuracy in determining the discretency of the cell voltage, resulting in low accuracy of battery detection.

Method used

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.

Benefits of technology

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.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119780739A_ABST
    Figure CN119780739A_ABST
Patent Text Reader

Abstract

The invention relates to a battery detection method and device, equipment, a storage medium and a program product. The method comprises the following steps: sorting each cell voltage of each to-be-detected battery at an end moment in a target time period within a to-be-detected time period to obtain a sorting result, taking two adjacent cell voltages in the sorting result as cell voltage groups, determining a voltage difference degree of each cell voltage group according to the two cell voltages in each cell voltage group, and determining the voltage difference degree of each cell voltage group according to the voltage difference degree of each cell voltage group. And determining a first voltage dispersion of the to-be-detected battery corresponding to the ending moment according to each voltage difference degree, and detecting each to-be-detected battery to obtain a detection result according to the first voltage dispersion of each to-be-detected battery corresponding to the target time period in the to-be-detected time period. The accuracy of a detection result obtained by detecting the battery can be improved.
Need to check novelty before this filing date? Find Prior Art

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 obtains the sorting result by sorting the voltages of each cell at the end time of the target time period of the 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 battery to be tested corresponding to the end time according to each voltage difference, and detecting each battery to be tested according to the first voltage dispersion corresponding to the target time period of each battery to be tested in the time period to be tested to obtain the detection result. This cell battery detection method can reduce the interference of cell voltage outliers, improve the accuracy of the obtained first voltage dispersion, and detect the battery to be tested according to the first voltage dispersion corresponding to the target time period of each battery to be tested in the time period to be tested, which can improve the accuracy of the detection result obtained by detecting the battery.

[0011] In one embodiment, determining the voltage difference of each battery cell voltage group according to two battery cell voltages in each battery cell voltage group includes:

[0012] Determine the voltage difference between two cell voltages in each cell voltage group;

[0013] The corresponding voltage difference is determined according to the voltage difference of each battery cell voltage group.

[0014] The method provided in this embodiment determines the voltage difference between two battery cell voltages in each battery cell voltage group, and determines the corresponding voltage difference according to the voltage difference of each battery cell voltage group, thereby providing a basis for determining the first voltage dispersion of the battery to be tested corresponding to the end time based on the voltage difference, and can reduce the interference of battery cell voltage outliers, thereby improving the accuracy of the obtained first voltage dispersion.

[0015] In one embodiment, determining the first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference includes:

[0016] Determine the first median of each voltage difference;

[0017] A first voltage dispersion is determined according to the first median.

[0018] The method provided in this embodiment can reduce the interference of cell voltage outliers by determining the first median of each voltage difference and determining the first voltage dispersion according to the first median, thereby improving the accuracy of the obtained first voltage dispersion.

[0019] In one embodiment, according to the first voltage dispersion corresponding to the end time of each time period of each battery under test in a preset time window, each battery under test is tested to obtain a test result, including:

[0020] For each battery to be tested, determining 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;

[0021] According to the second voltage dispersion corresponding to each battery to be tested in each time period, each battery to be tested is tested to obtain a test result.

[0022] The method provided in this embodiment can improve the accuracy of the second voltage dispersion of the battery to be tested in each time period by determining the second voltage dispersion corresponding to each time period according to the first voltage dispersion corresponding to the target time period in each time period of the battery to be tested, thereby improving the accuracy of the detection result determined based on the second voltage dispersion.

[0023] In one embodiment, determining a second voltage dispersion corresponding to each time period according to a first voltage dispersion corresponding to a target time period in each time period of the battery to be tested includes:

[0024] For each time period, a second median of the first voltage dispersion corresponding to each target time period in the time period is determined, and a second voltage dispersion corresponding to the time period is determined according to the second median.

[0025] The method provided in this embodiment determines the second median of the first voltage dispersion corresponding to each target time period within the time period to be measured, and determines the second voltage dispersion corresponding to the time period 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.

[0026] In one embodiment, the preset time window includes a first preset time window, and the detection result obtained by detecting each battery to be tested according to the second voltage dispersion corresponding to each battery to be tested in each time period includes:

[0027] 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;

[0028] Based on the dispersion threshold and the second voltage dispersion of each battery to be tested in the test time period, each battery to be tested is tested to obtain a test result.

[0029] The method provided in this embodiment determines a dispersion threshold value according to the second voltage dispersion of each battery to be tested in each first time period within a first preset time window, and detects each battery to be tested to obtain a detection result based on the dispersion threshold value and the second voltage dispersion of each battery to be tested in the test time period, thereby realizing abnormal detection of abnormal batteries among multiple batteries to be tested with the same battery information, and because the dispersion threshold value is based on the second battery detection of each battery to be tested in 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 to be tested in each first time period within the first preset time window includes:

[0031] Determine a first quartile and a third quartile of a second voltage dispersion of each battery to be tested in each first time period;

[0032] 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;

[0033] The dispersion threshold is determined based on 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 to be tested 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 improving the accuracy of abnormality detection of abnormal batteries among multiple batteries to be tested with the same battery information.

[0035] In one embodiment, based on the discreteness threshold and the second voltage discreteness of each battery to be tested in the test time period, each battery to be tested is tested to obtain a test result, including:

[0036] For each battery 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.

[0037] The method provided in this embodiment determines, for each battery to be tested, that the test result of the battery to be tested is abnormal if the second voltage dispersion of the battery to be tested during the test time period is greater than the dispersion threshold, thereby achieving abnormal detection of abnormal batteries among multiple batteries to be tested 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, and each battery to be tested is tested according to the second voltage dispersion corresponding to each battery to be tested in each time period to obtain a test result, including:

[0039] For each battery to be tested, according to the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period, determine the voltage dispersion deterioration rate of the battery to be tested corresponding to the time period to be tested; each second time period 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 second time period is the same;

[0040] According to the voltage dispersion deterioration rate of each battery to be tested in each third time period within the 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.

[0041] The method provided in this embodiment determines 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 second time period and each second time period, and detects each battery to be tested to obtain a test result according to the voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window. This embodiment improves the accuracy of the determined voltage dispersion deterioration rate, thereby improving the accuracy of the test result obtained by testing each battery to be tested based on the voltage dispersion deterioration rate.

[0042] In one embodiment, 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 second time period and each second time period includes:

[0043] Fitting the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period to obtain a fitting line;

[0044] The voltage dispersion degradation rate is determined based on the slope of the fitting line.

[0045] The method provided in this embodiment obtains a fitting line by fitting the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period, 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, according to the voltage dispersion deterioration rate of each battery under test in each third time period within the third preset time window, each battery under test is tested to obtain a test result, including:

[0047] Determine a deterioration rate threshold value according to a voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window;

[0048] Based on the degradation rate threshold and the degradation rate of the voltage dispersion of each battery to be tested in the test time period, each battery to be tested is tested to obtain a test result.

[0049] The method provided in this embodiment determines a deterioration rate threshold value according to the voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window, and detects each battery to be tested to obtain a detection result based on the deterioration rate threshold value and the voltage dispersion deterioration rate of each battery to be tested in the test time period, thereby realizing abnormal detection of abnormal batteries among multiple batteries to be tested with the same battery information, and because the deterioration rate threshold value is determined based on the voltage dispersion deterioration rate of each battery to be tested in the third preset time window, the accuracy of abnormal battery detection can be improved.

[0050] In one embodiment, determining the deterioration rate threshold according to the voltage dispersion deterioration rate of each battery to be tested in each third time period within the third preset time window includes:

[0051] Determine the first quartile and the third quartile of the voltage dispersion deterioration rate of each battery to be tested in each third time period within the third preset time window;

[0052] determining a second difference between the third quartile and the first quartile, and determining a second product of the second difference and a second preset coefficient;

[0053] The deterioration rate threshold is determined based on 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 to be tested 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 the 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 abnormality detection of abnormal batteries among multiple batteries to be tested with the same battery information.

[0055] In one embodiment, based on the degradation rate threshold and the degradation rate of the voltage dispersion of each battery under test in the test time period, each battery under test is tested to obtain a test result, including:

[0056] For each battery 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, the detection result of the battery to be tested is determined to be abnormal.

[0057] The method provided in this embodiment determines, for each battery to be tested, that the test result of the battery to be tested is abnormal if the voltage dispersion deterioration rate of the battery to be tested during the test time period is greater than the deterioration rate threshold, thereby achieving abnormal detection of abnormal batteries among multiple batteries to be tested and improving the accuracy of abnormal battery detection.

[0058] In one embodiment, the method further comprises:

[0059] For each battery 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, the time periods corresponding to the multiple moments are taken as candidate time periods;

[0060] Determine the target state of charge according to the cell voltage of the battery to be tested at the end of the candidate time period;

[0061] 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.

[0062] The method provided in this embodiment determines the target time period from the candidate time periods according to the preset state of charge interval corresponding to the target state of charge and the type of the battery to be tested, thereby improving the accuracy of the first voltage dispersion obtained based on the voltage of each battery cell at the end time of the target time period of the battery to be tested.

[0063] In one embodiment, determining the target state of charge according to the cell voltage of the battery to be tested at the end of the candidate time period includes:

[0064] Determine the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end time of the candidate time period;

[0065] 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 for the maximum cell voltage and the minimum cell voltage;

[0066] 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 the state of charge.

[0067] The method provided in the present embodiment determines the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end time of 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 time of the candidate time period, and determines the target state of charge based on the correspondence between the target cell voltage, a preset 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, thereby improving the accuracy of the obtained target state of charge.

[0068] In one embodiment, determining the 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 to be tested includes:

[0069] 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.

[0070] The method provided in this embodiment uses 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 to be tested, so that the target state of charge corresponding to each determined target time period is within the same preset state of charge interval, thereby improving the accuracy of the second voltage dispersion within the time period to be tested obtained based on the first voltage dispersion at the end time of multiple target time periods.

[0071] In a second aspect, the present application also provides a battery detection device. The device includes:

[0072] 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 the preset duration, and each of the batteries to be tested includes batteries with the same battery information;

[0073] A first determination module is used to use two adjacent cell voltages in the sorting result as a cell voltage group, and determine the voltage difference of each cell voltage group according to the two cell voltages in each cell voltage group;

[0074] The second determining module is used to determine a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference.

[0075] The detection module is used to detect each battery to be tested and obtain a detection result according to the first voltage dispersion corresponding to the target time period in each time period of each battery to be tested in a preset time window; 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 length of each time period is the same.

[0076] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0077] 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;

[0078] 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;

[0079] Determine a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference;

[0080] 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.

[0081] In a fourth aspect, the present application further 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] 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;

[0083] 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;

[0084] Determine a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference;

[0085] 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.

[0086] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0087] 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;

[0088] 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;

[0089] Determine a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference;

[0090] 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.

[0091] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0092] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Moreover, the same reference numerals are used throughout the drawings to represent the same components. In the drawings:

[0093] Figure 1 It is a schematic diagram of the internal structure of a computer device provided in an embodiment of the present application;

[0094] Figure 2 This is one of the flow charts of a battery detection method provided in an embodiment of the present application;

[0095] Figure 3 is a flow chart of a first voltage dispersion determination method provided in an embodiment of the present application;

[0096] Figure 4 is a flow chart of another battery detection method provided in an embodiment of the present application;

[0097] Figure 5 This is the second flow chart of the battery detection method provided in the embodiment of the present application;

[0098] Figure 6 This is the third flow chart of the battery detection method provided in the embodiment of the present application;

[0099] Figure 7 It is a flowchart of a method for determining a discreteness threshold provided in an embodiment of the present application;

[0100] Figure 8 This is the fourth flow chart of the battery detection method provided in the embodiment of the present application;

[0101] Fig. 9 It is a flow chart of a method for determining a voltage dispersion deterioration rate provided in an embodiment of the present application;

[0102] Fig.10 This is the fifth flow chart of the battery detection method provided in the embodiment of the present application;

[0103] Fig.11 It is a flowchart of a method for determining a deterioration rate threshold provided in an embodiment of the present application;

[0104] Fig.12 It is a flowchart of a method for determining a target time period provided in an embodiment of the present application;

[0105] Fig.13 It is a flow chart of a method for determining a target state of charge provided in an embodiment of the present application;

[0106] Fig.14 It is a schematic diagram of the overall process of a battery detection method provided in an embodiment of the present application;

[0107] Fig.15 is a structural block diagram of a battery detection device provided in an embodiment of the present application;

[0108] Fig.16 It is a structural block diagram of a detection module provided in an embodiment of the present application;

[0109] Fig.17 is a structural block diagram of a detection unit provided in an embodiment of the present application;

[0110] Fig.18 is a structural block diagram of another detection module provided in an embodiment of the present application;

[0111] Fig.19 It is a structural block diagram of a target time period determination device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0112] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0113] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians 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" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0114] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0115] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0116] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0117] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0118] 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.

[0119] At present, 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 dispersion of the determined cell voltage is low. For example, if there are 100 cells in a battery, and there are individual cells with larger capacity among the 100 cells, after the battery is discharged for a period of time, the cell voltage of the cell with larger capacity is significantly higher than the cell voltage of other cells, that is, there is an outlier cell voltage, and the outlier cell voltage is larger. In this case, the dispersion of the cell voltage of each cell in the battery is determined by the method of extreme value, average value or standard deviation. Since the dispersion determination method will be affected by extreme values ​​such as maximum value and minimum value, the accuracy of the determined dispersion is not high, that is, based on the determined dispersion, it will be considered that the cell voltage of the battery is discrete, and the battery will be detected and considered to be an abnormal battery. However, in reality, since the cell voltage of individual cells in the battery is high, it will not affect the performance of the battery, so there is no need to detect the battery. In other words, due to the low accuracy of the discreteness determination method, battery misdetection occurs. Therefore, how to improve the accuracy of battery detection based on discreteness has become a problem that needs to be urgently solved in this field.

[0120] In order to solve the above technical problems, the present application embodiment provides a battery detection method, which can be applied to Figure 1 The computer device shown in the figure 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, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a battery detection method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse.

[0121] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure 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 certain components, or have a different arrangement of components.

[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 the abnormal collected data, the remaining collected data at each moment is obtained. If there are multiple moments of current less than the preset current in the remaining current at each moment, and the total duration corresponding to these multiple moments is greater than the preset duration, 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 a current in multiples, that is, the current in multiples is obtained by dividing the original current in the collected data corresponding to the moment by the capacity of the battery. Exemplarily, after removing the abnormal collected data, the remaining collected data at each moment is obtained, and the original current in the collected data at each moment is converted into a current in multiples. If there are multiple moments of current less than 0.05C in the current in multiples, and the duration corresponding to multiple moments is greater than 1 hour, 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 the abnormal collected data, the remaining collected data at each moment is obtained. If there are multiple moments of current less than the preset current among the remaining currents at each moment, and the total duration corresponding to these multiple moments is greater than the preset duration, the time period corresponding to these multiple moments is taken as the candidate time period, and the maximum cell voltage and the minimum cell voltage in the collected data corresponding to the end moment of the candidate time period are removed to obtain the remaining cell voltage corresponding to the end moment. The average value of the remaining cell voltage is calculated, and then the SOC corresponding to the average value is determined based on the corresponding relationship between the voltage and the SOC. If the SOC corresponding to the average value is within the preset SOC interval corresponding to the type of the battery, the candidate time period is taken as the target time period.

[0128] In another possible implementation, after eliminating abnormal collected data, the collected data at the remaining moments are obtained. If there are multiple moments in the remaining current that are less than the preset current, and the total duration corresponding to these multiple moments is greater than the preset duration, the time periods corresponding to these multiple moments are taken as candidate time periods. If the SOC in the collected data at the end moment of the candidate time period is within the preset SOC range corresponding to the battery type, the candidate time period is taken as the target time period.

[0129] In this embodiment, the cell voltages at the end of the target time period of the battery can be sorted in ascending order according to the cell voltages to obtain a sorting result, or the cell voltages at the end of the target time period of the battery can be sorted in descending order according to the cell voltages to obtain a sorting result.

[0130] S202 , taking two adjacent cell voltages in the sorting result as cell voltage groups, and determining the voltage difference of each cell voltage group according to the two cell voltages in each cell voltage group.

[0131] Taking the sorting result obtained by sorting the cell voltages at the end time of the target time period of the battery in ascending order as an example, any two adjacent cell voltages in the sorting result can be regarded as a cell voltage group. In a 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 difference between each cell voltage group. Among them, for each cell voltage group, if the first cell voltage of the two cell voltages in the cell voltage group is greater than the second cell voltage, it is determined that the voltage difference is obtained by subtracting the second cell voltage from the first cell voltage, 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 larger the voltage difference is, the larger the voltage difference is. Alternatively, 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, and the absolute value of the voltage difference is positively correlated with the voltage difference degree, that is, the larger the absolute value of the voltage difference is, the larger the voltage difference is.

[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 can be determined according to the voltage quotient of each cell voltage group. Among them, for each cell voltage group, if the first cell voltage of the two cell voltages in the cell voltage group is greater than the second cell voltage, the voltage quotient obtained by dividing the first cell voltage by the second cell voltage is determined, and the voltage quotient corresponding to the cell voltage group is used as the voltage difference of the cell voltage group. The voltage quotient is positively correlated with the corresponding voltage difference, that is, the larger the voltage quotient is, the larger the voltage difference is.

[0133] S203, determining a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference.

[0134] In a possible implementation, the voltage difference between two cell voltages in each cell voltage group is determined, and the voltage difference between each cell voltage group is used as the corresponding voltage difference. The median of the voltage difference between each cell voltage group can be used as the first voltage dispersion of the battery to be tested corresponding to the end time. Exemplarily, taking the end time as t1, the time t1 corresponds to a total of n cell voltages from Vt1,1 to Vt1,n, n is an integer greater than 1, and Vt1,1 to Vt1,n are the sorting results obtained after ascending order, and the voltage difference between any two adjacent cell voltages ΔVt1,1 to ΔVt1,n-1 is obtained, and the 50th percentile value, i.e., the median, is calculated for ΔVt1,1 to ΔVt1,n-1, and the median is used as the first voltage dispersion of the battery to be tested at t1. Among them, ΔVt1,1=Vt1,2-Vt1,1, ΔVt1,n-1=Vt1,n-Vt1,n-1.

[0135] In another possible implementation, the average value or standard deviation of ΔVt1,1 to ΔVt1,n-1 may be calculated, and the calculated average value or standard deviation is used as the first voltage dispersion of the battery to be tested at time t1. For example, if n=100, a total of 99 voltage differences, ΔVt1,1, ΔVt1,2, ..., ΔVt1,99, are calculated, and the average value or standard deviation of the 99 voltage differences may be calculated, and the calculated average value or standard deviation is used as the first voltage dispersion of the battery to be tested at time t1.

[0136] S204, testing each battery 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 of each battery to be tested.

[0137] Each time period includes a 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 to be tested, the second voltage dispersion corresponding to each time period is determined according to the first voltage dispersion corresponding to the target time period of the battery to be tested in each time period; and the test results are obtained by testing each battery to be tested according to the second voltage dispersion corresponding to each battery to be tested in each time period. For example, if the length of a time period to be tested includes one day, the time period to be tested is the day in which the target time period is located, and the day is December 31, 2024, then December 31, 2024 may include multiple target time periods. For example, for a battery to be tested, the corresponding multiple target time periods include target time period 1 corresponding to the end time t1, target time period 2 corresponding to the end time t2, and target time period 3 corresponding to the end time t3. Then, according to the first voltage dispersion 1 corresponding to the end time t1, the first voltage dispersion 2 corresponding to the end time t2, and the first voltage dispersion 3 corresponding to the end time t3, the second voltage dispersion of the battery to be tested on December 31, 2024 can be determined. Among them, the median of the first voltage dispersion corresponding to the end time of each target time period can be used as the second voltage dispersion of the battery to be tested in the time period to be tested. For example, 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 to be tested on December 31, 2024. Alternatively, the average value or standard deviation of the first voltage dispersion corresponding to the end time of each target time period can be used as the second voltage dispersion of the battery to be tested in the time period to be tested. The method for determining the second voltage dispersion corresponding to other time periods of the battery to be tested and the method for determining the second voltage dispersion corresponding to other batteries to be tested in each time period are similar to the method for determining the second voltage dispersion of the battery to be tested in the time period to be tested, and will not be repeated here.

[0139] In one possible implementation, if the target time period for each battery to be tested in each time period within a preset time window is one, that is, each battery to be tested has a first voltage dispersion corresponding to each time period in the preset time window, then the average value of the first voltage dispersion corresponding to each time period in the preset time window of each battery to be tested can be determined, and the average value is used as the dispersion threshold. If the first voltage dispersion corresponding to the target time period in the time period to be tested of a battery to be tested is greater than the dispersion threshold, it can be determined that the voltage dispersion of the battery to be tested is too large, and the battery to be tested can be determined to be 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 battery cell voltages in each battery cell voltage group, and determines the corresponding voltage difference according to the voltage difference of each battery cell voltage group, thereby providing a basis for determining the first voltage dispersion of the battery to be tested corresponding to the end time based on the voltage difference, and can reduce the interference of battery cell voltage outliers, thereby improving the accuracy of the obtained first voltage dispersion.

[0147] In one embodiment, Figure 4 As shown, Figure 4 1 is a flow chart of a method for determining a first voltage dispersion provided by an embodiment of the present application. This embodiment relates to a possible implementation method of how to determine the first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference. Based on the above embodiment, the above S203 may include the following steps S401-S402:

[0148] S401, determining a first median of each voltage difference.

[0149] S402: Determine a first voltage dispersion according to the first median.

[0150] The first median of the voltage differences may be used as the first voltage difference, or the product obtained by multiplying the first median by the second preset value may be used as the first voltage dispersion.

[0151] The method provided in this embodiment can reduce the interference of cell voltage outliers by determining the first median of each voltage difference and determining the first voltage dispersion according to the first median, thereby improving the accuracy of the obtained first voltage dispersion.

[0152] In one embodiment, Figure 5 As shown, Figure 5 This is the second flow chart of the battery detection method provided by the embodiment of the present application. This embodiment relates to a possible implementation method of how to detect each battery to be tested to obtain a detection result according to the first voltage dispersion corresponding to the end time of each time period of each battery to be tested 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 to be tested, determining 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.

[0154] S502, testing each battery to be tested to obtain a test result according to the second voltage dispersion corresponding to each battery to be tested in each time period.

[0155] In a possible implementation, the preset time window includes a first preset time window, and a discreteness threshold is determined according to the second voltage discreteness of each battery to be tested in each first time period in the first preset time window; and based on the discreteness threshold and the second voltage discreteness 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. Wherein, 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.

[0156] In another possible implementation, each time period includes each second time period in a second preset time window, and for each battery to be tested, the voltage dispersion deterioration rate of the battery to be tested corresponding to the time period to be tested is determined according to the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period; and each battery to be tested is tested to obtain a test result according to the voltage dispersion deterioration rate of each battery to be tested in each third time period in a third preset time window. Wherein, each second time period 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 second time period is the same, and 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.

[0157] The method provided in this embodiment can improve the accuracy of the second voltage dispersion of the battery to be tested in each time period by determining the second voltage dispersion corresponding to each time period according to the first voltage dispersion corresponding to the target time period in each time period of the battery to be tested, thereby improving 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 the battery under test in each time period can be implemented as follows:

[0159] For each time period, a second median of the first voltage dispersion corresponding to each target time period in the time period is determined, and a second voltage dispersion corresponding to the time period is determined according to the second median.

[0160] The second median is the 50th percentile of the first voltage dispersion corresponding to each target time period in 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 the 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 the time period, and determines the second voltage dispersion corresponding to the time period 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 This is the third flow chart of the battery detection method provided in the embodiment of the present application. The preset time window in this embodiment includes a first preset time window, and the above S502, according to the second voltage dispersion corresponding to each battery to be tested in each time period, detects each battery to be tested to obtain the detection result, which may include the following steps S601-S602:

[0163] S601, determining a dispersion threshold value according to a second voltage dispersion of each battery to be tested in each first time period within a first preset time window; each first time period includes a time period to be tested and a first preset number of time periods before the time period to be tested, and each first time period has the same duration.

[0164] Taking the time length of the first preset time window as 7 days and the time length of a time period to be tested as one day as an example, if the time period to be tested 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 periods includes 6 first time periods from December 25, 2024 to December 30, 2024. One first time period of a battery to be tested corresponds to one second voltage discreteness, and one battery to be tested corresponds to 7 second voltage discretenesses.

[0165] For example, if the number of batteries to be tested is 100, the time length of the first preset time window is 7 days, and the time length of a time period to be tested is one day, then for one of the batteries to be tested, the number of second voltage dispersions of the battery to be tested within the first preset time window includes 7, that is, the second voltage dispersion of the battery to be tested on December 31, 2024, the second voltage dispersion of the battery to be tested on December 30, 2024, the second voltage dispersion of the battery to be tested on December 29, 2024, and so on can be determined until the second voltage dispersion of the battery to be tested on December 25, 2024 is determined. Therefore, for 100 batteries to be tested, 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 to be tested in each time period is the same as the method for determining the second voltage dispersion of the battery in the time period to be tested, and will not be repeated here, so that the second voltage dispersion of each battery to be tested in a total of 7 time periods from December 25, 2024 to December 31, 2024 can be determined. The 7 time periods include the time period to be tested and the 6 first time periods before the time period to be tested.

[0167] In this embodiment, the median or average value of the second voltage dispersion of each battery to be tested 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 dispersion of each battery to be tested in the first preset time window, and then determine the abnormal battery from 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. 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 dispersion of each battery to be tested in the testing time period, test each battery to be tested to obtain a test result.

[0169] In a possible implementation, for each battery to be tested, if the second voltage dispersion of the battery to be tested during the time period to be tested is greater than the dispersion threshold, the battery to be tested is regarded as an abnormal battery. In combination with the above example, if the time period to be tested is December 31, 2024, then there are 100 second voltage dispersions for each battery to be tested on December 31, 2024, and the abnormal value among the 100 second voltage dispersions can be determined, and the battery to be tested corresponding to the abnormal value is an abnormal battery. Exemplarily, if the second voltage dispersion of battery 1 to be tested on December 31, 2024 is greater than the dispersion threshold, then it can be determined that the second voltage dispersion of battery 1 to be tested is an abnormal value, and it can be determined that the detection result of battery 1 to be tested is that battery 1 to be tested is abnormal, that is, battery 1 to be tested is an abnormal battery.

[0170] In another possible implementation, for each battery to be tested, if a quotient obtained by dividing the second voltage dispersion of the battery to be tested by the dispersion threshold value during the testing time period is greater than 1, the battery to be tested may be regarded as an abnormal battery.

[0171] It should be noted that if the batteries to be tested with the same battery information are used as batteries of the same battery project, the current related technology uses the same discreteness threshold to detect abnormal batteries for different battery projects. Therefore, the accuracy of the current abnormal battery detection is low. However, since the discreteness threshold in the embodiment of the present application is determined based on the second voltage discreteness of each battery to be tested of the same battery project, that is, the discreteness threshold corresponding to different battery projects is determined by the second voltage discreteness of each battery to be tested of different battery projects, the discreteness threshold of one battery project is different from the discreteness threshold of another battery project. Therefore, the discreteness threshold of one battery project is more suitable for the detection of abnormal batteries in this battery project, thereby improving the accuracy of abnormal battery detection.

[0172] The method provided in this embodiment determines a dispersion threshold value according to the second voltage dispersion of each battery to be tested in each first time period within a first preset time window, and detects each battery to be tested to obtain a detection result based on the dispersion threshold value and the second voltage dispersion of each battery to be tested in the test time period, thereby realizing abnormal detection of abnormal batteries among multiple batteries to be tested with the same battery information, and because the dispersion threshold value is determined based on the second voltage dispersion of each battery to be tested in the first preset time window, the accuracy of abnormal battery detection can be improved.

[0173] In one embodiment, Figure 7 As shown, Figure 7 1 is a flow chart of a method for determining a discreteness threshold provided by an embodiment of the present application. This embodiment relates to a possible implementation method of determining a discreteness threshold according to the second voltage discreteness of each battery to be tested in each first time period within a first preset time window. Based on the above embodiment, the above S601 may include the following steps S701-S703:

[0174] S701, determining a first quartile and a third quartile of a second voltage dispersion of each battery to be tested in each first time period.

[0175] The first quartile is the 25th quartile of the second voltage dispersion of each battery to be tested in each first time period, and the third quartile is the 75th quartile of the second voltage dispersion of each battery to be tested in each first time period. The first quartile and the third quartile of the second voltage dispersion of each battery to be tested in each first time period can be determined. For example, the 25th quartile and the 75th quartile of the above 700 second voltage dispersions can be determined.

[0176] S702, determining a first difference between the third quartile and the first quartile, and determining a first product of the first difference and a first preset coefficient.

[0177] S703: Determine a dispersion threshold according to the sum of the first product and the third quartile.

[0178] The discreteness 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 to be tested 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 the dispersion threshold can be determined based on other modified formulas of the above formula. The first preset coefficient can also be adjusted according to the abnormal detection result, that is, the first preset coefficient can also be adjusted to other values ​​according to the abnormal 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 to be tested 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 improving the accuracy of abnormality detection of abnormal batteries among multiple batteries to be tested with the same battery information.

[0182] In one embodiment, the above S602, based on the discreteness threshold and the second voltage discreteness of each battery under test in the test time period, detects each battery under test to obtain a test result, which can be implemented in the following manner:

[0183] For each battery 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.

[0184] The method provided in this embodiment determines, for each battery to be tested, that the test result of the battery to be tested is abnormal if the second voltage dispersion of the battery to be tested during the test time period is greater than the dispersion threshold, thereby achieving abnormal detection of abnormal batteries among multiple batteries to be tested and improving the accuracy of abnormal battery detection.

[0185] In one embodiment, referring to Figure 8 , Figure 8 This is the fourth flow chart of the battery detection method provided by the embodiment of the present application. The preset time window in this embodiment includes a second preset time window, and the above S502, according to the second voltage dispersion corresponding to each battery to be tested in each time period, detects each battery to be tested to obtain a detection result, which may include the following steps S801-S802:

[0186] S801 , for each battery to be tested, according to the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period, determining a voltage dispersion deterioration rate of the battery to be tested corresponding to the time period to be tested.

[0187] Each second time period includes a time period to be measured and a second preset number of time periods before the time period to be measured, and each second time period has the same duration.

[0188] Taking the time length of the second preset time window as 30 days and the time length of a time period to be tested as one day as an example, if the time period to be tested is December 31, 2024, 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, and each second time period in the second preset time window includes 30 time periods from December 2, 2024 to December 31, 2024. The second voltage dispersion of a battery to be tested in the second preset time window includes the second voltage dispersion of the battery to be tested from December 2, 2024 to December 31, 2024, that is, the second voltage dispersion of a battery to be tested in the second preset time window includes 30 second voltage dispersions in total.

[0189] The 30 second voltage discretenesses and the time period corresponding to December 2, 2024 to December 31, 2024 can be fitted to obtain a fitting line, and the voltage discreteness deterioration rate of the battery to be tested 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 voltage discreteness deterioration rate corresponding to other time periods of the battery to be tested, and the method for determining the voltage discreteness deterioration rate corresponding to each time period of other batteries to be tested are similar to the method for determining the voltage discreteness deterioration rate of the battery to be tested under the time period to be tested. For example, the 30 second voltage discretenesses 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 is used as the voltage discreteness deterioration rate of the battery to be tested on December 30, 2024. The methods for determining other voltage discreteness deterioration rates are no longer described one by one.

[0190] It should be noted that the method for determining the second voltage dispersion of the battery in the 29 time periods from December 2, 2024 to December 30, 2024 is the same as the method for determining the second voltage dispersion of the battery on December 31, 2024, and will not be repeated here.

[0191] In some embodiments, the time length of the second preset time window may be 2 days, in which case the change rate of the second voltage dispersion within the 2 days may be directly determined, and the change rate is used as the voltage dispersion deterioration rate. Exemplarily, the second preset time window is two time periods, December 30, 2024 and December 31, 2024, and the change rate of the second voltage dispersion in the two time periods is determined, and the change rate is used as the voltage dispersion deterioration rate of the battery on December 31, 2024.

[0192] S802, according to the voltage dispersion deterioration rate of each battery to be tested in each third time period within the 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.

[0193] Taking the third preset time window as having a length of 7 days and a time period to be tested as having a length of one day as an example, if the time period to be tested is December 31, 2024, 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] A deterioration rate threshold can be determined according to the voltage dispersion deterioration rate of each battery to be tested 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 tested in the tested time period, each battery to be tested is tested to obtain a test result.

[0195] The method provided in this embodiment determines 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 second time period and each second time period, and detects each battery to be tested to obtain a test result according to the voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window. This embodiment improves the accuracy of the determined voltage dispersion deterioration rate, thereby improving the accuracy of the test result obtained by testing each battery to be tested based on the voltage dispersion deterioration rate.

[0196] In one embodiment, Fig. 9 As shown, Fig. 91 is a flow chart of a method for determining a voltage dispersion deterioration rate provided by an embodiment of the present application. This embodiment relates to a possible implementation method of determining a voltage dispersion deterioration rate of a battery to be tested corresponding to a time period to be tested based on the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period. Based on the above embodiment, the method includes the following steps S901-S902:

[0197] S901, fitting the second voltage dispersion of the battery to be tested and each second time period corresponding to each second time period to obtain a fitting line.

[0198] S902: Determine a voltage dispersion degradation rate according to a slope of the fitting line.

[0199] The slope of the fitting line may be used as the voltage dispersion deterioration rate, or the product obtained by multiplying the slope of the fitting line by the fourth preset value may be used as the voltage dispersion deterioration rate.

[0200] The method provided in this embodiment obtains a fitting line by fitting the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period, 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.

[0201] In one embodiment, Fig.10 As shown, Fig.10 This is the fifth flow chart of the battery detection method provided by the embodiment of the present application. This embodiment relates to a possible implementation method of how to detect each battery to be tested to obtain a detection result according to the voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window. Based on the above embodiment, the above S802 includes the following steps S1001-S1002:

[0202] S1001, determining a deterioration rate threshold according to a voltage dispersion deterioration rate of each battery to be tested in 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 tested time period as one day as an example, if the tested time period is December 31, 2024, then the third time periods in the third preset time window include 7 third time periods from December 25, 2024 to December 31, 2024, and the third preset number of time periods include 6 time periods from December 25, 2024 to December 30, 2024.

[0204] For example, if the number of batteries to be tested is 100, the time length of the first preset time window is 7 days, and the time length of a time period to be tested is one day, then for one of the batteries to be tested, the number of voltage dispersion deterioration rates of the battery to be tested in the third preset time window includes 7, that is, the voltage dispersion deterioration rate of the battery to be tested on December 31, 2024, the voltage dispersion deterioration rate of the battery to be tested on December 30, 2024, the voltage dispersion deterioration rate of the battery to be tested on December 29, 2024, and so on, until the voltage dispersion deterioration rate of the battery to be tested on December 25, 2024 is determined. Therefore, for 100 batteries to be tested, a total of 700 voltage dispersion deterioration rates can be determined in the third preset time window.

[0205] It should be noted that the method for determining the voltage dispersion deterioration rate of the battery to be tested in each time period is the same as the method for determining the voltage dispersion deterioration rate of the battery to be tested in the time period to be tested, and will not be repeated here, so that the voltage dispersion deterioration rate of each battery to be tested in a total of 7 time periods from December 25, 2024 to December 31, 2024 can be determined. The 7 time periods include the time period to be tested and the 6 third time periods before the time period to be tested.

[0206] In this embodiment, the median or average value of the voltage dispersion deterioration rate of each battery to be tested 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 tested within the third preset time window, and then detect each battery to be tested based on the deterioration rate threshold and the voltage dispersion deterioration rate of each battery to be tested in the test time period to obtain the test 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 degradation rate threshold and the degradation rate of the voltage dispersion of each battery under test in the test time period, each battery under test is tested to obtain a test result.

[0208] In one possible implementation, for each battery to be tested, if the voltage dispersion deterioration rate of the battery to be tested during the time period to be tested is greater than the deterioration rate threshold, the battery to be tested is regarded as an abnormal battery. In combination with the above example, if the time period to be tested is December 31, 2024, there are 100 voltage dispersion deterioration rates for each battery to be tested on December 31, 2024, and the abnormal value among the 100 voltage dispersion deterioration rates can be determined, and the battery to be tested corresponding to the abnormal value is an abnormal battery. Exemplarily, if the voltage dispersion deterioration rate of battery 1 to be tested on December 31, 2024 is greater than the deterioration rate threshold, then it can be determined that the voltage dispersion deterioration rate of battery 1 to be tested is an abnormal value, and it can be determined that the detection result of battery 1 to be tested is that battery 1 to be tested is abnormal, that is, battery 1 to be tested is an abnormal battery.

[0209] In another possible implementation, for each battery to be tested, if a quotient obtained by dividing the voltage dispersion degradation rate of the battery to be tested by the degradation rate threshold during the testing time period is greater than 1, the battery to be tested may 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 voltage dispersion deterioration rate of each battery to be tested of the same battery project, that is, the deterioration rate thresholds corresponding to different battery projects are determined by the voltage dispersion deterioration rate of each battery to be tested of different battery projects, the deterioration rate threshold of one battery project is different from the deterioration rate threshold of another battery project. Therefore, the deterioration rate threshold of one battery project is more suitable for the detection of abnormal batteries in this battery project, thereby improving the accuracy of abnormal battery detection.

[0211] The method provided in this embodiment determines a deterioration rate threshold value according to the voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window, and detects each battery to be tested to obtain a detection result based on the deterioration rate threshold value and the voltage dispersion deterioration rate of each battery to be tested in the test time period, thereby realizing abnormal detection of abnormal batteries among multiple batteries to be tested with the same battery information, and because the deterioration rate threshold value is determined based on the voltage dispersion deterioration rate of each battery to be tested in the third preset time window, the accuracy of abnormal battery detection can be improved.

[0212] In one embodiment, Fig.11 As shown, Fig.11 This is a flow chart of a method for determining a deterioration rate threshold provided by an embodiment of the present application. This embodiment relates to a possible implementation method of determining a deterioration rate threshold according to the voltage dispersion deterioration rate of each battery to be tested within a third preset time window. Based on the above embodiment, the above S1001 includes the following steps S1101-S1103:

[0213] S1101, determining a first quartile and a third quartile of a voltage dispersion deterioration rate of each battery to be tested in each third time period within a third preset time window.

[0214] Among them, each time period in the third preset time window includes the time period to be tested and the third preset number of third time periods before the time period to be tested. If the time length of the third preset time window is 7 days and the time length of a time period to be tested is one day, for example, if the time period to be tested is December 31, 2024, then each time period in the third preset time window includes 7 time periods from December 25, 2024 to December 31, 2024.

[0215] The first quartile is the 25th quartile of the deterioration rate of the voltage dispersion of each battery to be tested in each time period within the third preset time window, and the third quartile is the 75th quartile of the deterioration rate of the voltage dispersion of each battery to be tested in each time period within the third preset time window. The first quartile and the third quartile of the second voltage dispersion of each battery to be tested in each first time period can be determined. For example, the 25th quartile and the 75th quartile of the above 700 second voltage dispersions can be determined.

[0216] S1102, determining a second difference between the third quartile and the first quartile, and determining a second product of the second difference and a second preset coefficient.

[0217] S1103: Determine a 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] Wherein, R_x represents the voltage dispersion deterioration rate of each battery to be tested in each time period within the third preset time window. 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 deterioration rate threshold. Or the deterioration rate threshold can be determined based on other modified formulas of this formula. The second preset coefficient can also be adjusted according to the abnormal detection result, that is, the first preset coefficient can also be adjusted to other values ​​according to the abnormal 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 to be tested 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 the 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 abnormality detection of abnormal batteries among multiple batteries to be tested with the same battery information.

[0222] In one embodiment, the above S1002, based on the degradation rate threshold and the degradation rate of the voltage dispersion of each battery under test in the test time period, detects each battery under test to obtain a test result, which can be implemented in the following manner:

[0223] For each battery 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, the detection result of the battery to be tested is determined to be abnormal.

[0224] The method provided in this embodiment determines, for each battery to be tested, that the test result of the battery to be tested is abnormal if the voltage dispersion deterioration rate of the battery to be tested during the test time period is greater than the deterioration rate threshold, thereby achieving abnormal detection of abnormal batteries among multiple batteries to be tested and improving the accuracy of abnormal battery detection.

[0225] In one embodiment, Fig.12 As shown, Fig.12 1 is a flow chart of a method for determining a target time period provided in an embodiment of the present application, the method comprising the following steps S1201-S1203:

[0226] S1201, for each battery to be tested, if the current of the battery to be tested at multiple moments is less than a 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.

[0227] By selecting a time period that satisfies the conditions that the current of the battery at multiple moments is less than a preset current and the total duration corresponding to the multiple moments is greater than the preset duration as a candidate time period, the battery cell voltage at the end moment of the target time period subsequently obtained can be the voltage data under stable static conditions, thereby improving the accuracy of the first voltage discreteness obtained based on the battery cell voltage at the end moment of the target time period.

[0228] S1202, determining a target state of charge according to the cell voltage of the battery to be tested at the end time of the candidate time period.

[0229] In one possible implementation, the average value of the cell voltage of the battery to be tested at the end of the candidate time period can be determined, and the state of charge corresponding to the average value can be determined based on the corresponding relationship between the preset voltage and the state of charge, 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 among the cell voltages corresponding to the end time of the candidate time period can be determined, and the average value of the cell voltages other than the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end time of the candidate time period can be determined. The state of charge corresponding to the average value can be determined according to the preset relationship corresponding to the type of the battery to be tested, and the state of charge corresponding to the average value can be 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, which means open circuit voltage. The OCV-SOC curve can represent the corresponding relationship between voltage and SOC, and the horizontal coordinate of the OCV-SOC curve is SOC, and the vertical coordinate is OCV. If the type of battery to be tested is different, the OCV-SOC curve corresponding to the type of battery to be tested will be different.

[0231] S1203, determining a target time period from 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.

[0232] If the target state of charge is within the 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. Exemplarily, for a three-body type battery to be tested, the preset state of charge interval corresponding to this type is 60%-80%. Since the slope of the OCV-SOC curve corresponding to the three-body type battery to be tested is relatively large in the 60%-80% interval, selecting this preset state of charge interval can make the error between the target state of charge corresponding to the target time period and the actual state of charge of the battery to be tested smaller, so that a more accurate first voltage dispersion at the end time can be obtained based on the more accurate cell voltage at the end time of the target time period. For the lithium iron phosphate type battery to be tested, the preset state of charge range corresponding to this type is 10%-20%. Since the OCV-SOC curve corresponding to the lithium iron phosphate type battery to be tested has a larger slope in the range of 10%-20%, selecting this preset state of charge range can make the error between the target state of charge corresponding to the target time period and the actual state of charge of the battery to be tested smaller, thereby being able to obtain a more accurate first voltage discreteness at the end time based on the cell voltage at the end time of a more accurate target time period.

[0233] By determining the target time period from the candidate time periods according to the preset state of charge interval corresponding to the target state of charge and the type of the battery to be tested, the target state of charge corresponding to the determined multiple target time periods is located within the same preset state of charge interval, and then based on the first voltage dispersion at the end of the target time period corresponding to the target state of charge located within the same preset state of charge interval, the second voltage dispersion of the battery to be tested in the test time period is determined, thereby improving the accuracy of the determined second voltage dispersion.

[0234] The method provided in this embodiment determines the target time period from the candidate time periods according to the preset state of charge interval corresponding to the target state of charge and the type of the battery to be tested, thereby improving the accuracy of the first voltage dispersion obtained based on the voltage of each battery cell at the end time of the target time period of the battery to be tested.

[0235] In one embodiment, Fig.13 As shown, Fig.13 This is a flow chart of a method for determining a target state of charge provided in an embodiment of the present application. This embodiment relates to a possible implementation method of how to determine the target state of charge according to the cell voltage of the battery to be tested at the end of the candidate time period. Based on the above embodiment, the above S1202 includes the following steps S1301-S1303:

[0236] S1301, determining a maximum cell voltage and a minimum cell voltage among cell voltages corresponding to end times in a candidate time period.

[0237] S1302, determining a target cell voltage according to the remaining cell voltages; the remaining cell voltages include cell voltages corresponding to the end time of 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 may be used as the target cell voltage, or the standard deviation of the remaining cell voltages may be used as the target cell voltage.

[0239] S1303, determining a target state of charge based on a preset relationship between a target cell voltage and a type of the battery to be tested; the preset relationship includes a preset correspondence between a voltage and a state of charge.

[0240] The type of battery to be tested is different, and the preset relationship corresponding to the type of battery to be tested, that is, the OCV-SOC curve, is different. The state of charge corresponding to the target cell voltage can be determined based on the preset relationship between the target cell voltage and the type of battery to be tested, and the state of charge corresponding to the target cell voltage can be used as the target state of charge.

[0241] The method provided in the present embodiment determines the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end time of 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 time of the candidate time period, and determines the target state of charge based on the correspondence between the target cell voltage, a preset 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, thereby improving the accuracy of the obtained target state of charge.

[0242] In one embodiment, the above S1203, 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, can be implemented in the following manner:

[0243] 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.

[0244] For example, for a lithium iron phosphate system type battery to be tested, 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%, the candidate time period is used as the target time period.

[0245] The method provided in this embodiment uses 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 to be tested, so that the target state of charge corresponding to each determined target time period is within the same preset state of charge interval, thereby improving the accuracy of the second voltage dispersion within the time period to be tested obtained based on the first voltage dispersion at the end time of multiple target time periods.

[0246] In one embodiment, Fig.14 As shown, Fig.14 1 is a schematic diagram of the overall process of a battery detection method provided by an embodiment of the present application. Based on any of the above embodiments, the embodiment of the present application further introduces and explains the overall process of the battery detection method. The method includes the following steps S1201-S1214:

[0247] S1401: If the current of the battery to be tested at multiple moments is less than a preset current, and the total duration corresponding to the multiple moments is greater than the preset duration, the time periods corresponding to the multiple moments are taken as candidate time periods.

[0248] S1402, determining a maximum cell voltage and a minimum cell voltage among the cell voltages corresponding to the end times of the candidate time periods.

[0249] S1403, determining a target cell voltage according to the remaining cell voltages; the remaining cell voltages include cell voltages corresponding to the end time of the candidate time period except for the maximum cell voltage and the minimum cell voltage.

[0250] S1404, determining a target state of charge based on a preset relationship between a target cell voltage and a type of the battery to be tested.

[0251] S1405: 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.

[0252] S1406, sorting the voltages of the cells at the end of the target time period of the battery to be tested to obtain a sorting result.

[0253] S1407: taking two adjacent cell voltages in the sorting result as cell voltage groups, and determining the voltage difference of each cell voltage group according to the two cell voltages in each cell voltage group.

[0254] S1408, determining a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference.

[0255] S1409, determining a second voltage dispersion of the battery to be tested in the time period to be tested according to the first voltage dispersion corresponding to the end time of each target time period in the time period to be tested.

[0256] S1410, determining a dispersion threshold value according to a second voltage dispersion of each battery to be tested within a first preset time window.

[0257] S1411, determining an abnormal battery from the batteries to be tested based on a dispersion threshold and a second voltage dispersion of each battery to be tested during a testing time period.

[0258] S1412, determining a voltage dispersion deterioration rate of the battery under test corresponding to the time period under test according to the second voltage dispersion of the battery under test corresponding to the second preset time window and each second time period in the second preset time window.

[0259] S1413, determining a degradation rate threshold according to the voltage dispersion degradation rate of each battery to be tested within the third preset time window.

[0260] S1414, determining an abnormal battery from the batteries to be tested based on the degradation rate threshold and the degradation rate of the voltage dispersion of each battery to be tested during the testing time period.

[0261] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, 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, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0262] Based on the same inventive concept, the embodiment of the present application also provides a battery detection device for implementing the battery detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more battery detection device embodiments provided below can refer to the limitations of the battery detection method above, and will not be repeated here.

[0263] In one embodiment, Fig.15 As shown, Fig.15 1 is a structural block diagram of a battery detection device provided in an embodiment of the present application. The battery detection device 1500 includes:

[0264] The sorting module 1501 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 the 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;

[0265] A first determining module 1502 is used to use two adjacent cell voltages in the sorting result as a cell voltage group, and determine a voltage difference between each cell voltage group according to the two cell voltages in each cell voltage group;

[0266] The second determining module 1503 is used to determine a first voltage dispersion of the battery to be tested corresponding to the end time according to each voltage difference.

[0267] The detection module 1504 is used to detect each battery to be tested and obtain a detection result according to the first voltage dispersion corresponding to the target time period in each time period of each battery to be tested in a preset time window; 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 length of each time period is 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, Fig.16 As shown, Fig.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, Fig.17 As shown, Fig.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 determine, for each battery to be tested, that the detection result of the battery to be tested is abnormal if the second voltage dispersion of the battery to be tested during the test time period is greater than a dispersion threshold.

[0279] In one embodiment, Fig.18 As shown, Fig.18 1504 is a structural block diagram of another detection module provided in an embodiment of the present application. The detection module 1504 includes:

[0280] The second determination subunit 1801 is used to determine, for each battery to be tested, a voltage dispersion deterioration rate of the battery to be tested corresponding to each second time period according to the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period; each second time period 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 second time period is the same.

[0281] The second detection subunit 1802 is used to detect each battery to be tested and obtain a detection result 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 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.

[0282] In one embodiment, the second determining subunit 1801 is specifically used to fit the second voltage dispersion of the battery to be tested corresponding to each second time period and each second time period to obtain a fitting line; and 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 used to determine a deterioration rate threshold according to the voltage dispersion deterioration rate of each battery to be tested 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 tested in the tested time period, each battery to be tested is tested to obtain a test result.

[0284] In one embodiment, the second detection subunit 1802 is specifically used to determine the first quartile and the third quartile of the voltage dispersion deterioration rate of each battery to be tested 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 the 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 determine, for each battery under test, if the voltage dispersion deterioration rate of the battery under test during the test time period is greater than the deterioration rate threshold, that the test result of the battery under test is abnormal.

[0286] In one embodiment, Fig.19 As shown, Fig.19 1900 is a structural block diagram of a target time period determination device provided in an embodiment of the present application. The determination device 1900 may include:

[0287] The third determining module 1901 is used for, for each battery to be tested, if the current of the battery to be tested at multiple moments is less than a preset current, and the total duration corresponding to the multiple moments is greater than the preset duration, then taking the time periods corresponding to the multiple moments as candidate time periods;

[0288] A fourth determination module 1902 is used to determine a target state of charge according to a cell voltage of the battery to be tested at the end time of the candidate time period;

[0289] The fifth determining module 1903 is configured to determine a target time period from 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.

[0290] In one embodiment, the fourth determination module 1902 is specifically used to determine the maximum cell voltage and the minimum cell voltage among the cell voltages corresponding to the end time of the candidate time period; 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 time of the candidate time period; determine the target state of charge based on the preset relationship between the target cell voltage and the type of battery to be tested; the preset relationship includes the corresponding relationship between the preset voltage and the state of charge.

[0291] In one embodiment, the fifth determining module 1903 is specifically configured to use the candidate time period as the target time period if the target state of charge is within a preset state of charge interval corresponding to the type of the battery to be tested.

[0292] Each module in the above battery detection device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0293] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the technical solution in the above-mentioned battery detection method embodiment of the present application is implemented, and its implementation principle and technical effect are similar and will not be repeated 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 solution in the above-mentioned battery detection method embodiment of the present application is implemented. The implementation principle and technical effect are similar and will not be repeated 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 solution in the above-mentioned battery detection method embodiment of the present application is implemented. The implementation principle and technical effect are similar and will not be repeated 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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0297] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0298] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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, they should be considered to be within the scope of this specification.

[0299] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, 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 attached 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 within 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.

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 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 of each of the batteries to be tested comprises: 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.

5. The method according to claim 4, 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.

6. The method according to claim 4, 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.

7. The method according to claim 6, 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.

8. The method according to claim 6 or 7, 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.

9. The method according to claim 4, 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.

10. The method according to claim 9, 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.

11. The method according to claim 9 or 10, 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.

12. The method according to claim 11, 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.

13. The method according to claim 11, 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.

14. 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.

15. The method according to claim 14, 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.

16. The method according to claim 14, 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.

17. 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; The detection module is used to detect each battery to be tested and obtain a detection result according to the first voltage dispersion corresponding to the target time period in each time period within a preset time window of each battery to be tested; 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.

18. 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 16 are implemented.

19. 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 16 are implemented.

20. 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 16 are implemented.

Citation Information

Patent Citations

  • Voltage consistency monitoring method and system in battery module, storage medium and terminal

    CN115542176A

  • Battery voltage inconsistency identification method, device, equipment and medium

    CN115754743A

  • Battery voltage inconsistency analysis and prediction method, device and system

    CN116482540A

  • Method for detecting battery consistency fault, battery manager, vehicle and medium

    CN116540112A

  • Battery abnormity identification method and device and nonvolatile storage medium

    CN116736176A

Cited By

  • Automobile power battery voltage abnormity detection method and vehicle

    CN121410549A

  • Circuit control system in diffusion plate coating production process

    CN121433173A