Patent ID: 6992517

Claim:
A pulse width modulation regulator, comprising: a charge pump; a comparator circuit coupled to the charge pump, the comparator circuit for providing an output voltage; and a latch circuit coupled to the charge pump for ensuring that the charge pump is adjusted such that an undershoot condition and an overshoot condition of the output voltage is minimized, wherein the latch circuit comprises: a first SR latch, a second SR latch, wherein an input of the second SR latch comprises the output voltage, a first gate wherein an input of the first gate comprises an output from the second SR latch and an input signal, wherein an output of the first gate comprises a first signal to the charge pump, wherein the first signal prevents the overshoot condition, and a second gate, wherein an input of the second gate comprises an output from the first SR latch and the input signal, wherein an output of the second gate comprises a second signal to the charge pump wherein the second signal prevents the undershoot condition.