BUCK converter and its internal ripple compensation circuit

By designing a combination of multiple ripple compensation modules and selective trigger modules in the BUCK converter, the problem that the traditional ripple compensation circuit cannot meet the needs of the full input range is solved, and the output voltage stability and simplified circuit are achieved within the full input range. structure.

CN111313670BActive Publication Date: 2024-10-22SHENZHEN WING SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010274832.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-09
Publication Date
2024-10-22
Estimated Expiration
2040-04-09

AI Technical Summary

Technical Problem

The internal ripple compensation circuit of the traditional buck converter only uses one method for ripple compensation, which cannot meet the needs of the full input range, making it difficult to guarantee the stability of the output voltage.

Method used

An internal ripple compensation circuit of the BUCK converter is designed. It uses a combination of at least two ripple compensation modules and a selective trigger module. The appropriate ripple compensation module is selected according to the output voltage for ripple compensation, and the ripple compensation current is Stacked onto the feedback node to match circuit requirements.

Benefits of technology

It achieves output voltage stability within the full input range, avoids the problem that a single ripple compensation module cannot meet comprehensive needs, simplifies the circuit structure and improves the stability of the BUCK converter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111313670B_ABST
    Figure CN111313670B_ABST
Patent Text Reader

Abstract

The present invention provides a BUCK converter and an internal ripple compensation circuit thereof, comprising: at least two ripple compensation modules and a selection trigger module; the selection trigger module is respectively connected to a feedback node on an output side of the BUCK converter and the at least two ripple compensation modules, and the at least two ripple compensation modules are connected to a feedback node on the output side of the BUCK converter and the selection trigger module; the selection trigger module is used to: trigger a current ripple compensation module among the at least two ripple compensation modules to perform ripple compensation according to the output voltage of the BUCK converter; when the ripple compensation module performs the ripple compensation as the current ripple compensation module, it is used to: generate a ripple compensation current matching the voltage ripple in the BUCK converter, and superimpose the ripple compensation current on the feedback node on the output side of the BUCK converter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of converters, and in particular to a BUCK converter and an internal ripple compensation circuit thereof. Background Art

[0002] BUCK converter, also known as step-down converter, is a single-tube non-isolated DC converter with an output voltage lower than the input voltage. Compared with the traditional voltage mode and current mode, the BUCK converter based on COT constant on-time does not require op amps and loop compensation, so the circuit is simpler and has a faster response speed. However, the traditional COT mode requires a larger output voltage ripple, so the output capacitor needs to have a larger ESR resistance. If the output capacitor ESR resistance is small, it will cause subharmonic oscillations, affect the loop stability, and limit the applicability.

[0003] Therefore, an internal ripple compensation circuit can be configured for the BUCK converter. In the existing related technologies, the internal ripple compensation circuit usually only uses one method to perform ripple compensation, which cannot meet the comprehensive needs of the circuit. For example, it is difficult to meet the compensation needs of the full input range, and further, it is difficult to ensure the output voltage stability within the full input range. Summary of the invention

[0004] The present invention provides a BUCK converter and an internal ripple compensation circuit thereof to solve the problem that only one method of ripple compensation cannot meet the overall requirements of the circuit.

[0005] According to a first aspect of the present invention, there is provided an internal ripple compensation circuit of a BUCK converter, the internal ripple compensation circuit comprising: at least two ripple compensation modules and a selection trigger module; the selection trigger module is respectively connected to a feedback node on the output side of the BUCK converter and the at least two ripple compensation modules, and the at least two ripple compensation modules are connected to a feedback node on the output side of the BUCK converter and the selection trigger module;

[0006] The selection trigger module is used to: trigger a current ripple compensation module of the at least two ripple compensation modules to perform ripple compensation according to the output voltage of the BUCK converter;

[0007] When the ripple compensation module acts as the current ripple compensation module to perform the ripple compensation, it is used to: generate a ripple compensation current that matches the voltage ripple in the BUCK converter, and superimpose the ripple compensation current on a feedback node on the output side of the BUCK converter; wherein the process of generating the ripple compensation current by different ripple compensation modules is different.

[0008] Optionally, the internal ripple compensation circuit of the BUCK converter further includes a voltage ripple sampling module, the voltage ripple sampling module includes a first filtering unit and a second filtering unit, and the waveform of the switch node in the BUCK converter can be filtered by the first filtering unit and the second filtering unit in sequence; the ripple compensation module is respectively connected to the first filtering unit and the second filtering unit to collect the first voltage filtered by the first filtering unit and the second voltage filtered by the second filtering unit; the voltage ripple is characterized by the difference between the first voltage and the second voltage;

[0009] When the current ripple compensation module generates a ripple compensation current matching the voltage ripple, it is specifically used to:

[0010] According to the first voltage, a first intermediate voltage is formed at both ends of the resistor of the target resistance value to obtain a corresponding first current; the difference between the first voltage and the first intermediate voltage is a first voltage difference;

[0011] According to the second voltage, a second intermediate voltage is formed at both ends of the resistor of the target resistance value to obtain a corresponding second current, and the difference between the second voltage and the second intermediate voltage is a second voltage difference;

[0012] determining a ripple compensation current matching the voltage ripple according to the first current and the second current;

[0013] superimposing the ripple compensation current to a feedback node on the output side of the BUCK converter;

[0014] Among them, in different ripple compensation modules, the first voltage difference is different, and the second voltage difference is also different; in the same ripple compensation module, the first voltage difference and the second voltage difference are the same.

[0015] Optionally, the ripple compensation current is the difference between the first current and the second current, the at least two ripple compensation modules include a first ripple compensation module and a second ripple compensation module, the first voltage difference and the second voltage difference in the first ripple compensation module are zero, and the first voltage difference and the second voltage difference in the second ripple compensation module are not zero.

[0016] Optionally, the at least two ripple compensation modules include a first ripple compensation module, the first ripple compensation module includes a first resistor, a second resistor, a first PNP transistor, a second PNP transistor, a first P-type MOS transistor, a second P-type MOS transistor, a third P-type MOS transistor, a third P-type MOS transistor, a fourth P-type MOS transistor, a fifth P-type MOS transistor, a sixth P-type MOS transistor, a seventh P-type MOS transistor, a first N-type MOS transistor, a second N-type MOS transistor, a first NPN transistor, a second NPN transistor, and three first enabling switches; the first resistor and the second resistor have the same resistance value;

[0017] The gates of the three first enabling switches are all connected to the selection trigger module; the gate of the third P-type MOS tube and the gate of the fourth P-type MOS tube are connected to the first first enabling switch, the gate of the fifth P-type MOS tube and the gate of the sixth P-type MOS tube are connected to the second first enabling switch, and the gate of the first N-type MOS tube and the gate of the second N-type MOS tube are connected to the third first enabling switch; the three first enabling switches are all connected to the selection trigger module to control the conduction of the third P-type MOS tube, the fourth P-type MOS tube, the fifth P-type MOS tube, the sixth P-type MOS tube, the first N-type MOS tube and the second N-type MOS tube when triggered by the selection trigger module; the base of the first PNP transistor is used to connect to the first voltage, and the base of the second PNP transistor is used to connect to the second voltage;

[0018] The first ends of the first P-type MOS transistor, the second P-type MOS transistor, the third P-type MOS transistor and the fourth P-type MOS transistor are connected to the analog power supply, the gates of the first P-type MOS transistor, the second P-type MOS transistor and the seventh P-type MOS transistor are connected to each other, and the gate of the first P-type MOS transistor is short-circuited to the second end; the second end of the second P-type MOS transistor is connected to the emitter of the first PNP transistor, the base of the first PNP transistor is connected to the first filter capacitor to access the first voltage, the collector of the first PNP transistor is connected to the analog ground, the emitter of the first PNP transistor is also connected to the base of the first NPN transistor, the collector of the first PNP transistor is connected to the second end of the third P-type MOS transistor, and the emitter of the first PNP transistor is connected to the analog ground via the first resistor; the gate of the third P-type MOS transistor is short-circuited to the second end, the second end of the fourth P-type MOS transistor is connected to the first end of the first N-type MOS transistor, and the second end of the first N-type MOS transistor is connected to the analog ground;

[0019] The first ends of the fifth P-type MOS tube, the sixth P-type MOS tube and the seventh P-type MOS tube are connected to the analog power supply, the second end of the fifth P-type MOS tube is connected to the first end of the second N-type MOS tube, the second end of the second N-type MOS tube is connected to the analog ground, the second end of the sixth P-type MOS tube is connected to the collector of the second NPN transistor, the emitter of the second NPN transistor is connected to the analog ground via the second resistor, the second end of the seventh P-type MOS tube is connected to the base of the second PNP transistor and the second filter capacitor to access the second voltage, and the emitter of the second PNP transistor is connected to the analog ground; the gate of the second N-type MOS tube is short-circuited to the first end, and the gate of the sixth P-type MOS tube is short-circuited to the second end;

[0020] The third P-type MOS transistor and the second P-type MOS transistor are P-type MOS transistors with a one-to-one mirror image, the first N-type MOS transistor and the second N-type MOS transistor are N-type MOS transistors with a one-to-one mirror image, and the fifth P-type MOS transistor and the sixth P-type MOS transistor are P-type MOS transistors with a one-to-one mirror image;

[0021] The first current of the first ripple compensation module refers to the current of the fourth P-type MOS tube, the second current of the first ripple compensation module refers to the current of the first N-type MOS tube, and the feedback node on the output side of the BUCK converter is connected between the second end of the fourth P-type MOS tube and the first end of the first N-type MOS tube to receive the ripple compensation current generated by the first ripple compensation module.

[0022] Optionally, the at least two ripple compensation modules include a second ripple compensation module, the second ripple compensation module includes a third resistor, a fourth resistor, an eighth P-type MOS transistor, a ninth P-type MOS transistor, a tenth P-type MOS transistor, an eleventh P-type MOS transistor, a third N-type MOS transistor, a fourth N-type MOS transistor, a fifth N-type MOS transistor, a sixth N-type MOS transistor, a seventh N-type MOS transistor, a third NPN transistor, a fourth NPN transistor, a fifth NPN transistor, a sixth NPN transistor, and three first enabling switches; the third resistor has the same resistance value as the fourth resistor;

[0023] The gates of the three second enabling switches are all connected to the selection trigger module; the gate of the eighth P-type MOS tube and the gate of the ninth P-type MOS tube are connected to the first second enabling switch, the gate of the tenth P-type MOS tube and the gate of the eleventh P-type MOS tube are connected to the second second enabling switch, and the gate of the third N-type MOS tube and the gate of the fourth N-type MOS tube are connected to the third second enabling switch; the three second enabling switches are all connected to the selection trigger module to control the conduction of the eighth P-type MOS tube, the ninth P-type MOS tube, the tenth P-type MOS tube, the eleventh P-type MOS tube, the third N-type MOS tube and the fourth N-type MOS tube when triggered by the selection trigger module, the base of the third NPN transistor is used to access the first voltage, and the base of the sixth NPN transistor is used to access the second voltage;

[0024] The collector of the third NPN transistor, the first end of the eighth P-type MOS transistor, and the first end of the ninth P-type MOS transistor are all connected to the analog power supply, the gates of the sixth N-type MOS transistor, the seventh N-type MOS transistor, and the fifth N-type MOS transistor are connected to each other, the gate of the sixth N-type MOS transistor is short-circuited with the first end, the gate of the seventh N-type MOS transistor is short-circuited with the second end, the first end of the seventh N-type MOS transistor is connected to the emitter of the third NPN transistor, the second end of the seventh N-type MOS transistor and the second end of the sixth N-type MOS transistor are both connected to the analog ground, the base of the fourth NPN transistor is connected to the emitter of the third NPN transistor, and the emitter of the fourth NPN transistor is connected to the analog ground via the third resistor;

[0025] The first end of the ninth P-type MOS transistor is connected to the analog power supply, the second end of the ninth P-type MOS transistor is connected to the first end of the third N-type MOS transistor, the first end of the tenth P-type MOS transistor is connected to the analog power supply, the second end of the tenth P-type MOS transistor is connected to the first end of the fourth N-type MOS transistor, and the second end of the fourth N-type MOS transistor and the second end of the third N-type MOS transistor are both connected to the analog ground;

[0026] The first end of the eleventh P-type MOS transistor is connected to the analog power supply, the second end of the eleventh P-type MOS transistor is connected to the collector of the fifth NPN transistor, the emitter of the fifth NPN transistor is connected to the analog ground via the fourth resistor, the base of the fifth NPN transistor is connected to the emitter of the sixth NPN transistor, the collector of the sixth NPN transistor is connected to the analog power supply, the emitter of the sixth NPN transistor is connected to the first end of the fifth N-type MOS transistor, and the second end of the fifth N-type MOS transistor is connected to the analog ground;

[0027] The eighth P-type MOS tube and the ninth P-type MOS tube are P-type MOS tubes with a one-to-one mirror image, the third N-type MOS tube and the fourth N-type MOS tube are N-type MOS tubes with a one-to-one mirror image, and the tenth P-type MOS tube and the eleventh P-type MOS tube are P-type MOS tubes with a one-to-one mirror image;

[0028] The first current of the second ripple compensation module refers to the current of the ninth P-type MOS tube, the second current of the second ripple compensation module refers to the current of the third N-type MOS tube, and the feedback node on the output side of the BUCK converter is connected between the second end of the ninth P-type MOS tube and the first end of the third N-type MOS tube to receive the ripple compensation current generated by the second ripple compensation module.

[0029] Optionally, the first filtering unit includes a first filtering resistor and a first filtering capacitor, and the second filtering unit includes a second filtering resistor and a second filtering capacitor;

[0030] A first end of the first filter resistor is connected to the switch node, a first end of the first filter capacitor is connected to a second end of the first filter resistor, a first end of the second filter resistor is connected to a second end of the first filter resistor, a second end of the second filter resistor is connected to a first end of the second filter capacitor, and a second end of the first filter capacitor and a second end of the second filter capacitor are both connected to an analog ground;

[0031] The ripple compensation module is connected to the first end of the first filter capacitor to collect the first voltage;

[0032] The ripple compensation module is connected to the first end of the second filter capacitor to stimulate the second voltage.

[0033] Optionally, the number of the ripple compensation modules is two, namely a first ripple compensation module and a second ripple compensation module; the selection trigger module is also connected to a feedback node on the input side of the BUCK converter, and the selection trigger module is specifically used for:

[0034] If the difference between the output voltage and the input voltage of the BUCK converter exceeds a preset range, selecting the first ripple compensation module as the current ripple compensation module;

[0035] If the difference between the output voltage and the input voltage of the BUCK converter does not exceed a preset range, the second ripple compensation module is selected as the current ripple compensation module.

[0036] Optionally, the selection trigger module includes a comparison unit and at least one transmission gate;

[0037] The transmission gate is respectively connected to the feedback node of the output side of the BUCK converter and the first input terminal of the comparator;

[0038] The second input terminal of the comparison unit is connected to the feedback node of the input side of the BUCK converter;

[0039] One output end of the comparison unit is connected to the first ripple compensation module, and the other output end is connected to the second ripple compensation module;

[0040] The comparison unit is used for comparing the voltages of the first input terminal and the second input terminal, and triggering the first ripple compensation module or the second ripple compensation module as the current ripple compensation module according to the comparison result.

[0041] Optionally, the comparison unit includes a comparator, a first inverter, a second inverter, a third inverter and a fourth inverter;

[0042] The transmission gate is connected between a feedback node on the output side of the BUCK converter and a first input terminal of the comparator;

[0043] The second input terminal of the comparator is connected to the feedback node of the input side of the BUCK converter;

[0044] The output end of the comparator, the first inverter, the second inverter, the third inverter and the fourth inverter are connected in sequence;

[0045] One control end of the transmission gate is connected between the first inverter and the second inverter, and the other control end is connected between the second inverter and the third inverter. The first ripple compensation module is connected between the third inverter and the fourth inverter to be triggered by the signal output by the third inverter. The second ripple compensation module is connected to the output end of the fourth inverter to be triggered by the signal output by the fourth inverter.

[0046] According to a second aspect of the present invention, a BUCK converter is provided, comprising the internal ripple compensation circuit involved in the first aspect and its optional solutions.

[0047] Optionally, the BUCK converter is a COT-controlled BUCK converter.

[0048] In the BUCK converter and the internal ripple compensation circuit thereof provided by the present invention, the ripple compensation current corresponding to the ripple voltage is superimposed on the feedback node (for example, at a certain feedback resistor), so that the signal fed back by the feedback node may carry the information of the ripple voltage, which can be helpful to ensure the stability of the operation of the BUCK converter. At the same time, the present invention is configured with at least two ripple compensation modules and a selection trigger module, and then, according to the actual circuit requirements, the corresponding ripple compensation module can be selectively triggered to perform ripple compensation, thereby avoiding the situation where only one ripple compensation module is used and it is difficult to meet all requirements.

[0049] In a further solution of the present invention, when the output voltage of the BUCK converter is low, the first ripple compensation module is triggered to work, and when the output voltage of the BUCK converter is high (for example, close to the input VIN voltage), the second ripple compensation module is triggered to work, which can ensure the output voltage stability within the full input range, for example, ripple compensation is achieved within the working range of 0V~VIN.

[0050] In addition, in the circuits of the first ripple compensation module and the second ripple compensation module specifically provided by the optional solution of the present invention, the compensated ripple compensation current is easy to calculate and generate, and the circuit structure is relatively simple compared to the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] 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 description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0052] Figure 1 FIG. 1 is a schematic diagram of the structure of an internal ripple compensation circuit in one embodiment of the present invention. Figure 1 ;

[0053] Figure 2 It is a partial circuit diagram of an output voltage detection control circuit in a BUCK converter in one embodiment of the present invention;

[0054] Figure 3 FIG. 1 is a schematic diagram of the structure of an internal ripple compensation circuit in one embodiment of the present invention. Figure 2 ;

[0055] Figure 4 is a circuit diagram of a voltage ripple sampling circuit in one embodiment of the present invention;

[0056] Figure 5 is a waveform diagram of a switch node, a first voltage, and a second voltage in one embodiment of the present invention;

[0057] Figure 6 is a circuit diagram of a first ripple compensation module and a second ripple compensation module in one embodiment of the present invention;

[0058] Figure 7 FIG. 1 is a circuit diagram of a trigger module selected in an embodiment of the present invention. Figure 1 ;

[0059] Figure 8 FIG. 1 is a circuit diagram of a trigger module selected in an embodiment of the present invention. Figure 2 .

[0060] Description of reference numerals:

[0061] 1-Select the trigger module;

[0062] 11- comparison unit;

[0063] 111- a first inverter;

[0064] 112- a second inverter;

[0065] 113- third direction indicator;

[0066] 114- a fourth inverter;

[0067] 115- Comparator;

[0068] 12-transmission gate;

[0069] 121-first transmission gate;

[0070] 122-second transmission gate;

[0071] 2- Ripple compensation module;

[0072] 21-a first ripple compensation module;

[0073] 22- a second ripple compensation module;

[0074] 3- Voltage ripple sampling module;

[0075] 31-a first filtering unit;

[0076] 32- a second filtering unit;

[0077] 4- Comparator;

[0078] R11-first filter resistor;

[0079] C1-first filter capacitor;

[0080] R12-first filter resistor;

[0081] C2-second filter capacitor;

[0082] SW-switch node;

[0083] PM1-the first P-type MOS tube;

[0084] PM2-the second P-type MOS tube;

[0085] PM3-the third P-type MOS tube;

[0086] PM4-the fourth P-type MOS tube;

[0087] PM5-fifth P-type MOS tube;

[0088] PM6-sixth P-type MOS tube;

[0089] PM7-the seventh P-type MOS tube;

[0090] PM8-eighth P-type MOS tube;

[0091] PM9-9th P-type MOS tube;

[0092] PM10-the tenth P-type MOS tube;

[0093] PM11-the eleventh P-type MOS tube;

[0094] NM1-first N-type MOS tube;

[0095] NM2-the second N-type MOS tube;

[0096] NM3-the third N-type MOS tube;

[0097] NM4-the fourth N-type MOS tube;

[0098] Q11-the first PNP transistor;

[0099] Q12- the second PNP transistor;

[0100] Q21-first NPN transistor;

[0101] Q22- the second NPN transistor;

[0102] Q23-the third NPN transistor;

[0103] Q24-the fourth NPN transistor;

[0104] Q25-fifth NPN transistor;

[0105] Q26-sixth NPN transistor;

[0106] Q31-first enabling switch;

[0107] Q32-second enabling switch;

[0108] R21-first resistor;

[0109] R22 - second resistor;

[0110] R23 - the third resistor;

[0111] R24 - the fourth resistor. DETAILED DESCRIPTION

[0112] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0113] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0114] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0115] Figure 1 FIG. 1 is a schematic diagram of the structure of an internal ripple compensation circuit in one embodiment of the present invention. Figure 1 ; Figure 2 It is a partial circuit diagram of an output voltage detection control circuit in a BUCK converter in one embodiment of the present invention.

[0116] Please refer to Figure 1 The internal ripple compensation circuit comprises: at least two ripple compensation modules 2 and a selection trigger module 1.

[0117] The selection trigger module 1 is connected to the feedback node on the output side of the BUCK converter and the at least two ripple compensation modules 2. By connecting the corresponding feedback nodes, the voltage of the corresponding feedback nodes can be collected. The feedback node can be a node between any two resistors on the output side.

[0118] In the specific implementation process, the feedback node for collecting voltage can be one or more. If the feedback node for collecting voltage is one, the collected voltage can be represented as VOUT_FB. If the feedback node for collecting voltage is two, the collected voltage can be represented as VOUT_FB1 and VOUT_FB2. Regardless of whether the feedback node for collecting voltage is one or more, the collected voltage can be regarded as a representation of the output voltage. Then, when the BUCK converter controls the output, it can be controlled accordingly. Figure 2 For example, in the detection and control circuit of the output voltage, a comparator 4 may be included. The comparator 4 may output a PWM signal based on the collected voltage VOUT_FB of the feedback node and the comparison result between the voltage VOUT_FB and the reference voltage VREF. The switch in the BUCK converter may be controlled to be on and off according to the PWM signal, thereby controlling the output voltage.

[0119] In this embodiment, please refer to Figure 1 The at least two ripple compensation modules 2 are connected to a feedback node on the output side of the BUCK converter and the selection trigger module 1 .

[0120] The selection trigger module 2 is used to trigger a current ripple compensation module among the at least two ripple compensation modules to perform ripple compensation according to the output voltage of the BUCK converter (which can be represented by the voltage sampled from the feedback node mentioned above).

[0121] When the ripple compensation module 2 acts as the current ripple compensation module to perform the ripple compensation, it is used to: generate a ripple compensation current that matches the voltage ripple in the BUCK converter, and superimpose the ripple compensation current on the feedback node on the output side of the BUCK converter; wherein the process of generating the ripple compensation current by different ripple compensation modules is different.

[0122] In the above scheme, the ripple compensation current matching the ripple voltage is superimposed on the feedback node (for example, a feedback resistor), so the signal fed back by the feedback node can carry the information of the ripple voltage. Figure 2 For example, the voltage VOUT_FB fed back to the comparator 4 may carry information of the ripple voltage, which may be helpful to ensure the stability of the operation of the BUCK converter.

[0123] At the same time, this embodiment is configured with at least two ripple compensation modules and a selection trigger module. Further, according to actual circuit requirements, the corresponding ripple compensation module can be selectively triggered to perform ripple compensation, thereby avoiding the situation where only one ripple compensation module is used and it is difficult to meet comprehensive requirements.

[0124] In addition, by using the circuit involved in the embodiment itself, ripple compensation can be achieved inside the chip without the need for an external sampling circuit.

[0125] Figure 3 FIG. 1 is a schematic diagram of the structure of an internal ripple compensation circuit in one embodiment of the present invention. Figure 2 ; Figure 4 is a circuit diagram of a voltage ripple sampling circuit in one embodiment of the present invention; Figure 5 1 is a schematic diagram of waveforms of a switch node, a first voltage, and a second voltage in one embodiment of the present invention.

[0126] Please refer to Figure 3 and Figure 4 The internal ripple compensation circuit also includes a voltage ripple sampling module 3, wherein the voltage ripple sampling module 3 includes a first filtering unit 31 and a second filtering unit 32, and the waveform of the switch node SW in the BUCK converter can be filtered by the first filtering unit 31 and the second filtering unit 32 in sequence.

[0127] Through the first filtering unit 31 and the second filtering unit 32, the required voltage ripple or related information can be obtained by the ripple compensation module, and any filtering unit that can achieve this function is not separated from Figure 3 Description of the illustrated embodiment.

[0128] The ripple compensation module 2 is respectively connected to the first filtering unit 31 and the second filtering unit 32 to collect the first voltage VINP filtered by the first filtering unit 31 and the second voltage VINN filtered by the second filtering unit 32. The voltage ripple can be represented by the difference between the first voltage and the second voltage.

[0129] For specific implementation, please refer to Figure 4 The first filtering unit 31 includes a first filtering resistor R11 and a first filtering capacitor C1, and the second filtering unit 32 includes a second filtering resistor R12 and a second filtering capacitor C2.

[0130] A first end of the first filter resistor R11 is connected to the switch node SW, a first end of the first filter capacitor C1 is connected to a second end of the first filter resistor R11, a first end of the second filter resistor R12 is connected to a second end of the first filter resistor R11, a second end of the second filter resistor 12 is connected to a first end of the second filter capacitor C2, and a second end of the first filter capacitor C1 and a second end of the second filter capacitor C2 are both connected to an analog ground AGND;

[0131] The ripple compensation module 2 is connected to the first end of the first filter capacitor to collect the first voltage VINP; the ripple compensation module 2 is connected to the first end of the second filter capacitor to stimulate the second voltage VINN.

[0132] Furthermore, the waveform of the switch node SW, the waveform of the first voltage VINP filtered by the first filtering unit 31, and the waveform of the second voltage VINN filtered by the second filtering unit 32 can be as follows: Figure 5 As shown, the output voltage ripple information is obtained through VINP-VINN. It can be seen that the ripple compensation module 2 can sample the first voltage VINP and the second voltage VINN respectively. Furthermore, in the specific calculation process, VINP-VINN may not be directly calculated, but converted into current respectively, so as to obtain the ripple compensation current associated with VINP-VINN.

[0133] In one embodiment, according to the first voltage, a first intermediate voltage is formed at both ends of a resistor of a target resistance value to obtain a corresponding first current; the difference between the first voltage and the first intermediate voltage is a first voltage difference;

[0134] According to the second voltage, a second intermediate voltage is formed at both ends of the resistor of the target resistance value to obtain a corresponding second current, and the difference between the second voltage and the second intermediate voltage is a second voltage difference;

[0135] determining a ripple compensation current matching the voltage ripple according to the first current and the second current;

[0136] superimposing the ripple compensation current to a feedback node on the output side of the BUCK converter;

[0137] Among them, in different ripple compensation modules, the first voltage difference is different, and the second voltage difference is also different; in the same ripple compensation module, the first voltage difference and the second voltage difference are the same.

[0138] In one implementation manner, the ripple compensation current may be the difference between the first current and the second current. In other implementations, it is not excluded that other currents are introduced to participate in the calculation.

[0139] In one embodiment, the at least two ripple compensation modules include a first ripple compensation module 21 and a second ripple compensation module 22, the first voltage difference and the second voltage difference in the first ripple compensation module 21 are zero, and the first voltage difference and the second voltage difference in the second ripple compensation module 22 are not zero, for example, they can be Vth+Vth mentioned later, but it does not exclude that it can be Vth+Vth+Vth, Vth and other embodiments.

[0140] Figure 6 It is a circuit diagram of a first ripple compensation module and a second ripple compensation module in one embodiment of the present invention.

[0141] Please refer to Figure 6 , the at least two ripple compensation modules 2 include a first ripple compensation module 21, the first ripple compensation module 21 includes a first resistor R21, a second resistor R22, a first PNP transistor Q11, a second PNP transistor Q12, a first P-type MOS transistor PM1, a second P-type MOS transistor PM2, a third P-type MOS transistor PM3, a third P-type MOS transistor PM4, a fifth P-type MOS transistor PM5, a sixth P-type MOS transistor PM6, a seventh P-type MOS transistor PM7, a first N-type MOS transistor NM1, a second N-type MOS transistor NM2, a first NPN transistor Q21, a second NPN transistor Q22, and three first enabling switches Q31; the first resistor R21 and the second resistor R22 have the same resistance value;

[0142] The gates of the three first enabling switches Q31 are all connected to the selection trigger module; the gate of the third P-type MOS transistor PM3 and the gate of the fourth P-type MOS transistor PM4 are connected to the first first enabling switch Q31, the gate of the fifth P-type MOS transistor PM5 and the gate of the sixth P-type MOS transistor PM6 are connected to the second first enabling switch Q31, and the gate of the first N-type MOS transistor NM1 and the gate of the second N-type MOS transistor NM2 are connected to the third first enabling switch Q31; the three first enabling switches Q31 are all connected to the selection trigger module to control the conduction of the third P-type MOS transistor PM3, the fourth P-type MOS transistor PM4, the fifth P-type MOS transistor PM5, the sixth P-type MOS transistor PM6, the first N-type MOS transistor NM1 and the second N-type MOS transistor NM2 when triggered by the selection trigger module, the base of the first PNP transistor Q11 is used to access the first voltage, and the base of the second PNP transistor Q12 is used to access the second voltage;

[0143] The first ends of the first P-type MOS transistor PM1, the second P-type MOS transistor PM2, the third P-type MOS transistor PM3 and the fourth P-type MOS transistor PM4 are connected to the analog power supply, the gates of the first P-type MOS transistor PM1, the second P-type MOS transistor PM2 and the seventh P-type MOS transistor PM7 are connected to each other, and the gate of the first P-type MOS transistor PM1 is short-circuited with the second end; the second end of the second P-type MOS transistor PM2 is connected to the emitter of the first PNP transistor Q11, the base of the first PNP transistor Q11 is connected to the first filter capacitor to access the first voltage, and the first PNP transistor Q1 1 is connected to the analog ground, the emitter of the first PNP transistor Q11 is also connected to the base of the first NPN transistor Q21, the collector of the first PNP transistor Q11 is connected to the second end of the third P-type MOS transistor PM3, and the emitter of the first PNP transistor Q11 is connected to the analog ground via the first resistor R21; the gate of the third P-type MOS transistor PM3 is short-circuited with the second end, the second end of the fourth P-type MOS transistor PM4 is connected to the first end of the first N-type MOS transistor NM1, the second end of the first N-type MOS transistor NM1 is connected to the analog ground, and the base of the first PNP transistor is used to access the first voltage;

[0144] The first ends of the fifth P-type MOS transistor PM5, the sixth P-type MOS transistor PM6 and the seventh P-type MOS transistor PM7 are connected to the analog power supply, the second end of the fifth P-type MOS transistor PM5 is connected to the first end of the second N-type MOS transistor NM2, the second end of the second N-type MOS transistor NM2 is connected to the analog ground, the second end of the sixth P-type MOS transistor PM6 is connected to the collector of the second NPN transistor Q22, the emitter of the second NPN transistor Q22 is connected to the analog ground via the second resistor R22, the second end of the seventh P-type MOS transistor PM7 is connected to the base of the second PNP transistor Q12 and the second filter capacitor to access the second voltage, and the emitter of the second PNP transistor Q12 is connected to the analog ground; the gate of the second N-type MOS transistor NM2 is short-circuited with the first end, and the gate of the sixth P-type MOS transistor PM6 is short-circuited with the second end;

[0145] The third P-type MOS transistor PM3 and the second P-type MOS transistor PM2 are P-type MOS transistors with a one-to-one mirror image, the first N-type MOS transistor NM1 and the second N-type MOS transistor NM2 are N-type MOS transistors with a one-to-one mirror image, and the fifth P-type MOS transistor PM5 and the sixth P-type MOS transistor PM6 are P-type MOS transistors with a one-to-one mirror image;

[0146] The first current of the first ripple compensation module 21 refers to the current of the fourth P-type MOS transistor PM4, the second current of the first ripple compensation module 21 refers to the current of the first N-type MOS transistor NM1, and the feedback node on the output side of the BUCK converter is connected between the second end of the fourth P-type MOS transistor PM4 and the first end of the first N-type MOS transistor NM1 to receive the ripple compensation current generated by the first ripple compensation module.

[0147] The following describes the circuit state when the first ripple compensation module 21 is working, where Vth refers to the threshold voltage of the transistor. Taking a PNP transistor of a certain material as an example, when its emitter is 0.3V greater than the base, the transistor can be turned on, and 0.3V is the threshold point. In addition, the resistor's reference mark can also be used to represent its resistance value.

[0148] When the first ripple compensation module 21 is working:

[0149] The voltage at point A is VINP+Vth; the voltage at point B is the voltage at point A-Vth, that is, VINP; therefore, the current of the third P-type MOS transistor PM3 is VINP / R21. Furthermore, because the fourth P-type MOS transistor PM4 and the third P-type MOS transistor PM3 are 1:1 current mirror images, the current of the fourth P-type MOS transistor PM4 is equal to the current of the third P-type MOS transistor PM3, both of which are VINP / R21.

[0150] The voltage at point C is VINN+Vth, and the voltage at point D is the voltage at point C-Vth, that is, VINN. Therefore, the current of the sixth P-type MOS transistor PM6 is VINN / R22. The fifth P-type MOS transistor PM5 and the sixth P-type MOS transistor PM6 are 1:1 current mirrored. At the same time, after the 1:1 mirroring of the first N-type MOS transistor NM1 and the second N-type MOS transistor NM2, the current of the first N-type MOS transistor NM1, the current of the second N-type MOS transistor NM2, the current of the fifth P-type MOS transistor PM5 and the current of the sixth P-type MOS transistor PM6 are all equal, that is, VINN / R22.

[0151] Then, for point S1: the output current is the difference between the current of the fourth P-type MOS transistor PM4 and the current of the first N-type MOS transistor NM1, that is: VINP / R21-VINN / R22, and at the same time, R21=R22. If its resistance is represented by R, the current at point S1 (that is, the ripple compensation current) is: (VINP-VINN) / R, that is: the ripple voltage information obtained by the ripple sampling circuit is converted into current information;

[0152] It can be seen that the process of generating ripple compensation current can be characterized as: (VINP+Vth-Vth) / R-(VINN+Vth-Vth) / R=(VINP-VINN) / R=IOUT. The current of IOUT fingerprint wave compensation current can be adjusted by adjusting the resistance value R of the resistor to adjust the current IOUT. (VINP+Vth-Vth) is the voltage acting on the resistor, which can be regarded as the first intermediate voltage mentioned above, and (VINN+Vth-Vth) is the voltage acting on the resistor, which can be regarded as the second intermediate voltage mentioned above. Correspondingly, the first voltage difference and the second voltage difference are Vth-Vth=0.

[0153] Furthermore, by connecting this point to a feedback node, the current can be superimposed on the VOUT_FB feedback resistor, and the ripple information of the output voltage is obtained at VOUT_FB, thereby controlling the stability of the output voltage.

[0154] Please refer to Figure 6 , the at least two ripple compensation modules include a second ripple compensation module 22, the second ripple compensation module 22 includes a third resistor R23, a fourth resistor R24, an eighth P-type MOS transistor PM8, a ninth P-type MOS transistor PM9, a tenth P-type MOS transistor PM10, an eleventh P-type MOS transistor PM11, a third N-type MOS transistor NM3, a fourth N-type MOS transistor NM4, a fifth N-type MOS transistor NM5, a sixth N-type MOS transistor NM6, a seventh N-type MOS transistor NM7, a third NPN transistor Q23, a fourth NPN transistor Q24, a fifth NPN transistor Q25, a sixth NPN transistor Q26, and three first enabling switches Q31; the third resistor R23 has the same resistance as the fourth resistor R24;

[0155] The gates of the three second enabling switches Q32 are all connected to the selection trigger module; the gate of the eighth P-type MOS transistor PM8 and the gate of the ninth P-type MOS transistor PM9 are connected to the first second enabling switch Q32, the gate of the tenth P-type MOS transistor PM10 and the gate of the eleventh P-type MOS transistor PM11 are connected to the second second enabling switch Q32, and the gate of the third N-type MOS transistor NM3 and the gate of the fourth N-type MOS transistor NM4 are connected to the third second enabling switch Q32; the three second enabling switches Q32 are all connected to the selection trigger module to control the conduction of the eighth P-type MOS transistor PM8, the ninth P-type MOS transistor PM9, the tenth P-type MOS transistor PM10, the eleventh P-type MOS transistor PM11, the third N-type MOS transistor NM3 and the fourth N-type MOS transistor NM4 when triggered by the selection trigger module; the base of the third NPN transistor Q23 is used to access the first voltage, and the base of the sixth NPN transistor Q26 is used to access the second voltage;

[0156] The collector of the third NPN transistor Q23, the first end of the eighth P-type MOS transistor PM8, and the first end of the ninth P-type MOS transistor PM9 are all connected to the analog power supply, the gates of the sixth N-type MOS transistor NM6, the seventh N-type MOS transistor NM7, and the fifth N-type MOS transistor NM5 are connected to each other, the gate of the sixth N-type MOS transistor NM6 is short-circuited with the first end, the gate of the seventh N-type MOS transistor NM7 is short-circuited with the second end, the first end of the seventh N-type MOS transistor NM7 is connected to the emitter of the third NPN transistor Q23, the second end of the seventh N-type MOS transistor NM7 and the second end of the sixth N-type MOS transistor NM6 are both connected to the analog ground, the base of the fourth NPN transistor Q24 is connected to the emitter of the third NPN transistor Q23, and the emitter of the fourth NPN transistor Q24 is connected to the analog ground via the third resistor R23;

[0157] The first end of the ninth P-type MOS transistor PM9 is connected to the analog power supply, the second end of the ninth P-type MOS transistor PM9 is connected to the first end of the third N-type MOS transistor NM3, the first end of the tenth P-type MOS transistor PM10 is connected to the analog power supply, the second end of the tenth P-type MOS transistor PM10 is connected to the first end of the fourth N-type MOS transistor NM4, and the second end of the fourth N-type MOS transistor NM4 and the second end of the third N-type MOS transistor NM3 are both connected to the analog ground;

[0158] The first end of the eleventh P-type MOS transistor PM11 is connected to the analog power supply, the second end of the eleventh P-type MOS transistor PM11 is connected to the collector of the fifth NPN transistor Q25, the emitter of the fifth NPN transistor Q25 is connected to the analog ground via the fourth resistor R24, the base of the fifth NPN transistor Q25 is connected to the emitter of the sixth NPN transistor Q26, the collector of the sixth NPN transistor Q26 is connected to the analog power supply, the emitter of the sixth NPN transistor Q26 is connected to the first end of the fifth N-type MOS transistor NM5, and the second end of the fifth N-type MOS transistor NM5 is connected to the analog ground;

[0159] The eighth P-type MOS transistor PM8 and the ninth P-type MOS transistor PM9 are P-type MOS transistors with a one-to-one mirror image, the third N-type MOS transistor NM3 and the fourth N-type MOS transistor NM4 are N-type MOS transistors with a one-to-one mirror image, and the tenth P-type MOS transistor PM10 and the eleventh P-type MOS transistor PM11 are P-type MOS transistors with a one-to-one mirror image;

[0160] The first current of the second ripple compensation module refers to the current of the ninth P-type MOS transistor PM9, the second current of the second ripple compensation module refers to the current of the third N-type MOS transistor NM3, and the feedback node on the output side of the BUCK converter is connected between the second end of the ninth P-type MOS transistor PM9 and the first end of the third N-type MOS transistor NM3 to receive the ripple compensation current generated by the second ripple compensation module.

[0161] When the second ripple compensation module 22 is working:

[0162] The voltage at point E is VINP-Vth; the voltage at point F is the voltage at point E-Vth, that is, VINP-Vth-Vth; therefore, the current of the eighth P-type MOS transistor PM8 is (VINP-Vth-Vth) / R23. Furthermore, since the eighth P-type MOS transistor PM8 and the ninth P-type MOS transistor PM9 are 1:1 current mirror images, the current of the ninth P-type MOS transistor PM9 is equal to the current of the eighth P-type MOS transistor PM8, both of which are (VINP-Vth-Vth) / R23.

[0163] The voltage at point G is VINN-Vth, and the voltage at point H is the voltage at point G-Vth, that is, VINN-Vth-Vth. Therefore, the current of the eleventh P-type MOS transistor PM11 is (VINN-Vth-Vth) / R24. The eleventh P-type MOS transistor PM11 and the tenth P-type MOS transistor PM10 are 1:1 current mirrored. At the same time, after the 1:1 mirroring of the third N-type MOS transistor NM3 and the fourth N-type MOS transistor NM4, the current of the third N-type MOS transistor NM3, the current of the fourth N-type MOS transistor NM4, the current of the tenth P-type MOS transistor PM10 and the current of the eleventh P-type MOS transistor PM11 are all equal, which are (VINN-Vth-Vth) / R24.

[0164] Then, for point S2: the output current is the difference between the current of the ninth P-type MOS tube PM9 and the current of the third N-type MOS tube NM3, that is: VINP / R23-VINN / R24, at the same time, R23=R24=R21=R22, if its resistance is represented by R, then the current at point S2 is: (VINP-VINN) / R, that is: the ripple voltage information obtained by the ripple sampling circuit is converted into current information, and then, by connecting this point to a feedback node, the current can be superimposed on the VOUT_FB feedback resistor, then the ripple information of the output voltage is obtained at VOUT_FB, thereby controlling the stability of the output voltage.

[0165] It can be seen that the process of generating ripple compensation current can be characterized as: (VINP-Vth-Vth) / R-(VINN-Vth-Vth) / R=(VINP-VINN) / R=IOUT. The IOUT fingerprint wave compensation current can adjust the current IOUT by adjusting the resistance value R of the resistor. (VINP-Vth-Vth) is the voltage acting on the resistor, which can be regarded as the first intermediate voltage mentioned above, and (VINN-Vth-Vth) is the voltage acting on the resistor, which can be regarded as the second intermediate voltage mentioned above. Correspondingly, the first voltage difference and the second voltage difference are Vth+Vth.

[0166] Furthermore, by connecting this point to a feedback node, the current can be superimposed on the VOUT_FB feedback resistor, and the ripple information of the output voltage is obtained at VOUT_FB, thereby controlling the stability of the output voltage.

[0167] In addition, in the circuit described above, among the first enabling switch Q31 and the second enabling switch Q32, the first enabling switch Q31 and the second enabling switch Q32 connected to the analog power supply can use P-type MOS tubes, and the first enabling switch Q31 and the second enabling switch Q32 connected to the analog ground can use N-type MOS tubes.

[0168] The first ripple compensation module 21 can be applied when the output voltage is relatively small, and the second ripple compensation module 22 can be applied when the output voltage is relatively large (for example, when it is close to the input voltage).

[0169] In the circuits of the first ripple compensation module and the second ripple compensation module provided above, the ripple compensation current to be compensated is easy to calculate and generate, and the circuit structure is relatively simple compared to the prior art.

[0170] At the same time, in the above ripple compensation module, the first voltage and the second voltage are input by a triode. In comparison, in the existing related technology, a MOS tube is usually used for input. At this time, the common-mode input voltage range of the circuit determines that when the output voltage of the BUCK converter is close to the input voltage, the ripple compensation circuit will not work, and thus it cannot be applied to the BUCK converter that wants to increase the duty cycle. In comparison, the ripple compensation module in the above implementation can be applied to this situation, and stability can be guaranteed in the full voltage range.

[0171] In other implementations of this embodiment, implementations with three or more ripple compensation modules are not excluded. For example, in other ripple compensation modules, other similar Figure 6 The process can be realized by, for example, (VINP-Vth-Vth-Vth) / R-(VINN-Vth-Vth-Vth) / R=(VINP-VINN) / R=IOUT, (VINP+Vth+Vth) / R-(VINN+Vth+Vth) / R=(VINP-VINN) / R=IOUT, etc. The above process can be realized by configuring corresponding transistors, MOS tubes, current mirrors, etc.

[0172] Figure 7 FIG. 1 is a circuit diagram of a trigger module selected in an embodiment of the present invention. Figure 1 ; Figure 8 FIG. 1 is a circuit diagram of a trigger module selected in an embodiment of the present invention. Figure 2 .

[0173] Please refer to Figure 7 and Figure 8 , and combined with Figure 6 In one embodiment, the number of the ripple compensation modules 2 is two, namely the first ripple compensation module 21 and the second ripple compensation module 22 described above; the selection trigger module 1 is also connected to the feedback node on the input side of the BUCK converter, and the selection trigger module 1 is specifically used for:

[0174] If the difference between the output voltage and the input voltage of the BUCK converter exceeds a preset range, selecting the first ripple compensation module as the current ripple compensation module;

[0175] If the difference between the output voltage and the input voltage of the BUCK converter does not exceed a preset range, the second ripple compensation module is selected as the current ripple compensation module.

[0176] The output voltage of the BUCK converter may be represented by a voltage VIN_FB of a feedback node on the output side, and the output voltage of the BUCK converter may be represented by a voltage VIN_FB of a feedback node on the input side.

[0177] For specific implementation, please refer to Figure 7 and Figure 8 The selection trigger module 1 includes a comparison unit 11 and at least one transmission gate 12; wherein the number of the transmission gates 12 can be as follows: Figure 7 The one shown can also be Figure 8 The two shown are respectively the first transmission gate 121 and the second transmission gate 122 if the number of the transmission gates 12 is two.

[0178] The transmission gate 12 is respectively connected to a feedback node on the output side of the BUCK converter and the first input end of the comparison unit; the second input end of the comparison unit 11 is connected to the feedback node on the input side of the BUCK converter; one output end of the comparison unit 11 is connected to the first ripple compensation module 21, and the other output end is connected to the second ripple compensation module 22.

[0179] The comparison unit is used for comparing the voltages of the first input terminal and the second input terminal, and triggering the first ripple compensation module 21 or the second ripple compensation module 22 as the current ripple compensation module according to the comparison result.

[0180] Among them, since the output voltage of the BUCK converter should be lower than the input voltage, therefore, if the difference between the output voltage and the input voltage is greater than the preset range, it can be understood that the output voltage is smaller than the input voltage, and the output voltage is at a relatively low voltage, and if the difference between the output voltage and the input voltage is less than the preset range, it can be understood that the output voltage is smaller than the input voltage, but the output voltage is at a relatively high voltage, for example, at a voltage close to the input voltage. Furthermore, different ripple compensation modules can be triggered to work at different output voltages through the comparison unit.

[0181] visible, Figure 7 and Figure 8 The illustrated implementation can accurately select a matching ripple compensation module based on the relationship between the output voltage and the input voltage to meet the requirements of the full voltage range.

[0182] For a specific implementation process, please refer to Figure 7The comparison unit 11 includes a comparator 115 , a first inverter 111 , a second inverter 112 , a third inverter 113 and a fourth inverter 114 .

[0183] The transmission gate 12 is connected between a feedback node at the output side of the BUCK converter and a first input terminal of the comparator 115 ; wherein the first input terminal may be a non-inverting input terminal.

[0184] The second input terminal of the comparator 115 is connected to the feedback node of the input side of the BUCK converter, which may correspond to the voltage VOUT_FB (or VOUT_FB1 , VOUT_FB2 ), wherein the second input terminal may be an inverting input terminal.

[0185] The output end of the comparator 115 , the first inverter 111 , the second inverter 112 , the third inverter 113 and the fourth inverter 114 are connected in sequence.

[0186] One control end of the transmission gate 12 is connected between the first inverter 111 and the second inverter 112, and the other control end is connected between the second inverter 112 and the third inverter 113. The two control ends can be characterized as C end and end.

[0187] The first ripple compensation module 21 is connected between the third inverter 113 and the fourth inverter 114 to be triggered by the signal ENH1 output by the third inverter 113 . The second ripple compensation module 22 is connected to the output end of the fourth inverter 114 to be triggered by the signal ENH2 output by the fourth inverter 114 .

[0188] For another specific implementation, please refer to Figure 8 The number of the transmission gates 12 is two, namely a first transmission gate 121 and a second transmission gate 122 .

[0189] The first transmission gate 121 is connected between the feedback node at the output side of the BUCK converter and the first input terminal of the comparator, and the second transmission gate 122 is also connected between the feedback node at the output side of the BUCK converter and the first input terminal of the comparator.

[0190] The first control terminal (eg, C terminal or The second control terminal is connected between the third inverter 113 and the fourth inverter 114, the second control terminal is connected to the output terminal of the fourth inverter 114, and the second control terminal of the second transmission gate (eg The first control terminal (A terminal or C terminal) is connected between the third inverter 113 and the fourth inverter 114, and the first control terminal is connected to the output terminal of the fourth inverter 114. It can be seen that the first control terminal of the first transmission gate 121 and the second control terminal of the second transmission gate 122 are connected at the same position, and the second control terminal of the first transmission gate 121 and the first control terminal of the second transmission gate 122 are connected at the same position.

[0191] The first transmission gate and the second transmission gate are connected to different feedback nodes. Figure 8 For example, the feedback node with a voltage of VOUT_FB1 and the feedback node with a voltage of VOUT_FB2 may be connected respectively.

[0192] In addition, in addition to selecting different ripple compensation modules 2 based on the output voltage and the input voltage, in other schemes, the output voltage can also be compared with a preset threshold to select different ripple compensation modules 2 to work. Different ripple compensation modules 2 can also be selected to work in combination with other factors. For example, the ripple compensation module 2 can be automatically selected for ripple compensation in combination with time, environment and other factors to meet actual needs.

[0193] In summary, in the BUCK converter and the internal ripple compensation circuit thereof provided by the present embodiment, the ripple compensation current corresponding to the ripple voltage is superimposed on the feedback node (for example, at a certain feedback resistor), so the signal fed back by the feedback node may carry the information of the ripple voltage, which may be helpful to ensure the stability of the operation of the BUCK converter. At the same time, the present invention is configured with at least two ripple compensation modules and a selection trigger module, and then, according to the actual circuit requirements, the corresponding ripple compensation module can be selectively triggered to perform ripple compensation, thereby avoiding the situation where only one ripple compensation module is used and it is difficult to meet all requirements.

[0194] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An internal ripple compensation circuit of a BUCK converter, characterized in that: include: At least two ripple compensation modules and a selection trigger module; The selection trigger module is respectively connected to the feedback node on the output side of the BUCK converter and the at least two ripple compensation modules, and the at least two ripple compensation modules are connected to a feedback node on the output side of the BUCK converter and the selection trigger module; The selection trigger module is used to: trigger a current ripple compensation module of the at least two ripple compensation modules to perform ripple compensation according to the output voltage of the BUCK converter; When the ripple compensation module performs the ripple compensation as the current ripple compensation module, it is used to: generate a ripple compensation current that matches the voltage ripple in the BUCK converter, and superimpose the ripple compensation current on the feedback node on the output side of the BUCK converter; wherein the process of generating the ripple compensation current by different ripple compensation modules is different; The number of the ripple compensation modules is two, namely a first ripple compensation module and a second ripple compensation module; the selection trigger module is also connected to the feedback node on the input side of the BUCK converter, and the selection trigger module is specifically used for: If the difference between the output voltage and the input voltage of the BUCK converter exceeds a preset range, selecting the first ripple compensation module as the current ripple compensation module; If the difference between the output voltage and the input voltage of the BUCK converter does not exceed a preset range, selecting the second ripple compensation module as the current ripple compensation module; The selection trigger module includes a comparison unit and at least one transmission gate; The transmission gate is respectively connected to the feedback node of the output side of the BUCK converter and the first input terminal of the comparison unit; The second input terminal of the comparison unit is connected to the feedback node of the input side of the BUCK converter; One output end of the comparison unit is connected to the first ripple compensation module, and the other output end is connected to the second ripple compensation module; The comparison unit is used for comparing the voltages of the first input terminal and the second input terminal, and triggering the first ripple compensation module or the second ripple compensation module as the current ripple compensation module according to the comparison result.

2. The internal ripple compensation circuit of the BUCK converter according to claim 1, characterized in that: It also includes a voltage ripple sampling module, which includes a first filtering unit and a second filtering unit. The waveform of the switch node in the BUCK converter can be filtered by the first filtering unit and the second filtering unit in sequence; the ripple compensation module is connected to the first filtering unit and the second filtering unit respectively to collect the first voltage filtered by the first filtering unit and the second voltage filtered by the second filtering unit; the voltage ripple is characterized by the difference between the first voltage and the second voltage; When the current ripple compensation module generates a ripple compensation current matching the voltage ripple, it is specifically used to: According to the first voltage, a first intermediate voltage is formed at both ends of the resistor of the target resistance value to obtain a corresponding first current; the difference between the first voltage and the first intermediate voltage is a first voltage difference; According to the second voltage, a second intermediate voltage is formed at both ends of the resistor of the target resistance value to obtain a corresponding second current, and the difference between the second voltage and the second intermediate voltage is a second voltage difference; determining a ripple compensation current matching the voltage ripple according to the first current and the second current; superimposing the ripple compensation current to a feedback node on the output side of the BUCK converter; Among them, in different ripple compensation modules, the first voltage difference is different, and the second voltage difference is also different; in the same ripple compensation module, the first voltage difference and the second voltage difference are the same.

3. The internal ripple compensation circuit of the BUCK converter according to claim 2, characterized in that: The ripple compensation current is the difference between the first current and the second current. The at least two ripple compensation modules include a first ripple compensation module and a second ripple compensation module. The first voltage difference and the second voltage difference in the first ripple compensation module are zero, and the first voltage difference and the second voltage difference in the second ripple compensation module are not zero.

4. The internal ripple compensation circuit of the BUCK converter according to claim 3, characterized in that: The at least two ripple compensation modules include a first ripple compensation module, the first ripple compensation module includes a first resistor, a second resistor, a first PNP transistor, a second PNP transistor, a first P-type MOS transistor, a second P-type MOS transistor, a third P-type MOS transistor, a fourth P-type MOS transistor, a fifth P-type MOS transistor, a sixth P-type MOS transistor, a seventh P-type MOS transistor, a first N-type MOS transistor, a second N-type MOS transistor, a first NPN transistor, a second NPN transistor, and three first enabling switches; the first resistor has the same resistance value as the second resistor; The gates of the three first enabling switches are all connected to the selection trigger module; the gate of the third P-type MOS tube and the gate of the fourth P-type MOS tube are connected to the first first enabling switch, the gate of the fifth P-type MOS tube and the gate of the sixth P-type MOS tube are connected to the second first enabling switch, and the gate of the first N-type MOS tube and the gate of the second N-type MOS tube are connected to the third first enabling switch; the three first enabling switches are all connected to the selection trigger module to control the conduction of the third P-type MOS tube, the fourth P-type MOS tube, the fifth P-type MOS tube, the sixth P-type MOS tube, the first N-type MOS tube and the second N-type MOS tube when triggered by the selection trigger module; the base of the first PNP transistor is used to connect to the first voltage, and the base of the second PNP transistor is used to connect to the second voltage; The first ends of the first P-type MOS tube, the second P-type MOS tube, the third P-type MOS tube and the fourth P-type MOS tube are connected to the analog power supply, the gates of the first P-type MOS tube, the second P-type MOS tube and the seventh P-type MOS tube are connected to each other, and the gate of the first P-type MOS tube is short-circuited to the second end; the second end of the second P-type MOS tube is connected to the emitter of the first PNP transistor, the base of the first PNP transistor is connected to the first filter capacitor to access the first voltage, the collector of the first PNP transistor is connected to the analog ground, the emitter of the first PNP transistor is also connected to the base of the first NPN transistor, the collector of the first PNP transistor is connected to the second end of the third P-type MOS tube, and the emitter of the first PNP transistor is connected to the analog ground via the first resistor; the gate of the third P-type MOS tube is short-circuited to the second end, the second end of the fourth P-type MOS tube is connected to the first end of the first N-type MOS tube, and the second end of the first N-type MOS tube is connected to the analog ground; The first ends of the fifth P-type MOS tube, the sixth P-type MOS tube and the seventh P-type MOS tube are connected to the analog power supply, the second end of the fifth P-type MOS tube is connected to the first end of the second N-type MOS tube, the second end of the second N-type MOS tube is connected to the analog ground, the second end of the sixth P-type MOS tube is connected to the collector of the second NPN transistor, the emitter of the second NPN transistor is connected to the analog ground via the second resistor, the second end of the seventh P-type MOS tube is connected to the base of the second PNP transistor and the second filter capacitor to access the second voltage, and the emitter of the second PNP transistor is connected to the analog ground; the gate of the second N-type MOS tube is short-circuited to the first end, and the gate of the sixth P-type MOS tube is short-circuited to the second end; The third P-type MOS transistor and the second P-type MOS transistor are P-type MOS transistors with a one-to-one mirror image, the first N-type MOS transistor and the second N-type MOS transistor are N-type MOS transistors with a one-to-one mirror image, and the fifth P-type MOS transistor and the sixth P-type MOS transistor are P-type MOS transistors with a one-to-one mirror image; The first current of the first ripple compensation module refers to the current of the fourth P-type MOS tube, the second current of the first ripple compensation module refers to the current of the first N-type MOS tube, and the feedback node on the output side of the BUCK converter is connected between the second end of the fourth P-type MOS tube and the first end of the first N-type MOS tube to receive the ripple compensation current generated by the first ripple compensation module.

5. The internal ripple compensation circuit of the BUCK converter according to claim 3, characterized in that: The at least two ripple compensation modules include a second ripple compensation module, the second ripple compensation module includes a third resistor, a fourth resistor, an eighth P-type MOS transistor, a ninth P-type MOS transistor, a tenth P-type MOS transistor, an eleventh P-type MOS transistor, a third N-type MOS transistor, a fourth N-type MOS transistor, a fifth N-type MOS transistor, a sixth N-type MOS transistor, a seventh N-type MOS transistor, a third NPN transistor, a fourth NPN transistor, a fifth NPN transistor, a sixth NPN transistor, and three first enabling switches; the third resistor has the same resistance value as the fourth resistor; The gates of the three second enabling switches are all connected to the selection trigger module; the gate of the eighth P-type MOS tube and the gate of the ninth P-type MOS tube are connected to the first second enabling switch, the gate of the tenth P-type MOS tube and the gate of the eleventh P-type MOS tube are connected to the second second enabling switch, and the gate of the third N-type MOS tube and the gate of the fourth N-type MOS tube are connected to the third second enabling switch; the three second enabling switches are all connected to the selection trigger module to control the conduction of the eighth P-type MOS tube, the ninth P-type MOS tube, the tenth P-type MOS tube, the eleventh P-type MOS tube, the third N-type MOS tube and the fourth N-type MOS tube when triggered by the selection trigger module, the base of the third NPN transistor is used to access the first voltage, and the base of the sixth NPN transistor is used to access the second voltage; The collector of the third NPN transistor, the first end of the eighth P-type MOS transistor, and the first end of the ninth P-type MOS transistor are all connected to the analog power supply, the gates of the sixth N-type MOS transistor, the seventh N-type MOS transistor, and the fifth N-type MOS transistor are connected to each other, the gate of the sixth N-type MOS transistor is short-circuited with the first end, the gate of the seventh N-type MOS transistor is short-circuited with the second end, the first end of the seventh N-type MOS transistor is connected to the emitter of the third NPN transistor, the second end of the seventh N-type MOS transistor and the second end of the sixth N-type MOS transistor are both connected to the analog ground, the base of the fourth NPN transistor is connected to the emitter of the third NPN transistor, and the emitter of the fourth NPN transistor is connected to the analog ground via the third resistor; The first end of the ninth P-type MOS transistor is connected to the analog power supply, the second end of the ninth P-type MOS transistor is connected to the first end of the third N-type MOS transistor, the first end of the tenth P-type MOS transistor is connected to the analog power supply, the second end of the tenth P-type MOS transistor is connected to the first end of the fourth N-type MOS transistor, and the second end of the fourth N-type MOS transistor and the second end of the third N-type MOS transistor are both connected to the analog ground; The first end of the eleventh P-type MOS transistor is connected to the analog power supply, the second end of the eleventh P-type MOS transistor is connected to the collector of the fifth NPN transistor, the emitter of the fifth NPN transistor is connected to the analog ground via the fourth resistor, the base of the fifth NPN transistor is connected to the emitter of the sixth NPN transistor, the collector of the sixth NPN transistor is connected to the analog power supply, the emitter of the sixth NPN transistor is connected to the first end of the fifth N-type MOS transistor, and the second end of the fifth N-type MOS transistor is connected to the analog ground; The eighth P-type MOS tube and the ninth P-type MOS tube are P-type MOS tubes with a one-to-one mirror image, the third N-type MOS tube and the fourth N-type MOS tube are N-type MOS tubes with a one-to-one mirror image, and the tenth P-type MOS tube and the eleventh P-type MOS tube are P-type MOS tubes with a one-to-one mirror image; The first current of the second ripple compensation module refers to the current of the ninth P-type MOS tube, the second current of the second ripple compensation module refers to the current of the third N-type MOS tube, and the feedback node on the output side of the BUCK converter is connected between the second end of the ninth P-type MOS tube and the first end of the third N-type MOS tube to receive the ripple compensation current generated by the second ripple compensation module.

6. The internal ripple compensation circuit of the BUCK converter according to any one of claims 2 to 5, characterized in that: The first filtering unit includes a first filtering resistor and a first filtering capacitor, and the second filtering unit includes a second filtering resistor and a second filtering capacitor; A first end of the first filter resistor is connected to the switch node, a first end of the first filter capacitor is connected to a second end of the first filter resistor, a first end of the second filter resistor is connected to a second end of the first filter resistor, a second end of the second filter resistor is connected to a first end of the second filter capacitor, and a second end of the first filter capacitor and a second end of the second filter capacitor are both connected to an analog ground; The ripple compensation module is connected to the first end of the first filter capacitor to collect the first voltage; The ripple compensation module is connected to the first end of the second filter capacitor to collect the second voltage.

7. The internal ripple compensation circuit of the BUCK converter according to claim 1, characterized in that: The comparison unit includes a comparator, a first inverter, a second inverter, a third inverter and a fourth inverter; The transmission gate is connected between a feedback node on the output side of the BUCK converter and a first input terminal of the comparator; The second input terminal of the comparator is connected to the feedback node of the input side of the BUCK converter; The output end of the comparator, the first inverter, the second inverter, the third inverter and the fourth inverter are connected in sequence; One control end of the transmission gate is connected between the first inverter and the second inverter, and the other control end is connected between the second inverter and the third inverter. The first ripple compensation module is connected between the third inverter and the fourth inverter to be triggered by the signal output by the third inverter. The second ripple compensation module is connected to the output end of the fourth inverter to be triggered by the signal output by the fourth inverter.

8. A BUCK converter, characterized in that: An internal ripple compensation circuit comprising any one of claims 1 to 7.