The invention provides a programmable slope compensation circuit applied to a PWM (
Pulse Width Modulation) converter. The programmable slope compensation circuit specifically comprises a
PWM converter U in a
current mode; the device comprises a frequency
resistor R1, a frequency
resistor R4, a frequency
capacitor C2, a slow charging and quick discharging circuit, a compensation depth circuit, a first output
signal end U1 and a second output
signal end U2, and the compensation depth circuit is composed of a first-stage attenuation network and a second-stage attenuation network. According to the programmable slope compensation circuit applied to the
PWM converter, the compensation function can be achieved under various working conditions, the stability of the converter during working is improved, and when the converter works at a
light load or a small duty ratio, due to the fact that the amplitude of a sampled current
signal is low or the width is narrow, the stability of the converter is improved. Excessive
noise picked up at a current sampling or
voltage feedback input port is particularly prominent, the
noise easily causes irregular pulse width
jitter, and the
jitter also causes
instability of a
system. The slope compensation of one depth is used as a bias superposition signal, so that
jitter can be effectively suppressed, and meanwhile, the duty ratio precision of output PWM is not influenced.