A lighting system, comprising: a temperature sensor circuit; a duty cycle generator circuit configured to generate a pulse width modulated signal having a duty cycle that changes in response to changes in temperature as indicated by a temperature sense signal; an array of solid state light sources comprising a plurality of strings of solid state light sources; wherein at least one string of solid state light sources in the plurality of strings of solid state light sources is operatively coupled to a switch controlled by the pulse width modulated signal, wherein the switch controls current flow through the plurality of strings of solid state light sources; wherein the duty cycle generator circuit comprises: a ramp generator configured to generate a periodic ramp signal; a comparator configured to receive the output of the ramp signal as input; characterized in that the duty cycle generator circuit comprises further a duty-cycle-to-voltage conversion stage configured to convert the pulse width modulated PWM signal to a DC voltage and to apply the DC voltage to the temperature sensor circuit to generate the temperature sense signal; an error amplifier; a buffer connected between the duty-cycle conversion stage and the error amplifier and configured to receive the temperature sense signal; wherein the error amplifier is configured to receive an output signal from the buffer and to provide negative feedback to regulate the DC voltage; and wherein the comparator is configured to receive the output of the error amplifier as input and to generate the pulse width modulated signal by comparing the periodic ramp signal and the output of the error amplifier. a temperature sensor circuit; a duty cycle generator circuit configured to generate a pulse width modulated signal having a duty cycle that changes in response to changes in temperature as indicated by a temperature sense signal; an array of solid state light sources comprising a plurality of strings of solid state light sources; wherein at least one string of solid state light sources in the plurality of strings of solid state light sources is operatively coupled to a switch controlled by the pulse width modulated signal, wherein the switch controls current flow through the plurality of strings of solid state light sources; wherein the duty cycle generator circuit comprises: a ramp generator configured to generate a periodic ramp signal; a comparator configured to receive the output of the ramp signal as input; characterized in that the duty cycle generator circuit comprises further a duty-cycle-to-voltage conversion stage configured to convert the pulse width modulated PWM signal to a DC voltage and to apply the DC voltage to the temperature sensor circuit to generate the temperature sense signal; an error amplifier; a buffer connected between the duty-cycle conversion stage and the error amplifier and configured to receive the temperature sense signal; wherein the error amplifier is configured to receive an output signal from the buffer and to provide negative feedback to regulate the DC voltage; and wherein the comparator is configured to receive the output of the error amplifier as input and to generate the pulse width modulated signal by comparing the periodic ramp signal and the output of the error amplifier. a ramp generator configured to generate a periodic ramp signal; a comparator configured to receive the output of the ramp signal as input; characterized in that the duty cycle generator circuit comprises further a duty-cycle-to-voltage conversion stage configured to convert the pulse width modulated PWM signal to a DC voltage and to apply the DC voltage to the temperature sensor circuit to generate the temperature sense signal; an error amplifier; a buffer connected between the duty-cycle conversion stage and the error amplifier and configured to receive the temperature sense signal; wherein the error amplifier is configured to receive an output signal from the buffer and to provide negative feedback to regulate the DC voltage; and wherein the comparator is configured to receive the output of the error amplifier as input and to generate the pulse width modulated signal by comparing the periodic ramp signal and the output of the error amplifier.