METHOD FOR DETECTING INTERNAL SHORT CIRCUIT OF BATTERY, ELECTRONIC APPARATUS, AND STORAGE MEDIUM
20230236253 · 2023-07-27
Assignee
Inventors
Cpc classification
G01R31/392
PHYSICS
G01R31/389
PHYSICS
Y02E60/10
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G01R31/385
PHYSICS
G01R31/52
PHYSICS
International classification
G01R31/52
PHYSICS
G01R31/389
PHYSICS
Abstract
A method for detecting internal short circuit of a battery, includes: discharging a battery with a first current I.sub.1 at a moment t.sub.1; calculating a first discharge voltage drop ΔV.sub.1 of the battery at a moment t.sub.1+dt; discharging the battery with a second current I.sub.2 at a moment t.sub.2, where I.sub.1≠I.sub.2; calculating a second discharge voltage drop ΔV.sub.2 of the battery at a moment t.sub.2+dt; and determining, based on the first current I.sub.1, the first discharge voltage drop ΔV.sub.1, the second current I.sub.2, and the second discharge voltage drop ΔV.sub.2, whether the battery has an internal short circuit. In this application, whether the battery has an internal short circuit can be accurately determined, thereby ensuring safety of an electronic apparatus and a user.
Claims
1. A method for detecting internal short circuit of a battery, wherein the method comprises: discharging the battery with a first current I.sub.1 at a moment t.sub.1; calculating a first discharge voltage drop ΔV.sub.1 of the battery at a moment t.sub.1+dt, wherein ΔV.sub.1=V.sub.0−V.sub.1, V.sub.0 is a terminal voltage of the battery in a static state, and V.sub.1 is a terminal voltage of the battery at the moment t.sub.1+dt; discharging the battery with a second current I.sub.2 at a moment t.sub.2, wherein I.sub.1≠I.sub.2; calculating a second discharge voltage drop ΔV.sub.2 of the battery at a moment t.sub.2+dt, wherein ΔV.sub.2=V.sub.0−V.sub.2, and V.sub.2 is a terminal voltage of the battery at the moment t.sub.2+dt; and determining, based on the first current I.sub.1, the first discharge voltage drop ΔV.sub.1, the second current I.sub.2, and the second discharge voltage drop ΔV.sub.2, whether the battery has an internal short circuit.
2. The method for detecting internal short circuit of a battery according to claim 1, wherein the method further comprises: calculating a first ratio dV.sub.Ratio between the second discharge voltage drop ΔV.sub.2 and the first discharge voltage drop ΔV.sub.1 and a second ratio dI.sub.Ratio between the second current I.sub.2 and the first current I.sub.1; and if an absolute value of a difference between the first ratio dV.sub.Ratio and the second ratio dI.sub.Ratio is greater than a preset value, outputting alert information that the battery has an internal short circuit.
3. The method for detecting internal short circuit of a battery according to claim 1, wherein the method further comprises: if the battery has an internal short circuit, calculating a value of an internal short-circuit resistance of the battery.
4. The method for detecting internal short circuit of a battery according to claim 3, wherein the calculating the value of the internal short-circuit resistance of the battery comprises: establishing an equivalent circuit model of the battery, and determining a first voltage V.sub.1′ of the battery in the equivalent circuit model; calculating a second voltage V.sub.2′ over the internal short-circuit resistance in the equivalent circuit model; obtaining a discharge voltage drop equation based on the first voltage V.sub.1′ and the second voltage V.sub.2′; and calculating the value of the internal short-circuit resistance of the battery based on the discharge voltage drop equation.
5. The method for detecting internal short circuit of a battery according to claim 4, wherein the first voltage V.sub.1′ is determined through the following formula:
V.sub.1′=U.sub.oc−(I+I.sub.ISC)×r, wherein U.sub.oc is an open-circuit voltage of the battery, r is an internal resistance of the battery, I.sub.ISC is a current flowing through the internal short-circuit resistance, and I is a current flowing through the internal resistance of the battery.
6. The method for detecting internal short circuit of a battery according to claim 5, wherein the second voltage V.sub.2′ is determined through the following formula:
V.sub.2′=I.sub.ISC×R.sub.ISC, wherein R.sub.ISC is the value of the internal short-circuit resistance.
7. The method for detecting internal short circuit of a battery according to claim 6, wherein the discharge voltage drop equation is determined through the following formula:
8. The method for detecting internal short circuit of a battery according to claim 7, wherein the calculating the value of the internal short-circuit resistance of the battery based on the discharge voltage drop equation comprises: obtaining a first discharge voltage drop
9. An electronic apparatus, wherein the electronic apparatus comprises: a battery; and a processor, configured to perform a method for detecting internal short circuit of the battery that comprises: discharging the battery with a first current I.sub.1 at a moment t.sub.1; calculating a first discharge voltage drop ΔV.sub.1 of the battery at a moment t.sub.1+dt, wherein ΔV.sub.1=V.sub.0−V.sub.1, V.sub.0 is a terminal voltage of the battery in a static state, and V.sub.1 is a terminal voltage of the battery at the moment t.sub.1+dt; discharging the battery with a second current I.sub.2 at a moment t.sub.2, wherein I.sub.1≠I.sub.2; calculating a second discharge voltage drop ΔV.sub.2 of the battery at a moment t.sub.2+dt, wherein ΔV.sub.2=V.sub.0−V.sub.2, and V.sub.2 is a terminal voltage of the battery at the moment t.sub.2+dt; and determining, based on the first current I.sub.1, the first discharge voltage drop ΔV.sub.1, the second current I.sub.2, and the second discharge voltage drop ΔV.sub.2, whether the battery has an internal short circuit.
10. A non-transitory storage medium, storing at least one computer instruction, wherein the instruction is loaded by a processor and is used to perform a method for detecting internal short circuit of a battery that comprises: discharging the battery with a first current I.sub.1 at a moment t.sub.1; calculating a first discharge voltage drop ΔV.sub.1 of the battery at a moment t.sub.1+dt, wherein ΔV.sub.1=V.sub.0−V.sub.1, V.sub.0 is a terminal voltage of the battery in a static state, and V.sub.1 is a terminal voltage of the battery at the moment t.sub.1+dt; discharging the battery with a second current I.sub.2 at a moment t.sub.2, wherein I.sub.1≠I.sub.2; calculating a second discharge voltage drop ΔV.sub.2 of the battery at a moment t.sub.2+dt, wherein ΔV.sub.2=V.sub.0−V.sub.2, and V.sub.2 is a terminal voltage of the battery at the moment t.sub.2+dt; and determining, based on the first current I.sub.1, the first discharge voltage drop ΔV.sub.1, the second current I.sub.2, and the second discharge voltage drop ΔV.sub.2, whether the battery has an internal short circuit.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0022]
[0023]
[0024]
[0025]
[0026]
REFERENCE SIGNS OF MAIN COMPONENTS
[0027] Electronic apparatus 100 [0028] Memory 11 [0029] Processor 12 [0030] Battery 13 [0031] Collection apparatus 14 [0032] Timer 15
[0033] This application is further described in detail in the following specific embodiments with reference to the accompanying drawings.
DETAILED DESCRIPTION
[0034] The following clearly describes the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Apparently, the described embodiments are some but not all of the embodiments of this application.
[0035] Referring to
[0036] It should be noted that the electronic apparatus 100 is used only as an example for description in
[0037] In an embodiment, the battery 13 is a rechargeable battery, and is configured to supply power to the electronic apparatus 100. For example, the battery 13 may be a lead-acid battery, a nickel-cadmium battery, a nickel-hydrogen battery, a lithium-ion battery, a lithium polymer battery, a lithium iron phosphate battery, or the like. The battery 13 is logically connected to the processor 12 through a battery management system (BMS), thereby implementing functions such as charging and discharging through the battery management system. The battery management system can communicate with a power conversion system (PCS) through CAN or RS485. The battery 13 includes a battery cell (not shown in the figure), and the battery can be recharged in a recyclable and rechargeable manner.
[0038] In this embodiment, the collection apparatus 14 is configured to collect a voltage of the battery 13 and a charging current of the battery 13. In this embodiment, the collection apparatus 14 is configured to collect a voltage of the battery cell of the battery 13 and a charging current of the battery cell of the battery 13. In this embodiment, the collection apparatus 14 is an analog-to-digital converter. It can be understood that the collection apparatus 14 may alternatively be another voltage collection apparatus or another current collection apparatus. The timer 15 is configured to record charging duration of the battery cell of the battery 13 in a charging process. It can be understood that the electronic apparatus 100 may also include another apparatus, such as a pressure sensor, a light sensor, a gyroscope, a hygrometer, and an infrared sensor.
[0039] Referring to
[0040] Step S20: Collect a terminal voltage and current of a battery in a real-time manner at a sampling interval of dt.
[0041] In this embodiment, in a battery operating process (for example, the charging or discharging process), the terminal voltage and current of the battery are collected by the collection apparatus 14 in a real-time manner at the sampling interval of dt. It should be noted that, when the battery is in a static state, the terminal voltage V.sub.0 of the battery is first collected by the collection apparatus 14. In this case, an open-circuit voltage OCV of the battery may be used as the terminal voltage of the battery.
[0042] Step S21: Discharge the battery with a first current I.sub.1 at a moment t.sub.1.
[0043] In this embodiment, to determine whether the battery has internal short circuit in the operating process, a voltage drop ratio of the battery under different discharge currents needs to be calculated, and whether the battery has internal short circuit is determined based on the voltage drop ratio; and if it is determined that the battery has an internal short circuit, a value of an internal short-circuit resistance is calculated.
[0044] In an embodiment, the battery is impulsively discharged with the first current I.sub.1 through a load at the moment t.sub.1. It should be noted that, in another embodiment, the battery may also be constant-current discharged with the first current I.sub.1.
[0045] Step S22: Calculate a first discharge voltage drop ΔV.sub.1 of the battery at a moment t.sub.1+dt, where ΔV.sub.1=V.sub.0−V.sub.1, V.sub.0 is the terminal voltage of the battery in a static state, and V.sub.1 is a terminal voltage of the battery at the moment t.sub.1+dt.
[0046] In this embodiment, after the battery is impulsively discharged with the first current I.sub.1, the first discharge voltage drop ΔV.sub.1 of the battery at the moment t.sub.1+dt can be calculated. Specifically, the terminal voltage V.sub.1 of the battery at the moment t.sub.1+dt is collected by the collection apparatus 14, and then the first discharge voltage drop ΔV.sub.1=V.sub.0−V.sub.1 of the battery at the moment t.sub.1+dt is obtained based on the terminal voltage V.sub.0 of the battery in the static state.
[0047] Step S23: Discharge the battery with a second current I.sub.2 at a moment t.sub.2, where I.sub.1≠I.sub.2.
[0048] In this embodiment, to keep a depth of discharge (DOD) of the battery unchanged, the battery is impulsively discharged with the second current I.sub.2 through the load at the moment t.sub.2.
[0049] Step S24: Calculate a second discharge voltage drop ΔV.sub.2 of the battery at a moment t.sub.2+dt, where ΔV.sub.2=V.sub.0−V.sub.2, and V.sub.2 is a terminal voltage of the battery at the moment t.sub.2+dt.
[0050] In this embodiment, after the battery is impulsively discharged with the second current I.sub.2, the second discharge voltage drop ΔV.sub.2 of the battery at the moment t.sub.2+dt can be calculated. Specifically, the terminal voltage V.sub.2 of the battery at the moment t.sub.2+dt is collected by the collection apparatus 14, and then the second discharge voltage drop ΔV.sub.2=V.sub.0−V.sub.2 of the battery at the moment t.sub.2+dt is obtained based on the terminal voltage V.sub.0 of the battery in the static state.
[0051] Step S25: Determine, based on the first current I.sub.1, the first discharge voltage drop ΔV.sub.1, the second current I.sub.2, and the second discharge voltage drop ΔV.sub.2, whether the battery has internal short circuit. If the battery has an internal short circuit, the procedure proceeds to step S26; or if the battery has no internal short circuit, the procedure proceeds to step S27.
[0052] In this embodiment, a first ratio dV.sub.Ratio between the second discharge voltage drop ΔV.sub.2 and the first discharge voltage drop ΔV.sub.1 and a second ratio dI.sub.Ratio between the second current I.sub.2 and the first current I.sub.1 are calculated; and whether the battery has an internal short circuit is determined based on the first ratio dV.sub.Ratio and the second ratio dI.sub.Ratio.
[0053] Specifically, if an absolute value of a difference between the first ratio dV.sub.Ratio and the second ratio dI.sub.Ratio is greater than a preset value, it is determined that the battery has an internal short circuit, and the procedure proceeds to step S26: calculate a value of the internal short-circuit resistance of the battery, and output alert information that the battery has an internal short circuit and the value of the internal short-circuit resistance; and if the first ratio dV.sub.Ratio is equal to the second ratio dI.sub.Ratio, it is determined that the battery has no internal short circuit, and the procedure proceeds to step S27: output alert information that the battery is in a normal state.
[0054] It should be noted that, in an ideal case, if the first ratio dV.sub.Ratio is not equal to the second ratio dI.sub.Ratio, it is determined that the battery has an internal short circuit. However, due to a sampling error, when the absolute value of the difference between the first ratio dV.sub.Ratio and the second ratio dI.sub.Ratio is greater than the preset value, it may be determined that the battery has an internal short circuit. Herein, the preset value may be 5% of the second ratio (0.05×dI.sub.Ratio).
[0055] In another embodiment, if
is greater than a threshold (for example, 5%), it can be determined that the battery has an internal short circuit.
[0056] In this embodiment, if it is determined that the battery has an internal short circuit, the value of the internal short-circuit resistance of the battery is calculated. Specifically, a method for calculating the value of the internal short-circuit resistance of the battery includes the following steps:
[0057] (a) Establish an equivalent circuit model of the battery. In this embodiment, the equivalent circuit model of the battery may be a Rint model, a Thevenin model, a PNGV model, a second-order RC model, or the like. In this embodiment, the equivalent circuit model of the battery is the Rint model. In the Rint model, a voltage response of the battery with an internal short circuit under a discharge condition may be simulated. Referring to
[0058] (b) Calculate a first voltage V.sub.1′ of the battery in the equivalent circuit model. In this embodiment, when the battery is in a state of discharge, the terminal voltage (that is, the first voltage V.sub.1′) of the battery in the equivalent circuit model is calculated according to the Ohm's law and Kirchhoff s law. Because the internal resistance and the internal short-circuit resistance of the battery are connected in series, according to the Ohm's law, it can be learned that: U.sub.0=(I+I.sub.ISC)×r, where U.sub.0 is a voltage over two ends of the resistance of the battery, I is a current flowing through the internal resistance r of the battery, I.sub.ISC is a current flowing through the internal short-circuit resistance, and r is the internal resistance of the battery. The Kirchhoffs law includes: Σ.sub.k=1.sup.m v.sub.k=0, where m is the number of components in a closed loop in the equivalent circuit model of the battery, and v.sub.k is a voltage over two ends of a component. It can be learned from this that U.sub.oc=V.sub.1′+U.sub.0, and the first voltage V.sub.1′ can be determined through a formula (1):
V.sub.1′=U.sub.oc−(I+I.sub.ISC)×r (1)
[0059] (c) Calculate a second voltage V.sub.2′ over the internal short-circuit resistance in the equivalent circuit model. In this embodiment, it can be learned from the Ohm's law that the second voltage V.sub.2′ over the internal short-circuit resistance in the equivalent circuit model may be determined through a formula (2).
V.sub.2′=I.sub.ISC=R.sub.ISC (2)
[0060] (d) Obtain a discharge voltage drop equation based on the first voltage V.sub.1′ and the second voltage V.sub.2′. Because a partial voltage over two ends of the internal short-circuit resistance is the same as the first voltage of the battery, that is V.sub.1′=V.sub.2′, the discharge voltage drop is: ΔV=U.sub.oc−V.sub.1′ or ΔV=U.sub.oc−V.sub.2′. Therefore, based on the formula (1), the formula (2), and the discharge voltage drop ΔV=U.sub.oc−V.sub.1′, the discharge voltage drop equation may be determined as a formula (3):
[0061] (e) Calculate the value of the internal short-circuit resistance of the battery based on the discharge voltage drop equation.
[0062] In this embodiment, the first discharge voltage drop ΔV.sub.1 of the battery at the moment t.sub.1+dt is calculated based on the discharge voltage drop equation, the second discharge voltage drop ΔV.sub.2 of the battery at the moment t.sub.2+dt is calculated, the first ratio
is calculated based on the first discharge voltage drop and the second discharge voltage drop, and the value of the internal short-circuit resistance can be calculated to be R.sub.ISC by rearranging the formula of the first ratio.
[0063] Specifically, the calculating the value of the internal short-circuit resistance of the battery based on the discharge voltage drop equation includes: obtaining a first discharge voltage drop
based on the discharge voltage drop equation; obtaining a second discharge voltage drop
based on the discharge voltage drop equation; calculating a first ratio
based on the first discharge voltage drop and the second discharge voltage drop, and calculating, based on the first ratio, the value of the internal short-circuit resistance of the battery to be
[0064] It should be noted that another equivalent circuit model of the battery may be established for a battery with no internal short circuit. For example, a voltage response under a battery discharge condition is simulated in another Rint model shown in
between the first discharge voltage drop and the second discharge voltage drop can be obtained. That is, the first ratio is equal to the second ratio. Therefore, it is determined that the battery has no internal short circuit under the condition that the first ratio is equal to the second ratio.
[0065] To make the objectives, technical solutions, and advantages of this application more comprehensible, the following further describes the method for detecting internal short circuit of a battery in this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely used to explain this application but are not intended to limit this application.
[0066] In this embodiment, according to the procedure shown in
[0067] (1) In an operating process of the battery, obtain and record terminal voltage and current data of the battery in a real-time manner at a sampling interval of 1 s.
[0068] (2) Keep the battery in a static state and record the terminal voltage V.sub.0 of the battery, where the terminal voltage of the battery may be used as an open-circuit voltage OCV of the battery in this case.
[0069] (3) Impulsively discharge the battery for 2 s through a load with a current I.sub.1 of 2 A at a 10.sup.th second, and record a first discharge voltage drop ΔV.sub.1=V.sub.0−V.sub.1 of the battery, where V.sub.1 is a terminal voltage of the battery at an 11.sup.th second.
[0070] (4) Keep a depth of discharge of the battery unchanged, impulsively discharge the battery for 2 s through a load with a current I.sub.2 of 4 A at a moment of a 70.sup.th second, and record a discharge voltage drop ΔV.sub.2=V.sub.0−V.sub.2 of the battery, where V.sub.2 is a terminal voltage of the battery at a 71.sup.st second.
[0071] (5) Calculate a ratio
of the two discharge voltage drops, where if dV.sub.Ratio is equal to a ratio I.sub.2/I.sub.1 of the two discharge currents, the battery has no internal short circuit; or if dV.sub.Ratio is not equal to the ratio I.sub.2/I.sub.1 of the two discharge currents, the battery has an internal short circuit. Obviously, in this embodiment, dV.sub.Ratio is not equal to the ratio I.sub.2/I.sub.1 of the two discharge currents.
[0072] (6) If it is determined that the battery has an internal short circuit, calculate the value of the internal short-circuit resistance
[0073] It should be noted that the foregoing step (1) to step (6) describe a case that a rated resistor is connected in parallel with a to-be-tested sample battery to simulate an internal short circuit of the battery. Based on the method described in this embodiment, an internal short-circuit detection result of the battery is shown in
[0074] Further referring to
[0075] In some embodiments, the memory 11 is configured to store program code and various data, and complete automatic high-speed access of the program and the data in an operating process of the electronic apparatus.
[0076] The memory 11 may include a random access memory, and may further include a non-volatile memory, for example, a hard disk, a memory, a plug-connected hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0077] In an embodiment, the processor 12 may be a central processing unit (CPU), or may be another general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The general-purpose processor may be a microprocessor, or the processor may be any other conventional processor or the like.
[0078] When the program code and various data in the memory 11 are implemented in a form of a software functional unit and sold or used as an independent product, the program code and various data may be stored in a computer-readable storage medium. Based on such understanding, some or all of the processes for implementing the methods in the embodiments of this application may be completed by related hardware instructed by a computer program, for example, a step for implementing the method for detecting internal short circuit of a battery. The computer program may be stored in a computer-readable storage medium. When the computer program is executed by the processor 12, the steps of the foregoing method embodiments are implemented. The computer program includes computer program code, and the computer program code may be in a form of source code, object code, or an executable file, some intermediate forms, or the like. The computer-readable medium may include: any entity or apparatus capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disc, a computer memory, a read-only memory (ROM), or the like.
[0079] It can be understood that division of modules described above is division of logical functions. Other division manners may be available in actual implementation. In addition, function modules in the embodiments of this application may be integrated into a same processing unit, or each of the modules may exist alone physically, or two or more modules are integrated into a same unit. The integrated module may be implemented in a form of hardware, or may be implemented in a form of hardware and a software functional module.
[0080] Eventually, it should be noted that the foregoing embodiments are merely intended to describe the technical solutions of this application, but not intended to constitute any limitation. Although this application is described in detail with reference to preferred embodiments, a person of ordinary skill in the art should understand that modifications or equivalent replacements can be made to the technical solutions of this application, without departing from the spirit and scope of the technical solutions of this application.