A current mode PWM buck regulator is provided. The regulator includes a
top-side transistor, a bottom-side transistor, an inductor, a
sample-and-hold circuit, a ramp generator, a PWM comparator, an error
amplifier, and a current sense amplifier. A current through the low-side
transistor is sensed by the current sense amplifier. Also, a current
sense voltage provided by the current sense amplifier is sampled when the
low-side transistor is on, and held when the low-side transistor is off.
The ramp generator is arranged to generate a voltage ramp that emulates
the upslope of the inductor current. Additionally, the sampled low-side
transistor current is combined with the voltage ramp. The PWM comparator
is arranged to provide a PWM signal by comparing the voltage ramp to a
comparison signal provided by the error amplifier.