A battery detection method, device, equipment and storage medium

By detecting the offset between the battery cell and the battery state of charge, the problems of low battery detection accuracy and frequent error detection in the prior art are solved, and more accurate battery charging and discharging abnormality detection is achieved.

CN114879048BActive Publication Date: 2025-03-14CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210603630.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2025-03-14
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

In the prior art, the battery detection accuracy is low, and it is prone to false detection, making it difficult to accurately detect whether there are abnormalities in the charging and discharging of the battery.

Method used

By acquiring the state of charge of the battery and the cell, the offset of the state of charge of the cell relative to the state of charge of the cell is determined, and an abnormality is determined when the offset is greater than the target threshold.

Benefits of technology

It improves the accuracy of battery detection, reduces false detection, and can more accurately detect whether there are abnormalities in battery charging and discharging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114879048B_ABST
    Figure CN114879048B_ABST
Patent Text Reader

Abstract

The present application relates to a battery detection method, device, equipment and storage medium. The battery detection method includes: obtaining the state of charge of the battery and the state of charge of the battery cells in the battery; determining the target value interval to which the state of charge of the battery belongs and the target threshold value corresponding to the target value interval; determining the offset of the state of charge of the battery cells relative to the state of charge of the battery; and determining that the battery is abnormal when the offset is greater than the target threshold value. The use of this method can improve the problem of low battery detection accuracy and easy false detection in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of battery detection, and in particular to a battery detection method, device, equipment and storage medium. Background Art

[0002] At present, in order to improve the safety and reliability of new energy vehicles during use, it is often necessary to monitor the charging and discharging of the battery so that corresponding maintenance measures can be taken in time when abnormal charging and discharging of the battery occurs.

[0003] In this regard, the battery can be tested for abnormal charge and discharge by detecting whether the voltage difference of the battery is abnormal over a period of time. However, this method has low detection accuracy and is prone to false detection, so a more accurate battery detection method is still lacking. Summary of the invention

[0004] Based on this, a battery detection method, device, equipment and storage medium are provided to improve the problem of low battery detection accuracy and easy false detection in the prior art.

[0005] In a first aspect, the present application provides a battery detection method, the method comprising: obtaining the state of charge of the battery and the state of charge of the battery cells in the battery; determining a target numerical range to which the state of charge of the battery belongs, and a target threshold value corresponding to the target numerical range; determining an offset of the state of charge of the battery cells relative to the state of charge of the battery; and determining that the battery is abnormal when the offset is greater than the target threshold value.

[0006] In combination with the first aspect, in a first possible implementation of the first aspect, the above method also includes: when it is determined that there is an abnormality in the battery, obtaining a historical offset corresponding to the target numerical range, wherein the historical offset includes at least one offset of the battery cell when the state of charge of the battery is within the target numerical range; obtaining a trend line based on the historical offset, the trend line is used to indicate the historical changes in the offset of the battery cell; if the trend line is in a continuous upward trend, it is determined that the battery has a fault.

[0007] In combination with the first aspect, in a second possible implementation manner of the first aspect, the above method also includes: when it is determined that the battery has an abnormality, obtaining a first offset and a second offset of the battery cell when the battery is in a first numerical interval and a second numerical interval, respectively, and a first threshold and a second threshold corresponding to the first numerical interval and the second numerical interval, respectively; if the first offset and the second offset are respectively greater than the first threshold and the second threshold, respectively, it is determined that the battery has a fault.

[0008] In combination with the first aspect, in a third possible implementation manner of the first aspect, the above method also includes: determining the static time of the vehicle when the vehicle is powered on, the static time being the time from the current moment to the last power-off moment; when the static time is greater than the preset time, executing the step of obtaining the battery state of charge.

[0009] In combination with the first aspect, in a fourth possible implementation of the first aspect, the step of obtaining the state of charge of the battery includes: obtaining the voltage of each battery cell in the battery, the battery including at least one battery cell; analyzing and obtaining the voltage of the battery according to the voltage of each battery cell; querying and obtaining the state of charge mapped by the voltage of the battery

[0010] In combination with the fourth aspect of the first aspect, in a fifth possible implementation manner of the first aspect, the step of analyzing and obtaining the voltage of the battery according to the voltage of each battery cell includes: obtaining an average value of the voltage of each battery cell; and using the average value of the voltage of each battery cell as the voltage of the battery.

[0011] In combination with the first aspect, in a sixth possible implementation mode of the first aspect, the above method also includes: when it is determined that the battery is abnormal, determining the difference between the offset and the target threshold; determining the corresponding emergency level based on the difference, and prompting corresponding maintenance measures based on the emergency level.

[0012] In a second aspect, the present application also provides a battery detection device, which includes: an acquisition unit, used to acquire the state of charge of the battery and the state of charge of the battery cells in the battery; a processing unit, used to determine a target numerical range to which the state of charge of the battery belongs, and a target threshold value corresponding to the target numerical range; the processing unit, also used to determine an offset of the state of charge of the battery cells relative to the state of charge of the battery; a determination unit, used to determine that an abnormality exists in the battery when the offset is greater than the target threshold value.

[0013] In combination with the second aspect, in a first possible implementation of the second aspect: the acquisition unit is further used to obtain a historical offset corresponding to a target numerical range when it is determined that the battery has an abnormality, wherein the historical offset includes at least one offset of the battery cell when the state of charge of the battery is within the target numerical range; the processing unit is further used to obtain a trend line based on the historical offset, the trend line being used to indicate the historical changes in the offset of the battery cell; the determination unit is further used to determine that the battery has a fault if the trend line is in a continuous upward trend.

[0014] In combination with the second aspect, in a second possible implementation of the second aspect: the acquisition unit is also used to obtain the first offset and the second offset of the battery cell when the battery is in the first numerical interval and the second numerical interval respectively, and the first threshold and the second threshold corresponding to the first numerical interval and the second numerical interval respectively, when it is determined that the battery has an abnormality; if the first offset and the second offset are respectively greater than the first threshold and the second threshold, it is determined that the battery has a fault.

[0015] In combination with the second aspect, in a third possible implementation manner of the second aspect: the determination unit is also used to determine the static time of the vehicle when the vehicle is powered on, the static time being the time from the current moment to the last power-off moment; the acquisition unit is also used to execute the step of acquiring the battery state of charge when the static time is greater than a preset time.

[0016] In combination with the second aspect, in a fourth possible implementation manner of the second aspect, the acquisition unit is specifically used to: obtain the voltage of each battery cell in the battery, the battery including at least one battery cell; analyze and obtain the voltage of the battery based on the voltage of each battery cell; and query and obtain the charge state mapped by the battery voltage.

[0017] In combination with the fourth implementation manner of the second aspect, in a fifth implementable manner of the second aspect, the acquisition unit is specifically used to: acquire an average value of the voltages of the battery cells; and use the average value of the voltages of the battery cells as the voltage of the battery.

[0018] In combination with the second aspect, in a sixth possible implementation mode of the second aspect, the processing unit is also used to: when it is determined that the battery is abnormal, determine the difference between the offset and the target threshold; determine the corresponding emergency level based on the difference, and prompt corresponding maintenance measures based on the emergency level.

[0019] In a third aspect, the present application also provides a battery detection device, which includes a processor and a memory, and the processor and the memory are connected via a bus; the processor is used to execute multiple instructions; the memory is used to store multiple instructions, and the instructions are suitable for being loaded by the processor and executed by the battery detection method such as the first aspect or any one embodiment of the first aspect.

[0020] In a fourth aspect, the present application further provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor and executed by a battery detection method such as the first aspect or any one embodiment of the first aspect.

[0021] In an embodiment of the present application, the battery detection device first detects the offset of the state of charge of the battery cell relative to the state of charge of the battery, and then detects the charge and discharge conditions of the battery cell by detecting whether the offset is greater than the target threshold, thereby determining whether the battery is abnormal. It can be seen that the present application is more accurate than the vertical comparison of the charge and discharge conditions of the battery cell over a period of time by horizontally comparing the charge and discharge conditions of the battery cell with the battery, and the false detection is greatly reduced. In addition, the target threshold changes according to the different data intervals in which the state of charge of the battery is located, thereby further improving the accuracy of the detection. In general, the use of this method can improve the problems of low battery detection accuracy and easy false detection in the prior art, and improve the efficiency of battery detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A diagram showing an application environment of a battery detection method in an embodiment;

[0023] Figure 2 is a schematic flow chart of a battery detection method in one embodiment;

[0024] Figure 3 A flowchart of the steps of determining whether a battery is faulty in another embodiment;

[0025] Figure 4 A flowchart of the steps of determining whether a battery is faulty in another embodiment;

[0026] Figure 5 A schematic block diagram of a battery detection device provided in the present application;

[0027] Figure 6 A structural block diagram of a battery testing device provided in this application. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0029] Since the embodiments of the present application involve a large number of professional terms, in order to facilitate understanding, the relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.

[0030] 1. State of Charge (SOC)

[0031] The state of charge is used to indicate the ratio of the remaining capacity of a battery after it has been used for a period of time or has been left unused for a long time to its capacity in a fully charged state, and is usually expressed as a percentage. Its value range is 0% to 100%. When SOC = 0%, it means that the battery is fully charged and discharged, and when SOC = 100%, it means that the battery is fully charged. The value range of the state of charge can be divided into several intervals, such as 0%-10%, 10%-40%, 40%-70%, 70%-100%, etc.

[0032] 2. Batteries and cells in batteries

[0033] Generally, a battery includes multiple cells. Each cell in the battery is relatively independent, and a single cell may fail while other cells are intact. Therefore, compared with testing the entire battery, testing a single cell in the battery will more accurately detect whether the battery is abnormal.

[0034] 3. Offset

[0035] The offset refers to the distance of the observation point relative to the base point. In this application, the observation point refers to the state of charge of the battery cell, the base point refers to the state of charge of the battery, and the offset refers to the absolute value of the state of charge of the battery minus the state of charge of the battery. It can be seen that whether the charge and discharge level of the battery cell is less than the average level of the battery, or the charge and discharge level of the battery cell is greater than the average level of the battery, it can be detected, so this application implements a comprehensive detection of the charge and discharge conditions.

[0036] 4. SOC-OCV Mapping

[0037] The SOC-OCV map is a graph used to depict the mapping relationship between the state of charge (SOC) and the open circuit voltage (OCV). In the SOC-OCV map, each OCV corresponds to a unique SOC.

[0038] It should be noted that the diagrams provided in the present embodiment are only used to illustrate the basic concept of the present invention in a schematic manner, so the diagrams only show the components related to the present invention rather than being drawn according to the number, shape and size of the components in actual implementation. The type, quantity and proportion of each component in actual implementation can be changed at will, and the component layout type may also be more complicated. The structure, proportion, size, etc. shown in the drawings attached to this specification are only used to match the content disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions that the present invention can be implemented, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effect and purpose that can be achieved by the present invention. At the same time, the directions or positional relationships indicated by the terms "upper", "lower", "left", "right", "middle", "longitudinal", "lateral", "horizontal", "inner", "outer", "radial", "circumferential" and the like in this specification are based on the directions or positional relationships shown in the drawings, and are only for the convenience of simplifying the description, and do not indicate or imply that the devices or components referred to must have a specific direction, be constructed and operated in a specific direction. Changes or adjustments in their relative relationships, without substantial changes in the technical content, should also be regarded as the scope of the present invention. Therefore, they cannot be understood as limitations on the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.

[0039] It should also be noted that the battery detection device and battery detection equipment involved in the present application may include but are not limited to a complete vehicle, a battery tester, a battery management system (Battery Management System, BMS), an electronic control unit (Electronic Control Unit, ECU), a central processing unit (central processing unit, CPU), a general processor, a coprocessor, a digital signal processor (digital signal 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, transistor logic devices, hardware components or any combination thereof. The battery detection device and battery detection equipment can implement the method described in the present application, for example, it can determine the offset of the state of charge of the battery cell relative to the state of charge of the battery, etc., and the present application will not elaborate on this.

[0040] It should also be noted that the terminal equipment involved in the present application may include but is not limited to a mobile station (MS), a mobile terminal (Mobile Terminal), a mobile phone (Mobile Telephone), a user equipment (UE), a mobile phone (Handset) and a portable device (Portable Equipment), etc. The terminal equipment can communicate with one or more core networks via a radio access network (RAN). For example, the terminal equipment may be a mobile phone (or "cellular" phone), a computer with wireless communication capabilities, etc. The terminal equipment may also be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device.

[0041] At present, the existing technology detects whether there is a charge and discharge fault in the battery by detecting whether the voltage difference of the battery within a period of time is abnormal. Specifically, the first voltage of the battery is detected at a first moment, and then the second voltage of the battery is detected at a second moment after a period of time. Finally, the charge and discharge condition of the battery during the period between the first moment and the second moment is evaluated according to the difference between the first voltage and the second voltage, so as to determine whether there is a charge and discharge abnormality problem in the battery. However, the detection accuracy of this method is low and it is easy to make false detections, so there is still a lack of a more accurate battery detection method.

[0042] In this regard, in order to solve the problem of low accuracy of battery detection, the present application provides a battery detection method that can accurately detect whether there is an abnormality in battery charging and discharging. The battery detection device obtains the state of charge of the battery and the battery cell respectively, and then determines the target value interval to which the battery state of charge belongs, and the target threshold value corresponding to the target value interval. If the absolute value of the difference between the state of charge of the cell and the battery is greater than the target threshold value, it is determined that the battery is abnormal.

[0043] It is understandable that the aforementioned prior art determines whether the battery has abnormal charging and discharging by longitudinally comparing the charging and discharging conditions of the battery cells over a period of time, while the present application determines whether the battery has abnormal charging and discharging by transversely comparing the charging and discharging conditions of the battery cells and the battery. In terms of detection accuracy, the aforementioned longitudinal comparison method is not as good as the transverse comparison method. This is because the charging and discharging process of the battery will be affected by various factors. The battery may charge and discharge too quickly or too slowly over a period of time. At this time, in addition to the possibility that the battery has abnormalities, it is also possible that the battery itself has not been abnormal, but is only temporarily affected by the external environment. Therefore, it is very difficult to determine whether the battery has abnormal charging and discharging by longitudinally comparing the charging and discharging conditions of the battery over a period of time, and it is very easy to make false detections. The transverse comparison in the present application is to compare the charging and discharging conditions of the battery cells in the battery and the battery at the same time, so to a certain extent, it avoids the occurrence of the aforementioned false detection, thereby improving the detection accuracy and detection efficiency.

[0044] It should be noted that the present application can determine that the battery is abnormal when the offset of the battery cell is greater than the target threshold, and can also determine that the battery including the battery cell is abnormal. First, because the battery includes the battery cell, when the battery cell is abnormal, it means that the battery is also abnormal; second, because when the offset of the battery cell is greater than the target threshold, it may be that the abnormal state of charge of the battery cell causes the abnormal offset, or it may be that the abnormal state of charge of other batteries in the battery causes the abnormal offset. Therefore, when the offset of the battery cell is abnormal, it can be determined that the battery is abnormal as a whole, rather than a certain battery cell. In summary, there is no contradiction in the present application to determine the battery abnormality by detecting the offset of the battery cell, and the present application will not elaborate on this below.

[0045] Next, this application will combine Figure 1 The application environment diagram shown in the figure takes the battery detection device as an example to clearly illustrate the battery detection method of the present application. Specifically:

[0046] The battery detection device first obtains the state of charge of the battery 110 and the battery cell 120 in the vehicle respectively. Among them, the battery as shown in the figure may include multiple battery cells, and the battery cell 120 is any one of the multiple battery cells. In order to obtain the state of charge of the battery and the battery cell, the battery detection device can obtain it directly from the BMS, or it can detect the voltage of the battery cell and the battery, and then query the mapping relationship table of SOC and open circuit voltage (Open Circuit Voltage, OCV) (i.e. SOC-OCV) to obtain the battery voltage and the state of charge mapped by the battery cell respectively. Among them, the voltage of the battery 110 can also be the average value of the voltages of all the battery cells in the battery 110.

[0047] After obtaining the state of charge of the battery 110 and the battery cell 120 in the vehicle, the battery detection device uses the absolute value of the difference between the state of charge of the battery cell and the battery as the offset of the state of charge of the battery cell relative to the state of charge of the battery. It can be understood that the offset actually describes the degree of deviation of the state of charge of the battery cell relative to the battery. The larger the offset, the greater the deviation of the state of charge of the battery cell. Since the state of charge of the battery describes the state of charge of all the batteries in the battery, the offset is also the degree of deviation of the battery cell 120 relative to all other batteries.

[0048] After obtaining the state of charge of the battery, the battery detection device first determines the target value interval to which the state of charge of the battery belongs, and then determines the target threshold value corresponding to the target value interval. It should be noted that after obtaining the state of charge of the battery and the battery cell, the battery detection device can first determine the target threshold value or the offset value, and this application does not limit the order in which they are executed.

[0049] After obtaining the target threshold and the offset, the battery detection device determines whether the battery is abnormal based on the numerical relationship between the target threshold and the offset. Specifically, the battery detection device determines that the battery is abnormal when the offset is greater than the target threshold; and determines that the battery is normal when the offset is less than the target threshold. It can be understood that when the battery is normal, the charge states of the various cells in the battery should be almost the same, so if the offset is too large, the battery is likely to be abnormal. The present application evaluates whether the offset of the battery is too large by comparing the magnitude relationship between the offset and the target threshold. In addition, in the present application, the corresponding target thresholds are different for different target numerical intervals to which the battery belongs. This is because the battery has different discharge capabilities according to the different numerical intervals to which its state of charge belongs. Therefore, a smaller threshold can be set for intervals with stronger discharge capabilities, and a larger threshold can be set for intervals with smaller discharge capabilities, so as to further reduce false detections and improve battery detection accuracy.

[0050] In summary, the battery detection device first detects the offset of the state of charge of the battery cell relative to the state of charge of the battery, and then detects whether the battery cell is charged and discharged normally by detecting whether the offset is greater than the target threshold, thereby determining whether the battery is abnormal. It can be seen that the present application makes a more accurate comparison of the charge and discharge conditions of the battery cell and the battery by comparing the charge and discharge conditions of the battery cell with those of the battery in a horizontal manner than by comparing the charge and discharge conditions of the battery cell in a certain period of time in a vertical manner, and the false detection is greatly reduced. In addition, the target threshold changes according to the different data intervals in which the state of charge of the battery is located, thereby further improving the accuracy of the detection. In general, the use of this method can improve the problems of low battery detection accuracy and prone to false detection in the prior art, and improve the efficiency of battery detection.

[0051] Based on the above embodiments, the present application proposes a battery detection method. Next, the present application will take the execution subject as an example of a battery detection device, and combine Figure 2 The flow chart of the battery detection method is described in more detail. Specifically:

[0052] 201: Obtain the state of charge of the battery and the state of charge of the cells in the battery.

[0053] Among them, the battery detection device can obtain the state of charge of the battery and the battery cell by "direct acquisition" or "table reading". The "direct acquisition" method means that the battery detection device obtains the state of charge of the battery and the battery cell from the BMS; the "table reading" method means that the battery detection device first obtains the voltage of the battery cell and the battery, and then obtains the state of charge corresponding to the voltage of the battery cell and the battery by querying SOC-OCV. Among them, the battery detection device can obtain the voltage of the battery and the battery cell through a voltage sensor or BMS.

[0054] It should be noted that the present application does not limit the time when the battery detection device obtains the state of charge. According to the needs of the specific detection type, the battery detection device can obtain the state of charge at any time when the car is powered on or after it is powered on, or it can obtain the state of charge when the static time, driving time or charging time is longer than the preset time. Among them, the static time is the time from the current moment to the last power-off moment. For example, when the car is powered on and the static time is longer than the preset time, the state of charge of the battery cell and the battery is obtained to focus on detecting whether the battery has self-discharge anomalies; when the charging time of the car is longer than the preset time, the state of charge of the battery cell and the battery is obtained to focus on detecting whether the battery has charging anomalies; when the driving time of the car is longer than the preset time, the state of charge of the battery cell and the battery is obtained to focus on detecting whether the battery has power supply anomalies.

[0055] In order to better understand the above examples, this application uses one of the implementations as an example for detailed description. Specifically: In order to detect the self-charging and discharging of the battery, the battery detection device determines the static time of the vehicle when the vehicle is powered on, and the static time is the time from the current moment to the last power-off moment; when the static time is greater than the preset time, the step of obtaining the battery's state of charge is performed. Among them, the current moment refers to the moment when the car is powered on, the static time is the time between the current power-on and the last power-off of the car, and the preset time is an arbitrary constant value stored in the local database.

[0056] It can be seen that there are many similar examples, and this application will not explain them in detail. This application can detect various charging and discharging conditions of the battery, covering various types of detection, and has high universality.

[0057] 202: Determine a target value interval to which the battery state of charge belongs, and a target threshold value corresponding to the target value interval.

[0058] To determine the target numerical interval, the battery detection device first determines the numerical interval to which the battery state of charge belongs among multiple numerical intervals, and uses the numerical interval as the target numerical interval, and then obtains a threshold value corresponding to the target numerical interval as the target threshold value.

[0059] Among them, multiple value intervals are pre-stored in the local database, and the state of charge is divided into multiple value intervals according to 0% to 100%, and any interval in the multiple value intervals is in opposition to the remaining intervals. In other words, the multiple value intervals do not overlap with each other and can also form a complete 100% interval. For example, assume that there are N value intervals, namely [0, a1), [a1, a2), ..., [a n-1 , 1], where a1, a2, ... a n-1 is a constant greater than 0 and less than 1.

[0060] Optionally, threshold values ​​corresponding to each numerical interval are set according to the charge and discharge capabilities of the battery in each numerical interval. Preferably, a larger threshold value is set for an interval with poor discharge capability, and a smaller threshold value is set for an interval with good discharge capability. Generally speaking, a numerical interval where the battery's charge state is too large or too small is not conducive to the battery's charge and discharge, so the threshold values ​​corresponding to the high numerical interval and the low numerical interval are respectively larger, and the threshold value corresponding to the medium numerical interval is smaller. In the order of the numerical intervals from small to large, the threshold values ​​corresponding to them respectively change from large to small, and then from small to large. It can be seen that by applying this optional method, false detection can be further reduced and the battery detection accuracy can be improved.

[0061] 203: Determine an offset of the state of charge of the cell relative to the state of charge of the battery.

[0062] Among them, the offset of the state of charge of the battery cell relative to the state of charge of the battery refers to the absolute value of the difference between the state of charge of the battery cell and the state of charge of the battery. The offset reflects the degree of deviation of the state of charge of the battery cell relative to the battery. The larger the offset, the greater the degree of deviation of the state of charge of the battery cell, and the greater the possibility of battery abnormality. It should be noted that the embodiment of the present application does not limit the execution order of step 202 and step 203, and step 202 and step 203 can be executed in series or in parallel.

[0063] 204: When the offset is greater than the target threshold, it is determined that the battery is abnormal.

[0064] The battery detection device compares the above-mentioned offset with the target threshold value, and determines that the battery is abnormal when the offset is greater than the target threshold value; and determines that the battery is normal when the offset is less than or equal to the target threshold value.

[0065] Optionally, after determining that the battery is abnormal, it is possible to further determine whether the abnormality of the battery can be characterized as a fault, so as to improve the accuracy of battery detection. Specifically:

[0066] In one feasible method, when it is determined that a battery abnormality exists, a historical offset corresponding to a target numerical interval is obtained, wherein the historical offset includes at least one offset of a battery cell when the state of charge of the battery is within the target numerical interval; a trend line is obtained based on the historical offset, and the trend line is used to indicate the historical changes in the offset of the battery cell; if the trend line is in a continuous upward trend, it is determined that a battery fault has occurred.

[0067] In another practicable manner, when it is determined that a battery abnormality exists, a first offset and a second offset of the battery cell when the battery is in a first numerical interval and a second numerical interval, respectively, and a first threshold and a second threshold corresponding to the first numerical interval and the second numerical interval, respectively, are obtained; if the first offset and the second offset are respectively greater than the first threshold and the second threshold, then it is determined that a battery fault has occurred.

[0068] Optionally, after determining that the battery is faulty, different maintenance measures may be prompted for different faults. Specifically: when determining that the battery is abnormal, determine the difference between the offset and the target threshold; determine the corresponding emergency level based on the difference, and prompt corresponding maintenance measures based on the emergency level.

[0069] Among them, the above difference refers to the value obtained by subtracting the target threshold from the offset of the battery cell's state of charge. Different differences may belong to different difference intervals. According to the difference interval to which the difference belongs, the corresponding emergency level is determined, and the corresponding maintenance measures are prompted according to the emergency level.

[0070] For example, assuming that the offset is 6% and the target threshold is 4%, since the offset is greater than the target threshold, it is determined that the battery is abnormal, and then the offset is subtracted from the target threshold to obtain a difference of 2%, and the difference of 2% belongs to a difference interval of [2%, 3%). If the difference interval corresponds to the second emergency level, then the corresponding maintenance measure is to repair within 15 days; or, if the difference interval corresponds to the first emergency level, then the corresponding maintenance measure is to repair within one month.

[0071] Optionally, the voltage of each cell in the battery is obtained, and the battery includes at least one cell; the voltage of the battery is analyzed based on the voltage of each cell; and the state of charge mapped by the voltage of the battery is queried. Among them, this method is actually a specific implementation of the aforementioned "table lookup and reading" method, that is, the voltage of the battery is first obtained based on the voltage analysis of each cell in the battery, and then the state of charge corresponding to the battery voltage and the cell voltage is searched in SOC-OCV. The aforementioned method of obtaining the battery voltage based on the voltage analysis of each cell in the battery includes but is not limited to taking the average value, taking the middle number, etc.

[0072] The above step of obtaining the battery voltage by taking an average value includes: the battery detection device obtains the average value of the voltages of the battery cells; and the average value of the voltages of the battery cells is used as the battery voltage.

[0073] Exemplarily, the battery includes n cells, the voltages of the n cells are v1, v2, ..., vn, respectively, and the voltage of the battery is the average value of the voltages of the n cells, that is, (v1+v2...+vn) / n. The state of charge corresponding to the voltage of the battery is obtained by querying in SOC-OCV.

[0074] In summary, in the embodiment of the present application, the battery detection device first detects the offset of the state of charge of the battery cell relative to the state of charge of the battery, and then detects the charge and discharge conditions of the battery cell by detecting whether the offset is greater than the target threshold, thereby determining whether the battery is abnormal. It can be seen that the present application is more accurate than the vertical comparison of the charge and discharge conditions of the battery cell over a period of time by horizontally comparing the charge and discharge conditions of the battery cell with the battery, and the false detection is greatly reduced. In addition, the target threshold changes according to the different data intervals in which the state of charge of the battery is located, thereby further improving the accuracy of the detection. In general, the use of this method can improve the problems of low battery detection accuracy and easy false detection in the prior art, and improve the efficiency of battery detection.

[0075] In combination with the battery detection method described in the above embodiment, the present application also provides another practicable method. Next, the present application will take the execution subject as an example of a battery detection device, and combine Figure 3 The flowchart shown is used for explanation. Specifically:

[0076] 301: When it is determined that the battery is abnormal, obtain a historical offset corresponding to the target value interval.

[0077] The historical offset is a set of at least one offset obtained historically, and different target value intervals correspond to different historical offsets.

[0078] 302: Obtain a trend line based on the above historical offset.

[0079] Obtaining a trend line according to the historical offsets means that at least one point on the coordinate axis representing at least one offset in the historical offsets is sequentially connected to obtain a trend line.

[0080] 303: If the above trend line is in a continuous upward trend, it is determined that the battery is faulty.

[0081] If each point in the trend line is higher than the previous point, or at least a preset proportion of the points in the trend line are higher than the previous point, it is determined that the trend line is in a continuous upward trend and the battery is determined to be faulty.

[0082] For example, assume that the battery has been tested multiple times before this battery test, and when there are N (N is an arbitrary integer greater than 1) tests, the state of charge of the battery belongs to the value range of 40%-50%, so the historical offset corresponding to 40%-50% includes the N offsets obtained by the N tests. The N offsets include b1, b2, b3...b n , where b1, b2, b3...b n Is a percentage greater than 0 and less than 1. The N offsets are plotted in a two-dimensional coordinate system, wherein the horizontal coordinate of the two-dimensional coordinate system is the number of detections, ranging from the 1st, 2nd, 3rd...Nth times, and the vertical coordinate is the offset, ranging from 0% to 100%. In the two-dimensional coordinate system, the offsets are connected in sequence according to the number of detections to obtain a trend line. If each offset is higher than its previous offset, or the slopes of the (N-1) broken lines between the offsets are greater than 0, it is determined that the trend line is in a continuous upward trend; or, if 2 / 3 of the N offsets are higher than their previous offsets, or the slopes of 2 / 3 of the (N-1) broken lines between the offsets are greater than 0, it is determined that the trend line is in a continuous upward trend. After determining that the trend line is in a continuous upward trend, it is determined that the battery has failed.

[0083] In summary, based on the above embodiments, the present application can further reduce false detection and improve battery detection accuracy by analyzing the battery's historical offset.

[0084] In combination with the battery detection method described in the above embodiment, the present application also provides another practicable method. Next, the present application will take the execution subject as an example of a battery detection device, and combine Figure 4 The flowchart shown is used for explanation. Specifically:

[0085] 401: When it is determined that the battery is abnormal, obtain a first offset and a second offset of the battery cell when the battery is in a first value interval and a second value interval respectively.

[0086] 402: Obtain a first threshold and a second threshold corresponding to the first numerical interval and the second numerical interval respectively.

[0087] 403: If the first offset and the second offset are respectively greater than the first threshold and the second threshold, it is determined that the battery fails.

[0088] The first numerical interval and the second numerical interval are neither the same nor overlapped, and one of the first numerical interval and the second numerical interval may be consistent with the target numerical interval. It can be seen that in the embodiment of the present application, when the battery is determined to be abnormal, in order to further determine whether the battery is faulty, the offset of the battery's state of charge in multiple numerical intervals is obtained, and if the battery's state of charge in at least a preset number of numerical intervals is greater than its corresponding threshold value, then the battery is determined to be faulty.

[0089] For example, if the battery is abnormal, the first offset x1 of the battery cell when the battery charge state belongs to the first numerical interval of 30%-40% and the second offset x2 of the battery cell when the battery charge state belongs to the second numerical interval of 50%-60% are obtained, and then the first threshold value 4% corresponding to 30%-40% and the first threshold value 5% corresponding to 50%-60% are obtained respectively. If x1 is greater than 4% and x2 is greater than 5%, then it is determined that the battery is faulty.

[0090] In summary, based on the above-mentioned embodiments, the present application can further reduce false detection and improve battery detection accuracy by analyzing the offset of the battery in multiple value intervals.

[0091] See also Figure 5 , the present invention also provides a battery detection device. The embodiment of the present invention can divide the device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. Figure 5 As shown, the battery detection device includes an acquisition unit 510, a processing unit 520 and a determination unit 530, specifically:

[0092] The acquisition unit 510 is used to acquire the state of charge of the battery and the state of charge of the battery cells in the battery; the processing unit is used to determine the target numerical range to which the state of charge of the battery belongs and the target threshold value corresponding to the target numerical range; the processing unit 520 is also used to determine the offset of the state of charge of the battery cells relative to the state of charge of the battery; the determination unit 530 is used to determine that the battery is abnormal when the offset is greater than the target threshold value.

[0093] Optionally, the acquisition unit 510 is further used to obtain a historical offset corresponding to a target numerical range when it is determined that the battery is abnormal, wherein the historical offset includes at least one offset of the battery cell when the state of charge of the battery is within the target numerical range; the processing unit 520 is further used to obtain a trend line based on the historical offset, the trend line being used to indicate the historical changes in the offset of the battery cell; the determination unit 530 is further used to determine that a battery failure has occurred if the trend line is in a continuous upward trend.

[0094] Optionally, the acquisition unit 510 is also used to obtain the first offset and the second offset of the battery cell when the battery is in the first numerical interval and the second numerical interval, respectively, and the first threshold and the second threshold corresponding to the first numerical interval and the second numerical interval, respectively, when it is determined that the battery has an abnormality; if the first offset and the second offset are respectively greater than the first threshold and the second threshold, it is determined that the battery has a fault.

[0095] Optionally, the determination unit 530 is also used to determine the static time of the vehicle when the vehicle is powered on, and the static time is the time from the current moment to the last power-off moment; the acquisition unit 510 is also used to execute the step of acquiring the battery state of charge when the static time is greater than a preset time.

[0096] Optionally, the acquisition unit 510 is specifically used to: acquire the voltage of each battery cell in the battery, the battery including at least one battery cell; analyze and obtain the voltage of the battery according to the voltage of each battery cell; and query and obtain the state of charge mapped by the voltage of the battery.

[0097] Optionally, the acquisition unit 510 is specifically used to: acquire an average value of the voltages of the battery cells; and use the average value of the voltages of the battery cells as the voltage of the battery.

[0098] Optionally, the processing unit 520 is further used to: determine the difference between the offset and the target threshold value when it is determined that the battery is abnormal; determine the corresponding emergency level according to the difference, and prompt corresponding maintenance measures according to the emergency level.

[0099] See also Figure 6 , is a schematic block diagram of a battery detection device provided by another embodiment of the present application. As shown in the figure, the battery detection device in this embodiment may include: a processor 610, a transceiver 620 and a memory 620. The above-mentioned processor 610, transceiver 620 and memory 620 are connected via a bus 630. The processor 610 is used to execute multiple instructions; the transceiver 620 is used to exchange data with other devices; the memory 620 is used to store multiple instructions, which are suitable for the processor 610 to load and execute the battery detection method in the above embodiment.

[0100] Among them, the processor 610 can be an electronic control unit (ECU), a central processing unit (CPU), a general processor, a coprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The processor 610 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, and so on. In this embodiment, the processor 610 can use a single-chip microcomputer, and various control functions can be implemented by programming the single-chip microcomputer. For example, in this embodiment, the collection, processing and demodulation functions of the original audio and video data are realized. The processor has the advantages of powerful computing power and fast processing. Specifically:

[0101] The processor is used to execute the function of the acquisition unit to acquire the state of charge of the battery and the state of charge of the battery cells in the battery; it is also used to execute the function of the processing unit to determine the target numerical range to which the state of charge of the battery belongs and the target threshold value corresponding to the target numerical range; it is also used to determine the offset of the state of charge of the battery cells relative to the state of charge of the battery; it is also used to execute the function of the determination unit to determine that the battery is abnormal when the offset is greater than the target threshold value.

[0102] Optionally, the processor is also used to obtain a historical offset corresponding to a target numerical range when it is determined that the battery is abnormal, wherein the historical offset includes at least one offset of the battery cell when the state of charge of the battery is within the target numerical range; and is also used to obtain a trend line based on the historical offset, the trend line being used to indicate historical changes in the offset of the battery cell; and is also used to determine that a battery failure has occurred if the trend line is in a continuous upward trend.

[0103] Optionally, the processor is also used to obtain the first offset and the second offset of the battery cell when the battery is in the first numerical interval and the second numerical interval, respectively, and the first threshold and the second threshold corresponding to the first numerical interval and the second numerical interval, respectively, when it is determined that the battery has an abnormality; if the first offset and the second offset are respectively greater than the first threshold and the second threshold, it is determined that the battery has a fault.

[0104] Optionally, the processor is also used to determine the static time of the vehicle when the vehicle is powered on, the static time being the time between the current moment and the last power-off moment; and is also used to execute the step of obtaining the battery state of charge when the static time is greater than a preset time.

[0105] Optionally, the processor is specifically used to: obtain the voltage of each battery cell in the battery, the battery including at least one battery cell; and analyze and obtain the state of charge of the battery according to the voltage of each battery cell.

[0106] Optionally, the processor is specifically used to: obtain an average value of the voltages of the battery cells as the voltage of the battery; and query and obtain a state of charge mapped by the voltage of the battery.

[0107] Optionally, the processor is also used to: determine the difference between the offset and the target threshold when it is determined that the battery is abnormal; determine the corresponding emergency level according to the difference, and prompt corresponding maintenance measures according to the emergency level.

[0108] The present application also provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor and executing the method in any of the aforementioned embodiments.

[0109] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0110] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A battery detection method, characterized in that: include: Obtaining the state of charge of a battery and the state of charge of cells in the battery; Determine a target numerical interval to which the state of charge of the battery belongs, and a target threshold corresponding to the target numerical interval, wherein a numerical interval with a stronger discharge capacity of the battery corresponds to a smaller target threshold, and a numerical interval with a weaker discharge capacity of the battery corresponds to a larger target threshold, and a target threshold corresponding to a medium numerical interval is smaller than a target threshold corresponding to a high numerical interval or a target threshold corresponding to a low numerical interval; determining an offset of the state of charge of the cell relative to the state of charge of the battery; When the offset is greater than the target threshold, determining that the battery is abnormal; When it is determined that the battery is abnormal, obtaining a historical offset corresponding to the target value interval, wherein the historical offset includes at least one offset of the battery cell when the state of charge of the battery is within the target value interval; A trend line is obtained according to the historical offset, and if the trend line is in a continuous upward trend, it is determined that the battery fails, wherein the trend line is used to indicate the historical change of the offset of the battery cell.

2. The method according to claim 1, characterized in that The method further comprises: When it is determined that the battery is abnormal, obtaining a first offset and a second offset of the battery cell when the battery is in a first numerical interval and a second numerical interval, respectively, and a first threshold and a second threshold corresponding to the first numerical interval and the second numerical interval, respectively; If the first offset and the second offset are respectively greater than the first threshold and the second threshold, it is determined that the battery fails.

3. The method according to claim 1, characterized in that The method further comprises: Determining the static time of the vehicle when the vehicle is powered on, wherein the static time is the time from the current moment to the last moment when the vehicle was powered off; When the static time is longer than the preset time, the step of obtaining the state of charge of the battery is performed.

4. The method according to claim 1, characterized in that: The step of obtaining the state of charge of the battery comprises: Obtaining the voltage of each battery cell in the battery, wherein the battery includes at least one battery cell; Analyze and obtain the voltage of the battery according to the voltage of each battery cell; The state of charge mapped by the voltage of the battery is obtained by querying.

5. The method according to claim 4, characterized in that The step of analyzing and obtaining the voltage of the battery according to the voltage of each battery cell comprises: Obtaining an average value of the voltages of the battery cells; The average value of the voltages of the battery cells is taken as the voltage of the battery.

6. The method according to claim 1, characterized in that The method further comprises: In the case where it is determined that the battery is abnormal, determining a difference between the offset and the target threshold; The corresponding emergency level is determined according to the difference, and corresponding maintenance measures are prompted according to the emergency level.

7. A battery detection device, characterized in that: The device comprises: An acquisition unit, used to acquire the state of charge of the battery and the state of charge of the cells in the battery; a processing unit, used to determine a target numerical interval to which the state of charge of the battery belongs, and a target threshold corresponding to the target numerical interval; and also used to determine an offset of the state of charge of the battery cell relative to the state of charge of the battery, wherein a numerical interval with a stronger discharge capacity of the battery corresponds to a smaller target threshold, and a numerical interval with a weaker discharge capacity of the battery corresponds to a larger target threshold, and a target threshold corresponding to a medium numerical interval is smaller than a target threshold corresponding to a high numerical interval or a target threshold corresponding to a low numerical interval; A determination unit is used to determine that the battery is abnormal when the offset is greater than the target threshold; when it is determined that the battery is abnormal, obtain a historical offset corresponding to the target numerical range, wherein the historical offset includes at least one offset of the battery cell when the state of charge of the battery is within the target numerical range; obtain a trend line based on the historical offset, and if the trend line is in a continuous upward trend, determine that the battery has a fault, wherein the trend line is used to indicate the historical changes in the offset of the battery cell.

8. A battery testing device, characterized in that: The device includes a processor and a memory, the processor and the memory are connected via a bus; the processor is used to execute multiple instructions; the storage medium is used to store the multiple instructions, and the instructions are suitable for being loaded by the processor and executing the battery detection method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the battery detection method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Power battery pack connection abnormity determination method

    CN108469589A

  • KR20210039267A