Digital double sampling method, a related CMOS image sensor, and a digital camera comprising CMOS image sensor
09866775 ยท 2018-01-09
Assignee
Inventors
Cpc classification
H04N25/616
ELECTRICITY
H04N25/75
ELECTRICITY
H04N25/78
ELECTRICITY
International classification
Abstract
A digital double sampling method, a related complementary metal oxide semiconductor (CMOS) image sensor, and a digital camera comprising the CMOS image sensor are disclosed. The method includes generating first digital data corresponding to an initial voltage level apparent in a pixel in response to a reset signal, inverting the first digital data, outputting a detection voltage corresponding to image data received from outside of the CMOS image sensor, and counting in synchronization with a clock signal, starting from an initial value equal to the inverted first digital data, and for an amount of time responsive to a voltage level of the detection voltage.
Claims
1. An image sensor comprising: a pixel configured to receive image data, and to output an analog signal; a ramp voltage generator configured to generate a ramp signal; a comparator configured to receive the analog signal and the ramp signal, to compare the analog signal with the ramp signal; and a counter configured to store a value that is an inverted value of a first counting value corresponding to a reset signal of the pixel and generate a second counting value corresponding to the image data based on the inverted first counting value.
2. The image sensor of claim 1, wherein the counter counts a value in response to a clock signal and inverts the value stored in the counter in response to a control signal.
3. The image sensor of claim 2, wherein the counter is configured to start counting from a first value during a first period, to invert the first value to a second value during a second period, and to start counting from a second value during a third period, and the second value is different from the first value.
4. The image sensor of claim 3, wherein the clock signal is deactivated during the second period and is activated during the third period.
5. The image sensor of claim 1, wherein the inverted value is a two's complement number of the first counting value.
6. The image sensor of claim 1, wherein the counter comprises a plurality of toggle flip-flops to count a counting value.
7. The image sensor of claim 1, wherein the counter is either an up counter configured to count up only or a down counter configured to count down only.
8. The image sensor of claim 1, wherein the counter comprises a first flip-flop and a second flip-flop configured to receive an output of the first flip-flop.
9. An image sensor comprising: a pixel configured to receive image data, and to output an analog signal; a ramp voltage generator configured to generate a ramp signal; a comparator configured to receive the analog signal and the ramp signal, to compare the analog signal with the ramp signal; and a counter configured to count a first counting value in response to a clock signal during a first period, and configured to invert the first counting value in response to a control signal and to store the inverted first counting value during a second period.
10. The image sensor of claim 9, wherein the counter counts the first counting value is a counting value corresponding to a reset signal.
11. The image sensor of claim 9, wherein the clock signal is configured to be activated during the first period and deactivated during the second period.
12. The image sensor of claim 11, wherein the counter comprises a first flip-flop and a second flip-flop configured to receive an output of the first flip-flop.
13. The image sensor of claim 9, wherein the inverted first value is a two's complement number of the first counting value.
14. The image sensor of claim 9, wherein the counter performs digital double sampling (DDS).
15. An image sensor comprising: a pixel configured to receive image data, and to output an analog signal; a ramp voltage generator configured to generate a ramp signal; a comparator configured to receive the analog signal and the ramp signal, to compare the analog signal with the ramp signal; and a counter configured to count in response to a clock signal during a first period and a third period, and to invert a counting value in response to a control signal during a second period between the first period and the third period, wherein the clock signal is configured to be activated during the first period and the third period, and be deactivated during the second period.
16. The image sensor of claim 15, wherein the counter comprises a first flip-flop and a second flip-flop configured to receive an output of the first flip-flop.
17. The image sensor of claim 15, wherein the counter is configured to start counting from a first value during the first period and configured to start counting from a second value during a third period, and the second value is different from the first value.
18. The image sensor of claim 15, further comprising: a controller configured to generate the clock signal and the control signal, wherein the controller is configured to activate and deactivate the clock signal, and the comparator is configured to output a comparison signal to the controller.
19. The image sensor of claim 15, wherein the counter generates a first counting value corresponding to a reset signal, to invert the first counting value, and to generate a second counting value based on the inverted first counting value.
20. The image sensor of claim 19, wherein the inverted first value is a two's complement number of the first counting value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the invention will be described herein with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DESCRIPTION OF EMBODIMENTS
(10) Throughout the drawings, like reference symbols indicate like or similar elements.
(11)
(12)
(13) Pixel array 20, which receives external image data (i.e., receives image data from outside of CMOS image sensor 100), outputs an analog signal Va to analog-digital converter 30 in response to control signals Rx, Tx, and Sel received from timing controller 10. Analog signal Va may also be referred to herein as a pixel signal. Comparator 31 receives analog signal Va, and receives a ramp signal Vr from ramp voltage generator 33. As used herein, the term ramp signal refers to a signal, such as ramp signal Vr, wherein the voltage level of that signal increases or decreases over time (i.e., in proportion to time). Ramp signal Vr may also be referred to herein as ramp voltage Vr. The voltage level of ramp signal Vr may, for example, increase or decrease at a constant rate. Counter 32 receives a clock signal CLK, a control signal RST, and a control signal BWI. Control signal RST may be referred to herein as reset signal RST and control signal BWI may be referred to herein as inversion signal BWI. In addition, counter 32 counts in response to clock signal CLK while analog signal Va is compared with ramp signal Vr. Comparator 31 compares analog signal Va with ramp signal Vr, and outputs a comparison signal LATCH to timing controller 10 in response to detecting a defined voltage difference between analog signal Va and ramp signal Vr. When timing controller 10 stops providing clock signal CLK to counter 32, then counter 32 stops counting. When counter 32 stops counting in response to clock signal CLK stopping, a count value stored in counter 32 is digital data that corresponds to analog signal Va. The digital data that has been converted from analog signal Va is stored in buffer 40. In addition, timing controller 10 transmits a control signal R_Ad to buffer 40 in order to receive a data signal R_D from buffer 40.
(14)
(15) Third transistor NT2 and fourth transistor NT3 are connected to one another in series. A drain of third transistor NT2 is connected to a power source voltage, and a drain of fourth transistor NT3 is connected to a source of third transistor NT2. A gate of the third transistor NT2 is connected to a source of first transistor NT0, which is connected to a detection node FD, and a gate of fourth transistor NT3 is connected to a control signal Sel. Additionally, a source of fourth transistor NT3 is connected to comparator 31 and a current source Ib.
(16) First transistor NT0 initializes pixel 22 in response to a control signal Rx received from timing controller 10. Second transistor NT1 provides an analog signal received from photodiode PD to detection node FD in response to a control signal Tx received from timing controller 10. Third transistor NT2 and current source Ib form a source follower. Additionally, an analog signal Va input via the gate of third transistor NT2 is provided to comparator 31. Also, pixel 22 of
(17) Timing controller 10 activates control signals Rx and Sel to initialize a detection node FD of pixel 22. Pixel 22 outputs an initialized analog signal Va (i.e., an initialized analog voltage Va) to comparator 31. Initialized analog signal Va may also be referred to as an analog pixel-reset signal.
(18) Timing controller 10 activates control signals Tx and Sel so that pixel 22 will provide external image data from photodiode PD of pixel 22 to detection node FD of pixel 22, and so that pixel 22 will output to comparator 31 an analog voltage Va corresponding to the external image data.
(19) Analog-digital converter 30 performs digital double sampling (DDS) to relatively accurately convert an analog signal output by a pixel into a digital signal. An up-down counter has typically been used as an analog-digital converter to perform DDS.
(20)
(21) Comparator 31 compares analog signal Va with ramp signal Vr in synchronization with a clock signal CLK of timing controller 10. At this point, timing controller 10 activates clock signal CLK to operate counter 32.
(22) Referring to the graph of
(23) An up-down counter is typically used to perform DDS. However, an up-down counter occupies a relatively large area because it includes a relatively large number of gates, and power consumption increases when the CMOS image sensor operates with relatively high resolution and at a relatively high speed.
(24) In accordance with an embodiment of the invention, an alternate counter for a digital converter of a CMOS image sensor is provided. A counter in accordance with an embodiment of the invention uses a two's complement number system to perform the function that an up-down counter typically performs in a CMOS image sensor. Inverted digital data A of digital data A may be obtained by subtracting digital data A from a data value MAX_CODE, as shown in Equation 1. Likewise, inverted digital data A may be obtained by inverting digital data A (i.e., inverting each of the bits of digital data A). As used herein, inverting data or a value means inverting each of the bits of the data or value. As used herein, MAX_CODE means the largest code value for a given number of bits. For example, a 4-bit MAX_CODE is 1111.sub.2. In one example, assuming that a 4-bit digital data value A is 0101.sub.2, then inverted digital data A is 1010.sub.2. That is, if digital data value A is 0101.sub.2 (which is 5 in base ten), then inverted digital data A (which is digital data A inverted) is 1010.sub.2, which is ?6 in base ten interpreted under the two's complement number system, and is 10 in base ten when interpreted without using the two's complement number system.
(25) In accordance with an embodiment of the invention, the difference between digital data A and digital data B may be obtained using the two's complement number system in accordance with Equation 2 below. When a counter uses the two's complement number system, a value of (B?A)?1 is found for the difference between digital data values A and B, as shown on the right hand side of Equation 3. That is, one less than the difference between digital data A and digital data B is found. Therefore, a counter using the two's complement number system accounts for the additional ?1 term on the right hand side of Equation 3. That is, during a reset operation, the counter sets the state of each flip-flop to the data value 1 (i.e., high), and when a clock signal is provided to the counter, the counter begins its counting with the value 0 (i.e., 0 is the first value counted).
A=MAX_CODE?AEquation 1
A+B=MAX_CODE+(B?A)Equation 2
MAX_CODE+(B?A)=(B?A)?1Equation 3
(26) A DDS counter in accordance with an embodiment of the invention uses the two's complement number system so that a result of subtracting a digital pixel-reset value (i.e., a digital data value corresponding to an analog pixel-reset signal) from a digital image value (i.e., digital data obtained by converting an analog signal that corresponds to external image data into digital data) may be readily obtained. Typically, an up-down counter performs an up-count operation to obtain a digital pixel-reset value and performs a down-count operation to obtain a difference between the digital pixel-reset value and the digital image value. Since the functionality of an up-down counter is more complicated than that of an up-counter or a down-counter, an up-down counter occupies a relatively large area. As used herein, an analog pixel-reset signal is an analog signal output by a pixel after the pixel has been initialized.
(27) In accordance with an embodiment of the invention, the function that an up-down counter typically performs in a CMOS image sensor is realized using a counter that counts in one direction (i.e., using a counter that increases its count value or a counter that decreases its count value). The counter that counts in one direction may also be described as a counter that counts monotonically. For example, an up-count operation is performed to obtain a digital pixel-reset value, and then, to obtain a difference between the digital pixel-reset value and a digital image value, the digital pixel-reset value is inverted and then another up-count operation is performed on the inverted digital pixel-reset value. That is, a DDS counter in accordance with an embodiment of the invention performs an inversion operation so that the DSS counter may have a relatively small area and relatively low power consumption. As used herein, the term inversion operation means a process of inverting digital data or a digital value. A DDS counter using the two's complement number system, in accordance with an embodiment of the invention, is illustrated in
(28)
(29) Each of T-flip-flops TC0 through TC3 comprises a first input terminal CK, a second input terminal RESET, a third input terminal INV, and an output terminal Q. The first input terminal CK of the first T-flip-flop TC0 is connected to a clock signal CLK received from timing controller 10.
(30) The first input terminal CK of the second T-flip-flop TC1 is connected to the output terminal Q of the first T-flip-flop TC0. The input terminal CK of the third T-flip-flop TC2 is connected to the output terminal Q of the second T-flip-flop TC1. Also, the first input terminal CK of the fourth T-flip-flop TC3 is connected to the output terminal Q of the third T-flip-flop TC2. The first through fourth T-flip-flops TC0 through TC3 each further comprise the second input terminal RESET for initialization and the third input terminal INV for inverting data.
(31)
(32) Referring to
(33) First, second, and third inverters 32_1, 32_2, and 32_3 are connected in series. In addition, a signal on output terminal Q of first T-flip-flop TC0 is fed back to an input of first inverter 32_1 through transmission gate 32_5. An output of second inverter 32_2 is connected to a drain of an NMOS transistor 32_4. NMOS transistor 32_4 is controlled by control signal RST, and a drain of NMOS transistor 32_4 is also connected to an input of third inverter 32_3.
(34) When counter 32 is operating normally, counter 32 initializes an output value of counter 32 in response to an activated control signal RST. That is, when reset signal RST is activated, each of first through fourth outputs Q[0] through Q[3] of first through fourth T-flip-flops TC0 through TC3, respectively, is set to the data value 1 (i.e., a logic high level). Referring to
(35) During an inversion operation in counter 32, the output value of first T-flip-flop TC0 is not input to first inverter 32_1 via transmission gate 32_5, which is deactivated in response to an activated control signal BWI. Also, in response to activated control signal BWI, first T-flip-flop TC0 inverts a data value (i.e., a bit) input to first inverter 32_1 through first, second, and third inverters 32_1, 32_2, and 32_3. In addition, an output of third inverter 32_3 is delivered to output terminal Q.
(36)
(37) In reset operation S1, in response to control signals Rx and Sel received from timing controller 10, a pixel 22 of pixel array 20 is initialized and pixel 22 outputs an initialized analog signal Va (i.e., an analog pixel-reset signal). Also, in response to reset signal RST from timing controller 10, a count value stored in counter 32 is reset (i.e., initialized).
(38) In reset ADC operation S2, timing controller 10 deactivates control signal RST and activates clock signal CLK to convert initialized analog signal Va (output by pixel 22) into a digital signal Drst. A digital data value obtained by converting an initialized analog signal Va into a digital data value is defined as Drst. However, because counter 32 begins with 0 when counting during reset ADC operation S2, counter 32 actually stores a digital value Drst?1 at the end of reset ADC operation S2. As an example, in the exemplary digital double sampling operation illustrated in
(39) In inversion operation S3, counter 32 inverts digital value Drst?1 in response to the activation of control signal BWI of timing controller 10. Thus, in the exemplary operation illustrated in
(40) In signaling operation S4, pixel array 20 receives external image data and outputs a new analog signal Va (i.e., a detection voltage Va) corresponding to the external image data. Digital data Dsig is obtained by converting analog signal Va corresponding to the external image data into digital data.
(41) In signal ADC operation S5, timing controller 10 activates clock signal CLK provided to counter 32, and counter 32 calculates a data value Dsig?Drst in response to clock signal CLK. That is, because counter 32 starts counting from ?Drst in signal ADC operation S5, at the end of signal ADC operation S5, a count value stored in counter 32 will be Dsig?Drst. For example, in the exemplary operation illustrated in
(42) An embodiment of the invention provides a digital double sampling counter that counts in only one direction but can also perform the function typically performed by an up-down counter in a CMOS image sensor using the two's complement number system. Also, an embodiment of the invention provides a digital double sampling counter that has a relatively small number of gates and that consumes a relatively low amount of power.
(43) In addition, an embodiment of the invention provides a CMOS image sensor having a counter that counts in only one direction but can also perform the function typically performed by an up-down counter in a CMOS image sensor using the two's complement number system. Also, an embodiment of the invention provides a digital double sampling method that uses a relatively small number of gates and consumes a relatively low amount of power.
(44) Although embodiments of the invention have been described herein, the embodiments may be modified by one of ordinary skill in the art without departing from the scope of the invention as defined by the accompanying claims.