CN115882533A - Charging control method, device and storage medium - Google Patents

Charging control method, device and storage medium Download PDF

Info

Publication number
CN115882533A
CN115882533A CN202111131814.5A CN202111131814A CN115882533A CN 115882533 A CN115882533 A CN 115882533A CN 202111131814 A CN202111131814 A CN 202111131814A CN 115882533 A CN115882533 A CN 115882533A
Authority
CN
China
Prior art keywords
charging
current
battery
preset
pmic
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
CN202111131814.5A
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 CN202111131814.5A priority Critical patent/CN115882533A/en
Publication of CN115882533A publication Critical patent/CN115882533A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present disclosure relates to a method, an apparatus and a storage medium for controlling charging, which relates to the technical field of battery charging, and comprises: under the condition that the battery is charged by adopting a first preset charging mode, determining a charging current corresponding to the first preset charging mode; obtaining compensation current of a second preset charging mode corresponding to the charging current according to the target system consumption current; and charging the battery through the charging current by adopting a first preset charging mode, and charging the battery through the compensating current by adopting a second preset charging mode. Like this, through increasing the second at the in-process that adopts first predetermined charging means to charge to the battery and predetermine charging means and charge to the battery, carry out current compensation at the in-process that charges, solve only through the first charging means of predetermineeing and charge the problem that generates heat in the charging process or the charging efficiency that brings, guarantee that the efficiency of battery charging is not influenced.

Description

Charging control method, device and storage medium
Technical Field
The present disclosure relates to the field of battery charging technologies, and in particular, to a method and an apparatus for controlling charging, and a storage medium.
Background
Nowadays, more and more mobile phones have a fast charging function, and in the related art, the battery of the mobile phone is charged mainly by two charging modes, namely, a Charge Pump (Charge Pump) and a Power Management Integrated Circuit (PMIC).
However, when the mobile phone is charged only by the charge pump, a part of the current input to the battery through the charge pump is consumed, thereby affecting the charging efficiency of the battery. When the mobile phone is charged only through the PMIC, the PMIC itself generates heat, which affects the charging efficiency of the battery.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and storage medium for charge control.
According to a first aspect of embodiments of the present disclosure, there is provided a method of charge control, the method comprising: under the condition that a first preset charging mode is determined to be adopted for charging a battery, determining a charging current corresponding to the first preset charging mode; according to the current consumed by the target system, obtaining compensation current of a second preset charging mode corresponding to the charging current; and charging the battery by adopting the first preset charging mode through the charging current, and charging the battery by adopting the second preset charging mode through the compensating current.
Optionally, if the first preset charging mode includes charging the battery by using a charge pump, and the second preset charging mode includes charging the battery by using a PMIC (integrated power management circuit), the target system consumption current is a current system consumption current; the obtaining of the compensation current of the second preset charging mode corresponding to the charging current according to the current consumed by the target system includes: determining the maximum compensation current of the PMIC according to the current system consumption current, a first preset charging efficiency of the charge pump charging and a second preset charging efficiency of the PMIC charging; and taking the minimum value of the maximum compensation current and the current system consumption current as the compensation current.
Optionally, the determining the charging current corresponding to the first preset charging manner includes: acquiring the current temperature of the battery; determining a target temperature range to which the current temperature belongs from a plurality of preset temperature ranges; and taking the current value corresponding to the target temperature range as the charging current, wherein different preset temperature ranges correspond to different current values.
Optionally, if the first preset charging mode includes charging the battery by using the PMIC, and the second preset charging mode includes charging the battery by using the charge pump, the target system consumption current is an average system consumption current, and the average system consumption current is an average value of total consumption currents of the battery in a preset time period, the method further includes: acquiring the current charging demand current of the battery; the obtaining of the compensation current of the second preset charging mode corresponding to the charging current according to the target system consumption current includes: and determining the compensation current of a second preset charging mode corresponding to the charging current through a first preset current calculation strategy according to the current charging demand current of the battery, the first preset charging efficiency of the charge pump charging, the second preset charging efficiency of the PMIC charging and the average system consumption current.
Optionally, the determining the charging current corresponding to the first preset charging manner includes: and determining the charging current corresponding to the first preset charging mode through a second preset current calculation strategy according to the current charging demand current of the battery, the first preset charging efficiency of the charge pump charging, the second preset charging efficiency of the PMIC charging and the average system consumption current.
According to a second aspect of the embodiments of the present disclosure, there is provided a charging control apparatus, the apparatus including: the battery charging method comprises a first acquisition module, a second acquisition module and a charging module, wherein the first acquisition module is configured to determine a charging current corresponding to a first preset charging mode under the condition that the battery is determined to be charged by adopting the first preset charging mode; the second acquisition module is configured to acquire compensation current of a second preset charging mode corresponding to the charging current according to the target system consumption current; and the charging module is configured to charge the battery through the charging current in the first preset charging mode and charge the battery through the compensation current in the second preset charging mode.
Optionally, if the first preset charging mode includes charging the battery by using a charge pump, and the second preset charging mode includes charging the battery by using a PMIC (integrated power management circuit), the target system consumption current is a current system consumption current; the second obtaining module is configured to determine a maximum compensation current of the PMIC according to the current system consumption current, a first preset charging efficiency of the charge pump charging and a second preset charging efficiency of the PMIC charging; and taking the minimum value of the maximum compensation current and the current system consumption current as the compensation current.
Optionally, the first obtaining module includes: a temperature acquisition submodule configured to acquire a current temperature of the battery; a temperature determination submodule configured to determine a target temperature range to which the current temperature belongs from a plurality of preset temperature ranges; and the current determination submodule is configured to use a current value corresponding to the target temperature range as the charging current, and different preset temperature ranges correspond to different current values.
Optionally, if the first preset charging mode includes charging the battery by using the PMIC, and the second preset charging mode includes charging the battery by using the charge pump, the target system consumption current is an average system consumption current, and the average system consumption current is an average value of total consumption currents of the battery in a preset time period, the apparatus further includes: the third acquisition module is configured to acquire the current charging demand current of the battery; the second obtaining module is configured to determine, according to the current charging demand current of the battery, a first preset charging efficiency of the charge pump, a second preset charging efficiency of the PMIC charging, and the average system consumption current, the compensation current of a second preset charging mode corresponding to the charging current through a first preset current calculation strategy.
Optionally, the first obtaining module is configured to determine, according to the current charging demand current of the battery, a first preset charging efficiency of charging the charge pump, a second preset charging efficiency of charging the PMIC, and the average system consumption current, the charging current corresponding to the first preset charging manner through a second preset current calculation strategy.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for charge control, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of a method of implementing the charge control provided by the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of charging control provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
under the condition that the battery is charged by adopting a first preset charging mode, determining a charging current corresponding to the first preset charging mode; obtaining compensation current of a second preset charging mode corresponding to the charging current according to the current consumed by the target system; and charging the battery through the charging current by adopting a first preset charging mode, and charging the battery through the compensating current by adopting a second preset charging mode. By adopting the scheme, the second preset charging mode is added to charge the battery in the process of charging the battery by adopting the first preset charging mode, the current compensation is carried out in the charging process, the problem of low charging efficiency or heating in the charging process caused by charging only through the first preset charging mode is solved, and the efficiency of charging the battery is not influenced.
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 flow chart illustrating a method of charge control according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating another method of charge control according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating another method of charge control according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating another method of charge control according to an exemplary embodiment;
FIG. 5 is a flow chart illustrating another method of charge control according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for charge control in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating another charge controlled device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating another charge controlled device in accordance with an exemplary embodiment;
fig. 9 is a block diagram illustrating an apparatus for charge control 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 disclosure, as detailed in the appended claims.
Before introducing the method, apparatus, and storage medium for charge control provided by the present disclosure, an application scenario related to various embodiments of the present disclosure is first introduced. The method and the device are applied to the scene of terminal equipment charging, in the scene, the battery can be charged through two charging modes of a charge pump or a PMIC, and the charging modes can be switched according to the change of the voltage or the current of the battery. For example, when the voltage reaches a preset voltage threshold, the charging mode is switched. When the battery is charged through the charge pump, the battery can be charged with larger power, and the PMIC is generally not used for high-power charging because the PMIC has lower efficiency and serious heat generation, and cannot keep the charging speed when being used for high-power charging, thereby influencing the charging efficiency; however, when the battery is charged through the PMIC, the PMIC can monitor the change of the battery consumption current, so that the charging current input to the battery is adjusted according to the consumption current, that is, the PMIC can detect the current fed into the battery and feed back the current to the demand side, thereby ensuring the stability of the charging current fed into the battery. The charge pump does not have the feedback capacity, and when the battery is charged through the charge pump, if the battery needs to output current at the moment, the current input into the battery through the charge pump is partially consumed, so that the charging efficiency of the battery by the charge pump is reduced, the battery cannot be charged at a high current, and the stability of the current of the battery cannot be ensured.
In order to solve the above problems, the present disclosure provides a method, an apparatus, and a storage medium for charge control, in which a second preset charging mode is added to charge a battery in a process of charging the battery by using a first preset charging mode, and current compensation is performed in the charging process, so that a problem of low charging efficiency or heat generation in the charging process caused by charging only by using the first preset charging mode is solved, and it is ensured that the charging efficiency of the battery is not affected.
The present disclosure is described below with reference to specific examples.
Fig. 1 is a flowchart illustrating a method for controlling charging according to an exemplary embodiment, and referring to fig. 1, the method is used in a terminal device, which may be a mobile terminal such as a smart phone and a tablet computer, and the method includes the following steps:
in step S101, when it is determined that the battery is charged by using the first preset charging method, a charging current corresponding to the first preset charging method is determined.
The first predetermined charging mode may include charging the battery with a charge pump or charging the battery with a PMIC.
In step S102, a compensation current of a second preset charging mode corresponding to the charging current is obtained according to the target system consumption current.
The target system consumption current may include a current system consumption current, or may include an average system consumption current, which is an average value of a total system consumption current in a preset time period. If the first preset charging mode comprises charging the battery by adopting a charge pump, and the second preset charging mode comprises charging the battery by adopting a PMIC, the target system consumption current is the current system consumption current; if the first preset charging mode comprises charging the battery by adopting the PMIC, and the second preset charging mode comprises charging the battery by adopting the charge pump, the target system consumption current is the average system consumption current.
It should be noted that, if the first predetermined charging mode includes charging the battery by using the PMIC, it is considered that the system consumption current fluctuates greatly in the charging mode. Therefore, in order to more accurately obtain the target system consumption current, an average value of the total consumption current in the preset time period may be obtained, and the average system consumption current may be used as the target system consumption current.
In step S103, the battery is charged by the charging current in the first predetermined charging manner, and the battery is charged by the compensation current in the second predetermined charging manner.
Wherein, under the condition that the first preset charging mode comprises charging the battery by adopting a charge pump, the second preset charging mode comprises charging the battery by adopting a PMIC. And under the condition that the first preset charging mode comprises charging the battery by adopting the PMIC, the second preset charging mode comprises charging the battery by adopting a charge pump.
By adopting the method, the second preset charging mode is added to charge the battery in the process of charging the battery by adopting the first preset charging mode, and current compensation is carried out in the charging process, so that the problem of low charging efficiency or heating in the charging process caused by charging only through the first preset charging mode is solved, and the charging efficiency of the battery is not influenced.
In a possible implementation manner, the first preset charging manner includes charging the battery by using a charge pump, and the second preset charging manner includes charging the battery by using a PMIC, as shown in fig. 2, the method may include the following steps:
in step S201, the current temperature of the battery is acquired.
In step S202, a target temperature range to which the current temperature belongs is determined from a plurality of preset temperature ranges.
In step S203, the current value corresponding to the target temperature range is set as the charging current.
Wherein, different preset temperature ranges correspond to different current values.
In step S204, the current system consumption current is acquired.
In step S205, a maximum compensation current of the PMIC is determined according to the current system consumption current, a first preset charging efficiency of the charge pump charging, and a second preset charging efficiency of the PMIC charging.
Wherein the maximum compensation current represents a maximum compensation current that the PMIC can provide.
In this step, the maximum compensation current of the PMIC may be obtained by the following maximum compensation current calculation formula:
Figure BDA0003280793600000081
wherein, I max Is the maximum compensation current, I, of the PMIC 1 For the corresponding charging current, η, of the charge pump at the present temperature 1 Is the first predetermined charging efficiency, η, of the charge pump 2 The second predetermined charging efficiency is the PMIC.
In step S206, the minimum value between the maximum compensation current and the current system consumption current is used as the compensation current.
Considering that the PMIC itself generates heat seriously if the current compensated by the PMIC is too large, the compensation current is the minimum value of the maximum compensation current and the current system consumption current. In order to guarantee that the PMIC can not take place the serious problem of self generating heat and the charge efficiency of battery can not receive the influence, simultaneously, this PMIC can compensate the electric current of battery consumption according to this compensating current, guarantees battery charging current's stability.
In step S207, the battery is charged by the charging current in the first predetermined charging manner, and the battery is charged by the compensating current in the second predetermined charging manner.
In addition, when the first preset charging mode includes charging the battery by using a charge pump, and the second preset charging mode includes charging the battery by using a PMIC to perform compensation charging on the battery, the first supply current may be obtained by calculating a sum of the compensation current and the charging current, and the first supply current is used as a total current required by the battery, that is, the output power requirement transmitted to the charging device for charging the battery, that is, the output power requirement may be the first supply current.
Wherein the first supply current is used for representing a total supply current required by the battery under the condition that the charge pump charges the battery through the charging current and the PMIC charges the battery through the compensation current.
By adopting the method, the second preset charging mode is added to charge the battery in the process of charging the battery by adopting the first preset charging mode, and current compensation is carried out in the charging process, so that the problem of low charging efficiency or heating in the charging process caused by charging only through the first preset charging mode is solved, and the charging efficiency of the battery is not influenced.
In another possible implementation manner, the first preset charging manner includes charging the battery by using the PMIC, and the second preset charging manner includes charging the battery by using the charge pump, as shown in fig. 3, the method may include the following steps:
in step S301, the current charge demand current and the average system consumption current of the battery are acquired.
The average system consumption current is an average value of the total system consumption current in a preset time period.
In step S302, the charging current corresponding to the first preset charging manner is determined according to a current charging demand current of the battery, a first preset charging efficiency of the charge pump, a second preset charging efficiency of the PMIC charging, and the average system consumption current through a second preset current calculation strategy.
The second preset current calculation strategy may include the following first charging current calculation formula, and the charging current corresponding to the first preset charging mode is obtained through the formula:
Figure BDA0003280793600000091
wherein, I 1 Is a charging current, η, of PMIC (first predetermined charging mode) 1 Is the first predetermined charging efficiency, η, of the charge pump 2 For a second predetermined charging efficiency, I, of the PMIC sys For averaging the system consumption current, I bat The current is required for the current charging of the battery.
In step S303, the compensation current of the second preset charging mode corresponding to the charging current is determined according to the current charging demand current of the battery, the first preset charging efficiency of the charge pump, the second preset charging efficiency of the PMIC charging, and the average system consumption current through a first preset current calculation strategy.
The first preset current calculation strategy may include the following first compensation current calculation formula, and the compensation current corresponding to the second preset charging mode is obtained through the formula:
Figure BDA0003280793600000101
wherein, I 2 Compensation current, η, for a charge pump (second predetermined charging mode) 1 Is the first predetermined charging efficiency, η, of the charge pump 2 For a second predetermined charging efficiency, I, of the PMIC sys For averaging the system consumption current, I bat The current is required for the current charging of the battery.
In step S304, the battery is charged by the charging current in the first predetermined charging manner, and the battery is charged by the compensation current in the second predetermined charging manner.
In addition, it should be noted that, when the first preset charging mode includes charging the battery by using the PMIC, and the second preset charging mode includes charging the battery by using the charge pump to perform compensation charging on the battery, the total charging demand current of the battery changes, so that the sum of the average system consumption current and the charging demand current can be calculated to obtain a second supply current, and the second supply current is used as the total current required by the battery. That is, the output power supply capability requirement, i.e., the second power supply current, which can be sent to the charging device for charging the battery at this time.
Wherein the second supply current is used to represent a total supply current required by the battery when the PMIC charges the battery through the charging current and the charge pump charges the battery through the compensation current.
Wherein the second supply current may be obtained by the following second supply current calculation formula:
I 0 =I sys +I bat
wherein, I 0 For a second supply current, I sys For averaging the system consumption current, I bat The current is currently required for charging the battery.
Accordingly, the charging current corresponding to the first preset charging mode can be further obtained through the following second charging current calculation formula:
Figure BDA0003280793600000111
wherein, I 1 Is a charging current, η, of PMIC (first predetermined charging mode) 1 Is the first predetermined charging efficiency, η, of the charge pump 2 For a second predetermined charging efficiency, I, of the PMIC 0 A second supply current.
Correspondingly, the compensation current corresponding to the second preset charging mode can be obtained through the following second compensation current calculation formula:
Figure BDA0003280793600000112
wherein, I 2 Compensation current, η, for a charge pump (second predetermined charging mode) 1 Is the first predetermined charging efficiency, η, of the charge pump 2 For a second predetermined charging efficiency, I, of the PMIC 0 A second supply current.
By adopting the method, the second preset charging mode is added to charge the battery in the process of charging the battery by adopting the first preset charging mode, and current compensation is carried out in the charging process, so that the problem of low charging efficiency or heating in the charging process caused by charging only through the first preset charging mode is solved, and the charging efficiency of the battery is not influenced.
Fig. 4 is a schematic flowchart of another charging control method provided in an embodiment of the present disclosure, where the first preset charging manner includes charging the battery by using a charge pump, and the second preset charging manner includes charging the battery by using a PMIC as an example, and as shown in fig. 4, the method may include the following steps:
in step S401, the current temperature of the battery is obtained, and the charging current corresponding to the charge pump is obtained according to the current temperature of the battery.
In this step, a target temperature range to which the current temperature belongs may be determined from a plurality of preset temperature ranges; and taking the current value corresponding to the target temperature range as the charging current.
In step S402, a current system consumption current is obtained, and a compensation current of the PMIC corresponding to the charging current is obtained according to the current system consumption current.
In one possible embodiment, the compensation current may be identical to the current system consumption current, that is, the current value of the compensation current is equal to the current value of the current system consumption current.
In order to reduce the heating problem during charging of the PMIC, the maximum compensation current of the PMIC can be determined, and then the final compensation current of the PMIC is determined by comparing the maximum compensation current with the current system consumption current.
In step S403, a maximum compensation current of the PMIC is obtained through a maximum compensation current calculation formula according to the charging current.
Wherein, the maximum compensation current calculation formula is as follows:
Figure BDA0003280793600000121
wherein, I max Is the maximum compensation current, I, of the PMIC 1 Charging current, eta, corresponding to the current temperature of the charge pump 1 Is the first predetermined charging efficiency, η, of the charge pump 2 The second predetermined charging efficiency is the PMIC.
In step S404, it is determined whether the compensation current is greater than or equal to the maximum compensation current.
If the compensation current is greater than or equal to the maximum compensation current, step S405 is performed;
if the compensation current is smaller than the maximum compensation current, step S406 is performed.
In step S405, the maximum compensation current is used as the compensation current.
In step S406, the battery is charged with the charging current by the charge pump, and the battery is charged with the compensation current by the PMIC.
By adopting the method, the second preset charging mode is added to charge the battery in the process of charging the battery by adopting the first preset charging mode, and current compensation is carried out in the charging process, so that the problem of low charging efficiency or heating in the charging process caused by charging only through the first preset charging mode is solved, and the charging efficiency of the battery is not influenced.
Fig. 5 is a flowchart illustrating another method for controlling charging according to an embodiment of the present disclosure, where the first predetermined charging manner includes charging the battery using the PMIC, and the second predetermined charging manner includes charging the battery using the charge pump as an example, as shown in fig. 5, the method may include the following steps:
in step S501, the current charge demand current and the average system consumption current of the battery are acquired.
The average system consumption current is an average value of the total system consumption current in a preset time period.
In step S502, the charging current corresponding to the first preset charging manner is determined according to the current charging demand current of the battery, the first preset charging efficiency of the charge pump, the second preset charging efficiency of the PMIC charging, and the average system consumption current through a first charging current calculation formula.
Wherein, the first charging current calculation formula is as follows:
Figure BDA0003280793600000131
wherein, I 1 Is a charging current, η, of PMIC (first predetermined charging mode) 1 Is a first predetermined charging efficiency, η, of the charge pump 2 For a second predetermined charging efficiency, I, of the PMIC sys For averaging the system consumption current, I bat The current is currently required for charging the battery.
In step S503, the compensation current of the second predetermined charging mode corresponding to the charging current is determined according to the current required charging current of the battery, the first predetermined charging efficiency of the charge pump, the second predetermined charging efficiency of the PMIC charging, and the average system consumption current.
Wherein, the first compensation current calculation formula is as follows:
Figure BDA0003280793600000132
wherein, I 2 For supplementing the charge pump (second predetermined charging mode)Compensation of current, η 1 Is the first predetermined charging efficiency, η, of the charge pump 2 For a second predetermined charging efficiency, I, of the PMIC sys For averaging the system consumption current, I bat The current is currently required for charging the battery.
In step S504, the battery is charged with the charging current using the PMIC and the battery is charged with the compensation current using the charge pump.
By adopting the method, the second preset charging mode is added to charge the battery in the process of charging the battery by adopting the first preset charging mode, and current compensation is carried out in the charging process, so that the problem of low charging efficiency or heating in the charging process caused by charging only through the first preset charging mode is solved, and the charging efficiency of the battery is not influenced.
Fig. 6 is a block diagram illustrating an apparatus for charge control according to an example embodiment. Referring to fig. 6, the apparatus 600 includes:
the first obtaining module 601 is configured to, in a case that it is determined that the battery is charged by using a first preset charging manner, determine a charging current corresponding to the first preset charging manner;
a second obtaining module 602, configured to obtain, according to the target system consumption current, a compensation current of a second preset charging manner corresponding to the charging current;
the charging module 603 is configured to charge the battery through the charging current in the first preset charging manner, and charge the battery through the compensation current in the second preset charging manner.
Optionally, if the first preset charging mode includes charging the battery by using a charge pump, and the second preset charging mode includes charging the battery by using a PMIC, the target system consumption current is a current system consumption current;
the second obtaining module 602, configured to determine a maximum compensation current of the PMIC according to the current system consumption current, a first preset charging efficiency of the charge pump charging and a second preset charging efficiency of the PMIC charging; and taking the minimum value of the maximum compensation current and the current system consumption current as the compensation current.
Optionally, as shown in fig. 7, the first obtaining module 601 includes:
a temperature acquisition submodule 6011 configured to acquire a current temperature of the battery;
a temperature determination submodule 6012 configured to determine a target temperature range to which the current temperature belongs from a plurality of preset temperature ranges;
the current determining submodule 6013 is configured to use a current value corresponding to the target temperature range as the charging current, where different preset temperature ranges correspond to different current values.
Optionally, if the first preset charging mode includes charging the battery by using the PMIC, and the second preset charging mode includes charging the battery by using the charge pump, the target system consumption current is an average system consumption current, and the average system consumption current is an average value of total consumption currents of the battery in a preset time period, referring to fig. 8, the apparatus 600 further includes:
a third obtaining module 604 configured to obtain a current charging demand current of the battery;
the second obtaining module 602 is configured to determine the compensation current of a second preset charging mode corresponding to the charging current through a first preset current calculation strategy according to the current charging demand current of the battery, a first preset charging efficiency of the charge pump, a second preset charging efficiency of the PMIC charging, and the average system consumption current.
Optionally, the first obtaining module 601 is configured to determine the charging current corresponding to the first preset charging manner through a second preset current calculation policy according to the current charging demand current of the battery, a first preset charging efficiency of the charge pump, a second preset charging efficiency of the PMIC charging, and the average system consumption current.
By adopting the device, the second preset charging mode is added to charge the battery in the process of charging the battery by adopting the first preset charging mode, current compensation is carried out in the charging process, the problem that the charging efficiency is low or the heating problem in the charging process is solved, and the charging efficiency of the battery is not influenced.
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. 9 is a block diagram illustrating an apparatus 900 for charge control according to an example embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, the apparatus 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, and a communication component 916.
The processing component 902 generally controls overall operation of the 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 to perform all or a portion of the steps of the method of charging control described above. 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 apparatus 900. Examples of such data include instructions for any application or method operating on 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.
Power component 906 provides power to the various components of device 900. The power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 900.
The multimedia components 908 include a screen that provides an output interface between the device 900 and a 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. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a Microphone (MIC) configured to receive external audio signals when apparatus 900 is in an operating mode, such as a call mode, a record 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 further 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. 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 914 includes one or more sensors for providing status assessment of various aspects of the apparatus 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of device 900, the change in position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration/deceleration of device 900, and the change in temperature of device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communications between the apparatus 900 and other devices in a wired or wireless manner. The apparatus 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 apparatus 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 for performing the above-described charging control methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 904 comprising instructions executable by processor 920 of device 900 to perform the above-described method of charging control 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.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned method of charge control when executed by the programmable apparatus.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of charge control provided by the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. 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 that have been 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 (10)

1. A method of charge control, the method comprising:
under the condition that a first preset charging mode is determined to be adopted for charging the battery, determining a charging current corresponding to the first preset charging mode;
according to the current consumed by the target system, obtaining compensation current of a second preset charging mode corresponding to the charging current;
and charging the battery by adopting the first preset charging mode through the charging current, and charging the battery by adopting the second preset charging mode through the compensating current.
2. The method of claim 1, wherein the target system current consumption is a current system current consumption if the first predetermined charging mode comprises charging the battery using a charge pump and the second predetermined charging mode comprises charging the battery using a Power Management Integrated Circuit (PMIC); the obtaining of the compensation current of the second preset charging mode corresponding to the charging current according to the target system consumption current includes:
determining the maximum compensation current of the PMIC according to the current system consumption current, a first preset charging efficiency of the charge pump charging and a second preset charging efficiency of the PMIC charging;
and taking the minimum value of the maximum compensation current and the current system consumption current as the compensation current.
3. The method according to claim 2, wherein the determining the charging current corresponding to the first preset charging mode comprises:
acquiring the current temperature of the battery;
determining a target temperature range to which the current temperature belongs from a plurality of preset temperature ranges;
and taking the current value corresponding to the target temperature range as the charging current, wherein different preset temperature ranges correspond to different current values.
4. The method of claim 1, wherein if the first predetermined charging profile comprises charging the battery using the PMIC and the second predetermined charging profile comprises charging the battery using the charge pump, the target system current consumption is an average system current consumption that is an average of a total current consumption of the battery over a predetermined time period, the method further comprising:
acquiring the current charging demand current of the battery;
the obtaining of the compensation current of the second preset charging mode corresponding to the charging current according to the target system consumption current includes:
and determining the compensation current of a second preset charging mode corresponding to the charging current through a first preset current calculation strategy according to the current charging demand current of the battery, the first preset charging efficiency of the charge pump charging, the second preset charging efficiency of the PMIC charging and the average system consumption current.
5. The method according to claim 4, wherein the determining the charging current corresponding to the first predetermined charging manner includes:
and determining the charging current corresponding to the first preset charging mode through a second preset current calculation strategy according to the current charging demand current of the battery, the first preset charging efficiency of the charge pump charging, the second preset charging efficiency of the PMIC charging and the average system consumption current.
6. An apparatus for charge control, comprising:
the battery charging method comprises a first acquisition module, a second acquisition module and a charging module, wherein the first acquisition module is configured to determine a charging current corresponding to a first preset charging mode under the condition that the battery is determined to be charged by adopting the first preset charging mode;
the second acquisition module is configured to acquire compensation current of a second preset charging mode corresponding to the charging current according to the target system consumption current;
and the charging module is configured to charge the battery through the charging current by adopting the first preset charging mode, and charge the battery through the compensating current by adopting the second preset charging mode.
7. The apparatus of claim 6, wherein the target system current is a current system current if the first predetermined charging mode comprises charging the battery using a charge pump and the second predetermined charging mode comprises charging the battery using a PMIC;
the second obtaining module is configured to determine a maximum compensation current of the PMIC according to the current system consumption current, a first preset charging efficiency of the charge pump charging, and a second preset charging efficiency of the PMIC charging; and taking the minimum value of the maximum compensation current and the current system consumption current as the compensation current.
8. The apparatus of claim 6, wherein if the first predetermined charging mode comprises charging the battery using the PMIC and the second predetermined charging mode comprises charging the battery using the charge pump, the target system current consumption is an average system current consumption that is an average of total current consumption of the battery over a predetermined time period, the apparatus further comprising:
the third acquisition module is configured to acquire the current charging demand current of the battery;
the second obtaining module is configured to determine, according to the current charging demand current of the battery, a first preset charging efficiency of the charge pump, a second preset charging efficiency of the PMIC charging, and the average system consumption current, the compensation current of a second preset charging mode corresponding to the charging current through a first preset current calculation strategy.
9. An apparatus for charge control, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps of the method of charge control of any one of claims 1 to 5.
10. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method of charging control according to any one of claims 1 to 5.
CN202111131814.5A 2021-09-26 2021-09-26 Charging control method, device and storage medium Pending CN115882533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111131814.5A CN115882533A (en) 2021-09-26 2021-09-26 Charging control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111131814.5A CN115882533A (en) 2021-09-26 2021-09-26 Charging control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN115882533A true CN115882533A (en) 2023-03-31

Family

ID=85762711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111131814.5A Pending CN115882533A (en) 2021-09-26 2021-09-26 Charging control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN115882533A (en)

Similar Documents

Publication Publication Date Title
CN108365657B (en) Charging current control method, device and storage medium
CN113224822B (en) Charging control method, device and storage medium
CN111934382B (en) Charging method, charging device and storage medium
CN107734613B (en) Power management method and device
CN112909364B (en) Charging method and device, terminal equipment and storage medium
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN113725954B (en) Charging method, device, equipment and storage medium
CN108429312B (en) Charging control method and device
CN111261081B (en) Screen display method and device
CN108874107B (en) Control method and device for state of charge
CN110879658A (en) Method and device for adjusting display brightness, electronic equipment and storage medium
CN112865207A (en) Charging control method and device, mobile terminal and storage medium
CN115912571A (en) Wireless charging method and device, electronic equipment and storage medium
CN112821508B (en) Charging method, device and storage medium
CN107528098B (en) Charging method and device
CN111509789B (en) Charging method and device
CN115940310A (en) Charging method, charging device, and storage medium
CN114442792A (en) Method and device for adjusting operating frequency of processor and storage medium
CN115173495A (en) Charging control method, charging control device and storage medium
CN115882533A (en) Charging control method, device and storage medium
CN111854721A (en) Geomagnetic data correction method and device and electronic equipment
CN112421702A (en) Lithium battery charging method and device
CN112448052B (en) Battery charging control method and device
EP4170856A1 (en) Charging method and device, terminal device and computer readable storage medium
CN111261035B (en) Screen display method and device

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