Battery charging and discharging by using a bi-directional transistor
First Claim
1. A method for controlling battery power comprising the acts of:
- coupling a first input terminal to a system power terminal, wherein the first input terminal is configured to receive power from an AC adapter;
coupling a second input terminal in series with a current sensing circuit to the system power terminal, wherein the second input terminal is configured to receive power from a USB interface;
coupling a portable electronic device to the system power terminal, wherein the portable electronic device is powered by the AC adapter when the AC adapter is connected to the first input terminal, by the USB interface when the USB interface is connected to the second input terminal and the AC adapter is not connected to the first input terminal, and by an internal battery when the AC adapter is not connected to the first input terminal and the USB interface is not connected to the second input terminal;
coupling the internal battery to the system power terminal via a series-connected bi-directional transistor, wherein the bi-directional transistor comprises a first terminal connected to the system power terminal, a second terminal connected to a positive terminal of the internal battery, a configurable body terminal and a control terminal;
comparing a voltage at the system power terminal with a voltage at the positive terminal of the internal battery to control connection of the configurable body terminal, wherein the configurable body terminal is connected to the first terminal when the system power terminal has a higher voltage than the positive terminal of the internal battery and connected to the second terminal when the positive terminal of the internal battery has a higher voltage than the system power terminal;
sensing a voltage difference between the system power terminal and the positive terminal of the internal battery;
generating a feedback control signal based on the voltage difference and a voltage level at the control terminal of the bi-directional transistor;
generating a linearly adjustable voltage for driving the bi-directional transistor based on the feedback control signal;
determining a charging mode of operation when the voltage difference indicates that the system power terminal has a higher voltage than the positive terminal of the internal battery by a first predefined amount;
charging the internal battery by linearly regulating the bi-directional transistor with the linearly adjustable voltage at the control terminal of the bi-directional transistor to conduct a charging current in a first direction from the system power terminal to the positive terminal of the internal battery during the charging mode;
using the current sensing circuit to measure current provided by the USB interface and to generate an overriding signal to reduce the charging current in response to an increase in a load current provided to the portable electronic device such that the measured current from the USB interface does not exceed a predetermined current threshold, wherein the overriding signal replaces the feedback control signal to generate the linearly adjustable voltage for driving the bi-directional transistor when the measured current from the USB interface exceeds the predetermine current threshold, and the current sensing circuit does not measure current provided by the AC adapter to generate the overriding signal when the AC adapter is connected to the first input terminal;
determining a discharging mode of operation when the voltage difference indicates that the system power terminal has a lower voltage than the positive terminal of the internal battery by a second predefined amount; and
discharging the internal battery by linearly regulating the bi-directional transistor with the linearly adjustable voltage at the control terminal of the bi-directional transistor to conduct a discharging current in a second direction from the positive terminal of the internal battery to the system power terminal during the discharging mode, wherein the level of current provided to the internal battery during the charging mode or current supplied by the internal battery during the discharging mode varies with the level of the linearly adjustable voltage at the control terminal of the bi-directional transistor.
18 Assignments
0 Petitions
Accused Products
Abstract
A battery charger for an electronic device receives current limited power from an external power source, such as a Universal Serial Bus power interface. The battery charger can linearly regulate a charging current to an internal battery and limit the charging current so as not to demand current in excess of what the external power source can provide. A bi-directional pass element coupled between a system power terminal and the internal battery controls the charging current and effectively isolates the internal battery from a system load during charging of the battery while providing a low impedance path from the internal battery to the system load during discharging of the battery.
-
Citations
16 Claims
-
1. A method for controlling battery power comprising the acts of:
-
coupling a first input terminal to a system power terminal, wherein the first input terminal is configured to receive power from an AC adapter; coupling a second input terminal in series with a current sensing circuit to the system power terminal, wherein the second input terminal is configured to receive power from a USB interface; coupling a portable electronic device to the system power terminal, wherein the portable electronic device is powered by the AC adapter when the AC adapter is connected to the first input terminal, by the USB interface when the USB interface is connected to the second input terminal and the AC adapter is not connected to the first input terminal, and by an internal battery when the AC adapter is not connected to the first input terminal and the USB interface is not connected to the second input terminal; coupling the internal battery to the system power terminal via a series-connected bi-directional transistor, wherein the bi-directional transistor comprises a first terminal connected to the system power terminal, a second terminal connected to a positive terminal of the internal battery, a configurable body terminal and a control terminal; comparing a voltage at the system power terminal with a voltage at the positive terminal of the internal battery to control connection of the configurable body terminal, wherein the configurable body terminal is connected to the first terminal when the system power terminal has a higher voltage than the positive terminal of the internal battery and connected to the second terminal when the positive terminal of the internal battery has a higher voltage than the system power terminal; sensing a voltage difference between the system power terminal and the positive terminal of the internal battery; generating a feedback control signal based on the voltage difference and a voltage level at the control terminal of the bi-directional transistor; generating a linearly adjustable voltage for driving the bi-directional transistor based on the feedback control signal; determining a charging mode of operation when the voltage difference indicates that the system power terminal has a higher voltage than the positive terminal of the internal battery by a first predefined amount; charging the internal battery by linearly regulating the bi-directional transistor with the linearly adjustable voltage at the control terminal of the bi-directional transistor to conduct a charging current in a first direction from the system power terminal to the positive terminal of the internal battery during the charging mode; using the current sensing circuit to measure current provided by the USB interface and to generate an overriding signal to reduce the charging current in response to an increase in a load current provided to the portable electronic device such that the measured current from the USB interface does not exceed a predetermined current threshold, wherein the overriding signal replaces the feedback control signal to generate the linearly adjustable voltage for driving the bi-directional transistor when the measured current from the USB interface exceeds the predetermine current threshold, and the current sensing circuit does not measure current provided by the AC adapter to generate the overriding signal when the AC adapter is connected to the first input terminal; determining a discharging mode of operation when the voltage difference indicates that the system power terminal has a lower voltage than the positive terminal of the internal battery by a second predefined amount; and discharging the internal battery by linearly regulating the bi-directional transistor with the linearly adjustable voltage at the control terminal of the bi-directional transistor to conduct a discharging current in a second direction from the positive terminal of the internal battery to the system power terminal during the discharging mode, wherein the level of current provided to the internal battery during the charging mode or current supplied by the internal battery during the discharging mode varies with the level of the linearly adjustable voltage at the control terminal of the bi-directional transistor. - View Dependent Claims (2, 3, 4, 12, 13, 14)
-
-
5. A method of controlling battery power, the method comprising:
-
selectively providing an external primary power source and an external secondary power source to a system power terminal of a device with an internal battery, wherein the external primary power source is an AC adapter and the external secondary power source is a USB interface; coupling the internal battery to the system power terminal using a bi-directional transistor with a control terminal, a first terminal connected to the system power terminal, a second terminal connected to the internal battery, and a configurable body contact that is connected to the system power terminal during a charging mode and connected to the internal battery during a discharging mode; generating a feedback control signal based on a voltage at the control terminal of the bi-directional transistor and a voltage difference between the system power terminal and a positive terminal of the internal battery; determining whether the bi-directional transistor operates in the charging mode or the discharging mode based on the voltage difference between the system power terminal and the positive terminal of the internal battery; generating a linearly adjustable voltage based on the feedback control signal; driving the control terminal of the bi-directional transistor with the linearly adjustable voltage to regulate current conducted by the bi-directional transistor to charge the internal battery during the charging mode and to discharge the internal battery during the discharging mode, wherein the level of current provided to the internal battery during the charging mode or current supplied by the internal battery during the discharging mode is determined by the level of the linearly adjustable voltage at the control terminal of the bi-directional transistor; and sensing current provided by the USB interface to generate an overriding signal to reduce current provided to the internal battery during the charging mode in response to an increase in current provided to the device such that a total current provided by the USB interface does not exceed a predetermined level, wherein the current provided by the AC adapter is not sensed and is not used to generate any overriding signal when the AC adapter is providing power to the system power terminal. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
-
15. A method for controlling battery power, the method comprising the acts of:
-
selectively providing power from an AC adapter and a USB interface to a system power terminal of an electronic device; coupling a battery to the system power terminal via a series-connected bi-directional transistor, wherein the bi-directional transistor comprises a first terminal connected to the system power terminal, a second terminal connected to the battery, a control terminal, and a configurable body contact that is connected to the system power terminal during a charging mode and connected to the battery during a discharging mode; detecting a voltage difference between the system power terminal and a positive terminal of the battery; generating a feedback control signal based on the voltage difference and a voltage at the control terminal of the bi-directional transistor; generating a linearly variable voltage based on the feedback control signal to drive the bi-directional transistor; applying the linearly variable voltage to the control terminal of the bi-directional transistor to charge or to discharge the battery, wherein the voltage difference between the system power terminal and the positive terminal of the battery determines whether the bi-directional transistor operates in the charging mode or the discharging mode, and the feedback control signal determines the level of current conducted by the bi-directional transistor; and sensing current provided by the USB interface to vary a charging current provided to the battery during the charging mode in response to changes in a load current for the electronic device such that a total current provided by the USB interface does not exceed a predetermined current limit, wherein the charging current is not varied in response to changes in the load current when the AC adapter is selected to provide power to the system power terminal, and wherein during that time when the AC adapter is selected to provide power, the current provided by the AC adapter is not sensed and is not used to vary a charging current in response to changes in a load current. - View Dependent Claims (16)
-
Specification