Patent ID: 8232735

Claim:
A system for providing power to one or more light emitting diodes, the system couplable to an energy source, the system comprising: a power converter comprising an inductor and a power switch, wherein the power converter is couplable to the one or more light emitting diodes, and wherein the power converter operable is configured to operate in a discontinuous current mode having a dual phase cycle comprising an on phase when the power switch is closed and an off phase when the power switch is open; an output current sensor configured to sense an output current level; a peak current sensor configured to sense a peak current level; and a regulator coupled to the power converter, to the output current sensor, and to the peak current sensor, wherein the regulator is configured to: determine an on phase time for the dual phase cycle having a substantially constant frequency; determine an integrated output current level during the off phase; compare the integrated output current level to a first reference current level; and determine a next cycle on phase time by incrementing a current cycle on phase time by a determined or predetermined time amount, up to a maximum on phase time, when the integrated output current level is less than the first reference current level and by decrementing the current cycle on phase time by the determined or predetermined time amount when the integrated output current level is greater than the first reference current level.