The present invention relates generally to battery-powered circuits for LEDs, and particularly to a system and method of driving LEDs.
Rechargeable batteries are utilized as a power source in a wide variety of electronic devices. In particular, rechargeable batteries are utilized in portable consumer electronic devices such as cellular telephones, portable computers, Global Positioning System (GPS) receivers, and the like. Many of these devices employ a rechargeable lithium ion battery, with a typical output voltage in the range of 3V to 4.2V.
A fairly recent development in solid state electronics is the development of the white-light LED. White LEDs offer significant advantages over alternative white-light sources, such as small incandescent bulbs or fluorescent lights. Among these are greater efficiency (resulting in lower heat generation and lower power consumption for a given level of illumination), increased operating life, and superior ruggedness and shock resistance. White LEDs are often employed in portable electronic devices, such as to back-light an LCD display screen. Like all LEDs, the intensity of light emitted by a white LED varies as a function of the DC current through it. In many applications, it is highly desirable to allow the user to adjust or select the light intensity. Additionally, where a plurality of white LEDs are employed, it is often desirable that they all be driven to the same intensity level.
The forward voltage drop of a white light LED is typically in the range of 3V to 3.8V. As this voltage drop is close to, or may exceed, the output voltage of a lithium ion battery, power for white LEDs is typically supplied from the battery through a DC-DC boost converter, such as a charge pump. These converters boost the output voltage of the battery to a level much greater than the forward voltage of the white LEDs. While this provides sufficient drive to power the LEDs, the inefficiency of the boost converter potentially wastes limited battery power.
With increasing power management sophistication, circuit miniaturization, low ambient power circuits, and the reduced bandwidth of many digital communications, portable electronic devices are often operated in a variety of “low-power” modes, wherein some features and/or circuits are inactive or operate at a reduced capacity. As one example, many newer cellular telephones include an “internet mode,” displaying text data (such as on an LCD screen) that is transmitted at a very low data rate as compared to voice communications, thus consuming low levels of power and extending battery life. A typical current budget for a cellular telephone in this mode is around 200 mA. Such a phone typically utilizes three white LEDs, at 20 mA each, to back-light the display. The LED current thus accounts for approximately 30% of the total battery current. In such an application, an efficient method of supplying power to the LEDs would have a significant effect on battery life.
Another challenging issue facing designers is that the forward voltage drop of white LEDs varies significantly. For example, two LEDs chosen at random from the same production run could have forward voltages that vary by as much as 200 mV. Thus, an efficient current supply design for biasing white LEDs, which preserves good current matching between diodes with different forward voltages, would represent a significant advance in the state of the art, as it would ensure uniform illumination.
In practice, this is problematic for at least two reasons. First, each white LED current source must impose only a very small voltage drop, and regulate a current value that may vary over an order of magnitude or more for brightness control. In addition, each LED will require a separate current source, due to the wide variation in forward voltage drops across white LEDs.
Second, as the battery output voltage drops towards the end of the battery's lifetime, a provision must be made for first detecting this condition, and then boosting the battery output to provide sufficient current to power all white LEDs at the required intensity level.
In one aspect, the present invention relates to a method of driving a plurality of LEDs in parallel, in at least two modes. In a first mode, the LEDs are driven with a first voltage, which may comprise a battery voltage. In a second mode, the LEDs are driven with a second, higher voltage, which may comprise a boost converter voltage. The method includes monitoring the forward voltage drop for each LED, and switching from the first mode to the second mode based on the largest of the LED forward voltage drops.
In another aspect, the present invention relates to a method of controlling the current through an LED. The method includes directing a first, predetermined current through a first digitally controlled variable resistance circuit, and directing a second current through a series circuit comprising the LED and a second digitally controlled variable resistance circuit having substantially a known ratio to the first variable resistance circuit. A digital count is altered based on a comparison of the first and second currents, and the first and second variable resistance circuits are simultaneously altered based on the digital count. In one embodiment, a digital counter is incremented or decremented based on a comparison of the voltage drops across the first and second variable resistance circuits.
In yet another aspect, the present invention relates to a method of independently controlling the current through a plurality of LEDs. Each LED is connected in series with a variable resistance circuit, and a current control source operative to alter the resistance of the variable resistance circuit so as to maintain the current through the LED at a known multiple of a local reference current. Each current control source is provided a master reference current determined by the value of a resistive element, and the master reference current is multiplied by a predetermined factor for each LED to generate the local reference current.
Power conditioning circuit 8 operates in two modes. In a first, or battery mode, VOUT is taken directly from VBATT, as depicted functionally by the position of switch 9. In the battery mode, the LEDs 16 are powered directly from the lithium ion battery 6. This mode is the most efficient, and will be employed throughout the majority of the lifetime of the battery 6 (e.g., the duration that VBATT exceeds 3.5V, as depicted in
In a second, or boost mode, in which mode the switch 9 would assume the opposite configuration as that depicted in
Although not depicted in
According to the present invention, the selection between the battery mode and the boost mode of the power conditioning circuit 8, indicated schematically by switch 9, and additionally selection between various boost factors in the various boost modes, is controlled by a comparison of the low voltage signal 24, VLOW, to a threshold value, depicted schematically in
Note that while this crossover point has been discussed, for convenience, with reference to
The current ILED flowing through the LED 16 is controlled by a current mirror comprising a variable current source 30 and a parallel array of switched resistive elements 34, corresponding to the parallel array of switched resistive elements 36 in series with the LED 16. The desired current ILED is a predetermined multiple of the reference current IREF supplied by the current source 30 under user control (as explained more fully herein).
The resistive elements, in one embodiment MOSFETs 36 and 34, are connected at their respective gates, and are carefully constructed on a semiconductor integrated circuit to have a predetermined size (and hence resistance) relationship. For example, in an embodiment depicted in
Each MOSFET 34, 36 in a matched pair 32 is constructed to maintain the same (e.g., 100X) size and, hence, resistance relationship—even though the actual size and hence resistance of the LED MOSFETs 36 (i.e, those that in parallel form the series resistance of current control circuit 18) differ from each other. That is, each LED MOSFET 36 in the parallel array is constructed to a different size and hence different resistance. In a preferred embodiment, the resistance values are binary weighted—for example, each successive LED MOSFET 36 in the parallel circuit exhibits twice (or half) the resistance of the previous LED MOSFET 36. Note that other relative weightings or multiples of resistance values are possible within the scope of the present invention.
Each successive reference MOSFET 34 in the parallel array, being matched in size to exhibit a resistance 100 times that of its mating LED MOSFET 36 in a matched pair 32, similarly is binary weighted, and will exhibit twice (or half) the resistance of the prior reference MOSFET 34. A significant benefit of the present invention is that the MOSFETs 34 and 36 of each matched pair 32 need only be matched in resistance to each other, and not to any other matched pair 32. This limitation dramatically improves yield and reduces manufacturing expense as compared to a solution in which each matched pair 32 must be matched to every other matched pair 32, or to a reference value. In this respect, those of skill in the art will note that the values of successive reference or LED MOSFETs 34 or 36 in a parallel array need exhibit only an approximate relationship—for example, approximately 2nX in the preferred embodiment case of binary weighting. The only matching that is critical is that within a given matched pair 32, the reference MOSFET 34 and LED MOSFET 36 should be carefully matched to exhibit the predetermined resistance relationship (e.g., 100X).
As the gates of MOSFETs 34 and 36 within each matched pair 32 are tied together, each MOSFET 34 and 36 in a matched pair 32 will be switched into or out of its corresponding parallel circuit simultaneously, under the control of a control signal 44. Thus, at any given time, the total resistance of the parallel array of reference MOSFETS 34 will be a predetermined multiple (e.g., 100X) of the total resistance of the parallel array of LED MOSFETs 36. If the voltage drops across the two parallel arrays of MOSFETs are equal, then the current ILED flowing through the LED 16 will be the same predetermined multiple (e.g., 100X) of the current IREF flowing from the current source 30.
Mathematically,
V=IR;
VREF=IREFRREF and VLED=ILEDRLED;
if VREF=VLED, then IREFRREF=ILEDRLED
if, for example, RREF=100RLED then
IREF100RLED=ILEDRLED and
ILED=100IREF.
Hence, by maintaining the voltage drops across the two parallel arrays of MOSFETS 34, 36 equal, the LED current ILED is controlled by varying the reference current IREF. The current control circuit 18 maintains the voltage drops across the two parallel arrays of MOSFETs 34, 36 by switching the matched pairs 32 of the MOSFETs 34, 36 in and out of their respective circuits. The voltage drop across the reference resistance, tapped at 37, and the voltage drop across the LED resistance, tapped at 38, are compared at comparator 39, the output 40 of which is in turn the up/down control input to an up/down digital counter 41. The output bits 44 of the up/down counter 41 each control a matched pair 32 of MOSFETs 34, 36, switching them in or out their respective parallel resistive circuits. The up/down counter 41 is clocked by a periodic clock signal 42. The frequency of the clock signal 42 is preferably significantly longer than the decision time of comparator 39, and more preferably about ten times as long. This allows the transients created by switching in/out resistances to settle out prior to clocking the up/down counter 41 based on the new circuit operating point. The frequency of the clock signal 42 is driven by the ability of the human eye to perceive fluctuations in the intensity of light output by the LED. In a preferred embodiment, the clock signal 42 is approximately 1 MHz, although other frequencies are possible within the scope of the present invention.
In a preferred embodiment, the matched pairs 32 of resistive elements are binary weighted relative to other matched pairs 32, and the up/down counter 41 is a binary counter, with output bits 44 connected to control correspondingly weighted matched pairs 32. Note that other weightings of the matched pairs, and a corresponding weighting among the output bits 44 of a counter 41 (for example, a gray code pattern rather than binary), are possible within the scope of the present invention. Note also that
In operation, a reference current IREF is established (such as by user input or selection), and supplied by variable current source 30. The reference current IREF, flowing through the parallel array of reference resistive elements 34, will establish a particular voltage drop across the parallel array of reference resistive elements 34. Simultaneously, an LED current ILED will flow through the LED 16, determined by the forward voltage drop across the LED 16 and the voltage drop across the parallel array of LED resistive elements 36. The difference in voltage drops across the two parallel arrays of resistive elements 34 and 36, as detected at comparator 39, will cause the up/down counter 41 to successively increment or decrement the binary code present at output bits 44. Each change in the state of the output bits 44 will cause one or more matched pairs 32 to switch its resistive elements 34 and 36 into or out of its respective parallel circuit, thus altering the LED path series resistance, the LED current ILED, and hence the voltage sensed at comparator 39 via voltage tap 38. The output of comparator 39 will cause the up/down counter to again increment or decrement, further altering the resistance of parallel array of LED resistive elements 36. This process will continue iteratively until the voltage drops across the two parallel circuits are equal—that is, when the LED current ILED is a known multiple (e.g., 100X) of the reference current IREF.
Transient effects, thermal drift, quantization errors, and the like may result in the up-down counter 41 failing to settle at a stable output bit pattern; rather, it may continuously step slightly above and below a stable output, in an ongoing state of “dynamic stability.” Some of this dynamic activity may be due to amplifier offset errors at the comparator 39. In one embodiment, these errors are minimized by time-averaging them out.
As indicated in the illustration, the first clock pulse, CLK1, sets switches S1 through S3 to the “A” connection and a subsequent clock pulse, CLK2, reverses the switches to the “B” setting. In this manner, a succession of input clock pulses causes switches S1 through S3 to periodically reverse their connections and thereby reverse the input and output signal connections of the polarity-switched comparator 72. As such, the duty cycle of the clock signal should be at or close to fifty percent to ensure that the comparator offsets actually average out over time. The effect of such polarity-switching operations is to null the comparator 39 offset errors that would otherwise manifest themselves as an error in the voltage comparison. That is, with a first switch setting, the offset errors of comparator 72 add to the sensed voltage differential, and with the opposite or reverse switch setting those same offset errors subtract from the sensed voltage differential.
In order to accurately average out the comparator 39 error, the error averaging time period should significantly exceed the count cycle time of the up/down counter 41. In a preferred embodiment, the clock for the comparator circuit 39 is derived from the up/down counter clock signal 42 at a divide-by-64 circuit 76. This allows the up/down counter 41 to settle at one error level, i.e., the amplifier offset error of the comparator circuit 39 connected one way, and stay at that settled value for a duration. The comparator circuit 39 then switches, and the up-down counter 41 will settle at the other error level, i.e., the amplifier offset error of the comparator circuit 39 connected the other way, for another duration. In this manner, the amplifier offset errors average out over time.
Referring back to
A current IREF, proportional to IPILOT, is established in each current control circuit 18. The proportionality factor may be set by a Digital to Analog Converter (DAC) 54, which may for example multiply the pilot current IPILOT by a factor ranging from 1/6 X to 32X. The current control circuit 18 is able to regulate over this wide range of current values, since all of the MOSFETs 34, 36 are kept in linear mode with the same high Vgs. The pilot circuit 50 supplies the same signal to each current control circuit 18, which may independently adjust the multiplier at DAC 54, to independently control the current through each LED 16, providing independent intensity control of each LED 16.
The present invention provides several advantages over prior art methods of LED current control. By using a digital up/down counter output to drive the variable resistances in a closed control loop, the desired LED current ILED is automatically slaved to the reference current IREF. The voltage drop across the various current control circuits is additionally a ready indicator of the relative forward voltage drop of the associated LEDs, enabling the system to regulate the supply voltage to the worst-case of the differing—and unknown—LEDs, automatically. Also, by using a digital bit, or binary value, to drive the MOSFET resistive elements, a high Vgs is maintained. This allows the MOSFETs to maintain good accuracy down to very low Vds values, and facilitates matching the MOSFETs' resistance values in each matched pair. The digital counter may additionally serve as a sample and hold circuit—its output value can be stored and re-loaded, for example after the LEDs are turned off and back on. The digital nature of the present invention additionally facilitates various time-averaging methods for error control, as described herein. The variation in forward voltage drop among different LEDs is automatically compensated for, and the current (and hence brightness) may be precisely controlled with a small reference current. The switching between battery mode and boost mode is automatic, and will occur as late in the battery lifetime as possible, for the particular LEDs connected.
Although the present invention has been described herein with respect to particular features, aspects and embodiments thereof, it will be apparent that numerous variations, modifications, and other embodiments are possible within the broad scope of the present invention, and accordingly, all variations, modifications and embodiments are to be regarded as being within the scope of the invention. The present embodiments are therefore to be construed in all aspects as illustrative and not restrictive and all changes coming within the meaning and equivalency range of the appended claims are intended to be embraced therein.
This application is a divisional of application Ser. No. 10/434,857, filed May 9, 2003 now U.S. Pat. No. 6,836,157, which is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
6351079 | Willis | Feb 2002 | B1 |
6515434 | Biebl | Feb 2003 | B1 |
6522558 | Henry | Feb 2003 | B2 |
6525488 | Nerone et al. | Feb 2003 | B2 |
6556067 | Henry | Apr 2003 | B2 |
6628252 | Hoshino et al. | Sep 2003 | B2 |
6636104 | Henry | Oct 2003 | B2 |
6812776 | Henry | Nov 2004 | B2 |
6822403 | Horiuchi et al. | Nov 2004 | B2 |
20020047642 | Miyagawa | Apr 2002 | A1 |
20030117088 | Tarnabe et al. | Jun 2003 | A1 |
20030169097 | Henry | Sep 2003 | A1 |
20030227265 | Biebl | Dec 2003 | A1 |
20030234621 | Kriparos | Dec 2003 | A1 |
20040041620 | D'Angelo et al. | Mar 2004 | A1 |
20040164685 | Dygert | Aug 2004 | A1 |
20040183482 | Roberts et al. | Sep 2004 | A1 |
20040190291 | Chliwnyl | Sep 2004 | A1 |
20040195978 | Horiuchi et al. | Oct 2004 | A1 |
20050128168 | D'Angelo | Jun 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20050088207 A1 | Apr 2005 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10434857 | May 2003 | US |
Child | 10995573 | US |