Patent ID: 8755208

Claim:
A system, comprising: an input circuit configured to i) receive a current provided from a power supply, and ii) provide, based on the current from the power supply, an output voltage to a load; and a power factor corrector configured to sense i) a feedback current associated with the input circuit, and ii) a feedback voltage associated with the output voltage to the load, determine a peak value of an input voltage associated with the input circuit, generate, using the peak value of the input voltage, a current limit profile, wherein the current limit profile defines a range of values of a current limit over a half cycle of the input voltage, compare the feedback current to a current limit in the current limit profile, and based on i) the output voltage to the load, and ii) the comparison of the feedback current to the current limit, shape the current provided from the power supply, wherein the power factor corrector is configured to adjust the current limit based on the current limit profile, and the current limit profile is based on a margin above the peak value of the current provided from the power supply.