Column ALU Design of Dual Conversion Gain Sensor Supporting Correlated Multiple Sampling and Three Readout Phase Detection Autofocus
By introducing the arithmetic logic unit and the parallel analog-to-digital conversion technology of the shared Gray code generator into the image sensor, the efficiency and noise problems of the image sensor in multi-sampling and auto-focus signal processing are solved, and efficient digital conversion of image signals is achieved. and quality improvement.
Patent Information
- Application Number
- CN202311069453.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-09-21
- Filing Date
- 2023-08-23
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-08-23
AI Technical Summary
It is difficult for existing image sensors to effectively handle the digital conversion of analog image signals when enhancing functionality and performance. In particular, there are efficiency and noise problems in the processing of multi-sampling and auto-focus signals.
A readout circuit containing an arithmetic logic unit (ALU) and a shared Gray code generator is designed. Through parallel analog-to-digital conversion technology, the Gray code output and multiple comparators are used to realize digital processing of analog image signals, and through addition regulator and feedback latch for signal gain adjustment to achieve efficient image sensor data readout.
The efficiency of the image sensor in multi-sampling and auto-focus signal processing is improved, noise is reduced, the normalized output quality of the image signal is enhanced, and the overall performance of the image sensor is improved.
Smart Images

Figure CN117750227B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to image sensors and, in particular, but not exclusively, to an arithmetic logic unit for use in an image sensor. Background Art
[0002] Image sensors have become ubiquitous and are now widely used in digital cameras, cellular phones, security cameras, and in medical, automotive, and other applications. As image sensors are integrated into a wider range of electronic devices, it is desirable to enhance their functionality, performance metrics, and the like (e.g., resolution, power consumption, dynamic range, etc.) in as many ways as possible, both through device architecture design and image acquisition processing.
[0003] A typical image sensor operates in response to image light from an external scene being incident on the image sensor. The image sensor includes an array of pixels having photosensitive elements (e.g., photodiodes) that absorb a portion of the incident image light and generate an image charge upon absorbing the image light. The image charge generated by the pixel light can be measured as an analog output image signal on the column bit lines that varies with the incident image light. In other words, the amount of image charge generated is proportional to the intensity of the image light, which is read out from the column bit lines as an analog image signal and converted into a digital value to provide information representing the external scene. Summary of the invention
[0004] One aspect of the present disclosure relates to an arithmetic logic unit (ALU) comprising: a front-end latch stage coupled to a Gray code (GC) generator to latch a GC output of the GC generator in response to a comparator output; a signal latch stage coupled to latch the output of the front-end latch stage in response to a signal latch enable signal; a GC-to-binary stage coupled to generate a binary representation of the GC output latched in the signal latch stage; an adder stage including a first input and a second input, wherein the first input of the adder stage is coupled to receive an output of the GC-to-binary stage, wherein the output of the adder stage is a binary representation of the GC output latched in the signal latch stage; and A first conversion gain feedback latch is generated by a first input and a second input; a pre-latch stage, which is coupled to latch the output of the adder stage in response to a pre-latch enable signal; and a feedback latch stage, which is coupled to latch the output of the pre-latch stage, wherein the second input of the adder stage is coupled to receive the output of the feedback latch stage, wherein the feedback latch stage includes: a first conversion gain feedback latch, which is configured to latch the output of the pre-latch stage with a first conversion gain in response to the first feedback latch enable signal; and a second conversion gain feedback latch, which is configured to latch the output of the pre-latch stage with a second conversion gain in response to the second feedback latch enable signal.
[0005] Another aspect of the present disclosure relates to an imaging system comprising: a pixel array including a plurality of pixel circuits arranged in a plurality of rows and a plurality of columns, wherein each of the plurality of pixel circuits is coupled to generate an analog image data signal in response to incident light; a control circuit system coupled to the pixel array to control the operation of the pixel array; and a readout circuit coupled to the pixel array through a plurality of column bit lines, wherein the readout circuit comprises: a plurality of comparators, wherein each of the plurality of comparators is coupled to receive a ramp signal, wherein each of the plurality of comparators is further coupled to a corresponding one of the plurality of column bit lines. a Gray code (GC) generator coupled to generate a GC output; and a plurality of arithmetic logic units (ALUs), wherein each of the plurality of ALUs is coupled to receive the GC output, wherein each of the plurality of ALUs is further coupled to a respective one of the plurality of comparators to receive the respective comparator output, wherein each of the plurality of ALUs comprises: a front end latch stage coupled to the G a C generator to latch the GC output of the GC generator in response to the corresponding comparator output; a signal latch stage coupled to latch the output of the front-end latch stage in response to a signal latch enable signal; a GC-to-binary stage coupled to generate a binary representation of the GC output latched in the signal latch stage; an adder stage comprising a first input and a second input, wherein the first input of the adder stage is coupled to receive the output of the GC-to-binary stage, wherein the output of the adder stage is generated in response to the first input and the second input of the adder stage; a pre-latch stage , which is coupled to latch the output of the adder stage in response to a pre-latch enable signal; and a feedback latch stage, which is coupled to latch the output of the pre-latch stage, wherein the second input of the adder stage is coupled to receive the output of the feedback latch stage, wherein the feedback latch stage includes: a first conversion gain feedback latch, which is configured to latch the output of the pre-latch stage with a first conversion gain in response to the first feedback latch enable signal; and a second conversion gain feedback latch, which is configured to latch the output of the pre-latch stage with a second conversion gain in response to the second feedback latch enable signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following figures, wherein like reference numerals refer to like parts throughout the various views unless otherwise specified.
[0007] Figure 1One example of an imaging system including an image sensor having a pixel array with image sensing and phase detection autofocus pixels and readout circuitry including column arithmetic logic units in accordance with the teachings of the present invention is illustrated.
[0008] Figure 2 Illustrated is one example of a portion of a readout circuit including column analog-to-digital conversion utilizing a Gray code generator and parallel column arithmetic logic units in accordance with the teachings of the present invention.
[0009] Figures 3A to 3C Illustrated are various examples of the timing of a global ramp signal provided during analog-to-digital conversion of one or more black level samples and one or more signal level samples during correlated double sampling or correlated multi sampling operations from a dual conversion gain image sensor having image sensing and phase detection autofocus pixels in accordance with the teachings of the present invention.
[0010] Figures 4A to 4B is a schematic diagram illustrating one example of one of a plurality of arithmetic logic units in accordance with the teachings of the present invention.
[0011] Figures 5A to 5C Illustrated is an example schematic diagram of one of the bits of an example arithmetic logic unit with corresponding examples of timing and signal flow during generation of a normalized low conversion gain image signal, a normalized high conversion gain image signal, and a normalized high conversion gain phase-detection autofocus signal, and a simplified example of readout of those signals from the example arithmetic logic unit in accordance with the teachings of the present invention.
[0012] Throughout the several views of the drawings, corresponding reference characters indicate corresponding components. Those skilled in the art will appreciate that the elements in the figures are illustrated for simplicity and clarity and are not necessarily drawn to scale. For example, to help improve understanding of the various embodiments of the present invention, the dimensions of some of the elements in the various figures may be exaggerated relative to other elements. In addition, common and well-known elements that are useful or necessary in commercially feasible embodiments are generally not depicted in order to facilitate a less obstructed view of these various embodiments of the present invention. DETAILED DESCRIPTION
[0013] Various examples of an arithmetic logic unit (ALU) included in an analog-to-digital converter for an imaging system are described herein. In the following description, numerous specific details are set forth to provide a thorough understanding of the examples. However, one skilled in the relevant art will recognize that the techniques described herein may be practiced without one or more of the specific details or may be practiced with other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail in order to avoid obscuring certain aspects.
[0014] References throughout this specification to "one example" or "one embodiment" mean that the particular features, structures, or characteristics described in conjunction with the example are included in at least one example of the present invention. Thus, the appearance of the phrase "in one example" or "in one embodiment" in various places throughout this specification are not necessarily all referring to the same example. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more examples.
[0015] For ease of description herein, spatially relative terms (e.g., "below," "below," "lower," "beneath," "above," "upper," "top," "bottom," "left," "right," "center," "middle," etc.) may be used to describe the relationship of one element or feature to another element or feature, as illustrated in the various figures. It should be understood that the spatially relative terms are intended to encompass different orientations of the device when in use or operation in addition to the orientation depicted in the figures. For example, if the device in the various figures is rotated or flipped, an element described as being "below" or "beneath" or "under" other elements or features would be oriented "above" the other elements or features. Thus, the exemplary terms "below" and "under" may encompass both the above and below orientations. The structure may be oriented in other ways (e.g., rotated 90 degrees or in other orientations) and the spatially relative descriptors used herein are interpreted accordingly. Additionally, it should also be understood that when a layer is referred to as being "between" two layers, it may be the only layer between the two layers, or one or more intervening layers may also be present.
[0016] Throughout this specification, several technical terms are used. These terms will assume their ordinary meaning in the art to which they belong, unless otherwise specifically defined herein or the context in which they are used would clearly imply otherwise. It should be noted that in this document, element names and symbols are used interchangeably (e.g., Si and silicon); however, both have the same meaning.
[0017] As will be discussed, various examples of image sensor readout circuits are disclosed in which an analog signal is read out in parallel from a pixel array through a column bit line of an image sensor using a column arithmetic logic unit (ALU). In various examples, image sensing and phase detection autofocus signals can be read out from an image sensor having a correlated multi-sampling (CMS) output and having a dual conversion gain to produce a normalized output. In various examples, each column bit line of the pixel array is coupled to one of the inputs of a corresponding comparator. The other input of each comparator is coupled to receive a global ramp signal. The output of each comparator is coupled to a corresponding column ALU, which is coupled to output a digital or binary representation of an analog image signal from the pixel array. In various examples, the normalized output (e.g., CMS output) generated by the column ALU can be based on the difference between one or more image or phase detection autofocus (PDAF) samples from the pixel array and one or more black level samples. For example, in one example, a normalized output can be generated by finding the difference between a signal sample and a black level sample. In another example, the normalized output may be generated by finding the difference between the accumulated sum of the signal samples and the accumulated sum of the black level samples. In yet another example, the normalized output may be generated by finding the difference between the signal sample and the average of a plurality of black level samples. In various examples, a shared Gray Code (GC) generator is used to generate a GC output that is coupled to be received by each of the column ALUs to perform parallel analog-to-digital conversion (ADC) of the signals read out from the column bit lines in accordance with the teachings of the present invention.
[0018] For illustration purposes, Figure 1 One example of an imaging system 100 including a pixel array 102 from which analog image signals and PDAF signals are read out in parallel to a readout circuit 106 via column bit lines 112 in accordance with an embodiment of the present disclosure is illustrated. As will be discussed in greater detail below, in various examples, readout circuit 106 includes circuitry to perform analog-to-digital conversion (ADC) of image and PDAF data from pixel array 102 utilizing parallel arithmetic logic units (ALUs) and a shared Gray code (GC) generator for dual conversion gain (DCG) and correlated multiple sampling (CMS) processing in accordance with the teachings of the present invention.
[0019] Specifically, Figure 1The example depicted in shows an imaging system 100 including a pixel array 102, a control circuit 110, a readout circuit 106, and a function logic 108. In one example, the pixel array 102 is a two-dimensional (2D) array including a plurality of pixel circuits 104, which include photodiodes (e.g., P1, P2, ..., Pn). In various examples, the photodiodes P1, P2, ..., Pn include photodiodes configured to provide image data and photodiodes configured to provide PDAF data. In various examples, the photodiodes configured to provide PDAF data may be interspersed among the photodiodes configured to provide image data. As illustrated in the depicted example, the pixel circuits 104 are arranged into rows (e.g., R1 to Ry) and columns (e.g., C1 to Cx) to acquire image data and / or PDAF data of a person, place, object, etc., which data can then be used to reproduce an image of the person, place, object, etc.
[0020] In the example, each pixel circuit 104 is configured to photogenerate an image charge in response to incident light. After each pixel circuit 104 has acquired its image and / or PDAF charge, the corresponding analog image and / or PDAF charge data is read out by readout circuit 106 through column bit lines 112. In various examples, the image and / or PDAF charge data from each row of pixel circuits 104 is read out in parallel by readout circuit 106 through column bit lines 112. In various examples, the analog image and / or PDAF charge signals are converted into digital values, which are then transmitted to function logic 108 in accordance with the teachings of the present invention.
[0021] In various examples, the analog-to-digital conversion is performed using parallel ALUs and a shared Gray code generator included in the readout circuitry 106. In various examples, the parallel ALU readout included in the readout circuitry 106 may be configured to perform a correlated double sampling (CDS) or correlated multiple sampling (CMS) process by finding the difference between one or more signal level samples and one or more black level samples from each of the plurality of pixel circuits 104 of the pixel array 102. The function logic 108 may store the image data or even manipulate the image data by applying post-image effects (e.g., cropping, rotating, removing red eye, adjusting brightness, adjusting contrast, or others).
[0022] Figure 2 An example of a portion of readout circuit 206 including column analog-to-digital conversion utilizing a Gray code generator and a parallel column arithmetic logic unit (ALU) in accordance with the teachings of the present invention is illustrated. It should be appreciated that Figure 2 The readout circuit 206 may be as follows Figure 11 and 2. An example of readout circuitry 106 of image sensor 100 is shown in FIG. 1 , and similarly named and numbered elements described above are similarly coupled and function below.
[0023] like Figure 2 As shown in the example depicted in , a portion of the readout circuit 206 includes a plurality of comparators 216. Each of the plurality of comparators 216 is coupled to receive a ramp signal 214, which in one example is a global ramp signal. Each of the plurality of comparators 216 is further coupled to a respective one of a plurality of column bit lines 212 from the image sensor to receive a respective analog image or PDAF data signal from a column of the image sensor. As shown in the example, the outputs of the plurality of comparators 216 are coupled in parallel to respective column ALUs 218. Each of the plurality of ALUs 218 is also coupled to receive a Gray code (GC) output 222 generated by a shared Gray code (GC) generator 220, as shown. In one example, the GC output 222 generated by the GC generator 220 is a phase-aligned 13-bit Gray code signal.
[0024] In operation, each of the plurality of comparators 216 is coupled to generate a respective comparator output in response to a comparison of a respective analog image or PDAF data signal received from a respective bit line 212 and a ramp signal 214. In one example, when the voltage of the ramp signal 214 ramps down to a value equal to or less than the voltage of the analog image or PDAF data signal carried by the respective column bit line 212, a falling edge occurs at the output of the respective comparator 216. In the example, when a falling edge occurs at the output of the respective comparator 216 coupled to the respective column ALU 218, each respective column ALU 218 is coupled to sample and hold or latch a 13-bit Gray code signal 222 received from the GC generator 220. In various examples, each column ALU 218 is then configured to perform Gray code / binary code conversion on the latched GC code signal 222.
[0025] In various examples, column ALU 218 may also be coupled to perform a correlated double sampling (CDS) or correlated multi sampling (CMS) operation in parallel to generate a normalized digital image signal or PDAF data from the image sensor by determining a difference between one or more sampled and held reset (SHR) values (which may also be referred to in the present disclosure as black level samples) and one or more sampled and held signal (SHS) samples (which may also be referred to in the present disclosure as signal level samples) from corresponding column bit lines 212 in accordance with the teachings of the present invention. In one example, the digital image or PDAF signal data generated from column ALU 218 may then be output to corresponding global read bit lines of readout circuit 206.
[0026] In one instance, Figure 2 The portion of readout circuitry 206 shown in may be one of multiple portions of readout circuitry 206 that are repeated or "stitched together" across a column of the image sensor array. Figure 2 , the image signal output from the column ALU 218 can thus be relayed from "right" to "left" through the column ALU 218 of each portion of the readout circuit 206, and the image or PDAF data is read out from the image sensor array using a shift register readout 224 coupled to the first and last columns and interspersed between every N columns of the image sensor array. For example, in the example of a 48 megapixel sensor array, there are 8,000 columns. In the example, a single GC generator 220 can be shared among every N=500 columns of the sensor array, such that Figure 2 The total 16x portion of the readout circuit 206 shown in FIG. 1 is included between shift register readouts 224 coupled to the first and last columns and interspersed between every 500 columns to read out image signal outputs from the sensor array. In other words, the shift readout registers 224 are coupled to respective ALUs 218 coupled to the first and last columns of the image sensor. Additionally, the shift registers 224 are coupled to and interspersed between the plurality of ALUs 218 of each of the plurality of readout circuits 206 to read out respective digital image data signals from the plurality of ALUs 218.
[0027] Figures 3A to 3C Illustrated are various examples of a global ramp signal provided during analog-to-digital conversion of one or more black level samples and one or more signal level samples during correlated double sampling (CDS) or correlated multi sampling (CMS) operation of an imaging system in accordance with the teachings of the present invention.
[0028] For example, Figure 3A The diagram illustrates the timing of an example ramp signal 314A provided during the analog-to-digital conversion of one black level sample (e.g., "BLK") and one signal level sample (e.g., "SIG"). Thus, 2 (i.e., 1+1) samples are taken, and Figure 3A Thus illustrated is an example of a ramp signal 314A of a correlated double sampling (CDS) operation during which the difference (SIG-BLK) between one signal level sample SIG and one black level sample BLK is determined to produce a normalized output value of image or PDAF data received from an image sensor.
[0029] Figure 3BThe diagram illustrates the timing of an example ramp signal 314B provided during analog-to-digital conversion of multiple dual conversion gain (DCG) samples taken from image data and PDAF data from a pixel array to provide a normalized output signal. In the depicted example, it should be noted that the pixels included in the pixel array can be organized into a gridded 4C color filter pattern (e.g., 2x2) from which DCG image sensing and PDAF signals can be read. As such, it should be appreciated that DCG image sensing and PDAF signals from a 4C pixel array can be read out using DCG4C2-add processing. For example, Figure 3B The diagram shows that in a low conversion gain (LCG) black level sample (for example, “RST LCG ”) analog-to-digital conversion, and then high conversion gain (HCG) black level samples (e.g., “RST HCG ”) and then the HCG PDAF signal level samples (e.g., “SIG HCG L ”) analog / digital conversion, and then HCG image signal level samples (e.g., “SIG HCG L+R ”) and then the LCG image signal level samples (e.g., “SIG LCG L+R ”) during the analog-to-digital conversion of an example ramp signal 314B.
[0030] exist Figure 3B In the example readout operation depicted in FIG. 1 , the LCG image signal level samples (eg, “SIG LCG L+R ”) and LCG black level samples (e.g., “RST LCG ”) or “SIG LCG L+R -RST LCG ” and provide a normalized LCG image signal. Similarly, the HCG image signal level sample (eg, “SIG HCG L+R ”) and HCG black level samples (e.g., “RST HCG ”) or “SIG HCG L+R -RST HCG ” and provide a normalized HCG image signal. This can be done by finding the HCG PDAF signal level sample (e.g., “SIG HCG L ”) and HCG black level samples (e.g., “RST HCG ”) or “SIG HCG L -RST HCG” and provide a normalized HCG PDAF signal.
[0031] Figure 3C Illustrated is another example ramp signal 314C provided during analog-to-digital conversion of multiple dual conversion gain (DCG) samples taken from image data from a pixel array and PDAF data using correlated multi-sampling (CMS) to provide a normalized DCG 4C2-add output signal. As shown, during a low conversion gain (LCG) black level sample (e.g., “RST LCG ”) analog / digital conversion, and then the first and second high conversion gain (HCG) black level samples (e.g., “RST HCG ”) and then the HCG PDAF signal level samples (e.g., “SIG HCG L ”) analog / digital conversion, and then the first and second HCG image signal level samples (eg, “SIG HCG L+R ”) and then the LCG image signal level samples (e.g., “SIG LCG L+R ”) during the analog / digital conversion of the sample. In the example, a plurality of first and second HCG black level samples (eg, “RST HCG ”) and a plurality of first and second HCG image signal level samples (eg, “SIG HCG L+R ”) to provide correlated multi-sampling (CMS) processing. It should be understood that in various examples, the first and second HCG black level samples may also be referred to as “RST1 HCG ” and “RST2 HCG ”, and in various examples, the first and second HCG image signal level samples may also be referred to as “SIG1 HCG L+R ” and “SIG2 HCG L+R ”.
[0032] exist Figure 3C In the example readout operation depicted in FIG. 1 , the LCG image signal level samples (eg, “SIG LCG L+R ”) and LCG black level samples (e.g., “RST LCG ”) or “SIG LCG L+R -RST LCG ” to provide a normalized (eg, CDS) LCG image signal. In one example, the normalized (eg, CDS) LCG image signal can be obtained by finding the sum of the first and second HCG image signal level samples (eg, “SIG1HCG L+R +SIG2 HCG L+R ”) with the sum of the first and second HCG black level samples (e.g., “RST1 HCG +RST2 HCG ”) or (“SIG1 HCG L+R +SIG2 HCG L+R ”)-(“RST1 HCG +RST2 HCG ”) to provide a normalized HCG image signal after CMS. In one example, the HCG PDAF signal level sample (eg, “SIG HCG L ”) and the average of the first and second HCG black level samples (e.g., “(RST1 HCG +RST2 HCG) / 2") or "SIG HCG L -(RST1 HCG +RST2 HCG) / 2)” to provide a normalized HCG PDAF signal after CMS.
[0033] exist Figure 3C In the above described example, it should be noted that CMS is applied to the first and second HCG black level samples "RST1 HCG ” and “RST2 HCG "The two samples taken and the first and second HCG image signal level samples "SIG1 HCG L+R ” and “SIG2 HCG L+R "The two samples taken, and CDS is applied to the LCG black level sample "RST LCG "A sample taken and the LCG image level sample "SIG LCG L+R ” This is because LCG processing is used for bright or bright light conditions where circuit noise is not dominant and therefore CDS processing is sufficient. In particular, in bright light conditions, pixel shot noise is dominant, which is not reduced with CMS processing. In addition, it should be further understood that a HCG PDAF signal level sample “SIG HCG L ” is used for autofocus processing, for which noise is not as important as the image signal data.
[0034] Figures 4A to 4B4 is a schematic diagram illustrating one example of one of a plurality of arithmetic logic units (ALUs) 418 in accordance with the teachings of the present invention. It should be appreciated that Figures 4A to 4B The ALU 418 may be as Figure 2 2. An example of one of the plurality of column ALUs 218 is shown in FIG. 2 and similarly named and numbered elements described above are similarly coupled and function below.
[0035] As will be shown in various examples below, it should be noted that each of the plurality of ALUs 418 is coupled to sample and hold or latch the received 13-bit Gray code Q_GC<12:0> 422 in response to the comparator output 450. In one example, each ALU 418 is coupled to latch the 13-bit Gray code Q_GC<12:0> 422 in response to the comparator output 450 reaching a falling edge to complete the analog-to-digital conversion by converting the latched 13-bit Gray code Q_GC<12:0> 422 into a binary value. Figures 4A to 4B Individually marked as Q_GC <0> 422-0 to Q_GC <12> 422-12.
[0036] In various examples, the plurality of ALUs 418 are further coupled to perform correlated double sampling (CDS) or correlated multi sampling (CMS) in parallel by determining the difference between one or more signal level samples and one or more black level samples of the image or PDAF data read out from each of the plurality of pixel circuits 104 of the pixel array 102 to generate a normalized digital or binary output value of the data received from the image sensor. As will be discussed, in one example, a normalized LCG image signal output may be generated by finding the difference between the LCG signal sample and the LCG black level sample. In another example, a normalized HCG signal output may be generated by finding the difference between the accumulated sum of the HCG signal samples and the accumulated sum of the HCG black level samples. In yet another example, a normalized PDAF output may be generated by finding the difference between the HCG PDAF signal sample and the average of the plurality of HCG black level samples.
[0037] For illustration purposes, Figures 4A to 4B The example ALU 418 shown in FIG. 4 includes a front-end latch stage 426 coupled to receive and latch a corresponding Gray code Q_GC in response to a comparator output CMPOUT 450. <0> 422-0 to Q_GC <12> In the illustrated example, the front-end latch stage 426 includes a plurality of latches 426-0 to 426-12, each of which has a coupled to receive a Gray code Q_GC <0> 422-0 to Q_GC <12> The data of the corresponding bit of 422-12 is input to "D".
[0038] In the example, the ALU 418 also includes a pulse generator 444 coupled to receive a comparator output 450 from a corresponding comparator of the column (e.g., comparator 216). In one example, the pulse generator 444 is coupled to generate a front-end latch enable signal LAT_FE_EN 452 in response to reaching a falling edge in the comparator output CMPOUT 450. In one example, a pulse of the front-end latch enable signal LAT_FE_EN 452 is coupled to an enable input of each of the plurality of latches 426-0 to 426-12 of the front-end latch stage 426.
[0039] In one embodiment, ALU 418 also includes a Figures 4A to 4B A bypass switch 448 is provided between the input and output of the pulse generator 444 to implement a bypass mode. One reason for the bypass mode is that in various instances, the pulse generator 444 may be sensitive to noise in the VDD supply and / or noise in the ground, which may result in unwanted image artifacts. Therefore, in excessively noisy conditions, it may be desirable to bypass the pulse generator 444. In operation, when the bypass switch 448 is closed, the bypass mode is enabled. When the bypass mode is enabled, the front-end latch enable signal LAT_FE_EN 452 is substantially the same or substantially equal to the comparator output CMPOUT 450. When the bypass switch 448 is open, the bypass mode is disabled. When the bypass mode is disabled, the front-end latch enable signal LAT_FE_EN 452 is substantially the same or substantially equal to the output pulse from the pulse generator 444.
[0040] In the depicted example, the ALU 418 also includes a signal latch stage 428 coupled to the output of the front-end latch stage 426. In operation, the signal latch stage 428 is coupled to latch the output of the front-end latch stage 426 in response to the signal latch enable signal LAT_SIG_EN 454. In the depicted example, the signal latch stage 428 includes a plurality of latches 428-0 to 428-12. Each of the plurality of latches 428-0 to 428-12 has a data input "D" coupled to the "Q" output of a corresponding one of the plurality of latches 426-0 to 426-12 of the front-end latch stage 426. Each of the plurality of latches 428-0 to 428-12 has an enable input "EN" coupled to receive the signal latch enable signal LAT_SIG_EN 454.
[0041] Figures 4A to 4BThe example in FIG. 4 shows that ALU 418 also includes a coupled to generate a Gray code Q_GC latched in front-end latch stage 426. <0> 422-0 to Q_GC <12> 422-12 signal value. In the illustrated example, the GC-to-binary stage 430 includes a plurality of exclusive-OR (XOR) gates 430-0 to 430-12, each of which has an output coupled to produce a corresponding binary bit and a first input coupled to receive a corresponding "Q" output of a plurality of latches 428-0 to 428-12 of the signal latch stage 428. Assume that the Gray code Q_GC<12:0> 422 signal value has N bits, where the Gray code Q_GC <12> 422-12 is the most significant bit (MSB) and the Gray code Q_GC<11:0> is the N-1 least significant bits (LSBs), then each of the plurality of XOR gates 430-0 to 430-11 corresponding to one of the N-1 LSBs has a second input coupled to receive a respective output of the nearest XOR gate of the GC to binary stage 430 corresponding to the higher bit value, as shown. Figures 4A to 4B In the example depicted in , the second input of the XOR gate 430 - 12 corresponding to the MSB is coupled to receive a logic low level (eg, “0”).
[0042] like Figures 4A to 4B , the ALU 418 also includes an adder stage 436 including a plurality of full adders 436-0 to 436-12, each of which has a first input "A" coupled to the output of the GC-to-binary stage 430, and a second input "B" coupled to the output of a third multiplexer stage MUX3434C described in more detail below. In operation, the output "S" of the adder stage is produced in response to the first input "A" and the second input "B" of the adder stage 436, which in the example is the sum of the value received at the first input "A" and the value received at the second input "B".
[0043] Figures 4A to 4B The example in shows that the ALU 418 also includes a pre-latch stage 438 coupled to latch the output of the adder stage 436 in response to a pre-latch enable signal LAT_PRE_EN 462. In the depicted example, the pre-latch stage 438 includes a plurality of latches 438-0 to 438-12. Each of the plurality of latches 438-0 to 438-12 has a data input "D" coupled to the "S" output of a corresponding one of the plurality of full adders 436-0 to 436-12 of the adder stage 436. Each of the plurality of latches 438-0 to 438-12 has an enable input "EN" coupled to receive the pre-latch enable signal LAT_PRE_EN 462.
[0044] Figures 4A to 4B The example in shows that the ALU 418 also includes a feedback latch stage 432 coupled to latch the output of the pre-latch stage 438 in response to first and second feedback latch enable signals LAT_FB_EN_H 456H and LAT_FB_EN_L 456L. As shown in the depicted example, the feedback latch stage 432 includes a plurality of first conversion gain feedback latches labeled 432H-0 through 432H-12, and a plurality of second conversion gain feedback latches labeled 432L-0 through 432L-12. In the example, the first conversion gain feedback latches 432H-0 to 432H-12 may be configured to latch the output of the pre-latch stage 438 having, for example, a high conversion gain (HCG) in response to the first feedback latch enable signal LAT_FB_EN_H 456H, and the second conversion gain feedback latches 432L-0 to 432L-12 may be configured to latch the output of the pre-latch stage 438 having, for example, a low conversion gain (LCG) in response to the second feedback latch enable signal LAT_FB_EN_L 456L.
[0045] As shown in the depicted example, each of the first conversion gain feedback latches 432H-0 through 432H-12 and the second conversion gain feedback latches 432L-0 through 432L-12 of the feedback latch stage 432 has a data input “D” coupled to the “Q” output of a respective one of the plurality of latches 438-0 through 438-12 of the pre-latch stage 438. Each of the first conversion gain feedback latches 432H-0 through 432H-12 has an enable input “EN” coupled to receive a first feedback latch enable signal LAT_FB_EN_H 456H and a reset input coupled to receive a feedback latch reset signal LAT_FB_RST 458. Similarly, each of the second conversion gain feedback latches 432L- 0 through 432L- 12 has an enable input “EN” coupled to receive a second feedback latch enable signal LAT_FB_EN_L 456L and a reset input coupled to receive a feedback latch reset signal LAT_FB_RST 458 .
[0046] In various examples, the first conversion gain feedback latches 432H-0 to 432H-12 and the second conversion gain feedback latches 432L-0 to 432L-12 of the feedback latch stage 432 may be reset (e.g., returned to zero) in response to the feedback latch reset signal LAT_FB_RST 458. As shown in the example, the outputs of the first conversion gain feedback latches 432H-0 to 432H-12 and the second conversion gain feedback latches 432L-0 to 432L-12 of the feedback latch stage 432 include a first output "Q" and a second output "Qb". In the example, the second output "Qb" is a complement or inverted representation of the first output "Q".
[0047] As shown in the depicted example, the first multiplexer stage MUX1 434A includes a plurality of first multiplexers 434AH-0 through 434AH-12 coupled to first outputs “Q” and second outputs “Qb” of first conversion gain feedback latches 432H-0 through 432H-12 of the feedback latch stage 432. The first multiplexer stage MUX1 434A also includes a plurality of second multiplexers 434AL-0 through 434ALH-12 coupled to first outputs “Q” and second outputs “Qb” of second conversion gain feedback latches 432L-0 through 432L-12 of the feedback latch stage 432. In operation, the first multiplexers 434AH-0 to 434AH-12 and the second multiplexers 434AL-0 to 434AL-12 of the first multiplexer stage MUX1 434A are configured to select between the first output “Q” or the second output “Qb” of the first conversion gain feedback latch 432H-0 to 432H-12 and the second conversion gain feedback latch 432L-0 to 432L-12 of the feedback latch stage 432 in response to the adder operation signal FA_OP 460.
[0048] As shown in the depicted example, the second multiplexer stage MUX2 434B includes a plurality of multiplexers 434B-0 through 434B- 12. Each of the multiplexers 434B-0 through 434B-12 includes a first input coupled to the output of a respective one of the first multiplexers 434AH-0 through 434AH-12, and a second input coupled to the output of a respective one of the second multiplexers 434AL-0 through 434AL-12. Thus, in operation, the multiplexers 434B-0 to 434B-12 of the second multiplexer stage MUX2 434B are configured to select between the outputs of the first (e.g., HCG) multiplexers 434AH-0 to 434AH-12 of the first multiplexer stage 434A or the outputs of the second (e.g., LCG) multiplexers 434AL-0 to 434AL-12 of the first multiplexer stage 434A in response to the selection conversion gain signal SEL_CG 461.
[0049] Referring back to the previously mentioned third multiplexer stage MUX3 434C, the third multiplexer stage MUX3 434C includes a plurality of multiplexers 434C-0 through 434C-12. As shown in the depicted example, the multiplexers 434C-0 through 434C-12 of the third multiplexer stage MUX3 434C have inputs coupled to the outputs of the multiplexers 434B-0 through 434B-12 of the second multiplexer stage MUX2 434B. In operation, each of the multiplexers 434C-0 to 434C-12 of the third multiplexer stage MUX3 434C is configured to output the same bit output from the corresponding multiplexer 434B-0 to 434B-12 of the second multiplexer stage MUX2 434B or the higher bits from the higher corresponding multiplexers 434B-1 to 434B-12 of the second multiplexer stage MUX2 434B in response to the bit shift signal BIT_SHFT 463, as shown. In the case of the most significant bit (MSB), the multiplexer 434C-12 of the third multiplexer stage 434C is configured to output the same bit or "1" (e.g., a high value) output from the corresponding multiplexer 434B-12 of the second multiplexer stage MUX2 434B in response to the bit shift signal BIT_SHFT 463, as shown. As previously mentioned, the outputs of the multiplexers 434C-0 through 434C-12 of the third multiplexer stage MUX3 434C are coupled to the corresponding second input "B" of the corresponding one of the full adders 436-0 through 436-12, as shown.
[0050] Therefore, in operation, it should be understood that the feedback latch stage 432, the first multiplexer stage MUX1 434A, the second multiplexer stage MUX2 434B and the third multiplexer stage MUX3 434C are configured to feedback the "S" output of the adder stage 436 or the value in response to the "S" output of the adder stage 436 to the second input "B" of the adder stage 436 through the pre-latch stage 438 in response to the first feedback latch enable signal LAT_FB_EN_H 456H, the second feedback latch enable signal LAT_FB_EN_L 456L, the feedback latch reset signal LAT_FB_RST 458, the adder operation signal FA_OP 460, the selection conversion gain signal SEL_CG 461 and the bit shift signal BIT_SHFT 463, as shown.
[0051] In doing so, the sum produced by adder stage 436 may be accumulated in pre-latch stage 438 via one or more summing operations of adder stage 436 between resets of feedback latch stage 432 and then transferred to feedback latch stage 432 in accordance with the teachings of the present invention. In various examples, pre-latch stage 438 and feedback latch stage 432 may be configured to be controlled by different enable signals with different timings to avoid oscillation.
[0052] As shown in the depicted example, the LSB of the adder stage 436 is the full adder 436-0. In the example, the carry "CI" input of the full adder 436-0 is coupled to the output of the multiplexer 446. In operation, the multiplexer 446 is configured to select a low value or a high value (e.g., "0" or "1") to couple to be received by the carry "CI" input of the full adder 436-0 in response to the adder operation signal FA_OP 460.
[0053] Thus, in operation, when the second input “B” of the adder stage 436 is coupled to receive the first output “Q” from the first conversion gain feedback latch 432H-0 to 432H-12 or the second conversion gain feedback latch 432L-0 to 432L-12 of the feedback latch stage 432 through the first multiplexer stage MUX1 434A, the second multiplexer stage MUX2 434B, and the third multiplexer stage MUX3 434C, the carry “CI” input of the full adder 436-0 is coupled to receive a low value (e.g., “0”) from the multiplexer 446. Similarly, when the second input “B” of the adder stage 436 is coupled to receive the second output “Qb” from the first conversion gain feedback latch 432H-0 to 432H-12 or the second conversion gain feedback latch 432L-0 to 432L-12 of the feedback latch stage 432 through the first multiplexer stage MUX1 434A, the second multiplexer stage MUX2 434B and the third multiplexer stage MUX3 434C, the carry “CI” input of the full adder 436-0 is coupled to receive a high value (e.g., “1”) from the multiplexer 446.
[0054] Therefore, it should be understood that when the first multiplexer stage MUX1 434A, the second multiplexer stage MUX2 434B and the third multiplexer stage MUX3 434C are configured to couple the first output "Q" of the first conversion gain feedback latch 432H-0 to 432H-12 or the second conversion gain feedback latch 432L-0 to 432L-12 of the feedback latch stage 432 to the second input "B" of the adder stage 436, the adder stage 436 is configured to add the feedback value latched in the first conversion gain feedback latch 432H-0 to 432H-12 or the second conversion gain feedback latch 432L-0 to 432L-12 of the feedback latch stage 432 and the binary representation obtained by the GC output latched in the signal latch stage 428 through the GC to binary stage 430.
[0055] Similarly, when the first multiplexer stage MUX1 434A, the second multiplexer stage MUX2 434B and the third multiplexer stage MUX3 434C are configured to couple the second output “Qb” of the first conversion gain feedback latch 432H-0 to 432H-12 or the second conversion gain feedback latch 432L-0 to 432L-12 of the feedback latch stage 432 to the second input “B” of the adder stage 436, the adder stage 436 is configured to add the 2's complement representation of the feedback value latched in the first conversion gain feedback latch 432H-0 to 432H-12 or the second conversion gain feedback latch 432L-0 to 432L-12 of the feedback latch stage 432 and the binary representation of the GC output latched in the signal latch stage 428 obtained through the GC to binary stage 430. Of course, it should be appreciated that the 2's complement representation of the feedback value latched in the feedback latch stage 432 is the inverted binary representation (e.g., the inverted "Qb" output) plus 1, which can be achieved by setting the carry "CI" input of the full adder 436-0 to receive a high value (e.g., "1") from the multiplexer 446. Thus, the adder stage 436 can perform a subtraction by adding the negative representation (e.g., the 2's complement representation) of a number to another number.
[0056] Continuing with the illustrated example, the ALU 418 also includes a data latch stage 440 coupled between the pre-latch stage 438 and the ALU output of the ALU 418. As shown in the depicted example, the data latch stage 440 is coupled to latch the output of the pre-latch stage 438. In the depicted example, the data latch stage 440 includes a plurality of first or high conversion gain data latches 440H-0 through 440H-12 configured to latch the output of the pre-latch stage 438 having a first or high conversion gain, and a plurality of second or low conversion gain data latches 440L-0 through 440L-12 configured to latch the output of the pre-latch stage 438 having a second or low conversion gain.
[0057] In operation, the first conversion gain data latches 440H-0 to 440H-12 of the data latch stage 440 are coupled to latch the output of the pre-latch stage 438 in response to the first data latch enable signal LAT_DAT_EN_H 464H, and the second conversion gain data latches 440L-0 to 440L-12 of the data latch stage 440 are coupled to latch the output of the pre-latch stage 438 in response to the second data latch enable signal LAT_DAT_EN_L 464L. In the illustrated example, each of the first conversion gain data latches 440H-0 to 440H-12 and the second conversion gain data latches 440L-0 to 440L-12 of the data latch stage 440 has a data input "D" coupled to receive a respective output "Q" from the pre-latch stage 438. In addition, each of the first conversion gain data latches 440H-0 to 440H-12 includes an enable input “EN” coupled to receive a first data latch enable signal LAT_DAT_EN_H 464H, and each of the second conversion gain data latches 440L-0 to 440L-12 includes an enable input “EN” coupled to receive a second data latch enable signal LAT_DAT_EN_L464L.
[0058] In the depicted example, a plurality of first transmission gates 442H-0 to 442H-12 responsive to a first transmission gate enable signal rwl_H 443H are coupled between respective “Q” outputs of first conversion gain data latches 440H-0 to 440H-12 and the ALU outputs. Similarly, a plurality of second transmission gates 442L-0 to 442L-12 responsive to a second transmission gate enable signal rwl_L 443L are coupled between respective “Q” outputs of second conversion gain data latches 440L-0 to 440L-12 and the ALU outputs.
[0059] In one example, the ALU output is coupled to a global read bit line. In one example, the ALU output is coupled to a global read bit line via a shift register readout, such as described above in Figure 2 Illustrated and described in .
[0060] Figures 5A to 5C An example schematic diagram of one of the bits of an example arithmetic logic unit with corresponding examples of timing and signal flow during the generation of a normalized low conversion gain image signal, a normalized high conversion gain image signal, and a normalized high conversion gain phase detection autofocus signal, and a simplified example of the readout of those signals from the example arithmetic logic unit in accordance with the teachings of the present invention is illustrated. It should be appreciated that Figure 5A The diagram illustrates one bit of ALU 518, which may be Figures 4A to 4B4. An example of one of the bits of ALU 418 shown in , and similarly named and numbered elements described above are similarly coupled and function below.
[0061] For example, Figure 5A , the ALU 518 includes a front-end latch stage 526 that includes a front-end latch 526-n coupled to receive and latch a Gray code bit Q_GC 522-n signal value in response to a comparator output CMPOUT 550. The ALU 518 also includes a pulse generator 544 coupled to receive the comparator output CMPOUT 550 from a corresponding comparator of the column (e.g., comparator 216). In one example, the pulse generator 544 is coupled to generate a front-end latch enable signal LAT_FE_EN 552 in response to reaching a falling edge in the comparator output CMPOUT 550. In one example, the ALU 518 also includes a bypass switch 548 coupled between an input and an output of the pulse generator 544.
[0062] In the depicted example, the ALU 518 also includes a signal latch stage 528 that includes a signal latch 528-n coupled to the output of the front-end latch stage 526. In operation, the signal latch stage 528 is coupled to latch the output of the front-end latch stage 526 in response to a signal latch enable signal LAT_SIG_EN 554. The ALU 518 also includes a GC-to-binary stage 530 that includes an XOR gate 530-n coupled to generate a binary representation of the Gray code bit Q_GC 522 signal value latched in the front-end latch stage 526.
[0063] In the example, the ALU 518 also includes an adder stage 536 including a full adder 536-n having a first input “A” coupled to the output of the GC-to-binary stage 530, a second input “B” coupled to the output of a multiplexer 534C-n of a third multiplexer stage 534 in response to a bit shift signal BIT_SHFT 563. In operation, an output “S” of the adder stage is produced in response to the first input “A” and the second input “B” of the adder stage 536, and in the example is the sum of a value received at the first input “A” and a value received at the second input “B”.
[0064] In the depicted example, the ALU 518 also includes latches 538-n of a pre-latch stage 538 coupled to latch the output “S” of the adder stage 536 in response to a pre-latch enable signal LAT_PRE_EN 562. The ALU 518 also includes a feedback latch stage 532 including first and second conversion gain feedback latches 532H-n, 532L-n coupled to latch the output of the pre-latch stage 538 in response to first and second feedback latch enable signals LAT_FB_EN_H 556H, 556L, respectively. In various examples, the first conversion gain feedback latch 532H-n and the second conversion gain feedback latch 532L-n of the feedback latch stage 532 can be reset (e.g., to zero) in response to the feedback latch reset signal LAT_FB_RST 558. As shown in the example, the outputs of the first conversion gain feedback latch 532H-n and the second conversion gain feedback latch 532L-n of the feedback latch stage 532 include a first output "Q" and a second output "Qb". The first output "Q" of the first conversion gain feedback latch 532H-n and the second conversion gain feedback latch 532L-n of the feedback latch stage 532 is the latched output of the pre-latch stage 538. The second output "Qb" of the first conversion gain feedback latch 532H-n and the second conversion gain feedback latch 532L-n of the feedback latch stage 532 is the inverted latched output of the pre-latch stage 538.
[0065] As shown in the depicted example, the first multiplexer stage MUX1 534A includes a first multiplexer 534AH-n coupled to a first output “Q” and a second output “Qb” of a first conversion gain feedback latch 532H-n of the feedback latch stage 532. The first multiplexer stage MUX1 534A also includes a second multiplexer 534AL-n coupled to a first output “Q” and a second output “Qb” of a second conversion gain feedback latch 532L-n of the feedback latch stage 532. In operation, the first multiplexer 534AH-n and the second multiplexer 534AL-n of the first multiplexer stage MUX1534A are configured to select between the first output “Q” or the second output “Qb” of the first conversion gain feedback latch 532H-n and the second conversion gain feedback latch 532L-n of the feedback latch stage 532 in response to the adder operation signal FA_OP 560.
[0066] As shown in the depicted example, the second multiplexer stage MUX2 534B includes multiplexers 534B-n. The multiplexers 534B-n of the second multiplexer stage MUX2 534B include a first input coupled to the output of the first multiplexer 534AH-n of the first multiplexer stage MUX1 534A, and a second input coupled to the output of the second multiplexer 534AL-n of the first multiplexer stage MUX1 534A. Thus, in operation, the multiplexers 534B-n of the second multiplexer stage MUX2 534B are configured to select between the output of the first (e.g., HCG) multiplexer 534AH-n or the output of the second (e.g., LCG) multiplexer 534AL-n of the first multiplexer stage MUX1 534A in response to the selection conversion gain signal SEL_CG 561.
[0067] The third multiplexer stage MUX3 534C includes multiplexers 534C-n. As shown in the depicted example, multiplexers 534C-n of the third multiplexer stage MUX3 534C have inputs coupled to the outputs of multiplexers 534B-n of the second multiplexer stage MUX2 534B. In operation, multiplexers 534C-n of the third multiplexer stage MUX3 534C are configured to output the same bit output from the corresponding multiplexer 534B-n of the second multiplexer stage MUX2 534B or the higher bit from the higher corresponding multiplexer of the second multiplexer stage MUX2 534B in response to the bit shift signal BIT_SHFT 563, as shown. As previously mentioned, in the case of the most significant bit (MSB), the multiplexers 534C-n of the third multiplexer stage 534C are configured to output the same bit or "1" (e.g., a high value) output from the corresponding multiplexers 534B-n of the second multiplexer stage MUX2 534B in response to the bit shift signal BIT_SHFT 563. The outputs of the multiplexers 534C-n of the third multiplexer stage MUX3 534C are coupled to the corresponding second input "B" of the corresponding full adder 536-n of the adder stage 536, as shown.
[0068] Therefore, in operation, it should be understood that the feedback latch stage 532, the first multiplexer stage MUX1 534A, the second multiplexer stage MUX2 534B and the third multiplexer stage MUX3 534C are configured to respond to the first feedback latch enable signal LAT_FB_EN_H 556H, the second feedback latch enable signal LAT_FB_EN_L 556L, the feedback latch reset signal LAT_FB_RST 558, the adder operation signal FA_OP 560, the selection conversion gain signal SEL_CG 561 and the bit shift signal BIT_SHFT 563 to feed back the "S" output of the adder stage 536 or the value in response to the "S" output of the adder stage 536 to the second input "B" of the adder stage 536 through the pre-latch stage 538 as shown.
[0069] As discussed above, it should be appreciated that the adder stage 536 is configured to perform addition by adding the feedback value received from the feedback latch stage 532 through the first multiplexer stage MUX1 534A, the second multiplexer stage MUX2 534B, and the third multiplexer stage MUX3 534C to the binary representation of the GC output latched in the signal latch stage 528 obtained through the GC to binary stage 530. Similarly, when the first multiplexer stage 534A is configured to couple the second output "Qb" of the feedback latch stage 532 to the second input "B" of the adder stage 536, the adder stage 536 is configured to perform subtraction by adding the 2's complement representation of the feedback value latched in the feedback latch stage 532 to the binary representation of the GC output latched in the signal latch stage 528 obtained through the GC to binary stage 530 in response to the adder operation signal FA_OP 560. Additionally, a high conversion gain (HCG) or low conversion gain (LCG) feedback value may be selected from the feedback latch stage 532 in response to a select conversion gain signal SEL_CG 561 received by the second multiplexer stage 534B. In one example, a fraction (e.g., divided by 2) of the feedback value from the feedback latch stage 532 may be provided from the feedback latch stage 532 in response to a bit shift signal BIT_SHFT 563 received by the third multiplexer stage MUX3 534C.
[0070] Continuing with the illustrated example, the ALU 518 also includes a data latch stage 540 coupled between the pre-latch stage 538 and the ALU output of the ALU 518. As shown in the depicted example, the data latch stage 540 is coupled to latch the output of the pre-latch stage 538. In the depicted example, the data latch stage 540 includes first conversion gain data latches 540H-n that can be configured to latch the output of the pre-latch stage 538 having a first or high conversion gain, and second conversion gain data latches 540L-n that can be configured to latch the output of the pre-latch stage 538 having a second or low conversion gain. In operation, the data latch stage 540 is coupled to latch the output of the pre-latch stage 538 in response to the first data latch enable signal LAT_DAT_EN_H 564H and / or the second data latch enable signal LAT_DAT_EN_L 564L. In addition, the ALU 518 further includes first transmission gates 542H-n responsive to a first transmission gate signal rwl_H 543H, the first transmission gates being coupled between the ALU output and the corresponding “Q” output of the first data latch 540H-n of the data latch stage 540. Similarly, second transmission gates 542L-n responsive to a second transmission gate signal rwl_L 543L are coupled between the ALU output and the corresponding “Q” output of the second data latch 540L-n of the data latch stage 540. In one example, the ALU output is coupled to a global read bit line.
[0071] like Figure 5B In the example depicted in FIG. 1 , the ramp signal 514 includes an LCG black level sample event RST LCG , two HCG black level sample events RST HCG (It may also be referred to as RST1 HCG and RST2 HCG ), a HCG PDAF sample event SIG HCG L , two HCG image signal sample events SIG HCG L+R (It may also be referred to as SIG1 HCG L+R and SIG2 HCG L+R ), and then an LCG image signal sample event SIG LCG L+R As will be discussed, ramp signal 514 is an example ramp signal from which dual conversion gain (DCG) LCG and HCG images and PDAF signals from a 4C pixel array may be read out using DCG 4C2-plus CMS processing. It should be further appreciated that Figure 5B The example ramp signal 514 illustrated in FIG. 5 is the ramp signal 514 illustrated in FIG. Figure 3C Another example of a ramp signal 314C described in .
[0072] Figure 5B The example depicted in illustrates an example of timing and signal flow during the generation of a normalized LCG image signal, a normalized HCG image signal, and a normalized HCG PDAF signal by an example ALU 518 in accordance with the teachings of the present invention. In particular, Figure 5B The example depicted in the diagram illustrates an example of a Gray code signal Q_GC<12:0> 522, a feedback latch reset signal LAT_FB_RST 558, a latch enable signal LAT_SIG_EN 554, a pre-latch enable signal LAT_PRE_EN 562, a second feedback latch enable signal LAT_FB_EN_L 556L, a first feedback latch enable signal LAT_FB_EN_H 556H, a second data latch enable signal LAT_DAT_EN_L 564L, a first data latch enable signal LAT_DAT_EN_H 564H, an adder operation signal FA_OP 560, a selection conversion gain signal SEL_CG 561, and a bit shift signal BIT_SHFT 563.
[0073] Figure 5B The example depicted in FIG. 5 shows that at time T1, the feedback latch reset signal LAT_FB_RST 558 is pulsed, which resets the first conversion gain feedback latch 532H-n and the second conversion gain feedback latch 532L-n of the feedback latch stage 532 and zeroes any previous data latched in the feedback latch stage 532. Next, the LCG black level sample event RST LCG The gray code signal Q_GC<12:0> 522 counts as the ramp signal 514 ramps down until CMPOUT 550 (not shown) stops the gray code signal Q_GC<12:0> 522 from counting and causes the front-end latch stage 526 to latch the LCG black level sample value RST represented in the gray code signal Q_GC<12:0> 522. LCG .
[0074] At time T2, the signal latch enable signal LAT_SIG_EN 554 and the pre-latch enable signal LAT_PRE_EN 562 are pulsed, which causes the GC to binary stage 530 to latch the RST in the signal latch stage 528. LCG The Gray code Q_GC<12:0> 522 representation of the sample is converted into binary which is coupled to be received at a first input “A” of an adder stage 536 .
[0075] At the same time, it should be noted that the select conversion gain signal SEL_CG 561 is set to a low value of "0", which causes the second multiplexer stage MUX2 534B to select the second multiplexer 534AL-n coupled to the output of the second conversion gain (e.g., LCG) feedback latch 532L-n of the feedback latch stage 532. The reset or zero value latched in the second conversion gain feedback latch 532L-n of the feedback latch stage 532 is received at the second input "B" of the adder stage 536. The adder operation signal FA_OP560 is now set to a high value of "1", which causes the first multiplexer stage MUX1 to select the first output "Q" of the feedback latch stage 532 to be selected and causes an addition operation (rather than a subtraction operation) to be performed by the adder stage 536. In the depicted example, the ALU 518 is configured to perform addition when the adder operation signal FA_OP 560 is set to 1, while the ALU 518 is configured to perform subtraction (or add a 2's complement number to another number) when the adder operation signal FA_OP 560 is set to 0. Thus, the adder stage 536 is configured to determine the LCG black level sample event RST LCG and 0, which is latched into the pre-latch stage 538.
[0076] At time T3, the second feedback latch enable signal LAT_FB_EN_L 556L is pulsed, which causes the RST latched in the pre-latch stage 538 to LCG The value is latched into the second conversion gain (eg, LCG) feedback latch 532L-n of the feedback latch stage 532.
[0077] Next, at time T4 , the select conversion gain signal SEL_CG 561 transitions to a high value “1”, which causes the second multiplexer stage MUX2 534B to select the first multiplexer 534AH-n coupled to the output of the first conversion gain (eg, HCG) feedback latch 532H-n of the feedback latch stage 532 .
[0078] Next, the first HCG black level sample event RST1 HCG The gray code signal Q_GC<12:0> 522 counts as the ramp signal 514 ramps down until CMPOUT 550 (not shown) stops the gray code signal Q_GC<12:0> 522 from counting and causes the front-end latch stage 526 to latch the first HCG black level sample value RST1 represented in the gray code signal Q_GC<12:0> 522. HCG .
[0079] At time T5, the signal latch enable signal LAT_SIG_EN 554 and the pre-latch enable signal LAT_PRE_EN 562 are pulsed, which causes the GC to binary stage 530 to latch the first HCG black level sample RST1 in the signal latch stage 528. HCG The Gray code Q_GC<12:0> 522 representation of is converted into binary, which is coupled to be received at the first input "A" of the adder stage 536. At the same time, the reset or zero value of the first conversion gain (e.g., HCG) feedback latch 532H-n latched in the feedback latch stage 532 is received at the second input "B" of the adder stage 536. The adder operation signal FA_OP 560 is now set to a high value "1", which causes the first multiplexer stage MUX1 to select the first output "Q" to be selected of the feedback latch stage 532 and causes the addition operation to be performed by the adder stage 536. In this way, the adder stage 536 is configured to determine the first HCG black level sample event RST1 HCG and 0, which is latched into the pre-latch stage 538.
[0080] At time T6, the first feedback latch enable signal LAT_FB_EN_H 556H is pulsed, which causes RST1 to be latched in the pre-latch stage 538. HCG The value is latched into a first conversion gain (eg, HCG) feedback latch 532H-n of the feedback latch stage 532.
[0081] Next, the second HCG black level sample event RST2 HCG The gray code signal Q_GC<12:0> 522 counts as the ramp signal 514 ramps down until CMPOUT 550 (not shown) stops the gray code signal Q_GC<12:0> 522 from counting and causes the front-end latch stage 526 to latch the second HCG black level sample value RST2 represented in the gray code signal Q_GC<12:0> 522. HCG .
[0082] At time T7, the signal latch enable signal LAT_SIG_EN 554 and the pre-latch enable signal LAT_PRE_EN 562 are pulsed, which causes the GC to binary stage 530 to latch the second HCG black level sample RST2 in the signal latch stage 528. HCG The Gray code Q_GC<12:0> 522 representation of 530 is converted into binary, which is coupled to be received at the first input "A" of the adder stage 536. At the same time, the first HCG black level sample RST1 previously latched in the first conversion gain (e.g., HCG) feedback latch 532H-n of the feedback latch stage 532 (at time T6) HCGThe adder operation signal FA_OP 560 is now set to a high value of "1", which causes the first multiplexer stage MUX1 to select the first output "Q" of the feedback latch stage 532 to be selected and causes the addition operation to be performed by the adder stage 536. In this way, the adder stage 536 is configured to determine the second HCG black level sample RST2 HCG With the first HCG black level sample RST1 HCG of and, which results in RST1 HCG +RST2 HCG is latched into the pre-latch stage 538 .
[0083] At time T8, the first feedback latch enable signal LAT_FB_EN_H 556H is pulsed again, which causes RST1 to be latched in the pre-latch stage 538. HCG +RST2 HCG The value is latched into a first conversion gain (eg, HCG) feedback latch 532H-n of the feedback latch stage 532.
[0084] Next, HCG PDAF sample event SIG HCG L occurs and the Gray code signal Q_GC<12:0> 522 counts as the ramp signal 514 ramps down until CMPOUT 550 (not shown) stops the Gray code signal Q_GC<12:0> 522 from counting and causes the front-end latch stage 526 to latch the HCG PDAF sample value SIG represented in the Gray code signal Q_GC<12:0> 522. HCG L .
[0085] At time T9, it should be noted that the adder operation signal FA_OP 560 transitions to a low value "0" and the bit shift signal BIT_SHFT 563 transitions to a high value "1". Therefore, the first multiplexer stage MUX1 534A is configured to select the second output "Qb" of the feedback latch stage 532 in response to the adder operation signal FA_OP 560, which results in a subtraction operation by the adder stage 536, as discussed above. In addition, the third multiplexer stage MUX3 534C is configured to perform a bit shift operation, which will result in a fractional output or a divide-by-2 output of the value latched in the feedback latch stage 532, as discussed above.
[0086] At time T10, the signal latch enable signal LAT_SIG_EN 554 and the pre-latch enable signal LAT_PRE_EN 562 are pulsed, which causes the GC to binary stage 530 to latch the HCG PDAF sample SIG in the signal latch stage 528. HCGL The Gray code Q_GC<12:0> 522 representation of 530 is converted into binary, which is coupled to be received at the first input "A" of the adder stage 536. At the same time, the RST1 previously latched in the first conversion gain (e.g., HCG) feedback latch 532H-n of the feedback latch stage 532 (at time T8) is HCG +RST2 HCG The value is converted to a negative number (eg, 2's complement) in response to the adder operation signal FA_OP 560 being a low value "0" and is also divided by 2 in response to the bit shift signal BIT_SHFT 563 being a high value "1". Thus, -(RST1 HCG +RST2 HCG ) / 2 is received at the second input "B" of adder stage 536. It can be seen that (RST1 HCG +RST2 HCG ) / 2 is RST1 HCG With RST2 HCG Thus, the adder stage 536 is configured to determine the HCGPDAF signal SIG HCG L With -(RST1 HCG +RST2 HCG ) / 2, which results in SIG HCG L -(RST1 HCG +RST2 HCG ) / 2 is latched into the pre-latch stage 538.
[0087] Next, the adder operation signal FA_OP 560 transitions back to a high value of “1” and the bit shift signal BIT_SHFT 563 transitions back to a low value of “0”. At time T11, the second data latch signal LAT_DAT_EN_L 564L is pulsed, which causes SIG HCG L -(RST1 HCG +RST2 HCG ) / 2 is latched into the second data latch 540L-n of the data latch stage 540. As will be discussed, at this time SIG HCG L -(RST1 HCG +RST2 HCG) / 2 is now available for reading out from the output of ALU 518 through second transmission gates 542L-n. As will be discussed below, in one example, it should be appreciated that the readout from the second data latches 540L-n of data latch stage 540 is time-interleaved and can therefore be used to read out SIG HCG L -(RST1 HCG +RST2 HCG ) / 2 and the normalized LCG image signal (at a later time).
[0088] Next, the first HCG signal level sample event SIG1 HCG L+R The Gray code signal Q_GC<12:0> 522 counts as the ramp signal 514 ramps down until the CMPOUT 550 (not shown) stops the Gray code signal Q_GC<12:0> 522 from counting and causes the front-end latch stage 526 to latch the first HCG signal level sample value SIG1 represented in the Gray code signal Q_GC<12:0> 522. HCG L+R .
[0089] At time T12, it should be noted that the adder operation signal FA_OP 560 again transitions to a low value "0." Therefore, the first multiplexer stage MUX1 534A is configured to select the second output "Qb" of the feedback latch stage 532 in response to the adder operation signal FA_OP 560, which results in a subtraction operation by the adder stage 536, as discussed above.
[0090] At time T13, the signal latch enable signal LAT_SIG_EN 554 and the pre-latch enable signal LAT_PRE_EN 562 are pulsed, which causes the GC to binary stage 530 to latch the first HCG image sample SIG1 in the signal latch stage 528. HCG L+R The Gray code Q_GC<12:0> 522 representation of 530 is converted into binary, which is coupled to be received at the first input "A" of the adder stage 536. At the same time, the RST1 previously latched in the first conversion gain (e.g., HCG) feedback latch 532H-n of the feedback latch stage 532 (at time T8) is HCG +RST2 HCG The value is converted to a negative number (eg, 2's complement) in response to the adder operation signal FA_OP 560 being a low value "0". It should be noted that at this time, when the bit shift signal BIT_SHFT 563 is set to a low value "0", RST1 HCG +RST2 HCGThe value is not divided by 2. Thus, -(RST1 HCG +RST2 HCG ) is received at a second input "B" of the adder stage 536. Thus, the adder stage 536 is configured to determine the first HCG image sample SIG1 HCG L+R With -(RST1 HCG +RST2 HCG ), which results in SIG1 HCG L+R -(RST1 HCG +RST2 HCG ) is latched into the pre-latch stage 538.
[0091] Next, the adder operation signal FA_OP 560 transitions back to a high value of “1”. At time T14, the first feedback latch enable signal LAT_FB_EN_H 556H is pulsed, which causes SIG1 to be latched in the pre-latch stage 538. HCG L+R -(RST1 HCG +RST2 HCG ) value is latched into the first conversion gain (e.g., HCG) feedback latch 532H-n of the feedback latch stage 532.
[0092] Next, the second HCG signal level sample event SIG2 HCG L+R The Gray code signal Q_GC<12:0> 522 counts as the ramp signal 514 ramps down until the CMPOUT 550 (not shown) stops the Gray code signal Q_GC<12:0> 522 from counting and causes the front-end latch stage 526 to latch the second HCG signal level sample value SIG2 represented in the Gray code signal Q_GC<12:0> 522. HCG L+R .
[0093] At time T15, the signal latch enable signal LAT_SIG_EN 554 and the pre-latch enable signal LAT_PRE_EN 562 are pulsed, which causes the GC to binary stage 530 to latch the second HCG image sample SIG2 in the signal latch stage 528. HCG L+R The Gray code Q_GC<12:0> 522 representation of 530 is converted into binary, which is coupled to be received at the first input "A" of the adder stage 536. At the same time, the SIG1 previously latched in the first conversion gain (e.g., HCG) feedback latch 532H-n of the feedback latch stage 532 (at time T14) HCG L+R -(RST1HCG +RST2 HCG ) value is received at a second input "B" of the adder stage 536. Thus, the adder stage 536 is configured to determine the second HCG image sample SIG2 HCG L+R With SIG1 HCG L+R -(RST1 HCG +RST2 HCG) This results in the normalized HCG image signal (SIG1 HCG L+R +SIG2 HCG L+R )-(RST1 HCG +RST2 HCG ) is latched into the pre-latch stage 538.
[0094] At time T16, the first data latch signal LAT_DAT_EN_H 564L is pulsed, which causes (SIG1 HCG L+R +SIG2 HCG L+R )-(RST1 HCG +RST2 HCG ) is latched into the first data latch 540H-n of the data latch stage 540. As will be discussed, at this time (SIG1 HCG L+R +SIG2 HCG L+R )-(RST1 HCG +RST2 HCG ) is now available for reading out from the output of ALU 518 through the first transfer gate 542H-n.
[0095] Next, at time T17 , the select conversion gain signal SEL_CG 561 transitions back to a low value of “0”, which causes the second multiplexer stage MUX2 534B to select the second multiplexer 534AL-n coupled to the output of the second conversion gain (eg, LCG) feedback latch 532L-n of the feedback latch stage 532 .
[0096] Next, the LCG signal level sample event SIG LCG L+Roccurs and the Gray code signal Q_GC<12:0> 522 counts as the ramp signal 514 ramps down until CMPOUT 550 (not shown) stops the Gray code signal Q_GC<12:0> 522 from counting and causes the front-end latch stage 526 to latch the LCG signal level sample value SIG represented in the Gray code signal Q_GC<12:0> 522. LCG L +R .
[0097] At time T18, it should be noted that the adder operation signal FA_OP 560 again transitions to a low value of “0.” Therefore, the first multiplexer stage MUX1 534A is configured to select the second output “Qb” of the feedback latch stage 532 in response to the adder operation signal FA_OP 560, which results in a subtraction operation by the adder stage 536, as discussed above.
[0098] At time T19, the signal latch enable signal LAT_SIG_EN 554 and the pre-latch enable signal LAT_PRE_EN 562 are pulsed, which causes the GC to binary stage 530 to latch the LCG image sample SIG in the signal latch stage 528. LCG L+R The Gray code Q_GC<12:0> 522 representation is converted into binary, which is coupled to be received at the first input "A" of the adder stage 536. At the same time, the LCG black level sample event RST previously latched in the second conversion gain (e.g., LCG) feedback latch 532L-n of the feedback latch stage 532 (at time T3) is LCG In response to the adder operation signal FA_OP560 being a low value "0", it is converted into a negative number (eg, 2's complement). It should be noted that at this time, when the bit shift signal BIT_SHFT 563 is set to a low value "0", RST LCG The value is not divided by 2. Thus, -RST LCG is received at a second input "B" of the adder stage 536. As such, the adder stage 536 is configured to determine the LCG image sample SIG LCG L+R with -RST LCG This results in the normalized LCG image signal SIG LCG L+R -RST LCG is latched into the pre-latch stage 538 .
[0099] Next, the adder operation signal FA_OP 560 transitions back to a high value of “1”. At time T20, the second data latch signal LAT_DAT_EN_L 564L is pulsed, which causes SIG LCGL+R -RST LCG The normalized (eg, CDS) LCG image signal is latched into the second data latch 540L-n of the data latch stage 540. At this time, SIG LCG L+R -RST LCG The normalized LCG image signal is now available for readout from the output of ALU 518 through second transmission gates 542L-n. As previously mentioned, in one example, it should be appreciated that the readout from the second data latches 540L-n of data latch stage 540 is time-interleaved and can therefore be used to read out SIG HCG L -(RST1 HCG +RST2 HCG ) / 2 and the normalized HCG PDAF signal and the normalized LCG image signal SIG LCG L+R -RST LCG .
[0100] Figure 5C An example of timing and signal flow during readout of a normalized LCG image signal, a normalized HCG image signal, and a normalized HCGPDAF signal is illustrated, which are as described above in Figure 5B From what is described above in Figure 5A Thus, similarly named and numbered elements described herein are similarly coupled and function similarly hereinafter.
[0101] As mentioned above Figure 5B As described in Figure 5C The same ramp signal 514 is illustrated, which includes an LCG black level sample event RST LCG , two HCG black level sample events RST HCG (It may also be referred to as RST1 HCG and RST2 HCG ), a HCGPDAF sample event SIG HCG L , two HCG image signal sample events SIG HCG L+R (It may also be referred to as SIG1 HCG L+R and SIG2 HCG L +R ), and then an LCG image signal sample event SIG LCG L+R . Figure 5CThe example depicted in also illustrates the same Gray code signal Q_GC<12:0> 522, the second data latch enable signal LAT_DAT_EN_L 564L, and the first data latch enable signal LAT_DAT_EN_H 564H. Figure 5C The example depicted in further illustrates an LCG latch data read signal LCG_LAT_DAT_READ 565L, and an HCG latch data read signal HCG_LAT_DAT_READ 565H.
[0102] As mentioned, Figure 5C The second data latch enable signal LAT_DAT_EN_L 564L and the first data latch enable signal LAT_DAT_EN_H 564H depicted in FIG. Figure 5B Therefore, Figure 5C It is shown that at time T11, the second data latch enable signal LAT_DAT_EN_L 564L is pulsed, at which time, SIG HCG L -(RST1 HCG +RST2 HCG ) / 2 is latched into the second data latch 540L-n of the data latch stage 540, as shown in Figure 5B As described in . Thus, the LCG latch data read signal LCG_LAT_DAT_READ 565L is Figure 5C The first readout cycle R1(N) is shown in FIG. 1 , during which the normalized HCG PDAF signal SIG HCG L -(RST1 HCG +RST2 HCG ) / 2 can be used to read out from the second data latch 540L-n of the data latch stage 540 of row N.
[0103] Similarly, Figure 5C It is shown that at time T16, the first data latch enable signal LAT_DAT_EN_H 564H is pulsed, at which time (SIG1 HCG L+R +SIG2 HCG L+R )-(RST1 HCG +RST2 HCG ) is latched into the first data latch 540H-n of the data latch stage 540, as shown in Figure 5BThus, the HCG latch data read signal HCG_LAT_DAT_READ 565H shows a second readout cycle R2(N), during which the normalized HCG image signal (SIG1 HCG L+R +SIG2 HCG L+R )-(RST1 HCG +RST2 HCG ) can be used to read from the first data latch 540H-n of the data latch stage 540 of row N, such as Figure 5C It should be noted that the second read cycle R2(N) continues beyond Figure 5C However, it should also be noted that Figure 5C On the left side of , the later part of the second readout cycle R2(N-1) from the previous row N-1 is still visible.
[0104] Figure 5C It is shown that at time T20, the second data latch enable signal LAT_DAT_EN_L 564L is pulsed, at which time, SIG LCG L+R -RST LCG The normalized (eg, CDS) LCG image signal is latched into the second data latch 540L-n of the data latch stage 540, as shown in FIG. Figure 5B Therefore, it should be understood that after time T20, SIG LCG L+R -RST LCG The normalized LCG image signal SIG can be used to read out from the second data latches 540L-n of the data latch stage 540. In one example, after the second readout cycle R2(N) of row N ends, the LCG latch data read signal LCG_LAT_DAT_READ 565L can be activated to enable a third readout cycle R3(N), during which the normalized LCG image signal SIG from the second data latches 540L-n of the data latch stage 540 of row N is read out. LCG L+R -RST LCG can be read. Although Figure 5C Row N is not visible in Figure 5C The diagram illustrates that the third read cycle R3(N-1) of the previous row N-1 occurs in LCG_LAT_DAT_READ 565L after the second read cycle R2(N-1) for the previous row N-1 in HCG_LAT_DAT_READ 565H ends. Figure 5CAs shown in FIG. 1 , the third readout cycle R3(N-1) of the previous row N-1 ends before time T11, at which time, SIG HCG L -(RST1 HCG +RST2 HCG ) / 2 is latched into the second data latch 540L-n of the data latch stage 540 of the next row N.
[0105] The above description of the illustrated examples of the present invention, including what is described in the Abstract, is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Although specific examples of the present invention are described herein for illustrative purposes, as those skilled in the relevant art will recognize, various modifications may be made within the scope of the present invention.
[0106] These modifications may be made to the present invention in light of the above detailed description. The terms used in the appended claims should not be construed to limit the present invention to the specific examples disclosed in this specification. Rather, the scope of the present invention will be determined entirely by the appended claims, which will be interpreted according to the established principles of claim interpretation.
Claims
1. An arithmetic logic unit ALU, comprising: a front-end latch stage coupled to the Gray code GC generator to latch a GC output of the GC generator in response to the comparator output; a signal latch stage coupled to latch an output of the front-end latch stage in response to a signal latch enable signal; a GC-to-binary stage coupled to generate a binary representation of the GC output latched in the signal latch stage; an adder stage comprising a first input and a second input, wherein the first input of the adder stage is coupled to receive an output of the GC-to-binary stage, wherein the output of the adder stage is generated in response to the first input and the second input of the adder stage; a pre-latch stage coupled to latch an output of the adder stage in response to a pre-latch enable signal; and a feedback latch stage coupled to latch an output of the pre-latch stage, wherein the second input of the adder stage is coupled to receive the output of the feedback latch stage, wherein the feedback latch stage comprises: a first conversion gain feedback latch configured to latch an output of the pre-latch stage having a first conversion gain in response to a first feedback latch enable signal; and A second conversion gain feedback latch is configured to latch an output of the pre-latch stage having a second conversion gain in response to a second feedback latch enable signal.
2. The ALU of claim 1 , wherein the output of each of the first conversion gain feedback latches and each of the second conversion gain feedback latches comprises a first output and a second output, wherein the first output of the first conversion gain feedback latch and the first output of the second conversion gain feedback latch are latched outputs of the pre-latch stage, wherein the second output of the first conversion gain feedback latch and the second output of the second conversion gain feedback latch are inverted latched outputs of the pre-latch stage, wherein the ALU further comprises: a first multiplexer stage coupled to the first and second outputs of the first conversion gain feedback latch and the first and second outputs of the second conversion gain feedback latch, wherein the first multiplexer stage is configured to output the first or second output of each of the first conversion gain feedback latch and each of the second conversion gain feedback latch in response to an adder operation signal.
3. The ALU of claim 2 , further comprising a second multiplexer stage coupled to an output of the first multiplexer stage, wherein the second multiplexer stage is configured to output the first output or the second output of each of the first conversion gain feedback latches or the first output or the second output of each of the second conversion gain feedback latches in response to a select conversion gain signal.
4. The ALU of claim 3 , further comprising a third multiplexer stage coupled to the output of the second multiplexer stage, wherein the third multiplexer stage is configured to output the same bit output from the second multiplexer stage or the higher bit output from the second multiplexer stage in response to a bit shift signal, wherein a most significant bit (MSB) of the third multiplexer stage is configured to output the same bit output from the second multiplexer stage or a high value in response to the bit shift signal, wherein the output of the third multiplexer stage is the output of the feedback latch stage coupled to the second input of the adder stage.
5. The ALU of claim 4 , wherein when the first multiplexer stage is configured to couple the first output of each of the first conversion gain feedback latches and the first output of each of the second conversion gain feedback latches to the second input of the adder stage, a least significant bit (LSB) of the adder stage is coupled to receive a low value at a carry input, wherein when the first multiplexer stage is configured to couple the second output of each of the first conversion gain feedback latches and the second output of each of the second conversion gain feedback latches to the second input of the adder stage, the LSB of the adder stage is further coupled to receive a high value at the carry input.
6. The ALU of claim 5 , wherein when the first multiplexer stage is configured to couple the first output of the feedback latch stage to the second input of the adder stage, the adder stage is configured to add a feedback value latched in the feedback latch stage with the binary representation of the GC output latched in the signal latch stage.
7. The ALU of claim 5 , wherein when the first multiplexer stage is configured to couple the second output of the feedback latch stage to the second input of the adder stage, the adder stage is configured to add a 2's complement representation of a feedback value latched in the feedback latch stage to the binary representation of the GC output latched in the signal latch stage.
8. The ALU of claim 1 , further comprising a data latch stage coupled to latch an output of the pre-latch stage, wherein the data latch stage comprises: a first conversion gain data latch configured to latch an output of the pre-latch stage having a first conversion gain in response to a first data latch enable signal; and A second conversion gain data latch is configured to latch an output of the pre-latch stage having a second conversion gain in response to a second data latch enable signal.
9. The ALU of claim 1 , wherein the ALU is one of a plurality of ALUs coupled to a pixel array of an imaging system, wherein the plurality of ALUs are configured to determine a difference between a first value responsive to an accumulated sum of one or more signal level samples and a second value responsive to an accumulated sum of one or more black level samples, the signal level samples and the black level samples being from each of a plurality of pixel circuits of the pixel array.
10. The ALU of claim 9, wherein the second value is responsive to a fraction of the accumulated sum of the one or more black level samples from each of the plurality of pixel circuits of the pixel array.
11. The ALU of claim 1 , wherein the GC output of the GC generator comprises N bits, wherein the GC-to-binary stage comprises N XOR gates, wherein first inputs of the N XOR gates are coupled to receive corresponding bits of the GC output of the GC generator, wherein second inputs of the N-1 XOR gates corresponding to the N-1 least significant bits of the GC output of the GC generator are coupled to receive respective outputs of the nearest adjacent XOR gates corresponding to higher bit values, Wherein a second input of the Nth XOR gate corresponding to a most significant bit MSB of the GC output of the GC generator is coupled to receive a low value.
12. The ALU of claim 1 , further comprising a pulse generator coupled to generate a front end latch enable signal in response to the comparator output, wherein the front end latch stage is coupled to latch the GC output of the GC generator in response to the front end latch enable signal.
13. The ALU of claim 12 , further comprising a bypass switch coupled between an input of the pulse generator and an output of the pulse generator, wherein when the bypass switch is closed, the front-end latch enable signal is substantially equal to the comparator output, wherein when the bypass switch is open, the front-end latch enable signal is substantially equal to the output of the pulse generator.
14. The ALU of claim 1, wherein the feedback latch stage is configured to reset in response to a feedback latch reset signal.
15. An imaging system comprising: a pixel array comprising a plurality of pixel circuits arranged in rows and columns, wherein each of the plurality of pixel circuits is coupled to generate an analog image data signal in response to incident light; control circuitry coupled to the pixel array to control operation of the pixel array; and A readout circuit coupled to the pixel array via a plurality of column bit lines, wherein the readout circuit comprises: a plurality of comparators, wherein each of the plurality of comparators is coupled to receive a ramp signal, wherein each of the plurality of comparators is further coupled to a respective one of a plurality of column bit lines to receive a respective analog image data signal, wherein each of the plurality of comparators is coupled to generate a respective comparator output in response to a comparison of the respective analog image data signal with the ramp signal; a Gray code GC generator coupled to generate a GC output; and a plurality of arithmetic logic units (ALUs), wherein each of the plurality of ALUs is coupled to receive the GC output, wherein each of the plurality of ALUs is further coupled to a respective one of the plurality of comparators to receive the respective comparator output, wherein each of the plurality of ALUs comprises: a front end latch stage coupled to the GC generator to latch the GC output of the GC generator in response to the corresponding comparator output; a signal latch stage coupled to latch an output of the front-end latch stage in response to a signal latch enable signal; a GC-to-binary stage coupled to generate a binary representation of the GC output latched in the signal latch stage; an adder stage comprising a first input and a second input, wherein the first input of the adder stage is coupled to receive an output of the GC-to-binary stage, wherein the output of the adder stage is generated in response to the first input and the second input of the adder stage; a pre-latch stage coupled to latch an output of the adder stage in response to a pre-latch enable signal; and a feedback latch stage coupled to latch an output of the pre-latch stage, wherein the second input of the adder stage is coupled to receive the output of the feedback latch stage, wherein the feedback latch stage comprises: a first conversion gain feedback latch configured to latch an output of the pre-latch stage having a first conversion gain in response to a first feedback latch enable signal; and A second conversion gain feedback latch is configured to latch an output of the pre-latch stage having a second conversion gain in response to a second feedback latch enable signal.
16. The imaging system of claim 15, further comprising functional logic coupled to the readout circuit to store the image data read out from the pixel array.
17. The imaging system of claim 15, wherein the output of each of the first conversion gain feedback latches and each of the second conversion gain feedback latches comprises a first output and a second output, wherein the first output of the first conversion gain feedback latch and the first output of the second conversion gain feedback latch are latched outputs of the pre-latch stage, wherein the second output of the first conversion gain feedback latch and the second output of the second conversion gain feedback latch are inverted latched outputs of the pre-latch stage, wherein each of the plurality of ALUs comprises: a first multiplexer stage coupled to the first and second outputs of the first conversion gain feedback latch and the first and second outputs of the second conversion gain feedback latch, wherein the first multiplexer stage is configured to output the first or second output of each of the first conversion gain feedback latch and each of the second conversion gain feedback latch in response to an adder operation signal.
18. The imaging system of claim 17, wherein each of the plurality of ALUs further comprises a second multiplexer stage coupled to an output of the first multiplexer stage, wherein the second multiplexer stage is configured to output the first output or the second output of each of the first conversion gain feedback latches or the first output or the second output of each of the second conversion gain feedback latches in response to a selection conversion gain signal.
19. The imaging system of claim 18, wherein each of the plurality of ALUs further comprises a third multiplexer stage coupled to the output of the second multiplexer stage, wherein the third multiplexer stage is configured to output the same bit output from the second multiplexer stage or the higher bit output from the second multiplexer stage in response to a bit shift signal, wherein a most significant bit (MSB) of the third multiplexer stage is configured to output the same bit output from the second multiplexer stage or a high value in response to the bit shift signal, wherein the output of the third multiplexer stage is the output of the feedback latch stage coupled to the second input of the adder stage.
20. The imaging system of claim 19, wherein when the first multiplexer stage is configured to couple the first output of each of the first conversion gain feedback latches and the first output of each of the second conversion gain feedback latches to the second input of the adder stage, a least significant bit (LSB) of the adder stage is coupled to receive a low value at a carry input, wherein when the first multiplexer stage is configured to couple the second output of each of the first conversion gain feedback latches and the second output of each of the second conversion gain feedback latches to the second input of the adder stage, the LSB of the adder stage is further coupled to receive a high value at the carry input.
21. The imaging system of claim 20, wherein when the first multiplexer stage is configured to couple the first output of the feedback latch stage to the second input of the adder stage, the adder stage is configured to add the feedback value latched in the feedback latch stage with the binary representation of the GC output latched in the signal latch stage.
22. The imaging system of claim 20, wherein when the first multiplexer stage is configured to couple the second output of the feedback latch stage to the second input of the adder stage, the adder stage is configured to add a 2's complement representation of a feedback value latched in the feedback latch stage to the binary representation of the GC output latched in the signal latch stage.
23. The imaging system of claim 15, wherein each of the plurality of ALUs further comprises a data latch stage coupled to latch an output of the pre-latch stage, wherein the data latch stage comprises: a first conversion gain data latch configured to latch an output of the pre-latch stage having a first conversion gain in response to a first data latch enable signal; and A second conversion gain data latch is configured to latch an output of the pre-latch stage having a second conversion gain in response to a second data latch enable signal.
24. The imaging system of claim 15, wherein the plurality of ALUs are configured to determine a difference between a first value responsive to an accumulated sum of one or more signal level samples and a second value responsive to an accumulated sum of one or more black level samples, the signal level samples and the black level samples being from each of the plurality of pixel circuits of the pixel array.
25. The imaging system of claim 24, wherein the second value is responsive to a fraction of the accumulated sum of the one or more black level samples from each of the plurality of pixel circuits of the pixel array.
26. The imaging system of claim 15, wherein the GC output of the GC generator comprises N bits, wherein the GC-to-binary stage comprises N XOR gates, wherein first inputs of the N XOR gates are coupled to receive corresponding bits of the GC output of the GC generator, wherein second inputs of the N-1 XOR gates corresponding to the N-1 least significant bits of the GC output of the GC generator are coupled to receive respective outputs of the nearest adjacent XOR gates corresponding to higher bit values, Wherein a second input of the Nth XOR gate corresponding to a most significant bit MSB of the GC output of the GC generator is coupled to receive a low value.
27. The imaging system of claim 15, wherein each of the plurality of ALUs further comprises a pulse generator coupled to generate a front end latch enable signal in response to the respective comparator output, wherein the front end latch stage is coupled to latch the GC output of the GC generator in response to the front end latch enable signal.
28. The imaging system of claim 27, wherein each of the plurality of ALUs further comprises a bypass switch coupled between an input of the pulse generator and an output of the pulse generator, wherein when the bypass switch is closed, the front end latch enable signal is substantially equal to the corresponding comparator output, wherein when the bypass switch is open, the front end latch enable signal is substantially equal to the output of the pulse generator.
29. The imaging system of claim 15, wherein the feedback latch stage is configured to reset in response to a feedback latch reset signal.
