A power supply switching regulator including a common terminal; an input
terminal for supplying a direct current input; an output terminal; a
recirculating diode having a first terminal connected to the common
terminal; an inductor having a first terminal connected to a second
terminal of the recirculation diode and a second terminal connected to
the output terminal; a capacitor having a first terminal connected to the
output terminal and a second terminal connected to the common terminal; a
switch connected between the input terminal and the first terminal of the
inductor, the switch operable for switching between an ON state in which
the direct current input is coupled to the inductor, and an OFF state in
which the direct current input is isolated from the inductor; and a
controller coupled to the switch and operable for controlling the amount
of time the switch is in the ON state and the OFF state such that the
duration of time the switch is in the ON state is inversely proportional
to the difference between the voltage at the input terminal and the
voltage at the output terminal.