The invention relates generally to imaging devices and more particularly to real-time exposure control for automatic light control in an imaging device.
A CMOS imager circuit includes a focal plane array of pixel cells, each one of the cells including a photosensor, for example, a photogate, photoconductor or a photodiode overlying a substrate for accumulating photo-generated charge in the underlying portion of the substrate. Each pixel cell has a readout circuit that includes at least an output field effect transistor formed in the substrate and a charge storage region formed on the substrate connected to the gate of an output transistor. The charge storage region may be constructed as a floating diffusion region. Each pixel may include at least one electronic device such as a transistor for transferring charge from the photosensor to the storage region and one device, also typically a transistor, for resetting the storage region to a predetermined charge level prior to charge transference.
In a CMOS imager, the active elements of a pixel cell perform the necessary functions of: (1) photon to charge conversion; (2) accumulation of image charge; (3) resetting the storage region to a known state; (4) selection of a pixel for readout; and (5) output and amplification of a signal representing pixel charge. The charge at the storage region is typically converted to a pixel output voltage by the capacitance of the storage region and a source follower output transistor.
CMOS imagers of the type discussed above are generally known as discussed, for example, in U.S. Pat. No. 6,140,630, U.S. Pat. No. 6,376,868, U.S. Pat. No. 6,310,366, U.S. Pat. No. 6,326,652, U.S. Pat. No. 6,204,524 and U.S. Pat. No. 6,333,205, assigned to Micron Technology, Inc., which are hereby incorporated by reference in their entirety.
The row lines are selectively activated by the row driver 32 in response to row address decoder 30 and the column select lines are selectively activated by the column driver 36 in response to column address decoder 34. Thus, a row and column address is provided for each pixel. The CMOS imager 10 is operated by the control circuit 40, which controls address decoders 30, 34 for selecting the appropriate row and column lines for pixel readout, and row and column driver circuitry 32, 36, which apply driving voltage to the drive transistors of the selected row and column lines.
Each column contains sampling capacitors and switches 38 associated with the column driver 36 reads a pixel reset signal Vrst and a pixel image signal Vsig for selected pixels. A differential signal (Vrst−Vsig) is produced by differential amplifier 40 for each pixel and is digitized by analog-to-digital converter 45 (ADC). The analog-to-digital converter 45 supplies the digitized pixel signals to an image processor 50, which forms a digital image output.
Lighting can effect image exposure. Light conditions may change spatially and over time. Thus, automatic light control is required to ensure that the best image is obtained by controlling the image sensor's exposure to the light. In some imager applications, there is a need to use the illumination during the actual exposure of an image (i.e., “present illumination”) to control the exposure (i.e., perform exposure control). That is, there is a need to use present illumination because the use of the previous picture's illumination may not be sufficient for the intended application.
One exemplary application that would benefit from using present illumination in exposure control is the imager in a swallowable pill application, such as the one described in copending U.S. application Ser. No. 10/143,578, the disclosure of which is incorporated herein by reference. Due to the nature of the imager in a pill application, automatic light control using present illumination is required. A proposed solution would be to light the application's light source (e.g., light emitting diodes) prior to the actual exposure periods. This technique, however, creates an undesirable high waste of energy and power by having the light source on longer than the exposure period.
Accordingly, there is a desire and need for automatic light control during an exposure period that uses present illumination, yet does not unnecessarily waste energy or power in the process.
The invention provides automatic light control during an exposure period using present illumination.
Various exemplary embodiments of the invention provide an imager and a method for real-time, non-destructive monitoring of light incident on imager pixels during their exposure to light. Real-time or present pixel signals, which are indicative of present illumination on the pixels, are compared to a reference signal during the exposure. Adjustments, if necessary, are made to programmable parameters such as gain and/or exposure time to automatically control the imager's exposure to the light. In a preferred exemplary embodiment, only a selected number of pixels are monitored for exposure control as opposed to monitoring the entire pixel array.
The foregoing and other advantages and features of the invention will become more apparent from the detailed description of exemplary embodiments provided below with reference to the accompanying drawings in which:
Referring to the figures, where like reference numbers designate like elements,
The imager 110 also includes a plurality of comparators 1601, . . . , 16064 (collectively “comparators 160”). In the illustrated embodiment, there are sixty-four comparators 160, one for every four columns of the pixel array 120. As is discussed below in more detail, the invention is not limited to a specific number of comparators 160. For the illustrated embodiment, the inventors have determined that sixty-four comparators 160, connected to sixty-four different columns is desirable. In the illustrated embodiment, the first comparator 1601 is connected to the column line CL of the first column COLUMN1, the second comparator 1602 is connected to the column line CL of the fifth column, etc. The last comparator 16064 is connected to the column line CL of the 253rd column COLUMN253.
In operation, the rows are selected in sequence. A “scan” as used herein is a sequence of consecutive row selections. When a predefined row e.g., ROM1 in the array 120 is selected, the comparators 160 are connected to the set of pixels 122 in the dedicated columns e.g., COLUMN1, COLUMN5, . . . , COLUMN253. The comparators 160 receive pixel signals from their respective column lines CL. The pixel signals, as is discussed below in more detail, are used to determine the present illumination of the pixels 122 of the respective columns.
The comparators 160 are also connected to a voltage reference generator 170 that outputs a reference voltage Vref to be compared against the pixels signals. As is discussed below, the voltage reference generator 170 is controllable to output different reference voltages Vref when desired. Each comparator 160 outputs one logic value (e.g., logical “1”) when its respective pixel signal exceeds the reference voltage Vref and a second different logical value (e.g., logical “0”) when its respective pixel signal has not exceeded the reference voltages Vref.
A bit collection circuit 162 is used to collect the results of the comparators 160 and to output the results to a counter 164. The counter 164 counts the number of pixels that have exceeded the reference voltage Vref in a single scan (e.g., the predetermined number of consecutively selected rows). The output of the counter 164 is used by a digital logic block 166 and compared to a predetermined number of pixels in the block 166. Depending upon the comparison, as is explained below in more detail with respect to
Although not shown, the imager 110 also includes a differential amplifier (e.g., amplifier 40 of
The illustrated imager 110 also performs automatic light control according to an embodiment of the invention.
For example, method 200 uses a measurement time that is part of and no greater than the total exposure time. Keeping the measurement time within the boundaries of the total exposure helps conserve power. Another desirable requirement is that the measurements taken during execution of method 200 are performed on a subset of pixels, rather than the entire array. The measurements are non-destructive, which means that the pixels are not reset during the exposure.
The method 200 seeks to obtain a predefined number of pixels having a predefined signal level (discussed in more detail below). To ensure a fast light control process, method 200 uses analog pixel signals rather than using analog-to-digital converted pixel signals. The method 200 will not include pixels having “white spots” (i.e., pixels with defects or extremely high dark current) in its final light control determination. The method 200 uses programmable (i.e., adjustable parameters) such as e.g., the analog gain required during pixel readout, required number of pixels at the predefined signal level (“Pr”), preferred exposure time (“t1”) and maximum exposure time (“tm”). “Exposure time” is the time the light source is illuminated.
As will become apparent, method 200 continuously scans the predefined pixels during the exposure period. Decisions on the readout gain and exposure time settings are made based on the time intervals when the required number of pixels Pr reach the reference level Vref (if they reach the level at all). Adjustments to certain parameters, including the reference level Vref, maximum exposure time tm and gain, may be made during the exposure period.
Before execution of method 200 begins, the required number of pixels at the predefined signal level Pr must be set. In addition, the preferred exposure time t1 and maximum exposure time tm must also be set. The values for the required number of pixels Pr, preferred exposure time t1 and maximum exposure time tm are application specific and the invention is not to be limited to any specific values for these parameters. The maximum exposure time tm limits the exposure duration to prevent blurring of the images. As will become apparent, the timing values used to determine changes in the reference level (Vref) and gain are determined based on the preferred exposure time t1.
Execution of method 200 begins by setting the reference level Vref (step 202). In a desired embodiment, Vref is set to Vfs/Gmax, where Vfs is the full scale signal and Gmax is the maximum gain that can be used. An exemplary value for Vfs is 1V and an exemplary value for Gmax is 4. Once the reference level Vref is set, the exposure is started and the current exposure time t is set to 0 (step 204). It should be noted that how the exposure is started is application specific. For example, in a swallowable pill application, or any application with its own light source, the exposure is started by turning on the light source. For other applications where the light is continuous, the exposure period is the integration period. As such, the start of the exposure period is the start of the integration period (which could be activated by a shutter or some other method known in the art).
All of the predefined pixels are scanned (step 206) during an exposure (or integration period). The pixel signals Vsig from all the predefined scanned pixels are sent via a respective column line to a respective comparator. Once all of the pixels are scanned, the present time t is compared to the maximum exposure time tm (step 208). If the present time t is greater than the maximum exposure time tm, the method continues at step 218 where the gain is set to maximum gain Gmax. The exposure is stopped (i.e., the digital block 166 of
The new gain setting is reflected as line ‘a’ in
Referring again to
If the required number of pixels Pr of the predefined number of pixels have a pixel signal Vsig that is greater than the reference level Vref (step 210) the method 200 continues at step 212 to determine the appropriate light control action.
If the present time t is less than t1/Gmax, the readout gain is set to the minimum gain Gmin and the reference level Vref is set to Vfs (step 214). The new gain setting is reflected as line ‘b’ in
If it is determined that the present time t is not greater than the maximum exposure time tm, the method 200 continues at step 222. If it is determined that the present time t is greater than the maximum exposure time tm (step 226) or that required number of pixels Pr have a pixel signal Vsig that is greater than the reference level Vref (step 224), the exposure is stopped (step 220) and the method 200 terminates.
If at step 212 it is determined that t1/Gmax<t<t1G2/Gmax, the readout gain is set to G2 (i.e., the gain halfway between the maximum and minimum gains), the reference level Vref is set to Vfs/G2 (step 216), and the exposure is allowed to continue. As such, the method 200 continues at step 222 where all of the predefined pixels are scanned again (as discussed above). The new gain setting is reflected as line ‘c’ in
If at step 212 it is determined that t1G2/Gmax<t, the readout gain is set to the maximum gain Gmax (step 218) and the exposure is stopped (step 220). The new gain setting is reflected as line ‘d’ in
Thus, the illumination on the pixels is monitored in real-time, with adjustments to exposure time duration and readout gain (if necessary). Present illumination on the pixels is determined in a non-destructive manner. That is, the signal level of the pixels is not altered or effected in any manner so that the eventual digital image reflects the image captured by the pixels. The method 200 conserves power by only utilizing the light source during the exposure period (as opposed to illuminating the light source prior to and longer than the exposure period).
In method 200, the rows are scanned sequentially, but the invention is not so limited. The columns are checked in parallel by comparing the pixel signals to the reference level in the comparators 160 (
For CMOS image sensors, the pixel is typically reset before the exposure. As such, the pixel signal output level Vout begins at the reset voltage Vrst. When exposed to light, the pixel output signal level (in absolute voltage) gradually drops toward a ground potential during the integration/exposure period. Thus, the pixel signal Vsig is usually defined as Vsig=Vrst−Vout. The defined threshold level Vth is usually defined as Vth=Vrst−Vpix-th, where Vpix-th is the pixel threshold referred to ground.
The reference voltage presented to the comparators is the voltage (referred to ground) that represents the pixel output voltage Vpix-th th (referred to ground) at the desired signal level Vth (referred to reset level). Vsig is Vrst minus the pixel output level at any time, thus Vth=Vrst−Vpix-th. During processing, the reference level Vref is Vfs/gain, ideally referenced against Vrst. Vrst, however, is not available during the exposure. As such, an average reset level Vrst,mean is used during the exposure period. Vrst,mean is the average reset level from a set of dark (i.e., light shielded) pixels outside or at the border of the image area. The pixel signal level is given as the difference between the pixel reset level and the instantaneous pixel output voltage, and will this be a positive voltage increasing from 0 during exposure.
During method 200, the results of the first scan of the predetermined pixels (which in the illustrated embodiment is 640 pixels) is used as a check for “white spots.” These pixels are not allowed to contribute to the light control determinations effecting gain and exposure time settings. The method 200 may be modified to scan additional pixels to compensate for the “white spot” pixels. In addition, method 200 may include the option to check for a predetermined number of saturated pixels after each scanned line, or at other intervals based on selected rows, to terminate the scan before it completes. This option increases the exposure time resolution.
The supply voltage in the exposure period may be different from the supply voltage during pixel readout. This means that the pixel reset level may not be correct during exposure. The voltage reference generator 170 according to the invention (
In the illustrated generator 170, a mean reset value Vrst,mean from a set of dummy pixels is sampled and stored on capacitor 508 just before the light is illuminated (or the integration period begins). A low droop rate is required as the reset level Vrst,mean must be valid throughout the complete light control method 200. To reduce leakage, the sampled value Vrst,mean is buffered in amplifier 510 and feedback to the switch 506 terminal and to the first sampling capacitor 508. The full scale level Vfs is sampled from a supply voltage source in an identical manner and a switched capacitor circuit (i.e., capacitors 524, 534, 544 and switches S1, S2) generates the reference Vref sent to the comparators. That is, Vref=Vrst,mean−Vfs/x, where x=gain.
In the illustrated embodiment of the generator 170, the generation of the reference Vref is done by subtraction of the predefined fraction of the full scale signal Vfs from the average reset level Vrst,mean. It should be noted that the generation of the reference Vref may be based on addition or multiplication of currents and the invention is not to be limited to the subtraction technique illustrated in
Using swapped input and output terminals of the comparators 6601, 6602, . . . , 66032, potential offsets are substantially removed from the light control process. This improves the accuracy of the light control process of the invention.
System 700, for example a camera system, generally comprises a central processing unit (CPU) 702, such as a microprocessor, that communicates with an input/output (I/O) device 706 over a bus 704. Imaging device 708 also communicates with the CPU 702 over the bus 704. The processor-based system 700 also includes random access memory (RAM) 710, and can include removable memory 715, such as flash memory, which also communicate with the CPU 702 over the bus 704. The imaging device 708 may be combined with a processor, such as a CPU, digital signal processor, or microprocessor, with or without memory storage on a single integrated circuit or on a different chip than the processor.
The memory circuit 816 can communicate with the other operational circuits of the device 810, including, but not limited to, the controller 820 (e.g., an 8051 controller), a serializer module 824, extended shift registers SFRs 822, and an RF (radio frequency) transmitter 828. The memory circuit 816 is capable of storing operational information for the photosensor array 814 and all other circuitry incorporated into the device 810. Further, the memory circuit 816 is be capable of storing images received by the photosensor array 814. The controller 820 operates as the “brain” of the device 810 using programming and/or data stored in the memory circuit 816, and/or in an internal ROM. The controller 820 can utilize the stored programs and/or data in controlling the acquiring of images, the storing of images, and the communication of images to an external system for viewing.
The CMOS photosensor array 814 can download captured images, like a camera. However, the CMOS photosensor array 814 of the invention can also download programming and/or operational information as data-input 834, such as software, programming, or other useful data. A user can select the data desired to be downloaded by utilizing a program command system 830, which can contain a collection of programs, instructions, software, or other data that can be utilized by the device 810. The program command system 830, which can be a standard computer, communicates to a photo-data generator 832, which can be any device capable of outputting light signals, for instance, a computer monitor (CRT) connected to a computer, or an LED unit. Preferably, the photo-data generator 832 can output light at various wavelengths (colors) and intensities, and in various patterns.
The photo-data generator 832 generates light 836, which is input to photosensor array 814 during a period when it is not acquiring images. This period can be controlled and designated by the controller 820. The light 836 can be varied in any means known in the art so that it corresponds to the data desired to be downloaded into the device 810. As an example, the light can be varied in color, where different colors or color patterns can be read by the photosensor array 814, stored in the memory circuit 16, and interpreted by the controller 820 of the device 810, via communication with the photosensor array 814, as different digital information (i.e., “1s” and “0s”). In this way, the memory circuit 814, and device 810 in general, can be programmed by a user with the input of light 836 to the photosensor array 814.
The device 810 functions as an imager camera. The camera function of the device 810 is like that of any other CMOS imager camera to acquire still frames or constant motion video. If necessary, the LED(s) 818 can function as light strobes during camera use, and be synchronized with the image acquisition by the photosensor array 814. Light 836 from the LED 818 can illuminate a subject 838 within an image area to be captured. The reflected light 836 from the illuminated subject 838 can be acquired by the photosensor array 814. The images acquired by the photosensor array 814 are communicated to and translated by the serializer module 824 into a format for image output.
The memory circuit 816 can store programming and/or data so that the controller 820 can use the input programs and/or data acquired during the data input operation to direct the operation of the photosensor array 814, the serializer module 824, and the extended SFRs 822 (all of which can be in communication with the memory circuit 816 and controller 820) for image capture, storage, processing, and output.
At a desired time, or on an ongoing basis, the stored images can be translated into an RF data output 840 generated by an RF transmitter 828 in communication with the serializer module 824 under control of the controller 820. The images, as RF data output 840, are transmitted to an RF data receiver 842. The RF data receiver 842 is in communication with the program command system 830 so that a user can receive the images acquired by the photosensor array 814 for viewing, for example on the same computer monitor (i.e., photo-data generator 832) that could be used to initially program the device 810. In one desired embodiment, the device 810 is incorporated into a swallowable pill as described in copending U.S. application Ser. No. 10/143,578.
The processes and devices described above illustrate preferred methods and typical devices of many that could be used and produced. The above description and drawings illustrate embodiments, which achieve the objects, features, and advantages of the present invention. However, it is not intended that the present invention be strictly limited to the above-described and illustrated embodiments. Any modification, though presently unforeseeable, of the present invention that comes within the spirit and scope of the following claims should be considered part of the present invention.
Number | Date | Country | |
---|---|---|---|
Parent | 12560135 | Sep 2009 | US |
Child | 13403599 | US | |
Parent | 10846513 | May 2004 | US |
Child | 12560135 | US |