BUCK conversion circuit and chip
By detecting whether the switching signal of the BUCK conversion circuit is in the on state at the maximum duty cycle, shielding the maximum duty cycle control, and extending the on-time, the problem of the BUCK conversion circuit responding to ripple difference when the load changes, and realizing the Good load transient response and output voltage stability.
Patent Information
- Application Number
- CN202411097450.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-15
AI Technical Summary
The existing BUCK conversion circuit has poor response ripple when load changes, especially when the input voltage is lower than the target output voltage, it cannot enter the pass-through mode in time, resulting in large voltage undershoot and overshoot in the load transient response.
By detecting whether the upper tube is still in the on-state when the switching signal of the upper tube reaches the maximum duty cycle, if it is turned on, the control of the maximum duty cycle is blocked, the minimum shutdown time is skipped, and the upper tube continues to conduct. Until the next clock cycle, it is turned on and off normally according to the PWM signal, so that energy is continued to be provided to the output voltage when the load jumps, reducing the undershoot of the output voltage.
Good response ripple during load jump is achieved, reducing the undershoot of the output voltage, improving the response speed, and the above logic can be implemented with fewer devices.
Smart Images

Figure CN118971616A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of chip technology, and in particular to a BUCK conversion circuit and chip. Background Art
[0002] Buck converter circuit, also known as step-down circuit, is a DC-DC converter circuit, and its output voltage is usually lower than the input voltage. However, there are also scenarios where the buck converter circuit needs to support input voltage lower than the target output voltage.
[0003] In the related art, in the above scenario, the input voltage VIN and the output voltage Vout are usually compared with the target output voltage Vout (Target) respectively, and then based on the comparison result, whether to enter the direct-through mode is controlled.
[0004] However, in the process of implementing the present application, the inventors found that there are at least the following problems in the prior art: in the above-mentioned method of entering the direct-through mode, when the load changes, a large voltage undershoot will occur, and the response ripple of the load transient response is poor. Summary of the invention
[0005] The embodiments of the present application provide a BUCK conversion circuit and a chip to obtain a better response ripple when the load changes.
[0006] In a first aspect, an embodiment of the present application provides a BUCK conversion circuit, comprising: a first transistor, a second transistor, an inductor, a PWM signal generating module and a switch control module;
[0007] The first transistor has a first end connected to an input voltage, a second end connected to a first switching signal, and a third end connected to the first end of the inductor and the third end of the second transistor;
[0008] The second transistor has a first end connected to the ground and a second end connected to the second switch signal;
[0009] The inductor has a second end connected to an output end of the BUCK conversion circuit; the output end of the BUCK conversion circuit is used to generate an output voltage;
[0010] The PWM signal generating module is used to compare the voltage detection value with the current detection value to generate a PWM signal; the voltage detection value is generated according to the feedback voltage and the reference voltage of the output end of the BUCK conversion circuit; the current detection value is related to the current flowing through the inductor;
[0011] The switch control module is used to generate the first switch signal and the second switch signal according to the PWM signal, the first clock signal and the maximum duty cycle; wherein, for each cycle of the first clock signal, if the duty cycle of the first switch signal in the cycle reaches the maximum duty cycle, the duty cycle of the first switch signal in the cycle is controlled to reach 100% duty cycle.
[0012] In a possible design, if the duty cycle of the first switching signal in the period reaches the maximum duty cycle, controlling the duty cycle of the first switching signal in the period to reach 100% duty cycle includes:
[0013] If the first switch signal is at the first level at the moment corresponding to the maximum duty cycle in the current cycle, the first switch signal is maintained at the first level during the remaining time of the current cycle; the cycle is the moment between two adjacent first edges of the first clock signal; the switch control module is also used to set the first switch signal to the first level at the first edge; when the first switch signal is at the first level, it indicates that the first switch tube is in the on state.
[0014] In one possible design, the switch control module includes a first RS trigger, a first sampler, and a second sampler;
[0015] The first sampler is used to sample the first switching signal at a second edge of a second clock signal; the second clock signal has the same frequency as the first clock signal, and the second edge corresponds to the moment when the maximum duty cycle is reached;
[0016] The second sampler is used for sampling, at a second edge of a second clock signal, whether the PWM signal is at a second level before the second edge in a current cycle;
[0017] The set S terminal of the first RS flip-flop is connected to the first clock signal, and the reset R terminal is used to be connected to a target level during the remaining time of the current cycle of the first clock signal when the first switching signal sampled by the first sampler is at the first level and the PWM signal sampled by the second sampler is not at the second level before the second edge in the current cycle. The target level is used to reset the first RS flip-flop.
[0018] The R terminal is also used to connect to the PWM signal when the PWM signal sampled by the second sampler is at a second level before the second edge.
[0019] In a possible design, the R terminal of the first RS trigger is also used to connect to the PWM signal when the PWM signal sampled by the second sampler is at a second level before the second edge.
[0020] In one possible design, the first sampler includes a first first D flip-flop, the second sampler includes a second first D flip-flop and a second RS flip-flop, and the switch control module further includes a first AND gate, a first OR gate, a second AND gate and a second OR gate;
[0021] The input D terminal of the first D flip-flop is connected to the first switch signal, the clock CLK terminal is connected to the second clock signal, and the output Q terminal is connected to the first terminal of the first AND gate;
[0022] The second end of the first AND gate is connected to the second clock signal, and the output end is connected to the first end of the first OR gate;
[0023] The R terminal of the second RS flip-flop is connected to the first clock signal, the S terminal is connected to the PWM signal, and the Q terminal is connected to the D terminal of the second first D flip-flop;
[0024] The CLK terminal of the second first D flip-flop is connected to the second clock signal, and the Q terminal is connected to the first terminal of the second OR gate;
[0025] The second end of the second OR gate is connected to the voltage detection signal, and the output end is connected to the first end of the second AND gate; the voltage detection signal is used to indicate whether the error amplification signal reaches the clamping voltage;
[0026] The second end of the second AND gate is connected to the PWM signal, and the output end is connected to the second end of the first OR gate.
[0027] The output terminal of the first OR gate is connected to the R terminal of the first RS flip-flop.
[0028] In one possible design, the switch control module further includes a delay unit;
[0029] The second end of the first AND gate is connected to the second clock signal through the delay unit.
[0030] In a possible design, the BUCK conversion circuit further includes a second clock signal generating module;
[0031] The second clock signal generating module is used to delay the first clock signal and adjust the duty cycle of the delayed first clock signal according to the maximum duty cycle to obtain the second clock signal.
[0032] In a possible design, the BUCK conversion circuit further includes a capacitor;
[0033] A first end of the capacitor is connected to the output end of the BUCK conversion circuit, and a second end of the capacitor is grounded.
[0034] In one possible design, the PWM generation circuit includes an error amplifier, a compensation unit, a voltage-current conversion module, a ramp compensation unit, and a PWM comparator;
[0035] The error amplifier is used to amplify the difference between the first reference voltage and the feedback voltage to generate an error voltage; the feedback voltage is related to the output voltage;
[0036] The compensation unit is used to compensate the error voltage to obtain a compensated error voltage;
[0037] The voltage-to-current conversion module is used to convert the compensated error voltage into an error current;
[0038] The ramp compensation unit is used to generate a ramp according to the first clock signal, and generate the voltage detection value according to the ramp and the error current;
[0039] The PWM comparator is used to compare the voltage detection value with the current detection value to generate a PWM signal.
[0040] In a possible design, the BUCK conversion circuit further includes an oscillation module;
[0041] The oscillation module is used to generate the first clock signal.
[0042] In a second aspect, an embodiment of the present application provides a chip, including: the BUCK conversion circuit described in the above-mentioned first aspect and various possible designs of the first aspect.
[0043] The buck conversion circuit and chip provided in this embodiment include: a first transistor, a second transistor, an inductor, a PWM signal generating module and a switch control module. The first transistor has a first end connected to an input voltage, a second end connected to a first switch signal, and a third end connected to a first end of the inductor and a third end of the second transistor. The second transistor has a first end connected to ground and a second end connected to a second switch signal. The inductor has a second end connected to an output end of the buck conversion circuit, and the output end of the buck conversion circuit is used to generate an output voltage. The PWM signal generating module is used to compare a voltage detection value with a current detection value to generate a PWM signal. The voltage detection value is generated according to a feedback voltage and a reference voltage at the output end of the buck conversion circuit. The current detection value is related to a current flowing through the inductor. The switch control module is used to generate a first switch signal and a second switch signal according to the PWM signal, a first clock signal and a maximum duty cycle. For each cycle of the first clock signal, if the duty cycle of the first switch signal in the cycle reaches the maximum duty cycle, the duty cycle of the first switch signal in the cycle is controlled to reach 100% duty cycle. The BUCK conversion circuit provided in this embodiment detects whether the upper tube is still in the on state when the switch signal of the upper tube reaches the maximum duty cycle MaxD of the BUCK conversion circuit. If the upper tube is in the on state, the control of MaxD can be shielded, the minimum off time Minoff can be skipped, and the upper tube is continuously turned on until the next clock cycle, and then normally turned on and off according to the PWM signal. Therefore, during the load jump process, the device (such as the upper tube) that is originally controlled by the maximum duty cycle MaxD and needs to enter the minimum off time Minoff can continue to provide energy for the output voltage, thereby reducing the undershoot of the output voltage and obtaining a good response ripple. In addition, in this way, fewer devices can be used to implement the above logic, and the response speed is faster. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0045] Figure 1 It is a structural schematic diagram of a logic control circuit used to realize a BUCK conversion circuit entering a direct-through mode in the prior art;
[0046] Figure 2 Schematic diagram of the structure of the BUCK conversion circuit provided in the embodiment of the present application Figure 1 ;
[0047] Figure 3 A schematic diagram of the structure of a switch control module in a BUCK conversion circuit provided in an embodiment of the present application;
[0048] Figure 4 Schematic diagram of the structure of the BUCK conversion circuit provided in the embodiment of the present application Figure 2 ;
[0049] Figure 5 A schematic diagram showing a comparison of load transient response effects of the BUCK conversion circuit provided in an embodiment of the present application.
[0050] Reference numerals:
[0051] Vin: input voltage; MP: first transistor; MN: second transistor; LX: inductor, Vout: output voltage; 210: PWM signal generation module; 211: error amplifier; 212: compensation unit; 213: voltage-current conversion module; 214: ramp compensation unit; 215: PWM comparator; 220 switch control module; 221: first sampler; 222: first RS trigger; 223: first AND gate; 224: first OR gate; 225: delay unit; 226: second AND gate; 227: second OR gate; 228: second sampler; 230: capacitor; 240: oscillation module; 250: reverse current comparator; 260: drive module. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] BUCK converter circuit, also known as step-down circuit, is a DC-DC converter circuit, and its output voltage is usually lower than the input voltage. However, in some application scenarios, the BUCK converter circuit needs to support input voltage lower than the target output voltage (Vout_target). In the above scenario, in order to make the input voltage provide energy to the load as much as possible, the input and output can be directly connected, that is, the transistor between the input voltage and the inductor remains in the on state, that is, the duty cycle of the PWM signal input by the transistor is 100%.
[0054] In the related art, in order to realize the pass-through mode, the input voltage VIN and the output voltage Vout are usually compared with the target output voltage Vout (Target) respectively, and then based on the comparison result, whether to enter the pass-through mode is controlled. For example, Figure 1 FIG. 1 is a schematic diagram of a logic control circuit for realizing a BUCK conversion circuit entering a through mode in the prior art. Figure 1 As shown, the input voltage VIN of the BUCK conversion circuit is connected to the inverting input terminal of the first comparator, the target output voltage Vout (Target) is connected to the non-inverting input terminal of the first comparator and the non-inverting input terminal of the second comparator, the output voltage Vout of the BUCK conversion circuit is connected to the inverting input terminal of the second comparator, the output of the first comparator and the output of the second comparator are input to the AND gate after shaping, and then the enable signal EN_100Mode of the pass-through mode is output. When the comparison result of the first comparator and the second comparator indicates that Vout (Target) is greater than Vout and VIN, the enable signal EN_100Mode of the pass-through mode is 1, thereby entering the pass-through mode, that is, in this mode, the upper tube is always turned on to charge the inductor, and the lower tube is always turned off, so that the input voltage can provide a large output voltage as much as possible.
[0055] However, in the above method, the response speed is slow and the scope of application is limited. When the input voltage VIN of the BUCK conversion circuit is slightly greater than the target output voltage Vout_target and VIN needs to continuously provide energy for Vout, it is impossible to enter the pass-through mode in time, so that when the load jumps, the load transient response will have a large overshoot or undershoot, and the response ripple is poor.
[0056] In order to solve the above technical problems, the inventors of the present application have found that it is possible to detect whether the upper tube is still in the on state when the switch signal of the upper tube reaches the maximum duty cycle MaxD of the BUCK conversion circuit. If the upper tube is in the on state, the control of MaxD can be shielded, skipping the minimum off time Minoff, so that the upper tube continues to be on until the next clock cycle, and then normally opens and closes according to the PWM signal. Therefore, during the load jump process, the device (such as the upper tube) that is originally controlled by the maximum duty cycle MaxD and needs to enter the minimum off time Minoff can continue to provide energy for the output voltage, thereby reducing the undershoot of the output voltage and obtaining a good response ripple. In addition, in this way, fewer devices can be used to implement the above logic, and the response speed is faster. Based on this, an embodiment of the present application provides a BUCK conversion circuit.
[0057] The technical solution of the present application 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.
[0058] Figure 2 Schematic diagram of the structure of the BUCK conversion circuit provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, the BUCK conversion circuit includes: a first transistor MP, a second transistor MN, an inductor LX, a pulse width modulation PWM signal generating module 210 and a switch control module 220;
[0059] The first transistor MP has a first end connected to the input voltage Vin, a second end connected to the first switch signal, and a third end connected to the first end of the inductor LX and the third end of the second transistor MN.
[0060] The second transistor MN has a first terminal connected to the ground, and a second terminal connected to the second switch signal.
[0061] The inductor LX has a second end connected to an output end of the BUCK conversion circuit; the output end of the BUCK conversion circuit is used to generate an output voltage Vout.
[0062] The PWM signal generating module 210 is used to compare the voltage detection value with the current detection value to generate a PWM signal; the voltage detection value is generated according to the feedback voltage and the reference voltage at the output end of the BUCK conversion circuit; the current detection value is related to the current flowing through the inductor LX.
[0063] The switch control module 220 is used to generate a first switch signal and a second switch signal according to the PWM signal, the first clock signal and the maximum duty cycle; wherein, for each cycle of the first clock signal, if the duty cycle of the first switch signal within the cycle reaches the maximum duty cycle, the duty cycle of the first switch signal within the cycle is controlled to reach 100% duty cycle.
[0064] In this embodiment, the first transistor MP and the second transistor MN may be field effect transistors, such as metal-oxide-semiconductor field effect transistors (MOS transistors), wherein the first end may be the source of the field effect transistor, the second end may be the gate of the field effect transistor, and the third end may be the drain of the field effect transistor.
[0065] In the specific working process, as the edge (e.g., rising edge) of the clock signal arrives, the first switch signal generated by the switch control module 220 is at the first level, so that the first transistor MP (i.e., the upper tube) is turned on, the input voltage VinVin charges the inductor LX, and the current of the inductor LX increases. As the current of the inductor LX increases, the output voltage Vout also increases. When the current of the inductor LX increases to exceed the voltage detection value, the generated PWM signal flips, and the first switch signal generated by the switch control module 220 in response to the flip of the PWM signal changes to the second level, the first transistor MP is turned off, and at the same time, the second transistor MN is turned on under the control of the second switch signal, and the inductor LX and the second transistor MN (i.e., the lower tube) form a loop until the next rising edge of the clock signal arrives. Among them, due to the manufacturing process or cost, the BUCK conversion circuit usually has two parameters, "minimum on time" Minon and "minimum off time" Minoff. The maximum duty cycle is determined by the minimum off time Minoff. Duty cycle is defined as the ratio of the on-time T_ON of the switch in the switching power supply circuit to the entire switching cycle T_SW. In normal working mode, the duty cycle must be between the minimum duty cycle and the maximum duty cycle, and the maximum duty cycle is related to the minimum off-time. In other words, the switch control module 220 also needs to consider the maximum duty cycle. In the related art, when the on-time of the first transistor MP, that is, the duration of the first switch signal being at the first level exceeds the maximum duty cycle, the switch control module 220 will change the first switch signal generated according to the maximum duty cycle to the second level, and turn off the first transistor MP to meet the minimum off-time. In this embodiment, in order to achieve direct conduction, when the first switch signal reaches the maximum duty cycle, it is detected whether the first switch signal is at the first level, that is, whether the first transistor MP is turned on. If so, the control of the maximum duty cycle is shielded, that is, the first switch signal is controlled to continue to be at the first level, so that the first transistor MP continues to be turned on and continues to provide energy for the output voltage Vout, so that when the load jumps, the load transient response avoids a large overshoot or undershoot that causes a poor response ripple. In addition, in this manner, fewer devices can be used to implement the above-mentioned detection and shielding logic of the maximum duty cycle, and the response speed is faster.
[0066] The BUCK conversion circuit provided in this embodiment detects whether the upper tube is still in the on state when the switch signal of the upper tube reaches the maximum duty cycle MaxD of the BUCK conversion circuit. If the upper tube is in the on state, the control of MaxD can be shielded, the minimum off time Minoff can be skipped, and the upper tube is continuously turned on until the next clock cycle, and then normally turned on and off according to the PWM signal. Therefore, during the load jump process, the device (such as the upper tube) that is originally controlled by the maximum duty cycle MaxD and needs to enter the minimum off time Minoff can continue to provide energy for the output voltage Vout, thereby reducing the undershoot of the output voltage Vout and obtaining a good response ripple. In addition, in this way, fewer devices can be used to implement the above logic, and the response speed is faster.
[0067] Figure 3 Schematic diagram of the structure of the switch control module 220 in the BUCK conversion circuit provided in the embodiment of the present application. Figure 3 As shown, based on the above embodiments, for example, Figure 2 Based on the illustrated embodiment, the switch control module 220 includes a first RS trigger 222 , a first sampler 221 , and a second sampler 228 ;
[0068] The first sampler 221 is used to sample the first switching signal at a second edge of a second clock signal; the second clock signal has the same frequency as the first clock signal, and the second edge corresponds to the moment when the maximum duty cycle is reached;
[0069] The second sampler 228 is used for sampling, at the second edge of the second clock signal, whether the PWM signal is at the second level before the second edge in the current cycle;
[0070] The set S terminal of the first RS trigger 222 is connected to the first clock signal, and the reset R terminal is used to be connected to the target level within the remaining time of the current cycle of the first clock signal when the first switching signal sampled by the first sampler 221 is the first level and the PWM signal sampled by the second sampler 228 is not the second level before the second edge in the current cycle. The target level is used to reset the first RS trigger 222.
[0071] The R terminal is also used to be connected to the PWM signal when the PWM signal sampled by the second sampler 228 is at the second level before the second edge.
[0072] The first edge of the first clock signal and the second edge of the second clock signal may both be rising edges or falling edges, or one may be a rising edge and the other may be a falling edge, which is not limited in this embodiment.
[0073] In the specific work process, Figure 3As shown, the maximum duty cycle MaxD signal (i.e., the second clock signal) is used to detect the actual on-time of the first transistor MP, that is, the first sampler 221 is used to sample the on-time of the upper tube at the rising edge of MaxD, the first switch signal Hdrv. If the first transistor MP is still on at this time (meaning Hdrv=0, the PWM signal is still 0), the Maxd signal is shielded when the first switch signal sampled by the first sampler 221 is the first level, so that the first RS trigger 222 is completely controlled by the PWM signal, and because PWM=0 at this time, the minimum off-time Minoff will be skipped, and it will be directly connected to the next clock cycle, and then it will be normally turned on and off according to the PWM signal. In this way, during the load jump process, the Minoff device can continue to provide energy for the output voltage Vout, so that the undershoot of the output voltage Vout can be reduced. Moreover, the first RS trigger 222 can be the main RS trigger of BUCK, that is, it shares a main logic with PWM to control the main RS trigger, and the added device is only the first sampler 221, which is less in number and has a faster response speed.
[0074] In some embodiments, Figure 3 As shown, the R terminal of the first RS trigger 222 is also used to connect to the PWM signal when the PWM signal sampled by the second sampler 228 is at the second level before the second edge.
[0075] In some embodiments, Figure 3 As shown, the first sampler 221 includes a first first D flip-flop, the second sampler 228 includes a second first D flip-flop and a second RS flip-flop, and the switch control module also includes a first AND gate 223, a first OR gate 224, a second AND gate 226 and a second OR gate 227; the input D terminal of the first first D flip-flop is connected to the first switch signal, the clock CLK terminal is connected to the second clock signal, and the output Q terminal is connected to the first terminal of the first AND gate 223; the second terminal of the first AND gate 223 is connected to the second clock signal, and the output terminal is connected to the first terminal of the first OR gate 224; the R terminal of the second RS flip-flop is connected to the first clock signal The S terminal is connected to the PWM signal, the Q terminal is connected to the D terminal of the second first D flip-flop; the CLK terminal of the second first D flip-flop is connected to the second clock signal, and the Q terminal is connected to the first terminal of the second OR gate 227; the second terminal of the second OR gate 227 is connected to the voltage detection signal, and the output terminal is connected to the first terminal of the second AND gate 226; the voltage detection signal is used to characterize whether the error amplification signal reaches the clamping voltage; the second terminal of the second AND gate 226 is connected to the PWM signal, and the output terminal is connected to the second terminal of the first OR gate 224; the output terminal of the first OR gate 224 is connected to the R terminal of the first RS flip-flop 222.
[0076] In the specific work process, Figure 3As shown, the maximum duty cycle MaxD signal is used to detect the actual conduction time of the first transistor MP, that is, the first D trigger is used to detect the conduction condition of the upper tube at the rising edge of MaxD, the first switch signal Hdrv. If the first transistor MP is still turned on at this time (that is, Hdrv=0, the PWM signal is still 0), the output Q of the first D trigger is 0, and the first end of the first AND gate 223 is input, so that the Maxd signal input at the second end of the second AND gate 226 does not work, that is, the Maxd signal is shielded, so that the first RS trigger 222 is completely controlled by the PWM signal, and because PWM=0 at this time, the minimum off time Minoff will be skipped, and it will be directly connected to the next clock cycle Cycle of the first clock signal, and then it will be normally turned on and off according to the PWM signal. In this way, during the load jump process, the Minoff device can continue to provide energy for the output voltage Vout, so that the undershoot of the output voltage Vout can be reduced. Moreover, the first RS trigger 222 can be the main RS trigger of the BUCK, that is, it shares a main logic with the PWM to control the main RS trigger. The only added device is the first sampler 221, which is less in number and has a faster response speed.
[0077] like Figure 3 As shown, by sampling the PWM signal through the second sampler 228, when the PWM signal appears at the second level before the second edge of the second clock signal corresponding to MaxD arrives, the influence of the voltage detection signal OCP can be shielded, so that the output of the second OR gate 227 is 1, so that the PWM signal controls the R terminal of the first RS trigger 222. If the PWM signal appears at the second level after the second edge of the second clock signal corresponding to MaxD arrives but before the first edge of the first clock signal arrives, the voltage detection signal OCP and the PWM signal can be input into the second AND gate 226, so that the second AND gate 226 outputs 1, that is, the first switch signal is kept at 0, so that the upper tube is continuously turned on until the next clock cycle.
[0078] In some embodiments, the switch control module 220 further includes a delay unit 225; the second end of the first AND gate 223 is connected to the second clock signal through the delay unit 225. In this embodiment, the delay unit 225 can be implemented by a NOT gate. By using the delay unit 225, it is possible to ensure that sampling is performed before the maximum duty cycle is reached, and the maximum duty cycle MaxD is shielded, so as to avoid sampling after the maximum duty cycle is reached due to unstable circuit reaction time, resulting in failure to shield MaxD in time and causing logic errors.
[0079] In some embodiments, the BUCK conversion circuit further includes a second clock signal generating module; the second clock signal generating module is used to delay the first clock signal and adjust the duty cycle of the delayed first clock signal according to the maximum duty cycle to obtain the second clock signal.
[0080] In some embodiments, the BUCK conversion circuit further includes a capacitor 230; a first end of the capacitor 230 is connected to the output end of the BUCK conversion circuit, and a second end is grounded. The capacitor 230 and the inductor LX can form a low-pass filter, allowing the DC component in the input voltage Vin to pass through, while suppressing the ramp component in the input voltage Vin from passing through, so that a stepped-down DC voltage can be obtained at the voltage output end.
[0081] In some embodiments, Figure 4 As shown, the PWM generating circuit 210 includes an error amplifier 211, a compensation unit 212, a voltage-current conversion module 213 and a ramp compensation unit 214; the error amplifier 211 is used to amplify the difference between the first reference voltage and the feedback voltage to generate an error voltage; the feedback voltage is related to the output voltage Vout; the compensation unit 212 is used to compensate the error voltage to obtain a compensated error voltage; the voltage-current conversion module 213 is used to convert the compensated error voltage into an error current; the ramp compensation unit 214 is used to generate a ramp wave according to the first clock signal, and generate a voltage detection value according to the ramp wave and the error current.
[0082] For example, Figure 4 As shown, the error amplifier 211 may include a feedback voltage sampling unit, a reference voltage generating unit REF_DAC and an amplifier, wherein the feedback voltage sampling circuit divides the output voltage Vout through a series resistor to obtain a feedback voltage, and the feedback voltage is input to the inverting input terminal of the amplifier. The reference voltage generating unit REF_DAC may use a digital-to-analog converter to generate a required reference voltage according to a digital signal, and input the reference voltage to the non-inverting input terminal of the amplifier. The error amplifier 211 also includes a soft start unit SS. During the specific working process, Vout will gradually rise following the soft start voltage output by the soft start unit SS, and the error value VEA output by the error amplifier 211 will reach a suitable voltage in the loop adjustment.
[0083] In order to prevent the output voltage Vout from oscillating, a compensation unit 212 is provided. The compensation unit 212 may include a resistor and a capacitor 230 connected in series. One end of the compensation unit 212 is connected to the output of the error amplifier 211, and one end is grounded. The error value after compensation is converted into a current through a voltage-to-current conversion module (V2I conversion module) 213, and input into a ramp compensation unit (Ramp Gen) 214. After ramp compensation is performed by the ramp compensation unit 214, a voltage Vc is generated, and the voltage Vc is input into the non-inverting input end of the PWM comparator 215. The inverting input end of the PWM comparator 215 is connected to the connection point SW of the inductor LX, the first transistor MP, and the second transistor MN. As the current of the inductor LX increases, the voltage at the SW point exceeds the voltage Vc, and the output of the PWM comparator 215 flips to 1. At this time, if the maximum duty cycle MaxD is not reached, the first switch signal output by the switch control module 220 is the second level, and the first transistor MP is turned off until the edge of the current cycle of the first clock signal arrives and then turned on again. If the voltage at the SW point does not exceed the voltage Vc, that is, the output of the PWM comparator 215 is not flipped, it reaches MaxD. In other words, when the first switch signal reaches MaxD, PWM is still 0, then MaxD is shielded, Minoff in the current cycle of the first clock signal is skipped, and it is always turned on (the first transistor MP is always turned on) until the next cycle of the first clock signal, and then it is normally turned on and off according to the PWM signal.
[0084] In some embodiments, Figure 4 As shown, the BUCK conversion circuit further includes an oscillating module (OSC CLK) 240; the oscillating module 240 is used to generate a first clock signal. The first clock signal output by the oscillating module 240 can also be simultaneously input into the ramp generating unit in the ramp compensation unit 214 to generate a ramp signal according to the first clock signal to achieve ramp compensation.
[0085] In some embodiments, Figure 4 As shown, the BUCK conversion circuit further includes a reflux comparator (ZCD) 250 and a driving module 260;
[0086] The reverse current comparator 250 has a non-inverting input terminal connected to the SW point and an inverting input terminal connected to a reverse current reference voltage, and is used to control the second transistor MN to turn off when it is detected that the inductor LX current is less than the reverse current reference voltage to avoid the reverse current of the inductor LX.
[0087] The driving module 260 has an input end connected to the switch control module 220 and an output end connected to the first transistor MP and the second transistor MN, and is used to perform level conversion on the first switch signal and the second switch signal generated by the switch control module 220 to improve the driving capability of the first switch signal and the second switch signal.
[0088] In order to explain in detail the effect of load transient response of the BUCK conversion circuit provided in the above embodiment when dealing with load changes, the following is combined with Figure 5 The effect of the buck conversion circuit is explained with an example.
[0089] like Figure 5 As shown in the solid line waveform, in the first clock cycle T1, the first switch signal of the first transistor is at the first level at the rising edge of the first clock signal CLK1, so that the first transistor is turned on. Therefore, the inductor current IL gradually increases. When it increases to a certain level (such as Figure 4 As shown, after the voltage at the inverting input terminal of the PWM comparator is greater than the voltage at the non-inverting input terminal), the PWM signal flips. At this time, the maximum duty cycle MaxD has not been reached, that is, the rising edge of the second clock signal CLK2, the first switch signal generated by the switch control module is the second level, the first transistor is turned off, and then the inductor current IL decreases, until the rising edge of the next cycle of the first clock signal arrives, the first switch signal generated by the switch control module is the first level, the first transistor is turned on, and the inductor current IL rises again. This is repeated. In the fourth clock cycle T4 of the first clock signal, since the first switch signal reaches the maximum duty cycle MaxD, that is, the rising edge of the second clock signal CLK2 arrives, the first switch signal is 0, and PWM is 0, that is, the first transistor is still turned on, then the first switch signal is controlled to remain 0, skipping the minimum off time Minoff corresponding to the rising edge of this cycle T4, so that the first transistor is always turned on, and after being turned off by the PWM controller, until the rising edge of the next cycle T5 of the first clock signal CLK arrives, the first switch signal is controlled to be 0 again, so that the first transistor is turned on again. By entering the direct-through mode in period T4, Vout can only have a small undershoot voltage as the load suddenly increases, and a better response ripple is obtained. Figure 5 As shown by the dotted line, during the period T4 of the first clock signal, Vout will generate a large undershoot voltage due to the sudden increase of the load Iload, resulting in a poor response ripple.
[0090] The embodiment of the present application also provides a chip, including the BUCK conversion circuit of the above-mentioned embodiments provided in the embodiment of the present application, and its implementation principle and technical effect are similar, which will not be repeated here.
[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application 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 with 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 application.
Claims
1. A BUCK conversion circuit, characterized in that: include: A first transistor, a second transistor, an inductor, a PWM signal generating module and a switch control module; The first transistor has a first end connected to an input voltage, a second end connected to a first switching signal, and a third end connected to the first end of the inductor and the third end of the second transistor; The second transistor has a first end connected to the ground and a second end connected to the second switch signal; The inductor has a second end connected to an output end of the BUCK conversion circuit; the output end of the BUCK conversion circuit is used to generate an output voltage; The PWM signal generating module is used to compare the voltage detection value with the current detection value to generate a PWM signal; the voltage detection value is generated according to the feedback voltage and the reference voltage of the output end of the BUCK conversion circuit; the current detection value is related to the current flowing through the inductor; The switch control module is used to generate the first switch signal and the second switch signal according to the PWM signal, the first clock signal and the maximum duty cycle; wherein, for each cycle of the first clock signal, if the duty cycle of the first switch signal in the cycle reaches the maximum duty cycle, the duty cycle of the first switch signal in the cycle is controlled to reach 100% duty cycle.
2. The circuit according to claim 1, characterized in that If the duty cycle of the first switching signal in the period reaches the maximum duty cycle, controlling the duty cycle of the first switching signal in the period to reach 100% duty cycle includes: If the first switch signal is at the first level at the moment corresponding to the maximum duty cycle in the current cycle, the first switch signal is maintained at the first level during the remaining time of the current cycle; the cycle is the moment between two adjacent first edges of the first clock signal; the switch control module is also used to set the first switch signal to the first level at the first edge; when the first switch signal is at the first level, it indicates that the first switch tube is in the on state.
3. The circuit according to claim 2, characterized in that The switch control module includes a first RS trigger, a first sampler and a second sampler; The first sampler is used for sampling the first switch signal at a second edge of a second clock signal; The second clock signal has the same frequency as the first clock signal, and the second edge corresponds to the moment when the maximum duty cycle is reached; The second sampler is used for sampling, at a second edge of a second clock signal, whether the PWM signal is at a second level before the second edge in a current cycle; The set S terminal of the first RS flip-flop is connected to the first clock signal, and the reset R terminal is used to be connected to a target level during the remaining time of the current cycle of the first clock signal when the first switch signal sampled by the first sampler is at the first level and the PWM signal sampled by the second sampler is not at the second level before the second edge in the current cycle, and the target level is used to reset the first RS flip-flop; The R terminal is also used to connect to the PWM signal when the PWM signal sampled by the second sampler is at a second level before the second edge.
4. The circuit according to claim 3, characterized in that The R terminal of the first RS trigger is also used to be connected to the PWM signal when the PWM signal sampled by the second sampler is at the second level before the second edge.
5. The circuit according to claim 3, characterized in that The first sampler includes a first first D flip-flop, the second sampler includes a second first D flip-flop and a second RS flip-flop, and the switch control module also includes a first AND gate, a first OR gate, a second AND gate and a second OR gate; The input D terminal of the first D flip-flop is connected to the first switch signal, the clock CLK terminal is connected to the second clock signal, and the output Q terminal is connected to the first terminal of the first AND gate; The second end of the first AND gate is connected to the second clock signal, and the output end is connected to the first end of the first OR gate; The R terminal of the second RS flip-flop is connected to the first clock signal, the S terminal is connected to the PWM signal, and the Q terminal is connected to the D terminal of the second first D flip-flop; The CLK terminal of the second first D flip-flop is connected to the second clock signal, and the Q terminal is connected to the first terminal of the second OR gate; The second end of the second OR gate is connected to the voltage detection signal, and the output end is connected to the first end of the second AND gate; the voltage detection signal is used to indicate whether the error amplification signal reaches the clamping voltage; The second end of the second AND gate is connected to the PWM signal, and the output end is connected to the second end of the first OR gate; The output terminal of the first OR gate is connected to the R terminal of the first RS flip-flop.
6. The circuit according to claim 5, characterized in that The switch control module further includes a delay unit; The second end of the first AND gate is connected to the second clock signal through the delay unit.
7. The circuit according to claim 3, characterized in that The BUCK conversion circuit also includes a second clock signal generating module; The second clock signal generating module is used to delay the first clock signal and adjust the duty cycle of the delayed first clock signal according to the maximum duty cycle to obtain the second clock signal.
8. The circuit according to any one of claims 1 to 7, characterized in that: The BUCK conversion circuit also includes a capacitor; A first end of the capacitor is connected to the output end of the BUCK conversion circuit, and a second end of the capacitor is grounded.
9. The circuit according to any one of claims 1 to 7, characterized in that: The PWM generation circuit includes an error amplifier, a compensation unit, a voltage-current conversion module, a ramp compensation unit and a PWM comparator; The error amplifier is used to amplify the difference between the first reference voltage and the feedback voltage to generate an error voltage; The feedback voltage is related to the output voltage; The compensation unit is used to compensate the error voltage to obtain a compensated error voltage; The voltage-to-current conversion module is used to convert the compensated error voltage into an error current; The ramp compensation unit is used to generate a ramp according to the first clock signal, and generate the voltage detection value according to the ramp and the error current; The PWM comparator is used to compare the voltage detection value with the current detection value to generate a PWM signal.
10. The circuit according to claim 9, characterized in that The BUCK conversion circuit also includes an oscillation module; The oscillation module is used to generate the first clock signal.
11. A chip, characterized in that: The BUCK conversion circuit comprises the BUCK conversion circuit according to any one of claims 1 to 9.
