IMAGING DEVICE, ENDOSCOPE SYSTEM, AND SIGNAL-PROCESSING METHOD
20240251186 ยท 2024-07-25
Assignee
Inventors
Cpc classification
H04N23/555
ELECTRICITY
H04N25/78
ELECTRICITY
International classification
H04N25/78
ELECTRICITY
Abstract
An imaging device includes pixels, a sampling circuit, a reference signal generation circuit, a comparator, a measurement circuit, and a voltage adjustment circuit. The sampling circuit is configured to sample an analog signal. The comparator is configured to compare a voltage of the analog signal with a voltage of the reference signal. The reference signal generation circuit is configured to generate the reference signal that has a first voltage in a first period and has a second voltage in a second period. The measurement circuit is configured to measure the length of a period until the voltage of the analog signal and the voltage of the reference signal match each other. The voltage adjustment circuit is configured to adjust an analog voltage provided to the reference signal generation circuit such that a value of the first voltage nears a value of the second voltage.
Claims
1. An imaging device, comprising: pixels disposed in a matrix shape having two or more rows and two or more columns; a sampling circuit configured to sample an analog signal output from each of the pixels disposed in a multiple predetermined number of the columns in a sampling period; a reference signal generation circuit configured to generate a reference signal having a voltage that gradually increases or decreases from a first timing by using an analog voltage in a reference signal generation period; a comparator configured to execute comparison processing of comparing a voltage of the analog signal sampled by the sampling circuit with a voltage of the reference signal; a measurement circuit configured to measure a length of a period from the first timing to a second timing at which the voltage of the analog signal and the voltage of the reference signal match each other; and a voltage adjustment circuit, wherein the sampling circuit is configured to sample the predetermined number of the analog signals in the sampling period, wherein the comparator is configured to compare the voltage of each of the analog signals with the voltage of the reference signal so as to execute the comparison processing, wherein the reference signal generation circuit is configured to generate the reference signal having a first voltage at the first timing of a first period that is the reference signal generation period immediately after the sampling period and is configured to generate the reference signal having a second voltage at the first timing of a second period that is the reference signal generation period after the first period, and wherein the voltage adjustment circuit is configured to adjust the analog voltage provided to the reference signal generation circuit before the first timing of the first period such that a value of the first voltage nears a value of the second voltage.
2. The imaging device according to claim 1, wherein the voltage adjustment circuit is configured to short-circuit, at a third timing before the first period, the reference signal generation circuit and a voltage terminal to which a different voltage from the analog voltage is provided and is configured to cancel a short circuit between the reference signal generation circuit and the voltage terminal at a fourth timing that occurs after the third timing and before the first period so as to adjust the analog voltage.
3. The imaging device according to claim 2, wherein the reference signal generation circuit includes a capacitance element configured to hold the first voltage and the second voltage, and wherein the voltage adjustment circuit is configured to short-circuit the capacitance element and the voltage terminal at the third timing and is configured to cancel a short circuit between the capacitance element and the voltage terminal at the fourth timing.
4. The imaging device according to claim 3, wherein the third timing occurs after the pixels are reset and before the first timing of the first period.
5. The imaging device according to claim 1, wherein the voltage adjustment circuit is configured to adjust the analog voltage by consuming the same amount of current as an amount of current consumed by the measurement circuit before the first period.
6. The imaging device according to claim 5, wherein the voltage adjustment circuit and the reference signal generation circuit are connected in parallel to a voltage terminal to which the analog voltage is provided.
7. The imaging device according to claim 1, wherein the reference signal generation circuit is configured to output the reference signal having a third voltage in a third period, wherein the third period is included in the sampling period and occurs before a period during which the voltage adjustment circuit adjusts the analog voltage, and wherein a difference between the first voltage and the second voltage is less than a difference between the third voltage and the second voltage.
8. An endoscope system, comprising a scope to be inserted into a living body; and the imaging device according to claim 1, wherein the imaging device is disposed in a distal end of the scope.
9. A signal-processing method, comprising: a step in which a sampling circuit samples an analog signal output from each of pixels disposed in a multiple predetermined number of columns in a sampling period; a step in which a reference signal generation circuit generates a reference signal having a voltage that gradually increases or decreases from a first timing by using an analog voltage in a reference signal generation period; a step in which a comparator executes comparison processing of comparing a voltage of the analog signal sampled by the sampling circuit with a voltage of the reference signal; a step in which a measurement circuit measures a length of a period from the first timing to a second timing at which the voltage of the analog signal and the voltage of the reference signal match each other; and a step in which a voltage adjustment circuit adjusts the analog voltage provided to the reference signal generation circuit, wherein the step of sampling the analog signal includes sampling the predetermined number of the analog signals in the sampling period, wherein the step of comparing the voltage of the analog signal with the voltage of the reference signal includes comparing the voltage of each of the analog signals with the voltage of the reference signal so as to execute the comparison processing, wherein the step of generating the reference signal includes generating the reference signal having a first voltage at the first timing of a first period that is the reference signal generation period immediately after the sampling period and includes generating the reference signal having a second voltage at the first timing of a second period that is the reference signal generation period after the first period, and wherein the step of adjusting the analog voltage includes adjusting the analog voltage provided to the reference signal generation circuit before the first timing of the first period such that a value of the first voltage nears a value of the second voltage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
DETAILED DESCRIPTION OF THE INVENTION
[0026] Embodiments of the present invention will be described with reference to the drawings. Hereinafter, an example of an endoscope system including an imaging device will be described.
First Embodiment
[0027]
[0028] The endoscope insertion unit 2 includes an insertion unit 2a. The insertion unit 2a is part of the transmission cable 3. The insertion unit 2a is to be inserted inside a living body, which is a subject. The endoscope insertion unit 2 generates a video signal by imaging the inside of the subject. The endoscope insertion unit 2 outputs the generated video signal to the control unit 6. A camera unit 9 shown in
[0029] The transmission cable 3 connects the camera unit 9 and the connector unit 5.
[0030] The video signal generated by the camera unit 9 is output to the connector unit 5 via the transmission cable 3.
[0031] The connector unit 5 is connected to the endoscope insertion unit 2 and the control unit 6. The connector unit 5 performs predetermined processing on the video signal output from the endoscope insertion unit 2. The connector unit 5 outputs the video signal to the control unit 6.
[0032] The control unit 6 performs image processing on the video signal output from the connector unit 5. Furthermore, the control unit 6 centrally controls the entire endoscope system 1.
[0033] The display device 7 displays a video based on the video signal processed by the control unit 6. In addition, the display device 7 displays various kinds of information related to the endoscope system 1.
[0034] The endoscope system 1 includes the camera unit 9 and the control unit 6 shown in
[0035] The endoscope system 1 includes a light source device that generates illumination light emitted to the subject. The light source device is not shown in
[0036] The camera unit 9 includes an image sensor 90, a power source terminal 91, a video terminal 92, a clock terminal 93, and a ground terminal 94. The control unit 6 includes a voltage generation circuit 60, a video-signal-processing circuit 61, a clock generation circuit 62, and a control circuit 63.
[0037] For example, the voltage generation circuit 60 is a voltage regulator. The voltage generation circuit 60 generates a power source voltage that is a direct-current (DC) voltage and outputs the power source voltage to the power source line 30. The power source line 30 is a signal line disposed in the transmission cable 3. The power source line 30 transfers the power source voltage to the camera unit 9.
[0038] The power source terminal 91 is connected to the power source line 30. The power source voltage transferred by the power source line 30 is input to the power source terminal 91. The power source terminal 91 outputs the power source voltage to the image sensor 90. The image sensor 90 generates a video signal based on the power source voltage and outputs the video signal to the video terminal 92.
[0039] The video terminal 92 is connected to the video signal line 31. The video terminal 92 outputs the video signal to the video signal line 31. The video signal line 31 is a signal line disposed in the transmission cable 3. The video signal line 31 transfers the video signal to the control unit 6.
[0040] The video-signal-processing circuit 61 receives the video signal transferred by the video signal line 31. The video-signal-processing circuit 61 performs predetermined signal processing on the video signal and outputs the video signal to the display device 7.
[0041] The clock generation circuit 62 generates a clock signal (master clock) and outputs the clock signal to the clock signal line 32. The clock signal line 32 is a signal line disposed in the transmission cable 3. The clock signal line 32 transfers the clock signal to the camera unit 9.
[0042] The clock terminal 93 is connected to the clock signal line 32. The clock signal transferred by the clock signal line 32 is input to the clock terminal 93. The clock terminal 93 outputs the clock signal to the image sensor 90. The image sensor 90 operates at timings in accordance with the clock signal.
[0043] The ground terminal 94 is connected to the ground line 33. The ground line 33 is a signal line disposed in the transmission cable 3. The ground line 33 is a conductive line and keeps the ground level of the control unit 6 and the ground level of the image sensor 90 almost the same.
[0044] The control circuit 63 controls the operations of the voltage generation circuit 60, the video-signal-processing circuit 61, and the clock generation circuit 62.
[0045]
[0046] A schematic configuration of the image sensor 90 will be described. The pixel unit 900 includes pixels PIX disposed in a matrix shape having two or more rows and two or more columns. The reading circuit 902 (sampling circuit) samples an analog signal output from each of the pixels PIX disposed in a predetermined number of the columns in a sampling period. The predetermined number is at least two. The reference signal generation circuit 903 generates a reference signal having a voltage that gradually increases or decreases from a first timing by using an analog voltage in a reference signal generation period. The comparator 904 executes comparison processing of comparing the voltage of the analog signal sampled by the reading circuit 902 with the voltage of the reference signal. The counter 905 (measurement circuit) is used to measure the length of a period from the first timing to a second timing at which the voltage of the analog signal and the voltage of the reference signal match each other.
[0047] The reading circuit 902 samples the predetermined number of the analog signals in the sampling period. The comparator 904 compares the voltage of each of the predetermined number of the analog signals with the voltage of the reference signal so as to execute the comparison processing the predetermined number of times. The reference signal generation circuit 903 generates the reference signal having a first voltage at the first timing of a first period that is the reference signal generation period immediately after the sampling period. The reference signal generation circuit 903 generates the reference signal having a second voltage at the first timing of a second period that is the reference signal generation period after the first period. The reference signal generation circuit 903 includes a voltage adjustment circuit. The voltage adjustment circuit adjusts the analog voltage provided to the reference signal generation circuit 903 before the first timing of the first period such that the value of the first voltage nears the value of the second voltage.
[0048] A detailed configuration of the image sensor 90 will be described. The pixel unit 900 includes four or more pixels PIX disposed in a matrix shape. The number of rows and the number of columns in an array (pixel array) of the four or more pixels PIX are two or more. The pixels PIX generate analog pixel signals in accordance with light incident thereon.
[0049] The power source voltage is output from the power source terminal 91 and is input to the image sensor 90. When the pixel PIX is reset by using a predetermined voltage generated in accordance with the power source voltage, the pixel PIX generates a first pixel signal. After the pixel PIX is reset, an electric charge is stored in the pixel PIX in accordance with the amount of light incident on the pixel PIX. The pixel PIX generates a second pixel signal in accordance with the electric charge.
[0050] The reading control unit 901 selects each row in the pixel array. Pixels PIX of the row selected by the reading control unit 901 output pixel signals.
[0051] The image sensor 90 includes two or more reading circuits 902. The number of the reading circuits 902 is the same as that of columns in the pixel array. The reading circuits 902 holds an analog signal corresponding to the difference between the first pixel signal and the second pixel signal output from the pixels PIX of each row.
[0052] The reference signal generation circuit 903 generates a reference signal in two or more reference signal generation periods after the sampling period. Hereinafter, an example in which the reference signal generation circuit 903 generates a reference signal having a voltage that gradually decreases will be described.
[0053] The image sensor 90 includes one or more comparators 904. At least two analog signals held by at least two reading circuits 902 are sequentially input to one comparator 904. Hereinafter, an example in which six analog signals held by six reading circuits 902 are sequentially input to one comparator 904 will be described. The number of analog signals input to one comparator 904 is not limited to six.
[0054] Six AD conversion periods (reference signal generation periods) follow the sampling period. The analog signal is input from each reading circuit 902 to the comparator 904 in each AD conversion period. The reference signal is input from the reference signal generation circuit 903 to the comparator 904 in each AD conversion period. The comparator 904 compares the voltage of the analog signal with the voltage of the reference signal in each AD conversion period. The comparator 904 outputs a comparison signal in accordance with a comparison result. The comparison signal has a high (H) voltage or a low (L) voltage. For example, the H voltage is the power source voltage, and the L voltage is a ground voltage. When the voltage of the analog signal and the voltage of the reference signal match each other, the voltage of the comparison signal changes.
[0055] The counter 905 stops the operation thereof in the sampling period. The counter 905 outputs a digital value indicating a measurement value of time in the AD conversion period. The digital value increases or decreases from an initial value as time passes.
[0056] The image sensor 90 includes as many of the latch circuits 906 as the reading circuits 902. The comparator 904 compares the voltage of the analog signal output from the reading circuit 902 of each column with the voltage of the reference signal and outputs the comparison signal to the latch circuit 906 of the column. When the voltage of the comparison signal change, the latch circuit 906 holds a digital value output from the counter 905. The digital value held by the latch circuit 906 indicates an AD conversion result of the analog signal.
[0057] The horizontal reading control unit 907 sequentially selects two or more latch circuits 906. The latch circuit 906 selected by the horizontal reading control unit 907 outputs the digital value to the digital signal-processing unit 908.
[0058] The digital signal-processing unit 908 performs digital signal processing on the digital value and outputs the digital value to the signal output unit 909. The signal output unit 909 converts the digital value to a differential signal and outputs the differential signal to the video terminal 92. The differential signal includes a first digital signal OUTP and a second digital signal OUTN.
[0059] The clock signal is output from the clock terminal 93 and is input to the TG 910. The TG 910 generates a timing signal based on the clock signal and outputs the timing signal to the reading control unit 901, the reading circuit 902, the reference signal generation circuit 903, the counter 905, the horizontal reading control unit 907, and the digital signal-processing unit 908. The timing signal specifies timings of the operation of each circuit.
[0060] The power source voltage is output from the power source terminal 91 and is input to the voltage generation circuit 911. The voltage generation circuit 911 generates an analog signal based on the power source voltage. For example, the analog voltage is higher than the ground voltage and is lower than the power source voltage.
[0061]
[0062] The reading control unit 901 generates a control signal VDDC, a control signal RS, and a control signal TG. The control signal VDDC, the control signal RS, and the control signal TG are input to the pixel PIX.
[0063] The photoelectric conversion unit PD is a photodiode. The photoelectric conversion unit PD generates an electric charge in accordance with the amount of light incident thereon.
[0064] The transfer transistor TT transfers the electric charge generated by the photoelectric conversion unit PD to the charge storage portion FD. The operation of the transfer transistor TT is controlled based on the control signal TG.
[0065] The charge storage portion FD is a floating diffusion. The charge storage portion FD stores the electric charge transferred by the transfer transistor TT.
[0066] The reset transistor RT resets the voltage of the charge storage portion FD to a voltage in accordance with the control signal VDDC. The operation of the reset transistor RT is controlled based on the control signal RS.
[0067] A power source voltage VDD is input to the drain terminal of the output transistor OT. The source terminal of the output transistor OT is connected to a vertical signal line VL. The gate terminal of the output transistor OT is connected to the charge storage portion FD. The output transistor OT outputs a pixel signal to the vertical signal line VL based on the voltage of the charge storage portion FD.
[0068] The vertical signal line VL is disposed for each column in the pixel array and extends in a vertical direction, that is, a column direction. The vertical signal line VL is connected to the pixel PIX of each column and the reading circuit 902. The vertical signal line VL transfers the pixel signal to the reading circuit 902.
[0069]
[0070] The state of each switch shown in
[0071] A configuration of six reading circuits 902 is shown in
[0072] Pixel signals PSO to PS5 are output from the pixels PIX. Each of the pixel signals PSO to PS5 is a first pixel signal or a second pixel signal. The pixel signals PSO to PS5 are input to the six reading circuits 902.
[0073] One of the six reading circuits 902 includes the switch SW10, the capacitance element C0, and the switch SW20. The switch SW10 is connected to the vertical signal line VL shown in
[0074] The comparator 904 includes the switch SWa and the comparison circuit COMP.
[0075] The comparison circuit COMP includes an inverting input terminal IN1, a non-inverting input terminal IN2, and an output terminal OUT1. When the state of the switch SW20 is the ON state, the analog signal held by the capacitance element C0 is input to the inverting input terminal IN1 via the switch SW20. The switch SWa is connected to the inverting input terminal IN1 and the output terminal OUT1.
[0076] A reference signal RAMP is generated by the reference signal generation circuit 903 and is input to the non-inverting input terminal IN2. When the state of the switch SWa is the OFF state, the comparison circuit COMP compares the voltage of the inverting input terminal IN1 with the voltage of the non-inverting input terminal IN2 and outputs a comparison signal in accordance with the comparison result.
[0077] The comparison signal is input to the NOR circuit NOR1. In addition, a start signal ST1 is output from the TG 910 and is input to the NOR circuit NOR1. The voltage of the start signal ST1 is the H voltage or the L voltage. When the voltage of the start signal ST1 is the H voltage, the NOR circuit NOR1 stops the output of the comparison signal. When the voltage of the start signal ST1 is the L voltage, the NOR circuit NOR1 outputs the comparison signal via the buffer BUF1.
[0078]
[0079] An analog voltage (VREF1) is generated by the voltage generation circuit 911 and is input to the buffer BUF2. The buffer BUF2 outputs the analog voltage.
[0080] The switch SWc includes a first terminal Tswc1 and a second terminal Tswc2. The first terminal Tswc1 of the switch SWc is connected to the buffer BUF2.
[0081] The capacitance element Cr includes a first terminal Tcr1 and a second terminal Tcr2. The first terminal Tcr1 of the capacitance element Cr is connected to the second terminal Tswc2 of the switch SWc. The second terminal Tcr2 of the capacitance element Cr is connected to the ground terminal 94. A ground voltage, which is lower than the analog voltage generated by the voltage generation circuit 911, is input to the second terminal Tcr2 of the capacitance element Cr.
[0082] When the state of the switch SWc is the ON state, the analog voltage output from the buffer BUF2 is input to the first terminal Tcr1 of the capacitance element Cr via the switch SWc. The capacitance element Cr holds the analog voltage.
[0083] The switch SWr includes a first terminal Tswr1 and a second terminal Tswr2. The first terminal Tswr1 of the switch SWr is connected to the second terminal Tswc2 of the switch SWc and the first terminal Tcr1 of the capacitance element Cr. The second terminal Tswr2 of the switch SWr is connected to the current source Ir.
[0084] The switch SWd is a voltage adjustment circuit that adjusts an analog voltage provided to the reference signal generation circuit 903. The switch SWd includes a first terminal Tswd1 and a second terminal Tswd2. The first terminal Tswd1 of the switch SWd is connected to the second terminal Tswc2 of the switch SWc and the first terminal Tcr1 of the capacitance element Cr. The second terminal Tswd2 of the switch SWd is connected to the ground terminal 94. The ground voltage is input to the second terminal Tswd2 of the switch SWd.
[0085] In the sampling period, the state of the switch SWc is set to the ON state, the state of the switch SWr is set to the OFF state, and the state of the switch SWd is set to the OFF state. At this time, the capacitance element Cr holds the analog voltage output from the buffer BUF2.
[0086] At a predetermined timing in the sampling period, the state of the switch SWc changes to the OFF state. Thereafter, the state of the switch SWd changes to the ON state. At this time, the switch SWd short-circuits the first terminal Tcr1 of the capacitance element Cr and the ground terminal 94. A short-circuit current flows through the switch SWd, and the voltage of the first terminal Tcr1 of the capacitance element Cr sharply decreases. The value of the short-circuit current is the same as that of current that flows through the counter 905. For example, a value of a current that flows through the switch SWd is the same as that of current that flows through the counter 905. Alternatively, a resistor may be connected to the switch SWd, and a value of a current that flows through the resistor may be the same as that of the current that flows through the counter 905.
[0087] After the voltage of the first terminal Tcr1 of the capacitance element Cr changes toward the ground voltage, the state of the switch SWd changes to the OFF state. At this time, the short-circuit connection between the first terminal Tcr1 of the capacitance element Cr and the ground terminal 94 is canceled.
[0088] After the state of the switch SWd changes to the OFF state, the state of the switch SWc changes to the ON state. At this time, the capacitance element Cr holds the analog voltage output from the buffer BUF2 again. The analog voltage is used for generating the reference signal in the AD conversion period.
[0089] Thereafter, the state of the switch SWc changes to the OFF state, and the sampling period is completed. The state of the switch SWr changes to the ON state, and the AD conversion period is started.
[0090] In the AD conversion period, the state of the switch SWc is the OFF state, the state of the switch SWr is the ON state, and the state of the switch SWd is the OFF state. At this time, a current flows through the switch SWr, and the voltage of the first terminal Tcr1 of the capacitance element Cr gradually decreases. The reference signal generation circuit 903 outputs the voltage of the first terminal Tcr1 of the capacitance element Cr as the reference signal.
[0091]
[0092] The control signal VDDC is input to a pixel PIX. The control signal RS is used for controlling the reset transistor RT of the pixel PIX. The control signal SWA is used for controlling the switch SWa of a reading circuit 902. The control signal TG is used for controlling the transfer transistor TT of the pixel PIX. The control signals SWO to SW5 are used for controlling the switches SW10 to SW15 and the switches SW20 to SW25 of the reading circuit 902. The pixel signals PSO to PS5 are output from pixels PIX of six columns.
[0093] The control signal SWD is used for controlling the switch SWd of the reference signal generation circuit 903. The start signal ST1 is input to the NOR circuit NOR1. The reference signal generation circuit 903 generates the reference signal RAMP. The voltage of the reference signal RAMP indicates the voltage of the first terminal Tcr1 of the capacitance element Cr. Each of the control signal VDDC, the control signal RS, the control signal SWA, the control signal TG, the control signals SWO to SW5, the control signal SWD, and the start signal ST1 has the H voltage or the L voltage.
[0094] In an exposure period Texp, the voltage of the control signal VDDC is the L voltage. The control signal VDDC is used for selecting pixels PIX of one row. The pixels PIX to which the control signal VDDC having the L voltage is input are not selected. The voltage of the control signal VDDC is set to the L voltage in order to prevent the pixels PIX that are not selected from outputting pixel signals. In the exposure period Texp, the photoelectric conversion unit PD generates an electric charge in accordance with the amount of light incident thereon.
[0095] Thereafter, a sampling period Tsamp is started. The sampling period Tsamp includes a reset period Trst. Before the reset period Trst is started, the voltage of the control signal VDDC is set to the H voltage and the voltage of the control signal RS is set to the H voltage. In the sampling period Tsamp and an AD conversion period Tade described later, the voltage of the control signal VDDC is maintained to be the H voltage and the pixel PIX is selected. When the voltage of the control signal RS is the H voltage, the reset transistor RT resets the voltage of the charge storage portion FD to a voltage in accordance with the control signal VDDC.
[0096] In the reset period Trst, the voltages of the control signals SWO to SW5 are set to the H voltage. The state of each of the switches SW10 to SW15 and SW20 to SW25 in the reading circuit 902 is set to the ON state. The output transistor OT of each of the pixels PIX of six columns outputs a pixel signal corresponding to the first pixel signal to the vertical signal line VL based on the voltage of the charge storage portion FD.
[0097] In one of the reading circuits 902, the pixel signal PSO is input to the capacitance element C0 via the switch SW10. The capacitance element C0 holds an analog signal corresponding to the pixel signal PSO. In the other five reading circuits 902, the capacitance elements C1 to C5 similarly hold analog signals corresponding to the pixel signals PSI to PS5. Thereafter, the voltages of the control signals SWO to SW5 are set to the L voltage, and the reset period Trst is completed. The state of each of the switches SW10 to SW15 and SW20 to SW25 changes to the OFF state.
[0098] In the exposure period Texp and the reset period Trst, the capacitance element Cr of the reference signal generation circuit 903 holds the analog voltage generated by the voltage generation circuit 911. The reference signal generation circuit 903 outputs the analog voltage to the comparator 904.
[0099] The voltage of the control signal SWA is the H voltage and the state of the switch SWa is maintained to be the ON state until the reset period Trst is completed. When the state of each of the switches SW10 to SW15 and SW20 to SW25 of the reading circuit 902 is the ON state, the analog voltage input from the reference signal generation circuit 903 to the non-inverting input terminal IN2 of the comparison circuit COMP is output from the output terminal OUT1 of the comparison circuit COMP to the capacitance elements C0 to C5 via the switch SWa and the switches SW20 to SW25. In order for each of the capacitance elements C0 to C5 to hold the analog signal corresponding to the first pixel signal, the analog voltage generated by the reference signal generation circuit 903 needs to be output to the capacitance elements C0 to C5. When the reset period Trst is completed, the voltage of the control signal SWA is set to the L voltage and the state of the switch SWa changes to the OFF state.
[0100] In the sampling period Tsamp after the reset period Trst is completed, the voltage of the control signal TG is set to the H voltage. The transfer transistor TT of each of the pixels PIX of six columns transfers the electric charge generated by the photoelectric conversion unit PD to the charge storage portion FD. The voltage of the charge storage portion FD decreases. The output transistor OT of each of the pixels PIX of six columns outputs a pixel signal corresponding to the second pixel signal to the vertical signal line VL based on the voltage of the charge storage portion FD. The voltage of the second pixel signal is lower than that of the first pixel signal.
[0101] In one of the reading circuits 902, the pixel signal PSO is input to the capacitance element C0 via the switch SW10. The capacitance element C0 holds an analog signal corresponding to the difference between the first pixel signal and the second pixel signal. In the other five reading circuits 902, each of the capacitance elements C1 to C5 similarly holds an analog signal corresponding to the difference between the first pixel signal and the second pixel signal.
[0102] Thereafter, the voltage of the control signal TG is set to the L voltage. The voltage of the control signal SWD is set to the H voltage at a timing TM1, and the state of the switch SWd of the reference signal generation circuit 903 changes to the ON state.
[0103] The first terminal Tcr1 of the capacitance element Cr of the reference signal generation circuit 903 and the ground terminal 94 are short-circuited, and the voltage of the first terminal Tcr1 of the capacitance element Cr sharply decreases. After the voltage of the first terminal Tcr1 of the capacitance element Cr changes toward the ground voltage, the voltage of the control signal SWD is set to the L voltage at a timing TM2. The state of the switch SWd changes to the OFF state, and the short-circuit connection between the first terminal Tcr1 of the capacitance element Cr and the ground terminal 94 is canceled. After the state of the switch SWd changes to the OFF state, the capacitance element Cr holds the analog voltage generated by the voltage generation circuit 911.
[0104] In the exposure period Texp and the sampling period Tsamp, the voltage of the start signal ST1 is set to the H voltage. After the state of the switch SWd changes to the OFF state, the voltage of the start signal ST1 is set to the L voltage. At this time, the sampling period Tsamp is completed, and the AD conversion period Tade is started.
[0105] The AD conversion period Tade includes AD conversion periods Tadc0 to Tadc5. In each of the AD conversion periods Tadc0 to Tadc5, the analog signal held by any one of the capacitance elements C0 to C5 is input to the inverting input terminal IN1 of the comparison circuit COMP via any one of the switches SW20 to SW25. In each of the AD conversion periods Tadc0 to Tadc5, the reference signal RAMP is output from the reference signal generation circuit 903 and is input to the non-inverting input terminal IN2 of the comparison circuit COMP. In each of the AD conversion periods Tadc0 to Tadc5, the comparison circuit COMP compares the voltage of the inverting input terminal IN1 with the voltage of the non-inverting input terminal IN2.
[0106] An operation of the image sensor 90 in the AD conversion period Tadc0 will be described. At a timing TM3 at which the AD conversion period Tadc0 is started, the state of the switch SWr of the reference signal generation circuit 903 changes to the ON state. A current flows through the switch SWr, and the voltage of the first terminal Tcr1 of the capacitance element Cr gradually decreases. The reference signal generation circuit 903 outputs the reference signal RAMP having the voltage that gradually decreases to the comparator 904. The reference signal RAMP is input to the non-inverting input terminal IN2 of the comparison circuit COMP.
[0107] The counter 905 starts an operation in the timing TM3. The voltage of the control signal SWO is set to the H voltage at the timing TM3. The state of each of the switches SW10 and SW20 of the reading circuit 902 is set to the ON state. The analog signal held by the capacitance element C0 is input to the inverting input terminal IN1 of the comparison circuit COMP via the switch SW20.
[0108] The comparison circuit COMP compares the voltage of the inverting input terminal IN1 with the voltage of the non-inverting input terminal IN2 and outputs the comparison signal to the latch circuit 906. For example, at a timing TM4, the voltage of the non-inverting input terminal IN2 matches the voltage of the inverting input terminal IN1. In other words, the voltage of the reference signal RAMP matches the voltage of the analog signal held by the capacitance element C0. At this time, the voltage of the comparison signal changes, and the latch circuit 906 holds a digital value output from the counter 905. The digital value corresponds to the length of the period from the timing TM3 to the timing TM4. The length corresponds to the voltage of the analog signal held by the capacitance element C0.
[0109] Thereafter, the voltage of the control signal SWO is set to the L voltage, and the AD conversion period Tadc0 is completed. The counter 905 stops the operation. The capacitance element Cr of the reference signal generation circuit 903 holds the analog voltage generated by the voltage generation circuit 911.
[0110] At a timing TM5, the AD conversion period Tadc1 is started. An operation of the image sensor 90 in the AD conversion period Tadc1 is similar to that of the image sensor 90 in the AD conversion period Tadc0. After the AD conversion period Tadc1 is completed, the AD conversion periods Tade2 to Tadc5 are sequentially started. An operation of the image sensor 90 in each of the AD conversion periods Tadc2 to Tadc5 is similar to that of the image sensor 90 in the AD conversion period Tadc0.
[0111] An analog voltage is generated by the voltage generation circuit 911 and is provided to the reference signal generation circuit 903. The counter 905 operates in the AD conversion periods Tadc0 to Tadc5. Therefore, the amount of change of the analog voltage generated immediately before each of the AD conversion periods Tadc1 to Tadc5 is almost the same in the AD conversion periods Tadc1 to Tadc5.
[0112] While the counter 905 operates in the AD conversion periods Tadc0 to Tadc5, the analog voltage changes. The counter 905 does not operate immediately before each of the AD conversion periods Tadc1 to Tadc5. However, since the interval between two consecutive AD conversion periods is short, the change of the analog voltage in each of the AD conversion periods Tadc0 to Tadc4 still remains immediately before each of the AD conversion periods Tadc1 to Tadc5.
[0113] The switch SWd of the reference signal generation circuit 903 short-circuits the first terminal Tcr1 of the capacitance element Cr and the ground terminal 94 immediately before the AD conversion period Tadc0. Although the counter 905 stops immediately before the AD conversion period Tadc0, the reference signal generation circuit 903 consumes the same amount of current as that of current consumed by the counter 905. Therefore, the amount of change of the analog voltage generated immediately before the AD conversion period Tadc0 is almost the same as that of change of the analog voltage generated in the AD conversion period Tadc0 during which the counter 905 operates. The voltage of the reference signal RAMP at the timing TM3 of the AD conversion period Tadc0 is almost the same as that of the reference signal RAMP at the timing TM5 of the AD conversion period Tadc1.
[0114] Since the switch SWd of the reference signal generation circuit 903 short-circuits the first terminal Tcr1 of the capacitance element Cr and the ground terminal 94, the voltage of the reference signal RAMP at the timing TM3 of the AD conversion period Tadc0 is different from that of the reference signal RAMP in the exposure period Texp or the reset period Trst. A first difference (absolute value) is less than a second difference (absolute value). The first difference indicates a difference between the voltage of the reference signal RAMP at the timing TM3 of the AD conversion period Tadc0 and the voltage of the reference signal RAMP at the timing TM5 of the AD conversion period Tadc1. The second difference indicates a difference between the voltage of the reference signal RAMP in the exposure period Texp or the reset period Trst and the voltage of the reference signal RAMP at the timing TM5 of the AD conversion period Tade1.
[0115] An error of the voltage of the reference signal RAMP at the timing at which the AD conversion period Tadc0 is started is reduced. Therefore, the image sensor 90 can execute AD conversion with high accuracy.
[0116] The reference signal generation circuit 903 may generate a reference signal that gradually increases. In such a case, the polarity of transistors included in the pixel unit 900, the reading circuit 902, the reference signal generation circuit 903, and the like is changed. In such a case, an analog voltage corresponding to the ground voltage is provided to the reference signal generation circuit 903. In such a case, the ground terminal 94 is changed to a voltage terminal to which the power source voltage is provided.
[0117]
[0118] The switch SWd (voltage adjustment circuit) of the reference signal generation circuit 903 adjusts an analog voltage provided to the reference signal generation circuit 903 before a first timing (timing TM3) of a first period (AD conversion period Tadc0). Specifically, the switch SWd adjusts the analog voltage such that a value of a first voltage of the reference signal RAMP at the first timing of the first period nears a value of a second voltage at a first timing (timing TM5) of a second period (AD conversion period Tadc1) (Step S105). The first period is a reference signal generation period immediately after the sampling period Tsamp. The second period is a reference signal generation period after the first period.
[0119] The reference signal generation circuit 903 generates the reference signal RAMP having a voltage that gradually increases or decreases from the first timing by using the analog voltage in a reference signal generation period. Specifically, the reference signal generation circuit 903 generates the reference signal RAMP having the first voltage at the first timing (timing TM3) of the first period (AD conversion period Tadc0). In addition, the reference signal generation circuit 903 generates the reference signal RAMP having the second voltage at the first timing (timing TM5) of the second period (AD conversion period Tadc1) (Step S110).
[0120] The comparator 904 executes comparison processing of comparing the voltage of the analog signal sampled by the reading circuit 902 with the voltage of the reference signal RAMP. At this time, the comparator 904 compares the voltage of each of the predetermined number of analog signals with the voltage of the reference signal RAMP, thus executing the comparison processing the same number of times as the predetermined number (Step S115).
[0121] The counter 905 (measurement circuit) measures the length of a period from the first timing (timing TM3) to a second timing (timing TM4) at which the voltage of the analog signal and the voltage of the reference signal RAMP match each other (Step S120). Steps S110 to S120 are executed the same number of times as the predetermined number.
[0122] Each aspect of the present invention may include the following modified example. The switch SWd (voltage adjustment circuit) short-circuits the reference signal generation circuit 903 and the ground terminal 94 (voltage terminal) at a third timing (timing TM1) before a first period (AD conversion period Tadc0). A different ground voltage from an analog voltage generated by the voltage generation circuit 911 is provided to the ground terminal 94. The switch SWd cancels a short circuit between the reference signal generation circuit 903 and the ground terminal 94 at a fourth timing (timing TM2) that occurs after the third timing and before the first period. The switch SWd adjusts the analog voltage by executing the operation like this.
[0123] In an example in which the voltage of the reference signal gradually decreases, a lower voltage (for example, the ground voltage) than the analog voltage generated by the voltage generation circuit 911 is provided to the voltage terminal of the reference signal generation circuit 903. In an example in which the voltage of the reference signal gradually increases, a higher voltage (for example, the power source voltage) than the analog voltage generated by the voltage generation circuit 911 is provided to the voltage terminal of the reference signal generation circuit 903.
[0124] Each aspect of the present invention may include the following modified example. The reference signal generation circuit 903 includes the capacitance element Cr that holds the first voltage and the second voltage. The switch SWd (voltage adjustment circuit) short-circuits the capacitance element Cr and the ground terminal 94 (voltage terminal) at the third timing (timing TM1) and cancels a short circuit between the capacitance element Cr and the ground terminal 94 at the fourth timing (timing TM2).
[0125] Each aspect of the present invention may include the following modified example. The third timing (timing TM1) occurs after the pixels PIX are reset and before the first timing (timing TM3) of the first period (AD conversion period Tadc0).
[0126] Each aspect of the present invention may include the following modified example. The reference signal generation circuit 903 outputs the reference signal RAMP having a third voltage in a third period (the exposure period Texp or the reset period Trst). The third period is included in the sampling period Tsamp and occurs before a period during which the switch SWd (voltage adjustment circuit) adjusts the analog voltage. The difference between the first voltage and the second voltage is less than that between the third voltage and the second voltage.
[0127] In the first embodiment, the image sensor 90 can execute AD conversion with high accuracy.
Second Embodiment
[0128] A second embodiment of the present invention will be described. The image sensor 90 shown in
[0129] The reference signal generation circuit 903 does not include the switch SWd shown in
[0130] The current circuit 912 consumes the same amount of current as that of current consumed by the counter 905. The current circuit 912 is a voltage adjustment circuit that adjust an analog voltage provided to the reference signal generation circuit 903.
[0131]
[0132] An analog voltage (VREF2) is generated by the voltage generation circuit 911 and is input to the drain terminal of the transistor TM1. The power source voltage transferred by the power source line 30 may be input to the drain terminal of the transistor TM1. The resistor R1 is connected to the source terminal of the transistor TM1 and the ground terminal 94.
[0133] A control signal BIAS is generated by the TG 910 and is input to the gate terminal of the transistor TM1. The state of the transistor TM1 becomes either an ON state or an OFF state in accordance with the control signal BIAS. The control signal BIAS has the H voltage or the L voltage. When the voltage of the control signal BIAS is the H voltage, the state of the transistor TM1 is the ON state. When the voltage of the control signal BIAS is the L voltage, the state of the transistor TM1 is the OFF state.
[0134] When the state of the transistor TM1 is the ON state, a predetermined current flows through the transistor TM1 and the resistor R1. The resistance value of the resistor R1 is set such that the same amount of current as that of current flowing through the counter 905 flows through the transistor TM1 and the resistor R1. When the state of the transistor TM1 is the OFF state, the above-described current is stopped.
[0135] The resistor R1 has a fixed resistance value. The resistance value of the resistor R1 may be variable. The power source voltage and the like transferred by the power source line 30 may change in accordance with the temperature and the like, and a current flowing through the counter 905 may change. In order to adjust the current consumption of the current circuit 912 in accordance with a change of the current, the resistance value of the resistor R1 may be controlled in accordance with the temperature and the like.
[0136] The current circuit 912 is connected to the ground terminal 94. The reference signal generation circuit 903 shown in
[0137]
[0138] The control signal BIAS is input to the gate terminal of the transistor TM1 of the current circuit 912. In an exposure period Texp and a sampling period Tsamp, the voltage of the control signal BIAS is the H voltage. Therefore, the state of the transistor TM1 is the ON state, and the current circuit 912 consumes the same amount of current as that of current consumed by the counter 905.
[0139] At a timing at which the sampling period Tsamp is completed, the voltage of the control signal BIAS changes to the L voltage. Therefore, the state of the transistor TM1 changes to the OFF state, and the current circuit 912 stops consumption of the current. In an AD conversion period Tadc following the sampling period Tsamp, the voltage of the control signal BIAS is the L voltage.
[0140] An analog voltage is generated by the voltage generation circuit 911 and is provided to the reference signal generation circuit 903. In the exposure period Texp and the sampling period Tsamp, the capacitance element Cr of the reference signal generation circuit 903 holds the analog voltage. The reference signal generation circuit 903 outputs the analog voltage to the comparator 904.
[0141] The counter 905 operates in AD conversion periods Tadc0 to Tadc5.
[0142] Therefore, the amount of change of the analog voltage generated immediately before each of the AD conversion periods Tadc1 to Tadc5 is almost the same in the AD conversion periods Tade1 to Tadc5.
[0143] While the counter 905 operates in the AD conversion periods Tadc0 to Tadc5, the analog voltage changes. The counter 905 does not operate immediately before each of the AD conversion periods Tadc1 to Tadc5. However, since the interval between two consecutive AD conversion periods is short, the change of the analog voltage in each of the AD conversion periods Tadc0 to Tadc4 still remains immediately before each of the AD conversion periods Tadc1 to Tadc5.
[0144] Although the counter 905 stops immediately before the AD conversion period Tadc0, the current circuit 912 consumes the same amount of current as that of current consumed by the counter 905. Therefore, the amount of change of the analog voltage generated immediately before the AD conversion period Tadc0 is almost the same as that of change of the analog voltage generated in the AD conversion period Tadc0 during which the counter 905 operates. The voltage of the reference signal RAMP at a timing at which the AD conversion period Tadc0 is started is almost the same as that of the reference signal RAMP at a timing at which the AD conversion period Tadc1 is started.
[0145] Each aspect of the present invention may include the following modified example. The current circuit 912 (voltage adjustment circuit) adjusts the analog voltage at a first timing (timing TM3) of a first period (AD conversion period Tadc0) by consuming the same amount of current as that of current consumed by the counter 905 (measurement circuit) before the first period.
[0146] Each aspect of the present invention may include the following modified example. The current circuit 912 (voltage adjustment circuit) and the reference signal generation circuit 903 are connected in parallel to the ground terminal 94 (voltage terminal) to which the analog voltage is provided.
[0147] In the second embodiment, the image sensor 90a can execute AD conversion with high accuracy.
[0148] While preferred embodiments of the invention have been described and shown above, it should be understood that these are examples of the invention and are not to be considered as limiting. Additions, omissions, substitutions, and other modifications can be made without departing from the spirit or scope of the present invention.
[0149] Accordingly, the invention is not to be considered as being limited by the foregoing description, and is only limited by the scope of the appended claims.