Battery internal short circuit detection method, electronic device and storage medium
Calculating the internal short-circuit resistance through the battery equivalent circuit model solves the problem of internal short-circuit detection during battery charging and improves the safety of portable electronic devices.
Patent Information
- Application Number
- CN202080028351.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-15
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-12-15
AI Technical Summary
It is difficult to effectively detect a short circuit in the battery during the battery charging process with the existing technology. Especially in the frequent charging and discharging scenarios of portable electronic devices, it may cause the battery to burn or explode.
By obtaining the standard parameters of battery charging, voltage and charging current, the battery equivalent circuit model is used to calculate the internal short-circuit resistance to determine whether the battery has an internal short-circuit.
It achieves rapid and accurate detection of short circuits in the battery during the battery charging process, meets the application requirements of frequent charging and discharging of portable electronic devices, and improves safety.
Smart Images

Figure CN113711070B
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a method, an electronic device and a storage medium for detecting a short circuit in a battery. Background Art
[0002] At present, due to the damage of the battery diaphragm, the introduction of foreign particles during the battery manufacturing process, the dissolution and deposition of the battery electrode material, the formation of dendrites due to lithium deposition of the battery electrode, etc., a short circuit may occur in the battery. The short circuit in the battery will become more serious over time. This may cause the battery to burn or even explode, causing damage to the user's life and property. Although it is currently possible to determine whether the battery has an internal short circuit by placing the battery for a period of time to detect the change in the terminal voltage before and after placement, this method requires the battery to be in a state of no external current for a long time, which cannot meet the application scenarios of frequent charging and discharging of portable electronic devices. Summary of the invention
[0003] In view of this, it is necessary to provide a battery internal short circuit detection method, electronic device and storage medium, which can determine whether the battery has a battery internal short circuit by detecting the internal short circuit resistance of the single cell during the charging process of the single cell.
[0004] An embodiment of the present application provides a method for detecting a short circuit in a battery, the method comprising:
[0005] Get standard parameters for battery charging;
[0006] Get the voltage V of the battery when it enters the constant current charging stage 0 ;
[0007] Obtaining a voltage difference ΔV generated by the battery during a charging time period Δt during constant current charging;
[0008] Obtaining a charging current I of the battery when it is charged for the time period Δt;
[0009] According to the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i ;
[0010] According to the internal short-circuit resistance R of the battery i Determine whether the battery has an internal short circuit.
[0011] According to some embodiments of the present application, obtaining the voltage difference ΔV generated by the battery during the charging time period Δt during constant current charging includes:
[0012] Get the battery to charge at constant current t 1 The voltage V1 at the moment;
[0013] Get the battery to charge at constant current t 2 The voltage V2 at time t 2 =t 1 +Δt;
[0014] Determine the voltage difference ΔV according to the voltage V1 and the voltage V2;
[0015] The obtaining of the charging current I of the battery when it is charged for the time period Δt comprises:
[0016] Get the battery at the t 1 From time to t 2 The charging current I between the moments.
[0017] According to some embodiments of the present application, obtaining standard parameters for battery charging includes:
[0018] Get standard parameters for battery charging using a battery equivalent circuit model.
[0019] According to some embodiments of the present application, before acquiring the standard parameters of battery charging obtained by the battery equivalent circuit model, the method further includes:
[0020] Obtaining a first standard voltage difference equation including a battery standard parameter equation obtained through a battery equivalent circuit model;
[0021] Obtaining the standard voltage difference of each battery generated during the charging time period Δt at different cycle numbers and with different standard charging currents;
[0022] The standard parameters of battery charging obtained by the battery equivalent circuit model are determined according to the first standard voltage difference equation and the standard voltage difference of each battery generated during the charging time period Δt at different cycle numbers and with different standard charging currents.
[0023] According to some embodiments of the present application, before obtaining the first standard voltage difference equation including the battery standard parameter equation obtained by the battery equivalent circuit model, the method further includes:
[0024] Determine the standard equation of the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current;
[0025] Determine a second standard voltage difference equation generated by charging for the time period Δt according to a standard equation of the battery equivalent circuit model;
[0026] The first standard voltage difference equation is determined according to the second standard voltage difference equation.
[0027] According to some embodiments of the present application, the standard equation of the battery equivalent circuit model includes:
[0028]
[0029] Among them, V standard is the standard voltage of the battery, U oc is the battery open circuit voltage, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, t is the battery charging time, R s is the battery polarization internal resistance, C s is the battery polarization capacitance, I standard is the standard charging current of the battery, R 0 is the battery's internal resistance in ohms.
[0030] According to some embodiments of the present application, the standard parameters for battery charging include a first standard parameter for battery charging and a second standard parameter for battery charging, and the first standard voltage difference equation includes:
[0031] ΔV standard =αI standard -αβ;
[0032] in,
[0033] Among them, t 2 =t 1 +Δt,ΔV standard The standard voltage difference generated by charging the battery for the time period Δt, I standard is the standard charging current during the charging time period Δt, α is the first standard parameter for charging the battery, R s is the battery polarization internal resistance, t 1 is the first constant current charging moment, C s is the battery polarization capacitance, t 2 is the second constant current charging moment, β is the second standard parameter for charging the battery, and U s0 is the initial voltage division value of the polarization capacitor of the battery in a static state.
[0034] According to some embodiments of the present application, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i include:
[0035] Determine the first equation of the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current;
[0036] Determine a voltage difference equation generated by charging the battery for the time period Δt according to a first equation of the battery equivalent circuit model;
[0037] According to the voltage difference equation, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i .
[0038] According to some embodiments of the present application, the first equation of the battery equivalent circuit model includes:
[0039]
[0040] Wherein, V is the voltage of the battery, I is the charging current of the battery during the charging period Δt, R s is the battery polarization internal resistance, R 0 is the battery ohmic internal resistance, U oc is the battery open circuit voltage, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, V 0 is the voltage of the battery when it enters the constant current charging stage, R i is the internal short-circuit resistance of the battery.
[0041] According to some embodiments of the present application, the first equation of the battery equivalent circuit model determined according to the definition formula of capacitance and the definition formula of current includes:
[0042] Establishing an equivalent circuit model of the battery;
[0043] Determine a second equation of the battery equivalent circuit model according to Ohm's law and Kirchhoff's law;
[0044] The first equation of the battery equivalent circuit model is determined according to the definition formula of the capacitance, the definition formula of the current and the second equation of the battery equivalent circuit model.
[0045] According to some embodiments of the present application, determining the first equation of the battery equivalent circuit model according to the definition formula of the capacitance, the definition formula of the current, and the second equation of the battery equivalent circuit model includes:
[0046] Determine the voltage differential equation of the polarization capacitance of the battery according to the definition formula of the capacitance and the definition formula of the current;
[0047] Solving the partial voltage differential equation of the polarization capacitance of the battery to determine a general solution of the partial voltage of the polarization capacitance of the battery;
[0048] The first equation of the battery equivalent circuit model is determined according to the second equation of the battery equivalent circuit model and the general solution of the voltage division of the battery polarization capacitance.
[0049] According to some embodiments of the present application, the voltage differential equation of the battery polarization capacitance includes:
[0050]
[0051] Among them, C s is the battery polarization capacitance, U s is the voltage division of the polarization capacitance of the battery, R s is the polarization internal resistance of the battery, I is the charging current of the battery when it is charged for the time period Δt, V is the voltage of the battery, R i is the internal short-circuit resistance of the battery;
[0052] The general solution for the voltage division of the battery polarization capacitance includes:
[0053]
[0054] Among them, U s is the voltage division of the polarization capacitance of the battery, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, V 0 is the voltage of the battery when it enters the constant current charging stage, R i is the internal short-circuit resistance of the battery, R s is the polarization internal resistance of the battery, t is the charging time of the battery, C s is the polarization capacitance of the battery, I is the charging current of the battery when it is charged for the time period Δt, and V is the voltage of the battery.
[0055] According to some embodiments of the present application, according to the voltage difference equation, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i Previously, the method also included:
[0056] Obtain the battery standard parameter equation obtained through the battery equivalent circuit model;
[0057] The voltage difference equation, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i include:
[0058] Determine the internal short-circuit resistance equation of the battery according to the voltage difference equation and the battery standard parameter equation;
[0059] According to the internal short-circuit resistance equation of the battery, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i .
[0060] According to some embodiments of the present application, the standard parameters for battery charging include a first standard parameter for battery charging and a second standard parameter for battery charging, and the internal short-circuit resistance equation of the battery includes:
[0061]
[0062] Among them, R i is the internal short-circuit resistance of the battery, V 0 is the voltage of the battery when it enters the constant current charging stage, ΔV is the voltage difference generated by the battery during the charging time period Δt during the constant current charging, α is the first standard parameter for charging the battery, β is the second standard parameter for charging the battery, and I is the charging current of the battery during the charging time period Δt.
[0063] An embodiment of the present application provides an electronic device, the electronic device comprising:
[0064] Battery;
[0065] Processor; and
[0066] A memory, wherein a plurality of program modules are stored in the memory, and the plurality of program modules are loaded by the processor and execute the battery internal short circuit detection method as described in any one of the above items.
[0067] An embodiment of the present application provides a storage medium on which at least one computer instruction is stored. The instruction is loaded by a processor to execute any one of the above methods for detecting short circuits in a battery.
[0068] The battery short circuit detection method, electronic device, and storage medium provided in the embodiment of the present application are based on the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i , and according to the internal short-circuit resistance R of the battery i To determine whether the battery has an internal short circuit, the internal short circuit resistance of the single cell can be detected during the charging process of the single cell to determine whether the battery has an internal short circuit, which meets the application scenario of frequent charging and discharging of portable electronic devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 is a schematic diagram of an electronic device according to an embodiment of the present application.
[0070] Figure 2 Flow chart of a battery internal short circuit detection method according to an embodiment of the present application.
[0071] Figure 3 The battery equivalent circuit model used to obtain standard parameters.
[0072] Figure 4 for Figure 2 A flow chart of a method for detecting short circuits within a battery and determining standard parameters for charging a battery.
[0073] Figure 5 for Figure 2 A flow chart of determining a first standard voltage difference equation for a battery internal short circuit detection method.
[0074] Figure 6 Schematic diagram of the relationship between the standard voltage difference and the standard charging current.
[0075] Figure 7 for Figure 2 A flow chart of a battery internal short circuit detection method for determining the internal short circuit resistance of a battery.
[0076] Figure 8 for Figure 2 A flow chart of a first equation of a battery equivalent circuit model determined by a battery internal short circuit detection method.
[0077] Fig. 9 The battery equivalent circuit model used to determine whether the battery has an internal short circuit.
[0078] Fig.10 for Figure 2 The battery internal short circuit detection method determines the first equation of the battery equivalent circuit model.
[0079] Main component symbols
[0080] Electronic device 100
[0081] Memory 11
[0082] Processor 12
[0083] Battery 13
[0084] Collection device 14
[0085] Timer 15 DETAILED DESCRIPTION
[0086] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0087] Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0088] See also Figure 1 , Figure 1 The electronic device 100 includes, but is not limited to, a memory 11, at least one processor 12, a battery 13, a collection device 14, and a timer 15, and the above components can be connected via a bus or directly.
[0089] It should be noted that Figure 1 The electronic device 100 is merely an example. In other embodiments, the electronic device 100 may include more or fewer components, or have a different component configuration. The electronic device 100 may be an electric motorcycle, an electric bicycle, an electric car, a mobile phone, a tablet computer, a digital assistant, a personal computer, or any other suitable rechargeable device.
[0090] In one embodiment, the battery 13 is a rechargeable battery for providing electrical energy to the electronic device 100. For example, the battery 13 can be a lead-acid battery, a nickel-cadmium battery, a nickel-metal hydride battery, a lithium-ion battery, a lithium polymer battery, and a lithium iron phosphate battery. The battery 13 is logically connected to the processor 12 through a battery management system (BMS), so that functions such as charging and discharging are realized through the battery management system. The battery management system can be connected to the energy storage inverter (PCS) via CAN or RS485. The battery 13 includes a battery cell, and the battery can be repeatedly charged in a recyclable and rechargeable manner.
[0091] In the present embodiment, the acquisition device 14 is used to acquire the voltage of the battery 13 and the charging current of the battery 13. In the present embodiment, the acquisition device 14 is used to acquire the voltage of the battery cell of the battery 13 and the charging current of the battery cell of the battery 13. In the present embodiment, the acquisition device 14 is an analog-to-digital converter. It is understandable that the acquisition device 14 can also be other voltage acquisition devices and current acquisition devices. The timer 15 is used to record the charging time of the battery cell of the battery 13 during the charging process. It is understandable that the electronic device 100 can also include other devices, such as a pressure sensor, a light sensor, a gyroscope, a hygrometer, an infrared sensor, etc.
[0092] See also Figure 2 , Figure 2 This is a flow chart of a battery internal short circuit detection method according to an embodiment of the present application. The battery internal short circuit detection method is applied to a battery. The battery internal short circuit detection method comprises the following steps:
[0093] S21: Obtain standard parameters for battery charging.
[0094] In this embodiment, the obtaining of the standard parameters of battery charging includes: obtaining the standard parameters of battery charging obtained by a battery equivalent circuit model. The battery equivalent circuit model may be a Rint model, a Thevenin model, a PNGV model, a second-order RC model, etc. In this embodiment, the battery equivalent circuit model is a Thevenin model. Please refer to Figure 3 , Figure 3 The battery equivalent circuit model used to obtain standard parameters. Figure 3 In, V standard is the standard voltage of the battery, U oc is the battery open circuit voltage, R 0 is the battery ohmic internal resistance, R s is the battery polarization internal resistance, C s is the battery polarization capacitance, U s-standard is the standard voltage division of the battery polarization capacitor, I standard This is the standard charging current for the battery.
[0095] Please refer to Figure 4 , the standard parameters of battery charging obtained by the battery equivalent circuit model include:
[0096] S41: Obtaining a first standard voltage difference equation including a battery standard parameter equation obtained through a battery equivalent circuit model.
[0097] In this embodiment, please refer to Figure 5 , before obtaining the first standard voltage difference equation including the battery standard parameter equation obtained by the battery equivalent circuit model, the method further includes:
[0098] S51: Determine a standard equation of the battery equivalent circuit model according to a definition formula of capacitance and a definition formula of current.
[0099] The capacitance definition formula includes: Among them, U s-standard is the standard voltage division of the battery polarization capacitor, Q is the charge of the battery polarization capacitor, C S is the polarization capacitance of the battery. The definition formula of the current includes: Among them, I 1-standard is the standard charging current of the battery polarization capacitor, dQ is the amount of charge passing through the battery polarization capacitor over a period of time, and dt is the time it takes for the charge to pass through the battery polarization capacitor.
[0100] The standard equation for determining the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current includes:
[0101] a1: Establish the battery equivalent circuit model.
[0102] The battery equivalent circuit model is as follows: Figure 3 At this time, the battery is a standard battery, that is, a battery without internal short circuit.
[0103] a2: Determine the equation of the battery equivalent circuit model based on Ohm's law and Kirchhoff's law.
[0104] The Ohm's law includes: 0 =I standard ×R 0 Among them, U 0 is the voltage across the battery’s ohmic internal resistance, I standard is the standard charging current flowing through the battery's ohmic internal resistance, R 0 is the ohmic internal resistance of the battery. The Kirchhoff's laws include: Where m is the number of elements in the closed loop of the battery equivalent circuit model, v k is the voltage across the component.
[0105] The equation for determining the battery equivalent circuit model according to Ohm's law and Kirchhoff's law includes:
[0106] b1: Determine the standard Kirchhoff voltage equation of the battery equivalent circuit model based on Ohm's law.
[0107] The standard Kirchhoff voltage equation for the battery equivalent circuit model includes: standard +U s-standard +U oc +I standard ×R 0 =0. Where, V standard is the standard voltage of the battery, U s-standard is the standard voltage division of the battery polarization capacitor, U os is the battery open circuit voltage, I standard is the standard charging current of the battery, R 0 is the battery's internal resistance in ohms.
[0108] b2: Determine the equation of the battery equivalent circuit model based on the standard Kirchhoff voltage equation of the battery equivalent circuit model.
[0109] The equations of the battery equivalent circuit model include: V standard =U oc +U s-standard +I standard ×R 0 Among them, V standardis the standard voltage of the battery, U oc is the battery open circuit voltage, U s-standard is the standard voltage division of the battery polarization capacitor, I standard is the standard charging current of the battery, R 0 is the battery's internal resistance in ohms.
[0110] a3: Determine a standard equation of the battery equivalent circuit model according to the definition formula of the capacitance, the definition formula of the current and the equation of the battery equivalent circuit model.
[0111] The standard equation for determining the battery equivalent circuit model according to the definition formula of the capacitance, the definition formula of the current and the equation of the battery equivalent circuit model includes:
[0112] c1: Determine the standard voltage-divider differential equation of the battery polarization capacitance according to the definition formula of the capacitance and the definition formula of the current.
[0113] The standard voltage-dividing differential equation for determining the polarization capacitance of the battery according to the definition formula of the capacitance and the definition formula of the current includes:
[0114] d1: Determine the standard charging current equation of the battery polarization capacitor according to the definition formula of the capacitance and the definition formula of the current.
[0115] The standard charging current equation for the battery polarization capacitance includes: Among them, I 1-standard is the standard charging current of the battery polarization capacitor, dQ is the amount of charge passing through the battery polarization capacitor within a period of time dt, dt is the time for the charge to pass through the battery polarization capacitor, U s-standard is the standard voltage division of the battery polarization capacitance, C S is the polarization capacitance of the battery.
[0116] d2: Determine the standard voltage divider differential equation of the battery polarization capacitor according to the charging current equation of the battery polarization capacitor.
[0117] The standard voltage-dividing differential equation for the battery polarization capacitance includes: That is, the standard voltage differential equation of the battery polarization capacitance includes: Among them, C s is the battery polarization capacitance, dU s-standard is the standard voltage across the battery polarization capacitor over a period of time, dt is the time it takes for the charge to pass through the battery polarization capacitor, U s-standard is the standard voltage divider of the battery polarization capacitor, R s is the battery polarization internal resistance, I standard This is the standard charging current for the battery.
[0118] c2: Solving the standard voltage divider differential equation of the battery polarization capacitor to determine the general solution of the standard voltage divider of the battery polarization capacitor.
[0119] The general solution for the standard voltage division of the battery polarization capacitance includes: Among them, U s-standard is the standard voltage division of the battery polarization capacitor, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, t is the charging time of the battery, R s is the battery polarization internal resistance, C s is the battery polarization capacitance, I standard is the standard charging current of the battery.
[0120] c3: Determine a standard equation of the battery equivalent circuit model according to the equation of the battery equivalent circuit model and a general solution of the standard voltage divider of the battery polarization capacitance.
[0121] The standard equations for the battery equivalent circuit model include: That is, the standard equation of the battery equivalent circuit model includes: Among them, V standard is the standard voltage of the battery, U oc is the battery open circuit voltage, U s-standard is the standard voltage division of the battery polarization capacitor, I standard is the standard charging current of the battery, R 0 is the battery ohmic internal resistance, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, t is the charging time of the battery, R s is the battery polarization internal resistance, C s is the polarization capacitance of the battery.
[0122] S52: Determine a second standard voltage difference equation generated by charging for the time period Δt according to a standard equation of the battery equivalent circuit model.
[0123] The second standard voltage difference equation includes: That is, the second standard voltage difference equation includes: Among them, t 2 =t 1 +Δt,ΔV standard The standard voltage difference generated by charging the battery for the time period Δt, U oc is the battery open circuit voltage, U s0is the initial voltage divider value of the battery polarization capacitor in a static state, t 1 is the first constant current charging moment, R s is the battery polarization internal resistance, C s is the battery polarization capacitance, I standard is the standard charging current during the charging period Δt, R 0 is the battery ohmic internal resistance, t 2 This is the second constant current charging moment.
[0124] S53: Determine the first standard voltage difference equation according to the second standard voltage difference equation.
[0125] The first standard voltage difference equation includes: That is, the first standard voltage difference equation includes: ΔV standard =αI standard -αβ. Among them, formula And formula is the standard parameter equation for the battery.
[0126] Among them, t 2 =t 1 +Δt,ΔV standard The standard voltage difference generated by charging the battery for the period of time Δt, R s is the polarization internal resistance of the battery, I standard is the standard charging current during the charging period Δt, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, t 1 is the first constant current charging time, t 2 For the second constant current charging moment, C s is the polarization capacitance of the battery, α is the first standard parameter for charging the battery, and β is the second standard parameter for charging the battery.
[0127] S42: Obtaining the standard voltage difference of each battery generated during the charging time period Δt at different cycle numbers and with different standard charging currents.
[0128] The standard voltage difference of each battery generated during the charging time period Δt at different standard charging currents under different cycle numbers can be, for example, after the battery is discharged to the cut-off voltage at a current of 0.8 amperes, the standard voltage difference of the battery between the 1st second and the 11th second is obtained when constant current charging is performed with constant currents of 0.4 amperes, 0.8 amperes, 1.2 amperes, 1.6 amperes, 2 amperes, 2.4 amperes, 2.8 amperes, 3.2 amperes, 3.6 amperes, and 4 amperes, respectively.
[0129] S43: Determine the standard parameters of battery charging obtained by the battery equivalent circuit model according to the first standard voltage difference equation and the standard voltage difference of each battery generated during the charging time period Δt at different number of cycles with different standard charging currents.
[0130] Please refer to Figure 6 , Figure 6 This is a schematic diagram of the relationship between the standard voltage difference and the standard charging current. Figure 6 In the embodiment, the scattered points formed by the standard voltage difference and the standard charging current are arranged roughly on a straight line. Figure 6 In the figure, the first standard parameter of battery charging and the second standard parameter of battery charging obtained by the battery equivalent circuit model are determined to be 9.2271 and 0.0411 respectively according to the first standard voltage difference equation and the standard voltage difference of each battery generated during the charging time period Δt at different number of cycles with different standard charging currents.
[0131] S22: Obtaining the voltage V of the battery when entering the constant current charging stage 0 .
[0132] In this embodiment, the voltage V of the battery when entering the constant current charging stage is obtained by the acquisition device. 0 .
[0133] The battery at this time and the battery corresponding to the obtained battery attributes and the determined battery attributes in the following description may be a battery that may have an internal short circuit over time when the standard parameters for charging the battery are determined. For example, the battery at the time of determining the standard parameters for charging the battery is a battery that has been used for 6 months, that is, it is the same battery as the battery at the time of determining the standard parameters for charging the battery. The battery at this time and the battery corresponding to the obtained battery attributes and the determined battery attributes in the following description may also be a battery to be determined whether it has an internal short circuit, that is, a battery different from the battery at the time of determining the standard parameters for charging the battery.
[0134] S23: Obtaining a voltage difference ΔV generated by the battery during a charging period Δt during constant current charging.
[0135] In this embodiment, obtaining the voltage difference ΔV generated by the battery during the constant current charging period Δt includes:
[0136] e1: Get the battery under constant current charging t 1 The voltage V1 at the moment.
[0137] e2: Get the battery under constant current charging t 2 The voltage V2 at time t2 =t 1 +Δt.
[0138] e3: Determine the voltage difference ΔV according to the voltage V1 and the voltage V2.
[0139] S24: Obtaining a charging current I of the battery when it is charged for the time period Δt.
[0140] The step of obtaining the charging current I of the battery when it is charged for the time period Δt includes: obtaining the charging current I of the battery at the time period Δt. 1 From time to t 2 The charging current I between the moments.
[0141] S25: charging the battery according to the standard parameters and the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i .
[0142] Please refer to Figure 7 , the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i include:
[0143] S71: Determine the first equation of the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current.
[0144] The capacitance definition formula includes: Among them, U s is the voltage division of the polarization capacitor of the battery, Q is the charge of the polarization capacitor of the battery, C S is the polarization capacitance of the battery. The definition formula of the current includes: Among them, I 1 is the charging current of the battery polarization capacitor, dQ is the amount of charge passing through the battery polarization capacitor over a period of time, and dt is the time it takes for the charge to pass through the battery polarization capacitor.
[0145] Please refer to Figure 8 , the first equation for determining the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current includes:
[0146] S81: Establishing the battery equivalent circuit model.
[0147] The battery equivalent circuit model is as follows: Fig. 9 At this time, the battery may have an internal short circuit. Fig. 9 In the figure, V is the battery voltage, U is oc is the battery open circuit voltage, R 0is the battery ohmic internal resistance, R s is the battery polarization internal resistance, C s is the battery polarization capacitance, U s is the voltage division of the polarization capacitor of the battery, I is the charging current of the battery, R i is the internal short-circuit resistance of the battery.
[0148] S82: Determine a second equation of the battery equivalent circuit model according to Ohm's law and Kirchhoff's law.
[0149] The Ohm's law includes: 0 =I×R 0 Among them, U 0 is the voltage across the battery’s ohmic internal resistance, I is the charging current flowing through the battery’s ohmic internal resistance, and R 0 is the ohmic internal resistance of the battery. The Kirchhoff's laws include: Where m is the number of elements in the closed loop of the battery equivalent circuit model, v k is the voltage across the component.
[0150] The second equation for determining the battery equivalent circuit model according to Ohm's law and Kirchhoff's law includes:
[0151] f1: Determine the Kirchhoff voltage equation of the battery equivalent circuit model based on Ohm's law.
[0152] The Kirchhoff voltage equation of the battery equivalent circuit model includes: Where V is the battery voltage, U s is the voltage division of the polarization capacitance of the battery, U oc is the battery open circuit voltage, I is the battery charging current, R i is the internal short-circuit resistance of the battery, R 0 is the battery's internal resistance in ohms.
[0153] f2: Determine the second equation of the battery equivalent circuit model according to the Kirchhoff voltage equation of the battery equivalent circuit model.
[0154] The second equation of the battery equivalent circuit model includes: Where V is the battery voltage, U oc is the battery open circuit voltage, U s is the voltage division of the polarization capacitor of the battery, I is the charging current of the battery, R i is the internal short-circuit resistance of the battery, R 0 is the battery's internal resistance in ohms.
[0155] S83: Determine the first equation of the battery equivalent circuit model according to the definition formula of the capacitance, the definition formula of the current and the second equation of the battery equivalent circuit model.
[0156] Please refer to Fig.10 , determining the first equation of the battery equivalent circuit model according to the definition formula of the capacitance, the definition formula of the current and the second equation of the battery equivalent circuit model includes:
[0157] S1001: Determine a voltage-dividing differential equation of a polarized capacitance of a battery according to a definition formula of the capacitance and a definition formula of the current.
[0158] The voltage differential equation for determining the polarization capacitance of the battery according to the capacitance definition formula and the current definition formula includes:
[0159] g1: Determine the charging current equation of the battery polarization capacitor according to the definition formula of the capacitance and the definition formula of the current.
[0160] The charging current equation of the battery polarization capacitor includes: Among them, I 1 is the charging current of the battery polarization capacitor, dQ is the amount of charge passing through the battery polarization capacitor within a period of time dt, dt is the time for the charge to pass through the battery polarization capacitor, U s is the voltage division of the battery polarization capacitance, C S is the polarization capacitance of the battery.
[0161] g2: Determine the voltage differential equation of the battery polarization capacitor based on the charging current equation of the battery polarization capacitor.
[0162] The partial pressure differential equation of the battery polarization capacitance includes: That is, the partial pressure differential equation of the battery polarization capacitance includes: Among them, C s is the battery polarization capacitance, dU s is the voltage across the battery polarization capacitor over a period of time, dt is the time it takes for the charge to pass through the battery polarization capacitor, U s is the voltage division of the battery polarization capacitance, R s is the battery polarization internal resistance, I is the battery charging current, V is the battery voltage, R i is the internal short-circuit resistance of the battery.
[0163] S1002: Solve the voltage-dividing differential equation of the polarization capacitance of the battery to determine a general solution of the voltage-dividing differential equation of the polarization capacitance of the battery.
[0164] The general solution for the voltage division of the battery polarization capacitance includes: Among them, U sis the voltage division of the polarization capacitance of the battery, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, V 0 is the voltage of the battery when it enters the constant current charging stage, R i is the internal short-circuit resistance of the battery, R s is the polarization internal resistance of the battery, t is the charging time of the battery, C s is the polarization capacitance of the battery, I is the charging current of the battery when it is charged for the time period Δt, and V is the voltage of the battery.
[0165] S1003: Determine the first equation of the battery equivalent circuit model according to the second equation of the battery equivalent circuit model and the general solution of the voltage division of the battery polarization capacitance.
[0166] The second equation of the battery equivalent circuit model includes: Since the internal short-circuit resistance is much larger than the battery's ohmic internal resistance and the battery's polarization internal resistance, And since the purpose of this application is to determine whether the battery has an internal short circuit, The value of cannot be ignored. Therefore, the first equation of the battery equivalent circuit model includes: Wherein, V is the voltage of the battery, I is the charging current of the battery during the charging period Δt, R s is the battery polarization internal resistance, R 0 is the battery ohmic internal resistance, U oc is the battery open circuit voltage, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, V 0 is the voltage of the battery when it enters the constant current charging stage, R i is the internal short-circuit resistance of the battery.
[0167] S72: Determine a voltage difference equation generated when the battery is charged for the time period Δt according to a first equation of the battery equivalent circuit model.
[0168] The voltage difference equation includes: Among them, t 2 =t 1 +Δt, ΔV is the voltage difference generated when the battery is charged for the time period Δt, I is the charging current when the battery is charged for the time period Δt, R s is the battery polarization internal resistance, R 0 is the battery ohmic internal resistance, U oc is the battery open circuit voltage, U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, V 0is the voltage of the battery when it enters the constant current charging stage, R i is the internal short-circuit resistance of the battery, t 2 For the second constant current charging moment, C s is the battery polarization capacitance, t 1 This is the first constant current charging moment.
[0169] S73: According to the voltage difference equation, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i .
[0170] In the voltage difference equation, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i Previously, the method also includes: obtaining a battery standard parameter equation obtained through a battery equivalent circuit model.
[0171] The battery standard parameter equation includes: Wherein, α is the first standard parameter of the battery charging, R s is the polarization internal resistance of the battery, t 1 is the first constant current charging moment, C s is the battery polarization capacitance, t 2 is the second constant current charging moment, β is the second standard parameter for charging the battery, U s0 It is the initial voltage divider value of the battery polarization capacitor in static state.
[0172] The voltage difference equation, the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i include:
[0173] h1: Determine the internal short-circuit resistance equation of the battery based on the voltage difference equation and the battery standard parameter equation.
[0174] The voltage difference equation includes: but Therefore, the internal short-circuit resistance equation of the battery includes: Wherein, ΔV is the voltage difference generated when the battery is charged for the time period Δt, I is the charging current when the battery is charged for the time period Δt, and U s0 is the initial voltage divider value of the battery polarization capacitor in a static state, R s is the battery polarization internal resistance, V 0is the voltage of the battery when it enters the constant current charging stage, R i is the internal short-circuit resistance of the battery, t 1 is the first constant current charging moment, C s is the battery polarization capacitance, t 2 is the second constant current charging moment, α is the first standard parameter for charging the battery, and β is the second standard parameter for charging the battery.
[0175] h2: Based on the internal short-circuit resistance equation of the battery, the standard parameters of the battery charging, and the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i .
[0176] In this embodiment, the standard parameters of the battery charging and the voltage V 0 , the voltage difference ΔV and the charging current I are substituted into the internal short-circuit resistance equation of the battery to determine the internal short-circuit resistance R of the battery i .
[0177] S26: According to the internal short-circuit resistance R of the battery i Determine whether the battery has an internal short circuit.
[0178] In this embodiment, according to the internal short-circuit resistance R of the battery i and a first preset short-circuit resistance to determine whether the battery has an internal short circuit. Preferably, the first preset short-circuit resistance can be 600 ohms, or other values, such as 500 ohms, 700 ohms, etc., depending on specific needs. i Determining whether the battery has an internal short circuit includes:
[0179] If the internal short-circuit resistance R of the battery i is greater than or equal to a first preset short-circuit resistance, determining that the battery does not have an internal short circuit;
[0180] If the internal short-circuit resistance R of the battery i If the short-circuit resistance is less than the first preset short-circuit resistance, it is determined that the battery has an internal short circuit.
[0181] In this embodiment, in order to determine the internal short circuit level of the battery, if the internal short circuit resistance R of the battery i is less than the first preset short-circuit resistance, determining that the battery has an internal short circuit includes:
[0182] If the internal short-circuit resistance R of the battery i is less than the first preset short-circuit resistance and greater than or equal to the second preset short-circuit resistance, determining that the battery has a slight internal short circuit;
[0183] If the internal short-circuit resistance R of the battery i is less than the second preset short-circuit resistance and greater than or equal to the third preset short-circuit resistance, determining that the battery has a moderate internal short circuit;
[0184] If the internal short-circuit resistance R of the battery i If the short-circuit resistance is less than the third preset short-circuit resistance, it is determined that the battery has a serious internal short circuit.
[0185] Preferably, the second preset short-circuit resistance may be 100 ohms, or other values, such as 80 ohms, 90 ohms, 110 ohms, 120 ohms, etc., depending on specific needs. Preferably, the third preset short-circuit resistance may be 10 ohms, or other values, such as 8 ohms, 9 ohms, 11 ohms, 12 ohms, etc., depending on specific needs.
[0186] In this embodiment, in order to handle the internal short circuit, the method further includes:
[0187] If it is determined that the battery has a slight internal short circuit, a level 3 internal short circuit alarm is sent to the user;
[0188] If it is determined that the battery has a moderate internal short circuit, a level 2 internal short circuit alarm is sent to the user, and the output power of the battery is limited;
[0189] If it is determined that the battery has a serious internal short circuit, a first-level internal short circuit alarm is sent to the user, and the battery's charge and discharge circuit is cut off.
[0190] This application uses the standard parameters of the battery charging, the voltage V 0 The voltage difference ΔV and the charging current I determine the internal short-circuit resistance R of the battery. i , and according to the internal short-circuit resistance R of the battery i To determine whether the battery has an internal short circuit, the internal short circuit resistance of the single cell can be detected during the charging process of the single cell to determine whether the battery has an internal short circuit, which meets the application scenario of frequent charging and discharging of portable electronic devices.
[0191] Please continue reading Figure 1 In this embodiment, the memory 11 may be an internal memory of the electronic device, that is, a memory built into the electronic device. In other embodiments, the memory 11 may also be an external memory of the electronic device, that is, a memory externally connected to the electronic device.
[0192] In some embodiments, the memory 11 is used to store program codes and various data, and to achieve high-speed and automatic access to programs or data during the operation of the electronic device.
[0193] The memory 11 may include a random access memory and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0194] In one embodiment, the processor 12 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any other conventional processor, etc.
[0195] If the program code and various data in the memory 11 are implemented in the form of a software functional unit and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, such as implementing the steps in the battery pressure difference update method or the power estimation method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), etc.
[0196] It is understandable that the module division described above is a logical function division, and there may be other division methods in actual implementation. In addition, the functional modules in each embodiment of the present application may be integrated in the same processing unit, or each module may exist physically separately, or two or more modules may be integrated in the same unit. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0197] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, no matter from which point of view, the above embodiments of the present application should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the attached claims rather than the above description, and therefore it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application.
Claims
1. A method for detecting short circuit in a battery, characterized in that: The method comprises: Acquire standard parameters for battery charging, wherein the standard parameters for battery charging include first standard parameters for battery charging And the second standard parameter of battery charging ; Obtain the voltage of the battery when it enters the constant current charging stage ; Get the charging time period of the battery during constant current charging The voltage difference generated ; Get the battery charging time period Charging current at ; According to the standard parameters of the battery charging, the voltage , the voltage difference And the charging current Determine the internal short-circuit resistance of the battery ; According to the internal short-circuit resistance of the battery Determining whether the battery has an internal short circuit; Wherein, the internal short-circuit resistance equation of the battery includes: , , ; is the initial voltage divider value of the battery polarization capacitor in a static state, is the battery polarization internal resistance, is the first constant current charging moment, is the second constant current charging moment, is the polarization capacitance of the battery.
2. The method for detecting short circuit in a battery as claimed in claim 1, wherein: The obtaining of the charging time period of the battery during constant current charging The voltage difference generated include: Get the battery charged at a constant current Voltage at the moment ; Get the battery charged at a constant current Voltage at the moment ,in ; According to the voltage And the voltage Determine the voltage difference ; The obtaining of the battery charging time period Charging current at include: Get the battery in the Time to Charging current between moments .
3. The method for detecting short circuit in a battery as claimed in claim 1, wherein: The standard parameters for obtaining battery charging include: Get standard parameters for battery charging using a battery equivalent circuit model.
4. The method for detecting short circuit in a battery as claimed in claim 3, wherein: Before acquiring the standard parameters of battery charging obtained by the battery equivalent circuit model, the method further includes: Obtaining a first standard voltage difference equation including a battery standard parameter equation obtained through a battery equivalent circuit model; Get the charging time period during charging with different standard charging currents at different cycle times The standard voltage difference of each battery generated; According to the first standard voltage difference equation and the charging time period during charging with different standard charging currents at different cycle times The generated standard voltage difference of each battery determines the standard parameter of battery charging obtained by the battery equivalent circuit model.
5. The method for detecting short circuit in a battery as claimed in claim 4, wherein: Before obtaining the first standard voltage difference equation including the battery standard parameter equation obtained by the battery equivalent circuit model, the method further includes: Determine the standard equation of the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current; The charging time period is determined according to the standard equation of the battery equivalent circuit model The resulting second standard voltage difference equation; The first standard voltage difference equation is determined according to the second standard voltage difference equation.
6. The method for detecting short circuit in a battery as claimed in claim 5, wherein: The standard equations for the battery equivalent circuit model include: ; in, is the standard voltage of the battery, is the battery open circuit voltage, is the initial voltage divider value of the battery polarization capacitor in a static state, Charging time for the battery, is the battery polarization internal resistance, is the battery polarization capacitance, is the standard charging current of the battery, is the battery's internal resistance in ohms.
7. The method for detecting short circuit in a battery as claimed in claim 4, wherein: The standard parameters for battery charging include a first standard parameter for battery charging and a second standard parameter for battery charging, and the first standard voltage difference equation includes: ; in, , Charge the battery for the time period The standard voltage difference generated is The time period for charging The standard charging current is a first standard parameter for charging the battery, A second standard parameter for charging the battery.
8. The method for detecting short circuit in a battery as claimed in claim 1, wherein: The standard parameters of the battery charging, the voltage , the voltage difference And the charging current Determine the internal short-circuit resistance of the battery include: Determine the first equation of the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current; Determine the battery charging time period according to the first equation of the battery equivalent circuit model The resulting voltage difference equation; According to the voltage difference equation, the standard parameters of the battery charging, the voltage , the voltage difference And the charging current Determine the internal short-circuit resistance of the battery .
9. The method for detecting short circuit in a battery as claimed in claim 8, wherein: The first equation of the battery equivalent circuit model includes: ; in, is the voltage of the battery, is the battery's ohmic internal resistance, is the open circuit voltage of the battery.
10. The method for detecting short circuit in a battery as claimed in claim 8, wherein: The first equation for determining the battery equivalent circuit model according to the definition formula of capacitance and the definition formula of current includes: Establishing an equivalent circuit model of the battery; Determine a second equation of the battery equivalent circuit model according to Ohm's law and Kirchhoff's law; The first equation of the battery equivalent circuit model is determined according to the definition formula of the capacitance, the definition formula of the current and the second equation of the battery equivalent circuit model.
11. The method for detecting short circuit in a battery as claimed in claim 10, wherein: The first equation of the battery equivalent circuit model is determined according to the definition formula of the capacitance, the definition formula of the current and the second equation of the battery equivalent circuit model, including: Determine the voltage differential equation of the polarization capacitance of the battery according to the definition formula of the capacitance and the definition formula of the current; Solving the partial voltage differential equation of the polarization capacitance of the battery to determine a general solution of the partial voltage of the polarization capacitance of the battery; The first equation of the battery equivalent circuit model is determined according to the second equation of the battery equivalent circuit model and the general solution of the voltage division of the battery polarization capacitance.
12. The method for detecting short circuit in a battery as claimed in claim 11, wherein: The partial pressure differential equation of the battery polarization capacitance includes: ; in, is the voltage division of the polarization capacitance of the battery, is the voltage of the battery; The general solution for the voltage division of the battery polarization capacitance includes: ; in, is the voltage division of the polarization capacitance of the battery, is the charging time of the battery, is the voltage of the battery.
13. The battery internal short circuit detection method as claimed in claim 8, characterized in that: In the voltage difference equation, the standard parameters of the battery charging, the voltage , the voltage difference And the charging current Determine the internal short-circuit resistance of the battery Previously, the method also included: Obtain the battery standard parameter equation obtained through the battery equivalent circuit model; The voltage difference equation, the standard parameters of the battery charging, the voltage , the voltage difference And the charging current Determine the internal short-circuit resistance of the battery include: Determine the internal short-circuit resistance equation of the battery according to the voltage difference equation and the battery standard parameter equation; According to the internal short-circuit resistance equation of the battery, the standard parameters of the battery charging, the voltage , the voltage difference And the charging current Determine the internal short-circuit resistance of the battery .
14. An electronic device, characterized in that: The electronic device comprises: Battery; Processor; and A memory, wherein a plurality of program modules are stored in the memory, and the plurality of program modules are loaded by the processor and execute the battery internal short circuit detection method as described in any one of claims 1 to 13.
15. A storage medium having at least one computer instruction stored thereon, characterized in that: The instructions are loaded by the processor to execute the battery internal short circuit detection method as described in any one of claims 1-13.
