A switching regulator circuit with improved slope compensation for
providing a regulated voltage to a load. The regulator circuit includes a
power source and a switch circuit configured to control the coupling of
the power source to the load. The operation of the switch circuit is
controlled by a control signal generated by a control circuit. A feedback
circuit is provided for generating a feedback signal indicative of the
regulated voltage provided by the switching regulator circuit to the
load. A circuit is provided to generate a sensed signal indicative of the
current supplied by the power source. The regulator circuit further
includes a timing signal generator for generating a timing signal, a ramp
signal generator for generating a ramp signal, and a current source
controlled by the ramp signal for generating a compensation signal
indicative of the ramp signal. The control circuit generates the control
signal based on the compensation signal, the timing signal, the sensed
signal and the feedback signal.