Patent attributes
A method can be used for controlling the switching operation of a switching power converter that includes a semiconductor switch coupled in series to an inductor. The switching power converter consumes an input current from a power supply and provides an output current to a load. In each switching cycle a switch-on time instant is detected for the semiconductor switch. The semiconductor switch is closed thus enabling, at the detected switch-on time instant, the input current passing through the semiconductor switch. The semiconductor switch is opened after a desired on-time, during which the input current rises from zero to a peak value, has passed. A time interval is detected, in which the instantaneous output current is not zero. A first value that represents the peak of the input current is obtained during the on-time.