Patent ID: 8593069

Claim:
A method for use in a power converter, the method comprising: receiving an input voltage at a dimmer circuit and generating a dimmer output voltage in response thereto, the dimmer output voltage having a non-blocked portion and a blocked portion, wherein an amount of the blocked portion corresponds to a phase angle; generating a peak input voltage signal in response to the dimmer output voltage, wherein the peak input voltage signal is representative of a peak value of the input voltage for phase angles less than a phase angle threshold and is representative of a value that is less than the peak value of the input voltage for phase angles greater than the phase angle threshold; generating a feedback signal representative of an output voltage of the power converter; controlling a switching of a switch included in the power converter to regulate an output current of the power converter in response to the peak input voltage signal and the feedback signal; generating a compensation current in response to the feedback signal indicating that the phase angle is greater than the phase angle threshold; and adding the compensation current to the peak input voltage signal when the phase angle is greater than the phase angle threshold to allow for natural dimming at an output of the power converter.