An
LED driver configured to control a LED fixture comprising a plurality of LED groups is described, each LED group comprising at least one LED forming a series connection with a switch, wherein the plurality of LED groups are arranged in a parallel connection, the LED fixture further comprising a
capacitor arranged in a parallel connection to the plurality of LED groups, the
LED driver comprising:a power converter for converting an input power from a power source to a current which is provided to the plurality of LED groups;a
control unit configured to control the power converter to provide the current to the plurality of LED groups, and wherein the
control unit is further configured tocontrol an
operation mode of the switch of the LED group between a nominal mode, wherein the switch operates in a closed nominal state or an open nominal state, anda transition mode, wherein the switch operates in a semi-
closed state, wherein a gate to source
voltage of the switch of the LED group is lower than the gate to source
voltage of the respective switch when operated in the nominal mode,switch the current from flowing through a first LED group to flowing through a second LED group, wherein the first LED group has a higher
forward voltage than the second LED group, by switching the switch of the first LED group in the open nominal state and the switch of the second LED group in the semi-
closed state during a transient period.