A DC/DC converter for converting an input voltage to an output voltage
comprises a switch, an inductor, two voltage dividers, a capacitor, and a
controller. The switch coupled to the input voltage. The inductor having
a parasitic direct current resistance is used for coupling the switch to
an output node of the DC/DC converter so as to generate the output
voltage at the output node. The first voltage divider is coupled to the
output node for generating a divided voltage of the output voltage. The
second voltage divider is coupled to the switch and ground. The capacitor
coupled to the first voltage divider and the second divider to measure
the current through the inductor by sensing a voltage across the
capacitor. The controller coupled to the first switch for enabling and
disenabling it so as to discontinuously providing power from the input
voltage to the inductor.