Patent ID: 8643303

Claim:
A light-emitting diode (LED) lamp controller, comprising: a dimmer control unit configured to determine a characteristic of an input voltage and identity a type of dimmer switch providing the input voltage based on the determined characteristic of the input voltage, determine a detected dimming amount of the input voltage for the identified type of dimmer switch, and generate one or more control signals to control regulated current through one or more LEDs such that an output light intensity of the one or more LEDs corresponds to the detected dimming amount, wherein the dimmer control unit comprises: a phase detector configured to receive the input voltage and determine a detected phase angle modulation of the input voltage representative of the detected dimming amount by comparing the input voltage to one or more threshold voltages that are set differently depending on the identified type of dimmer switch; and a dimming controller configured to generate the one or more control signals using the detected amount of phase angle modulation to control dimming of the one or more LEDs; and a power converter configured to receive the control signals and provide regulated current to the one or more LEDs, the power converter configured to adjust the regulated current to the one or more LEDs as indicated by the one or more control signals to achieve the output light intensity.