Battery voltage difference updating method, power estimation method, electronic device and storage medium

By using the battery voltage difference updating method in lithium-ion batteries, the problem of the difference in the pressure difference-state of charge curve and the measured curve in the laboratory environment in actual use is solved, and the accurate judgment of the battery usage status and power estimate are achieved.

CN113075562BActive Publication Date: 2025-05-02DONGGUAN NVT TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010011610.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-06
Publication Date
2025-05-02
Estimated Expiration
2040-11-01

AI Technical Summary

Technical Problem

Due to environmental influences in actual use of existing lithium-ion batteries, there is a difference between the measured pressure difference-charge state curve and the measured curve in laboratory environment, which affects the accurate judgment of the battery usage state.

Method used

A battery voltage difference updating method is provided, which detects the battery state of charge by presetting the battery voltage difference-state of charge correspondence, determines the battery voltage difference, and updates the corresponding relationship according to the battery voltage difference.

Benefits of technology

Effectively update the battery voltage difference-state of charge correspondence relationship, improving the accurate judgment and power estimation ability of the actual use state of the battery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113075562B_ABST
    Figure CN113075562B_ABST
Patent Text Reader

Abstract

A battery voltage difference updating method, the battery voltage difference updating method comprising: presetting a battery voltage difference-state of charge correspondence; detecting a first battery state of charge; determining the first battery voltage difference according to the first battery state of charge; and updating the battery voltage difference-state of charge correspondence according to the first battery voltage difference. The present application also provides a power estimation method, an electronic device, and a storage medium, which can update the battery voltage difference-state of charge correspondence.
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 voltage difference updating method, a power estimation method, an electronic device and a storage medium. Background Art

[0002] At present, lithium-ion batteries have the advantages of high energy density, high power density, many cycles and long storage time. They have broad application prospects in large and medium-sized electric equipment such as electric vehicles and energy storage facilities. Therefore, lithium-ion batteries have become the key to solving global problems such as energy crisis and environmental pollution.

[0003] The pressure difference-state of charge curve of lithium-ion batteries can be widely used in the use of batteries. However, the pressure difference-state of charge curve of lithium-ion batteries is currently measured in a laboratory environment. In actual use, the existence of the environment will affect the discharge curve of the lithium-ion battery, so that the actual pressure difference-state of charge curve of the lithium-ion battery is different from the pressure difference-state of charge curve of the lithium-ion battery measured in the laboratory environment, thereby affecting the determination of the actual use status of the battery. Summary of the invention

[0004] In view of this, it is necessary to provide a battery voltage difference updating method, a power estimation method, an electronic device and a storage medium, which can update the first relationship model table.

[0005] An embodiment of the present application provides a battery voltage difference updating method, the battery voltage difference updating method comprising:

[0006] Preset battery voltage difference-charge state correspondence;

[0007] detecting a first battery state of charge;

[0008] determining the first battery voltage difference according to the first battery state of charge;

[0009] The battery voltage difference-state of charge correspondence relationship is updated according to the first battery voltage difference.

[0010] According to some embodiments of the present application, determining the first battery voltage difference according to the first battery state of charge includes:

[0011] A first battery voltage difference when the battery is discharged at different rates is determined according to the first battery state of charge.

[0012] According to some embodiments of the present application, determining the first battery voltage difference according to the first battery state of charge includes:

[0013] The first battery voltage difference during battery discharge is determined according to the first battery state of charge.

[0014] According to some embodiments of the present application, the battery voltage difference updating method further includes:

[0015] detecting a state of charge of the second battery and an actual capacity of the first battery;

[0016] Determine a first state of charge according to the state of charge of the second battery and an actual capacity of the first battery;

[0017] The first battery state of charge is determined based on the first state of charge.

[0018] According to some embodiments of the present application, the battery voltage difference updating method further includes:

[0019] determining a second state of charge according to the second battery state of charge;

[0020] A third battery state of charge is determined according to the first state of charge and the second state of charge.

[0021] According to some embodiments of the present application, when the first state of charge is determined for the first time, the second battery state of charge is an initial state of charge, and the actual capacity of the first battery is a preset capacity.

[0022] According to some embodiments of the present application, the battery voltage difference updating method further includes:

[0023] determining a first open circuit voltage;

[0024] The initial state of charge is determined according to the first open circuit voltage.

[0025] According to some embodiments of the present application, determining the first open circuit voltage includes:

[0026] The first open circuit voltage is determined as the current battery voltage according to the open circuit voltage method.

[0027] According to some embodiments of the present application, determining the initial state of charge according to the first open circuit voltage includes:

[0028] The initial state of charge is determined by querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage.

[0029] According to some embodiments of the present application, determining the first state of charge according to the second battery state of charge and the actual capacity of the first battery includes:

[0030] The first state of charge is determined according to the second battery state of charge and the actual capacity of the first battery by using the Coulomb integration method.

[0031] According to some embodiments of the present application, determining the first state of charge according to the second battery state of charge and the actual capacity of the first battery by using the Coulomb integration method includes:

[0032] The first state of charge is determined by the Coulomb integration method according to the second battery state of charge, the current battery current, the difference between the current time and the last time the battery current was obtained, and the actual capacity of the first battery.

[0033] According to some embodiments of the present application, the Coulomb integration method is:

[0034] SOC1=SOC0+I bat ×Δt / Q abs ;

[0035] Among them, SOC1 is the first state of charge, SOC0 is the second battery state of charge, I bat is the current battery current, Δt is the difference between the current time and the last time the battery current was obtained, Q abs is the actual capacity of the first battery.

[0036] According to some embodiments of the present application, determining the first battery voltage difference when the battery is discharged according to the first battery state of charge includes:

[0037] determining a second open circuit voltage according to the first battery state of charge;

[0038] The first battery voltage difference during battery discharge is determined according to the second open circuit voltage.

[0039] According to some embodiments of the present application, determining the second open circuit voltage according to the first battery state of charge includes:

[0040] The second open circuit voltage is determined by querying the battery voltage difference-charge state correspondence relationship according to the first battery charge state.

[0041] According to some embodiments of the present application, determining the first battery voltage difference when the battery is discharged according to the second open circuit voltage includes:

[0042] The first battery voltage difference when the battery is discharged is determined to be a difference between the second open circuit voltage and the current battery voltage.

[0043] According to some embodiments of the present application, updating the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference includes:

[0044] Performing a univariate linear regression on the first battery voltage difference to determine a second battery voltage difference;

[0045] The battery voltage difference-state of charge correspondence relationship is updated according to the second battery voltage difference.

[0046] According to some embodiments of the present application, before updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference, the battery voltage difference updating method includes:

[0047] It is determined that the absolute value of the difference between the second battery pressure difference and the third battery pressure difference is smaller than the maximum allowable pressure difference change value.

[0048] According to some embodiments of the present application, detecting a first battery voltage difference during battery discharge includes:

[0049] The preset battery voltage difference-state of charge correspondence relationship includes:

[0050] Preset the corresponding relationship between battery voltage difference and state of charge at different temperatures;

[0051] The battery voltage difference updating method further includes:

[0052] Detect the current battery temperature;

[0053] The updating of the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference comprises:

[0054] The corresponding relationship between the battery voltage difference and the state of charge at different temperatures is updated according to the first battery voltage difference and the battery temperature.

[0055] An embodiment of the present application provides a method for estimating power, the method comprising:

[0056] Preset battery voltage difference-charge state correspondence;

[0057] detecting a first battery state of charge;

[0058] determining the first battery voltage difference according to the first battery state of charge;

[0059] updating the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference;

[0060] According to the updated battery voltage difference-state of charge correspondence relationship, determining the battery state of charge change value when the battery is discharged to the cut-off voltage through simulation;

[0061] The remaining capacity of the battery is estimated according to the battery state of charge change value.

[0062] According to some embodiments of the present application, determining the first battery voltage difference according to the first battery state of charge includes:

[0063] A first battery voltage difference when the battery is discharged at different rates is determined according to the first battery state of charge.

[0064] According to some embodiments of the present application, determining the first battery voltage difference according to the first battery state of charge includes:

[0065] The first battery voltage difference during battery discharge is determined according to the first battery state of charge.

[0066] According to some embodiments of the present application, the power estimation method further includes:

[0067] detecting a state of charge of the second battery and an actual capacity of the first battery;

[0068] Determine a first state of charge according to the state of charge of the second battery and an actual capacity of the first battery;

[0069] The first battery state of charge is determined based on the first state of charge.

[0070] According to some embodiments of the present application, the power estimation method further includes:

[0071] determining a second state of charge according to the second battery state of charge;

[0072] A third battery state of charge is determined according to the first state of charge and the second state of charge.

[0073] According to some embodiments of the present application, when the first state of charge is determined for the first time, the second battery state of charge is an initial state of charge, and the actual capacity of the first battery is a preset capacity.

[0074] According to some embodiments of the present application, the power estimation method further includes:

[0075] determining a first open circuit voltage;

[0076] The initial state of charge is determined according to the first open circuit voltage.

[0077] According to some embodiments of the present application, determining the first open circuit voltage includes:

[0078] The first open circuit voltage is determined as the current battery voltage according to the open circuit voltage method.

[0079] According to some embodiments of the present application, determining the initial state of charge according to the first open circuit voltage includes:

[0080] The initial state of charge is determined by querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage.

[0081] According to some embodiments of the present application, determining the first state of charge according to the second battery state of charge and the actual capacity of the first battery includes:

[0082] The first state of charge is determined according to the second battery state of charge and the actual capacity of the first battery by using the Coulomb integration method.

[0083] According to some embodiments of the present application, determining the first state of charge according to the second battery state of charge and the actual capacity of the first battery by using the Coulomb integration method includes:

[0084] The first state of charge is determined by the Coulomb integration method according to the second battery state of charge, the current battery current, the difference between the current time and the last time the battery current was obtained, and the actual capacity of the first battery.

[0085] According to some embodiments of the present application, the Coulomb integration method is:

[0086] SOC1=SOC0+Ibat×Δt / Qabs;

[0087] Among them, SOC1 is the first state of charge, SOC0 is the second battery state of charge, I bat is the current battery current, Δt is the difference between the current time and the last time the battery current was obtained, Q abs is the actual capacity of the first battery.

[0088] According to some embodiments of the present application, determining the first battery voltage difference when the battery is discharged according to the first battery state of charge includes:

[0089] determining a second open circuit voltage according to the first battery state of charge;

[0090] The first battery voltage difference during battery discharge is determined according to the second open circuit voltage.

[0091] According to some embodiments of the present application, determining the second open circuit voltage according to the first battery state of charge includes:

[0092] The second open circuit voltage is determined by querying a battery voltage difference-charge state correspondence relationship according to the first battery charge state.

[0093] According to some embodiments of the present application, determining the first battery voltage difference when the battery is discharged according to the second open circuit voltage includes:

[0094] The first battery voltage difference when the battery is discharged is determined to be a difference between the second open circuit voltage and the current battery voltage.

[0095] According to some embodiments of the present application, updating the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference includes:

[0096] Performing a univariate linear regression on the first battery voltage difference to determine a second battery voltage difference;

[0097] The battery voltage difference-state of charge correspondence relationship is updated according to the second battery voltage difference.

[0098] According to some embodiments of the present application, before updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference, the power estimation method includes:

[0099] It is determined that the absolute value of the difference between the second battery pressure difference and the third battery pressure difference is smaller than the maximum allowable pressure difference change value.

[0100] According to some embodiments of the present application, the preset battery voltage difference-state of charge correspondence relationship includes:

[0101] Preset the corresponding relationship between battery voltage difference and state of charge at different temperatures;

[0102] The power estimation method further includes:

[0103] Detect the current battery temperature;

[0104] The updating of the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference comprises:

[0105] The corresponding relationship between the battery voltage difference and the state of charge at different temperatures is updated according to the first battery voltage difference and the battery temperature.

[0106] According to some embodiments of the present application, determining the battery state of charge change value when the battery is discharged to the cut-off voltage through simulation according to the updated battery voltage difference-state of charge correspondence relationship includes:

[0107] Update the ratio coefficient table of the first battery pressure difference corresponding to different battery states of charge at different temperatures at a preset discharge rate and the first battery pressure difference corresponding to different battery states of charge at a preset temperature according to the updated battery pressure difference-state of charge correspondence relationship;

[0108] According to the updated ratio coefficient table, the change value of the battery state of charge when the battery is discharged to the cut-off voltage is determined through simulation.

[0109] According to some embodiments of the present application, determining the battery state of charge change value when the battery is discharged to the cut-off voltage through simulation according to the updated ratio coefficient table includes:

[0110] Determine the current battery state of charge;

[0111] estimating a current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table;

[0112] Determining whether the current voltage of the battery is less than or equal to the cut-off voltage;

[0113] If the current voltage of the battery is greater than the cut-off voltage, continue to determine the current state of charge of the battery, and estimate the current voltage of the battery according to the current state of charge of the battery, the current battery temperature and the updated ratio coefficient table until the current voltage of the battery is less than or equal to the cut-off voltage;

[0114] If the current voltage of the battery is less than or equal to the cut-off voltage, a battery state of charge change value when the battery is discharged to the cut-off voltage is determined.

[0115] According to some embodiments of the present application, determining the current battery state of charge includes:

[0116] Detect the previous battery charge state;

[0117] The current battery state of charge is estimated according to the previous battery state of charge.

[0118] According to some embodiments of the present application, when the current voltage of the battery is estimated for the first time:

[0119] The detecting of the previous battery charge state includes:

[0120] detecting a battery state of charge at the start of the simulation;

[0121] The estimating the current battery state of charge according to the previous battery state of charge includes:

[0122] The current battery state of charge is estimated according to the battery state of charge at the start of the simulation.

[0123] According to some embodiments of the present application, estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table includes:

[0124] estimating a current open circuit voltage according to the current battery state of charge;

[0125] estimating a current battery pressure difference according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table;

[0126] The current voltage of the battery is estimated according to the current open circuit voltage and the current battery voltage difference.

[0127] According to some embodiments of the present application, estimating the current battery voltage difference according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table includes:

[0128] estimating the pressure difference coefficient corresponding to the discharge current of the battery according to the updated ratio coefficient table;

[0129] The current battery pressure difference is estimated according to the current battery state of charge, the current battery temperature and the pressure difference coefficient.

[0130] According to some embodiments of the present application, estimating the corresponding pressure difference coefficient under the discharge current of the battery according to the updated ratio coefficient table includes:

[0131] By formula Estimate the pressure difference coefficient corresponding to the discharge current of the battery, where k is the pressure difference coefficient corresponding to the discharge current of the battery, K(SOC,T) is the updated ratio coefficient table, I is the discharge current of the battery, and MC is the preset discharge rate.

[0132] According to some embodiments of the present application, estimating the current battery pressure difference according to the current battery state of charge, the current battery temperature and the pressure difference coefficient includes:

[0133] The current battery voltage difference is estimated by the formula ΔV(SOC,T,I)=ΔV(SOC,N℃)×k, where ΔV(SOC,T,I) is the current battery voltage difference, ΔV(SOC,N℃) is the battery voltage difference-state of charge correspondence at a preset discharge rate and preset temperature, N℃ is the preset temperature, and k is the corresponding voltage difference coefficient under the discharge current of the battery.

[0134] According to some embodiments of the present application, before estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table, the power estimation method further includes:

[0135] Estimate the current battery temperature.

[0136] According to some embodiments of the present application, estimating the current battery temperature includes:

[0137] Detect the last battery temperature;

[0138] Estimate the current battery temperature change;

[0139] The current battery temperature is estimated according to the previous battery temperature and the current battery temperature change.

[0140] According to some embodiments of the present application, estimating the current battery temperature change includes:

[0141] By formula To estimate the current battery temperature change, where c is the specific heat capacity of the battery, m is the mass of the battery, is the current battery temperature change, I is the battery discharge current, R is the current battery impedance, T is the previous battery temperature, is the entropy coefficient of the battery, h is the heat dissipation coefficient of the battery, S is the surface area of ​​the battery, and Tenv is the ambient temperature.

[0142] According to some embodiments of the present application, in the formula Before estimating the current battery temperature change, the power estimation method further includes:

[0143] The battery terminal voltage is estimated by querying the updated battery voltage difference-charge state correspondence relationship according to the current battery charge state;

[0144] According to the formula To estimate the current battery impedance, where R is the current battery impedance, V is the battery terminal voltage, and I is the battery discharge current.

[0145] According to some embodiments of the present application, estimating the remaining capacity of the battery according to the battery state of charge change value includes:

[0146] According to Q res =ΔSOC×Q abs To estimate the remaining capacity of the battery, Q res is the remaining capacity of the battery, ΔSOC is the change value of the battery state of charge, Q abs is the actual capacity of the second battery.

[0147] According to some embodiments of the present application, after estimating the remaining capacity of the battery according to the battery state of charge change value, the power estimation method further includes:

[0148] Estimated full charge capacity of the battery;

[0149] The remaining power of the battery is estimated according to the remaining capacity of the battery and the full charge capacity of the battery.

[0150] According to some embodiments of the present application, the estimating the full charge capacity of the battery includes:

[0151] By the formula FCC = Q star +Q past +Q res Estimate the full charge capacity of the battery, where FCC is the full charge capacity of the battery, Q star It is the capacity released by the battery in the charged state before the first charge and discharge state after full charge; Q past is the capacity of the battery released after the state of charge before the simulation starts, Q res is the remaining capacity of the battery.

[0152] According to some embodiments of the present application, estimating the remaining power of the battery according to the remaining capacity of the battery and the full charge capacity of the battery includes:

[0153] By formula Estimate the remaining battery capacity, where RSOC is the remaining battery capacity, Q res is the remaining capacity of the battery, and FCC is the fully charged capacity of the battery.

[0154] An embodiment of the present application provides an electronic device, the electronic device comprising:

[0155] Battery;

[0156] Processor; and

[0157] 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 voltage difference updating method as described in any one of the above or the power estimation method as described in any one of the above.

[0158] An embodiment of the present application provides a storage medium having at least one computer instruction stored thereon, wherein the computer instruction is loaded by a processor to execute any of the battery voltage difference updating methods described above or any of the power estimation methods described above.

[0159] The battery voltage difference updating method, power estimation method, electronic device and storage medium provided in the embodiments of the present application detect the first battery state of charge by presetting the battery voltage difference-state of charge correspondence, determine the first battery voltage difference according to the first battery state of charge, and update the battery voltage difference-state of charge correspondence according to the first battery voltage difference. In this way, the battery voltage difference updating method, power estimation method, electronic device and storage medium provided in the embodiments of the present application can update the battery voltage difference-state of charge correspondence. BRIEF DESCRIPTION OF THE DRAWINGS

[0160] Figure 1 FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application.

[0161] Figure 2 Flow chart of a battery voltage difference updating method according to an embodiment of the present application.

[0162] Figure 3 A battery voltage difference-state of charge correspondence curve diagram according to an embodiment of the present application.

[0163] Figure 4 The present invention is a flow chart of iteratively calculating the state of charge of the battery by using a first state of charge calculated by a Coulomb integration method and a second state of charge calculated by an open circuit voltage method according to an embodiment of the present application.

[0164] Figure 5 An updated battery voltage difference-state of charge correspondence curve diagram according to an embodiment of the present application.

[0165] Figure 6 This is a flow chart of a power estimation method according to an embodiment of the present application.

[0166] Figure 7 FIG. 1 is a schematic diagram of simulating a battery according to an embodiment of the present application.

[0167] Figure 8 The present invention is a flow chart of determining the battery state of charge change value when the battery is discharged to a cut-off voltage through simulation according to the updated ratio coefficient table according to an embodiment of the present application.

[0168] Fig. 9 for Figure 8 A flow chart of estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table.

[0169] Main component symbols

[0170] Electronic device 100

[0171] Memory 11

[0172] Processor 12

[0173] Battery 13

[0174] Analog to digital converter 14

[0175] Sensor 15

[0176] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0177] 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.

[0178] 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.

[0179] See also Figure 1 The electronic device 100 includes, but is not limited to, a memory 11, at least one processor 12, a battery 13, an analog-to-digital converter 14, and a sensor 15. The above components can be connected via a bus or directly connected.

[0180] It should be noted that Figure 1The 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.

[0181] In one embodiment, the battery 13 is a rechargeable battery for providing electrical energy to the electronic device 100. For example, the battery 13 may be a lead-acid battery, a nickel-cadmium battery, a nickel-metal hydride battery, a lithium-ion battery, a lithium polymer battery, a lithium iron phosphate battery, etc. 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 (not shown).

[0182] In this embodiment, the analog-to-digital converter 14 is used to measure the voltage and current of the battery cell of the battery 13 during charging, discharging, or standing still. In this embodiment, the analog-to-digital converter 14 includes a digital filter. The digital filter is used to filter the voltage and current of the battery cell of the battery 13 during charging, discharging, or standing still. In one embodiment, the digital filter can be a first-order low-pass filter. The sensor 15 is used to measure the temperature of the battery cell of the battery 13 during charging, discharging, or standing still. In one embodiment, the sensor 15 can be a negative temperature system (Negative Temperature Coefficient, NTC) thermistor. It can be understood 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.

[0183] See also Figure 2 , Figure 2 This is a flow chart of a battery voltage difference updating method according to an embodiment of the present application. The first battery state of charge of the present application is the battery state of charge when the battery is discharged, the second battery state of charge is the previous battery state of charge, and the third battery state of charge is the current battery state of charge. The first battery actual capacity is the previous battery actual capacity, and the second battery actual capacity is the current battery actual capacity. The first state of charge is the state of charge calculated by the Coulomb integration method in the charge and discharge state, and the second state of charge is the state of charge calculated by the open circuit voltage method in the static state.

[0184] The present application detects the second battery state of charge and the first battery actual capacity by presetting the battery voltage difference-state of charge correspondence, determines the second state of charge according to the second battery state of charge, determines the first state of charge according to the second battery state of charge and the first battery actual capacity, determines the first battery state of charge according to the first state of charge, determines the first battery voltage difference according to the first battery state of charge, and updates the battery voltage difference-state of charge correspondence according to the first battery voltage difference. The present application also determines the third battery state of charge according to the first state of charge and the second state of charge. Thus, the present application determines the current battery state of charge by the previous battery state of charge and the previous battery actual capacity, and determines the next battery state of charge by taking the current battery state of charge and the current battery actual capacity as input. At the same time, the present application also determines the battery state of charge when the battery is discharged by the previous battery state of charge and the previous battery actual capacity, determines the first battery voltage difference when the battery is discharged according to the battery state of charge when the battery is discharged, and updates the battery voltage difference-state of charge correspondence according to the first battery voltage difference when the battery is discharged.

[0185] The battery voltage difference updating method may include the following steps:

[0186] Step S21, presetting a battery voltage difference-state of charge correspondence relationship.

[0187] The battery voltage difference-charge state correspondence relationship can be a curve graph, such as Figure 3 As shown. The battery pressure difference-state of charge correspondence relationship includes a reference open circuit voltage-state of charge curve and a first open circuit voltage-state of charge curve measured under laboratory conditions. Among them, the reference open circuit voltage-state of charge curve is represented by a solid line, and the first open circuit voltage-state of charge curve is represented by a dotted line. The Δv represents the voltage difference between the reference open circuit voltage-state of charge curve and the first open circuit voltage-state of charge curve at the same battery state of charge. In other embodiments, the battery pressure difference-state of charge correspondence relationship may be a relationship table, etc. In this embodiment, the preset battery pressure difference-state of charge correspondence relationship includes: preset battery pressure difference-state of charge correspondence relationship at different temperatures.

[0188] Step S22, detecting a first battery state of charge.

[0189] In this embodiment, the detecting of the first battery state of charge may be obtaining a calculated first battery state of charge. The first battery state of charge may be a first battery state of charge calculated by other systems in the electronic device, or a first battery state of charge calculated by other devices outside the electronic device, or a first battery state of charge calculated by any known method in the method.

[0190] In this embodiment, the detecting of the first battery state of charge may also be calculating the first battery state of charge. The battery voltage difference updating method further includes:

[0191] a1: Detecting the state of charge of the second battery and the actual capacity of the first battery.

[0192] In this embodiment, the detection of the second battery state of charge and the first battery actual capacity may be to calculate the initial state of charge and obtain the preset capacity. In this embodiment, the calculation of the initial state of charge includes:

[0193] b1: Determine the first open circuit voltage.

[0194] Determining the first open circuit voltage includes determining the first open circuit voltage as the current battery voltage according to an open circuit voltage method. In this embodiment, before detecting the state of charge of the second battery and the actual capacity of the first battery, the method further includes: detecting the current battery voltage, the current battery current, and the current battery temperature. Acquiring the current battery voltage, the current battery current, and the current battery temperature may be acquiring the current battery voltage and the current battery current through the analog-to-digital converter, and acquiring the current battery temperature through the sensor.

[0195] In this embodiment, the detection of the current battery voltage, the current battery current and the current battery temperature is performed by obtaining the current battery voltage V at a preset time interval or randomly. bat 、The current battery current I bat and the current battery temperature T bat Preferably, the preset time interval may be ten seconds or other values, depending on specific needs. The randomness may be acquired at a first preset time interval within a period of time, and acquired at a second preset time interval at other times. In this way, the method can automatically adjust the time interval for detecting the current battery voltage, the current battery current and the current battery temperature as needed.

[0196] In this embodiment, after detecting the current battery voltage, the current battery current and the current battery temperature, the method further includes: filtering the signals output by the analog-to-digital converter and the sensor. In this embodiment, filtering the signals output by the analog-to-digital converter and the sensor may include: filtering the signals output by the analog-to-digital converter and the sensor within a first preset time after detecting that the battery switches from a static state to a charging state or a discharging state. Preferably, the first preset time is 600 seconds, or other values, depending on specific needs. Thus, limiting the time after the battery switches from a static state to a discharging state can prevent the disturbance caused by the carrier when the battery is instantly connected to the carrier.

[0197] In this embodiment, filtering the signals output by the analog-to-digital converter and the sensor may also include: after detecting that the battery switches from a static state to a charging state or a discharging state for a first preset time, detecting that the battery switches between a charging state and a discharging state, or detecting that the battery switches from a charging state or a discharging state to a static state, filtering the signals output by the analog-to-digital converter and the sensor every second preset time. Preferably, the second preset time is 60 seconds, or other values, depending on specific needs.

[0198] In this embodiment, the filtering of the signals output by the analog-to-digital converter and the sensor may further include: filtering the signals output by the analog-to-digital converter and the sensor using a first-order low-pass filtering method. The first-order low-pass filtering method is: Y(n) = (1-a) × X(n) + a × Y(n-1); wherein Y(n) is the nth filtering output value, a is the filtering coefficient, X(n) is the nth unfiltered output value, and Y(n-1) is the n-1th filtering output value.

[0199] In this embodiment, the first open circuit voltage is determined as the current battery voltage according to the open circuit voltage method as follows: when the battery is just powered on, the current flowing through the battery is small, and the battery voltage at power-on is approximately equal to the current battery voltage. alid =VI*R(SOC,T) When calculating the first open circuit voltage, the current at power-on can be ignored, that is, the current at power-on is determined to be zero, and the first open circuit voltage is determined to be the current battery voltage. alid is the first open circuit voltage, V is the battery voltage at power-on, I is the battery current at power-on, R(SOC,T) is the battery impedance at power-on, SOC is the battery state of charge at power-on, and T is the battery temperature at power-on.

[0200] b2: Determine the initial state of charge according to the first open circuit voltage.

[0201] Determining the initial state of charge according to the first open circuit voltage includes querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage to determine the initial state of charge. Specifically, querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage to determine the initial state of charge includes: querying a reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage to determine the initial state of charge. Querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage to determine the initial state of charge may include:

[0202] Querying a first voltage matching the first open circuit voltage in a reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship;

[0203] The battery state of charge corresponding to the determined first voltage in the reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship is determined as an initial state of charge.

[0204] In this embodiment,

[0205] The determining the initial state of charge by querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage may further include:

[0206] Querying the battery voltage difference-state of charge correspondence relationship at different temperatures for a battery voltage difference-state of charge correspondence relationship at a temperature matching the current battery temperature;

[0207] querying a first voltage matching the first open circuit voltage in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship at the temperature;

[0208] The battery state of charge corresponding to the determined first voltage in the reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship at the temperature is determined to be the initial state of charge.

[0209] In this embodiment, the preset capacity is pre-stored in the battery.

[0210] In this embodiment, the detection of the second battery state of charge and the first battery actual capacity may also be to obtain the calculated second battery state of charge and the calculated first battery actual capacity. The first battery actual capacity may be the first battery actual capacity calculated by other systems in the electronic device, or the first battery actual capacity calculated by other devices outside the electronic device, or the first battery actual capacity calculated by any known method used in this method.

[0211] In this embodiment, the method further includes: calculating a second battery actual capacity. The second battery actual capacity may be a second battery actual capacity calculated by other systems in the electronic device, or by other devices outside the electronic device, or by any known method used by the method. The second battery actual capacity is updated as the battery is used.

[0212] In this embodiment, the first battery actual capacity used when calculating the first state of charge by the Coulomb integration method is the first battery actual capacity calculated by this application. At the same time, the second battery actual capacity will be used as the first battery actual capacity when the next battery actual capacity is calculated by the Coulomb integration method.

[0213] In this embodiment, the detecting of the second battery state of charge and the first battery actual capacity may also be obtaining the calculated second battery state of charge and obtaining a preset capacity. The first battery actual capacity is the preset capacity.

[0214] a2: determining a first state of charge according to the second battery state of charge and the actual capacity of the first battery.

[0215] In this embodiment, the method further includes: detecting a battery state, wherein the battery state includes one of a charging state, a discharging state, and a static state. In this embodiment, when it is detected that the increase in the current battery voltage is greater than a preset change value, it is determined that the battery is in a charging state. Preferably, the preset change value may be four microvolts per second, or may be other values, depending on specific needs. When it is detected that the decrease in the current battery voltage is greater than the preset change value, it is determined that the battery is in a discharging state. When it is detected that the change in the current battery voltage is less than the preset change value, it is determined that the battery is in a static state. In this embodiment, it is detected whether the current battery voltage is collected for the first time or whether it increases or decreases by more than the preset change value compared to the battery voltage obtained last time. When it is detected that the current battery voltage is collected for the first time or the increase in the current battery voltage compared to the battery voltage obtained last time is greater than the preset change value, it is determined that the increase in the current battery voltage is greater than the preset change value. When it is detected that the current battery voltage decreases by more than the preset change value compared to the previous battery voltage, it is determined that the decrease in the current battery voltage is greater than the preset change value. When it is detected that the current battery voltage has a change smaller than the preset change value compared to the previous battery voltage change, it is determined that the current battery voltage change value is smaller than the preset change value.

[0216] In this embodiment, the method further includes: when the battery is in a charging state or a discharging state, updating the first state of charge according to the second battery state of charge and the actual capacity of the first battery; when the battery is in a static state, not updating the first state of charge. That is, in this embodiment, the first state of charge is updated only when the battery is in a charging state or a discharging state. In this embodiment, the method may also include: when the battery is in a static state, not calculating the first state of charge.

[0217] In this embodiment, determining the first state of charge according to the second battery state of charge and the first battery actual capacity includes determining the first state of charge according to the second battery state of charge and the first battery actual capacity by using a Coulomb integration method. Determining the first state of charge according to the second battery state of charge and the first battery actual capacity by using a Coulomb integration method includes:

[0218] The first state of charge is determined by the Coulomb integration method according to the second battery state of charge, the current battery current, the difference between the current time and the last time the battery current was obtained, and the actual capacity of the first battery.

[0219] In this embodiment, the Coulomb integration method is: SOC1 = SOC0 + I bat ×Δt / Q abs ; Wherein, SOC1 is the first state of charge, SOC0 is the second battery state of charge, I bat is the current battery current, Δt is the difference between the current time and the last time the battery current was obtained, Q abs is the actual capacity of the first battery.

[0220] In this embodiment, when the first state of charge is determined for the first time, the second battery state of charge is the initial state of charge, and the first battery actual capacity is the preset capacity. When the first state of charge is not determined for the first time, the second battery state of charge is the calculated second battery state of charge, and the first battery actual capacity is the calculated first battery actual capacity. The calculated second battery state of charge may be the second state of charge calculated by the open circuit voltage method when the battery is in a static state before entering a charging state or a discharging state, or the second state of charge calculated by the coulomb integration method when the battery is in a charging state or a discharging state. The first battery actual capacity may be the first battery actual capacity calculated when the battery is in a charging state, a discharging state, or a static state.

[0221] a3: Determine the first battery state of charge according to the first state of charge.

[0222] In this embodiment, determining the first battery state of charge according to the first state of charge includes:

[0223] When the battery is in a discharging state, updating the first battery state of charge to the first state of charge;

[0224] When the battery is in a charging state, the first battery state of charge is not updated.

[0225] In this embodiment, the battery voltage difference updating method further includes:

[0226] c1: determining a second state of charge according to the second battery state of charge.

[0227] In this embodiment, the method further includes: when the battery is in a charging state or a discharging state, not updating the second state of charge; when the battery is in a static state, updating the second state of charge according to the second battery state of charge. That is, in this embodiment, the second state of charge is updated only when the battery is in a static state. In this embodiment, the method may also include: when the battery is in a charging state or a discharging state, not calculating the second state of charge.

[0228] In this embodiment, determining the second state of charge according to the second battery state of charge includes determining the second state of charge according to the second battery state of charge by an open circuit voltage method. In this embodiment, determining the second state of charge according to the second battery state of charge by an open circuit voltage method includes:

[0229] d1: Determine the battery impedance according to the second battery state of charge.

[0230] In this embodiment, determining the battery impedance according to the second battery state of charge includes: querying according to the second battery state of charge and the current battery temperature. Querying a pre-stored table of battery impedance, battery state of charge, and battery temperature relationships according to the second battery state of charge and the current battery temperature to determine the battery impedance includes:

[0231] Determine a battery state of charge and a battery temperature that match the second battery state of charge and the current battery temperature in a pre-stored table of relationships between battery impedance, battery state of charge and battery temperature;

[0232] The battery impedance corresponding to the determined battery state of charge and battery temperature in the pre-stored battery impedance, battery state of charge and battery temperature relationship table is determined as the battery impedance.

[0233] d2: Determine the second state of charge according to the battery impedance using the open circuit voltage method.

[0234] Determining the second state of charge according to the battery impedance by using the open circuit voltage method includes determining the second state of charge according to the battery impedance, the current battery voltage, and the current battery current by using the open circuit voltage method.

[0235] Determining the second state of charge according to the battery impedance, the current battery voltage and the current battery current by the open circuit voltage method includes:

[0236] e1: Determine the open circuit voltage according to the battery impedance, the current battery voltage and the current battery current by the open circuit voltage method.

[0237] In this embodiment, the open circuit voltage method Valid_OCV =V bat -I bat *R(SOC,T bat ) Determine the open circuit voltage according to the battery impedance, the current battery voltage and the current battery current. Wherein, V alid_OCV is the open circuit voltage, V bat is the current battery voltage, I bat is the current battery current, R(SOC,T bat ) is the battery impedance.

[0238] e2: Determine the second state of charge according to the open circuit voltage.

[0239] Determining the second state of charge according to the open circuit voltage includes querying the battery voltage difference-state of charge correspondence relationship according to the open circuit voltage to determine the second state of charge. In this embodiment, determining the second state of charge according to the open circuit voltage querying the battery voltage difference-state of charge correspondence relationship may include:

[0240] Querying a second voltage matching the open circuit voltage in a reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship;

[0241] The battery state of charge corresponding to the determined second voltage in the reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship is determined as the second state of charge.

[0242] In this embodiment, querying the battery voltage difference-state of charge correspondence relationship according to the open circuit voltage to determine the second state of charge may also include:

[0243] Query the battery voltage difference-state of charge correspondence relationship at different temperatures for the battery voltage difference-state of charge correspondence relationship at a temperature that matches the current battery temperature;

[0244] querying a second voltage matching the open circuit voltage in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship at the temperature;

[0245] The battery state of charge corresponding to the determined second voltage in the reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship at the temperature is determined as the second state of charge.

[0246] c2: determining a third battery state of charge according to the first state of charge and the second state of charge.

[0247] In this embodiment, the state of charge of the battery is calculated iteratively by using the first state of charge calculated by the Coulomb integration method and the second state of charge calculated by the open circuit voltage method. Figure 4 As shown, when the battery enters a charging state or a discharging state from a rest state or power-on state, the first state of charge is calculated by the coulomb integration method with the second state of charge calculated by the open circuit voltage method or the initial state of charge calculated by the open circuit voltage method as the second battery state of charge, and the first state of charge is continued to be calculated in the charging state or the discharging state with the first state of charge calculated last time as the second battery state of charge. When the battery enters a rest state from a charging state or a discharging state, the second state of charge is calculated by the open circuit voltage method with the first state of charge calculated by the coulomb integration method before entering the rest state as the second battery state of charge.

[0248] Specifically, iteratively calculating the state of charge of the battery by using the first state of charge calculated by the Coulomb integration method and the second state of charge calculated by the open circuit voltage method may include the following steps:

[0249] Step S41: when the battery is powered on and enters a charging state or a discharging state, the initial state of charge calculated by the open circuit voltage method is used as the second battery state of charge to calculate the first state of charge by the Coulomb integration method.

[0250] Step S42: when the battery enters a static state from a charging state or a discharging state, the initial state of charge calculated by the Coulomb integration method before entering the static state is used as the second battery state of charge to calculate a second state of charge by the open circuit voltage method.

[0251] Step S43: when the battery enters a charging state or a discharging state from a static state, the first state of charge is calculated by the Coulomb integration method using the second state of charge calculated by the open circuit voltage method as the second battery state of charge.

[0252] Step S44: In the charging state or the discharging state, the first state of charge calculated last time is used as the second battery state of charge to continue calculating the first state of charge. After executing step S44, continue to execute step S42.

[0253] Obviously, the present invention is not limited to the above-mentioned specific embodiments, and other variations are possible. For example, after step S41, an additional step is added: in the charging state or the discharging state, the first state of charge calculated last time is used as the second battery state of charge to continue calculating the first state of charge, or step S44 is omitted.

[0254] In this embodiment, the method further includes: determining a third battery state of charge according to the first state of charge and the second state of charge. The determining the third battery state of charge according to the first state of charge and the second state of charge includes:

[0255] When the first state of charge is updated, determining the third battery state of charge to be the first state of charge;

[0256] When the second state of charge is updated, the third battery state of charge is determined to be the second state of charge.

[0257] Step S23: determining the first battery voltage difference according to the first battery state of charge.

[0258] In this embodiment, determining the first battery voltage difference according to the first battery state of charge may include: determining the first battery voltage difference when the battery is discharged at different rates according to the first battery state of charge. The first battery voltage difference when the battery is discharged at different rates according to the first battery state of charge may be determined by running the battery for one or more rounds to determine the first battery voltage difference when the battery is discharged at different rates according to the first battery state of charge. In each round of the operation of the battery, the discharge rate of the battery may be the same or different. For example, in the first round of the battery operation, the discharge rate of the battery is always 0.2C, and in the second round of the battery operation, the discharge rate of the battery is 0.1C and 0.2C. In multiple rounds of battery operation, the discharge rate of the battery may be partially the same for different rounds. For example, in the third round of the battery operation, the discharge rate of the battery is always 0.2C, and in the fourth round of the battery operation, the discharge rate of the battery is 0.3C and 0.2C. Thus, by determining the first battery voltage difference when the battery is discharged at different rates according to the first battery state of charge, the first battery voltage difference when the battery is discharged at a preset rate at different temperatures can be determined according to the first battery state of charge. In this embodiment, determining the first battery voltage difference according to the first battery state of charge includes: determining the first battery voltage difference when the battery is discharged according to the first battery state of charge.

[0259] The step of determining the first battery voltage difference when the battery is discharged according to the first battery state of charge includes:

[0260] f1: determining a second open circuit voltage according to the first battery state of charge.

[0261] In this embodiment, determining the second open circuit voltage according to the first battery state of charge includes: querying a battery voltage difference-state of charge correspondence relationship according to the first battery state of charge to determine the second open circuit voltage.

[0262] In this embodiment, querying the battery voltage difference-state of charge correspondence relationship according to the first battery state of charge to determine the second open circuit voltage may include:

[0263] querying a fourth battery state of charge that matches the first battery state of charge in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship;

[0264] An open circuit voltage corresponding to the determined fourth battery state of charge in a reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence is determined as a second open circuit voltage.

[0265] In this embodiment, querying the battery voltage difference-state of charge correspondence relationship according to the first battery state of charge to determine the second open circuit voltage may include:

[0266] Query the battery voltage difference-state of charge correspondence relationship at different temperatures for the battery voltage difference-state of charge correspondence relationship at a temperature that matches the current battery temperature;

[0267] querying a battery state of charge matching the first battery state of charge in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship at the temperature;

[0268] An open circuit voltage corresponding to the determined battery state of charge in a reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship at the temperature is determined as a second open circuit voltage.

[0269] f2: determining the first battery voltage difference when the battery is discharged according to the second open circuit voltage.

[0270] In this embodiment, determining the first battery voltage difference when the battery is discharged according to the second open circuit voltage includes: determining the first battery voltage difference when the battery is discharged as a difference between the second open circuit voltage and a current battery voltage.

[0271] Step S24: updating the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference.

[0272] In this embodiment, updating the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference includes:

[0273] g1: performing a univariate linear regression on the first battery voltage difference to determine the second battery voltage difference.

[0274] In this embodiment, the step of performing a linear regression on the first battery voltage difference to determine the second battery voltage difference includes: when the battery state of charge when the first battery voltage difference is detected and calculated is a value among a plurality of preset values, performing a linear regression on the first battery voltage difference to determine the second battery voltage difference. Preferably, the plurality of preset values ​​are 100%, 90%, 80%, 70%, 60%, 50%, 40%, 30%, 20%, 12%, 4%, 0%, or other values, depending on specific needs.

[0275] In this embodiment, before performing a univariate linear regression on the first battery voltage difference to determine the second battery voltage difference, the method further includes: setting a plurality of preset values ​​according to the battery state of charge. Specifically, the method further includes: when the battery state of charge is in a first preset interval, setting the preset value at a first preset interval; and when the battery state of charge is in a second preset interval, setting the preset value at a second preset interval. Preferably, the first preset interval is 20% to 100%, or other values, depending on specific needs. Preferably, the first preset interval is 10%, or other values, depending on specific needs. Preferably, the second preset interval is 0% to 20%, or other values, depending on specific needs. Preferably, the second preset interval is 8%, or other values, depending on specific needs. Thus, when the battery state of charge is in the second preset interval, by setting the preset value at a smaller interval, the battery voltage difference jump caused by the large change in the battery voltage difference at the end of discharge can be avoided.

[0276] In this embodiment, the univariate linear regression is:

[0277] y = w × x + b;

[0278] in,

[0279] Wherein, y is the second battery voltage difference, x is the change value of the first battery state of charge during the current linear regression and the first battery state of charge during the previous linear regression, n is the number of the first battery voltage differences between the current linear regression and the previous linear regression, y i is the first battery voltage difference of the ith time, x i is the first battery state of charge of the ith time.

[0280] g2: updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference.

[0281] In this embodiment, before updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference, the method includes:

[0282] The second battery voltage difference is filtered using a first-order low-pass filtering method.

[0283] The first-order low-pass filtering method is: ΔVnew(n) = (1-a) × ΔVnew + a × ΔVold(n); wherein ΔVnew(n) is the nth second battery voltage difference filtering output value, a is the filtering coefficient, ΔVnew is the nth second battery voltage difference unfiltered output value, and ΔVold(n) is the nth voltage difference filtering output value in the preset battery voltage difference-state of charge correspondence. Thus, by filtering the second battery voltage difference, a jump phenomenon can be prevented when the battery voltage difference-state of charge correspondence is subsequently updated.

[0284] In this embodiment, before updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference, the method may include:

[0285] It is determined that the absolute value of the difference between the second battery pressure difference and the third battery pressure difference is smaller than the maximum allowable pressure difference change value.

[0286] In this embodiment, updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference may include:

[0287] When the absolute value of the difference between the second battery pressure difference and the third battery pressure difference is less than the maximum allowable pressure difference change value, the battery pressure difference-state of charge correspondence relationship is updated according to the second battery pressure difference.

[0288] In this embodiment, updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference may further include:

[0289] When the absolute value of the difference between the second battery pressure difference and the third battery pressure difference is greater than or equal to the maximum allowable pressure difference change value, updating the second battery pressure difference to the sum of the third battery pressure difference and the maximum allowable pressure difference change value;

[0290] The battery pressure difference-state of charge correspondence relationship is updated according to the updated second battery pressure difference.

[0291] In this embodiment, the third battery voltage difference is the current voltage difference in the preset battery voltage difference-state of charge correspondence relationship. Thus, by limiting the change value of the current second voltage difference and the current voltage difference in the preset battery voltage difference-state of charge correspondence relationship, it is prevented that the voltage difference in the preset battery voltage difference-state of charge correspondence relationship changes too much during the update, thereby increasing the robustness of the method.

[0292] In this embodiment, updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference may include:

[0293] querying a fifth battery state of charge in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship that matches the first battery state of charge when calculating the second battery voltage difference;

[0294] Determine that the open circuit voltage corresponding to the determined fifth battery state of charge in the reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship is the third open circuit voltage;

[0295] determining a fourth open circuit voltage according to the second battery voltage difference and the third open circuit voltage;

[0296] The first open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship is updated according to the fourth open circuit voltage.

[0297] like Figure 5 As shown, the curve represented by the solid line is the reference open circuit voltage-state of charge curve, the curve represented by the dotted line is the updated first open circuit voltage-state of charge curve, and Δv represents the second battery voltage difference between the reference open circuit voltage-state of charge curve and the updated first open circuit voltage-state of charge curve at the same battery state of charge.

[0298] In this embodiment, determining the fourth open circuit voltage according to the second battery voltage difference and the third open circuit voltage includes:

[0299] The fourth open circuit voltage is determined as a difference between the third open circuit voltage and the second battery voltage difference.

[0300] In this embodiment, updating the battery voltage difference-state of charge correspondence relationship according to the fourth open circuit voltage includes:

[0301] The open circuit voltage corresponding to the fifth battery state of charge in the battery voltage difference-state of charge correspondence relationship is updated to the fourth open circuit voltage.

[0302] In this embodiment,

[0303] The updating of the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference comprises:

[0304] The battery voltage difference-state of charge correspondence at different temperatures is updated according to the first battery voltage difference and the current battery temperature.

[0305] In this embodiment, updating the battery voltage difference-state of charge correspondence relationship at different temperatures according to the first battery voltage difference and the current battery temperature includes:

[0306] Querying the battery voltage difference-state of charge correspondence relationship at different temperatures for the battery voltage difference-state of charge correspondence relationship at a temperature matching the current battery temperature;

[0307] querying a fifth battery state of charge that matches the first battery state of charge in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship at the temperature;

[0308] Determine that an open circuit voltage corresponding to the fifth battery state of charge in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship at the temperature is a third open circuit voltage;

[0309] determining a fourth open circuit voltage according to the second battery voltage difference and the third open circuit voltage;

[0310] A first open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship at the temperature is updated according to the fourth open circuit voltage.

[0311] In this embodiment, updating the first open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence relationship at the temperature according to the fourth open circuit voltage includes:

[0312] The open circuit voltage corresponding to the fifth battery state of charge in the first open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence at the temperature is updated to the fourth open circuit voltage.

[0313] The updating of the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference comprises:

[0314] The corresponding relationship between the battery voltage difference and the state of charge at different temperatures at the preset discharge rate is updated according to the first battery voltage difference and the current battery temperature.

[0315] See also Figure 6 , Figure 6 This is a flow chart of a method for estimating power according to an embodiment of the present application. The first battery state of charge of the present application is the battery state of charge when the battery is discharged, the second battery state of charge is the previous battery state of charge, and the third battery state of charge is the current battery state of charge. The first battery actual capacity is the previous battery actual capacity, and the second battery actual capacity is the current battery actual capacity. The first state of charge is the state of charge calculated by the Coulomb integration method in the charge and discharge state, and the second state of charge is the state of charge calculated by the open circuit voltage method in the static state.

[0316] The present application detects the state of charge of the second battery and the actual capacity of the first battery by presetting the battery voltage difference-state of charge correspondence, determines the second state of charge according to the second battery state of charge, determines the first state of charge according to the second battery state of charge and the actual capacity of the first battery, determines the first battery state of charge according to the first state of charge, determines the first battery voltage difference according to the first battery state of charge, and updates the battery voltage difference-state of charge correspondence according to the first battery voltage difference. At the same time, the present application performs a discharge simulation on the battery to determine the battery state of charge change value from the start of the simulation to the discharge to the cut-off voltage according to the updated battery voltage difference-state of charge correspondence, and estimates the remaining capacity of the battery according to the battery state of charge change value. The present application also determines the third battery state of charge based on the first state of charge and the second state of charge.

[0317] Therefore, the present application determines the current battery state of charge through the previous battery state of charge and the previous battery actual capacity, and uses the current battery state of charge and the current battery actual capacity as input to determine the next battery state of charge. At the same time, the present application also determines the first battery state of charge when the battery is discharged through the previous battery state of charge and the previous battery actual capacity, determines the first battery voltage difference when the battery is discharged according to the battery state of charge when the battery is discharged, and updates the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference when the battery is discharged, and determines the battery state of charge change value when the battery is discharged to the cut-off voltage through simulation according to the updated battery voltage difference-state of charge correspondence relationship, and estimates the remaining capacity of the battery according to the battery state of charge change value.

[0318] The power estimation method may include the following steps:

[0319] Step S61, presetting a battery voltage difference-state of charge correspondence relationship.

[0320] In this embodiment, step S61 in the power estimation method is the same as step S21 in the battery voltage difference updating method. Please refer to the detailed description of step S21 in the battery voltage difference updating method for details, which will not be repeated here.

[0321] Step S62, detecting a first battery state of charge.

[0322] In this embodiment, step S62 in the power estimation method is the same as step S22 in the battery voltage difference updating method. Please refer to the detailed description of step S22 in the battery voltage difference updating method for details, which will not be repeated here.

[0323] Step S63: determining the first battery voltage difference according to the first battery state of charge.

[0324] In this embodiment, step S63 in the power estimation method is the same as step S23 in the battery voltage difference updating method. Please refer to the detailed description of step S23 in the battery voltage difference updating method for details, which will not be repeated here.

[0325] Step S64: updating the battery voltage difference-state of charge correspondence relationship according to the first battery voltage difference.

[0326] In this embodiment, step S64 in the power estimation method is the same as step S24 in the battery voltage difference updating method. Please refer to the detailed description of step S24 in the battery voltage difference updating method for details, which will not be repeated here.

[0327] Step S65, determining the battery state of charge change value when the battery is discharged to the cut-off voltage through simulation according to the updated battery voltage difference-state of charge correspondence relationship.

[0328] In this embodiment, please also refer to Figure 7 , the battery state of charge change value determined by simulation when the battery is discharged to the cut-off voltage according to the updated battery voltage difference-state of charge correspondence relationship includes:

[0329] h1: updating the ratio coefficient table of the first battery voltage difference corresponding to different battery states of charge at different temperatures at a preset discharge rate and the first battery voltage difference corresponding to different battery states of charge at a preset temperature according to the updated battery voltage difference-state of charge correspondence relationship.

[0330] In this embodiment, the electronic device stores a corresponding relationship between battery voltage difference and charge state at a preset discharge rate and a preset temperature, as shown in Table 1 below.

[0331]

[0332] Table 1

[0333] Preferably, the preset discharge rate is 0.2C, or other values, depending on specific needs. Preferably, the preset temperature is 25°C, or other values, depending on specific needs.

[0334] In this embodiment, the electronic device also pre-stores a ratio coefficient table of the first battery voltage difference corresponding to different battery charge states at different temperatures under a preset discharge rate and the first battery voltage difference corresponding to different battery charge states at a preset temperature, as shown in Table 2 below.

[0335]

[0336] Table 2

[0337] Preferably, the preset discharge rate is 0.2C, or other values, depending on specific needs. Preferably, the preset temperature is 25°C, or other values, depending on specific needs.

[0338] In this embodiment, the updating of the ratio coefficient table of the first battery voltage difference corresponding to different battery states of charge at different temperatures at a preset discharge rate and the first battery voltage difference corresponding to different battery states of charge at a preset temperature according to the updated battery voltage difference-state of charge correspondence relationship includes:

[0339] The ratio coefficient table of the first battery pressure difference corresponding to different battery states of charge at different temperatures at the preset discharge rate and the first battery pressure difference corresponding to different battery states of charge at the preset temperature is updated according to the updated battery pressure difference-state of charge correspondence relationship at different temperatures at the preset discharge rate.

[0340] Specifically, a ratio coefficient table of the first battery pressure difference corresponding to different battery states of charge at different temperatures at the preset discharge rate and the first battery pressure difference corresponding to different battery states of charge at the preset temperature is updated according to the updated battery pressure difference-state of charge correspondence relationship at different temperatures at the preset discharge rate and the battery pressure difference-state of charge correspondence relationship at the preset discharge rate and preset temperature.

[0341] h2: According to the updated ratio coefficient table, determine the change value of the battery state of charge when the battery is discharged to the cut-off voltage through simulation.

[0342] In this embodiment, please also refer to Figure 8 , the battery state of charge change value determined by simulation when the battery is discharged to the cut-off voltage according to the updated ratio coefficient table includes:

[0343] S81: Determine the current battery state of charge.

[0344] In this embodiment, determining the current battery state of charge includes:

[0345] Detect the previous battery charge state;

[0346] The current battery state of charge is estimated according to the previous battery state of charge.

[0347] In this embodiment, the method further includes: simulating battery discharge at a preset or random battery state of charge interval. Preferably, the preset battery state of charge interval is 3%. The preset battery state of charge interval may also be other values, which may be determined according to specific needs. The random battery state of charge interval may simulate battery discharge at a first preset battery state of charge interval within a period of time, and simulate battery discharge at a second preset battery state of charge interval at other times. In this way, the method can automatically adjust the battery state of charge interval for simulating battery discharge as needed.

[0348] In this embodiment, estimating the current battery state of charge according to the previous battery state of charge includes: estimating the current battery state of charge as a difference between the previous battery state of charge and the preset battery state of charge interval.

[0349] In this embodiment, when the current voltage of the battery is estimated for the first time, the detecting of the previous battery state of charge includes: detecting the battery state of charge at the start of the discharge simulation; and estimating the current battery state of charge based on the previous battery state of charge includes: estimating the current battery state of charge based on the battery state of charge at the start of the discharge simulation.

[0350] In this embodiment, the battery state of charge detected at the start of the discharge simulation may be the battery state of charge at the start of the discharge simulation that is iteratively detected by the method using the first state of charge calculated by the Coulomb integration method and the second state of charge calculated by the open circuit voltage method. The battery state of charge detected at the start of the discharge simulation may also be the battery state of charge detected at the start of the discharge simulation by any known method.

[0351] S82: estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table.

[0352] In this embodiment, before estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table, the method further includes: estimating the current battery temperature.

[0353] In this embodiment, estimating the current battery temperature includes:

[0354] I1: Detect the last battery temperature.

[0355] In this embodiment, when the current battery temperature is estimated for the first time, the detecting of the previous battery temperature includes: detecting the battery temperature at the start of the discharge simulation. The detecting of the battery temperature at the start of the discharge simulation includes: detecting the battery temperature at the start of the discharge simulation by the sensor. When the current battery temperature is not estimated for the first time, the detecting of the previous battery temperature includes: obtaining the previous battery temperature.

[0356] I2: Estimate the current battery temperature change.

[0357] In this embodiment, estimating the current battery temperature change includes:

[0358] By formula To estimate the current battery temperature change, where c is the specific heat capacity of the battery, m is the mass of the battery, is the current battery temperature change, I is the battery discharge current, R is the current battery impedance, T is the previous battery temperature, is the entropy coefficient of the battery, h is the heat dissipation coefficient of the battery, S is the surface area of ​​the battery, and Tenv is the ambient temperature.

[0359] In this embodiment, in the formula Before estimating the current battery temperature change, the method further includes:

[0360] The battery terminal voltage is estimated by querying the updated battery voltage difference-charge state correspondence relationship according to the current battery charge state;

[0361] According to the formula To estimate the current battery impedance, where R is the current battery impedance, V is the battery terminal voltage, and I is the battery discharge current.

[0362] In this embodiment, the discharge current of the battery is a preset discharge current of the battery, such as 300 mA, 500 mA, 800 mA, etc.

[0363] In this embodiment, estimating the battery terminal voltage by querying the updated battery voltage difference-state of charge correspondence relationship according to the current battery state of charge includes:

[0364] querying a seventh battery state of charge that matches the current battery state of charge in a reference open circuit voltage-state of charge curve in an updated battery voltage difference-state of charge correspondence relationship;

[0365] An open circuit voltage corresponding to the determined seventh battery state of charge in a reference open circuit voltage-state of charge curve in the updated battery voltage difference-state of charge correspondence is determined to be a battery terminal voltage.

[0366] I3: estimating the current battery temperature according to the previous battery temperature and the current battery temperature change.

[0367] In this embodiment, estimating the current battery temperature according to the previous battery temperature and the current battery temperature change includes:

[0368] The current battery temperature is estimated to be the sum of the previous battery temperature and the current battery temperature change.

[0369] In this embodiment, please also refer to Fig. 9 , estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table includes:

[0370] S91: estimating a current open circuit voltage according to the current battery state of charge.

[0371] In this embodiment, estimating the current open circuit voltage according to the current battery state of charge includes: estimating the current open circuit voltage by querying the battery voltage difference-state of charge correspondence relationship according to the current battery state of charge.

[0372] Querying a sixth battery state of charge that matches the current battery state of charge in a reference open circuit voltage-state of charge curve in a battery voltage difference-state of charge correspondence relationship;

[0373] An open circuit voltage corresponding to the determined sixth battery state of charge in a reference open circuit voltage-state of charge curve in the battery voltage difference-state of charge correspondence is determined as a current open circuit voltage.

[0374] S92: estimating the current battery voltage difference according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table.

[0375] In this embodiment, estimating the current battery voltage difference according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table includes:

[0376] k1: Estimate the corresponding voltage difference coefficient under the discharge current of the battery according to the updated ratio coefficient table.

[0377] In this embodiment, the voltage difference coefficient corresponding to the discharge current of the battery estimated according to the updated ratio coefficient table includes:

[0378] By formula Estimate the pressure difference coefficient corresponding to the discharge current of the battery, where k is the pressure difference coefficient corresponding to the discharge current of the battery, K(SOC,T) is the updated ratio coefficient table, I is the discharge current of the battery, and MC is the preset discharge rate. For example, the pressure difference coefficient k corresponding to the discharge current of the battery is estimated to be 5K(SOC,T).

[0379] In this embodiment, the discharge current of the battery is a preset discharge current of the battery, such as 300mA, 500mA, 800mA, etc. Preferably, the preset discharge rate is 0.2C, or other values, depending on specific needs.

[0380] k2: estimating the current battery pressure difference according to the current battery state of charge, the current battery temperature and the pressure difference coefficient.

[0381] In this embodiment, estimating the current battery pressure difference according to the current battery state of charge, the current battery temperature and the pressure difference coefficient includes:

[0382] The current battery voltage difference is estimated by the formula ΔV(SOC,T,I)=ΔV(SOC,N℃)×k, where ΔV(SOC,T,I) is the current battery voltage difference, SOC is the current battery state of charge, T is the current battery temperature, ΔV(SOC,N℃) is the battery voltage difference-state of charge correspondence at a preset discharge rate and a preset temperature, N℃ is the preset temperature, and k is the corresponding voltage difference coefficient under the discharge current of the battery.

[0383] The present case is not limited to estimating the current battery pressure difference according to the current battery state of charge, the current battery temperature and the pressure difference coefficient in step k2, but can also estimate the pressure difference coefficient corresponding to the battery discharge current according to the current battery state of charge, the current battery temperature, and the updated ratio coefficient table in step k1, and estimate the current battery pressure difference according to the current battery state of charge, the current battery temperature and the pressure difference coefficient in step k2.

[0384] Preferably, the preset discharge rate is 0.2C, or other values, depending on specific needs. Preferably, the preset temperature is 25°C, or other values, depending on specific needs.

[0385] S93: estimating the current voltage of the battery according to the current open circuit voltage and the current battery voltage difference.

[0386] In this embodiment, estimating the current voltage of the battery according to the current open circuit voltage and the current battery voltage difference includes:

[0387] The current voltage of the battery is estimated to be a difference between the current open circuit voltage and the current battery voltage difference.

[0388] S83: Determine whether the current voltage of the battery is less than or equal to the cut-off voltage.

[0389] Preferably, the cut-off voltage is 3V, or other values ​​depending on specific requirements.

[0390] S84: If the current voltage of the battery is greater than the cut-off voltage, continue to determine the current battery state of charge, and estimate the current battery voltage according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table until the current battery voltage is less than or equal to the cut-off voltage.

[0391] In this embodiment, if the current voltage of the battery is greater than the cut-off voltage, the current battery state of charge is continued to be determined, and the current voltage of the battery is estimated according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table until the current voltage of the battery is less than or equal to the cut-off voltage, for example:

[0392] The current voltage V1 of the voltage is 3.8V, and the current voltage V1 of the voltage is greater than 3V. The current battery state of charge is determined, and the current battery voltage V2 is estimated to be 3.3V based on the current battery state of charge, the current battery temperature, and the updated ratio coefficient table. At this time, the current voltage V2 of the voltage is greater than 3V, and the current battery state of charge is determined, and the current battery voltage V3 is estimated to be 3V based on the current battery state of charge, the current battery temperature, and the updated ratio coefficient table. At this time, the current voltage V3 of the voltage is less than or equal to 3V.

[0393] S85: If the current voltage of the battery is less than or equal to the cut-off voltage, determine a battery state of charge change value when the battery is discharged to the cut-off voltage.

[0394] In this embodiment, the battery state of charge change value of the battery determined from the start of simulation to the discharge to the cut-off voltage is: the battery state of charge change value of the battery determined from the start of simulation to the discharge to the cut-off voltage is the difference between the current battery state of charge when calculating the current voltage of the battery and the battery state of charge at the start of the discharge simulation.

[0395] For example, in Figure 7In the simulation stage, the curve represented by the dotted line is the determined open circuit voltage, and the curve represented by the solid line is the determined current voltage. The battery state of charge at the beginning of the simulation is Soc0. The battery discharge is simulated for the first time with the battery state of charge interval ΔSoc1. At this time, the estimated current open circuit voltage is OCV1, the estimated current battery voltage difference is ΔV1, and the estimated current voltage of the battery is U1. At this time, the current voltage of the battery is greater than the cut-off voltage. Continue the simulation, simulate the battery discharge for the second time with the battery state of charge interval ΔSoc2. At this time, the estimated current open circuit voltage is OCV2, the estimated current battery voltage difference is ΔV2, and the estimated current voltage of the battery is U2. At this time, the current voltage of the battery is still greater than the cut-off voltage. Continue the simulation, simulate the battery discharge for the third time with the battery state of charge interval ΔSoc3. At this time, the estimated current open circuit voltage is OCV3, the estimated current battery voltage difference is ΔV3, and the estimated current voltage of the battery is U3. At this time, the current voltage of the battery is still greater than the cut-off voltage. The simulation is continued, and the battery discharge is simulated for the fourth time with the battery state of charge interval ΔSoc4. At this time, the current open circuit voltage is estimated to be OCV4, the current battery voltage difference is estimated to be ΔV4, and the current voltage of the battery is estimated to be U4. At this time, the current voltage of the battery is still less than the cut-off voltage, and the simulation is stopped to determine the battery state of charge change value ΔSoc when the battery is discharged to the cut-off voltage.

[0396] Step S64, estimating the remaining capacity of the battery according to the battery charge state change value.

[0397] In this embodiment, estimating the remaining capacity of the battery according to the battery state of charge change value includes:

[0398] According to Q res =ΔSOC×Q abs To estimate the remaining capacity of the battery, Q res is the remaining capacity of the battery, ΔSOC is the change value of the battery state of charge, Q abs is the actual capacity of the second battery.

[0399] In this embodiment, after estimating the remaining capacity of the battery according to the battery state of charge change value, the battery power estimation method further includes:

[0400] L1: Estimated full charge capacity of the battery.

[0401] In this embodiment, the estimated full charge capacity of the battery includes: star +Q past +Q res Estimate the full charge capacity of the battery, where FCC is the full charge capacity of the battery, Q starIt is the capacity released by the battery in the charged state before the first charge and discharge state after full charge; Q past is the capacity of the battery released after the state of charge before the simulation starts, Q res is the remaining capacity of the battery. Figure 7 As shown, Q star Q is the capacity released by the battery in a static state. past Q is the capacity released by the battery in the discharge state. res The remaining capacity of the battery estimated by the battery simulation.

[0402] In this embodiment, the method further includes: determining the capacity of the battery released in the state of charge before the first charge-discharge state after full charge according to the initial state of charge and the actual capacity of the second battery. Specifically: the method further includes: determining the capacity of the battery released in the state of charge before the first charge-discharge state after full charge according to the initial state of charge and the actual capacity of the second battery. star =(100%-SOC)×Q abs Among them, Q star Q is the capacity released by the battery in the state of charge before the first charge and discharge state after full charge, SOC is the state of charge of the battery before the first charge and discharge state after full charge, Q abs In this embodiment, before determining the capacity released by the battery in the state of charge before the first charge-discharge state after full charge according to the initial state of charge and the actual capacity of the second battery, the method further includes: determining the state of charge of the battery before the first charge-discharge state after full charge by an open circuit voltage method.

[0403] In this embodiment, the method further includes: determining the capacity of the battery that has been released before the simulation after the state of charge starts according to the actual discharge current of the battery and the actual discharge time. Specifically: the method further includes: determining the capacity of the battery that has been released before the simulation after the state of charge starts as the product of the actual discharge current of the battery and the actual discharge time. In this embodiment, before determining the capacity of the battery that has been released before the simulation after the state of charge starts according to the actual discharge current of the battery and the actual discharge time, the method further includes: collecting the actual discharge current of the battery at every time interval; collecting the capacity of the battery that has been released before the simulation after the state of charge starts according to the formula Determine the capacity of the battery after the state of charge before the simulation starts. past is the capacity of the battery released before the simulation starts after the state of charge, n is the number of times the actual discharge current of the battery is collected, I i is the actual discharge current of the battery collected for the i-th time, Δt i is the i-th time interval.

[0404] L2: Estimate the remaining power of the battery based on the remaining capacity of the battery and the full charge capacity of the battery.

[0405] In this embodiment, estimating the remaining power of the battery according to the remaining capacity of the battery and the full charge capacity of the battery includes:

[0406] By formula Estimate the remaining battery capacity, where RSOC is the remaining battery capacity, Q res is the remaining capacity of the battery, and FCC is the fully charged capacity of the battery.

[0407] 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.

[0408] 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.

[0409] 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.

[0410] 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.

[0411] 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.

[0412] 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.

[0413] 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 battery pressure difference updating method, characterized in that: The battery voltage difference updating method comprises: Preset battery voltage difference-charge state correspondence; detecting a first battery state of charge; determining a first battery voltage difference according to the first battery state of charge, wherein the battery voltage difference-state of charge correspondence relationship includes a reference open circuit voltage-state of charge curve, and the first battery voltage difference is a difference between a reference open circuit voltage corresponding to the first battery state of charge in the reference open circuit voltage-state of charge curve and a current battery voltage when the battery is discharged; Performing a univariate linear regression on the first battery voltage difference to determine a second battery voltage difference; updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference; Among them, the equation obtained by performing the univariate linear regression is: ;in, ; Wherein, y is the second battery voltage difference, x is the change value of the first battery state of charge during the current linear regression and the first battery state of charge during the previous linear regression, n is the number of the first battery voltage difference between the current linear regression and the previous linear regression, y i is the first battery voltage difference of the ith time, x i is the first battery state of charge of the ith time.

2. The battery voltage difference updating method according to claim 1, characterized in that: Determining the first battery voltage difference according to the first battery state of charge includes: A first battery voltage difference when the battery is discharged at different rates is determined according to the first battery state of charge.

3. The battery voltage difference updating method according to claim 1, characterized in that: The battery voltage difference updating method further includes: detecting a state of charge of the second battery and an actual capacity of the first battery; Determine a first state of charge according to the state of charge of the second battery and an actual capacity of the first battery; The first battery state of charge is determined based on the first state of charge.

4. The battery pressure difference updating method according to claim 3, characterized in that: The battery voltage difference updating method further includes: determining a second state of charge according to the second battery state of charge; A third battery state of charge is determined according to the first state of charge and the second state of charge.

5. The battery pressure difference updating method according to claim 3, characterized in that: When the first state of charge is determined for the first time, the second battery state of charge is an initial state of charge, and the actual capacity of the first battery is a preset capacity.

6. The battery voltage difference updating method according to claim 5, characterized in that: The battery voltage difference updating method further includes: determining a first open circuit voltage; The initial state of charge is determined according to the first open circuit voltage.

7. The battery voltage difference updating method according to claim 6, characterized in that: Determining the first open circuit voltage comprises: The first open circuit voltage is determined as the current battery voltage according to the open circuit voltage method.

8. The battery voltage difference updating method according to claim 6, characterized in that: Determining the initial state of charge according to the first open circuit voltage includes: The initial state of charge is determined by querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage.

9. The battery voltage difference updating method according to claim 3, characterized in that: Determining the first state of charge according to the second battery state of charge and the first battery actual capacity includes: The first state of charge is determined according to the second battery state of charge and the actual capacity of the first battery by using the Coulomb integration method.

10. The battery voltage difference updating method according to claim 9, characterized in that: Determining the first state of charge according to the second battery state of charge and the first battery actual capacity by using the Coulomb integration method includes: The first state of charge is determined by the Coulomb integration method according to the second battery state of charge, the current battery current, the difference between the current time and the last time the battery current was obtained, and the actual capacity of the first battery.

11. The battery voltage difference updating method according to claim 10, characterized in that: The Coulomb integration method is: ; Among them, SOC1 is the first state of charge, SOC0 is the second battery state of charge, I bat is the current battery current, Q is the difference between the current time and the last time the battery current was obtained. abs is the actual capacity of the first battery.

12. The battery voltage difference updating method according to claim 1, characterized in that: Determining the first battery voltage difference according to the first battery state of charge includes: querying the reference open circuit voltage-state of charge curve corresponding to the first battery state of charge as the second open circuit voltage; The first battery voltage difference when the battery is discharged is determined to be a difference between the second open circuit voltage and the current battery voltage.

13. The battery voltage difference updating method according to claim 1, characterized in that: Before updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference, the battery voltage difference updating method includes: It is determined that the absolute value of the difference between the second battery pressure difference and the third battery pressure difference is smaller than the maximum allowable pressure difference change value.

14. The battery voltage difference updating method according to claim 1, characterized in that: The preset battery voltage difference-state of charge correspondence relationship includes: Preset the corresponding relationship between battery voltage difference and state of charge at different temperatures; The battery voltage difference updating method further includes: Detect the current battery temperature; The updating of the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference comprises: The battery voltage difference-state of charge correspondence at different temperatures is updated according to the second battery voltage difference and the battery temperature.

15. A method for estimating power consumption, characterized in that: The power estimation method comprises: Preset battery voltage difference-charge state correspondence; detecting a first battery state of charge; determining a first battery voltage difference according to the first battery state of charge, wherein the battery voltage difference-state of charge correspondence relationship includes a reference open circuit voltage-state of charge curve, and the first battery voltage difference is a difference between a reference open circuit voltage corresponding to the first battery state of charge in the reference open circuit voltage-state of charge curve and a current battery voltage when the battery is discharged; Performing a univariate linear regression on the first battery voltage difference to determine a second battery voltage difference; updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference; According to the updated battery voltage difference-state of charge correspondence relationship, determining the battery state of charge change value when the battery is discharged to the cut-off voltage through simulation; estimating the remaining capacity of the battery according to the battery state of charge change value; Among them, the equation obtained by performing the univariate linear regression is: ; in, ; Wherein, y is the second battery voltage difference, x is the change value of the first battery state of charge during the current linear regression and the first battery state of charge during the previous linear regression, n is the number of the first battery voltage difference between the current linear regression and the previous linear regression, y i is the first battery voltage difference of the ith time, x i is the first battery state of charge of the ith time.

16. The method for estimating power as claimed in claim 15, characterized in that: Determining the first battery voltage difference according to the first battery state of charge includes: A first battery voltage difference when the battery is discharged at different rates is determined according to the first battery state of charge.

17. The method for estimating power as claimed in claim 15, characterized in that: The power estimation method further includes: detecting a state of charge of the second battery and an actual capacity of the first battery; Determine a first state of charge according to the state of charge of the second battery and an actual capacity of the first battery; The first battery state of charge is determined based on the first state of charge.

18. The method for estimating power as claimed in claim 17, characterized in that: The power estimation method further includes: determining a second state of charge according to the second battery state of charge; A third battery state of charge is determined according to the first state of charge and the second state of charge.

19. The method for estimating power consumption according to claim 17, wherein: When the first state of charge is determined for the first time, the second battery state of charge is an initial state of charge, and the actual capacity of the first battery is a preset capacity.

20. The method for estimating power as claimed in claim 19, characterized in that: The power estimation method further includes: determining a first open circuit voltage; The initial state of charge is determined according to the first open circuit voltage.

21. The method for estimating power as claimed in claim 20, characterized in that: Determining the first open circuit voltage comprises: The first open circuit voltage is determined as the current battery voltage according to the open circuit voltage method.

22. The method for estimating power as claimed in claim 20, characterized in that: Determining the initial state of charge according to the first open circuit voltage includes: The initial state of charge is determined by querying the battery voltage difference-state of charge correspondence relationship according to the first open circuit voltage.

23. The method for estimating power as claimed in claim 17, characterized in that: Determining the first state of charge according to the second battery state of charge and the first battery actual capacity includes: The first state of charge is determined according to the second battery state of charge and the actual capacity of the first battery by using the Coulomb integration method.

24. The method for estimating power as claimed in claim 23, characterized in that: Determining the first state of charge according to the second battery state of charge and the first battery actual capacity by using the Coulomb integration method includes: The first state of charge is determined by the Coulomb integration method according to the second battery state of charge, the current battery current, the difference between the current time and the last time the battery current was obtained, and the actual capacity of the first battery.

25. The method for estimating power as claimed in claim 24, characterized in that: The Coulomb integration method is: ; Among them, SOC1 is the first state of charge, SOC0 is the second battery state of charge, I bat is the current battery current, Q is the difference between the current time and the last time the battery current was obtained. abs is the actual capacity of the first battery.

26. The method for estimating power as claimed in claim 15, characterized in that: Determining the first battery voltage difference according to the first battery state of charge includes: querying the reference open circuit voltage-state of charge curve corresponding to the first battery state of charge as the second open circuit voltage; The first battery voltage difference when the battery is discharged is determined to be a difference between the second open circuit voltage and the current battery voltage.

27. The method for estimating power as claimed in claim 15, characterized in that: Before updating the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference, the power estimation method includes: It is determined that the absolute value of the difference between the second battery pressure difference and the third battery pressure difference is smaller than the maximum allowable pressure difference change value.

28. The method for estimating power consumption according to claim 15, wherein: The preset battery voltage difference-state of charge correspondence relationship includes: Preset the corresponding relationship between battery voltage difference and state of charge at different temperatures; The power estimation method further includes: Detect the current battery temperature; The updating of the battery voltage difference-state of charge correspondence relationship according to the second battery voltage difference comprises: The battery voltage difference-state of charge correspondence at different temperatures is updated according to the second battery voltage difference and the battery temperature.

29. The method for estimating power as claimed in claim 28, characterized in that: Determining the battery state of charge change value when the battery is discharged to the cut-off voltage by simulation according to the updated battery voltage difference-state of charge correspondence relationship includes: Update the ratio coefficient table of the first battery pressure difference corresponding to different battery states of charge at different temperatures at a preset discharge rate and the first battery pressure difference corresponding to different battery states of charge at a preset temperature according to the updated battery pressure difference-state of charge correspondence relationship; According to the updated ratio coefficient table, the change value of the battery state of charge when the battery is discharged to the cut-off voltage is determined through simulation.

30. The method for estimating electric quantity according to claim 29, characterized in that: Determining the battery state of charge change value when the battery is discharged to the cut-off voltage by simulation according to the updated ratio coefficient table includes: Determine the current battery state of charge; estimating a current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table; Determining whether the current voltage of the battery is less than or equal to the cut-off voltage; If the current voltage of the battery is greater than the cut-off voltage, continue to determine the current state of charge of the battery, and estimate the current voltage of the battery according to the current state of charge of the battery, the current battery temperature and the updated ratio coefficient table until the current voltage of the battery is less than or equal to the cut-off voltage; If the current voltage of the battery is less than or equal to the cut-off voltage, a battery state of charge change value when the battery is discharged to the cut-off voltage is determined.

31. The method for estimating electric quantity according to claim 30, characterized in that: Determining the current battery state of charge includes: Detect the previous battery charge state; The current battery state of charge is estimated according to the previous battery state of charge.

32. The method for estimating electric quantity according to claim 31, characterized in that: When the current voltage of the battery is first estimated: The detecting of the previous battery charge state includes: detecting a battery state of charge at the start of the simulation; The estimating the current battery state of charge according to the previous battery state of charge includes: The current battery state of charge is estimated according to the battery state of charge at the start of the simulation.

33. The method for estimating electric quantity according to claim 30, characterized in that: The estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table includes: estimating a current open circuit voltage according to the current battery state of charge; estimating a current battery pressure difference according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table; The current voltage of the battery is estimated according to the current open circuit voltage and the current battery voltage difference.

34. The method for estimating electric quantity according to claim 33, wherein: The estimating the current battery voltage difference according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table includes: estimating the pressure difference coefficient corresponding to the discharge current of the battery according to the updated ratio coefficient table; The current battery pressure difference is estimated according to the current battery state of charge, the current battery temperature and the pressure difference coefficient.

35. The method for estimating electric quantity according to claim 34, characterized in that: The method of estimating the pressure difference coefficient corresponding to the discharge current of the battery according to the updated ratio coefficient table includes: By formula Estimate the pressure difference coefficient corresponding to the discharge current of the battery, where k is the pressure difference coefficient corresponding to the discharge current of the battery, The updated ratio coefficient table, I is the discharge current of the battery, and MC is the preset discharge rate.

36. The method for estimating electric quantity according to claim 34, characterized in that: The estimating the current battery pressure difference according to the current battery state of charge, the current battery temperature and the pressure difference coefficient comprises: By formula Estimate the current battery voltage difference, where is the current battery voltage difference, The corresponding relationship between battery voltage difference and state of charge at a preset discharge rate and temperature is: is the preset temperature, and k is the corresponding pressure difference coefficient under the discharge current of the battery.

37. The method for estimating electric quantity according to claim 30, wherein: Before estimating the current voltage of the battery according to the current battery state of charge, the current battery temperature and the updated ratio coefficient table, the power estimation method further includes: Estimate the current battery temperature.

38. The method for estimating electric quantity according to claim 37, wherein: The estimated current battery temperature includes: Detect the last battery temperature; Estimate the current battery temperature change; The current battery temperature is estimated according to the previous battery temperature and the current battery temperature change.

39. The method for estimating electric quantity according to claim 38, characterized in that: The estimated current battery temperature change includes: By formula To estimate the current battery temperature change, where c is the specific heat capacity of the battery, m is the mass of the battery, is the current battery temperature change, I is the battery discharge current, R is the current battery impedance, T is the previous battery temperature, is the entropy coefficient of the battery, h is the heat dissipation coefficient of the battery, S is the surface area of ​​the battery, is the ambient temperature.

40. The method for estimating electric quantity according to claim 39, wherein: In the formula Before estimating the current battery temperature change, the power estimation method further includes: The battery terminal voltage is estimated by querying the updated battery voltage difference-charge state correspondence relationship according to the current battery charge state; According to the formula To estimate the current battery impedance, where R is the current battery impedance, V is the battery terminal voltage, and I is the battery discharge current.

41. The method for estimating power as claimed in claim 15, characterized in that: The estimating the remaining capacity of the battery according to the battery state of charge change value comprises: according to To estimate the remaining capacity of the battery, is the remaining capacity of the battery, is the battery state of charge change value, is the actual capacity of the second battery.

42. The method for estimating electric quantity according to claim 41, characterized in that: After estimating the remaining capacity of the battery according to the battery state of charge change value, the power estimation method further includes: Estimated full charge capacity of the battery; The remaining power of the battery is estimated according to the remaining capacity of the battery and the full charge capacity of the battery.

43. The method for estimating electric quantity according to claim 42, wherein: The estimated full charge capacity of the battery includes: By formula Estimate the full charge capacity of the battery, where FCC is the full charge capacity of the battery, Qstar is the capacity of the battery released in the state of charge before the first charge and discharge state after full charge; Qpast is the capacity of the battery released before the simulation starts after the state of charge, and Qres is the remaining capacity of the battery.

44. The method for estimating electric quantity according to claim 42, wherein: The estimating the remaining power of the battery according to the remaining capacity of the battery and the full charge capacity of the battery includes: By formula Estimate the remaining power of the battery, where RSOC is the remaining power of the battery, Qres is the remaining capacity of the battery, and FCC is the full charge capacity of the battery.

45. 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 pressure difference updating method as described in any one of claims 1 to 14 or the power estimation method as described in any one of claims 15 to 44.

46. ​​A storage medium having at least one computer instruction stored thereon, characterized in that: The computer instructions are loaded by a processor to execute the battery voltage difference updating method as described in any one of claims 1-14 or the power estimation method as described in any one of claims 15-44.

Citation Information

Patent Citations

  • Vehicular power supply system

    JP2017085810A

  • Secondary battery system

    JP2019106794A