Battery Fault Detection Method, Device, Equipment and Storage Medium

By calculating the extreme value difference of the voltage data of each cell of the battery pack and determining the sampling wiring harness fault, the problem of low power supply convenience in traditional battery fault detection is solved, and the normal operation and safe power supply of the battery pack are achieved.

CN115792652BActive Publication Date: 2025-08-05CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211115638.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-14
Publication Date
2025-08-05
Estimated Expiration
2042-09-14

AI Technical Summary

Technical Problem

The traditional battery fault detection method immediately alarms when the voltage data is abnormal, resulting in low power supply convenience.

Method used

By obtaining the voltage data of each cell of the battery pack, the extreme value difference is calculated. If the extreme value difference is less than or equal to the preset threshold, it is determined to be a sampling harness fault, and the working state of the battery pack is maintained to avoid misjudgment.

Benefits of technology

Improves the accuracy of battery fault detection and power supply convenience, and avoids the use of the battery pack due to sampling wiring harness failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115792652B_ABST
    Figure CN115792652B_ABST
Patent Text Reader

Abstract

The present application relates to a battery fault detection method, device, electronic device, computer-readable storage medium, and computer program product. The method comprises: obtaining voltage data obtained by collecting voltages of each cell of a battery pack through a sampling harness; if the voltage data determines that the battery pack has a voltage fault, calculating an extreme value difference based on the voltage data; if the extreme value difference is less than or equal to a preset voltage threshold, determining that the sampling harness has a fault and maintaining the working state of the battery pack. When the voltage data collected from each cell of the battery pack is combined to determine that the battery pack has a voltage fault, calculating an extreme value difference based on the voltage data; if the extreme value difference is less than or equal to the preset voltage threshold, determining that the sampling harness has a fault, maintaining the working state of the battery pack, avoiding the use of the battery pack affected by the sampling harness fault, and improving the convenience of power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of battery technology, and in particular to a battery fault detection method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] With the continuous advancement of technology, power batteries have been used in electric vehicles and have become one of their primary power sources. Whether a power battery fails during use directly affects the performance of an electric vehicle. Traditional battery fault detection methods collect battery pack voltage data and immediately issue an alarm and restrict battery pack use if any voltage anomalies occur. However, this method has the disadvantage of low power supply convenience. Summary of the Invention

[0003] Based on this, a battery fault detection method, device, electronic device, computer-readable storage medium and computer program product are provided, which can improve the convenience of power supply.

[0004] In a first aspect, the present application provides a battery fault detection method, comprising:

[0005] Obtain voltage data from each cell of the battery pack through a sampling harness;

[0006] If it is determined that the battery pack has a voltage fault according to the voltage data, an extreme value difference is calculated according to the voltage data;

[0007] If the extreme value difference is less than or equal to the preset voltage threshold, it is determined that the sampling harness is faulty and the working state of the battery pack is maintained.

[0008] The above-mentioned battery fault detection method, when combining the voltage data collected from each battery cell of the battery pack to determine whether the battery pack has a voltage fault, calculates the extreme value difference based on the voltage data. If the extreme value difference is less than or equal to the preset voltage threshold, it is determined that there is a sampling harness failure, maintaining the working state of the battery pack, avoiding the use of the battery pack affected by the sampling harness failure, and improving the convenience of power supply.

[0009] In some embodiments, if a voltage fault is determined in the battery pack based on the voltage data, an extreme value difference is calculated based on the voltage data, including: determining a maximum voltage value and a minimum voltage value based on the voltage data of each battery cell; if the difference between the maximum voltage value and the minimum voltage value is greater than a set voltage threshold, determining that a voltage fault exists in the battery pack, and calculating the extreme value difference based on the voltage data. From the voltage data of each battery cell, the maximum voltage value and the minimum voltage value are selected, and the difference is then compared with the set voltage threshold to determine whether the battery pack has a voltage fault, providing accurate and rapid detection.

[0010] In some embodiments, if the difference between the maximum voltage value and the minimum voltage value is greater than a set voltage threshold, then after determining that the battery pack has a voltage fault, the method further includes: returning to the step of acquiring voltage data obtained by sampling the voltages of each cell in the battery pack via a sampling harness, until a determination is made that the battery pack has a voltage fault based on voltage data continuously collected for a preset period of time, and then executing the step of calculating an extreme value difference based on the voltage data. When a determination is made that the battery pack has a voltage fault based on voltage data continuously collected for a preset period of time, the extreme value difference calculated from the voltage data is used to determine whether the fault is a sampling harness fault, thereby avoiding misjudgments of voltage faults due to transient voltage disturbances and improving detection accuracy.

[0011] In some embodiments, calculating the extreme value difference based on the voltage data includes: calculating an average voltage value based on the voltage data of each battery cell; and calculating the extreme value difference based on the maximum voltage value, the minimum voltage value, and the average voltage value in the voltage data. Calculating the extreme value difference by combining the maximum voltage value, the minimum voltage value, and the average voltage value in the voltage data allows for quick and accurate calculation.

[0012] In some embodiments, after maintaining the operating state of the battery pack, the method further includes replacing abnormal voltage values in the voltage data with the average voltage value. Replacing abnormal voltage values in the voltage data with the average voltage value prevents abnormal voltage values collected due to a sampling harness failure from triggering a battery-related protection program to execute a protection action, thereby ensuring normal battery power supply.

[0013] In some embodiments, after maintaining the operating state of the battery pack, the method further includes: if the number of times the sampling harness fault is detected exceeds a set number, outputting a harness fault prompt message. If the number of times the sampling harness fault occurs exceeds the set number, outputting a harness fault prompt message so that after-sales maintenance personnel can be arranged to handle it.

[0014] In some embodiments, if the voltage data indicates a voltage fault in the battery pack, after calculating an extreme value difference based on the voltage data, the method further includes: if the extreme value difference is greater than a preset voltage threshold, determining a battery fault and executing a predetermined battery fault strategy. If the extreme value difference is greater than the preset voltage threshold, a battery fault is considered to have occurred, and a battery protection operation is executed according to the predetermined battery fault strategy to ensure safe battery use.

[0015] In a second aspect, the present application provides a battery fault detection device, comprising:

[0016] A data acquisition module is used to obtain voltage data obtained by sampling the voltage of each cell in the battery pack through a sampling harness;

[0017] a data processing module, configured to calculate an extreme value difference based on the voltage data when it is determined that a voltage fault exists in the battery pack based on the voltage data;

[0018] The fault detection module is used to determine that the sampling harness is faulty when the extreme value difference is less than or equal to a preset voltage threshold, thereby maintaining the working state of the battery pack.

[0019] In a third aspect, the present application provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0020] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.

[0021] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which implements the steps of the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0023] Figure 1 Schematic diagram of a battery failure detection method according to an embodiment;

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

[0025] Figure 3 A flowchart of calculating an extreme value difference based on the voltage data if it is determined that a voltage fault exists in the battery pack based on the voltage data in one embodiment;

[0026] Figure 4 A flow chart of calculating an extreme value difference based on voltage data in one embodiment;

[0027] Figure 5 is a flow chart of a battery failure detection method in another embodiment;

[0028] Figure 6 1 is a flow chart of a battery failure detection method according to an embodiment;

[0029] Figure 7 This is a structural block diagram of a battery fault detection device in one embodiment;

[0030] Figure 8 FIG. 1 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0033] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

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

[0035] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

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

[0037] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.

[0038] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.

[0039] With the development of science and technology and the continuous progress of society, the application field of power batteries has been continuously expanded. They are not only used in electric vehicles such as electric bicycles, electric motorcycles, and electric vehicles, but also in many fields such as military equipment and aerospace. Power batteries are the power source that provides power for tools. They mostly use valve-sealed lead-acid batteries, open-type tubular lead-acid batteries, and lithium iron phosphate batteries. They have the characteristics of high energy, high power, and high energy density. Whether the power battery has a fault during use directly affects the use of electrical devices. The traditional battery fault detection method collects the voltage data of the battery pack. As long as the voltage data is abnormal, it will immediately alarm and restrict the use of the battery pack. It has the disadvantage of low power supply convenience. Based on this, the present application provides a battery fault detection method. When judging whether the battery pack has a voltage fault based on the voltage data collected from each cell of the battery pack, the extreme value difference is calculated based on the voltage data. If the extreme value difference is less than or equal to the preset voltage threshold, it is determined that the sampling harness is faulty, and the working state of the battery pack is maintained, avoiding the use of the battery pack affected by the sampling harness fault, and improving the power supply convenience.

[0040] The battery fault detection method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. The controller 100 is connected to the battery pack 200 through a sampling harness, and the voltage of each cell of the battery pack 200 is collected through the sampling harness to obtain voltage data. If it is judged that there is a voltage fault in the battery pack based on the voltage data, the controller 100 calculates the extreme value difference based on the voltage data; if the extreme value difference is less than or equal to the preset voltage threshold, the controller 100 determines that the sampling harness is faulty and maintains the working state of the battery pack. Among them, the controller 100 can adopt BMS (Battery Management System) or other control devices, and the battery pack 200 includes more than two cells. It should be noted that the batteries involved in the embodiments of the present application can be used in, but are not limited to, electrical devices such as vehicles, ships or aircraft. For ease of understanding, the following explanation is based on the example of the controller 100 using BMS.

[0041] In one embodiment, Figure 2 As shown, a battery fault detection method is provided, comprising:

[0042] Step S110: Obtain voltage data from each cell in the battery pack via the sampling harness. Specifically, when the battery pack is in operation, the BMS collects voltage data from each cell in the battery pack in real time via the sampling harness. The BMS's voltage sampling period is not unique and can be set based on actual needs. For example, the BMS may sample voltage data every 100ms.

[0043] Step S120: If the voltage data indicates a voltage fault in the battery pack, the extreme value difference is calculated based on the voltage data. After collecting the voltage data for each cell, the BMS analyzes the voltage data to determine whether there is a significant voltage difference between cells or whether the voltage values of the cells are within a preset range, thereby determining whether the battery pack has a voltage fault. If the voltage data for each cell indicates a voltage fault, the BMS further calculates the extreme value difference based on the voltage data for subsequent analysis of the specific fault type.

[0044] Specifically, the extreme value difference is obtained based on the calculation of the extreme value and the average voltage value in the voltage data, which characterizes the degree of difference between the extreme value and the average voltage value. Among them, the average voltage value refers to the average value of the voltage data of each battery cell. The extreme value can be the maximum voltage value and / or the minimum voltage value of the voltage data of each battery cell. The maximum voltage value refers to the voltage value with the largest amplitude in the voltage data of each battery cell, and the minimum voltage value refers to the voltage value with the smallest amplitude in the voltage data of each battery cell. Taking the extreme value including the maximum voltage value and the minimum voltage value as an example, the extreme value difference can be obtained by summing the difference between the maximum voltage value and the average voltage value and the difference between the minimum voltage value and the average voltage value.

[0045] Step S130: If the extreme value difference is less than or equal to the preset voltage threshold, the sampling harness is determined to be faulty and the battery pack's operating state is maintained. The preset voltage threshold is not unique and can be set based on the battery type. After calculating the extreme value difference based on the voltage data, the BMS compares the extreme value difference with the preset voltage threshold. If the extreme value difference is less than or equal to the preset voltage threshold, the sampling harness is determined to be faulty and the battery pack's current operating state is maintained, preventing the sampling harness failure from affecting the battery pack's operation.

[0046] The above-mentioned battery fault detection method, when combining the voltage data collected from each battery cell of the battery pack to determine whether the battery pack has a voltage fault, calculates the extreme value difference based on the voltage data. If the extreme value difference is less than or equal to the preset voltage threshold, it is determined that there is a sampling harness failure, maintaining the working state of the battery pack, avoiding the use of the battery pack affected by the sampling harness failure, and improving the convenience of power supply.

[0047] In one embodiment, Figure 3 As shown, step S120 includes step S122 and step S124.

[0048] Step S122: Determine the maximum voltage value and the minimum voltage value based on the voltage data of each battery cell. The BMS selects the maximum voltage value and the minimum voltage value from the collected voltage data of each battery cell.

[0049] Step S124: If the difference between the maximum voltage value and the minimum voltage value is greater than the set voltage threshold, it is determined that there is a voltage fault in the battery pack, and the extreme value difference is calculated based on the voltage data. Among them, the value of the set voltage threshold is not unique and can also be set specifically according to the type of battery. The BMS takes the difference between the maximum voltage value and the minimum voltage value and compares the difference with the set voltage threshold. If the difference is greater than the set voltage threshold, it is determined that there is a voltage fault in the battery pack, and the extreme value difference is calculated based on the voltage data. It can be understood that if the difference is less than or equal to the set voltage threshold, it can be considered that there is no voltage fault in the battery pack and the battery is determined to be normal. At this time, it can also return to step S110 to re-collect voltage data and continue fault detection.

[0050] In this embodiment, the maximum voltage value and the minimum voltage value are selected from the voltage data of each battery cell, and the difference is compared with the set voltage threshold to determine whether the battery pack has a voltage fault. The detection is accurate and fast.

[0051] In one embodiment, in step S124, if the difference between the maximum voltage value and the minimum voltage value is greater than the set voltage threshold, it is determined that the battery pack has a voltage fault. The method further includes: returning to step S110 until it is determined that the battery pack has a voltage fault based on the voltage data collected continuously for a preset time period, and then executing the step of calculating the extreme value difference based on the voltage data.

[0052] Among them, the specific value of the preset duration is not unique and can be adjusted according to actual needs. In this embodiment, the preset duration is 20S (seconds). After determining that there is a voltage fault in the battery pack, the BMS again collects voltages from each cell in the battery pack through the sampling harness. When the duration of the voltage fault reaches the preset duration, the misjudgment of the voltage fault caused by instantaneous voltage fluctuations can be eliminated. At this time, the extreme value difference is calculated based on the voltage data for subsequent fault type analysis.

[0053] In this embodiment, when determining that a battery pack has a voltage fault based on voltage data collected continuously for a preset period of time, the extreme value difference calculated based on the voltage data is used to analyze whether the sampling harness is faulty, thereby avoiding misjudgment of voltage faults due to instantaneous voltage disturbances and improving detection accuracy.

[0054] The specific calculation method of the extreme value difference is not unique. In one embodiment, Figure 4 As shown, the extreme value difference is calculated based on the voltage data, including step S126 and step S128.

[0055] Step S126: Calculate an average voltage value based on the voltage data of each battery cell. The BMS averages the voltage data of each battery cell to obtain the average voltage value.

[0056] Step S128: Calculate the extreme value difference based on the maximum voltage value, minimum voltage value, and average voltage value in the voltage data. The BMS can calculate the extreme value difference by combining the maximum voltage value, minimum voltage value, and average voltage value in the voltage data. Specifically, the extreme value difference U is: U = Vmax + Vmin - 2Vmean, where Vmax is the maximum voltage value, Vmin is the minimum voltage value, and Vmean is the average voltage value.

[0057] In this embodiment, the extreme value difference is calculated by combining the maximum voltage value, the minimum voltage value and the average voltage value in the voltage data, and the calculation is fast and accurate.

[0058] In one embodiment, after maintaining the operating state of the battery pack in step S130, the method further includes replacing abnormal voltage values in the voltage data with average voltage values. Specifically, after determining that the sampling harness is faulty and maintaining the operating state of the battery pack, the BMS may use the maximum and minimum voltage values in the voltage data as abnormal voltage values and replace them with the average voltage value. Alternatively, the BMS may use the voltage in the voltage data where the difference from the average voltage value is greater than a set threshold as an abnormal voltage value and replace it with the average voltage value. By replacing abnormal voltage values in the voltage data with the average voltage value, abnormal voltage values collected due to a sampling harness fault can be avoided, thereby preventing battery protection programs such as overvoltage or undervoltage from triggering alarms and affecting battery use.

[0059] In this embodiment, abnormal voltage values in the voltage data are replaced with average voltage values to avoid abnormal voltage values collected due to sampling harness failure triggering battery-related protection programs to perform protection actions, thereby ensuring normal battery power supply.

[0060] In one embodiment, Figure 5 As shown, after maintaining the working state of the battery pack in step S130, the method further includes step S140: if the number of times the sampling harness fault is detected is greater than the set number, a harness fault prompt message is output. It can be understood that the specific value of the set number can also be set according to the actual situation. If the sampling harness fault occurs more than the set number, a harness fault prompt message is output so that after-sales maintenance personnel can be arranged to handle it. There is no unique way to output the harness fault prompt message. It can be an audible and visual alarm reminder, or a display screen can be used to output text or patterns for fault reminder. Taking battery-applied electric vehicles as an example, after the BMS detects that the number of sampling harness faults is greater than the set number, it can output the harness fault prompt message through the on-board central control screen to remind the owner to make an appointment with after-sales maintenance personnel to handle it. It can be understood that if the sampling harness fault occurs less than or equal to the set number, no fault reminder will be issued.

[0061] In one embodiment, referring to Figure 5 After step S120, the method further includes step S150: if the extreme value difference is greater than the preset voltage threshold, it is determined to be a battery fault, and the set battery fault strategy is executed. The specific content of the battery fault strategy can also be set according to actual needs. For example, the battery fault strategy can be to limit the power of the battery. After the extreme value difference is greater than the preset voltage threshold and it is determined to be a battery fault, the BMS executes the initial fault strategy of the battery pack to limit the battery power. In this embodiment, if it is detected that the extreme value difference is greater than the preset voltage threshold, it is considered that a battery fault has occurred, and the battery protection operation is performed according to the pre-set battery fault strategy to ensure the safe use of the battery.

[0062] To facilitate a better understanding of the above battery fault detection method, it is explained in detail below in conjunction with specific embodiments.

[0063] This application provides a method for actively identifying and handling power battery pack voltage faults. By introducing the concept of extreme value difference, the difference between power battery faults and sampling harness faults is judged, and different handling strategies are adopted after making a judgment: if it is a battery problem, the normal strategy is executed; if it is a sampling harness fault, it does not affect high-voltage driving, and the abnormal value is temporarily replaced by the average voltage value within a set number of cycles, so as not to affect the customer experience. Specifically, the BMS has basic battery voltage acquisition functions, such as Figure 6 As shown, the method includes the following steps:

[0064] 1. When working, BMS collects the voltage data of each cell in the battery pack in real time through the sampling harness.

[0065] 2. Based on the collected voltage data, the BMS summarizes and filters out the battery pack summary data: the maximum voltage value Vmax and the minimum voltage value Vmin, and calculates the battery pack summary data: the average voltage value Vmean based on the voltage data.

[0066] 3. Based on summary data processing, the BMS calculates the voltage difference (Vmax-Vmin) and compares it with the set voltage threshold to determine whether the battery pack has a fault. If there is a voltage fault, it is necessary to enter the next judgment logic (Note: The set voltage thresholds for different system batteries will vary. For example, if the voltage difference of NCM (nickel cobalt manganese) battery is >50mV, it is considered that there is a voltage fault).

[0067] 4. Based on summary data processing, the BMS introduces the extreme value difference U (U = Vmax + Vmin - 2Vmean) and compares it with the preset voltage threshold to determine whether the fault is a problem with the battery itself or a problem with the sampling harness (Note: The preset voltage thresholds for batteries of different systems will vary. For example, if U>100mV (millivolts) for NCM batteries, it is considered a battery fault).

[0068] 5. The first four steps can be repeated after the BMS is turned on. To avoid the influence of data fluctuation errors, the voltage fault duration (i.e. preset duration) can be set in step 3, generally set to 20S. If the fault persists, the next step of judgment will be executed.

[0069] 6. After confirming a battery fault, because there is an abnormality in the battery's high-voltage power supply circuit, which involves safety issues, the initial fault strategy of the battery pack is executed, which is generally power limiting. When it is determined that the sampling harness is faulty, because the sampling harness is a low-voltage circuit and does not involve high voltage, it has no significant impact on the battery's power output. Therefore, the Vmean value can be temporarily used to replace the abnormal value. The set number of cycles can be set without affecting the customer's driving experience and driving safety. After the sampling harness fault accumulates for the set number of cycles, arrange for after-sales maintenance personnel to handle it.

[0070] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0071] Based on the same inventive concept, embodiments of the present application also provide a battery fault detection device for implementing the aforementioned battery fault detection method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more battery fault detection device embodiments provided below can be found in the above-described limitations of the battery fault detection method and will not be further elaborated here.

[0072] In one embodiment, Figure 7 As shown, a battery fault detection device is provided, including: a data acquisition module 110, a data processing module 120 and a fault detection module 130.

[0073] The data acquisition module 110 is used to acquire voltage data obtained by sampling the voltage of each cell in the battery pack through a sampling harness.

[0074] The data processing module 120 is configured to calculate an extreme value difference based on the voltage data when determining that a voltage fault exists in the battery pack based on the voltage data.

[0075] The fault detection module 130 is configured to determine that the sampling harness is faulty when the extreme value difference is less than or equal to a preset voltage threshold, and maintain the working state of the battery pack.

[0076] In one embodiment, the data processing module 120 determines the maximum voltage value and the minimum voltage value based on the voltage data of each battery cell; if the difference between the maximum voltage value and the minimum voltage value is greater than the set voltage threshold, it is determined that there is a voltage fault in the battery pack, and the extreme value difference is calculated based on the voltage data.

[0077] In one embodiment, the data processing module 120 calculates an average voltage value based on the voltage data of each battery cell; and calculates an extreme value difference based on the maximum voltage value, the minimum voltage value, and the average voltage value in the voltage data.

[0078] In one embodiment, the fault detection module 130 is further configured to replace abnormal voltage values in the voltage data with average voltage values.

[0079] In one embodiment, the fault detection module 130 is further configured to output a wiring harness fault prompt message if the number of times the sampling wiring harness fault is detected is greater than a set number.

[0080] In one embodiment, the fault detection module 130 is further configured to determine that a battery fault occurs if the extreme value difference is greater than a preset voltage threshold, and execute a set battery fault strategy.

[0081] Each module in the battery fault detection device described above can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in an electronic device in hardware form, or stored in a memory in the electronic device in software form, so that the processor can call and execute the corresponding operations of each module.

[0082] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a battery fault detection method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0083] Those skilled in the art will understand that Figure 8The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0084] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented: obtaining voltage data obtained by collecting voltage of each battery cell in a battery pack through a sampling harness; if it is determined based on the voltage data that the battery pack has a voltage fault, calculating an extreme value difference based on the voltage data; if the extreme value difference is less than or equal to a preset voltage threshold, determining that the sampling harness is faulty and maintaining the working state of the battery pack.

[0085] In one embodiment, when the processor executes the computer program, it also implements the following steps: determining the maximum voltage value and the minimum voltage value based on the voltage data of each battery cell; if the difference between the maximum voltage value and the minimum voltage value is greater than the set voltage threshold, it is determined that there is a voltage fault in the battery pack, and the extreme value difference is calculated based on the voltage data.

[0086] In one embodiment, when the processor executes the computer program, it further implements the following steps: calculating an average voltage value based on the voltage data of each battery cell; and calculating an extreme value difference based on the maximum voltage value, the minimum voltage value and the average voltage value in the voltage data.

[0087] In one embodiment, when the processor executes the computer program, the processor further implements the following step: replacing abnormal voltage values in the voltage data with average voltage values.

[0088] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the number of times the sampling harness failure is detected is greater than a set number, outputting harness failure prompt information.

[0089] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the extreme value difference is greater than a preset voltage threshold, it is determined to be a battery failure, and a set battery failure strategy is executed.

[0090] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining voltage data obtained by collecting voltage of each battery cell in a battery pack through a sampling harness; if it is determined based on the voltage data that the battery pack has a voltage fault, calculating an extreme value difference based on the voltage data; if the extreme value difference is less than or equal to a preset voltage threshold, determining that the sampling harness is faulty and maintaining the working state of the battery pack.

[0091] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the maximum voltage value and the minimum voltage value based on the voltage data of each battery cell; if the difference between the maximum voltage value and the minimum voltage value is greater than the set voltage threshold, it is determined that there is a voltage fault in the battery pack, and the extreme value difference is calculated based on the voltage data.

[0092] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: calculating an average voltage value based on the voltage data of each battery cell; and calculating an extreme value difference based on the maximum voltage value, the minimum voltage value and the average voltage value in the voltage data.

[0093] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: replacing abnormal voltage values in the voltage data with average voltage values.

[0094] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the number of times the sampling harness failure is detected is greater than a set number, outputting harness failure prompt information.

[0095] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the extreme value difference is greater than a preset voltage threshold, it is determined to be a battery failure, and a set battery failure strategy is executed.

[0096] In one embodiment, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the following steps: obtaining voltage data obtained by sampling the voltage of each cell in a battery pack through a sampling harness; if it is determined based on the voltage data that the battery pack has a voltage fault, calculating an extreme value difference based on the voltage data; if the extreme value difference is less than or equal to a preset voltage threshold, determining that the sampling harness is faulty and maintaining the working state of the battery pack.

[0097] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the maximum voltage value and the minimum voltage value based on the voltage data of each battery cell; if the difference between the maximum voltage value and the minimum voltage value is greater than the set voltage threshold, it is determined that there is a voltage fault in the battery pack, and the extreme value difference is calculated based on the voltage data.

[0098] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: calculating an average voltage value based on the voltage data of each battery cell; and calculating an extreme value difference based on the maximum voltage value, the minimum voltage value and the average voltage value in the voltage data.

[0099] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: replacing abnormal voltage values in the voltage data with average voltage values.

[0100] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the number of times the sampling harness failure is detected is greater than a set number, outputting harness failure prompt information.

[0101] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the extreme value difference is greater than a preset voltage threshold, it is determined to be a battery failure, and a set battery failure strategy is executed.

[0102] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0103] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned 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.

[0104] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A battery fault detection method, characterized in that: include: Obtain voltage data from each cell of the battery pack through a sampling harness; Determine the maximum voltage value and the minimum voltage value according to the voltage data of each battery cell; If the difference between the maximum voltage value and the minimum voltage value is greater than a set voltage threshold, it is determined that a voltage fault exists in the battery pack; The average voltage value is calculated based on the voltage data of each battery cell; Subtract twice the average voltage value from the sum of the maximum voltage value and the minimum voltage value to calculate an extreme value difference; If the extreme value difference is less than or equal to the preset voltage threshold, it is determined that the sampling harness is faulty and the working state of the battery pack is maintained.

2. The method according to claim 1, characterized in that If the difference between the maximum voltage value and the minimum voltage value is greater than the set voltage threshold, it is determined that the battery pack has a voltage fault, and the method further includes: Return to the step of obtaining voltage data obtained by sampling the voltage of each battery cell in the battery pack through the sampling harness, until it is determined that the battery pack has a voltage fault based on the voltage data collected continuously for a preset time period, and then execute the step of calculating the extreme value difference based on the voltage data.

3. The method according to claim 1, characterized in that After maintaining the working state of the battery pack, the method further includes: replacing abnormal voltage values in the voltage data with the average voltage value.

4. The method according to claim 1, wherein After maintaining the working state of the battery pack, the method further includes: outputting a wiring harness fault prompt message if the number of times the sampling wiring harness fault is detected is greater than a set number.

5. The method according to any one of claims 1 to 4, characterized in that If it is determined according to the voltage data that the battery pack has a voltage fault, after calculating the extreme value difference according to the voltage data, the method further includes: If the extreme value difference is greater than a preset voltage threshold, it is determined to be a battery failure and the set battery failure strategy is executed.

6. A battery fault detection device, characterized in that: include: A data acquisition module is used to obtain voltage data obtained by sampling the voltage of each cell in the battery pack through a sampling harness; A data processing module is used to determine a maximum voltage value and a minimum voltage value based on the voltage data of each battery cell; if the difference between the maximum voltage value and the minimum voltage value is greater than a set voltage threshold, it is determined that a voltage fault exists in the battery pack; and an average voltage value is calculated based on the voltage data of each battery cell; Subtract twice the average voltage value from the sum of the maximum voltage value and the minimum voltage value to calculate an extreme value difference; The fault detection module is used to determine that the sampling harness is faulty when the extreme value difference is less than or equal to a preset voltage threshold, thereby maintaining the working state of the battery pack.

7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Determining and treating methods of power cell system for sampling harness faults

    CN103730700A

  • Acquisition wire harness fault detection method and device, electronic equipment and storage medium

    CN112054259A