Current limitation by detuning a series resonant circuit