A resonant power converter comprising: a. a transformer having a primary winding and a secondary winding, wherein the secondary winding is coupled to an output of the resonant power converter; b. a switch coupled in series to the primary winding; c. a resonant tank coupled in parallel across the switch, wherein the resonant tank is designed to filter out a second harmonic of the designed switching frequency of the switch; characterized in: a signal processing circuit coupled to the resonant tank and to the switch, wherein the signal processing circuit is configured to generate a driving signal having a switching frequency to drive the switch, wherein the signal processing circuit comprises a zero voltage switching circuit coupled to the switch to sense a voltage across the switch and to generate a signal to turn ON and OFF the switch upon detecting a zero voltage crossing; wherein the signal processing circuit is further configured to sense a voltage across the resonant tank, to compare a waveform of the sensed voltage to a desired camelback waveform having two peaks, and to selectively adapt the switching frequency of the switch to an adapted switching frequency according to the comparison, such that the desired voltage profile is formed. a. a transformer having a primary winding and a secondary winding, wherein the secondary winding is coupled to an output of the resonant power converter; b. a switch coupled in series to the primary winding; c. a resonant tank coupled in parallel across the switch, wherein the resonant tank is designed to filter out a second harmonic of the designed switching frequency of the switch; characterized in: a signal processing circuit coupled to the resonant tank and to the switch, wherein the signal processing circuit is configured to generate a driving signal having a switching frequency to drive the switch, wherein the signal processing circuit comprises a zero voltage switching circuit coupled to the switch to sense a voltage across the switch and to generate a signal to turn ON and OFF the switch upon detecting a zero voltage crossing; wherein the signal processing circuit is further configured to sense a voltage across the resonant tank, to compare a waveform of the sensed voltage to a desired camelback waveform having two peaks, and to selectively adapt the switching frequency of the switch to an adapted switching frequency according to the comparison, such that the desired voltage profile is formed. a signal processing circuit coupled to the resonant tank and to the switch, wherein the signal processing circuit is configured to generate a driving signal having a switching frequency to drive the switch, wherein the signal processing circuit comprises a zero voltage switching circuit coupled to the switch to sense a voltage across the switch and to generate a signal to turn ON and OFF the switch upon detecting a zero voltage crossing; wherein the signal processing circuit is further configured to sense a voltage across the resonant tank, to compare a waveform of the sensed voltage to a desired camelback waveform having two peaks, and to selectively adapt the switching frequency of the switch to an adapted switching frequency according to the comparison, such that the desired voltage profile is formed.