Patent ID: 9325194
Filing Date: 2016-04-26
CPC Classification: H02J,H02M,Y10T

Claim Text:
1. A power supply controller comprising: a first input configured to receive a first current sense signal that is representative of an adapter current supplied from an ac adapter to at least a load; a second input configured to receive a feedback signal that is representative of a voltage of a battery; an error circuit configured to form an error signal that is representative of a deviation of the adapter current from a desired value of the adapter current; a switching control circuit configured to form a switching control signal to control first and second switches, the switching control circuit configured to form a ramp signal and to control a duty cycle of the switching control signal responsively to a difference between the ramp signal and the error signal wherein the switching control circuit controls the first and second switches to charge the battery from the ac adapter responsively to the adapter current being less than a first value; a control circuit configured to detect that the adapter current is greater than the first value, the control circuit configured to offset a dc value of the ramp signal responsively to detecting that the adapter current is greater than the first value wherein the switching control circuit controls the first and second switches to supply current from the battery to the load responsively to the adapter current being greater than the first value; and a clamp circuit configured to clamp a low value of the error signal to a lower clamp value, the clamp circuit configured to change the lower clamp value of the error signal from a first clamp value to a second clamp value, that is less than the first clamp value, a first time interval after detecting that the adapter current is greater than the first value.