Battery fault diagnosis method, device and system

By calculating the distance value and z-score between the voltage time series and the average voltage of the cells in the battery, potential faulty cells are identified, which solves the problem of early battery fault detection in the existing technology and achieves high-accuracy and low-cost fault detection. diagnosis.

CN117007971BActive Publication Date: 2024-10-15HUNAN XINGBIDA NETLINK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310820164.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-05
Publication Date
2024-10-15
Estimated Expiration
2043-07-05

AI Technical Summary

Technical Problem

Existing technology is difficult to quickly and easily diagnose early battery faults, especially when the cell voltage is at a safe threshold. Traditional methods are difficult to detect internal short-circuit faults in the battery and require a large amount of testing and modeling, making implementation difficult.

Method used

By obtaining the distance value between the voltage time series of each cell of the battery and the average voltage time series within the time window, the z score is calculated, the potential faulty cell and the normal cell are determined, and the fault is calculated based on the z score within the continuous time window. Risk metrics to enable early failure detection.

Benefits of technology

Even when the cell voltage is at a safe threshold, the internal short circuit fault of the battery can be detected, reducing false alarms and false alarms, improving the accuracy of fault detection, reducing computational costs and improving robustness. It has a wide range of applications and meets the needs of online detection. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117007971B_ABST
    Figure CN117007971B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of batteries, and provides a battery fault diagnosis method, device and system, wherein the method comprises: obtaining the distance value between the voltage time series corresponding to each battery cell of the battery in the time window and the average voltage time series; determining the z score corresponding to each battery cell in the time window based on the distance value corresponding to each battery cell of the battery in the time window; determining the potential faulty battery cells and normal battery cells in the battery based on the z scores corresponding to each battery cell of the battery in N consecutive time windows; determining the fault risk measurement value of the potential faulty battery cells based on the z scores corresponding to the potential faulty battery cells and the z scores corresponding to the normal battery cells in N consecutive time windows; and diagnosing the potential faulty battery cells as faulty batteries when the fault risk measurement value is greater than or equal to a preset threshold. The problem of how to diagnose battery faults quickly and easily as early as possible is solved, and the effect of battery fault diagnosis is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery technology, and in particular to a battery fault diagnosis method, device and system. Background Art

[0002] New energy heavy trucks and other vehicles have been developed rapidly, which can reduce fuel consumption and carbon emissions. Batteries are important components of vehicles. As the basic component unit of batteries, if a battery cell fails, it will affect the safe operation of the battery. Timely and accurate detection of battery cell failures and locating faulty batteries can intervene in advance to avoid major accidents. At present, traditional battery fault diagnosis methods can diagnose battery faults when the voltage exceeds the safety threshold. However, when the abnormal voltage is at the safety threshold, this method is difficult to diagnose early battery faults. Model-based methods can also be used to diagnose faults, but a large amount of testing and modeling are required for different batteries and faults, which makes implementation difficult. Therefore, how to quickly and easily diagnose battery failures as early as possible is an urgent problem to be solved in the industry. Summary of the invention

[0003] The present invention provides a battery fault diagnosis method, device and system, which are used to solve the problem of how to quickly and simply diagnose battery faults as early as possible in the prior art, thereby improving the effect of battery fault diagnosis.

[0004] The present invention provides a battery fault diagnosis method, comprising:

[0005] Obtaining a distance value between a voltage time series corresponding to each battery cell of the battery in the time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time;

[0006] Determine, based on the distance value corresponding to each of the cells of the battery within the time window, a z-score corresponding to each of the cells within the time window;

[0007] Determine potential faulty cells and normal cells in the battery based on the z-scores corresponding to the cells of the battery in N consecutive time windows, where N is a positive integer;

[0008] Determine a failure risk metric value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows;

[0009] When the fault risk metric value is greater than or equal to a preset threshold, the potential faulty battery cell is diagnosed as a faulty battery cell.

[0010] According to a battery fault diagnosis method provided by the present invention, the method of determining potential faulty cells and normal cells in the battery based on the z-score corresponding to each cell of the battery in N consecutive time windows includes:

[0011] For each of the N consecutive time windows, the following statistical steps are performed: based on the z-score corresponding to each cell of the battery in the time window, a target cell with the largest z-score corresponding to the time window is determined; if the absolute value of the z-score of the target cell is greater than a z-score threshold, the target cell is determined to be outlier and the number of outliers of the target cell counted is increased by 1;

[0012] Determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery;

[0013] The cells other than the potential faulty cells in the battery are determined as normal cells.

[0014] According to a battery fault diagnosis method provided by the present invention, the method of determining a potential faulty battery cell in the battery based on the statistical outlier count of each battery cell in the battery comprises:

[0015] The cell with the largest number of outliers in the battery is determined as the potential faulty cell.

[0016] According to a battery fault diagnosis method provided by the present invention, the fault risk metric value of the potential faulty battery cell is determined based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows, including:

[0017] Averaging the z scores corresponding to the potential faulty cells in N consecutive time windows to obtain a first average z score;

[0018] Averaging the z scores corresponding to the normal cells in N consecutive time windows to obtain a second average z score;

[0019] A failure risk metric value of the potential faulty battery cell is obtained based on a difference between the first average z-score and the second average z-score.

[0020] According to a battery fault diagnosis method provided by the present invention, the determining of the z-score corresponding to each of the cells in the time window based on the distance value corresponding to each of the cells in the battery in the time window includes:

[0021] Calculating an average value of the distance values ​​corresponding to each of the cells of the battery within the time window;

[0022] Calculating the standard deviation of the distance values ​​corresponding to each of the cells of the battery within the time window;

[0023] Based on the distance value, the standard deviation, and the average value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window is determined.

[0024] According to a battery fault diagnosis method provided by the present invention, before obtaining the distance value between the voltage time series corresponding to each battery cell of the battery within the time window and the average voltage time series, the method further includes:

[0025] Receiving whole vehicle data collected in real time from the vehicle where the battery is located, the whole vehicle data including the original voltage time series corresponding to each cell of the battery;

[0026] Performing data cleaning on the original voltage time series corresponding to each of the battery cells of the battery, and dividing the original voltage time series corresponding to each of the battery cells of the battery after data cleaning by using the sliding time window, to obtain the voltage time series corresponding to each of the battery cells of the battery within the time window;

[0027] The data cleaning includes at least one of the following items:

[0028] When there is a cell whose voltage exceeds a preset voltage range among the voltages of the cells of the battery at the same collection moment, deleting the voltages of all the cells of the battery at the same collection moment;

[0029] When the voltage of the battery cell is missing for M consecutive collection moments and M is greater than or equal to a preset number, the voltages of all the battery cells of the battery at the M collection moments are deleted, where M is a positive integer; when the voltage of the battery cell is missing for M consecutive collection moments and M is less than the preset number, the missing voltage of the battery cell is supplemented.

[0030] A battery fault diagnosis method provided by the present invention also includes:

[0031] The serial number of the faulty battery cell and the fault risk metric value of the faulty battery cell are sent to a pre-bound smart device.

[0032] A battery fault diagnosis method provided by the present invention also includes:

[0033] The length of the time window is modified according to the length modification operation corresponding to the time window.

[0034] The present invention also provides a battery fault diagnosis device, comprising:

[0035] A distance acquisition module is used to obtain a distance value between a voltage time series corresponding to each battery cell of a battery in a time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time;

[0036] A z-score determination module, configured to determine a z-score corresponding to each of the cells in the time window based on the distance value corresponding to each of the cells in the battery in the time window;

[0037] A potential fault determination module, used for determining potential faulty cells and normal cells in the battery based on the z-score corresponding to each cell of the battery in N consecutive time windows, where N is a positive integer;

[0038] A risk measurement module, used to determine a failure risk measurement value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows;

[0039] The fault diagnosis module is used to diagnose the potential faulty battery cell as a faulty battery cell when the fault risk metric value is greater than or equal to a preset threshold.

[0040] The present invention also provides a battery fault diagnosis system, comprising:

[0041] Vehicles and servers;

[0042] The vehicle includes a battery, wherein the battery includes a plurality of cells;

[0043] The server is used to obtain the distance value between the voltage time series corresponding to each cell of the battery in the time window and the average voltage time series, where the average voltage at a collection time in the average voltage time series refers to the average voltage of each cell of the battery in the time window at a collection time; based on the distance value corresponding to each cell of the battery in the time window, the z-score corresponding to each cell in the time window is determined; based on the z-score corresponding to each cell of the battery in N consecutive time windows, the potential faulty cells and normal cells in the battery are determined; based on the z-scores corresponding to the potential faulty cells and the z-scores corresponding to the normal cells in N consecutive time windows, the fault risk measurement value of the potential faulty cells is determined; when the fault risk measurement value is greater than or equal to a preset threshold, the potential faulty cell is diagnosed as a faulty cell.

[0044] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned battery fault diagnosis methods is implemented.

[0045] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the battery fault diagnosis method described in any one of the above methods is implemented.

[0046] The battery fault diagnosis method provided by the present invention obtains the distance value between the voltage time series corresponding to each battery cell of the battery in the time window and the average voltage time series, determines the z score corresponding to each battery cell in the time window based on the distance value corresponding to each battery cell of the battery in the time window, further determines the potential faulty battery cell and the normal battery cell in the battery based on the z score corresponding to each battery cell of the battery in N consecutive time windows, and determines the fault risk measurement value of the potential faulty battery cell based on the z score corresponding to the potential faulty battery cell and the z score corresponding to the normal battery cell in the N consecutive time windows. In this way, even when the voltage of the battery cell is at the safety threshold, the early internal short circuit fault of the battery can be detected and the faulty battery cell can be located, which is not affected by the poor consistency of the voltage of each battery cell, reduces false alarms and missed alarms, and the introduction of the time window can realize the processing of local data, improve the sensitivity to faults, and increase the accuracy of fault detection. This solution does not need to establish an accurate model, and can locate the faulty battery cell with relatively less computing cost and faster computing speed. It has high robustness and a wide range of applications, can meet the needs of online detection, and improves the battery fault diagnosis effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 It is a flowchart of the battery fault diagnosis method provided by the present invention;

[0049] Figure 2 It is a structural schematic diagram of a battery fault diagnosis device provided by the present invention;

[0050] Figure 3 It is a structural schematic diagram of a battery fault diagnosis system provided by the present invention;

[0051] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] Since the cells in the battery are connected in series, the related art cannot directly detect whether the battery has a fault during the actual operation of the vehicle. The present invention provides a battery fault diagnosis method that can perform battery fault diagnosis online in real time, detect abnormal changes in the early stage of the battery, and locate the faulty cell with less computing cost and faster computing speed. The solution of the present invention is described in detail below.

[0054] This embodiment provides a battery fault diagnosis method, which can be executed by a server or software and / or hardware therein, such as Figure 1 As shown, the battery fault diagnosis method includes at least the following steps:

[0055] Step 110, obtaining the distance value between the voltage time series corresponding to each battery cell of the battery in the time window and the average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time.

[0056] Step 120: Determine a z-score corresponding to each of the cells in the time window based on the distance value corresponding to each of the cells in the battery in the time window.

[0057] Step 130: Determine potential faulty cells and normal cells in the battery based on the z-scores corresponding to the cells of the battery in N consecutive time windows, where N is a positive integer.

[0058] Step 140: Determine a failure risk metric value of the potential faulty cell based on the z scores corresponding to the potential faulty cell and the z scores corresponding to the normal cell in N consecutive time windows.

[0059] Step 150: When the fault risk metric value is greater than or equal to a preset threshold, diagnose the potential faulty battery cell as a faulty battery cell.

[0060] In practical applications, the vehicle where the battery is located can be a new energy vehicle, such as a new energy heavy truck. The vehicle where the battery is located can collect vehicle data in real time and transmit it to the server. For example, the vehicle data can be collected in real time at a preset time interval t (e.g., 10s) and transmitted to the server. The server can process the vehicle data online. Specifically, before obtaining the distance value between the voltage time series corresponding to each battery cell of the battery in the time window and the average voltage time series, it can also include:

[0061] Receiving whole vehicle data collected in real time from the vehicle where the battery is located, the whole vehicle data including the original voltage time series corresponding to each cell of the battery;

[0062] Performing data cleaning on the original voltage time series corresponding to each of the battery cells of the battery, and dividing the original voltage time series corresponding to each of the battery cells of the battery after data cleaning by using the sliding time window, to obtain the voltage time series corresponding to each of the battery cells of the battery within the time window;

[0063] The data cleaning includes at least one of the following items:

[0064] Item 1: when there is a cell whose voltage exceeds a preset voltage range among the cell voltages of the battery at the same collection time, the voltages of all the cells of the battery at the same collection time are deleted;

[0065] Item 2: When the voltage of the battery cell is missing for M consecutive collection moments and M is greater than or equal to a preset number, the voltages of all the battery cells of the battery at the M collection moments are deleted, where M is a positive integer; when the voltage of the battery cell is missing for M consecutive collection moments and M is less than the preset number, the missing voltage of the battery cell is supplemented.

[0066] Among them, the whole vehicle data collected by the vehicle in real time includes the battery current, voltage, battery state of charge (Stage of Charge, SOC), temperature, and battery cell voltage, etc. The battery voltage is an available feature for detecting battery failure. When a battery short-circuit failure occurs, the battery voltage will suddenly drop. When the battery is open-circuited or a sensor failure occurs, the voltage will suddenly rise. In addition, when the voltage of a certain battery cell is outliers, the voltage of the battery cell will be far away from the voltage of a normal battery cell, and the voltage curve of a normal battery cell has a high similarity. Based on this, this embodiment pre-processes the whole vehicle data within a certain time period, and then extracts the battery cell voltage from the whole vehicle data as a feature of battery fault diagnosis to locate the faulty battery cell, which may be a battery cell with a circuit failure.

[0067] In the data collection process, it is inevitable that there will be erroneous data such as missing and abnormal voltage of the battery cell. In order to prevent the erroneous data from affecting the final diagnosis result, data cleaning is required. This embodiment provides two available data cleaning methods, namely the first and second data cleaning methods mentioned above.

[0068] In the first data cleaning method, a preset voltage range can be obtained in advance. If the voltage of a battery cell exceeds the preset voltage range, it may be a problem with sensor acquisition, not a battery failure, and can be deleted. For example, the battery includes battery cell 1, battery cell 2, and battery cell 3. Among the voltages of the battery cells collected at 10:20:10 on May 10, 2023, the voltage of battery cell 1 exceeds the preset voltage range. Then the voltages of battery cell 1, battery cell 2, and battery cell 3 collected at this collection time are all deleted.

[0069] In the second data cleaning method, if there is data missing at M consecutive collection moments and M is greater than or equal to the preset number, the voltage of each battery cell at the M collection moments can be deleted to avoid affecting the fault diagnosis. Taking the preset number = 3 as an example, the battery includes battery cell 1, battery cell 2 and battery cell 3. The voltage of battery cell 1 is missing at the collection moment of 10:20:10 on May 10, 2023, the voltage of battery cell 2 is missing at the collection moment of 10:20:20 on May 10, 2023, and the voltage of battery cell 1 is missing at the collection moment of 10:20:30 on May 10, 2023, that is, the data is missing at three consecutive collection moments, and the voltages of all batteries at these three collection moments can be deleted. If M is less than the preset number, the voltage of the missing battery cell can be supplemented. For example, the interpolation method can be used to supplement the voltage of the missing battery cell, for example, the voltage of the battery cell at the collection moment adjacent to the collection moment of the missing battery cell voltage is used for supplementation.

[0070] The voltage curve of the battery cell is a time series collected in chronological order, that is, a voltage time series. In order to measure the similarity between voltage time series, a sliding time window can be introduced to update the processed voltage time series in real time to maintain the sensitivity of the proposed battery fault diagnosis method to fault data. Assume that a piece of data collected at each collection moment includes the voltage of each battery cell of the battery, with a length of n, where n represents the number of battery cells of the battery, and the number of collection moments is m, then there are m pieces of data, and the length of the time window includes w collection moments, then the voltage of each battery cell in the time window includes w. In implementation, the length of the time window can be modified according to the length modification operation corresponding to the time window, so as to flexibly meet the actual needs of the user. The time window is slid with the length of the time window as the step length, starting from the first time window, and sliding w collection moments each time, and so on, to obtain N time windows. The set W of the voltage of the battery cell divided by the time window can be expressed as follows:

[0071] W=[V i ]1)

[0072] Among them, V i (i=1,…,N) represents the set of voltages of each cell in the i-th time window, N=m / / w, “ / / ” represents integer division, and the set of voltages of each cell in a time window is V i It is expressed as follows:

[0073]

[0074] in, Represents the voltage of the kth cell in the ith time window, k=1,…,n.

[0075] The above average voltage time series is obtained by using the voltage of each battery cell in the time window. The voltage of each battery cell at each collection moment in the time window can be averaged to obtain the average voltage at each collection moment in the time window, thereby forming an average voltage time series. Therefore, the average voltage at a collection moment in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection moment. For example, the battery includes battery cell 1, battery cell 2 and battery cell 3. For the collection moment of 10:20:10 on May 10, 2023, the voltage of battery cell 1, the voltage of battery cell 2 and the voltage of battery cell 3 at the collection moment can be averaged to obtain the average voltage at the collection moment.

[0076] The voltage of a faulty cell is different from that of a normal cell, while the voltage time series of a normal cell has a higher similarity. Therefore, the similarity of the voltage time series corresponding to each cell of the battery in the time window can be used to identify faulty cells and normal cells. In implementation, the similarity can be measured by the distance value between the voltage time series corresponding to each cell of the battery in the time window and the average voltage time series. Exemplarily, the distance value can be the Euclidean distance, and of course it can also be other distances. The Euclidean distance has a fast calculation speed and low complexity, which is conducive to improving the efficiency of battery fault diagnosis. The Euclidean distance is expressed as follows:

[0077]

[0078] in, Indicates the distance between the voltage time series corresponding to the kth cell in the ith time window and the average voltage time series, represents the voltage of the kth cell at the jth (j=1,…,w)th acquisition moment in the i-th time window, Represents the average value of the voltage of each cell at the jth acquisition moment in the i-th time window.

[0079] In practice, N consecutive time windows can be combined to perform battery fault diagnosis. The z-score, also known as the standard score, can reflect the relative standard distance of a data from the mean. When the z-score is 0, it means that the data is the same as the mean. A positive z-score means that the data is higher than the mean. A negative z-score means that the data is lower than the mean. Therefore, the z-score can be used to quickly and easily detect abnormal values ​​in the voltage of each battery cell using the mean and standard deviation.

[0080] Exemplarily, determining the z-score corresponding to each of the cells in the time window based on the distance value corresponding to each of the cells in the battery in the time window may specifically include:

[0081] The first step is to calculate an average value of the distance values ​​corresponding to each of the cells of the battery within the time window.

[0082]

[0083] in, It represents the average value of the distance values ​​corresponding to each battery cell in the i-th time window. It represents the maximum value of the distance values ​​corresponding to the cells of the battery in the i-th time window.

[0084] In this step, the maximum value among the distance values ​​corresponding to the cells is removed first, and then the average is calculated. Of course, other methods can also be used to calculate the average.

[0085] The second step is to calculate the standard deviation of the distance values ​​corresponding to each of the cells of the battery within the time window.

[0086] Specifically, the standard deviation is calculated according to the following formula:

[0087]

[0088] in, represents the standard deviation of the distance values ​​corresponding to each battery cell in the i-th time window. The distance value in this embodiment is the Euclidean distance.

[0089] The third step is to determine the z-score corresponding to each of the cells in the time window based on the distance value, the standard deviation and the average value corresponding to each of the cells in the battery in the time window.

[0090] Specifically, the z-score is calculated according to the following formula:

[0091]

[0092] in, Represents the z-score corresponding to the k-th cell in the ith time window.

[0093] Through the above steps, the distance value corresponding to each of the cells of the battery in the time window can be converted into a z score corresponding to each of the cells in the time window, and then, based on the z scores corresponding to each of the cells of the battery in N consecutive time windows, the potential fault cells and normal cells in the battery are determined. Potential fault cells refer to cells that may have faults. Normal cells are cells that do not have faults. In order to further improve the diagnostic accuracy, the fault risk metric value of the potential fault cell is determined based on the z scores corresponding to the potential fault cells and the z scores corresponding to the normal cells in N consecutive time windows. The fault risk metric value is used to characterize the possibility of a potential fault cell having a fault. The higher the fault risk metric value, the greater the possibility of a potential fault cell having a fault. Based on this, when the fault risk metric value is greater than or equal to the preset threshold value γ, the potential fault cell is finally diagnosed as a fault cell.

[0094] In this embodiment, by obtaining the distance value between the voltage time series corresponding to each battery cell of the battery in the time window and the average voltage time series, based on the distance value corresponding to each battery cell of the battery in the time window, the z score corresponding to each battery cell in the time window is determined, and further based on the z score corresponding to each battery cell of the battery in N consecutive time windows, the potential faulty battery cell and the normal battery cell in the battery are determined, and based on the z score corresponding to the potential faulty battery cell and the z score corresponding to the normal battery cell in N consecutive time windows, the fault risk metric value of the potential faulty battery cell is determined. In this way, even when the voltage of the battery cell is at the safety threshold, the early internal short circuit fault of the battery can be detected and the faulty battery cell can be located, which is not affected by the poor consistency of the voltage of each battery cell, reduces false alarms and missed alarms, and the introduction of the time window can realize the processing of local data, improve the sensitivity to faults, and increase the accuracy of fault detection. This solution does not need to establish an accurate model, and can locate the faulty battery cell with relatively low computing cost and faster computing speed. It has high robustness and a wide range of applications, can meet the needs of online detection, and improves the battery fault diagnosis effect.

[0095] In an exemplary embodiment, determining the potential faulty cells and normal cells in the battery based on the z-scores corresponding to the cells of the battery in N consecutive time windows may specifically include:

[0096] For each of the N consecutive time windows, the following statistical steps are performed: based on the z-score corresponding to each cell of the battery in the time window, a target cell with the largest z-score corresponding to the time window is determined; if the absolute value of the z-score of the target cell is greater than a z-score threshold, the target cell is determined to be outlier and the number of outliers of the target cell counted is increased by 1;

[0097] Determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery;

[0098] The cells other than the potential faulty cells in the battery are determined as normal cells.

[0099] An outlier is when the absolute value of the z-score of a cell in the battery is greater than the z-score threshold and greater than the z-scores of other cells. The z-score threshold can be pre-set based on actual conditions. The number of outliers is the number of times the cell is outliers.

[0100] In implementation, the number of outliers of each cell in the battery can be initialized to 0. For N consecutive time windows, in each time window, based on the z-score corresponding to each cell of the battery in the time window, the target cell with the largest z-score in the time window can be determined. If the absolute value of the z-score of the target cell is greater than the z-score threshold, the target cell is determined to be outlier and the number of outliers of the target cell is increased by 1. If the absolute value of the z-score of the target cell is less than or equal to the z-score threshold, the target cell is determined to be not outlier and the number of outliers of the target cell is increased by 0.

[0101] For example, the battery includes cell 1, cell 2 and cell 3. In the first time window, cell 1 is outliers, and the number of outliers of cell 1 is increased by 1. In the second time window, cell 1 is still outliers, and the number of outliers of cell 1 is increased by 1. In the third time window, cell 2 is outliers, and the number of outliers of cell 2 is increased by 1. Then, the number of outliers of cell 1 counted in three consecutive time windows is 2, the number of outliers of cell 2 is 1, and the number of outliers of cell 3 is 0.

[0102] The more outliers a battery cell has, the greater the possibility that the battery cell is faulty. Therefore, in this embodiment, the potential faulty battery cells in the battery can be accurately determined based on the statistical outlier times of each battery cell in the battery, and then the battery cells other than the potential faulty battery cells in the battery can be determined as normal batteries.

[0103] Of course, if there is no potential faulty cell, all cells in the battery are normal cells.

[0104] Exemplarily, the determining of the potential faulty cell in the battery based on the statistical outlier times of each cell in the battery may specifically include: determining the cell with the most outliers in the battery as the potential faulty cell. The cell with the most outliers has the greatest possibility of failure, so the cell with the most outliers in the battery can be determined as the potential faulty cell, making fault diagnosis more accurate. Of course, the cells with the most outliers and the second most outliers can also be determined as potential faulty cells, and so on.

[0105] In an exemplary embodiment, determining the failure risk metric value of the potential faulty cell based on the z-scores corresponding to the potential faulty cell and the z-scores corresponding to the normal cell in N consecutive time windows may specifically include:

[0106] First, the z scores corresponding to the potential faulty cells in N consecutive time windows are averaged to obtain a first average z score, and the z scores corresponding to the normal cells in N consecutive time windows are averaged to obtain a second average z score.

[0107] Then, based on the difference between the first average z score and the second average z score, a failure risk metric value of the potential faulty battery cell is obtained. Exemplarily, the difference between the first average z score and the second average z score is used as the failure risk metric value of the potential faulty battery cell.

[0108] Specifically, the calculation formula for the failure risk metric value of a potential faulty cell is as follows:

[0109]

[0110] in, represents the first average z-score, which is calculated as follows:

[0111]

[0112] in, It represents the z-score of the faulty cell in the i-th time window, and the subscript failt represents the number of the faulty cell. represents the second mean z-score, calculated as follows:

[0113]

[0114] in, represents the z-score of the lth normal cell in the ith time window, and p represents the number of normal cells in the ith time window.

[0115] In this embodiment, a first average z score is obtained by averaging the z scores corresponding to the potential faulty battery cells in N consecutive time windows, and a second average z score is obtained by averaging the z scores corresponding to the normal battery cells in N consecutive time windows. The degree to which the potential faulty battery cells deviate from the normal battery cells as a whole is measured based on the difference between the first average z score and the second average z score, thereby accurately measuring the possibility of faults in the potential faulty battery cells, providing users with intuitive diagnostic results, facilitating users to intervene in a timely manner, and reducing battery safety risks.

[0116] In an exemplary embodiment, the battery fault diagnosis method may further include: sending the serial number of the faulty battery cell and the fault risk metric value of the faulty battery cell to a pre-bound smart device.

[0117] In actual applications, the server can be pre-bound to the smart device. When a faulty battery cell is diagnosed, the faulty battery cell number can be recorded, and the faulty battery cell number and fault risk measurement value can be sent to the smart device, so that maintenance engineers and other personnel on the smart device side can promptly understand the battery failure situation or go to the site to handle the battery failure.

[0118] The battery fault diagnosis device provided by the present invention is described below. The battery fault diagnosis device described below and the battery fault diagnosis method described above can be referred to each other.

[0119] This embodiment provides a battery fault diagnosis device, such as Figure 2 As shown, including:

[0120] The distance obtaining module 201 is used to obtain the distance value between the voltage time series corresponding to each battery cell of the battery in the time window and the average voltage time series, where the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time;

[0121] A z-score determination module 202, configured to determine a z-score corresponding to each of the cells in the time window based on the distance value corresponding to each of the cells in the battery in the time window;

[0122] A potential fault determination module 203, configured to determine potential faulty cells and normal cells in the battery based on the z-score corresponding to each cell of the battery in N consecutive time windows;

[0123] A risk measurement module 204 is used to determine a failure risk measurement value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cells and the z scores corresponding to the normal battery cells in the N consecutive time windows;

[0124] The fault diagnosis module 205 is used to diagnose the potential faulty battery cell as a faulty battery cell when the fault risk metric value is greater than or equal to a preset threshold.

[0125] In an exemplary embodiment, the potential fault determination module 203 is specifically configured to:

[0126] For each of the N consecutive time windows, the following statistical steps are performed: based on the z-score corresponding to each cell of the battery in the time window, a target cell with the largest z-score corresponding to the time window is determined; if the absolute value of the z-score of the target cell is greater than a z-score threshold, the target cell is determined to be outlier and the number of outliers of the target cell counted is increased by 1;

[0127] Determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery;

[0128] The cells other than the potential faulty cells in the battery are determined as normal cells.

[0129] In an exemplary embodiment, the potential fault determination module 203 is specifically configured to:

[0130] The cell with the largest number of outliers in the battery is determined as the potential faulty cell.

[0131] In an exemplary embodiment, the risk measurement module 204 is specifically configured to:

[0132] Averaging the z scores corresponding to the potential faulty cells in N consecutive time windows to obtain a first average z score;

[0133] Averaging the z scores corresponding to the normal cells in N consecutive time windows to obtain a second average z score;

[0134] A failure risk metric value of the potential faulty battery cell is obtained based on a difference between the first average z-score and the second average z-score.

[0135] The z-score determination module 202 is specifically configured to:

[0136] Calculating an average value of the distance values ​​corresponding to each of the cells of the battery within the time window;

[0137] Calculating the standard deviation of the distance values ​​corresponding to each of the cells of the battery within the time window;

[0138] Based on the distance value, the standard deviation, and the average value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window is determined.

[0139] In an exemplary embodiment, a data cleaning module is further included, which is used to:

[0140] Receiving whole vehicle data collected in real time from the vehicle where the battery is located, the whole vehicle data including the original voltage time series corresponding to each cell of the battery;

[0141] Performing data cleaning on the original voltage time series corresponding to each of the battery cells of the battery, and dividing the original voltage time series corresponding to each of the battery cells of the battery after data cleaning by using the sliding time window, to obtain the voltage time series corresponding to each of the battery cells of the battery within the time window;

[0142] The data cleaning includes at least one of the following items:

[0143] When there is a cell whose voltage exceeds a preset voltage range among the voltages of the cells of the battery at the same collection moment, deleting the voltages of all the cells of the battery at the same collection moment;

[0144] When the voltage of the battery cell is missing for M consecutive collection moments and M is greater than or equal to a preset number, the voltages of all the battery cells of the battery at the M collection moments are deleted, where M is a positive integer; when the voltage of the battery cell is missing for M consecutive collection moments and M is less than the preset number, the missing voltage of the battery cell is supplemented.

[0145] In an exemplary embodiment, it also includes:

[0146] The sending module is used to send the number of the faulty battery cell and the fault risk metric value of the faulty battery cell to a pre-bound smart device.

[0147] In an exemplary embodiment, it also includes:

[0148] The modification module is used to modify the length of the time window according to the length modification operation corresponding to the time window.

[0149] The battery fault diagnosis system provided by the present invention is described below. The battery fault diagnosis system described below and the battery fault diagnosis method described above can be referenced to each other.

[0150] This embodiment provides a battery fault diagnosis system. Figure 3 As shown, including:

[0151] Vehicle 310 and server 320; Vehicle 310 and server 320 are connected via a communication network;

[0152] The vehicle includes a battery 311, and the battery includes a plurality of battery cells 3111;

[0153] The server 320 is used to obtain the distance value between the voltage time series corresponding to each cell of the battery in the time window and the average voltage time series, where the average voltage at a collection time in the average voltage time series refers to the average voltage of each cell of the battery in the time window at a collection time; based on the distance value corresponding to each cell of the battery in the time window, the z-score corresponding to each cell in the time window is determined; based on the z-score corresponding to each cell of the battery in N consecutive time windows, the potential faulty cells and normal cells in the battery are determined; based on the z-scores corresponding to the potential faulty cells and the z-scores corresponding to the normal cells in N consecutive time windows, the fault risk measurement value of the potential faulty cells is determined; when the fault risk measurement value is greater than or equal to a preset threshold, the potential faulty cell is diagnosed as a faulty cell.

[0154] The specific implementation of the server may refer to the above battery fault diagnosis method embodiment, which will not be described in detail here.

[0155] Exemplarily, the battery fault diagnosis system may further include an intelligent device, which is used to receive the serial number of the faulty battery cell and the fault risk metric value of the faulty battery cell.

[0156] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the battery fault diagnosis method, which includes:

[0157] Obtaining a distance value between a voltage time series corresponding to each battery cell of the battery in the time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time;

[0158] Determine, based on the distance value corresponding to each of the cells of the battery within the time window, a z-score corresponding to each of the cells within the time window;

[0159] Determine potential faulty cells and normal cells in the battery based on the z-scores corresponding to the cells of the battery in N consecutive time windows, where N is a positive integer;

[0160] Determine a failure risk metric value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows;

[0161] When the fault risk metric value is greater than or equal to a preset threshold, the potential faulty battery cell is diagnosed as a faulty battery cell.

[0162] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0163] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer can execute the battery fault diagnosis method provided by the above methods, the method comprising:

[0164] Obtaining a distance value between a voltage time series corresponding to each battery cell of the battery in the time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time;

[0165] Determine, based on the distance value corresponding to each of the cells of the battery within the time window, a z-score corresponding to each of the cells within the time window;

[0166] Determine potential faulty cells and normal cells in the battery based on the z-scores corresponding to the cells of the battery in N consecutive time windows, where N is a positive integer;

[0167] Determine a failure risk metric value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows;

[0168] When the fault risk metric value is greater than or equal to a preset threshold, the potential faulty battery cell is diagnosed as a faulty battery cell.

[0169] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the battery fault diagnosis method provided above is implemented, and the method includes:

[0170] Obtaining a distance value between a voltage time series corresponding to each battery cell of the battery in the time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time;

[0171] Determine, based on the distance value corresponding to each of the cells of the battery within the time window, a z-score corresponding to each of the cells within the time window;

[0172] Determine potential faulty cells and normal cells in the battery based on the z-scores corresponding to the cells of the battery in N consecutive time windows, where N is a positive integer;

[0173] Determine a failure risk metric value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows;

[0174] When the fault risk metric value is greater than or equal to a preset threshold, the potential faulty battery cell is diagnosed as a faulty battery cell.

[0175] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0176] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0177] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A battery fault diagnosis method, characterized in that: include: Obtaining a distance value between a voltage time series corresponding to each battery cell of the battery within the time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery within the time window at a collection time; Determine, based on the distance value corresponding to each of the cells of the battery within the time window, a z-score corresponding to each of the cells within the time window; Determine potential faulty cells and normal cells in the battery based on the z-scores corresponding to the cells of the battery in N consecutive time windows, where N is a positive integer; Determine a failure risk metric value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows; When the fault risk metric value is greater than or equal to a preset threshold, diagnosing the potential faulty battery cell as a faulty battery cell; The determining of potential faulty cells and normal cells in the battery based on the z-score corresponding to each cell of the battery in N consecutive time windows includes: For each of the N consecutive time windows, the following statistical steps are performed: based on the z-score corresponding to each cell of the battery in the time window, a target cell with the largest z-score corresponding to the time window is determined; if the absolute value of the z-score of the target cell is greater than a z-score threshold, the target cell is determined to be outlier and the number of outliers of the target cell counted is increased by 1; Determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery; Determining the cells other than the potential faulty cells in the battery as normal cells; The step of determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery comprises: Determine the battery cell with the largest number of outliers in the battery as the potential faulty battery cell; The determining the failure risk metric value of the potential faulty cell based on the z-scores corresponding to the potential faulty cell and the z-scores corresponding to the normal cell in the N consecutive time windows includes: Averaging the z scores corresponding to the potential faulty cells in N consecutive time windows to obtain a first average z score; Averaging the z scores corresponding to the normal cells in N consecutive time windows to obtain a second average z score; Obtaining a failure risk metric value of the potential faulty battery cell based on a difference between the first average z-score and the second average z-score; The determining, based on the distance value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window, comprises: Calculating an average value of the distance values ​​corresponding to each of the cells of the battery within the time window; Calculating the standard deviation of the distance values ​​corresponding to each of the cells of the battery within the time window; Based on the distance value, the standard deviation, and the average value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window is determined.

2. The battery fault diagnosis method according to claim 1, characterized in that: Before obtaining the distance value between the voltage time series corresponding to each battery cell of the battery in the time window and the average voltage time series, the method further includes: Receiving whole vehicle data collected in real time from the vehicle where the battery is located, the whole vehicle data including the original voltage time series corresponding to each cell of the battery; Performing data cleaning on the original voltage time series corresponding to each of the battery cells of the battery, and dividing the original voltage time series corresponding to each of the battery cells of the battery after data cleaning by using the sliding time window, to obtain the voltage time series corresponding to each of the battery cells of the battery within the time window; The data cleaning includes at least one of the following items: When there is a cell whose voltage exceeds a preset voltage range among the voltages of the cells of the battery at the same collection moment, deleting the voltages of all the cells of the battery at the same collection moment; When the voltage of the battery cell is missing for M consecutive collection moments and M is greater than or equal to a preset number, the voltages of all the battery cells of the battery at the M collection moments are deleted, where M is a positive integer; when the voltage of the battery cell is missing for M consecutive collection moments and M is less than the preset number, the missing voltage of the battery cell is supplemented.

3. The battery fault diagnosis method according to claim 1, characterized in that: Also includes: The serial number of the faulty battery cell and the fault risk metric value of the faulty battery cell are sent to a pre-bound smart device.

4. The battery fault diagnosis method according to claim 1, characterized in that: Also includes: The length of the time window is modified according to the length modification operation corresponding to the time window.

5. A battery fault diagnosis device, characterized in that: include: A distance acquisition module is used to obtain a distance value between a voltage time series corresponding to each battery cell of a battery in a time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each battery cell of the battery in the time window at a collection time; A z-score determination module, configured to determine a z-score corresponding to each of the cells in the time window based on the distance value corresponding to each of the cells in the battery in the time window; A potential fault determination module, used for determining potential faulty cells and normal cells in the battery based on the z-score corresponding to each cell of the battery in N consecutive time windows, where N is a positive integer; A risk measurement module, used to determine a failure risk measurement value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows; A fault diagnosis module, configured to diagnose the potential faulty battery cell as a faulty battery cell when the fault risk metric value is greater than or equal to a preset threshold; The determining of potential faulty cells and normal cells in the battery based on the z-score corresponding to each cell of the battery in N consecutive time windows includes: For each of the N consecutive time windows, the following statistical steps are performed: based on the z-score corresponding to each cell of the battery in the time window, a target cell with the largest z-score corresponding to the time window is determined; if the absolute value of the z-score of the target cell is greater than a z-score threshold, the target cell is determined to be outlier and the number of outliers of the target cell counted is increased by 1; Determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery; Determining the cells other than the potential faulty cells in the battery as normal cells; The step of determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery comprises: Determine the battery cell with the largest number of outliers in the battery as the potential faulty battery cell; The determining the failure risk metric value of the potential faulty cell based on the z-scores corresponding to the potential faulty cell and the z-scores corresponding to the normal cell in the N consecutive time windows includes: Averaging the z scores corresponding to the potential faulty cells in N consecutive time windows to obtain a first average z score; Averaging the z scores corresponding to the normal cells in N consecutive time windows to obtain a second average z score; Obtaining a failure risk metric value of the potential faulty battery cell based on a difference between the first average z-score and the second average z-score; The determining, based on the distance value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window, comprises: Calculating an average value of the distance values ​​corresponding to each of the cells of the battery within the time window; Calculating the standard deviation of the distance values ​​corresponding to each of the cells of the battery within the time window; Based on the distance value, the standard deviation, and the average value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window is determined.

6. A battery fault diagnosis system, characterized in that: include: Vehicles and servers; The vehicle includes a battery, wherein the battery includes a plurality of cells; The server is used to obtain a distance value between a voltage time series corresponding to each cell of the battery in the time window and an average voltage time series, wherein the average voltage at a collection time in the average voltage time series refers to the average voltage of each cell of the battery in the time window at a collection time; Determine the z-score corresponding to each of the cells in the time window based on the distance value corresponding to each of the cells in the battery in the time window; determine the potential faulty cells and normal cells in the battery based on the z-score corresponding to each of the cells in the battery in N consecutive time windows; Determine a failure risk metric value of the potential faulty battery cell based on the z scores corresponding to the potential faulty battery cell and the z scores corresponding to the normal battery cell in N consecutive time windows; When the fault risk metric value is greater than or equal to a preset threshold, diagnosing the potential faulty battery cell as a faulty battery cell; The determining of potential faulty cells and normal cells in the battery based on the z-score corresponding to each cell of the battery in N consecutive time windows includes: For each of the N consecutive time windows, the following statistical steps are performed: based on the z-score corresponding to each cell of the battery in the time window, a target cell with the largest z-score corresponding to the time window is determined; if the absolute value of the z-score of the target cell is greater than a z-score threshold, the target cell is determined to be outlier and the number of outliers of the target cell counted is increased by 1; Determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery; Determining the cells other than the potential faulty cells in the battery as normal cells; The step of determining a potential faulty cell in the battery based on the statistical outlier count of each cell in the battery comprises: Determine the battery cell with the largest number of outliers in the battery as the potential faulty battery cell; The determining the failure risk metric value of the potential faulty cell based on the z-scores corresponding to the potential faulty cell and the z-scores corresponding to the normal cell in the N consecutive time windows includes: Averaging the z scores corresponding to the potential faulty cells in N consecutive time windows to obtain a first average z score; Averaging the z scores corresponding to the normal cells in N consecutive time windows to obtain a second average z score; Obtaining a failure risk metric value of the potential faulty battery cell based on a difference between the first average z-score and the second average z-score; The determining, based on the distance value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window, comprises: Calculating an average value of the distance values ​​corresponding to each of the cells of the battery within the time window; Calculating the standard deviation of the distance values ​​corresponding to each of the cells of the battery within the time window; Based on the distance value, the standard deviation, and the average value corresponding to each of the cells of the battery in the time window, a z-score corresponding to each of the cells in the time window is determined.