Charging method, circuit, device and storage medium

The charging current of the terminal device is adjusted through the control circuit, and the charging heating and low efficiency caused by unbalanced impedance of the charging circuit is solved, thereby achieving balanced shunt and efficient charging during the charging process.

CN119995071APending Publication Date: 2025-05-13BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311510712.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-13
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

During the charging process, terminal devices have problems such as heating and low charging efficiency, especially due to the unbalanced impedance of the charging circuit, which is severely heating and long charging time.

Method used

The charging current of the first charging circuit and the second charging circuit is adjusted by using a control circuit so that the difference between the two is less than or equal to the preset current. Through the coordination of the adjustment circuit and the sampling control circuit, the equalization shunt of the charging current is achieved.

Benefits of technology

It effectively avoids charging and heating and improves charging efficiency, reduces the heat generation of terminal devices during charging, and saves design and resource costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119995071A_ABST
    Figure CN119995071A_ABST
Patent Text Reader

Abstract

The invention relates to a charging method, circuit and device and a storage medium. The charging circuit comprises a charging input end; the first charging circuit is connected with the charging input end, and the output end of the first charging circuit is used for being connected with a power supply; the second charging circuit is connected with the charging input end, and the output end of the second charging circuit is used for being connected with the power supply; the control circuit is used for adjusting the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit. And the difference value between the first charging current adjusted by the first charging circuit and the second charging current is smaller than or equal to the preset first current. Therefore, the technical problems of heating during charging, low charging efficiency and the like of the terminal equipment in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of circuit technology, and in particular to a charging method, circuit, device and storage medium. Background Art

[0002] With the continuous development of terminal devices, terminal functions are becoming more and more powerful. For example, mobile terminals have become an indispensable electronic product in people's daily lives. In the use of terminal devices, the battery life of the device has always been a key issue of concern to users. Among them, increasing the charging power of the terminal is an effective solution to improve the battery life of the device, but as the charging power increases, the heating of the terminal device becomes more and more serious. And as the battery capacity of the terminal device becomes higher and higher, if the above-mentioned traditional charging method is used, it will also take a long time to charge, and the charging efficiency is not high. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a charging method, circuit, device and storage medium to solve the technical problems existing in the above-mentioned related art, such as heating of terminal equipment during charging and low charging efficiency.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a charging circuit, including:

[0005] Charging input terminal;

[0006] a first charging circuit connected to the charging input terminal, wherein the output terminal of the first charging circuit is used to be connected to a power source;

[0007] a second charging circuit connected to the charging input terminal, wherein the output terminal of the second charging circuit is used to be connected to the power source;

[0008] A control circuit is used to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, so that the difference between the adjusted first charging current of the first charging circuit and the second charging current is less than or equal to a preset first current.

[0009] In some embodiments, the control circuit includes: a regulating circuit and a sampling control circuit; wherein,

[0010] The regulating circuit is used to regulate the first charging current of the first charging circuit;

[0011] The sampling control circuit is used to obtain the first charging current and the second charging current adjusted by the adjustment circuit, and control the adjustment circuit to adjust the first charging current of the first charging circuit.

[0012] In some embodiments, the sampling control circuit includes: a first sampling end, a second sampling end and a control end, the first sampling end is used to collect the first charging current adjusted by the regulation circuit, the second sampling end is used to collect the second charging current, and the control end is used to control the regulation circuit to perform feedback regulation on the first charging current of the first charging circuit based on the first charging current and the second charging current adjusted by the regulation circuit.

[0013] In some embodiments, the sampling control circuit includes an operational amplifier, one input port of the operational amplifier is connected to the first sampling terminal, another input port of the operational amplifier is connected to the second sampling terminal, and an output port of the operational amplifier is connected to the control terminal.

[0014] In some embodiments, the control circuit further includes a regulating control circuit, and the regulating control circuit is connected to the sampling control circuit; wherein:

[0015] The regulation control circuit is used to output an enable signal to determine whether to enable the sampling control circuit based on the enable signal; and / or,

[0016] The regulation control circuit is used to control the voltage of the first control terminal based on the first charging current and the second charging current after feedback regulation, so as to control the difference between the first charging current and the second charging current after re-regulation to be less than or equal to a preset second current.

[0017] In some embodiments, the regulation control circuit is used to:

[0018] When the difference between the first charging current and the second charging current after feedback adjustment is greater than the preset second current, the voltage of the first control terminal is adjusted downward; or,

[0019] When the difference between the first charging current and the second charging current after feedback adjustment is smaller than the preset second current, the voltage of the first control terminal is increased and adjusted.

[0020] In some embodiments, the regulation control circuit includes a processor or a microcontroller.

[0021] In some embodiments, the regulating circuit includes at least one of the following: a unipolar transistor, a bipolar transistor, and a variable resistor.

[0022] According to a second aspect of an embodiment of the present disclosure, a charging method is provided, which is applied to a charging circuit, wherein the charging circuit includes a charging input terminal, a first charging circuit connected to the charging input terminal, a second charging circuit connected to the charging input terminal, and a control circuit, wherein the output terminals of the first charging circuit and the second charging circuit are respectively used to be connected to a power source; the method includes:

[0023] Acquire a target charging current of a terminal device, where the target charging current includes a first charging current of the first charging circuit and a second charging current of the second charging circuit;

[0024] When the target charging current is greater than a preset current threshold, the control circuit is enabled to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, so that the difference between the adjusted first charging current of the first charging circuit and the second charging current is less than or equal to the preset first current.

[0025] In some embodiments, before enabling the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, the method further includes:

[0026] When the terminal device needs to start the software diversion function, it is prohibited to enable the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit to turn off the hardware diversion function of the charging circuit.

[0027] In some embodiments, the charging circuit is the charging circuit provided in the first aspect above.

[0028] For the contents not introduced or described in the embodiments of the present disclosure, please refer to the relevant introduction in the embodiments described in the first aspect above, and no further details will be given here.

[0029] According to a third aspect of an embodiment of the present disclosure, a charging device is provided, which is applied to a charging circuit, wherein the charging circuit includes a charging input terminal, a first charging circuit connected to the charging input terminal, a second charging circuit connected to the charging input terminal, and a control circuit, wherein the output terminals of the first charging circuit and the second charging circuit are respectively used to be connected to a power source; the device includes:

[0030] an acquisition module, configured to acquire a target charging current of a terminal device, wherein the target charging current includes a first charging current of the first charging circuit and a second charging current of the second charging circuit;

[0031] The processing module is configured to enable the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit when the target charging current is greater than a preset current threshold, so that the difference between the adjusted first charging current of the first charging circuit and the second charging current is less than or equal to the preset first current.

[0032] For the contents not introduced or described in the embodiments of the present disclosure, please refer to the relevant introduction in the aforementioned method embodiments, and the embodiments of the present disclosure are not limited thereto.

[0033] According to a fourth aspect of an embodiment of the present disclosure, a terminal device is provided, comprising part or all of the above-mentioned charging circuit; and / or, the terminal device is used to execute part or all of the above-mentioned charging method.

[0034] According to a fifth aspect of an embodiment of the present disclosure, a terminal device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the above-mentioned charging method.

[0035] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the charging method provided in the first aspect of the present disclosure are implemented.

[0036] According to a seventh aspect of an embodiment of the present disclosure, a chip is provided, comprising: a processor and an interface; the processor is used to read instructions to execute the steps of the above-mentioned charging method.

[0037] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0038] The present disclosure provides a charging circuit including a charging input terminal; a first charging circuit connected to the charging input terminal, wherein the output terminal of the first charging circuit is used to connect to a power source; a second charging circuit connected to the charging input terminal, wherein the output terminal of the second charging circuit is used to connect to the power source; and a control circuit, which is used to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, so that the difference between the first charging current adjusted by the first charging circuit and the second charging current is less than or equal to the preset first current. It can be seen that the present disclosure can use the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the charging current of the second charging circuit, so that the difference between the first charging current adjusted by the first charging circuit and the second charging current of the second charging circuit is not large, thereby avoiding the problems of charging heating and low charging efficiency in the terminal device due to uneven current sharing between the two charging circuits.

[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0041] Figure 1 The figure is a schematic diagram showing a framework of charging a terminal device according to an exemplary embodiment.

[0042] Figure 2 The figure is a schematic diagram of another charging framework of a terminal device according to an exemplary embodiment.

[0043] Figure 3 The figure is a schematic diagram of another charging framework of a terminal device according to an exemplary embodiment.

[0044] Figure 4 is a structural diagram of a control circuit according to an exemplary embodiment.

[0045] Figure 5 is a schematic structural diagram of another control circuit according to an exemplary embodiment.

[0046] Figure 6 is a schematic structural diagram of another control circuit according to an exemplary embodiment.

[0047] Figure 7 is a schematic structural diagram of another control circuit according to an exemplary embodiment.

[0048] Figure 8 The figure is a flow chart of a charging method according to an exemplary embodiment.

[0049] Fig. 9 It is a schematic structural diagram of a charging device according to an exemplary embodiment.

[0050] Fig.10 The diagram is a schematic structural diagram of a terminal device according to an exemplary embodiment.

[0051] Fig.11 The figure is a schematic diagram showing the structure of a chip according to an exemplary embodiment. DETAILED DESCRIPTION

[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0053] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0054] See also Figure 1 FIG. 1 is a schematic diagram showing a charging framework of a terminal device according to an exemplary embodiment. Figure 1 The framework schematic diagram shown may include: a charging input terminal 100, a first charging circuit 200, a second charging circuit 300 and a charging output terminal 400. Among them, the charging input terminal 100 can be connected to the input terminals of the first charging circuit 200 and the second charging circuit 300 respectively, and the output terminals of the first charging circuit 200 and the second charging circuit 300 can be connected to a power source (not shown in the figure) respectively. Optionally, as shown in the figure, the framework schematic diagram may also include a terminal mainboard protection module 500, a battery protection board 600 and a battery cell 700. Among them, the terminal mainboard protection module 500 can be connected to the charging input terminal 100, the input terminals of the first charging circuit 200 and the second charging circuit 300 respectively. The battery protection board 600 can be connected in parallel with the battery cell 700. For example, in the figure, the output terminals of the first charging circuit 200 and the second charging circuit 300 can be connected to the battery protection board 600, and then connected to the battery cell 700 and the power source. Those skilled in the art can understand that Figure 1The illustrated framework structure does not constitute a limitation on the terminal device, which may include more or fewer circuit modules than illustrated, or combine certain circuit modules, etc.

[0055] The terminal motherboard protection module 500 is mainly used to protect the internal circuit structure of the terminal device to avoid problems such as excessive charging power of the terminal device causing damage to the terminal motherboard structure. The present disclosure does not limit the internal circuit structure of the terminal motherboard protection module 500, which can be customized according to actual needs.

[0056] The first charging circuit 200 and the second charging circuit 300 are both used to shunt and convert the charging current I input by the terminal device to charge the subsequent battery cells 700. Specifically, for example, the shunt current passing through the first charging circuit 200 in the figure can be called the first charging current I1, and the shunt current passing through the second charging circuit 300 can be called the second charging current I2. The present disclosure does not limit the internal circuit structure of the first charging circuit 200 and the second charging circuit 300, which can be determined according to actual needs. For example, it can be a direct current-direct current (DCDC) circuit, etc.

[0057] The battery protection board 600 is mainly used to protect the battery cell 700, for example, to protect the battery cell 700 from being damaged when the charging current is too large. The present disclosure does not limit the internal circuit structure of the battery protection board 400, which can be customized according to actual conditions, and the present disclosure does not make too many limitations and details on this.

[0058] Based on Figure 1 It can be seen that the magnitude of the first charging current I1 and the second charging current I2 depends on the circuit impedance Z of the first charging circuit 200 and the second charging circuit 300. At present, the commonly used charging power on the market is 120W, and the maximum charging current I input by the terminal device can reach 22A, which will lead to a certain impedance difference between the first charging circuit 200 and the second charging circuit 300, and also lead to a large current difference ΔI=I1-I2 between the two circuits. Since P=I 2 R, we can know the heat generated by charging and I 2 The imbalance of circuit impedance Z will have a greater impact on charging heat, which will eventually lead to serious charging heat of terminal equipment. However, the circuit impedance Z of the above two circuits is difficult to completely balance and match, and the impedance value cannot be quantitatively obtained during design. This requires designers to frequently modify design drawings and make boards to obtain appropriate circuit parameters, which will consume a lot of human and material resources.

[0059] To solve the above problems, the present disclosure proposes a charging method, circuit, device, storage medium and chip. First, some framework schematic diagrams applicable to the present disclosure are introduced. Figure 2 and Figure 3 FIG. 1 is a schematic diagram showing two possible terminal device charging frameworks according to an exemplary embodiment. Figure 2 and Figure 3 The framework diagram shown may include a charging input terminal 100, a first charging circuit 200, a second charging circuit 300 and a charging output terminal 400, and may optionally include a terminal mainboard protection module 500, a battery protection board 600 and a battery cell 700, etc., which may correspond to the aforementioned Figure 1 The relevant introduction in the above-mentioned embodiment will not be repeated here. Figure 2 and Figure 3 The framework schematic diagram shown may also include a control circuit 800, which is used to adjust the above-mentioned first charging current according to the first charging current of the above-mentioned first charging circuit 200 and the second charging current of the above-mentioned second charging circuit 300, so that the adjusted first charging current of the first charging circuit 200 and the second charging current of the second charging circuit 300 are not much different (for example, less than the preset first current, etc.), so as to avoid a series of problems in the above-mentioned related technologies.

[0060] The present disclosure does not limit the location of the control circuit 800. Figure 2 As shown, the control circuit 800 can be arranged before the parallel connection of the first charging circuit 200 and the second charging circuit 300, and the control circuit 800 can be connected to the first charging circuit 200 and the second charging circuit 300 (specifically, can be connected to the input terminals of the two charging circuits), etc. Figure 2 The frame diagram shown is widely used or commonly used. Figure 3 As shown, the control circuit 800 can be arranged after the parallel connection of the above-mentioned first charging circuit 200 and the second charging circuit 300, and it can be connected to the above-mentioned first charging circuit 200 and the above-mentioned second charging circuit 300 (specifically, it can be connected to the respective output terminals of the two charging circuits) respectively; that is, the control circuit 800 can be arranged between the above-mentioned parallel connection and the above-mentioned charging output terminal 400, and when the above-mentioned battery protection board 600 or the above-mentioned battery cell 700 exists in the circuit, it can be specifically arranged between the above-mentioned parallel connection and the above-mentioned battery protection board 600 or the above-mentioned battery cell 700, and the present disclosure does not make too many restrictions and details on this.

[0061] Next, some specific embodiments of the control circuit 800 are introduced. Figure 4 FIG. 1 is a schematic diagram showing a structure of a control circuit according to an exemplary embodiment. Figure 4The control circuit 800 shown may include a regulating circuit 801 and a sampling control circuit 802 connected to each other.

[0062] The regulating circuit 801 is used to regulate the first charging current of the first charging circuit 200;

[0063] The sampling control circuit 802 is used to obtain the first charging current adjusted by the adjustment circuit 801 and the second charging current of the second charging circuit 300, and control the adjustment circuit 801 to adjust the first charging current of the first charging circuit 200. Specifically, the adjustment circuit 801 can be controlled to perform feedback adjustment on the first charging current of the first charging circuit 200 based on / according to the first charging current adjusted by the adjustment circuit 801 and the second charging current, so that the difference between the (feedback) adjusted first charging current and the second charging current is less than or equal to the preset first current.

[0064] The above-mentioned first charging current and the above-mentioned second charging current of the present disclosure may be the corresponding charging currents obtained after being shunted by the above-mentioned first charging circuit 200 and the above-mentioned second charging circuit 300 in the input terminal device, wherein the above-mentioned first charging current may be recorded as I1, and the above-mentioned second charging current may be recorded as I2. The present disclosure does not limit the current magnitudes of the above-mentioned first charging current and the second charging current, which may be determined according to the actual circuit structure, and the present disclosure does not limit it. The above-mentioned preset first current is a current threshold value customized by the user or the terminal device according to the actual situation, and the present disclosure does not make too many limitations and details on this.

[0065] The present disclosure does not limit the internal circuit structure of the regulating circuit 801. For example, the regulating circuit 801 may include any device or combination of devices for current regulation or current limiting regulation. For example, the regulating circuit 801 may include but is not limited to any one or more of the following: a unipolar transistor (also known as a field effect MOS tube), a bipolar transistor, a variable resistor or other devices for current regulation. In practical applications, the regulating circuit 801 may include an input terminal (i.e., an input port, referred to as the input terminal) 8011, an output terminal 8012 and a regulating terminal 8013. The input terminal 8011 is used to input the first charging current, the output terminal 8012 is used to output the first charging current regulated by the regulating circuit 801, and the regulating terminal 8013 is used for current regulation, for example, it can be connected to the gate of a MOS tube, the base of a bipolar transistor or the adjustable port of a variable resistor. For example, see Figure 5 FIG. 1 is a schematic diagram showing a structure of another control circuit according to an exemplary embodiment. Figure 5In the control circuit 800 shown, the regulation circuit 801 includes the MOS tube Q1 as an example, but it is not limited to this, and it can be customized or set according to actual conditions. As shown in the figure, the drain (D) of the MOS tube Q1 is connected to the input port 8011, the source (S) of the MOS tube Q1 is connected to the output terminal 8012, and the gate (G) of the MOS tube Q1 is connected to the regulation terminal 8013.

[0066] The sampling control circuit 802 may include a first sampling terminal 8021, a second sampling terminal 8022 and a control terminal 8023. The first sampling terminal 8021 may be connected to the output terminal 8012 of the regulating circuit 801, and used to collect / acquire the first charging current regulated by the regulating circuit 801. The second sampling terminal 8022 may be connected to the output terminal of the second charging circuit 300, and used to collect / acquire the second charging current of the second charging circuit 300. The control terminal 8023 may be connected to the regulating terminal 8013 of the regulating circuit 801, and used to control the regulating circuit 801 to regulate the first charging current of the first charging circuit 200, and specifically, the regulating circuit 801 may be controlled to perform feedback regulation on the first charging current of the first charging circuit 200 according to the first charging current regulated by the regulating circuit 801 and the second charging current.

[0067] The present disclosure does not limit the internal structure of the sampling control circuit 801. For example, the sampling control circuit 802 may include any device or combination thereof for current sampling and regulation. Figure 5The sampling control circuit 802 may include an operational amplifier U1. The first sampling terminal 8021 of the sampling control circuit 802 is respectively connected to an input terminal IN1 of the operational amplifier U1 and the output terminal 8012 of the regulating circuit 801, and is used to collect / acquire the first charging current adjusted by the regulating circuit 801. The second sampling terminal 8022 of the sampling control circuit 802 is connected to another input terminal IN2 of the operational amplifier U1, and is used to collect / acquire the second charging current. The positive power supply terminal 8024 of the operational amplifier U1 can be used to connect to the positive power supply Vcc; the negative power supply terminal 8025 of the operational amplifier U1 can be used to connect to the negative power supply, which is usually grounded GND. The control terminal 8023 of the sampling control circuit 802 is connected to the regulating terminal 8013 of the regulating circuit 801. In this way, the operational amplifier U1 can perform feedback regulation on the first charging current of the first charging circuit 200 based on the first charging current regulated by the regulation circuit 801 and the second charging current of the second charging circuit 300, so that the difference between the first charging current after feedback regulation and the second charging current is small, so as to reduce the problems of heating and low charging efficiency of the terminal device due to uneven current distribution. The present disclosure does not limit the type of the operational amplifier U1, for example, it can include but is not limited to a positive feedback amplifier or a negative feedback amplifier, etc., which can be customized according to the actual needs of the user or the terminal device. Among them, Figure 5 The operational amplifier U1 is taken as a negative feedback amplifier and can be used to perform negative feedback regulation on the first charging current of the first charging circuit 200 as an example, but it does not constitute a limitation.

[0068] In an alternative embodiment, see Figure 6 FIG. 1 is a schematic diagram showing a structure of another control circuit according to an exemplary embodiment. Figure 6 The control circuit 800 shown may include the above-mentioned regulating circuit 801 and the above-mentioned sampling control circuit 802, and may also include a regulating control circuit 803. The introduction of the above-mentioned regulating circuit 801 and the above-mentioned sampling control circuit 802 may correspond to the relevant introduction in the above-mentioned embodiment, and will not be repeated here. The above-mentioned regulating control circuit 803 may be connected to the above-mentioned sampling control circuit 802. Among them:

[0069] The regulation control circuit 803 is used to output an enable signal to determine whether to enable the sampling control circuit 802 based on the enable signal, that is, to determine whether to enable the sampling control circuit 802 or to allow the sampling control circuit 802 to work normally based on the enable signal; and / or,

[0070] The regulation control circuit 803 is used to regulate and control the voltage of the control terminal 8023 in the sampling control circuit 802 (that is, the output voltage of the regulation terminal 8013 in the regulation circuit 801) based on the feedback-regulated first charging current and the second charging current of the second charging circuit 300, so as to re-regulate and control the first charging current of the first charging circuit 200 based on the voltage of the control terminal 8023, so as to control the difference between the re-regulated first charging current and the second charging current of the second charging circuit 300 to be equal to the preset second current. The preset second current is also a current threshold value that is customized by the user or the terminal device according to the actual situation. The preset first current and the preset second current may be the same or different, and may be determined according to the actual situation. The present disclosure does not make too many restrictions and details on this.

[0071] The present disclosure does not limit the internal circuit structure of the regulation control circuit 803. For example, the regulation control circuit 803 may include a processor, a microcontroller unit (MCU) or other custom devices. Figure 7 FIG. 1 is a schematic diagram showing a structure of another control circuit according to an exemplary embodiment. Figure 7 In the control circuit 800 shown, the regulation control circuit 803 is shown as a microcontroller MCU1 as an example, but it does not constitute a limitation. As shown, the regulation control circuit 803 can include, for example, an enable terminal 8031 ​​(enable, EN) and a regulation control terminal 8032 (control, CTL) according to actual conditions. Among them, the enable terminal 8031 ​​of the regulation control circuit 803 is connected to the enable terminal EN of the sampling control circuit 802, and is used to output the enable signal to determine whether to enable the sampling control circuit 802 based on the enable signal; the regulation control terminal 8032 of the regulation control circuit 803 is connected to the control terminal 8023 of the sampling control circuit 802, and is used to regulate and control the voltage (also called output voltage) of the control terminal 8023 in the sampling control circuit 802.

[0072] The present disclosure does not limit the specific implementation of determining whether to enable the sampling control circuit 802 based on the enable signal. For example, when the enable signal is a preset signal (such as a high-level signal or a low-level signal), the sampling control circuit 802 can be enabled. For example, when the enable signal is a high-level signal (specifically, the level value / voltage value of the enable signal is greater than or equal to the preset enable threshold, etc.), the sampling control circuit 802 can be enabled; conversely, when the enable signal is a low-level signal (that is, the level value / voltage value of the enable signal is less than the preset enable threshold), the sampling control circuit 802 may not be enabled or activated.

[0073] The present disclosure does not limit the specific implementation method for adjusting and controlling the voltage of the control terminal 8023 in the above-mentioned sampling control circuit 802. For example, in an example implementation method, when the difference between the first charging current after the above-mentioned feedback adjustment and the above-mentioned second charging current is greater than the preset second current, the voltage of the control terminal 7023 in the above-mentioned sampling control circuit 802 can be adjusted to decrease.

[0074] In another example implementation, when the difference between the first charging current after feedback adjustment and the second charging current is smaller than the preset second current, the voltage of the control terminal 8023 in the sampling control circuit 802 may be increased.

[0075] In practical applications, the circuit structures of the regulating circuit 801 and / or the sampling control circuit 802 can be integrated into a chip or a chip module, the regulating control circuit 803 can be integrated into a master controller, and the integrated chip or chip module can be controlled by the master controller. Figure 7 In the control circuit 800 shown, the MOS tube Q1 can be connected in series in the large shunt charging path. After the regulation control circuit 803 enables the sampling control circuit 802, the operational amplifier U1 in the sampling control circuit 802 can compare the charging currents inputted from the two input terminals IN1 and IN2, that is, compare the inputted second charging current with the first charging current regulated by the regulation circuit 801. The output voltage V out , that is, the voltage of the control terminal 8023 in the sampling control circuit 802 is V out Based on I = g m ×V gs It can be seen that the adjusted first charging current I1=g m ×(V out -V s ), where V s The voltage at the output terminal 8012 of the regulating circuit 801, i.e., the source voltage of the MOS tube Q1; m To adjust the conductance parameter of the circuit 801, that is, the conductance parameter (impedance) of the MOS tube Q1. When I1 is greater than I2 (the second charging current mentioned above), after feedback adjustment by the operational amplifier U1, V out , so that (V out -V s ) decreases, and then I1 decreases. Similarly, if I1 is less than I2, after feedback regulation by operational amplifier U1, V out It can be increased, I1 increases, and finally I1 and I2 are maintained at a similar level, that is, the difference between the first charging current I1 and the second charging current I2 after feedback adjustment is made as small as possible, for example, smaller than the preset first current.

[0076] The above-mentioned regulating control circuit 803 can regulate and control the above-mentioned sampling control circuit 802 (or the chip module integrated with the above-mentioned sampling control circuit 802 and the above-mentioned regulating circuit 801) through its own regulating control terminal 8032, so as to solve the problem of charging heating caused by uneven current diversion in the terminal device. In this embodiment, the above-mentioned control circuit 800 has two working modes: hardware diversion mode and software diversion mode; that is, the control circuit 800 or the terminal device in which it is located has a hardware diversion function and a software diversion function. Among them, the hardware diversion function is to achieve uniform diversion of the first charging current and the second charging current through the above-mentioned regulating circuit 801 and the above-mentioned sampling control circuit 802; the software diversion function is to achieve uniform diversion of the first charging current and the second charging current through the above-mentioned regulating control circuit 803, that is, to enable the above-mentioned regulating control circuit 803 to regulate and control the voltage of the control terminal 8023 in the above-mentioned sampling control circuit 802. The relevant description of its regulation control can refer to the relevant introduction in the above-mentioned embodiment, which will not be repeated here. Further optionally, when the terminal device enables the software shunt function, the sampling control circuit 802 or the chip module where the sampling control circuit 802 is located may be prohibited from enabling the feedback adjustment of the corresponding current to close / disable the hardware shunt function of the control circuit 800. The present disclosure does not limit the specific implementation method for enabling the software shunt function of the terminal device. For example, whether to enable the software shunt function can be determined by detecting the shunt function parameters preset in the terminal device, and the present disclosure does not limit or elaborate on this.

[0077] The present disclosure provides a charging circuit including a charging input terminal; a first charging circuit connected to the charging input terminal, wherein the output terminal of the first charging circuit is used to connect to a power source; a second charging circuit connected to the charging input terminal, wherein the output terminal of the second charging circuit is used to connect to the power source; and a control circuit, which is used to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, so that the difference between the first charging current adjusted by the first charging circuit and the second charging current is less than or equal to the preset first current. It can be seen that the present disclosure can use the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the charging current of the second charging circuit, so that the difference between the first charging current adjusted by the first charging circuit and the second charging current of the second charging circuit is not large, thereby avoiding the problems of charging heating and low charging efficiency in the terminal device due to uneven current sharing between the two charging circuits.

[0078] The following describes the relevant embodiments of the software offloading function in the present disclosure. Figure 8FIG. 1 is a flow chart of a charging method according to an exemplary embodiment. Figure 8 The method shown can be applied to a terminal device, which may include the Figures 2 to 7 The circuit structure shown. The method may include the following implementation steps:

[0079] S801 . Obtain a target charging current of a terminal device, where the target charging current includes a first charging current of the first charging circuit 200 and a second charging current of the second charging circuit 300 .

[0080] The target charging current of the present disclosure refers to the total charging current input into the terminal device for charging, which may include the first charging current subsequently shunted by the first charging circuit 200 and the second charging current shunted by the second charging circuit 300; that is, the target charging current is the sum of the first charging current and the second charging current. The present disclosure does not limit the implementation method for obtaining the target charging current, for example, it can be obtained through detection by an ohmmeter, or obtained from other devices (such as servers or other terminals) through network devices, etc. The present disclosure does not make too many limitations and details on this.

[0081] S802: When the target charging current is greater than a preset current threshold, enabling the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, so that the difference between the adjusted first charging current of the first charging circuit and the second charging current is less than or equal to the preset first current.

[0082] When the target charging current of the terminal device is too large (for example, greater than a preset current threshold), the control circuit 800 in the terminal device needs to be used to equalize the first charging current of the first charging circuit 200 according to the first charging current of the first charging circuit 200 and the second charging current of the second charging circuit 300. The preset current threshold is a current threshold that is customized by the user or the system according to actual conditions. For example, it can usually be a critical current value for charging and heating of the terminal device, etc., which is not limited in the present disclosure. In a specific implementation, the control circuit 800 includes a regulating circuit 801 and a sampling control circuit 802. When the target charging current is greater than the preset current threshold, the regulating circuit 801 in the control circuit 800 can be enabled to regulate the first charging current of the first charging circuit 200 to obtain the first charging current adjusted by the regulating circuit 801. The sampling control circuit 802 in the control circuit 800 is enabled to obtain the first charging current adjusted by the adjustment circuit 801 and the second charging current of the second charging circuit 300, and then the adjustment circuit 801 is controlled to perform feedback adjustment on the first charging current of the first charging circuit 200 according to the first charging current adjusted by the adjustment circuit 801 and the second charging current, so that the difference between the first charging current adjusted by the feedback and the second charging current is less than or equal to the preset first current. For the relevant introduction of the adjustment circuit 801 and the sampling control circuit 802, please refer to the above Figure 2-Figure 7 The relevant introduction in the embodiments will not be repeated here.

[0083] In an optional embodiment, the control circuit 800 may further include a regulation control circuit 803. The terminal device may also enable the regulation control circuit 803 to adjust the voltage (V out ) is adjusted and controlled to control the difference between the re-adjusted first charging current and the second charging current of the second charging circuit 300 to be equal to the preset second current.

[0084] The present disclosure does not limit the specific implementation of the above-mentioned regulation control. For example, in an example implementation, when the difference between the first charging current after the above-mentioned feedback adjustment and the above-mentioned second charging current is greater than the preset second current, the voltage of the control terminal 8023 in the above-mentioned sampling control circuit 802 can be reduced.

[0085] In another example implementation, when the difference between the first charging current after feedback adjustment and the second charging current is smaller than the preset second current, the voltage of the control terminal 8023 in the sampling control circuit 802 may be increased.

[0086] It can be understood that since the first charging current I1 = g m ×(V out -V s ) It can be seen that V out =(I2+ΔI) / g m +V s , where ΔI=I1-I2, V s The voltage of the output port 6012 in the regulating circuit 801, that is, the source voltage of the MOS tube Q1; m is the conductance parameter of the regulating circuit 801, that is, the conductance parameter (impedance) of the MOS tube Q1; I2 is the second charging current. It can be seen that the voltage (V out ) is in direct proportion to the second charging current inputted, the terminal device can adjust the voltage (V out ), so that the difference between the re-adjusted first charging current and the above-mentioned second charging current is equal to the preset second current, etc. Optionally, in the above-mentioned adjustment control process, the present disclosure can also be combined with a control method such as proportional integral differential PID to adjust V out , this disclosure does not make too many limitations and details on this.

[0087] In another optional embodiment, the terminal device enables the above-mentioned regulation control circuit 803 to adjust the voltage (V out ) Before performing regulation control, it is also necessary to determine whether the terminal device needs to start the software shunt function. When the terminal device needs to start the software shunt function, it can be forbidden to enable the above-mentioned sampling control circuit 802 to obtain the first charging current and the above-mentioned second charging current adjusted by the adjustment circuit 801, and control the above-mentioned adjustment circuit 801 to adjust the first charging current of the above-mentioned first charging circuit to turn off the hardware shunt function of the above-mentioned charging circuit; that is, when the terminal device needs to start the software shunt function, the hardware shunt function of the charging circuit can be turned off first, and only the software shunt function can be used for shunt adjustment. Conversely, when the terminal device does not need to start the software shunt function, the process can be ended.

[0088] Among them, the present disclosure does not limit the above-mentioned determination implementation method of whether the software diversion function needs to be started. For example, by detecting whether the terminal device is in a preset software diversion mode, if it is in the preset software diversion mode, it can be determined that the terminal device needs to start the software diversion function; otherwise, it is determined that the terminal device does not need to start the software diversion function, etc. For another example, the preset diversion function parameter in the terminal device can be detected. When the diversion function parameter is a preset parameter (such as 1, etc.), it can be determined that the terminal device needs to start the software diversion function; otherwise, it is determined that the terminal device does not need to start the software diversion function, etc. The present disclosure does not make too many limitations and details on this.

[0089] By implementing the embodiments of the present disclosure, the present disclosure can combine the hardware shunt function and the software shunt function to automatically and intelligently shunt and adjust the charging current input into the terminal device, so that the first charging current after shunt adjustment and the second charging current of the second charging circuit are not much different, so as to avoid problems such as uneven shunt causing charging heating of the terminal device and low charging efficiency; at the same time, it can also save the design cost of the entire charging circuit.

[0090] Based on the above examples, see Fig. 9 FIG. 1 is a schematic diagram showing the structure of a charging device according to an exemplary embodiment. Fig. 9 The device shown can be applied to Figures 1 to 7 In any of the charging circuits shown, the device may include an acquisition module 901 and a processing module 902. Wherein:

[0091] The acquisition module 901 is configured to acquire a target charging current of the terminal device, where the target charging current includes a first charging current of the first charging circuit and a second charging current of the second charging circuit;

[0092] The processing module 902 is configured to enable the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit when the target charging current is greater than a preset current threshold, so that the difference between the adjusted first charging current of the first charging circuit and the second charging current is less than or equal to the preset first current.

[0093] In some embodiments, the control circuit includes: a regulation circuit and a sampling control circuit; the processing module 902 is configured to enable the regulation circuit to regulate the first charging current of the first charging circuit; enable the sampling control circuit to obtain the first charging current and the second charging current adjusted by the regulation circuit, and control the regulation circuit to regulate the first charging current of the first charging circuit.

[0094] In some embodiments, the charging circuit further includes a regulation control circuit, the regulation control circuit is connected to the sampling control circuit, and the processing module 902 is further configured as follows:

[0095] The regulation control circuit is enabled to regulate and control the voltage of the control terminal based on the first charging current and the second charging current after feedback regulation, so as to control the difference between the first charging current and the second charging current after re-regulation to be less than or equal to a preset second current.

[0096] In some embodiments, the processing module 902 is configured to:

[0097] When the difference between the first charging current and the second charging current after feedback adjustment is greater than the preset second current, the voltage of the first control terminal is adjusted downward; or,

[0098] When the difference between the first charging current and the second charging current after feedback adjustment is smaller than the preset second current, the voltage of the first control terminal is increased and adjusted.

[0099] In some embodiments, before enabling the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, the processing module 902 is also configured to prohibit enabling the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit when the terminal device needs to start the software diversion function, so as to turn off the hardware diversion function of the charging circuit.

[0100] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0101] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the charging method provided by the present disclosure.

[0102] Fig.10 is a schematic diagram of a terminal device according to an exemplary embodiment. For example, the terminal device 1000 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or other terminal devices. The terminal device 1000 may include a charging circuit or a control circuit 800 in a charging circuit as described in any one or more of the above embodiments; and / or may be used to perform the steps of the charging method described above. For example, refer to Fig.10 The terminal device 1000 may include one or more of the following components: a processing component 1002 , a memory 1004 , a power component 1006 , a multimedia component 1008 , an audio component 1010 , an input / output interface 1012 , a sensor component 1014 , and a communication component 1016 .

[0103] The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the charging method described above. In addition, the processing component 1002 may include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.

[0104] The memory 1004 is configured to store various types of data to support the operation of the device 1000. Examples of such data include instructions for any application or method operating on the device 1000, contact data, phone book data, messages, pictures, videos, etc. The memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0105] The power supply component 1006 provides power to the various components of the device 1000. The power supply component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.

[0106] The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front camera and / or a rear camera. When the terminal device 1000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0107] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC), and when the device 1000 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1004 or sent via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.

[0108] The input / output interface 1012 provides an interface between the processing component 1002 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0109] The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, the sensor assembly 1014 can detect the open / closed state of the device 1000, the relative positioning of components, such as the display and keypad of the device 1000, and the sensor assembly 1014 can also detect the position change of the device 1000 or a component of the device 1000, the presence or absence of user contact with the device 1000, the orientation or acceleration / deceleration of the device 1000, and the temperature change of the device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0110] The communication component 1016 is configured to facilitate wired or wireless communication between the device 1000 and other devices. The device 1000 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0111] In an exemplary embodiment, the device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described charging method.

[0112] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, and the instructions can be executed by the processor 1020 of the device 1000 to complete the above-mentioned upper charging method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0113] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-level chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned charging method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, such as the integrated circuit or chip including a processor, a memory, and an interface for communicating with other devices. The executable instruction may be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned charging method is implemented; alternatively, the integrated circuit or chip may receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned charging method.

[0114] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above-mentioned charging method when executed by the programmable device.

[0115] See also Fig.11 FIG. 1 is a schematic diagram showing the structure of a chip according to an exemplary embodiment. Fig.11 The chip 1100 shown may be used to execute part or all of the contents of the above charging method embodiment; and / or, the chip 1100 may include part or all of the contents of the above charging circuit embodiment. Fig.11 The chip 1100 shown may include a processor 1101 and an interface 1102. Optionally, it may further include a memory 1103. The number of the processors 1101 may be one or more, and the number of the interfaces 1102 may be multiple.

[0116] In one embodiment, for a case where a chip is used to implement the method embodiment of the present disclosure:

[0117] The interface 1102 is used to receive or output signals;

[0118] The processor 1101 is used to execute part or all of the contents in the above-mentioned charging method embodiment; and / or, the processor 1101 may include part or all of the contents in the above-mentioned charging circuit embodiment, etc.

[0119] Understandably, the processor in the embodiment of the present disclosure may be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0120] It is understandable that the memory in the embodiments of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0121] It should be noted here that the description of the above storage medium, device and chip embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.

[0122] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0123] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A charging circuit, characterized in that: include: Charging input terminal; a first charging circuit connected to the charging input terminal, wherein the output terminal of the first charging circuit is used to be connected to a power source; a second charging circuit connected to the charging input terminal, wherein the output terminal of the second charging circuit is used to be connected to the power source; A control circuit is used to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, so that the difference between the adjusted first charging current of the first charging circuit and the second charging current is less than or equal to a preset first current.

2. The circuit according to claim 1, characterized in that The control circuit includes: a regulating circuit and a sampling control circuit; wherein, The regulating circuit is used to regulate the first charging current of the first charging circuit; The sampling control circuit is used to obtain the first charging current and the second charging current adjusted by the adjustment circuit, and control the adjustment circuit to adjust the first charging current of the first charging circuit.

3. The circuit according to claim 2, characterized in that The sampling control circuit includes: a first sampling end, a second sampling end and a control end, the first sampling end is used to collect the first charging current adjusted by the adjustment circuit, the second sampling end is used to collect the second charging current, and the control end is used to control the adjustment circuit to perform feedback adjustment on the first charging current of the first charging circuit based on the first charging current and the second charging current adjusted by the adjustment circuit.

4. The circuit according to claim 3, characterized in that The sampling control circuit comprises an operational amplifier, one input terminal of the operational amplifier is connected to the first sampling terminal, the other input terminal of the operational amplifier is connected to the second sampling terminal, and the output terminal of the operational amplifier is connected to the control terminal.

5. The circuit according to claim 3, characterized in that The control circuit further includes a regulating control circuit, and the regulating control circuit is connected to the sampling control circuit; wherein: The regulation control circuit is used to output an enable signal to determine whether to enable the sampling control circuit based on the enable signal; and / or, The regulation control circuit is used to regulate and control the voltage of the control terminal based on the first charging current and the second charging current after feedback regulation, so as to control the difference between the first charging current and the second charging current after re-regulation to be less than or equal to a preset second current.

6. The circuit according to claim 5, characterized in that The regulating control circuit is used for: When the difference between the first charging current and the second charging current after feedback adjustment is greater than the preset second current, lowering the voltage of the first control terminal; or, When the difference between the first charging current and the second charging current after feedback adjustment is smaller than the preset second current, the voltage of the first control terminal is increased and adjusted.

7. The circuit according to claim 6, characterized in that The regulation control circuit includes a processor or a microcontroller.

8. The circuit according to any one of claims 2 to 7, characterized in that: The regulating circuit includes at least one of the following: a unipolar transistor, a bipolar transistor and a variable resistor.

9. A charging method, characterized in that: Applied in a charging circuit, the charging circuit comprises a charging input terminal, a first charging circuit connected to the charging input terminal, a second charging circuit connected to the charging input terminal, and a control circuit, wherein the output terminals of the first charging circuit and the second charging circuit are respectively used to be connected to a power source; the method comprises: Acquire a target charging current of a terminal device, where the target charging current includes a first charging current of the first charging circuit and a second charging current of the second charging circuit; When the target charging current is greater than a preset current threshold, the control circuit is enabled to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, so that the difference between the adjusted first charging current of the first charging circuit and the second charging current is less than or equal to the preset first current.

10. The method according to claim 9, characterized in that Before enabling the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit, the method further includes: When the terminal device needs to start the software diversion function, it is prohibited to enable the control circuit to adjust the first charging current of the first charging circuit according to the first charging current of the first charging circuit and the second charging current of the second charging circuit to turn off the hardware diversion function of the charging circuit.

11. The method according to claim 9 or 10, characterized in that: The charging circuit is a charging circuit as described in any one of claims 1 to 8 above.

12. A terminal device, characterized in that: The terminal device comprises the charging circuit as described in any one of claims 1 to 8 above; and / or the terminal device executes the charging method as described in any one of claims 9 to 11 above.

13. A terminal device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 9 to 11.

14. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 9 to 11 are implemented.