Patent attributes
A controller includes a voltage detection terminal, a current detection terminal and a voltage sensing terminal. The voltage detection terminal senses a second output voltage. The current detection terminal senses a current of a light source. The second output voltage is sensed prior to the current of the light source. The voltage sensing terminal receives a voltage sensing signal indicative of a first output voltage. The controller adjusts the voltage sensing signal based on the second output voltage, to enable the second output voltage in a preset voltage range; when the second output voltage is in the preset voltage range, the controller adjusts the adjusted voltage sensing signal based on a difference between the current of the light source and a target current value, to enable the current of the light source to maintain the target current value.