CN113193607A - Battery charging method and device, electronic equipment and storage medium - Google Patents

Battery charging method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113193607A
CN113193607A CN202010037095.XA CN202010037095A CN113193607A CN 113193607 A CN113193607 A CN 113193607A CN 202010037095 A CN202010037095 A CN 202010037095A CN 113193607 A CN113193607 A CN 113193607A
Authority
CN
China
Prior art keywords
charging
voltage
configuration information
battery
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010037095.XA
Other languages
Chinese (zh)
Inventor
孙长宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010037095.XA priority Critical patent/CN113193607A/en
Publication of CN113193607A publication Critical patent/CN113193607A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure relates to a battery charging method and device, an electronic device and a storage medium. A battery charging method comprising: sending a query request to a fuel gauge in the battery, wherein the fuel gauge acquires charging data of the battery core according to the query request and feeds the charging data back to the processor; the charging data is voltage and/or current obtained by the electricity meter through detecting the electric core through a sensing line; receiving charging data returned by the fuel gauge; and generating charging configuration information according to the charging data, wherein the charging configuration information is used for configuring the voltage and/or current provided by the charging adapter to the charging module. In this embodiment, the battery voltage can be controlled more accurately by controlling the charging process using the cell voltage, which is beneficial to improving the accuracy of the charging process.

Description

Battery charging method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to a battery charging method and apparatus, an electronic device, and a storage medium.
Background
At present, along with the increase of the popularity of electronic devices, the demand of users for quick charging is higher and higher, and accordingly, the accuracy of the charging method in the quick charging process is more and more important. In practical applications, considering that the number of pins on the battery connector is limited, the voltage sensing lines of the master charging circuit and the slave charging circuit in the electronic device can sense the voltage at the voltage detection point (pack point), and the battery is charged according to the voltage at the pack point.
Because be provided with the battery protection shield between battery cell end (cell point) and the battery link, there is the difference in the voltage of battery cell point and the voltage of pack point department, leads to the unable assurance of the degree of accuracy of charging process.
Disclosure of Invention
The present disclosure provides a battery charging method and apparatus, an electronic device, and a storage medium to solve the disadvantages of the related art.
According to a first aspect of the embodiments of the present disclosure, a battery charging method is provided, which is applied to an electronic device, where the electronic device includes a processor, a charging module, and a battery; the battery comprises an electric core and a fuel gauge, the fuel gauge is connected with the electric core through a sensing line and is connected with an external processor through a communication bus, and the processor is connected with the fuel gauge; the method comprises the following steps:
sending a query request to a fuel gauge in the battery, wherein the fuel gauge acquires charging data of the battery core according to the query request and feeds the charging data back to the processor; the charging data is voltage and/or current obtained by the electricity meter through detecting the electric core through a sensing line
Receiving charging data returned by the fuel gauge;
and generating charging configuration information according to the charging data, wherein the charging configuration information is used for configuring the voltage and/or current provided by the charging adapter to the charging module.
Optionally, the generating charging configuration information according to the charging data includes:
acquiring the voltage range of each charging stage;
acquiring a voltage range to which a voltage value in the charging data belongs;
determining a charging stage according to the voltage range;
and generating charging configuration information according to the charging stage.
Optionally, the charging module includes a slave charger, where the slave charger is adapted to a scene where the battery performs large-current charging, and generating charging configuration information according to the charging data includes:
and generating battery cell constant voltage charging configuration information when the voltage in the charging data is smaller than a first voltage threshold, wherein the battery cell constant voltage charging configuration information is used for controlling a charging adapter to configure the provided voltage and current so that the battery cell is charged by adopting a second voltage threshold.
Optionally, the generating charging configuration information according to the charging data includes:
when the voltage in the charging data is greater than a third voltage threshold, generating overvoltage protection configuration information, wherein the overvoltage protection configuration information is used for controlling a charging adapter to stop charging or configuring that the provided current is smaller than a preset current limiting threshold;
the third voltage threshold is less than a voltage threshold of an overvoltage protection circuit in the electronic device.
Optionally, the generating charging configuration information according to the charging data includes:
and when the current in the charging data exceeds a preset current threshold, generating over-current protection configuration information, wherein the over-current protection configuration information is used for controlling the current provided by the charging adapter to be smaller than a preset current limiting threshold.
According to a second aspect of the embodiments of the present disclosure, there is provided a battery charging apparatus applied to an electronic device, the electronic device including a processor, a charging module and a battery; the battery comprises an electric core and a fuel gauge, the fuel gauge is connected with the electric core through a sensing line and is connected with an external processor through a communication bus, and the processor is connected with the fuel gauge; the method comprises the following steps:
the query request sending module is used for sending a query request to a fuel gauge in the battery, and the fuel gauge acquires the charging data of the battery core according to the query request and feeds the charging data back to the processor; the charging data is voltage and/or current obtained by the electricity meter through detecting the electric core through a sensing line
The charging data receiving module is used for receiving charging data returned by the fuel gauge;
and the configuration information generating module is used for generating charging configuration information according to the charging data, and the charging configuration information is used for configuring the voltage and/or current provided by the charging adapter to the charging module.
Optionally, the configuration information generating module includes:
the voltage range acquisition unit is used for acquiring the voltage range of each charging stage;
the range acquisition unit is used for acquiring a voltage range to which a voltage value belongs in the charging data;
the charging stage determining unit is used for determining a charging stage according to the voltage range;
and the configuration information generating unit is used for generating charging configuration information according to the charging stage.
Optionally, the charging module includes a slave charger, the slave charger is suitable for a scenario where the battery performs large-current charging, and the configuration information generating module includes:
and the constant voltage signal generation unit is used for generating cell constant voltage charging configuration information when the voltage in the charging data is smaller than a first voltage threshold, wherein the cell constant voltage charging configuration information is used for controlling the voltage and the current provided by the charging adapter so as to charge the cell by adopting a second voltage threshold.
Optionally, the configuration information generating module includes:
the overvoltage protection generating unit is used for generating overvoltage protection configuration information when the voltage in the charging data is greater than a third voltage threshold, wherein the overvoltage protection configuration information is used for controlling the charging adapter to stop charging or configuring that the provided current is smaller than a preset current limiting threshold;
the third voltage threshold is less than a voltage threshold of an overvoltage protection circuit in the electronic device.
Optionally, the configuration information generating module includes:
and the overcurrent protection generating unit is used for generating overcurrent protection configuration information when the current in the charging data exceeds a preset current threshold, wherein the overcurrent protection configuration information is used for controlling the current provided by the charging adapter configuration to be smaller than a preset current limiting threshold.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a battery with a built-in electricity meter;
a processor communicatively coupled to the battery;
a memory for storing the processor-executable instructions;
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 fourth aspect of embodiments of the present disclosure, there is provided a readable storage medium having stored thereon executable instructions that, when executed by a light sensor core, implement the steps of the method of any one of the first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
as can be seen from the foregoing embodiments, in the embodiments of the present disclosure, by sending an inquiry request to a fuel gauge in a battery, the fuel gauge may detect charging data, such as voltage and/or data, of a battery cell through a sensing line; then, charging configuration information can be generated according to the charging data so as to configure the voltage and/or current provided by the charging adapter to the charging module. In this embodiment, the battery voltage can be controlled more accurately by controlling the charging process using the cell voltage, which is beneficial to improving the accuracy of the charging process.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of charging a battery in accordance with an exemplary embodiment.
Fig. 3 is a flow diagram illustrating the generation of charging configuration information according to an example embodiment.
Fig. 4 to 8 are block diagrams illustrating a battery charging method apparatus according to an exemplary embodiment.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The following exemplary described embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure as recited in the claims below.
At present, along with the increase of the popularity of electronic devices, the demand of users for quick charging is higher and higher, and accordingly, the accuracy of the charging method in the quick charging process is more and more important. In practical applications, considering that the number of pins on the battery connector is limited, the voltage sensing lines of the master charging circuit and the slave charging circuit in the electronic device can sense the voltage at the voltage detection point (pack point), and the battery is charged according to the voltage at the pack point.
Because be provided with the battery protection shield between battery cell end (cell point) and the battery link, there is the difference in the voltage of battery cell point and the voltage of pack point department, leads to the unable assurance of the degree of accuracy of charging process.
In order to solve the above technical problem, an embodiment of the present disclosure provides a battery charging method, which may be applied to an electronic device including a battery with a built-in fuel gauge, and fig. 1 is a schematic structural diagram of an electronic device according to an exemplary embodiment. Referring to fig. 1, the electronic device includes a main board and a battery. The battery comprises an electric core, an electricity meter and a protection board, wherein the electricity meter is connected with the electric core through a sensing line and a voltage detection point cell, and charging data of the electric core can be obtained through sensing voltage and current of the cell point. The electricity meter is connected with the processor on the mainboard through a communication line. The protection shield is connected with electric core, is connected with the module that charges on the mainboard simultaneously. The communication line may be selected according to a specific scenario, and in one example, may be implemented by using an I2C bus.
The charging module on the mainboard can comprise a master charger and a slave charger. The main charger is connected with the power adapter and the battery middle protection plate respectively, can be realized by hardware, such as a DCDC circuit, is used for realizing closed-loop detection and stabilization of output voltage or current, and can be used in trickle charge, pre-charge and low-current constant-voltage (CV) charge stages.
The slave charger is connected with the power adapter and the battery protection plate respectively, and can be realized by adopting a charge pump (charge pump), so that the charging efficiency is higher. In order to maintain the efficient charging from the charger, the processor needs to poll the fuel gauge and generate charging configuration information according to charging data fed back by the fuel gauge, so that the output of the power adapter is configured and controlled to realize closed-loop control, and the closed-loop control method can be used for a CC stage with large charging current and a CV stage with large current. The large-current charging refers to a charging scene in which the current exceeds a set current threshold (such as 1A or 2A).
In this embodiment, the master charger and the slave charger may collect the voltage at the voltage detection point pack through the respective sensing lines.
Based on the above electronic device, the present disclosure provides a battery charging method, and fig. 2 is a battery charging method according to an exemplary embodiment. Referring to fig. 2, a battery charging method includes steps 21 to 23, wherein:
in step 21, sending an inquiry request to a fuel gauge in the battery, and the fuel gauge acquires the charging data of the battery core according to the inquiry request and feeds the charging data back to the processor; the charging data is voltage and/or current obtained by the electricity meter through detecting the electric core through a sensing line.
In this embodiment, during the charging process, the processor in the electronic device may send an inquiry request to the electricity meter in the battery according to a set period. After receiving the query request, the electricity meter may acquire the voltage and/or current of the electric core according to the query request to obtain charging data, and feed back the charging data to the processor through the communication line.
In step 22, charging data returned by the fuel gauge is received.
In step 23, charging configuration information is generated according to the charging data, and the charging configuration information is used for configuring the voltage and/or current provided by the charging adapter to the charging module.
In this embodiment, after receiving the charging data, the processor may generate charging configuration information, which may include:
in one example, referring to fig. 3, in step 31, the processor may obtain a voltage range for each charging phase. The charging phases may include a constant current phase 1(CCstep1), a constant current phase 2(CCstep2), a constant current phase 3(CCstep3), a constant current phase 4(CCstep4), a slave charger constant voltage phase (slave charger CV), a master charger constant voltage phase (main charger CV), and the like, and may be set according to specific scenarios. In step 32, the processor may obtain a voltage range to which the voltage value belongs in the charging data. In step 33, the processor may determine a charging phase from the voltage range. In step 34, the processor may generate charging configuration information according to the charging phase. The processor may then send the charging configuration information to the power adapter via the communication line, such that the power adapter may adjust the output voltage and/or output current based on the charging configuration information.
In another example, considering a scenario where the slave charger is suitable for high current (over 1A or 2A) charging, the processor may send a query request to the fuel gauge, which collects the cell point voltage and feeds it back to the processor. When the voltage is smaller than a first voltage threshold (e.g., 3V to 4V), the processor may generate the cell constant voltage charging configuration information. The power adapter may output a corresponding voltage and a large current in response to the cell constant voltage charging configuration information, so that the slave charger is charged with the large current, and the cell voltage is stabilized near a second voltage threshold (e.g., 4.25V), thereby achieving a higher charging efficiency.
In yet another example, the processor may also implement Over Voltage Protection (OVP) for the cell spot using the fuel gauge. The processor may obtain the voltage at the cell point, compare the voltage to a third voltage threshold (e.g., 4.48V), and if the voltage exceeds the third voltage threshold, the processor may generate the over-voltage protection configuration information and send the over-voltage protection configuration information to the power adapter. The power adapter can respond to the overvoltage protection configuration information, reduce the output voltage and limit the output current, or stop charging, and the voltage at a cell point can be ensured to be constant or to be reduced by limiting the output current or stopping charging until a fourth voltage threshold is reached, wherein the fourth voltage threshold is smaller than the third voltage threshold. When the processor determines that the voltage at the cell point is reduced to the fourth voltage threshold, charging configuration information can be generated according to the voltage at the cell point, namely, normal charging is recovered, and the overvoltage protection function is turned off.
In practical application, the third voltage threshold may be smaller than a voltage threshold of a hardware overvoltage protection circuit on the motherboard, and the battery may be continuously charged in a current-limiting manner under the condition of overvoltage, so as to prevent the hardware overvoltage protection circuit from stopping charging. In other words, in this example, a layer of overvoltage protection soft protection is added to the cell point, and then the safety of battery charging is improved by combining with hardware overvoltage protection.
In yet another example, the processor may also implement over-current protection (OCP) for the cell point using the fuel gauge. The processor may obtain the current at the cell point, compare the voltage to a current threshold (e.g., 3A), and if the current exceeds the current threshold, the processor may generate overcurrent protection configuration information and send the overcurrent protection configuration information to the power adapter. The power adapter can respond to the overcurrent protection configuration information, reduce the output current, or stop charging, and can ensure that the current at a cell point is smaller than a current threshold value by reducing the output current or stopping charging, so that the problem of current fluctuation when hardware is short-circuited in the constant-voltage charging process can be avoided, and the effect of protecting the battery cell is achieved.
In practical application, the current threshold value can be smaller than that of a hardware overcurrent protection circuit on a mainboard, so that damage of a large current to a battery cell when the hardware overcurrent protection circuit is not started is avoided. In other words, in this example, a layer of overcurrent protection soft protection is added to the cell point, and then the safety of battery charging is improved by combining with hardware overvoltage protection.
To this end, in the embodiment of the present disclosure, by sending an inquiry request to a fuel gauge in a battery, the fuel gauge may detect charging data, such as voltage and/or data, of a battery cell through a sensing line; then, charging configuration information can be generated according to the charging data so as to configure the voltage and/or current provided by the charging adapter to the charging module. In this embodiment, the battery voltage can be controlled more accurately by controlling the charging process using the cell voltage, which is beneficial to improving the accuracy of the charging process.
The battery charging method is described below in combination with a scenario in which the master charger and the slave charger respectively collect voltages at the voltage detection points pack through the sensing lines and report the voltages to the processor. The processor sends an inquiry request to the electricity meter and acquires the voltage of the cell point fed back by the electricity meter. And the processor determines that the battery cell can be charged by adopting large current according to the pack point voltage and the cell point voltage.
And in the first stage, the pack point is charged at a constant voltage. In the first phase, the processor generates charging configuration information, so that the voltage at the pack point is stabilized at 4.48V, and the battery cell is continuously charged by adopting a large current (such as 2A). During charging, the processor acquires the cell point voltage through the polling coulometer, and the voltage is in a rising state.
And in the second stage, the cell point is charged at constant voltage. In the second stage, when the voltage of the cell point reaches the voltage threshold (for example, 4.25V) in the constant voltage charging process of the pack point, the processor generates the configuration information of the constant voltage charging of the cell point, and the power adapter slowly reduces the output current, so that the charging current of the battery cell is reduced. Thus, the pack point voltage will slowly decrease until the battery is completely charged.
Therefore, in the embodiment, the battery is charged in a pack point and cell point voltage mode, which is beneficial to shortening the charging time and ensuring the safety degree of the charging process.
Fig. 4 is a diagram illustrating a battery charging apparatus according to an exemplary embodiment, applied to an electronic device including a processor, a charging module, and a battery; the battery comprises a battery core and a fuel gauge, wherein the fuel gauge is connected with the battery core through a sensing line and is connected with an external processor through a communication bus, and the processor is connected with the fuel gauge. Referring to fig. 4, a battery charging apparatus includes:
a query request sending module 41, configured to send a query request to a fuel gauge in the battery, where the fuel gauge obtains charging data of the battery core according to the query request and feeds the charging data back to the processor; the charging data is voltage and/or current obtained by the electricity meter through detecting the electric core through a sensing line;
a charging data receiving module 42, configured to receive charging data returned by the fuel gauge;
a configuration information generating module 43, configured to generate charging configuration information according to the charging data, where the charging configuration information is used to configure the voltage and/or current provided by the charging adapter to the charging module.
In an embodiment, referring to fig. 5, the configuration information generating module 43 includes:
a voltage range acquisition unit 51 for acquiring a voltage range of each charging stage;
an belonging range acquiring unit 52 configured to acquire a voltage range to which a voltage value belongs in the charging data;
a charging phase determining unit 53, configured to determine a charging phase according to the voltage range;
a configuration information generating unit 54, configured to generate charging configuration information according to the charging phase.
In an embodiment, referring to fig. 6, the charging module includes a slave charger adapted to use the battery for a high-current charging scenario, and the configuration information generating module 43 includes:
and the constant voltage signal generating unit 61 is configured to generate cell constant voltage charging configuration information when the voltage in the charging data is smaller than the first voltage threshold, where the cell constant voltage charging configuration information is used to control the charging adapter to configure the provided voltage and current, so that the cell is charged by using the second voltage threshold. (for example, if the battery voltage is less than 3V, the CELL point voltage is stabilized at 4.25V, and then a larger current is needed)
In an embodiment, referring to fig. 7, the configuration information generating module 43 includes:
an overvoltage protection generating unit 71, configured to generate overvoltage protection configuration information when the voltage in the charging data is greater than a third voltage threshold, where the overvoltage protection configuration information is used to control the charging adapter to stop charging or configure that the provided current is smaller than a preset current-limiting threshold;
the third voltage threshold is less than a voltage threshold of an overvoltage protection circuit in the electronic device.
In an embodiment, referring to fig. 8, the configuration information generating module includes:
and an overcurrent protection generating unit 81, configured to generate overcurrent protection configuration information when the current in the charging data exceeds a preset current threshold, where the overcurrent protection configuration information is used to control the current provided by the charging adapter configuration to be smaller than a preset current limiting threshold.
It can be understood that the apparatus provided in the embodiments of the present disclosure corresponds to the method described above, and specific contents may refer to the contents of each embodiment of the method, which are not described herein again.
To this end, in the embodiment of the present disclosure, by sending an inquiry request to a fuel gauge in a battery, the fuel gauge may detect charging data, such as voltage and/or data, of a battery cell through a sensing line; then, charging configuration information can be generated according to the charging data so as to configure the voltage and/or current provided by the charging adapter to the charging module. In this embodiment, the battery voltage can be controlled more accurately by controlling the charging process using the cell voltage, which is beneficial to improving the accuracy of the charging process.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, the electronic device 900 may be a smartphone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 9, electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, a communication component 916, and an image capture component 918.
The processing component 902 generally provides for overall operation of the electronic device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile 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 disks.
The power supply component 906 provides power to the various components of the electronic device 900. The power components 906 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 900.
The multimedia component 908 comprises a screen providing an output interface between the electronic device 900 and the target object. 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 an input signal from a target object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc.
The sensor component 914 includes one or more sensors for providing status evaluations of various aspects of the electronic device 900. For example, sensor assembly 914 may detect an open/closed state of electronic device 900, the relative positioning of components, such as a display and keypad of electronic device 900, the change in position of electronic device 900 or a component, the presence or absence of a target object in contact with electronic device 900, the orientation or acceleration/deceleration of electronic device 900, and a change in temperature of electronic device 900. As another example, the sensor assembly 914 further includes a light sensor disposed below the OLED display screen, wherein the light sensor core in the light sensor can execute instructions to implement the steps of the methods shown in fig. 1-2.
The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 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 900 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, micro-controllers, microprocessors, or other electronic components.
In an exemplary embodiment, a non-transitory readable storage medium including executable instructions, such as memory 904 including instructions, executable by a photosensor core in a photosensor is also provided. The readable storage medium may be, among others, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
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 variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. The battery charging method is applied to electronic equipment, and the electronic equipment comprises a processor, a charging module and a battery; the battery comprises an electric core and a fuel gauge, the fuel gauge is connected with the electric core through a sensing line and is connected with an external processor through a communication bus, and the processor is connected with the fuel gauge; the method comprises the following steps:
sending a query request to a fuel gauge in the battery, wherein the fuel gauge acquires charging data of the battery core according to the query request and feeds the charging data back to the processor; the charging data is voltage and/or current obtained by the electricity meter through detecting the electric core through a sensing line;
receiving charging data returned by the fuel gauge;
and generating charging configuration information according to the charging data, wherein the charging configuration information is used for configuring the voltage and/or current provided by the charging adapter to the charging module.
2. The battery charging method of claim 1, wherein generating charging configuration information from the charging data comprises:
acquiring the voltage range of each charging stage;
acquiring a voltage range to which a voltage value in the charging data belongs;
determining a charging stage according to the voltage range;
and generating charging configuration information according to the charging stage.
3. The battery charging method according to claim 1, wherein the charging module comprises a slave charger adapted to perform a high-current charging scenario for the battery, and the generating the charging configuration information according to the charging data comprises:
and generating battery cell constant voltage charging configuration information when the voltage in the charging data is smaller than a first voltage threshold, wherein the battery cell constant voltage charging configuration information is used for controlling a charging adapter to configure the provided voltage and current so that the battery cell is charged by adopting a second voltage threshold.
4. The battery charging method of claim 1, wherein generating charging configuration information from the charging data comprises:
when the voltage in the charging data is greater than a third voltage threshold, generating overvoltage protection configuration information, wherein the overvoltage protection configuration information is used for controlling a charging adapter to stop charging or configuring that the provided current is smaller than a preset current limiting threshold;
the third voltage threshold is less than a voltage threshold of an overvoltage protection circuit in the electronic device.
5. The battery charging method of claim 1, wherein generating charging configuration information from the charging data comprises:
and when the current in the charging data exceeds a preset current threshold, generating over-current protection configuration information, wherein the over-current protection configuration information is used for controlling the current provided by the charging adapter to be smaller than a preset current limiting threshold.
6. The battery charging device is applied to electronic equipment, and the electronic equipment comprises a processor, a charging module and a battery; the battery comprises an electric core and a fuel gauge, the fuel gauge is connected with the electric core through a sensing line and is connected with an external processor through a communication bus, and the processor is connected with the fuel gauge; the method comprises the following steps:
the query request sending module is used for sending a query request to a fuel gauge in the battery, and the fuel gauge acquires the charging data of the battery core according to the query request and feeds the charging data back to the processor; the charging data is voltage and/or current obtained by the electricity meter through detecting the electric core through a sensing line;
the charging data receiving module is used for receiving charging data returned by the fuel gauge;
and the configuration information generating module is used for generating charging configuration information according to the charging data, and the charging configuration information is used for configuring the voltage and/or current provided by the charging adapter to the charging module.
7. The battery charging apparatus of claim 6, wherein the configuration information generating module comprises:
the voltage range acquisition unit is used for acquiring the voltage range of each charging stage;
the range acquisition unit is used for acquiring a voltage range to which a voltage value belongs in the charging data;
the charging stage determining unit is used for determining a charging stage according to the voltage range;
and the configuration information generating unit is used for generating charging configuration information according to the charging stage.
8. The battery charging apparatus according to claim 6, wherein the charging module includes a slave charger adapted to use a scenario in which the battery is charged with a large current, and the configuration information generating module includes:
and the constant voltage signal generation unit is used for generating cell constant voltage charging configuration information when the voltage in the charging data is smaller than a first voltage threshold, wherein the cell constant voltage charging configuration information is used for controlling the voltage and the current provided by the charging adapter so as to charge the cell by adopting a second voltage threshold.
9. The battery charging apparatus of claim 6, wherein the configuration information generating module comprises:
the overvoltage protection generating unit is used for generating overvoltage protection configuration information when the voltage in the charging data is greater than a third voltage threshold, wherein the overvoltage protection configuration information is used for controlling the charging adapter to stop charging or configuring that the provided current is smaller than a preset current limiting threshold;
the third voltage threshold is less than a voltage threshold of an overvoltage protection circuit in the electronic device.
10. The battery charging apparatus of claim 6, wherein the configuration information generating module comprises:
and the overcurrent protection generating unit is used for generating overcurrent protection configuration information when the current in the charging data exceeds a preset current threshold, wherein the overcurrent protection configuration information is used for controlling the current provided by the charging adapter configuration to be smaller than a preset current limiting threshold.
11. An electronic device, comprising:
a battery with a built-in electricity meter;
a processor communicatively coupled to the battery;
a memory for storing the processor-executable instructions;
the processor is configured to execute executable instructions in the memory to implement the steps of the method of any of claims 1 to 5.
12. A readable storage medium having stored thereon executable instructions, wherein the executable instructions when executed by a processor implement the steps of the method of any one of claims 1 to 5.
CN202010037095.XA 2020-01-14 2020-01-14 Battery charging method and device, electronic equipment and storage medium Pending CN113193607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010037095.XA CN113193607A (en) 2020-01-14 2020-01-14 Battery charging method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010037095.XA CN113193607A (en) 2020-01-14 2020-01-14 Battery charging method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113193607A true CN113193607A (en) 2021-07-30

Family

ID=76972374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010037095.XA Pending CN113193607A (en) 2020-01-14 2020-01-14 Battery charging method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113193607A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645412A (en) * 2013-12-25 2014-03-19 华为技术有限公司 Battery detection method and device
CN106058961A (en) * 2016-05-31 2016-10-26 海能达通信股份有限公司 Rechargeable battery, charging management circuit, electronic device and charger
CN106329615A (en) * 2015-07-01 2017-01-11 马克西姆综合产品公司 Master slave charging architecture with communication between chargers
EP3349322A1 (en) * 2017-01-13 2018-07-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging method, charging device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645412A (en) * 2013-12-25 2014-03-19 华为技术有限公司 Battery detection method and device
CN106329615A (en) * 2015-07-01 2017-01-11 马克西姆综合产品公司 Master slave charging architecture with communication between chargers
CN106058961A (en) * 2016-05-31 2016-10-26 海能达通信股份有限公司 Rechargeable battery, charging management circuit, electronic device and charger
EP3349322A1 (en) * 2017-01-13 2018-07-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging method, charging device and terminal

Similar Documents

Publication Publication Date Title
CN107843802B (en) Internal short circuit detection method and device
CN108964182B (en) Reverse charging equipment, and method and device for adjusting reverse charging current
CN110783652B (en) Battery charging method, battery charging device and storage medium
US11881737B2 (en) Battery module, charging control method, and storage medium
CN112448423B (en) Charging method and device, electronic equipment and storage medium
CN113078696B (en) Electronic device, charging method and device thereof, and readable storage medium
EP3614523A2 (en) Charging processing method and terminal device
CN113036710A (en) Method and device for acquiring battery state, battery, electronic equipment and storage medium
CN113572210A (en) Charging method, device, equipment and storage medium
CN113193607A (en) Battery charging method and device, electronic equipment and storage medium
CN111130222B (en) Wireless charging power supply circuit and method and electronic equipment
CN112421702B (en) Lithium battery charging method and device
CN112186823B (en) Wireless charging method, circuit and system
CN113629793A (en) Wireless charging circuit, wireless charging method and device and electronic equipment
CN113346564A (en) Power management chip control method and device and terminal equipment
CN216904279U (en) Discharge protection circuit and battery pack
CN113224803B (en) Charging control method, device and storage medium
CN220754383U (en) Electronic equipment
CN111864857B (en) Battery charging method, device and medium
EP3787143A1 (en) Charging method and device for mobile terminal, terminal and storage medium
CN219287212U (en) Charging seat and electronic equipment
CN217508311U (en) Discharge protection circuit and battery pack
CN114069748A (en) Charging method, charging device, electronic equipment and storage medium
CN113224803A (en) Charging control method, charging control device and storage medium
CN118057700A (en) Battery charging control method, device, medium 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210730