In the following detailed description of the invention, reference is made to the accompanying drawings that form a part hereof and in which is shown, by way of illustration, specific embodiments in which the invention may be practiced. In the drawings, like numerals describe substantially similar components throughout the several views. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. Other embodiments may be utilized and structural, logical, and electrical changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims and equivalents thereof.
The sensor is comprised of a substrate 130 that incorporates a plurality of pixels or photodiodes 101-104. The photodiodes 101-104 are responsible for converting light into an electrical signal for use by the circuitry that reads the photodiode information. The higher the intensity of the light that strikes the photodiode 101-104, the greater the charge collected.
Optionally, a color filter array (CFA) 112 is positioned over the photodiodes 101-104. This layer comprises the different color filters required for the color system that is used. For example, the filters may be red 107, green 106, and blue 108 for an additive RGB system or cyan, yellow, magenta, and an extra green for a subtractive CYMG system. Each filter color separates out that particular color for that photodiode. In one embodiment, the color filters are formed in a “Bayer” color filter pattern that is well known in the art.
An IR cutoff filter 120 is positioned over the CFA 112. This filter blocks IR light from reaching certain ones of the photodiodes 101-104 such that only visible light reaches the desired photodiodes 101-104. A top view of the embodiments of the IR cutoff filter 120 of the present invention are illustrated in
A lens 113 is positioned over the IR cutoff filter 120. The lens 113 is responsible for focusing light on the photodiodes 101-104.
Optionally, a plurality of micro-lenses 150 can be formed over the photodiodes 101-104. Each micro-lens 150 can be formed over a corresponding photodiode 101-103. Each micro-lens 150 focuses the incoming light rays onto its respective photodiode 101-104 in order to increase the light gathering efficiency of the photodiode 101-104.
The slot 205 of
The OBIR pixels 300 are the same type of pixels that are illustrated in
After the averaging and normalization of the OBIR signals 403, the light signals from the active pixels adjacent to the IR slot shown in
Averaging the signals is accomplished by the equation:
G
avg=(avg(Pijgreen1)/GainG1+avg(Pijgreen2)/GainG2)/2/Tint activepixels (1)
where ‘Pij green1’ is a light signal from a pixel located in row i and column j in the sensor array, covered by a green CFA filter and located in such rows i that contain pixels covered with green and red CFA filters, ‘Pij green2’ is a light signal from a pixel located in row i and column j in the sensor array, covered by a green CFA filter and located in such rows i that contain pixels covered with green and blue CFA filters, ‘GainG1’ is the gain applied to the green1 pixels, ‘GainG2’ is the gain applied to the green2 pixels, and ‘Tint activepixels’ is the integration time the active pixels are receiving.
During a normalization process, GainR, GainB, GainG1, and GainG2 for the Bayer pattern are the four typical gains of an image sensor. The gains are applied to corresponding pixels in the Bayer pattern. Since OBIR pixels may only differ from regular pixels by having a black filter, the red, green1, green2, and blue pixel gains keep getting applied to OBIR pixels as well in order to simplify sensor design.
Referring again to
IRavgG, IRavgB and IRavgR are calculated as follows.
IR
avgG(r)=avg(avg(Pijgreen1)/GainG1, avg(Pijgreen2)/GainG2)/Tint IR (2)
IR
avgR(r)=avg(Pijred)/GainR/Tint IR (3)
IR
avgB(r)=avg(Pijblue)/GainB/Tint IR (4)
where Pij are OBIR pixels from the rth inner pixel ring as detailed below. Tint IR is the integration time OBIR and OIRB pixels are receiving, which is typically equal to Tint active pixels. If pixel ring r contains no pixels of type green1 or green2, the corresponding term is excluded from the calculation of the average in (2).
These averages are compared to a saturation threshold 507, Tsat. This threshold is determined by the maximum pixel value Dmax that can be read multiplied by a saturation constant, Ksat(i.e., Tsat=Ksat*Dmax). For example, a maximum pixel value of 1023 multiplied by a constant of 18%. If ring r contains no pixels affected by the blue or red gains, the comparison for the average value of that type of pixel is not performed.
If none of the averages are less than Tsat 507, the pixels being considered are all close to IR saturation. Therefore, “more inner” OIRB pixels that are further from the OBIR pixels are then read 509. The “more inner” OIRB pixels are read by incrementing the row counter 511 and repeating the OBIR pixel read 503. This is repeated until non-saturated pixels are found. Since these pixels are shielded from visible and IR illumination, the signal generated by these pixels is due largely to charge and light leakage from adjacent OBIR pixels, see
Charge leakage is the result of the fact that infrared photons are absorbed at a higher depth than the visual wavelength photons due to solid state sensor construction typically having a longer average travel distance before the infrared photo-generated carriers are collected. Thus, the infrared-generated carriers can leak under the optical shield of the OIRB pixels. The OIRB pixels collect the infrared-generated charge and their response is increased. Illumination free of infrared will have no effect on OIRB pixel response. The magnitude of that component can then be determined in comparison to the visible light illumination of the edge pixels.
OIRB pixels are particularly effective in cases where levels of IR radiation are so high as to saturate responses of OBIR pixels. For example, as the image sensor operates, the exposure for active pixels is typically selected to result in capture of visually pleasing images. Since OBIR pixels differ from active pixels only by having a different CFA filter, their exposure would typically be identical to that of the active pixels. This is true unless, optionally, the sensor is specifically designed to allow setting exposure of OBIR pixels independently from active pixels. In such an embodiment, the sensor would require a more complicated design.
When active pixels are exposed in a way optimal for image capture, OBIR pixel response can be saturated if the scene illuminant has a high IR content. In such case, values of OIRB pixels should be read out instead of OBIR.
After non-saturated pixels are found, the average of the averages that are less than the saturation threshold Tsat is determined 513. This is determined by the following equation where, typically, TintR=Tintactivepixels and Kir is an IR sensitivity coefficient:
IR
avg(r)=avg(IRavgR(r), IRavgB(r), IRavgG(r))/Kir(r) (5)
If IR coefficient is set to 1 for OBIR, Kir(0) is defined as 1 for OBIR pixels, Kir(0)=1. Kir for inner OIRB pixels is typically substantially less than 1. For example, the inner row of OIRB pixels could have Kir(1)=0.05. The next row, Kir(2) might have Kir(2)=0.0025. The coefficient would get progressively smaller due to reduced sensitivity of inner OIRB pixels. Kir(r) can be determined using a calibration procedure.
One such calibration procedure illuminates the sensor with IR that has spectra expected to be encountered in actual operation. A flat field is then imaged. The sensor exposure and gains are adjusted to make responses of OIRB pixels equal to a constant (e.g., Tsat). Exposure Tint(r) is recorded for r=0, as Tint(0). Gains are then frozen. For each inner ring of OIRB pixels, exposure is adjusted to make their responses equal to Tsat. The OIRB pixels probably saturate in this condition. Tint(r) is recorded for r=1, 2, etc. If Kir(0)=1, Kir(r)=Tint(0)/Tint(r).
The embodiment of the sensor of
The IR detection embodiments can also be used when a sensor array already has an IR cutoff filter covering the entire array of pixels. Such an IR detection embodiment relies on the fact that spectral transmittance of reflective IR-cutoff filters is highly angle dependent. Such filters allow a small amount of IR illumination through when illuminated at an angle other than perpendicular to the filter plane.
One problem solved by the present embodiments in IR sensing in using a visible light sensor is that the level of IR can substantially differ from the level of visible illumination, sometimes by many orders of magnitude. By using OBIR and OIRB pixels the IR is sensed in a high-dynamic-range fashion. The present embodiments require only a few changes to the sensor such as forming a black filter over some pixels, a metal layer over other pixels, and forming “barrier” pixels.
There are also alternative embodiments for IR sensing. For example, the exposure of IR pixels can be controlled independently from active pixels. In this embodiment, the exposure is varied to avoid overexposure of IR pixels and the OIRB pixels are optional.
In yet another embodiment, the method for IR sensing is similar to the embodiment of
In still another embodiment, the OIRB pixels are not used. In this embodiment, special high dynamic range pixels are used to sense IR.
In one embodiment, the control circuit 601 is a processor, microprocessor, or other controller circuitry that reads and processes the image from the image sensor device 600. For example, the imaging system can be a digital camera in which the image sensor device 600 is exposed to an image for recording. The control circuitry 601 executes the above-described embodiments and reads the accumulated charges from the photodiodes of the image sensor device 600. The control circuitry 601 may then process this data into an image or simply store the data.
The data from the system can be output to other systems over an I/O circuit 603. The I/O circuit 603 may be a Universal Serial Bus (USB) or some other type of bus that can connect the imaging system to a computer or other system.
In summary, the embodiments discussed herein provide a way to measure the amount of infrared illumination that reaches an image sensor. Knowing the amount of infrared illumination is useful in automatic white balance algorithms. A large amount of infrared illumination informs the white balance algorithm that the scene is illuminated by an incandescent light source. The white balance algorithm can then shift the color temperature of the received image to adjust for the extra red color cast. A low amount of infrared informs the white balance algorithm that the camera is imaging a scene illuminated by a fluorescent light source, such as office lighting, and the color temperature of the received image must be shifted to remove a greenish cast. A moderate amount of infrared indicates that the camera is used outdoors in daylight conditions. In this condition, the white balance would typically remove a blue color cast from the image, if any.
Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement that is calculated to achieve the same purpose may be substituted for the specific embodiments shown. Many adaptations of the invention will be apparent to those of ordinary skill in the art. Accordingly, this application is intended to cover any adaptations or variations of the invention. It is manifestly intended that this invention be limited only by the following claims and equivalents thereof.