LED drive circuit with a programmable input for LED lighting
View Patent ↗A LED drive circuit according to the present invention comprises a controller and a programmable signal. The controller generates a switching signal coupled to switch a magnetic device for generating an output current to drive a plurality of LEDs. The programmable signal is coupled to regulate a current-control signal of the controller. The switching signal is modulated in response to the current-control signal for regulating the output current, and the level of the output current is correlated to the current-control signal.
1. A LED driver comprising:
a primary-side controller having a pulse width modulator (PWM) circuit generating a switching signal coupled to drive a switch to generate an output current to drive at least one LED, the primary-side controller being coupled to an input of the LED driver to receive an input signal generated in response to an AC input;
wherein the primary-side controller generates the switching signal in response to the input signal to regulate the output current, and the primary-side controller provides a current control signal to the PWM circuit for regulating a current through the switch in response to the input signal; and
wherein the primary-side controller is responsive to the input signal for providing a feed-forward control for controlling the output current, and the primary-side controller includes a clamp to control the influence of the input signal.
2. The LED driver as claimed in claim 1 , wherein the primary-side controller performs a constant current control for regulating the output current to drive the at least one LED, and the input signal is utilized to modulate a current input signal.
3. The LED driver as claimed in claim 1 , wherein the clamp comprises a Zener diode.
4. A LED driver comprising:
a switch; and
a primary-side controller having a pulse width modulator (PWM) circuit generating a switching signal coupled to the switch to generate an output current, the primary-side controller being coupled to an input of the LED driver to receive an input signal generated in response to an AC input;
wherein the switching signal is controlled in response to the input signal to regulate the output current, and the primary-side controller provides a current control signal to the PWM circuit for regulating a current through the switch in response to the input signal;
wherein the primary-side controller is for providing a feed-forward control for controlling the output current, and the primary-side controller includes a clamp to control the influence of the input signal.
5. The LED driver as claimed in claim 4 , wherein the primary-side controller performs a constant current control for regulating the output current to drive at least one LED, the input signal is utilized to modulate a current input signal when the primary-side controller receives the current input signal.
6. The LED driver as claimed in claim 4 , wherein the clamp comprises a Zener diode.
7. A LED driver comprising:
a primary-side controller having a pulse width modulator (PWM) circuit generating a switching signal coupled to drive a switch to generate an output current to drive at least one LED, the primary-side controller being coupled to an input of the LED driver to receive an input signal generated in response to an AC signal from the input;
wherein the primary-side controller comprises a discharge time detector that provides a discharge time signal, and the primary-side controller controls the switching signal in response to the input signal and the discharge time signal to regulate a current through the switch and the output current.
8. The LED driver as claimed in claim 7 , wherein the primary-side controller performs a constant current control for regulating the output current to drive the at least one LED, and the input signal is utilized to modulate a current input signal.