Patent ID: 8080987

Claim:
A modulator circuit for a switching regulator, wherein the switching regulator provides a compensation voltage indicative of output voltage error, wherein said modulator circuit comprises: a first ramp generator which generates a leading-edge ramp voltage which ramps from a first voltage to a second voltage; a second ramp generator which generates a trailing-edge ramp voltage which ramps from a third voltage; a comparator circuit, coupled to said first and second ramp generators, which asserts a pulse modulation signal and causes said second ramp generator to initiate ramping of said trailing-edge ramp voltage when said leading-edge ramp voltage ramps to the compensation voltage, and which negates said pulse modulation signal and resets said trailing-edge ramp voltage when said trailing-edge ramp voltage ramps to the compensation voltage; and a reset circuit, coupled to said first ramp generator, which prevents said leading-edge ramp voltage from resetting back to said first voltage if said leading-edge ramp voltage has not reached the compensation voltage while ramping and clamps said leading-edge ramp voltage at said second voltage until said pulse modulation signal is asserted again.