# Patent

## Title
Apparatus and method for dual source, single inductor magnetic battery charger

## Abstract

A voltage regulation and battery charging system is provided. The system may include a switching regulator selection control circuit, two switching regulator controller circuits, two power transistors, a common synchronous transistor, and a common LC circuit. The two switching regulator controller circuits may synchronously switch the two power transistors and the one common synchronous transistor. One of the switching regulator controller circuits may receive a voltage from an AC adapter and the other may receive a voltage from a USB port. Further, the switching regulation selection control circuit selects which of the two switching regulator controller circuits controls the regulation of the system output voltage employing the common LC filter.

## Background
FIELD OF THE INVENTION
The invention is related to battery chargers, and in particular, to an apparatus and method for a dual source, single inductor magnetic battery charger and voltage regulator system for charging with a wall adapter and USB power.
BACKGROUND OF THE INVENTION
Generally, batteries are used to supply power to portable devices such as personal computers, radios, radiophones, stereo cassette tape players etc. Such batteries are typically available in two different types such as those characterized as rechargeable or non-rechargeable and exhibit different end-of-life voltage characteristics and effective series resistances. Non-rechargeable battery types are those ordinary alkaline batteries that should not be subjected to recharging attempts. Rechargeable battery types include nickel-cadmium (Ni—Cd), nickel-hydrogen (Ni—H), lithium-ion (Li-Ion), and nickel metal-hydride (Ni—MH). Also, a Constant Current-Constant Voltage (CC-CV) charging algorithm is common for most modern rechargeable batteries.
Typically, for a Li-Ion battery, battery charging is performed as follows. The supply voltage VDD is regulated to a fixed voltage throughout the battery charging. If the battery voltage is below a minimum safe operating voltage (e.g. 3.0V), the charge current is regulated to a constant current corresponding to 0.1 C, which is referred to as “pre-charge mode”. C represents battery capacity, typically measured in milliAmpere-hours (mA*hr). So, for a battery with a capacity of 1000 mA*hr, if the battery voltage is below the minimum safe operating voltage (e.g. 3.0V), then the charge current is regulated to 100 mA. Once the battery voltage reaches the minimum safe operating voltage, the charge current is regulated at a constant current corresponding to 1 C (e.g. 1 A, for a 1000 mA*hr battery). The battery charger remains in constant current (CC) mode, regulating the charge current to a constant current, until the battery voltage reaches the maximum safe operating voltage (e.g. 4.2V). At this point, the battery charger enters a constant voltage (CV) mode, where the battery voltage remains at 4.2V until the battery is fully charged.



BRIEF DESCRIPTION OF THE DRAWINGS
Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following drawings, in which:
FIG. 1 illustrates a block diagram of an embodiment of a system for power regulation and battery charging;
FIG. 2 shows a block diagram of an embodiment of the system of FIG. 1; and
FIG. 3 illustrates another embodiment of the system of FIG. 1, arranged in accordance with aspects of the present invention.



DETAILED DESCRIPTION
Various embodiments of the present invention will be described in detail with reference to the drawings, where like reference numerals represent like parts and assemblies throughout the several views. Reference to various embodiments does not limit the scope of the invention, which is limited only by the scope of the claims attached hereto. Additionally, any examples set forth in this specification are not intended to be limiting and merely set forth some of the many possible embodiments for the claimed invention.
Throughout the specification and claims, the following terms take at least the meanings explicitly associated herein, unless the context dictates otherwise. The meanings identified below do not necessarily limit the terms, but merely provide illustrative examples for the terms. The meaning of “a,” “an,” and “the” includes plural reference, and the meaning of “in” includes “in” and “on.” The phrase “in one embodiment,” as used herein does not necessarily refer to the same embodiment, although it may. The term “coupled” means at least either a direct electrical connection between the items connected, or an indirect connection through one or more passive or active intermediary devices. The term “circuit” means at least either a single component or a multiplicity of components, either active and/or passive, that are coupled together to provide a desired function. The term “signal” means at least one current, voltage, charge, temperature, data, or other signal. Where either a field effect transistor (FET) or a bipolar transistor may be employed as an embodiment of a transistor, the scope of the words “gate”, “drain”, and “source” includes “base”, “collector”, and “emitter”, respectively, and vice versa.
Briefly stated, the invention is related to a voltage regulation and battery charging system that may include a switching regulation selection control circuit, two switching regulator controller circuits, two power transistors, a common synchronous transistor, and a common LC circuit. The two switching regulator controller circuits may synchronously switch the two power transistors and the one common synchronous transistor. One of the switching regulator controller circuits may receive a voltage from an AC adapter and the other may receive a voltage from a USB port. Further, the switching regulation selection control circuit selects which of the two switching regulator controller circuits controls the regulation of the system output voltage employing the common LC filter.
FIG. 1 illustrates a block diagram of an embodiment of system 100 and external components. System 100 may include switching regulator controller circuit 111, switching regulator controller circuit 112, switching regulation selection control circuit 120, battery charger circuit 130, input ports 161 and 162, multiplexer circuit 140, and transistors M1-M3. The external components may include battery 190, capacitors CIN1 and CIN2, and power sources 181 and 182.
In one embodiment, switching regulator controller circuit 111, switching regulator controller circuit 112, switching regulation selection control circuit 120, multiplexer circuit 140, and transistors M1-M3 are on-chip; battery charger circuit 130 is on a separate chip; and inductor L1, capacitor Cout, battery 190, and power sources 181 and 182 are off-chip. In other embodiments, other arrangements may be employed. For example, in one embodiment, battery charger circuit 130 may be on the same chip as the switching regulator. As another example, in one embodiment, transistors M1-M3 are off-chip.
In operation, system 100 provides supply output voltage Vdd at node N4 to power an external load (not shown). Supply output voltage Vdd may be provided by converting an external power source (e.g. power source 181 or power source 182), or the external load may be powered by battery voltage Vbatt if an external power source is not connected. If a power source such as power source 181 and/or power source 182 is connected, system 100 is operable to charge battery 190. System 100 is connectable to battery 190 at battery node N5. In one embodiment, system 100 can simultaneously charge battery 190 and provide supply output voltage Vdd to the external load. In another embodiment, system 100 cannot provide voltage Vdd to the external load while battery 190 is charging.
In one embodiment, power source 181 is a wall adapter, a car adapter, or the like; and power source 182 is a USB port. In other embodiment, other external power sources may be employed.
System 100 is operable to employ switching regulation to provide voltage Vdd from any of at least two external power sources, including power source 181 and power source 182. Regardless of which external power source is used to provide voltage Vdd, in an inductive-based embodiment, inductor L1 and capacitor Cout are used in the switching regulation. Accordingly, in an inductive-based embodiment, system 100 is (at least) a dual-source charger which only requires one LC circuit. Also, inductor L1 is operable to provide inductor current IL1. Capacitor Cout is an output capacitor for the switching regulation.
Additionally, input port 161 is connectable to power source 181 at input node N1, and input port 162 is connectable to input port 162 at input node N2. Switching regulator selection control circuit 120 is operable to detect the presence of voltage at nodes N1 and N2. In one embodiment, voltage is not deemed to be “present” if the voltage at the node is too small to charge battery 190. If voltage is present at node N1, selection control circuit 120 selects switching regulator controller 111 to control the switching regulation. If voltage is present at node N2 but not present at node N1, selection control circuit 120 selects switching regulator controller circuit 112 to control the switching regulation.
In this way, in one embodiment, power source 181 is given priority over power source 182. If voltage is present at both node N1 and node N2, power source 182 is ignored, as all power is sourced from power source 181.
In one embodiment, transistors M1, M2, and M3 are coupled together at switch node N3 where signal SW is provided, and where signal SW is provided based on control of switching regulator controller circuit 111 or switching regulator controller circuit 112 depending on which was selected by switching regulation selection control circuit 120.
In one embodiment, if switching regulator selection control circuit 120 selects switching regulator controller circuit 111 for the switching regulation, signal EN1 is asserted and signal EN2 is unasserted. Also, in this embodiment, if switching regulator control circuit 120 selects switching regulator controller circuit 112 for the switching regulation, signal EN1 is unasserted and signal EN2 is asserted. Switching regulator controller circuit 111 is operable to be enabled if signal EN1 is asserted and disabled if signal EN1 is unasserted. Similarly, switching regulator controller circuit 112 is operable to be enabled if signal EN2 is asserted and disabled if signal EN2 is unasserted. Switching regulation selection control circuit 120 includes a logic state machine to control timing of the event where one switching regulator controller circuit cedes control to the other.
In other embodiments, the disabling function may be accomplished in a different manner than described above. For example, in one embodiment, an output of the switching regulator to be disabled or a signal path to the output may be disabled by opening a switch in the signal path. In this way, the switching regulator controller to be disabled (i.e. the one that was not selected for regulation) does not control the switching regulation.
Switching regulator controller circuit 111 is operable to, when enabled, provide switch control signal SCTL1 based, in part, on feedback signal FB. In a synchronously-rectified embodiment, switching regulator controller circuit 111 is further operable to provide switch control signal SCTL2. Embodiments of switching regulator controller circuit 111 may employ any switching regulation method known in the art, such as pulse width modulation (PWM), constant on-time (COT), hysteretic control, or the like.
Also, transistor M1 is a power transistor that operates as a switch circuit that opens and closes responsive to signal SCTL1.
Switching regulator controller circuit 112 and transistor M2 operate in a similar manner to switching regulator controller circuit 111 and transistor M1 as described above, except that transistor M1 is coupled to node N1, and transistor M2 is coupled to node N2.
In an asynchronously-rectified embodiment of system 100, multiplexer 140 and transistor M3 are not included in system 100, and signal SEL is not provided. However, in one synchronously-rectified embodiment of system 100, switching regulation selection control circuit 120 provides signal SEL for multiplexing signals SCTL2 and SCTL4, based on which of the switching regulator controller circuits is selected to control the switching regulation. Further, transistor M3 operates as a synchronous switch that opens and closes responsive to the output of multiplexer circuit 140.
In one embodiment, battery charger circuit 130 is operable to charge battery 190 by regulating charge current Ichg and/or battery voltage Vbatt. In one embodiment, battery 190 is a Lithium-Ion (Li-Ion) battery, and battery charger circuit 130 is operable to perform a CC-CV charging algorithm.
Although one arrangement of system 100 is illustrated in FIG. 1 and described above, other embodiments of system 100 may be employed. For example, although FIG. 1 illustrates an inductive-based switching regulation for the regulation of voltage VDD, in other embodiment, switched-capacitor based regulation may be employed. In this case, system 100 is (at least) a dual source charger that shares a single set of capacitors, rather than sharing an LC circuit.
Also, although system 100 is shown as selecting between two external power sources in FIG. 1, in other embodiments, system 100 may select between more than two external power sources, the regulation of each of the external power sources sharing a single LC circuit (for an inductive-based switching regulator) or a single set of capacitors (for a switched-capacitor based switching regulator). Further, although a buck switching regulator architecture is illustrated in FIG. 1, in other embodiments, a boost architecture, a buck-boost architecture, a flyback architecture, or the like may be employed.
Also, although system 100 is shown with two switching regulator controllers having separate high-side switches and sharing a synchronous switch (e.g. transistor M3) and an LC circuit, in another embodiment, two switching regulator controller each have a separate high-side switch and a separate synchronous switch and share an LC circuit. Additionally, as previously discussed, although a synchronously-rectified embodiment is shown in FIG. 1, asynchronously-rectified embodiments may also be employed. These embodiments and others are within and scope and spirit of the invention.
FIG. 2 shows a block diagram of an embodiment of power regulation and battery charging system 200 and embodiments of external components. System 200 may be employed as an embodiment of system 100 of FIG. 1. System 200 shows an asynchronously-rectified embodiment; as previously discussed, both synchronously-rectified and asynchronously-rectified embodiments are within the scope and spirit of the invention. System 200 may further include resistor R1 and amplifier 250. An embodiment of battery charger circuit 230 includes linear regulator controller circuit 231 and transistor M4. An embodiment of battery 290 includes Li-Ion cell 291. In one embodiment, battery 290 is a single-cell Li-Ion battery. AC adapter 281 is an embodiment of power source 181 of FIG. 1, and signal CHG_IN is an embodiment of voltage VIN1 of FIG. 1. Similarly, USB port 282 is an embodiment of power source 182 of FIG. 1, and voltage VBUS is an embodiment of voltage VIN2 of FIG. 1. In one embodiment, a car adapter, or the like, may be used in place of AC adapter 281.
In one embodiment, amplifier 250 and resistor R1 are arranged for current sensing to support load sharing between the system and battery 290. Transistor M4 operates as a pass transistor. Transistor M4 and linear regulator controller circuit 231 operate together as a linear regulator.
Transistors M1, M2, and M4 each include a tub switch to couple the bulk to the either the drain or the source, whichever has the higher voltage. In one embodiment, switching regulator controller circuit 212 has a configurable 100/500/800/1000 mA current limit.
Inductor L1 and Capacitor Cout operate together as a single common LC filter for switching regulator controller circuit 211 and switching regulator controller circuit 212. Inductor L1 includes exactly one inductor, or two or more capacitor arranged in series and/or in parallel to operate as one inductor. Capacitor Cout includes exactly one capacitor, or two or more capacitor arranged in series and/or in parallel to operate as one capacitor.
FIG. 3 illustrates an embodiment of power regulation and battery charging system 300, which may be employed as an embodiment of system 100 of FIG. 1. In system 300, battery 390 is coupled directly to the supply output at node N4.
In system 200 of FIG. 2, switching regulator controllers 211 and 212 are operable to regulate voltage Vdd to a substantially constant voltage. Although over-current protection may be implemented in one embodiment, constant current regulation is not performed by the switching regulation in system 200. Instead, constant current regulation is performed by battery charger circuit 230.
In contrast, switching regulator controller circuits 311 and 312 of FIG. 3 are operable to perform constant current regulation. In an embodiment in which battery 390 is a Li-Ion battery, switching regulator controller circuits 311 and 312 are each operable to perform a CC-CV charging algorithm. For system 300, during charging of battery 390, the load is not powered, and current IL1 is the charge current for the battery.
The above specification, examples and data provide a description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention also resides in the claims hereinafter appended.

## Claims

1. A circuit for regulation, comprising:
a first switch circuit that is coupled between a first input node and a switch node, wherein the first switch circuit has at least a control input, and wherein a first power source is connectable to the first input node;
a first switching regulator controller circuit having at least a feedback input and an output, wherein the output of the first switching regulator controller circuit is coupled to the control input of the first switch circuit;
a second switch circuit that is coupled between a second input node and the switch node, wherein the second switch circuit has at least a control input, and wherein a second power source is connectable to the second input node;
a second switching regulator controller circuit having at least a feedback input and an output, wherein the output of the second switching regulator controller circuit is coupled to the control input of the second switch circuit; and
a switching regulator selection control circuit having at least a first input and a second input, wherein the first input of the switching regulator selection control circuit is coupled to the first input node; the second input of the switching regulator selection control circuit is coupled to the second input node; and wherein the switching regulator selection control circuit is operable to control a disabling that is associated with the second switching regulator controller circuit if voltage is present at the first input of the switching regulator selection control circuit, and further operable to control a disabling that is associated with the first switching regulator controller circuit if voltage is present at the second input of the switching regulator selection control circuit and voltage is not present at the first input of the switching regulator selection control circuit.

2. The circuit of claim 1, further comprising:
a synchronous switch circuit that is coupled between the switch node and ground, wherein the synchronous switch circuit has a control input, the first switching regulator controller circuit further has at least a second output, the second switching regulator controller circuit further has at least a second output, and wherein the switching regulator selection control circuit has at least a select output; and
a multiplexer circuit having at least: a first input that is coupled to the second output of the first switching regulator controller circuit, a second input that is coupled to the second output of the second switching regulator controller circuit, a select input that is coupled to the select output of the switching regulator selection control circuit, and an output that is coupled to the control input of the synchronous switch circuit.

3. The circuit of claim 1, further comprising:
a first synchronous switch circuit that is coupled between the switch node and ground, wherein the first synchronous switch circuit has a control input, the first switching regulator controller circuit further has at least a second output, the second switching regulator controller circuit further has at least a second output, and wherein the second output of the first switching regulator controller circuit is coupled to the control input of the first synchronous switch circuit; and
a second synchronous switch circuit that is coupled between the switch node and ground, wherein the second synchronous switch circuit has a control input, and wherein the second output of the second switching regulator controller circuit is coupled to the control input of the second synchronous switch circuit.

4. The circuit of claim 1, further comprising a diode that is coupled to the switch node.

5. The circuit of claim 1, further comprising a battery charger circuit, wherein the switching regulator selection control circuit controls selection between the first switching regulator controller circuit or the second regulator controller circuit to control regulation of an output voltage that is provided at a supply output node, the battery charger circuit is coupled between the supply output node and a battery node, and wherein the battery charger circuit is operable to charge a battery by regulating at least one of a voltage of the battery or a charge current.

6. The circuit of claim 1, wherein the first switching regulator controller circuit is a buck controller, and wherein the second switching regulator controller circuit is another buck controller.

7. The circuit of claim 1, wherein the first switching regulator controller circuit and the second switching regulator controller circuit share a single common LC filter for the regulation, at most one of the first and second switching controller circuits is enabled at a time based on the disabling control provided by the switching regulator selection control circuit, the feedback input of the first switching regulator controller circuit is coupled to the common LC filter, and wherein the feedback input of the second switching regulator controller circuit is coupled to the feedback input of the first switching regulator controller circuit.

8. The circuit of claim 7,
wherein the common LC filter has either: exactly one inductor; or a plurality of inductors arranged in series and/or in parallel to operate as exactly one inductor; and
wherein the common LC filter has either: exactly one capacitor; or a plurality of capacitors arranged in series and/or in parallel to operate as exactly one capacitor.

9. The circuit of claim 1, wherein the second power source is a USB port.

10. The circuit of claim 9, wherein the first power source is a wall adapter or a car adapter.

11. The circuit of claim 5, further comprising:
a switching regulator that is operable to provide the output voltage at the supply output node, wherein the switching regulator includes:
the first switch circuit;
the second switch circuit;
the first switching regulator controller;
the second switching regulator controller;
the switching regulator controller selection circuit;
a first input port that is operable to receive power from an adapter if an adapter is connected to the first input port; and
a second input port that is operable to receive power from a USB port if a USB port is connected to the second input port, wherein

the first input port is coupled to the first input of the switching regulator selection control circuit; the second input port is coupled to the second input of the switching regulator selection control circuit; the switching regulator selection control circuit further has at least a first enable output and a second enable output; the first input of the switching regulator selection control circuit is coupled to the first input port; the second input of the switching regulator selection control circuit is coupled to the second input port; the switching regulator selection control circuit is operable to provide a first enable signal at the first enable output of the switching regulator section control circuit such that the first enable signal is asserted if voltage is present at the first input port and unasserted otherwise, and further operable to provide a second enable signal at the second enable output of the switching regulator selection control circuit such that the second enable signal is asserted if: voltage is present at the second input port and voltage is not present at the first input port; the first switching regulator controller circuit further has at least an enable input; the enable input of the first switching regulator controller circuit is coupled to the first enable output of the switching regulator selection control circuit; the first switching regulator controller circuit is operable such that the first switching regulator controller circuit is enabled if the first enable signal is asserted, and disabled otherwise; the second switching regulator controller circuit further has at least an enable input; the enable input of the second switching regulator controller circuit is coupled to the second enable output of the switching regulator selection control circuit; the feedback input of the second switching regulator controller circuit is coupled to the feedback input of the first switching regulator controller circuit; and wherein the second switching regulator controller circuit is operable such that the second switching regulator controller circuit is enabled if the second enable signal is asserted, and disabled otherwise.

12. The circuit of claim 11, wherein the first switching regulator controller circuit and the second switching regulator controller circuit share a single common LC filter for the regulation, at most one of the first and second switching controller circuits is enabled at a time based on the disabling control provided by the switching regulator selection control circuit, and wherein the feedback input of the first switching regulator controller circuit is coupled to the common LC filter.

13. The circuit of claim 11, wherein the switching regulator further includes:
a synchronous switch circuit that is coupled between the switch node and ground, wherein the synchronous switch circuit has a control input, the first switching regulator controller circuit further has at least a second output, the second switching regulator controller circuit further has at least a second output, and wherein the switching regulator selection control circuit has at least a select output; and
a multiplexer circuit having at least: a first input that is coupled to the second output of the first switching regulator controller circuit, a second input that is coupled to the second output of the second switching regulator controller circuit, a select input that is coupled to the select output of the switching regulator selection control circuit, and an output that is coupled to control input of the synchronous switch circuit.

14. The circuit of claim 11, wherein the switching regulator further includes a diode that is coupled to the switch node.