A peak current mode DC-DC segmented ramp compensation circuit and method
By using a segmented slope compensation circuit, the problem of second harmonic oscillation in peak current-mode DC-DC converters at high duty cycles is solved, thereby improving system stability and response speed while reducing circuit complexity and cost.
Patent Information
- Application Number
- CN202611639222.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-27
Smart Images

Figure CN123184474A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of DC-DC converter control technology, specifically a peak current-mode DC-DC segmented slope compensation circuit and method. Background Technology
[0002] Peak current-mode controlled DC-DC converters offer faster dynamic response compared to voltage-mode control schemes, but they suffer from inherent stability defects: when the converter's duty cycle exceeds 0.5, subharmonic oscillations occur, preventing the converter from performing its voltage regulation function correctly. To suppress these subharmonic oscillations, the industry typically employs slope compensation technology to correct the peak current-mode control loop. The core principle is to superimpose a time-varying slope signal onto the peak current reference, allowing the inductor current disturbance to converge cycle by cycle. In conventional peak current control logic, the power transistor is turned off when the inductor current rises to the reference current. Under conditions where the duty cycle is greater than 0.5, the inductor current disturbance difference increases continuously after every two switching cycles, eventually triggering subharmonic oscillations. However, by superimposing a slope compensation component onto the reference current, the originally amplified current disturbance difference gradually converges to zero, ultimately ensuring that the disturbed inductor current matches the ideal inductor current, achieving stable system operation. Based on the convergence principle of slope compensation, the attenuation coefficient of the disturbance current can be derived. To ensure that the attenuation coefficient is always less than 1 and the disturbance continues to converge, the slope of the compensation slope needs to meet the corresponding mathematical conditions. Combined with the physical parameters of the buck DC-DC converter, the compensation slope parameters required for practical applications can be calculated.
[0003] Conventional fixed-slope slope compensation schemes have obvious limitations. They are prone to overcompensation, which in turn affects the load capacity and transient response speed of DC-DC converters. Specifically, the larger the duty cycle, the smaller the peak current allowed by the circuit, ultimately reducing the converter's operating efficiency. On the other hand, if the compensation slope is insufficient, subharmonic oscillations will still occur under high duty cycle conditions, and the system stability cannot be guaranteed.
[0004] To address the shortcomings of fixed slope compensation, the industry has successively proposed improved schemes such as adaptive slope compensation and secondary slope compensation. Adaptive slope compensation can adjust the compensation slope according to operating conditions, offering high control accuracy. However, both adaptive and secondary slope compensation schemes generally suffer from large circuit area, high design difficulty, complex control loop structures, long design cycles, and high overall application costs. Secondary slope compensation schemes feature small compensation amounts in the early stages and large compensation amounts in the later stages. They maintain high current loop sensitivity in the early stages of compensation and gradually enhance system stability in the later stages, offering some improvement in transient response speed. However, this scheme still carries the risk of overcompensation, and its secondary waveform generation circuit structure is complex, requiring a large chip area.
[0005] Therefore, in view of the above situation, there is an urgent need to develop a peak current-mode DC-DC segmented slope compensation circuit and method to overcome the shortcomings in current practical applications. Summary of the Invention
[0006] The purpose of this invention is to provide a peak current-mode DC-DC segmented slope compensation circuit and method to solve the problems mentioned in the background art.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A peak current-mode DC-DC segmented slope compensation circuit includes a current mirror module, a three-way comparator module, a negative feedback resistor network, a common-source cascode current mirror module, and a switch control module. The current mirror module is electrically connected to the three-way comparator module and is used to provide multiple bias currents to the three-way comparator module. The input of the three-way comparator module is connected to the ramp voltage signal and the three-level reference voltage. As the amplitude of the ramp voltage signal gradually increases, the corresponding comparison branches are turned on in sequence, so that the slope of the compensation ramp current increases in segments. The negative feedback resistor network is connected to the output of the three comparator module and is used to improve the linearity of the compensation ramp current through the source negative feedback resistor. The common-source common-gate current mirror module is connected to the output side of the negative feedback resistor network and is used to mirror the original ramp current and the sampled ramp current. The switch control module is connected to the common control gate of the common source cascode current mirror module and is used to control the on and off of the sampling ramp current. The compensation slope current is obtained by subtracting the original slope current from the sampled slope current.
[0008] As a further aspect of the present invention: the current mirror module includes a first P-type current mirror tube, a second P-type tube, a third P-type current mirror tube, a fourth P-type current mirror tube, and a fifth P-type current mirror tube. The drain and gate of the first P-type current mirror are shorted to form a diode connection structure. The sources of the first, third, fourth, and fifth P-type current mirrors are connected to the power supply terminal, and their gates are connected to each other to form a multi-output current mirror structure. The drain of the second P-type current mirror is connected to a resistor voltage divider network. The current replicated by the current mirror passes through the resistor to generate three reference voltages: VREF1, VREF2, and VREF3. The drains of the third, fourth, and fifth P-type current mirrors are respectively connected to the three bias input terminals of the three comparator modules.
[0009] As a further aspect of the present invention: the three-way comparator module includes a first differential pair, a second differential pair, a third differential pair, and a first N-type transistor; The non-inverting input terminals of the first differential pair, the second differential pair, and the third differential pair are all connected to the ramp voltage signal, and the inverting input terminals are respectively connected to the first reference voltage, the second reference voltage, and the third reference voltage. The sources of the first differential pair, the second differential pair, and the third differential pair are respectively connected to the three bias output terminals of the current mirror module; The drains of the first differential pair, the second differential pair, and the third differential pair are all connected to the drain of the first N-type transistor. The source of the first N-type transistor is grounded, and its gate is connected to a fixed bias voltage, serving as the common active load for the three comparators.
[0010] As a further aspect of the present invention: the negative feedback resistor network includes a first N-type current mirror, a second N-type current mirror, a third N-type current mirror, and a first resistor, a second resistor, and a third resistor; The gates of the first N-type current mirror, the second N-type current mirror, and the third N-type current mirror are interconnected, and the drain and gate of the first N-type current mirror are shorted to form a diode connection structure. The source of the first N-type current mirror is connected in series with a first resistor and then grounded; the source of the second N-type current mirror is connected in series with a second resistor and then grounded; and the source of the third N-type current mirror is connected in series with a third resistor and then grounded. The drain of the first N-type current mirror is connected to the output of the three-way comparator module, the drain of the second N-type current mirror is connected to the input of the common source cascode current mirror module, and the drain of the third N-type current mirror is connected to the ISP output port to output the original ramp current.
[0011] As a further aspect of the present invention: the common source cascode current mirror module includes a twelfth P-type transistor, a thirteenth P-type transistor, a fourteenth P-type transistor, and a fifteenth P-type transistor, forming two common source cascode current mirrors; The gates of the twelfth P-type transistor and the fourteenth P-type transistor are connected to each other, and the gates of the thirteenth P-type transistor and the fifteenth P-type transistor are connected to each other. The source of the twelfth P-type transistor is connected to the power supply terminal, and the drain is connected to the source of the thirteenth P-type transistor. The drain of the thirteenth P-type transistor is connected to the output terminal of the negative feedback resistor network, forming the input branch of the first common-source common-gate current mirror, and the corresponding current is the original ramp current. The source of the fourteenth P-type transistor is connected to the power supply terminal, and the drain is connected to the source of the fifteenth P-type transistor. The drain of the fifteenth P-type transistor outputs a sampling ramp current. The switch control module includes a sixteenth P-type transistor. The source of the sixteenth P-type transistor is connected to the power supply terminal, and the drain is connected to the common gate of the twelfth P-type transistor and the fourteenth P-type transistor. The gate is connected to a high-side pulse width modulation control signal to control the conduction and cutoff of the sampling ramp current.
[0012] A segmented slope compensation method for peak current-mode DC-DC converters includes the following steps: S1. Generate a ramp voltage signal synchronized with the switching frequency of the DC-DC converter; S2. The ramp voltage signal is compared with the three-level reference voltage. As the amplitude of the ramp voltage signal gradually increases, the corresponding comparison branches are turned on in sequence to generate a current with a segmented increasing slope. S3. Improve the linearity of the current through a negative feedback resistor network; S4. The current is mirrored by the common source cascode current mirror module to generate the original ramp current and the sampled ramp current. S5. Control the on and off of the sampling ramp current through a switch control signal; S6. Subtract the original slope current from the sampled slope current to obtain the compensated slope current.
[0013] As a further aspect of the present invention: In step S2, as the amplitude of the ramp voltage signal gradually increases, the corresponding comparison branches are sequentially activated, causing the slope of the compensation ramp current to increase segmentally, specifically including: When the amplitude of the ramp voltage signal is less than the first reference voltage, only the base current branch is turned on, and the compensation ramp current increases linearly with the first slope, corresponding to the low duty cycle operating range. When the amplitude of the ramp voltage signal exceeds the first reference voltage, the first differential pair is turned on, and the slope of the compensation ramp current increases to the second slope, corresponding to the medium duty cycle operating range. When the amplitude of the ramp voltage signal exceeds the second reference voltage and the third reference voltage in sequence, the second differential pair and the third differential pair are turned on in sequence, and the slope of the compensation ramp current increases to the third slope, corresponding to the high duty cycle operating range.
[0014] As a further aspect of the present invention: in step S1, when the high-side pulse width modulation control signal is maintained at a high level, the switch control module is turned off, the common source cascode current mirror module works normally, and the ramp voltage signal rises from zero potential.
[0015] As a further aspect of the present invention: In step S5, when the pulse width modulation signal changes from a high level to a low level, the switch control module is turned on, pulls up the gate voltage of the common source cascode current mirror module, and forcibly turns off the sampling ramp current.
[0016] As a further aspect of the present invention: the ramp voltage signal is a sawtooth wave signal, which starts from zero potential and rises linearly at a constant rate to a preset peak amplitude in each switching cycle; The three-level reference voltage includes a first reference voltage, a second reference voltage, and a third reference voltage, with the amplitudes of the three increasing sequentially. The amplitude difference between the second reference voltage and the third reference voltage is less than the amplitude difference between the first reference voltage and the second reference voltage.
[0017] Compared with the prior art, the beneficial effects of the present invention are: This invention uses a segmented slope compensation method to suppress subharmonic oscillations in peak current DC-DC converters. The converter's duty cycle is divided into multiple intervals. The larger the duty cycle of the converter, the larger the slope of the compensation slope in the corresponding interval. Compared with traditional fixed slope compensation, this invention can effectively improve the system's load-carrying capacity and transient response speed.
[0018] This invention uses three comparators to compare a ramp voltage signal rising at a certain slope with reference voltages of different levels, so that the current generated by each branch is gradually superimposed to form a compensating ramp current. When the ramp voltage amplitude is small, it corresponds to the first stage of low-slope compensation. When the ramp voltage is close to the first reference voltage, it corresponds to the second stage of medium-slope compensation. Since the amplitudes of the second and third reference voltages are relatively close, when the ramp voltage continues to increase, the output currents of the two comparators are superimposed, corresponding to the third stage of high-slope compensation.
[0019] This compensation method maintains a small compensation slope under low duty cycle conditions to ensure the control sensitivity of the current loop, and gradually increases the compensation slope under high duty cycle conditions to effectively suppress subharmonic oscillations; at the same time, the linearity of the compensation slope current is improved by setting a resistor network in the circuit, thereby improving the compensation accuracy.
[0020] While achieving segmented compensation and ensuring control accuracy, the overall circuit effectively controls circuit complexity, chip area, and design cost, while balancing system control accuracy, response speed, and operational stability. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of the peak current mode control logic in an embodiment of the present invention.
[0022] Figure 2 This is a schematic diagram of the peak current mode slope compensation principle in an embodiment of the present invention.
[0023] Figure 3 This is a schematic diagram of the segmented slope compensation circuit in an embodiment of the present invention.
[0024] Figure 4The figure shows the simulation results of the voltage and current of key nodes in the embodiment of the present invention. Detailed Implementation
[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0026] The specific implementation of the present invention will be described in detail below with reference to specific embodiments.
[0027] Please see Figures 1-4 The present invention provides a peak current-mode DC-DC segmented slope compensation circuit, including a current mirror module, a three-way comparator module, a negative feedback resistor network, a common source cascode current mirror module, and a switch control module.
[0028] Among them, DC-DC peak current mode control has a much faster dynamic response speed than voltage mode control, but if the duty cycle is greater than 0.5, subharmonic oscillations will occur, causing the circuit to fail to perform its function. Figure 1 As shown, a slope compensation method is proposed to correct this, such as... Figure 2 As shown, where I C The reference current we set, I L and I L ’ Let m1 be the ideal inductor current and m2 be the inductor current with disturbance, respectively. m1 is the original decreasing slope of the inductor current, and m2 is the increasing slope. a Let be the slope of the ramp current, D be the original duty cycle, d be the disturbance duty cycle, and ΔI be the slope of the ramp current d. L , △I L ’ It is the difference between the disturbed inductor current and the ideal current, T. S If it is a clock cycle, then DT S This refers to the ideal turn-on time of the power transistor, dT. S This represents the turn-on time of the power transistor under disturbance conditions.
[0029] The current mirror module includes a first P-type current mirror transistor MP1, a second P-type current mirror transistor MP2, a third P-type current mirror transistor MP3, a fourth P-type current mirror transistor MP4, and a fifth P-type current mirror transistor MP5. The drain and gate of MP1 are shorted to form a diode connection structure. The sources of MP1, MP3, MP4, and MP5 are all connected to the power supply terminal VDD. The gates of MP1, MP3, MP4, and MP5 are interconnected to form a multi-output current mirror structure, which is used to provide bias current for the three differential pairs. The sources of MP1 and MP2 are all connected to the power supply terminal VDD. The gates of MP1 and MP2 are interconnected to form a current mirror structure, which is used to provide reference current for the resistor divider network.
[0030] The three-way comparator module is composed of a first differential pair, a second differential pair, a third differential pair, and a first N-type transistor MN1; wherein the first differential pair includes a sixth P-type transistor MP6 and a seventh P-type transistor MP7, the second differential pair includes an eighth P-type transistor MP8 and a ninth P-type transistor MP9, and the third differential pair includes a tenth P-type transistor MP10 and an eleventh P-type transistor MP11.
[0031] The non-inverting inputs of the three differential pairs (gates of MP6, MP8, and MP10) are all connected to the ramp voltage signal VRAMP. The inverting input of the first differential pair (gate of MP7) is connected to the first reference voltage VREF1, the inverting input of the second differential pair (gate of MP9) is connected to the second reference voltage VREF2, and the inverting input of the third differential pair (gate of MP11) is connected to the third reference voltage VREF3. The sources of the three differential pairs are connected to the drains of MP3, MP4, and MP5 respectively, with bias current provided by the current mirror module. The drains of the three differential pairs are all connected to the drain of MN1, the source of MN1 is grounded, and the gate of MN1 is connected to a fixed bias, serving as the common tail current transistor of the three comparators. The ramp voltage signal VRAMP is compared with the three reference voltages sequentially by the three comparators. As the amplitude of VRAMP increases, the three comparators are turned on sequentially, and the corresponding branch currents are gradually superimposed, realizing the segmented increase of the ramp slope.
[0032] The negative feedback resistor network includes a first N-type current mirror MN2, a second N-type current mirror MN3, a third N-type current mirror MN4, and a first resistor R1, a second resistor R2, and a third resistor R3. The gates of MN2, MN3, and MN4 are interconnected, and the drain of MN2 is shorted to its gate to form a diode connection structure. The source of MN2 is connected to ground in series with the first resistor R1, the source of MN3 is connected to ground in series with the second resistor R2, and the source of MN4 is connected to ground in series with the third resistor R3. The drain of MN2 is connected to the output of the three comparators. R1 to R3 are source negative feedback resistors, which utilize the linear degradation characteristics of resistors to improve the linearity of the current in each branch and enhance the linearity accuracy of the slope compensation current.
[0033] The common-source cascode current mirror module includes a twelfth P-type transistor MP12, a thirteenth P-type transistor MP13, a fourteenth P-type transistor MP14, and a fifteenth P-type transistor MP15, forming two common-source cascode current mirrors. The gates of MP12 and MP14 are interconnected, and the gates of MP13 and MP15 are interconnected. The source of MP12 is connected to the power supply terminal TVDD, the drain of MP12 is connected to the source of MP13, and the drain of MP13 is connected to the drain of MN3, forming the input branch of the first common-source cascode current mirror, corresponding to the original ramp current ISP. The source of MP14 is connected to the power supply terminal TVDD, the drain of MP14 is connected to the source of MP15, and the drain of MP15 outputs the sampling ramp current ISP_P. The common-source cascode structure can improve the current mirror accuracy, reduce the influence of the MOS transistor channel length modulation effect, and ensure the consistency of the ratio of ISP to ISP_P.
[0034] The switching control module includes a sixteenth P-type transistor, MP16. The source of MP16 is connected to the power supply terminal TVDD, and the drain of MP16 is connected to the common gate of MP12 and MP14. The gate of MP16 is connected to the high-side pulse width modulation control signal PWMH. MP16 acts as a switching transistor, and its on / off state is controlled by the control signal PWMH, thereby controlling the gate voltage of the common-source common-gate current mirror and realizing the on / off control of the sampling ramp current ISP_P.
[0035] In one embodiment of the present invention, the reference voltage and input signal are set as follows: The bias current IBN (2.5uA) is externally input and generates a first reference voltage VREF1, a second reference voltage VREF2, and a third reference voltage VREF3 through a current mirror and a resistor voltage divider network. The first reference voltage VREF1 is 520mV, the second reference voltage VREF2 is 780mV, and the third reference voltage VREF3 is 840mV. The resistors R4, R5, R6, and R7 in the voltage divider network are 275kΩ, 25kΩ, 100kΩ, and 200kΩ.
[0036] The ramp voltage signal VRAMP is a sawtooth wave signal synchronized with the switching frequency of the DC-DC converter. During each switching cycle, VRAMP starts from zero potential just before the lower power transistor is about to turn off and rises linearly at a constant rate to a preset peak amplitude. The peak amplitude of the VRAMP signal is 893mV, and the rising slope at a switching frequency of 500kHz is approximately 498kV / s.
[0037] The oscillator clock signal OSC is used to synchronize the entire DC-DC switching cycle, and its rising edge is used to trigger the conduction of the upper power transistor. When the pulse width modulation signal PWM is high, the upper power transistor is turned off, and when OSC has a rising edge, PWM generates a falling edge. The high-side pulse width modulation control signal PWMH is synchronized with the pulse width modulation signal PWM. When OSC and PWM are normally input to the logic circuit, PWMH is consistent with the PWM signal.
[0038] MN2, MN3 and MN4 have the same width-to-length ratio of 5:2, and the resistance value of the source connected to the three is the same, which is 50kΩ. Therefore, the mirror current output by MN4 increases proportionally with the ISP.
[0039] In one embodiment of the present invention, the segmented slope compensation method is implemented based on the above-described circuit, and the specific working process is as follows: 1. Initial conduction phase When the high-side pulse width modulation control signal PWMH remains high, MP2 and MP16 are both in the off state, the gate voltages of MP12 and MP14 are unaffected, the cascode current mirror works normally, and the sampling ramp current ISP_P can correctly replicate the waveform of the original ramp current ISP. At this time, the ramp voltage signal VRAMP rises continuously from zero potential, and the circuit enters the ramp generation stage.
[0040] 2. First Slope Compensation Stage When the VRAMP amplitude is less than the first reference voltage VREF1, only the base current branch is conducting, and the original ramp current ISP flowing through MN3 increases linearly with VRAMP at the first slope. This stage corresponds to the low duty cycle operating range, where the compensation slope is small, maintaining high current loop sensitivity and avoiding overcompensation that could lead to a decrease in DC-DC load capacity and response speed.
[0041] 3. Second Slope Compensation Stage When the VRAMP amplitude gradually increases to near and exceed the first reference voltage VREF1, the first differential pair is turned on, and the corresponding branch current is superimposed on the output branch. The slope of the original ramp current ISP increases to the second slope. This stage corresponds to the medium duty cycle operating range. The compensation slope increases synchronously with the increase of the duty cycle, ensuring system stability while taking into account transient response speed.
[0042] 4. Third Slope Compensation Stage Since the amplitudes of the second reference voltage VREF2 and the third reference voltage VREF3 are relatively close, when VRAMP continues to increase and exceeds both the second and third reference voltages VREF2 and VREF3, the second and third differential pairs are turned on sequentially. The currents output by the two comparators are synchronously superimposed, and the slope of the original ramp current ISP further increases to the third slope. This stage corresponds to the high duty cycle operating range, and the compensation slope is significantly improved, which can effectively suppress subharmonic oscillations when the duty cycle is greater than 0.5, ensuring stable system operation.
[0043] During the generation of the three slopes, the gradual increase of the three reference voltages and the negative feedback of the resistor network work together to improve the linearity of the compensation slope current and reduce the slope error caused by the nonlinearity of the MOSFET.
[0044] 5. Sampling shutdown phase When the pulse width modulation signal PWM jumps from high level to low level, the gate voltages of MP12 and MP14 are pulled up, and the sampling ramp current ISP_P is forcibly pulled down and turned off.
[0045] Finally, the difference between the original ramp current ISP and the sampled ramp current ISP_P is calculated to obtain the actual output ramp compensation current. This compensation current exhibits a three-segment slope increase characteristic as the duty cycle increases, achieving a segmented compensation effect where the higher the duty cycle, the larger the compensation ramp slope. This maintains high control accuracy at low duty cycles and ensures system stability at high duty cycles, balancing the load-carrying capacity, response speed, and operational stability of DC-DC converters.
[0046] like Figure 4 The figure shows the simulation results of voltage and current at key nodes with a duty cycle of 0.8. The horizontal axis represents time, and the vertical axis represents current or voltage amplitude. The waveforms in the figure include the original ramp current ISP, the sampled ramp current ISP_P, the final output compensation current ISP-ISP_P, and the control signal PWMH. As can be seen from the simulation waveforms, the slope of ISP can be roughly divided into three segments. ISP_P is sampled by PWMH and follows the waveform of ISP when PWMH is high. The difference between the two waveforms yields the actual required ramp compensation current, verifying the effect of segmented ramp compensation.
[0047] It should be noted that, in this invention, although the specification describes the embodiments, not every embodiment contains only one independent technical solution. This way of describing the specification is only for clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A peak current-mode DC-DC segmented slope compensation circuit, characterized in that, It includes a current mirror module, a three-way comparator module, a negative feedback resistor network, a common-source cascode current mirror module, and a switch control module; The current mirror module is electrically connected to the three-way comparator module and is used to provide multiple bias currents to the three-way comparator module. The input of the three-way comparator module is connected to the ramp voltage signal and the three-level reference voltage. As the amplitude of the ramp voltage signal gradually increases, the corresponding comparison branches are turned on in sequence, so that the slope of the compensation ramp current increases in segments. The negative feedback resistor network is connected to the output of the three comparator module and is used to improve the linearity of the compensation ramp current through the source negative feedback resistor. The common-source common-gate current mirror module is connected to the output side of the negative feedback resistor network and is used to mirror the original ramp current and the sampled ramp current. The switch control module is connected to the common control gate of the common source cascode current mirror module and is used to control the on and off of the sampling ramp current. The compensation slope current is obtained by subtracting the original slope current from the sampled slope current.
2. The peak current-mode DC-DC segmented slope compensation circuit according to claim 1, characterized in that, The current mirror module includes a first P-type current mirror tube, a second P-type current mirror tube, a third P-type current mirror tube, a fourth P-type current mirror tube, and a fifth P-type current mirror tube. The drain and gate of the first P-type current mirror are shorted to form a diode connection structure. The sources of the first, second, third, fourth, and fifth P-type current mirrors are connected to the power supply terminal, and their gates are connected to each other to form a multi-output current mirror structure. The drain of the second P-type current mirror is connected to a resistor voltage divider network. The current replicated by the current mirror passes through the resistor to generate three reference voltages: VREF1, VREF2, and VREF3. The drains of the third, fourth, and fifth P-type current mirrors are respectively connected to the three bias input terminals of the three comparator modules.
3. The peak current-mode DC-DC segmented slope compensation circuit according to claim 1, characterized in that, The three-way comparator module includes a first differential pair, a second differential pair, a third differential pair, and a first N-type transistor; The non-inverting input terminals of the first differential pair, the second differential pair, and the third differential pair are all connected to the ramp voltage signal, and the inverting input terminals are respectively connected to the first reference voltage, the second reference voltage, and the third reference voltage. The sources of the first differential pair, the second differential pair, and the third differential pair are respectively connected to the three bias output terminals of the current mirror module; The drains of the first differential pair, the second differential pair, and the third differential pair are all connected to the drain of the first N-type transistor. The source of the first N-type transistor is grounded, and its gate is connected to a fixed bias voltage, serving as the common active load for the three comparators.
4. The peak current-mode DC-DC segmented slope compensation circuit according to claim 1, characterized in that, The negative feedback resistor network includes a first N-type current mirror, a second N-type current mirror, a third N-type current mirror, and a first resistor, a second resistor, and a third resistor; The gates of the first N-type current mirror, the second N-type current mirror, and the third N-type current mirror are interconnected, and the drain and gate of the first N-type current mirror are shorted to form a diode connection structure. The source of the first N-type current mirror is connected in series with a first resistor and then grounded; the source of the second N-type current mirror is connected in series with a second resistor and then grounded; and the source of the third N-type current mirror is connected in series with a third resistor and then grounded. The drain of the first N-type current mirror is connected to the output of the three-way comparator module, the drain of the second N-type current mirror is connected to the input of the common source cascode current mirror module, and the drain of the third N-type current mirror is connected to the ISP output port to output the original ramp current.
5. The peak current-mode DC-DC segmented slope compensation circuit according to claim 1, characterized in that, The common-source cascode current mirror module includes a twelfth P-type transistor, a thirteenth P-type transistor, a fourteenth P-type transistor, and a fifteenth P-type transistor, forming two common-source cascode current mirrors; The gates of the twelfth P-type transistor and the fourteenth P-type transistor are connected to each other, and the gates of the thirteenth P-type transistor and the fifteenth P-type transistor are connected to each other. The source of the twelfth P-type transistor is connected to the power supply terminal, and the drain is connected to the source of the thirteenth P-type transistor. The drain of the thirteenth P-type transistor is connected to the output terminal of the negative feedback resistor network, forming the input branch of the first common-source common-gate current mirror, and the corresponding current is the original ramp current. The source of the fourteenth P-type transistor is connected to the power supply terminal, and the drain is connected to the source of the fifteenth P-type transistor. The drain of the fifteenth P-type transistor outputs a sampling ramp current. The switch control module includes a sixteenth P-type transistor. The source of the sixteenth P-type transistor is connected to the power supply terminal, and the drain is connected to the common gate of the twelfth P-type transistor and the fourteenth P-type transistor. The gate is connected to a high-side pulse width modulation control signal to control the conduction and cutoff of the sampling ramp current.
6. A segmented slope compensation method for peak current-mode DC-DC converters, characterized in that, Includes the following steps: S1. Generate a ramp voltage signal synchronized with the switching frequency of the DC-DC converter; S2. The ramp voltage signal is compared with the three-level reference voltage. As the amplitude of the ramp voltage signal gradually increases, the corresponding comparison branches are turned on in sequence to generate a current with a segmented increasing slope. S3. Improve the linearity of the current through a negative feedback resistor network; S4. The current is mirrored by the common source cascode current mirror module to generate the original ramp current and the sampled ramp current. S5. Control the on and off of the sampling ramp current through a switch control signal; S6. Subtract the original slope current from the sampled slope current to obtain the compensated slope current.
7. The peak current-mode DC-DC segmented slope compensation method according to claim 6, characterized in that, In step S2, as the amplitude of the ramp voltage signal gradually increases, the corresponding comparison branches are sequentially activated, causing the slope of the compensation ramp current to increase piecewise. Specifically, this includes: When the amplitude of the ramp voltage signal is less than the first reference voltage, only the base current branch is turned on, and the compensation ramp current increases linearly with the first slope, corresponding to the low duty cycle operating range. When the amplitude of the ramp voltage signal exceeds the first reference voltage, the first differential pair is turned on, and the slope of the compensation ramp current increases to the second slope, corresponding to the medium duty cycle operating range. When the amplitude of the ramp voltage signal exceeds the second reference voltage and the third reference voltage in sequence, the second differential pair and the third differential pair are turned on in sequence, and the slope of the compensation ramp current increases to the third slope, corresponding to the high duty cycle operating range.
8. The peak current-mode DC-DC segmented slope compensation method according to claim 6, characterized in that, In step S1, when the high-side pulse width modulation control signal remains at a high level, the switch control module is turned off, the common source cascode current mirror module works normally, and the ramp voltage signal rises from zero potential.
9. The peak current-mode DC-DC segmented slope compensation method according to claim 6, characterized in that, In step S5, when the pulse width modulation signal changes from high level to low level, the switch control module is turned on, pulls up the gate voltage of the common source cascode current mirror module, and forcibly turns off the sampling ramp current.
10. The peak current-mode DC-DC segmented slope compensation method according to claim 6, characterized in that, The ramp voltage signal is a sawtooth wave signal that starts from zero potential and rises linearly to a preset peak amplitude at a constant rate in each switching cycle. The three-level reference voltage includes a first reference voltage, a second reference voltage, and a third reference voltage, with the amplitudes of the three increasing sequentially. The amplitude difference between the second reference voltage and the third reference voltage is less than the amplitude difference between the first reference voltage and the second reference voltage.
