CN111323718B - Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium - Google Patents

Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium Download PDF

Info

Publication number
CN111323718B
CN111323718B CN202010254977.1A CN202010254977A CN111323718B CN 111323718 B CN111323718 B CN 111323718B CN 202010254977 A CN202010254977 A CN 202010254977A CN 111323718 B CN111323718 B CN 111323718B
Authority
CN
China
Prior art keywords
electric quantity
battery
residual
temperature area
residual electric
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
CN202010254977.1A
Other languages
Chinese (zh)
Other versions
CN111323718A (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.)
Iray Technology Co Ltd
Original Assignee
Iray Technology Co 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 Iray Technology Co Ltd filed Critical Iray Technology Co Ltd
Priority to CN202010254977.1A priority Critical patent/CN111323718B/en
Publication of CN111323718A publication Critical patent/CN111323718A/en
Application granted granted Critical
Publication of CN111323718B publication Critical patent/CN111323718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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

Abstract

The application discloses a method for detecting the residual electric quantity of a battery, which comprises the steps of obtaining the current output voltage of the battery in a loading state and the current temperature of the battery; judging a temperature area to which the current temperature belongs according to a low temperature area, a medium temperature area and a high temperature area which are divided in advance; when the current temperature belongs to the middle temperature area and the high temperature area, inquiring the corresponding relation between the voltage of the corresponding temperature area and the percentage of the residual electric quantity according to the current output voltage, and determining the residual electric quantity of the battery; when the current temperature belongs to the low-temperature area, inquiring the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual electric quantity according to the current output voltage to obtain the inquired residual electric quantity; and acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity. The detection precision of this application improves, and need not study the battery, is fit for various dismantled and assembled batteries, still need not to add extra circuit, reduce cost. The present application also provides an apparatus, a device and a storage medium having the above advantages.

Description

Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of battery management technologies, and in particular, to a method and an apparatus for detecting remaining battery power, an electronic device, and a computer-readable storage medium.
Background
The lithium ion battery is a power supply device for many products, and a user needs to know the residual electric quantity of the battery in the process of using the product, so as to charge the battery, or replace the battery for the product with the detachable battery, so as to achieve more use frequency and longer effective use time of the product.
When the residual electric quantity of the lithium ion battery is detected at present, one method is to detect the residual electric quantity by using an electric quantity detection chip, the electric quantity detection chip needs a certain learning process, and for a detachable battery, the detachable battery needs to be learned again after being detached every time, so that the applicability is poor; one method is to detect the voltage before and during the discharge of the battery, inquire the curve through the voltage difference and then calculate, and the method needs a separate circuit to detect the voltage before the discharge and needs to add an additional circuit, so the cost is high; the other method is to collect the instantaneous voltage of the battery at the current temperature, and to predict the electric quantity of the battery by inquiring the voltage-to-electric quantity curve of the battery at different temperatures no matter how much the current temperature is, and the accuracy of electric quantity detection is very low in the low-temperature environment.
Therefore, how to solve the above technical problems should be a great concern to those skilled in the art.
Disclosure of Invention
The application aims to provide a method and a device for detecting the remaining capacity of a battery, electronic equipment and a computer-readable storage medium, so that the application range of the remaining capacity detection method is widened, the detection cost is reduced, and the detection precision is improved.
In order to solve the above technical problem, the present application provides a method for detecting remaining battery power, including:
acquiring the current output voltage of a battery in a loaded state and the current temperature of the battery;
judging a temperature area to which the current temperature belongs according to a low temperature area, a medium temperature area and a high temperature area which are divided in advance;
when the current temperature belongs to the middle temperature area and the high temperature area, inquiring the corresponding relation between the voltage of the corresponding temperature area and the percentage of the residual electric quantity according to the current output voltage, and determining the residual electric quantity of the battery;
when the current temperature belongs to the low-temperature area, inquiring the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual electric quantity according to the current output voltage to obtain the inquired residual electric quantity; and acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity.
Optionally, the determining the remaining power of the battery according to the relationship between the display power and the query remaining power includes:
judging whether the inquired residual electric quantity is larger than the display electric quantity;
if the query residual electric quantity is larger than the display electric quantity, acquiring first maintenance time that the query residual electric quantity is larger than the display electric quantity, and judging whether the first maintenance time is larger than a first time threshold value; if the first maintenance time is longer than the first time threshold, determining that the display electric quantity minus one percent is the residual electric quantity;
and if the inquiry residual capacity is not greater than the display capacity, determining a difference value between the display capacity and the inquiry residual capacity, and determining the residual capacity according to the difference value.
Optionally, the determining the remaining power according to the difference includes:
judging whether the difference value is larger than two percent;
if the difference value is greater than two percent, acquiring second maintaining time of which the difference value is greater than two percent, and judging whether the second maintaining time is not less than a second time threshold value;
if the difference value is not greater than two percent, acquiring third holding time with the difference value not greater than two percent, and judging whether the third holding time is not less than a third time threshold value;
and if the second maintaining time is not less than the second time threshold and the third maintaining time is not less than the third time threshold, determining that the display electric quantity minus one percent is the residual electric quantity.
Optionally, after determining the remaining power, the method further includes:
and displaying the residual electric quantity.
Optionally, before the displaying the remaining power, the method further includes:
and performing hysteresis processing on the residual electric quantity.
Optionally, after the displaying the remaining power, the method further includes:
judging whether the residual electric quantity is equal to one hundredth;
and if the residual electric quantity is equal to one percent, controlling the product provided with the battery to shut down.
The application still provides a battery residual capacity detection device, includes:
the device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the current output voltage of a battery in a loaded state and the current temperature of the battery;
the temperature area determining module is used for judging the temperature area to which the current temperature belongs according to a low temperature area, a medium temperature area and a high temperature area which are divided in advance;
the first residual electric quantity determining module is used for inquiring the corresponding relation between the voltage of the corresponding prefabricated temperature area and the percentage of the residual electric quantity according to the current output voltage when the current temperature belongs to the middle temperature area and the high temperature area, and determining the residual electric quantity of the battery;
the second residual capacity determining module is used for inquiring the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual capacity according to the current output voltage when the current temperature belongs to the low-temperature area so as to obtain the inquired residual capacity; and acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity.
Optionally, the method further includes:
and the display module is used for displaying the residual electric quantity.
The present application further provides an electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the above-mentioned methods for detecting remaining battery power when executing the computer program.
The present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of any of the above-mentioned methods for detecting remaining battery power.
The application provides a method for detecting the remaining capacity of a battery, which comprises the following steps: acquiring the current output voltage of a battery in a loaded state and the current temperature of the battery; judging a temperature area to which the current temperature belongs according to a low temperature area, a medium temperature area and a high temperature area which are divided in advance; when the current temperature belongs to the middle temperature area and the high temperature area, inquiring the corresponding relation between the voltage of the corresponding temperature area and the percentage of the residual electric quantity according to the current output voltage, and determining the residual electric quantity of the battery; when the current temperature belongs to the low-temperature area, inquiring the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual electric quantity according to the current output voltage to obtain the inquired residual electric quantity; and acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity.
It can be seen that the method for detecting the remaining power of the battery of the present application divides the temperature range of the battery into a low temperature region, a middle temperature region and a high temperature region, obtains the corresponding relationship between the voltage and the percentage of the remaining power corresponding to each temperature region, obtains the current temperature and the current output voltage of the battery, determines the temperature region where the current temperature is located, directly queries the corresponding relationship between the voltage and the percentage of the remaining power of the corresponding temperature region according to the current output voltage to obtain the percentage of the remaining power when the battery is in the middle and high temperature regions, queries the corresponding relationship between the voltage and the percentage of the remaining power of the low temperature region according to the current output voltage to obtain the queried remaining power when the battery is in the low temperature region, determines the remaining power according to the obtained relationship between the displayed power and the queried remaining power, improves the detection precision of the remaining power of the battery, does not need to learn the battery, is suitable for various detachable batteries, and has wide applicability, and an additional circuit is not required to be added, so that the cost is reduced. In addition, the application also provides a device, an electronic device and a computer readable storage medium with the advantages.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or 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 these drawings without creative efforts.
Fig. 1 is a flowchart of a method for detecting remaining battery power according to an embodiment of the present disclosure;
fig. 2 is a flowchart of determining the remaining capacity of the battery according to the relationship between the display capacity and the inquiry remaining capacity;
FIG. 3 is a flow chart of determining the remaining capacity according to the difference;
fig. 4 is a block diagram illustrating a structure of a device for detecting a remaining amount of a battery according to an embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
The lithium ion batteries have large activity difference at different temperatures, and different batches of the lithium ion batteries with the same model have difference, and the difference brings great difficulty to the detection of the electric quantity of the lithium ion batteries. As described in the background art, the prior art has the defects of poor applicability, high cost and low detection accuracy when detecting the remaining power of the lithium ion battery.
In view of the above, the present application provides a method for detecting remaining battery power, please refer to fig. 1, where fig. 1 is a flowchart of a method for detecting remaining battery power according to an embodiment of the present application, the method including:
step S101: the method comprises the steps of obtaining the current output voltage of a battery in a loaded state and the current temperature of the battery.
In this embodiment, the manner of obtaining the current temperature of the battery is not particularly limited. For example, the temperature detection means for the battery may be separately provided to acquire the current temperature of the battery, or the product temperature may be generally equal to the battery temperature by acquiring the current temperature of the product in which the battery is mounted as the current temperature of the battery without separately providing the temperature detection means for the battery.
It can be understood that the on-load state is a state in which the battery is mounted in the product, the product is powered on, and the product is normally operated.
In this embodiment, the frequency for acquiring the current output voltage and the current temperature is not limited, and may be acquired once every 1 second to 5 seconds.
Step S102: and judging the temperature zone to which the current temperature belongs according to a low temperature zone, a medium temperature zone and a high temperature zone which are divided in advance.
The specific ranges of the low-temperature region, the medium-temperature region and the high-temperature region are determined according to the specific battery types, and the battery manufacturers have specific division ranges. For example, the temperature region of the battery used in this embodiment is divided into a low temperature region of-40 ℃ to-20 ℃, a medium temperature region of 20 ℃ to 0 ℃, and a high temperature region of 0 ℃ to 40 ℃.
Step S103: and when the current temperature belongs to the middle temperature area and the high temperature area, inquiring the corresponding relation between the voltage of the corresponding temperature area and the percentage of the residual electric quantity according to the current output voltage, and determining the residual electric quantity of the battery.
It should be noted that, according to the discharge characteristics of the lithium ion battery at different temperatures, the obtaining manner of the corresponding relationship between the voltage and the percentage of remaining battery capacity (Vol-SOC) in each temperature region of the high, medium, and low temperatures is well known to those skilled in the art, and will not be described in detail herein. Further, in this embodiment, the type of the Vol-SOC correspondence relationship is not specifically limited, and may be a table, a curve, or the like.
Step S104: when the current temperature belongs to the low-temperature area, inquiring the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual electric quantity according to the current output voltage to obtain the inquired residual electric quantity; and acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity.
The display electric quantity is the electric quantity of the battery displayed by a product provided with the battery in a low-temperature environment, the accuracy of detecting the residual electric quantity in the low-temperature environment is very low, the residual electric quantity inquired from the Vol-SOC corresponding relation according to the current output voltage in the step is not taken as the residual electric quantity of the battery, but is further judged according to the relation with the display electric quantity to determine the residual electric quantity, and the accuracy of detecting the electric quantity is improved.
Determining the remaining power according to the relationship between the display power and the query remaining power is further described below. Referring to fig. 2, the determining the remaining power of the battery according to the relationship between the display power and the query remaining power includes:
step S201: and judging whether the inquired residual electric quantity is larger than the display electric quantity.
Step S202: if the query residual electric quantity is larger than the display electric quantity, acquiring first maintenance time that the query residual electric quantity is larger than the display electric quantity, and judging whether the first maintenance time is larger than a first time threshold value; and if the first maintenance time is greater than the first time threshold, determining that the display electric quantity minus one percent is the residual electric quantity.
It should be noted that, when the first maintenance time is not greater than the first time threshold, the process returns to step S101, and the step of acquiring the current output voltage of the battery in the loaded state and the current temperature of the battery is continuously performed.
Step S203: and if the inquiry residual capacity is not greater than the display capacity, determining a difference value between the display capacity and the inquiry residual capacity, and determining the residual capacity according to the difference value.
Further, referring to fig. 3, the determining the remaining power according to the difference includes:
step S301: and judging whether the difference value is greater than two percent.
Step S302: if the difference is greater than two percent, acquiring second maintaining time with the difference greater than two percent, and judging whether the second maintaining time is not less than a second time threshold.
Step S303: if the difference is not greater than two percent, acquiring a third holding time of which the difference is not greater than two percent, and judging whether the third holding time is not less than a third time threshold.
Step S304: and if the second maintaining time is not less than the second time threshold and the third maintaining time is not less than the third time threshold, determining that the display electric quantity minus one percent is the residual electric quantity.
It should be noted that, if the second duration time is less than the second time threshold and the third duration time is less than the third time threshold, the process returns to step S101, and the step of obtaining the current output voltage of the battery in the loaded state and the current temperature of the battery is continuously executed.
The first time threshold, the second time threshold, and the third time threshold are not specifically limited in this application, and may be set in a range of 50% to 100% of the standby time of a product in which the battery is installed.
The method for detecting the remaining power of the battery divides the temperature range of the battery into a low-temperature area, a middle-temperature area and a high-temperature area, obtains the corresponding relation between the voltage corresponding to each temperature area and the percentage of the remaining power, obtains the current temperature and the current output voltage of the battery, determines the temperature area where the current temperature is located, directly inquires the corresponding relation between the voltage corresponding to the temperature area and the percentage of the remaining power according to the current output voltage to obtain the percentage of the remaining power when the battery is located in the middle-temperature area and the high-temperature area, inquires the corresponding relation between the voltage of the low-temperature area and the percentage of the remaining power according to the current output voltage to obtain the inquired remaining power, then determines the remaining power according to the obtained relation between the displayed power and the inquired remaining power, improves the detection precision of the remaining power of the battery, does not need to learn the battery, is suitable for various detachable batteries, and has wide applicability, and an additional circuit is not required to be added, so that the cost is reduced.
Preferably, after determining the remaining capacity, the method further includes:
and displaying the residual capacity so that a user can know the residual capacity of the battery in time and replace the battery or charge the battery in time.
Further, before the displaying the remaining capacity, the method further includes:
and performing hysteresis processing on the residual capacity to prevent the display of the residual capacity of the battery from being influenced by slight fluctuation of the output voltage of the battery.
On the basis of any one of the above embodiments, in an embodiment of the present application, after the displaying the remaining power, the method further includes:
judging whether the residual electric quantity is equal to one hundredth;
and if the residual electric quantity is equal to one percent, controlling the product provided with the battery to shut down.
The following describes a battery remaining capacity detection apparatus according to an embodiment of the present invention, and the battery remaining capacity detection apparatus and the battery remaining capacity detection method described above may be referred to in correspondence. Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of a device for detecting a remaining amount of battery according to an embodiment of the present disclosure, the device including:
an obtaining module 100, configured to obtain a current output voltage of a battery in a loaded state and a current temperature of the battery;
a temperature zone determining module 200, configured to determine, according to a low temperature zone, a medium temperature zone, and a high temperature zone that are pre-divided, a temperature zone to which the current temperature belongs;
a first remaining power determining module 300, configured to query a preset percentage correspondence between voltages and remaining powers of corresponding temperature zones according to the current output voltage when the current temperature belongs to the medium temperature zone and the high temperature zone, and determine a remaining power of the battery;
a second remaining power determining module 400, configured to query, according to the current output voltage, a corresponding relationship between a voltage of a prefabricated low-temperature region and a percentage of remaining power, when the current temperature belongs to the low-temperature region, to obtain a query remaining power; and acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity.
The remaining battery power detection apparatus of this embodiment is configured to implement the remaining battery power detection method, and therefore a specific implementation of the remaining battery power detection apparatus may be found in the foregoing embodiments of the remaining battery power detection method, for example, the obtaining module 100, the temperature zone determining module 200, the first remaining power determining module 300, and the second remaining power determining module 400 are respectively configured to implement steps S101, S102, S103, and S104 in the remaining battery power detection method.
The second remaining power determining module 400 includes:
the query residual electric quantity obtaining submodule is used for querying the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual electric quantity according to the current output voltage when the current temperature belongs to the low-temperature area, so as to obtain the query residual electric quantity;
the display electric quantity obtaining submodule is used for obtaining the display electric quantity of the battery;
and the second residual electric quantity determining submodule is used for determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity.
Further, the second remaining capacity determining submodule includes:
the judging unit is used for judging whether the inquired residual electric quantity is larger than the display electric quantity;
a first remaining power determining unit, configured to, if the queried remaining power is greater than the display power, obtain a first maintenance time that the queried remaining power is greater than the display power, and determine whether the first maintenance time is greater than a first time threshold; if the first maintenance time is longer than the first time threshold, determining that the display electric quantity minus one percent is the residual electric quantity;
and the second residual capacity determining unit is used for determining a difference value between the display residual capacity and the inquiry residual capacity if the inquiry residual capacity is not greater than the display residual capacity, and determining the residual capacity according to the difference value.
Further, the second remaining capacity determining unit includes:
a difference determination unit configured to determine a difference between the display power amount and the inquiry remaining power amount if the inquiry remaining power amount is not greater than the display power amount,
and the third residual capacity determining unit is used for determining the residual capacity according to the difference value.
Wherein the third remaining power determining unit includes:
the first judging subunit is used for judging whether the difference value is greater than two percent;
a second determining subunit, configured to, if the difference is greater than two percent, obtain a second holding time for which the difference is greater than two percent, and determine whether the second holding time is not less than a second time threshold;
a third determining subunit, configured to, if the difference is not greater than two percent, obtain a third duration time for which the difference is not greater than two percent, and determine whether the third duration time is not less than a third time threshold;
and the remaining power determining subunit is configured to determine that the remaining power is the remaining power after one percent of the display power is subtracted if the second duration is not less than the second time threshold and the third duration is not less than the third time threshold.
Preferably, the battery remaining amount detecting device further includes:
and the display module is used for displaying the residual electric quantity.
Preferably, the battery remaining amount detecting device further includes:
and the hysteresis processing module is used for performing hysteresis processing on the residual electric quantity.
Preferably, the battery remaining amount detecting device further includes:
the judging module is used for judging whether the residual electric quantity is equal to one percent or not;
and the shutdown module is used for controlling the shutdown of the product provided with the battery if the residual electric quantity is equal to one percent.
In the following, the electronic device provided by the embodiment of the present invention is introduced, and the electronic device described below and the battery remaining capacity detection method described above may be referred to correspondingly. Referring to fig. 5, fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure, including:
a memory 11 for storing a computer program;
a processor 12, configured to implement the steps of any of the above-mentioned methods for detecting remaining battery capacity when executing the computer program.
In the following, the computer-readable storage medium provided by the embodiment of the present invention is introduced, and the computer-readable storage medium described below and the battery remaining capacity detection method described above may be referred to correspondingly.
The present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of any of the above-mentioned methods for detecting remaining battery power.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
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 components and steps have been described above generally in terms of their functionality in order to clearly illustrate this 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 implementation. 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 steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method, the apparatus, the electronic device and the computer-readable storage medium for detecting remaining battery power provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (9)

1. A method for detecting the remaining capacity of a battery, comprising:
acquiring the current output voltage of a battery in a loaded state and the current temperature of the battery; the loading state is a state that the battery is installed in a product, the product is electrified, and the product works normally;
judging a temperature area to which the current temperature belongs according to a low temperature area, a medium temperature area and a high temperature area which are divided in advance;
when the current temperature belongs to the middle temperature area and the high temperature area, inquiring the corresponding relation between the voltage of the corresponding temperature area and the percentage of the residual electric quantity according to the current output voltage, and determining the residual electric quantity of the battery;
when the current temperature belongs to the low-temperature area, inquiring the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual electric quantity according to the current output voltage to obtain the inquired residual electric quantity; acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity;
the determining the remaining capacity of the battery according to the relationship between the display capacity and the query remaining capacity includes:
judging whether the inquired residual electric quantity is larger than the display electric quantity;
if the query residual electric quantity is larger than the display electric quantity, acquiring first maintenance time that the query residual electric quantity is larger than the display electric quantity, and judging whether the first maintenance time is larger than a first time threshold value; if the first maintenance time is longer than the first time threshold, determining that the display electric quantity minus one percent is the residual electric quantity;
and if the inquiry residual capacity is not greater than the display capacity, determining a difference value between the display capacity and the inquiry residual capacity, and determining the residual capacity according to the difference value.
2. The method of claim 1, wherein the determining the remaining capacity according to the difference value comprises:
judging whether the difference value is larger than two percent;
if the difference value is greater than two percent, acquiring second maintaining time of which the difference value is greater than two percent, and judging whether the second maintaining time is not less than a second time threshold value;
if the difference value is not greater than two percent, acquiring third holding time with the difference value not greater than two percent, and judging whether the third holding time is not less than a third time threshold value;
and if the second maintaining time is not less than the second time threshold and the third maintaining time is not less than the third time threshold, determining that the display electric quantity minus one percent is the residual electric quantity.
3. The battery remaining capacity detection method according to claim 2, further comprising, after determining the remaining capacity:
and displaying the residual electric quantity.
4. The method of detecting remaining battery power according to claim 3, further comprising, before said displaying the remaining power:
and performing hysteresis processing on the residual electric quantity.
5. The method of detecting remaining battery power according to claim 4, further comprising, after said displaying the remaining power:
judging whether the residual electric quantity is equal to one hundredth;
and if the residual electric quantity is equal to one percent, controlling the product provided with the battery to shut down.
6. A battery remaining power detection device, comprising:
the device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the current output voltage of a battery in a loaded state and the current temperature of the battery;
the temperature area determining module is used for judging the temperature area to which the current temperature belongs according to a low temperature area, a medium temperature area and a high temperature area which are divided in advance;
the first residual electric quantity determining module is used for inquiring the corresponding relation between the voltage of the corresponding prefabricated temperature area and the percentage of the residual electric quantity according to the current output voltage when the current temperature belongs to the middle temperature area and the high temperature area, and determining the residual electric quantity of the battery;
the second residual capacity determining module is used for inquiring the corresponding relation between the voltage of the prefabricated low-temperature area and the percentage of the residual capacity according to the current output voltage when the current temperature belongs to the low-temperature area so as to obtain the inquired residual capacity; acquiring the display electric quantity of the battery, and determining the residual electric quantity of the battery according to the relation between the display electric quantity and the query residual electric quantity;
the second remaining power determining module includes:
the judging unit is used for judging whether the inquired residual electric quantity is larger than the display electric quantity;
a first remaining power determining unit, configured to, if the queried remaining power is greater than the display power, obtain a first maintenance time that the queried remaining power is greater than the display power, and determine whether the first maintenance time is greater than a first time threshold; if the first maintenance time is longer than the first time threshold, determining that the display electric quantity minus one percent is the residual electric quantity;
and the second residual capacity determining unit is used for determining a difference value between the display residual capacity and the inquiry residual capacity if the inquiry residual capacity is not greater than the display residual capacity, and determining the residual capacity according to the difference value.
7. The battery remaining power detecting device according to claim 6, further comprising:
and the display module is used for displaying the residual electric quantity.
8. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of detecting battery remaining capacity according to any one of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for detecting a remaining amount of battery according to any one of claims 1 to 5.
CN202010254977.1A 2020-04-02 2020-04-02 Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium Active CN111323718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010254977.1A CN111323718B (en) 2020-04-02 2020-04-02 Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010254977.1A CN111323718B (en) 2020-04-02 2020-04-02 Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111323718A CN111323718A (en) 2020-06-23
CN111323718B true CN111323718B (en) 2022-04-05

Family

ID=71171899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010254977.1A Active CN111323718B (en) 2020-04-02 2020-04-02 Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111323718B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112710224B (en) * 2020-12-31 2022-06-07 湖北楚航电子科技有限公司 Low-power-consumption GNSS (Global navigation satellite System) deformation monitoring terminal and automatic power adjusting method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012047555A (en) * 2010-08-26 2012-03-08 Toshiba Corp Remaining battery power display
CN103135058A (en) * 2011-11-29 2013-06-05 联想(北京)有限公司 Method and electronic device for displaying battery remaining electricity quantity
CN104535933A (en) * 2014-12-26 2015-04-22 湖南森泰能源科技股份有限公司 Battery remaining capacity measuring method and system
CN104749524A (en) * 2013-12-25 2015-07-01 上海贯裕能源科技有限公司 Battery management system power calculation method
CN105372602A (en) * 2015-12-10 2016-03-02 惠州Tcl移动通信有限公司 Battery remaining capacity detecting method of mobile terminal and device thereof
CN105759211A (en) * 2014-12-19 2016-07-13 宇龙计算机通信科技(深圳)有限公司 Battery residual electricity quantity value display method and system
CN106814321A (en) * 2015-12-02 2017-06-09 海洋王(东莞)照明科技有限公司 The circuit and hand-hold lamp fitting of battery electric quantity are surveyed in temperature-compensating

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012047555A (en) * 2010-08-26 2012-03-08 Toshiba Corp Remaining battery power display
CN103135058A (en) * 2011-11-29 2013-06-05 联想(北京)有限公司 Method and electronic device for displaying battery remaining electricity quantity
CN104749524A (en) * 2013-12-25 2015-07-01 上海贯裕能源科技有限公司 Battery management system power calculation method
CN105759211A (en) * 2014-12-19 2016-07-13 宇龙计算机通信科技(深圳)有限公司 Battery residual electricity quantity value display method and system
CN104535933A (en) * 2014-12-26 2015-04-22 湖南森泰能源科技股份有限公司 Battery remaining capacity measuring method and system
CN106814321A (en) * 2015-12-02 2017-06-09 海洋王(东莞)照明科技有限公司 The circuit and hand-hold lamp fitting of battery electric quantity are surveyed in temperature-compensating
CN105372602A (en) * 2015-12-10 2016-03-02 惠州Tcl移动通信有限公司 Battery remaining capacity detecting method of mobile terminal and device thereof

Also Published As

Publication number Publication date
CN111323718A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN103308865B (en) Method and electric equipment for calculating secondary battery SOC (system on a chip) and self-learning OCV (open circuit voltage)-SOC curve
US10955484B2 (en) Battery state monitoring method and apparatus
KR101402802B1 (en) Apparatus and Method for cell balancing based on battery's voltage variation pattern
US8253380B2 (en) Characteristic tracking method and circuit for a battery module
EP3018753B1 (en) Battery control method based on ageing-adaptive operation window
US9293934B2 (en) Battery charging method and mobile terminal
CN107436418B (en) Method, terminal and device for calibrating electric quantity attenuation of battery
JP2007244142A (en) Control device for group of cells and cell power supply system
US10054645B2 (en) Deterioration determination method, deterioration determination device, and storage medium
JP2009178040A (en) Battery group controller and battery power supply system
KR20160090292A (en) Power storage system and method for charging secondary cell
JP2019070621A (en) Secondary battery system
JP5823292B2 (en) Method and apparatus for detecting state of power storage device
US20150372514A1 (en) Electric storage device and deterioration determination method
EP3889626A1 (en) Battery management controllers capable of estimating state of charge
EP3185348A1 (en) Information processing method, smart battery, terminal and computer storage medium
CN109188296B (en) BBU electric quantity verification method, device, terminal and FCC calculation method
CN111323718B (en) Method and device for detecting residual electric quantity of battery, electronic equipment and storage medium
CN112467822A (en) Battery management method, device and system
AU2020202113A1 (en) Passive battery cell discharge
JP2020079723A (en) Secondary battery system
CN111289902B (en) Method for estimating battery electric quantity state
CN107703461B (en) battery power display control method and display control device of electronic equipment
CN109557474B (en) Method, device and equipment for correcting state of charge of power battery
JP2005195388A (en) Instrument for measuring residual level of 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
GR01 Patent grant
GR01 Patent grant