CN110277817B - Electric quantity acquisition method, device and equipment of electronic equipment and storage medium - Google Patents
Electric quantity acquisition method, device and equipment of electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110277817B CN110277817B CN201910576124.7A CN201910576124A CN110277817B CN 110277817 B CN110277817 B CN 110277817B CN 201910576124 A CN201910576124 A CN 201910576124A CN 110277817 B CN110277817 B CN 110277817B
- Authority
- CN
- China
- Prior art keywords
- voltage
- electric quantity
- charging time
- battery
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 99
- 230000008569 process Effects 0.000 claims abstract description 36
- 238000007599 discharging Methods 0.000 claims abstract description 17
- 238000012216 screening Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 abstract description 17
- 230000005611 electricity Effects 0.000 abstract description 17
- 230000000694 effects Effects 0.000 abstract description 2
- 238000004422 calculation algorithm Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 229910052744 lithium Inorganic materials 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- H02J7/0026—
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/0036—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0068—Battery or charger load switching, e.g. concurrent charging and load supply
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/00306—Overdischarge protection
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
- H02J7/0048—Detection of remaining charge capacity or state of charge [SOC]
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Tests Of Electric Status Of Batteries (AREA)
Abstract
The invention discloses a method for acquiring electric quantity of electronic equipment, which comprises the steps of acquiring a first corresponding relation between voltage and electric quantity of a battery in a discharging process in advance, and recording accumulated charging time and voltage corresponding to the battery after each power failure in a switching process of charging and power failure for a plurality of times; when a charging event is received, reading the initial voltage of the battery; determining target charging time required by the initial voltage when reaching the voltage corresponding to the next display electric quantity according to the accumulated charging time and the first corresponding relation; and when the target charging time is reached, determining the next display electric quantity as the current display electric quantity. Therefore, compared with the traditional electric quantity calculation method, the method indirectly acquires the electric quantity of the battery through accumulating the charging time instead of acquiring the electric quantity through voltage, so that the problem of inaccurate electric quantity caused by virtual electricity when the battery is charged can be effectively avoided. The electric quantity acquisition device, the electric quantity acquisition device and the storage medium of the electronic equipment have the same effects.
Description
Technical Field
The present invention relates to the field of power management, and in particular, to a method, an apparatus, a device, and a storage medium for acquiring electric quantity of an electronic device.
Background
The electronic device according to the present invention is mainly a miniature electronic device containing a battery, such as a bluetooth headset, and in view of portability, the device does not usually contain an electricity meter, so that the electricity of the battery cannot be obtained by the electricity meter. Since the bluetooth headset generally does not have a display screen, in order to obtain the electric quantity of the battery of the bluetooth headset, the bluetooth headset generally calculates the electric quantity of the battery of the bluetooth headset, and then sends the electric quantity to the terminal device connected with the bluetooth headset in a bluetooth transmission mode, so that the electric quantity is displayed by the terminal device. The user can obtain the electric quantity of the Bluetooth headset through the terminal equipment.
In the prior art, a conventional electric quantity algorithm is generally adopted in a method for calculating the electric quantity of a battery, namely the following formula is adopted to obtain the electric quantity:
wherein V is the current voltage of the battery, V min For shutdown voltage, V max Is the cut-off voltage.
In the discharging process, the discharging curve of the lithium battery approximately meets the linear relation, so that the traditional electric quantity algorithm is applicable in an uncharged scene, and a virtual electricity phenomenon exists when the battery is in a charged scene. If the conventional charge algorithm is still adopted in the charging state (especially in the low-power state), the charging is only performed for a few minutes in the actual charging process, and the terminal device displays 100% of the charge, but the actual charge of the battery is still low and is not full, so that the conventional charge algorithm is not suitable for the battery charging scene.
Disclosure of Invention
The invention aims to provide a method for acquiring the electric quantity of an electronic device, which is used for acquiring the current electric quantity of a battery when the battery on the electronic device is charged. In addition, the invention further provides an electric quantity acquisition device of the electronic equipment, an electric quantity acquisition device of the electronic equipment and a storage medium, wherein the electric quantity acquisition device of the electronic equipment corresponds to the electric quantity acquisition method of the electronic equipment.
In order to solve the above technical problems, the present invention provides a method for obtaining electric quantity of an electronic device, including:
a first corresponding relation between the voltage and the electric quantity of the battery in the discharging process is obtained in advance, and accumulated charging time and accumulated charging voltage corresponding to the battery after power failure in the switching process of charging and power failure for a plurality of times are recorded;
when a charging event is received, reading the initial voltage of the battery;
determining a target charging time required by the initial voltage when reaching a voltage corresponding to the next display electric quantity according to the accumulated charging time and the first corresponding relation;
and when the target charging time is reached, determining the next display electric quantity as the current display electric quantity.
Preferably, the determining, according to the accumulated charging time and the first correspondence, the target charging time required for the initial voltage to reach the voltage corresponding to the next display power specifically includes:
acquiring a display interval of the display electric quantity;
screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval;
establishing a second corresponding relation between each target voltage and the accumulated charging time;
determining a voltage interval in which the initial voltage is located, and determining charging time required by the initial voltage to reach the upper limit of the voltage interval according to a second corresponding relation corresponding to the voltage interval;
the voltage interval is an interval formed by two adjacent target voltages.
Preferably, when determining that the next display power is the current display power, the method further comprises:
and sending the next display electric quantity to preset terminal equipment so that the terminal equipment displays the electric quantity.
Preferably, the method further comprises:
and storing the change rate of the target voltage corresponding to each voltage interval along with the accumulated charging time.
Preferably, after the reading of the initial voltage of the battery, the method further comprises:
judging whether the initial voltage is in a maximum voltage range and a minimum voltage range corresponding to the maximum display electric quantity and the minimum display electric quantity;
if yes, entering a step of screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval;
otherwise, the current display electric quantity is obtained according to a preset abnormal voltage processing rule.
Preferably, the preset abnormal voltage processing rule specifically includes:
if the initial voltage is smaller than the minimum voltage, determining the current display electric quantity as the minimum display electric quantity;
and if the initial voltage is larger than the maximum voltage, determining the current display electric quantity as the maximum display electric quantity.
Preferably, the method further comprises:
and after the battery is replaced, acquiring the first corresponding relation corresponding to the new battery and the accumulated charging time and voltage corresponding to each power failure.
In order to solve the above technical problem, the present invention further provides an electric quantity acquisition device of an electronic device, including:
the recording module is used for acquiring a first corresponding relation between the voltage and the electric quantity of the battery in the discharging process in advance and recording accumulated charging time and voltage corresponding to the battery after power failure in the switching process of charging and power failure for a plurality of times;
the reading module is used for reading the initial voltage of the battery when a charging event is received;
the determining module is used for determining target charging time required by the initial voltage when reaching the voltage corresponding to the next display electric quantity according to the accumulated charging time and the first corresponding relation;
and the acquisition module is used for determining the next display electric quantity as the current display electric quantity after the target charging time is reached.
Preferably, the determining module specifically includes:
the acquisition unit is used for acquiring a display interval of the display electric quantity;
the screening unit is used for screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval;
a setting unit, configured to set up a second correspondence between each target voltage and the accumulated charging time;
the determining unit is used for determining a voltage interval in which the initial voltage is located and determining charging time required by the initial voltage reaching the upper limit of the voltage interval according to a second corresponding relation corresponding to the voltage interval;
the voltage interval is an interval formed by two adjacent target voltages.
Preferably, after determining that the next display power is the current display power, the apparatus further includes:
and the sending module is used for sending the next display electric quantity to preset terminal equipment so as to enable the terminal equipment to display the electric quantity.
Preferably, the apparatus further comprises:
and the storage module is used for storing the change rate of the target voltage corresponding to each voltage interval along with the accumulated charging time.
Preferably, the apparatus further comprises:
the judging module is used for judging whether the initial voltage is in a maximum voltage range and a minimum voltage range corresponding to the maximum display electric quantity and the minimum display electric quantity; if yes, triggering a screening unit, otherwise, triggering a processing module;
and the processing module is used for obtaining the current display electric quantity according to a preset abnormal voltage processing rule.
Preferably, the apparatus further comprises:
and the updating module is used for acquiring the first corresponding relation corresponding to the new battery and the accumulated charging time and voltage corresponding to each power failure after the battery is replaced.
In order to solve the technical problem, the invention also provides an electric quantity acquisition device of the electronic device, which comprises a memory for storing a computer program;
and the processor is used for realizing the steps of the electric quantity acquisition method of the electronic equipment when executing the computer program.
To solve the above technical problem, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method for acquiring electric power of an electronic device as described above.
According to the electric quantity acquisition method of the electronic equipment, the first corresponding relation between the voltage and the electric quantity in the discharging process is acquired in advance, and the accumulated charging time corresponding to each power failure in the switching process of the repeated charging and the power failure of the battery are recorded, so that the corresponding relation between the voltage, the electric quantity and the accumulated charging time can be obtained, and when the initial voltage is obtained, the target charging time required by the initial voltage to reach the next display electric quantity can be determined according to the corresponding relation among the voltage, the electric quantity and the accumulated charging time. If the battery charging time is monitored to reach the target charging time, the current electric quantity of the battery is indicated to reach the next display electric quantity, and accordingly the electric quantity of the battery is obtained. Therefore, compared with the traditional electric quantity calculation method in the prior art, the method indirectly acquires the electric quantity of the battery through accumulating the charging time instead of acquiring the electric quantity through voltage, so that the problem of inaccurate electric quantity caused by virtual electricity when the battery is charged can be effectively avoided.
In addition, the electric quantity acquisition device and the storage medium of the electronic equipment correspond to the method, and the effects are the same as the above.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flowchart of a method for acquiring electric quantity of an electronic device according to an embodiment of the present invention;
fig. 2 is a discharge graph of a battery according to an embodiment of the present invention;
FIG. 3 is a flowchart of an embodiment of S12;
FIG. 4 is a line graph of a second correspondence;
fig. 5 is a flowchart of another method for obtaining electric quantity of an electronic device according to an embodiment of the present invention;
fig. 6 is a block diagram of an electric quantity acquisition device of an electronic device according to an embodiment of the present invention.
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. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The core of the invention is to provide a method for acquiring the electric quantity of an electronic device, which is used for acquiring the current electric quantity of a battery on the electronic device, and can avoid the problem of inaccurate electric quantity calculation caused by the virtual electricity of the battery. In addition, the invention further provides an electric quantity acquisition device of the electronic equipment, an electric quantity acquisition device of the electronic equipment and a storage medium, wherein the electric quantity acquisition device of the electronic equipment corresponds to the electric quantity acquisition method of the electronic equipment.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
It should be noted that the electronic device according to the present invention may be a head-mounted device, such as an earphone, an electronic glasses, an electronic hearing aid, and the like, and is applicable to a micro device without an electricity meter. It will be appreciated that the device with an electricity meter may be directly measured by using the electricity meter, or the electricity may be obtained by using the method provided by the present invention, and the embodiment is not limited thereto. Hereinafter, an electronic device is mainly taken as an example of a headset, and the headset may be a bluetooth headset. In addition, the battery is usually a lithium battery, but may be any other type of battery, and the present invention is not limited thereto.
Fig. 1 is a flowchart of a method for acquiring electric quantity of an electronic device according to an embodiment of the present invention. As shown in fig. 1, the method includes:
s10: the method comprises the steps of obtaining a first corresponding relation between voltage and electric quantity of a battery in a discharging process in advance, and recording accumulated charging time and accumulated charging voltage corresponding to the battery after power failure in a switching process of charging and power failure for many times.
In a specific implementation, a first correspondence between a voltage and an electric quantity of a battery of an electronic device during a discharging process needs to be obtained, specifically, the first correspondence may be obtained through measurement by a battery measuring instrument, for example, a new battery measuring instrument CT3008 is used to obtain a discharging curve of the battery. Fig. 2 is a discharge graph of a battery according to an embodiment of the present invention, wherein an abscissa indicates a voltage (mV) of the battery and an ordinate indicates an electric quantity (mAh) of the battery.
And (3) performing switching operation of charging and powering off the battery for a plurality of times, namely charging the battery for preset time, then powering off, continuing to charge for preset time, powering off again, and repeating the operation for a plurality of times until the voltage of the battery reaches the cut-off voltage (indicating that the battery is fully charged). In this process, it is necessary to record the accumulated charging time of the battery and the voltage after the power-off after each power-off, in order to avoid the problem of unstable battery voltage, in particular, the voltage after the power-off is read after a period of time of power-off, for example, after 1 minute of power-off. The accumulated charging time mentioned in the present invention is specifically the sum of actual charging times, and does not include the time elapsed at the power-off timing and the reading voltage timing. It should be noted that, the preset time needs to be determined according to the capacity of the battery and the display interval of the electric quantity, it is understood that the shorter the preset time is, the more times of switching charging and power-off are needed, which results in more consumed time and recorded data, but more accurate calculation of the electric quantity of the battery is possible. As a preferred embodiment, the preset time may be 1 minute, i.e., power is turned off after every 1 minute of charging the battery, and the accumulated charging time and voltage after 1 minute of power is recorded. As a preferred embodiment, the voltage of the battery after each power outage can be obtained through an API function.
Because the electronic device is usually provided with a storage device, the accumulated charging time and voltage recorded in the step can be stored in the storage device of the electronic device, so that the electronic device is convenient for subsequent use. Of course, if the storage space is limited, it can also be stored on the terminal device to which it is connected. The latter, when it is necessary to use the data, needs to communicate with the terminal device, and thus, the former is generally selected, because the work efficiency is somewhat lowered.
S11: when a charging event is received, the initial voltage of the battery is read.
It should be noted that, the voltage of the battery will be high in the charging process, and the traditional electric quantity calculation method is based on the voltage, so that the electric quantity is inaccurate due to the traditional electric quantity calculation method, but the traditional electric quantity calculation method can still be adopted when the battery is discharged. The method for acquiring the electric quantity is suitable for a battery charging scene.
In this step, when a charging event is received, the initial voltage is read, but the charging interface (e.g., USB) may also be initialized before the initial voltage is read. It will be appreciated that the initial voltage here can still be obtained by the API function.
S12: and determining the target charging time required by the initial voltage when reaching the voltage corresponding to the next display electric quantity according to the accumulated charging time and the first corresponding relation.
As the charging time is accumulated, the voltage of the battery is gradually increased, and the first correspondence between the voltage and the electric quantity is obtained in step S10, so that each accumulated charging time corresponds to a voltage, and the voltage corresponds to an electric quantity, so that the correspondence between the accumulated charging time and the electric quantity can be obtained. For the battery, each time corresponds to an electric quantity, which is referred to herein as a current display electric quantity, the current display electric quantity and the next display electric quantity change are changes caused by charging the battery, when the charging is continued for a period of time, the electric quantity of the battery changes to the next display electric quantity, and the period of time for which the charging is continued is the target charging time in S12.
The initial voltage is obtained, the initial electric quantity corresponding to the initial voltage can be determined through the first corresponding relation, and then the time required for the initial electric quantity to reach the next display electric quantity is determined through the accumulated charging time and the electric quantity corresponding to each power failure. For example, the initial voltage is vt, the corresponding initial power is qt, the next displayed power is qt+Δt, the time difference from the initial power qt to the next displayed power is qt+Δt, that is, the initial power needs to pass Δt time before reaching the next displayed power, where Δt is the target charging time, that is, the battery charging starts at that moment, and after the target charging time calculated above, the power of the battery reaches the next displayed power. If the display electric quantity is divided according to the display interval of 10%, if the electric quantity of the battery at the moment of charging is 40%, the corresponding electric quantity after the target charging time is 50%, and if the target charging time is not reached, the electric quantity is still 40%.
It should be noted that, the display interval between the next display power and the current display power may be determined according to the actual situation, which is not limited in this embodiment.
S13: and when the target charging time is reached, determining the next display electric quantity as the current display electric quantity.
The target charging time is reached in this step, which means that the target charging time has elapsed since the time when the initial voltage was acquired. The current display electric quantity of the battery is the electric quantity corresponding to the initial voltage from the moment when the initial voltage is acquired to the moment before the target charging time, and the current display electric quantity is changed into the next display electric quantity after the target charging time is reached. If displayed by the display device, the battery power jumps from the previous display power to the next display power, for example, from 40% to 50%.
It should be noted that, in the present embodiment, only the electric quantity of the battery during the charging process is calculated, and the electric quantity is not limited as to whether the electric quantity is to be output or not and what form is adopted to output the present embodiment. For example, after the electric quantity is obtained, the electric quantity can be output according to a user instruction (if the electronic device has a display screen, the display screen can display the electric quantity through a display screen, and if the electronic device does not have the display screen, the display screen can broadcast the electric quantity through a loudspeaker) or the electric quantity can be output in real time. Or is in communication connection with the terminal device, and transmits the electric quantity to the terminal device for display (aiming at the electronic device without a display screen)
According to the electric quantity acquisition method of the electronic equipment, the first corresponding relation between the voltage and the electric quantity in the discharging process is acquired in advance, the accumulated charging time and the accumulated charging time corresponding to each power failure in the switching process of the repeated charging and the power failure of the battery are recorded, so that the corresponding relation between the voltage, the electric quantity and the accumulated charging time can be obtained, and when the initial voltage is obtained, the target charging time required by the initial voltage to reach the next display electric quantity can be determined according to the corresponding relation among the voltage, the electric quantity and the accumulated charging time. If the battery charging time is monitored to reach the target charging time, the current electric quantity of the battery is indicated to reach the next display electric quantity, and accordingly the electric quantity of the battery is obtained. Therefore, compared with the traditional electric quantity calculation method in the prior art, the method indirectly acquires the electric quantity of the battery through accumulating the charging time instead of acquiring the electric quantity through voltage, so that the problem of inaccurate electric quantity caused by virtual electricity when the battery is charged can be effectively avoided.
Fig. 3 is a specific flowchart of S12 according to an embodiment of the present invention. On the basis of the above embodiment, determining, according to the accumulated charging time and the first correspondence, the target charging time required for the initial voltage to reach the voltage corresponding to the next display power specifically includes:
s120: and acquiring a display interval for displaying the electric quantity.
S121: and screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval.
S122: and establishing a second corresponding relation between each target voltage and the accumulated charging time.
S123: determining a voltage interval in which the initial voltage is located, and determining the charging time required by the initial voltage reaching the upper limit of the voltage interval according to a second corresponding relation corresponding to the voltage interval.
The voltage interval is an interval formed by two adjacent target voltages.
As the display interval is 10% as a preferred embodiment, it is understood that the display interval may be other values besides 10%, and the present embodiment is not limited. In the above description, in the process of acquiring the first correspondence between the voltage and the electric quantity, as shown in fig. 2, the discharge curve includes a plurality of sets of correspondence between the voltage and the electric quantity, and in this embodiment, a part of the plurality of sets of correspondence is screened out according to the display interval, so as to reduce the calculation amount. Table 1 shows the target power and target voltage selected at a display interval of 10%. The specific method of screening is to first determine the target electric quantity, if the display interval is 10%, the corresponding target electric quantity is 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%, as shown in the second row of table 1, then obtain the target voltage through the first corresponding relation, which is V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, as shown in the first row of table 1. Finally, for finding the accumulated charging time corresponding to each target power, as shown in the third row of table 1. From table 1, it can be determined that the target electric quantity is changed from 10% to 20%, the required target charging time is t2-t1, the target electric quantity is changed from 20% to 30%, the required target charging time is t3-t2, and so on.
TABLE 1
Target voltage [ mv] | V[1] | V[2] | V[3] | V[4] | V[5] | V[6] | V[7] | V[8] | V[9] | V[10] |
Target electric quantity [%] | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
Cumulative charging time [ min] | t 1 | t 2 | t 3 | t 4 | t 5 | t 6 | t 7 | t 8 | t 9 | t 10 |
For the convenience of understanding of those skilled in the art, fig. 4 is given in this embodiment, and fig. 4 is a line drawing of the second correspondence relationship. According to the principle of infinitesimal in calculus, the whole charging curve can be superimposed by countless small segments of charging curves, the charging curve in each small segment of electric quantity range can be approximately regarded as a broken line meeting the linear relation, and according to the data of table 1, a relatively reasonable charging curve can be fitted, as shown in fig. 4. In FIG. 4, each two adjacent target voltages form a voltage interval, the slope in a voltage interval is fixed, if the initial voltage is located in the voltage interval V4]-V[5]The current display power is 40%, and the complete charging time (T charge [j]) Also known. According to the initial voltage and the lower limit V [ j ] of the voltage interval]Slope K [ j ] of the voltage interval in which it is located]A time variable T can be obtained init [j]Our goal is to calculate the charge time required to reach the next displayed charge, i.e., the target charge time, as T in FIG. 3 imer [j]It is apparent that the following formula holds:
T imer [j]=T charge [j]-T init [j];
it will be appreciated that starting at the time when the initial voltage is obtained, when the battery is continuously charged T imer [j]The current charge of the battery then becomes 50%.
Fig. 5 is a flowchart of another method for obtaining electric quantity of an electronic device according to an embodiment of the present invention. As a preferred embodiment, when determining that the next display power is the current display power, the method further includes:
s20: and sending the next display electric quantity to preset terminal equipment so as to enable the terminal equipment to display the electric quantity.
In the above embodiment, only the amount of electricity of the battery is acquired, but how the amount of electricity is displayed is not limited. In a specific implementation, for an electronic device without a display screen, a user does not know how much the current power is when charging its battery, resulting in poor user experience. In this embodiment, the terminal device is connected to the electronic device, which may be an electrical connection, or may be a communication connection, for example, bluetooth transmission, and when the electric quantity of the battery is acquired, the electric quantity is transmitted to the terminal device, and is displayed on a screen of the terminal device, for example, on the upper right corner of the screen of the terminal device. It is understood that the type of display may be in the form of a percentage or in the form of a pie chart or bar chart, and that various modes of display do not affect the implementation of the present solution.
On the basis of the above embodiment, as a preferred implementation manner, the method further includes:
s30: and storing the change rate of the target voltage corresponding to each voltage interval along with the accumulated charging time.
As can be seen from fig. 4, the rate of change of the target voltage with the accumulated charging time is actually the slope of each voltage interval, and since the slope needs to be calculated during each calculation process, in this embodiment, the corresponding slope of each voltage interval is stored to facilitate direct recall during the subsequent calculation.
On the basis of the above embodiment, as a preferred embodiment, after reading the initial voltage of the battery, it further includes:
s40: and judging whether the initial voltage is in the maximum voltage and minimum voltage range corresponding to the maximum display electric quantity and the minimum display electric quantity, if so, entering S12, otherwise, entering S50.
S41: and obtaining the current display electric quantity according to a preset abnormal voltage processing rule.
In particular, there are two abnormal conditions of the voltage of the battery, one is a voltage lower than the voltage corresponding to the minimum display power, i.e., the minimum voltage V1, and the other is a voltage higher than the voltage corresponding to the maximum display power, i.e., the maximum voltage V10. If the initial voltage is between the maximum voltage and the minimum voltage, the battery capacity is obtained according to the method provided in the above embodiment, and when the initial voltage is not between the minimum voltage and the maximum voltage, it is not reasonable if the above method is still adopted.
The initial voltage is not between the maximum voltage and the minimum voltage in two cases:
1) The electronic device is not used for a long time, and because of the slow discharging process of the battery, when the battery voltage reaches the over-discharge protection voltage, the battery is in the over-discharge protection state. . When the battery is charged in the trickle charge phase, the minimum voltage V1 is reached in a short time, which is negligible.
2) When the battery is fully charged, an initial voltage greater than V10 may occur.
In this embodiment, if the initial voltage is not between the maximum voltage and the minimum voltage, the current display power is obtained according to the abnormal voltage processing rule. As a preferred embodiment, the preset abnormal voltage processing rule specifically includes:
if the initial voltage is smaller than the minimum voltage, determining that the current display electric quantity is the minimum display electric quantity, namely considering the battery as low electric quantity.
If the initial voltage is greater than the maximum voltage, determining that the current display electric quantity is the maximum display electric quantity, namely, considering that the battery is full.
On the basis of the embodiment, the method further comprises:
s50: and after the battery is replaced, acquiring the first corresponding relation corresponding to the new battery and the accumulated charging time and voltage corresponding to each time of power failure.
It will be understood that, although the types of the batteries are the same, the discharge curves of each battery are different due to the influence of objective factors such as different batches and manufacturing processes, i.e. the first correspondence relationship is different, and the accumulated charging time and voltage after each power failure may also be different.
In addition, in other embodiments, the discharge curve of the battery changes with the increase of the service time, that is, the first correspondence relationship changes. In order to ensure the accuracy of electric quantity calculation, an allowable variation range can be set, when the first corresponding relation is within the allowable variation range, subsequent calculation can be performed according to the current first corresponding relation, accumulated charging time and voltage, and when the first corresponding relation exceeds the allowable variation range, a new first corresponding relation and the accumulated charging time and voltage corresponding to each time of power failure are acquired.
In order to make the electric quantity acquisition method of the electronic equipment more clear for the person skilled in the art, the invention provides a specific application scene for explanation, wherein the explanation is made by using a Bluetooth earphone.
1) And obtaining a discharge curve of a battery of the Bluetooth headset, thereby obtaining a first corresponding relation between each voltage and the electric quantity.
2) The battery is charged by a test, specifically, charging is performed when the voltage of the battery is V0 in FIG. 4, and the power is cut off every 1 minute after charging, and the voltage after power cut off and the accumulated charging time are recorded at intervals of 1 minute.
3) Table 1 is obtained according to the correspondence between the accumulated charging time and the voltage obtained in the multiple charging processes and the first correspondence, and the line graph of fig. 4 is also obtained by obtaining table 1.
The above are all steps that need to be performed before the actual measurement of the battery.
4) When the battery is not charged, the electric quantity is calculated according to the traditional electric quantity calculation method, when the battery is charged, the initial voltage of the battery is obtained, and the voltage interval in which the initial voltage is located, the corresponding slope and the difference value of the accumulated charging time are determined according to fig. 4, so that the target charging time required by the initial voltage to reach the voltage corresponding to the next displayed electric quantity is obtained.
5) When the charging time reaches the target charging time, the electric quantity of the battery is determined to be the next display electric quantity, for example, the previous 40%, and the next display electric quantity is 50%.
6) After the Bluetooth headset obtains the display electric quantity, the data are transmitted to a mobile phone connected with the Bluetooth headset through Bluetooth communication to be displayed.
7) The user can determine the current electric quantity of the battery through the mobile phone.
In the above embodiments, the method for acquiring the electric quantity of the electronic device is described in detail, and the invention further provides a corresponding embodiment of the electric quantity acquisition device of the electronic device. It should be noted that, the electric quantity obtaining device of the electronic device provided by the invention is mainly based on the angle of the functional module.
Fig. 6 is a block diagram of an electric quantity acquisition device of an electronic device according to an embodiment of the present invention. As shown in fig. 6, the apparatus includes:
the recording module 10 is configured to obtain a first correspondence between voltage and electric quantity of the battery during discharging in advance, and record accumulated charging time and voltage corresponding to each time of power failure during switching process of charging and power failure of the battery for multiple times;
a reading module 11 for reading an initial voltage of the battery when a charging event is received;
a determining module 12, configured to determine, according to the accumulated charging time and the first correspondence, a target charging time when the initial voltage reaches a voltage corresponding to the next display power;
and the obtaining module 13 is configured to determine the next display power as the current display power after the charging time is reached.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein.
According to the electric quantity acquisition device of the electronic equipment, the first corresponding relation between the voltage and the electric quantity in the discharging process is acquired in advance, and the accumulated charging time corresponding to each power failure in the switching process of the repeated charging and the power failure of the battery are recorded, so that the corresponding relation between the voltage, the electric quantity and the accumulated charging time can be obtained, and when the initial voltage is obtained, the target charging time required by the initial voltage to reach the next display electric quantity can be determined according to the corresponding relation among the voltage, the electric quantity and the accumulated charging time. If the battery charging time is monitored to reach the target charging time, the current electric quantity of the battery is indicated to reach the next display electric quantity, and accordingly the electric quantity of the battery is obtained. Therefore, compared with the traditional electric quantity calculation method in the prior art, the device indirectly acquires the electric quantity of the battery through accumulating the charging time instead of acquiring the electric quantity through voltage, so that the problem of inaccurate electric quantity caused by virtual electricity of the battery during charging can be effectively avoided.
In other embodiments, the determining module 12 specifically includes:
the acquisition unit is used for acquiring a display interval of the display electric quantity;
the screening unit is used for screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval;
a setting unit, configured to set up a second correspondence between each target voltage and the accumulated charging time;
the determining unit is used for determining a voltage interval in which the initial voltage is located and determining charging time required by the initial voltage reaching the upper limit of the voltage interval according to a second corresponding relation corresponding to the voltage interval;
the voltage interval is an interval formed by two adjacent target voltages.
Preferably, after determining that the next display power is the current display power, the apparatus further includes:
and the sending module is used for sending the next display electric quantity to preset terminal equipment so as to enable the terminal equipment to display the electric quantity.
Preferably, the apparatus further comprises:
and the storage module is used for storing the change rate of the target voltage corresponding to each voltage interval along with the accumulated charging time.
Preferably, the apparatus further comprises:
the judging module is used for judging whether the initial voltage is in a maximum voltage range and a minimum voltage range corresponding to the maximum display electric quantity and the minimum display electric quantity; if yes, triggering a screening unit, otherwise, triggering a processing module;
and the processing module is used for obtaining the current display electric quantity according to a preset abnormal voltage processing rule.
Preferably, the apparatus further comprises:
and the updating module is used for acquiring the first corresponding relation corresponding to the new battery and the accumulated charging time and voltage corresponding to each power failure after the battery is replaced.
In the above embodiments, the method for acquiring the electric quantity of the electronic device is described in detail, and the invention further provides a corresponding embodiment of the electric quantity acquisition device of the electronic device. This embodiment is described primarily from the perspective of a hardware device.
The electric quantity acquisition device of the electronic device provided by the embodiment comprises a memory, a first storage unit and a second storage unit, wherein the memory is used for storing a computer program;
a processor for implementing the steps of the method of obtaining the electrical quantity of the electronic device as provided above when executing the computer program. Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion refer to the description of the embodiments of the method portion, which is not repeated herein.
In some embodiments of the invention, the processor and memory may be connected by a bus or other means.
According to the electric quantity acquisition equipment of the electronic equipment, the first corresponding relation between the voltage and the electric quantity in the discharging process is acquired in advance, and the accumulated charging time corresponding to each power failure in the switching process of the repeated charging and the power failure of the battery are recorded, so that the corresponding relation between the voltage, the electric quantity and the accumulated charging time can be obtained, and when the initial voltage is obtained, the target charging time required by the initial voltage to reach the next display electric quantity can be determined according to the corresponding relation among the voltage, the electric quantity and the accumulated charging time. If the battery charging time is monitored to reach the target charging time, the current electric quantity of the battery is indicated to reach the next display electric quantity, and accordingly the electric quantity of the battery is obtained. Therefore, compared with the traditional electric quantity calculation method in the prior art, the device indirectly acquires the electric quantity of the battery through accumulating the charging time instead of acquiring the electric quantity through voltage, so that the problem of inaccurate electric quantity caused by virtual electricity of the battery during charging can be effectively avoided.
Finally, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for obtaining electric power of an electronic device provided above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The computer readable storage medium provided by the embodiment of the invention, the processor can execute the following method according to the computer program stored on the medium: the first corresponding relation between the voltage and the electric quantity in the discharging process is obtained in advance, and the accumulated charging time corresponding to each power-off in the switching process of the repeated charging and the power-off of the battery are recorded, so that the corresponding relation between the voltage, the electric quantity and the accumulated charging time can be obtained, and when the initial voltage is obtained, the target charging time required by the initial voltage to reach the next display electric quantity can be determined according to the corresponding relation among the voltage, the electric quantity and the accumulated charging time. If the battery charging time is monitored to reach the target charging time, the current electric quantity of the battery is indicated to reach the next display electric quantity, and accordingly the electric quantity of the battery is obtained. Therefore, compared with the traditional electric quantity calculation method in the prior art, the method indirectly acquires the electric quantity of the battery through accumulating the charging time instead of acquiring the electric quantity through voltage, so that the problem of inaccurate electric quantity caused by virtual electricity when the battery is charged can be effectively avoided.
The method, the device, the equipment and the storage medium for acquiring the electric quantity of the electronic equipment provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this specification, 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 (9)
1. A method for obtaining an electric quantity of an electronic device, comprising:
a first corresponding relation between the voltage and the electric quantity of the battery in the discharging process is obtained in advance, and accumulated charging time and accumulated charging voltage corresponding to the battery after power failure in the switching process of charging and power failure for a plurality of times are recorded;
when a charging event is received, reading the initial voltage of the battery;
determining a target charging time required by the initial voltage when reaching a voltage corresponding to the next display electric quantity according to the accumulated charging time and the first corresponding relation;
when the target charging time is reached, determining the next display electric quantity as the current display electric quantity;
the determining, according to the accumulated charging time and the first correspondence, a target charging time required by the initial voltage to reach a voltage corresponding to a next display power specifically includes:
acquiring a display interval of the display electric quantity;
screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval;
establishing a second corresponding relation between each target voltage and the accumulated charging time;
determining a voltage interval in which the initial voltage is located, and determining charging time required by the initial voltage to reach the upper limit of the voltage interval according to a second corresponding relation corresponding to the voltage interval;
acquiring the change rate of the target voltage corresponding to the voltage interval along with the accumulated charging time;
determining the charging time required by the initial voltage to reach the voltage corresponding to the next display electric quantity according to the change rate;
the voltage interval is an interval formed by two adjacent target voltages.
2. The method of claim 1, wherein after determining that the next display power is the current display power, further comprising:
and sending the next display electric quantity to preset terminal equipment so that the terminal equipment displays the electric quantity.
3. The method as recited in claim 1, further comprising:
and storing the change rate of the target voltage corresponding to each voltage interval along with the accumulated charging time.
4. A method according to any one of claims 1-3, further comprising, after said reading the initial voltage of the battery:
judging whether the initial voltage is in a maximum voltage range and a minimum voltage range corresponding to the maximum display electric quantity and the minimum display electric quantity;
if yes, entering a step of screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval;
otherwise, the current display electric quantity is obtained according to a preset abnormal voltage processing rule.
5. The method of claim 4, wherein the preset abnormal voltage handling rules specifically include:
if the initial voltage is smaller than the minimum voltage, determining the current display electric quantity as the minimum display electric quantity;
and if the initial voltage is larger than the maximum voltage, determining the current display electric quantity as the maximum display electric quantity.
6. The method as recited in claim 1, further comprising:
and after the battery is replaced, acquiring the first corresponding relation corresponding to the new battery and the accumulated charging time and voltage corresponding to each power failure.
7. An electric quantity acquisition device of an electronic device, characterized by comprising:
the recording module is used for acquiring a first corresponding relation between the voltage and the electric quantity of the battery in the discharging process in advance and recording accumulated charging time and voltage corresponding to the battery after power failure in the switching process of charging and power failure for a plurality of times;
the reading module is used for reading the initial voltage of the battery when a charging event is received;
the determining module is used for determining target charging time required by the initial voltage when reaching the voltage corresponding to the next display electric quantity according to the accumulated charging time and the first corresponding relation;
the acquisition module is used for determining the next display electric quantity as the current display electric quantity after the target charging time is reached;
the determining module specifically includes:
the acquisition unit is used for acquiring a display interval of the display electric quantity;
the screening unit is used for screening out the target electric quantity and the corresponding target voltage in the first corresponding relation according to the display interval;
a setting unit, configured to set up a second correspondence between each target voltage and the accumulated charging time;
the determining unit is used for determining a voltage interval in which the initial voltage is located and determining charging time required by the initial voltage reaching the upper limit of the voltage interval according to a second corresponding relation corresponding to the voltage interval;
acquiring the change rate of the target voltage corresponding to the voltage interval along with the accumulated charging time;
determining the charging time required by the initial voltage to reach the voltage corresponding to the next display electric quantity according to the change rate;
the voltage interval is an interval formed by two adjacent target voltages.
8. An electric quantity acquisition device of an electronic device, characterized by comprising a memory for storing a computer program;
a processor for implementing the steps of the method for acquiring electric power of an electronic device according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method for acquiring electric power of an electronic device according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910576124.7A CN110277817B (en) | 2019-06-28 | 2019-06-28 | Electric quantity acquisition method, device and equipment of electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910576124.7A CN110277817B (en) | 2019-06-28 | 2019-06-28 | Electric quantity acquisition method, device and equipment of electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110277817A CN110277817A (en) | 2019-09-24 |
CN110277817B true CN110277817B (en) | 2023-04-21 |
Family
ID=67962529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910576124.7A Active CN110277817B (en) | 2019-06-28 | 2019-06-28 | Electric quantity acquisition method, device and equipment of electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110277817B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111474482B (en) * | 2020-04-29 | 2022-08-16 | 珠海优特物联科技有限公司 | Electric quantity detection model establishing method, electric quantity detection device and electronic equipment |
CN111562507B (en) * | 2020-04-30 | 2021-12-14 | 歌尔科技有限公司 | Battery electric quantity display method and device, electronic equipment and storage medium |
CN111555389A (en) * | 2020-05-15 | 2020-08-18 | 歌尔智能科技有限公司 | Method, device and equipment for calculating battery electric quantity and computer readable storage medium |
CN111562505B (en) * | 2020-05-29 | 2023-05-30 | Oppo广东移动通信有限公司 | Battery identification method, electronic equipment and storage medium |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3193486B2 (en) * | 1992-11-27 | 2001-07-30 | 本田技研工業株式会社 | Method and apparatus for displaying remaining battery level in electric vehicle |
JP2932871B2 (en) * | 1992-12-02 | 1999-08-09 | 松下電器産業株式会社 | Battery capacity indicator |
TW200518373A (en) * | 2003-11-26 | 2005-06-01 | Qqe Technology Co Ltd | Test and display method for providing actual charge capacity of rechargeable battery |
TWI264169B (en) * | 2003-12-15 | 2006-10-11 | Qqe Technology Co Ltd | Charger with displaying charging amount of rechargeable battery |
JP4988974B2 (en) * | 2010-11-25 | 2012-08-01 | パナソニック株式会社 | Charging control circuit, battery-driven device, charging device, and charging method |
CN102231548B (en) * | 2011-07-04 | 2013-11-06 | 上海工程技术大学 | Battery charging device with dynamic capacity-display and charge countdown functions and application thereof |
CN103515664B (en) * | 2012-06-26 | 2015-12-02 | 联想(北京)有限公司 | A kind of charge information acquisition methods, system and electronic equipment |
CN104297689B (en) * | 2014-09-04 | 2017-05-24 | 中兴通讯股份有限公司 | Method and device for displaying electricity amount of battery and electronic device |
CN104301547B (en) * | 2014-10-15 | 2016-03-02 | 深圳市中兴移动通信有限公司 | The management method of battery electric quantity and mobile terminal |
CN105006871B (en) * | 2015-08-26 | 2017-08-01 | 广东欧珀移动通信有限公司 | A kind of method and device for being used to simulate actual battery charging process |
JP6826320B2 (en) * | 2017-02-20 | 2021-02-03 | セイコーエプソン株式会社 | Battery charging device, recording device |
CN107171418A (en) * | 2017-07-26 | 2017-09-15 | 深圳天珑无线科技有限公司 | Data processing method, device and non-transitory computer-readable medium |
CN107768756B (en) * | 2017-09-19 | 2020-02-28 | 歌尔科技有限公司 | Method and device for charging battery |
CN108020790B (en) * | 2017-11-08 | 2020-08-14 | 潍坊歌尔电子有限公司 | Method and device for detecting electric quantity of battery after charging |
CN111555389A (en) * | 2020-05-15 | 2020-08-18 | 歌尔智能科技有限公司 | Method, device and equipment for calculating battery electric quantity and computer readable storage medium |
-
2019
- 2019-06-28 CN CN201910576124.7A patent/CN110277817B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110277817A (en) | 2019-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110277817B (en) | Electric quantity acquisition method, device and equipment of electronic equipment and storage medium | |
CN110426642B (en) | Method, device and equipment for acquiring electric quantity of electronic equipment in aging state and storage medium | |
EP3285081B1 (en) | Battery state of health detection device and method | |
CN108957337B (en) | Method and device for determining state of health of battery, storage medium and electronic equipment | |
EP2851700B1 (en) | Method and terminal for displaying capacity of battery | |
US9651628B2 (en) | Method and apparatus for determining a capacity of a battery | |
CN106461732B (en) | Method for estimating state of health of battery | |
EP3812777A1 (en) | Method and device for estimating battery charge status | |
CN104112878B (en) | A kind of charging time determines method and apparatus, electronic equipment | |
US20140306712A1 (en) | Tracking aging effect on battery impedance and tracking battery state of health | |
EP3889626A1 (en) | Battery management controllers capable of estimating state of charge | |
US20150369876A1 (en) | Deterioration determination method, manufacturing method of electric storage device, deterioration determination device, and storage medium | |
CN112986842A (en) | Method, device and equipment for estimating state of charge of battery | |
US20190227127A1 (en) | Estimation method for battery capacity | |
US9759782B2 (en) | Impedance-based battery state estimation method | |
CN111562505A (en) | Battery identification method, electronic equipment and storage medium | |
CN103942133B (en) | A kind of information processing method and electronic equipment | |
CN110687458A (en) | Terminal battery electric quantity determination method and device | |
CN113447834B (en) | Battery capacity consistency analysis method and device, storage medium and electronic equipment | |
KR100911315B1 (en) | Apparatus and method for estimating battery's resistance characteristics based on open circuit voltage estimated by battery voltage variation pattern | |
JP2008226758A (en) | Charge management device, control method for the same, and control program | |
CN112698229A (en) | Short-circuit current detection method and device, readable storage medium and electronic equipment | |
CN107221989B (en) | Method for inhibiting temperature rise, computer readable storage medium and communication equipment | |
CN108983100B (en) | Method and device for processing residual electric quantity of battery | |
CN116190836A (en) | SOC correction method, battery module and electronic equipment |
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 |