A resonant inverter, comprising: an input node for receiving an input voltage (V in) for conversion; a switch network, connected to the input node, comprising at least a first and second switch coupled in series, wherein a first switch output (S SN1) is defined from a node located between the first and second switches; a resonant tank circuit (12, 22) coupled to the first switch output and adapted to output an alternating signal (V out), wherein an electrical feedback parameter (V fb) is provided by the resonant tank circuit; a sampling circuit adapted to sample the electrical feedback parameter provided by the resonant tank circuit at a time of sampling; a control circuit for generating a switch drive signal (S dr) in dependence of the sampled electrical feedback parameter, the switch drive signal indicating a desired switching state for the first and second switches; a switch driver adapted to control the switching state of the first and second switches responsive to the gate drive signal, wherein a change in the switching state of the first and second switches induces a change in the first switch output; characterized in that the resonant inverter further comprises: a timing module adapted to monitor at least a voltage at the node of the resonant inverter to determine a time delay between a change in the switch drive signal and a corresponding change in the first switch output, wherein the time of sampling is dependent upon the change in the switch drive signal and the sampling circuit is adapted to adjust the time of sampling and/or a value of the sampled electrical feedback parameter dependent upon the time delay. an input node for receiving an input voltage (V in) for conversion; a switch network, connected to the input node, comprising at least a first and second switch coupled in series, wherein a first switch output (S SN1) is defined from a node located between the first and second switches; a resonant tank circuit (12, 22) coupled to the first switch output and adapted to output an alternating signal (V out), wherein an electrical feedback parameter (V fb) is provided by the resonant tank circuit; a sampling circuit adapted to sample the electrical feedback parameter provided by the resonant tank circuit at a time of sampling; a control circuit for generating a switch drive signal (S dr) in dependence of the sampled electrical feedback parameter, the switch drive signal indicating a desired switching state for the first and second switches; a switch driver adapted to control the switching state of the first and second switches responsive to the gate drive signal, wherein a change in the switching state of the first and second switches induces a change in the first switch output; characterized in that the resonant inverter further comprises: a timing module adapted to monitor at least a voltage at the node of the resonant inverter to determine a time delay between a change in the switch drive signal and a corresponding change in the first switch output, wherein the time of sampling is dependent upon the change in the switch drive signal and the sampling circuit is adapted to adjust the time of sampling and/or a value of the sampled electrical feedback parameter dependent upon the time delay. characterized in that the resonant inverter further comprises: a timing module adapted to monitor at least a voltage at the node of the resonant inverter to determine a time delay between a change in the switch drive signal and a corresponding change in the first switch output, wherein the time of sampling is dependent upon the change in the switch drive signal and the sampling circuit is adapted to adjust the time of sampling and/or a value of the sampled electrical feedback parameter dependent upon the time delay. a timing module adapted to monitor at least a voltage at the node of the resonant inverter to determine a time delay between a change in the switch drive signal and a corresponding change in the first switch output, wherein the time of sampling is dependent upon the change in the switch drive signal and the sampling circuit is adapted to adjust the time of sampling and/or a value of the sampled electrical feedback parameter dependent upon the time delay.