In operation, when the switch 103 is turned on and the switch 105 is turned off, the power system 100 operates in a battery charging process. The adapter 102 delivers the DC voltage VAD to charge the battery 110 and can also power the LED 108. The charger 106 provides proper charging power to the battery 110. The DC/DC converter 104 receives the DC voltage VAD and provides the LED 108 with regulated power. When the switch 105 is turned on and the switch 103 is turned off, the battery 110 provides power to the LED 108 via the DC/DC converter 104.
However, there are two power chains in the power system 100. One power chain includes the charger 106, and the other includes the DC/DC converter 104. These two power chains increase the power consumption of the power system 100, thereby reducing the system power efficiency. These two power chains also increase the complexity of the power system 100. In addition, with the use of both the charger 106 and the DC/DC converter 104, the size of the printed circuit board (PCB) may be relatively large, which increase the cost of the power system 100.
In one embodiment, a power system includes a first power source having a first voltage, a second power source having a second voltage, and a controller. The controller is coupled to the first power source and the second power source. The controller compares the first voltage with the second voltage, controls the first power source to charge the second power source via a first switch and a second switch in a charging mode when the first voltage is greater than said second voltage, and controls the second power source to power a load such as a light-emitting diode (LED) light source via the second switch and a third switch in a load-powering mode when the second voltage is greater than the first voltage.
Features and advantages of embodiments of the subject matter will become apparent as the following detailed description proceeds, and upon reference to the drawings, wherein like numerals depict like parts, and in which:
Reference will now be made in detail to the embodiments of the present invention. While the invention will be described in conjunction with these embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention.
Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be recognized by one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.
In one embodiment, the controller 206 includes an output terminal CTR1 to control the on/off status of the switch 203, an output terminal CTR2 to control the on/off status of the switch 205, and an output terminal CTR3 to control the on/off status of the switch 207. By way of example, the switch 203, 205 or 207, e.g., an N-channel MOSFET, is on when a control signal from the corresponding output terminal CTR1, CTR2 or CTR3 is logic high, and is off when the control signal is logic low. The controller 206 can further include an input terminal VAD to detect the voltage VAD from the adapter 202, an input terminal VBAT to detect the battery voltage VBAT, an input terminal ICHG cooperating with the terminal VBAT for sensing a charging current ICHG from the adapter 202 to the battery 210 by monitoring a voltage V216 across a sense resistor 216, a terminal VLED for receiving a signal indicative of a voltage VLED at the anode of the LED light source 208, a terminal ILED cooperating with the terminal VLED for sensing a current ILED flowing through the LED light source 208 by monitoring a voltage V212 across a sense resistor 212, and a terminal UVLS coupled to a resistor divider 230 for receiving a voltage VUVLS indicative of the battery voltage VBAT, e.g., the voltage VUVLS is proportional to the battery voltage VBAT. In one embodiment, the controller 206 adjusts an adjustable reference voltage VADJ based on the voltage VUVLS. The controller 206 can adjust the current ILED flowing through the LED light source 208 according to the adjustable reference voltage VADJ. Moreover, the controller 206 can include a terminal STATUS for indicating a status of the battery 210, e.g., whether the battery 210 is fully charged or not.
When the adapter 202 is coupled to a power source, e.g., a 120V commercial power supply, the adapter 202 converts a voltage from the power source to a DC voltage VAD. The controller 206 compares the DC voltage VAD with the battery voltage VBAT. In one embodiment, when the DC voltage VAD is greater than the battery voltage VBAT and the battery 210 is not fully charged, e.g., the battery voltage VBAT is less than a threshold, the power system 200 operates in the charging mode.
Referring back to
In one embodiment, the controller 206 monitors the battery voltage VBAT and a charging current of the battery 210 to control the charging process of the battery 210. More specifically, the controller 206 compares the battery voltage VBAT with a predetermined threshold VTH and controls a duty cycle of the switch 203 to adjust charging power from the adapter 202 to the battery 210 in the charging mode. When the battery voltage VBAT is less than the predetermined threshold VTH, the controller 206 controls the switch 203 and the switch 207 to charge the battery 210 in the constant-current phase, in which a substantially constant current is used to charge the battery 210. For example, when the voltage V216 across the sense resistor 216 is greater than a reference voltage VBATREF, e.g., the charging current ICHG is greater than a predetermined charging current IBATREF, the controller 206 decreases the charging current ICHG by decreasing the duty cycle of the switch 203; when the voltage V216 across the sense resistor 216 is less than the reference voltage VBATREF, e.g., the charging current ICHG is less than the predetermined charging current IBATREF, the controller 206 increases the charging current ICHG by increasing the duty cycle of the switch 203. If, however, the battery voltage VBAT increases to the predetermined threshold VTH, the controller 206 controls the switch 203 and the switch 207 to charge the battery 210 in the constant-voltage phase, in which the charging voltage is maintained at the predetermined threshold VTH, in one embodiment.
The controller 206 can also monitor parameters, e.g., a voltage, temperature and a current, of the battery 210 to determine if an abnormal or undesired condition occurs. In one embodiment, the controller 206 compares the sensed battery voltage VBAT with an over-voltage threshold VOV to determine if an over-voltage condition occurs. If the sensed battery voltage VBAT is greater than the over-voltage threshold VOV, the controller 206 turns off the switch 203 and the switch 207 to terminate charging of the battery 210, in one embodiment.
The controller 206 can also compare a signal, e.g., the voltage V216 across the resistor 216, indicative of the charging current ICHG, with a predetermined threshold VOC representative of an over-charging current IOC to determine if an over-current condition occurs. If the voltage V216 across the resistor 216 is greater than the predetermined threshold representative the over-charging current IOC, the controller 206 turns off the switches 203 and 207 to terminate charging of the battery 210, in one embodiment.
The controller 206 can also compare a signal from a thermistor (not shown in
In the charging mode, the controller 206 can detect the battery resistance RBAT according to the battery voltage VBAT and the charging current ICHG, as shown in equation (1):
R
BAT
=V
BAT/
I
CHG. (1)
The controller 206 can thus determine the battery type based on the battery resistance RBAT. If the battery type determined by the controller 206 is a non-rechargeable battery, e.g., alkaline battery, the controller 206 terminates charging of the batter 210 to protect the battery 210 and the power system 200.
In addition, the power system 200 can operate in the load-powering mode.
In the load-powering mode, the switches 205 and 207, the inductor 214, and capacitors 211 and 213 can operate as a buck-boost converter to power the LED light source 208. More specifically, when the switch 207 is on and the switch 205 is off, the battery 210 charges the inductor 214. When the switch 207 is off and the switch 205 is on, the battery 210 together with the inductor 214 provides power to the LED light source 208. In one such embodiment, by turning on the switches 205 and 207 alternately with an adjustable duty cycle, a voltage V1 that is greater than the battery voltage VBAT is generated at a terminal of the LED light source 208. Thus, the voltage V208 across LED light source 208 is equal to a voltage V1 minus the battery voltage VBAT. In one embodiment, by the operation of the buck-boost converter, the voltage V208 can be adjusted to be greater than the battery voltage VBAT or less than the battery voltage VBAT. As such, the power system 200 can power various types and numbers of load and thus the flexibility of the power system 200 is enhanced.
In one embodiment, the controller 206 monitors the current ILED flowing though the LED light source 208 via the terminals VLED and ILED, and controls a duty cycle of the switch 207 to adjust the current ILED according to the adjustable reference voltage VADJ.
Returning back to
If the voltage V212 is less than the adjustable reference voltage VADJ, e.g., the current ILED decreases, the controller 206 increases the duty cycle of the switch 207 to increase the current ILED. As a result, the current ILED flowing through the LED light source 208 is adjusted according to the adjustable reference voltage VADJ as described in relation to
Advantageously, because the switches 203, 205 and 207, the inductor 214, and the capacitors 211 and 213 can operate as a buck converter and a buck-boost converter in the charging mode and the load-powering mode, the flexibility of the power system 200 is improved. The power system 200 can support various types of loads and power sources. Moreover, the two power chains, e.g., the charger 106 and the converter 104, in the conventional power system 100 are replaced by one power chain, e.g., the converter that includes the control circuit 220. Accordingly, the power consumption of the power system 200 decreases. The complexity of the power system 200 decreases, which enhances the reliability of the power system 200. In addition, the size of the PCB and the cost of the power system 200 are reduced.
In one embodiment, the comparator 413 compares the battery voltage VBAT at the terminal VBAT with the DC voltage VAD at the terminal VAD and generates a comparison signal to enable or disable the error amplifiers 415, 416 and 419. A negative terminal of a current source 446, an output of the error amplifier 415 and an output of the error amplifier 419 are coupled to a common node, in one embodiment. In one such embodiment, the error amplifier 415 and the error amplifier 419 are OR-tied together. In one embodiment, the comparator 413 enables the error amplifiers 415 and 419 in the charging mode when the DC voltage VAD is greater than the battery voltage VBAT, and enables the error amplifier 416 in the load-powering mode when the DC voltage VAD is less than the battery voltage VBAT. The error amplifier 415, when enabled, compares a signal indicative of the charging current to the battery 210, e.g., a signal from the subtractor 434 representative of the voltage V216 across the resistor 216, with a reference voltage signal VBATREF, and controls an output voltage VCMP1 at the common node according to the comparison. The error amplifier 419, when enabled, compares the battery voltage VBAT with the predetermined threshold VTH, and controls the output voltage VCMP1 at the common node according to the comparison. The error amplifier 416, when enabled, compares a signal indicative of the current through the LED light source 208, e.g., a signal from the subtractor 436 representative of the voltage V212 across the resistor 212, with an adjustable reference voltage signal VADJ and controls an output voltage VCMP2 according to the comparison. The selector 414, coupled to the error amplifiers 415, 419 and 416, selects an output voltage from the output voltages VCMP1 and VCMP2 and outputs the selected output voltage as an output voltage VTOP, in one embodiment. More specifically, when the error amplifiers 415 and 419 are enabled by the comparator 413, e.g., when the DC voltage VAD is greater than the battery voltage VBAT, the selector 414 selects the output voltage VCMP1. When the error amplifier 416 is enabled by the comparator 413, e.g., when the DC voltage VAD is less than the battery voltage VBAT, the selector 414 selects the output voltage VCMP2. The output voltage VTOP is received by the comparator 417.
An input of the adder 431 is coupled to the amplifier 432 to receive a signal VSEN representative of a current ISW flowing through the inductor 214, and another input of the adder 431 is coupled to the ramp generator 433 to receive a ramp signal RAMP, in the example of
During operation, when the DC voltage VAD is greater than the battery voltage VBAT, the output of the comparator 413 is in a first state, e.g., logic high, thereby enabling the power system 200 to operate in the charging mode in which the error amplifiers 415 and 419 are enabled while the error amplifier 416 is disabled. In the charging mode, the AND gate 422 controls the switch 205 to be turned off. The flip-flop 412, together with the AND gate 421, alternately turns on the switches 203 and 207. The flip-flop 412 further controls the duty cycles of the switches 203 and 207 according to a comparison of the signal VSW with the output voltage VTOP from the selector 414 to control the charging power to the battery 210.
More specifically, in the charging mode, when the battery voltage VBAT is less than the predetermined threshold VTH, the control circuit 220 controls the switches 203 and 207 to charge the battery 210 in a constant-current phase, in one embodiment. The error amplifier 415 compares a signal indicative of the charging current to the battery 210, e.g., voltage V216 across the resistor 216, with the reference voltage signal VBATREF, and controls the output voltage VCMP1. The selector 414 selects the output voltage VCMP1 as the output voltage VTOP. As such, the flip-flop 412 controls the duty cycles of the switches 203 and 207 according to a comparison of the selected output voltage VTOP with the signal VSW.
When the battery voltage VBAT reaches the predetermined threshold VTH, the control circuit 220 can control the switches 203 and 207 to charge the battery 210 in a constant-voltage phase. In the constant-voltage phase, the error amplifier 419 compares the battery voltage VBAT with the predetermined threshold VTH, and controls the output voltage VCMP1. For example, when the battery voltage VBAT is greater than the predetermined threshold VTH, the output voltage VCMP1 decreases. Thus, the output voltage VTOP decreases accordingly. As a result, the duty cycle of the switch 203 decreases, and the charging voltage of the battery 210 decreases accordingly. Therefore, the charging voltage is adjusted to the predetermined threshold VTH in the constant-voltage phase.
When the DC voltage VAD is less than the battery voltage VBAT, the output of the comparator 413 is in a second state, e.g., logic low, thereby enabling the power system 200 to operate in the load-powering mode in which the error amplifiers 415 and 419 are disabled while the error amplifier 416 is enabled. In the load-powering mode, the switch 203 is turned off by the AND gate 421. The flip-flop 412, together with the AND gate 422, alternately turns on the switches 205 and 207. The flip-flop 412 further controls the duty cycles of the switches 205 and 207 according to a comparison of the signal VSW with the output voltage VTOP from the selector 414 to control the current ILED through the LED light source 208.
More specifically, in the load-powering mode, the error amplifier 416 compares a signal indicative of the current through the LED light source 208, e.g., the voltage V212 across the resistor 212, with the adjustable reference voltage signal VADJ adjusted by the voltage adjustor 440 based on the voltage VUVLS. In one embodiment, the voltage VUVLS is indicative of the battery voltage VBAT, e.g., proportional to the battery voltage VBAT. When the voltage VUVLS is greater than a first threshold V1, the adjustor 440 adjusts the adjustable reference voltage VADJ to a first constant voltage level VLED1. When the voltage VUVLS is less than a second threshold V2, the adjustor 440 adjusts the adjustable reference voltage VADJ to a second constant voltage level VLED2. When the voltage VUVLS is less than the first threshold V1 but greater than the second threshold V2, the adjustor 440 adjusts the adjustable reference voltage VADJ to vary linearly according to the voltage VUVLS. Because the voltage VUVLS is proportional to the battery voltage VBAT, the adjustable reference voltage VADJ varies linearly according to the battery voltage VBAT.
The error amplifier 416 controls the output voltage VCMP2 according to the comparison of voltage V212 across the resistor 212 with the adjustable reference voltage signal VADJ. The selector 414 selects the output voltage VCMP2 as the output voltage VTOP. As such, the flip-flop 412 controls the duty cycles of the switches 205 and 207 according to a comparison of the selected output voltage VTOP with the signal VSW.
The control circuit 220 can further protect the power system 200 by terminating charging of the battery when an abnormal or undesired condition occurs, e.g., an over-current condition, an over-voltage condition, and an over-temperature condition. In one embodiment, the control circuit 220 can include a comparator (not shown in
The control circuit 220 can further detect the type of the battery 210 and terminate charging the battery 210 if the battery is a non-rechargeable battery, e.g., alkaline battery. As such, the control circuit 220 protects the battery 210 and the power system 200.
In block 602, a power system, e.g., the power system 200, compares a first voltage of a first power source with a second voltage of a second power source, e.g., a battery. When the first voltage of the first power source is greater than the second voltage of the second power source, the power system 200 can operate in a first mode, e.g., a charging mode. When the first voltage of the first power source is less than the second voltage of the second power source, the power system 200 can operate in a second mode, e.g., a load-powering mode.
If the power system 200 operates in the charging mode, the flowchart goes to block 604. In block 604, the power system 200 alternately turns on a first switch 203 and a second switch 207 to charge the second power source, e.g., a battery 210, and turns off a third switch 205. In block 606, the power system 200 adjusts the duty cycles of the first switch 203 and the second switch 207 to adjust charging power from the first power source to the second power source.
More specifically, when the voltage of the second power source, e.g., the battery voltage VBAT, is less than a predetermined threshold VTH, the power system 200 charges the second power source in a constant-current phase. In the constant-current phase, the power system 200 compares the charging current ICHG with a predetermined charging current IBATREF. When the charging current ICHG is greater than the predetermined charging current IBATREF, the power system 200 decreases the duty cycle of the first switch 203 to decrease the charging current ICHG. When the charging current ICHG is less than the predetermined charging current IBATREF, the power system 200 increases the duty cycle of the first switch 203 to increase the charging current ICHG. Therefore, the charging current ICHG is adjusted to the predetermined charging current IBATREF.
When the voltage of the second power source, e.g., the battery voltage VBAT, reaches the predetermined threshold VTH, the power system 200 charges the second power source in a constant-voltage phase. In the constant-voltage phase, the power system 200 compares the battery voltage VBAT with the predetermined threshold VTH, and controls the duty cycles of the switches 203 and 207 such that the charging voltage is adjusted to the predetermined threshold VTH. Therefore, the second power source is charged in the constant-voltage phase.
If the power system 200 operates in the load-powering mode, the flowchart goes to block 603. In block 603, the power system 200 turns off a first switch 203 and alternately turns on the second switch 207 and the third switch 205 to provide power to a load, e.g., an LED light source 208. In block 605, the power system 200 adjusts the duty cycles of the second and third switches 207 and 205 according to the comparison of the current ILED flowing through the LED light source 208 with an adjustable reference current IADJ. In one embodiment, the adjustable reference current IADJ is adjusted based a voltage VUVLS proportional to the battery voltage VBAT. The adjustable reference current IADJ is adjusted to a first predetermined current ILEDREF1 when the voltage VUVLS is greater than a first threshold V1. The adjustable reference current IADJ is adjusted to a second predetermined current ILEDREF2 when the voltage VUVLS is less than a second threshold V2. The adjustable reference current IADJ is adjusted to vary linearly with the voltage VUVLS and the battery voltage VBAT when the voltage VUVLS is less than the first threshold V1 but greater than the second threshold V2.
When the current ILED is greater than the adjustable reference current IADJ, the power system 200 decreases the duty cycle of the second switch 207 to decrease the current ILED flowing through the LED light source 208. When the current ILED is less than the adjustable reference current IADJ, the power system 200 increases the duty cycle of the second switch 207 to increase the current ILED. Therefore, the current ILED is adjusted according to the adjustable reference current IADJ. Therefore, the current ILED is adjusted to the first predetermined current ILEDREF1 when the voltage VUVLS is greater than the first threshold V1 and is adjusted to the second predetermined current ILEDREF2 when the voltage VUVLS is less than the second threshold V2. The current ILED can also be adjusted to vary linearly with the battery voltage VBAT when the voltage VUVLS is greater than the second threshold V2 but less than the first threshold V1.
While the foregoing description and drawings represent embodiments of the present invention, it will be understood that various additions, modifications and substitutions may be made therein without departing from the spirit and scope of the principles of the present invention. One skilled in the art will appreciate that the invention may be used with many modifications of form, structure, arrangement, proportions, materials, elements, and components and otherwise, used in the practice of the invention, which are particularly adapted to specific environments and operative requirements without departing from the principles of the present invention. The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, and not limited to the foregoing description.
This application claims priority to U.S. Provisional Application No. 61/413,578, titled “Power Systems with Multiple Power Sources,” filed on Nov. 15, 2010, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61413578 | Nov 2010 | US |