Patent ID: 7560917

Claim:
A voltage regulator comprising: an error amplifier for generating a first signal related to an output voltage of the voltage regulator; a current sense circuit for generating a second signal related to an inductor current of the voltage regulator; a PWM comparator for generating a PWM signal in response to the first and second signals to regulate the output voltage; a ramp injection circuit for supplying a ramp signal, the ramp signal being proportional to a product of the output voltage and an on-time of the PWM signal; an offset injection circuit for supplying an offset signal; and a summing circuit having inputs coupled to the current sense circuit, the ramp injection circuit and the offset injection circuit, and an output coupled to the PWM comparator, the offset signal being subtracted from the ramp signal and applied to the second signal to modify the PWM signal, whereby an offset of the output voltage is substantially eliminated.