Patent ID: 6944034

Claim:
A method of shaping input current to a power converter, the method comprising: the power converter determining waveform synthesis parameters based upon an input voltage signal and a reference waveform shape; the power converter selecting one of a plurality of operation modes for controlling on-times and off-times of a switch in the power converter, the operation modes including a first operation mode selected if an input voltage to the power converter is in a first input voltage range, a second operation mode selected if the input voltage to the power converter is in a second input voltage range, and a third operation mode selected if an output current from the power converter is lower than a predetermined threshold current or if the on-times are lower than a predetermined threshold on-time; and the power converter synthesizing the input current waveform in real time by controlling on-times and off-times of the switch based upon the determined waveform synthesis parameters and the selected operation modes.