# Patent

## Title
Image sensor that uses a temperature sensor to compensate for dark current

## Abstract

An image sensor that has a temperature sensor. The temperature sensor senses the temperature of a pixel array of the image sensor. The sensed temperature is used to scale a dark frame image generated by the pixel array. The scaled dark frame image is subtracted from a light image frame generated by the pixel array. The scaled dark image frame compensates for temperature variations in the pixel array. The scaled dark image frame may be generated by multiplying the dark frame by a scale factor(s). The scale factor may be computed from an equation or determined from a look-up table. The equation or look-up table may compensate for thermal gradients across the pixel.

## Background
REFERENCE TO CROSS RELATED APPLICATION
This application claims priority under 35 U.S.C §119(e) to provisional application No. 60/455,631, filed on Mar. 18, 2003.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The subject matter disclosed generally relates to the field of semiconductor image sensors.
2. Background Information
Photographic equipment such as digital cameras and digital camcorders may contain electronic image sensors that capture light for processing into a still or video image, respectively. There are two primary types of electronic image sensors, charge coupled devices (CCDs) and complimentary metal oxide semiconductor (CMOS) sensors. CCD image sensors have relatively high signal to noise ratios (SNR) that provide quality images. Additionally, CCDs can be fabricated to have pixel arrays that are relatively small while conforming with most camera and video resolution requirements. A pixel is the smallest discrete element of an image. For these reasons, CCDs are used in most commercially available cameras and camcorders.
CMOS sensors are faster and consume less power than CCD devices. Additionally, CMOS fabrication processes are used to make many types of integrated circuits. Consequently, there is a greater abundance of manufacturing capacity for CMOS sensors than CCD sensors.
Both CCD and CMOS image sensors may generate inaccurate image data because of dark current in the pixel and a variation of the dark current from pixel to pixel. Each pixel of an image sensor pixel array provides an output voltage that varies as a function of the light incident on the pixel. Unfortunately, dark currents add to the output voltages. The dark current and its variation from pixel to pixel degrade the picture provided by the image system.
Dark current varies from one pixel to another, thus making it impossible to use a single dark current estimate for the entire pixel array to subtract from all the output voltage values. Dark current also tends to have an exponential dependence on temperature such that its magnitude doubles for every 8 degrees Kelvin. Consequently, a single dark frame captured at a different temperature than the light frame (the actual picture frame) does not accurately represent the dark signals embedded in the light frame and require some sort of scaling. Furthermore, it is common to have temperature variations across the substrate leading to different average dark current at different locations of the pixel array. Additionally, if the temperature of the ambience changes, different locations of the pixels array may have different changes of temperatures, thus leading to different change ratios of dark current at different locations. All these factors make it difficult to use estimate dark signals accurately across the pixel array using a one-time captured dark frame that is scaled and subtracted from the light frames.
There have been efforts to compensate for the dark currents of the pixel array. U.S. Pat. No. 5,926,214 issued to Denyer et al. discloses a dark current compensation scheme where a dark frame is taken contemporaneously with a light frame. Both the dark frame and the light frame are captured at the same temperature. The dark frame is subtracted from the light frame to substantially remove dark signals from the output of the sensor. Unfortunately, such dark frame approaches require the closing of a camera shutter or some other means to prevent light from impinging upon the sensor. Closing the camera shutter contemporaneously with each picture increases the shot-to-shot delay of the camera.
U.S. Pat. No. 6,101,287 issued to Corum, et al. and U.S. Pat. No. 5,278,658 issued to Takase each disclose a scheme where a single dark frame is captured and certain “dark” pixels of the array are used to generate a dark signal reference for scaling the dark frame. The dark pixels are optically shielded from the ambient light. The dark frame is scaled with a ratio of the average dark signal of the dark pixels in the light frame, to the dark frame. Unfortunately, some light still strikes the dark pixels so that the dark pixel outputs are not truly representative of the dark signals. Additionally, the dark signals of interior pixels scale differently than the peripheral dark pixels.
U.S. Pat. No. 6,144,408 issued to MacLean discloses a scheme that does not rely on periphery dark pixels and can generate multiple scaling factors for interiors of the pixel array. In this scheme, certain pixels where dark currents are founded to be strongest are selected and organized into groups. An average Laplacian is calculated for the dark frame for each group. Laplacian basically measures the amount of “spiking” of voltage value at the pixel relative to its neighbors. Subsequently, in the light frame average Laplacian is calculated for each group again. The ratio of average Laplacian in the light frame to that in the dark frame becomes the scaling factors across the entire pixel array from those groups of selected pixels. This technique is relatively inadequate because picture details at the vicinity of those selected pixels interfere with the accuracy of the scaling factor calculation.
There is therefore a need to use a single dark frame to estimate and subtract dark signals for an entire pixel array despite changes in ambient temperature and variations of temperature across the pixel array.
BRIEF SUMMARY OF THE INVENTION
An image sensor with a temperature sensor that can sense the temperature of a pixel array.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic of an embodiment of an image sensor;
FIG. 2 is a schematic of a dark signal reduction circuit of the image sensor;
FIG. 3 is a schematic of an alternate embodiment of the dark signal reduction circuit;
FIG. 4 is a schematic of an embodiment of a temperature sensor.



DETAILED DESCRIPTION
Disclosed is an image sensor that has a temperature sensor. The temperature sensor senses the temperature of a pixel array of the image sensor. The sensed temperature is used to scale a dark frame image generated by the pixel array. The scaled dark frame image is subtracted from a light image frame generated by the pixel array. The scaled dark image frame compensates for temperature variations in the pixel array. The scaled dark image frame may be generated by multiplying the dark frame by a scale factor(s). The scale factor may be computed from an equation or determined from a look-up table. The equation or look-up table may compensate for thermal gradients across the pixel.
The entire image sensor is preferably constructed with CMOS fabrication processes and circuits. Although a CMOS image sensor is described, it is to be understood that the temperature compensation schemes disclosed herein may be implemented in other types of image sensors such as CCD sensors.
Referring to the drawings more particularly by reference numbers, FIG. 1 shows an image sensor 10. The image sensor 10 includes a pixel array 12 that contains a plurality of individual photodetecting pixels 14. The pixels 14 are arranged in a two-dimensional array of rows and columns.
The pixel array 12 is coupled to a light reader circuit 16 and a row decoder 18. The row decoder 18 can select an individual row of the pixel array 12. The light reader 16 can then read specific discrete columns within the selected row. Together, the row decoder 18 and light reader 16 allow for the reading of an individual pixel 14 in the array 12.
The light reader 16 may be coupled to an analog to digital converter 20 (ADC). The ADC 20 generates a digital bit string that corresponds to the amplitude of the signal provided by the light reader 16 and the selected pixels. The digital data may be stored in an external memory 22.
The digital bit strings can be transferred to an external processor 24 and memory 22 by a memory controller 26. The processor 24 may be coupled to another external memory device 28. The external memory 28 may store dark frame information that is used by the processor 24. The processor 24 may operate in accordance with firmware embedded in a non-volatile memory device 30 such as a read only memory (“ROM”). By way of example, the sensor 10, processor 24, and memory 28 and 30 may be integrated into photographic instruments such as a digital camera, a digital camcorder, or a cellular phone unit that contains a camera.
The image sensor 10, processor 24, and memory 28 and 30 may be configured, structured and operated in the same, or similar to, the corresponding image sensors and image sensor systems disclosed in application Ser. Nos. 10/183,218, 10/236,515 and 10/383,450, which are hereby incorporated by reference.
FIG. 2 shows a schematic of a dark signal reduction circuit 50. The circuit 50 includes a temperature sensor 52 that senses the temperature of the pixel array 12. The temperature sensor 52 is coupled to a dark frame estimator 54 that can scale a dark image frame generated by the pixel array 12. The dark image frame can be stored in memory that is coupled to the estimator 54. The memory may be either the memory 22 of the sensor 10 or the external memory device 28.
The dark frame estimator 54 may be coupled to a combiner 56 that is also connected to the pixel array 12. The combiner 56 may be an adder that subtracts a scaled dark image frame created by the estimator 54 from a light image frame generated by the pixel array. The dark frame estimator 54 and/or combiner 56 may be either on the sensor 10, or the processor 24, or both. If located in the external processor 24 the functions of the estimator 54 and combiner 56 may actually be performed by instructions executed by the processor 30. If on the sensor 10, the estimator 54 and combiner 56 may be dedicated circuits.
The dark frame estimator 54 may scale the dark image frame by multiplying the dark frame by a scale factor. The dark image frame is generated when no light impinges the pixel array 12. The dark image frame is composed of individual output voltage values for each pixel 14 of the array 12. The exposure time and the temperature of the pixel array 12 for the dark image frame may be stored in memory 22, 28.
The scale factor for the scaled dark image frame may be computed in accordance with the following equation:

S=exp[(T−T0)/(A)]*(t/t0)  (1)

where;
S=the scale factor.
A=a temperature constant.
T=temperature provided by the temperature sensor at the time of the light image frame exposure.
T0=temperature provided by the temperature sensor at the time of the dark image frame exposure.
t=exposure time of the light image frame.
t0=exposure time of the dark image frame.
Alternatively, the scale factor may be determined from a look-up table that provides a different scale factor for each sensed temperature.
The estimator 54 may utilize an equation(s) or a look-up table that compensates for a temperature gradient across the pixel array 12. The output values of each pixel 14 in the pixel array 12 may be separately scaled with a factor calculated by the equation(s) or determined from the look-up table. By way of example, the scale factor for a particular pixel may be computed with the following equations:

K(x,y)=a+b*x+c*y+d*x2+e*y2+f*x*y  (2)

T′−T′0=K*(T−T0)  (3)

S=exp[(T′−T′0)/(A)]*(t/t0)

Or

S=exp[K*(T−T0)/(A)]*(t/t0)  (4)

Where;

    K=scale factor of a pixel located a location x, y of the pixel array.
    a–f=predetermined coefficients that may be dependent on temperature, these coefficients may be provided by a look-up table that contains temperature as a parameter.
    x=the x location of the pixel in the pixel array.
    y=the y location of the pixel in the pixel array.
    T′=the temperature of the pixel at location x,y at the light image frame exposure.
    T′0=the temperature of the pixel at location x,y at the time of the dark frame exposure.


The coefficients of the polynomial equation may be empirically determined for each particular image sensor layout. The computations of the equations (1),(2), (3) and (4) can be performed by instructions operated by the processor 24 and provided by firmware embedded in non-volatile memory 30.
In operation, the image sensor 10 may be calibrated by initially generating a dark image frame with no light impinging on the pixel array 12. The pixel array 12 may be darkened by closing the shutter or otherwise preventing light from impinging the array 12. The output voltage values of each pixel 14 are stored in memory 22, 28. The temperature and time exposure values for the dark frame may also be stored in memory 22, 28. The dark frame calibration may be performed each time the camera is powered on. Alternatively, the dark image frame calibration may be performed during the manufacturing process. FIG. 3 shows an embodiment when the calibration is performed at a manufacturing facility. The dark image frame, temperature and exposure time can all be read by an external tester (machine) and then stored in memory 28. By way of example, the memory 28 may be a SDRAM, EEPROM or flash memory.
When a picture is taken the pixel array 12 generates a light image frame. The temperature sensor 52 provides a temperature value to the estimator 54. The estimator 54 either computes, or determines, a scale factor(s) from the sensed temperature of the array 12. The estimator 54 then multiplies the scale factor with each output voltage value of the dark image frame stored in memory 22, 28 to create a scaled dark image frame.
The combiner 56 subtracts the scaled dark image frame from the light image frame to compensate for dark signal variations in the pixel array 12. Providing a temperature sensor 52 to directly sense the temperature of the pixel array 12 more accurately compensates for temperature variations without relying on contemporaneous mechanical shutters or shielded pixels to generate the scaled dark image.
FIG. 4 shows an embodiment of a temperature sensor 52. The sensor 52 includes a pair of bi-polar (“BJT”) transistor Q1 and Q2 coupled to current source field effect (“FET”) transistors MP1, MP2 and MP3. FETs MP1 and MP2 have the same channel widths W1. FET MP3 has a channel width of W2. An amplifier 60 has inputs coupled to the BJT transistors Q1 and Q2 and an output connected to the gate of FET MP3.
BJTs Q1 and Q2 have different emitter widths defined by the ratio N. The amplifier 60 senses a differential voltage between Q1 and Q2 across resistor R1. The voltage V1 across the resistor R1 will vary with temperature as defined by the equation:

V1=K*T*ln(N)  (3)

where;

    V1=voltage across resistor V1.
    K=Boltzmann's constant.
    T=temperature provided by the sensor.
    N=ratio of Q1 and Q2 emitter widths.


The temperature sensor 52 may include an analog to digital converter 62 that converts the voltage V2 across resistor R2 into a digital bit string. The voltage V2 across the resistor R2 is defined by the following temperature dependent equation:

V2=K·T·ln(N)·(R1/R2) (W2/W2)  (4)

It is the intention of the inventor that only claims which contain the term “means” shall be construed under 35 U.S.C. §112, sixth paragraph.
While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific constructions and arrangements shown and described, since various other modifications may occur to those ordinarily skilled in the art.

## Claims

1. An image sensor system, comprising:
a pixel array that has a plurality of pixels;
a temperature sensor that senses a temperature of said pixel array;
a memory;
a dark frame estimator coupled to said memory and said temperature sensor, said dark frame estimator multiplies a dark image frame with a scale factor to create a scaled dark image frame, said scale factor is computed from at least one polynomial equation that provides a different scale factor for at least two different pixels of said pixel array; and,
a combiner coupled to said dark signal estimator and said pixel array, said combiner combines the scaled dark image frame with a light image frame generated by said pixel array.

2. The image sensor system of claim 1, wherein said pixel array and said temperature sensor are located on an integrated circuit.

3. The image sensor system of claim 1, wherein said memory is coupled to said pixel array.

4. The image sensor system of claim 1, wherein said memory is coupled to said temperature sensor.

5. The image sensor system of claim 1, wherein the polynomial equation is dependent on temperature and exposure time.

6. An image sensor system, comprising:
pixel array means for generating a dark image frame and a light image frame;
temperature sensor means for sensing a temperature of said pixel array means during the generation of the light image frame;
memory means for storing the dark image frame;
dark frame estimator means for multiplying the dark image frame with a scale factor computed from at least one polynomial equation that provides a different scale factor for at least two different pixels of said pixel array means; and,
combiner means for combining the scaled dark image frame with the light image frame.

7. The image sensor system of claim 6, wherein said pixel array means and said temperature sensor means are located on an integrated circuit.

8. The image sensor system of claim 6, wherein said memory means stores at least one coefficient.

9. The image sensor system of claim 6, wherein the polynomial equation is dependent on temperature and exposure time.

10. A method for dark signal reduction in an image sensor, comprising:
sensing a temperature of a pixel array that generates a light image frame;
scaling a dark image frame in accordance with the sensed temperature, wherein the dark image frame is scaled by multiplying the dark image frame with a scale factor to create a scaled dark image frame, wherein the scale factor is computed from at least one polynomial equation that provides a different scale factor for at least two different pixels of the pixel array; and,
combining the scaled dark image frame with the light image frame.

11. A program storage medium that can cause a processor to provide dark signal reduction in an image sensor system, comprising:
a processor readable storage medium that causes a processor of an image sensor system to scale a dark image frame based on a temperature of a pixel array sensed during the generation of a light image frame to create a scaled dark image frame, wherein the dark image frame is scaled by multiplying the dark image frame with a scale factor computed from at least one polynomial equation that provides a different scale factor for at least two different pixels of said pixel array, and combining the scaled dark image frame with the light image frame.

12. The storage medium of claim 11, wherein the polynomial equation is dependent on temperature and exposure time.