CN112986879B - Fuel gauge correction method and device, electronic equipment and storage medium - Google Patents

Fuel gauge correction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112986879B
CN112986879B CN201911296417.6A CN201911296417A CN112986879B CN 112986879 B CN112986879 B CN 112986879B CN 201911296417 A CN201911296417 A CN 201911296417A CN 112986879 B CN112986879 B CN 112986879B
Authority
CN
China
Prior art keywords
resistance
battery
temperature
voltage
acquiring
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
CN201911296417.6A
Other languages
Chinese (zh)
Other versions
CN112986879A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911296417.6A priority Critical patent/CN112986879B/en
Publication of CN112986879A publication Critical patent/CN112986879A/en
Application granted granted Critical
Publication of CN112986879B publication Critical patent/CN112986879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Secondary Cells (AREA)

Abstract

The present disclosure relates to an electricity meter correction method and apparatus, an electronic device, and a storage medium. An electricity meter correction method includes: acquiring the real-time temperature inside the battery; acquiring the equivalent resistance of the protective plate in the battery based on the real-time temperature; acquiring line voltage of the protection plate according to the current of the battery and the equivalent resistance; and correcting the voltage acquired by the battery detection point outside the battery by using the line voltage to obtain a first voltage, wherein the first voltage is used for representing the current voltage of the battery inner cell. In the embodiment, the current voltage of the battery core can be obtained by correcting the voltage at the battery detection point collected by the fuel gauge, the effect of setting the fuel gauge inside the battery is achieved, and the scheme is simple and convenient, low in cost and beneficial to reducing the cost of electronic equipment.

Description

Fuel gauge correction method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of detection, and in particular relates to an electricity meter correction method and device, electronic equipment and a storage medium.
Background
At present, with the increase of popularity of electronic devices, the demand of users for quick charging is also higher, and accordingly, the accuracy of a charging method in the quick charging process is also more and more important. In order to improve the accuracy of the battery model, a part of the battery of the high-end electronic device is internally provided with an electricity meter, and the voltage of the battery cell end is detected by using the electricity meter, however, the cost of the built-in electricity meter of the battery is higher, which is not beneficial to reducing the cost of the electronic device.
Disclosure of Invention
The present disclosure provides an electricity meter correction method and apparatus, an electronic device, and a storage medium to solve the deficiencies of the related art.
According to a first aspect of embodiments of the present disclosure, there is provided an electricity meter correction method, the method comprising:
acquiring the real-time temperature inside the battery;
acquiring the equivalent resistance of the protective plate in the battery based on the real-time temperature;
acquiring line voltage of the protection plate according to the current of the battery and the equivalent resistance;
and correcting the voltage acquired by the battery detection point outside the battery by using the line voltage to obtain a first voltage, wherein the first voltage is used for representing the current voltage of the battery inner cell.
Optionally, obtaining the equivalent resistance of the protective plate in the battery based on the real-time temperature includes:
acquiring a corresponding relation between a preset temperature and a preset resistor;
and acquiring the resistance corresponding to the real-time temperature based on the corresponding relation, wherein the resistance is used for representing the equivalent resistance of the battery internal protection plate under the condition of the real-time temperature.
Optionally, the correspondence between temperature and resistance includes a correspondence table between temperature and resistance; the corresponding relation between the temperature and the resistance is obtained by the following steps:
acquiring equivalent resistances of the protective plate of the battery at different temperatures;
and forming a corresponding relation table of the temperature and the resistance based on different temperatures and corresponding equivalent resistances thereof.
Optionally, the correspondence between the temperature and the resistance includes a fitted curve of the temperature and the resistance; the corresponding relation between the temperature and the resistance is obtained by the following steps:
acquiring equivalent resistances of the protective plate of the battery at different temperatures;
fitting different temperatures and corresponding equivalent resistances thereof to obtain a fitting curve of the temperatures and the resistances.
Optionally, obtaining the equivalent resistance of the protective plate in the battery based on the real-time temperature includes:
acquiring a preset corresponding relation table of temperature and temperature resistance coefficient, and acquiring the temperature resistance coefficient corresponding to the real-time temperature;
and acquiring a resistance corresponding to the real-time temperature based on a preset reference temperature, a line reference resistance at the reference temperature, the temperature resistance coefficient and the real-time temperature, wherein the resistance is used for representing the equivalent resistance of the battery inner protection plate under the condition of the real-time temperature.
Optionally, said correcting the voltage acquired by the fuel gauge from a battery detection point outside the battery by using the line voltage to obtain a first voltage includes:
and obtaining a difference value between the first voltage and the line voltage, and taking the difference value as the first voltage.
According to a second aspect of embodiments of the present disclosure, there is provided an electricity meter correction device, the device comprising:
the real-time temperature acquisition module is used for acquiring the real-time temperature inside the battery;
the equivalent resistance acquisition module is used for acquiring the equivalent resistance of the battery internal protection plate based on the real-time temperature;
the line voltage acquisition module is used for acquiring the line voltage of the protection plate according to the current of the battery and the equivalent resistance;
and the electricity meter correction module is used for correcting the voltage acquired by the electricity meter from a battery detection point outside the battery by using the line voltage to obtain a first voltage, and the first voltage is used for representing the current voltage of the battery inner cell.
Optionally, the equivalent resistance obtaining module includes:
the corresponding relation acquisition unit is used for acquiring the corresponding relation between the preset temperature and the resistor;
and the equivalent resistance acquisition unit is used for acquiring the resistance corresponding to the real-time temperature based on the corresponding relation, and the resistance is used for representing the equivalent resistance of the battery internal protection board under the condition of the real-time temperature.
Optionally, the correspondence between temperature and resistance includes a correspondence table between temperature and resistance; the device also comprises a corresponding relation acquisition module, which is used for acquiring the corresponding relation between the temperature and the resistance, and specifically comprises the following steps:
the equivalent resistance detection unit is used for acquiring the equivalent resistance of the protection plate of the battery at different temperatures;
and the relation table forming unit is used for forming a corresponding relation table of the temperature and the resistance based on different temperatures and corresponding equivalent resistances.
Optionally, the correspondence between the temperature and the resistance includes a fitted curve of the temperature and the resistance; the device also comprises a corresponding relation acquisition module, which is used for acquiring the corresponding relation between the temperature and the resistance, and specifically comprises the following steps:
the equivalent resistance detection unit is used for acquiring the equivalent resistance of the protection plate of the battery at different temperatures;
the fitting curve obtaining unit is used for fitting different temperatures and corresponding equivalent resistances thereof to obtain fitting curves of the temperatures and the resistances.
Optionally, the equivalent resistance obtaining module includes:
the temperature resistance coefficient acquisition unit is used for acquiring a preset corresponding relation table of temperature and temperature resistance coefficient;
the temperature resistance coefficient acquisition unit is used for acquiring the temperature resistance coefficient corresponding to the real-time temperature;
the equivalent resistance obtaining unit is used for obtaining the resistance corresponding to the real-time temperature based on a preset reference temperature, a line reference resistance at the reference temperature, the temperature resistance coefficient and the real-time temperature, and the resistance is used for representing the equivalent resistance of the battery inner protection plate under the condition of the real-time temperature.
Optionally, the fuel gauge correction module includes:
and the difference value acquisition unit is used for acquiring the difference value between the first voltage and the line voltage and taking the difference value as the first voltage.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a battery;
an electricity meter disposed outside the battery;
the electricity meter comprises a microprocessor and a memory;
the memory is used for storing the microprocessor executable instructions;
the microprocessor being configured to execute executable instructions in the memory to implement the steps of any of the methods described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a battery;
an electricity meter disposed outside the battery;
a processor;
a memory for storing the processor-executable instructions;
the processor is electrically connected with the battery, the fuel gauge and the memory respectively;
the processor is configured to execute executable instructions in the memory to implement the steps of any of the methods described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a readable storage medium having stored thereon executable instructions which when executed by a microprocessor implement the steps of any of the methods described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
as can be seen from the above embodiments, in the embodiments of the present disclosure, the real-time temperature inside the battery is obtained, and then the equivalent resistance of the protection plate inside the battery is obtained based on the real-time temperature; then, obtaining the line voltage of the protection board according to the current and the equivalent resistance of the battery; and finally, correcting the voltage acquired by the battery detection point outside the battery by using the line voltage to obtain a first voltage, wherein the first voltage is used for representing the current voltage of the battery inner cell. Therefore, in the embodiment, the current voltage of the battery core can be obtained by correcting the voltage of the battery detection point collected by the electric quantity meter from the battery detection point, the effect of setting the electric quantity meter inside the battery is achieved, and the scheme is simple, convenient and low in cost, and is beneficial to reducing the cost of the electronic equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of an electronic device according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of fuel gauge correction according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating one method of obtaining equivalent resistance according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating the acquisition of a correspondence table, according to an exemplary embodiment.
FIG. 5 is a flowchart illustrating obtaining a fitted curve according to an exemplary embodiment.
Fig. 6 is a flow chart illustrating another method of obtaining equivalent resistance according to an exemplary embodiment.
Fig. 7-12 are block diagrams illustrating an electricity meter correction method apparatus according to an exemplary embodiment.
Fig. 13 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus consistent with some aspects of the disclosure as detailed in the accompanying claims.
At present, with the increase of popularity of electronic devices, the demand of users for quick charging is also higher, and accordingly, the accuracy of a charging method in the quick charging process is also more and more important. In order to improve the accuracy of the battery model, a part of the battery of the high-end electronic device is internally provided with an electricity meter, and the voltage of the battery cell end is detected by using the electricity meter, however, the cost of the built-in electricity meter of the battery is higher, which is not beneficial to reducing the cost of the electronic device.
To solve the above-described technical problems, the embodiments of the present disclosure provide a fuel gauge correction method that may be adapted to a fuel gauge disposed outside a battery or an electronic device provided with an external battery gauge, and embodiments will be described hereinafter with the electronic device as a description object, and fig. 1 is a schematic structural view of an electronic device according to an exemplary embodiment. Referring to fig. 1, the electronic device includes a main board including a battery cell (cell) and a protection board, and a battery cell including a charging circuit, a processor (ap) and an electricity meter. The sensing line of the charging circuit can detect the voltage at the battery detection point pack, the fuel gauge is arranged outside the battery, and the voltage at the battery detection point pack is also detected. The fuel gauge or processor may then correct the voltage at the battery sense point pack as detected by the fuel gauge to obtain the voltage at the battery cell.
FIG. 2 is a diagram illustrating a method of fuel gauge correction, according to an example embodiment. Referring to fig. 2, an electricity meter correction method includes steps 201 to 204, wherein:
in step 201, a real-time temperature of the inside of the battery is acquired.
In this embodiment, a thermistor may be provided in the battery, and the resistance value of the thermistor may be obtained from the voltage and current of the thermistor. For example, the pins of the battery include an NTC pin, through which the electronic device can obtain the voltage of the thermistor, and in combination with the current Ibat of the battery, the resistance value R of the thermistor can be calculated.
Then, based on a preset correspondence relationship between the resistance value and the temperature, a temperature corresponding to the resistance value, which is a real-time temperature inside the battery, can be obtained. The correspondence may be obtained from a number of experiments.
Of course, a thermometer may be provided inside or outside the battery, through which the real-time temperature inside the battery is directly measured. In the case that the real-time temperature inside the battery can be obtained, the corresponding scheme falls within the protection scope of the present disclosure.
In step 202, the equivalent resistance of the protective plate within the battery is obtained based on the real-time temperature.
In this embodiment, the electronic device may obtain an equivalent resistance of the protection board in the battery based on the real-time temperature, including:
in an example, a correspondence relationship between temperature and resistance may be preset in the electronic device. Referring to fig. 3, in step 301, the electronic device may acquire a preset correspondence relationship between temperature and resistance. Then, in step 302, the electronic device may obtain a resistance corresponding to the real-time temperature based on the correspondence. Wherein the resistance is used for representing the equivalent resistance of the protective plate in the battery under the condition of real-time temperature.
For example, the correspondence of temperature and resistance may include a correspondence table of temperature and resistance. The above-mentioned correspondence table of the temperature and the resistance may be obtained in the following manner, referring to fig. 4, in step 401, the electronic device may obtain the equivalent resistance of the protection plate of the battery at different temperatures. In step 402, the electronic device may form a table of correspondence between temperatures and resistances based on the different temperatures and their corresponding equivalent resistances.
For another example, the correspondence between temperature and resistance may include a fitted curve of temperature and resistance. The fitted curve of the temperature and the resistance can be obtained by referring to fig. 5, and in step 501, the electronic device can obtain the equivalent resistance of the battery at different temperatures of the protection plate. In step 502, fitting different temperatures and corresponding equivalent resistances to obtain a fitted curve of temperature and resistance. The corresponding relation between the temperature and the resistance is obtained.
For another example, considering that the resistance of a part of materials changes faster in a certain temperature range and changes slower in another temperature range, a corresponding relation table and a fitting curve can be adopted to be used in combination, and according to the range of the temperature, a corresponding relation is adopted, so that the scheme of the disclosure can be realized, and the corresponding scheme falls into the protection range of the disclosure.
In another example, a correspondence table of temperature and temperature resistance coefficient may be preset in the electronic device. Referring to fig. 6, in step 601, the electronic device may acquire a preset correspondence table between temperature and temperature resistance coefficient. In step 602, the electronic device may obtain a temperature resistance coefficient corresponding to the real-time temperature based on the correspondence table of the temperature and the temperature resistance coefficient. In step 603, a resistance corresponding to the real-time temperature is obtained based on the preset reference temperature, the line reference resistance at the reference temperature, the temperature resistance coefficient, and the real-time temperature. Wherein the resistance is used for representing the equivalent resistance of the protective plate in the battery under the condition of real-time temperature.
For example, an equivalent resistance calculation model may be preset in the electronic device, for example, R (T) =r1×1+α (T1-T)), where R (T) represents an equivalent resistance, R1 represents a line reference resistance at a reference temperature, T1 represents a reference temperature, α represents a temperature resistance coefficient, and T represents a real-time temperature.
In addition, when the material of the protective plate is made, the attribute data of the material may be obtained, and the attribute data includes the temperature resistance coefficient thereof at a certain temperature, so that a correspondence table of the temperature and the temperature resistance coefficient may be formed.
In step 203, the line voltage of the protection plate is obtained according to the present current and the equivalent resistance of the battery.
In this embodiment, the line voltage of the protection board may be obtained according to the current Ibat and the equivalent resistance of the battery. For example, du=ibat×r (t), where dU represents the line voltage, ibat represents the current of the battery, and R (t) represents the line resistance.
In step 204, the line voltage is used to calibrate the fuel gauge to obtain a first voltage from the voltage collected at a battery sense point external to the battery, the first voltage being used to characterize the current voltage of the cells within the battery.
In this embodiment, the electronic device may acquire the voltage at the battery detection point (pack point) acquired by the electricity meter. And correcting the voltage acquired by the electricity meter by using the line voltage to obtain a first voltage. In one example, the electronic device may obtain a difference between the first voltage and the line voltage, i.e., the first voltage, i.e., vcell=vpack-Ibat R (T), where Vcell represents the first voltage, i.e., the cell voltage, ibat represents the battery current, and R (T) represents the line resistance.
So far, in the embodiment of the disclosure, the real-time temperature inside the battery is obtained, and then the equivalent resistance of the protective plate inside the battery is obtained based on the real-time temperature; then, obtaining the line voltage of the protection board according to the current and the equivalent resistance of the battery; and finally, correcting the voltage acquired by the fuel gauge by using the line voltage to obtain a first voltage, wherein the first voltage is used for representing the current voltage of the electric core in the battery. Therefore, the current voltage of the battery core can be obtained by correcting the voltage at the battery detection point collected by the fuel gauge in the embodiment, the effect of setting the fuel gauge in the battery is achieved, and the scheme is simple and convenient, low in cost and beneficial to reducing the cost of the electronic equipment.
Fig. 7 is an illustration of an electricity meter correction device according to an exemplary embodiment, see fig. 7, comprising:
a real-time temperature acquisition module 701, configured to acquire a real-time temperature inside the battery;
the equivalent resistance acquisition module 702 is configured to acquire an equivalent resistance of the protection board in the battery based on the real-time temperature;
a line voltage acquisition module 703, configured to acquire a line voltage of the protection board according to a current and an equivalent resistance of the battery;
the fuel gauge correction module 704 is configured to correct the voltage acquired by the battery detection point outside the battery by using the line voltage to obtain a first voltage, where the first voltage is used to represent the current voltage of the cell in the battery.
In one embodiment, referring to fig. 8, the equivalent resistance acquisition module 702 includes:
a correspondence acquiring unit 801, configured to acquire a preset correspondence between temperature and resistance;
the equivalent resistance obtaining unit 802 is configured to obtain a resistance corresponding to the real-time temperature based on the correspondence, where the resistance is used to characterize an equivalent resistance of the protection board in the battery under the condition of the real-time temperature.
In one embodiment, referring to fig. 9, the correspondence between temperature and resistance includes a correspondence table of temperature and resistance; the device also comprises a corresponding relation acquisition module, which is used for acquiring the corresponding relation between the temperature and the resistance, and specifically comprises the following steps:
an equivalent resistance detection unit 901, configured to obtain equivalent resistances of the protection board of the battery at different temperatures;
the relationship table forming unit 902 is configured to form a corresponding relationship table of temperatures and resistances based on the different temperatures and their corresponding equivalent resistances.
In one embodiment, referring to fig. 10, the correspondence between temperature and resistance includes a fitted curve of temperature and resistance; the device also comprises a corresponding relation acquisition module, which is used for acquiring the corresponding relation between the temperature and the resistance, and specifically comprises the following steps:
an equivalent resistance detection unit 1001, configured to obtain equivalent resistances of the protection board of the battery at different temperatures;
the fitting curve obtaining unit 1002 is configured to fit different temperatures and corresponding equivalent resistances thereof to obtain a fitting curve of the temperatures and the resistances.
In one embodiment, referring to fig. 11, the equivalent resistance acquisition module 702 includes:
a temperature resistance coefficient obtaining unit 1101, configured to obtain a preset correspondence table between temperature and temperature resistance coefficient;
a temperature resistance coefficient obtaining unit 1102, configured to obtain a temperature resistance coefficient corresponding to a real-time temperature;
the equivalent resistance obtaining unit 1103 is configured to obtain a resistance corresponding to the real-time temperature based on a preset reference temperature, a line reference resistance at the reference temperature, a temperature resistance coefficient, and the real-time temperature, where the resistance is used to represent an equivalent resistance of the protection board in the battery under the condition of the real-time temperature.
In one embodiment, referring to FIG. 12, the fuel gauge correction module includes:
the difference value obtaining unit 1201 is configured to obtain a difference value between the first voltage and the line voltage, and take the difference value as the first voltage.
It can be understood that the apparatus provided in the embodiments of the present disclosure corresponds to the above method, and specific content may refer to content of each embodiment of the method, which is not described herein.
So far, in the embodiment of the disclosure, the real-time temperature inside the battery is obtained, and then the equivalent resistance of the protective plate inside the battery is obtained based on the real-time temperature; then, obtaining the line voltage of the protection board according to the current and the equivalent resistance of the battery; and finally, correcting the voltage acquired by the fuel gauge by using the line voltage to obtain a first voltage, wherein the first voltage is used for representing the current voltage of the electric core in the battery. Therefore, the current voltage of the battery core can be obtained by correcting the voltage at the battery detection point collected by the fuel gauge in the embodiment, the effect of setting the fuel gauge in the battery is achieved, and the scheme is simple and convenient, low in cost and beneficial to reducing the cost of the electronic equipment.
Fig. 13 is a block diagram of an electronic device, according to an example embodiment. For example, the electronic device 1300 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 13, an electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, a communication component 1316, and an image acquisition component 1318.
The processing component 1302 generally operates overall with the electronic device 1300, such as operations associated with display, telephone call, data communication, camera operation, and recording operation. The processing component 1302 can include one or more processors 1320 to execute instructions. Further, the processing component 1302 can include one or more modules that facilitate interactions between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302. Wherein the processor 1320 may be electrically connected to the battery, the fuel gauge disposed outside the battery, and the memory for implementing the fuel gauge correction method as shown in fig. 2.
The memory 1304 is configured to store various types of data to support operations at the electronic device 1300. Examples of such data include instructions for any application or method operating on the electronic device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply assembly 1306 provides power to the various components of the electronic device 1300. The power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 1300. The power supply assembly can comprise an electricity meter, the voltage at the battery detection point pack can be detected through the electricity meter, the voltage of the battery cell can be obtained through the electricity meter correction method of fig. 2, and the control of the voltage of the cell in the charging process can be facilitated. Wherein the correction procedure may be implemented by an electricity meter.
The multimedia component 1308 includes a screen between the electronic device 1300 and the target object that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a target object. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc.
The sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of the electronic device 1300. For example, the sensor assembly 1314 may detect an on/off state of the electronic device 1300, a relative positioning of the components, such as a display and keypad of the electronic device 1300, the sensor assembly 1314 may also detect a change in position of the electronic device 1300 or one of the components, the presence or absence of a target object in contact with the electronic device 1300, an orientation or acceleration/deceleration of the electronic device 1300, and a change in temperature of the electronic device 1300.
The communication component 1316 is configured to facilitate communication between the electronic device 1300 and other devices, either wired or wireless. The electronic device 1300 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements.
In an exemplary embodiment, a non-transitory readable storage medium is also provided, such as memory 1304, comprising executable instructions executable by a photosensor core in a photosensor. The readable storage medium may be, among other things, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. An electricity meter correction method, characterized by being applied to an electronic device including an electricity meter provided on a main board for collecting a voltage from a battery detection point outside a battery; the method is used for correcting the voltage acquired by the battery detection point to obtain the voltage at the battery cell, and comprises the following steps:
acquiring the real-time temperature inside the battery;
acquiring the equivalent resistance of the protective plate in the battery based on the real-time temperature;
acquiring line voltage of the protection plate according to the current of the battery and the equivalent resistance;
and correcting the voltage acquired by the battery detection point outside the battery by using the line voltage to obtain a first voltage, wherein the first voltage is used for representing the current voltage of the battery inner cell.
2. The fuel gauge correction method according to claim 1, wherein obtaining an equivalent resistance of the battery inner protection plate based on the real-time temperature includes:
acquiring a corresponding relation between a preset temperature and a preset resistor;
and acquiring the resistance corresponding to the real-time temperature based on the corresponding relation, wherein the resistance is used for representing the equivalent resistance of the battery internal protection plate under the condition of the real-time temperature.
3. The fuel gauge correction method according to claim 2, wherein the correspondence of temperature and resistance includes a correspondence table of temperature and resistance; the corresponding relation between the temperature and the resistance is obtained by the following steps:
acquiring equivalent resistances of the protective plate of the battery at different temperatures;
and forming a corresponding relation table of the temperature and the resistance based on different temperatures and corresponding equivalent resistances thereof.
4. The fuel gauge correction method according to claim 3, wherein obtaining an equivalent resistance of the battery protection plate based on the real-time temperature includes:
acquiring a preset corresponding relation table of temperature and temperature resistance coefficient;
acquiring a temperature resistance coefficient corresponding to the real-time temperature based on the corresponding relation table;
and acquiring a resistance corresponding to the real-time temperature based on a preset reference temperature, a line reference resistance at the reference temperature, the temperature resistance coefficient and the real-time temperature, wherein the resistance is used for representing the equivalent resistance of the battery inner protection plate under the condition of the real-time temperature.
5. The fuel gauge correction method of claim 2, wherein the correspondence of temperature and resistance includes a fitted curve of temperature and resistance; the corresponding relation between the temperature and the resistance is obtained by the following steps:
acquiring equivalent resistances of the protective plate of the battery at different temperatures;
fitting different temperatures and corresponding equivalent resistances thereof to obtain a fitting curve of the temperatures and the resistances.
6. The fuel gauge correction method according to claim 1, wherein the correcting the voltage acquired by the fuel gauge from a battery detection point outside the battery using the line voltage results in a first voltage, comprising:
and obtaining a difference value between the first voltage and the line voltage, and taking the difference value as the first voltage.
7. An electricity meter correction device, characterized by being applied to an electronic apparatus including an electricity meter provided on a main board for collecting a voltage from a battery detection point outside a battery; the device is used for correcting the voltage acquired by the battery detection point to obtain the voltage at the battery cell, and comprises:
the real-time temperature acquisition module is used for acquiring the real-time temperature inside the battery;
the equivalent resistance acquisition module is used for acquiring the equivalent resistance of the battery internal protection plate based on the real-time temperature;
the line voltage acquisition module is used for acquiring the line voltage of the protection plate according to the current of the battery and the equivalent resistance;
and the electricity meter correction module is used for correcting the voltage acquired by the electricity meter from a battery detection point outside the battery by using the line voltage to obtain a first voltage, and the first voltage is used for representing the current voltage of the battery inner cell.
8. The fuel gauge correction device of claim 7, wherein the equivalent resistance acquisition module comprises:
the corresponding relation acquisition unit is used for acquiring the corresponding relation between the preset temperature and the resistor;
and the equivalent resistance acquisition unit is used for acquiring the resistance corresponding to the real-time temperature based on the corresponding relation, and the resistance is used for representing the equivalent resistance of the battery internal protection board under the condition of the real-time temperature.
9. The fuel gauge correction device of claim 8, wherein the correspondence of temperature and resistance includes a correspondence table of temperature and resistance; the device also comprises a corresponding relation acquisition module, which is used for acquiring the corresponding relation between the temperature and the resistance, and specifically comprises the following steps:
the equivalent resistance detection unit is used for acquiring the equivalent resistance of the protection plate of the battery at different temperatures;
and the relation table forming unit is used for forming a corresponding relation table of the temperature and the resistance based on different temperatures and corresponding equivalent resistances.
10. The fuel gauge correction device of claim 8, wherein the correspondence of temperature and resistance comprises a fitted curve of temperature and resistance; the device also comprises a corresponding relation acquisition module, which is used for acquiring the corresponding relation between the temperature and the resistance, and specifically comprises the following steps:
the equivalent resistance detection unit is used for acquiring the equivalent resistance of the protection plate of the battery at different temperatures;
the fitting curve obtaining unit is used for fitting different temperatures and corresponding equivalent resistances thereof to obtain fitting curves of the temperatures and the resistances.
11. The fuel gauge correction device of claim 7, wherein the equivalent resistance acquisition module comprises:
the temperature resistance coefficient acquisition unit is used for acquiring a preset corresponding relation table of temperature and temperature resistance coefficient;
the temperature resistance coefficient acquisition unit is used for acquiring the temperature resistance coefficient corresponding to the real-time temperature;
the equivalent resistance obtaining unit is used for obtaining the resistance corresponding to the real-time temperature based on a preset reference temperature, a line reference resistance at the reference temperature, the temperature resistance coefficient and the real-time temperature, and the resistance is used for representing the equivalent resistance of the battery inner protection plate under the condition of the real-time temperature.
12. The fuel gauge correction device of claim 7, wherein the fuel gauge correction module comprises:
and the difference value acquisition unit is used for acquiring the difference value between the first voltage and the line voltage and taking the difference value as the first voltage.
13. An electronic device, comprising:
a main board;
a battery;
an electricity meter disposed on a motherboard of the electronic device;
the electricity meter comprises a microprocessor and a memory;
the memory is used for storing the microprocessor executable instructions;
the microprocessor being configured to execute executable instructions in the memory to implement the steps of the method of any one of claims 1 to 6.
14. An electronic device, comprising:
a main board;
a battery;
an electricity meter disposed on a motherboard of the electronic device;
a processor;
a memory for storing the processor-executable instructions;
the processor is electrically connected with the battery, the fuel gauge and the memory respectively;
the processor being configured to execute executable instructions in the memory to implement the steps of the method of any one of claims 1 to 6.
15. A readable storage medium having stored thereon executable instructions, which when executed by a microprocessor, implement the steps of the method of any of claims 1 to 6.
CN201911296417.6A 2019-12-16 2019-12-16 Fuel gauge correction method and device, electronic equipment and storage medium Active CN112986879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911296417.6A CN112986879B (en) 2019-12-16 2019-12-16 Fuel gauge correction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911296417.6A CN112986879B (en) 2019-12-16 2019-12-16 Fuel gauge correction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112986879A CN112986879A (en) 2021-06-18
CN112986879B true CN112986879B (en) 2023-11-14

Family

ID=76343470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911296417.6A Active CN112986879B (en) 2019-12-16 2019-12-16 Fuel gauge correction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112986879B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115343529B (en) * 2022-10-12 2023-03-10 荣耀终端有限公司 Electric quantity detection circuit and method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106324317A (en) * 2015-07-06 2017-01-11 中兴通讯股份有限公司 Voltage measuring method and voltage measuring device
CN106489223A (en) * 2016-05-27 2017-03-08 广东欧珀移动通信有限公司 Battery protecting plate, battery and mobile terminal
CN106655401A (en) * 2017-01-16 2017-05-10 深圳易方数码科技股份有限公司 Charging method and charging equipment
CN107370859A (en) * 2017-05-23 2017-11-21 深圳天珑无线科技有限公司 Method of testing, test device and the storage device of the voltameter of mobile terminal
WO2017201737A1 (en) * 2016-05-27 2017-11-30 广东欧珀移动通信有限公司 Battery protecting board, battery, and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204046218U (en) * 2014-07-22 2014-12-24 童光志 A kind of energy-saving elevated piezoelectric battery circuit
CN106463792A (en) * 2016-05-27 2017-02-22 广东欧珀移动通信有限公司 Battery Protection board, battery, and mobile terminal
CN106463992A (en) * 2016-05-27 2017-02-22 广东欧珀移动通信有限公司 Battery protection plate, battery and mobile terinal
CN106877455A (en) * 2017-04-07 2017-06-20 广东欧珀移动通信有限公司 The charging method of mobile terminal, the charging circuit of mobile terminal and mobile terminal
WO2018216298A1 (en) * 2017-05-24 2018-11-29 三菱電機株式会社 Electric rice cooker and heating cooking system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106324317A (en) * 2015-07-06 2017-01-11 中兴通讯股份有限公司 Voltage measuring method and voltage measuring device
CN106489223A (en) * 2016-05-27 2017-03-08 广东欧珀移动通信有限公司 Battery protecting plate, battery and mobile terminal
WO2017201737A1 (en) * 2016-05-27 2017-11-30 广东欧珀移动通信有限公司 Battery protecting board, battery, and mobile terminal
CN106655401A (en) * 2017-01-16 2017-05-10 深圳易方数码科技股份有限公司 Charging method and charging equipment
CN107370859A (en) * 2017-05-23 2017-11-21 深圳天珑无线科技有限公司 Method of testing, test device and the storage device of the voltameter of mobile terminal

Also Published As

Publication number Publication date
CN112986879A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN103885588B (en) Automatic switching method and device
CN107843802A (en) Internal short-circuit detection method and device
CN105633498A (en) Battery temperature detection method and device
CN114062957B (en) Battery remaining capacity acquisition method and device, electronic equipment and storage medium
CN106557201B (en) Pressure detection method and device
CN111200304B (en) Temperature detection circuit, method and device of wireless charging coil and storage medium
CN106774774A (en) The electric quantity display method and device of end cell
US11686776B2 (en) Prediction method and apparatus of battery health, and storage medium
CN112986879B (en) Fuel gauge correction method and device, electronic equipment and storage medium
CN113725954B (en) Charging method, device, equipment and storage medium
CN104951203B (en) Apparatus control method, device and electronic equipment
CN105183330B (en) Image-erasing method and device
EP4084267A1 (en) Method and apparatus for charging a battery and terminal
CN117716560A (en) Battery temperature detection method, battery temperature detection circuit and device
CN117348710A (en) Equipment control method, device, medium, equipment and chip
CN104202470A (en) Terminal power supply control method and terminal power supply control device
CN112444599B (en) Battery damage detection method and device
CN113346564A (en) Power management chip control method and device and terminal equipment
CN113933717B (en) Method and device for obtaining electric quantity of battery, battery and electronic equipment
CN109066865A (en) The calibration method and terminal of battery capacity
CN111864857B (en) Battery charging method, device and medium
CN109216815B (en) Battery, electronic device, corrosion early warning method and device, and readable storage medium
US11635468B2 (en) Method, apparatus and storage medium for determining charging time length of battery
EP3893320B1 (en) Shutdown method, shutdown apparatus, terminal and storage medium
CN117538753A (en) Battery electric quantity determining method, device and medium

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