Patent ID: 7710047

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, the power converter couplable to the one or more light emitting diodes, the power converter 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 to sense an output current level; a peak current sensor 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, the regulator to determine an integrated output current level during the off phase, to compare the integrated output current level to a reference signal to provide a control signal indicating a set point, to compare the peak current level to the set point, and to turn off the power switch when the peak current level substantially reaches the set point.