LED converter for providing power to a LED string comprising at least one LED, comprising: - a resonant converter with a switching regulator, wherein the resonant converter is an LLC converter and the switching regulator is a clocked half-bride converter, - a galvanic barrier, the primary side of which being supplied by the switching regulator and the secondary side of which being arranged for providing directly or indirectly power to the LED string, wherein the galvanic barrier is a transformer, and - a control circuit on the primary side of the galvanic barrier and which is adapted to sense an averaged value of an primary side electric parameter indicative of a current supplied to the LED string on the secondary side of the galvanic barrier and wherein the control circuit is adapted to control a switching frequency of switches (HS, LS) of the clocked half-bridge converter, based on the sensed averaged value of the primary side electric parameter to control the current (I LED) supplied to the LED string, wherein the LLC converter comprises an LC circuit, to which a primary side inductivity (Lm) of the transformer and a shunt resistor (R sns2) of the LED converter is connected in series, the LED converter being characterized in that in series with the primary side inductivity (Lm) of the transformer a first diode is connected in forward direction followed by the shunt resistor (R sns2) and wherein, in parallel to the shunt resistor (R sns2) and the first diode, a second diode is connected to the primary side inductivity (Lm) in reverse direction to the first diode, wherein the primary side electric parameter is sensed on a midpoint between the first diode and the shunt resistor (R sns2), wherein a low pass-filter is provided to filter the sensed primary side electric parameter before it is supplied to the control circuit, and is configured to thereby produce the averaged value of the primary side electric parameter, and wherein the control circuit is configured to only sense the averaged value of the primary side electric parameter produced by the low pass-filter. - a resonant converter with a switching regulator, wherein the resonant converter is an LLC converter and the switching regulator is a clocked half-bride converter, - a galvanic barrier, the primary side of which being supplied by the switching regulator and the secondary side of which being arranged for providing directly or indirectly power to the LED string, wherein the galvanic barrier is a transformer, and - a control circuit on the primary side of the galvanic barrier and which is adapted to sense an averaged value of an primary side electric parameter indicative of a current supplied to the LED string on the secondary side of the galvanic barrier and wherein the control circuit is adapted to control a switching frequency of switches (HS, LS) of the clocked half-bridge converter, based on the sensed averaged value of the primary side electric parameter to control the current (I LED) supplied to the LED string, - a control circuit on the primary side of the galvanic barrier and which is adapted to sense an averaged value of an primary side electric parameter indicative of a current supplied to the LED string on the secondary side of the galvanic barrier and wherein the control circuit is adapted to control a switching frequency of switches (HS, LS) of the clocked half-bridge converter, based on the sensed averaged value of the primary side electric parameter to control the current (I LED) supplied to the LED string,