Patent ID: 8339114

Claim:
A device comprising: a node selectively connected to a power supply terminal and ground via a plurality of switches; and a controller, coupled to said node via said switches, that connects said node to said power supply terminal and disconnects said node from said ground using said switches in an on state duration, that disconnects said node from said power supply terminal and connects said node to said ground using said switches in an off state duration, that disconnects said node from said power supply terminal and said ground in a skip state duration, that calculates a value for said skip state duration based on a predetermined current reference and a plurality of parameters, and that adjusts an output current to said predetermined current reference by adjusting said skip state duration to the calculated value and by controlling said switches according to said on state duration and said skip state duration, wherein said plurality of parameters comprise said predetermined current reference, an input voltage of said device, an output voltage of said device, and said skip state duration.