Patent ID: 8654547

Claim:
A power supply, comprising: an energy transfer element coupled to transfer energy from an input to an output of the power supply; a switch coupled to the energy transfer element to control the transfer of energy between the input and output of the power supply; a feedback circuit coupled to the output of the power supply to generate a feedback signal representative of an output level at the output of the power supply; a comparator coupled to receive the feedback signal and a threshold value signal to provide a feedback state signal having a first feedback state that represents the output level of the power supply being above a threshold level and a second feedback state that represents the output level of the power supply being below the threshold level; a state machine coupled to receive the feedback state signal from the comparator to selectively modulate a first signal in response to the feedback state signal, wherein the first signal is a signal selected from the group consisting of the feedback signal and the threshold value signal, wherein the state machine is coupled to modulate the first signal in response to a previous feedback state of the feedback state signal; and a control circuit coupled to receive the feedback state signal from the comparator to control switching of the switch to regulate the output level of the power supply in response to the feedback state signal.