Patent attributes
A controller for use in a power converter includes a drive circuit coupled to generate a drive signal to control switching of a power switch to control a transfer of energy from a power converter input to a power converter output. The controller also includes an input for receiving an enable signal including enable events responsive to the power converter output. The drive circuit is coupled to turn ON the power switch in response to the enable events and turn OFF the power switch in response to a power switch current reaching a current limit threshold. A current limit threshold generator is coupled to receive the drive signal from the enable events of the enable signal. The current limit threshold may be a ramp signal and the ramp signal along with the time between enable events may be used to modulate the drive signal.