Charging control method and related device
By adjusting the switching frequency of the two charge pump chips in the terminal equipment, the problem of uneven output current during dual battery charging is solved and the uniformity of heat generation is achieved.
Patent Information
- Application Number
- CN202311190490.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-14
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2043-09-14
AI Technical Summary
During the charging process of the dual battery of the terminal device, the output current of the two charge pump chips is uneven, resulting in uneven heating.
By adjusting the switching frequency of the two charge pump chips, the difference between their output currents is smaller, thereby achieving uniform heating.
This effectively reduces the output current difference between the two charge pump chips and improves the heating uniformity of the terminal equipment.
Smart Images

Figure CN118473034B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a charging control method and related devices. Background Art
[0002] A charge pump chip is an inductorless DC-to-DC converter that uses capacitors as energy storage elements to convert voltage and current. The charge pump chip can be deployed in a terminal device and connected to the battery of the terminal device to provide charging voltage and charging current for the battery of the terminal device.
[0003] Currently, two charge pump chips can be deployed in terminal devices to meet the needs of charging dual batteries in the terminal devices. During the dual battery charging process, the terminal device generates uneven heat. Summary of the invention
[0004] The present application provides a charging control method and related devices, which are applied to the field of terminal technology. In the present application, during the dual-battery charging process, when the difference between the output currents of the two charge pump chips is large, the switching frequencies of the two charge pump chips can be flexibly adjusted so that the difference between the output currents of the two charge pump chips is smaller, which is beneficial to making the heat of the two charge pump chips more uniform, and further beneficial to uniform heating of the terminal device.
[0005] In a first aspect, the present application provides a charging control method, which is applied to a terminal device, wherein the terminal device includes a first charge pump chip, a second charge pump chip and a battery cell, wherein the battery cell includes a first positive terminal and a second positive terminal, the first positive terminal and the second positive terminal are connected, the first charge pump chip is connected to the first positive terminal of the battery cell, and the second charge pump chip is connected to the second positive terminal of the battery cell. The method includes: charging a battery cell through a first charge pump chip and a second charge pump chip; at a first moment, the current flowing through the first charge pump chip is a first current, and the current flowing through the second charge pump chip is a second current; the ratio between the first current and the second current does not belong to a first target range, the first current is greater than the second current, and the first current is greater than or equal to a first threshold current; at a second moment, adjusting the first switching frequency of the second charge pump chip to a second switching frequency, the second switching frequency is greater than the first switching frequency, and the second moment is later than the first moment; at a third moment, the current flowing through the first charge pump chip is a third current, and the current flowing through the second charge pump chip is a fourth current, the ratio between the third current and the fourth current does not belong to the first target range, the third current is less than the first current, the fourth current is greater than the second current, the third current is greater than the fourth current, and the third current is less than the first threshold current, and the third moment is later than the second moment; at a fourth moment, adjusting the third switching frequency of the first charge pump chip to a fourth switching frequency, the fourth switching frequency is less than the third switching frequency, and the fourth moment is later than the third moment.
[0006] The first charge pump chip and the second charge pump chip are different charge pump chips. In some implementations, the first charge pump chip can be called a primary side chip, and the second charge pump chip can be called a secondary side chip. In other implementations, the first charge pump chip can be called a secondary side chip, and the second charge pump chip can be called a primary side chip. The battery cell can be a bipolar ear battery or include two independent single-pole ear batteries. The battery cell includes a first positive terminal and a second positive terminal, the first positive terminal and the second positive terminal are connected, the first charge pump chip is connected to the first positive terminal of the battery cell, and the second charge pump chip is connected to the second positive terminal of the battery cell, which can indicate that the first charge pump chip is respectively connected to the first positive terminal and the second positive terminal of the battery cell, and the second charge pump chip is respectively connected to the first positive terminal and the second positive terminal of the battery cell.
[0007] At the first moment, the current flowing through the first charge pump chip is the first current, and the current flowing through the second charge pump chip is the second current, which can indicate that at the first moment, the terminal device is successfully connected to the charger, and when the charger charges the terminal device, the current flowing through the first charge pump chip is the first current, and the current flowing through the second charge pump chip is the second current. The current flowing through the first charge pump chip is the first current, which can also be described as the output current of the first charge pump chip being the first current. The current flowing through the second charge pump chip is the second current, which can also be described as the output current of the second charge pump chip being the second current. The embodiments of the present application do not limit this. If the first charge pump chip is called the primary side chip, the first current can also be described as the primary side current, and if the second charge pump chip is called the secondary side chip, the second current can also be described as the secondary side current.
[0008] At the first moment, the ratio between the first current and the second current does not belong to the first target range, which can indicate that the ratio between the first current and the second current is not within the expected range, and the first current and the second current need to be adjusted. The first current is greater than the second current, and the first current is greater than or equal to the first threshold current. At this time, the second charge pump chip can be adjusted preferentially, that is, at the second moment, the first switching frequency of the second charge pump chip is adjusted to a second switching frequency greater than the first switching frequency to increase the second current and reduce the first current, thereby reducing the gap between the first current and the second current. After the first switching frequency of the second charge pump chip is adjusted to be greater than the second switching frequency, the current flowing through the first charge pump chip is the third current, and the current flowing through the second charge pump chip is the fourth current. At the third moment, the ratio between the third current and the fourth current does not belong to the first target range, which can indicate that the ratio between the third current and the fourth current is still not within the expected range, and the first current and the second current need to be adjusted again. After the sum of the third current and the fourth current is equal to the sum of the first current and the second current, the fourth current is greater than the second current, and the third current is less than the first current. The third current is greater than the fourth current, and the third current is less than the first threshold current. At this time, the first charge pump chip can be adjusted preferentially, that is, at the fourth moment, the third switching frequency of the first charge pump chip is adjusted to a fourth switching frequency less than the third switching frequency to make the third current smaller and the fourth current larger, thereby reducing the gap between the third current and the fourth current. It should be noted that this application is only described by taking two charge pump chips as an example, and the solution of this application can also be applied to terminal devices with more than two charge pump chips.
[0009] In this way, when the ratio between the current flowing through the first charge pump chip and the current flowing through the second charge pump chip does not fall within the first target range, when the first current is greater than the second current and the first current is greater than or equal to the first threshold current, the second charge pump chip can be adjusted preferentially, and when the third current is greater than the fourth current and the third current is less than the first threshold current, the first charge pump chip can be adjusted preferentially. Flexible adjustment of the switching frequency of the two charge pump chips is beneficial to quickly evenly adjust the current flowing through the two charge pump chips, which in turn is beneficial to making the terminal device heat evenly.
[0010] In a possible implementation, the method also includes: at a fifth moment, the current flowing through the first charge pump chip is a fifth current, the current flowing through the second charge pump chip is a sixth current, the ratio between the fifth current and the sixth current does not belong to the first target range, the fifth current is less than the first current, the sixth current is greater than the second current, the fifth current is greater than the sixth current, and the fifth current is greater than the first threshold current, and the fifth moment is later than the second moment; at a sixth moment, the fifth switching frequency of the second charge pump chip is adjusted to the sixth switching frequency, the sixth switching frequency is greater than the fifth switching frequency, and the sixth switching frequency is greater than or equal to the first frequency threshold, and the sixth moment is later than the fifth moment; at a seventh moment, the current flowing through the first charge pump chip is the seventh current, the current flowing through the second charge pump chip is the eighth current, the seventh current is less than the fifth current, the eighth current is greater than the sixth current, the ratio between the seventh current and the eighth current does not belong to the first target range, the seventh current is greater than the eighth current, and the seventh moment is later than the sixth moment; at an eighth moment, the seventh switching frequency of the first charge pump chip is adjusted to the eighth switching frequency, the eighth switching frequency is less than the seventh switching frequency, and the eighth moment is later than the seventh moment.
[0011] If the switching frequency of the second charge pump chip is adjusted first, when it is adjusted to be greater than or equal to the first frequency threshold, the ratio between the currents flowing through the two charge pump chips still does not fall within the first target range, and the terminal device can adjust the switching frequency of the first charge pump chip so that the ratio between the currents flowing through the two charge pump chips falls within the first target range. In this way, by adjusting the switching frequencies of the two charge pump chips so that the ratio between the currents flowing through the two charge pump chips falls within the first target range, it is beneficial to increase the probability of making the ratio between the currents flowing through the two charge pump chips fall within the first target range compared to adjusting the switching frequency of only one charge pump chip.
[0012] In a possible implementation, the method further includes: at a ninth moment, the current flowing through the first charge pump chip is a ninth current, and the current flowing through the second charge pump chip is a tenth current; the ratio between the ninth current and the tenth current does not belong to the first target range, the ninth current is less than the tenth current, and the tenth current is greater than or equal to the second threshold current, and the ninth moment is later than the fourth moment; at a tenth moment, the ninth switching frequency of the first charge pump chip is adjusted to the tenth switching frequency, the tenth switching frequency is greater than the ninth switching frequency, and the tenth moment is later than the ninth moment; at an eleventh moment, the current flowing through the first charge pump chip is the eleventh current, and the current flowing through the second charge pump chip is the twelfth current, the ratio between the eleventh current and the twelfth current does not belong to the first target range, the eleventh current is less than the twelfth current, the twelfth current is less than the tenth current, the eleventh current is greater than the ninth current, and the twelfth current is less than the second threshold current, and the eleventh moment is later than the tenth moment; at a twelfth moment, the eleventh switching frequency of the second charge pump chip is adjusted to the twelfth switching frequency, the twelfth switching frequency is less than the eleventh switching frequency, and the twelfth moment is later than the eleventh moment.
[0013] In this way, when the ratio between the current flowing through the first charge pump chip and the current flowing through the second charge pump chip does not fall within the first target range, when the ninth current is less than the tenth current and the tenth current is greater than or equal to the second threshold current, the first charge pump chip can be adjusted preferentially; when the ninth current is less than the tenth current and the tenth current is less than the second threshold current, the second charge pump chip can be adjusted preferentially. Flexible adjustment of the switching frequency of the two charge pump chips is beneficial to quickly evenly adjust the current flowing through the two charge pump chips, which in turn helps to make the terminal device heat evenly.
[0014] In a possible implementation, the method further includes: at the thirteenth moment, the current flowing through the first charge pump chip is the thirteenth current, the current flowing through the second charge pump chip is the fourteenth current, the ratio between the thirteenth current and the fourteenth current does not belong to the first target range, the thirteenth current is greater than the ninth current, the fourteenth current is less than the tenth current, the thirteenth current is less than the fourteenth current, and the fourteenth current is greater than the second threshold current, and the thirteenth moment is later than the tenth moment; at the fourteenth moment, the thirteenth switching frequency of the first charge pump chip is adjusted to the fourteenth switching frequency, the fourteenth switching frequency is greater than the thirteenth switching frequency, and the fourteenth switching frequency is greater than the second threshold current. is greater than or equal to the second frequency threshold, the fourteenth moment is later than the thirteenth moment; at the fifteenth moment, the current flowing through the first charge pump chip is the fifteenth current, the current flowing through the second charge pump chip is the sixteenth current, the fifteenth current is greater than the thirteenth current, the sixteenth current is less than the fourteenth current, the ratio between the fifteenth current and the sixteenth current does not belong to the first target range, the sixteenth current is greater than the fifteenth current, and the fifteenth moment is later than the fourteenth moment; at the sixteenth moment, the fifteenth switching frequency of the second charge pump chip is adjusted to the sixteenth switching frequency, the sixteenth switching frequency is less than the fifteenth switching frequency, and the sixteenth moment is later than the fifteenth moment.
[0015] If the switching frequency of the first charge pump chip is adjusted first, when it is adjusted to be greater than or equal to the second frequency threshold, the ratio between the currents flowing through the two charge pump chips still does not fall within the first target range, and the terminal device can adjust the switching frequency of the second charge pump chip so that the ratio between the currents flowing through the two charge pump chips falls within the first target range. In this way, by adjusting the switching frequencies of the two charge pump chips so that the ratio between the currents flowing through the two charge pump chips falls within the first target range, it is beneficial to increase the probability of making the ratio between the currents flowing through the two charge pump chips fall within the first target range compared to adjusting the switching frequency of only one charge pump chip.
[0016] In a possible implementation, the terminal device further includes a first resistor and a second resistor, the first charge pump chip includes the first resistor, and the second charge pump chip includes the second resistor; the current flowing through the first charge pump chip is the current flowing through the first resistor, and the current flowing through the second charge pump chip is the current flowing through the second resistor. In this way, the current flowing through the charge pump chip is obtained through the internal sampling resistor, and no additional resistor is required, which is conducive to cost saving.
[0017] In a possible implementation, the terminal device further includes a third resistor and a fourth resistor, the first charge pump chip is connected to the first positive terminal of the battery cell through the third resistor, and the second charge pump chip is connected to the second positive terminal of the battery cell through the fourth resistor; the current flowing through the first charge pump chip is the current flowing through the third resistor, and the current flowing through the second charge pump chip is the current flowing through the fourth resistor. In this way, the current flowing through the charge pump chip is obtained through the external sampling resistor, and there is no need to improve the charge pump chip, which is simple to implement.
[0018] In one possible implementation, the current flowing through the first charge pump chip is collected by the first charge pump chip, and the current flowing through the second charge pump chip is collected by the second charge pump chip; or, the current flowing through the first charge pump chip and the current flowing through the second charge pump chip are both collected by a sampling module of the terminal device.
[0019] The current flowing through the first charge pump chip is collected by the first charge pump chip, and the current flowing through the second charge pump chip is collected by the second charge pump chip. In this way, the first charge pump chip and the second charge pump chip each collect their own currents and obtain the currents using their own sampling capabilities, which is simple to implement and highly feasible.
[0020] The current flowing through the first charge pump chip and the current flowing through the second charge pump chip are both collected by the sampling module of the terminal device. In this way, the current flowing through the first charge pump chip and the current flowing through the second charge pump chip are obtained by using the sampling module of the terminal device, and the first charge pump chip and the second charge pump chip do not need to have sampling capabilities, which is conducive to reducing the cost of the charge pump chip.
[0021] In one possible implementation, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device.
[0022] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, in some implementations, the first charge pump chip can obtain the current flowing through the second charge pump chip from the second charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip; in other implementations, the first charge pump chip can obtain the current flowing through the first charge pump chip and the current flowing through the second charge pump chip from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip.
[0023] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, in some implementations, the second charge pump chip can obtain the current flowing through the first charge pump chip from the first charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip; in other implementations, the second charge pump chip can obtain the current flowing through the first charge pump chip and the current flowing through the second charge pump chip from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip.
[0024] In this way, the first charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, or the second charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, without relying on other chips to adjust the switching frequency, which is beneficial to saving information transmission with other chips.
[0025] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device, in some implementations, the processor of the terminal device can obtain the current flowing through the first charge pump chip from the first charge pump chip, and obtain the current flowing through the second charge pump chip from the second charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip; in other implementations, the processor of the terminal device can obtain the current flowing through the first charge pump chip and the current flowing through the second charge pump chip from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip.
[0026] In this way, the processor of the terminal device controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, and the charge pump chip does not need to have the control and adjustment capability, which is beneficial to reducing the cost of the charge pump chip.
[0027] In a second aspect, the present application provides a charging control method, which is applied to a terminal device, wherein the terminal device includes a first charge pump chip, a second charge pump chip, a battery cell and a fifth resistor, wherein the battery cell includes a first positive terminal and a second positive terminal, a fifth resistor is connected between the first positive terminal and the second positive terminal, the first charge pump chip is connected to the first positive terminal of the battery cell, and the second charge pump chip is connected to the second positive terminal of the battery cell; the method also includes: at the seventeenth moment, the voltage value across the fifth resistor does not fall within the second target range, and the voltage of one end of the fifth resistor connected to the first charge pump chip is greater than the voltage of one end of the fifth resistor connected to the second charge pump chip, the seventeenth switching frequency of the second charge pump chip is adjusted to the eighteenth switching frequency, and the eighteenth switching frequency is greater than the seventeenth switching frequency; at the eighteenth moment, the voltage value across the fifth resistor does not fall within the second target range, and the voltage of one end of the fifth resistor connected to the first charge pump chip is greater than the voltage of one end of the fifth resistor connected to the second charge pump chip, the switching frequency of the second charge pump chip is greater than or equal to the second frequency threshold, the nineteenth switching frequency of the first charge pump chip is adjusted to the twentieth switching frequency, the twentieth switching frequency is less than the nineteenth switching frequency, and the eighteenth moment is later than the seventeenth moment.
[0028] The voltage value across the fifth resistor does not fall within the second target range, and the voltage at one end of the fifth resistor connected to the first charge pump chip is greater than the voltage at one end of the fifth resistor connected to the second charge pump chip, the switching frequency of the second charge pump chip is preferentially adjusted to make the voltage value across the fifth resistor fall within the second target range, and when the switching frequency of the second charge pump chip is greater than or equal to the second frequency threshold, the switching frequency of the first charge pump chip is adjusted to make the voltage value across the fifth resistor fall within the second target range. In this way, by adjusting the switching frequencies of the two charge pump chips to make the voltage value across the fifth resistor fall within the second target range, compared with adjusting the switching frequency of only one charge pump chip, it is beneficial to increase the probability of making the voltage value across the fifth resistor fall within the second target range.
[0029] In one possible implementation, the voltage value across the fifth resistor is collected by the first charge pump chip, or the voltage value across the fifth resistor is collected by the second charge pump chip, or the voltage value across the fifth resistor is collected by a sampling module of the terminal device.
[0030] The voltage value across the fifth resistor is collected by the first charge pump chip, or the voltage value across the fifth resistor is collected by the second charge pump chip. In this way, the first charge pump chip or the second charge pump chip collects the voltage value across the fifth resistor and obtains the current by using its own sampling capability, which is simple to implement and highly feasible.
[0031] The voltage value across the fifth resistor is collected by the sampling module of the terminal device. In this way, the voltage value across the fifth resistor is obtained by the sampling module of the terminal device, and the first charge pump chip or the second charge pump chip does not need to have sampling capability, which is conducive to reducing the cost of the charge pump chip.
[0032] In one possible implementation, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device.
[0033] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, in some implementations, the second charge pump chip can obtain the voltage value across the fifth resistor from the first charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor; in other implementations, the second charge pump chip can obtain the voltage value across the fifth resistor from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor.
[0034] In this way, the first charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, or the second charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, without relying on other chips to adjust the switching frequency, which is beneficial to saving information transmission with other chips.
[0035] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device, in some implementations, the processor of the terminal device can obtain the voltage value across the fifth resistor from the first charge pump chip or the second charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor; in other implementations, the processor of the terminal device can obtain the voltage value across the fifth resistor from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor.
[0036] In this way, the processor of the terminal device controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, and the charge pump chip does not need to have the control and adjustment capability, which is beneficial to reducing the cost of the charge pump chip.
[0037] In a third aspect, the present application provides a terminal device, comprising: a first charge pump chip, a second charge pump chip and a battery cell, the battery cell comprising a first positive terminal and a second positive terminal, the first positive terminal and the second positive terminal are connected, the first charge pump chip is connected to the first positive terminal of the battery cell, the second charge pump chip is connected to the second positive terminal of the battery cell, the first charge pump chip is used to execute the method described in any possible implementation of the first aspect above, or the second charge pump chip is used to execute the method described in any possible implementation of the first aspect above, or the processor of the terminal device is used to execute the method described in any possible implementation of the first aspect above.
[0038] In one possible implementation, the terminal device also includes a first resistor and a second resistor, the first charge pump chip includes the first resistor, the second charge pump chip includes the second resistor, the first charge pump chip is used to execute the method described in any possible implementation of the first aspect above, or the second charge pump chip is used to execute the method described in any possible implementation of the first aspect above, or the processor of the terminal device is used to execute the method described in any possible implementation of the first aspect above.
[0039] In one possible implementation, the terminal device also includes a third resistor and a fourth resistor, the first charge pump chip is connected to the first positive terminal of the battery cell through the third resistor, and the second charge pump chip is connected to the second positive terminal of the battery cell through the fourth resistor, and the first charge pump chip is used to execute the method described in any possible implementation of the first aspect above, or the second charge pump chip is used to execute the method described in any possible implementation of the first aspect above, or the processor of the terminal device is used to execute the method described in any possible implementation of the first aspect above.
[0040] In a fourth aspect, the present application provides a terminal device, comprising: a first charge pump chip, a second charge pump chip, a battery cell and a fifth resistor, the battery cell comprising a first positive terminal and a second positive terminal, a fifth resistor being connected between the first positive terminal and the second positive terminal, the first charge pump chip being connected to the first positive terminal of the battery cell, and the second charge pump chip being connected to the second positive terminal of the battery cell; the first charge pump chip is used to execute the method described in any possible implementation of the second aspect above, or the second charge pump chip is used to execute the method described in any possible implementation of the second aspect above, or the processor of the terminal device is used to execute the method described in any possible implementation of the second aspect above.
[0041] In a fifth aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
[0042] The terminal device is used to execute the method described in any possible implementation manner of the above aspects.
[0043] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method executed by the first charge pump chip in the above-mentioned various aspects is implemented, or the method executed by the second charge pump chip in the above-mentioned various aspects is implemented, or the method executed by the processor of the terminal device in the above-mentioned various aspects is implemented.
[0044] In the seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run, it enables the computer to execute the method executed by the first charge pump chip in the above-mentioned various aspects, or execute the method executed by the second charge pump chip in the above-mentioned various aspects, or execute the method executed by the processor of the terminal device in the above-mentioned various aspects.
[0045] It should be understood that the third to seventh aspects of the present application correspond to the technical solutions of the first or second aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a schematic diagram of charging a terminal device;
[0047] Figure 2 It is a schematic diagram of another terminal device charging;
[0048] Figure 3 It is another schematic diagram of charging of terminal equipment;
[0049] Figure 4 is a schematic flow chart of a charging control method provided in an embodiment of the present application;
[0050] Figure 5 is a schematic diagram of charging a terminal device provided in an embodiment of the present application;
[0051] Figure 6 is a schematic diagram of another terminal device charging provided in an embodiment of the present application;
[0052] Figure 7 is a schematic diagram of another terminal device charging provided in an embodiment of the present application;
[0053] Figure 8 is a schematic diagram of another terminal device charging provided in an embodiment of the present application;
[0054] Fig. 9 is a schematic flow chart of another charging control method provided in an embodiment of the present application;
[0055] Fig.10 is a schematic diagram of another terminal device charging provided in an embodiment of the present application;
[0056] Fig.11 is a schematic diagram of another terminal device charging provided in an embodiment of the present application;
[0057] Fig.12 It is a schematic flow chart of another charging control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] Before describing the technical solution of the embodiment of the present application, the following description is first made:
[0059] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first current and the second current are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0060] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0061] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0062] It should be noted that the “at…” in the embodiments of the present application may be the instant when a certain situation occurs, or may be a period of time before or after the occurrence of a certain situation, and the embodiments of the present application do not specifically limit this.
[0063] Currently, two charge pump chips can be deployed in terminal devices to meet the needs of charging dual batteries in the terminal devices. During the dual battery charging process, the terminal device generates uneven heat.
[0064] In some charging scenarios, the terminal device heats up unevenly because the output currents of the two charge pump chips are different, which causes the two charge pump chips to heat up unevenly, and then causes the terminal device to heat up unevenly. Among them, the charge pump chip can also be called a charge pump charging chip.
[0065] In one example, Figure 1 A schematic diagram of charging a terminal device is shown. Figure 1 As shown, the terminal device includes two charge pump charging chips and two batteries, the two charge pump charging chips are charge pump charging chip 1 and charge pump charging chip 2, and the two batteries are a main battery and a secondary battery. In some implementations, the main battery and the secondary battery can be two parts of a battery. For example, the terminal device supports folding up and down, the batteries are distributed in the upper and lower parts of the foldable device, the battery in the upper part can be the main battery, and the battery in the lower part can be the secondary battery, or the battery in the upper part can be the secondary battery, and the battery in the lower part can be the main battery. For another example, the terminal device supports folding left and right, the batteries are distributed in the left and right parts of the foldable device, the battery in the left part can be the main battery, and the battery in the right part can be the secondary battery, or the battery in the left part can be the secondary battery, and the battery in the right part can be the main battery. The charge pump charging chip 1 is connected to the main battery to provide a charging voltage and a charging current to the main battery. The charge pump charging chip 2 is connected to the secondary battery to provide a charging voltage and a charging current to the secondary battery. The charger is connected to the charge pump charging chip 1 and the charge pump charging chip 2 in the terminal device respectively, and the charge pump charging chip 1 and the charge pump charging chip 2 can be used to charge the main battery and the secondary battery. The charger can convert the AC power of the power source into a DC charging voltage, which is generally 5V, 9V or 12V, etc. The charge pump charging chip 1 can convert the DC charging voltage into the charging voltage of the main battery, and the output current of the charge pump charging chip 1 is the charging current of the main battery. The charge pump charging chip 2 can convert the DC charging voltage into the charging voltage of the auxiliary battery, and the output current of the charge pump charging chip 2 is the charging current of the auxiliary battery.
[0066] When the battery capacities of the main battery and the secondary battery are different, if the batteries of different capacities are to be fully charged within the same period of time, the charging current of the main battery is required to be different from the charging current of the secondary battery, so the output current of the charge pump charging chip 1 is different from the output current of the charge pump charging chip 2. For example, the battery capacity of the main battery is 3000 milliampere hours (mA·h), and the battery capacity of the secondary battery is 1000 milliampere hours (mA·h). If the main battery and the secondary battery are required to be fully charged within one hour, the charging current of the main battery is 3000 milliamperes (mA), and the charging current of the secondary battery is 1000mA. Therefore, the output current of the charge pump charging chip 1 is 3000mA, and the output current of the charge pump charging chip 2 is 1000mA.
[0067] The different battery capacities of the main battery and the auxiliary battery will cause the output current of the charge pump charging chip 1 to be different from the output current of the charge pump charging chip 2, causing uneven heating of the two charge pump charging chips, and then causing uneven heating of the terminal device, affecting the overall temperature rise distribution of the terminal device.
[0068] In another example, Figure 2 Another schematic diagram of charging a terminal device is shown. Figure 2 As shown, the terminal device includes two charge pump charging chips and a battery, the two charge pump charging chips are charge pump charging chip 1 and charge pump charging chip 2, and the battery can be a bipolar ear battery or a three-level ear or above battery, which is not limited in the embodiment of the present application. The impedance of each positive ear to the negative ear in the bipolar ear battery or the three-level ear or above battery is inconsistent. Figure 2 Take the battery as a bipolar ear battery as an example for explanation. The charge pump charging chip 1 and the charge pump charging chip 2 are respectively connected to the battery to provide charging voltage and charging current for the battery. The charger is respectively connected to the charge pump charging chip 1 and the charge pump charging chip 2 in the terminal device, and the battery can be charged through the charge pump charging chip 1 and the charge pump charging chip 2. The charger can convert the AC power of the power supply into a DC charging voltage, and the charging voltage is generally 5V, 9V or 12V, etc. The charge pump charging chip 1 and the charge pump charging chip 2 can respectively convert the DC charging voltage into the charging voltage of the battery, and the output current of the charge pump charging chip 1 and the charge pump charging chip 2 is the charging current of the battery.
[0069] The bipolar battery has two inputs (i.e., two positive tabs) and one output (i.e., one negative tab), resulting in two impedances inside the battery. The two impedances are: the impedance formed between one of the two inputs and the output, and the impedance formed between the other of the two inputs and the output. When the two impedances are different and the charging voltage is the same, there are two currents inside the battery. The current with a small impedance is large, and the current with a large impedance is small. If the charge pump charging chip 1 is connected to one of the two impedances, and the charge pump charging chip 2 is connected to the other of the two impedances, the output currents of the charge pump charging chip 1 and the charge pump charging chip 2 are different.
[0070] The different impedances inside the battery will cause the output current of charge pump charging chip 1 to be different from the output current of charge pump charging chip 2, causing uneven heating of the two charge pump charging chips, and further causing uneven heating of the terminal device, affecting the overall temperature rise distribution of the terminal device.
[0071] In other charging scenarios, the terminal device heats up unevenly because two charge pump chips are deployed at different locations of the terminal device, and other heat-generating components are deployed near the deployment location of one of the charge pump chips. When the output currents of the two charge pump chips are the same, the heat at the location of the charge pump chip with other heat-generating components deployed nearby will be greater than the heat at the location of the other charge pump chip, which in turn causes uneven heating of the terminal device. Among them, the charge pump chip can also be called a charge pump charging chip.
[0072] For example, Figure 3 A schematic diagram of charging a terminal device is shown. Figure 3 As shown, the terminal device includes a main board, a small board, a main battery and a secondary battery. The main board is equipped with a central processing unit (CPU) and a charge pump charging chip 1, and the small board is equipped with a charge pump charging chip 2. The output voltage of the charge pump charging chip 1 is the charging voltage of the main battery, and the output current is the charging current of the main battery. The output voltage of the charge pump charging chip 2 is the charging voltage of the secondary battery, and the output current is the charging current of the secondary battery. Compared with the main board, the small board is farther away from the charging port, resulting in a large path impedance between the charge pump charging chip 2 and the charging port, that is, Figure 3 The sum of resistors 1 and 2 shown in the figure, because the path impedance is connected in series with the charging port, the path impedance will divide the voltage, resulting in a smaller charging voltage of the secondary battery. Therefore, when the capacity of the main battery and the secondary battery is the same, the output current of the charge pump charging chip 2 is smaller than the output current of the charge pump charging chip 1. At the same time, since the mainboard includes a CPU in addition to the charge pump charging chip 1, the CPU will also generate heat when working, which will cause the heat of the mainboard to be greater than the heat of the small board, thereby causing uneven heating of the terminal device.
[0073] In view of this, the embodiment of the present application provides a charging control method and related devices. In the process of dual-battery charging, when the difference between the output currents of the two charge pump chips is large, the switching frequencies of the two charge pump chips can be flexibly adjusted so that the difference between the output currents of the two charge pump chips is small, which is conducive to making the heating of the two charge pump chips more uniform, and further conducive to the uniform heating of the terminal device. Alternatively, in the process of dual-battery charging, when the difference between the output currents of the two charge pump chips is small, the switching frequencies of the two charge pump chips can be flexibly adjusted so that the difference between the output currents of the two charge pump chips is large, which is conducive to making the heating of the two charge pump chips more uniform, and further conducive to the uniform heating of the terminal device.
[0074] The charging control method provided in the embodiment of the present application can be applied to a terminal device that deploys multiple charge pump charging chips. The charge pump charging chip involved in the embodiment of the present application can be any charge pump chip such as 4:1, 4:2, 2:1, 6:2, etc. The battery involved in the embodiment of the present application can be a bipolar ear battery such as the above Figure 2 The battery shown may also be two or more independent batteries such as the above Figure 1 The battery shown is not limited to this embodiment of the present application.
[0075] The embodiment of the present application is described by deploying two charge pump charging chips and two batteries in the terminal device. For the convenience of description, the two charge pump charging chips deployed in the terminal device can be called two SC chips, one of the two SC chips can be called the primary side SC, and the other SC chip can be called the secondary side SC. The name of the chip is only an example, and the embodiment of the present application does not limit this. The two batteries can be called the primary battery and the secondary battery. The name of the battery is only an example, and the embodiment of the present application does not limit this. The embodiment of the present application first introduces a solution for reducing the difference between the output currents of the two charge pump chips.
[0076] Figure 4 A schematic flow chart of a charging control method provided in an embodiment of the present application is shown. The method can be applied to the above Figure 1 or Figure 2 The scenario shown in FIG. 1 is not limited to this embodiment of the present application. Figure 4 As shown, the method may include the following steps:
[0077] S401 . In a dual-chip working mode, a preset switching frequency range of the primary side SC and a preset switching frequency range of the secondary side SC are obtained.
[0078] The dual-chip working mode is used to indicate that both SC chips are working. If both SC chips are working, the terminal device can detect that it is in the dual-chip working mode. Among them, both SC chips are working can be understood as both SC chips are powered on.
[0079] When the SC chip is in use, the minimum switching frequency and maximum switching frequency of the SC chip are generally limited, and the minimum switching frequency and the maximum switching frequency can constitute the switching frequency range of the SC. Before the terminal device leaves the factory, the switching frequency range of the primary side SC and the switching frequency range of the secondary side SC are generally configured, so the switching frequency range of the primary side SC and the switching frequency range of the secondary side SC are both preset.
[0080] In the dual-chip working mode, it can be indicated that the terminal device is in a charging state, and the terminal device can obtain the preset switching frequency range of the primary side SC and the preset switching frequency range of the secondary side SC to facilitate subsequent adjustment of the switching frequency within this range.
[0081] S402, collecting the primary side current and the secondary side current.
[0082] The primary side current is used to represent the output current of the primary side SC, or the current flowing through the primary side SC, and the secondary side current is used to represent the output current of the secondary side SC, or the current flowing through the secondary side SC.
[0083] In the dual-chip working mode, the terminal device can collect the primary side current and the secondary side current to facilitate subsequent determination of whether there is a bias current.
[0084] It should be noted that S401 and S402 may be executed simultaneously or sequentially, and the embodiment of the present application does not limit the execution order of S401 and S402.
[0085] S403: Determine the ratio between the primary-side current and the secondary-side current as the bias current ratio.
[0086] The bias current ratio may be the ratio of the primary current to the secondary current, or the ratio of the secondary current to the primary current, which is not limited in the embodiments of the present application. If the primary current and the secondary current are the same, the bias current ratio is 1, if the primary current and the secondary current are different, the bias current ratio is greater than 0 and less than 1, or the bias current ratio is greater than 1.
[0087] S404: Determine whether the bias current ratio satisfies range a.
[0088] The range a is preset, and the range a is used to indicate an acceptable bias flow ratio. For example, the range a may be 0.9 to 1.1, or the range a may be 0.85 to 1.15.
[0089] If the bias current ratio satisfies the range a, it can be said that the bias current between the primary side current and the secondary side current is small and acceptable, and the terminal device can continue to execute the above S402 to determine in real time whether there is a bias current. Optionally, if the bias current ratio satisfies the range a, the terminal device can continue to execute the above S402 after a period of time to reduce the number of cycles and save computing power.
[0090] If the bias current ratio does not satisfy range a, it may indicate that the bias current between the primary side current and the secondary side current is too large to be acceptable, and the terminal device may execute S405.
[0091] S405: If the bias current ratio does not satisfy range a, determine whether the primary side current is higher than the secondary side current.
[0092] There are many possible implementations for the terminal device to determine whether the primary-side current is higher than the secondary-side current.
[0093] In a possible implementation, the terminal device determines whether the primary side current is higher than the secondary side current based on the primary side current and the secondary side current collected in S402. If the primary side current is greater than or equal to the secondary side current, it means that the primary side current is higher than the secondary side current; if the primary side current is less than the secondary side current, it means that the primary side current is not higher than the secondary side current. This is simple and direct.
[0094] In another possible implementation, the terminal device determines whether the primary-side current is higher than the secondary-side current based on the bias current ratio obtained in S403.
[0095] In the case where the bias current ratio is the ratio of the primary current to the secondary current, if the bias current ratio is greater than 1, it means that the primary current is higher than the secondary current; if the bias current ratio is less than 1, it means that the primary current is not higher than the secondary current. In the case where the bias current ratio is the ratio of the secondary current to the primary current, if the bias current ratio is less than 1, it means that the primary current is higher than the secondary current; if the bias current ratio is greater than 1, it means that the primary current is not higher than the secondary current. In this way, it is not directly based on the current judgment, but indirectly based on the bias current ratio to judge whether the primary current is higher than the secondary current, which is conducive to improving the accuracy of the judgment.
[0096] If the primary side current is higher than the secondary side current, the terminal device can determine whether the primary side current is higher than the threshold current A, that is, execute S406. If the primary side current is not higher than the secondary side current, the terminal device can determine whether the secondary side current is higher than the primary side current, that is, execute S411.
[0097] S406: If the primary-side current is higher than the secondary-side current, determine whether the primary-side current is higher than the threshold current A.
[0098] The threshold current A is preset. If the primary side current is higher than the threshold current A, it can be said that the difference between the primary side current and the secondary side current is large, and the terminal device will give priority to adjusting the secondary side current, that is, give priority to adjusting the SC chip with small current, and the terminal device can execute S407. If the primary side current is not higher than the threshold current A, it can be said that although the primary side current is larger than the secondary side current, the difference is not particularly large, then the terminal device can give priority to adjusting the primary side current, and the terminal device can execute S409. It should be noted that the sum of the adjusted primary side current and the secondary side current is equal to the sum of the primary side current and the secondary side current before adjustment. For example, if the primary side current is increased, the secondary side current is reduced accordingly; if the primary side current is reduced, the secondary side current is increased accordingly. In this way, the sum of the adjusted primary side current and the secondary side current is equal to the sum of the primary side current and the secondary side current before adjustment, which is beneficial to reduce the impact on battery charging.
[0099] S407 , if the primary side current is higher than the threshold current A, the switching frequency of the secondary side SC is increased to increase the secondary side current.
[0100] If the primary side current is higher than the threshold current A, it means that the difference between the primary side current and the secondary side current is large, then the terminal device will give priority to adjusting the secondary side current. The terminal device can increase the switching frequency of the secondary side SC to increase the secondary side current so that the bias current ratio can meet the range a.
[0101] Exemplarily, if the primary side current is higher than the threshold current A, the terminal device can increase the switching frequency of the secondary side SC according to a certain step size, and execute the above S402 to S404 again. If the bias current ratio still does not satisfy range a, the primary side current is higher than the secondary side current, and the primary side current is higher than the threshold current A, the terminal device can continue to increase the switching frequency of the secondary side SC according to a certain step size until the bias current ratio satisfies range a, or until the switching frequency of the secondary side SC is greater than the maximum switching frequency of the secondary side SC preset in S401.
[0102] S408 . After the switching frequency of the secondary side SC is increased, it may be determined whether the increased switching frequency of the secondary side SC is greater than the maximum switching frequency of the secondary side SC preset in S401 .
[0103] If the increased switching frequency of the secondary side SC is less than or equal to the preset maximum switching frequency of the secondary side SC, it can be said that the switching frequency of the secondary side SC can be increased, and the terminal device can continue to execute the above S402 to S404. If the increased switching frequency of the secondary side SC is greater than the preset maximum switching frequency of the secondary side SC, it can be said that the switching frequency of the secondary side SC cannot be increased, and the switching frequency of the primary side SC can be reduced, that is, S409 is executed.
[0104] S409 , if the primary side current is not higher than the threshold current A, or the increased switching frequency of the secondary side SC is greater than the maximum switching frequency of the secondary side SC preset in S401 , then reduce the switching frequency of the primary side SC to reduce the primary side current.
[0105] If the primary side current is not higher than the threshold current A, it can be said that although the primary side current is larger than the secondary side current, the difference is not particularly large, and the terminal device can give priority to adjusting the primary side current, that is, reducing the switching frequency of the primary side SC to reduce the primary side current, so that the bias current ratio can meet the range a. If the increased switching frequency of the secondary side SC is greater than the preset maximum switching frequency of the secondary side SC, it can be said that the switching frequency of the secondary side SC cannot be increased, and the switching frequency of the primary side SC can be reduced so that the bias current ratio can meet the range a.
[0106] Exemplarily, if the primary side current is not higher than the threshold current A, the terminal device can reduce the switching frequency of the primary side SC according to a certain step size, and execute the above S402 to S404 again. If the bias current ratio still does not satisfy range a, the primary side current is higher than the secondary side current, and the primary side current is not higher than the threshold current A, the terminal device can continue to reduce the switching frequency of the primary side SC according to a certain step size until the bias current ratio satisfies range a, or until the switching frequency of the primary side SC is less than the minimum switching frequency of the primary side SC preset in S401.
[0107] S410 , after increasing or decreasing the switching frequency of the main SC, it may be determined whether the reduced switching frequency of the main SC is greater than the minimum switching frequency of the main SC preset in S401 .
[0108] If the switching frequency of the primary side SC after the reduction is greater than or equal to the minimum switching frequency of the primary side SC preset in S401, it can be said that the switching frequency of the primary side SC can be reduced, and the terminal device can continue to execute the above S402 to S404. If the switching frequency of the primary side SC after the reduction is less than the minimum switching frequency of the primary side SC preset in S401, it can be said that the switching frequency of the primary side SC cannot be reduced, and the switching frequency of the secondary side SC can be increased, that is, S407 is executed.
[0109] It can be understood that, in the most extreme case, the primary side SC can be reduced to a preset minimum switching frequency of the primary side SC, and the secondary side SC can be increased to a preset maximum switching frequency of the secondary side SC, so as to make the bias current ratio meet range a.
[0110] S411. If the primary side current is not higher than the secondary side current, determine whether the secondary side current is higher than the primary side current.
[0111] If the secondary current is higher than the primary current, the terminal device can determine whether the secondary current is higher than the threshold current B, that is, execute S412. If the primary current is not higher than the secondary current, and the secondary current is not higher than the primary current, the terminal device can continue to execute the above S402. Optionally, if the primary current is not higher than the secondary current, and the secondary current is not higher than the primary current, the terminal device can continue to execute the above S402 after a period of time to reduce the number of cycles and save computing power.
[0112] S412: If the secondary side current is higher than the primary side current, determine whether the secondary side current is higher than the threshold current B.
[0113] The threshold current B is preset. If the secondary current is higher than the threshold current B, it means that the difference between the secondary current and the primary current is large, and the terminal device will give priority to adjusting the primary current, that is, give priority to adjusting the SC chip with small current, and the terminal device can execute S413. If the secondary current is not higher than the threshold current B, it means that although the secondary current is larger than the primary current, the difference is not particularly large, and the terminal device can give priority to adjusting the secondary current, and the terminal device can execute S415.
[0114] S413 , if the secondary side current is higher than the threshold current B, the switching frequency of the primary side SC is increased to increase the primary side current.
[0115] If the secondary side current is higher than the threshold current B, it means that the difference between the secondary side current and the primary side current is large, then the terminal device will give priority to adjusting the primary side current. The terminal device can increase the switching frequency of the primary side SC to increase the primary side current so that the bias current ratio can meet the range a.
[0116] Exemplarily, if the secondary side current is higher than the threshold current B, the terminal device can increase the switching frequency of the primary side SC according to a certain step size, and execute the above S402 to S404 again. If the bias current ratio still does not satisfy range a, the secondary side current is higher than the primary side current, and the secondary side current is higher than the threshold current B, the terminal device can continue to increase the switching frequency of the primary side SC according to a certain step size until the bias current ratio satisfies range a, or until the switching frequency of the primary side SC is greater than the preset maximum switching frequency of the primary side SC.
[0117] S414: After the switching frequency of the primary side SC is increased, it may be determined whether the increased switching frequency of the primary side SC is greater than the maximum switching frequency of the primary side SC preset in S401.
[0118] If the switching frequency of the primary side SC after the increase is less than or equal to the preset maximum switching frequency of the primary side SC, it can be said that the switching frequency of the primary side SC can be increased, and the above S402 to S404 can be continued. If the switching frequency of the primary side SC after the increase is greater than the preset maximum switching frequency of the primary side SC, it can be said that the switching frequency of the primary side SC cannot be increased, and the switching frequency of the secondary side SC can be reduced, that is, S415 is executed.
[0119] S415 , if the secondary side current is not higher than the threshold current B, or the boosted switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC, then the switching frequency of the secondary side SC is reduced to reduce the secondary side current.
[0120] If the secondary side current is not higher than the threshold current B, it means that although the secondary side current is larger than the primary side current, the difference is not particularly large. In this case, the terminal device can give priority to adjusting the secondary side current, that is, reducing the switching frequency of the secondary side SC to reduce the secondary side current so that the bias current ratio can meet the range a.
[0121] Exemplarily, if the secondary side current is not higher than the threshold current B, the terminal device can reduce the switching frequency of the secondary side SC according to a certain step size, and execute the above S402 to S404 again. If the bias current ratio still does not satisfy range a, the secondary side current is higher than the primary side current, and the secondary side current is not higher than the threshold current B, the terminal device can continue to reduce the switching frequency of the secondary side SC according to a certain step size until the bias current ratio satisfies range a, or until the switching frequency of the secondary side SC is less than the preset minimum switching frequency of the secondary side SC.
[0122] S416 , after increasing or decreasing the switching frequency of the secondary SC, it may be determined whether the reduced switching frequency of the secondary SC is greater than the minimum switching frequency of the secondary SC preset in S401 .
[0123] If the switching frequency of the secondary side SC after the reduction is greater than or equal to the minimum switching frequency of the secondary side SC preset in S401, it can be said that the switching frequency of the secondary side SC can be reduced, and the above S402 to S404 can be continued. If the switching frequency of the secondary side SC after the reduction is less than the minimum switching frequency of the secondary side SC preset in S401, it can be said that the switching frequency of the secondary side SC cannot be reduced, and the switching frequency of the primary side SC can be increased, that is, S413 is executed.
[0124] It can be understood that, in the most extreme case, the secondary side SC can be reduced to a preset minimum switching frequency of the secondary side SC, and the primary side SC can be increased to a preset maximum switching frequency of the primary side SC, so that the bias current ratio satisfies range a.
[0125] from Figure 4 It can be seen from the method shown that the conditions for increasing the switching frequency of the secondary side SC may include: the bias current ratio does not meet the range a, the primary side current is greater than the secondary side current, the primary side current is higher than the threshold current A, and the increased switching frequency of the secondary side SC is less than or equal to the preset maximum switching frequency of the secondary side SC. The conditions for reducing the switching frequency of the primary side SC may include: the bias current ratio does not meet the range a, the primary side current is greater than the secondary side current, the primary side current is not higher than the threshold current A, and the reduced switching frequency of the primary side SC is greater than or equal to the preset minimum switching frequency of the primary side SC. The conditions for increasing the switching frequency of the primary side SC may include: the bias current ratio does not meet the range a, the secondary side current is greater than the primary side current, the secondary side current is higher than the threshold current B, and the increased switching frequency of the primary side SC is less than or equal to the preset maximum switching frequency of the primary side SC. The conditions for reducing the switching frequency of the secondary side SC may include: the bias current ratio does not meet the range a, the secondary side current is greater than the primary side current, the secondary side current is not higher than the threshold current B, and the reduced switching frequency of the secondary side SC is greater than or equal to the preset minimum switching frequency of the secondary side SC.
[0126] The charging control method provided in the embodiment of the present application can select the SC chip to be adjusted first based on whether the primary side current is higher than the threshold current A when the bias current ratio does not meet the range a and the primary measured current is greater than the secondary side current. Alternatively, the SC chip to be adjusted first can be selected based on whether the secondary side current is higher than the threshold current B when the bias current ratio does not meet the range a and the secondary measured current is greater than the primary side current. That is to say, when the difference between the primary side current and the secondary side current is large, the SC chip with smaller current is adjusted first, and when the difference between the primary side current and the secondary side current is small, the SC chip with larger current is adjusted first, which is beneficial to quickly adjust the currents of the two SC chips evenly, and further beneficial to make the terminal device heat evenly.
[0127] In the above Figure 4In the method shown, S402, the terminal device needs to collect the primary side current and the secondary side current. The method for the terminal device to collect the primary side current and the secondary side current will be described in detail below.
[0128] The embodiment of the present application provides two methods for collecting primary side current and secondary side current. The first method is that both the primary side SC and the secondary side SC have current sampling capability, the primary side SC collects the primary side current, and collects the secondary side current through the secondary side C; the second method is that both the primary side SC and the secondary side SC do not have current sampling capability, and the terminal device can collect the primary side current and the secondary side current through other modules in the terminal device.
[0129] For the first type of method, the embodiments of the present application provide two possible implementation methods.
[0130] A possible implementation is: both the primary side SC and the secondary side SC include internal sampling resistors, the primary side SC and the secondary side SC have current sampling capabilities, the primary side SC can directly read the current of the internal sampling resistor of the primary side SC to obtain the primary side current, the secondary side SC can directly read the current of the internal sampling resistor of the secondary side SC to obtain the secondary side current, the primary side SC or the secondary side SC can perform the above based on the primary side current and the secondary side current Figure 4 The method shown.
[0131] For example, Figure 5 A schematic diagram of charging a terminal device is shown. Figure 5 As shown, the terminal device is deployed with a main side SC and a secondary side SC, and the main side SC includes an internal sampling resistor, through which the main side SC can obtain the main side current in the charging state. The secondary side SC includes an internal sampling resistor, through which the secondary side SC can obtain the secondary side current in the charging state. The main side SC is connected to the secondary side SC for transmitting the main side current or the secondary side current, and is also used to adjust the switching frequency of the other party. In addition to being connected to the main battery, the main side SC is also connected to the secondary battery, and in addition to being connected to the secondary battery, the secondary side SC is also connected to the main battery, so that the main battery and the secondary battery have the same charging voltage, and the charging voltage is represented by vbat. The charger is connected to the terminal device, and is used to charge the main battery and the secondary battery of the terminal device, and the output voltage of the charger is represented by VBUS. Among them, the main side SC is connected to the secondary side SC, and the connection can be a wired connection or a wireless connection, which is not limited in the embodiments of the present application.
[0132] The primary side SC reads the voltage of the internal sampling resistor of the primary side SC, and calculates the primary side current based on the voltage and resistance of the internal sampling resistor. The secondary side SC reads the voltage of the internal sampling resistor of the secondary side SC, and calculates the secondary side current based on the voltage and resistance of the internal sampling resistor. In one example, the secondary side SC transmits the secondary side current to the primary side SC, the primary side SC obtains the primary side current and the secondary side current, and performs the above-mentioned Figure 4In another example, the primary side SC transmits the primary side current to the secondary side SC, the secondary side SC obtains the primary side current and the secondary side current, and performs the above-mentioned Figure 4 The method shown.
[0133] It should be noted that Figure 5 The internal sampling resistors of the primary side SC and the secondary side SC are close to the charger end, which is only an example. The internal sampling resistors of the primary side SC and the secondary side SC can also be close to the main battery or the secondary battery end, which is not limited in the embodiments of the present application.
[0134] Another possible implementation is: a resistor A is connected between the primary side SC and the primary battery, and a resistor B is connected between the secondary side SC and the secondary battery. The primary side SC can collect the primary side current through resistor A, and the secondary side SC can collect the secondary side current through resistor B. The primary side SC or the secondary side SC can perform the above based on the primary side current and the secondary side current. Figure 4 The method shown.
[0135] For example, Figure 6 A schematic diagram of charging a terminal device is shown. Figure 6 As shown, the terminal device is deployed with a main side SC and a secondary side SC, the main side SC is connected to the main battery and the secondary battery respectively through resistor A, and the secondary side SC is connected to the main battery and the secondary battery respectively through resistor B. The main side SC is connected to the secondary side SC for transmitting the main side current or the secondary side current, and is also used to adjust the switching frequency of the other party. The main battery and the secondary battery have the same charging voltage, and the charging voltage is represented by vbat. The charger is connected to the terminal device, and is used to charge the main battery and the secondary battery of the terminal device. The output voltage of the charger is represented by VBUS. Among them, the main side SC is connected to the secondary side SC, and the connection can be a wired connection or a wireless connection, which is not limited in the embodiments of the present application.
[0136] The primary side SC can read the voltage of resistor A and calculate the primary side current based on the voltage and the resistance value of resistor A. The secondary side SC can read the voltage of resistor B and calculate the secondary side current based on the voltage and the resistance value of resistor B. In one example, the secondary side SC transmits the secondary side current to the primary side SC, the primary side SC obtains the primary side current and the secondary side current, and performs the above-mentioned Figure 4 In another example, the primary side SC transmits the primary side current to the secondary side SC, the secondary side SC obtains the primary side current and the secondary side current, and performs the above-mentioned Figure 4 The method shown.
[0137] The first type of method provided in the embodiment of the present application improves the existing SC chip so that it has the function of adjusting the switching frequency of the SC chip, does not require the addition of additional devices, has low cost and strong feasibility.
[0138] For the second method, an embodiment of the present application provides a method in which a sampling module of a terminal device collects a primary current and a secondary current, a system on chip (SOC) of the terminal device obtains the primary current and the secondary current from the sampling module, and performs the above-mentioned Figure 4 The method shown. The SOC and the sampling module can be integrated or separated, and the present application embodiment does not limit this. The SOC is only an example. In another example, the terminal device can also perform the above-mentioned operation based on the primary side current and the secondary side current through the CPU. Figure 4 The method shown.
[0139] In one example, Figure 7 A schematic diagram of charging a terminal device is shown. Figure 7 As shown, the terminal device includes a main side SC, a secondary side SC, a resistor A, a resistor B, a sampling module, a SOC, a main battery and a secondary battery. The sampling module is used to collect the voltages of resistors A and B. The SOC is connected to the main side SC and the secondary side SC through the I2C bus, respectively, and is used to control the switching frequency of the main side SC and / or the secondary side SC. One side of the main side SC is connected to resistor A, and the other side is connected to the main battery and the secondary battery respectively. One side of the secondary side SC is connected to resistor B, and the other side is connected to the main battery and the secondary battery respectively. The main battery and the secondary battery have the same charging voltage, and the charging voltage is represented by vbat. The charger is connected to the terminal device, and is used to charge the main battery and the secondary battery of the terminal device. The output voltage of the charger is represented by VBUS.
[0140] The sampling module can collect the voltage of resistor A, and obtain the primary current based on the voltage and the resistance value of resistor A, and transmit the primary current to the SOC. The sampling module can also collect the voltage of resistor B, and obtain the secondary current based on the voltage and the resistance value of resistor B, and transmit the secondary current to the SOC. The SOC obtains the primary current and the secondary current, and performs the above-mentioned Figure 4 The method shown.
[0141] In another example, Figure 8 A schematic diagram of charging a terminal device is shown. Figure 8As shown, the terminal device includes a main side SC, a secondary side SC, a resistor A, a resistor B, a sampling module, a SOC, a main battery and a secondary battery. The sampling module is used to collect the voltages of resistor A and resistor B. The SOC is connected to the main side SC and the secondary side SC through the I2C bus, respectively, and is used to control the switching frequency of the main side SC and / or the secondary side SC. The main side SC is connected to the main battery and the secondary battery through resistor A, respectively, and the secondary side SC is connected to the main battery and the secondary battery through resistor B, respectively. The main battery and the secondary battery have the same charging voltage, and the charging voltage is represented by vbat. The charger is connected to the terminal device, and is used to charge the main battery and the secondary battery of the terminal device, and the output voltage of the charger is represented by VBUS.
[0142] The sampling module can collect the voltage of resistor A, and obtain the primary current based on the voltage and the resistance value of resistor A, and transmit the primary current to the SOC. The sampling module can also collect the voltage of resistor B, and obtain the secondary current based on the voltage and the resistance value of resistor B, and transmit the secondary current to the SOC. The SOC obtains the primary current and the secondary current, and performs the above-mentioned Figure 4 The method shown.
[0143] In the above Figure 4 In the method shown, the terminal device collects the primary side current and the secondary side current to determine whether the primary side current is different from the secondary side current. The embodiment of the present application also provides a method, in which the terminal device can collect the voltage difference or bias current between the primary side SC and the secondary side SC to determine whether the primary side current is different from the secondary side current. In the case where the primary side current is greatly different from the secondary side current, the switching frequency of the primary side SC and / or the secondary side SC is adjusted to make the primary side current and the secondary side current less different. Among them, the bias current between the primary side SC and the secondary side SC is used to represent the current difference between the primary side current and the secondary side current, and the voltage difference between the primary side SC and the secondary side SC is used to represent the voltage difference caused by the current difference between the primary side current and the secondary side current.
[0144] The embodiment of the present application is described by taking the collection of the pressure difference between the primary side SC and the secondary side SC as an example. Fig. 9 A schematic flow chart of another charging control method provided in an embodiment of the present application is shown. The method can be applied to the above Figure 1 or Figure 2 The scenario shown in FIG. 1 is not limited to this embodiment of the present application. Fig. 9 As shown, the method may include the following steps:
[0145] S901 . In a dual-chip working mode, obtain a preset switching frequency range of the primary side SC and a preset switching frequency range of the secondary side SC.
[0146] This step is the same as the above-mentioned S401 and will not be repeated here.
[0147] S902 , collecting the pressure difference between the primary side SC and the secondary side SC.
[0148] If the primary current is the same as the secondary current, the voltage difference between the primary SC and the secondary SC is 0; if the primary current is different from the secondary current, the voltage difference between the primary SC and the secondary SC is greater than 0, or less than 0.
[0149] It should be noted that S901 and S902 may be executed simultaneously or sequentially, and the embodiment of the present application does not limit the execution order of S901 and S902.
[0150] S903: Determine whether the pressure difference satisfies range b.
[0151] Range b is used to indicate acceptable pressure differences. For example, range b may be -2 to 2, or range b may be -2.5 to 2.5.
[0152] If the pressure difference satisfies range b, it can be said that the bias current between the primary side current and the secondary side current is small and acceptable, and the terminal device can continue to execute the above S902 to determine in real time whether there is a pressure difference. Optionally, if the pressure difference satisfies range b, the terminal device can continue to execute the above S902 after a period of time to reduce the number of cycles and save computing power.
[0153] If the voltage difference does not meet range b, it can be said that the offset between the primary side current and the secondary side current is too large to be accepted, and the terminal device can perform subsequent steps.
[0154] S904: If the pressure difference does not meet the range b, determine whether the pressure difference is greater than 0.
[0155] In one example, a voltage difference greater than 0 can be used to indicate that the primary current is greater than the secondary current, and a voltage difference less than 0 can be used to indicate that the primary current is less than the secondary current. In another example, a voltage difference greater than 0 can be used to indicate that the primary current is less than the secondary current, and a voltage difference less than 0 can be used to indicate that the primary current is greater than the secondary current.
[0156] The embodiment of the present application takes the example that the voltage difference is greater than 0 and can be used to indicate that the primary current is greater than the secondary current, and the voltage difference is less than 0 and can be used to indicate that the primary current is less than the secondary current. If the voltage difference is greater than 0, the terminal device can execute S905, and if the voltage difference is not greater than 0, the terminal device can execute S908.
[0157] S905 , if the voltage difference is greater than 0, determine whether the switching frequency of the secondary side SC is higher than a preset maximum switching frequency of the secondary side SC.
[0158] If the voltage difference is greater than 0, it can be said that the current on the primary side is greater than the current on the secondary side. The terminal device determines whether the switching frequency of the secondary side SC is higher than the preset maximum switching frequency of the secondary side SC, which is used to determine whether the switching frequency of the secondary side SC is adjustable. If the switching frequency of the secondary side SC is higher than the preset maximum switching frequency of the secondary side SC, it can be said that the switching frequency of the secondary side SC is not adjustable, and the terminal device can reduce the switching frequency of the primary side SC, that is, execute S907. If the switching frequency of the secondary side SC is not higher than the preset maximum switching frequency of the secondary side SC, it can be said that the switching frequency of the secondary side SC is adjustable, and the terminal device can increase the switching frequency of the secondary side SC, that is, execute S906.
[0159] S906 , if the switching frequency of the secondary side SC is not higher than the preset maximum switching frequency of the secondary side SC, increasing the switching frequency of the secondary side SC to increase the secondary side current.
[0160] If the switching frequency of the secondary side SC is not higher than the preset maximum switching frequency of the secondary side SC, it can be said that the switching frequency of the secondary side SC is adjustable, and the terminal device can increase the switching frequency of the secondary side SC to increase the secondary side current so that the voltage difference can meet range b.
[0161] Exemplarily, if the switching frequency of the secondary side SC is not higher than the preset maximum switching frequency of the secondary side SC, the terminal device can increase the switching frequency of the secondary side SC according to a certain step size, and execute the above S902 and S903 again. If the pressure difference still does not meet the range b, and the switching frequency of the secondary side SC is not higher than the preset maximum switching frequency of the secondary side SC, the terminal device can continue to increase the switching frequency of the secondary side SC according to a certain step size until the pressure difference can meet the range b, or until the switching frequency of the secondary side SC is equal to the preset maximum switching frequency of the secondary side SC.
[0162] S907 . If the switching frequency of the secondary side SC is higher than the preset maximum switching frequency of the secondary side SC, the switching frequency of the primary side SC is reduced to reduce the primary side current.
[0163] If the switching frequency of the secondary side SC is higher than the preset maximum switching frequency of the secondary side SC, it can be said that the switching frequency of the secondary side SC is not adjustable. The terminal device can reduce the switching frequency of the primary side SC to reduce the primary side current so that the voltage difference can meet range b.
[0164] Exemplarily, if the switching frequency of the secondary side SC is higher than the preset maximum switching frequency of the secondary side SC, the terminal device can reduce the switching frequency of the primary side SC according to a certain step size, and execute the above S902 and S903 again. If the pressure difference still does not meet the range b, and the switching frequency of the secondary side SC is higher than the preset maximum switching frequency of the secondary side SC, the terminal device can continue to reduce the switching frequency of the primary side SC according to a certain step size until the pressure difference can meet the range b, or until the switching frequency of the primary side SC is equal to the preset minimum switching frequency of the primary side SC.
[0165] S908: If the pressure difference is not greater than 0, determine whether the pressure difference is less than 0.
[0166] If the pressure difference is not greater than 0, determine whether the pressure difference is less than 0. If the pressure difference is less than 0, execute S909; if the pressure difference is not greater than 0 and not less than 0, execute S902.
[0167] S909 , if the voltage difference is less than 0, determine whether the switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC.
[0168] If the voltage difference is less than 0, it can be said that the current on the secondary side is greater than the current on the primary side. The terminal device determines whether the switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC, which is used to determine whether the switching frequency of the primary side SC is adjustable. If the switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC, it can be said that the switching frequency of the primary side SC is not adjustable, and the terminal device can reduce the switching frequency of the secondary side SC, that is, execute S911. If the switching frequency of the primary side SC is not higher than the preset maximum switching frequency of the primary side SC, it can be said that the switching frequency of the primary side SC is adjustable, and the terminal device can increase the switching frequency of the primary side SC, that is, execute S910.
[0169] S910 , if the switching frequency of the primary side SC is not higher than the preset maximum switching frequency of the primary side SC, increasing the switching frequency of the primary side SC to increase the primary side current.
[0170] If the switching frequency of the main side SC is not higher than the preset maximum switching frequency of the main side SC, it can be said that the switching frequency of the main side SC is not adjustable. The terminal device can increase the switching frequency of the main side SC to increase the main side current so that the voltage difference can meet range b.
[0171] Exemplarily, if the switching frequency of the main side SC is not higher than the preset maximum switching frequency of the main side SC, the terminal device can increase the switching frequency of the main side SC according to a certain step size, and execute the above S902 and S903 again. If the pressure difference still does not satisfy range b, and the switching frequency of the main side SC is not higher than the preset maximum switching frequency of the main side SC, the terminal device can continue to increase the switching frequency of the main side SC according to a certain step size until the pressure difference can satisfy range b, or until the switching frequency of the main side SC is equal to the preset maximum switching frequency of the main side SC.
[0172] S911 . If the switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC, the switching frequency of the secondary side SC is reduced to reduce the secondary side current.
[0173] If the switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC, it can be said that the switching frequency of the primary side SC is not adjustable. The terminal device can reduce the switching frequency of the secondary side SC to reduce the secondary side current so that the voltage difference can meet range b.
[0174] Exemplarily, if the switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC, the terminal device can reduce the switching frequency of the secondary side SC according to a certain step size, and execute the above S902 and S903 again. If the pressure difference still does not meet the range b, and the switching frequency of the primary side SC is higher than the preset maximum switching frequency of the primary side SC, the terminal device can continue to reduce the switching frequency of the secondary side SC according to a certain step size until the pressure difference can meet the range b, or until the switching frequency of the secondary side SC is equal to the preset minimum switching frequency of the secondary side SC.
[0175] from Fig. 9 It can be seen from the method shown that the conditions for increasing the switching frequency of the secondary side SC may include: the pressure difference does not meet the range b, the pressure difference is greater than 0, and the switching frequency of the secondary side SC is not higher than the maximum switching frequency. The conditions for reducing the switching frequency of the primary side SC may include: the pressure difference does not meet the range b, the pressure difference is greater than 0, and the switching frequency of the secondary side SC is higher than the maximum switching frequency. The conditions for increasing the switching frequency of the primary side SC may include: the pressure difference does not meet the range b, the pressure difference is less than 0, and the switching frequency of the primary side SC is not higher than the maximum switching frequency. The conditions for reducing the switching frequency of the secondary side SC may include: the pressure difference does not meet the range b, the pressure difference is less than 0, and the switching frequency of the primary side SC is higher than the maximum switching frequency.
[0176] The charging control method provided in the embodiment of the present application can select the SC chip that needs to be adjusted based on the preset maximum switching frequency of the secondary side SC when the voltage difference does not meet the range b, or can select the SC chip that needs to be adjusted based on the preset maximum switching frequency of the primary side SC when the voltage difference does not meet the range b. It is more flexible and is also conducive to meeting the demand for uniform heating of different SC chips without increasing the cost of devices.
[0177] In the above Fig. 9 In the method shown, S902, the terminal device needs to collect the pressure difference between the primary side SC and the secondary side SC. The method for collecting the pressure difference by the terminal device will be described in detail below.
[0178] In a possible implementation, the primary side SC or the secondary side SC collects the pressure difference between the primary side SC and the secondary side SC, and performs the above-mentioned Fig. 9 The method shown.
[0179] Exemplarily, the primary side SC collects the pressure difference between the primary side SC and the secondary side SC. Fig.10 FIG. 1 shows a schematic diagram of a terminal device. Fig.10 As shown, the terminal device is deployed with a main side SC and a secondary side SC, the main side SC is connected to the main battery and connected to the secondary battery through a resistor; the secondary side SC is connected to the secondary battery and connected to the main battery through a resistor. The main battery and the secondary battery have the same charging voltage, and the charging voltage is represented by vbat. The charger is connected to the terminal device and is used to charge the main battery and the secondary battery of the terminal device. The output voltage of the charger is represented by VBUS. Among them, the main side SC is connected to the secondary side SC, and the connection can be a wired connection or a wireless connection, which is not limited in the embodiments of the present application.
[0180] When the primary current is different from the secondary current, the current will generate a voltage through the resistor, that is, the voltage difference between the primary SC and the secondary SC. The primary SC can read the voltage of the resistor to obtain the voltage difference between the primary SC and the secondary SC, and perform the above-mentioned Fig. 9 The method shown is to determine the SC chip that requires adjustment.
[0181] In another possible implementation, the terminal device may collect the pressure difference between the primary side SC and the secondary side SC through other modules in the terminal device, and perform the above-mentioned Fig. 9 The method shown.
[0182] Exemplarily, the terminal device may collect the pressure difference between the primary side SC and the secondary side SC through other modules in the terminal device. Fig.11 A schematic diagram of charging a terminal device is shown. Fig.11 As shown, the terminal device includes a main side SC, a secondary side SC, a resistor, a sampling module, an SOC, a main battery and a secondary battery. The sampling module is used to collect the voltage of the resistor. The SOC is connected to the main side SC and the secondary side SC through the I2C bus respectively, and is used to control the switching frequency of the main side SC and / or the secondary side SC. The main side SC is connected to the main battery and is connected to the secondary battery through a resistor; the secondary side SC is connected to the secondary battery and is connected to the main battery through a resistor. The main battery and the secondary battery have the same charging voltage, and the charging voltage is represented by vbat. The charger is connected to the terminal device and is used to charge the main battery and the secondary battery of the terminal device. The output voltage of the charger is represented by VBUS.
[0183] The sampling module can collect the voltage of the resistor, obtain the voltage difference between the primary side SC and the secondary side SC, and transmit the voltage difference to the SOC. The SOC obtains the voltage difference and performs the above Fig. 9 The method shown is to determine the SC chip that requires adjustment.
[0184] The scheme of collecting the bias current between the primary side SC and the secondary side SC and adjusting the switching frequency of the SC chip is the same as the above Fig. 9 The terminal device can also be based on the above Fig.10 or Fig.11 The method shown collects the bias current between the primary side SC and the secondary side SC.
[0185] The above-mentioned embodiment is applicable to the scenario where the terminal device heats unevenly due to the large difference in current between the two SC chips, such as the above Figure 1 or Figure 2 In the scenario shown in the figure, the embodiment of the present application also provides a charging control method, which can be applied to the scenario where the terminal device heats unevenly due to the small difference in current between the two SC chips, such as the above Figure 3 The scene shown.
[0186] In the above Figure 3 In the scenario shown, if the current difference between the two SC chips is small, resulting in uneven heating of the terminal device, the terminal device can increase the difference between the currents of the two SC chips. For example, if the current of the first charge pump chip is less than that of the second charge pump chip, the terminal device can increase the switching frequency of the second charge pump chip to increase the current of the second charge pump chip and reduce the current of the first charge pump chip, or the terminal device can reduce the switching frequency of the first charge pump chip to reduce the current of the first charge pump chip and increase the current of the second charge pump chip. The terminal device determines the charge pump chip to be adjusted, which may depend on the set conditions. For example, if the set conditions are met, the current of the first charge pump chip is less than that of the second charge pump chip, and the terminal device can increase the switching frequency of the second charge pump chip; if the set conditions are not met, the current of the first charge pump chip is less than that of the second charge pump chip, and the terminal device can reduce the switching frequency of the first charge pump chip. Alternatively, if the set conditions are not met and the current of the first charge pump chip is less than the current of the second charge pump chip, the terminal device may increase the switching frequency of the second charge pump chip; if the set conditions are met and the current of the first charge pump chip is less than the current of the second charge pump chip, the terminal device may decrease the switching frequency of the first charge pump chip.
[0187] In different scenarios, the terminal device can increase or decrease the current difference between the two SC chips.
[0188] For example, in the above Figure 3 In the scenario shown, in the off-screen charging scenario, the CPU generates less heat, and the terminal device can reduce the current difference between the two SC chips to make the two SC chips heat evenly. In the on-screen charging scenario, the CPU generates more heat, and the terminal device can increase the current difference between the two SC chips to make the two SC chips heat unevenly.
[0189] The above describes in detail the charging control method provided in the embodiment of the present application from the perspective of internal implementation. The following describes the charging control method provided in the embodiment of the present application from the perspective of application scenarios.
[0190] Fig.12 A charging control method provided by an embodiment of the present application is shown, and the method can be applied to a terminal device, and the terminal device may include a first charge pump chip, a second charge pump chip, and a battery cell, wherein the battery cell includes a first positive terminal and a second positive terminal, the first positive terminal and the second positive terminal are connected, the first charge pump chip is connected to the first positive terminal of the battery cell, and the second charge pump chip is connected to the second positive terminal of the battery cell. The method includes:
[0191] S1201 , charge a battery cell via a first charge pump chip and a second charge pump chip.
[0192] The first charge pump chip and the second charge pump chip are different charge pump chips. In some implementations, the first charge pump chip may be the main side chip in the above embodiment, and the second charge pump chip may be the secondary side chip in the above embodiment. In other implementations, the first charge pump chip may be the secondary side chip in the above embodiment, and the second charge pump chip may be the main side chip in the above embodiment. The battery cell may be a bipolar ear battery or include two independent single-pole ear batteries. The battery cell includes a first positive terminal and a second positive terminal, the first positive terminal and the second positive terminal are connected, the first charge pump chip is connected to the first positive terminal of the battery cell, and the second charge pump chip is connected to the second positive terminal of the battery cell, which can indicate that the first charge pump chip is respectively connected to the first positive terminal and the second positive terminal of the battery cell, and the second charge pump chip is respectively connected to the first positive terminal and the second positive terminal of the battery cell.
[0193] S1202. At the first moment, the current flowing through the first charge pump chip is the first current, and the current flowing through the second charge pump chip is the second current; the ratio between the first current and the second current does not belong to the first target range, the first current is greater than the second current, and the first current is greater than or equal to the first threshold current.
[0194] The first target range can be Figure 4 In the example shown in FIG. 1 , the first threshold current may be Figure 4 The threshold current A in the example shown.
[0195] At the first moment, the current flowing through the first charge pump chip is the first current, and the current flowing through the second charge pump chip is the second current, which can indicate that at the first moment, the terminal device is successfully connected to the charger, and when the charger charges the terminal device, the current flowing through the first charge pump chip is the first current, and the current flowing through the second charge pump chip is the second current. The current flowing through the first charge pump chip is the first current, which can also be described as the output current of the first charge pump chip being the first current. The current flowing through the second charge pump chip is the second current, which can also be described as the output current of the second charge pump chip being the second current. The embodiments of the present application do not limit this. If the first charge pump chip is called the primary side chip, the first current can also be described as the primary side current, and if the second charge pump chip is called the secondary side chip, the second current can also be described as the secondary side current.
[0196] S1203, at a second moment, adjusting the first switching frequency of the second charge pump chip to a second switching frequency, the second switching frequency is greater than the first switching frequency, and the second moment is later than the first moment.
[0197] At the first moment, the ratio between the first current and the second current does not fall within the first target range, which indicates that the ratio between the first current and the second current is not within the expected range, and the first current and the second current need to be adjusted. The first current is greater than the second current, and the first current is greater than or equal to the first threshold current. At this time, the second charge pump chip can be adjusted first, that is, at the second moment, the first switching frequency of the second charge pump chip is adjusted to a second switching frequency greater than the first switching frequency to increase the second current and reduce the first current, thereby reducing the gap between the first current and the second current. The first moment may correspond to the above Figure 4 S402 to S406 shown in the figure, the second moment may correspond to the above Figure 4 S407 shown.
[0198] S1204. At the third moment, the current flowing through the first charge pump chip is the third current, the current flowing through the second charge pump chip is the fourth current, the ratio between the third current and the fourth current does not belong to the first target range, the third current is less than the first current, the fourth current is greater than the second current, the third current is greater than the fourth current, and the third current is less than the first threshold current, and the third moment is later than the second moment.
[0199] S1205, at a fourth moment, adjusting the third switching frequency of the first charge pump chip to a fourth switching frequency, the fourth switching frequency is less than the third switching frequency, and the fourth moment is later than the third moment.
[0200] After the first switching frequency of the second charge pump chip is adjusted to be greater than the second switching frequency, the current flowing through the first charge pump chip is the third current, and the current flowing through the second charge pump chip is the fourth current. At the third moment, the ratio between the third current and the fourth current does not belong to the first target range, which indicates that the ratio between the third current and the fourth current is still not within the expected range, and the first current and the second current need to be adjusted again. After the sum of the third current and the fourth current is equal to the sum of the first current and the second current, the fourth current is greater than the second current, and the third current is less than the first current. The third current is greater than the fourth current, and the third current is less than the first threshold current. At this time, the first charge pump chip can be adjusted preferentially, that is, at the fourth moment, the third switching frequency of the first charge pump chip is adjusted to a fourth switching frequency less than the third switching frequency to make the third current smaller, increase the fourth current, and thereby reduce the difference between the third current and the fourth current. The third moment may correspond to the above Figure 4 The fourth moment may correspond to the above-mentioned S402 to S406. Figure 4 S409 shown.
[0201] In this way, when the ratio between the current flowing through the first charge pump chip and the current flowing through the second charge pump chip does not fall within the first target range, when the first current is greater than the second current and the first current is greater than or equal to the first threshold current, the second charge pump chip can be adjusted preferentially, and when the third current is greater than the fourth current and the third current is less than the first threshold current, the first charge pump chip can be adjusted preferentially. Flexible adjustment of the switching frequency of the two charge pump chips is beneficial to quickly evenly adjust the current flowing through the two charge pump chips, which in turn is beneficial to making the terminal device heat evenly.
[0202] In a possible implementation, the method also includes: at a fifth moment, the current flowing through the first charge pump chip is a fifth current, the current flowing through the second charge pump chip is a sixth current, the ratio between the fifth current and the sixth current does not belong to the first target range, the fifth current is less than the first current, the sixth current is greater than the second current, the fifth current is greater than the sixth current, and the fifth current is greater than the first threshold current, and the fifth moment is later than the second moment; at a sixth moment, the fifth switching frequency of the second charge pump chip is adjusted to the sixth switching frequency, the sixth switching frequency is greater than the fifth switching frequency, and the sixth switching frequency is greater than or equal to the first frequency threshold, and the sixth moment is later than the fifth moment; at a seventh moment, the current flowing through the first charge pump chip is the seventh current, the current flowing through the second charge pump chip is the eighth current, the seventh current is less than the fifth current, the eighth current is greater than the sixth current, the ratio between the seventh current and the eighth current does not belong to the first target range, the seventh current is greater than the eighth current, and the seventh moment is later than the sixth moment; at an eighth moment, the seventh switching frequency of the first charge pump chip is adjusted to the eighth switching frequency, the eighth switching frequency is less than the seventh switching frequency, and the eighth moment is later than the seventh moment.
[0203] If the switching frequency of the second charge pump chip is adjusted first, when it is adjusted to be greater than or equal to the first frequency threshold, the ratio between the currents flowing through the two charge pump chips still does not fall within the first target range, and the terminal device can adjust the switching frequency of the first charge pump chip so that the ratio between the currents flowing through the two charge pump chips falls within the first target range. In this way, by adjusting the switching frequencies of the two charge pump chips so that the ratio between the currents flowing through the two charge pump chips falls within the first target range, it is beneficial to increase the probability of making the ratio between the currents flowing through the two charge pump chips fall within the first target range compared to adjusting the switching frequency of only one charge pump chip.
[0204] In a possible implementation, the method further includes: at a ninth moment, the current flowing through the first charge pump chip is a ninth current, and the current flowing through the second charge pump chip is a tenth current; the ratio between the ninth current and the tenth current does not belong to the first target range, the ninth current is less than the tenth current, and the tenth current is greater than or equal to the second threshold current, and the ninth moment is later than the fourth moment; at a tenth moment, the ninth switching frequency of the first charge pump chip is adjusted to the tenth switching frequency, the tenth switching frequency is greater than the ninth switching frequency, and the tenth moment is later than the ninth moment; at an eleventh moment, the current flowing through the first charge pump chip is the eleventh current, and the current flowing through the second charge pump chip is the twelfth current, the ratio between the eleventh current and the twelfth current does not belong to the first target range, the eleventh current is less than the twelfth current, the twelfth current is less than the tenth current, the eleventh current is greater than the ninth current, and the twelfth current is less than the second threshold current, and the eleventh moment is later than the tenth moment; at a twelfth moment, the eleventh switching frequency of the second charge pump chip is adjusted to the twelfth switching frequency, the twelfth switching frequency is less than the eleventh switching frequency, and the twelfth moment is later than the eleventh moment.
[0205] The ninth moment can correspond to the above Figure 4 S402 to S405, and S411 and S412 shown, the tenth moment may correspond to the above Figure 4 The eleventh moment in S413 shown above may correspond to Figure 4 S402 to S405, and S411 and S412 shown, the twelfth moment may correspond to the above Figure 4 S415 shown.
[0206] In this way, when the ratio between the current flowing through the first charge pump chip and the current flowing through the second charge pump chip does not fall within the first target range, when the ninth current is less than the tenth current and the tenth current is greater than or equal to the second threshold current, the first charge pump chip can be adjusted preferentially; when the ninth current is less than the tenth current and the tenth current is less than the second threshold current, the second charge pump chip can be adjusted preferentially. Flexible adjustment of the switching frequency of the two charge pump chips is beneficial to quickly evenly adjust the current flowing through the two charge pump chips, which in turn helps to make the terminal device heat evenly.
[0207] In a possible implementation, the method further includes: at the thirteenth moment, the current flowing through the first charge pump chip is the thirteenth current, the current flowing through the second charge pump chip is the fourteenth current, the ratio between the thirteenth current and the fourteenth current does not belong to the first target range, the thirteenth current is greater than the ninth current, the fourteenth current is less than the tenth current, the thirteenth current is less than the fourteenth current, and the fourteenth current is greater than the second threshold current, and the thirteenth moment is later than the tenth moment; at the fourteenth moment, the thirteenth switching frequency of the first charge pump chip is adjusted to the fourteenth switching frequency, the fourteenth switching frequency is greater than the thirteenth switching frequency, and the fourteenth switching frequency is greater than the second threshold current. is greater than or equal to the second frequency threshold, the fourteenth moment is later than the thirteenth moment; at the fifteenth moment, the current flowing through the first charge pump chip is the fifteenth current, the current flowing through the second charge pump chip is the sixteenth current, the fifteenth current is greater than the thirteenth current, the sixteenth current is less than the fourteenth current, the ratio between the fifteenth current and the sixteenth current does not belong to the first target range, the sixteenth current is greater than the fifteenth current, and the fifteenth moment is later than the fourteenth moment; at the sixteenth moment, the fifteenth switching frequency of the second charge pump chip is adjusted to the sixteenth switching frequency, the sixteenth switching frequency is less than the fifteenth switching frequency, and the sixteenth moment is later than the fifteenth moment.
[0208] If the switching frequency of the first charge pump chip is adjusted first, when it is adjusted to be greater than or equal to the second frequency threshold, the ratio between the currents flowing through the two charge pump chips still does not fall within the first target range, and the terminal device can adjust the switching frequency of the second charge pump chip so that the ratio between the currents flowing through the two charge pump chips falls within the first target range. In this way, by adjusting the switching frequencies of the two charge pump chips so that the ratio between the currents flowing through the two charge pump chips falls within the first target range, it is beneficial to increase the probability of making the ratio between the currents flowing through the two charge pump chips fall within the first target range compared to adjusting the switching frequency of only one charge pump chip.
[0209] In one possible implementation, the terminal device also includes a first resistor and a second resistor, the first charge pump chip includes the first resistor, and the second charge pump chip includes the second resistor; the current flowing through the first charge pump chip is the current flowing through the first resistor, and the current flowing through the second charge pump chip is the current flowing through the second resistor.
[0210] The first resistor and the second resistor can be called internal sampling resistors. The terminal device can refer to the above Figure 5 In this way, the current flowing through the charge pump chip is obtained through the internal sampling resistor, and no additional resistors are required, which is conducive to cost saving.
[0211] In one possible implementation, the terminal device also includes a third resistor and a fourth resistor, the first charge pump chip is connected to the first positive terminal of the battery cell through the third resistor, and the second charge pump chip is connected to the second positive terminal of the battery cell through the fourth resistor; the current flowing through the first charge pump chip is the current flowing through the third resistor, and the current flowing through the second charge pump chip is the current flowing through the fourth resistor.
[0212] The third resistor and the fourth resistor can be called external sampling resistors. The terminal device can refer to the above Figure 6 In this way, the current flowing through the charge pump chip is obtained through the external sampling resistor, and there is no need to improve the charge pump chip, which is simple to implement.
[0213] In one possible implementation, the current flowing through the first charge pump chip is collected by the first charge pump chip, and the current flowing through the second charge pump chip is collected by the second charge pump chip; or, the current flowing through the first charge pump chip and the current flowing through the second charge pump chip are both collected by a sampling module of the terminal device.
[0214] The current flowing through the first charge pump chip is collected by the first charge pump chip, and the current flowing through the second charge pump chip is collected by the second charge pump chip. Figure 5 or Figure 6 In this way, the first charge pump chip and the second charge pump chip respectively collect their own currents and obtain the currents by using their own sampling capabilities, which is simple to implement and highly feasible.
[0215] The current flowing through the first charge pump chip and the current flowing through the second charge pump chip are both collected by the sampling module of the terminal device. The sampling module of the terminal device can be existing or newly added, and the embodiment of the present application does not limit this. The terminal device can refer to the above Figure 7 or Figure 8 In this way, the current flowing through the first charge pump chip and the current flowing through the second charge pump chip are obtained by using the sampling module of the terminal device, and the first charge pump chip and the second charge pump chip do not need to have sampling capabilities, which is conducive to reducing the cost of the charge pump chip.
[0216] In one possible implementation, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device.
[0217] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, in some implementations, the first charge pump chip can obtain the current flowing through the second charge pump chip from the second charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip; in other implementations, the first charge pump chip can obtain the current flowing through the first charge pump chip and the current flowing through the second charge pump chip from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip.
[0218] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, in some implementations, the second charge pump chip can obtain the current flowing through the first charge pump chip from the first charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip; in other implementations, the second charge pump chip can obtain the current flowing through the first charge pump chip and the current flowing through the second charge pump chip from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip.
[0219] In this way, the first charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, or the second charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, without relying on other chips to adjust the switching frequency, which is beneficial to saving information transmission with other chips.
[0220] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device, in some implementations, the processor of the terminal device can obtain the current flowing through the first charge pump chip from the first charge pump chip, and obtain the current flowing through the second charge pump chip from the second charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip; in other implementations, the processor of the terminal device can obtain the current flowing through the first charge pump chip and the current flowing through the second charge pump chip from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the current flowing through the first charge pump chip and the current flowing through the second charge pump chip.
[0221] In this way, the processor of the terminal device controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, and the charge pump chip does not need to have the control and adjustment capability, which is beneficial to reducing the cost of the charge pump chip.
[0222] The embodiment of the present application also provides a charging control method, which can be applied to a terminal device, wherein the terminal device includes a first charge pump chip, a second charge pump chip, a battery cell and a fifth resistor, wherein the battery cell includes a first positive terminal and a second positive terminal, a fifth resistor is connected between the first positive terminal and the second positive terminal, the first charge pump chip is connected to the first positive terminal of the battery cell, and the second charge pump chip is connected to the second positive terminal of the battery cell; the method also includes: at the seventeenth moment, the voltage value across the fifth resistor does not belong to the second target range, and the voltage of one end of the fifth resistor connected to the first charge pump chip is greater than the voltage of one end of the fifth resistor connected to the second charge pump chip, the seventeenth switching frequency of the second charge pump chip is adjusted to the eighteenth switching frequency, and the eighteenth switching frequency is greater than the seventeenth switching frequency; at the eighteenth moment, the voltage value across the fifth resistor does not belong to the second target range, and the voltage of one end of the fifth resistor connected to the first charge pump chip is greater than the voltage of one end of the fifth resistor connected to the second charge pump chip, the switching frequency of the second charge pump chip is greater than or equal to the second frequency threshold, the nineteenth switching frequency of the first charge pump chip is adjusted to the twentieth switching frequency, the twentieth switching frequency is less than the nineteenth switching frequency, and the eighteenth moment is later than the seventeenth moment.
[0223] The terminal device can be as described above Fig.10 or Fig.11 The seventeenth moment and the eighteenth moment can correspond to the above Fig. 9 S902 to S907 shown.
[0224] The voltage value across the fifth resistor does not fall within the second target range, and the voltage at one end of the fifth resistor connected to the first charge pump chip is greater than the voltage at one end of the fifth resistor connected to the second charge pump chip, the switching frequency of the second charge pump chip is preferentially adjusted to make the voltage value across the fifth resistor fall within the second target range, and when the switching frequency of the second charge pump chip is greater than or equal to the second frequency threshold, the switching frequency of the first charge pump chip is adjusted to make the voltage value across the fifth resistor fall within the second target range. In this way, by adjusting the switching frequencies of the two charge pump chips to make the voltage value across the fifth resistor fall within the second target range, compared with adjusting the switching frequency of only one charge pump chip, it is beneficial to increase the probability of making the voltage value across the fifth resistor fall within the second target range.
[0225] In a possible implementation, the voltage value across the fifth resistor is collected by the first charge pump chip, or the voltage value across the fifth resistor is collected by the second charge pump chip, or the voltage value across the fifth resistor is collected by a sampling module of the terminal device.
[0226] The voltage value across the fifth resistor is collected by the first charge pump chip, or the voltage value across the fifth resistor is collected by the second charge pump chip. Fig.10 In this way, the first charge pump chip or the second charge pump chip collects the voltage value across the fifth resistor and obtains the current by using its own sampling capability, which is simple to implement and highly feasible.
[0227] The voltage value across the fifth resistor is collected by a sampling module of the terminal device. The sampling module of the terminal device may be existing or newly added, and the present application embodiment does not limit this. The terminal device may refer to the above Fig.11 In this way, the voltage value across the fifth resistor is obtained by using the sampling module of the terminal device, and the first charge pump chip or the second charge pump chip does not need to have sampling capability, which is conducive to reducing the cost of the charge pump chip.
[0228] In one possible implementation, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, or, the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device.
[0229] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, in some implementations, the second charge pump chip can obtain the voltage value across the fifth resistor from the first charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor; in other implementations, the second charge pump chip can obtain the voltage value across the fifth resistor from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor.
[0230] In this way, the first charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, or the second charge pump chip controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, without relying on other chips to adjust the switching frequency, which is beneficial to saving information transmission with other chips.
[0231] If the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device, in some implementations, the processor of the terminal device can obtain the voltage value across the fifth resistor from the first charge pump chip or the second charge pump chip, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor; in other implementations, the processor of the terminal device can obtain the voltage value across the fifth resistor from the sampling module, and adjust the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip based on the voltage value across the fifth resistor.
[0232] In this way, the processor of the terminal device controls and adjusts the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip, and the charge pump chip does not need to have the control and adjustment capability, which is beneficial to reducing the cost of the charge pump chip.
[0233] The above introduces adjusting the switching frequency of the two charge pump chips so that the current flowing through the two charge pump chips is smaller. The embodiment of the present application can also adjust the switching frequency of the two charge pump chips so that the current flowing through the two charge pump chips is larger, which is the opposite of the above scheme, that is, reversely adjusting the switching frequency of the charge pump chips, which will not be repeated here.
[0234] It should be noted that the module names involved in the embodiments of the present application can be defined as other names as long as the functions of each module can be achieved, and there is no specific restriction on the names of the modules.
[0235] The charging control method of the embodiment of the present application has been described above, and the device for executing the above charging control method provided by the embodiment of the present application is described below. Those skilled in the art can understand that the method and the device can be combined and referenced with each other, and the relevant device provided by the embodiment of the present application can execute the steps in the above charging control method.
[0236] In order to achieve the above functions, the device for implementing the charging control method includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the method steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0237] The embodiment of the present application can divide the functional modules of the device for implementing the charging control method according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0238] The present application embodiment also provides a computer program product including one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. For example, the available medium may include a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0239] The present application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer-readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another. The storage medium may be any target medium that can be accessed by a computer.
[0240] As a possible design, the computer readable medium may include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disc storage; the computer readable medium may include a magnetic disk storage or other magnetic disk storage device. Moreover, any connection line may also be appropriately referred to as a computer readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology (such as infrared, radio and microwave), the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while optical discs reproduce data optically using lasers.
[0241] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
Claims
1. A charging control method, characterized in that: Applied to a terminal device, the terminal device comprises a first charge pump chip, a second charge pump chip and a battery unit, wherein the battery unit comprises a first positive terminal and a second positive terminal, the first positive terminal and the second positive terminal are connected, the first charge pump chip is connected to the first positive terminal of the battery unit, and the second charge pump chip is connected to the second positive terminal of the battery unit; The method comprises: Charging the battery unit through the first charge pump chip and the second charge pump chip; At a first moment, a current flowing through the first charge pump chip is a first current, and a current flowing through the second charge pump chip is a second current; a ratio between the first current and the second current does not fall within a first target range, the first current is greater than the second current, and the first current is greater than or equal to a first threshold current; At a second moment, the first switching frequency of the second charge pump chip is adjusted to a second switching frequency, the second switching frequency is greater than the first switching frequency, and the second moment is later than the first moment; At a third moment, the current flowing through the first charge pump chip is a third current, the current flowing through the second charge pump chip is a fourth current, the ratio of the third current to the fourth current does not belong to the first target range, the third current is less than the first current, the fourth current is greater than the second current, the third current is greater than the fourth current, and the third current is less than the first threshold current, and the third moment is later than the second moment; At a fourth moment, the third switching frequency of the first charge pump chip is adjusted to a fourth switching frequency, the fourth switching frequency is less than the third switching frequency, and the fourth moment is later than the third moment; At a fifth moment, the current flowing through the first charge pump chip is a fifth current, the current flowing through the second charge pump chip is a sixth current, the ratio of the fifth current to the sixth current does not belong to the first target range, the fifth current is less than the first current, the sixth current is greater than the second current, the fifth current is greater than the sixth current, and the fifth current is greater than the first threshold current, and the fifth moment is later than the second moment; At a sixth moment, the fifth switching frequency of the second charge pump chip is adjusted to a sixth switching frequency, the sixth switching frequency is greater than the fifth switching frequency, and the sixth switching frequency is greater than or equal to the first frequency threshold, and the sixth moment is later than the fifth moment; At the seventh moment, the current flowing through the first charge pump chip is the seventh current, the current flowing through the second charge pump chip is the eighth current, the seventh current is less than the fifth current, the eighth current is greater than the sixth current, the ratio between the seventh current and the eighth current does not belong to the first target range, the seventh current is greater than the eighth current, and the seventh moment is later than the sixth moment; At an eighth moment, the seventh switching frequency of the first charge pump chip is adjusted to an eighth switching frequency, the eighth switching frequency is less than the seventh switching frequency, and the eighth moment is later than the seventh moment.
2. The method according to claim 1, characterized in that The method further comprises: At a ninth moment, the current flowing through the first charge pump chip is a ninth current, and the current flowing through the second charge pump chip is a tenth current; the ratio between the ninth current and the tenth current does not belong to the first target range, the ninth current is less than the tenth current, and the tenth current is greater than or equal to the second threshold current, and the ninth moment is later than the fourth moment; At a tenth moment, the ninth switching frequency of the first charge pump chip is adjusted to a tenth switching frequency, the tenth switching frequency is greater than the ninth switching frequency, and the tenth moment is later than the ninth moment; At an eleventh moment, the current flowing through the first charge pump chip is an eleventh current, the current flowing through the second charge pump chip is a twelfth current, the ratio of the eleventh current to the twelfth current does not belong to the first target range, the eleventh current is less than the twelfth current, the twelfth current is less than the tenth current, the eleventh current is greater than the ninth current, and the twelfth current is less than the second threshold current, and the eleventh moment is later than the tenth moment; At the twelfth moment, the eleventh switching frequency of the second charge pump chip is adjusted to the twelfth switching frequency, the twelfth switching frequency is less than the eleventh switching frequency, and the twelfth moment is later than the eleventh moment.
3. The method according to claim 2, characterized in that The method further comprises: At the thirteenth moment, the current flowing through the first charge pump chip is the thirteenth current, the current flowing through the second charge pump chip is the fourteenth current, the ratio between the thirteenth current and the fourteenth current does not belong to the first target range, the thirteenth current is greater than the ninth current, the fourteenth current is less than the tenth current, the thirteenth current is less than the fourteenth current, and the fourteenth current is greater than the second threshold current, and the thirteenth moment is later than the tenth moment; At a fourteenth moment, the thirteenth switching frequency of the first charge pump chip is adjusted to a fourteenth switching frequency, the fourteenth switching frequency is greater than the thirteenth switching frequency, and the fourteenth switching frequency is greater than or equal to the second frequency threshold, and the fourteenth moment is later than the thirteenth moment; At the fifteenth moment, the current flowing through the first charge pump chip is the fifteenth current, the current flowing through the second charge pump chip is the sixteenth current, the fifteenth current is greater than the thirteenth current, the sixteenth current is less than the fourteenth current, the ratio between the fifteenth current and the sixteenth current does not belong to the first target range, the sixteenth current is greater than the fifteenth current, and the fifteenth moment is later than the fourteenth moment; At the sixteenth moment, the fifteenth switching frequency of the second charge pump chip is adjusted to the sixteenth switching frequency, the sixteenth switching frequency is less than the fifteenth switching frequency, and the sixteenth moment is later than the fifteenth moment.
4. The method according to claim 1, characterized in that: The terminal device also includes a first resistor and a second resistor. The first charge pump chip includes the first resistor, and the second charge pump chip includes the second resistor. The current flowing through the first charge pump chip is the current flowing through the first resistor, and the current flowing through the second charge pump chip is the current flowing through the second resistor.
5. The method according to claim 1, characterized in that The terminal device also includes a third resistor and a fourth resistor. The first charge pump chip is connected to the first positive terminal of the battery cell through the third resistor, and the second charge pump chip is connected to the second positive terminal of the battery cell through the fourth resistor. The current flowing through the first charge pump chip is the current flowing through the third resistor, and the current flowing through the second charge pump chip is the current flowing through the fourth resistor.
6. The method according to claim 4 or 5, characterized in that: The current flowing through the first charge pump chip is collected by the first charge pump chip, and the current flowing through the second charge pump chip is collected by the second charge pump chip; or, The current flowing through the first charge pump chip and the current flowing through the second charge pump chip are both collected by the sampling module of the terminal device.
7. The method according to any one of claims 1 to 5, characterized in that The switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, or the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, or the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device.
8. A charging control method, characterized in that: Applied to a terminal device, the terminal device includes a first charge pump chip, a second charge pump chip, a battery unit and a fifth resistor, wherein the battery unit includes a first positive terminal and a second positive terminal, the fifth resistor is connected between the first positive terminal and the second positive terminal, the first charge pump chip is connected to the first positive terminal of the battery unit, and the second charge pump chip is connected to the second positive terminal of the battery unit; The method further comprises: At the seventeenth moment, the voltage value across the fifth resistor does not belong to the second target range, and the voltage at one end of the fifth resistor connected to the first charge pump chip is greater than the voltage at one end of the fifth resistor connected to the second charge pump chip, and the seventeenth switching frequency of the second charge pump chip is adjusted to the eighteenth switching frequency, and the eighteenth switching frequency is greater than the seventeenth switching frequency; At the eighteenth moment, the voltage value across the fifth resistor does not fall within the second target range, and the voltage at one end of the fifth resistor connected to the first charge pump chip is greater than the voltage at one end of the fifth resistor connected to the second charge pump chip, and the switching frequency of the second charge pump chip is greater than or equal to the second frequency threshold. The nineteenth switching frequency of the first charge pump chip is adjusted to the twentieth switching frequency, and the twentieth switching frequency is less than the nineteenth switching frequency. The eighteenth moment is later than the seventeenth moment.
9. The method according to claim 8, characterized in that The voltage value across the fifth resistor is collected by the first charge pump chip, or the voltage value across the fifth resistor is collected by the second charge pump chip, or the voltage value across the fifth resistor is collected by the sampling module of the terminal device.
10. The method according to claim 8 or 9, characterized in that: The switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the first charge pump chip, or the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the second charge pump chip, or the switching frequency of the first charge pump chip and the switching frequency of the second charge pump chip are both controlled and adjusted by the processor of the terminal device.
11. A terminal device, characterized in that: include: A first charge pump chip, a second charge pump chip and a battery cell, the battery cell comprising a first positive terminal and a second positive terminal, the first positive terminal and the second positive terminal are connected, the first charge pump chip is connected to the first positive terminal of the battery cell, the second charge pump chip is connected to the second positive terminal of the battery cell, the first charge pump chip is used to execute the method as described in any one of claims 1 to 3, or the second charge pump chip is used to execute the method as described in any one of claims 1 to 3, or the processor of the terminal device is used to execute the method as described in any one of claims 1 to 3.
12. The terminal device according to claim 11, characterized in that: The terminal device also includes a first resistor and a second resistor, the first charge pump chip includes the first resistor, the second charge pump chip includes the second resistor, the first charge pump chip is used to execute the method as claimed in claim 4, or the second charge pump chip is used to execute the method as claimed in claim 4, or the processor of the terminal device is used to execute the method as claimed in claim 4.
13. The terminal device according to claim 11, characterized in that: The terminal device also includes a third resistor and a fourth resistor, the first charge pump chip is connected to the first positive terminal of the battery cell through the third resistor, and the second charge pump chip is connected to the second positive terminal of the battery cell through the fourth resistor, the first charge pump chip is used to execute the method as claimed in claim 5, or the second charge pump chip is used to execute the method as claimed in claim 6, or the processor of the terminal device is used to execute the method as claimed in claim 5.
14. A terminal device, characterized in that: include: A first charge pump chip, a second charge pump chip, a battery cell and a fifth resistor, the battery cell comprising a first positive terminal and a second positive terminal, the fifth resistor being connected between the first positive terminal and the second positive terminal, the first charge pump chip being connected to the first positive terminal of the battery cell, and the second charge pump chip being connected to the second positive terminal of the battery cell; the first charge pump chip being used to execute the method as claimed in claim 8, or the second charge pump chip being used to execute the method as claimed in claim 8, or the processor of the terminal device being used to execute the method as claimed in claim 8.
Citation Information
Patent Citations
Charging method, electronic device and computer-readable storage medium
WO2023098347A1