Chip, terminal equipment and system power supply method

By multiplexing the boost function and step-down circuit of the switching capacitor circuit in the chip, the problem of low-voltage lithium batteries being unable to supply power when the input source is insufficient, and the continuity and economicality of system power supply are achieved.

CN119496237APending Publication Date: 2025-02-21HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311048623.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-17
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

Lithium batteries in low voltage state cannot be directly used for power supply to the terminal equipment system, especially when the input source load capacity is insufficient.

Method used

A chip is designed, including a switching capacitor circuit, a step-down circuit and a control circuit. By multiplexing the boost function of the switching capacitor circuit, the battery discharge voltage is raised, and the target voltage is output through the step-down circuit for use by the system.

Benefits of technology

It realizes that when the load capacity of the input source is insufficient, the low-voltage battery can continuously supply power to the system, avoiding additional circuit paths and saving chip space and hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496237A_ABST
    Figure CN119496237A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a chip, terminal equipment and a system power supply method. The chip comprises a first switching tube, a first comparator, a voltage sampling circuit, a control circuit, a switched capacitor circuit and a step-down circuit, the first switch tube is connected with an input source and the switched capacitor circuit which is connected with the battery, and the step-down circuit is connected with the first switch tube and the system. The voltage sampling circuit is connected with the system. The first comparator is connected with the voltage sampling circuit and the reference voltage and control circuit. The first comparator is used for outputting a first comparison level in response to a comparison result of the acquired system voltage and the reference voltage; and the control circuit is used for responding to the first comparison level, turning off the first switch tube, controlling the switched capacitor circuit to increase the discharge voltage of the battery, and controlling the step-down circuit to further convert the discharge voltage into the target voltage, so that the low-voltage battery supplies power to the system. Therefore, the chip space can be saved and the hardware cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of charging technology, and in particular to a chip, a terminal device and a system power supply method. Background Art

[0002] At present, the discharge voltage of lithium batteries with graphite negative electrode materials is sufficient to support the normal operation of the system of terminal devices such as mobile phones, but the residual power of lithium batteries with graphite negative electrode materials is less at a discharge voltage of 3.2V. In contrast, lithium batteries with silicon negative electrode materials have a larger battery capacity under the same battery volume, and silicon negative electrode batteries have more residual power under low voltage state, but the low-voltage charging and discharging technology of silicon negative electrode batteries is not yet mature, and batteries under low voltage state cannot be directly used to power the system.

[0003] Therefore, how to control the battery to supply power to the system under low voltage state is an urgent problem to be solved. Summary of the invention

[0004] A chip, a terminal device and a system power supply method provided in the embodiments of the present application are used to solve the problem that a battery in a low-voltage state cannot be directly used to power the system.

[0005] In a first aspect, the present design provides a chip, the chip comprising a first switch tube, a first comparator, a voltage sampling circuit, a control circuit, a switch capacitor circuit and a step-down circuit;

[0006] The first end of the first switch tube is used to connect to the input source; the first end of the switch capacitor circuit is connected to the second end of the first switch tube, the second end of the switch capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the second end of the first switch tube, and the second end of the step-down circuit is connected to the system; the first end of the voltage sampling circuit is connected to the system, the second end of the voltage sampling circuit is connected to the first input end of the first comparator, the second input end of the first comparator is used to connect to the reference voltage, the output end of the first comparator is connected to the control circuit, and the output end of the control circuit is respectively connected to the control end of the first switch tube, the control end of the switch capacitor circuit and the control end of the step-down circuit;

[0007] Voltage sampling circuit, used for collecting system voltage;

[0008] A first comparator, configured to output a first comparison level in response to a comparison result between the system voltage and the reference voltage;

[0009] It should be noted that if the input source load capacity cannot support the system current demand, the system voltage will drop to the voltage threshold, for example, drop to 3.1V. Therefore, it can be confirmed by voltage comparison that the input source load capacity cannot support the system current demand, and the system power supply mode can be further switched through the control circuit.

[0010] The control circuit is used to turn off the first switch tube in response to the first comparison level so that the input source stops supplying power to the battery and the system. In addition, the control circuit is also used to control the switch capacitor circuit to increase the battery discharge voltage to the first voltage in response to the first comparison level, and control the step-down circuit to convert the first voltage into a target voltage so that the battery supplies power to the system.

[0011] It should be noted that traditional charging chips are equipped with switched capacitor circuits, such as Dickson charge pumps. The boost function of the charge pump is generally used in scenarios where mobile phones charge each other. For example, a mobile phone battery is discharged through a charge pump boost and charges another mobile phone through a Universal Serial Bus (USB) interface.

[0012] Based on this technical solution, when the load capacity of the input source is insufficient, the system power supply voltage will drop to the voltage threshold, the control circuit controls the input source to stop input, and controls the on and off of the switch tube in the switch capacitor circuit to raise the discharge voltage of the battery, and further the step-down circuit in the chip steps down the raised discharge voltage and outputs the target voltage to supply power to the system;

[0013] Since the controller can control the battery boost discharge by reusing the switch capacitor circuit in the chip, there is no need to set up an additional power replenishment path to raise the battery discharge voltage. This can solve the problem that the low-voltage battery cannot continuously supply power to the system when the input source power supply is insufficient.

[0014] In addition, since the design does not require the provision of an additional power supply path, it also saves chip space occupied by peripheral devices and reduces hardware costs.

[0015] In a possible design, the chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit;

[0016] The control circuit is also used to turn off the second switch tube in response to the first comparison level.

[0017] It can be understood that in the slow charging mode, the control circuit controls the buck circuit to reduce the input source voltage and outputs the stepped-down input source voltage to the system. At the same time, since the second switch tube is in the on state, the control circuit also outputs the stepped-down input source voltage to the battery to charge the battery.

[0018] In this case, if the input source load capacity is insufficient, the trigger control circuit switches the input source independent load state to the battery independent load state. Therefore, when the input source load capacity is insufficient, the control circuit in this design turns off the second switch tube to prevent the second switch tube from short-circuiting the switch capacitor circuit, thereby allowing the battery to output voltage to the switch capacitor circuit.

[0019] In a possible design, the chip further includes a first current sampling circuit, a second comparator and a high level filter;

[0020] The input end of the first current sampling circuit is connected to the system, the output end of the first current sampling circuit is connected to the first input end of the second comparator, the second input end of the second comparator is used to access the first reference current, and the output end of the second comparator is connected to the control circuit;

[0021] A first current sampling circuit, used for collecting system current;

[0022] a second comparator, configured to output a second comparison level in response to a comparison result between the system current and the first reference current;

[0023] It should be noted that in the process of the battery supplying power to the system, the load pressure is relieved and the system current gradually decreases. Therefore, the system current demand can be inferred by monitoring the system current change and then comparing the system current with the preset first reference current.

[0024] The level filter is used to output an indication signal in response to the duration of receiving the second comparison level exceeding a preset duration; wherein the indication signal represents that the system current is within a preset range.

[0025] It can be understood that in order to accurately infer the system current demand, this design not only needs to determine that the system current is small, but also needs to determine that the state of small system current is stable to avoid misjudgment caused by unstable system current.

[0026] Based on the technical solution of this design, when powered by a battery, this design determines whether the system current drops to a normal range by comparing the system current with a preset reference current. Furthermore, this design determines whether the system current is stable within the normal range of the system current by comparing the duration.

[0027] The fact that the system current is within the normal range and remains stable indicates that the system can be powered by the input source. Therefore, the control circuit can control the battery to stop supplying power to the system and control the input source to carry the load independently, thereby avoiding wasting battery power and saving battery cycles.

[0028] In one possible design, the chip further includes a protocol circuit, and the protocol circuit is connected to the control circuit;

[0029] A protocol circuit, used to establish a communication connection with an input source based on a preset charging protocol, and output a fast charging mode signal or a slow charging mode signal;

[0030] A control circuit, configured to respond to the indication signal and the fast charge mode signal, stop responding to the first comparison level, turn on the first switch tube and turn off the second switch tube, control the switch capacitor circuit to reduce the input source voltage to the second voltage, and control the step-down circuit to reduce the input source voltage to the target voltage;

[0031] or

[0032] In response to the indication signal and the slow charge mode signal, the first comparison level is stopped, the first switch tube and the second switch tube are turned on, and the buck circuit is controlled to convert the input source voltage into the target voltage.

[0033] Exemplarily, the input source is powered by connecting the terminal device to a power adapter, and the protocol circuit in the terminal device chip shakes hands with the power adapter based on a preset charging protocol and selects a corresponding charging mode;

[0034] For example, if the power adapter is of the fast charging type, the control circuit controls the buck circuit to step down the input voltage of the input source and then supply power to the system based on the fast charging mode signal and the indication signal, and controls the switch capacitor circuit to step down the input voltage of the input source and then supply power to the battery;

[0035] If the power adapter is of the slow-charging type, the control circuit controls the buck circuit to buck the input voltage of the input source based on the slow-charging mode signal and the indication signal to supply power to the system and the battery.

[0036] Based on the technical solution of this design, when the system current is within the normal range and remains stable, the control circuit controls the battery to stop supplying power to the system, and selects the corresponding charging path in combination with the mode signal output by the protocol circuit to realize the input source charging the battery, thereby realizing the exit of battery power supply and accurate restoration of system power supply, thereby saving battery power and the number of charge and discharge cycles;

[0037] In addition, the control circuit can control the input source to independently carry the load, ensuring the continuity and economy of the system power supply.

[0038] In a second aspect, the present design provides a chip, the chip comprising a second current sampling circuit, a third comparator, a control circuit, a switch capacitor circuit and a step-down circuit;

[0039] The first end of the switch capacitor circuit is used to access the input source, the second end of the switch capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the first end of the switch capacitor circuit, and the second end of the step-down circuit is connected to the system; the first end of the second current sampling circuit is connected to the first end of the switch capacitor circuit, the output end of the second current sampling circuit is connected to the first input end of the third comparator, the second input end of the third comparator is used to access the second reference current, the output end of the third comparator is connected to the input end of the control circuit, and the output end of the control circuit is respectively connected to the control end of the switch capacitor circuit and the control end of the step-down circuit;

[0040] A second current sampling circuit, used for collecting input source current;

[0041] a third comparator, configured to output a third comparison level in response to a comparison result between the input source current and the second reference current;

[0042] The control circuit is used for controlling the switch capacitor circuit to increase the battery discharge voltage to the first voltage in response to the third comparison level, and controlling the step-down circuit to convert the first voltage into a target voltage so that the battery supplies power to the system.

[0043] It can be understood that when there is no input source, the battery independently supplies power to the system. Therefore, the control circuit can reuse the boost function of the switch capacitor circuit to boost the battery voltage and then supply power to the system.

[0044] Since the low-voltage battery in the traditional architecture requires an additional power supply path to raise the discharge voltage of the battery when there is no input source, and then the voltage is reduced by the step-down circuit to power the system. The control circuit in the technical solution controls the on and off of the switch tube in the switch capacitor circuit to raise the discharge voltage of the battery. The step-down circuit in the chip further reduces the raised discharge voltage and outputs the target voltage to power the system.

[0045] Therefore, there is no need to set up an additional power replenishment path to raise the battery discharge voltage, which can solve the problem that the low-voltage battery cannot continuously supply power to the system when the input source power supply is insufficient;

[0046] In addition, since the design does not require the provision of an additional power supply path, it also saves chip space occupied by peripheral devices and reduces hardware costs.

[0047] In a possible design, the chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit;

[0048] The control circuit is further used to turn off the second switch tube in response to the third comparison level.

[0049] It can be understood that when there is no input source, the battery should be controlled to independently power the system. Since a second switch tube is generally configured in the slow charging path, if the second switch tube is not turned off, the second switch tube will short-circuit the switch capacitor circuit, causing the battery discharge voltage to directly power the system.

[0050] Therefore, when there is no input source, the control circuit in this design needs to turn off the second switch tube to prevent the second switch tube from being turned on and short-circuiting the switch capacitor circuit, thereby raising the discharge voltage of the battery by reusing the switch capacitor circuit, and then stepping down the voltage to supply power to the system through the step-down circuit.

[0051] In the third aspect, the present design provides a terminal device, which includes a battery, a system and a chip as described in any one of the first aspect or the second aspect, wherein the battery interface of the chip is used to connect to the battery, the power supply interface of the chip is used to connect to the system, and the serial communication USB interface of the chip is used to connect to the input source.

[0052] In a fourth aspect, the present design provides a system power supply method, which is applied to a chip, wherein the chip includes a first switch tube, a first comparator, a voltage sampling circuit, a control circuit, a switch capacitor circuit and a step-down circuit;

[0053] The first end of the first switch tube is used to connect to the input source; the first end of the switch capacitor circuit is connected to the second end of the first switch tube, the second end of the switch capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the second end of the first switch tube, and the second end of the step-down circuit is connected to the system; the first end of the voltage sampling circuit is connected to the system, the second end of the voltage sampling circuit is connected to the first input end of the first comparator, the second input end of the first comparator is used to connect to the reference voltage, the output end of the first comparator is connected to the control circuit, and the output end of the control circuit is respectively connected to the control end of the first switch tube, the control end of the switch capacitor circuit and the control end of the step-down circuit;

[0054] The method includes:

[0055] The voltage sampling circuit collects the system voltage;

[0056] The first comparator outputs a first comparison level in response to a comparison result between the system voltage and the reference voltage;

[0057] In response to the first comparison level, the control circuit turns off the first switch tube, controls the switch capacitor circuit to increase the battery discharge voltage to the first voltage, and controls the step-down circuit to convert the first voltage into a target voltage so that the battery supplies power to the system.

[0058] It should be noted that in order to solve the problem of insufficient load capacity of the input source, the traditional system power supply method usually provides an additional power supplement path to raise the discharge voltage of the battery, thereby solving the problem of insufficient load capacity of the input source and the inability of the low-voltage battery to power the system by jointly loading the input source and the battery. The technical solution of the present application is to raise the battery discharge voltage by reusing the boost function of the switched capacitor circuit when the load capacity of the input source is insufficient, thereby solving the problem of the low-voltage battery being unable to continuously supply power to the system when the input source power supply is insufficient.

[0059] Based on the technical solution, the control circuit can control the battery boost discharge by reusing the switching capacitor circuit in the chip, thereby realizing the low-voltage battery powering the system. Compared with the traditional power supply solution, the chip of the present design does not need to set up an additional power supply path, thereby saving chip space and reducing hardware costs. In addition, when the input source load capacity is insufficient, the traditional power supply solution switches from independent input source load to joint battery input source load, while the power supply solution of the present design switches from independent input source load to independent battery load, which is beneficial to improve the stability of the power supply system.

[0060] In a possible design, the chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit;

[0061] The method further includes:

[0062] The control circuit turns off the second switch tube in response to the first comparison level.

[0063] It can be understood that in the slow charging mode, the control circuit controls the buck circuit to reduce the input source voltage and outputs the stepped-down input source voltage to the system. At the same time, since the second switch tube is in the on state, the control circuit also outputs the stepped-down input source voltage to the battery to charge the battery.

[0064] In this case, if the input source has insufficient load capacity, the trigger control circuit needs to switch the input source independent load state to battery independent load state. In this case, the second switch tube should be turned off, otherwise the second switch tube will be turned on to short-circuit the switch capacitor circuit, thereby causing the battery discharge voltage to directly power the system.

[0065] In a possible design, the chip further includes a first current sampling circuit, a second comparator and a high level filter;

[0066] The input end of the first current sampling circuit is connected to the system, the output end of the first current sampling circuit is connected to the first input end of the second comparator, the second input end of the second comparator is used to access the first reference current, and the output end of the second comparator is connected to the control circuit;

[0067] After the control circuit turns off the first switch tube in response to the first comparison level, controls the switch capacitor circuit to increase the battery discharge voltage to the first voltage, and controls the step-down circuit to convert the first voltage into a target voltage so that the battery supplies power to the system, the method further includes:

[0068] The first current sampling circuit collects system current;

[0069] The second comparator outputs a second comparison level in response to a comparison result between the maximum system current and the first reference current;

[0070] The level filter outputs an indication signal in response to the duration of receiving the second comparison level exceeding a preset duration; wherein the indication signal indicates that the system current is within a preset range.

[0071] Based on the technical solution of the present design, when powered by a battery, the system current is determined to be restored to a normal range by current comparison and time judgment. Furthermore, the system current being within the normal range indicates that the system can be powered by the input source. Therefore, the control circuit can control the battery to stop powering the system and control the input source to carry the load independently, thereby avoiding wasting battery power and saving battery cycles.

[0072] In one possible design, the chip further includes a protocol circuit, and the protocol circuit is connected to the control circuit;

[0073] The method further includes:

[0074] The protocol circuit establishes a communication connection with the input source based on a preset charging protocol and outputs a fast charging mode signal or a slow charging mode signal;

[0075] After the level filter outputs an indication signal in response to the duration of receiving the second comparison level exceeding a preset duration, the method further includes:

[0076] The control circuit responds to the indication signal and the fast charge mode signal, stops responding to the first comparison level, turns on the first switch tube and turns off the second switch tube, controls the switch capacitor circuit to reduce the input source voltage to the second voltage, and controls the step-down circuit to reduce the input source voltage to the target voltage;

[0077] or

[0078] In response to the indication signal and the slow charge mode signal, the first comparison level is stopped, the first switch tube and the second switch tube are turned on, and the buck circuit is controlled to convert the input source voltage into the target voltage.

[0079] Exemplarily, the input source supplies power to the terminal device based on a power adapter, and the protocol circuit shakes hands with the power adapter based on a preset charging protocol and selects a corresponding charging mode;

[0080] For example, if the power adapter is of the fast charging type, the control circuit controls the buck circuit to step down the input voltage of the input source and then supply power to the system based on the fast charging mode signal and the indication signal, and controls the switch capacitor circuit to step down the input voltage of the input source and then supply power to the battery;

[0081] If the power adapter is of the slow-charging type, the control circuit controls the buck circuit to buck the input voltage of the input source based on the slow-charging mode signal and the indication signal to supply power to the system and the battery.

[0082] Based on the technical solution of this design, when powered by a battery, this design determines whether the system current drops to a normal range by comparing the system current with a preset reference current. Furthermore, this design determines whether the system current is stable within the normal range of the system current by comparing the duration.

[0083] When the system current is within the normal range and remains stable, the control circuit controls the battery to stop supplying power to the system, and selects the corresponding charging path in combination with the mode signal output by the protocol circuit to enable the input source to charge the battery, thereby achieving independent load carrying by the input source and ensuring the continuity and economy of the system power supply.

[0084] In a fifth aspect, the present design provides a system power supply method, which is applied to a chip, wherein the chip includes a second current sampling circuit, a third comparator, a control circuit, a switch capacitor circuit and a step-down circuit;

[0085] The first end of the switch capacitor circuit is used to access the input source, the second end of the switch capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the first end of the switch capacitor circuit, and the second end of the step-down circuit is connected to the system; the first end of the second current sampling circuit is connected to the first end of the switch capacitor circuit, the output end of the second current sampling circuit is connected to the first input end of the third comparator, the second input end of the third comparator is used to access the second reference current, the output end of the third comparator is connected to the input end of the control circuit, and the output end of the control circuit is respectively connected to the control end of the switch capacitor circuit and the control end of the step-down circuit;

[0086] The method includes:

[0087] The second current sampling circuit collects the input source current;

[0088] The third comparator outputs a third comparison level in response to a comparison result between the input source current and the second reference current;

[0089] In response to the third comparison level, the control circuit controls the switch capacitor circuit to increase the battery discharge voltage to the first voltage, and controls the step-down circuit to convert the first voltage into a target voltage, so that the battery supplies power to the system.

[0090] It can be understood that when there is no input source, the battery independently supplies power to the system. Therefore, the control circuit can reuse the boost function of the switch capacitor circuit to boost the battery voltage and then supply power to the system.

[0091] Since the low-voltage battery in the traditional architecture requires an additional power supply path to raise the discharge voltage of the battery when there is no input source, and then the voltage is reduced by the step-down circuit to power the system. The control circuit in the technical solution controls the on and off of the switch tube in the switch capacitor circuit to raise the discharge voltage of the battery. The step-down circuit in the chip further reduces the raised discharge voltage and outputs the target voltage to power the system.

[0092] Therefore, there is no need to set up an additional power replenishment path to raise the battery discharge voltage, which can solve the problem that the low-voltage battery cannot continuously supply power to the system when the input source power supply is insufficient;

[0093] In addition, since the design does not require the provision of an additional power supply path, it also saves chip space occupied by peripheral devices and reduces hardware costs.

[0094] In a possible design, the chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit;

[0095] The control circuit turns off the second switch tube in response to the third comparison level.

[0096] It can be understood that when there is no input source, the battery should be controlled to independently power the system. Since a second switch tube is generally configured in the slow charging path, if the second switch tube is not turned off, the second switch tube will short-circuit the switch capacitor circuit, causing the battery discharge voltage to directly power the system.

[0097] Therefore, when there is no input source, the control circuit in this design needs to turn off the second switch tube to prevent the second switch tube from being turned on and short-circuiting the switch capacitor circuit, thereby controlling the switch capacitor circuit to raise the discharge voltage of the battery, and then stepping down the voltage to supply power to the system through the step-down circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] Figure 1 A schematic diagram of charging a terminal device;

[0099] Figure 2a A schematic diagram of a fast charging path for a terminal device;

[0100] Figure 2b A schematic diagram of a battery loading path of a terminal device;

[0101] Figure 2c A schematic diagram of a slow charging path for a terminal device;

[0102] Figure 3a A schematic diagram of the structure of a chip provided in an embodiment of the present application;

[0103] Figure 3bA schematic diagram of the structure of another chip provided in an embodiment of the present application;

[0104] Figure 4a A schematic diagram of the structure of another chip provided in an embodiment of the present application;

[0105] Figure 4b A schematic diagram of the structure of another chip provided in an embodiment of the present application;

[0106] Figure 5 A schematic diagram of the structure of another chip provided in an embodiment of the present application;

[0107] Figure 6a A schematic diagram of the structure of another chip provided in an embodiment of the present application;

[0108] Figure 6b A schematic diagram of the structure of another chip provided in an embodiment of the present application;

[0109] Figure 7 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0110] Figure 8 A schematic diagram of a flow chart of a system power supply method provided in an embodiment of the present application;

[0111] Fig. 9 A flowchart of another system power supply method provided in an embodiment of the present application;

[0112] Fig.10 A flowchart of another system power supply method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0113] In order to make the purpose, technical solution and advantages of this application clearer, the technical problems to be solved by this application will be described below in combination with the application background:

[0114] At present, considering that silicon negative electrode batteries have larger battery capacity under low voltage conditions, most manufacturers will use silicon negative electrode materials to make lithium batteries. Experimental measurements have shown that there is about 8% power between the voltage of silicon negative electrode batteries ranging from 3.2V to 2.5V, but the low-voltage charging and discharging technology of silicon negative electrode batteries is not yet mature, which results in the inability of silicon negative electrode batteries under low voltage to directly power the system.

[0115] For example, the discharge voltage of a silicon negative electrode battery under low voltage is 2.5V, while the power supply voltage required by the system is prohibited from dropping below 3.1V. Therefore, the battery cannot meet the power supply requirements of the system without adding a power replenishment path.

[0116] like Figure 1As shown, the USB interface 1011 of the terminal device 101 can be connected to the power adapter 102, and the power adapter 102 can provide power to the terminal device 101 after being plugged into an input source.

[0117] It should be noted that the terminal device 101 can be a portable electronic product such as a mobile phone or a drone, and the battery in the terminal device 101 can be a single-cell lithium battery or multiple-cell lithium batteries.

[0118] To facilitate understanding of the technical solution of this application, the following introduces the traditional terminal equipment power supply solution:

[0119] First, after the input source is connected to the terminal device 101, the power adapter 102 and the terminal device 101 shake hands according to the charging protocol to determine the voltage and current standards to be used. In this process, it can be determined whether the terminal device 101 enters the fast charging mode or the slow charging mode. Further, the chip of the terminal device 101 selects a charging path based on the fast charging mode or the slow charging mode to charge the battery of the terminal device 101 and power the system at the same time.

[0120] During the power supply process of the terminal device 101, if the system load of the terminal device 101 is too large, the system current demand will increase. When the system current demand increases to a certain extent, the load capacity of the input source is insufficient, and the chip will switch from the working mode of independent input source load to the working mode of joint input source and battery load to meet the system power supply demand.

[0121] For example, Figure 2a to 2c As shown, the chip 201 of the terminal device 101 includes a first switch tube Q1, a second switch tube Q2, a buck circuit 2011, a switch capacitor circuit 2012, a power-supplementing circuit 2013, and a control circuit 2014 (the control circuit 2014 is respectively connected to the control ends of the first switch tube Q1, the second switch tube Q2, the buck circuit 2011, the switch capacitor circuit 2012, and the power-supplementing circuit 2013, Figure 2a not shown).

[0122] In the fast charging mode, the control circuit 2014 controls the first switch tube Q1 to be turned on, and controls the second switch tube Q2 to be turned off, and the input source voltage is stepped down by the DC-DC converter to meet the power supply demand of the system;

[0123] In addition, in order to adapt to high current charging and reduce the loss caused by line resistance and battery internal resistance heating, most manufacturers use switched capacitor circuits to support fast charging mode. Figure 2a The terminal device 101 shown further includes a switched capacitor circuit 2012. Furthermore, the input source voltage is stepped down by the step-down circuit 2011 to charge the battery 203.

[0124] like Figure 2bAs shown, if the current demand of the system 204 increases in the fast charging mode and the load capacity of the input source 202 cannot support the power supply demand of the system 204, the voltage of the system 204 will drop to the preset voltage value. At this time, the control circuit 2014 maintains the normal input of the input source 202 and controls the discharge of the battery 203 at the same time. The discharge voltage of the battery 203 is raised by the power replenishment circuit 2013, so that the input source 202 and the battery 203 jointly supply power to the system 204.

[0125] like Figure 2c As shown, in the slow charging mode, the control circuit 2014 controls the switch tube Q1 to be turned on and the switch tube Q2 to be turned on, and the input source voltage is stepped down by the DC-DC converter to charge the system 204 and the battery 203.

[0126] like Figure 2b As shown, if in slow charging mode, the current demand of system 204 increases and the load capacity of input source 202 cannot support the power supply demand of system 204, the system voltage will drop to a preset voltage value. At this time, the voltage of system 204 will drop to a preset voltage value, and the control circuit 2014 maintains the normal input of input source 202, while controlling the discharge of battery 203, and the discharge voltage of battery 203 is raised by the power compensation circuit 2013, so that the input source 202 and battery 203 jointly supply power to system 204.

[0127] It can be seen from the above description that when the input source 202 has insufficient load capacity, an additional power supply circuit 2013 is required to boost and discharge the battery 203 to meet the power supply requirements of the system 204, thus requiring additional area and more peripheral devices.

[0128] In addition, in the scenario where the system 204 has no external input, the battery 203 alone supplies power to the system 204, such as Figure 2b As shown, the control circuit 2014 controls the battery 203 to discharge, and the discharge voltage of the battery 203 is raised by the power compensation circuit 2013, so that the battery 203 in a low voltage state can independently supply power to the system 204.

[0129] Similarly, this method of using a low-voltage battery to power the system also requires an additional power supply path and more peripheral devices.

[0130] Based on the above problems, the embodiments of the present application provide a chip, a terminal device and a system power supply method, which are used to solve the problem of how to control a low-voltage battery to power the system.

[0131] The present application embodiment provides a chip, such as Figure 3a As shown, the chip 201 includes a first switch tube Q1, a first comparator 301, a voltage sampling circuit 302, a control circuit 2014, a switch capacitor circuit 2012 and a step-down circuit 2011;

[0132] The first end of the first switch tube Q1 is used to connect to the input source 202; the first end of the switch capacitor circuit 2012 is connected to the second end of the first switch tube Q1, the second end of the switch capacitor circuit 2012 is connected to the battery 203, the first end of the buck circuit 2011 is connected to the second end of the first switch tube Q1, and the second end of the buck circuit 2011 is connected to the system 204; the first end of the voltage sampling circuit 302 is connected to the system 204, the second end of the voltage sampling circuit 302 is connected to the first input end of the first comparator 301, the second input end of the first comparator 301 is used to connect to the reference voltage, the output end of the first comparator 301 is connected to the control circuit 2014, and the output end of the control circuit 2014 is respectively connected to the control end of the first switch tube Q1, the control end of the switch capacitor circuit 2012, and the control end of the buck circuit 2011;

[0133] It should be noted that the switched capacitor circuit 2012 is a circuit composed of multiple capacitors and multiple switch elements, and is generally used to be controlled by a control circuit to achieve voltage boost or voltage reduction of an input source;

[0134] For example, the control circuit controls the on and off of the switch elements in the switch capacitor circuit 2012 to realize the charging and discharging of the internal capacitor; since the input source voltage is superimposed on the discharge voltages of multiple capacitors, the switch capacitor circuit 2012 can realize the boost function; since multiple capacitors receive part of the input source voltage during the charging process, after the input source stops inputting voltage, only the capacitor outputs the voltage, so the switch capacitor circuit 2012 can also realize the step-down function.

[0135] It should also be noted that the buck circuit 2011 is a circuit composed of an inductor, a freewheeling diode and a switch element. The buck circuit 2011 is generally used to be controlled by a control circuit to achieve a voltage reduction of an input source voltage;

[0136] For example, the control circuit controls the on and off of the switch element of the step-down circuit 2011, so that the input source charges the inductor to store energy. Since the current on the inductor cannot change suddenly, the inductor stores some electrical energy. Further, the control circuit controls the on and off of the switch element of the step-down circuit 2011, so that the input source stops inputting voltage, and the freewheeling loop where the inductor is located supplies power to the load. Since the control time of the control circuit is short, the inductor stores less energy, thereby achieving the step-down function.

[0137] In addition, when the polarity of the inductor changes, the inductor cannot supply power to the load. Therefore, some step-down circuits 2011 also include a capacitor, which can supply power to the load when the polarity of the inductor changes, thereby ensuring the continuity of power supply.

[0138] A voltage sampling circuit 302 is used to collect the voltage of the system 204;

[0139] A first comparator 301, configured to output a first comparison level in response to a comparison result between the system 204 voltage and the reference voltage;

[0140] It should be noted that if the load capacity of the input source 202 cannot support the current demand of the system 204, the voltage of the system 204 will drop to the voltage threshold. For example, if the load of the system 204 is too large, the current demand of the system 204 increases, which causes the voltage of the system 204 to drop to 3.1V.

[0141] Therefore, it is possible to confirm whether the load capacity of the input source 202 can support the current demand of the system 204 by means of voltage comparison, and further switch the system power supply mode through the control circuit 214.

[0142] The control circuit 2014 is used to turn off the first switch tube Q1 in response to the first comparison level, so that the input source 202 stops supplying power to the battery 203 and the system 204. In addition, the control circuit 2014 is also used to control the switch capacitor circuit 2012 to increase the discharge voltage of the battery 203 to the first voltage in response to the first comparison level, and control the step-down circuit 2011 to convert the first voltage into a target voltage, so that the battery 203 supplies power to the system 204;

[0143] It should be noted that the conventional charging chip 201 is provided with a switched capacitor circuit 2012, such as a Dickson charge pump, and the boost function of the charge pump is generally used in the scenario of charging one mobile phone to another. For example, the mobile phone battery is discharged through the charge pump boost, and charges another mobile phone through a Universal Serial Bus (USB) interface.

[0144] Therefore, the control circuit 2014 of the present application can reuse the boost function of the switch capacitor circuit 2012 to raise the discharge voltage of the battery 203 to meet the power supply demand of the system 204 .

[0145] Exemplarily, the high voltage input of the input source 202 is 20V, the charge and discharge voltage of the battery 203 is 5V, the conversion ratio of the switch capacitor circuit 2012 is 4:1, and the conversion ratio of the step-down circuit 2011 is 5:1. After the USB interface takes power, and instructs the control circuit 2014 to enter the fast charge mode according to the charging protocol, the control circuit 2014 controls the switch capacitor circuit 2012 to step down 20V to 5V and charge the battery 203. At the same time, the control circuit 2014 controls the step-down circuit 2011 to step down 20V to 4V to power the system 204.

[0146] During the process of the input source 202 supplying power to the system 204 and the battery 203, the system 204 is heavily loaded and the input source 202 has insufficient load capacity, resulting in a voltage drop in the system 204. The voltage collected by the voltage acquisition circuit 302 is 3.1V. Since the reference voltage input by the first comparator 301 is 3.2V, the control circuit 2014 detects that the voltage of the system 204 drops to a preset threshold, thereby turning off the first switch tube Q1 to cut off the input of the input source 202. At the same time, the control circuit 2014 controls the switch capacitor circuit 2012 to raise the discharge voltage of the battery 203 from 5V, and controls the step-down circuit 2011 to further step down the voltage to supply power to the system 204.

[0147] The switched capacitor circuit 2012 and the buck circuit 2011 in this embodiment have multiple implementations in the art. Those skilled in the art can make various changes and modifications to the topological structures and control methods of the switched capacitor circuit 2012 and the buck circuit 2011 without departing from the technical concept of the present application. For ease of understanding, the following takes the switched capacitor circuit 2012 as a Dickson charge pump and the buck circuit 2011 as a Buck circuit as an example to explain the example:

[0148] like Figure 3b As shown, the Dickson charge pump includes switch tubes Q3-Q9 and capacitors C1-C3, and the Buck circuit includes switch tubes Q10, Q11, inductor L and capacitor C4;

[0149] When the input source 202 supplies power to the system 204 and the battery 203, the system 204 has a large load and the input source 202 has insufficient load capacity, resulting in a voltage drop in the system 204. The voltage at the output end of the inductor L collected by the voltage acquisition circuit 302 is 3.1V. Since the reference voltage input to the first comparator 301 is 3.2V, the first comparator 301 outputs a first comparison level, which indicates that the voltage of the system 204 drops to a preset threshold.

[0150] In response to the first comparison level, the control circuit 2014 turns off the first switch tube Q1 to cut off the input of the input source 202. In addition, the control circuit 2014 controls the switch tubes Q3, Q4 and Q9 of the Dickson charge pump to turn off and turns on the switch tube Q5. At this time, the battery 203 charges the capacitor C3 with a discharge voltage of 5V, and the drain A voltage of the switch tube Q5 is 5V.

[0151] Furthermore, the control circuit 2014 controls the switch tube Q9 of the Dickson charge pump to turn on and turns off the switch tube Q5. Since the capacitor C3 is equivalent to a power supply after being charged, it can be regarded as a 5V power supply connected in series with the battery to discharge the drain electrode A of the switch tube Q5. Under the superposition of the two, the voltage of the drain electrode A of the switch tube Q5 is raised to 10V.

[0152] In summary, the voltage of the drain A of the switch tube Q5 jumps between 5V and 10V, thereby achieving the effect of raising the discharge voltage of the battery 203 . The control circuit 2014 controls the Buck circuit to step down the raised battery discharge voltage to supply power to the system 204 .

[0153] Based on the technical solution of the present application, there is no need to set up an additional power supply path in the chip. The control circuit can control the battery boost discharge by reusing the switching capacitor circuit in the chip, thereby enabling the low-voltage battery to power the system, while saving chip space and reducing hardware costs.

[0154] In one possible embodiment, Figure 3a Based on the structure of the chip 201 shown, as Figure 4a As shown, the chip 201 further includes a second switch tube Q2, the second switch tube Q2 is connected between the second end of the step-down circuit 2011 and the battery 203, and the control end of the second switch tube Q2 is connected to the output end of the control circuit 2014;

[0155] The control circuit 2014 is further configured to turn off the second switch tube Q2 in response to the first comparison level.

[0156] It can be understood that in the slow charging mode, the control circuit 2014 controls the buck circuit 2011 to reduce the input source voltage and outputs the stepped-down input source voltage to the system 204. At the same time, since the second switch tube Q2 is in the on state, the control circuit 2014 also outputs the stepped-down input source voltage to the battery 203 to charge the battery 203.

[0157] In this case, if the load capacity of the input source 202 is insufficient, the trigger control circuit 2014 switches the independent load state of the input source 202 to the independent load state of the battery 203, and the second switch tube Q2 should be turned off, otherwise the second switch tube Q2 will short-circuit the switch capacitor circuit 2012, causing the discharge voltage of the battery 203 to directly supply power to the system 204.

[0158] Therefore, when the control circuit 2014 controls the battery to boost discharge to independently supply power to the system, the control circuit 2014 needs to turn off the second switch tube Q2.

[0159] It can be understood that in the process of the control circuit 2014 controlling the battery to boost discharge to independently supply power to the system, the control circuit 2014, in addition to turning off the second switch tube Q2, the control process of the control circuit 2014 can refer to the above Figure 3a Description in .

[0160] The switched capacitor circuit 2012 and the buck circuit 2011 in this embodiment have multiple implementations in the art. Those skilled in the art can make various changes and modifications to the topological structures and control methods of the switched capacitor circuit 2012 and the buck circuit 2011 without departing from the technical concept of the present application. For ease of understanding, the following takes the switched capacitor circuit 2012 as a Dickson charge pump and the buck circuit 2011 as a Buck circuit as an example to explain this embodiment:

[0161] like Figure 4b As shown, in Figure 3b On the basis of, the chip 201 further includes a second switch tube Q2.

[0162] When the input source 202 supplies power to the system 204 and the battery 203, the system 204 has a large load and the input source 202 has insufficient load capacity, resulting in a voltage drop in the system 204. The voltage at the output end of the inductor L collected by the voltage acquisition circuit 302 is 3.1V. Since the reference voltage input to the first comparator 301 is 3.2V, the first comparator 301 outputs a first comparison level, which indicates that the voltage of the system 204 drops to a preset threshold.

[0163] In response to the first comparison level, the control circuit 2014 turns off the first switch tube Q1 to cut off the input of the input source 202, and at the same time, turns off the second switch tube Q2 to ensure that the Dickson charge pump is not short-circuited.

[0164] In addition, the control circuit 2014 controls the Dickson charge pump switches Q3, Q4 and Q9 to be turned off and switches Q5 to be turned on. At this time, the battery 203 charges the capacitor C3 with a discharge voltage of 5V, and the drain A voltage of the switch Q5 is 5V.

[0165] Furthermore, the control circuit 2014 controls the switch tube Q9 of the Dickson charge pump to turn on and turns off the switch tube Q5. Since the capacitor C3 is equivalent to a power supply after being charged, it can be regarded as a 5V power supply connected in series with the battery to discharge the drain electrode A of the switch tube Q5. Under the superposition of the two, the voltage of the drain electrode A of the switch tube Q5 is raised to 10V.

[0166] In summary, the voltage of the drain A of the switch tube Q5 jumps between 5V and 10V, thereby achieving the effect of raising the discharge voltage of the battery 203 . The control circuit 2014 controls the Buck circuit to step down the raised battery discharge voltage to supply power to the system 204 .

[0167] In a possible embodiment, Figure 4aAs shown, the chip 201 also includes a first current sampling circuit 401, a second comparator 402 and a high level filter 403 (for ease of observation, the first comparator 301 and the voltage acquisition circuit 302 are not shown);

[0168] The input end of the first current sampling circuit 401 is connected to the system 204, the output end of the first current sampling circuit 401 is connected to the first input end of the second comparator 402, the second input end of the second comparator 402 is used to access the first reference current, and the output end of the second comparator 402 is connected to the control circuit 2014;

[0169] A first current sampling circuit 401, used for collecting the current of the system 204;

[0170] A second comparator 402, configured to output a second comparison level in response to a comparison result between the current of the system 204 and the first reference current;

[0171] It should be noted that in the process of battery 203 supplying power to system 204, since the power supply demand of system 204 is met, the current of system 204 will gradually decrease. Therefore, by comparing the current of system 204 with the preset first reference current, it can be inferred whether the current of system 204 has returned to the normal range.

[0172] The level filter 403 is used to output an indication signal in response to the duration of receiving the second comparison level exceeding a preset duration; wherein the indication signal indicates that the current of the system 204 is within a preset range;

[0173] It is understandable that, since the current of the system 204 may be unstable, it is necessary to increase the time limit to ensure that the current of the system 204 is continuously less than the first reference current within a preset time, so that the control circuit 2014 can exit the battery independent load and switch to other system power supply modes;

[0174] Exemplarily, the preset duration is 1s, the first reference current is 800mA, and in the process of battery 203 reusing the switching capacitor circuit to power system 204, the load of system 204 is large. If the current required by system 204 decreases, the system current collected by the first current sampling circuit 401 is 700mA and lasts for more than 1s, it means that the load capacity of input source 202 can support the current system 204 requirements. Therefore, the control circuit 2014 can further switch the system power supply mode from independent battery load to output source load.

[0175] Based on the technical solution of the present application, when powered by a battery, the system current is determined to have returned to a normal range through current comparison and time judgment, and the input source power supply method can meet the system requirements. Therefore, the control circuit can control the battery to stop supplying power to the system 204, thereby avoiding wasting battery power and saving battery cycles.

[0176] It should be understood that technicians in this field can make various changes and modifications to the specific circuit topology and control method inside the chip without departing from the technical concept of the present application, and the present application is also intended to include these changes and modifications.

[0177] The following describes how the control circuit 2014 switches the system power supply mode in conjunction with an embodiment:

[0178] Embodiment 1

[0179] like Figure 5 As shown, the chip 201 further includes a protocol circuit 501, and the protocol circuit 501 is connected to the control circuit 2014;

[0180] The protocol circuit 501 is used to establish a communication connection with the input source 202 based on a preset charging protocol, and output a fast charging mode signal or a slow charging mode signal;

[0181] The control circuit 2014 is used to respond to the indication signal and the fast charging mode signal, stop responding to the first comparison level, turn on the first switch tube Q1 and turn off the second switch tube Q2, control the switch capacitor circuit 2012 to reduce the input source voltage to the second voltage, and control the buck circuit 2011 to reduce the input source voltage to the target voltage.

[0182] Exemplarily, the input source voltage is 20V, the conversion ratio of the buck circuit 2011 is 5:1, and the conversion ratio of the switched capacitor circuit 2012 is 4:1;

[0183] The terminal device is connected through the power adapter. After the power adapter and the protocol circuit 501 shake hands based on the preset charging protocol, the protocol circuit 501 recognizes that the power adapter is a fast charging adapter and outputs a fast charging mode signal;

[0184] In the process of controlling the battery 203 to independently supply power to the system 204, the control circuit 2014, after receiving the indication signal and the fast charge mode signal, turns on the first switch tube Q1 to enable the input source 202 to supply power to the terminal device. Further, the control circuit 2014 controls the step-down circuit 2011 to reduce the input source voltage to 4V to supply power to the system 203.

[0185] In addition, the control circuit 2014 turns off the second switch tube Q2, so that the input source 202 can charge the battery 203 through the switch capacitor circuit 2012. Since the conversion ratio of the switch capacitor circuit 2012 is 4:1, the charging voltage of the battery 203 is 5V, thereby achieving a fast charging effect.

[0186] Embodiment 2

[0187] like Figure 5As shown, the chip 201 further includes a protocol circuit 501, and the protocol circuit 501 is connected to the control circuit 2014;

[0188] The protocol circuit 501 is used to establish a communication connection with the input source 202 based on a preset charging protocol, and output a fast charging mode signal or a slow charging mode signal;

[0189] The control circuit 2014 is used to respond to the indication signal and the slow charge mode signal, stop responding to the first comparison level, turn on the first switch tube Q1 and the second switch tube Q2, and control the buck circuit 2011 to convert the input source voltage into the target voltage.

[0190] Exemplarily, the input source voltage is 20V, the conversion ratio of the buck circuit 2011 is 5:1, and the conversion ratio of the switched capacitor circuit 2012 is 4:1;

[0191] The terminal device is connected through the power adapter. After the power adapter and the protocol circuit 501 shake hands based on the preset charging protocol, the protocol circuit 501 recognizes that the power adapter is a slow charging adapter and outputs a slow charging mode signal;

[0192] In the process of controlling the battery 203 to independently supply power to the system 204, the control circuit 2014, after receiving the indication signal and the slow charging mode signal, turns on the first switch tube Q1 so that the input source 202 supplies power to the terminal device. Further, the control circuit 2014 controls the step-down circuit 2011 to reduce the input source voltage to 4V to supply power to the system 203.

[0193] In addition, the control circuit 2014 turns on the second switch tube Q2, so that the second switch tube Q2 short-circuits the switch capacitor circuit 2012, and the voltage stepped down by the step-down circuit 2011 is charged to the battery 203 through the second switch tube Q2, so the charging voltage of the battery 203 is 4V, thereby achieving a slow charging effect.

[0194] Based on the technical solution of the present application, when the input source can meet the system requirements, the control circuit controls the battery to stop supplying power to the system, and selects the corresponding charging path in combination with the mode signal output by the protocol circuit to enable the input source to charge the battery. In addition, the control circuit can also control the input source to independently carry the load to ensure the continuity and economy of the system power supply.

[0195] Based on the same technical concept, the embodiment of the present application also provides a chip applied to a terminal device, such as Figure 6a As shown, the chip 201 includes a second current sampling circuit 601, a third comparator 602, a control circuit 2014, a switch capacitor circuit 2012 and a buck circuit 2011;

[0196] The first end of the switch capacitor circuit 2012 is used to access the input source 202, the second end of the switch capacitor circuit 2012 is connected to the battery 203, the first end of the step-down circuit 2011 is connected to the first end of the switch capacitor circuit 2012, and the second end of the step-down circuit 2011 is connected to the system 204; the first end of the second current sampling circuit 601 is connected to the first end of the switch capacitor circuit 2012, the output end of the second current sampling circuit is connected to the first input end of the third comparator, the second input end of the third comparator is used to access the second reference current, the output end of the third comparator is connected to the input end of the control circuit, and the output end of the control circuit is respectively connected to the control end of the switch capacitor circuit and the control end of the step-down circuit;

[0197] The second current sampling circuit 601 is used to collect the input source current;

[0198] A third comparator 602, configured to output a third comparison level in response to a comparison result between the input source current and the second reference current;

[0199] The control circuit 2014 is used to control the switch capacitor circuit 2012 to increase the discharge voltage of the battery 203 to the first voltage in response to the third comparison level, and control the step-down circuit 2011 to convert the first voltage into a target voltage so that the battery can supply power to the system.

[0200] For example, when a user uses a mobile phone without connecting it to a power source, in this case there is no input source and the battery independently supplies power to the system. Therefore, the control circuit 2014 can reuse the boost function of the switch capacitor circuit 2012 to boost the discharge voltage of the battery 203, and then supply power to the system 204.

[0201] Based on the technical solution of the embodiment of the present application, there is no need to set up an additional power supply path in the chip. The control circuit can control the battery boost discharge by reusing the switching capacitor circuit in the chip, thereby enabling the low-voltage battery to power the system. In addition, it can also save chip space and reduce hardware costs.

[0202] In a possible embodiment, Figure 6b As shown, the chip 201 further includes a second switch tube Q2, the second switch tube Q2 is connected between the second end of the step-down circuit 2011 and the battery 203, and the control end of the second switch tube Q2 is connected to the output end of the control circuit 2014;

[0203] The control circuit 2014 is further configured to turn off the second switch tube Q2 in response to the third comparison level.

[0204] For example, when a user uses a mobile phone without connecting it to a power source, there is no input source and the battery independently supplies power to the system. Since a second switch tube is generally configured in the slow charging path, if the second switch tube is not turned off, the second switch tube will short-circuit the switch capacitor circuit, causing the battery discharge voltage to directly supply power to the system.

[0205] Therefore, when there is no input source, the control circuit in the embodiment of the present application needs to turn off the second switch tube, thereby controlling the switch capacitor circuit to raise the discharge voltage of the battery, thereby supplying power to the system.

[0206] Based on the same technical concept, the embodiment of the present application also provides a terminal device, such as Figure 7 As shown, the terminal device 101 includes a battery 203, a system 204 and any chip 201 as described above, the battery interface a of the chip 201 is used to connect to the battery, the power supply interface b of the chip 201 is used to connect to the system, and the serial communication USB interface c of the chip 201 is used to connect to the input source 202.

[0207] Based on the same technical concept, an embodiment of the present application also provides a system power supply method, which is applied to a chip, wherein the chip includes a first switch tube, a first comparator, a voltage sampling circuit, a control circuit, a switch capacitor circuit and a step-down circuit;

[0208] The first end of the first switch tube is used to connect to the input source; the first end of the switch capacitor circuit is connected to the second end of the first switch tube, the second end of the switch capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the second end of the first switch tube, and the second end of the step-down circuit is connected to the system; the first end of the voltage sampling circuit is connected to the system, the second end of the voltage sampling circuit is connected to the first input end of the first comparator, the second input end of the first comparator is used to connect to the reference voltage, the output end of the first comparator is connected to the control circuit, and the output end of the control circuit is respectively connected to the control end of the first switch tube, the control end of the switch capacitor circuit and the control end of the step-down circuit;

[0209] like Figure 8 As shown, the method includes:

[0210] Step 801: The voltage sampling circuit samples the system voltage.

[0211] Step 802: The first comparator outputs a first comparison level in response to a comparison result between the system voltage and the reference voltage.

[0212] Step 803, the control circuit turns off the first switch tube in response to the first comparison level, controls the switch capacitor circuit to increase the battery discharge voltage to the first voltage, and controls the step-down circuit to convert the first voltage to the target voltage, so that the battery supplies power to the system.

[0213] It should be noted that, when the input source load capacity is insufficient, the traditional system power supply method usually provides an additional power supplement path to switch the input source independent load state to the input source and battery joint load state. The technical solution of the present application is to reuse the boost function of the switching capacitor circuit to raise the battery discharge voltage when the input source load capacity is insufficient, thereby switching the input source independent load state to the battery independent load state.

[0214] Based on the technical solution of the present application, the control circuit can control the battery boost discharge by reusing the switching capacitor circuit in the chip, thereby enabling the low-voltage battery to power the system. Compared with traditional power supply solutions, the chip in the present application does not need to set up an additional power supply path, thereby saving chip space and reducing hardware costs.

[0215] In a possible embodiment, the chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit;

[0216] like Figure 8 As shown, the method also includes:

[0217] Step 804: the control circuit turns off the second switch tube in response to the first comparison level.

[0218] It can be understood that in the slow charging mode, the control circuit controls the buck circuit to reduce the input source voltage and outputs the stepped-down input source voltage to the system. At the same time, since the second switch tube is in the on state, the control circuit also outputs the stepped-down input source voltage to the battery to charge the battery.

[0219] In this case, if the input source has insufficient load capacity, the trigger control circuit switches the input source independent load state to battery independent load state, and the second switch tube should be turned off, otherwise the second switch tube will short-circuit the switch capacitor circuit, causing the battery discharge voltage to directly power the system.

[0220] Since the system load may gradually return to normal levels while the battery is supplying power to the system, in this case, continuing to use the battery to power the system will result in a waste of power. The control circuit can switch to an input source to power the system, thus meeting the system's power supply needs and saving battery power and cycle times.

[0221] Based on the technical concept of switching the power supply mode of the system, the chip also includes a first current sampling circuit, a second comparator and a high-level filter;

[0222] The input end of the first current sampling circuit is connected to the system, the output end of the first current sampling circuit is connected to the first input end of the second comparator, the second input end of the second comparator is used to access the first reference current, and the output end of the second comparator is connected to the control circuit;

[0223] like Fig. 9 As shown, the control circuit switches the system power supply mode by the following method:

[0224] Step 901: a first current sampling circuit samples system current.

[0225] Step 902: The second comparator outputs a second comparison level in response to a comparison result between the maximum system current and the first reference current.

[0226] Step 903: The level filter outputs an indication signal in response to the duration of receiving the second comparison level exceeding a preset duration.

[0227] It should be noted that the indication signal indicates that the system current is within a preset range.

[0228] Based on the technical solution of the present application, when powered by a battery, the system current is determined to be restored to a normal range by current comparison and time judgment. Furthermore, the system current being within the normal range indicates that the system can be powered by an input source. Therefore, the control circuit can control the battery to stop supplying power to the system and control the input source to carry the load independently, thereby avoiding wasting battery power and saving battery cycles.

[0229] In a possible embodiment, the chip further includes a protocol circuit, and the protocol circuit is connected to the control circuit;

[0230] like Fig. 9 As shown, the method also includes:

[0231] Step 904, the protocol circuit establishes a communication connection with the input source based on a preset charging protocol, and outputs a fast charging mode signal or a slow charging mode signal;

[0232] After step 903 and step 904, execute step 905 or step 906:

[0233] Step 905: the control circuit stops responding to the first comparison level in response to the indication signal and the fast charge mode signal, turns on the first switch tube and turns off the second switch tube, controls the switch capacitor circuit to reduce the input source voltage to the second voltage, and controls the step-down circuit to reduce the input source voltage to the target voltage;

[0234] Step 906: The control circuit stops responding to the first comparison level in response to the indication signal and the slow charge mode signal, turns on the first switch tube and the second switch tube, and controls the buck circuit to convert the input source voltage into the target voltage.

[0235] Exemplarily, the input source supplies power to the terminal device based on a power adapter, and the protocol circuit shakes hands with the power adapter based on a preset charging protocol and selects a corresponding charging mode;

[0236] For example, if the power adapter is of the fast charging type, the control circuit controls the buck circuit to step down the input voltage of the input source and then supply power to the system based on the fast charging mode signal and the indication signal, and controls the switch capacitor circuit to step down the input voltage of the input source and then supply power to the battery;

[0237] If the power adapter is of the slow-charging type, the control circuit controls the buck circuit to buck the input voltage of the input source based on the slow-charging mode signal and the indication signal to supply power to the system and the battery.

[0238] Based on the technical solution of the present application, when the system current is within the normal range, the control circuit controls the battery to stop supplying power to the system, and selects the corresponding charging path in combination with the mode signal output by the protocol circuit to enable the input source to charge the battery. In addition, the control circuit can control the input source to independently carry the load to ensure the continuity and economy of the system power supply.

[0239] Based on the same technical concept, the embodiment of the present application also provides a system power supply method, which is applied to a chip, and the chip includes a second current sampling circuit, a third comparator, a control circuit, a switch capacitor circuit and a step-down circuit;

[0240] The first end of the switched capacitor circuit is used to access the input source, the second end of the switched capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the first end of the switched capacitor circuit, and the second end of the step-down circuit is connected to the system; the first end of the second current sampling circuit is connected to the first end of the switched capacitor circuit, the output end of the second current sampling circuit is connected to the first input end of the third comparator, the second input end of the third comparator is used to access the second reference current, the output end of the third comparator is connected to the input end of the control circuit, and the output end of the control circuit is respectively connected to the control end of the switched capacitor circuit and the control end of the step-down circuit.

[0241] like Fig.10 As shown, the method includes:

[0242] Step 1001: A second current sampling circuit samples input source current.

[0243] Step 1002 : The third comparator outputs a third comparison level in response to a comparison result between the input source current and the second reference current.

[0244] Step 1003 , in response to the third comparison level, the control circuit controls the switch capacitor circuit to increase the battery discharge voltage to the first voltage, and controls the step-down circuit to convert the first voltage into a target voltage, so that the battery supplies power to the system.

[0245] For example, when a user uses a mobile phone without connecting it to a power source, there is no input source and the battery independently supplies power to the system. Therefore, the control circuit can reuse the boost function of the switched capacitor circuit to boost the battery voltage and then supply power to the system.

[0246] Based on the technical solution of the present application, there is no need to set up an additional power supply path in the chip. The control circuit can control the battery boost discharge by reusing the switching capacitor circuit in the chip, thereby enabling the low-voltage battery to power the system. In addition, it can save chip space and reduce hardware costs.

[0247] In a possible embodiment, the chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit;

[0248] Step 1004: the control circuit turns off the second switch tube in response to the third comparison level.

[0249] It can be understood that when there is no input source, the battery should be controlled to independently power the system. Since a second switch tube is generally configured in the slow charging path, if the second switch tube is not turned off, the second switch tube will short-circuit the switch capacitor circuit, causing the battery discharge voltage to directly power the system.

[0250] Therefore, when there is no input source, the control circuit in the present application needs to turn off the second switch tube, thereby controlling the switch capacitor circuit to raise the discharge voltage of the battery, thereby supplying power to the system.

[0251] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0252] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A chip, characterized in that: The chip includes a first switch tube, a first comparator, a voltage sampling circuit, a control circuit, a switch capacitor circuit and a step-down circuit; The first end of the first switch tube is used to connect to the input source; the first end of the switch capacitor circuit is connected to the second end of the first switch tube, the second end of the switch capacitor circuit is connected to the battery, the first end of the buck circuit is connected to the second end of the first switch tube, and the second end of the buck circuit is connected to the system; the first end of the voltage sampling circuit is connected to the system, the second end of the voltage sampling circuit is connected to the first input end of the first comparator, the second input end of the first comparator is used to connect to the reference voltage, the output end of the first comparator is connected to the control circuit, and the output end of the control circuit is respectively connected to the control end of the first switch tube, the control end of the switch capacitor circuit and the control end of the buck circuit; The voltage sampling circuit is used to collect the system voltage; The first comparator is used to output a first comparison level in response to a comparison result between the system voltage and the reference voltage; The control circuit is used to turn off the first switch tube in response to the first comparison level, control the switch capacitor circuit to increase the battery discharge voltage to a first voltage, and control the step-down circuit to convert the first voltage into a target voltage so that the battery can supply power to the system.

2. The chip according to claim 1, characterized in that: The chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit; The control circuit is further configured to turn off the second switch tube in response to the first comparison level.

3. The chip according to claim 2, characterized in that: The chip also includes a first current sampling circuit, a second comparator and a high level filter; The input end of the first current sampling circuit is connected to the system, the output end of the first current sampling circuit is connected to the first input end of the second comparator, the second input end of the second comparator is used to access the first reference current, and the output end of the second comparator is connected to the control circuit; The first current sampling circuit is used to collect the system current; The second comparator is used to output a second comparison level in response to a comparison result between the system current and the first reference current; The level filter is used to output an indication signal in response to a duration of receiving the second comparison level exceeding a preset duration; wherein the indication signal indicates that the system current is within a preset range.

4. The chip according to claim 3, characterized in that: The chip further includes a protocol circuit, and the protocol circuit is connected to the control circuit; The protocol circuit is used to establish a communication connection with the input source based on a preset charging protocol and output a fast charging mode signal or a slow charging mode signal; The control circuit is used to respond to the indication signal and the fast charge mode signal, stop responding to the first comparison level, turn on the first switch tube and turn off the second switch tube, control the switch capacitor circuit to reduce the input source voltage to the second voltage, and control the step-down circuit to reduce the input source voltage to the target voltage; or In response to the indication signal and the slow charge mode signal, stop responding to the first comparison level, turn on the first switch tube and the second switch tube, and control the buck circuit to convert the input source voltage into the target voltage.

5. A chip, characterized in that: The chip includes a second current sampling circuit, a third comparator, a control circuit, a switch capacitor circuit and a step-down circuit; The first end of the switch capacitor circuit is used to access the input source, the second end of the switch capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the first end of the switch capacitor circuit, and the second end of the step-down circuit is connected to the system; the first end of the second current sampling circuit is connected to the first end of the switch capacitor circuit, the output end of the second current sampling circuit is connected to the first input end of the third comparator, the second input end of the third comparator is used to access the second reference current, the output end of the third comparator is connected to the input end of the control circuit, and the output end of the control circuit is respectively connected to the control end of the switch capacitor circuit and the control end of the step-down circuit; The second current sampling circuit is used to collect the input source current; The third comparator is used to output a third comparison level in response to a comparison result between the input source current and the second reference current; The control circuit is used to control the switch capacitor circuit to increase the battery discharge voltage to a first voltage in response to the third comparison level, and control the step-down circuit to convert the first voltage into a target voltage so that the battery can supply power to the system.

6. The chip according to claim 5, characterized in that: The chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit; The control circuit is further configured to turn off the second switch tube in response to the third comparison level.

7. A terminal device, characterized in that: The terminal device includes a battery, a system and a chip as described in any one of claims 1-6, the battery interface of the chip is used to connect to the battery, the power supply interface of the chip is used to connect to the system, and the serial communication USB interface of the chip is used to connect to an input source.

8. A system power supply method, characterized in that: Applied to a chip, the chip includes a first switch tube, a first comparator, a voltage sampling circuit, a control circuit, a switch capacitor circuit and a step-down circuit; The first end of the first switch tube is used to connect to the input source; the first end of the switch capacitor circuit is connected to the second end of the first switch tube, the second end of the switch capacitor circuit is connected to the battery, the first end of the buck circuit is connected to the second end of the first switch tube, and the second end of the buck circuit is connected to the system; the first end of the voltage sampling circuit is connected to the system, the second end of the voltage sampling circuit is connected to the first input end of the first comparator, the second input end of the first comparator is used to connect to the reference voltage, the output end of the first comparator is connected to the control circuit, and the output end of the control circuit is respectively connected to the control end of the first switch tube, the control end of the switch capacitor circuit and the control end of the buck circuit; The method comprises: The voltage sampling circuit collects the system voltage; The first comparator outputs a first comparison level in response to a comparison result between the system voltage and the reference voltage; In response to the first comparison level, the control circuit turns off the first switch tube, controls the switch capacitor circuit to increase the battery discharge voltage to a first voltage, and controls the step-down circuit to convert the first voltage to a target voltage so that the battery supplies power to the system.

9. The method according to claim 8, characterized in that The chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit; The method further comprises: The control circuit turns off the second switch tube in response to the first comparison level.

10. The method according to claim 9, characterized in that The chip also includes a first current sampling circuit, a second comparator and a high level filter; The input end of the first current sampling circuit is connected to the system, the output end of the first current sampling circuit is connected to the first input end of the second comparator, the second input end of the second comparator is used to access the first reference current, and the output end of the second comparator is connected to the control circuit; After the control circuit turns off the first switch tube in response to the first comparison level, controls the switch capacitor circuit to increase the battery discharge voltage to a first voltage, and controls the step-down circuit to convert the first voltage into a target voltage so that the battery supplies power to the system, the method further includes: The first current sampling circuit collects the system current; The second comparator outputs a second comparison level in response to a comparison result between the system current and the first reference current; The level filter outputs an indication signal in response to receiving the second comparison level for a duration exceeding a preset duration; wherein the indication signal indicates that the system current is within a preset range.

11. The method according to claim 10, characterized in that The chip further includes a protocol circuit, and the protocol circuit is connected to the control circuit; The method further comprises: The protocol circuit establishes a communication connection with the input source based on a preset charging protocol, and outputs a fast charging mode signal or a slow charging mode signal; After the level filter outputs an indication signal in response to the duration of receiving the second comparison level exceeding a preset duration, the method further includes: The control circuit, in response to the indication signal and the fast charge mode signal, stops responding to the first comparison level, turns on the first switch tube and turns off the second switch tube, controls the switch capacitor circuit to reduce the input source voltage to the second voltage, and controls the step-down circuit to reduce the input source voltage to the target voltage; or In response to the indication signal and the slow charge mode signal, stop responding to the first comparison level, turn on the first switch tube and the second switch tube, and control the buck circuit to convert the input source voltage into the target voltage.

12. A system power supply method, characterized in that: Applied to a chip, the chip comprising a second current sampling circuit, a third comparator, a control circuit, a switch capacitor circuit and a step-down circuit; The first end of the switch capacitor circuit is used to access the input source, the second end of the switch capacitor circuit is connected to the battery, the first end of the step-down circuit is connected to the first end of the switch capacitor circuit, and the second end of the step-down circuit is connected to the system; the first end of the second current sampling circuit is connected to the first end of the switch capacitor circuit, the output end of the second current sampling circuit is connected to the first input end of the third comparator, the second input end of the third comparator is used to access the second reference current, the output end of the third comparator is connected to the input end of the control circuit, and the output end of the control circuit is respectively connected to the control end of the switch capacitor circuit and the control end of the step-down circuit; The method comprises: The second current sampling circuit collects the input source current; The third comparator outputs a third comparison level in response to a comparison result between the input source current and the second reference current; In response to the third comparison level, the control circuit controls the switched capacitor circuit to increase the battery discharge voltage to a first voltage, and controls the step-down circuit to convert the first voltage into a target voltage, so that the battery supplies power to the system.

13. The method according to claim 12, characterized in that The chip further includes a second switch tube, the second switch tube is connected between the second end of the step-down circuit and the battery, and the control end of the second switch tube is connected to the output end of the control circuit; The control circuit turns off the second switch tube in response to the third comparison level.