Patent ID: 9743468
Date: 2017-08-22
CPC Classifications: H01L,H02M,H05B,Y02B

Claim:
1. A controller for a switched mode power supply, SMPS, comprising: a switch toggling unit configured to toggle a power switch with a fixed primary stroke duration within each switching cycle in which the power switch is closed, the switch toggling unit having a first switching mode and a second switching mode, wherein the first switching mode is a continuous conduction mode or a boundary conduction mode and the second switching mode is a discontinuous conduction mode; and a switch mode selector configured to determine the current in an inductor of the SMPS based on a measurement of a voltage across a sense resistor having a first terminal that is directly connected to the inductor of the SMPS and to ground and a second terminal that is connected to the power switch and to set the switching mode of the switch toggling unit in accordance with a peak current in the inductor of the SMPS, wherein the switch mode selector is configured to: set the switching mode of the switch toggling unit as the first switching mode when the peak current in the inductor of the SMPS is greater than a first threshold; and set the switching mode of the switch toggling unit as the second switching mode when the peak current in the inductor of the SMPS is less than a second threshold, wherein the first threshold is the same as the second threshold.