A power converter includes a switch controller having a dual output
digital-to-analog converter for generating a variable reference voltage
and a knee voltage offset from the reference voltage by a predetermined
voltage. The variable reference voltage is generated based on a
reconstructed representation of output voltage of the power converter in
a previous switching cycle. Comparators compare the variable reference
voltage and the variable knee voltage to a sensed output of the power
converter in a first switching cycle. A digital logic of the switch
controller receives signals from the comparators and determines a pulse
signal for controlling an on-time and an off time of a switch in a second
switching cycle.