Turning back to FIG. 4. A comparator 12 generates the signal for resetting the latch circuit 5 based on the inductor signal IL representing an inductor current, the control signal 1cm, generated by the feedback ampli?er 1, a ramp signal Ramp3 generated by the ramp signal generating circuit 3, and a ramp signal Ramp11 generated by the ramp signal
generating circuit 11. Specifically, the comparator 12 gen erates a reset pulse When the total of the current signal IL, the ramp signal Ramp3, and the ramp signal Ramp 11 becomes larger than the control signal k