A digital controller for controlling a regulated output of an output
regulator. The output regulator responsive to a pulse width signal for
controlling the transfer of energy between an input source and the
regulated output. The digital controller including a duty cycle estimator
to determine a nominal duty cycle. An adjust determiner to determine an
adjustment value to combine with the nominal duty cycle to generate an
adjusted duty cycle. The pulse width signal being a function of the
adjusted duty cycle.