Patent ID: 9577521
Date: 2017-02-21
CPC Classifications: H02M,H05B,Y02B

Claim:
1. An apparatus comprising: a load; a switch having first, second and third terminals, the first terminal coupled to the load, the second terminal coupled to a sensing resistor, and the switch configured such that a signal applied to the third terminal opens the switch; a switch driver having an output coupled to the third terminal; and control logic operable, in response to a voltage across the sensing resistor exceeding a threshold value, to cause the switch driver to generate the signal, the threshold value based, at least in part, on a value corresponding to a target average current through the load and on a voltage across the sensing resistor, the signal opening the switch such that an average current flowing through the load is about equal to the target average current value, wherein the control logic is operable to generate the threshold value and comprises: