A switching power supply controller includes a comparator to compare a
feedback signal to a first limit and a second limit, one of which
includes a ramp. Limit generators may be used to generate limit signals
in response to power supply signals, control signals, and/or output
signals. An error amplifier may be used to generate the feedback signal
in response to an output signal and an input control signal. A switching
power supply may alternatively include an oscillator that shifts the
switching frequency in response to the input control signal.