CN114236405B - Battery electric quantity detection method and device and portable electronic equipment - Google Patents

Battery electric quantity detection method and device and portable electronic equipment Download PDF

Info

Publication number
CN114236405B
CN114236405B CN202010929564.9A CN202010929564A CN114236405B CN 114236405 B CN114236405 B CN 114236405B CN 202010929564 A CN202010929564 A CN 202010929564A CN 114236405 B CN114236405 B CN 114236405B
Authority
CN
China
Prior art keywords
battery
temperature
voltage
terminal
state
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.)
Active
Application number
CN202010929564.9A
Other languages
Chinese (zh)
Other versions
CN114236405A (en
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.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications 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 Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to CN202010929564.9A priority Critical patent/CN114236405B/en
Publication of CN114236405A publication Critical patent/CN114236405A/en
Application granted granted Critical
Publication of CN114236405B publication Critical patent/CN114236405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving 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/3644Constructional arrangements
    • G01R31/3648Constructional arrangements comprising digital calculation means, e.g. for performing an algorithm
    • 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
    • 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/374Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC] with means for correcting the measurement for temperature or ageing
    • 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/385Arrangements for measuring battery or accumulator variables
    • G01R31/386Arrangements for measuring battery or accumulator variables using test-loads
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The application provides a method and a device for detecting battery electric quantity and portable electronic equipment, wherein the method comprises the steps of firstly acquiring the ambient temperature of a battery and the current working state of a terminal to which the battery belongs; further, determining a battery charging and discharging curve with a corresponding relation with the ambient temperature and the current working state of the terminal from the pre-stored battery charging and discharging curves under different temperature state combinations as a target curve; then obtaining the current voltage of the battery, and finally determining the battery electric quantity value corresponding to the current voltage by combining a voltage electric quantity relation table corresponding to the target curve; because the ambient temperature, the current working state and the current voltage can be acquired through the original equipment in the terminal to which the battery belongs, the method can determine the residual electric quantity by combining the pre-stored battery charge-discharge curve through the acquired information of the original equipment, and does not need to integrate an electric quantity meter chip at the battery end, so that the manufacturing cost can be reduced compared with the prior art.

Description

Battery electric quantity detection method and device and portable electronic equipment
Technical Field
The invention relates to the technical field of detection, in particular to a method and a device for detecting battery electric quantity and portable electronic equipment.
Background
Along with the gradual popularization of portable electronic products in daily applications, how to enable users to accurately know the residual electric quantity and the residual working time length of the portable electronic products in the process of being used by the users so as to improve the use experience of the users is a problem to be solved currently.
At present, in general, a current sampling resistor is used to sample charge and discharge current of a battery in real time by integrating an electricity meter chip at a battery end of a portable electronic product, and accumulate the current according to time to obtain charge and discharge electric quantity of the battery, and the electricity meter chip is used to learn and record information such as battery capacity, curve and the like so as to obtain the residual electric quantity of the portable electronic product.
However, after integrating the fuel gauge chip at the battery side of the portable electronic product, the manufacturing cost of the portable electronic product is increased.
Disclosure of Invention
In this regard, the present application provides a method and an apparatus for detecting battery power, and a portable electronic device, so as to solve the problem of excessive cost caused by the need of integrating an fuel gauge chip at a battery end of the portable electronic product when obtaining the residual power of the portable electronic product in the prior art.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
the first aspect of the application discloses a method for detecting battery power, which comprises the following steps: respectively acquiring the ambient temperature of a battery and the current working state of a terminal to which the battery belongs;
determining a battery charging and discharging curve with a corresponding relation with the environment temperature and the current working state of the terminal from pre-stored battery charging and discharging curves under different temperature state combinations as a target curve;
acquiring the current voltage of the battery;
and combining a voltage and electricity quantity relation table corresponding to the target curve to determine the battery electricity quantity value corresponding to the current voltage.
Optionally, in the above method for detecting battery power, acquiring an ambient temperature of the battery includes:
and correcting the temperature acquisition result in the terminal to obtain the environment temperature.
Optionally, in the above method for detecting battery power, if the temperature acquisition result is a temperature acquisition value of a preset working device in the terminal, the correcting the temperature acquisition result in the terminal to obtain the ambient temperature includes:
determining a temperature compensation value corresponding to the temperature acquisition value according to a preset temperature compensation equation;
and subtracting the temperature compensation value from the temperature acquisition value to obtain the environment temperature.
Optionally, in the above method for detecting battery power, if the terminal is an intercom and the preset working device is a radio frequency device, then:
when the radio frequency device is in a transmitting state, the preset temperature compensation equation is as follows:
when the radio frequency device is in a receiving state, the preset temperature compensation equation is as follows:
wherein, x represents the transmitting time length when the radio frequency device is in the transmitting state; and when the radio frequency device is in a receiving state, x represents the time length for ending transmitting, and the units are 0.1s.
Optionally, in the above method for detecting battery power, the determining, from the battery charge-discharge curves under the combination of pre-stored different temperature states, a battery charge-discharge curve having a correspondence with the ambient temperature and the current working state of the terminal, as the target curve includes:
the current working state of the terminal is equivalent to the state of the load carried by the battery;
and searching a battery charge-discharge curve corresponding to the equivalent result and the environmental temperature from the battery charge-discharge curves under the pre-stored combination of different temperature states according to the equivalent result and the environmental temperature, and taking the battery charge-discharge curve as the target curve.
Optionally, in the above method for detecting battery power, if the terminal is an intercom, the current working state of the terminal includes: a transmitting state, a receiving state and a standby state;
and the equivalent result of the receiving state and the standby state is the same.
Optionally, in the above method for detecting a battery power, after acquiring the current voltage of the battery, the method further includes:
and eliminating the jitter of the current voltage through a sliding filtering algorithm.
Optionally, in the above method for detecting battery power, the determining the battery power value corresponding to the current voltage by combining a voltage power relation table corresponding to the target curve includes:
calling a corresponding voltage and electricity relation table according to the target curve;
and determining the battery electric quantity value corresponding to the current voltage according to the corresponding relation between the voltage and the electric quantity in the voltage-electric quantity relation table.
The second aspect of the application discloses a detection device of battery power, including: a memory and a processor;
wherein the processor is used for running the program stored in the memory;
the processor, when running a program, performs a method of detecting battery charge comprising any of the methods as disclosed in the first aspect.
A third aspect of the present application discloses a portable electronic device comprising: a battery, a working device, a temperature sensor, a voltage sensor and at least one battery charge detection device as disclosed in the second aspect; wherein:
the battery is used for supplying power for the working device and the detection device;
the temperature sensor is used for detecting the temperature of the working device;
the voltage sensor is used for detecting the voltage of the battery;
the temperature sensor and the voltage sensor are both connected with the detection device.
Based on the detection method of the battery electric quantity provided by the invention, the detection method firstly obtains the ambient temperature of the battery and the current working state of the terminal to which the battery belongs; further, determining a battery charging and discharging curve with a corresponding relation with the ambient temperature and the current working state of the terminal from the pre-stored battery charging and discharging curves under different temperature state combinations as a target curve; then obtaining the current voltage of the battery, and finally determining the battery electric quantity value corresponding to the current voltage by combining a voltage electric quantity relation table corresponding to the target curve; because the ambient temperature, the current working state and the current voltage can be acquired through the original equipment in the terminal to which the battery belongs, the method can determine the residual electric quantity by combining the pre-stored battery charge-discharge curve through the acquired information of the original equipment, and does not need to integrate an electric quantity meter chip at the battery end, so that the manufacturing cost can be reduced compared with the prior art.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for detecting battery power according to an embodiment of the present application;
FIG. 2 is a flow chart for ambient temperature correction according to an embodiment of the present application;
FIGS. 3-8 are temperature profiles for 8 different temperatures and emission times provided in embodiments of the present application;
FIGS. 9 and 10 are temperature profiles for 2 different temperatures and end emission times provided in the examples of the application;
FIG. 11 is a flowchart for determining a target curve according to an embodiment of the present disclosure;
fig. 12 is a table of correspondence between voltage and electric quantity in a battery under different environmental temperatures and working states according to an embodiment of the present application;
FIG. 13 is a flowchart for determining a battery power value according to an embodiment of the present application;
fig. 14 and 15 are graphs of battery charge and discharge at 2 different temperatures and loads provided in the examples of the present application;
FIG. 16 is a graph of voltage in a battery over time at various ambient temperatures and loads provided in an embodiment of the present application;
fig. 17 is a schematic diagram of a correspondence relationship between voltage and electric quantity in a battery under different environmental temperatures and loads according to an embodiment of the present application;
FIG. 18 is a schematic diagram of a conventional device for detecting battery power;
fig. 19 is a graph of a battery voltage change in an emission state according to an embodiment of the present application;
fig. 20 is a graph of a battery voltage change in a receiving state according to an embodiment of the present disclosure;
fig. 21 is a flowchart of another method for detecting battery power according to an embodiment of the present disclosure;
fig. 22 is a schematic structural diagram of a device for detecting battery power according to an embodiment of the present disclosure;
fig. 23 is a schematic structural diagram of an electric portable electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The application provides a detection method of battery electric quantity, which aims to solve the problem of overhigh cost caused by the fact that an electric quantity meter chip is required to be integrated at a battery end of a portable electronic product when the residual electric quantity of the portable electronic product is acquired in the prior art.
Referring to fig. 1, the method for detecting the battery power mainly includes the following steps:
s101, respectively acquiring the ambient temperature of the battery and the current working state of a terminal to which the battery belongs.
The method for acquiring the environmental temperature of the battery is not particularly limited, and if the terminal to which the battery belongs is provided with the environmental temperature sensor, the environmental temperature can be directly acquired; if only a sensor for detecting the temperature of the working device is arranged in the terminal to which the battery belongs, the ambient temperature can be obtained by correcting the temperature acquisition result of the sensor.
In practical application, the temperature acquisition result in the terminal to which the battery belongs can be the result obtained by acquiring the temperature of the corresponding working device by any temperature sensor arranged in the terminal to which the battery belongs, and the mode for acquiring the temperature acquisition result is not particularly limited, and the temperature acquisition result is obtained in any mode and belongs to the protection scope of the application.
In practical application, if the battery is a battery in the interphone, the terminal to which the battery belongs is the interphone; the radio frequency device of the interphone is generally provided with a corresponding temperature sensor, so that the temperature acquisition result of the radio frequency device can be adopted for correction to obtain the ambient temperature. If the battery is a battery in other mobile terminals, the terminal to which the battery belongs is a corresponding mobile terminal, and a temperature sensor is generally arranged in key working devices in the terminal, so that the acquisition of the environmental temperature can be realized.
It should be noted that, the mobile terminal may be any portable electronic product provided with a battery in the prior art, and the type of the mobile terminal of the battery is not particularly limited in the application, and all the types belong to the protection scope of the application.
When the state of the terminal to which the battery belongs changes, the terminal to which the battery belongs or software in the terminal to which the battery belongs can carry out corresponding records, so that the current working state of the terminal to which the battery belongs can be obtained in real time directly through the terminal to which the battery belongs or the software in the terminal to which the battery belongs.
When the terminal to which the battery belongs is an interphone, the terminal is divided according to the working state of the terminal to which the battery belongs, and the current working state of the terminal to which the battery belongs generally comprises: a transmitting state, a receiving state and a standby state.
S102, determining a battery charge-discharge curve with a corresponding relation with the ambient temperature and the current working state of the terminal from the pre-stored battery charge-discharge curves under different temperature state combinations, and taking the battery charge-discharge curve as a target curve.
The inventor finds that the ambient temperature and the state of the load carried by the battery have influences on the charge and discharge characteristics of the battery, namely, different charge and discharge curves of the battery are needed under different ambient temperatures and states of the load carried by the battery; the state of the load carried by the battery is closely related to the current working state of the battery, so that in practical application, various charge and discharge curves of the battery under different environment temperatures and different battery states can be obtained through a simulation experiment or practical measurement mode. And then preset in the device performing the detection method.
Therefore, the pre-stored battery charge-discharge curves under different temperature state combinations are: multiple battery charge-discharge curves of the battery at multiple different ambient temperatures and multiple different battery states; depending on the actual application environment, various environmental temperatures and battery states within the entire possible working range can be measured respectively to increase the detection range; and the value particles of the environment temperature and the battery state can be set according to the actual application requirement, so that the accuracy of the detection result is improved under the condition of meeting the detection requirement.
S103, acquiring the current voltage of the battery.
In various existing portable electronic products with battery, corresponding battery voltage detection equipment is generally arranged; therefore, the current voltage of the battery can be obtained through the original equipment.
Of course, the current voltage of the battery can be obtained by other existing methods, and the method for obtaining the current voltage of the battery is not particularly limited and belongs to the protection scope of the application.
S104, combining a voltage and electricity quantity relation table corresponding to the target curve, and determining a battery electricity quantity value corresponding to the current voltage.
The voltage and electricity quantity relation table can convert all the charge and discharge curves into corresponding voltage and electricity quantity relation tables in a one-to-one correspondence mode after the charge and discharge curves are preset for later calling. Therefore, after the ambient temperature, the current working state of the terminal and the current voltage are determined, the battery power value can be determined through the corresponding voltage and power relation table.
In the detection method provided in this embodiment, the ambient temperature of the battery and the current working state of the terminal to which the battery belongs are first obtained; further, determining a battery charging and discharging curve with a corresponding relation with the ambient temperature and the current working state of the terminal from the pre-stored battery charging and discharging curves under different temperature state combinations as a target curve; then, the obtained current voltage of the battery is combined with a voltage and electric quantity relation table corresponding to the target curve to determine a battery electric quantity value corresponding to the current voltage; the ambient temperature, the current working state and the current voltage can be acquired through the original equipment in the terminal to which the battery belongs, so that the method can determine the residual electric quantity by combining the pre-stored battery charge-discharge curve through the acquired information of the original equipment, and an electric quantity meter chip is not required to be integrated at the battery end, and compared with the prior art, the method can reduce the manufacturing cost; and moreover, the battery power loss caused by using the fuel gauge chip can be avoided, and the duration of the battery can be prolonged.
Optionally, in practical application, if the temperature acquisition result is a temperature acquisition value of a preset working device in a terminal to which the battery belongs, the temperature acquisition result in the terminal to which the battery belongs is corrected, and a specific process for obtaining the ambient temperature is shown in fig. 2, and includes:
s201, determining a temperature compensation value corresponding to the temperature acquisition value according to a preset temperature compensation equation.
If the terminal is an interphone and the preset working device is a radio frequency device, when the radio frequency device is in a transmitting state, the preset temperature compensation equation is as follows:
where x represents the emission duration in 0.1s.
When the radio frequency device is in a receiving state, a preset temperature compensation equation is as follows:
where x represents the end transmission duration in 0.1s.
S202, subtracting the temperature compensation value from the temperature acquisition value to obtain an environment temperature.
The process of obtaining the preset temperature compensation equation is described in detail below with a specific example:
assuming that the preset working device is a radio frequency device in a terminal to which the battery belongs, according to experimental observation, when the radio frequency device is in a working state, the temperature of the radio frequency device is gradually changed in a rising trend; when the radio frequency device stops working, the temperature of the radio frequency device gradually decreases to the environment temperature. That is, when the terminal is in the transmitting state, the temperature tends to rise to a certain extent, and after the transmission is completed, the temperature tends to fall to a certain extent.
The temperature of the radio frequency device is compensated to a certain extent by utilizing the change characteristics between the temperature of the radio frequency device and the ambient temperature in the terminal to which the battery belongs, so that the ambient temperature of the battery is obtained.
Specifically, it is assumed that the room temperature of the terminal to which the battery belongs is taken as the ambient temperature of the battery. The temperature change curve (fig. 3) of the terminal of the battery at a room temperature of 22 ℃ and an emission time of less than 20s, the temperature change curve (fig. 4) of the terminal of the battery at a room temperature of 22 ℃ and an emission time of 20s or more, the temperature change curve (fig. 5) of the terminal of the battery at a room temperature of 0 ℃ and an emission time of less than 20s, the temperature change curve (fig. 6) of the terminal of the battery at a room temperature of 0 ℃ and an emission time of 20s or more, the temperature change curve (fig. 7) of the terminal of the battery at a room temperature of-10 ℃ and an emission time of 20s or more, and the temperature change curve (fig. 8) of the terminal of the battery at a room temperature of-10 ℃ and an emission time of 20s or more can be obtained, respectively. Then, the temperature change curves obtained in fig. 3 to 8 are fitted to obtain a preset temperature compensation equation (1) of the terminal to which the battery belongs in the emission state.
In practical application, if the emission time of the radio frequency device is less than 20s, the first formula in the equation (1) is adopted for calculation. And the emission time of the radio frequency device is more than or equal to 20s, and the second formula in the equation (1) is adopted for calculation.
Similarly, a temperature change curve (fig. 9) in which the terminal of the battery is at 0 ℃ and the end emission time is less than 20S, and a temperature change curve (fig. 10) in which the terminal of the battery is at 0 ℃ and the end emission time is 20S or more can be obtained. Then, the temperature change curves obtained in fig. 9 and 10 are fitted to obtain a temperature compensation equation (2) of the terminal to which the battery belongs in the end emission state.
In practical application, if the emission end time of the radio frequency device is less than 20s, the first formula in the equation (2) is adopted for calculation, and if the emission end time of the radio frequency device is more than or equal to 20s, the second formula in the equation (2) is adopted for calculation.
It should be noted that, because the preset working device is assumed to be a radio frequency device, the temperature acquisition value of the radio frequency device is generally acquired through a temperature sensor arranged on the radio frequency device, and the temperature of the radio frequency device is corresponding to the temperature of the radio frequency device, the temperature of the radio frequency device is not suitable to be directly used as the ambient temperature of the battery, and the temperature acquisition result is corrected by obtaining the temperature compensation equation in the above manner, so that the obtained ambient temperature is closer to the actual ambient temperature. Meanwhile, the residual electric quantity of the battery can be detected without additionally arranging any device on the terminal to which the battery belongs, and the accuracy of the detection result is ensured.
Optionally, in another embodiment provided in the present application, referring to fig. 11, step S102 is performed, and a battery charge-discharge curve corresponding to the ambient temperature and the current working state of the terminal is determined from the battery charge-discharge curves under the pre-stored combinations of different temperature states, and the specific process of serving as the target curve is as follows:
s301, equivalent the current working state of the terminal to the state of the load carried by the battery.
If the terminal to which the battery belongs is an interphone, the current working state of the terminal is equivalent to the state of the load carried by the battery, and the state is specifically as follows:
a. and if the current working state of the terminal is the transmitting state, determining the current loaded state of the battery as a first state.
b. And if the current working state of the terminal is a receiving state or a standby state, determining the current loaded state of the battery as a second state.
In other words, in practical applications, the terminal is in the transmitting state is equivalent to one battery load condition, and the terminal is in the receiving state or the standby state is equivalent to the other battery load condition.
For example, the terminal may be in a transmitting state, equivalent to when the current load of the battery is 0.2C; when the terminal is in a standby state or a receiving state, the current load equivalent to the battery is 0.2A. In the standby state or the receiving state, the relationship between the voltage and the electric quantity of the battery after the equivalent can be shown in fig. 12.
Of course, the situation that the terminal state is equivalent to the load is not limited to the above, and the terminal state and the load are all within the protection scope of the present application no matter how equivalent the terminal state and the load are.
S302, searching a battery charge-discharge curve corresponding to the equivalent result and the ambient temperature from the battery charge-discharge curves under the pre-stored combination of different temperature states according to the equivalent result and the ambient temperature, and taking the battery charge-discharge curve as a target curve.
After the current working state of the battery is equivalent to the state of the load carried by the battery, the battery charge-discharge curve corresponding to the current load state and the environment temperature can be searched from the battery charge-discharge curves under the pre-stored combination of different temperature states according to the state of the load carried by the battery and the environment temperature.
Similarly, assume that the current load equivalent to the battery is 0.2C and the ambient temperature is 20 ℃ when the terminal is in the transmitting state. Further, in all pre-stored battery charge and discharge curves, the searched curve should be a curve corresponding to the load of 0.2 ℃ and the ambient temperature of 20 ℃ as a target curve.
Optionally, in another embodiment provided in the present application, please refer to fig. 13, the specific process of executing step S104 to determine the battery power value corresponding to the current voltage by combining the voltage-power relation table corresponding to the target curve is:
s401, calling a corresponding voltage and electricity quantity relation table according to a target curve.
From the above, the voltage and electricity relation table is used for representing the corresponding relation between the voltage and the electricity in the battery under the combination of different temperature states.
The value of each voltage in the voltage and electricity relation table may be obtained by dividing the target curve by a preset number according to the charge and discharge time instead of dividing the target curve by a traditional time unit according to the charge and discharge time.
Specifically, the preset number may be 100 or other positive integers, which is not specifically limited in the present application, and no matter what value is taken by the preset number, the preset number belongs to the protection scope of the present application.
The following further explains and explains the value of each voltage in the voltage-electricity relation table by a specific example, wherein the value is obtained by equally dividing the preset number of target curves according to the charge-discharge time:
as can be seen from fig. 14 and 15, the battery charge-discharge curve describes the relationship between voltage and capacity. When the battery is in a discharging state, the voltage can gradually drop along with the loss of the electric quantity.
When the battery is at the ambient temperature of 20 ℃ and the load current is 0.2 ℃, the corresponding battery charge-discharge curve is shown in fig. 14; when the ambient temperature of the battery is 0 ℃ and the load current is 0.2A, the corresponding battery charge-discharge curve is shown in fig. 15.
As shown in fig. 14 and 15, it can be seen that the remaining capacity of the battery can be determined by the voltage, and the discharge time t can be according to the formulaAnd obtaining the product. Where C represents the battery capacity (In ma.h) and In represents the average load current (In mA).
Here, assuming that the target curve is the charge-discharge curve shown in fig. 14, the following formula is adoptedBy performing the calculation, a curve of the voltage change with time in the target curve can be obtained, as shown in fig. 16.
If the target curve is divided into 100 equal parts according to the charge and discharge time, a voltage and charge relation table corresponding to the target curve can be obtained as shown in fig. 17.
It should be noted that, the target curve is divided according to the preset number of parts, for example, 100 parts, according to the charge-discharge time, so that a voltage-electricity relation table corresponding to the preset number of parts can be obtained, and the smaller the preset number is, the finer the time division in the voltage-electricity relation table is. The residual electric quantity of the battery is detected according to the voltage electric quantity relation after time subdivision, and the accuracy of a detection result can be effectively improved.
Based on the principle, the corresponding voltage and electricity relation table can be called according to the target curve. In practical application, the charge and discharge curves of each battery in the battery can be calculated in advance according to the mode, and a voltage and electricity quantity relation table corresponding to each charge and discharge curve in the battery can be obtained in advance; of course, the target curve obtained in real time can be correspondingly calculated in the process of detecting the residual electric quantity of the battery.
It should be noted that, compared with the method of calculating the target curve in real time to obtain the voltage and electricity relation table, the method of directly calling the voltage and electricity relation table according to the target curve can not only shorten the detection time, but also reduce the energy consumption of the battery.
S402, determining a battery electric quantity value corresponding to the current voltage according to the corresponding relation between the voltage and the electric quantity in the voltage-electric quantity relation table.
In practical application, the electric quantity corresponding to the current voltage can be obtained by searching the voltage electric quantity relation table according to the current voltage of the battery, so as to determine the battery electric quantity value corresponding to the current voltage.
It should be noted that another method for detecting the electric quantity of the battery exists in the prior art, and referring to fig. 18, the method determines the current working current according to the voltage values at two ends of the load resistor, and performs interpolation conversion on the voltage-electric quantity correspondence table recorded with the corresponding relationship between the voltage and the electric quantity in the charge-discharge state by the working current to obtain the electric quantity value of the current battery. However, since the load resistor is divided, the higher the resistance is, the larger the divided voltage is, so that the conventional scheme requires a very low resistance resistor as the load resistor, typically 5-10 milliohms, and in addition, the resistance of the load resistor needs to have a certain high accuracy. If the resistor is nominally 5 milliohms, a deviation of 1 milliohm is assumed, and the operating current determined from the deviation also deviates by 20%, so the scheme error is large. The scheme provided by the application does not need to determine the current working current through the voltage values at the two ends of the load resistor, can avoid the problem of overlarge detection result error caused by the self error of the load resistor, and ensures the accuracy of residual electric quantity detection.
Besides, the existing scheme needs a high-precision and low-resistance load resistor, and an extremely high-precision ADC (Analog-to-digital converter) is also needed for sampling the voltage at two ends of the load resistor, so that the electric quantity value corresponding to the current voltage can be obtained without additionally adding any device, and the hardware cost required by manufacturing is further reduced. Furthermore, the load resistor is used to consume a certain amount of electricity, so that the service time of the battery is reduced, and the application does not need to use the load resistor, so that the endurance time of the battery can be further prolonged.
In practical application, when the terminal to which the battery belongs is an interphone, a radio frequency device, namely an RFPA (radio frequency power amplifier ), generates a larger current in a transmitting state or a receiving state, so that voltage drop occurs in the battery, and when the voltage of the battery is detected, the obtained current voltage is 0.2-0.3V smaller than an actual value.
That is, when the terminal to which the battery belongs is in a transmitting state or a receiving state, the battery voltage has jitter. Specifically, the actual battery voltage changes are shown in fig. 19 and 20, respectively. Fig. 19 is a graph of voltage change obtained by collecting the voltage of the battery when the terminal to which the battery belongs is in a transmitting state, and fig. 20 is a graph of voltage change obtained by collecting the voltage of the battery when the terminal to which the battery belongs is in a receiving state.
In contrast, referring to fig. 21 on the basis of fig. 1, another embodiment of the present application is further configured to execute step S501 after executing step S103 to obtain the current voltage of the battery, so as to solve the problem of low accuracy of the detection result caused by the error between the detected current voltage and the actual value.
S501, eliminating jitter of the current voltage through a sliding filtering algorithm.
Specifically, a preset number of voltage values can be obtained through a sliding filtering algorithm, half and minimum data in all obtained voltage values are removed, and then the rest data is averaged to eliminate the jitter of the current voltage.
For example, the current voltage of the battery can be collected once every second, 50 voltage data are continuously recorded by using a sliding window, 25 minimum voltage data are removed, and the rest 25 voltage data are averaged, so as to achieve the purpose of eliminating jitter.
In this embodiment, after eliminating the jitter of the current voltage, the problem of excessive error between the current voltage and the actual voltage caused by abrupt change of the RFPA power can be reduced, so that the accuracy of obtaining the corresponding voltage value according to the current voltage can be greatly improved, the use experience of the user can be greatly improved, the customer satisfaction is increased, and the competitiveness of the product is improved.
It should be noted that there is a simple way to measure the battery voltage of the battery and estimate the battery voltage to obtain the remaining battery power of the battery. Specifically, the measurement mode is mainly based on the characteristic that the voltage of the battery gradually drops along with the loss of the electric quantity of the battery in the discharging process of the battery, and a relatively simple and effective voltage-electric quantity corresponding relation is obtained. In general, the measurement mode divides the electric quantity by means of dividing the electric quantity by 4 equal parts in time according to the discharge curve of the battery, so that 4 battery icons can be displayed on the electronic product, and the accuracy of each battery is 25%. However, in the using process, the measurement method is still interfered by abrupt change of the power of the RFPA, so that the obtained battery voltage error is too large.
According to the scheme provided by the embodiment, the jitter value of the current voltage can be eliminated through a sliding filtering algorithm, so that the error between the current voltage and the actual voltage is reduced, and the problems are avoided; in addition, the display precision of the battery electric quantity can be greatly improved, the error existing in the detection precision of the battery electric quantity can be improved to be less than 5% from 25%, and then the use experience and satisfaction of customers can be greatly improved, and the competitiveness of products is further improved.
It should be noted that the present solution can be applied to all portable electronic devices provided with a battery. And, when being applied to all products corresponding to the battery without the fuel gauge, namely, when being applied to all products using the non-intelligent battery, the fuel gauge chip does not need to be additionally purchased, so that the required cost is reduced.
Optionally, referring to fig. 22, the present application further provides a device for detecting battery power, which mainly includes: a memory 101 and a processor 102.
Wherein the processor 102 is configured to run a program stored in the memory 101.
The processor 102, when running the program, executes instructions comprising: the method for detecting battery power according to any one of the above embodiments.
It should be noted that, in the embodiment, a specific execution process and execution principle of the battery power detection method executed by the battery power detection device are disclosed, and reference may be made to the corresponding embodiments of fig. 1 to 16, which are not repeated herein.
Optionally, referring to fig. 23, an embodiment of the present application further provides a portable electronic device, including: a battery 201, a working device 202, a temperature sensor 203, a voltage sensor 204 and at least one battery charge detection device 205 as described in any of the embodiments above.
Wherein:
the battery 201 is used to power the working device 202 and the detection means 205.
The temperature sensor 203 is used to detect the temperature of the working device 202.
The voltage sensor 204 is used to detect the voltage of the battery 201.
The temperature sensor 203 and the voltage sensor 204 are connected to a detecting device 205, so that the detecting device 205 can detect the electric quantity of the battery 201.
It should be noted that, the execution principle of the battery power detection device disclosed in the present embodiment can be referred to the above embodiments, and will not be repeated here.
Features described in the embodiments in this specification may be replaced or combined, and identical and similar parts of the embodiments may be referred to each other, where each embodiment focuses on differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (7)

1. A method for detecting battery power, comprising:
respectively acquiring the ambient temperature of a battery and the current working state of a terminal to which the battery belongs;
determining a battery charging and discharging curve with a corresponding relation with the environment temperature and the current working state of the terminal from pre-stored battery charging and discharging curves under different temperature state combinations as a target curve;
acquiring the current voltage of the battery;
combining a voltage and electric quantity relation table corresponding to the target curve to determine a battery electric quantity value corresponding to the current voltage;
the obtaining the ambient temperature of the battery includes: correcting a temperature acquisition result in the terminal to obtain the ambient temperature;
if the temperature acquisition result is a temperature acquisition value of a preset working device in the terminal, correcting the temperature acquisition result in the terminal to obtain the environmental temperature, wherein the method comprises the following steps: determining a temperature compensation value corresponding to the temperature acquisition value according to a preset temperature compensation equation; subtracting the temperature compensation value from the temperature acquisition value to obtain an ambient temperature;
the terminal is an interphone, the preset working device is a radio frequency device, and then:
when the radio frequency device is in a transmitting state, the preset temperature compensation equation is as follows:
when the radio frequency device is in a receiving state, the preset temperature compensation equation is as follows:
wherein, x represents the transmitting time length when the radio frequency device is in the transmitting state; and when the radio frequency device is in a receiving state, x represents the time length for ending transmitting, and the units are 0.1s.
2. The method for detecting the battery power according to claim 1, wherein the determining a battery charge-discharge curve having a correspondence relationship with the ambient temperature and the current operating state of the terminal from among the battery charge-discharge curves under the pre-stored combinations of different temperature states as the target curve includes:
the current working state of the terminal is equivalent to the state of the load carried by the battery;
and searching a battery charge-discharge curve corresponding to the equivalent result and the ambient temperature from the prestored battery charge-discharge curves under different temperature state combinations according to the equivalent result and the ambient temperature, and taking the battery charge-discharge curve as the target curve.
3. The method for detecting the battery power according to claim 2, wherein if the terminal is an intercom, the current operating state of the terminal includes: a transmitting state, a receiving state and a standby state;
and the equivalent result of the receiving state and the standby state is the same.
4. The method for detecting the electric quantity of a battery according to claim 1, further comprising, after acquiring the current voltage of the battery:
and eliminating the jitter of the current voltage through a sliding filtering algorithm.
5. The method for detecting a battery power according to any one of claims 1 to 4, wherein the determining the battery power value corresponding to the current voltage by combining a voltage power relation table corresponding to the target curve includes:
calling a corresponding voltage and electricity relation table according to the target curve;
and determining the battery electric quantity value corresponding to the current voltage according to the corresponding relation between the voltage and the electric quantity in the voltage-electric quantity relation table.
6. A battery power detection device, comprising: a memory and a processor;
wherein the processor is used for running the program stored in the memory;
the processor performs the method for detecting the battery level according to any one of claims 1 to 5 when running the program.
7. A portable electronic device, comprising: a battery, a working device, a temperature sensor, a voltage sensor and at least one battery charge detection device according to claim 6; wherein:
the battery is used for supplying power for the working device and the detection device;
the temperature sensor is used for detecting the temperature of the working device;
the voltage sensor is used for detecting the voltage of the battery;
the temperature sensor and the voltage sensor are both connected with the detection device.
CN202010929564.9A 2020-09-07 2020-09-07 Battery electric quantity detection method and device and portable electronic equipment Active CN114236405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010929564.9A CN114236405B (en) 2020-09-07 2020-09-07 Battery electric quantity detection method and device and portable electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010929564.9A CN114236405B (en) 2020-09-07 2020-09-07 Battery electric quantity detection method and device and portable electronic equipment

Publications (2)

Publication Number Publication Date
CN114236405A CN114236405A (en) 2022-03-25
CN114236405B true CN114236405B (en) 2024-01-12

Family

ID=80742460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010929564.9A Active CN114236405B (en) 2020-09-07 2020-09-07 Battery electric quantity detection method and device and portable electronic equipment

Country Status (1)

Country Link
CN (1) CN114236405B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11133122A (en) * 1997-10-30 1999-05-21 Toyota Motor Corp Battery residual quantity measuring method and apparatus
JP2006275549A (en) * 2005-03-28 2006-10-12 Seiko Epson Corp Information terminal and calculation method of battery power
WO2010003361A1 (en) * 2008-07-08 2010-01-14 奇瑞汽车股份有限公司 Method and device for forecasting battery charge
CN102147450A (en) * 2010-12-22 2011-08-10 航天恒星科技有限公司 Monitoring system for electric quantity of lithium battery
CN102508172A (en) * 2011-11-23 2012-06-20 中兴通讯股份有限公司 Calculation method for electric quantities of battery, device and terminal
CN103344918A (en) * 2013-06-21 2013-10-09 广东欧珀移动通信有限公司 Mobile terminal cell electric quantity display method and system
CN103750826A (en) * 2013-12-25 2014-04-30 杨松 Wireless passive temperature measurement method, system and device for forming system
CN104111428A (en) * 2014-07-14 2014-10-22 浪潮软件集团有限公司 Method for monitoring battery electric quantity of handheld billing terminal
CN106814321A (en) * 2015-12-02 2017-06-09 海洋王(东莞)照明科技有限公司 The circuit and hand-hold lamp fitting of battery electric quantity are surveyed in temperature-compensating
CN107015166A (en) * 2017-06-22 2017-08-04 安徽锐能科技有限公司 Method and computer-readable recording medium for estimating battery power status
CN109990440A (en) * 2019-04-16 2019-07-09 珠海格力电器股份有限公司 Controller temperature-compensation method, device and controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017221248A1 (en) * 2017-11-28 2019-05-29 Audi Ag Method for determining a current state of charge value of a battery, battery arrangement and motor vehicle

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11133122A (en) * 1997-10-30 1999-05-21 Toyota Motor Corp Battery residual quantity measuring method and apparatus
JP2006275549A (en) * 2005-03-28 2006-10-12 Seiko Epson Corp Information terminal and calculation method of battery power
WO2010003361A1 (en) * 2008-07-08 2010-01-14 奇瑞汽车股份有限公司 Method and device for forecasting battery charge
CN102147450A (en) * 2010-12-22 2011-08-10 航天恒星科技有限公司 Monitoring system for electric quantity of lithium battery
CN102508172A (en) * 2011-11-23 2012-06-20 中兴通讯股份有限公司 Calculation method for electric quantities of battery, device and terminal
CN103344918A (en) * 2013-06-21 2013-10-09 广东欧珀移动通信有限公司 Mobile terminal cell electric quantity display method and system
CN103750826A (en) * 2013-12-25 2014-04-30 杨松 Wireless passive temperature measurement method, system and device for forming system
CN104111428A (en) * 2014-07-14 2014-10-22 浪潮软件集团有限公司 Method for monitoring battery electric quantity of handheld billing terminal
CN106814321A (en) * 2015-12-02 2017-06-09 海洋王(东莞)照明科技有限公司 The circuit and hand-hold lamp fitting of battery electric quantity are surveyed in temperature-compensating
CN107015166A (en) * 2017-06-22 2017-08-04 安徽锐能科技有限公司 Method and computer-readable recording medium for estimating battery power status
CN109990440A (en) * 2019-04-16 2019-07-09 珠海格力电器股份有限公司 Controller temperature-compensation method, device and controller

Also Published As

Publication number Publication date
CN114236405A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN106461732B (en) Method for estimating state of health of battery
CN103250066B (en) The system and method for sensing battery capacity
Chun et al. Current sensor-less state-of-charge estimation algorithm for lithium-ion batteries utilizing filtered terminal voltage
WO2019242472A1 (en) Method and device for estimating battery charge status
US20150276885A1 (en) Method of Computing State of Charge and Battery State of Charge Monitor
CN110506215A (en) A kind of method and device of determining battery internal short-circuit
TW201421056A (en) Device, method and system for estimating battery remaining capacity
CN104375085A (en) Method and device for detecting electric quantity of battery and terminal
CN102478636A (en) Electric quantity detection method and device for battery
JP2011220900A (en) Battery deterioration estimation method, battery capacity estimation method, battery capacity equalization method and battery deterioration estimation device
US20130245974A1 (en) Method and apparatus for collecting voltage differential parameters of individual battery cells in battery pack
CN110888065B (en) Battery pack state of charge correction method and device
CN105403835A (en) System and method for measuring battery level
CN104714184A (en) Device and method for detecting battery ID and battery temperature through singular pins
EP3580809A1 (en) Monitoring system for series-connected battery cells
CN108693408B (en) Supercapacitor internal resistance detection method and device and computer readable storage medium
CN115113069A (en) Estimation method of battery SOC and related device
GB2593968A (en) Battery management controllers capable of estimating state of charge
CN112083341A (en) Method for accurately calculating percentage of remaining electric quantity of battery of Internet of things equipment
CN109085428B (en) Method and device for measuring internal resistance of super capacitor and computer readable storage medium
CN114236405B (en) Battery electric quantity detection method and device and portable electronic equipment
JP6054788B2 (en) Storage battery residual quantity estimation device and residual quantity estimation method
WO2022047767A1 (en) Battery power detection method and apparatus, and portable electronic device
US11415634B2 (en) Battery performance assessment method and apparatus
JP2016223964A (en) Method and device for diagnosing deterioration of power storage device

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
GR01 Patent grant
GR01 Patent grant