A DC-DC converter has switching means which generates a continuous
switching voltage having a specified period from an input voltage and
outputs the generated switching voltage, output voltage generating means
which receives the switching voltage at an inductor and generates an
output voltage obtained by rectifying and smoothing a voltage generated
in the inductor, lamp signal generating means which generates a lamp
signal and outputs the generated lamp signal, and control means which
performs an arithmetic operation using a current signal relative to a
current flowing in the inductor, an error signal relative to the output
voltage, and the lamp signal to generate a control signal for controlling
the operation of the switching means and outputs the generated control
signal to the switching means. The lamp signal generating means includes
first signal generating means for generating a first output signal based
on a frequency divided signal having first and second periods obtained by
dividing the time of a clock signal having the specified period and
second signal generating means for generating a second output signal
having a phase 180 degrees different from the phase of the first output
signal based on the frequency divided signal, generates the lamp signal
which rises after being held at a constant value for a specified time
period in each of the first and second periods, and outputs the generated
lamp signal.