A DC-DC converter for converting an input DC voltage to an output DC
voltage has a switch element which is turned ON/OFF by a drive signal, a
reference voltage source for outputting a first reference voltage when
the switch element is ON or outputting a second reference voltage when
the switch element is OFF, a capacitive element having one terminal
connected to the reference voltage source, a charge/discharge circuit for
discharging the capacitive element when the switch element is ON and
charging the capacitive element when the switch element is OFF, a switch
circuit for short-circuiting the capacitive element when the switch
element is turned ON and OFF, and a comparison circuit for comparing the
output DC voltage or a voltage at which the output DC voltage is detected
with a voltage at the other terminal of the capacitive element and
generating the drive signal.