Patent ID: 8314572

Claim:
A circuit for controlling one or more light emitting diode (LED) strings comprising: a detector coupled to one or more LED strings and a programmable controller, wherein the detector is capable of: detecting a first measurable parameter of the one or more LED strings; the programmable controller that: receives information from the detector related to the first measurable parameter; and based on the received information, adjusts one or more controllable parameters of the one or more LED strings until receiving an indication from the detector that the first measurable parameter meets a reference condition, wherein adjusting one or more controllable parameters includes using the information to determine a desired drive voltage level value, and generating a control signal indicative of the desired drive voltage value; and a power supply having a power factor correction capability that: receives the control signal as a first input; receives an AC voltage waveform as a second input; and generates a drive voltage based on the control signal.