Patent ID: 8093833

Claim:
A method for controlling an electrical light source by pulse width modulation of a supply voltage, the method comprising: measuring a supply voltage (U) or a parameter (I,P) dependent thereon; controlling a pulse width as a function of the measured supply voltage or parameter, wherein the supply voltage (U) or the parameter (I,P) dependent thereon are measured at least twice during a pulse and a pulse width (T(n),T(n+1)) of a current or a subsequent pulse is matched subject to the recorded values of the supply voltage (U) or the parameter dependent thereon (I,P); recording the measured values of the supply voltage (U) or the parameter (I,P) dependent thereon during the pulse; and comparing a total value (A(n)) generated from all the measured values for said pulse and compared with a given value (Anom), wherein when the given value (Anom) has been reached the pulse is terminated.