CN110927590A - Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium - Google Patents

Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN110927590A
CN110927590A CN201911302118.9A CN201911302118A CN110927590A CN 110927590 A CN110927590 A CN 110927590A CN 201911302118 A CN201911302118 A CN 201911302118A CN 110927590 A CN110927590 A CN 110927590A
Authority
CN
China
Prior art keywords
battery
real
time
circuit voltage
open
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911302118.9A
Other languages
Chinese (zh)
Inventor
谢红斌
张俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911302118.9A priority Critical patent/CN110927590A/en
Publication of CN110927590A publication Critical patent/CN110927590A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3835Arrangements for monitoring battery or accumulator variables, e.g. SoC involving only voltage measurements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The application relates to a method and a device for estimating the residual electric quantity of a battery, an electronic device and a computer readable storage medium, comprising the following steps: and acquiring real-time open-circuit voltage of the battery, and acquiring real-time discharge depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharge depth of the battery according to the real-time open-circuit voltage. And obtaining the real-time residual electric quantity of the battery according to the real-time discharge depth. The open-circuit voltage is obtained in real time, the accuracy of the obtained open-circuit voltage is greatly improved, the corresponding relation between the open-circuit voltage and the depth of discharge of the battery is calculated in advance, then the real-time depth of discharge corresponding to the real-time open-circuit voltage can be directly searched from the corresponding relation after the real-time open-circuit voltage of the battery is obtained, and the real-time residual electric quantity of the battery is obtained according to the real-time depth of discharge. Therefore, the smooth change of the residual capacity of the battery is realized, and the occurrence of abnormal conditions such as power jump is reduced.

Description

Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for estimating remaining battery capacity, an electronic device, and a computer-readable storage medium.
Background
With the popularization and wide application of electronic devices, people can not leave the electronic devices in daily life, and the use frequency of the electronic devices is higher and higher. Batteries are particularly important as an important component for powering electronic devices. The battery remaining capacity (SOC) is an important parameter for describing the current State of the battery, and plays an important role in the field of battery management. The traditional method for estimating the remaining battery capacity cannot accurately estimate the remaining battery capacity, so that the situation that the battery capacity display is rapidly jumped under low battery capacity or the battery remaining capacity does not reach a low battery capacity value but is suddenly shut down often occurs. Therefore, it is desirable to provide a method for estimating the remaining battery capacity to improve such a situation.
Disclosure of Invention
The embodiment of the application provides a method and a device for estimating the remaining battery capacity, electronic equipment and a computer-readable storage medium, which can improve the accuracy of estimating the remaining battery capacity.
A battery remaining capacity estimation method, comprising:
acquiring real-time open-circuit voltage of a battery;
acquiring real-time discharge depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharge depth of the battery according to the real-time open-circuit voltage;
and obtaining the real-time residual electric quantity of the battery according to the real-time discharge depth.
A battery remaining capacity estimation device comprising:
the open-circuit voltage detection module is used for acquiring the real-time open-circuit voltage of the battery;
the discharging depth obtaining module is used for obtaining the real-time discharging depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharging depth of the battery according to the real-time open-circuit voltage;
and the residual electric quantity acquisition module is used for acquiring the real-time residual electric quantity of the battery according to the real-time discharge depth.
An electronic device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the above method.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as above.
The method, the device, the electronic equipment and the computer readable storage medium for estimating the residual electric quantity of the battery acquire the real-time open-circuit voltage of the battery, and acquire the real-time discharge depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharge depth of the battery according to the real-time open-circuit voltage. And obtaining the real-time residual electric quantity of the battery according to the real-time discharge depth. The open-circuit voltage is obtained in real time, the accuracy of the obtained open-circuit voltage is greatly improved, the corresponding relation between the open-circuit voltage and the depth of discharge of the battery is calculated in advance, then the real-time depth of discharge corresponding to the real-time open-circuit voltage can be directly searched from the corresponding relation after the real-time open-circuit voltage of the battery is obtained, and the real-time residual electric quantity of the battery is obtained according to the real-time depth of discharge. Therefore, the smooth change of the residual capacity of the battery is realized, and the occurrence of abnormal conditions such as power jump is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for estimating remaining battery power;
FIG. 2 is a flowchart of a method for estimating remaining battery power according to an embodiment;
FIG. 3 is a flowchart of a method for estimating remaining battery power according to another embodiment;
FIG. 4 is a flow chart of a method of calculating a real-time open circuit voltage of a battery while the battery is in a charged or discharged state;
FIG. 5 is a flow chart of a method for estimating remaining battery power in an exemplary embodiment;
FIG. 6 is a block diagram showing the structure of a remaining battery capacity estimating apparatus according to an embodiment;
FIG. 7 is a block diagram showing a configuration of a remaining battery power estimating apparatus according to another embodiment;
fig. 8 is a schematic diagram of an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
Fig. 1 is a schematic diagram of an application environment of the method for estimating remaining battery power in a charging process according to an embodiment. As shown in fig. 1, the application environment includes an electronic device 100 and a charger 200, and the charger 200 may be a wired charger or a wireless charger. The electronic device 100 may be charged by the wired charger 200 in a wired manner, and the electronic device 100 may be charged by the wireless charger 200 in a wireless manner. The electronic device 100 includes at least one battery 110 and a charging module 120. The electronic device 100 may perform deformation detection on the battery to obtain a deformation detection result, and perform charge and discharge frequency monitoring on the battery to obtain the current charge and discharge frequency. And controlling the charging process of the battery according to the deformation detection result and the current charging and discharging times. It is understood that the electronic device 100 is not limited to various mobile phones, computers, portable devices, digital cameras, electric vehicles, and other devices using batteries.
The battery herein refers to a rechargeable battery, and includes a lithium battery, a nickel cadmium battery, a nickel metal hydride battery, and the like. Among them, the lithium battery is a type of battery using a nonaqueous electrolyte solution with lithium metal or a lithium alloy as a negative electrode material. A nickel-cadmium battery is an alkaline accumulator, its positive plate is nickel hydroxide, its negative plate is cadmium, and its electrolyte is potassium hydroxide or sodium hydroxide solution. The nickel-metal hydride battery is a storage battery with good performance, and is divided into a high-voltage nickel-metal hydride battery and a low-voltage nickel-metal hydride battery. The positive active material of the nickel-metal hydride battery is Ni (OH)2 (named as NiO electrode), the negative active material is metal hydride, also named as hydrogen storage alloy (the electrode is named as hydrogen storage electrode), and the electrolyte is 6mol/L potassium hydroxide solution.
Fig. 2 is a flowchart illustrating a method for estimating remaining battery capacity according to an embodiment, and as shown in fig. 2, the method for estimating remaining battery capacity includes steps 210 to 250, which are applied to an electronic device.
Step 210, acquiring a real-time open-circuit voltage of the battery.
The terminal voltage of the battery in the Open state is referred to as an Open Circuit Voltage (OCV). The open circuit voltage of a battery is equal to the difference between the positive electrode potential and the negative electrode potential of the battery when the battery is open circuited (i.e., when no current is passing through the two electrodes). The State of Charge (SOC) refers to the ratio of the amount of electricity available in the battery to the full Charge of the battery, and is generally expressed as a percentage.
And acquiring the open-circuit voltage of the battery in real time in the actual use process of the battery. Specifically, the battery includes a charging state, a discharging state, a non-charging state, a non-discharging state, and the like during use. The current state of the battery is judged, and then the open-circuit voltage of the battery is obtained in real time by adopting a method for calculating the open-circuit voltage of the battery under the state, so that the accuracy of the obtained real-time open-circuit voltage of the battery is higher.
Step 230, obtaining a real-time depth of discharge corresponding to the real-time open-circuit voltage from the corresponding relationship between the open-circuit voltage and the depth of discharge of the battery according to the real-time open-circuit voltage.
Depth of discharge (DoD) represents the percentage of battery discharge to the battery rated capacity. The correspondence between the open-circuit voltage and the depth of discharge of the battery is a correspondence between the open-circuit voltage and the depth of discharge of the battery obtained by previously discharging the battery and measuring the open-circuit voltage and the depth of discharge in the discharging process. Specifically, the open circuit voltage and the depth of discharge may be plotted. After the open-circuit voltage of the battery is obtained in real time in the actual use process of the battery, the real-time discharge depth corresponding to the real-time open-circuit voltage can be directly searched in the corresponding relation, and then the real-time residual capacity of the battery can be obtained according to the real-time discharge depth.
And step 250, obtaining the real-time residual electric quantity of the battery according to the real-time discharge depth.
The remaining capacity SOC of the battery is a difference between the total capacity of the battery and a depth of discharge DoD of the battery, and a relationship between the depth of discharge DoD and the remaining capacity SOC of the battery is specifically: SOC is 1-DoD. Therefore, after the real-time discharge depth of the battery is calculated, the real-time remaining capacity of the battery is obtained according to the formula.
In the embodiment of the application, the real-time open-circuit voltage of the battery is obtained, and the real-time depth of discharge corresponding to the real-time open-circuit voltage is obtained from the corresponding relation between the open-circuit voltage and the depth of discharge of the battery according to the real-time open-circuit voltage. And obtaining the real-time residual electric quantity of the battery according to the real-time discharge depth. The open-circuit voltage is obtained in real time, the accuracy of the obtained open-circuit voltage is greatly improved, the corresponding relation between the open-circuit voltage and the discharge depth of the battery is calculated in advance, then the real-time discharge depth corresponding to the real-time open-circuit voltage can be directly searched in the corresponding relation after the real-time open-circuit voltage of the battery is obtained, and the real-time residual electric quantity of the battery is obtained according to the real-time discharge depth. Therefore, the smooth change of the residual capacity of the battery is realized, and the occurrence of abnormal conditions such as power jump is reduced.
In one embodiment, as shown in fig. 3, there is provided a battery remaining capacity estimation method, further comprising:
in step 270, the battery is discharged from the initial voltage to the cut-off voltage by a predetermined current.
Step 290, calculating the open-circuit voltage of the battery and the depth of discharge corresponding to the open-circuit voltage in real time during the discharging process, and obtaining the corresponding relation between the open-circuit voltage and the depth of discharge of the battery.
Specifically, the battery is discharged from a start voltage to a cut-off voltage by a preset current in advance. Wherein the starting voltage refers to a voltage when the battery is fully charged. The cut-off voltage refers to the lowest voltage allowed when the battery is discharged, and if the battery continues to discharge after the voltage is lower than the cut-off voltage, the voltage at two ends of the battery rapidly drops to form deep discharge, so that products formed on the polar plate are not easy to recover when the polar plate is normally charged, and the service life of the battery is influenced. In the process of discharging the battery from the initial voltage to the cut-off voltage, in order to ensure smooth change of the remaining capacity of the battery, the longer the discharge time is, the better the discharge time is, the small current is generally adopted to discharge the battery from the initial voltage to the cut-off voltage.
For example, the cell is discharged from the initial voltage to the cutoff voltage with a current of 0.01C-rate. The initial voltage of the cell was assumed to be 4.4V and the cut-off voltage was 3.0V. Obtaining a relation V-Q between voltage and electric quantity in the discharging process, and then dividing the electric quantity Q by the designed capacity or the maximum capacity value (assumed as 3000mAh) of the battery to obtain the discharging depth DOD of the battery, wherein the open-circuit voltage OCV is known, and then a relation graph between the open-circuit voltage OCV and the discharging depth DOD can be obtained.
In the embodiment of the application, because the battery is discharged from the initial voltage to the cut-off voltage by adopting the small current, the change of the open-circuit voltage is smooth in the discharging process, and the calculated discharging depth is accurate. And then the accuracy of the obtained corresponding relation between the open-circuit voltage and the discharge depth of the battery is higher, so that the real-time discharge depth corresponding to the real-time open-circuit voltage can be directly searched from the corresponding relation after the real-time open-circuit voltage of the battery is obtained in the actual use, and the real-time residual electric quantity of the battery is obtained according to the real-time discharge depth.
In one embodiment, the preset current is less than a first preset current threshold, which is a maximum current threshold for the battery to smoothly change the open-circuit voltage during the discharging process.
In the embodiment of the application, because the battery is discharged from the initial voltage to the cut-off voltage by adopting the small current, the change of the open-circuit voltage is smooth in the discharging process, and the calculated discharging depth is accurate. Thus, the preset current is exemplarily smaller than the first preset current threshold. The first preset current threshold may be a maximum current threshold obtained through multiple experiments, where the open-circuit voltage change is relatively smooth in the discharging process, for example, the first preset current threshold is a current with a rate of 0.05C, that is, the preset current is a current with a rate less than 0.05C. Of course, other reasonable values may be adopted, as long as it can satisfy that the open-circuit voltage change in the discharging process is relatively smooth, which is not limited in the present application.
In one embodiment, step 210, obtaining a real-time open circuit voltage of a battery comprises:
when the battery is in a charging or discharging state, the real-time open-circuit voltage of the battery is obtained by calculating the real-time discharging depth of the battery.
Specifically, when the battery is in a charged or discharged state, the value of the current input or output by the battery is large, and the terminal voltage of the battery cannot be directly read as the open circuit voltage. The corresponding relation between the open-circuit voltage and the depth of discharge of the battery is obtained in advance, so that the depth of discharge of the battery can be obtained first, and then the open-circuit voltage of the battery is obtained according to the depth of discharge of the battery.
When the battery is in a non-charging or non-discharging state, the terminal voltage of the battery is obtained as the real-time open circuit voltage of the battery.
Specifically, when the electronic device mounted with the battery is in a standby or shutdown state, the input or output current value of the battery is small, and the battery can be considered to be in a non-charging or non-discharging state. At this time, the terminal voltage of the battery can be directly obtained as the real-time open circuit voltage of the battery.
In the embodiment of the application, different methods are respectively adopted to calculate the open-circuit voltage for different states of the battery. When the battery is in a charging or discharging state, the current value input or output by the battery is large, and the accuracy of directly reading the terminal voltage of the battery as the open-circuit voltage is low. The corresponding relation between the open-circuit voltage and the depth of discharge of the battery is obtained in advance, so that the depth of discharge of the battery can be obtained first, the open-circuit voltage of the battery is obtained according to the depth of discharge of the battery, and the obtained open-circuit voltage of the battery is accurate. When the battery is in a non-charging or non-discharging state, the current value input or output by the battery is very small, and the terminal voltage of the battery is obtained as the real-time open-circuit voltage of the battery.
In one embodiment, as shown in fig. 4, when the battery is in a charging or discharging state, acquiring the real-time open-circuit voltage of the battery by calculating the real-time depth of discharge of the battery includes:
step 420, when the battery is in a charging or discharging state, acquiring an initial terminal voltage and an initial discharging depth of the battery;
step 440, calculating the electric quantity variation of the battery in the charging or discharging process;
step 460, calculating a real-time discharge depth of the battery according to the initial discharge depth and the electric quantity variation;
and step 480, obtaining the real-time open-circuit voltage of the battery according to the real-time discharge depth of the battery.
Specifically, in the practical use of the battery, when the battery is in a discharging state, the initial terminal voltage OCV0 and the initial discharging depth DOD0 of the battery are obtained, the consumed electric quantity value is continuously subjected to charge integration in the discharging process to obtain △ Q ═ idt, then the real-time DOD value is calculated, namely DOD ═ DOD0+ △ Q/Qmax, wherein Qmax is the design capacity value of the battery or the charging and discharging capacity value in the initial state, and finally, after the real-time DOD value is calculated, the real-time open circuit voltage OCV value corresponding to the real-time DOD value can be obtained by checking the corresponding relation between OCV and DOD.
Similarly, when the battery is in a charging state, obtaining an initial terminal voltage OCV0 and an initial depth of discharge DOD0 of the battery, continuously performing charge integration on a charged electric quantity value in the charging process to obtain △ Q ═ idt, then calculating a real-time DOD value, namely DOD ═ DOD0- △ Q/Qmax, wherein Qmax is a design capacity value of the battery or a charge-discharge capacity value in the initial state, and finally, after calculating the real-time DOD value, checking the corresponding relation between the OCV and the DOD to obtain a real-time open circuit voltage OCV value corresponding to the real-time DOD value.
In the embodiment of the application, when the battery is in a charging or discharging state, the initial terminal voltage and the initial discharging depth of the battery are obtained. And calculating the quantity of change of the electric quantity of the battery in the charging or discharging process. And calculating the real-time discharge depth of the battery according to the initial discharge depth and the electric quantity variation, and obtaining the real-time open-circuit voltage of the battery according to the real-time discharge depth of the battery. The real-time open-circuit voltage of the battery can be accurately measured in real time under the charging or discharging state by calculating the electric quantity variation of the battery in the charging or discharging process according to the initial discharging depth and the electric quantity variation and then acquiring the real-time open-circuit voltage of the battery from the corresponding relation between the open-circuit voltage and the discharging depth of the battery.
In one embodiment, there is also provided a battery remaining capacity estimation method including:
judging whether the battery is in a non-charging or non-discharging state;
and when the standing time of the battery is smaller than a preset time threshold value, or the continuous current of the battery is smaller than a second preset current threshold value, or the voltage change rate of the battery is smaller than a preset voltage change rate threshold value, judging that the battery is in a non-charging or non-discharging state.
Specifically, when the electronic device mounted with the battery is in a standby or shutdown state, the input or output current value of the battery is small, and the battery can be considered to be in a non-charging or non-discharging state. At this time, the terminal voltage of the battery can be directly obtained as the real-time open circuit voltage of the battery.
When the standing time of the battery is smaller than a preset time threshold, or the continuous current of the battery is smaller than a second preset current threshold, or the voltage change rate of the battery is smaller than a preset voltage change rate threshold, the three conditions at least meet one condition, and the battery is considered to be in a non-charging or non-discharging state. For example, the preset time threshold may be 20min, the second preset current threshold may be 20mA, and the voltage rate threshold may be 5 uV/s. Of course, the preset time threshold, the second preset current threshold and the voltage change rate threshold may also adopt other reasonable values, which is not limited in the present application.
In the embodiment of the application, whether the battery is in a non-charging or non-discharging state is judged, and if yes, the terminal voltage of the battery can be directly obtained to be used as the real-time open-circuit voltage of the battery. And when the battery is in a charging or discharging state, acquiring the real-time open-circuit voltage of the battery by calculating the real-time discharging depth of the battery.
In one embodiment, there is also provided a battery remaining capacity estimation method including:
step 260, detecting the real-time output current of the battery; and predicting the shutdown time of the electronic equipment powered by the battery according to the real-time residual capacity of the battery and the real-time output current of the battery.
In the embodiment of the application, after the real-time residual capacity of the battery is obtained, the real-time output current of the battery is detected, the time length which can be suitable for the electronic equipment powered by the battery can be estimated according to the real-time residual capacity of the battery and the real-time output current of the battery, and the shutdown time of the electronic equipment powered by the battery can be predicted based on the time length. In the application, based on the acquired real-time open-circuit voltage of the battery, the real-time depth of discharge corresponding to the real-time open-circuit voltage is acquired from the corresponding relation between the open-circuit voltage and the depth of discharge of the battery according to the real-time open-circuit voltage, and then the real-time remaining electric quantity of the battery is acquired according to the real-time depth of discharge. The smooth change of the residual electric quantity of the battery is realized, and the occurrence of abnormal conditions such as power jumping and the like is reduced. Therefore, the shutdown time of the electronic equipment powered by the battery can be accurately predicted based on the real-time residual capacity of the battery, so that the trouble of normal use of a user caused by power jumping is avoided.
In a specific embodiment, as shown in fig. 5, there is provided a battery remaining capacity estimation method including:
step 502: discharging the battery from the initial voltage to the cut-off voltage through a preset current with 0.01C multiplying power;
step 504: calculating the open-circuit voltage of the battery and the depth of discharge corresponding to the open-circuit voltage in real time in the discharging process to obtain the corresponding relation between the open-circuit voltage and the depth of discharge of the battery;
step 506: dividing the open-circuit voltage of the battery into 100 equal parts as a reference for displaying electric quantity;
step 508: starting discharge;
step 510: judging whether the battery is in a non-charging or non-discharging state;
step 512: when the standing time of the battery is less than a preset time threshold value for 20min, or the continuous current of the battery is less than a second preset current threshold value for 20mA, or the voltage change rate of the battery is less than a preset voltage change rate threshold value for 5uV/s, judging that the battery is in a non-charging or non-discharging state, and acquiring the terminal voltage of the battery as the real-time open-circuit voltage of the battery.
Step 514: if not, acquiring the initial terminal voltage OCV0 and the initial depth of discharge DOD0 of the battery;
step 516, calculating the electric quantity variation △ Q ═ idt of the battery in the charging or discharging process;
step 518, calculating the real-time discharge depth of the battery according to the initial discharge depth DOD0 and the electric quantity variation △ Q ═ idt;
step 520: obtaining real-time open-circuit voltage of the battery according to the real-time discharge depth of the battery;
step 522: acquiring real-time discharge depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharge depth of the battery according to the real-time open-circuit voltage;
step 524: obtaining the real-time residual electric quantity of the battery according to the real-time discharge depth;
step 526: and predicting the shutdown time of the electronic equipment powered by the battery according to the real-time residual capacity of the battery.
In the embodiment of the application, firstly, it is determined that the battery is in a non-charging or non-discharging state, and the terminal voltage of the battery is obtained as the real-time open-circuit voltage of the battery. And if the battery is in a charging or discharging state, acquiring the real-time open-circuit voltage of the battery by calculating the real-time discharging depth of the battery. And secondly, acquiring real-time discharge depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharge depth of the battery according to the real-time open-circuit voltage, and acquiring real-time residual electric quantity of the battery according to the real-time discharge depth. And finally, predicting the shutdown time of the electronic equipment powered by the battery according to the real-time residual capacity of the battery. Because the open-circuit voltage is obtained in real time, the accuracy of the obtained open-circuit voltage is greatly improved. When the corresponding relation between the open-circuit voltage and the depth of discharge of the battery is obtained, the battery is discharged from the initial voltage to the cut-off voltage by adopting small current, the change of the open-circuit voltage is smooth in the discharging process, and the calculated depth of discharge is accurate. And the accuracy of the corresponding relation between the open-circuit voltage and the discharge depth of the obtained battery is higher, and the occurrence of abnormal conditions such as power jumping is reduced.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, there is provided a battery remaining capacity estimation apparatus 600 including: an open circuit voltage detection module 610, a depth of discharge acquisition module 630, and a remaining power acquisition module 650, wherein,
an open circuit voltage detection module 610 for obtaining a real-time open circuit voltage of the battery;
a depth of discharge obtaining module 630, configured to obtain a real-time depth of discharge corresponding to the real-time open-circuit voltage from a corresponding relationship between the open-circuit voltage and the depth of discharge of the battery according to the real-time open-circuit voltage;
and a remaining power acquiring module 650 configured to acquire a real-time remaining power of the battery according to the real-time discharge depth.
In one embodiment, as shown in fig. 7, there is provided a remaining battery capacity estimation apparatus 600, further comprising a corresponding relation obtaining module 670 for obtaining a corresponding relation between an open-circuit voltage and a discharge depth, configured to discharge a battery from a start voltage to a cut-off voltage by a preset current; and calculating the open-circuit voltage of the battery and the depth of discharge corresponding to the open-circuit voltage in real time in the discharging process to obtain the corresponding relation between the open-circuit voltage and the depth of discharge of the battery.
In one embodiment, the preset current is less than a first preset current threshold, which is a maximum current threshold for the battery to smoothly change the open-circuit voltage during the discharging process.
In one embodiment, the open circuit voltage detection module 610 includes:
the first detection unit is used for acquiring the real-time open-circuit voltage of the battery by calculating the real-time discharge depth of the battery when the battery is in a charging or discharging state.
In one embodiment, the open circuit voltage detection module 610 includes:
and the second detection unit is used for acquiring the terminal voltage of the battery as the real-time open-circuit voltage of the battery when the battery is in a non-charging or non-discharging state.
In one embodiment, the first detection unit is further configured to obtain an initial terminal voltage and an initial depth of discharge of the battery when the battery is in a charging or discharging state; calculating the electric quantity variation of the battery in the charging or discharging process; calculating the real-time discharge depth of the battery according to the initial discharge depth and the electric quantity variation; and obtaining the real-time open-circuit voltage of the battery according to the real-time discharge depth of the battery.
In one embodiment, a device 600 for estimating remaining battery capacity is provided, which further includes a determining module for determining whether the battery is in a non-charging or non-discharging state; and when the standing time of the battery is smaller than a preset time threshold value, or the continuous current of the battery is smaller than a second preset current threshold value, or the voltage change rate of the battery is smaller than a preset voltage change rate threshold value, judging that the battery is in a non-charging or non-discharging state.
In one embodiment, a device 600 for estimating remaining battery power is provided, which further includes a power-off time prediction module for predicting a power-off time of an electronic apparatus powered by a battery according to a real-time remaining power of the battery.
The division of each module in the device for estimating remaining battery power is only used for illustration, in other embodiments, the device for estimating remaining battery power may be divided into different modules as required to complete all or part of the functions of the device for estimating remaining battery power.
Fig. 8 is a schematic diagram of an internal structure of an electronic device in one embodiment. As shown in fig. 8, the electronic device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program is executable by a processor for implementing a method for estimating remaining battery capacity provided in the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The electronic device may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc.
The implementation of each module in the battery remaining capacity estimation apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the battery remaining estimation method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a battery remaining capacity estimation method.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method for estimating a remaining capacity of a battery, comprising:
acquiring real-time open-circuit voltage of a battery;
acquiring real-time discharge depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharge depth of the battery according to the real-time open-circuit voltage;
and obtaining the real-time residual electric quantity of the battery according to the real-time discharge depth.
2. The method of claim 1, further comprising:
discharging the battery from a starting voltage to a cut-off voltage by a preset current;
and calculating the open-circuit voltage of the battery and the depth of discharge corresponding to the open-circuit voltage in real time in the discharging process to obtain the corresponding relation between the open-circuit voltage and the depth of discharge of the battery.
3. The method of claim 2, wherein the predetermined current is less than a first predetermined current threshold, and the first predetermined current threshold is a maximum current threshold at which the battery can smoothly change the open circuit voltage during the discharging process.
4. The method of claim 1, wherein obtaining the real-time open circuit voltage of the battery comprises:
and when the battery is in a non-charging or non-discharging state, acquiring the terminal voltage of the battery as the real-time open-circuit voltage of the battery.
5. The method of claim 4, further comprising:
judging whether the battery is in a non-charging or non-discharging state;
and when the standing time of the battery is smaller than a preset time threshold, or the continuous current of the battery is smaller than a second preset current threshold, or the voltage change rate of the battery is smaller than a preset voltage change rate threshold, judging that the battery is in a non-charging or non-discharging state.
6. The method of claim 1, wherein obtaining the real-time open circuit voltage of the battery comprises:
and when the battery is in a charging or discharging state, acquiring the real-time open-circuit voltage of the battery by calculating the real-time discharging depth of the battery.
7. The method of claim 6, wherein obtaining the real-time open-circuit voltage of the battery by calculating the real-time depth of discharge of the battery when the battery is in a charged or discharged state comprises:
when the battery is in a charging or discharging state, acquiring an initial terminal voltage and an initial discharging depth of the battery;
calculating the electric quantity variation of the battery in the charging or discharging process;
calculating the real-time discharge depth of the battery according to the initial discharge depth and the electric quantity variation;
and obtaining the real-time open-circuit voltage of the battery according to the real-time discharge depth of the battery.
8. The method of claim 1, further comprising:
detecting the real-time output current of the battery;
and predicting the shutdown time of the electronic equipment powered by the battery according to the real-time residual capacity of the battery and the real-time output current of the battery.
9. A remaining battery capacity estimation device, comprising:
the open-circuit voltage detection module is used for acquiring the real-time open-circuit voltage of the battery;
the discharging depth obtaining module is used for obtaining the real-time discharging depth corresponding to the real-time open-circuit voltage from the corresponding relation between the open-circuit voltage and the discharging depth of the battery according to the real-time open-circuit voltage;
and the residual electric quantity acquisition module is used for acquiring the real-time residual electric quantity of the battery according to the real-time discharge depth.
10. An electronic device comprising a memory and a processor, the memory having a computer program stored therein, wherein the computer program, when executed by the processor, causes the processor to perform the steps of the method for estimating remaining battery charge according to any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for estimating a remaining battery capacity according to any one of claims 1 to 8.
CN201911302118.9A 2019-12-17 2019-12-17 Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium Pending CN110927590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911302118.9A CN110927590A (en) 2019-12-17 2019-12-17 Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911302118.9A CN110927590A (en) 2019-12-17 2019-12-17 Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN110927590A true CN110927590A (en) 2020-03-27

Family

ID=69864056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911302118.9A Pending CN110927590A (en) 2019-12-17 2019-12-17 Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110927590A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698224A (en) * 2020-12-03 2021-04-23 Oppo广东移动通信有限公司 Remaining power estimation method, device, equipment and readable storage medium
CN112834935A (en) * 2020-12-31 2021-05-25 东软睿驰汽车技术(沈阳)有限公司 Method and device for obtaining battery cell open-circuit voltage
CN112858938A (en) * 2021-02-20 2021-05-28 Oppo广东移动通信有限公司 Electric quantity calculation method and device, storage medium and electronic equipment
CN113241825A (en) * 2021-05-21 2021-08-10 东莞新能安科技有限公司 Battery discharging under-voltage protection method, battery device and electric device
CN113764296A (en) * 2020-06-01 2021-12-07 嘉兴阿特斯技术研究院有限公司 Battery testing method and device, electronic equipment and computer readable storage medium
CN115656845A (en) * 2022-10-27 2023-01-31 拓尔微电子股份有限公司 Battery electric quantity calculation method and device, terminal and storage medium
CN115882554A (en) * 2022-11-29 2023-03-31 厦门海辰储能科技股份有限公司 Management method of energy storage system and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105403837A (en) * 2012-09-14 2016-03-16 联发科技股份有限公司 System and method for determining remaining battery capacity of battery device
CN106646256A (en) * 2016-12-21 2017-05-10 惠州Tcl金能电池有限公司 Battery capacity calculating method
US20180292463A1 (en) * 2017-04-10 2018-10-11 Lear Corporation Method and system for battery state of charge calculation
CN110568373A (en) * 2019-07-29 2019-12-13 深圳市科陆电子科技股份有限公司 Lithium battery health state evaluation method, system, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105403837A (en) * 2012-09-14 2016-03-16 联发科技股份有限公司 System and method for determining remaining battery capacity of battery device
CN106646256A (en) * 2016-12-21 2017-05-10 惠州Tcl金能电池有限公司 Battery capacity calculating method
US20180292463A1 (en) * 2017-04-10 2018-10-11 Lear Corporation Method and system for battery state of charge calculation
CN110568373A (en) * 2019-07-29 2019-12-13 深圳市科陆电子科技股份有限公司 Lithium battery health state evaluation method, system, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
日本自动车技术: "《汽车工程手册 10 新能源车辆设计篇》", 31 July 2014, 北京理工大学出版社 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113764296A (en) * 2020-06-01 2021-12-07 嘉兴阿特斯技术研究院有限公司 Battery testing method and device, electronic equipment and computer readable storage medium
CN113764296B (en) * 2020-06-01 2023-08-22 嘉兴阿特斯技术研究院有限公司 Battery testing method and device, electronic equipment and computer readable storage medium
CN112698224A (en) * 2020-12-03 2021-04-23 Oppo广东移动通信有限公司 Remaining power estimation method, device, equipment and readable storage medium
CN112834935A (en) * 2020-12-31 2021-05-25 东软睿驰汽车技术(沈阳)有限公司 Method and device for obtaining battery cell open-circuit voltage
CN112858938A (en) * 2021-02-20 2021-05-28 Oppo广东移动通信有限公司 Electric quantity calculation method and device, storage medium and electronic equipment
CN113241825A (en) * 2021-05-21 2021-08-10 东莞新能安科技有限公司 Battery discharging under-voltage protection method, battery device and electric device
CN115656845A (en) * 2022-10-27 2023-01-31 拓尔微电子股份有限公司 Battery electric quantity calculation method and device, terminal and storage medium
CN115656845B (en) * 2022-10-27 2023-11-14 拓尔微电子股份有限公司 Method, device, terminal and storage medium for calculating battery electric quantity
CN115882554A (en) * 2022-11-29 2023-03-31 厦门海辰储能科技股份有限公司 Management method of energy storage system and related device
CN115882554B (en) * 2022-11-29 2023-12-26 厦门海辰储能科技股份有限公司 Management method and related device of energy storage system

Similar Documents

Publication Publication Date Title
CN110927590A (en) Method and device for estimating remaining battery capacity, electronic device, and computer-readable storage medium
JP6982445B2 (en) Battery evaluation device, battery control device, battery evaluation method, battery evaluation program, control circuit and power storage system.
JP6383500B2 (en) Storage battery control device, control method, program, power storage system, power system
JP4615439B2 (en) Secondary battery management device, secondary battery management method and program
US20230052544A1 (en) Method and apparatus for detecting lithium plating, and method and apparatus for obtaining polarization proportion
CN110429684B (en) Charging control method and device, electronic equipment and computer readable storage medium
EP3674730B1 (en) Battery diagnostic device and method
TW200415366A (en) Method and device for determining the charge that can be drawn from an energy accumulator
US10895605B2 (en) Life estimation apparatus for lithium ion secondary cell
EP3958006B1 (en) Battery diagnosis apparatus and method
CN111679206B (en) Electric quantity detection method and device, and storage medium
US20150377972A1 (en) Method for determining a state of charge and remaining operation life of a battery
CN110133536A (en) Determine system, the method and apparatus of the index of battery group object internal leakage electric current
EP3961233A1 (en) Battery cell diagnosis device and method
JP2014025738A (en) Residual capacity estimation device
CN111896877B (en) Battery detection method, device, electronic equipment and storage medium
EP3605126B1 (en) Apparatus and method for estimating soc of battery
JP6301048B1 (en) Battery management device and battery pack system
JP2012253975A (en) Charging/discharging control method for alkali storage battery, and charging/discharging system
CN112198438B (en) Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium
CN112098864A (en) Leakage current detection method and device, electronic equipment and storage medium
CN116315207B (en) Overvoltage early warning method, overvoltage early warning device and readable storage medium
JP2023515658A (en) BATTERY DEVICE AND BATTERY OUTPUT PREDICTION METHOD
JP6494431B2 (en) Deterioration diagnosis device for electricity storage devices
KR102442632B1 (en) Apparatus and method for estimating state of secondary battery

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327

RJ01 Rejection of invention patent application after publication