Compensation circuit

By designing a DC cancellation unit in the DCDC control circuit, the current measurement deviation problem caused by DC interference is solved, and the accurate measurement of the first inductor current is achieved, ensuring the accuracy of the induced voltage.

CN119270970AActive Publication Date: 2025-01-073PEAK INC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411388244.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-07
Estimated Expiration
2044-09-30

AI Technical Summary

Technical Problem

In the prior art, the current of the measured first inductor due to DC interference in the DCDC control circuit is larger than that of the actual current flowing through the first inductor, resulting in a larger absolute value of the induced voltage VCS, which in turn affects the accurate measurement of the current. .

Method used

A compensation circuit is designed to cancel the DC current flowing out of the pin CS through the DC cancellation unit, so that the measured voltage of the pin CS is equal to the voltage on the induction resistor, thereby accurately measuring the flow through the first The current of the inductor. The compensation circuit includes a first current source, a second current source, a third current source, a first voltage divider unit, a second voltage divider unit and a comparison unit. The DC cancellation unit is composed of a MOS tube and a resistor for canceling the DC current and Controls the conduction of the MOS tube.

Benefits of technology

Through the design of the DC cancellation unit, the voltage of the measured pin CS is ensured to be equal to the voltage on the induction resistor, and the accurate measurement of the first inductor current is achieved, and the current deviation problem caused by DC interference is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119270970A_ABST
    Figure CN119270970A_ABST
Patent Text Reader

Abstract

The compensating circuit comprises a first current source, a second current source and a third current source, wherein the first ends of the first current source, the second current source and the third current source are respectively connected with power supply voltage; the first voltage dividing unit is connected between the second end of the second current source and the PGND pin and outputs sampling voltage at a first node; the second voltage dividing unit is connected between the second end of the first current source and the PGND pin and outputs induced voltage at a second node, and the second node is connected with the CS pin; the comparison unit is connected with the first voltage division unit and the second voltage division unit and comprises a comparator, the first input end of the comparator is connected with the second end of the first current source, the second input end of the comparator is connected with the second end of the second current source, and the output end of the comparator is connected with a GATE pin; and the direct current offset unit is connected with the second end of the third current source, the PGND pin and the second node. The direct current at the CS pin can be counteracted, so that the accuracy of measuring the voltage at the CS pin is ensured, and the current flowing through the first inductor is accurately measured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of power supply circuits, and in particular relates to a compensation circuit. Background Art

[0002] like Figure 1 The circuit diagram of the DCDC control circuit in the prior art is shown, including a first MOS tube M1, a first inductor L1 and a sensing resistor R1, wherein the first end of the first inductor L1 is connected to the BIAS pin of the DCDC controller, the control end of the first MOS tube M1 is connected to the GATE pin of the DCDC controller, the first end is connected to the CS pin of the DCDC controller and the first end of the sensing resistor R1 respectively, the second end is connected to the second end of the first inductor L1, and the second end of the sensing resistor R1 is connected to the PGND pin of the DCDC controller and the reference potential respectively. In the DCDC control circuit, the peak value of the maximum current on the first inductor L needs to be determined by the sensing resistor R1 and applied to other parts of the DCDC control circuit, so the voltage V on the CS pin of the DCDC controller needs to be accurately measured. CS .

[0003] Although the compensation circuit in the prior art can obtain the voltage V at the CS pin CS However, there is a DC current flowing out of the CS pin because the DCDC control circuit needs to control the first MOS tube M1 to turn on, causing the induced voltage V CS The absolute value of the sampling calculation is too large, which leads to the difference between the current I flowing through the first inductor and the actual current I L1 Relatively large.

[0004] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention

[0005] The object of the present invention is to provide a compensation circuit, which can solve the technical problem in the prior art that the current of the first inductor measured is larger than the current actually flowing through the first inductor due to DC interference.

[0006] In order to achieve the above object, a compensation circuit is provided in a specific embodiment of the present invention, which is applied to a DCDC control circuit. The DCDC control circuit includes a first inductor, a first MOS tube and a sensing resistor. The first end of the first inductor is connected to the BIAS pin, the control end of the first MOS tube is connected to the GATE pin, and the second end is connected to the second end of the first inductor. The first end of the sensing resistor is connected to the CS pin and the second end of the first MOS tube respectively, and the second end of the sensing resistor is connected to the PGND pin. The compensation circuit includes:

[0007] A first current source, a first terminal of which is connected to a power supply voltage;

[0008] a second current source having a first terminal connected to a power supply voltage;

[0009] a third current source, a first terminal of which is connected to the power supply voltage;

[0010] A first voltage dividing unit, connected between the second end of the second current source and the PGND pin, and outputting a sampling voltage at a first node;

[0011] A second voltage dividing unit is connected between the second end of the first current source and the PGND pin, and outputs an induced voltage at a second node, and the second node is connected to the CS pin;

[0012] a comparison unit, connected to the first voltage divider unit and the second voltage divider unit respectively, the comparison unit comprising a comparator, a first input end of the comparator being connected to the second end of the first current source, a second input end being connected to the second end of the second current source, and an output end being connected to a GATE pin;

[0013] The DC offset unit is respectively connected to the second end of the third current source, the PGND pin and the second node or the second end of the second current source, and is used to offset the DC current flowing out of the second current source from the second node.

[0014] In one or more embodiments of the present invention, the DC offset unit includes a second MOS tube and a third MOS tube, wherein:

[0015] A first end of the second MOS tube is connected to the PGND pin, and a second end is connected to the second node;

[0016] The control end of the third MOS tube is connected to the control end of the second MOS tube and the second end of the third MOS tube respectively, the first end of the third MOS tube is connected to the PGND pin, and the second end of the third MOS tube is connected to the second end of the third current source.

[0017] In one or more embodiments of the present invention, the DC offset unit includes a second MOS transistor, a third MOS transistor and a fourth MOS transistor, wherein:

[0018] A first end of the second MOS tube is connected to the PGND pin, and a second end of the second MOS tube is connected to the second end of the second current source;

[0019] The control end of the third MOS tube is connected to the control end of the second MOS tube and the second end of the third MOS tube respectively, the first end of the third MOS tube is connected to the PGND pin, and the second end of the third MOS tube is connected to the second end of the third current source;

[0020] The control end of the fourth MOS tube is connected to the control end of the second MOS tube, the first end of the fourth MOS tube is connected to the PGND pin, and the second end of the fourth MOS tube is connected to the second end of the first current source.

[0021] In one or more embodiments of the present invention, the compensation circuit further includes a sampling unit connected between the sampling voltage and a power supply voltage.

[0022] In one or more embodiments of the present invention, the first voltage dividing unit includes a fifth resistor and a seventh resistor, wherein:

[0023] The first end of the fifth resistor is connected to the second end of the second transistor,

[0024] The first end of the seventh resistor is connected to the second end of the fifth resistor, and the second end of the seventh resistor is connected to the second node.

[0025] In one or more embodiments of the present invention, the second voltage dividing unit includes a fourth resistor and a sixth resistor, wherein:

[0026] The first end of the fourth resistor is connected to the second end of the first transistor, and the second end of the fourth resistor is connected to the first node;

[0027] The first end of the sixth resistor is connected to the first node, and the second end is connected to the pin PGND.

[0028] In one or more embodiments of the present invention, the first voltage dividing unit includes a fifth resistor, a fifth MOS tube and a seventh resistor, wherein:

[0029] The first end of the fifth resistor is connected to the second end of the second current source;

[0030] The control end of the fifth MOS tube is connected to the second end of the fifth MOS tube, the second end is connected to the second end of the fifth resistor, and the first end of the fifth MOS tube is connected to the second node;

[0031] The first end of the seventh resistor is connected to the second node, and the second end is connected to the PGND pin.

[0032] In one or more embodiments of the present invention, the second voltage dividing unit includes a fourth resistor, a sixth MOS tube and a sixth resistor, wherein:

[0033] The first end of the fourth resistor is connected to the second end of the first current source;

[0034] The control end of the sixth MOS transistor is connected to the second end of the sixth MOS transistor, the second end is connected to the second end of the fourth resistor, and the first end of the sixth MOS transistor is connected to the node C;

[0035] The first end of the sixth resistor is connected to the first node, and the second end is connected to the PGND pin.

[0036] In one or more embodiments of the present invention, the comparison unit further includes a first triode, a second triode, a second resistor, and a third resistor, wherein:

[0037] The control end of the first transistor is connected to the fourth node, the first end of the first transistor is connected to the first end of the first current source, and the second end of the first transistor is connected to the first end of the fourth resistor;

[0038] The control end of the second triode is connected to the fourth node, the first end of the second triode is connected to the second end of the second current source, and the second end of the second triode is connected to the first end of the fifth resistor;

[0039] The second resistor is connected between the second end of the first current source and the third node;

[0040] The third resistor is connected between the second end of the second current source and the third node;

[0041] The third node is connected to the fourth node.

[0042] Another aspect of the present invention further provides a compensation circuit, which is applied to a DCDC control circuit. The DCDC control circuit includes a first inductor, a first MOS tube and a sensing resistor. The first end of the first inductor is connected to the BIAS pin, the control end of the first MOS tube is connected to the GATE pin, and the second end is connected to the second end of the first inductor. The first end of the sensing resistor is connected to the CS pin and the second end of the first MOS tube respectively, and the second end of the sensing resistor is connected to the PGND pin. The compensation circuit includes:

[0043] A first current source, a first terminal of which is connected to a power supply voltage;

[0044] a second current source having a first terminal connected to a power supply voltage;

[0045] A DC offset unit is connected to the second end of the first current source, the second end of the second current source, the CS pin and the PGND pin respectively, and outputs a sensed voltage at the CS pin and outputs a sampled voltage at the first node;

[0046] A comparison unit is connected to the DC offset unit, the comparison unit includes a comparator, a first input end of the comparator is connected to the second end of the first current source, a second input end of the comparator is connected to the second end of the second current source, and an output end is connected to the GATE pin.

[0047] In one or more embodiments of the present invention, the DC offset unit includes a fourth resistor, a fifth resistor, a sixth resistor, a seventh MOS transistor and an eighth MOS transistor, wherein:

[0048] The first end of the fifth resistor is connected to the second end of the second triode;

[0049] The control end of the seventh MOS tube is connected to the pin CS, the second end is connected to the pin PGND, and the first end is connected to the second end of the fifth resistor;

[0050] The first end of the fourth resistor is connected to the second end of the first transistor;

[0051] The control end of the eighth MOS tube is connected to the first node, the second end is connected to the pin PGND, and the first end is connected to the second end of the fourth resistor;

[0052] The first end of the sixth resistor is connected to the first node, and the second end is connected to the pin PGND.

[0053] In one or more embodiments of the present invention, the compensation circuit further includes a sampling unit connected between the sampling voltage and the power supply voltage.

[0054] In one or more embodiments of the present invention, the comparison unit further includes a first triode, a second triode, a second resistor, and a third resistor, wherein:

[0055] The control end of the first transistor is connected to the fourth node, the first end of the first transistor is connected to the first end of the first current source, and the second end of the first transistor is connected to the first end of the fourth resistor;

[0056] The control end of the second triode is connected to the fourth node, the first end of the second triode is connected to the second end of the second current source, and the second end of the second triode is connected to the first end of the fifth resistor;

[0057] The second resistor is connected between the second end of the first current source and the third node;

[0058] The third resistor is connected between the second end of the second current source and the third node;

[0059] The third node is connected to the fourth node.

[0060] Compared with the prior art, the compensation circuit of the present invention can offset the DC current flowing out of the pin CS, which is the source of the second current, through the DC offset unit, so that the measured voltage of the pin CS is equal to the voltage on the sensing resistor, thereby accurately measuring the current flowing through the first inductor. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0062] Figure 1 It is a circuit diagram of a DCDC control circuit in the prior art;

[0063] Figure 2 A circuit diagram of a compensation circuit in the prior art;

[0064] Figure 3 is a circuit diagram of a compensation circuit in Embodiment 1 of the present invention;

[0065] Figure 4 is a circuit diagram of a compensation circuit in Embodiment 2 of the present invention;

[0066] Figure 5 This is a circuit diagram of the compensation circuit in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0067] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0068] "Coupled" or "connected" or "connected" in the specification includes both direct connection and indirect connection. Indirect connection is a connection through an intermediate medium, such as a connection through an electrically conductive medium, which may have a parasitic first inductance or parasitic capacitance; indirect connection may also include connection through other active or passive devices on the basis of achieving the same or similar functional purposes, such as connection through circuits or components such as switches and follower circuits. In addition, in the invention, words such as "first" and "second" are mainly used to distinguish one technical feature from another technical feature, and do not necessarily require or imply that there is a certain actual relationship, quantity or order between these technical features.

[0069] In the detailed description of the specification, reference is made to the accompanying drawings forming a part thereof, wherein like reference numerals refer to like parts throughout, and wherein are shown by way of exemplary embodiments that may be implemented. It should be understood that other embodiments may be utilized and structural or logical changes may be made without departing from the scope of the present disclosure. Therefore, the following detailed description should not be considered in a limiting sense.

[0070] The various operations in the specification may be described in turn as multiple discrete actions or operations in a manner that is most helpful in understanding the claimed subject matter. However, the order of description should not be interpreted as implying that these operations must be order-dependent. Specifically, these operations may not be performed in the order presented. The described operations may be performed in an order different from the described embodiments. Various additional operations may be performed and / or the described operations may be omitted in additional embodiments.

[0071] Various components and devices may be referred to or shown herein in the singular, but this is only for ease of discussion, and any element referred to in the singular may include a plurality of such elements in accordance with the teachings herein.

[0072] The specification describes the use of the phrases "in one embodiment" or "in other embodiments" or "in some embodiments", which may each refer to one or more of the same or different embodiments. In addition, the terms "including", "comprising", "having", etc. used in relation to the embodiments of the present disclosure are synonymous.

[0073] like Figure 2 The circuit diagram of the compensation circuit in the prior art is shown as follows. Although the compensation circuit can obtain the induced voltage V at the pin CS end CS , but there is a DC current flowing out of the second current source I2 at the pin CS, causing the induced voltage V CS The absolute value of is too large, which leads to the current I flowing through the first inductor L1 Too big.

[0074] In view of the above problems, the present invention discloses a compensation circuit, which is applied to Figure 1 The DCDC control circuit shown in the figure includes a first MOS tube M1, a first inductor L1 and a sensing resistor R1, wherein the first end of the first inductor L1 is connected to the BIAS pin of the DCDC controller, the control end of the first MOS tube M1 is connected to the GATE pin of the DCDC controller, the first end is connected to the CS pin of the DCDC controller and the first end of the sensing resistor R1 respectively, the second end of the first MOS tube M1 is connected to the second end of the first inductor L1, and the second end of the sensing resistor R1 is connected to the PGND pin of the DCDC controller and the reference potential respectively. The compensation circuit in the present invention includes:

[0075] A first current source, a first terminal of which is connected to a power supply voltage;

[0076] A second current source, a first terminal of which is connected to a power supply voltage;

[0077] a third current source, a first terminal of which is connected to the power supply voltage;

[0078] A first voltage dividing unit is connected between the second end of the second current source and the PGND pin and outputs a sampling voltage at a first node;

[0079] A second voltage dividing unit is connected between the second end of the first current source and the PGND pin, and outputs the induced voltage at a second node, and the second node is connected to the CS pin;

[0080] A comparison unit, connected to the first voltage dividing unit and the second voltage dividing unit respectively, the comparison unit comprises a comparator, a first input terminal of the comparator is connected to the second terminal of the first current source, a second input terminal is connected to the second terminal of the second current source, and an output terminal is connected to the GATE pin;

[0081] The DC offset unit is respectively connected to the second end of the third current source, the PGND pin and the second node or the second end of the second current source, and is used to offset the DC current flowing out of the second current source from the second node.

[0082] The comparison unit is connected to the GATE pin through the output terminal to control the on or off of the first MOS tube M1; the DC offset unit offsets the DC current flowing out of the second node from the second current, so that the voltage at the CS pin is equal to the voltage drop of the inductive resistor, so as to ensure that the inductor current at the measurement point on the first inductor L1 is equal to the current actually flowing through the first inductor L1. L1 When the signal peak value is reached, the comparison unit turns off the first MOS tube, so that the current I L1Applicable to other parts of the DCDC control circuit. According to the different circuit structures, the present invention elaborates on the DC offset unit through the first and second embodiments, and elaborates on another implementation method of implementing three pairs of compensation circuits.

[0083] Embodiment 1

[0084] like Figure 3 As shown, in this embodiment, the compensation circuit includes:

[0085] A first current source I1, a first end of which is connected to a power supply voltage VCC;

[0086] A second current source I2, a first end of which is connected to a power supply voltage VCC;

[0087] A third current source I3, a first end of which is connected to a power supply voltage VCC;

[0088] The first voltage dividing unit 20 is connected between the second end of the second current source I2 and the PGND pin, and outputs a sampling voltage V at the first node A. A ;

[0089] The second voltage dividing unit 30 is connected between the second end of the first current source I1 and the PGND pin, and outputs the induced voltage V at the second node B. CS , the second node B is connected to the CS pin;

[0090] A comparison unit 10 is connected to the first voltage dividing unit 20 and the second voltage dividing unit 30 respectively. The comparison unit 10 includes a comparator U1. The first input terminal of the comparator U1 is connected to the second terminal of the first current source I1, the second input terminal is connected to the second terminal of the second current source I2, and the output terminal is connected to the GATE pin;

[0091] The DC offset unit 40 is connected to the second end of the third current source I3 , the PGND pin and the second node B respectively, and is used to offset the DC current flowing out of the second current source I2 at the second node B.

[0092] The DC offset unit 40 in this embodiment includes a second MOS transistor M2 and a third MOS transistor M3, wherein:

[0093] A first end of the second MOS tube M2 is connected to the PGND pin, and a second end is connected to the second node B;

[0094] The control end of the third MOS tube M3 is connected to the control end of the second MOS tube M2 and the second end of the third MOS tube M3 respectively, the first end of the third MOS tube M3 is connected to the PGND pin, and the second end of the third MOS tube M3 is connected to the second end of the third current source I3.

[0095] Among them, because the first end control end of the third MOS tube M3 is connected to the second end and the control end of the second MOS tube M2 respectively and forms a current mirror, the size of the second MOS tube M2 is equal to the size of the third MOS tube M3, so the current flowing through the second MOS tube M2 after being turned on is equal to the third current source I3, and because the second current source I2 connected to the first end of the second MOS tube M2 and the third current source I3 connected to the first end of the third MOS tube M3 satisfy I2=I3, the CS pin connected to the second node B will not be divided by the current of the second current source I2, so no DC current flows out of the CS pin.

[0096] Preferably, the first voltage dividing unit 20 in this embodiment includes a fifth resistor R5 and a seventh resistor R7, wherein:

[0097] The first end of the fifth resistor R5 is connected to the second end of the second transistor Q2.

[0098] A first end of the seventh resistor R7 is connected to the second end of the fifth resistor R5 , and a second end of the seventh resistor R7 is connected to the second node B.

[0099] Preferably, the second voltage dividing unit 30 in this embodiment includes a fourth resistor R4 and a sixth resistor R6, wherein:

[0100] A first end of the fourth resistor R4 is connected to the second end of the first transistor Q1, and a second end of the fourth resistor R4 is connected to the first node A;

[0101] A first end of the sixth resistor R6 is connected to the first node A, and a second end thereof is connected to the pin PGND.

[0102] Optionally, the compensation circuit in this embodiment further includes a sampling unit 50, which is connected to the sampling voltage V A and the power supply voltage VCC.

[0103] Among them, because the current value of the first current source I1 is equal to the current value of the second current source I2, the two branches including the first current source I1 and the second current source I2 satisfy:

[0104] I1·(R4+R6)+I CON R6=I2·(R5+R7)+V CS , where I CON is a sampling current, sampling the current of the first inductor L1;

[0105] Among them, since the resistance values ​​of the fourth resistor R4 and the fifth resistor R5 are equal, and the resistance values ​​of the sixth resistor R6 and the seventh resistor R7 are equal, the sampling voltage V at the first node A is A The induced voltage V at the second node B CS are equal, so the induced voltage VCS Satisfaction: V CS =V A =I CON ·R6, at this time I CON R6 is the voltage value at the CS pin, so the induced current on the first inductor L1 is:

[0106]

[0107] The comparison unit 10 in this embodiment includes a first transistor Q1, a second transistor Q2, a second resistor R2, and a third resistor R3, wherein:

[0108] The control end of the first transistor Q1 is connected to the fourth node D, the first end of the first transistor Q1 is connected to the first end of the first current source I1, and the second end of the first transistor Q1 is connected to the first end of the fourth resistor R4;

[0109] The control end of the second triode Q2 is connected to the fourth node D, the first end of the second triode Q2 is connected to the second end of the second current source I2, and the second end of the second triode Q2 is connected to the first end of the fifth resistor R5;

[0110] The second resistor R2 is connected between the second end of the first current source I1 and the third node C;

[0111] The third resistor R3 is connected between the second end of the second current source I2 and the third node C;

[0112] The third node C is connected to the fourth node D.

[0113] In this embodiment, the first MOS transistor M1 , the second MOS transistor M2 and the third MOS transistor M3 are all N-channel transistors, the first end of the transistor is the source, the second end is the drain, and the control end is the gate.

[0114] Embodiment 2

[0115] like Figure 4 As shown, in this embodiment, the compensation circuit includes:

[0116] A first current source I1, a first end of which is connected to a power supply voltage VCC;

[0117] A second current source I2, a first end of which is connected to a power supply voltage VCC;

[0118] A third current source I3, a first end of which is connected to a power supply voltage VCC;

[0119] The first voltage dividing unit 20 is connected between the second end of the second current source I2 and the PGND pin, and outputs a sampling voltage V at the first node A. A ;

[0120] The second voltage dividing unit 30 is connected between the second end of the first current source I1 and the PGND pin, and outputs the induced voltage V at the second node B. CS , the second node B is connected to the CS pin;

[0121] A comparison unit 10 is connected to the first voltage dividing unit 20 and the second voltage dividing unit 30 respectively. The comparison unit 10 includes a comparator U1. The first input terminal of the comparator U1 is connected to the second terminal of the first current source I1, the second input terminal is connected to the second terminal of the second current source I2, and the output terminal is connected to the GATE pin;

[0122] The DC offset unit 40 is connected to the second end of the third current source I3 , the PGND pin and the second end of the second current source I2 , respectively, and is used to offset the DC current flowing out of the second current source I2 at the second node B.

[0123] The DC offset unit 40 in this embodiment includes a second MOS transistor M2, a third MOS transistor M3 and a fourth MOS transistor M4, wherein:

[0124] A first end of the second MOS transistor M2 is connected to the PGND pin, and a second end is connected to the second end of the second current source I2;

[0125] The control end of the third MOS tube M3 is connected to the control end of the second MOS tube M2 and the second end of the third MOS tube M3 respectively, the first end of the third MOS tube M3 is connected to the PGND pin, and the second end of the third MOS tube M3 is connected to the second end of the third current source I3;

[0126] A control end of the fourth MOS tube M4 is connected to the control end of the second MOS tube M2 , a first end of the fourth MOS tube M4 is connected to the PGND pin, and a second end of the fourth MOS tube M4 is connected to the second end of the first current source I1 .

[0127] Among them, because the first end control end of the third MOS tube M3 is respectively connected to the second end, the control end of the second MOS tube M2 and the control end of the fourth MOS tube M4 and form a current mirror, the second MOS tube M2, the third MOS tube M3 and the fourth MOS tube M4 have the same size, so the current flowing through the second MOS tube M2 after being turned on is equal to the third current source I3, and the first current source I1 connected to the first end of the fourth MOS tube M4, the second current source I2 connected to the first end of the second MOS tube M2 and the third current source I3 connected to the first end of the third MOS tube M3 satisfy I1=I2=I3, and there is no direct current outflow of the second current source I2 at the second node B, so the CS pin connected to the second node B will not be divided by the current of the second current source I2, and therefore no direct current outflow of the CS pin exists.

[0128] Preferably, the first voltage dividing unit 20 in this embodiment includes a fifth resistor R5, a fifth MOS transistor M5 and a seventh resistor R7, wherein:

[0129] A first end of the fifth resistor R5 is connected to a second end of the second current source I2.

[0130] The control end of the fifth MOS tube M5 is connected to the second end of the fifth MOS tube M5, the second end is connected to the second end of the fifth resistor R5, and the first end of the fifth MOS tube M5 is connected to the second node B;

[0131] A first end of the seventh resistor R7 is connected to the second node B, and a second end thereof is connected to the PGND pin.

[0132] Preferably, the second voltage dividing unit 30 in this embodiment includes a fourth resistor R4, a sixth MOS transistor M6 and a sixth resistor R6, wherein:

[0133] A first end of the fourth resistor R4 is connected to a second end of the first current source I1.

[0134] The control end of the sixth MOS transistor M6 is connected to the second end of the sixth MOS transistor M6, the second end is connected to the second end of the fourth resistor R4, and the first end of the sixth MOS transistor M6 is connected to the node C;

[0135] A first end of the sixth resistor R6 is connected to the first node A, and a second end thereof is connected to the PGND pin.

[0136] Optionally, the compensation circuit in this embodiment further includes a sampling unit 50 connected to the sampling voltage V A and the power supply voltage VCC.

[0137] The comparison unit 10 in this embodiment includes a first transistor Q1, a second transistor Q2, a second resistor R2, a third resistor R3 and a comparator U1, wherein:

[0138] The control end of the first transistor Q1 is connected to the fourth node D, the first end of the first transistor Q1 is connected to the first end of the first current source I1, and the second end of the first transistor Q1 is connected to the first end of the fourth resistor R4;

[0139] The control end of the second triode Q2 is connected to the fourth node D, the first end of the second triode Q2 is connected to the second end of the second current source I2, and the second end of the second triode Q2 is connected to the first end of the fifth resistor R5;

[0140] The second resistor R2 is connected between the second end of the first current source I1 and the third node C;

[0141] The third resistor R3 is connected between the second end of the second current source I2 and the third node C;

[0142] The third node C is connected to the fourth node D;

[0143] The second input terminal of the comparator U1 is connected to the second terminal of the second current source I2 , the first input terminal is connected to the first current source I1 , and the output terminal is connected to the GATE pin.

[0144] In this embodiment, the first MOS transistor M1, the second MOS transistor M2, the third MOS transistor M3, and the sixth MOS transistor M6 are all N-channel transistors, the fourth MOS transistor M4 and the fifth MOS transistor M5 are P-channel transistors, and the first end of the above transistors is the source, the second end is the drain, and the control end is the gate.

[0145] Compared with the first embodiment, the second end of the second MOS tube M2 in the second embodiment is pulled up to a position close to the power supply voltage VCC, and the second embodiment satisfies: V DS2 =I2·(R5+R7)+V GS5 , because V in Example 2 DS2 Increase so that the current mirror can work in the saturation region, realize the proportional replication of the third current source I3 and the current flowing through the second MOS tube M2, and then the current flowing through the fourth MOS tube M4 and the current flowing through the second MOS tube are the same as the current of the third current source I3, so the two branches including the first current source I1 and the second current source I2 meet: I1·R4+V GS6 +I CON R6=I2·R5+V CS +V GS5 , where I CON The fifth MOS tube M5 and the sixth MOS tube M6 have the same size, so any of the following conditions can be satisfied in the second embodiment: V CS =V A =I CON ·R6, at this time I CON R6 is the voltage value at the CS pin, so the induced current on the first inductor L1 is:

[0146]

[0147] Embodiment 3

[0148] like Figure 5 As shown, the compensation circuit in this embodiment includes:

[0149] A first current source I1, a first end of which is connected to a power supply voltage VCC;

[0150] A second current source I2, a first end of which is connected to a power supply voltage VCC;

[0151] The DC offset unit 40 is connected to the second end of the first current source I1, the second end of the second current source I2, the CS pin and the PGND pin respectively, and outputs the induced voltage V at the CS pin. CS , outputs a sampling voltage V at the first node A A ;

[0152] The comparison unit 10 is connected to the DC offset unit 40. The comparison unit 10 includes a comparator U1. The first input terminal of the comparator U1 is connected to the second terminal of the first current source I1. The second input terminal of the comparator U1 is connected to the second terminal of the second current source I2. The output terminal is connected to the GATE pin.

[0153] The DC offset unit 40 in this embodiment includes a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh MOS transistor M7 and an eighth MOS transistor M8, wherein:

[0154] A first end of the fifth resistor R5 is connected to a second end of the second transistor Q2;

[0155] A control end of the seventh MOS transistor M7 is connected to the pin CS, a second end is connected to the pin PGND, and a first end is connected to the second end of the fifth resistor R5;

[0156] A first end of the fourth resistor R4 is connected to the second end of the first transistor Q1;

[0157] The control end of the eighth MOS transistor M8 is connected to the first node A, the second end is connected to the pin PGND, and the first end is connected to the second end of the fourth resistor R4;

[0158] A first end of the sixth resistor R6 is connected to the first node A, and a second end thereof is connected to the pin PGND.

[0159] The seventh MOS tube M7 blocks the path of the second current source I2, and the eighth MOS tube M8 blocks the path of the first current source I1. The seventh MOS tube M7 and the eighth MOS tube M8 have the same size. Therefore, the second current source I2 including the seventh MOS tube M7 and the first current source I1 including the eighth MOS tube M8 satisfy:

[0160] I1·R4+V GS8 +I CON R6=I2·R5+V CS +V GS7 , so in this embodiment the induced voltage V CS Any satisfaction: V CS =V A =I CON ·R6, at this time I CON R6 is the voltage value at the CS pin, so the induced current on the first inductor L1 is:

[0161]

[0162] Optionally, the compensation circuit in this embodiment further includes a sampling unit 50, which is connected to the sampling voltage V A and the power supply voltage VCC.

[0163] The comparison unit 10 in this embodiment further includes a first transistor Q1, a second transistor Q2, a second resistor R2, and a third resistor R3, wherein:

[0164] The control end of the first transistor Q1 is connected to the fourth node D, the first end of the first transistor Q1 is connected to the first end of the first current source I1, and the second end of the first transistor Q1 is connected to the first end of the fourth resistor R4;

[0165] The control end of the second triode Q2 is connected to the fourth node D, the first end of the second triode Q2 is connected to the second end of the second current source I2, and the second end of the second triode Q2 is connected to the first end of the fifth resistor R5;

[0166] The second resistor R2 is connected between the second end of the first current source I1 and the third node C;

[0167] The third resistor R3 is connected between the second end of the second current source I2 and the third node C;

[0168] The third node C is connected to the fourth node D.

[0169] In this embodiment, the first MOS transistor M1 is an N-channel transistor, the seventh MOS transistor M7 and the eighth MOS transistor M8 are P-channel transistors, the first end of the transistor is a source, the second end is a drain, and the control end is a gate.

[0170] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0171] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A compensation circuit, applied to a DCDC control circuit, the DCDC control circuit comprising a first inductor, a first MOS tube and a sensing resistor, wherein a first end of the first inductor is connected to a BIAS pin, a control end of the first MOS tube is connected to a GATE pin, a second end of the first inductor is connected to a second end of the first inductor, a first end of the sensing resistor is connected to a CS pin and a second end of the first MOS tube respectively, and a second end of the sensing resistor is connected to a PGND pin, wherein: The compensation circuit comprises: A first current source, a first terminal of which is connected to a power supply voltage; a second current source having a first terminal connected to a power supply voltage; a third current source, a first terminal of which is connected to the power supply voltage; A first voltage dividing unit, connected between the second end of the second current source and the PGND pin, and outputting a sampling voltage at a first node; A second voltage dividing unit is connected between the second end of the first current source and the PGND pin, and outputs an induced voltage at a second node, and the second node is connected to the CS pin; a comparison unit, connected to the first voltage divider unit and the second voltage divider unit respectively, the comparison unit comprising a comparator, a first input end of the comparator being connected to the second end of the first current source, a second input end being connected to the second end of the second current source, and an output end being connected to a GATE pin; The DC offset unit is respectively connected to the second end of the third current source, the PGND pin and the second node or the second end of the second current source, and is used to offset the DC current flowing out of the second current source from the second node.

2. The compensation circuit according to claim 1, characterized in that: The DC offset unit includes a second MOS tube and a third MOS tube, wherein: A first end of the second MOS tube is connected to the PGND pin, and a second end is connected to the second node; The control end of the third MOS tube is connected to the control end of the second MOS tube and the second end of the third MOS tube respectively, the first end of the third MOS tube is connected to the PGND pin, and the second end of the third MOS tube is connected to the second end of the third current source.

3. The compensation circuit according to claim 1, characterized in that: The DC offset unit includes a second MOS tube, a third MOS tube and a fourth MOS tube, wherein: A first end of the second MOS tube is connected to the PGND pin, and a second end of the second MOS tube is connected to the second end of the second current source; The control end of the third MOS tube is connected to the control end of the second MOS tube and the second end of the third MOS tube respectively, the first end of the third MOS tube is connected to the PGND pin, and the second end of the third MOS tube is connected to the second end of the third current source; The control end of the fourth MOS tube is connected to the control end of the second MOS tube, the first end of the fourth MOS tube is connected to the PGND pin, and the second end of the fourth MOS tube is connected to the second end of the first current source.

4. The compensation circuit according to claim 1, characterized in that: The compensation circuit further includes a sampling unit connected between the sampling voltage and a power supply voltage.

5. The compensation circuit according to claim 2, characterized in that: The first voltage dividing unit includes a fifth resistor and a seventh resistor, wherein: The first end of the fifth resistor is connected to the second end of the second transistor, The first end of the seventh resistor is connected to the second end of the fifth resistor, and the second end of the seventh resistor is connected to the second node.

6. The compensation circuit according to claim 2, characterized in that: The second voltage dividing unit includes a fourth resistor and a sixth resistor, wherein: The first end of the fourth resistor is connected to the second end of the first transistor, and the second end of the fourth resistor is connected to the first node; The first end of the sixth resistor is connected to the first node, and the second end is connected to the pin PGND.

7. The compensation circuit according to claim 3, characterized in that: The first voltage dividing unit includes a fifth resistor, a fifth MOS tube and a seventh resistor, wherein: The first end of the fifth resistor is connected to the second end of the second current source; The control end of the fifth MOS tube is connected to the second end of the fifth MOS tube, the second end is connected to the second end of the fifth resistor, and the first end of the fifth MOS tube is connected to the second node; The first end of the seventh resistor is connected to the second node, and the second end is connected to the PGND pin.

8. The compensation circuit according to claim 3, characterized in that: The second voltage dividing unit includes a fourth resistor, a sixth MOS tube and a sixth resistor, wherein: The first end of the fourth resistor is connected to the second end of the first current source; The control end of the sixth MOS transistor is connected to the second end of the sixth MOS transistor, the second end is connected to the second end of the fourth resistor, and the first end of the sixth MOS transistor is connected to the node C; The first end of the sixth resistor is connected to the first node, and the second end is connected to the PGND pin.

9. The compensation circuit according to any one of claims 2 or 3, characterized in that: The comparison unit further includes a first triode, a second triode, a second resistor, and a third resistor, wherein: The control end of the first transistor is connected to the fourth node, the first end of the first transistor is connected to the first end of the first current source, and the second end of the first transistor is connected to the first end of the fourth resistor; The control end of the second triode is connected to the fourth node, the first end of the second triode is connected to the second end of the second current source, and the second end of the second triode is connected to the first end of the fifth resistor; The second resistor is connected between the second end of the first current source and the third node; The third resistor is connected between the second end of the second current source and the third node; The third node is connected to the fourth node.

10. A compensation circuit, applied to a DCDC control circuit, the DCDC control circuit comprising a first inductor, a first MOS tube and a sensing resistor, wherein a first end of the first inductor is connected to a BIAS pin, a control end of the first MOS tube is connected to a GATE pin, a second end of the first inductor is connected to a second end of the first inductor, a first end of the sensing resistor is connected to a CS pin and a second end of the first MOS tube respectively, and a second end of the sensing resistor is connected to a PGND pin, wherein: The compensation circuit comprises: A first current source, a first terminal of which is connected to a power supply voltage; a second current source having a first terminal connected to a power supply voltage; A DC offset unit is connected to the second end of the first current source, the second end of the second current source, the CS pin and the PGND pin respectively, and outputs a sensed voltage at the CS pin and outputs a sampled voltage at the first node; A comparison unit is connected to the DC offset unit, and the comparison unit includes a comparator, a first input end of the comparator is connected to the second end of the first current source, a second input end of the comparator is connected to the second end of the second current source, and an output end is connected to the GATE pin.

11. The compensation circuit according to claim 10, characterized in that: The DC offset unit includes a fourth resistor, a fifth resistor, a sixth resistor, a seventh MOS transistor and an eighth MOS transistor, wherein: The first end of the fifth resistor is connected to the second end of the second triode; The control end of the seventh MOS tube is connected to the pin CS, the second end is connected to the pin PGND, and the first end is connected to the second end of the fifth resistor; The first end of the fourth resistor is connected to the second end of the first transistor; The control end of the eighth MOS tube is connected to the first node, the second end is connected to the pin PGND, and the first end is connected to the second end of the fourth resistor; The first end of the sixth resistor is connected to the first node, and the second end is connected to the pin PGND.

12. The compensation circuit according to claim 10, characterized in that: The compensation circuit further includes a sampling unit connected between the sampling voltage and the power supply voltage.

13. The compensation circuit according to claim 11, characterized in that: The comparison unit further includes a first triode, a second triode, a second resistor, and a third resistor, wherein: The control end of the first transistor is connected to the fourth node, the first end of the first transistor is connected to the first end of the first current source, and the second end of the first transistor is connected to the first end of the fourth resistor; The control end of the second triode is connected to the fourth node, the first end of the second triode is connected to the second end of the second current source, and the second end of the second triode is connected to the first end of the fifth resistor; The second resistor is connected between the second end of the first current source and the third node; The third resistor is connected between the second end of the second current source and the third node; The third node is connected to the fourth node.

Citation Information

Patent Citations

  • Control circuit and control chip capable of eliminating current ripple, and LED light emitting device

    CN105848347A

  • LED driving device, control method of same, line voltage compensation circuit of same, and control method of line voltage compensation circuit

    CN106413196A

  • Controller, switch power supply and line voltage compensation method

    CN106487248A

  • Current detection circuit and current detection method

    CN107765067A

  • Common mode current detection circuit

    CN116879617A