Current control circuit and power supply device
By introducing current sampling and comparison circuits into the current control circuit, adjusting the current output of the feedback loop in advance, the problem of slow response of PID loop control during load transients is solved, and the response speed of current control is improved.
Patent Information
- Application Number
- CN202421520433.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2034-06-28
AI Technical Summary
PID loop control is difficult to respond in time when load transients, resulting in overshoot of the current output.
Design a current control circuit, including a feedback loop, a current sampling circuit and a comparison circuit. The current sampling circuit samples the output current of the feedback loop. The comparison circuit compares the sampled signal with the reference signal. When the sampled signal exceeds the reference signal, the output control signal is output to the feedback loop to adjust the current output in advance.
The response speed of the current control circuit during load transients is improved, and the overshoot phenomenon of the current output is reduced.
Smart Images

Figure CN222719813U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a current control circuit and a power supply device. Background Art
[0002] PID (Proportional-Integral-Derivative) loop control is widely used in current output control of power supply devices, and it has the characteristics of good current output stability. However, the PID loop control method often has gain bandwidth and response time. When there is a large load transient at the output, the PID loop control cannot respond in time, resulting in a large overshoot at the output. Utility Model Content
[0003] The main technical problem solved by the present application is to provide a current control circuit and a power supply device, so as to improve the control response speed of the current when the load changes transiently.
[0004] In order to solve the above technical problems, the technical solution adopted in the present application is to provide a current control circuit, which includes: a feedback loop, the feedback loop has a current output end, and the current output end is used to supply power to the load; a current sampling circuit, the current sampling circuit is connected to the current output end of the feedback loop, and the current sampling circuit is used to sample the output current of the feedback loop to obtain a sampling signal; a comparison circuit, the comparison circuit is connected to the current sampling circuit, and the comparison circuit is used to compare the received sampling signal with a reference signal, and output a control signal to the feedback loop when the voltage signal exceeds the reference signal, and the feedback loop adjusts the current output according to the control signal.
[0005] In a possible implementation, the current sampling circuit includes: a sampling resistor, the sampling resistor is connected in series to the current output end of the feedback loop; a differential amplifier circuit, the differential amplifier circuit includes a differential amplifier, the differential amplifier includes a first input interface, a second input interface and an output pin, the first input interface is connected to the first end of the sampling resistor, the second input interface is connected to the second end of the sampling resistor, and the output pin is connected to the comparison circuit.
[0006] In a possible implementation, the comparison circuit includes: an operational amplifier, the operational amplifier includes a first input terminal, a second input terminal and an output terminal, the first input terminal is connected to the output pin of the differential amplifier, the second input terminal is used to input a reference signal, and the output terminal is connected to the feedback loop.
[0007] In a possible implementation, the comparison circuit further includes: a reference signal input circuit, wherein the reference signal input circuit is connected to the second input terminal of the operational amplifier.
[0008] In a possible implementation, the reference signal input circuit includes a reference signal setting circuit and a reference signal adjustment circuit, the reference signal setting circuit is connected to the second input terminal of the operational amplifier, and the reference signal adjustment circuit is connected to the reference signal setting circuit.
[0009] In a possible implementation, the reference signal setting circuit includes a power supply end, a first resistor and a second resistor; wherein the power supply end is connected to the first end of the first resistor, the second end of the first resistor is connected to the first end of the second resistor and the second input end of the operational amplifier, and the second end of the second resistor is grounded.
[0010] In a possible implementation, the reference signal conditioning circuit includes a signal input terminal, a transistor, a third resistor, a fourth resistor and a fifth resistor; wherein the drain of the transistor is connected to the first end of the third resistor, the second end of the third resistor is connected to the first end of the second resistor, the source of the transistor is grounded, the signal input terminal is connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the gate of the transistor and the first end of the fifth resistor, and the second end of the fifth resistor is connected to the source of the transistor.
[0011] In a possible implementation manner, the current control circuit further includes: a current limiting circuit, and the comparison circuit is connected to the feedback loop through the current limiting circuit.
[0012] In one possible implementation, the feedback loop includes: a feedback signal transmission circuit, the feedback signal transmission circuit is connected to the comparison circuit; a voltage feedback loop, the voltage feedback loop is connected to the feedback signal transmission circuit, the voltage feedback loop is used to calculate the error voltage, and output a voltage control signal to the feedback signal transmission circuit; a current feedback loop, the current feedback loop is connected to the feedback signal transmission circuit, the current feedback loop is used to calculate the error current, and output a current control signal to the feedback signal transmission circuit.
[0013] In order to solve the above technical problems, another technical solution adopted in the present application is to provide a power supply device, which includes the current control circuit described in any one of the above items.
[0014] The beneficial effect of the present application is: different from the prior art, the present application provides a current control circuit and a power supply device, the current control circuit includes a feedback loop, a current sampling circuit and a comparison circuit. The feedback loop has a current output end, and the current output end is used to supply power to the load; the current sampling circuit is connected to the current output end of the feedback loop, and the current sampling circuit is used to sample the output current of the feedback loop to obtain a sampling signal; the comparison circuit is connected to the current sampling circuit, and the comparison circuit is used to compare the received sampling signal with the reference signal, and output a control signal to the feedback loop when the voltage signal exceeds the reference signal, and the feedback loop adjusts the current output according to the control signal. In the above, the sampling signal of the output current is obtained by the current sampling circuit, and the sampling signal is compared with the reference signal by the comparison circuit. When the sampling signal exceeds the reference signal, the control signal is output to the feedback loop, so that the current control is performed in advance according to the control signal before the current loop control in the feedback loop has no time to respond to the feedback, thereby improving the control response speed of the current control circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 This is a schematic structural block diagram of an embodiment of a current control circuit of the present application;
[0017] Figure 2 for Figure 1 A schematic structural diagram of an embodiment of a sampling resistor of a current sampling circuit in a current control circuit;
[0018] Figure 3 for Figure 1 A schematic structural diagram of an embodiment of a differential amplifier circuit of a current sampling circuit in a current control circuit;
[0019] Figure 4 for Figure 1 A schematic diagram of the structure of an embodiment of a comparison circuit in a current control circuit;
[0020] Figure 5 for Figure 1 A schematic structural diagram of a specific implementation scheme of a current control circuit.
[0021] Among them, 100, current control circuit; 10, feedback loop; 20, current sampling circuit; 30, comparison circuit; 21, sampling resistor; 211, first end of the sampling resistor; 212, second end of the sampling resistor; 22, differential amplifier circuit; U1, differential amplifier; IN+, first input interface; IN-, second input interface; OUT, output pin; 30, comparison circuit; 31, current limiting circuit; U2, operational amplifier; O / F, signal input end; Q3, transistor; V1, power supply end; R1, first resistor; R2, second resistor; R3, third resistor; R4, fourth resistor; R5, fifth resistor; R6, sixth resistor; R7, seventh resistor; Q1, first transistor; Q2, second transistor; 11, voltage feedback loop; 12, current feedback loop; 13, feedback signal transmission circuit. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0023] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless otherwise clearly indicated above, and "multiple" generally includes at least two, but does not exclude the inclusion of at least one.
[0024] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0025] It should be understood that the terms "include", "comprises" or any other variations used herein are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "includes..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.
[0026] PID loop control has gain bandwidth and response time. When there is a large load transient at the output, the PID loop control cannot respond in time.
[0027] Based on the above problems, the present application proposes a current control circuit and a power supply device, which samples the output current and, when the sampling signal is greater than the reference signal, sends a control signal to the feedback loop, so that the feedback loop performs current control in advance according to the control signal, thereby effectively solving the above technical problems.
[0028] A current control circuit and a power supply device provided by the present application are described in detail below in conjunction with the accompanying drawings and embodiments.
[0029] The present application provides a current control circuit. Figure 1 and Figure 5 , Figure 1 This is a schematic structural block diagram of an embodiment of a current control circuit of the present application; Figure 5 for Figure 1 A schematic diagram of a structure of a specific implementation of a current control circuit. In some embodiments, the current control circuit 100 includes a feedback loop 10 , a current sampling circuit 20 , and a comparison circuit 30 .
[0030] Among them, a current control circuit 100 provided in the present application is specifically used to be set in a power supply device, such as a medical equipment power supply device, a welding machine power supply device, etc. When the output has a large load transient, the current control response speed of the power supply device is improved. Of course, in other embodiments, the constant current control circuit 100 can also be specifically set in any other reasonable electronic device that supplies power to the load, and this embodiment does not limit this.
[0031] The feedback loop 10 has a current output terminal (not shown), and the current output terminal is used to supply power to the load. The current sampling circuit 20 is connected to the current output terminal of the feedback loop 10, and the current sampling circuit 20 is used to sample the output current of the feedback loop 10 to obtain a sampling signal. The comparison circuit 30 is connected to the current sampling circuit 20, and the comparison circuit 30 is used to compare the received sampling signal with the reference signal, and output a control signal to the feedback loop 10 when the sampling signal exceeds the reference signal, and the feedback loop 10 adjusts the current output according to the control signal. Specifically, the current output terminal of the current control circuit 100 is used to supply power to the load, and the load can be specifically an electronic product, a power device, etc. Among them, the current sampling circuit 20 is used to sample the size of the output current and output a sampling signal. The current sampling circuit 20 can specifically sense the current by setting a resistor, and then calculate the size of the output current by a differential amplifier through a differential operation to output a sampling signal. In some other embodiments, the current sampling circuit 20 can also sense the current by setting other components such as a current transformer, a Hall effect sensor, and a magnetoresistive sensor. The comparison circuit 30 determines whether the output current of the current output terminal meets the rated current of the load by comparing the size of the sampling signal with the reference signal, wherein the size of the reference signal can be adjusted according to the rated current of the load, the larger the rated current of the load, the larger the value of the reference signal, and the smaller the rated current of the load, the smaller the value of the reference signal. In a specific application scenario, when the sampling signal is greater than the reference signal, the output current exceeds the rated value of the load, and the comparison circuit 30 outputs a control signal, so that the feedback loop 10 performs current control in advance according to the control signal before responding to the control according to the voltage loop and the current loop, and then performs stable control through the signal feedback of the voltage loop and the current loop. When the sampling signal is not greater than the reference signal, the current control circuit 100 performs current control according to the signal feedback of the voltage loop and the current loop.
[0032] Different from the prior art, the present application provides a current control circuit 100, which is provided with a current sampling circuit 20 and a comparison circuit 30. A sampling signal of an output current is obtained through the current sampling circuit 20, and the sampling signal is compared with a reference signal through the comparison circuit 30. When the sampling signal exceeds the reference signal, a control signal is output to a feedback loop 10, so that current control is performed in advance according to the control signal before the current loop control in the feedback loop 10 has no time to respond to feedback, thereby improving the control response speed of the current control circuit 100.
[0033] Please refer to Figure 2 and Figure 3 , Figure 2 for Figure 1 A schematic structural diagram of an embodiment of a sampling resistor of a current sampling circuit in a current control circuit. Figure 3 for Figure 1A schematic diagram of the structure of an embodiment of a differential amplifier circuit of a current sampling circuit in a current control circuit. Further, in some embodiments, the current sampling circuit 20 includes: a sampling resistor 21, and the sampling resistor 21 is connected in series to the current output end of the feedback loop 10. The differential amplifier circuit 22 includes a differential amplifier U1, and the differential amplifier U1 includes a first input interface IN+, a second input interface IN-, and an output pin OUT, the first input interface IN+ is connected to the first end 211 of the sampling resistor, the second input interface IN- is connected to the second end 212 of the sampling resistor, and the output pin OUT is connected to the comparison circuit 30. Specifically, as Figure 2 and Figure 3 In the embodiment shown, the Sense- terminal of the differential amplifier circuit 22 is connected to the Sense- terminal of the sampling resistor 21, and the Sense+ terminal of the differential amplifier circuit 22 is connected to the Sense+ terminal of the sampling resistor 21. In this embodiment, the sampling resistor 21 includes two resistor components connected in parallel, so that the sampling resistor 21 can sample a larger output current. In some other embodiments, the sampling resistor 21 can also be composed of one, three, four or other number of resistor components connected in series or in parallel. In this embodiment, the first input interface IN+ and the second input interface IN- of the differential amplifier U1 are respectively connected to the two ends of the sampling resistor 21, so that the current size can be calculated according to the voltage difference between the two ends of the sampling resistor 21, and the sampling signal is output, wherein the first input interface IN+ of the differential amplifier U1 is a positive input pin, and the second input interface IN- is a negative input pin. When sampling the current size, the current flows through the sampling resistor 21, so that the potential of the positive input pin of the differential amplifier U1 is higher than the potential of the negative input pin. The different voltages input by the two pins cause a voltage change on the base-emitter of the transistor Q3 in the differential amplifier U1, resulting in a change in the base current flowing through the transistor Q3. This change can reflect the size of the output current. The differential amplifier U1 outputs a sampling signal after detecting the current size.
[0034] Please refer to Figure 4 , Figure 4 for Figure 1 A schematic diagram of a structure of an embodiment of a comparison circuit in a current control circuit. In this embodiment, the comparison circuit 30 includes an operational amplifier U2, the operational amplifier U2 includes a first input terminal, a second input terminal and an output terminal, the first input terminal is connected to the output pin OUT of the differential amplifier U1, the second input terminal is used to input a reference signal, and the output terminal is connected to the feedback loop 10. Specifically, Figure 4In the embodiment, the IO terminal of the comparison circuit 30 is connected to the IO terminal of the differential amplifier circuit 22, so that the operational amplifier U2 receives the output of the differential amplifier U1. The first input terminal of the operational amplifier U2 is a positive input pin, the second input terminal of the operational amplifier U2 is a negative input pin, and the control signal is specifically a high-level signal. When the sampling signal input to the positive input pin of the operational amplifier U2 is greater than the reference signal input to the negative input pin, the output current exceeds the rated current, and the operational amplifier U2 outputs a high-level signal as a control signal. The feedback loop 10 effectively controls the current of the high-level signal, thereby improving the control response speed of the current control circuit 100. In some other embodiments, the first input terminal of the operational amplifier U2 can also be a negative input pin, the second input terminal of the operational amplifier U2 is a positive input pin, the control signal is specifically a low-level signal, and the feedback loop 10 effectively controls the current of the low-level signal.
[0035] In some embodiments, the comparison circuit 30 further includes a reference signal input circuit, which is connected to the second input terminal of the operational amplifier U2. The reference signal input circuit includes a reference signal setting circuit and a reference signal adjustment circuit, the reference signal setting circuit is connected to the second input terminal of the operational amplifier U2, and the reference signal adjustment circuit is connected to the reference signal setting circuit. Specifically, the reference signal setting circuit is used to generate a reference signal, input the reference signal to the second input terminal of the operational amplifier U2, and the reference signal adjustment circuit is used to adjust the size of the reference signal to adjust different reference signal sizes according to the rated current of different loads.
[0036] In a preferred embodiment, the reference signal setting circuit includes a power supply terminal V1, a first resistor R1 and a second resistor R2. The power supply terminal V1 is connected to the first end of the first resistor R1, the second end of the first resistor R1 is connected to the first end of the second resistor R2 and the second input end of the operational amplifier U2, and the second end of the second resistor R2 is grounded. Specifically, the two ends of the second resistor R2 are connected to the second input end of the operational amplifier U2, the first resistor R1 acts as a voltage divider resistor to play a voltage divider role, the greater the resistance value of the first resistor R1, the smaller the value of the reference signal input to the second input end of the operational amplifier U2 by the reference signal setting circuit, the smaller the resistance value of the first resistor R1, the greater the value of the reference signal input to the second input end of the operational amplifier U2 by the reference signal setting circuit.
[0037] Further, in the present embodiment, the reference signal adjustment circuit includes a signal input terminal O / F, a transistor Q3, a third resistor R3, a fourth resistor R4 and a fifth resistor R5. Among them, the drain of the transistor Q3 is connected to the first end of the third resistor R3, the second end of the third resistor R3 is connected to the first end of the second resistor R2, the source of the transistor Q3 is grounded, the signal input terminal O / F is connected to the first end of the fourth resistor R4, the second end of the fourth resistor R4 is connected to the gate of the transistor Q3 and the first end of the fifth resistor R5, and the second end of the fifth resistor R5 is connected to the source of the transistor Q3. Specifically, the fourth resistor R4 and the fifth resistor R5 are connected to the gate of the transistor Q3, and the fourth resistor R4 and the fifth resistor R5 play a voltage dividing role, so that the gate voltage on the transistor Q3 can be changed, thereby changing the conductive channel of the transistor Q3, controlling the size of the current flowing out of the drain, and when the current flowing out of the drain of the transistor Q3 changes, the voltage across the second resistor R2 changes, thereby achieving the purpose of changing the size of the reference signal.
[0038] In this embodiment, the current control circuit 100 further includes a current limiting circuit 31, and the comparison circuit 30 is connected to the feedback loop 10 through the current limiting circuit 31. Specifically, in the illustrated embodiment, the current limiting circuit 31 includes a first transistor Q1, a second transistor Q2, a sixth resistor R6, and a seventh resistor R7. The emitter of the first transistor Q1 is connected to the first end of the sixth resistor R6, the collector of the first transistor Q1 is connected to the output pin OUT of the operational amplifier U2, the second end of the sixth resistor R6 is connected to the feedback loop 10, the first end of the seventh resistor R7 is connected to the output pin OUT of the operational amplifier U2, the second end of the seventh resistor R7 is connected to the base of the first transistor Q1 and the collector of the second transistor Q2, the base of the second transistor Q2 is connected to the emitter of the first transistor Q1, and the emitter of the second transistor Q2 is connected to the feedback loop 10. Among them, the first transistor Q1 is used as the main control transistor, the second transistor Q2 is used as the comparison transistor, the sixth resistor R6 is connected in series to the output pin OUT of the operational amplifier U2, the sixth resistor R6 is used to detect the magnitude of the current flowing through, and the second end of the seventh resistor R7 is connected between the base of the first transistor Q1 and the collector of the second transistor Q2 to form a negative feedback path. When the current magnitude is appropriate, the voltage drop generated by the current flowing through the sixth resistor R6 is small, and the voltage drop is fed back to the base of the first transistor Q1 through the seventh resistor R7, so that the first transistor Q1 maintains a cut-off or slightly turned-on state, and does not affect the current passing. When the current is too large, the voltage drop on the sixth resistor R6 increases, and the increased voltage is fed back to the base of the second transistor Q2 through the seventh resistor R7, resulting in an increase in the collector current of the second transistor Q2 and a decrease in the collector voltage of the second transistor Q2. After the voltage of the collector of the second transistor Q2 drops, it is fed back to the base of the first transistor Q1 through the seventh resistor R7, so that the base-emitter voltage of the first transistor Q1 increases, and the first transistor Q1 enters the on state. After the first transistor Q1 is turned on, the resistance from the collector to the emitter decreases, which is equivalent to introducing a low impedance path in the output of the operational amplifier U2, thereby limiting the current. In this embodiment, the first transistor Q1 and the second transistor Q2 are both NPN-type transistors, and the current limiting circuit 31 is a current limiting circuit 31 composed of NPN-type transistors. In some other embodiments, the current limiting circuit 31 can also be a current limiting circuit 31 composed of PNP-type transistors, or the current limiting circuit 31 can also be other types of current limiting circuits 31, without specific limitation.
[0039] In this embodiment, the feedback loop 10 includes a feedback signal transmission circuit 13, and the feedback signal transmission circuit 13 is connected to the comparison circuit 30. A voltage feedback loop 11, the voltage feedback loop 11 is connected to the feedback signal transmission circuit 13, and the voltage feedback loop 11 is used to calculate the error voltage and output a voltage control signal to the feedback signal transmission circuit 13. A current feedback loop 12, the current feedback loop 12 is connected to the feedback signal transmission circuit 13, and the current feedback loop 12 is used to calculate the error current and output a current control signal to the feedback signal transmission circuit 13. Specifically, the voltage feedback loop 11 is a voltage loop feedback in the feedback loop 10, that is, a voltage loop circuit, which is responsible for monitoring the output voltage and comparing it with the set reference voltage, generating a voltage control signal through proportional, integral, and differential calculations, and outputting the voltage control signal to the feedback signal transmission circuit 13 for voltage regulation, wherein the voltage feedback loop 11 mainly includes an error amplifier and a sampling resistor 21, and the voltage feedback loop 11 can be a voltage loop circuit of any reasonable structure in the prior art, which is not specifically limited here. The current feedback loop 12 is a current loop feedback in the feedback loop 10, that is, a current loop circuit, which is used to detect the current size, and the current error is obtained by calculation and fed back to the feedback signal transmission circuit 13 for current regulation. Among them, the current feedback loop 12 has a gain bandwidth and response time. When there is a large load transient at the output, the current loop control does not have time to respond. In order to improve the response speed, a sampling signal of the output current is obtained by setting a current sampling circuit 20, and the sampling signal is compared with the reference signal by a comparison circuit 30. When the sampling signal exceeds the reference signal, a control signal is output to the feedback loop 10, so that the current control is performed in advance according to the control signal before the current loop control in the feedback loop 10 has no time to respond to the feedback, thereby improving the control response speed of the current control circuit 100. Among them, the current feedback loop 12 is a current loop circuit of any reasonable structure in the prior art, and is not specifically limited.
[0040] Different from the prior art, the present application provides a current control circuit 100, which is provided with a current sampling circuit 20 and a comparison circuit 30. A sampling signal of an output current is obtained through the current sampling circuit 20, and the sampling signal is compared with a reference signal through the comparison circuit 30. When the sampling signal exceeds the reference signal, a control signal is output to a feedback loop 10, so that current control is performed in advance according to the control signal before the current loop control in the feedback loop 10 has no time to respond to feedback, thereby improving the control response speed of the current control circuit 100.
[0041] Correspondingly, the present application also proposes a power supply device, which includes the current control circuit described in any of the above embodiments.
[0042] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent principle transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A current control circuit, characterized in that: The current control circuit comprises: A feedback loop, wherein the feedback loop has a current output terminal, and the current output terminal is used to supply power to a load; A current sampling circuit, the current sampling circuit is connected to the current output end of the feedback loop, and the current sampling circuit is used to sample the output current of the feedback loop to obtain a sampling signal; A comparison circuit is connected to the current sampling circuit, the comparison circuit is used to compare the received sampling signal with the reference signal, and output a control signal to the feedback loop when the sampling signal exceeds the reference signal, and the feedback loop adjusts the current output according to the control signal.
2. The current control circuit according to claim 1, characterized in that: The current sampling circuit comprises: A sampling resistor, wherein the sampling resistor is connected in series to a current output end of the feedback loop; A differential amplifier circuit, wherein the differential amplifier circuit comprises a differential amplifier, wherein the differential amplifier comprises a first input interface, a second input interface and an output pin, wherein the first input interface is connected to the first end of the sampling resistor, the second input interface is connected to the second end of the sampling resistor, and the output pin is connected to the comparison circuit.
3. The current control circuit according to claim 2, characterized in that: The comparison circuit comprises: An operational amplifier, the operational amplifier comprises a first input terminal, a second input terminal and an output terminal, the first input terminal is connected to the output pin of the differential amplifier, the second input terminal is used to input a reference signal, and the output terminal is connected to the feedback loop.
4. The current control circuit according to claim 3, characterized in that: The comparison circuit also includes: A reference signal input circuit is connected to the second input terminal of the operational amplifier.
5. The current control circuit according to claim 4, characterized in that: The reference signal input circuit includes a reference signal setting circuit and a reference signal adjustment circuit. The reference signal setting circuit is connected to the second input terminal of the operational amplifier, and the reference signal adjustment circuit is connected to the reference signal setting circuit.
6. The current control circuit according to claim 5, characterized in that: The reference signal setting circuit includes a power supply end, a first resistor and a second resistor; wherein the power supply end is connected to the first end of the first resistor, the second end of the first resistor is connected to the first end of the second resistor and the second input end of the operational amplifier, and the second end of the second resistor is grounded.
7. The current control circuit according to claim 6, characterized in that: The reference signal conditioning circuit includes a signal input terminal, a transistor, a third resistor, a fourth resistor and a fifth resistor; wherein the drain of the transistor is connected to the first end of the third resistor, the second end of the third resistor is connected to the first end of the second resistor, the source of the transistor is grounded, the signal input terminal is connected to the first end of the fourth resistor, the second end of the fourth resistor is connected to the gate of the transistor and the first end of the fifth resistor, and the second end of the fifth resistor is connected to the source of the transistor.
8. The current control circuit according to claim 1, characterized in that: The current control circuit further includes: A current limiting circuit, wherein the comparison circuit is connected to the feedback loop via the current limiting circuit.
9. The current control circuit according to claim 1, characterized in that: The feedback loop includes: A feedback signal transmission circuit, wherein the feedback signal transmission circuit is connected to the comparison circuit; A voltage feedback loop, the voltage feedback loop is connected to the feedback signal transmission circuit, the voltage feedback loop is used to calculate the error voltage and output a voltage control signal to the feedback signal transmission circuit; A current feedback loop is connected to the feedback signal transmission circuit, and the current feedback loop is used to calculate the error current and output a current control signal to the feedback signal transmission circuit.
10. A power supply device, characterized in that: The power supply device comprises the current control circuit according to any one of claims 1-9.