Battery fault early warning method and device, electronic equipment and storage medium
By obtaining the battery voltage matrix and determining the voltage deviation matrix, identifying abnormal units and formulating early warning methods, the problems of low calculation efficiency and high misjudgment rate of power battery fault warning in the prior art are solved, and the accuracy and safety guarantee of fault warning are improved.
Patent Information
- Application Number
- CN202510051163.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-23
AI Technical Summary
The prior art has low computing efficiency and high fault recognition error rate in power battery fault warning in electric vehicles, making it difficult to detect potential safety risks in a timely manner.
By obtaining the battery voltage matrix, determining the voltage deviation matrix, identifying abnormal units and formulating early warning methods, we can achieve early warning of battery failure.
Improve the accuracy of battery failure warning and enhance the protection of vehicle users' property and personal safety.
Smart Images

Figure CN120028709A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of battery technologies, and in particular, to a battery fault warning method, apparatus, electronic device, and storage medium. Background Art
[0002] Power batteries are one of the key power components of electric vehicles and are crucial for the performance of electric vehicles. At present, safety issues have become the focus of attention for power batteries. The reason for many electric vehicle fires is that the power battery fails. Therefore, it is of urgent practical significance to detect power battery faults in a timely manner. In current research, the safety performance of power batteries mainly relies on the diagnosis of intuitive parameters such as voltage, temperature, and current. When these parameters exceed the threshold, the power battery fails. If the potential safety risks of the power battery can be perceived in advance and processed, the occurrence of power battery safety accidents will be greatly prevented. In some technologies that directly identify the safety risks of power batteries through voltage, there are generally problems such as low calculation efficiency and high misjudgment rates of fault identification. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a battery fault warning method, apparatus, electronic device, and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a battery fault warning method, including: Obtaining a battery voltage matrix, where the battery voltage matrix includes voltage values of n single cells of the battery at m sampling times respectively, and both n and m are positive integers; Determining a voltage deviation matrix corresponding to the battery according to the battery voltage matrix and a voltage center band corresponding to each single cell; Determining an abnormal single cell in the battery and a warning method corresponding to the abnormal single cell according to the voltage deviation matrix, where the abnormal single cell is a single cell among the n single cells of the battery; Performing abnormal warning on the abnormal single cell according to the warning method corresponding to the abnormal single cell.
[0005] Optionally, the determining the voltage deviation matrix corresponding to the battery according to the battery voltage matrix and the voltage center band corresponding to each single cell includes: Determining a voltage center band corresponding to a first single cell according to m voltage values corresponding to the first single cell in the battery voltage matrix; where the first single cell is any one of the n single cells of the battery; Determining a voltage deviation value corresponding to each voltage value among the m voltage values corresponding to the first single cell according to an upper limit of the voltage center band and a lower limit of the voltage center band of the voltage center band corresponding to the first single cell; The voltage deviation matrix is determined according to the voltage deviation value corresponding to each voltage value in the battery voltage matrix.
[0006] Optionally, a calculation formula for the voltage center band upper limit of the voltage center band corresponding to the first monomer is:
[0007] The calculation formula of the lower limit of the voltage center band of the voltage center band corresponding to the first monomer is:
[0008] in, represents the upper limit value of the voltage center band of the first monomer, represents the lower limit value of the voltage center band of the first monomer, represents the first quartile of the m voltage values corresponding to the first monomer, represents the second quartile of the m voltages corresponding to the first monomer, represents the third quartile of the m voltages corresponding to the first monomer.
[0009] Optionally, the determining, according to the voltage deviation matrix, an abnormal cell in the battery and a warning method corresponding to the abnormal cell includes: Determine the voltage deviation variance corresponding to each of the monomers according to the voltage deviation matrix to obtain n voltage deviation variances; The abnormal cell and the warning method corresponding to the abnormal cell are determined according to the n voltage deviation variances.
[0010] Optionally, the determining the abnormal monomer and the warning mode corresponding to the abnormal monomer according to the n voltage deviation variances includes: When the difference between the first voltage deviation variance and the average value of the n voltage deviation variances is less than a first threshold value, and the first characteristic value corresponding to the first voltage deviation variance is less than a second threshold value, it is determined that the monomer has no abnormality; wherein the first voltage deviation variance is the voltage deviation variance corresponding to any monomer among the n voltage deviation variances; When the difference is greater than or equal to the first threshold value, and the first characteristic value is less than the second threshold value, it is determined that the monomer corresponding to the first voltage deviation variance may be an abnormal monomer, and the warning mode is the first warning mode; When the difference is less than the first threshold value, and the first characteristic value is greater than or equal to the second threshold value, it is determined that the monomer corresponding to the first voltage deviation variance may be an abnormal monomer, and the warning method is the first warning method; When the difference is greater than or equal to the first threshold, and the first characteristic value is greater than or equal to the second threshold, it is determined that the cell corresponding to the first voltage deviation variance is an abnormal cell, and the warning mode is the second warning mode.
[0011] Optionally, the first characteristic value is determined by at least one of the first voltage deviation variance, a first quartile of the n voltage deviation variances, and a third quartile of the n voltage deviation variances.
[0012] Optionally, obtaining the battery voltage matrix includes: Obtaining an initial battery voltage matrix, wherein the initial battery voltage matrix includes voltage values of n cells of the battery at y sampling moments, where n and y are both positive integers; When the difference between the voltage value of the second cell at sampling time t and the voltage value at sampling time t+1 is less than a third threshold, the voltage values of n cells at time t are removed from the initial battery voltage matrix to obtain the battery voltage matrix; wherein the second cell is any one of the n cells, t and t+1 are any two adjacent sampling times among the y sampling times, and y is greater than or equal to m.
[0013] According to a second aspect of an embodiment of the present disclosure, a battery failure warning device is provided, comprising: An acquisition module is used to acquire a battery voltage matrix, wherein the battery voltage matrix includes voltage values of n cells of the battery at m sampling moments, where n and m are both positive integers; A calculation module, used for determining a voltage deviation matrix corresponding to the battery according to the battery voltage matrix and the voltage center band corresponding to each cell; A determination module, configured to determine an abnormal cell in the battery and a warning mode corresponding to the abnormal cell according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery; The early warning module is used to issue an abnormal early warning to the abnormal monomer according to the early warning method corresponding to the abnormal monomer.
[0014] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including: processor; a memory for storing processor-executable instructions; Among them, the processor is configured to execute the executable instructions to implement the steps of the battery failure warning method provided in the first aspect of the present disclosure.
[0015] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the battery failure warning method provided in the first aspect of the present disclosure are implemented.
[0016] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects: In the above technical solution, a battery voltage matrix is obtained, which includes the voltage values of n cells of the battery at m sampling moments, where n and m are both positive integers; the voltage deviation matrix corresponding to the battery is determined according to the battery voltage matrix and the voltage center band corresponding to each cell; the abnormal cell in the battery and the warning method corresponding to the abnormal cell are determined according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery; and an abnormal warning is given to the abnormal cell according to the warning method corresponding to the abnormal cell. The abnormal cell in the battery can be determined and warned according to the voltage deviation matrix, which is conducive to improving the accuracy of battery fault warning, thereby better protecting the property and personal safety of vehicle users.
[0017] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0019] Figure 1 The figure is a flow chart of a battery failure warning method according to an exemplary embodiment.
[0020] Figure 2 The figure is a flow chart of a battery failure warning method according to an exemplary embodiment.
[0021] Figure 3 The figure is a flow chart of a battery failure warning method according to an exemplary embodiment.
[0022] Figure 4 The figure is a flow chart of a battery failure warning method according to an exemplary embodiment.
[0023] Figure 5 The figure is a flow chart of a battery failure warning method according to an exemplary embodiment.
[0024] Figure 6 is a schematic diagram of a battery failure warning device 600 according to an exemplary embodiment.
[0025] Figure 7is a schematic structural diagram of an electronic device 700 according to an exemplary embodiment.
[0026] Figure 8 is a schematic structural diagram of a chip 800 according to an exemplary embodiment. DETAILED DESCRIPTION
[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0028] It should be noted that all actions of acquiring signals, information or data in the present disclosure are performed with the authorization given by the owner of the corresponding device.
[0029] Figure 1 FIG. 1 is a flow chart showing a battery failure warning method according to an exemplary embodiment. Figure 1 As shown, the method comprises the following steps: In step S11, a battery voltage matrix is obtained, where the battery voltage matrix includes voltage values of n cells of the battery at m sampling moments, respectively, where n and m are both positive integers.
[0030] Exemplarily, the vehicle power battery is composed of multiple monomers connected in series and parallel, which together constitute the core energy source of the electric vehicle and are responsible for storing and releasing electrical energy. The number of monomers of different types of vehicle batteries may be different, and the present disclosure does not limit the number of monomers of the battery. The battery management system (BMS) can monitor and manage the charging and discharging process of the battery to ensure the safe, stable and efficient operation of the battery. Therefore, in the embodiments included in the present disclosure, when the vehicle battery or monomer is abnormal, a fault warning can be performed through the battery management system. In addition, the battery management system can also collect the voltage values of n monomers of the battery at specified time intervals, and construct an m×n battery voltage matrix based on the voltage values of the n monomers at m sampling moments, wherein n represents the number of monomers contained in the battery (i.e., the number of columns of the battery voltage matrix), and m represents the number of sampling times (i.e., the number of rows of the battery voltage matrix), and n and m are both positive integers customized according to actual conditions.
[0031] For example, the above m×n battery voltage matrix can be expressed as , where a ij Represents the voltage value of the j-th cell at the i-th sampling moment; i=1, 2,…, m; j=1, 2,…, n.
[0032] Alternatively, if Figure 2 As shown, step S11 may include the following steps: In step S111, an initial battery voltage matrix is obtained, where the initial battery voltage matrix includes voltage values of n cells of the battery at y sampling moments, respectively, where n and y are both positive integers; In step S112, when the difference between the voltage value of the second cell at sampling time t and the voltage value at sampling time t+1 is less than the third threshold, the voltage values of n cells at time t are removed from the initial battery voltage matrix to obtain the battery voltage matrix; wherein the second cell is any one of the n cells, t and t+1 are any two adjacent sampling times among the y sampling times, and y is greater than or equal to m.
[0033] Exemplarily, before obtaining the m×n battery voltage matrix, the present disclosure may obtain the voltage values of n monomers at y sampling moments (y≥m), and construct a y×n initial battery voltage matrix according to the voltage values at the y sampling moments, and preprocess the y×n initial battery voltage matrix, and obtain the corresponding preprocessed voltage values of the n monomers at m sampling moments after preprocessing. The preprocessing here may include but is not limited to any one or more of the following combinations: missing value processing, outlier processing, data conversion, data cleaning or other customized data processing methods. Among them, missing value processing may refer to filling or deleting missing values to ensure data integrity. The above-mentioned outlier processing may refer to identifying and processing outliers to prevent them from affecting the analysis results. The above-mentioned data conversion may refer to standardization or normalization of data, so that the data has the same measurement unit and range for comparison and analysis. The above-mentioned data cleaning may refer to removing duplicate, incomplete or invalid data, etc.
[0034] For example, the preprocessing may be that in the initial battery voltage matrix, when the difference between the voltage value of the second cell at sampling time t and the voltage value at sampling time t+1 is less than the third threshold, the voltage values of n cells at time t are removed from the initial battery voltage matrix (i.e., the row where the n cell voltage values are located is removed), thereby obtaining the battery voltage matrix; wherein the second cell is any one of the n cells, t and t+1 are any two adjacent sampling times among the y sampling times, and y is greater than or equal to m. It is understood that the present disclosure does not limit the size of the third threshold.
[0035] In step S12, a voltage deviation matrix corresponding to the battery is determined according to the battery voltage matrix and the voltage center band corresponding to each cell.
[0036] Exemplarily, when the battery is in different states, the voltage of any single cell at m moments usually varies around a certain central range. Therefore, the central range of the single cell can be regarded as the voltage center band of the single cell. Therefore, the deviation value of each voltage in the battery voltage matrix from the central band corresponding to the voltage can be determined, and the voltage deviation matrix can be constructed according to the deviation value of each voltage.
[0037] Alternatively, if Figure 3 As shown, step S12 may include the following steps: In step S121, a voltage center band corresponding to a first cell in the battery voltage matrix is determined according to m voltage values corresponding to the first cell; wherein the first cell is any cell among the n cells of the battery.
[0038] Exemplarily, the voltage center band of the first single cell can be determined by the m voltages of the first single cell in the battery voltage matrix, and the voltage center band includes a voltage center band upper limit and a voltage center band lower limit; the voltage center band upper limit and the voltage center band lower limit can both be determined according to characteristic values among the m voltage values corresponding to the first single cell, or determined by numerical calculation of the m voltage values.
[0039] Optionally, the upper limit calculation formula of the voltage center band corresponding to the first monomer is:
[0040] Optionally, the calculation formula for the lower limit of the voltage center band corresponding to the first monomer is:
[0041] in, Characterizes the upper limit of the voltage center band of the battery cell, Characterizes the lower limit of the voltage center band of the battery cell, Represents the first quartile of the m voltages (i.e., 25% of the data in the m voltages are below this value), represents the median of the m voltages, Represents the third quartile of the m voltages (that is, 75% of the data of the m voltages are lower than this value).
[0042] In step S122, a voltage deviation value corresponding to each of the m voltage values corresponding to the first cell is determined according to a voltage center band upper limit and a voltage center band lower limit of the voltage center band corresponding to the first cell.
[0043] Exemplarily, the voltage deviation value corresponding to each of the m voltage values corresponding to the first cell can be determined by the voltage characteristic value between the voltage center upper limit and the voltage center band lower limit. For example, the voltage deviation value corresponding to any cell in the battery voltage matrix can be calculated by the following formula:
[0044] in, It represents the deviation between the voltage value of the jth cell at the i-th sampling moment and the voltage center band of the cell. represents the median of m voltage values of cell j; Represents the third quartile of the m voltage values of monomer j (i.e., 75% of the data of the m voltages are lower than this value); Represents the first quartile of the m voltage values of monomer j (that is, 25% of the data in the m voltages are lower than this value).
[0045] In step S123, the voltage deviation matrix is determined according to the voltage deviation value corresponding to each voltage value in the battery voltage matrix.
[0046] For example, through the above step S122, the voltage deviation value corresponding to each voltage in the battery voltage matrix can be determined, and the voltage deviation matrix corresponding to the battery voltage matrix can be constructed according to the voltage deviation value corresponding to each voltage. The voltage deviation matrix can be expressed as , where b ij It represents the voltage deviation of the j-th cell at the i-th sampling moment from the voltage center band of the cell; i=1, 2, ..., m; j=1, 2, ..., n.
[0047] In step S13, an abnormal cell in the battery and a warning method corresponding to the abnormal cell are determined according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery.
[0048] Exemplarily, the voltage deviation matrix can reflect the changes in the voltage deviation values of n cells of the battery at m moments. Therefore, cells that may be abnormal can be determined based on the voltage deviation matrix.
[0049] For example, it is possible to determine whether a cell corresponding to each column of data is abnormal by using any one of the average value, variance, standard deviation, etc. of each column of data in the voltage deviation matrix. For example, when any one of the average value, variance, and standard deviation is greater than a corresponding preset threshold, the cell can be determined to be an abnormal cell. It is understood that the present disclosure does not limit the method of determining an abnormal cell in the battery according to the voltage deviation matrix.
[0050] For example, the above-mentioned warning mode in the present disclosure may be a battery failure warning mode that is pre-customized and set by the system according to actual conditions, and different warning modes may adopt different warning measures. For example, when determining whether a cell corresponding to each column of data in the voltage deviation matrix is abnormal by the variance of the column of data in the voltage deviation matrix, the warning mode corresponding to the abnormal cell can be determined according to the interval where the variance of the column of data in the voltage deviation matrix corresponding to the abnormal cell is located.
[0051] For example, when the variance is within the first abnormal interval, it is determined that the monomer is normal and no warning is issued; when the variance is within the second abnormal interval, it is determined that the monomer may be an abnormal monomer, and a warning is issued to the abnormal monomer in the first warning method; when the variance is within the third abnormal interval, it is determined that the monomer is an abnormal monomer, and a warning is issued to the abnormal monomer in the second warning method.
[0052] Among them, the first abnormal interval, the second abnormal interval and the third abnormal interval are all different from each other, and they can be customized abnormal determination intervals according to actual conditions, for example, they can be determined by trial and error and experience. Optionally, the upper limit value of the first abnormal interval can be the same as the lower limit value of the second abnormal interval, the upper limit value of the second abnormal interval can be the same as the lower limit value of the third abnormal interval, etc.
[0053] In step S14, an abnormal warning is issued to the abnormal monomer according to the warning method corresponding to the abnormal monomer.
[0054] Exemplarily, the present disclosure does not impose any limitation on the warning method for the abnormal cell. For example, the warning method may include: broadcasting warning information on the vehicle broadcast when the vehicle is started, sending warning information to a terminal device associated with the vehicle, lighting up the battery abnormality mark in the vehicle dashboard, popping up warning information on the vehicle's large screen, displaying warning information in the form of a heads-up display, etc. One or more of the following.
[0055] In the above technical solution, a battery voltage matrix is obtained, which includes the voltage values of n cells of the battery at m sampling moments, where n and m are both positive integers; the voltage deviation matrix corresponding to the battery is determined according to the battery voltage matrix and the voltage center band corresponding to each cell; the abnormal cell in the battery and the warning method corresponding to the abnormal cell are determined according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery; and an abnormal warning is given to the abnormal cell according to the warning method corresponding to the abnormal cell. The abnormal cell in the battery can be determined and warned according to the voltage deviation matrix, which is conducive to improving the accuracy of battery fault warning, thereby better protecting the property and personal safety of vehicle users.
[0056] Figure 4FIG. 1 is a flow chart showing a battery failure warning method according to an exemplary embodiment. Figure 4 As shown, step S13 includes the following steps: In step S131, the voltage deviation variance corresponding to each cell is determined according to the voltage deviation matrix to obtain n voltage deviation variances.
[0057] For example, each cell of the battery has different resistances, so there are some differences in voltage performance. For example, the voltage deviation value of a battery cell with a larger internal resistance changes more dramatically, while the voltage deviation value of a battery cell with a smaller internal resistance changes more slowly. The variance can be used to characterize the fluctuation of the voltage deviation value in the battery pack. For a battery cell with a larger variance, the greater the voltage fluctuation, the worse the battery condition. Therefore, the voltage variance corresponding to each cell can be determined according to the voltage deviation matrix to obtain n voltage deviation variances, where if represents the voltage deviation variance of the jth cell, then It is equal to the variance of the voltage deviation data in the jth column of the matrix, calculated by the following formula:
[0058] Among them, b ij Indicates the voltage deviation of the jth cell at the i-th sampling moment from the voltage center band of the cell; i=1, 2, ..., m; j=1, 2, ..., n; The average of the m deviations of the j-th monomer.
[0059] In step S132, the abnormal cell and the warning method corresponding to the abnormal cell are determined according to the n voltage deviation variances.
[0060] For example, in a possible embodiment, whether any monomer is an abnormal monomer can be determined by the following formula:
[0061] in, represents the voltage deviation variance of the jth cell, represents the average value of the variance of n voltage deviations; In this When it is in the first abnormal interval, it is determined that The corresponding monomer has no abnormality and no warning is issued; When it is in the second abnormal interval, it is determined that The corresponding monomer may be an abnormal monomer, and a warning is issued to the abnormal monomer in a first warning manner; When it is in the third abnormal interval, it is determined that The corresponding monomer is an abnormal monomer, and a warning is issued to the abnormal monomer in a second warning manner.
[0062] Among them, the first abnormal interval, the second abnormal interval and the third abnormal interval are all different from each other, and they can be customized abnormal determination intervals according to actual conditions, for example, they can be determined by trial and error and experience. Optionally, the upper limit value of the first abnormal interval can be the same as the lower limit value of the second abnormal interval, the upper limit value of the second abnormal interval can be the same as the lower limit value of the third abnormal interval, etc.
[0063] Optionally, in a possible embodiment, step S132 may include the following steps: Eliminate the outliers in the n voltage deviation variances to obtain k voltage deviation variances, k≤n; The abnormal cell and the warning mode corresponding to the abnormal cell are determined according to the k voltage deviation variances.
[0064] For example, in When , remove from the n voltage deviation variance ,in, Represents the average value of the variance of n voltage deviations.
[0065] According to the k voltage deviation variances, whether any monomer is an abnormal monomer can be determined by the following formula:
[0066] in, represents the voltage deviation variance of the jth cell, ' represents the average value of the k voltage deviation variances; In this When it is in the first abnormal interval, it is determined that the corresponding monomer has no abnormality and no warning is issued; When the corresponding monomer is in the second abnormal interval, it is determined that the corresponding monomer may be an abnormal monomer, and an early warning is issued to the abnormal monomer in a first early warning manner; When it is in the third abnormal interval, the corresponding monomer is determined to be an abnormal monomer, and an early warning is issued to the abnormal monomer in a second early warning manner.
[0067] Figure 5 FIG. 1 is a flow chart showing a battery failure warning method according to an exemplary embodiment. Figure 5 As shown, step S132 includes the following steps: In step S1321, when the difference between the first voltage deviation variance and the average value of the n voltage deviation variances is less than a first threshold value, and the first eigenvalue corresponding to the first voltage deviation variance is less than a second threshold value, it is determined that the single cell has no abnormality; wherein the first voltage deviation variance is the voltage deviation variance corresponding to any single cell among the n voltage deviation variances.
[0068] For example, in order to make the battery cells perceive safety risks more accurately, the potential safety risks of the battery pack can be comprehensively weighed based on the difference between the first voltage deviation variance and the average value of the n voltage deviation variances, and the first eigenvalue corresponding to the first voltage deviation variance.
[0069] Optionally, the first characteristic value is determined by at least one of the first voltage deviation variance, a first quartile of the n voltage deviation variances, and a third quartile of the n voltage deviation variances.
[0070] For example, in order to make the battery pack more accurate in sensing safety risks, the first eigenvalue corresponding to the first voltage deviation variance may be calculated based on the following formula:
[0071] in, represents the first eigenvalue, represents the first voltage deviation variance, where represents the first quartile of the variance of the n voltage deviations (i.e., 25% of the data in the variance of the n voltage deviations are lower than this value). represents the third quartile of the n voltage deviation variances (i.e., 75% of the data in the n voltage deviation variances are lower than this value). In addition, it can be understood that the first quartile and the third quartile can be other characteristic values in the n voltage deviation variances, and the present disclosure does not limit this.
[0072] In step S1322, when the difference is greater than or equal to the first threshold and the first characteristic value is less than the second threshold, it is determined that the cell corresponding to the first voltage deviation variance may be an abnormal cell, and the warning mode is the first warning mode.
[0073] In step S1323, when the difference is smaller than the first threshold and the first characteristic value is greater than or equal to the second threshold, it is determined that the cell corresponding to the first voltage deviation variance may be an abnormal cell, and the warning mode is the first warning mode.
[0074] In step S1324, when the difference is greater than or equal to the first threshold and the first characteristic value is greater than or equal to the second threshold, it is determined that the cell corresponding to the first voltage deviation variance is an abnormal cell, and the warning mode is the second warning mode.
[0075] Exemplarily, when the first voltage deviation variance is the voltage deviation variance of the first cell among the n voltage deviation variances; represents the difference between the first voltage deviation variance and the average value of the n voltage deviation variances, through Indicates the first eigenvalue corresponding to the first voltage deviation variance, In the case of , it is determined that the first monomer has no abnormality and no abnormal monomer warning is required; In the case of, determining that the first monomer may be an abnormal monomer, and the warning method of the abnormal monomer is the first warning method; In the case of, determining that the first monomer may be an abnormal monomer, and the warning method of the abnormal monomer is the first warning method; In the case of, determining that the first monomer is an abnormal monomer, and the warning method of the abnormal monomer is the second warning method; wherein, represents the first threshold, Represents the second threshold, and the present disclosure does not limit the sizes of the first threshold and the second threshold.
[0076] In the above technical solution, a battery voltage matrix is obtained, which includes the voltage values of n cells of the battery at m sampling moments, where n and m are both positive integers; the voltage deviation matrix corresponding to the battery is determined according to the battery voltage matrix and the voltage center band corresponding to each cell; the abnormal cell in the battery and the warning method corresponding to the abnormal cell are determined according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery; and an abnormal warning is given to the abnormal cell according to the warning method corresponding to the abnormal cell. The abnormal cell in the battery can be determined and warned according to the voltage deviation matrix, which is conducive to improving the accuracy of battery fault warning, thereby better protecting the property and personal safety of vehicle users.
[0077] Figure 6 FIG. 6 is a schematic diagram of a battery failure warning device 600 according to an exemplary embodiment. Figure 6 As shown, the device includes: an acquisition module 610, a calculation module 620, a determination module 630, and an early warning module 640; The acquisition module 610 is used to acquire a battery voltage matrix, where the battery voltage matrix includes voltage values of n cells of the battery at m sampling moments, where n and m are both positive integers; The calculation module 620 is used to determine the voltage deviation matrix corresponding to the battery according to the battery voltage matrix and the voltage center band corresponding to each cell; The determination module 630 is used to determine an abnormal cell in the battery and a warning method corresponding to the abnormal cell according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery; The warning module 640 is used to issue an abnormal warning to the abnormal unit according to the warning method corresponding to the abnormal unit.
[0078] Optionally, the calculation module 620 is used to: Determine a voltage center band corresponding to a first cell in the battery voltage matrix according to m voltage values corresponding to the first cell; wherein the first cell is any cell among n cells of the battery; Determine a voltage deviation value corresponding to each of the m voltage values corresponding to the first monomer according to a voltage center band upper limit and a voltage center band lower limit of the voltage center band corresponding to the first monomer; The voltage deviation matrix is determined according to the voltage deviation value corresponding to each voltage value in the battery voltage matrix.
[0079] Optionally, a calculation formula for an upper limit of the voltage center band of the voltage center band corresponding to the first monomer is:
[0080] The calculation formula for the lower limit of the voltage center band of the voltage center band corresponding to the first monomer is:
[0081] in, represents the upper limit value of the voltage center band of the first monomer, represents the lower limit value of the voltage center band of the first monomer, represents the first quartile of the m voltage values corresponding to the first monomer, represents the second quartile of the m voltages corresponding to the first monomer, Represents the third quartile of the m voltages corresponding to the first monomer.
[0082] Optionally, the determination module 630 is used to: Determine the voltage deviation variance corresponding to each monomer according to the voltage deviation matrix to obtain n voltage deviation variances; The abnormal cell and the warning mode corresponding to the abnormal cell are determined according to the n voltage deviation variances.
[0083] Optionally, the determination module 630 is further configured to: When the difference between the first voltage deviation variance and the average value of the n voltage deviation variances is less than a first threshold value, and the first characteristic value corresponding to the first voltage deviation variance is less than a second threshold value, it is determined that the monomer has no abnormality; wherein the first voltage deviation variance is the voltage deviation variance corresponding to any monomer among the n voltage deviation variances; When the difference is greater than or equal to the first threshold value, and the first characteristic value is less than the second threshold value, it is determined that the monomer corresponding to the first voltage deviation variance may be an abnormal monomer, and the warning mode is the first warning mode; When the difference is less than the first threshold value and the first characteristic value is greater than or equal to the second threshold value, it is determined that the monomer corresponding to the first voltage deviation variance may be an abnormal monomer, and the warning mode is the first warning mode; When the difference is greater than or equal to the first threshold, and the first characteristic value is greater than or equal to the second threshold, it is determined that the cell corresponding to the first voltage deviation variance is an abnormal cell, and the warning mode is the second warning mode.
[0084] Optionally, the first characteristic value is determined by at least one of the first voltage deviation variance, a first quartile of the n voltage deviation variances, and a third quartile of the n voltage deviation variances.
[0085] Optionally, the acquisition module 610 is used to: Obtaining an initial battery voltage matrix, the initial battery voltage matrix including voltage values of n cells of the battery at y sampling moments, where n and y are both positive integers; When the difference between the voltage value of the second cell at sampling time t and the voltage value at sampling time t+1 is less than the third threshold, the voltage values of n cells at time t are eliminated from the initial battery voltage matrix to obtain the battery voltage matrix; wherein the second cell is any one of the n cells, t and t+1 are any two adjacent sampling times among the y sampling times, and y is greater than or equal to m.
[0086] In the above technical solution, a battery voltage matrix is obtained, which includes the voltage values of n cells of the battery at m sampling moments, where n and m are both positive integers; the voltage deviation matrix corresponding to the battery is determined according to the battery voltage matrix and the voltage center band corresponding to each cell; the abnormal cell in the battery and the warning method corresponding to the abnormal cell are determined according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery; and an abnormal warning is given to the abnormal cell according to the warning method corresponding to the abnormal cell. The abnormal cell in the battery can be determined and warned according to the voltage deviation matrix, which is conducive to improving the accuracy of battery fault warning, thereby better protecting the property and personal safety of vehicle users.
[0087] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the battery failure early warning method provided by the present disclosure are implemented.
[0088] Figure 77 is a schematic diagram of a terminal device according to an exemplary embodiment. For example, the terminal device 700 may be a palm computer, a mobile phone or other electronic devices with communication functions.
[0089] Reference Figure 7 The terminal device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output interface 712 , a sensor component 714 , and a communication component 716 .
[0090] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned battery failure early warning method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0091] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0092] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 700.
[0093] The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the terminal device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0094] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0095] The input / output interface 712 provides an interface between the processing component 702 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0096] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, and the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0097] The communication component 716 is configured to facilitate communication, either wired or wirelessly, between the device 700 and other devices. The device 700 may access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0098] In an exemplary embodiment, the device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described battery fault warning method.
[0099] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the above instructions can be executed by a processor 720 of the device 700 to complete the above-described battery fault warning method. For example, the non-transitory computer-readable storage medium may be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0100] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned battery fault warning method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned battery failure warning method may be implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned battery failure warning method.
[0101] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above-mentioned battery failure early warning method when executed by the programmable device.
[0102] Figure 8 FIG. 1 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. Figure 8 The chip 800 shown includes a processor 801 and an interface 802. Optionally, it may also include a memory 803. The number of the processor 801 may be one or more, and the number of the interface 802 may be multiple.
[0103] In one embodiment, for a case where a chip is used to implement the method embodiment of the present disclosure: The interface 802 is used to receive or output signals; The processor 801 is used to execute part or all of the contents of the battery failure early warning method embodiment.
[0104] It is understandable that the processor in the embodiment of the present disclosure can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0105] It is understandable that the memory in the embodiments of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0106] It should be noted here that the description of the above storage medium, device, program product and chip embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the storage medium, storage medium and device embodiments of the present disclosure, please refer to the description of the method embodiment of the present disclosure for understanding.
[0107] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0108] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A battery failure early warning method, characterized in that: include: Obtaining a battery voltage matrix, wherein the battery voltage matrix includes voltage values of n cells of the battery at m sampling moments, respectively, where n and m are both positive integers; Determine a voltage deviation matrix corresponding to the battery according to the battery voltage matrix and the voltage center band corresponding to each cell; Determine an abnormal cell in the battery and a warning method corresponding to the abnormal cell according to the voltage deviation matrix, wherein the abnormal cell is a cell among n cells of the battery; An abnormal warning is performed on the abnormal monomer according to the warning method corresponding to the abnormal monomer.
2. The method according to claim 1, characterized in that The step of determining the voltage deviation matrix corresponding to the battery according to the battery voltage matrix and the voltage center band corresponding to each cell includes: Determine a voltage center band corresponding to a first cell in the battery voltage matrix according to m voltage values corresponding to the first cell; wherein the first cell is any cell among n cells of the battery; Determine a voltage deviation value corresponding to each of the m voltage values corresponding to the first monomer according to a voltage center band upper limit and a voltage center band lower limit of the voltage center band corresponding to the first monomer; The voltage deviation matrix is determined according to the voltage deviation value corresponding to each voltage value in the battery voltage matrix.
3. The method according to claim 2, characterized in that The calculation formula of the voltage center band upper limit of the voltage center band corresponding to the first monomer is: The calculation formula of the lower limit of the voltage center band of the voltage center band corresponding to the first monomer is: in, represents the upper limit value of the voltage center band of the first monomer, represents the lower limit value of the voltage center band of the first monomer, represents the first quartile of the m voltage values corresponding to the first monomer, represents the second quartile of the m voltages corresponding to the first monomer, represents the third quartile of the m voltages corresponding to the first monomer.
4. The method according to claim 1, characterized in that: The determining, according to the voltage deviation matrix, an abnormal cell in the battery and a warning method corresponding to the abnormal cell comprises: Determine the voltage deviation variance corresponding to each of the monomers according to the voltage deviation matrix to obtain n voltage deviation variances; The abnormal cell and the warning method corresponding to the abnormal cell are determined according to the n voltage deviation variances.
5. The method according to claim 4, characterized in that The determining the abnormal monomer and the warning method corresponding to the abnormal monomer according to the n voltage deviation variances includes: When the difference between the first voltage deviation variance and the average value of the n voltage deviation variances is less than a first threshold value, and the first characteristic value corresponding to the first voltage deviation variance is less than a second threshold value, it is determined that the monomer has no abnormality; wherein the first voltage deviation variance is the voltage deviation variance corresponding to any monomer among the n voltage deviation variances; When the difference is greater than or equal to the first threshold value, and the first characteristic value is less than the second threshold value, it is determined that the monomer corresponding to the first voltage deviation variance may be an abnormal monomer, and the warning mode is the first warning mode; When the difference is less than the first threshold value, and the first characteristic value is greater than or equal to the second threshold value, it is determined that the monomer corresponding to the first voltage deviation variance may be an abnormal monomer, and the warning method is the first warning method; When the difference is greater than or equal to the first threshold, and the first characteristic value is greater than or equal to the second threshold, it is determined that the cell corresponding to the first voltage deviation variance is an abnormal cell, and the warning mode is the second warning mode.
6. The method according to claim 5, characterized in that The first characteristic value is determined by at least one of the first voltage deviation variance, a first quartile of the n voltage deviation variances, and a third quartile of the n voltage deviation variances.
7. The method according to any one of claims 1 to 6, characterized in that The step of obtaining a battery voltage matrix comprises: Obtaining an initial battery voltage matrix, wherein the initial battery voltage matrix includes voltage values of n cells of the battery at y sampling moments, where n and y are both positive integers; When the difference between the voltage value of the second cell at sampling time t and the voltage value at sampling time t+1 is less than a third threshold, the voltage values of n cells at time t are removed from the initial battery voltage matrix to obtain the battery voltage matrix; wherein the second cell is any one of the n cells, t and t+1 are any two adjacent sampling times among the y sampling times, and y is greater than or equal to m.
8. A battery failure warning device, characterized in that: include: An acquisition module is used to acquire a battery voltage matrix, wherein the battery voltage matrix includes voltage values of n cells of the battery at m sampling moments, where n and m are both positive integers; A calculation module, used for determining a voltage deviation matrix corresponding to the battery according to the battery voltage matrix and the voltage center band corresponding to each cell; A determination module, configured to determine an abnormal cell in the battery and a warning mode corresponding to the abnormal cell according to the voltage deviation matrix, wherein the abnormal cell is a cell among the n cells of the battery; The early warning module is used to issue an abnormal early warning to the abnormal monomer according to the early warning method corresponding to the abnormal monomer.
9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method described in any one of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.