摘要 |
A controller for controlling power to a light source includes a first sensing pin, a second sensing pin, a third sensing pin, and a driving pin. The first sensing pin receives a first signal indicating an instant current flowing through an energy storage element. The second sensing pin receives a second signal indicating an average current flowing through the energy storage element. The third sensing pin receives a third signal indicating whether the instant current decreases to a predetermined current level. The driving pin provides a driving signal to a switch to control an average current flowing through the light source to a target current level. The driving signal is generated based on one or more signals selected from the first signal, the second signal and the third signal.
|