Patent ID: 8841853

Claim:
An electronic device for a lighting system, wherein the lighting system comprises a TRIAC dimmer and is configured to receive a mains supply voltage and to provide a phase cut voltage to the electronic device, wherein the electronic device comprises: a control loop that is configured to control a duty cycle of a switched voltage converter that receives a rectified phase cut voltage as an input voltage and provides a drive current to a light emitting semiconductor device, the control loop comprises an error amplifier that is coupled to receive a sense voltage that is indicative to a current through the light emitting semiconductor device, the error amplifier being configured to provide a feedback signal to a pulse width modulation logic that is configured to control the duty cycle of the switched voltage converter so as to provide a constant drive current to the light emitting semiconductor device in response to the sense voltage and the error amplifier being coupled to receive a reference voltage that is a function of the input voltage, wherein a DC path is present between the inverting input of the error amplifier that is coupled to the reference voltage and an output terminal of the error amplifier.