The invention relates to an analogue to digital converter (ADC) having a non-linear ramp voltage, suitable for use in an image sensor. More particularly, but not exclusively, it relates to an ADC having a smooth non-linear ramp voltage, suitable for use in a complementary metal oxide semiconductor (CMOS) based image sensor.
There are two types of commonly used image sensors, Charge Coupled Devices (CCDs) and (CMOS) sensors. Both CCD and CMOS image sensors convert photons into electrons via the interaction of photons with a semiconductor, typically silicon.
CCD sensors transfer charge within the silicon using electric fields and require high charge transfer efficiency (CTE), close to 100%. Consequently, the manufacturing of CCD sensor is tailored to maximise the CTE associated with the device. This involves dopant implantations that result in the substrate being unsuitable for high performance transistor manufacture.
CMOS image sensors do not suffer the CTE issues of CCDs as the charge transfer generally takes place via metal tracks. Typically, the voltage output of a CMOS image sensor is indicative of the intensity of light falling upon it.
As CMOS image sensors are manufactured using either a standard CMOS process, or a CMOS process engineered specifically for image sensing, it is common to implement a large amount of imaging signal processing on a sensing device. Typically, an ADC is implemented on the sensing device.
There are three ADC-CMOS sensor architectures that are commonly used in CMOS image sensors: a single ADC per sensing device, a single ADC per pixel column of the sensing device and a single ADC per pixel of the sensing device.
Each of these architectures has relative advantages and disadvantages associated with them that will be appreciated by a man skilled in the art.
Referring now to FIGS. 1 to 3, in an embodiment of a column parallel sensor architecture 100 each column 102 comprises pixels 104, an analogue comparator 106 and a data storage device 108, typically SRAM. A single digital analogue converter (DAC) 110 provided a reference for the comparators of all columns of the architecture. This aids in reducing mismatch between the outputs of each column.
A further DAC 112 receives the input of the reference DAC 110 and outputs an increasing linear voltage ramp 200,300 in response to a digital input sequence 202,302. This voltage ramp 200,300 feeds to both an input of the comparator 106 and to an input of the digital store 108. The other input of the comparator 106 receives an output voltage of the pixel 104 being sampled. When the ramp voltage 200,300 equals the output voltage 204,304 of the pixel 104 being comparator output changes from a logic low “0” to a logic high “1”.
The output of the comparator 106 passes to the other input of the digital store 108 where a logic high triggers the digital store 108 to store the digital value received from the DAC 110. This stored value is indicative of the intensity of the light falling upon the pixel 104 being sampled.
Referring now to
The incremental counter 604 and the ramp counter 606 receive a clock signal from the same clock (not shown) at their respective clock inputs.
Receipt of the clock signal triggers the ramp counter 606 to output a ramp code, RAMP, currently stored at the ramp counter 606.
Receipt of the clock signal triggers the incremental counter 604 to output a constant incremental code, INC to the ramp counter 606.
Upon receipt of the next clock pulse the ramp counter 606 outputs an updated ramp code being the sum of the previous ramp code and the incremental code, RAMP+INC.
Additionally, pixel photon shot noise is the dominant noise mechanism in CMOS image sensors when a pixel is subject to strong illumination as the number of photons detected varies due to the quantised nature of photons. This represent the upper limit of the signal to noise ratio (SNR) of a pixel at strong illuminations.
σphoton-shot=√{square root over (Nphotons)} (Eq. 1)
σphoton-shot is the photon shot noise contribution for an electron well with Nphotons electrons.
Strongly illuminated pixels having greater pixel photon shot noise than weakly illuminated ones, in a non-linear relationship such that the effect of photon shot noise is exacerbated at strong levels of illumination. This is shown in
It is known to fix the resolution of an ADC such that sensor performance is not compromised at low illumination levels.
Typically, the SNR of weakly illuminated pixels is limited mainly by the quantisation noise of the ADC as the contribution of photon shot noise to the total system noise is relatively small in this regime.
As the level of illumination incident upon a pixel increases this relation ship changes and photon shot noise dominates the total system noise. Current sensor arrangements exhibit a read-out rate that is limited by this fixed resolution of the ADC. This is because at higher illumination levels the quantisation noise of the ADC is small compared to the photon shot noise.
It is known to use quasi-non-linear voltage ramps such as gamma correction, which is often used to compensate for non linearity of a cathode ray tube (CRT).
Typically, these non-linear ramps are either stored in a look up table or generated using an arithmetic logic unit (ALU).
Look up tables involve storing of a significant amount of data in a read only memory (ROM). The fabrication of a ROM on a device utilises a significant amount of the device area. This either limits the amount of device area available for sensing applications or will increase the size of the die with an attendant increase in the cost of the sensor. The fabrication of ROM on the device will increase the complexity of manufacture of the device, with the inherent increased risk of device failure.
Typically, an ALU occupies a significant area of device area. Additionally, a typical ALU requires a significant amount of current to operate at high speeds.
An approximation to a quadratic voltage ramp can be achieved by subdividing quadratic voltage ramp into linear regions, each having a sequentially decreasing resolution, as shown in
According to a first aspect of the present invention there is provided an analogue to digital converter (ADC) comprising:
Such a DAC generates a non-linear ramp voltage simply, without many additional components being required. This reduces the complexity of manufacture compared to prior art arrangements. It also, reduces the power consumption of the DAC compared to prior art arrangements for the production of non-linear ramps.
The DAC comprise further data storage means arranged to store data corresponding to the incremental step. The first counter may be arranged to read the data corresponding to incremental step from the further storage means in response to the clock signal.
The incremental step may be varied between clock signals. The incremental step may be zero at low digital ramp code, typically for the first one hundred or less digital ramp codes generated. Preferably, for the first fifty or less digital ramp codes generated.
This overcomes the problem associated with ADC quantisation noise dominating at low pixel illuminations.
Either, or both, of the first and second counters may comprise shift registers.
Shift registers have the advantage that they do not take up a large area, since for example no LUTs are required which means that it is cheap to produce. In addition, they have low power consumption. Furthermore, no gain adjustment is needed making it simple to implement.
The ramp code may be continuously quadratic in form.
A pure quadratic ramp does not have the corner problem which is present when using piecewise linear ramps and unexpected artefacts should not appear in the image.
According to a second aspect of the present invention there is provided a digital ramp generator comprising:
According to a third aspect of the present invention there is provided an image sensor comprising either, or both of an ADC according to the first aspect of the present invention, or a digital ramp generator according to the second aspect of the present invention.
According to a fourth aspect of the present invention there is provided a method of converting an analogue voltage to a digital code comprising the steps of:
According to fifth aspect of the present invention there is provided a method of generating a digital ramp code comprising the steps of:
Embodiments of the invention and prior art will now be described, by way of example only, with reference to the accompanying drawings, in which:
Referring now to
The incremental counter 704 comprises a processor 708, a clock input 710, an additive input 712 and an output 714.
The ramp counter 706 comprises a processor 716, a clock input 718, an incremental input 720 and an output 722.
The incremental counter 704 and the ramp counter 706 receive a clock signal from the same clock (not shown) at their respective clock inputs 710,718.
Receipt of the clock signal triggers the processor 716 of the ramp counter 706 to output a ramp code, RAMP, currently stored at the ramp counter 706 to a DAC and a data storage device via the output 722.
Typically, the ramp counter will have an initial code of zero, although non-zero initial codes are possible.
Receipt of the clock signal triggers the processor 708 of the incremental counter 704 to output an incremental code, INC, from the output 714 to the incremental input 720 of the ramp counter 706. The clock signal also triggers the processor 708 to read a stored incremental step code, INC_STEP, from the memory device 702 and to add this to the incremental code, INC, stored at the incremental counter 704.
Upon receipt of the next clock pulse the ramp counter 706 outputs an updated ramp code being the sum of the previous ramp code and the incremental code, RAMP+INC. The ramp counter 706 reads an updated incremental code, INC+INC_STEP, from the incremental counter 704 and added to the updated ramp code.
For example, the initial incremental code INC(0)=1, the incremental step is a predefined constant number INC_STEP=½, and the initial first ramp code RAMP(0)=1.
RAMP(0) is incremented by INC(0), so RAMP(1)=2. Then IN(0) is incremented by INC_STEP, hence INC(1)=1.5.
At the next clock pulse, RAMP(1) is incremented by INC(1), which is 1.5, so RAMP(2)=3.5. Typically, this process is repeated to produce a smooth quadratic digital ramp.
In a typical real implementation, INC_STEP is a digital code defined with reference to the pixel capacitance, gain and scaling of the system, an example of which is detailed hereinafter.
Typically, such a ramp is quadratic in nature and therefore suitable for tracking pixel photon shot noise at stronger illuminations. However, at low illuminations ADC quantisation noise is the dominant noise mechanism.
At any point the code of INC_STEP can be set to zero resulting in the creation of a linear ramp. The production of a linear ramp during the initial, low illumination, code period matches the ramp quantisation noise to the read noise level.
At the leading edge of each clock pulse, the new code of ramp is presented to a DAC and then to a comparator (not shown), and also to an SRAM block (not shown), in the known manner described hereinbefore with reference to
Furthermore, following production of the ramp code processing of pixel voltage data is executed in the standard manner described hereinbefore with reference to
Typically, for a quadratic ramp that tracks photon shot noise when plotted with number of electrons versus code number it has a ¼ scaling factor. This is used to calculate the maximum number of codes required to track photon shot noise accurately for any full well capacity.
For example, if a pixel has a full well capacity of 13,000 electrons, then the minimum number of codes required can be calculated:
In an infinite resolution system a total of 228 codes are required to track the photon shot noise accurately. An infinite resolution system is one in which the ramp generator DAC and SRAM word have infinite resolution.
A practical solution does not require infinite resolution. Rather, a system that can distinguish between one electron and zero electrons accurately is sufficient.
res=log2(full−well) (Eq. 2)
For the example above, a 14 bit system is required and with 228 correctly chosen codes all the available information obtainable from the pixel can be digitised.
A typical ramp voltage to code relationship is derived as follows:
q is the charge of one electron equal to 1.6×10−19,
Cpix is the pixel capacitance,
G is the gain of the system from the pixel voltage to the input of the ADC and
S is the scaling factor.
However, with the aid of this system the clock rate of the imaging apparatus can be reduced while maintaining a desirable frame readout rate.
It will be appreciated that an ADC as described hereinbefore can be incorporated into a CMOS image sensor.
It will be further appreciated that a CMOS image sensor comprising an ADC as described hereinbefore can be incorporated into a device selected from the following, non-exhaustive list: digital stills camera, digital video camera, microscope, endoscope, mobile telephone, optical mouse, X-ray sensor.
It will be appreciated that the term “increment” is used herein to describe increasing a value and also decreasing a value. Accordingly, it will be appreciated that references to “increment” may also encompass “decrement” in an alternative embodiment.
Alterations and modifications may be made to the above without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
06270072.9 | Jul 2006 | EP | regional |