Patent ID: 6952334

Claim:
A power supply control method comprising: coupling an input of a power supply system to receive an input voltage having a waveform of a rectified sine wave having a non-zero period for each cycle of the waveform; coupling a load to receive the input voltage; configuring a power supply controller to generate a load current through the load during a portion of a cycle of the input voltage when the input voltage is between a first voltage value and a second voltage value wherein the first voltage value and the second voltage value are less than a maximum value of the input voltage; and configuring the power supply controller to determine an average value of the load current, determine a difference between the average value of the load current and a desired average value, and to use the difference and an instantaneous value of the load current to control the instantaneous value of the load current during the portion of the cycle to regulate the average value of the load current over the period to the desired average value of the load current.