Not Applicable
Not Applicable
The present invention relates generally to battery chargers and more specifically to a system and method for verifying that a USB port has sufficient power to charge a rechargeable battery at a predetermined source current level while maintaining a minimum specified output voltage.
USB ports are provided in most presently manufactured desktop and laptop computers and are commonly used to interface peripheral devices to such computers. Due to the ubiquitous nature of USB ports in a computing environment, it is desirable to utilize such ports as a power source for the charging of rechargeable batteries. However, prior to the coupling of the USB port to a rechargeable battery it is desirable to verify that the specific USB port being used has sufficient power that to charge the rechargeable battery while avoiding possible avoid damage that to USB port circuitry.
Other solutions to this problem rely on the USB controller to identify the USB type by a complex data evaluation process. It would therefore be desirable to have a simple, effective and reliable technique for verifying that the USB port to be utilized in the battery charging process has sufficient power prior to the initiation of charging.
In accordance with the present invention a system and method is disclosed for verifying that a power source, such as a USB port, has sufficient power to charge a rechargeable battery. A controller is coupled to the USB port and to the rechargeable battery. The controller controls the application of source current from the USB port to the rechargeable battery by ramping the source current from the USB port in a controlled manner until the source current reaches a predetermined peak source current. While ramping the source current, the controller monitors the USB port output voltage. In the event the USB port output voltage decreases to a specified threshold voltage VIN(MIN) before the source current reaches the predetermined peak source current, the source current is disconnected from the rechargeable battery so as to discontinue the charging process since the decrease of the USB port output voltage indicates that the port is in a suspended state or has insufficient power to charge the battery. After removal of the source current from the rechargeable battery and after a predetermined delay interval, the controller repeats the above-described detection process. If the USB port output voltage does not decrease to the minimum specified threshold voltage Vin(min) by the time the source current reaches the predetermined peak source current, the controller permits the peak source current to continue to be provided from the power source to the rechargeable battery.
The present invention will be more fully understood by reference to the following Detailed Description of the Invention in conjunction with the drawings of which:
a is a more detailed block diagram of a first exemplary embodiment of input power source detection circuitry employing a PWM current source for use in the system of
b is a block diagram of a second exemplary embodiment of input power source detection circuitry employing a linear current source for use in the system of
In accordance with the present invention, a method and system are disclosed for verifying that a USB port can source a predetermined peak source current without causing the USB output port voltage to drop below a predetermined minimum threshold voltage. The presently disclosed method and system are described below with reference to
Referring to
In response to a power on reset (POR) signal, the detection circuitry 110 loads a register (not shown) with a value that corresponds to a peak charging current ILOAd(PEAK). The peak charging current is the maximum current that is to be utilized for the charging of the rechargeable battery 120. The signal VBUS is coupled to a current source 130 within the detection circuitry 110. The current source 130 is controlled so as to ramp the charging current provided by the output port and applied to the rechargeable battery 110 during an interval TRISE from an initial charging current, such as 0 milliamps, to a final charging current which corresponds to the peak charging current ILOAd(PEAK) as illustrated in the lower portion of
The comparator 134 output is also coupled to delay circuitry 136. In the event the comparator 134 generates the signal VIN
The current source 130 employed in the detection circuitry 110 may be implemented using a pulse width modulator (PWM) in which case the current control circuitry 132 includes the circuitry to provide appropriate pulse width modulation to generate the proper current as the source current is ramped from the initial charging current to the peak charging current. In this regard, a current sensing resistor 138 may be provided in series between the current source and the rechargeable battery to provide an indication to the current control circuitry 132 of the current supplied by the current source.
A more detailed block diagram illustrating input power source detection circuitry 110a that employs pulse width modulation for control of the source current is depicted in
The output from the PWM switching transistors Q2 and Q3 represents a signal that is generally a pulse width modulated waveform. This signal is coupled to an inductor-capacitor filter L1-C1 to provide DC smoothing. The output of the inductor-capacitor filter is coupled to one end of a sense resistor R! and the other end of the sense resistor R1 is coupled to the rechargeable battery 120. Connections on either end of the sense resistor R! are fed back to the controller 132a to provide an indication of the charging current to the PWM control circuitry 132a.
In another embodiment illustrated in
A method of operation in accordance with the presently disclosed invention is depicted in
If the USB port output voltage does not decrease below the minimum threshold voltage VIN(MIN), the charging current supplied by the USB port continues to increase until the charging current reaches of the current ILOAD(PEAK) which corresponds to the maximum charging current specified by the stored value within the register. Once the charging current reaches the peak charging current ILOAD(PEAK), the detection circuitry 110 continues to source charging current from the USB port at the peak charging current. More specifically, if the charging current applied to the rechargeable battery 120 by the detection circuitry 110 reaches the peak charging current and the USB output port voltage has not decreased below a predetermined threshold voltage VIN(MIN) charging of the rechargeable battery continues at the peak charging current as illustrated in step 410.
While the above-described system and method are discussed in terms of a Universal Serial Bus (USB) output port, it should be understood that the presently described detection circuitry and system may be employed with any power source that is employed to charge a rechargeable battery. It will be further apparent to those of ordinary skill in the art that modifications to and variations of the above-described system and method may be made without departing from the inventive concepts disclosed herein. Accordingly, the invention should not be viewed as limited except by the scope and spirit of the appended claims.
| Number | Name | Date | Kind |
|---|---|---|---|
| 6452364 | Saeki et al. | Sep 2002 | B1 |
| 20080258688 | Hussain et al. | Oct 2008 | A1 |
| Number | Date | Country | |
|---|---|---|---|
| 20090102429 A1 | Apr 2009 | US |