Abstract:
Via simple electronic circuitry, an analog voltage that tracks the LED light output is produced. This analog voltage is read by an A/D converter to ascertain an approximate relative light output of the LED so that light output compensation can be quickly calculated. A resistor-capacitor circuit is used to approximate the behavior of the LED light output. The output voltage from this circuit is sampled and used along with a sensed ambient temperature to adjust the exposure time of an image capture system.

Description:
CROSS REFERENCE TO RELATED APPLICATIONS  
       [0001]     A related copending United States patent applications commonly owned by the assignee of the present document and incorporated by reference in its entirety into this document is being filed in the United States Patent and Trademark Office on or about the same day as the present application. This related application is Hewlett-Packard docket number 10002968, Ser. No. ______, and is titled “SOFTWARE DETERMINATION OF LED BRIGHTNESS AND EXPOSURE.”  
     
    
     FIELD OF THE INVENTION  
       [0002]     The invention relates generally to precision control of an exposure and more particularly to modeling the light output of a light emitting diode (LED) to maintain a constant exposure as the light output of an array of LED&#39;s changes.  
       BACKGROUND OF THE INVENTION  
       [0003]     High quality image capture such, as grayscale and color imaging, needs a precision light source. Because of their size, price, reliability, and other qualities, light emitting diodes (LED&#39;s) may be chosen as the light source for image capture. Unfortunately, the light output of an LED changes with junction temperature and age. Because LED&#39;s heat up when they are on, one of the factors that determines the junction temperature of an LED, and hence its light output, is the amount of time, and duty cycle, that the LED is on. One way to compensate for at least part of this variation is to use a light calibration strip. A light calibration strip may be used with a search algorithm to set the illumination levels prior to image capture. A disadvantage of this method is that part of the image capture array is used to sense the calibration strip. This decreases the width or area that is captured at any given moment. Another disadvantage is that this method does not account for changes in the junction temperature during image capture.  
         [0004]     Accordingly, there is a need in the art for an illumination compensation method and apparatus that does not utilize a light calibration strip.  
       SUMMARY OF THE INVENTION  
       [0005]     An embodiment of the invention provides, via simple electronic circuitry, an analog voltage that tracks the LED light output. This analog voltage is read to ascertain an approximate relative light output of the LED so that an exposure compensation can be quickly calculated. Since the analog voltage is generated via simple electronic circuitry, it is inexpensive to implement and does not require the calculation of difficult exponential equations that would require a relatively long time to calculate on an associated processor. In the preferred embodiment, a resistor-capacitor circuit is used to approximate the behavior of the LED light output. The output voltage from this circuit is sampled and used along with a sensed ambient temperature to adjust the capture exposure.  
         [0006]     Other aspects and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the invention.  
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0007]      FIG. 1  is a block diagram of a capture exposure system.  
         [0008]      FIG. 2  is a schematic diagram of an RC circuit that may be used to model LED relative light output. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0009]      FIG. 1  is a block diagram of a capture exposure system  100 . Central processing unit (CPU)  110  sends illumination control signal  116  to LED driver  112  and LED model  102 . LED driver  112  is coupled to LED array  114 . LED array  114  provides illumination for capturing an image. LED model provides analog voltage  118  that tracks the light output of the LED&#39;s in LED array  114 . Analog voltage  118  is input to analog-to-digital converter (A/D converter)  104 . The output of A/D converter  104  is read by CPU  110 . This capture exposure system also has an ambient temperature sensor  106 . The output of ambient temperature sensor  106  is read by A/D converter  104  and passed to CPU  110 . CPU  110  uses these two values to calculate an exposure time for an image capture.  
         [0010]     The light output of an LED can be described with the following equation using an experimentally derived figure-of-merit T 0 :  
               RLOP   ⁡     (   T   )       ≡     ⅇ     [       -     (     T   -     T   c       )         T   0       ]               Equation   ⁢           ⁢   1             
 
 where RLOP(T) is the relative light output when the p-n junction is at temperature T. T c  is the reference temperature that the relative light output is reference to. In other words, RLOP(T c )=1. T 0  is determined by measuring the relative light output at numerous junction temperatures and then applying an exponential fit to determine the T 0  for that particular device. The above equation describes relative light output in terms of the p-n junction temperature. Unfortunately, this temperature depends on a number of other factors including the ambient temperature, the on-off history of the LED, the forward voltage, forward current, LED efficiency, and the thermal time constant of the LED. The on-off history of the LED is particularly important because it determines the starting temperature of the LED each time it is turned on or turned off. When an LED is on, the junction temperature follows a heating curve that resembles:  
               T   j     =         (       T   ∞     -     T   on       )     [     1   -     ⅇ       -   t     τ         ]     +     T   on               Equation   ⁢           ⁢   2             
 
 where T on  is the starting temperature of the junction when the LED is turned on, T ∞  is the steady-state junction temperature that the junction would reach after the LED is on a long time and τ is the thermal time constant of the LED. When an LED is off, the junction temperature follows a cooling curve that resembles:  
               T   j     =         (       T   off     -     T   a       )     ⁢     ⅇ       -   t     τ         +     T   a               Equation   ⁢           ⁢   3             
 
 where T off  is the starting temperature of the junction when the LED is turned off, T a  is the ambient air temperature and τ is the thermal time constant of the LED. 
 
         [0011]     Substituting Equation 2 into Equation 1 to produce an equation that relates relative light output to on time, the result has the form:  
                 RLOP   ⁡     (     t   on     )       =       K   1     ⁢     ⅇ       K   2     ⁢     ⅇ     (       -   t     /   τ     )               ⁢     
     ⁢     where   ⁢     :               Equation   ⁢           ⁢   4                 K   1     =     ⅇ     [         T   c     -     T   ∞         T   0       ]               Equation   ⁢           ⁢   5                 K   2     =       [         T   ∞     -     T   on         T   0       ]     .             Equation   ⁢           ⁢   6             
 
         [0012]     Note that since T ∞  is the steady state value for the junction temperature, in normal operation T ∞≧T   on  so that K 2  will always be greater than or equal to zero. Accordingly, as on time, t on , goes from zero to infinity, the RLOP decreases from K 1 ·exp(K 2 ) to K 1  along a curve that has the shape of an exponential to a positive exponential to a negative x (i.e. exp(exp(−t))). Also note that if constant power is input to the LED, T ∞  will be a fixed amount above the ambient air temperature T a . This allows K 1  and K 2  to be expressed in terms of the ambient air temperature, T a , and another constant, T Δ . T Δ  is the temperature rise above ambient that the LED junction is at for a given power input, thermal resistance, and efficiency. Accordingly, K 1  and K 2  may be expressed as:  
               K   1     =       ⅇ     [         T   c     -     T   a     -     T   Δ         T   0       ]       =       ⅇ       -     T   Δ         T   0         ·     ⅇ     [         T   c     -     T   a         T   0       ]                   Equation   ⁢           ⁢   7                 K   2     =     [         T   a     +     T   Δ     -     T   on         T   0       ]             Equation   ⁢           ⁢   8             
 
         [0013]     Substituting equation 3 into equation 1 to produce an equation that relates relative light output to off time, the result has the same form as Equation 4 but different constants:  
                 RLOP   ⁡     (     t   off     )       =       K   3     ⁢     ⅇ       K   4     ⁢     ⅇ     (       -   t     /   τ     )               ⁢     
     ⁢     where   ⁢     :               Equation   ⁢           ⁢   9                 K   3     =     ⅇ     [         T   c     -     T   a         T   0       ]               Equation   ⁢           ⁢   10                 K   4     =       [         T   a     -     T   off         T   0       ]     .             Equation   ⁢           ⁢   11             
 
         [0014]     Note that T a  is the steady state value for the junction temperature if the LED is off for a very long time and that in normal operation T off ≧T a . This means that K 4  will always be less than or equal to zero. Accordingly, as off time, t off , goes from zero to infinity, the RLOP increases from K 3 ·exp(K 4 ) (which is less or equal to K 3  since K 4 ≦0) to K 3  along a curve that has the shape of an exponential to a negative exponential to a negative x (i.e. exp(−exp(−t))).  
         [0015]     Equations 3 and 9 both have the form: 
 
 RLOP ( t )= K   a   e   K     b     e     (−t/τ)      Equation 12 
 
         [0016]     The Taylor series expansion of Equation 12 is:  
               
     ⁢         K   a     ⁢     ⅇ       K   b     ⁢     ⅇ     (       -   t     /   τ     )             =       K   a     [     1   +       K   b     ⁢     ⅇ     (       -   t     /   τ     )         +         K   b   2     ⁢     ⅇ     (       -   2     ⁢     t   /   τ       )           2   !       +         K   b   3     ⁢     ⅇ     (       -   3     ⁢     t   /   τ       )           3   !       +   …     ⁢           ]               Equation   ⁢           ⁢   13             
 
         [0017]     Since the exponent is negative in all the e ( . . . )  terms of the Taylor series expansion, they rapidly diminish in magnitude when t&gt;τ or |K b |&lt;1. Therefore, when either of these conditions is true, Equation 12 can be approximated by: 
 
 RLOP ( t )= K   a   e   K     b     e     (−t/τ)     ≈K   a [1 +K   b   e   (−t/τ) ]  Equation 14 
 
         [0018]     Applying this same approximation to Equations 3 and 9 yields: 
 
 RLOP ( t   on )= K   1   e   K     2     e     (−t/τ)     ≈K   1 [1 +K   2   e   (−t/τ)   ]=K   1   +K   1   K   2   e   (−t/τ)    Equation 15 
 
 RLOP ( t   off )= K   3   e   K     4     e     (−t/τ)     ≈K   3 [1 +K   4   e   (−t/τ)   ]=K   3   +K   3   K   4   e   (−t/τ)    Equation 16 
 
         [0019]     From the form of Equation 15, it can be seen that the relative light output while the LED is on will decrease in approximately an exponential fashion eventually approaching a limit value of K 1 . The amount of decrease is set by the initial temperature of the junction, T on , each time the LED is turned on. T on  is embedding in K 2 . Likewise, it can be seen from the form of Equation 16 that the relative light output when the LED is next turned on increases along a curve similar to 1−e x  while the LED is off (because K 4  is always negative) eventually approaching a limit value of K 3 . The amount of increase is set by the initial temperature of the junction, T off , each time the LED is turned off. T off  is embedded in K 4 . Finally, it is known that the relative light output does not change discontinuously at the instant the LED is turned on or off. Therefore, the initial conditions in K 2  and K 4  must be such that Equation 15 and Equation 16 are equal at each on-to-off and off-to-on transition.  
         [0020]     The curves followed by Equations 15 and 16 have the same shape as the voltage across a capacitor being charged and discharged through a resistor. Likewise, a the voltage across a capacitor being charged and discharged does not change discontinuously during charging-to-discharging and discharging-to-charging transitions. Given these two conditions, the changes in the relative light output as an LED is switched on and off are modeled by this invention as a resistor-capacitor (RC) or inductor-resistor (LR) circuit. To model the relative light output with an RC circuit, the capacitor is charged through the resistor when the LED is off and discharged through the resistor when the LED is on. This RC model is shown in  FIG. 2 .  
         [0021]     In  FIG. 2 , illumination control signal  116  is connected to a first terminal of resistor  202 . The second terminal of resistor  202  is connected to the model output. The model output is analog voltage  118  that goes to the input of A/D converter  104 . The second terminal of resistor  202  is also connected to the first terminal of capacitor  204 . The second terminal of capacitor  204  is connected to the negative supply rail or some other reference voltage.  
         [0022]     Illumination control signal  116  discharges capacitor  204  through resistor  202  when illumination control signal  116  is in a state that turns LED array  114  on. In  FIG. 2 , this is shown as a direct connection. However, depending on the polarity of the illumination control signal  116  a logical inversion or buffering may be necessary before it is applied to resistor  202 .  
         [0023]     To model the relative light output, an embodiment of the invention first charges the RC circuit to a known voltage level. This sets the initial condition of the model. This initial condition would normally be higher than the eventual discharged condition of the RC circuit because it is assumed that the LED junction is at the ambient air temperature and hence the relative light output is at its greatest level. Accordingly, the initial voltage across the capacitor of the RC circuit is at its greatest level when the relative light output is expected to be at its greatest level. During operation of the model, whenever the LED is on, the capacitor of the RC circuit is discharged through the resistor and whenever the LED is off, the capacitor of the RC circuit is charged through the resistor. This functions such that the voltage across the capacitor of the RC circuit tracks the change in relative light output from the relative light output when the LED junction was at the ambient temperature.  
         [0024]     In an embodiment of the invention, the values for the resistor and capacitor are determined experimentally. A voltage level is arbitrarily chosen for the initial condition of the RC circuit that represents the light output when the LED brightest. To simplify design, this can be the positive power supply voltage. Likewise, a voltage level is arbitrarily chosen for the discharged state of the RC circuit that represents the light output when the LED is dimmest. To simplify design, this can be when the capacitor is fully discharged. The range of relative light output values that these two extremes represent is determined by the thermal properties of the entire illumination system and its packaging so this range is determined experimentally in the preferred embodiment.  
         [0025]     When capture exposure system  100  is about to start an exposure it samples the voltage across capacitor  204  with A/D converter  104 . This gives the system a modeled relative brightness. This modeled relative brightness is used along with a sampled ambient temperature to determine an exposure. The mapping of ambient temperature and modeled relative brightness to actual relative brightness performed by a lookup table in the preferred embodiment. The values of this lookup table may be determined experimentally or they may be calculated.  
         [0026]     To calculate the values of this lookup table, Equation 1 is used as a starting point.  
               RLOP   ⁡     (   T   )       ≡     ⅇ     [       -     (     T   -     T   c       )         T   0       ]               Equation   ⁢           ⁢   1             
 
         [0027]     Re-writing T, which is the junction temperature, in terms of T a , T Δ  and a difference from maximum temperature factor, Δ T , produces: 
 
 T=T   ∞ −Δ T   =T   a   +T   Δ −Δ T    Equation 17 
 
 substituting Equation 17 into Equation 1 produces:  
               RLOP   ⁡     (   T   )       ≡     ⅇ       [       -     (       T   a     +     T   Δ     -     Δ   T     -     T   c       )         T   0       ]     .               Equation   ⁢           ⁢   18             
 
         [0028]     Since all the factors in Equation 18 except T a  are constant for different ambient temperatures, then the relative light output at an ambient temperature T a1  can be related to the relative light output at an ambient temperature T a2  for the same Δ T  by:  
                     LUT   ⁡     (       T   a2     -     T   a1       )       =       RLOP   ⁡     (       T   a2     +     T   Δ     -     Δ   T     -     T   c       )         RLOP   ⁡     (       T   a1     +     T   Δ     -     Δ   T     -     T   c       )                     =     ⅇ       T   a2     -     T   a1                       Equation   ⁢           ⁢   19             
 
         [0029]     Equation 19 can be used to construct a look-up table that produces a factor that is multiplied by the modeled relative brightness. The result of this multiplication produces actual relative brightness. This actual relative brightness is then used to calculate a capture exposure. One simple method of calculating the capture exposure is to divide the relative brightness by an exposure constant to produce an exposure time. Since the capture exposure is the total amount of light output by the LED integrated over time, this simple method produces a reasonably constant capture exposure over the range of LED brightness.  
         [0030]     In the preferred embodiment, the capture exposure is adjusted by turning the LED array on for the capture exposure time. However, other methods of adjusting the capture exposure, such as opening and closing a shutter, may be used.  
         [0031]     From the foregoing it will be appreciated that the capture exposure system and LED relative brightness model provided by the invention offers the advantages of simplicity and avoids the calculation of difficult exponential equations or continues integration by the control microprocessor. Furthermore, the system may be configured to a variety of thermal parameters or adapted to a variety of exposure control mechanisms.  
         [0032]     Although several specific embodiments of the invention have been described and illustrated, the invention is not to be limited to the specific forms or arrangements of parts so described and illustrated. The invention is limited only by the claims.