CN112636399A - Charging method and device, terminal equipment and storage medium - Google Patents

Charging method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112636399A
CN112636399A CN201910903768.2A CN201910903768A CN112636399A CN 112636399 A CN112636399 A CN 112636399A CN 201910903768 A CN201910903768 A CN 201910903768A CN 112636399 A CN112636399 A CN 112636399A
Authority
CN
China
Prior art keywords
current
charge pump
input current
input
charger
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.)
Granted
Application number
CN201910903768.2A
Other languages
Chinese (zh)
Other versions
CN112636399B (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 CN201910903768.2A priority Critical patent/CN112636399B/en
Publication of CN112636399A publication Critical patent/CN112636399A/en
Application granted granted Critical
Publication of CN112636399B publication Critical patent/CN112636399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The disclosure relates to a charging method and device, a terminal device and a storage medium, and belongs to the field of charging. The method comprises the following steps: acquiring the current input voltage of a charge pump in the process of charging a battery by adopting the charge pump; acquiring a corresponding relation between input voltage and input current of a charge pump, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation; determining an input current corresponding to the current input voltage based on the corresponding relation; and controlling the input current of the charge pump according to the determined input current. The output power of the charge pump can be prevented from exceeding the rated output power of the battery, and meanwhile, higher charging efficiency is obtained.

Description

Charging method and device, terminal equipment and storage medium
Technical Field
The present disclosure relates to the field of wireless charging, and in particular, to a charging method and apparatus, a terminal device, and a storage medium.
Background
In order to improve the charging efficiency, many terminal devices are currently charged by using a charge pump technology. In the charging process, the input voltage of the charge pump increases with the increase of the battery voltage, while the input current of the charge pump does not change, in which case, the problem of excessive charging power is easy to occur.
Disclosure of Invention
The disclosure provides a charging method and device, a terminal device and a storage medium, which can avoid the problem of overlarge charging power in the charging process.
In one aspect, a charging method is provided, and the charging method includes:
acquiring the current input voltage of a charge pump in the process of charging a battery by adopting the charge pump;
acquiring a corresponding relation between input voltage and input current of a charge pump, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation;
determining an input current corresponding to the current input voltage based on the corresponding relation;
and controlling the input current of the charge pump according to the determined input current.
In a possible implementation manner, the obtaining a corresponding relationship between an input voltage and an input current of a charge pump includes:
determining the type of the charger;
and acquiring the corresponding relation corresponding to the type of the charger.
Optionally, the charging method further includes:
determining whether the type of charger is of a charger type that supports providing a variable output voltage;
the obtaining the corresponding relationship corresponding to the type of the charger includes:
and if the type of the charger belongs to a charger type supporting variable output voltage supply, acquiring the corresponding relation corresponding to the type of the charger.
In a possible embodiment, the correspondence includes a plurality of voltage ranges and an input current corresponding to each of the voltage ranges.
Optionally, the determining the input current corresponding to the current input voltage based on the correspondence relationship includes:
determining a voltage range to which the current input voltage belongs;
and taking the input current corresponding to the voltage range as the input current corresponding to the current input voltage.
Optionally, the controlling the input current of the charge pump according to the determined input current includes:
when the determined input current is inconsistent with the current input current of the charge pump, sending a current adjustment request to a charger, wherein the current adjustment request is used for requesting the charger to adjust the input current provided by the charge pump to the determined input current.
In another aspect, a charging device is provided, the charging device comprising.
The input voltage acquisition module is used for acquiring the current input voltage of the charge pump in the process of charging a battery by adopting the charge pump;
the charge pump comprises a corresponding relation acquisition module, a current acquisition module and a current acquisition module, wherein the corresponding relation acquisition module is used for acquiring the corresponding relation between the input voltage and the input current of the charge pump, and in the corresponding relation, the input voltage and the input current are in a negative correlation relation;
an input current determining module, configured to determine an input current corresponding to the current input voltage based on the correspondence obtained by the correspondence obtaining module;
and the current control module is used for controlling the input current of the charge pump according to the determined input current.
In a possible implementation manner, the correspondence obtaining module includes:
the type determining submodule is used for determining the type of the charger;
and the corresponding relation obtaining submodule is used for obtaining the corresponding relation corresponding to the type of the charger determined by the type determining submodule.
Optionally, the charging device further comprises:
the type judgment module is used for determining whether the type of the charger determined by the type determination submodule belongs to a charger type supporting variable output voltage supply;
the correspondence obtaining submodule is configured to obtain the correspondence corresponding to the type of the charger if the type of the charger belongs to a charger type that supports provision of a variable output voltage.
In a possible embodiment, the correspondence includes a plurality of voltage ranges and an input current corresponding to each of the voltage ranges.
Optionally, the input current determination module comprises:
the voltage range determining submodule is used for determining the voltage range to which the current input voltage belongs;
and the input current determining submodule is used for taking the input current corresponding to the voltage range as the input current corresponding to the current input voltage.
Optionally, the current control module is configured to send a current adjustment request to a charger when the determined input current is inconsistent with a current input current of the charge pump, where the current adjustment request is used to request the charger to adjust the input current provided to the charge pump to the determined input current.
In another aspect, a terminal device is provided, the terminal device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the charging method of any of the preceding claims.
In another aspect, a computer readable storage medium is provided, having computer instructions stored thereon, which when executed by a processor implement the charging method of any of the preceding claims.
In the embodiment of the disclosure, in the process of charging a battery by using a charge pump, the current input voltage of the charge pump is acquired; acquiring a corresponding relation between input voltage and input current of the charge pump; and determining the input current corresponding to the current input voltage based on the corresponding relation, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation, so that the determined input current of the charge pump is gradually reduced along with the increase of the input voltage of the charge pump. In this case, the input current of the charge pump is controlled according to the determined input current, so that the purpose of reducing the input current of the charge pump along with the increase of the input voltage can be achieved. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment manner of the input current of the charge pump in the embodiment of the disclosure can slow down the rising trend of the output power of the charge pump, and avoid the output power of the charge pump exceeding the rated charging power of the battery.
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 a charging system shown in the present disclosure;
fig. 2 is a schematic diagram of a charging circuit having a charge pump according to the present disclosure;
FIG. 3 is a schematic flow diagram illustrating a charging method according to an exemplary embodiment;
FIG. 4 is a schematic flow diagram illustrating a charging method in accordance with an exemplary embodiment;
fig. 5 is a block diagram illustrating a structure of a charging device according to an exemplary embodiment;
fig. 6 is a block diagram illustrating a terminal device according to 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the disclosure is applicable to a terminal device for charging a battery by using a charge pump. The basic principle of a charge pump is to charge a capacitor, remove the capacitor from the charging circuit to isolate the charge that was charged, and then connect to another circuit to transfer the charge that was just isolated.
In the process of charging a battery by using a charge pump, the input voltage of the charge pump generally meets the following requirements: the input voltage of the charge pump is proportional to the voltage of the battery to be charged, for example, the input voltage of the charge pump is 2 times the voltage of the battery to be charged. Thus, the voltage of the battery is gradually increased due to charging, and the input voltage of the charge pump is increased accordingly.
The charging current of a battery is determined by the chemistry of the battery. Typical charging currents are typically multiples of the battery capacity, e.g., typically 1C to 1.5C, i.e., 1 or 1.5 times the rated capacity C of the battery. The capacity of a battery is generally expressed in ampere-hour (abbreviated as a · h).
This charging current will be set at the beginning of the charge as the maximum input current of the charge pump. In the related art, the charging current is constant throughout the charging process using the charge pump. If the charging current of the battery is 1.5C, the battery can be charged with the current of 1.5C when the input voltage of the charge pump is low. After the battery is charged for a period of time, the voltage of the battery increases, and the input voltage of the charge pump also increases, and since the output power of the charge pump is equal to one half of the input voltage of the charge pump multiplied by the input current of the charge pump, if the input current of the charge pump maintains 1.5C, the output power of the charge pump also increases along with the increase of the input voltage of the charge pump, so that the problem that the output power of the charge pump exceeds the rated power of the battery may occur. If the input current of the charge pump is set to be too small, the charging power is too small and the charging efficiency is low at the early stage of the charging process.
Therefore, the embodiment of the disclosure provides a charging method and a charging device based on a charge pump, which can effectively control the output power of the charge pump and avoid the problem that the output power of the charge pump exceeds the rated power of a battery in the charging process.
Fig. 1 is a schematic structural diagram of a charging system shown in the present disclosure. Referring to fig. 1, the system includes a charger 10 and a terminal device 20, and the charger 10 is coupled with the terminal device 20 to enable the charger 10 to charge the terminal device 20. Here, the coupling includes two forms of physical connection and electrical coupling, the physical connection is a wired connection implemented by using a charging wire, for example, the charger 10 and the terminal device 20 are connected by a USB (Universal Serial Bus) data line, and the electrical coupling is an electrical coupling implemented by using a transmitting coil in the charger 10 and a receiving coil in the terminal device 20 to be coupled with each other, so as to implement the transmission of electric energy in a wireless manner.
Alternatively, the charger 10 refers to a charger that can be connected to a power grid, and may also be referred to as a power adapter. The charger 10 may be a portable power source or the like as long as it can satisfy the requirement of providing a variable output voltage. The terminal device 20 is a portable electronic device including, but not limited to, a mobile phone, a notebook computer, a tablet computer, a wearable device, a player, a mobile power source, and the like.
Fig. 2 is a schematic structural diagram of a charging circuit with a charge pump according to the present disclosure. As shown in fig. 2, in the embodiment of the present disclosure, the charging circuit of the terminal device 20 includes at least a charge pump 21, a battery 22 connected to the charge pump 21, and a controller 23. The charge pump 21 generally includes a capacitor and a plurality of switching devices, and the controller 23 can control the switching devices in the charge pump 21 to act, so as to control the charge pump 21 to charge the battery 22. The embodiment of the present disclosure does not limit the specific structure of the charge pump 21, as long as the voltage and the current of the charge pump 21 satisfy the following relationship in the process of charging the battery 22 by using the charge pump 21:
the input voltage of the charge pump 21 is a multiple, e.g. 2 times, of the output voltage (i.e. the charging voltage supplied to the battery), and the output voltage of the charge pump 21 is equal to the battery voltage; the input current of the charge pump 21 is equal to the output current (i.e. the charging current supplied to the battery).
If the terminal device 20 is charged by wire, the charging circuit may further include a charging interface (e.g., a USB interface), the charging interface is used to connect to a charging line, and the charging interface is electrically connected to the input terminal of the charge pump 21. If the terminal device 20 is charged wirelessly, the charging circuit may further include a receiving coil and a charging management chip, an output end of the receiving coil is electrically connected to the charging management chip, and an output end of the charging management chip is electrically connected to the charge pump.
At present, the charging process of the battery generally comprises a pre-charging phase, a constant current charging phase and a constant voltage charging phase. The disclosed embodiments may be applicable to the constant current charging phase.
Fig. 3 is a flowchart illustrating a charging method according to an embodiment of the disclosure. The method is applicable to the terminal device 20 in fig. 1, and referring to fig. 3, the method includes:
in step S31, in the process of charging the battery by using the charge pump, the current input voltage of the charge pump is obtained;
in step S32, a correspondence relationship between the input voltage and the input current of the charge pump is obtained, where the input voltage and the input current are in a negative correlation relationship;
in step S33, based on the correspondence, an input current corresponding to the present input voltage is determined;
in step S34, the input current of the charge pump is controlled based on the determined input current.
In the embodiment of the disclosure, in the process of charging the battery by adopting the charge pump, the current input voltage of the charge pump is obtained; acquiring a corresponding relation between input voltage and input current of the charge pump; and determining the input current corresponding to the current input voltage based on the corresponding relation, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation, so that the determined input current of the charge pump is gradually reduced along with the increase of the input voltage of the charge pump. In this case, the input current of the charge pump is controlled according to the determined input current, so that the purpose of reducing the input current of the charge pump along with the increase of the input voltage can be achieved. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment manner of the input current of the charge pump in the embodiment of the disclosure can slow down the rising trend of the output power of the charge pump, and avoid the output power of the charge pump exceeding the rated charging power of the battery.
Fig. 4 is a flowchart illustrating a charging method according to an embodiment of the disclosure. The method is applicable to the terminal device 20 in fig. 1, and referring to fig. 4, the method includes:
in step S41, the charger type is determined.
In one implementation of the present disclosure, the charger types include, but are not limited to, an SDP (Standard downlink Port) charger, a CDP (Charging downlink Port) charger, a DCP (Dedicated Charging Port) charger and a PD (Power Delivery) charger, a QC (Quick Charge) 2 charger, a QC3 charger, a QC4 charger, and the like. Among them, QC2, QC3, and QC4 are proprietary protocols of high-traffic.
At least one of the parameters of current, voltage, power and the like is different corresponding to different charger types. For example, the maximum charging current corresponding to SDP is 500mA/USB 2.0; 900mA/USB 3.0; the maximum charging current corresponding to the CDP is 1500 mA; the maximum charging current corresponding to the DCP is 500 mA-2000 mA; since the output power of these several types of chargers is constant 5V, the maximum charging current corresponds to the power, and the magnitude of the maximum charging current can reflect the magnitude of the power. For another example, the power of the QC4 charger and the PD charger is 40w, and the power of the QC3 charger is 18 w.
In step S41, if the terminal device and the charger are charged by wire, for example, connected by a USB data line, the type of the charger may be determined based on the USB protocol specification. If the terminal device and the charger are charged in a wireless mode, the terminal device and the charger can be respectively provided with a wireless communication module, and the wireless communication module is used for communication to obtain the type of the charger.
In step S42, determining whether the determined charger type belongs to a charger type supporting provision of a variable output voltage, and if the determined charger type belongs to a charger type supporting provision of a variable output voltage, performing step S43; and if the determined charger type does not belong to the charger type supporting the provision of the variable output voltage, exiting the current process.
Here, information, such as an identifier, of a charger type supporting provision of the variable output voltage may be stored in advance, the determined charger type is searched for in the pre-stored charger types, and if the determined charger type is found, it indicates that the determined charger type belongs to a charger type supporting provision of the variable output voltage; if the determined charger type is not found, it indicates that the determined charger type does not belong to the charger type supporting the provision of the variable output voltage.
Exemplary types of chargers that support providing variable output voltages include, but are not limited to, PD chargers, QC2 chargers, QC3 chargers, QC4 chargers, and the like.
In the embodiment of the present disclosure, it may be preferentially determined whether the charger type belongs to a charger that supports providing a variable output voltage, and if the charger type does not belong to a charger that supports providing a variable output voltage, it indicates that the input voltage of the charge pump is not variable, and there is no problem that the output power of the charge pump exceeds the rated charging power of the battery due to an increase in the input current of the charge pump, so that the method in the embodiment of the present disclosure need not be executed.
The steps S41 to S42 are optional steps, and only need to be executed once in one charging process. This step S41-S42 may also be directly omitted if all subsequent charger types are capable of providing variable output voltages.
In step S43, the current input voltage of the charge pump is obtained during the process of charging the battery with the charge pump.
For example, the voltage at the input end of the charge pump may be collected in real time by the sampling circuit, so as to obtain the current input voltage of the charge pump. The sampling circuit may comprise an analog-to-digital converter, an input of the analog-to-digital converter being connected to an input of the charge pump, and an output of the analog-to-digital converter being connectable to a processor of the terminal device, so that the terminal device may obtain a current input voltage of the charge pump.
This step S43 may be performed periodically, for example, once every 200ms to 500 ms.
In step S44, the corresponding relationship corresponding to the charger type is obtained.
The corresponding relation is the corresponding relation between the input voltage and the input current of the charge pump. Here, the input voltage of the charge pump may be a voltage supplied to the charge pump by the charger. The input current is the current provided by the charger to the charge pump. In the corresponding relationship, the input voltage and the input current are in a negative correlation relationship, that is, the larger the input voltage is, the smaller the input current is.
For example, the correspondence may include a plurality of voltage ranges, each voltage range corresponding to a unique one of the input currents. Alternatively, as the voltage range varies, the current value may be decreased at equal intervals, for example, by 0.2C or 0.1C each time; the reduction may be unequally spaced as well, and the present disclosure is not limited thereto.
Since the input voltage of the charge pump is usually 2 times of the battery voltage, and the variation range of the battery voltage in the constant current charging stage is usually 3.9V to 5.5V, the variation range of the input voltage of the charge pump is correspondingly 7.8V to 11V. The variation range of the input voltage is divided into a plurality of intervals, namely the voltage range, and each interval corresponds to one input current. Illustratively, table one shows a corresponding relationship between the input voltage and the input current of the charge pump, and it can be seen from table one that the input current gradually decreases as the input voltage increases.
Table-charge pump input voltage and input current corresponding relation
Serial number Input voltage Input current
1 7.8V~9V 1.5C
2 9V~9.2V 1.2C
3 9.2V~9.5V 1.0C
4 9.5V or more 0.8C
It should be noted that the endpoint value of each interval in table one may belong to any one of the adjacent intervals, and the disclosure is not limited to this.
The corresponding relation can be obtained through experiments as long as the charging efficiency can be improved and the rated charging power of the battery is not exceeded. The correspondence may be stored in the mobile terminal in advance.
In the embodiment of the disclosure, different ranges of the input voltage correspond to different input currents, and as the charging process proceeds, the range of the input voltage changes in an increasing manner, and the input current changes in a decreasing manner, and when the input voltage changes in the same range, the input current does not change, so that the input current decreases in a step-like manner in the charging process using the charge pump. Therefore, the battery can be charged by adopting a larger charging current under the condition of lower input voltage, and the input current is reduced after the input voltage is gradually increased so as to prevent the rated charging power of the battery from being exceeded.
In some embodiments, there may be multiple charger types that support providing variable output voltages, and different charger types may correspond to different correspondences, e.g., having different numbers of voltage intervals; for another example, the number of voltage intervals is the same, but the endpoint values of at least two intervals are different; for another example, the voltage intervals are divided in the same manner, but the input currents corresponding to the same voltage interval are different.
Alternatively, at least two different charger types may correspond to the same correspondence.
In step S45, an input current corresponding to the present input voltage is determined based on the correspondence.
The step S45 may include:
firstly, determining a voltage range to which the current input voltage belongs based on the corresponding relation;
and secondly, determining the input current corresponding to the voltage range.
In step S46, the input current of the charge pump is controlled based on the determined input current.
The step S46 may include:
comparing the current input current of the charge pump with the input current corresponding to the voltage range;
and secondly, if the current input current of the charge pump is inconsistent with the input current corresponding to the voltage range, adjusting the current input current. And if the current input current of the charge pump is consistent with the input current corresponding to the voltage range, maintaining the current input current.
For example, in this step S46, the current input current may be adjusted in the following manner: when the determined input current is not consistent with the current input current of the charge pump, sending a current adjustment request to the charger, wherein the current adjustment request is used for requesting the charger to adjust the input current provided by the charge pump to the determined input current.
Accordingly, maintaining the current input current may take the following form: when the determined input current is consistent with the current input current of the charge pump, no current adjustment request is sent to the charger, and the charger does not adjust the input current provided to the charge pump.
For example, when the charge pump starts to operate, the input voltage is 7.8V to 9V, and the corresponding input current is 1.5C, after the battery is charged for a period of time, the input voltage of the charge pump becomes a critical value of 9V, and if 9V belongs to a second voltage range of 9V to 9.2V, the input current corresponding to the determined voltage range is 1.2C, and at this time, the current input current is 1.5C, and the input current corresponding to the determined voltage range is inconsistent, the input current needs to be adjusted to 1.2C, that is, to the input current corresponding to the voltage range.
And continuously detecting the input voltage of the charge pump, if the detected input voltage of the charge pump is 9.1V and still belongs to a second voltage range of 9V-9.2V, determining that the input current corresponding to the voltage range is 1.2C, and at the moment, if the current input current is 1.2C and is consistent with the input current corresponding to the determined voltage range, adjusting the input current of the charge pump is not needed.
By the method, the current can be controlled in a segmented manner, when the charging voltage changes in the first voltage range, the input current of the charge pump is the determined input current value, and if the voltage of the battery increases along with the progress of the charging process, the charging voltage rises to the second voltage range, the input current of the charge pump is reduced to the input current corresponding to the second interval. Meanwhile, when the voltage provided by the charge pump to the battery is small, the battery can be charged by adopting larger current, so that higher charging efficiency can be obtained.
Optionally, if the terminal device is charged in a wired manner, the current adjustment request may be sent through a charging line, for example, a USB data line; if the terminal device is charged in a wireless manner, wireless communication modules may be respectively configured on the terminal device and the charger, and the wireless communication modules are used for communication to send the current adjustment request.
Illustratively, the wireless Communication module may be a bluetooth Communication module or a Near Field Communication (NFC) module, etc.
In some embodiments, the current adjustment request may carry the determined input current. In other embodiments, the current adjustment request may not carry the determined input current, the charger stores the correspondence, and a target input current may be determined according to the current output voltage of the charger and the correspondence, and the input current is provided to the charge pump according to the target input current, that is, the input current provided to the charge pump is adjusted to the target input current.
In the embodiment of the disclosure, in the process of charging the battery by adopting the charge pump, the current input voltage of the charge pump is obtained; acquiring a corresponding relation between input voltage and input current of the charge pump; and determining the input current corresponding to the current input voltage based on the corresponding relation, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation, so that the determined input current of the charge pump is gradually reduced along with the increase of the input voltage of the charge pump. In this case, the input current of the charge pump is controlled according to the determined input current, so that the purpose of reducing the input current of the charge pump along with the increase of the input voltage can be achieved. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment manner of the input current of the charge pump in the embodiment of the disclosure can slow down the rising trend of the output power of the charge pump, and avoid the output power of the charge pump exceeding the rated charging power of the battery.
Fig. 5 is a block diagram illustrating a charging device according to an embodiment of the present disclosure. As shown in fig. 5, the charging device 500 includes an input voltage obtaining module 501, a correspondence obtaining module 502, an input current determining module 503, and a current control module 504.
The input voltage obtaining module 501 is configured to obtain a current input voltage of a charge pump during a process of charging a battery by using the charge pump. The correspondence obtaining module 502 is configured to obtain a correspondence between an input voltage and an input current of a charge pump, where the input voltage and the input current are in a negative correlation. The input current determining module 503 is configured to determine an input current corresponding to the current input voltage based on the correspondence obtained by the correspondence obtaining module 502. The current control module 504 is configured to control the input current of the charge pump according to the determined input current.
In a possible implementation, the correspondence obtaining module 502 includes:
the type determination submodule 5021 is used for determining the type of the charger;
the correspondence obtaining submodule 5022 is configured to obtain the correspondence corresponding to the type of the charger determined by the type determining submodule 5021.
Optionally, the charging device further comprises:
a type determining module 505, configured to determine whether the type of the charger determined by the type determining sub-module 5021 belongs to a charger type that supports providing a variable output voltage;
the correspondence obtaining sub-module 5022 is configured to obtain a correspondence corresponding to the type of the charger if the type of the charger belongs to a charger type that supports provision of a variable output voltage.
In one possible embodiment, the correspondence includes a plurality of voltage ranges and an input current corresponding to each voltage range.
Optionally, the input current determination module 503 comprises:
a voltage range determination submodule 5031 for determining a voltage range to which the current input voltage belongs;
the input current determining submodule 5032 is configured to use the input current corresponding to the voltage range as the input current corresponding to the current input voltage.
Optionally, the current control module 504 is configured to send a current adjustment request to the charger when the determined input current is inconsistent with the current input current of the charge pump, where the current adjustment request is used to request the charger to adjust the input current provided to the charge pump to the determined input current.
In the embodiment of the disclosure, in the process of charging the battery by adopting the charge pump, the current input voltage of the charge pump is obtained; acquiring a corresponding relation between input voltage and input current of the charge pump; and determining the input current corresponding to the current input voltage based on the corresponding relation, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation, so that the determined input current of the charge pump is gradually reduced along with the increase of the input voltage of the charge pump. In this case, the input current of the charge pump is controlled according to the determined input current, so that the purpose of reducing the input current of the charge pump along with the increase of the input voltage can be achieved. Since the output power of the charge pump is equal to one-half of the input voltage of the charge pump multiplied by the input current of the charge pump, the adjustment manner of the input current of the charge pump in the embodiment of the disclosure can slow down the rising trend of the output power of the charge pump, and avoid the output power of the charge pump exceeding the rated charging power of the battery.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a terminal device 600 according to an example embodiment. Referring to fig. 6, the terminal device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operations of the terminal device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the terminal device 600. Examples of such data include instructions for any software program or method operating on the terminal device 600, contact data, phonebook data, messages, pictures, videos, etc. The memory 604 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.
Power component 606 provides power to the various components of terminal device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal device 600.
The multimedia component 608 includes a screen providing an output interface between the terminal device 600 and the user. 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 user. 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. When the terminal device 600 is a mobile terminal, the multimedia component includes at least one camera; when the terminal device 600 is a terminal device, the multimedia component does not include a camera.
The audio component 610 is configured to output and/or input audio signals. In some embodiments, audio component 610 includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing various aspects of status assessment for the terminal device 600. For example, when the smart device is a smart air conditioner, the sensor component 614 may include a humidity sensor, a temperature sensor, and the like.
The communication component 616 is configured to facilitate wireless communication between the terminal device 600 and other devices. In the disclosed embodiment, the communication component 616 may access a wireless network based on a communication standard, such as 2G, 3G, 4G, or 5G, or a combination thereof, so as to implement the physical downlink control signaling detection. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. Optionally, the communication component 616 further includes an NFC module.
In an exemplary embodiment, the terminal device 600 may be implemented by one or more software 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 for performing the above-described charging method.
In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, that may be executed by the processor 620 of the terminal device 600 to perform the charging method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an 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 application 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 (14)

1. A charging method, characterized in that the charging method comprises:
acquiring the current input voltage of a charge pump in the process of charging a battery by adopting the charge pump;
acquiring a corresponding relation between input voltage and input current of a charge pump, wherein the input voltage and the input current are in a negative correlation relation in the corresponding relation;
determining an input current corresponding to the current input voltage based on the corresponding relation;
and controlling the input current of the charge pump according to the determined input current.
2. The charging method according to claim 1, wherein the obtaining a corresponding relationship between an input voltage and an input current of the charge pump comprises:
determining the type of the charger;
and acquiring the corresponding relation corresponding to the type of the charger.
3. The charging method according to claim 2, further comprising:
determining whether the type of charger is of a charger type that supports providing a variable output voltage;
the obtaining the corresponding relationship corresponding to the type of the charger includes:
and if the type of the charger belongs to a charger type supporting variable output voltage supply, acquiring the corresponding relation corresponding to the type of the charger.
4. The charging method according to any one of claims 1 to 3, wherein the correspondence relationship includes a plurality of voltage ranges and an input current corresponding to each of the voltage ranges.
5. The charging method according to claim 4, wherein the determining the input current corresponding to the current input voltage based on the correspondence relationship comprises:
determining a voltage range to which the current input voltage belongs;
and taking the input current corresponding to the voltage range as the input current corresponding to the current input voltage.
6. The charging method according to any one of claims 1 to 3, wherein the controlling the input current of the charge pump according to the determined input current comprises:
when the determined input current is inconsistent with the current input current of the charge pump, sending a current adjustment request to a charger, wherein the current adjustment request is used for requesting the charger to adjust the input current provided by the charge pump to the determined input current.
7. A charging device, characterized in that the charging device comprises:
the input voltage acquisition module is used for acquiring the current input voltage of the charge pump in the process of charging a battery by adopting the charge pump;
the charge pump comprises a corresponding relation acquisition module, a current acquisition module and a current acquisition module, wherein the corresponding relation acquisition module is used for acquiring the corresponding relation between the input voltage and the input current of the charge pump, and in the corresponding relation, the input voltage and the input current are in a negative correlation relation;
an input current determining module, configured to determine an input current corresponding to the current input voltage based on the correspondence obtained by the correspondence obtaining module;
and the current control module is used for controlling the input current of the charge pump according to the determined input current.
8. The charging device according to claim 7, wherein the correspondence obtaining module includes:
the type determining submodule is used for determining the type of the charger;
and the corresponding relation obtaining submodule is used for obtaining the corresponding relation corresponding to the type of the charger determined by the type determining submodule.
9. The charging device of claim 8, further comprising:
the type judgment module is used for determining whether the type of the charger determined by the type determination submodule belongs to a charger type supporting variable output voltage supply;
the correspondence obtaining submodule is configured to obtain the correspondence corresponding to the type of the charger if the type of the charger belongs to a charger type that supports provision of a variable output voltage.
10. A charging arrangement as claimed in any of claims 7 to 9, in which the correspondence comprises a plurality of voltage ranges and an input current for each of the voltage ranges.
11. The charging device of claim 10, wherein the input current determination module comprises:
the voltage range determining submodule is used for determining the voltage range to which the current input voltage belongs;
and the input current determining submodule is used for taking the input current corresponding to the voltage range as the input current corresponding to the current input voltage.
12. The charging device according to any one of claims 7 to 9, wherein the current control module is configured to send a current adjustment request to a charger when the determined input current is inconsistent with a current input current of the charge pump, and the current adjustment request is configured to request the charger to adjust the input current provided to the charge pump to the determined input current.
13. A terminal device, characterized in that the terminal device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the charging method of any one of claims 1 to 6.
14. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the charging method of any one of claims 1 to 6.
CN201910903768.2A 2019-09-24 2019-09-24 Charging method and device, terminal equipment and storage medium Active CN112636399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910903768.2A CN112636399B (en) 2019-09-24 2019-09-24 Charging method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910903768.2A CN112636399B (en) 2019-09-24 2019-09-24 Charging method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112636399A true CN112636399A (en) 2021-04-09
CN112636399B CN112636399B (en) 2023-08-04

Family

ID=75283161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910903768.2A Active CN112636399B (en) 2019-09-24 2019-09-24 Charging method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112636399B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113224822A (en) * 2021-05-26 2021-08-06 北京小米移动软件有限公司 Charging control method and device and storage medium
CN114362512A (en) * 2021-12-23 2022-04-15 深圳市旅行家科技有限公司 Quick charging method and system based on charge pump

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580463A (en) * 2013-10-11 2014-02-12 友达光电股份有限公司 Current transforming device and control method thereof
CN104902609A (en) * 2014-03-04 2015-09-09 上海酷蓝电子科技有限公司 Segmented linear constant current drive circuit constant power control circuit
CN105975420A (en) * 2016-04-27 2016-09-28 乐视控股(北京)有限公司 Charging power adjustment method and apparatus used for electronic device and electronic device
CN106899032A (en) * 2015-12-21 2017-06-27 新唐科技股份有限公司 Power optimization device and method for energy collection equipment
CN107482710A (en) * 2017-07-31 2017-12-15 北京小米移动软件有限公司 Wireless charging method and terminal
CN108233455A (en) * 2017-07-31 2018-06-29 珠海市魅族科技有限公司 A kind of wireless charging circuit, method, system and electronic equipment
CN110192322A (en) * 2017-04-07 2019-08-30 Oppo广东移动通信有限公司 Charging equipment, wireless charging device, wireless charging method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580463A (en) * 2013-10-11 2014-02-12 友达光电股份有限公司 Current transforming device and control method thereof
CN104902609A (en) * 2014-03-04 2015-09-09 上海酷蓝电子科技有限公司 Segmented linear constant current drive circuit constant power control circuit
CN106899032A (en) * 2015-12-21 2017-06-27 新唐科技股份有限公司 Power optimization device and method for energy collection equipment
CN105975420A (en) * 2016-04-27 2016-09-28 乐视控股(北京)有限公司 Charging power adjustment method and apparatus used for electronic device and electronic device
CN110192322A (en) * 2017-04-07 2019-08-30 Oppo广东移动通信有限公司 Charging equipment, wireless charging device, wireless charging method and system
CN107482710A (en) * 2017-07-31 2017-12-15 北京小米移动软件有限公司 Wireless charging method and terminal
CN108233455A (en) * 2017-07-31 2018-06-29 珠海市魅族科技有限公司 A kind of wireless charging circuit, method, system and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113224822A (en) * 2021-05-26 2021-08-06 北京小米移动软件有限公司 Charging control method and device and storage medium
CN113224822B (en) * 2021-05-26 2024-04-26 北京小米移动软件有限公司 Charging control method, device and storage medium
CN114362512A (en) * 2021-12-23 2022-04-15 深圳市旅行家科技有限公司 Quick charging method and system based on charge pump

Also Published As

Publication number Publication date
CN112636399B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
US10498156B2 (en) Charging control method, charging control device and terminal
KR102561386B1 (en) Mechanism for extending cycle life of a battery
US20140176046A1 (en) Apparatus and method for controlling a terminal having a multiple battery configuration
EP3579375B1 (en) Charging method, charging device and terminal
CN107482710B (en) Wireless charging method and terminal
CN108631401B (en) Charging circuit, method, electronic device, and storage medium
CN104135053A (en) Electric quantity sharing method and device
EP2615714A1 (en) Method and system for battery charging control of a terminal
CN114859258B (en) Electricity meter and electronic equipment applied to multiple batteries
US11881737B2 (en) Battery module, charging control method, and storage medium
CN112636399B (en) Charging method and device, terminal equipment and storage medium
CN105356529A (en) Prompting method and apparatus for rapid charging state
WO2024007687A1 (en) Multi-battery power supply, charging/discharging method, and electronic device
CN114844182B (en) Charging circuit, charging method and electronic equipment
US9304169B2 (en) Method for processing power source state and terminal supporting the same
CN113725937A (en) Battery charging method and electronic equipment
US20170222453A1 (en) Device, apparatus and method for supporting multi-battery quick charge
CN112671071B (en) Charging control method, charging control device, storage medium and electronic equipment
US20240039334A1 (en) Circuit of wireless charging and method of charging battery
CN112311035A (en) Charging control method, charging control device and readable storage medium
CN105449764B (en) Charging method, apparatus and system
CN112186823B (en) Wireless charging method, circuit and system
CN112398209B (en) Wireless charging device, system, control method, terminal device and storage medium
CN113451669B (en) Charging method and device, electronic equipment and storage medium
CN216489841U (en) Charging and discharging circuit and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant