Patent ID: 7800352

Claim:
A modulation controller for a switching regulator having an output voltage (V OUT ) and providing a load current, comprising: an error amplifier which receives a reference voltage and a feedback voltage proportional with the output voltage (V OUT ) at its inputs and provides a V COMP signal at its output; at least one comparator, a first input of the comparator coupled to an output of the error amplifier and a second input coupled to receive a ramp signal; a V COMP shift cancellation circuit generating a V COMPADJ signal based on the V COMP signal and on a difference in duty cycle (ΔD) between a duty cycle while the switching regulator being controlled is in discontinuous conduction mode (DCM) and the duty cycle while the switching regulator being controlled is in continuous-conduction-mode (CCM); and wherein the V COMP shift cancellation circuit reduces a variation in average V COMP due to load current changes.