Patent ID: 9442503
Filing Date: 2016-09-13
CPC Classification: G05F,H02M

Claim Text:
1. An apparatus comprising: a charging switch configured to selectively couple a first node of an inductor to a supply voltage; a discharging switch configured to selectively couple the first node of the inductor to ground; a circuit configured to generate a ramp voltage; a control block configured to control the charging and discharging switches to set an output voltage at a load coupled to a second node of the inductor based on the ramp voltage; a positive current sense block to sense positive current through the inductor, wherein the circuit is configured to generate the ramp voltage based on the positive current being sensed; and a negative current sense block configured to sense negative current through the inductor, wherein the circuit is further configured to adjust the ramp voltage in response to sensing of the negative current through the inductor, wherein the circuit comprises a series of resistors having a first terminal and a second terminal, the circuit being configured to couple to an output of the positive current sense block via the first terminal and to couple to an output of the negative current sense block via the second terminal.