| CPC H02M 1/14 (2013.01) [H02M 3/157 (2013.01); H02M 3/1584 (2013.01)] | 21 Claims |

|
1. A digital controller for a switching converter configured to receive an input voltage and to generate an output voltage, the switching converter comprising one or more power switches and an energy storage element, the digital controller comprising a ripple cancellation signal generator configured to generate a ripple cancellation signal, the digital controller being configured to:
receive a digitized current signal, the digitized current signal being a digital representation of a current flow through the energy storage element;
generate a filtered digital current error signal using the digitized current signal and the ripple cancellation signal, the ripple cancellation signal being arranged to reduce ripple from the digitized current signal in the generation of the filtered digital current error signal; and
control the switching converter, the control of the switching converter being dependent on the filtered digital current error signal; wherein:
the ripple cancellation signal, within each signal period, comprises:
a rising slope comprising a first non-linear portion; and/or
a falling slope comprising a second non-linear portion.
|