Patent attributes
A controller for use in a power converter includes a first edge detection circuit that receives a first input sense signal representative of an input of the power converter coupled to a dimmer circuit, and generates a first edge detection signal in response to the first input sense signal. A shaping circuit receives the first edge detection signal from the first edge detection circuit. The shaping circuit generates a first shape signal in response to the first edge detection signal. A drive circuit receives the first shape signal and a feedback signal representative of an output of the power converter. The drive circuit generates the drive signal in response to the feedback signal to control switching of a power switch of the power converter. The drive circuit switches the power switch in a first higher current mode for a first duration in response to the first shape signal.