| CPC H05B 45/37 (2020.01) [H05B 45/305 (2020.01); H05B 45/345 (2020.01)] | 14 Claims |

|
1. A method for operating a driver circuit for a light-emitting diode (LED) device, wherein the driver circuit comprises a rectifier operatively coupled to a ballast, a current regulator operatively coupled to the rectifier and to the LED device, and a detecting module operatively coupled to the LED device and to the current regulator, comprising:
rectifying, by the rectifier of the driver circuit during a startup stage, direct current received from the ballast and providing the rectified current to the current regulator;
detecting, by the detecting module of the driver circuit, a current through the LED device provided by the current regulator during the startup stage, wherein a value of the current through the LED device is a detecting indictor having a preset value range;
providing, by the detecting module, the value of the current through the LED device to the current regulator;
determining, by the current regulator, that the value of the current is outside the preset value range;
converting, by the current regulator, the rectified current from the rectifier into a driving current with a value within the preset value range; and
outputting, by the current regulator, the driving current to the LED device.
|