Controller for a power converter, the power converter comprising a first switch and a second switch forming a complementary pair, wherein the controller is configured to: receive a first control signal based on a first drain-to-source voltage of the first switch; receive a second control signal based on a second drain-to-source voltage of the second switch; derive a first switch control signal based on the first control signal and control the first switch by providing the first switch control signal to the first switch; derive a second switch control signal based on the second control signal and control the second switch by providing the second switch control signal to the second switch; wherein the first switch control signal and the second switch control signal each comprises turn-on edges (111; 111') and turn-off edges (112; 112'); characterized in that the controller is further configured to: derive an additional first control signal and an additional second control signal based on an input voltage (V in) and an output voltage (V out) of the power converter, derive at least one turn-on edge of the first switch control signal based on the first in time of the trigger-on edge of the first control signal or a trigger-on edge of the additional first control signal, and derive at least one turn-on edge of the second switch control signal based on the first in time of the trigger-on edge of the second control signal or a trigger-on edge of the additional second control signal, such that the first switch and the second switch are excluded from being turned on simultaneously whilst the power converter is controlled under at least critical conduction mode. receive a first control signal based on a first drain-to-source voltage of the first switch; receive a second control signal based on a second drain-to-source voltage of the second switch; derive a first switch control signal based on the first control signal and control the first switch by providing the first switch control signal to the first switch; derive a second switch control signal based on the second control signal and control the second switch by providing the second switch control signal to the second switch; wherein the first switch control signal and the second switch control signal each comprises turn-on edges (111; 111') and turn-off edges (112; 112'); characterized in that the controller is further configured to: derive an additional first control signal and an additional second control signal based on an input voltage (V in) and an output voltage (V out) of the power converter, derive at least one turn-on edge of the first switch control signal based on the first in time of the trigger-on edge of the first control signal or a trigger-on edge of the additional first control signal, and derive at least one turn-on edge of the second switch control signal based on the first in time of the trigger-on edge of the second control signal or a trigger-on edge of the additional second control signal, such that the first switch and the second switch are excluded from being turned on simultaneously whilst the power converter is controlled under at least critical conduction mode. derive an additional first control signal and an additional second control signal based on an input voltage (V in) and an output voltage (V out) of the power converter, derive at least one turn-on edge of the first switch control signal based on the first in time of the trigger-on edge of the first control signal or a trigger-on edge of the additional first control signal, and derive at least one turn-on edge of the second switch control signal based on the first in time of the trigger-on edge of the second control signal or a trigger-on edge of the additional second control signal, such that the first switch and the second switch are excluded from being turned on simultaneously whilst the power converter is controlled under at least critical conduction mode.