Charging control method and device, and electronic equipment
Through the parallel operation of multiple power management chips and dynamic current distribution, the problem of excessive temperature rise caused by fast charging is solved, and the effect of improving the charging speed without changing safety is achieved.
Patent Information
- Application Number
- CN202011457772.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-10
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2040-12-10
AI Technical Summary
During the charging process, fast charging causes the electronic device to rise too quickly, which limits the charging speed and cannot further increase the charging speed.
Through the parallel operation of multiple power management chips, the total input current and total charging current are dynamically distributed, and the current allocation ratio is determined based on the working efficiency and temperature rise rate of each power management chip to ensure charging safety.
On the premise of ensuring charging safety, the charging speed is improved, the heat generation of the power management chip is reduced, and the duration of temperature rise remains below the set threshold is extended.
Smart Images

Figure CN114629187B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic devices, and in particular to a charging control method and device, an electronic device, and a computer storage medium. Background Art
[0002] Mobile phones, tablets and other electronic devices have provided great convenience to people's lives. At the same time, users have put forward higher and higher requirements on charging speed.
[0003] However, during the charging process, the high charging speed is accompanied by a rapid temperature rise. When the temperature inside the electronic device reaches a certain level, the charging speed will be limited for safety reasons. As a result, the charging speed cannot be further increased.
[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention
[0005] An object of the present disclosure is to provide a charging control method to improve the charging speed while ensuring charging safety.
[0006] In order to solve the above technical problems, the present disclosure adopts the following technical solutions:
[0007] According to one aspect of the present disclosure, the present disclosure provides a charging control method, which is applied to an electronic device; the electronic device includes a battery and a plurality of power management chips, the plurality of power management chips jointly receive a total input current from a power supply device, and jointly output a total charging current to charge the battery; the method includes:
[0008] Obtaining the working efficiency of each of the plurality of power management chips, wherein the working efficiency is a ratio of the output power of the power management chip to the input power entering the power management chip;
[0009] Determining the current distribution ratio of the multiple power management chips according to the respective working efficiencies of the multiple power management chips;
[0010] The total current to be allocated is allocated according to the current allocation ratio to determine the configuration current allocated to each of the power management chips; wherein the total current to be allocated is at least one of the total input current and the total charging current, and the configuration current corresponds to at least one of the input current and the charging current;
[0011] The multiple power management chips are controlled to work according to the configuration currents allocated to them.
[0012] According to an embodiment of the present disclosure, the obtaining of the respective working efficiencies of the plurality of power management chips includes:
[0013] Obtaining the temperature of each power management chip among the plurality of power management chips at preset time intervals;
[0014] Corresponding to each of the power management chips, based on a preset correspondence between the temperature of the power management chip and the working efficiency, the working efficiency corresponding to the temperature of the power management chip is determined.
[0015] According to an embodiment of the present disclosure, the method further includes:
[0016] Obtaining the temperature rise rate of each of the power management chips;
[0017] The step of determining the charging current distribution ratio of the plurality of power management chips according to the working efficiency of the plurality of power management chips comprises:
[0018] The current distribution ratio of the multiple power management chips is determined according to the respective working efficiencies and respective temperature rise rates of the multiple power management chips.
[0019] According to an embodiment of the present disclosure, obtaining the temperature rise rate of each of the power management chips includes:
[0020] Obtaining the temperature rise of each power management chip at preset time intervals;
[0021] For each of the power management chips, a ratio of the temperature rise of the power management chip to the preset time length is calculated as the temperature rise rate of the power management chip.
[0022] According to an embodiment of the present disclosure, obtaining the temperature rise rate of each of the power management chips further includes:
[0023] configuring equal temperature base values for the multiple power management chips;
[0024] For each of the power management chips, the temperature rise of the power management chip obtained for the first time is the initial temperature rise;
[0025] Calculating a difference between the initial temperature rise and the temperature base value, the difference being a first difference;
[0026] The ratio of the first difference to the preset time length is calculated as the temperature rise rate of the power management chip.
[0027] According to an embodiment of the present disclosure, determining the current distribution ratio of the multiple power management chips according to the respective working efficiencies and respective temperature rise rates of the multiple power management chips includes:
[0028] Determining a first allocation ratio of the plurality of power management chips according to the respective working efficiencies of the at least two power management chips;
[0029] Determining a second allocation ratio of the plurality of power management chips according to the respective temperature rise rates of the at least two power management chips;
[0030] The current allocation ratio is determined according to the first allocation ratio and the second allocation ratio.
[0031] According to an embodiment of the present disclosure, determining the current distribution ratio of the multiple power management chips according to the respective working efficiencies of the multiple power management chips includes:
[0032] For each of the power management chips, calculating an average value of a proportional coefficient corresponding to the power management chip in the first allocation ratio and an allocation coefficient corresponding to the power management chip in the second allocation ratio;
[0033] The average value is used as a proportional coefficient of the power management chip in the charging current distribution ratio.
[0034] According to an embodiment of the present disclosure, allocating the total current to be allocated according to the current allocation ratio to determine the configuration current allocated to each of the power management chips includes:
[0035] obtaining a temperature of the battery;
[0036] determining the total current to be distributed according to the temperature of the battery;
[0037] The determined total current to be distributed is distributed to each of the power management chips according to the current distribution ratio, so as to determine the configuration current distributed to each of the power management chips.
[0038] According to an embodiment of the present disclosure, determining the total current to be distributed according to the temperature of the battery includes:
[0039] Searching for a first temperature range in which the temperature of the battery is located among a plurality of preset first temperature ranges;
[0040] Based on the correspondence between the preset first temperature range and the total charging current, determining the total charging current corresponding to the first temperature range found;
[0041] The step of distributing the determined total current to be distributed to each of the power management chips according to the current distribution ratio to determine the configuration current distributed to each of the power management chips includes:
[0042] The determined total charging current is distributed to each of the power management chips according to the current distribution ratio to determine the charging current distributed to each of the power management chips.
[0043] According to an embodiment of the present disclosure, determining the total current to be distributed according to the temperature of the battery includes:
[0044] Searching for a second temperature range in which the temperature of the battery is located among a plurality of preset second temperature ranges;
[0045] Based on the correspondence between the preset second temperature range and the total input current, determining the total input current corresponding to the found second temperature range;
[0046] The step of distributing the determined total current to be distributed to each of the power management chips according to the current distribution ratio to determine the configuration current distributed to each of the power management chips includes:
[0047] The determined total input current is distributed to each of the power management chips according to the current distribution ratio to determine the input current distributed to each of the power management chips.
[0048] According to an embodiment of the present disclosure, the plurality of power management chips include other power management chips, and a first power management chip with the highest current regulation accuracy;
[0049] The allocating the total current to be allocated according to the current allocation ratio to determine the configuration current allocated to each of the power management chips includes:
[0050] Determining a calculated value of a configuration current allocated to each of the power management chips according to the current allocation ratio;
[0051] Obtaining the current regulation accuracy of each of the power management chips;
[0052] Determining the priority of allocating the configuration current according to the order of current regulation accuracy from low to high;
[0053] Determining actual values of the configuration currents allocated to the other power management chips and the first power management chip;
[0054] Wherein, for any of the other power management chips, the actual value of the configuration current is determined to be a value that has the smallest difference with the calculated value of the configuration current allocated to the power management chip and is an integer multiple of the current regulation accuracy of the power management chip;
[0055] For the first power management chip, the actual charging current is determined as a difference between the total current to be distributed and an actual value of the configuration current distributed to the other power management chips.
[0056] According to an embodiment of the present disclosure, controlling the power management chip to charge the battery according to the respective allocated charging currents includes:
[0057] Comparing the current distribution ratio with a plurality of preset current distribution correction ratios; wherein the current distribution correction ratio is set according to the ratio of the current regulation precisions of the plurality of power management chips;
[0058] Determining the current distribution correction ratio that best matches the current distribution ratio;
[0059] According to the current distribution correction ratio, the total current to be distributed is distributed to the multiple power management chips, and the actual value of the configuration current distributed to each power management chip is determined.
[0060] According to an embodiment of the present disclosure, the power supply device is an adapter, and before the step of obtaining the working efficiency of each of the plurality of power management chips, the method further includes:
[0061] detecting a type of adapter for charging the electronic device;
[0062] When the inserted adapter type is a PD adapter or a QC adapter, and the charging voltage allowed by the electronic device is greater than or equal to the first charging voltage, an initial value of the total current to be distributed is set.
[0063] According to an embodiment of the present disclosure, when the inserted adapter type is a PD adapter or a QC adapter and the charging power allowed by the electronic device is greater than or equal to the first charging power, setting the initial value of the total current to be distributed according to the temperature of the battery includes:
[0064] When the inserted adapter is a PD adapter or a QC adapter, and the charging voltage allowed by the electronic device is greater than or equal to the first charging voltage, obtaining the temperature of the battery;
[0065] An initial value of the total current to be distributed is set according to the temperature of the battery.
[0066] According to an embodiment of the present disclosure, the plurality of power management chips include a first power management chip and a second power management chip;
[0067] The first power management chip is a main power management chip on a mainboard of the electronic device;
[0068] The second power management chip is a secondary power management chip on the mainboard, or an external power management chip external to the mainboard.
[0069] According to an embodiment of the present disclosure, the plurality of power management chips include a first power management chip, a second power management chip and a third power management chip;
[0070] The first power management chip is a main power management chip on a mainboard of the electronic device;
[0071] The second power management chip is a secondary power management chip on the mainboard;
[0072] The third power management chip is an external power management chip externally mounted on the mainboard.
[0073] According to another aspect of the present disclosure, a charging control device is provided, which is applied to an electronic device; the electronic device comprises a battery and a plurality of power management chips, the plurality of power management chips jointly receive a total input current from an adapter, and jointly output a total charging current to charge the battery; the charging control device comprises:
[0074] A working efficiency acquisition unit, used to acquire the working efficiency of each of the plurality of power management chips, wherein the working efficiency is a ratio of the output power of the power management chip to the input power entering the power management chip;
[0075] a current distribution ratio determining unit, configured to determine the current distribution ratio of the plurality of power management chips according to the respective working efficiencies of the plurality of power management chips;
[0076] A configuration current unit, used to distribute the total current to be distributed according to the current distribution ratio to determine the configuration current allocated to each of the power management chips; wherein the total current to be distributed is at least one of the total input current and the total charging current, and the configuration current corresponds to at least one of the input current and the charging current;
[0077] The control unit is used to control the multiple power management chips to operate according to the configuration currents allocated to them.
[0078] According to another aspect of the present disclosure, an electronic device is provided, comprising:
[0079] A storage unit storing a charging control program;
[0080] A processing unit is used to execute the steps of the charging control method when running the charging control program.
[0081] According to another aspect of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a charging control program, and when the charging control program is executed by at least one processor, the steps of the charging control method are implemented, or the steps of the charging control method are implemented.
[0082] In the present application, multiple power management chips work in parallel to realize the charging of the battery. Therefore, the total input current / total charging current is shared by multiple power management chips, which effectively reduces the input current / charging current allocated to each power management chip, thereby reducing the heat generated by the power management chip, and increasing the time for the temperature rise of the power management chip to be maintained below the set threshold, thereby increasing the fast charging time. Therefore, the disclosed solution increases the charging rate while ensuring charging safety.
[0083] Moreover, the current distribution ratio of multiple power management chips is obtained according to the respective working efficiencies of the multiple power management chips. The power management chip with higher working efficiency has a larger corresponding proportional coefficient, and the input current / charging current it bears is correspondingly larger. Therefore, the present application scheme can improve the utilization rate of electric energy, reduce the loss of electric energy, and reduce heat generation under the premise that multiple power management chips work in parallel.
[0084] In summary, the present disclosure improves the charging speed while ensuring charging safety.
[0085] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0086] The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail example embodiments thereof with reference to the attached drawings.
[0087] Figure 1 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure.
[0088] Figure 2 It is a circuit structure block diagram of an electronic device according to an embodiment of the present disclosure.
[0089] Figure 3 is a flow chart of a charging control method according to an embodiment of the present disclosure.
[0090] Figure 4 is a flow chart of a charging control method according to another embodiment of the present disclosure.
[0091] Figure 5 According to an embodiment Figure 4 Flowchart of step S211 in FIG.
[0092] Figure 6 According to an embodiment Figure 3 Flowchart of step S22 in FIG.
[0093] Figure 7 According to an embodiment Figure 6 Flowchart of step S222 in .
[0094] Figure 8 According to an embodiment Figure 3 Flowchart of step S22 in FIG.
[0095] Fig. 9 According to an embodiment Figure 3 Before step S20, the charging control method further includes the steps of.
[0096] Fig.10 is a structural block diagram of a charging control device according to an embodiment.
[0097] Fig.11 It is a system architecture diagram of an electronic device according to an embodiment. DETAILED DESCRIPTION
[0098] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present disclosure will be more comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0099] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known structures, methods, devices, implementations, materials or operations are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0100] In the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0101] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0102] The preferred embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings of this specification.
[0103] The present disclosure provides an electronic device, which may be a smart terminal or mobile terminal device equipped with a battery power supply system, such as a mobile phone, a tablet computer, a laptop computer, an e-book reader, a smart wearable device, a mobile power source (such as a power bank, a travel charger), an electronic cigarette, a wireless mouse, a wireless keyboard, a wireless headset, a Bluetooth speaker, and other rechargeable electronic devices with a charging function.
[0104] The following describes related adapters for charging electronic devices in the related art.
[0105] In the related art, the adapter can work in constant voltage mode, and its output voltage is basically kept constant, such as 5V, 9V, 12V or 20V. The output current can be a pulsating DC current (direction remains unchanged, amplitude changes with time), an AC current (direction and amplitude both change with time) or a constant DC current (direction and amplitude do not change with time). The voltage output by the related adapter is not suitable for being directly loaded to both ends of the battery, but needs to be converted by the conversion circuit in the electronic device first to obtain the expected charging voltage and / or charging current of the battery in the electronic device.
[0106] The adapter can also work in a voltage following mode. That is, the adapter and the electronic device to be charged communicate bidirectionally, and the adapter adjusts its output voltage and current according to the required charging voltage and charging current fed back by the electronic device, so that the output voltage and current can be directly loaded on the battery of the electronic device to charge the battery, and the electronic device does not need to adjust the charging voltage and charging current again.
[0107] The conversion circuit can control the charging voltage and / or charging current of the battery at different charging stages. For example, in the constant current charging stage, the conversion circuit can use the current feedback loop to make the current entering the battery meet the first charging current expected by the battery. In the constant voltage charging stage, the conversion circuit can use the voltage feedback loop to make the voltage loaded on both ends of the battery meet the charging voltage expected by the battery. In the trickle charging stage, the conversion circuit can use the current feedback loop to make the current entering the battery meet the second charging current expected by the battery (the second charging current is less than the first charging current).
[0108] For example, when the voltage output by the relevant adapter is greater than the expected charging voltage of the battery, the conversion circuit is used to step down the voltage output by the relevant adapter so that the charging voltage obtained after the step-down conversion meets the expected charging voltage of the battery.
[0109] There are two main charging modes for the batteries of electronic devices: "normal charging mode" and "fast charging mode". Normal charging mode means that the adapter outputs a relatively small current value (usually less than 2.5A) or charges the battery in the device to be charged with a relatively small power (usually less than 15W). In normal charging mode, it usually takes several hours to fully charge a large capacity battery (such as a 3000 mAh battery). Fast charging mode means that the adapter can output a relatively large current (usually greater than 2.5A, such as 4.5A, 5A or even higher) or charge the battery in the device to be charged with a relatively large power (usually greater than or equal to 15W). Compared with normal charging mode, the adapter charges faster in fast charging mode, and the charging time required to fully charge a battery of the same capacity can be significantly shortened.
[0110] The wireless charging system and the wired charging system in the related art are introduced below respectively.
[0111] During the wireless charging process, a power supply device (such as an adapter) is generally connected to a wireless charging device (such as a wireless charging base), and the output power of the power supply device is transmitted to the electronic device in a wireless manner (such as an electromagnetic signal or electromagnetic wave) through the wireless charging device to wirelessly charge the electronic device.
[0112] According to different wireless charging principles, wireless charging methods are mainly divided into three methods: magnetic coupling (or electromagnetic induction), magnetic resonance, and radio waves. At present, the mainstream wireless charging standards include QI standard, PowerMatters Alliance (PMA) standard, and Alliance for Wireless Power (A4WP). Both QI standard and PMA standard use magnetic coupling for wireless charging. A4WP standard uses magnetic resonance for wireless charging.
[0113] During wired charging, a power supply device (such as an adapter) is generally connected to the electronic device via a cable, and the power provided by the power supply device is transmitted to the electronic device via the cable to charge the electronic device.
[0114] The following describes the current mainstream constant current constant voltage (CCCV) charging method, which is suitable for wired charging and wireless charging.
[0115] The battery charging process may include: a trickle charging stage (or mode), a constant current charging stage (or mode), a constant voltage charging stage (or mode) and a supplementary charging stage (or mode).
[0116] In the trickle charge stage, the fully discharged battery is first pre-charged (i.e., recovery charge). The trickle charge current is usually one tenth of the constant current charge current. When the battery voltage rises above the trickle charge voltage threshold, the charging current is increased to enter the constant current charge stage.
[0117] In the constant current charging stage, the battery is charged with a constant current, and the charging voltage rises rapidly. When the charging voltage reaches the expected charging voltage threshold of the battery, it enters the constant voltage charging stage. The constant current is usually a rated charging rate current, such as a high rate 3C current, where C is the battery capacity. Assuming the battery capacity is 1700mAh, the constant current is 3 1700mA=5.1A.
[0118] In the constant voltage charging stage, the battery is charged at a constant voltage, and the charging current gradually decreases. When the charging current drops to the set current threshold, the battery is fully charged. In the CCCV charging method, the current threshold is usually set to 0.01C, where C is the battery capacity. Assuming that the battery capacity is 1700mAh, the current threshold is 0.01 1700mA=17mA.
[0119] After the battery is fully charged, some current loss will occur due to the self-discharge of the battery, and then it will enter the supplementary charging stage. In the supplementary charging stage, the charging current is very small, just to ensure that the battery is in a fully charged state.
[0120] It should be noted that the constant current charging stage does not require the charging current to remain completely constant. For example, it can generally refer to the peak or average value of the charging current remaining constant over a period of time. In practice, the constant current charging stage can be charged in a multi-stage constant current charging manner.
[0121] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of an embodiment of an electronic device disclosed in the present invention. The electronic device 10 may include a rear shell 11, a display screen 12, a circuit board 13, and a battery. It should be noted that the electronic device 10 is not limited to including the above content. Among them, the rear shell 11 can form the outer contour of the electronic device 10. In some embodiments, the rear shell 11 may be a metal rear shell, such as a magnesium alloy, stainless steel or other metals. It should be noted that the material of the rear shell 11 in the embodiment of the present application is not limited to this, and other methods may also be used, for example: the rear shell 11 may be a plastic rear shell, a ceramic rear shell, a glass rear shell, etc.
[0122] Among them, the display screen 12 is installed in the rear shell 11. The display screen 12 is electrically connected to the circuit board 13 to form a display surface of the electronic device. In some embodiments, the display surface of the electronic device 10 can be provided with a non-display area, for example: the top and / or the bottom of the electronic device 10 can form a non-display area, that is, the electronic device 10 forms a non-display area at the upper part and / or the lower part of the display screen 12, and the electronic device 10 can install devices such as cameras and receivers in the non-display area. It should be noted that the display surface of the electronic device 10 may not be provided with a non-display area, that is, the display screen 12 can be a full screen. The display screen can be laid on the entire display surface of the electronic device 10 so that the display screen can be displayed in full screen on the display surface of the electronic device 10.
[0123] The electronic device is equipped with a charging interface, and the charging interface 123 can be, for example, a USB 2.0 interface, a Micro USB interface, or a USB TYPE-C interface. In some embodiments, the charging interface can also be a lightning interface, or any other type of parallel or serial port that can be used for charging. The charging interface is connected to the adapter via a data cable, and the adapter obtains electrical energy from the mains, and after voltage conversion, it is transmitted to the charging circuit via the data cable and the charging interface, so that the electrical energy can be charged into the battery to be charged through the charging circuit.
[0124] The electronic device 10 also includes a charging circuit. The charging circuit can charge the battery cell 14 of the electronic device 10. The charging circuit can be used to further adjust the charging voltage and / or charging current input from the adapter to meet the charging requirements of the battery.
[0125] See also Figure 2 , Figure 2 1 is a circuit structure block diagram of an electronic device according to an embodiment of the present disclosure. The charging circuit includes a power management chip (PMIC) and a CPU 14. During the charging process, the charging interface 13 of the electronic device is connected to an adapter or a wireless charging device to receive input current and output charging current to the battery 18 to charge the battery 18. In the non-charging state, the battery 18 provides the required specifications of electrical energy to each component in the electronic device through the power management chip.
[0126] A power management IC (PMIC) is an integrated circuit that includes multiple power rails and power management functions within a single chip. PMICs are often used to power small form factor, battery18 powered devices because integrating multiple functions into a single chip provides better space utilization and system power efficiency. Common functions integrated into a PMIC include voltage converters and regulators, battery18 chargers, battery18 fuel gauges, LED drivers, real-time clocks, power sequencers, and power control.
[0127] In some embodiments, the power management chip is integrated into the SOC (System on Chip) of the electronic device. Generally, the SOC is integrated with a CPU. In some SOCs, two power management chips are integrated, namely the main power management chip (which can correspond to Figure 2 The first power management chip 15) and the secondary power management chip (which can correspond to Figure 2 The second power management chip 16 in the main power supply 10 is used to power the electronic device. However, in the related art, when the electronic device is in a charging state, the secondary power management chip does not participate in the charging process, and only the main power management chip outputs the charging current to the battery 18.
[0128] In the disclosure, the electronic device may also include one or more power management chips (which may correspond to Figure 2 The third power management chip 17 in the embodiment of the present invention). Compared with processing-level chips such as MCU, the price of power management chips is not high and can be applied to mid- and low-end devices without causing significant cost problems.
[0129] Taking mobile phones as an example, in the relevant technologies, low-end projects of thousand-yuan phones are generally only equipped with PD charging technology announced by the USB-IF organization and Qualcomm's QC fast charging technology. Both PD and QC are high-voltage fast charging technologies, and the power supported by low-end projects is generally 9V / 2A, 18W. For a single cell, the battery voltage is lower than 5V (the maximum is generally 4.45V), so the 9V PD and QC charging technologies need to be stepped down by a step-down circuit to charge the battery. In the process of stepping down, a large amount of energy will be lost, which is intuitively reflected in the slow charging speed. At the same time, the lost electrical energy is converted into heat energy, causing the mobile phone to heat up seriously.
[0130] In the present disclosure, multiple power management chips are used in parallel to charge the battery 18, and dynamic adjustment of the charging current and / or input current is achieved, thereby achieving further improvement of the charging speed and shortening of the charging time while ensuring that the temperature rise of the electronic equipment meets the temperature rise requirements of the enterprise standard and the national standard.
[0131] In the following embodiments, embodiments of the charging control method of the present disclosure will be described.
[0132] In one embodiment, the electronic device includes a battery 18 and a plurality of power management chips, wherein the plurality of power management chips jointly receive a total input current from a power supply device and jointly output a total charging current to charge the battery 18 .
[0133] In one example, the multiple power management chips include a first power management chip and a second power management chip; the first power management chip is the main power management chip on the motherboard of the electronic device; the second power management chip is a secondary power management chip on the main board, or an external power management chip external to the motherboard.
[0134] Please continue reading Figure 2 In another example, the plurality of power management chips include a first power management chip 15, a second power management chip 16 and a third power management chip 17; the first power management chip 15 is a main power management chip on a mainboard of the electronic device; the second power management chip 16 is a secondary power management chip on the mainboard; and the third power management chip 17 is an external power management chip external to the mainboard.
[0135] It should be understood that more than three power management chips can be provided by means of external power management chips.
[0136] Here, all power management chips are controlled by the CPU of the electronic device, and the CPU distributes the input current and / or charging current of all power management chips.
[0137] See also Figure 3 , Figure 31 is a flow chart of a charging control method according to an embodiment of the present disclosure. The method includes:
[0138] S20, obtaining the respective working efficiencies of the plurality of power management chips, wherein the working efficiency is a ratio of the output power of the power management chip to the input power entering the power management chip.
[0139] S21, determining the current distribution ratio of the multiple power management chips according to the respective working efficiencies of the multiple power management chips.
[0140] S22, allocating the total current to be allocated according to the current allocation ratio to determine the configuration current allocated to each power management chip; wherein the total current to be allocated is at least one of the total input current and the total charging current, and the configuration current corresponds to at least one of the input current and the charging current.
[0141] S23, controlling the plurality of power management chips to operate according to the configuration currents allocated to them.
[0142] Schematically, during the charging process, the SOC or CPU of the electronic device communicates with the adapter by handshake to determine the required total input current and total charging current. Usually, during the actual charging process, the total input current and the total charging current are roughly equal. The total input current is transmitted to the power management chip. After removing the loss in the power management chip, a small part of the current output by the power management chip flows to the SOC and other components for power supply, and most of it flows to the battery 18 as a charging current to charge the battery 18.
[0143] There are three schemes in step S22. The current distribution ratio determined in step S21 can be used to distribute the total input current to the input ends of each power management chip, and the total charging current is not proportionally distributed at this time; it can also be used to distribute the total charging current to the output ends of each power management chip according to the current distribution ratio, and the total input current is not proportionally distributed at this time; not only the total input current is proportionally distributed according to the current distribution ratio, but also the total charging current is proportionally distributed according to the current distribution ratio.
[0144] It should be noted that when the total input current is distributed to the input terminals of each power management chip according to the current distribution ratio, and the total charging current is not distributed proportionally, the charging current threshold of each power management chip can be set higher. At this time, during the charging process, the charging current ratio output by each power management chip also roughly tends to the current distribution ratio.
[0145] Similarly, when the total charging current is distributed to the output ends of each power management chip according to the current distribution ratio, and the total input current is not distributed proportionally, the input current threshold of each power management chip can be set higher. At this time, during the charging process, the input current ratio output by each power management chip also roughly tends to the current distribution ratio.
[0146] In step S, the total current to be allocated is allocated according to the current allocation ratio to determine the configuration current allocated to each power management chip. The configuration current has a corresponding relationship with the total current to be allocated. If the total current to be allocated is the total input current, the configuration current corresponds to the input current of the power management chip. If the total current to be allocated is the total charging current, the configuration current corresponds to the charging current output by the power management chip.
[0147] Furthermore, in step S22, the configuration current is taken as the charging current as an example. At this time, the total charging current is distributed according to the current distribution ratio to determine the charging current allocated to each power management chip. In the actual charging process, the total charging current mentioned in step S22 is actually the maximum threshold of the total charging current, and the configuration current mentioned in step S22 is actually the maximum charging current threshold of the power management chip. Usually, the total charging current actually entering the battery 18 is the maximum threshold of the total charging current. Each power management chip basically outputs according to the maximum charging current threshold.
[0148] In step S20, the charging efficiency is mainly affected by the characteristics of the power management chip itself and the ambient temperature. Figure 2 The working efficiencies of the first power management chip 15 , the second power management chip 16 , and the third power management chip 17 are obtained respectively, which correspond to e1 , e2 , and e3 .
[0149] In the current distribution ratio, the proportional coefficient of the first power management chip 15 is p1=e1 / (e1+e2+e3), the proportional coefficient of the second power management chip 16 is p2=e2 / (e1+e2+e3), and the proportional coefficient of the third power management chip 17 is p3=e3 / (e1+e2+e3).
[0150] During the charging process, the charging efficiency will change with the temperature of the power management chip. The higher the temperature, the lower the corresponding charging efficiency. Therefore, in order to obtain the current real charging efficiency, in one example, the respective working efficiencies of multiple power management chips are obtained, including:
[0151] Obtaining the temperature of each power management chip among the multiple power management chips at a preset time interval;
[0152] Corresponding to each power management chip, based on a preset corresponding relationship between the temperature of the power management chip and the working efficiency, the working efficiency corresponding to the temperature of the power management chip is determined.
[0153] Here, the preset duration may be 1 to 5 minutes, for example 1 minute.
[0154] In the laboratory, each power management chip can be tested for efficiency. The corresponding relationship between the temperature and working efficiency of the power management chip preset by the test can be reflected in a table or a function formed by fitting.
[0155] During the charging process, the temperature of the power management chip can be measured by a temperature sensor. Therefore, by reading the temperature value measured by the temperature sensor, the working efficiency corresponding to the measured temperature value is found, thereby determining the current working efficiency of the power management chip. In addition, the working efficiency is updated in real time according to the preset time.
[0156] In the related art, during the charging process, when the temperature rise of the power management chip reaches a set threshold, the charging speed will be limited or reduced.
[0157] In the present application, on the one hand, multiple power management chips work in parallel to realize charging of the battery 18. Therefore, the total input current / total charging current is shared by multiple power management chips, thereby effectively reducing the input current / charging current allocated to each power management chip, thereby reducing the heat generated by the power management chip, and increasing the time for the temperature rise of the power management chip to be maintained below the set threshold, thereby increasing the fast charging time, so the disclosed solution increases the charging rate.
[0158] Moreover, the current distribution ratio of multiple power management chips is obtained according to the respective working efficiencies of the multiple power management chips. The power management chip with higher working efficiency has a larger corresponding proportional coefficient, and the input current / charging current it bears is correspondingly larger. Therefore, the present application scheme can improve the utilization rate of electric energy, reduce the loss of electric energy, and reduce heat generation under the premise that multiple power management chips work in parallel.
[0159] See also Figure 4 , Figure 4 is a flow chart of a charging control method according to another embodiment of the present disclosure. In one embodiment, in order to prevent the temperature of the power management chip from reaching a limit value, the output charging current needs to be reduced. Therefore, the method further includes:
[0160] S24, obtaining the temperature rise rate of each power management chip;
[0161] S21, determining the charging current distribution ratio of the multiple power management chips according to the working efficiency of the multiple power management chips, including:
[0162] S211, determining the current distribution ratio of the multiple power management chips according to the respective working efficiencies and respective temperature rise rates of the multiple power management chips.
[0163] In this embodiment, the power management chip has an ADC channel specifically used to obtain its own temperature, which can obtain the current temperature of the power management chip in real time. Schematically, the temperature rise rate of the power management chip can be calculated once every minute by setting in the software code.
[0164] Affected by the external environment temperature, the temperature rate may be rising or falling. Therefore, in one embodiment, obtaining the temperature rise rate of each power management chip also includes:
[0165] Configure equal temperature base values for multiple power management chips;
[0166] For each power management chip, the temperature rise of the power management chip obtained for the first time is the initial temperature rise;
[0167] Calculate the difference between the initial temperature rise and the temperature base value, the difference being the first difference;
[0168] The ratio of the first difference to the preset time length is calculated as the temperature rise rate of the power management chip.
[0169] Indicatively, taking the preset duration of 1 minute as an example, the temperature base value is set to T, and the first temperature rise obtained is ti, then the temperature rise rate of the power management chip at the current moment is (T-ti) / 1.
[0170] In this embodiment, the current distribution ratio of multiple power management chips is obtained based on the respective working efficiency and temperature rise rate of the multiple power management chips, so that the calculated current distribution ratio can take into account the working efficiency and temperature rise rate of the power management chip. Since the temperature rise rate reflects the tolerance of the power management chip under the current working state, it can reflect the temperature rise of the power management chip in the future. Therefore, this embodiment improves the reliability of maintaining the temperature rise of the power management chip below the set threshold, and on the premise of maintaining the overall high working efficiency of the multiple power management chips, increases the time that the temperature rise of the power management chip is maintained below the set threshold, thereby increasing the fast charging time.
[0171] In step S211, there are many ways to determine the current distribution ratio, see Figure 5 , Figure 5 According to an embodiment Figure 4In one embodiment, the current distribution ratio of the multiple power management chips is determined according to the respective working efficiencies and respective temperature rise rates of the multiple power management chips, including:
[0172] Step S2111, determining a first allocation ratio of the plurality of power management chips according to respective working efficiencies of at least two power management chips;
[0173] Step S2112, determining a second allocation ratio of the plurality of power management chips according to respective temperature rise rates of at least two power management chips;
[0174] Step S2113, determining the current distribution ratio according to the first distribution ratio and the second distribution ratio.
[0175] Here, the working efficiencies of the first power management chip 15, the second power management chip 16 and the third power management chip 17 are obtained respectively, which are e1, e2 and e3 respectively, and the corresponding temperature rise rates are t1, t2 and t3 respectively.
[0176] In the first allocation ratio, the proportional coefficient of the first power management chip 15 is p1=e1 / (e1+e2+e3), the proportional coefficient of the second power management chip 16 is p2=e2 / (e1+e2+e3), and the proportional coefficient of the third power management chip 17 is p3=e3 / (e1+e2+e3).
[0177] In the second allocation ratio, the proportional coefficient of the second power management chip 16 is m1=t1 / (t1+t2+t3), the proportional coefficient of the second power management chip 16 is m2=t2 / (t1+t2+t3), and the proportional coefficient of the third power management chip 17 is m3=t3 / (t1+t2+t3).
[0178] Therefore, the proportional coefficient in the first distribution ratio can be set to a weighted value x, and the proportional coefficient in the second distribution ratio can be set to a weighted value y; then in the current distribution ratio, the proportional coefficient of the first power management chip 15 is: p1×x+m1×y; the proportional coefficient of the second power management chip 16 is: p2×x+m2×y; the proportional coefficient of the third power management chip 17 is: p3×x+m3×y.
[0179] In another embodiment, determining the current distribution ratio of the plurality of power management chips according to the respective working efficiencies of the plurality of power management chips includes:
[0180] For each power management chip, calculate the average value of the proportional coefficient corresponding to the power management chip in the first allocation ratio and the allocation coefficient corresponding to the power management chip in the second allocation ratio;
[0181] The average value is used as the proportional coefficient of the power management chip in the charging current distribution ratio.
[0182] In this embodiment, in the current distribution ratio, the proportional coefficient of the first power management chip 15 is: (p1+m1) / 2; the proportional coefficient of the second power management chip 16 is: (p2+m2) / 2; the proportional coefficient of the third power management chip 17 is: (p3+m3) / 2.
[0183] During the entire charging process, the total charging current and the total input current remain substantially unchanged. In one embodiment, the total charging current / total input current is set to change according to the temperature of the battery 18. When the temperature of the battery 18 is low, the total charging current / total input current is increased to increase the charging speed. When the temperature of the battery 18 is high, the total charging current / total input current is appropriately reduced to ensure charging safety.
[0184] See also Figure 6 , Figure 6 According to an embodiment Figure 3 Specifically, in one embodiment, the total current to be allocated is allocated according to the current allocation ratio to determine the configuration current allocated to each power management chip, including:
[0185] Step S221, obtaining the temperature of the battery 18;
[0186] Step S222, determining the total current to be distributed according to the temperature of the battery 18;
[0187] Step S223 , distributing the determined total current to be distributed to each power management chip according to the current distribution ratio, so as to determine the configuration current distributed to each power management chip.
[0188] Here, the temperature of the battery 18 can be measured using a temperature sensor or a thermocouple.
[0189] See also Figure 7 , Figure 7 According to an embodiment Figure 6 The flowchart of step S222 in step S222 is shown in FIG. 1 . In step S222, the total current to be distributed is determined according to the temperature of the battery 18, including:
[0190] Step S2221, searching for a first temperature range in which the temperature of the battery 18 is located in a plurality of preset first temperature ranges;
[0191] Step S2222, based on the correspondence between the preset first temperature range and the total charging current, determining the total charging current corresponding to the found first temperature range;
[0192] Step S223: Distribute the determined total current to be allocated to each power management chip according to the current distribution ratio to determine the configured current allocated to each power management chip, including:
[0193] Step S2231: Distribute the determined total charging current to each power management chip according to the current distribution ratio to determine the charging current allocated to each power management chip.
[0194] In this embodiment, the first temperature range interval can be divided into finer intervals. Schematically, Td < -2°C, -2°C < Td < 0°C, 0°C - 5°C, 5°C < Td < 12°C, 12°C < Td < 16°C, 16°C < Td < 22°C, 22°C < Td < 26°C, 26°C < Td < 33°C, 33°C < Td < 37°C, 37°C < Td < 41°C, 41°C < Td < 45°C, 45°C < Td < 53°C, 53°C < Td.
[0195] Corresponding to each first temperature range interval, there is a preset corresponding total charging current. Here, the temperature of the battery 18 can be detected every 1 minute to 10 minutes to adjust the total charging current.
[0196] There is a similar setting method for the total input current. Specifically:
[0197] Determine the total current to be allocated according to the temperature of the battery 18, including:
[0198] In multiple preset second temperature range intervals, find the second temperature range interval where the temperature of the battery 18 is located;
[0199] Based on the correspondence between the preset second temperature range interval and the total input current, determine the total input current corresponding to the found second temperature range interval;
[0200] Distribute the determined total current to be allocated to each power management chip according to the current distribution ratio to determine the configured current allocated to each power management chip, including:
[0201] Distribute the determined total input current to each power management chip according to the current distribution ratio to determine the input current allocated to each power management chip.
[0202] In this embodiment, the second temperature range interval can be set wider. For example, Td < 35°C, 35°C < Td < 37°C, and 37°C < Td. For example, when Td < 35°C, the corresponding total input current is 2A; when 35°C < Td < 37°C, the corresponding total input current is 1.8A; when 37°C < Td, the corresponding total input current is 1.5A.
[0203] Each power management chip has current regulation accuracy, that is, when the power management chip adjusts the input current / charging current, it adjusts it with the current regulation accuracy as the step size. For example, when the charging current allocated to a power management chip is 810mA, but its current regulation accuracy is 100 mA, it will have a 10 mA accuracy loss.
[0204] Here, the current regulation accuracy of multiple power management chips may be inconsistent. Here, multiple power management chips are divided into two categories according to the current regulation accuracy: other power management chips and the first power management chip 15, among which the first power management chip 15 has the highest current regulation accuracy.
[0205] See also Figure 8 , Figure 8 According to an embodiment Figure 3 Flowchart of step S22 in step S22. In order to reduce the power loss caused by the current regulation accuracy when allocating the input current / charging current, in one embodiment, the multiple power management chips include other power management chips and a first power management chip 15 with the highest current regulation accuracy;
[0206] The total current to be allocated is allocated according to the current allocation ratio to determine the configuration current allocated to each power management chip, including:
[0207] Step S224, determining the calculated value of the configuration current allocated to each power management chip according to the current allocation ratio;
[0208] Step S225, obtaining the current regulation accuracy of each power management chip;
[0209] Step S226, determining the priority of allocating the configuration current according to the order of current regulation accuracy from low to high;
[0210] Step S227, determining actual values of the configuration currents allocated to other power management chips and the first power management chip 15;
[0211] Wherein, for any power management chip among the other power management chips, the actual value of the configuration current is determined to be a value having the smallest difference with the calculated value of the configuration current allocated to the power management chip and being an integer multiple of the current regulation accuracy of the power management chip;
[0212] For the first power management chip 15 , the actual charging current is determined as the difference between the total current to be distributed and the actual value of the configuration current that has been distributed to other power management chips.
[0213] Schematically, the total charging current is used as an example for explanation. The charging current accuracy of the first power management chip 15, the second power management chip 16 and the third power management chip 17 are 25ma, 50ma and 100ma respectively, and the current distribution ratios are 45%, 25%, 30% respectively, and the total charging current is 1.8A. The calculated values of the charging current allocated to the three power management chips are 810ma, 450ma, and 540ma respectively. Taking into account the current regulation accuracy of each power management chip, if the current distribution ratio is used, the first power management chip 15 loses 10ma of charging current (810 / 25=32 plus 10), and the third power management chip 17 loses 40ma (540 / 100=5 plus 40ma).
[0214] Here, the priority when configuring the current is the third power management chip 17 - the second power management chip 16 - the first power management chip 15 .
[0215] Therefore, the actual value of the charging current configured by the third power management chip 17 is: 540ma / 100ma=5 plus 40ma; at this time, the total remaining charging current to be allocated is 1300ma. Secondly, the actual value of the charging current configured by the second power management chip 16 is: 450ma / 50ma=9, and the total remaining charging current to be allocated is 850ma. Finally, the actual value of the charging current configured by the third power management chip 17 is: 850ma / 25ma=34, and at this time, the total charging current is just fully allocated, and there is no power loss.
[0216] In the solution of this embodiment, a power management chip with the highest current regulation accuracy is used to bear the power loss, which effectively reduces the power loss in the process of allocating input current / charging current and improves the power utilization rate.
[0217] Furthermore, based on the solution of this embodiment, some power management chips with lower current regulation accuracy can be selected to reduce product costs.
[0218] Schematically, in an electronic device, the current regulation accuracy of the main power management chip on the SOC is the highest, the current regulation accuracy of the secondary power management chip on the SOC is the second highest, and the current regulation accuracy of the power management chip external to the SOC is the lowest.
[0219] In another embodiment, it is also possible to control multiple power management chips to charge the battery 18 according to the charging currents allocated to them, including:
[0220] Comparing the current distribution ratio with a plurality of preset current distribution correction ratios; wherein the current distribution correction ratio is set according to the ratio of the current regulation precisions of the plurality of power management chips;
[0221] Determine a current distribution correction ratio that best matches the current distribution ratio;
[0222] According to the current distribution correction ratio, the total current to be distributed is distributed to multiple power management chips, and the actual value of the configuration current distributed to each power management chip is determined.
[0223] See also Fig. 9 , Fig. 9 According to an embodiment Figure 3 Before step S20, the charging control method further includes the following steps. In the charging control method disclosed herein, the power supply device is an adapter, and before the step of obtaining the respective working efficiencies of the plurality of power management chips, the method further includes:
[0224] Step S25, detecting the type of the adapter for charging the electronic device;
[0225] When the inserted adapter type is a PD adapter or a QC adapter, and the charging voltage allowed by the electronic device is greater than or equal to the first charging voltage, an initial value of the total current to be distributed is set.
[0226] Specifically, in step S25, the level of the CC pin of the Type-C interface of the electronic device can be used to determine whether the adapter is a PD adapter. The DCP (Dedicated Charging Port) interface can be detected and identified through the BC1.2 charging protocol, and then the HVDCP (High Voltage Dedicated Charging Port) interface can be secondary identified to determine whether it is a QC adapter.
[0227] This is because, in some scenarios, the electronic device can only be charged at a low voltage, and in this case, only the main power management chip needs to be used to charge the battery 18. The first charging voltage can be set to 9V, so when it is detected that the electronic device has the condition that the charging voltage rises from 5V to 9V, the above charging control method can be used to charge multiple charging power management chips in parallel.
[0228] In one embodiment, when the inserted adapter type is a PD adapter or a QC adapter, and the charging power allowed by the electronic device is greater than or equal to the first charging power, the initial value of the total current to be distributed is set according to the temperature of the battery 18, including:
[0229] Step S26, when the inserted adapter type is a PD adapter or a QC adapter, and the charging voltage allowed by the electronic device is greater than or equal to the first charging voltage, obtaining the temperature of the battery 18;
[0230] Step S27 , setting an initial value of the total current to be distributed according to the temperature of the battery 18 .
[0231] In step S27 , according to the temperature interval in which the temperature of the battery 18 is located, the initial value corresponding to the temperature interval can be found through the correspondence between the preset temperature interval and the initial value.
[0232] In the following embodiments, the embodiments of the charging control device disclosed in the present invention will be described. The embodiments of the charging control device can refer to the embodiments of the charging control method described above. Applicable to electronic devices; the electronic devices include a battery 18 and a plurality of power management chips, the plurality of power management chips jointly receive a total input current from an adapter, and jointly output a total charging current to charge the battery 18.
[0233] See also Fig.10 , Fig.10 : is a structural block diagram of a charging control device 30 according to an embodiment; the charging control device includes:
[0234] A working efficiency acquisition unit 31, used to acquire the working efficiency of each of the plurality of power management chips, wherein the working efficiency is a ratio of the output power of the power management chip to the input power entering the power management chip;
[0235] The current distribution ratio determination unit 32 is used to determine the current distribution ratio of the multiple power management chips according to the respective working efficiencies of the multiple power management chips;
[0236] The configuration current unit 33 is used to distribute the total current to be distributed according to the current distribution ratio to determine the configuration current allocated to each power management chip; wherein the total current to be distributed is at least one of the total input current and the total charging current, and the configuration current corresponds to at least one of the input current and the charging current;
[0237] The control unit 34 is used to control the multiple power management chips to work according to the configuration currents allocated to them.
[0238] It should be noted that the above Fig.10 The blocks shown in the diagrams are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0239] See also Fig.11 , Fig.111 is a system architecture diagram of an electronic device according to an embodiment. This embodiment also provides an electronic device 10, including a storage unit 41 and a processing unit 42; the storage unit 41 stores a charging control program; the processing unit 42 is used to execute the steps of the above charging control method when running the short circuit detection program in the battery 18.
[0240] Specifically, the storage unit 41 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 411 and / or a cache memory unit 412 , and may further include a read-only memory unit (ROM) 413 .
[0241] The storage unit 41 may also include a program / utility 414 having a set (at least one) of program modules 415, such program modules 415 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0242] Bus 43 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0243] The electronic device 10 may also communicate with one or more external devices 50 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 10, and / or any device that enables the robot's electronic device 10 to communicate with one or more other computing devices (e.g., routers, modems, display units 44, etc.). Such communication may be performed via an input / output (I / O) interface 45. Furthermore, the robot's electronic device 10 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 46. Fig.11 As shown, the network adapter 46 communicates with other modules of the robot's electronic device 10 via the bus 43. It should be understood that although Fig.11 Not shown, other hardware and / or software modules may be used in conjunction with the robot's electronic device 10, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0244] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0245] The present disclosure also provides a schematic diagram of a computer-readable storage medium. The computer-readable storage medium may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In the present disclosure, the readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0246] The computer-readable medium carries one or more programs. When the one or more programs are executed by a device, the computer-readable medium implements the following Figures 2 to 8 The charging control method shown.
[0247] Although the present disclosure has been described with reference to several typical embodiments, it should be understood that the terms used are illustrative and exemplary, rather than restrictive. Since the present disclosure can be embodied in a variety of forms without departing from the spirit or essence of the invention, it should be understood that the above embodiments are not limited to any of the foregoing details, but should be interpreted broadly within the spirit and scope defined by the appended claims, so all changes and modifications falling within the scope of the claims or their equivalents should be covered by the appended claims.
Claims
1. A charging control method, applied to electronic equipment; characterized in that: The electronic device comprises a battery and a plurality of power management chips, wherein the plurality of power management chips jointly receive a total input current from a power supply device and jointly output a total charging current to charge the battery; the method comprises: Obtaining the working efficiency of each of the plurality of power management chips, wherein the working efficiency is a ratio of the output power of the power management chip to the input power entering the power management chip; Determining the current distribution ratio of the multiple power management chips according to the respective working efficiencies of the multiple power management chips; The total current to be allocated is allocated according to the current allocation ratio to determine the configuration current allocated to each of the power management chips; wherein the total current to be allocated is at least one of the total input current and the total charging current, and the configuration current corresponds to at least one of the input current and the charging current; Controlling the plurality of power management chips to operate according to the configuration currents allocated to them; The multiple power management chips include other power management chips and a first power management chip with the highest current regulation accuracy; The allocating the total current to be allocated according to the current allocation ratio to determine the configuration current allocated to each of the power management chips includes: determining the calculated value of the configuration current allocated to each of the power management chips according to the current allocation ratio; obtaining the current regulation accuracy of each of the power management chips; determining the priority when allocating the configuration current in order of current regulation accuracy from low to high; determining the actual value of the configuration current allocated to the other power management chips and the first power management chip; wherein, for any of the other power management chips, the actual value of the configuration current is determined to be a value with the smallest difference from the calculated value of the configuration current allocated to the power management chip and is an integer multiple of the current regulation accuracy of the power management chip; for the first power management chip, the actual charging current is determined to be the difference between the total current to be allocated and the actual value of the configuration current allocated to the other power management chips.
2. The charging control method according to claim 1, characterized in that: The obtaining of the respective working efficiencies of the plurality of power management chips comprises: Obtaining the temperature of each power management chip among the plurality of power management chips at preset time intervals; Corresponding to each of the power management chips, based on a preset correspondence between the temperature of the power management chip and the working efficiency, the working efficiency corresponding to the temperature of the power management chip is determined.
3. The charging control method according to claim 1, characterized in that: The method further comprises: Obtaining the temperature rise rate of each of the power management chips; The step of determining the charging current distribution ratio of the plurality of power management chips according to the working efficiency of the plurality of power management chips comprises: The current distribution ratio of the multiple power management chips is determined according to the respective working efficiencies and respective temperature rise rates of the multiple power management chips.
4. The charging control method according to claim 3, characterized in that: The obtaining of the temperature rise rate of each of the power management chips comprises: Obtaining the temperature rise of each power management chip at preset time intervals; For each of the power management chips, a ratio of the temperature rise of the power management chip to the preset time length is calculated as the temperature rise rate of the power management chip.
5. The charging control method according to claim 4, characterized in that: The step of obtaining the temperature rise rate of each of the power management chips further includes: configuring equal temperature base values for the multiple power management chips; For each of the power management chips, the temperature rise of the power management chip obtained for the first time is the initial temperature rise; Calculating a difference between the initial temperature rise and the temperature base value, the difference being a first difference; The ratio of the first difference to the preset time length is calculated as the temperature rise rate of the power management chip.
6. The charging control method according to claim 4, characterized in that: Determining the current distribution ratio of the plurality of power management chips according to the respective working efficiencies and respective temperature rise rates of the plurality of power management chips comprises: Determining a first allocation ratio of the plurality of power management chips according to the respective working efficiencies of the at least two power management chips; Determining a second allocation ratio of the plurality of power management chips according to the respective temperature rise rates of the at least two power management chips; The current allocation ratio is determined according to the first allocation ratio and the second allocation ratio.
7. The charging control method according to claim 6, characterized in that: The step of determining the current distribution ratio of the plurality of power management chips according to the respective working efficiencies of the plurality of power management chips comprises: For each of the power management chips, calculating an average value of a proportional coefficient corresponding to the power management chip in the first allocation ratio and an allocation coefficient corresponding to the power management chip in the second allocation ratio; The average value is used as a proportional coefficient of the power management chip in the charging current distribution ratio.
8. The charging control method according to claim 1, characterized in that: The allocating the total current to be allocated according to the current allocation ratio to determine the configuration current allocated to each of the power management chips includes: obtaining a temperature of the battery; determining the total current to be distributed according to the temperature of the battery; The determined total current to be distributed is distributed to each of the power management chips according to the current distribution ratio, so as to determine the configuration current distributed to each of the power management chips.
9. The charging control method according to claim 8, characterized in that: The step of determining the total current to be distributed according to the temperature of the battery includes: Searching for a first temperature range in which the temperature of the battery is located among a plurality of preset first temperature ranges; Based on the correspondence between the preset first temperature range and the total charging current, determining the total charging current corresponding to the first temperature range found; The step of distributing the determined total current to be distributed to each of the power management chips according to the current distribution ratio to determine the configuration current distributed to each of the power management chips includes: The determined total charging current is distributed to each of the power management chips according to the current distribution ratio to determine the charging current distributed to each of the power management chips.
10. The charging control method according to claim 8, characterized in that: The step of determining the total current to be distributed according to the temperature of the battery includes: Searching for a second temperature range in which the temperature of the battery is located among a plurality of preset second temperature ranges; Based on the correspondence between the preset second temperature range and the total input current, determining the total input current corresponding to the found second temperature range; The step of distributing the determined total current to be distributed to each of the power management chips according to the current distribution ratio to determine the configuration current distributed to each of the power management chips includes: The determined total input current is distributed to each of the power management chips according to the current distribution ratio to determine the input current distributed to each of the power management chips.
11. The charging control method according to claim 1, characterized in that: The controlling the power management chip to charge the battery according to the respective allocated charging currents comprises: Comparing the current distribution ratio with a plurality of preset current distribution correction ratios; wherein the current distribution correction ratio is set according to the ratio of the current regulation precisions of the plurality of power management chips; Determining the current distribution correction ratio that best matches the current distribution ratio; According to the current distribution correction ratio, the total current to be distributed is distributed to the multiple power management chips, and the actual value of the configuration current distributed to each power management chip is determined.
12. The charging control method according to claim 1, characterized in that: The power supply device is an adapter. Before the step of obtaining the working efficiency of each of the plurality of power management chips, the method further includes: detecting a type of adapter used to charge the electronic device; When the adapter type is a PD adapter or a QC adapter, and the charging voltage allowed by the electronic device is greater than or equal to the first charging voltage, an initial value of the total current to be distributed is set.
13. The charging control method according to claim 12, characterized in that: When the adapter type is a PD adapter or a QC adapter and the charging power allowed by the electronic device is greater than or equal to the first charging power, setting the initial value of the total current to be distributed according to the temperature of the battery includes: When the adapter type is a PD adapter or a QC adapter, and the charging voltage allowed by the electronic device is greater than or equal to the first charging voltage, obtaining the temperature of the battery; An initial value of the total current to be distributed is set according to the temperature of the battery.
14. The charging control method according to claim 1, characterized in that: The multiple power management chips include a first power management chip and a second power management chip; The first power management chip is a main power management chip on a mainboard of the electronic device; The second power management chip is a secondary power management chip on the mainboard, or an external power management chip external to the mainboard.
15. The charging control method according to claim 1, characterized in that: The multiple power management chips include a first power management chip, a second power management chip and a third power management chip; The first power management chip is a main power management chip on a mainboard of the electronic device; The second power management chip is a secondary power management chip on the mainboard; The third power management chip is an external power management chip externally mounted on the mainboard.
16. A charging control device, applied to an electronic device; the electronic device comprises a battery and a plurality of power management chips, the plurality of power management chips jointly receive a total input current from an adapter, and jointly output a total charging current to charge the battery; characterized in that: The charging control device comprises: A working efficiency acquisition unit, used to acquire the working efficiency of each of the plurality of power management chips, wherein the working efficiency is a ratio of the output power of the power management chip to the input power entering the power management chip; a current distribution ratio determining unit, configured to determine the current distribution ratio of the plurality of power management chips according to the respective working efficiencies of the plurality of power management chips; A configuration current unit, used to distribute the total current to be distributed according to the current distribution ratio to determine the configuration current allocated to each of the power management chips; wherein the total current to be distributed is at least one of the total input current and the total charging current, and the configuration current corresponds to at least one of the input current and the charging current; A control unit, used for controlling the plurality of power management chips to operate according to the configuration currents allocated to them; The multiple power management chips include other power management chips and a first power management chip with the highest current regulation accuracy; The allocating the total current to be allocated according to the current allocation ratio to determine the configuration current allocated to each of the power management chips includes: determining the calculated value of the configuration current allocated to each of the power management chips according to the current allocation ratio; obtaining the current regulation accuracy of each of the power management chips; determining the priority when allocating the configuration current in order of current regulation accuracy from low to high; determining the actual value of the configuration current allocated to the other power management chips and the first power management chip; wherein, for any of the other power management chips, the actual value of the configuration current is determined to be a value with the smallest difference from the calculated value of the configuration current allocated to the power management chip and is an integer multiple of the current regulation accuracy of the power management chip; for the first power management chip, the actual charging current is determined to be the difference between the total current to be allocated and the actual value of the configuration current allocated to the other power management chips.
17. An electronic device, characterized in that: include: A storage unit storing a charging control program; A processing unit, used to execute the steps of the charging control method according to any one of claims 1 to 15 when running the charging control program.
18. A computer storage medium, characterized in that The computer storage medium stores a charging control program, and when the charging control program is executed by at least one processor, the steps of the charging control method according to any one of claims 1 to 15 are implemented.
Citation Information
Patent Citations
Input current distribution method and device
CN105098882A
Charging method, charging device and electronic equipment
CN106856339A
Charging current control method, device and storage medium
CN108365657A