Photoelectric conversion apparatus, method for driving photoelectric conversion apparatus, and device
By dynamically adjusting column amplifier and AD conversion gains based on signal levels, the method optimizes noise reduction, dynamic range, and readout speed in photoelectric conversion devices, improving the signal-to-noise ratio and resolution.
Patent Information
- Application Number
- JP2023067788
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-10-30
AI Technical Summary
Existing photoelectric conversion devices face challenges in optimizing the operation of column amplifier gain and AD conversion gain, which affect noise levels, dynamic range, and readout speed, limiting the signal-to-noise ratio.
A method for driving photoelectric conversion devices that involves a pixel generating a signal with multiple gains, using a comparator to adjust the gain and slope of a ramp signal, and performing AD conversion with optimized gain settings based on signal levels, allowing for dynamic adjustment of column amplifier and AD conversion gains.
This approach optimizes the operation of column amplifier gain and AD conversion gain, improving the signal-to-noise ratio and dynamic range while enabling high-speed readout, reducing noise, and enhancing resolution and frame rate.
Smart Images

Figure 2024154135000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a photoelectric conversion device, a driving method for a photoelectric conversion device, and an apparatus. [Background technology]
[0002] The performance of a photoelectric conversion device requires a reduction in noise level to improve the S / N ratio, an expansion of the dynamic range, high-speed readout, etc. In response to such requirements, Patent Document 1 discloses a technology for switching the method of processing pixel signals output from pixels according to the ISO sensitivity setting of a camera.
[0003] Patent Document 1 discloses a technology in which, when the ISO sensitivity setting of a camera is low, the signal output level of a pixel signal output from a pixel is determined, the gain of a column amplifier is switched, and then AD conversion is performed with a fixed AD conversion gain regardless of the gain of the switched column amplifier. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-140650 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, in a photoelectric conversion device having a column amplifier and an AD conversion unit as shown in Patent Document 1, there is room for improvement in optimizing the operation of the column amplifier gain and the AD conversion gain.
[0006] An object of the present invention is to provide a method for driving a photoelectric conversion device that can optimize the operation of the column amplifier gain and the AD conversion gain. [Means for solving the problem]
[0007] According to one disclosure of the present specification, there is provided a method for driving a photoelectric conversion device including a pixel that generates a pixel signal by photoelectric conversion, a gain setting circuit capable of processing the pixel signal output from the pixel at a plurality of gains, and a comparator that compares the signal output from the gain setting circuit with a ramp signal, the method comprising the steps of: performing a first step of setting the gain to the first gain or a second gain different from the first gain based on a first result of comparing the signal processed with a first gain with a first voltage value by the comparator; and performing a second step of setting a slope of the ramp signal based on a second result of comparing the signal processed with the first gain or the second gain set in the first step with a second voltage value by the comparator. Effect of the Invention
[0008] According to the present invention, it is possible to optimize the operation of the column amplifier gain and the AD conversion gain. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram illustrating a photoelectric conversion device according to a first embodiment. [Diagram 2] FIG. 1 is a circuit diagram illustrating a photoelectric conversion device according to a first embodiment. [Diagram 3] FIG. 1 is a block diagram illustrating a photoelectric conversion device according to a first embodiment. [Figure 4] 1 is a drive timing chart illustrating a photoelectric conversion device according to a first embodiment; [Diagram 5] 1 is a flowchart illustrating a photoelectric conversion device according to a first embodiment. [Figure 6] FIG. 1 is a diagram for explaining a correction process of the photoelectric conversion device according to the first embodiment; [Figure 7] FIG. 1 is a diagram for explaining a correction process of the photoelectric conversion device according to the first embodiment; [Figure 8] FIG. 1 is a diagram for explaining a correction process of the photoelectric conversion device according to the first embodiment; [Figure 9]FIG. 1 is a block diagram illustrating a photoelectric conversion device according to a modification of the first embodiment. [Figure 10] FIG. 11 is a circuit diagram illustrating a photoelectric conversion device according to a second embodiment. [Figure 11] FIG. 11 is a block diagram illustrating a photoelectric conversion device according to a third embodiment. [Figure 12] FIG. 13 is a circuit diagram illustrating a photoelectric conversion device according to a fourth embodiment. [Figure 13] 13 is a drive timing chart illustrating a photoelectric conversion device according to a fourth embodiment. [Figure 14] 11 is a flowchart illustrating a photoelectric conversion device according to a fourth embodiment. [Figure 15] FIG. 13 is a schematic diagram illustrating a device according to a fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Each embodiment will be described below with reference to the drawings. Note that the following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiments, not all of these features are necessarily essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same or similar configurations are given the same reference numbers, and duplicated descriptions are omitted. Furthermore, in each embodiment described below, a sensor for imaging will be mainly described as an example of a photoelectric conversion device. However, each embodiment is not limited to a sensor for imaging, and can be applied to other examples of photoelectric conversion devices. For example, there are an imaging device, a distance measuring device (a device for distance measurement using focus detection or TOF (Time Of Flight), a photometric device (a device for measuring the amount of incident light, etc.), and the like.
[0011] In this specification, terms indicating specific directions or positions (for example, "upper", "lower", "right", "left" and other terms including these terms) are used as necessary. The use of these terms is for the purpose of facilitating understanding of the embodiments with reference to the drawings, and the technical scope of the present invention is not limited by the meaning of these terms.
[0012] In this specification, the phrase "electrically connecting component A and component B" does not necessarily mean that component A and component B are directly connected to each other. For example, even if another component C is connected between component A and component B, it is sufficient that they are electrically connected to each other.
[0013] Metallic members such as wiring and pads described in this specification may be composed of a single metal element or may be a mixture (alloy). For example, wiring described as copper wiring may be composed of a single copper element or may be composed mainly of copper and further contain other components. Also, for example, a pad connected to an external terminal may be composed of a single aluminum element or may be composed mainly of aluminum and further contain other components. The copper wiring and aluminum pads shown here are examples and can be changed to various metals. Also, the wiring and pads shown here are examples of metallic members used in photoelectric conversion devices and can be applied to other metallic members.
[0014] First Embodiment A photoelectric conversion device according to a first embodiment of the present invention will be described with reference to FIGS. 1 to 9. FIG.
[0015] FIG. 1 is an example of a block diagram of a photoelectric conversion device according to this embodiment.
[0016] As shown in Fig. 1, the photoelectric conversion device is provided with a plurality of pixels 101 arranged in a matrix. Fig. 1 shows an example in which 16 pixels 101 are arranged in 4 rows and 4 columns, but an actual photoelectric conversion device has tens of millions of pixels 101 arranged. This photoelectric conversion device is a so-called CMOS image sensor. Note that the present disclosure can be applied to both front-illuminated and back-illuminated sensors.
[0017] The pixel 101 includes a photoelectric conversion unit that generates electric charges by photoelectric conversion, converts the electric charges generated by the photoelectric conversion unit into a voltage signal, and outputs the voltage signal to the vertical output line 102. That is, the pixel 101 generates a pixel signal by photoelectric conversion, and outputs the generated pixel signal to the vertical output line 102. Note that the vertical output line 102 is an output line connected to a plurality of pixels 101 aligned in the vertical direction, but may be an output line connected to a plurality of pixels 101 aligned in the horizontal direction, for example. The current source 103 is electrically connected to the vertical output line 102 and supplies a current to the vertical output line 102. The column circuit 104 is provided corresponding to a column of the pixels 101, and the pixel signal output from the pixel 101 is input to the column circuit 104 via the vertical output line 102. The column circuit 104 is an AD conversion unit that amplifies the pixel signal and performs analog-to-digital conversion (AD conversion). The ramp signal output circuit 105 is a ramp signal supply unit that outputs a ramp signal VRAMP used in the AD conversion performed by the column circuit 104. The ramp signal output circuit 105 may generate the ramp signal VRAMP, or a circuit different from the ramp signal output circuit 105 may generate the ramp signal VRAMP. The ramp signal VRAMP is a signal whose voltage changes with respect to time. In this embodiment, a ramp signal VRAMP having a constant slope (amount of voltage change per unit time) is used, but a ramp signal VRAMP whose slope changes along the way may also be used. The ramp signal VRAMP whose slope changes along the way may change in a step-like manner, for example. The ramp signal output circuit 105 can output a plurality of types of ramp signals VRAMP with different slopes. The column circuit 104 can switch the AD conversion gain by switching between a plurality of types of ramp signals VRAMP with different slopes. The greater the slope of the ramp signal VRAMP, the lower the AD conversion gain.
[0018] The counter circuit 106 outputs a count signal CNT used for AD conversion performed in the column circuit 104. The count signal CNT is a signal that counts the clock pulse signal CLK supplied from a clock pulse supply unit (not shown) from the time when the ramp signal VRAMP of the ramp signal output circuit 105 starts to change depending on time. The counter circuit 106 shown in FIG. 1 is provided commonly to each column circuit 104, but may be provided corresponding to each column circuit 104. When the counter circuit 106 is provided corresponding to each column circuit 104, the counter circuit 106 is provided, for example, between the output terminal of the comparator 303 and the input terminal of the N memory 305A. When the counter circuit 106 is provided corresponding to each column circuit 104, a counter memory corresponding to the counter circuit 106 may be provided. The signals AD converted in the column circuit 104 are sequentially output by the horizontal scanning circuit 107 to the outside of the photoelectric conversion device via the horizontal output line 108 and the signal processing circuit 109. The vertical scanning circuit 110 sequentially selects predetermined rows. A timing generation unit 111 supplies drive signals to the vertical scanning circuit 110, the horizontal scanning circuit 107, the column circuit 104, the ramp signal output circuit 105, and the counter circuit .
[0019] FIG. 2 is an example of a circuit diagram of a pixel 101 included in the photoelectric conversion device according to this embodiment.
[0020] In the pixel 101, the photoelectric conversion unit 201 converts incident light into electric charges and accumulates them. Here, a photodiode is shown as an example. The transfer MOS transistor 202 transfers the electric charges accumulated in the photoelectric conversion unit 201 to a floating diffusion (hereinafter, FD) 203. The FD 203 converts the transferred electric charges into a voltage. When the selection MOS transistor 205 is turned on, the amplification MOS transistor 204 amplifies a voltage signal generated in the FD 203 and outputs it to the vertical output line 102. The reset MOS transistor 206 resets the voltage of the FD 203 and the voltage of the photoelectric conversion unit 201 via the transfer MOS transistor 202 to SVDD. The transfer MOS transistor 202, the reset MOS transistor 206, and the selection MOS transistor 205 are each connected to the vertical scanning circuit 110 and controlled by control signals PTX, PRES, and PSEL.
[0021] 3 is an example of a block diagram of the column circuit 104 included in the photoelectric conversion device according to this embodiment. As shown in FIG. 3, a pixel signal output from a pixel 101 is input to a column amplifier 301 via a vertical output line 102. A gain switching circuit 302 switches the gain of the column amplifier 301, and a ramp signal switching circuit 304 switches the slope of a ramp signal VRAMP. In addition, a selection circuit 306 controls the gain switching circuit 302 and the ramp signal switching circuit 304.
[0022] The column amplifier 301 is a gain setting circuit that functions as an amplifier circuit, and amplifies a pixel signal according to a gain setting result of the gain switching circuit 302, and outputs the amplified pixel signal to the comparator 303. That is, the column amplifier 301 can process the pixel signal output from the pixel 101 at a plurality of gains. The column amplifier 301 includes an amplifier AMP, an input capacitance C0, feedback capacitances Cf1, Cf2, Cf3, and Cf4, and switches SW1, SW2, SW3, SW4, and SW5. The switches SW1 to SW4 are controlled by a gain switching circuit 302. The switch SW5 is controlled by a C0 reset pulse PC0R. The gain of the column amplifier 301 is determined by C0 / Cf, which is the ratio of the capacitance value of the active feedback capacitance Cf on the feedback path of the amplifier AMP to the capacitance value of the input capacitance C0. The gain set by the column amplifier 301 may be amplification or attenuation. For example, even if one of the plurality of gains is amplification and the other is attenuation, the column amplifier 301 is treated as an amplification circuit. The operation of the gain switching circuit 302 will be described in detail later.
[0023] 1 is input to one input terminal of the comparator 303 in accordance with the selection result of the ramp signal switching circuit 304. The output signal of the column amplifier 301 is input to the other input terminal of the comparator 303. The operation of the ramp signal switching circuit 304 will be described in detail later.
[0024] The comparator 303 is a comparison circuit that generates a comparison result signal using the column amplifier output signal input from the column amplifier 301 and the ramp signal VRAMP supplied from the ramp signal output circuit 105, and outputs the comparison result signal to an output node. Specifically, the comparator 303 outputs a low level when the voltage of the ramp signal VRAMP is lower than the voltage of the column amplifier output signal, and outputs a high level when it is higher. Note that the relationship between the high level and the low level at this time is just an example, and the relationship may be reversed.
[0025] The counter circuit 106 outputs a count signal CNT that counts the clock pulse signal CLK supplied from a clock pulse supply unit (not shown) from the time when the ramp signal VRAMP of the ramp signal output circuit 105 starts to change depending on time. That is, the counter circuit 106 counts the clock pulse signal CLK in parallel with the change in the voltage of the ramp signal VRAMP, and generates and outputs the count signal CNT. The count signal CNT is commonly supplied to the N memory 305A and S memory 305B of each column. The N memory 305A and S memory 305B hold the count signal CNT supplied from the counter circuit 106 based on the timing when the signal value of the comparator output supplied from the comparator 303 changes from a low level to a high level.
[0026] The N memory 305A holds a digital signal obtained by AD converting a reset level signal (hereinafter, N signal) of the FD 203. Note that this digital signal also includes a component of characteristic variation for each column circuit 104. The S memory 305B holds a digital signal obtained by AD converting a signal (hereinafter, S signal) obtained by superimposing a signal of the photoelectric conversion unit 201 on the N signal of the FD 203. The judgment value memory 305C holds a result (hereinafter, J signal) of comparison judgment by the comparator 303 of the reference voltage (first voltage value VREF1 and second voltage value VREF2) output by the ramp signal output circuit 105 and the column amplifier output signal AMPOUT. The J signal is also input to the selection circuit 306, and the selection circuit 306 outputs the J signal, which is the result of comparison judgment by the first voltage value VREF1 and the second voltage value VREF2, to the gain switching circuit 302 and the ramp signal switching circuit 304, respectively. In this embodiment, the ramp signal output circuit 105 outputs a signal whose voltage changes over time, but the first voltage value VREF1 and the second voltage value VREF2 may be output as constant signals whose voltage does not change over time. A circuit different from the ramp signal output circuit 105 may generate or output the constant signals whose voltage does not change. The first voltage value VREF1 and the second voltage value VREF2 may be the same value or different values. Details regarding the operation of the selection circuit 306 will be described later.
[0027] The signals held in the N memory 305A, the S memory 305B, and the judgment value memory 305C are output to the signal processing circuit 109 via the horizontal output line 108 in response to a control signal from the horizontal scanning circuit 107. Then, the digitized N signal is subtracted from the digitized S signal in the signal processing circuit 109, and a signal with reduced noise components is output. Details of the processing by the signal processing circuit 109 will be described later.
[0028] The gain switching circuit 302 and the ramp signal switching circuit 304 are connected to the output node of the comparator 303 via the selection circuit 306. In this configuration, it can be said that the gain switching circuit 302 and the ramp signal switching circuit 304 are electrically connected to the comparator 303. Note that an element (e.g., a resistive element, a capacitive element, a logic circuit, etc.) other than the selection circuit 306 may be provided in the electrical path between the gain switching circuit 302 and the output node of the comparator 303, and in the electrical path between the ramp signal switching circuit 304 and the output node of the comparator 303. In this way, the case where an element other than the selection circuit 306 is provided in the electrical path is also included in the example in which the gain switching circuit 302 and the ramp signal switching circuit 304 are electrically connected to the output node of the comparator 303. In other words, the electrical connection between the output node of the comparator 303 and the gain switching circuit 302 can be said to be a configuration in which a signal at the output node of the comparator 303 is input to the gain switching circuit 302. Moreover, the electrical connection between the output node of the comparator 303 and the ramp signal switching circuit 304 can be said to be a configuration in which a signal at the output node of the comparator 303 is input to the ramp signal switching circuit 304. The N memory 305A, the S memory 305B, and the judgment value memory 305C are also electrically connected to the output node of the comparator 303. Other elements may also be provided in the electrical paths between the output node of the comparator 303 and each memory.
[0029] The photoelectric conversion device of this embodiment is capable of switching the gain of the column amplifier in accordance with the signal output level of the pixel signal output from the pixel, and then performing AD conversion by switching the slope of the ramp signal in accordance with the signal output level of the column amplifier output signal output from the column amplifier.
[0030] FIG. 4 is an example of a drive timing chart of the charge readout operation of the photoelectric conversion device according to the present embodiment. The timing of each drive pulse, the pixel output voltage, the column amplifier output voltage, and the ramp signal are shown in schematic form. The period from time t407 to time t411 for setting the gain is the first step, and the period from time t412 to time t414 for setting the slope of the ramp signal VRAMP is the second step. The period from time t415 to time t417 for performing AD conversion is the third step, and the period from time t404 to time t406 for performing AD conversion is the fourth step. The operation of transferring the charge from the photoelectric conversion unit of the pixel 101 is performed at multiple timings, and the first step and the second step may be performed between two consecutive timings among the multiple timings. At least one of the third step and the fourth step may be performed in addition to the first step and the second step between two consecutive timings among the above multiple timings. The operation of transferring electric charge from the photoelectric conversion unit of the pixel 101 at multiple timings includes, for example, a case where the operation is performed once in each of multiple frames. Also, the operation of transferring electric charge from the photoelectric conversion unit of the pixel 101 at multiple timings includes, for example, a case where the operation is performed multiple times within one frame.
[0031] At time t400, the vertical scanning circuit 110 sets the selection pulse PSEL to a high level to select a row of the pixel 101 from which the pixel signal PIXOUT is to be output. The vertical scanning circuit 110 also sets the reset pulse PRES to a high level to reset the voltage of the FD 203. At time t401, the vertical scanning circuit 110 sets the reset pulse PRES to a low level. The pixel signal PIXOUT output when the reset pulse PRES is set to a low level is referred to as the "pixel reference signal." The pixel reference signal is a signal that includes noise components that the pixel 101 has.
[0032] At time t402, the timing generation unit 111 changes the C0 reset pulse PC0R from high level to low level, and releases the reset of the amplifier AMP and input capacitance C0. As a result, a charge based on the voltage of the pixel reference signal when the C0 reset pulse PC0R is set to low level is held in the input capacitance C0, and the column amplifier 301 outputs the column amplifier output signal AMPOUT. At time t403, the timing generation unit 111 sets the comparator reset pulse COMPRES to high level, and then sets it to low level after a predetermined time. The comparator reset pulse COMPRES is used to reset and initialize the comparator 303.
[0033] The gain of the column amplifier 301 is determined by the ratio of the capacitance value of the feedback capacitances Cf1, Cf2, Cf3, and Cf4 connected to the feedback path of the amplifier AMP to the capacitance value of the input capacitance C0. In this embodiment, the capacitance values of Cf1, Cf2, Cf3, and Cf4 are 1 / 8, 1 / 8, 1 / 4, and 1 / 2 times the capacitance value of the input capacitance C0, respectively. The gain when all of the feedback capacitances Cf1, Cf2, Cf3, and Cf4 are used is 1 / (1 / 8+1 / 8+1 / 4+1 / 2)=1. The gain when only the feedback capacitances Cf1 and Cf2 are used is 1 / (1 / 8+1 / 8)=4. The combination of these gains is not limited to the combination of this embodiment. In addition, as a gain switching means, a configuration in which the input capacitance C0 is switched instead of the feedback capacitance Cf may be used. Here, the switches SW3 and SW4 are turned off to use only the feedback capacitances Cf1 and Cf2, and the column amplifier 301 outputs the column amplifier output signal AMPOUT with a gain of four times (first gain).
[0034] During the period from time t404 to time t406, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_L from the initial value depending on time. The ramp signal output circuit 105 can simultaneously output a plurality of ramp signals with different slopes and input them to the column circuit 104. The plurality of ramp signals with different slopes are, for example, a ramp signal VRAMP_L with a small slope, a ramp signal VRAMP_H with a large slope, and a ramp signal VRAMP_J with an even larger slope. The slope of the ramp signal VRAMP_J may be smaller than the slope of the ramp signal VRAMP_H or may be smaller than the slope of the ramp signal VRAMP_L. Here, for example, the ramp signal VRAMP_L is input to the comparator 303 via the ramp signal switching circuit 304. By using the ramp signal VRAMP_L as a reference voltage, the amount of voltage change per time is smaller than when the ramp signal VRAMP_H is used, and therefore AD conversion with high resolution can be performed. During the period from time t404 to time t406, high-resolution AD conversion is performed using the ramp signal VRAMP_L. These drives are realized by sending control signals from the timing generation unit 111 to the ramp signal output circuit 105 and the ramp signal switching circuit 304. The slope of the ramp signal VRAMP_L is set to a first slope, the slope of the ramp signal VRAMP_H is set to a second slope larger than the first slope, and the slope of the ramp signal VRAMP_J is set to a third slope larger than the second slope. That is, during the period from time t404 to time t406, the column amplifier output signal AMPOUT processed with the first gain is compared with the ramp signal VRAMP with the first slope or the second slope. Then, based on the fourth result of the comparison, the column amplifier output signal AMPOUT processed with the first gain, which is an analog signal, is converted into a digital signal.
[0035] At time t404, the voltage change of the ramp signal VRAMP_L starts, and the counter circuit 106 starts counting the clock pulse signal and supplies the count signal CNT to the N memory 305A of each column. At time t405, the voltage of the ramp signal VRAMP_L exceeds the column amplifier output signal AMPOUT, and the signal value of the comparator output COMPOUT output by the comparator 303 changes. The value of the count signal CNT at this time (count value) is held by the N memory 305A. The value of the count signal CNT held by the N memory 305A at this time is the digital value obtained by AD converting the N signal. At time t406, the time-dependent voltage change of the ramp signal VRAMP_L stops, and the state is reset to the state at time t400. The counter circuit 106 stops counting the clock pulse signal, and returns the count signal CNT to the initial value.
[0036] At time t407, the transfer pulse PTX is set to high level, and at time t408, the transfer pulse PTX is set to low level. As a result, charges generated by light incident on the photoelectric conversion unit 201 are transferred to the FD 203. The amplification MOS transistor 204 outputs a voltage signal based on the charges transferred to the FD 203. This voltage signal is output to the vertical output line 102 via the selection MOS transistor 205. This signal is an image signal, which is one of the pixel signals PIXOUT. The image signal is an analog signal having a voltage corresponding to the amount of light received by the photoelectric conversion unit 201 in one frame period.
[0037] The column amplifier 301 outputs a column amplifier output signal AMPOUT obtained by inverting and amplifying the voltage difference between the pixel reference signal and the image signal. The column amplifier output signal AMPOUT at this time is referred to as an "amplified image signal." The amplified image signal is input to one input terminal of the comparator 303. The column amplifier 301 may output a column amplifier output signal AMPOUT obtained by inverting and amplifying the image signal. The amplified image signal is treated as an S signal in signal processing downstream of the column amplifier 301, similar to the column amplifier output signal AMPOUT obtained by inverting and amplifying the image signal.
[0038] In the period from time t409 to time t411, the ramp signal VRAMP_J is input to the other input terminal of the comparator 303. The ramp signal VRAMP_J is output by the ramp signal output circuit 105 and input to the comparator 303 via the ramp signal switching circuit 304.
[0039] In the period from time t409 to time t410, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_J from the initial value depending on time. At time t410, the voltage change of the ramp signal VRAMP_J is stopped. The voltage of the ramp signal VRAMP_J at time t410 becomes a first voltage value VREF1. This first voltage value VREF1 is used as a threshold value for determining whether or not the column amplifier output signal AMPOUT exceeds the input range of the AD conversion.
[0040] In the period from time t410 to time t411, the comparator 303 compares the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain. When the voltage of the column amplifier output signal AMPOUT is lower than the first voltage value VREF1, the comparator output COMPOUT (first J signal) changes from low level to high level (=1). The comparator output COMPOUT based on the first result of comparing the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the gain switching circuit 302, and the gain switching circuit 302 inputs the gain switching signal to the column amplifier 301. When the voltage of the column amplifier output signal AMPOUT processed with the first gain is lower than the first voltage value VREF1, the switches SW1 to SW4 do not change and the gain is maintained at 4 times (first gain). That is, in the first step, a first gain (4 times) is set based on the first result.
[0041] When the voltage of the column amplifier output signal AMPOUT is higher than the first voltage value VREF1, the comparator output COMPOUT (first J signal) becomes a low level (=0). The comparator output COMPOUT based on the first result of comparing the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the gain switching circuit 302, and the gain switching circuit 302 inputs the gain switching signal to the column amplifier 301. When the voltage of the column amplifier output signal AMPOUT processed with the first gain is higher than the first voltage value VREF1, the switches SW3 and SW4 are turned on, and the gain is set to 1x (a second gain different from the first gain). That is, in the first step, the setting of the first gain (4x) is switched based on the first result, and the second gain (1x) is set.
[0042] In the period from time t410 to time t411, the value of the comparator output COMPOUT (first judgment value J1) is input to the selection circuit 306. The first judgment value J1 is also held in the judgment value memory 305C. In the case of FIG. 4, since the column amplifier output signal AMPOUT is larger than VREF1, this is an example in which the gain is switched from 4 times to 1 time. At time t411, the determination of whether the gain of the column amplifier 301 should be 1 time or 4 times for the S signal AD conversion period is completed, and the voltage of the ramp signal VRAMP_J is reset.
[0043] In the period from time t412 to time t413, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_J from the initial value depending on time. At time t413, the voltage change of the ramp signal VRAMP_J is stopped. The voltage of the ramp signal VRAMP_J at time t413 becomes a second voltage value VREF2. This second voltage value VREF2 is used as a threshold value for determining whether the ramp signal VRAMP_L or VRAMP_H is to be selected as the ramp signal for AD converting the column amplifier output signal AMPOUT.
[0044] During the period from time t413 to time t414, the comparator 303 compares the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the first gain or the second gain set in the first step. In the present embodiment shown in FIG. 4, the column amplifier output signal AMPOUT is processed with the second gain based on the first result of the first step. When the voltage of the column amplifier output signal AMPOUT is lower than the second voltage value VREF2, the comparator output COMPOUT (second J signal) changes from low level to high level (=1). The comparator output COMPOUT based on the second result of comparing the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the second gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the ramp signal switching circuit 304, and the ramp signal switching circuit 304 selects the ramp signal VRAMP_L and inputs it to the comparator 303. When the voltage of the column amplifier output signal AMPOUT processed with the second gain is lower than the second voltage value VREF2, the ramp signal VRAMP_L having a smaller slope is used for AD conversion. That is, in the second step, the first slope (high AD conversion gain) having a smaller slope than the second slope (low AD conversion gain) is set based on the second result.
[0045] When the voltage of the column amplifier output signal AMPOUT is higher than the second voltage value VREF2, the comparator output COMPOUT (second J signal) becomes a low level (=0). The comparator output COMPOUT based on the second result of comparing the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the second gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the ramp signal switching circuit 304, which selects the ramp signal VRAMP_H and inputs it to the comparator 303. When the voltage of the column amplifier output signal AMPOUT processed with the second gain is higher than the second voltage value VREF2, the ramp signal VRAMP_H having a larger slope than the ramp signal VRAMP_L is used for AD conversion. That is, in the second step, a second slope (low AD conversion gain) having a larger slope than the first slope (high AD conversion gain) is set based on the second result.
[0046] The above driving method enables AD conversion at an appropriate resolution according to the signal output level of the column amplifier output signal AMPOUT processed with the second gain without exceeding the AD conversion input range, which means that it is possible to improve both the resolution and the frame rate.
[0047] In the period from time t413 to time t414, the value of the comparator output COMPOUT (second judgment value J2) is input to the selection circuit 306. The second judgment value J2 is also held in the judgment value memory 305C. When the second judgment value J2 is held in the judgment value memory 305C, it is held separately from the first judgment value J1. When the first judgment value J1 and the second judgment value J are held separately in the judgment value memory 305C, each is held in a plurality of bits. At time t414, the determination of which of the ramp signals VRAMP_H and VRAMP_L is to be used in the S signal AD conversion period is completed, and the voltage of the ramp signal VRAMP_J is reset.
[0048] During the period from time t415 to time t417, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_L or the ramp signal VRAMP_H from the initial value depending on time. Then, the column amplifier output signal AMPOUT processed with the first gain or the second gain is compared with the ramp signal VRAMP having the first slope or the second slope. Furthermore, based on the third result of the comparison, the column amplifier output signal AMPOUT processed with the first gain or the second gain, which is an analog signal, is converted into a digital signal. Which of the ramp signals VRAMP_L or VRAMP_H each column circuit 104 inputs to the comparator 303 is determined according to the value of the comparator output COMPOUT between time t413 and time t414. In the case of FIG. 4, since the column amplifier output signal AMPOUT during the period from time t413 to time t414 is larger than the second voltage value VREF2, the ramp signal VRAMP_H having the second slope with a larger slope is selected.
[0049] At time t415, the voltage change of the ramp signal VRAMP_H starts, and the counter circuit 106 starts counting the clock pulse signals, and supplies the count signal CNT to the S memory 305B of each column.
[0050] At time t416, the voltage of the ramp signal VRAMP_H exceeds the column amplifier output signal AMPOUT, and the signal value of the comparator output COMPOUT changes. The value of the count signal CNT at this time (count value) is held by the S memory 305B. The value of the count signal CNT held by the S memory 305B at this time is the digital value obtained by AD converting the S signal.
[0051] At time t417, the time-dependent voltage change of the ramp signal VRAMP_L or the ramp signal VRAMP_H is stopped and reset to the state at time t400. The counter circuit 106 stops counting the clock pulse signal and returns the count signal CNT to the initial value.
[0052] After time t418, the horizontal scanning circuit 107 sequentially operates the column circuits 104, so that the signals held in the N memory 305A, the S memory 305B, and the judgment value memory 305C are sent to the signal processing circuit 109 via the horizontal output line 108. Then, after arithmetic processing is performed, the signals are output to the outside of the photoelectric conversion device.
[0053] In the signal processing circuit 109, a differential signal level (light component) is calculated by subtracting the digitized N signal from the digitized S signal. Before the calculation of the S signal-N signal, the AD conversion result is corrected by the ramp signal selected at the time of AD conversion of the S signal. Here, the AD conversion result correction process will be described. For example, if the slope of the ramp signal VRAMP_H is four times that of the ramp signal VRAMP_L, the signal amplitude corresponding to one count of the count signal CNT is four times that of the ramp signal VRAMP_H. Therefore, in order to match the digital output with respect to the voltage level of the signal, a process of multiplying the count value AD converted by the ramp signal VRAMP_H by four times the digital gain is performed. Whether or not the S signal input to the signal processing circuit 109 needs correction can be determined by the second judgment value J2 held in the judgment value memory 305C. If the second judgment value J2=0, the ramp signal VRAMP_H is selected, so a process of multiplying the S signal by four is performed. On the other hand, if the second determination value J2=1, the ramp signal VRAMP_L is selected, and therefore the process of multiplying the S signal by 4 is not performed. These processes are referred to as a first correction process.
[0054] The threshold value (second voltage value VREF2) for obtaining the second judgment value J2 can be set arbitrarily, but when the slope of the ramp signal VRAMP_H is four times the slope of the ramp signal VRAMP_L, it is preferable to set it to 1 / 4 times the amplitude of the column amplifier output signal. That is, the second voltage value VREF2 is set in correspondence with the first slope and the second slope. For example, when the maximum amplitude of the column amplifier output signal to be AD converted is 1 [V], the second voltage value VREF2 is set to an amplitude of 0.25 [V]. The counter during AD conversion is configured to be 12 bits and count up to 4095, and the ramp signal VRAMP_L is controlled so that the amplitude becomes 0.25 [V] at 4095 counts. Here, the ramp signal output circuit 105 is common to the column circuit 104. Therefore, due to the influence of variations between the multiple column circuits 104 and fixed noise, the setting of the second voltage value VREF2 to an amplitude of 0.25 [V] may not be an appropriate AD conversion range for some column circuits. In this case, the second voltage value VREF2 may be set to an amplitude of, for example, 0.24 [V]. The ramp signal VRAMP_H is controlled to have an amplitude of 1 [V] at 4095 counts.
[0055] Whether or not the S signal that has undergone the first correction process needs to be corrected by setting the gain of the column amplifier 301 can be determined by the first judgment value J1 stored in the judgment value memory 305C. If the first judgment value J1=0, the gain of the column amplifier 301 is changed to be lowered from 4 times to 1 time, and the S signal that has undergone the first correction process is further multiplied by 4 times. On the other hand, if the first judgment value J1=1, the gain of the column amplifier 301 remains unchanged at 4 times, and the S signal that has undergone the first correction process is not multiplied by 4 times. The above correction is called the second correction process. Note that the threshold value (first voltage value VREF1) for determining the first judgment value J1 can be set arbitrarily, and the first voltage value VREF1 may be set in accordance with the maximum input range in the AD conversion performed by the comparator 303. For example, if the maximum amplitude of the column amplifier output signal AMPOUT to be AD converted is 1 [V], the first voltage value VREF1 may be set to an amplitude equivalent to 1 [V]. The counter during AD conversion is configured to be 12 bits and count up to 4095, and the ramp signal VRAMP_H is controlled to have an amplitude of 1 [V] at a count of 4095. Note that, taking a margin into consideration, the first voltage value VREF1 may be made smaller than the maximum value of the ramp signal VRAMP_H.
[0056] In this embodiment, at high luminance, optical shot noise occurring in proportion to the amount of light is dominant over circuit noise, so a gain of 1x is used for the column amplifier 301. On the other hand, at low luminance, circuit noise is dominant, so a gain of 4x is used for the column amplifier 301. This relatively reduces the influence of noise occurring in the downstream comparator 303, making it possible to obtain a signal with a high dynamic range and an improved S / N ratio. In addition, by selecting appropriate ramp signals VRAMP_H and VRAMP_L and performing AD conversion after setting the gain of the column amplifier 301, AD conversion can be performed with high resolution and high speed.
[0057] In this embodiment, for example, at low luminance, the pixel signal PIXOUT is amplified, and a signal having good noise characteristics can be obtained at high resolution by AD conversion using a ramp signal with a small slope.Also, at high luminance, the amplification factor of the pixel signal PIXOUT is reduced, and a signal with an expanded dynamic range can be obtained at high speed by AD conversion using a ramp signal with a large slope.
[0058] FIG. 5 is a diagram for explaining the signal processing flowchart of the photoelectric conversion device according to the present embodiment. The "AD conversion" described in FIG. 5 indicates the periods of AD conversion of the N signal, determination (setting of the gain of the column amplifier and the slope of the ramp signal), and AD conversion of the S signal, respectively. During the determination period, the determination values J (the first determination value J1 and the second determination value J2) based on the comparison result between the column amplifier output signal AMPOUT and the ramp signal VRAMP_J by the comparator 303 are stored in the determination value memory 305C. Also, during the determination period, signals are output from the selection circuit 306 to the gain switching circuit 302 and the ramp signal switching circuit 304 to control the gain switching of the column amplifier 301 and the switching of the ramp signal VRAMP. In the "gain of the column amplifier" described in FIG. 5, for example, as described with reference to FIG. 4, the first gain is 4 times and the second gain is 1 time. During the determination period, the column amplifier output signal AMPOUT is compared with the first voltage value VREF1. When AMPOUT < VREF1, the setting of the first gain of the column amplifier 301 is maintained. On the other hand, when AMPOUT > VREF1, a second gain different from the first gain is set for the column amplifier 301. The "slope of the ramp signal" described in FIG. 5 is the slope of the ramp signal VRAMP input to the comparator 303. During the AD conversion of the N signal, for example, the ramp signal VRAMP_L is input to the comparator 303. During the determination period, a signal is output from the selection circuit 306, and after the gain of the column amplifier 301 is switched by the gain switching circuit 302, the column amplifier output signal AMPOUT is compared with the second voltage value VREF2 by the comparator 303. If the result of the comparison here is AMPOUT < VREF2, the ramp signal VRAMP_L is selected and the S signal is AD-converted. On the other hand, if the result of the comparison here is AMPOUT > VREF2, the ramp signal VRAMP_H is selected and the S signal is AD-converted. That is, either the ramp signal VRAMP_L or VRAMP_H is selected for the first gain, and either the ramp signal VRAMP_L or VRAMP_H is selected for the second gain. Therefore, in the case of the present embodiment, the combination of the gain of the column amplifier 301 and the slope of the ramp signal VRAMP is four types.The number of combinations of the gain of the column amplifier 301 and the slope of the ramp signal VRAMP is not limited to four, and the number of combinations varies depending on the number of gain settings of the column amplifier 301 and the number of slope settings of the ramp signal VRAMP.
[0059] FIG. 6 is a diagram illustrating the correction process of the photoelectric conversion device according to this embodiment.
[0060] In FIG. 6, the correction process will be described in the case where the first gain described in FIG. 5 is 8 times, the second gain is 1 time, and the ratio of change over time of the ramp signals VRAMP_L and VRAMP_H is 1:4. The horizontal axis in FIG. 7 is the range of the amount of incident light, that is, the signal level [V] of the pixel signal PIXOUT. The vertical axis is the digital value after the correction process (AD converted value after the correction process) [LSB]. Here, the maximum value of the pixel signal PIXOUT is VA2. Since the gain ratio of the column amplifier 301 is 8, the gain of the column amplifier 301 is 8 times in the signal level range up to VA1, which is 1 / 8 times VA2, and the gain of the column amplifier 301 is 1 time in the signal level range of VA1 or more, and the pixel signal PIXOUT is AD converted. Here, the digital value of VA1 AD converted with the gain of the column amplifier 301 being 8 times is DA1, and DA1 is the maximum value of the output range of the AD conversion. The digital value of VA2 AD converted when the column amplifier 301 has a gain of 1x is also DA1, but after correction processing in the signal processing circuit 109, DA1 is multiplied by 8 to become DA2. In this way, the results AD converted at different gains of the column amplifier 301 are corrected using the signal processing circuit 109 according to the gain ratio of the column amplifier 301. In this case, DA1 can be multiplied by 8 by shifting DA1 to the higher order by 3 bits. Regarding the selection of the ramp signal VRAMP, for each of the gains of the column amplifier 301 of 1x and 8x, the ramp signal VRAMP_L is selected up to a signal level range of 1 / 4 of the maximum value, and the ramp signal VRAMP_H is selected for the signal level range above that. When the gain of the column amplifier 301 is 8x, the pixel signal PIXOUT is AD converted using the ramp signal VRAMP_L up to VR1 and the ramp signal VRAMP_H from VR1 to VA1. When the gain of the column amplifier 301 is 1x, the pixel signal PIXOUT is AD converted using the ramp signal VRAMP_L up to VR2 and the ramp signal VRAMP_H from VR2 to VA2. The digital value of VR1 AD converted under the condition of the gain of the column amplifier 301 being 8x and the ramp signal VRAMP_L is set to DR1, and DR1 is set to the maximum value of the output range of the AD conversion. The digital value of VA1 AD converted under the condition of the gain of the column amplifier 301 being 8x and the ramp signal VRAMP_H is also DR1, but after correction processing in the signal processing circuit 109, DR1 is multiplied by 4 to become DA1.Similarly, the digital value of VR2 that is AD converted when the gain of the column amplifier 301 is 1 and the ramp signal VRAMP_L is DR1, but after correction processing in the signal processing circuit 109, DR1 is multiplied by 8, which is the gain ratio of the column amplifier, to become DR2.
[0061] In the signal processing circuit 109, correction processing of the digital signal is performed based on the set gain ratio of the column amplifier 301 and the slope ratio of the ramp signal VRAMP. However, in reality, errors in the set gain ratio of the column amplifier 301 and the slope ratio error of the ramp signal VRAMP may occur. These ratio errors may become error factors such as offsets of the digital signal at each point VR1, VA1, VR2, and VA2 of the pixel signal PIXOUT in FIG. 6, and linearity differences between the range up to VA1 and the range from VA1 to VA2.
[0062] FIG. 7 is a diagram illustrating the correction process of the photoelectric conversion device according to this embodiment.
[0063] As shown in FIG. 7, correction operation input values V1, V2, and V3 are input to the column circuit 104 from a reference voltage source (not shown). At this time, the gain and ramp signal VRAMP of the column amplifier 301 do not perform a judgment operation, and AD conversion is performed with a certain predetermined setting. For the correction operation input value V1, a digital value obtained under the condition of a first gain and a ramp signal VRAMP_L is defined as D1. Also, for the correction operation input value V1, a digital value obtained under the condition of a first gain and a ramp signal VRAMP_H is defined as D3. Also, for the correction operation input value V1, a digital value obtained under the condition of a second gain and a ramp signal VRAMP_H is defined as D6. For the correction operation input value V2, a digital value obtained under the condition of a first gain and a ramp signal VRAMP_L is defined as D2. Also, for the correction operation input value V2, a digital value obtained under the condition of a first gain and a ramp signal VRAMP_H is defined as D4. Also, for the correction operation input value V3, a digital value obtained under the condition of a first gain and a ramp signal VRAMP_H is defined as D5. Also, the digital value obtained by the second gain and the ramp signal VRAMP_H for the correction operation input value V3 is defined as D7. For example, the ratio of the slope of the ramp signals VRAMP_H and VRAMP_L can be calculated from the slope of the line obtained by connecting the digital values D2 and D1 and the slope of the line obtained by connecting the digital values D3 and D4, and the error between the actual measurement value and the set value can be obtained. Similarly, the ratio of the first gain and the second gain can be calculated from the slope of the line obtained by connecting the digital values D3 and D5 and the slope of the line obtained by connecting the digital values D6 and D7, and the error between the actual measurement value and the set value can be obtained. Also, by comparing the digital values D4 and D2, the value of the AD conversion error when AD conversion is performed with the ramp signals VRAMP_L and VRAMP_H for the same correction operation input value V2 can be obtained. Similarly, by comparing the digital values D5 and D7, the value of the AD conversion error when AD conversion is performed with the first gain and the second gain for the same correction operation input value V3 can be obtained. For example, when the set column amplifier gain ratio is 8 and the column amplifier gain ratio obtained by the correction operation is 8.1, the correction process calculates these AD conversion error values so as to adjust the gain by 1.25%. Additionally, if an AD conversion error occurs, an offset is added.In this way, by calculating the calculation correction value from the digital value obtained by the correction operation and applying it to the correction process, it is possible to obtain an AD conversion result with good linearity with respect to the amount of incident light.
[0064] Fig. 8 is a diagram for explaining the correction process of the photoelectric conversion device according to this embodiment, and is a diagram for explaining the operation flow of the correction operation explained in Fig. 7. Note that the readout time of the pixels 101 in one row among the pixels 101 arranged in a matrix is set to 1H.
[0065] 8 shows an example of performing a correction operation by switching the correction operation input value, column amplifier gain, and ramp signal slope using the readout time for eight rows from 1H to 8H. This correction operation is performed, for example, when the ambient environmental conditions such as temperature change, during a calibration period when the power is turned on, and at a specific cycle during photoelectric conversion. In addition, if the photoelectric conversion device has an optical black area, it may be performed when reading out part of the optical black area.
[0066] In this embodiment, after switching the gain of the column amplifier according to the signal output level of the pixel signal output from the pixel, the slope of the ramp signal can be switched according to the signal output level of the column amplifier output signal output from the column amplifier to perform AD conversion. By such an operation, it is possible to optimize the operation of the column amplifier gain and the AD conversion gain.
[0067] A photoelectric conversion device according to a modified example of the first embodiment of the present invention will be described with reference to Fig. 9. Note that the same components as those in the first embodiment are denoted by the same reference numerals, and the description of these components may be omitted or simplified.
[0068] The modification of the first embodiment differs from the first embodiment in that a plurality of selection circuits and decision value memories are arranged. Fig. 9 is an example of a block diagram of a column circuit 104 included in a photoelectric conversion device according to this modification.
[0069] As shown in FIG. 9, the column circuit 104 of this modification has a configuration in which the selection circuit 306 is replaced with selection circuits 307A and 307B, and the decision value memory 305C is replaced with decision value memories 308A and 308B, respectively.
[0070] The gain switching circuit 302 is connected to the output node of the comparator 303 via the judgment value memory 308A and the selection circuit 307A. The gain switching circuit 302 may be connected to the output node of the comparator 303 without the judgment value memory 308A. The ramp signal switching circuit 304 is connected to the output node of the comparator 303 via the judgment value memory 308B and the selection circuit 307B. The ramp signal switching circuit 304 may be connected to the output node of the comparator 303 without the judgment value memory 308B. In this form, it can be said that the gain switching circuit 302 and the ramp signal switching circuit 304 are electrically connected to the comparator 303. An element (e.g., a resistive element, a capacitive element, a logic circuit, etc.) other than the judgment value memory 308A and the selection circuit 307A may be provided in the electrical path between the gain switching circuit 302 and the output node of the comparator 303. In addition, an element (eg, a resistive element, a capacitive element, a logic circuit, etc.) other than the judgment value memory 308B and the selection circuit 307B may be provided in the electrical path between the ramp signal switching circuit 304 and the output node of the comparator 303.
[0071] The judgment value memory 308A holds a result (first J signal) of the comparison between the first voltage value VREF1 and the column amplifier output signal AMPOUT by the comparator 303. The first J signal is also input to the selection circuit 307A, which outputs the first J signal to the gain switching circuit 302. The judgment value memory 308B holds a result (second J signal) of the comparison between the second voltage value VREF2 and the column amplifier output signal AMPOUT by the comparator 303. The first J signal is also input to the selection circuit 307B, which outputs the second J signal to the ramp signal switching circuit 304.
[0072] In this modified example, after switching the gain of the column amplifier according to the signal output level of the pixel signal output from the pixel, the slope of the ramp signal can be switched according to the signal output level of the column amplifier output signal output from the column amplifier to perform AD conversion. This operation makes it possible to optimize the operation of the column amplifier gain and AD conversion gain.
[0073] In the photoelectric conversion device, the column circuits 104 may be arranged in an array in accordance with the arrangement pitch of the pixels 101, in which case the column circuits 104 are laid out extending in one direction. In this modification, as shown in FIG. 9, by respectively arranging the selection circuits 307A, 307B and the decision value memories 308A, 308B, the arrangement position of each component can be flexibly determined in accordance with the layout arrangement positions of the column amplifier 301 and the comparator 303.
[0074] Second Embodiment A photoelectric conversion device according to a second embodiment of the present invention will be described with reference to Fig. 10. Note that components similar to those in the first embodiment are given the same reference numerals, and descriptions of these components may be omitted or simplified.
[0075] This embodiment differs from the first embodiment in that the gain of the pixel signal PIXOUT is switchable within the pixel 101. Fig. 10 is an example of a circuit diagram of the pixel 101 included in the photoelectric conversion device according to this embodiment.
[0076] 10, a variable capacitance 207 is connected to the FD 203 via a switch SW6. The charge accumulated in the photoelectric conversion unit 201 is converted into a voltage by the capacitance value of the FD 203. Therefore, by turning on the switch SW6 and connecting the variable capacitance 207, a pixel signal PIXOUT based on equation (1) can be output to the vertical output line 102. Here, the charge accumulated in the photoelectric conversion unit 201 is Q, the capacitance value of the FD 203 is Cfd0, and the capacitance value of the variable capacitance 207 is Cfd. Pixel signal PIXOUT=Q / (Cfd0+Cfd) (1)
[0077] The pixel signal PIXOUT can be controlled by controlling the capacitance value Cfd of the variable capacitance 207. That is, in this embodiment, the variable capacitance 207 and the switch SW6 included in the pixel 101 function as a gain setting circuit. Note that a configuration including elements other than the variable capacitance 207 and the switch SW6 may function as a gain setting circuit. The switching of the capacitance value Cfd and the control of the switch SW6 may be configured to be controlled by the selection circuit 306 and the gain switching circuit 302, or a separate selection circuit (not shown) and a control circuit for controlling the switch SW6 may be provided. Note that the control signal line for controlling the switch SW6 is, for example, configured to be arranged in parallel with the vertical output line 102. In this case, the capacitance may be controlled to be switched simultaneously for all rows when reading out one row, or a switch controlled by a control signal PSEL for controlling the selection MOS transistor 205 may be further provided in the pixel 101, and control may be performed row by row.
[0078] In this embodiment, after switching the gain of the column amplifier according to the signal output level of the pixel signal output from the pixel, the slope of the ramp signal can be switched according to the signal output level of the column amplifier output signal output from the column amplifier to perform AD conversion. By such an operation, it is possible to optimize the operation of the column amplifier gain and the AD conversion gain.
[0079] In the first embodiment, the selection circuit 306 controls the gain switching circuit 302 to switch the gain of the column amplifier 301, thereby controlling the column amplifier output signal AMPOUT input to the comparator 303. On the other hand, in the present embodiment, the amplitude of the pixel signal PIXOUT input to the column amplifier 301 is controlled, thereby controlling the column amplifier output signal AMPOUT input to the comparator 303.
[0080] In the configuration of the first embodiment, when the gain of the column amplifier 301 is high, the response time of the column amplifier output signal AMPOUT associated with gain switching may become long. On the other hand, in the present embodiment, by using the switch SW6 and variable capacitance Cfd in the pixel 101 in combination with the column amplifier 301 outside the pixel 101, the response time can be shortened compared to when the column amplifier 301 is used alone and driven at a high gain.
[0081] Note that, since the amplitude of the input signal to the comparator 303 can be controlled even when the column amplifier 301 is not provided, the column amplifier 301 may or may not be provided as in the first embodiment. Furthermore, when the column amplifier 301 is not provided, the noise, area, and power consumption due to the elements constituting the column amplifier 301 can be reduced.
[0082] Third embodiment A photoelectric conversion device according to a third embodiment of the present invention will be described with reference to Fig. 11. Note that components similar to those in the first and second embodiments are denoted by the same reference numerals, and descriptions of these components may be omitted or simplified.
[0083] This embodiment differs from the first and second embodiments in that the gain of the pixel signal PIXOUT can be switched using an attenuation circuit instead of the column amplifier 301. Fig. 11 is an example of a block diagram of a column circuit 104 included in a photoelectric conversion device according to this embodiment.
[0084] As shown in FIG. 11, a comparator input circuit 308 and a capacitance switching circuit 309 are arranged in the column circuit 104. The comparator input circuit 308 includes a capacitance C1, switches SW7 to SW9, and capacitances Ca1 to Ca4. The switches SW7 to SW9 are controlled by the capacitance switching circuit 309. The switch SW5 is controlled by a C0 reset pulse PC0R. One node of the capacitance C1 is connected to the vertical output line 102, and the other node is connected to one node of the capacitances Ca1 to Ca4 via the switches SW7 to SW9. A fixed voltage is applied to the other node of the capacitances Ca1 to Ca4. The comparator input circuit 308 is a gain setting circuit that functions as an attenuation circuit, and controls the pixel signal PIXOUT according to the gain setting result of the capacitance switching circuit 309, and outputs it to the comparator 303. That is, the comparator input circuit 308 can process the pixel signal PIXOUT output from the pixel 101 with a plurality of gains. The gain is determined by the ratio of C1 to the capacitances Ca1 to Ca4 selected by the switches SW7 to SW9. Similar to the operation of the gain switching circuit 302 in the first embodiment to control the column amplifier 301, the capacitance switching circuit 309 controls the comparator input circuit 308 based on the signal output from the selection circuit 306.
[0085] In this embodiment, after switching the gain of the column amplifier according to the signal output level of the pixel signal output from the pixel, the slope of the ramp signal can be switched according to the signal output level of the column amplifier output signal output from the column amplifier to perform AD conversion. By such an operation, it is possible to optimize the operation of the column amplifier gain and the AD conversion gain.
[0086] Furthermore, in this embodiment, by arranging the comparator input circuit 308 instead of the column amplifier 301, it is possible to shorten the response time in cases where the response of the column amplifier 301 is long. Also, by not arranging the column amplifier 301, it is possible to reduce noise, area, and power consumption due to the elements that configure the column amplifier 301.
[0087] Fourth embodiment A photoelectric conversion device according to a fourth embodiment of the present invention will be described with reference to Figures 12 to 14. Note that components similar to those in the first, second and third embodiments are denoted by the same reference numerals, and descriptions of these components may be omitted or simplified.
[0088] This embodiment differs from the first, second and third embodiments in that the pixel 101 has two photoelectric conversion units 210 and a microlens and is configured to be able to detect a phase difference. Fig. 12 is an example of a circuit diagram of the pixel 101 included in the photoelectric conversion device according to this embodiment.
[0089] The pixel 101 of this embodiment includes two photoelectric conversion units 210A and 210B, two transfer MOS transistors 211A and 211B, and one microlens (not shown). Light passing through the microlens is detected by the first photoelectric conversion unit 210A and the second photoelectric conversion unit 210B. With this structure, it is possible to perform focus detection by the phase difference method using the signal obtained from the first photoelectric conversion unit 210A and the signal obtained from the second photoelectric conversion unit 210B. In addition, by adding the signal obtained from the first photoelectric conversion unit 210A and the signal obtained from the second photoelectric conversion unit 210B, signal data forming a captured image can be obtained. Note that the signal obtained from the first photoelectric conversion unit 210A and the signal obtained from the second photoelectric conversion unit 210B may not be added, but only one of them may be used, or each signal may be used separately to obtain signal data forming a captured image.
[0090] FIG. 13 is an example of a drive timing chart of the charge readout operation of the photoelectric conversion device according to the present embodiment. The timing of each drive pulse, the pixel output voltage, the column amplifier output voltage, and the ramp signal are shown in schematic form. The first step is a period from time t507 to time t511 and from time t519 to time t523 during which the gain is set. The second step is a period from time t512 to time t514 and from time t524 to time t526 during which the slope of the ramp signal VRAMP is set. The third step is a period from time t515 to time t517 and from time t527 to time t529 during which AD conversion is performed. The fourth step is a period from time t504 to time t506 during which AD conversion is performed. The operation of resetting (initializing) the comparator 303 is performed at multiple timings, and the first and second steps are performed using the pixel signal output from the first photoelectric conversion unit 210A between two consecutive timings among the multiple timings. In addition to the first and second steps, at least one of the third and fourth steps may be performed using the pixel signal output from the first photoelectric conversion unit 210A between two consecutive timings among the above-mentioned multiple timings. Furthermore, the second step is performed using the pixel signal output from the first photoelectric conversion unit 210A and the second photoelectric conversion unit 210B between two consecutive timings among the above-mentioned multiple timings. In addition to the second step, at least one of the first and third steps may be performed using the pixel signal output from the first photoelectric conversion unit 210A and the second photoelectric conversion unit 210B between two consecutive timings among the above-mentioned multiple timings. The operation of resetting (initializing) the comparator 303 at multiple timings includes, for example, a case where the operation is performed once each in multiple frames. Furthermore, the operation of resetting (initializing) the comparator 303 at multiple timings includes, for example, a case where the operation is performed multiple times within one frame.
[0091] At time t500, the vertical scanning circuit 110 sets the selection pulse PSEL to a high level to select a row of the pixel 101 from which the pixel signal PIXOUT is to be output. The vertical scanning circuit 110 also sets the reset pulse PRES to a high level to reset the voltage of the FD 203. At time t501, the vertical scanning circuit 110 sets the reset pulse PRES to a low level. The pixel signal PIXOUT output when the reset pulse PRES is set to a low level is referred to as the "pixel reference signal." The pixel reference signal is a signal that includes noise components that the pixel 101 has.
[0092] At time t502, the timing generation unit 111 changes the C0 reset pulse PC0R from high level to low level, and releases the reset of the amplifier AMP and input capacitance C0. As a result, a charge based on the voltage of the pixel reference signal when the C0 reset pulse PC0R was set to low level is held in the input capacitance C0, and the column amplifier 301 outputs the column amplifier output signal AMPOUT. At time t503, the timing generation unit 111 sets the comparator reset pulse COMPRES to high level, and then sets it to low level after a predetermined time. The comparator reset pulse COMPRES is used to reset and initialize the comparator 303.
[0093] The gain of the column amplifier 301 is determined by the ratio of the capacitance value of the feedback capacitances Cf1, Cf2, Cf3, and Cf4 connected to the feedback path of the amplifier AMP to the capacitance value of the input capacitance C0. In this embodiment, the capacitance values of Cf1, Cf2, Cf3, and Cf4 are 1 / 8, 1 / 8, 1 / 4, and 1 / 2 times the capacitance value of the input capacitance C0, respectively. The gain when all of the feedback capacitances Cf1, Cf2, Cf3, and Cf4 are used is 1 / (1 / 8+1 / 8+1 / 4+1 / 2)=1. The gain when only the feedback capacitances Cf1 and Cf2 are used is 1 / (1 / 8+1 / 8)=4. The combination of these gains is not limited to the combination of this embodiment. In addition, as a gain switching means, a configuration in which the input capacitance C0 is switched instead of the feedback capacitance Cf may be used. Here, the switches SW3 and SW4 are turned off to use only the feedback capacitances Cf1 and Cf2, and the column amplifier 301 outputs the column amplifier output signal AMPOUT with a gain of four times (first gain).
[0094] During the period from time t504 to time t506, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_L from the initial value depending on time. The ramp signal output circuit 105 can simultaneously output a plurality of ramp signals with different slopes and input them to the column circuit 104. The plurality of ramp signals with different slopes are, for example, a ramp signal VRAMP_L with a small slope, a ramp signal VRAMP_H with a large slope, and a ramp signal VRAMP_J with an even larger slope. The slope of the ramp signal VRAMP_J may be smaller than the slope of the ramp signal VRAMP_H or may be smaller than the slope of the ramp signal VRAMP_L. Here, for example, the ramp signal VRAMP_L is input to the comparator 303 via the ramp signal switching circuit 304. By using the ramp signal VRAMP_L as a reference voltage, the amount of voltage change per time is smaller than when the ramp signal VRAMP_H is used, and therefore AD conversion with high resolution can be performed. During the period from time t504 to time t506, high-resolution AD conversion is performed using the ramp signal VRAMP_L. These drives are realized by sending control signals from the timing generation unit 111 to the ramp signal output circuit 105 and the ramp signal switching circuit 304. The slope of the ramp signal VRAMP_L is set to a first slope, the slope of the ramp signal VRAMP_H is set to a second slope larger than the first slope, and the slope of the ramp signal VRAMP_J is set to a third slope larger than the second slope. That is, during the period from time t504 to time t506, the column amplifier output signal AMPOUT processed with the first gain is compared with the ramp signal VRAMP with the first slope or the second slope. Then, based on the fourth result of the comparison, the column amplifier output signal AMPOUT processed with the first gain, which is an analog signal, is converted into a digital signal.
[0095] At time t504, the voltage change of the ramp signal VRAMP_L starts, and the counter circuit 106 starts counting the clock pulse signal and supplies the count signal CNT to the N memory 305A of each column. At time t505, the voltage of the ramp signal VRAMP_L exceeds the column amplifier output signal AMPOUT, and the signal value of the comparator output COMPOUT output by the comparator 303 changes. The value of the count signal CNT at this time (count value) is held by the N memory 305A. The value of the count signal CNT held by the N memory 305A at this time is the digital value obtained by AD converting the N signal. At time t506, the time-dependent voltage change of the ramp signal VRAMP_L stops, and the state is reset to the state at time t500. The counter circuit 106 stops counting the clock pulse signal, and returns the count signal CNT to the initial value.
[0096] At time t507, the transfer pulse PTXA is set to high level, and at time t508, the transfer pulse PTXA is set to low level. As a result, charges generated by light incident on the first photoelectric conversion unit 210A are transferred to the FD203. The amplification MOS transistor 204 outputs a voltage signal based on the charges transferred to the FD203. This voltage signal is output to the vertical output line 102 via the selection MOS transistor 205. This signal is an image signal A, which is one of the pixel signals PIXOUT. The image signal is an analog signal having a voltage corresponding to the amount of light received by the photoelectric conversion unit 201 in one frame period.
[0097] The column amplifier 301 outputs a column amplifier output signal AMPOUT obtained by inverting and amplifying the voltage difference between the pixel reference signal and the image signal A. The column amplifier output signal AMPOUT at this time is referred to as an "amplified image signal A." The amplified image signal A is input to one input terminal of the comparator 303. The column amplifier 301 may output a column amplifier output signal AMPOUT obtained by inverting and amplifying the image signal A. The amplified image signal A is treated as an S signal in signal processing downstream of the column amplifier 301, just like the column amplifier output signal AMPOUT obtained by inverting and amplifying the image signal A.
[0098] In the period from time t509 to time t511, the ramp signal VRAMP_J is input to the other input terminal of the comparator 303. The ramp signal VRAMP_J is output by the ramp signal output circuit 105 and input to the comparator 303 via the ramp signal switching circuit 304.
[0099] During the period from time t509 to time t510, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_J from the initial value depending on time. At time t510, the voltage change of the ramp signal VRAMP_J is stopped. The voltage of the ramp signal VRAMP_J at time t510 becomes a first voltage value VREF1. This first voltage value VREF1 is used as a threshold value for determining whether or not the column amplifier output signal AMPOUT exceeds the input range of the AD conversion.
[0100] In the period from time t510 to time t511, the comparator 303 compares the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain. When the voltage of the column amplifier output signal AMPOUT is lower than the first voltage value VREF1, the comparator output COMPOUT (first J signal) changes from low level to high level (=1). The comparator output COMPOUT based on the first result of comparing the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the gain switching circuit 302, and the gain switching circuit 302 inputs the gain switching signal to the column amplifier 301. When the voltage of the column amplifier output signal AMPOUT processed with the first gain is lower than the first voltage value VREF1, the switches SW1 to SW4 do not change and the gain is maintained at 4 times (first gain). That is, in the first step, a first gain (4 times) is set based on the first result.
[0101] When the voltage of the column amplifier output signal AMPOUT is higher than the first voltage value VREF1, the comparator output COMPOUT (first J signal) becomes a low level (=0). The comparator output COMPOUT based on the first result of comparing the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the gain switching circuit 302, and the gain switching circuit 302 inputs the gain switching signal to the column amplifier 301. When the voltage of the column amplifier output signal AMPOUT processed with the first gain is higher than the first voltage value VREF1, the switches SW3 and SW4 are turned on, and the gain is set to 1x (a second gain different from the first gain). That is, in the first step, the setting of the first gain (4x) is switched based on the first result, and the second gain (1x) is set.
[0102] In the period from time t510 to time t511, the value of the comparator output COMPOUT (first judgment value J1) is input to the selection circuit 306. The first judgment value J1 is also held in the judgment value memory 305C. In the case of FIG. 13, since the column amplifier output signal AMPOUT is larger than VREF1, this is an example in which the gain is switched from 4 times to 1 time. At time t511, the determination of whether the gain of the column amplifier 301 should be 1 time or 4 times for the S signal AD conversion period is completed, and the voltage of the ramp signal VRAMP_J is reset.
[0103] During the period from time t512 to time t513, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_J from the initial value depending on time. At time t513, the voltage change of the ramp signal VRAMP_J is stopped. The voltage of the ramp signal VRAMP_J at time t513 becomes a second voltage value VREF2. This second voltage value VREF2 is used as a threshold value for determining whether the ramp signal VRAMP_L or VRAMP_H is to be selected as the ramp signal for AD converting the column amplifier output signal AMPOUT.
[0104] During the period from time t513 to time t514, the comparator 303 compares the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the first gain or the second gain set in the first step. In the present embodiment shown in FIG. 13, the column amplifier output signal AMPOUT is processed with the second gain based on the first result of the first step. When the voltage of the column amplifier output signal AMPOUT is lower than the second voltage value VREF2, the comparator output COMPOUT (second J signal) changes from low level to high level (=1). The comparator output COMPOUT based on the second result of comparing the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the second gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the ramp signal switching circuit 304, and the ramp signal switching circuit 304 selects the ramp signal VRAMP_L and inputs it to the comparator 303. When the voltage of the column amplifier output signal AMPOUT processed with the second gain is lower than the second voltage value VREF2, the ramp signal VRAMP_L having a smaller slope is used for AD conversion. That is, in the second step, the first slope (high AD conversion gain) having a smaller slope than the second slope (low AD conversion gain) is set based on the second result.
[0105] When the voltage of the column amplifier output signal AMPOUT is higher than the second voltage value VREF2, the comparator output COMPOUT (second J signal) becomes a low level (=0). The comparator output COMPOUT based on the second result of comparing the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the second gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the ramp signal switching circuit 304, which selects the ramp signal VRAMP_H and inputs it to the comparator 303. When the voltage of the column amplifier output signal AMPOUT processed with the second gain is higher than the second voltage value VREF2, the ramp signal VRAMP_H having a larger slope than the ramp signal VRAMP_L is used for AD conversion. That is, in the second step, a second slope (low AD conversion gain) having a larger slope than the first slope (high AD conversion gain) is set based on the second result.
[0106] The above driving method enables AD conversion at an appropriate resolution according to the signal output level of the column amplifier output signal AMPOUT processed with the second gain without exceeding the AD conversion input range, which means that it is possible to improve both the resolution and the frame rate.
[0107] In the period from time t513 to time t514, the value of the comparator output COMPOUT (second judgment value J2) is input to the selection circuit 306. The second judgment value J2 is also held in the judgment value memory 305C. At time t514, the determination of which of the ramp signals VRAMP_H and VRAMP_L is to be used during the S signal AD conversion period is completed, and the voltage of the ramp signal VRAMP_J is reset.
[0108] During the period from time t515 to time t517, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_L or the ramp signal VRAMP_H from the initial value depending on time. Then, the column amplifier output signal AMPOUT processed with the first gain or the second gain is compared with the ramp signal VRAMP having the first slope or the second slope. Furthermore, based on the third result of the comparison, the column amplifier output signal AMPOUT processed with the first gain or the second gain, which is an analog signal, is converted into a digital signal. Which of the ramp signals VRAMP_L or VRAMP_H each column circuit 104 inputs to the comparator 303 is determined according to the value of the comparator output COMPOUT between time t513 and time t514. In the case of FIG. 13, since the column amplifier output signal AMPOUT during the period from time t513 to time t514 is larger than the second voltage value VREF2, the ramp signal VRAMP_H having the second slope with a larger slope is selected.
[0109] At time t515, the voltage change of the ramp signal VRAMP_H starts, and the counter circuit 106 starts counting the clock pulse signals and supplies the count signal CNT to the S memory 305B of each column.
[0110] At time t516, the voltage of the ramp signal VRAMP_H exceeds the column amplifier output signal AMPOUT, and the signal value of the comparator output COMPOUT changes. The value of the count signal CNT at this time (count value) is held by the S memory 305B. The value of the count signal CNT held by the S memory 305B at this time is the digital value obtained by AD converting the S signal.
[0111] At time t517, the time-dependent voltage change of the ramp signal VRAMP_L or the ramp signal VRAMP_H is stopped and reset to the state at time t500. The counter circuit 106 stops counting the clock pulse signal and returns the count signal CNT to the initial value.
[0112] Here, each memory is composed of a write memory connected to the output terminal of the comparator 303, and a read memory connected to the input terminal of the signal processing circuit 109. Each digital signal written to the write memory is transferred to the read memory and held therein.
[0113] After time t518, the horizontal scanning circuit 107 sequentially operates the column circuits 104, and the signals held in the N memory 305A, S memory 305B, and judgment value memory 305C are sent to the signal processing circuit 109 via the horizontal output line 108. Then, after arithmetic processing, the signals are output to the outside of the photoelectric conversion device. Meanwhile, the write memory is in a state in which the next AD conversion result can be written. This allows each memory to perform write and read operations in parallel.
[0114] In the signal processing circuit 109, a differential signal level (light component) is calculated by subtracting the digitized N signal from the digitized S signal. Note that, before the calculation of the S signal-N signal, a correction process is performed on the AD conversion result by the ramp signal selected at the time of AD conversion of the S signal. The signal processed here is called a digital signal A. Here, the correction process on the AD conversion result will be described. For example, if the slope of the ramp signal VRAMP_H is four times that of the ramp signal VRAMP_L, the signal amplitude corresponding to one count of the count signal CNT is four times that of the ramp signal VRAMP_H. Therefore, in order to match the digital output with respect to the voltage level of the signal, a process is performed in which the count value AD converted by the ramp signal VRAMP_H is multiplied by four by the digital gain. Whether or not the S signal input to the signal processing circuit 109 needs correction process can be determined by the second judgment value J2 held in the judgment value memory 305C. If the second judgment value J2=0, the ramp signal VRAMP_H is selected, so a process is performed in which the S signal is multiplied by four. On the other hand, if the second determination value J2=1, the ramp signal VRAMP_L is selected, and therefore the process of multiplying the S signal by 4 is not performed. These processes are referred to as a first correction process.
[0115] Next, at time t519, the transfer pulses PTXA and PTXB are set to high level, and at time t520, the transfer pulses PTXA and PTXB are set to low level. As a result, the charges generated by the light incident on the first photoelectric conversion unit 210A and the second photoelectric conversion unit 210B are transferred to the FD203 and added up. The amplification MOS transistor 204 outputs a voltage signal based on the charges transferred to the FD203. This voltage signal is output to the vertical output line 102 via the selection MOS transistor 205. This signal is the image signal A+B, which is one of the pixel signals PIXOUT. The image signal A+B is an analog signal having a voltage according to the amount of light received by the first photoelectric conversion unit 210A and the second photoelectric conversion unit 210B in one frame period.
[0116] The column amplifier 301 outputs a column amplifier output signal AMPOUT obtained by inverting and amplifying the voltage difference between the pixel reference signal and the image signal A+B. The column amplifier output signal AMPOUT at this time is referred to as an "amplified image signal A+B." The amplified image signal A+B is input to one input terminal of the comparator 303. The column amplifier 301 may output a column amplifier output signal AMPOUT obtained by inverting and amplifying the image signal A+B. The amplified image signal A+B is treated as an S signal in signal processing downstream of the column amplifier 301, just like the column amplifier output signal AMPOUT obtained by inverting and amplifying the image signal A+B.
[0117] In the period from time t521 to time t523, the ramp signal VRAMP_J is input to the other input terminal of the comparator 303. The ramp signal VRAMP_J is output by the ramp signal output circuit 105 and input to the comparator 303 via the ramp signal switching circuit 304.
[0118] During the period from time t521 to time t522, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_J from the initial value depending on time. At time t522, the voltage change of the ramp signal VRAMP_J is stopped. The voltage of the ramp signal VRAMP_J at time t522 becomes a first voltage value VREF1. This first voltage value VREF1 is used as a threshold value for determining whether or not the column amplifier output signal AMPOUT exceeds the input range of the AD conversion.
[0119] In the period from time t522 to time t523, the comparator 303 compares the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain. When the voltage of the column amplifier output signal AMPOUT is lower than the first voltage value VREF1, the comparator output COMPOUT (first J signal) changes from low level to high level (=1). The comparator output COMPOUT based on the first result of comparing the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the gain switching circuit 302, and the gain switching circuit 302 inputs the gain switching signal to the column amplifier 301. When the voltage of the column amplifier output signal AMPOUT processed with the first gain is lower than the first voltage value VREF1, the switches SW1 to SW4 do not change and the gain is maintained at 4 times (first gain). That is, in the first step, a first gain (4 times) is set based on the first result.
[0120] When the voltage of the column amplifier output signal AMPOUT is higher than the first voltage value VREF1, the comparator output COMPOUT (first J signal) becomes a low level (=0). The comparator output COMPOUT based on the first result of comparing the first voltage value VREF1 with the column amplifier output signal AMPOUT processed with the first gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the gain switching circuit 302, and the gain switching circuit 302 inputs the gain switching signal to the column amplifier 301. When the voltage of the column amplifier output signal AMPOUT processed with the first gain is higher than the first voltage value VREF1, the switches SW3 and SW4 are turned on, and the gain is set to 1x (a second gain different from the first gain). That is, in the first step, the setting of the first gain (4x) is switched based on the first result, and the second gain (1x) is set.
[0121] In the period from time t522 to time t523, the value of the comparator output COMPOUT (first judgment value J1) is input to the selection circuit 306. The first judgment value J1 is also held in the judgment value memory 305C. In the case of FIG. 13, in the first step using the amplified image signal A in the period from time t507 to time t511, the gain is switched from 4 times to 1 time, and the gain is set as 1 time. In this case, since the signal level of the amplified image signal A+B is higher than that of the amplified image signal A, the gain remains 1 time and is not switched. Note that although the comparator output COMPOUT outputs a high level, the correction process in the signal processing circuit 109 does not malfunction by configuring the judgment value memory 305C to hold the first result in the first step of the amplified image signal A. At time t523, the judgment of whether the gain of the column amplifier 301 is to be used in the S signal AD conversion period, 1 time or 4 times, is completed, and the voltage of the ramp signal VRAMP_J is reset.
[0122] During the period from time t524 to time t525, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_J from the initial value depending on time. At time t525, the voltage change of the ramp signal VRAMP_J is stopped. The voltage of the ramp signal VRAMP_J at time t525 becomes a second voltage value VREF2. This second voltage value VREF2 is used as a threshold value for determining whether the ramp signal VRAMP_L or VRAMP_H is to be selected as the ramp signal for AD converting the column amplifier output signal AMPOUT.
[0123] During the period from time t525 to time t526, the comparator 303 compares the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the first gain or the second gain set in the first step. In the present embodiment shown in FIG. 13, the column amplifier output signal AMPOUT is processed with the second gain based on the first result of the first step. When the voltage of the column amplifier output signal AMPOUT is lower than the second voltage value VREF2, the comparator output COMPOUT (second J signal) changes from low level to high level (=1). The comparator output COMPOUT based on the second result of comparing the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the second gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the ramp signal switching circuit 304, and the ramp signal switching circuit 304 selects the ramp signal VRAMP_L and inputs it to the comparator 303. When the voltage of the column amplifier output signal AMPOUT processed with the second gain is lower than the second voltage value VREF2, the ramp signal VRAMP_L having a smaller slope is used for AD conversion. That is, in the second step, the first slope (high AD conversion gain) having a smaller slope than the second slope (low AD conversion gain) is set based on the second result.
[0124] When the voltage of the column amplifier output signal AMPOUT is higher than the second voltage value VREF2, the comparator output COMPOUT (second J signal) becomes a low level (=0). The comparator output COMPOUT based on the second result of comparing the second voltage value VREF2 with the column amplifier output signal AMPOUT processed with the second gain is input to the selection circuit 306. Then, the selection circuit 306 outputs a switching signal to the ramp signal switching circuit 304, which selects the ramp signal VRAMP_H and inputs it to the comparator 303. When the voltage of the column amplifier output signal AMPOUT processed with the second gain is higher than the second voltage value VREF2, the ramp signal VRAMP_H having a larger slope than the ramp signal VRAMP_L is used for AD conversion. That is, in the second step, a second slope (low AD conversion gain) having a larger slope than the first slope (high AD conversion gain) is set based on the second result.
[0125] The above driving method enables AD conversion at an appropriate resolution according to the signal output level of the column amplifier output signal AMPOUT processed with the second gain without exceeding the AD conversion input range, which means that it is possible to improve both the resolution and the frame rate.
[0126] In the period from time t525 to time t526, the value of the comparator output COMPOUT (second judgment value J2) is input to the selection circuit 306. The second judgment value J2 is also held in the judgment value memory 305C. At time t526, the determination of which of the ramp signals VRAMP_H and VRAMP_L is to be used in the S signal AD conversion period is completed, and the voltage of the ramp signal VRAMP_J is reset.
[0127] During the period from time t527 to time t529, the ramp signal output circuit 105 increases the voltage of the ramp signal VRAMP_L or the ramp signal VRAMP_H from the initial value depending on time. Then, the column amplifier output signal AMPOUT processed with the first gain or the second gain is compared with the ramp signal VRAMP having the first slope or the second slope. Furthermore, based on the third comparison result, the column amplifier output signal AMPOUT processed with the first gain or the second gain, which is an analog signal, is converted into a digital signal. Which of the ramp signals VRAMP_L and VRAMP_H each column circuit 104 inputs to the comparator 303 is determined according to the value of the comparator output COMPOUT during the period from time t525 to time t526. In the case of FIG. 13, since the column amplifier output signal AMPOUT during the period from time t525 to time t526 is larger than the second voltage value VREF2, the ramp signal VRAMP_H having the second slope with a larger slope is selected.
[0128] At time t527, the voltage change of the ramp signal VRAMP_H starts, and the counter circuit 106 starts counting the clock pulse signals, and supplies the count signal CNT to the S memory 305B of each column.
[0129] At time t528, the voltage of the ramp signal VRAMP_H exceeds the column amplifier output signal AMPOUT, and the signal value of the comparator output COMPOUT changes. The value of the count signal CNT at this time (count value) is held by the S memory 305B. The value of the count signal CNT held by the S memory 305B at this time is the digital value obtained by AD converting the S signal.
[0130] At time t529, the time-dependent voltage change of the ramp signal VRAMP_L or the ramp signal VRAMP_H is stopped and reset to the state at time t500. The counter circuit 106 stops counting the clock pulse signal and returns the count signal CNT to the initial value.
[0131] After time t530, the horizontal scanning circuit 107 sequentially operates the column circuits 104, so that the signals held in the N memory 305A, the S memory 305B, and the judgment value memory 305C are sent to the signal processing circuit 109 via the horizontal output line 108. Then, after arithmetic processing is performed, the signals are output to the outside of the photoelectric conversion device.
[0132] After time t530, each signal held in the write memory is transferred to the read memory and held therein. By sequentially operating the column circuits 104 by the horizontal scanning circuit 107, the signals held in the read memories of the N memory 305A, the S memory 305B, and the judgment value memory 305C are sent to the signal processing circuit 109 via the horizontal output line 108. Then, after arithmetic processing is performed, the signals are output to the outside of the photoelectric conversion device.
[0133] The signal processing circuit 109 calculates a differential signal level (light component) by subtracting the digitized N signal from the digitized S signal. Before the S signal-N signal calculation, a correction process is performed on the AD conversion result in the same way as for digital signal A, using a ramp signal selected during AD conversion of the S signal. The signal processed here is called digital signal A+B.
[0134] Of the digital signal A and digital signal A+B outputted outside the photoelectric conversion device, digital signal A+B is used as an imaging signal, and the phase difference can be detected from the output difference between digital signal B, obtained by subtracting digital signal A from digital signal A+B, and digital signal A.
[0135] FIG. 14 is a diagram illustrating a flowchart of signal processing in the photoelectric conversion device according to the present embodiment.
[0136] In the "pixel" described in FIG. 14, the timing of the transfer operation of the first photoelectric conversion unit 210A is shown as "▼ Transfer A", and the timing of the transfer operations of the first photoelectric conversion unit 210A and the second photoelectric conversion unit 210B is shown as "▼ Transfer A+B". Note that the column amplifier output signal AMPOUT is divided into AMPOUT_A corresponding to Transfer A and AMPOUT_A+B corresponding to Transfer A+B. Also, the determination period corresponding to Transfer A is defined as determination period A, and the determination period corresponding to Transfer A+B is defined as determination period A+B. The "AD conversion" described in FIG. 14 indicates the periods of AD conversion of the N signal, determination (setting of the gain of the column amplifier and the slope of the ramp signal), and AD conversion of the S signal, respectively. During the determination period, the comparator 303 stores the determination values J (the first determination value J1 and the second determination value J2) based on the comparison result between the column amplifier output signal AMPOUT and the ramp signal VRAMP_J in the determination value memory 305C. Also, during the determination period, signals are output from the selection circuit 306 to the gain switching circuit 302 and the ramp signal switching circuit 304 to control the gain switching of the column amplifier 301 and the switching of the ramp signal VRAMP. In the "gain of the column amplifier" described in FIG. 14, for example, as described with reference to FIG. 13, the first gain is 4 times and the second gain is 1 time. After Transfer A, during the determination period, the column amplifier output signal AMPOUT_A is compared with the first voltage value VREF1. If AMPOUT_A < VREF1, the setting of the first gain of the column amplifier 301 is maintained. On the other hand, if AMPOUT_A > VREF1, a second gain different from the first gain is set for the column amplifier 301. The "slope of the ramp signal" described in FIG. 14 is the slope of the ramp signal VRAMP input to the comparator 303. During the AD conversion of the N signal, for example, the ramp signal VRAMP_L is input to the comparator 303. During the determination period, after a signal is output from the selection circuit 306 to switch the gain of the column amplifier 301 in the gain switching circuit 302, the column amplifier output signal AMPOUT_A is compared with the second voltage value VREF2 in the comparator 303. If the comparison result here is AMPOUT_A < VREF2, the ramp signal VRAMP_L is selected and the S signal is AD converted. On the other hand, if the comparison result here is AMPOUT_A > VREF2, the ramp signal VRAMP_H is selected and the S signal is AD converted.That is, for the first gain, one of the ramp signals VRAMP_L and VRAMPH is selected, and for the second gain, one of the ramp signals VRAMP_L and VRAMPH is selected. Therefore, in this embodiment, there are four combinations of the gain of the column amplifier 301 and the slope of the ramp signal VRAMP. Note that the combinations of the gain of the column amplifier 301 and the slope of the ramp signal VRAMP are not limited to four, and the number of combinations varies depending on the number of gain settings of the column amplifier 301 and the number of slope settings of the ramp signal VRAMP.
[0137] Next, after the transfer A+B, the same operation as in the case of the transfer A is performed on the column amplifier output signal AMPOUT_A+B. Here, for example, if the column amplifier output signal AMPOUT_A is greater than the first voltage value VREF1, the gain of the column amplifier 301 is set to the second gain. However, after the transfer A+B, the relationship AMPOUT_A≦AMPOUT_A+B is always established. Therefore, if the second gain is set in the first step after the transfer A, the gain of the column amplifier 301 will not be switched from the second gain to the first gain in the first step after the transfer A+B. Therefore, during the determination period A+B, the comparison operation between the column amplifier output signal AMPOUT_A+B and the first voltage value VREF1 may be omitted to reduce the operating power.
[0138] In this embodiment, even if the pixel is configured to detect a phase difference, the same effect as in the first embodiment can be obtained. That is, the influence of noise generated in the comparator 303 is relatively reduced, and a signal with a high dynamic range with an improved S / N ratio can be obtained. In addition, by selecting appropriate ramp signals VRAMP_H and VRAMP_L and performing AD conversion after setting the gain of the column amplifier 301, AD conversion can be performed with high resolution and at high speed. For example, at low luminance, a pixel signal PIXOUT is amplified, and a signal with good noise characteristics can be obtained at high resolution by AD conversion using a ramp signal with a small slope. At high luminance, a signal with an expanded dynamic range can be obtained at high speed by AD conversion using a ramp signal with a large slope by lowering the amplification factor of the pixel signal PIXOUT.
[0139] In this embodiment, the gain of the column amplifier is switched according to the signal output level of the pixel signal output from the pixel, and then the slope of the ramp signal is switched according to the signal output level of the column amplifier output signal output from the column amplifier to perform AD conversion. This operation makes it possible to optimize the gain of the column amplifier and the operation of the AD conversion gain. Note that this embodiment can also be applied to a pixel configuration in which the FD 203 is not shared between multiple photoelectric conversion units.
[0140] Fifth embodiment The fifth embodiment is applicable to any of the first to fourth embodiments. FIG. 15(a) is a schematic diagram for explaining an apparatus 9191 including a semiconductor device 930 of this embodiment. The photoelectric conversion device of each of the above-mentioned embodiments can be used for the semiconductor device 930. The apparatus 9191 including the semiconductor device 930 will be explained in detail. The semiconductor device 930 can include a package 920 that houses the semiconductor device 910 in addition to the semiconductor device 910. The package 920 can include a base to which the semiconductor device 910 is fixed, and a cover such as glass that faces the semiconductor device 910. The package 920 can further include a bonding member such as a bonding wire or a bump that connects a terminal provided on the base and a terminal provided on the semiconductor device 910.
[0141] The device 9191 can include at least one of an optical device 940, a control device 950, a processing device 960, a display device 970, a storage device 980, and a mechanical device 990. The optical device 940 corresponds to the semiconductor device 930. The optical device 940 is, for example, a lens, a shutter, or a mirror, and includes an optical system that guides light to the semiconductor device 930. The control device 950 controls the semiconductor device 930. The control device 950 is, for example, a semiconductor device such as an ASIC.
[0142] The processing device 960 processes the signal output from the semiconductor device 930. The processing device 960 is a semiconductor device such as a CPU or ASIC for configuring an AFE (analog front end) or a DFE (digital front end). The display device 970 is an EL display device or a liquid crystal display device that displays information (images) obtained by the semiconductor device 930. The storage device 980 is a magnetic device or a semiconductor device that stores information (images) obtained by the semiconductor device 930. The storage device 980 is a volatile memory such as an SRAM or a DRAM, or a non-volatile memory such as a flash memory or a hard disk drive.
[0143] The mechanical device 990 has a moving part or a propulsion part such as a motor or an engine. In the device 9191, the signal output from the semiconductor device 930 is displayed on the display device 970, or transmitted to the outside by a communication device (not shown) included in the device 9191. For this purpose, the device 9191 preferably further includes a memory device 980 and a processing device 960 in addition to the memory circuit and arithmetic circuit included in the semiconductor device 930. The mechanical device 990 may be controlled based on the signal output from the semiconductor device 930.
[0144] The device 9191 is also suitable for electronic devices such as information terminals (e.g., smartphones and wearable devices) with a photographing function and cameras (e.g., interchangeable lens cameras, compact cameras, video cameras, and surveillance cameras). The mechanical device 990 in the camera can drive components of the optical device 940 for zooming, focusing, and shutter operation. Alternatively, the mechanical device 990 in the camera can move the semiconductor device 930 for vibration isolation operation.
[0145] The device 9191 may be transportation equipment such as a vehicle, a ship, or an aircraft. The mechanical device 990 in the transportation equipment may be used as a moving device. The device 9191 as a transportation equipment is suitable for transporting the semiconductor device 930 or for assisting and / or automating driving (piloting) by using a photographing function. The processing device 960 for assisting and / or automating driving (piloting) can perform processing for operating the mechanical device 990 as a moving device based on information obtained by the semiconductor device 930. Alternatively, the device 9191 may be a medical device such as an endoscope, a measuring device such as a distance measuring sensor, an analytical device such as an electron microscope, an office machine such as a copier, or an industrial device such as a robot.
[0146] According to the above-described embodiment, it is possible to obtain good pixel characteristics. Therefore, the value of the semiconductor device can be increased. In this case, increasing the value corresponds to at least one of adding functions, improving performance, improving characteristics, improving reliability, improving manufacturing yield, reducing environmental load, reducing costs, reducing size, and reducing weight.
[0147] Therefore, if the semiconductor device 930 according to this embodiment is used in the equipment 9191, the value of the equipment can be improved. For example, by mounting the semiconductor device 930 on a transport equipment, excellent performance can be obtained when photographing the outside of the transport equipment or measuring the external environment. Therefore, in manufacturing and selling the transport equipment, it is advantageous to decide to mount the semiconductor device according to this embodiment on the transport equipment in order to improve the performance of the transport equipment itself. In particular, the semiconductor device 930 is suitable for transport equipment that performs driving assistance and / or automatic driving of the transport equipment using information obtained by the semiconductor device.
[0148] The photoelectric conversion system and the moving object of this embodiment will be described with reference to FIGS.
[0149] FIG. 15(b) shows an example of a photoelectric conversion system related to an in-vehicle camera. The photoelectric conversion system 8 has a photoelectric conversion device 80. The photoelectric conversion device 80 is a photoelectric conversion device (imaging device) described in any of the above embodiments. The photoelectric conversion system 8 has an image processing unit 801 that performs image processing on a plurality of image data acquired by the photoelectric conversion device 80, and a parallax acquisition unit 802 that calculates parallax (phase difference of parallax images) from the plurality of image data acquired by the photoelectric conversion system 8. The photoelectric conversion system 8 also has a distance acquisition unit 803 that calculates a distance to an object based on the calculated parallax, and a collision determination unit 804 that determines whether or not there is a possibility of collision based on the calculated distance. Here, the parallax acquisition unit 802 and the distance acquisition unit 803 are examples of distance information acquisition means that acquire distance information to the object. That is, the distance information is information related to the parallax, the defocus amount, the distance to the object, and the like. The collision determination unit 804 may determine the possibility of collision using any of these distance information. The distance information acquisition means may be realized by dedicated hardware, a software module, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a combination of these.
[0150] The photoelectric conversion system 8 is connected to a vehicle information acquisition device 810, and can acquire vehicle information such as vehicle speed, yaw rate, and steering angle. The photoelectric conversion system 8 is also connected to a control ECU 820, which is a control device that outputs a control signal to generate a braking force for the vehicle based on the judgment result of the collision judgment unit 804. The photoelectric conversion system 8 is also connected to an alarm device 830 that issues an alarm to the driver based on the judgment result of the collision judgment unit 804. For example, when the judgment result of the collision judgment unit 804 indicates that there is a high possibility of a collision, the control ECU 820 performs vehicle control to avoid a collision and reduce damage by applying the brakes, releasing the accelerator, suppressing engine output, etc. The alarm device 830 warns the user by sounding an alarm, displaying alarm information on the screen of a car navigation system, etc., and vibrating the seat belt or steering wheel.
[0151] In this embodiment, the surroundings of the vehicle, for example the front or rear, are imaged by the photoelectric conversion system 8. Fig. 15(c) shows the photoelectric conversion system when imaging the area in front of the vehicle (imaging range 850). A vehicle information acquisition device 810 sends an instruction to the photoelectric conversion system 8 or the photoelectric conversion device 80. This configuration can further improve the accuracy of distance measurement.
[0152] Although the above describes an example of control to prevent collision with other vehicles, the present invention can also be applied to control of automatic driving by following other vehicles, control of automatic driving to prevent deviation from lanes, etc. Furthermore, the photoelectric conversion system is not limited to vehicles such as the vehicle itself, but can be applied to moving bodies (moving devices) such as ships, aircraft, and industrial robots. In addition, the present invention can be applied not only to moving bodies, but also to a wide range of devices that use object recognition, such as intelligent transport systems (ITS).
[0153] The above-described embodiments can be modified as appropriate without departing from the technical concept. The disclosure of this specification includes not only what is described in this specification, but also all matters that can be understood from this specification and the drawings attached hereto. The disclosure of this specification also includes the complement of the concepts described in this specification. In other words, if this specification contains a statement that "A is greater than B," for example, this specification can be said to disclose that "A is not greater than B" even if the statement that "A is not greater than B" is omitted. This is because when it is stated that "A is greater than B," it is assumed that the case in which "A is not greater than B" is taken into consideration.
[0154] The disclosure of this embodiment includes the following configuration.
[0155] (Method 1) A method for driving a photoelectric conversion device including a pixel that generates a pixel signal by photoelectric conversion, a gain setting circuit capable of processing the pixel signal output from the pixel at a plurality of gains, and a comparator that compares the signal output from the gain setting circuit with a ramp signal, the method comprising the steps of: performing a first step of setting the gain to the first gain or a second gain different from the first gain based on a first result of comparing the signal processed with a first gain with a first voltage value by the comparator; and performing a second step of setting a slope of the ramp signal based on a second result of comparing the signal processed with the first gain or the second gain set in the first step with a second voltage value by the comparator.
[0156] (Method 2) A method for driving a photoelectric conversion device according to Method 1, characterized in that in the second step, the ramp signal is set to a first slope or a second slope different from the first slope.
[0157] (Method 3) A method for driving a photoelectric conversion device described in Method 1 or 2, characterized in that after performing the second step, a third step is performed in which the signal processed with the first gain or the second gain, which is an analog signal, is converted into a digital signal based on a third result of comparing the signal processed with the first gain or the second gain with the ramp signal of the first slope or the second slope.
[0158] (Method 4) A method for driving a photoelectric conversion device described in any one of Methods 1 to 3, characterized in that before performing the first step, a fourth step is performed in which the signal processed with the first gain, which is an analog signal, is converted into a digital signal based on a fourth result of comparing the signal processed with the first gain with the ramp signal of the first slope or the second slope.
[0159] (Method 5) The method for driving a photoelectric conversion device according to any one of Methods 1 to 4, wherein the first gain is greater than the second gain.
[0160] (Method 6) A method for driving a photoelectric conversion device described in any one of Methods 1 to 5, characterized in that in the first step, the setting of the first gain is maintained and the first gain is set based on the first result.
[0161] (Method 7) A method for driving a photoelectric conversion device described in any one of Methods 1 to 6, characterized in that the operation of transferring charges from the photoelectric conversion unit of the pixel is performed at multiple timings, and the first step and the second step are each performed between two consecutive timings among the multiple timings.
[0162] (Method 8) A method for driving a photoelectric conversion device described in any one of Methods 1 to 7, characterized in that the operation of transferring charges from the photoelectric conversion unit of the pixel is performed at multiple timings, and the first step, the second step, and the third step are each performed between two consecutive timings among the multiple timings.
[0163] (Method 9) The method for driving a photoelectric conversion device according to any one of Methods 1 to 8, wherein the first voltage value is greater than the second voltage value.
[0164] (Method 10) A method for driving a photoelectric conversion device described in any one of Methods 1 to 9, characterized in that the first voltage value is set corresponding to a maximum input range in the analog-to-digital (AD) conversion performed by the comparator, and the second voltage value is set corresponding to the first slope and the second slope.
[0165] (Method 11) A method for driving a photoelectric conversion device described in any one of Methods 1 to 10, characterized in that the digital signal is corrected using a ratio between the first gain and the second gain and a ratio between the first slope and the second slope.
[0166] (Method 12) A method for driving a photoelectric conversion device described in any one of Methods 1 to 11, further comprising a ramp signal output circuit that outputs the ramp signal, the ramp signal output circuit outputting the first voltage value and the second voltage value.
[0167] (Method 13) A method for driving a photoelectric conversion device described in any one of Methods 1 to 12, characterized in that a plurality of the pixels are arranged in a matrix, and a column circuit provided corresponding to a column has a memory for storing a comparison result of the comparator, a gain switching circuit for switching the gain of the gain setting circuit, a ramp signal switching circuit for switching the slope of the ramp signal, and a selection circuit for controlling the gain switching circuit and the ramp signal switching circuit.
[0168] (Method 14) A method for driving a photoelectric conversion device described in any one of Methods 1 to 13, characterized in that a plurality of the selection circuits are arranged, one of the plurality of selection circuits outputs a signal to the gain switching circuit, and another of the plurality of selection circuits outputs a signal to the ramp signal switching circuit.
[0169] (Method 15) The method for driving a photoelectric conversion device according to any one of Methods 1 to 14, wherein the pixel includes the gain setting circuit.
[0170] (Method 16) The method for driving a photoelectric conversion device according to any one of Methods 1 to 15, wherein the gain setting circuit is an amplifier circuit or an attenuation circuit.
[0171] (Method 17) A method for driving a photoelectric conversion device described in any one of Methods 1 to 16, characterized in that the pixel includes a microlens, a first photoelectric conversion unit, and a second photoelectric conversion unit, the first step and the second step are performed using the pixel signal output from the first photoelectric conversion unit, and the second step is performed using the pixel signal output from the second photoelectric conversion unit, thereby performing phase difference detection.
[0172] (Method 18) A method for driving a photoelectric conversion device described in any one of Methods 1 to 17, characterized in that the operation of resetting the comparator is performed at multiple timings, and between two consecutive timings among the multiple timings, the first step and the second step are performed using the pixel signal output from the first photoelectric conversion unit, and the second step is performed using the pixel signals output from the first photoelectric conversion unit and the second photoelectric conversion unit.
[0173] (Configuration 1) A photoelectric conversion device comprising: a pixel that generates a pixel signal by photoelectric conversion; a gain setting circuit capable of processing the pixel signal output from the pixel at a plurality of gains; and a comparator that compares the signal output from the gain setting circuit with a ramp signal, wherein the photoelectric conversion device further comprises: a gain switching circuit that sets the gain to the first gain or a second gain different from the first gain based on a first result of comparing the signal processed with a first gain with a first voltage value by the comparator; and a ramp signal switching circuit that sets a slope of the ramp signal based on a second result of comparing the signal processed with the first gain or the second gain set by the gain switching circuit with a second voltage value by the comparator.
[0174] (Configuration 2) An apparatus including the photoelectric conversion device according to configuration 1, further including at least one of an optical device that guides light to the photoelectric conversion device, a control device that controls the photoelectric conversion device, a processing device that processes a signal output from the photoelectric conversion device, a display device that displays information obtained by the photoelectric conversion device, a memory device that stores information obtained by the photoelectric conversion device, and a mechanical device that operates based on the information obtained by the photoelectric conversion device. [Explanation of symbols]
[0175] 101 pixels 301 Column Amplifier 303 Comparator VRAMP Ramp signal VREF1 First voltage value VREF2 Second voltage value
Claims
1. A pixel that generates a pixel signal by photoelectric conversion; a gain setting circuit capable of processing the pixel signal output from the pixel at a plurality of gains; a comparator that compares the signal output from the gain setting circuit with a ramp signal; A method for driving a photoelectric conversion device comprising: a first step of setting the gain to the first gain or a second gain different from the first gain based on a first result of comparing the signal processed with a first gain and a first voltage value by the comparator; A second step of setting a slope of the ramp signal is performed based on a second result of comparing the signal processed with the first gain or the second gain set in the first step with a second voltage value by the comparator. A method for driving a photoelectric conversion device comprising the steps of:
2. 2. The method for driving a photoelectric conversion device according to claim 1, wherein in the second step, the ramp signal is set to a first slope or a second slope different from the first slope.
3. The method for driving a photoelectric conversion device according to claim 2, characterized in that after performing the second step, a third step is performed in which the signal processed with the first gain or the second gain, which is an analog signal, is converted into a digital signal based on a third result of comparing the signal processed with the first gain or the second gain with the ramp signal of the first slope or the second slope.
4. 3. The method for driving a photoelectric conversion device according to claim 2, further comprising: performing a fourth step of converting the signal processed with the first gain, which is an analog signal, into a digital signal based on a fourth result of comparing the signal processed with the first gain with the ramp signal of the first slope or the second slope before performing the first step.
5. 2. The method for driving a photoelectric conversion device according to claim 1, wherein the first gain is greater than the second gain.
6. 2. The method for driving a photoelectric conversion device according to claim 1, wherein in the first step, the setting of the first gain is maintained and the first gain is set based on the first result.
7. The method for driving a photoelectric conversion device according to claim 1, characterized in that the operation of transferring charges from the photoelectric conversion unit of the pixel is performed at multiple timings, and the first step and the second step are each performed between two consecutive timings among the multiple timings.
8. The method for driving a photoelectric conversion device according to claim 3, characterized in that the operation of transferring charges from the photoelectric conversion unit of the pixel is performed at multiple timings, and the first step, the second step, and the third step are each performed between two consecutive timings among the multiple timings.
9. 2. The method for driving a photoelectric conversion device according to claim 1, wherein the first voltage value is greater than the second voltage value.
10. 3. The method for driving a photoelectric conversion device according to claim 2, further comprising: setting the first voltage value in accordance with a maximum input range in analog-to-digital (AD) conversion performed by the comparator; and setting the second voltage value in accordance with the first slope and the second slope.
11. 4. The method for driving a photoelectric conversion device according to claim 3, further comprising the step of correcting the digital signal using a ratio between the first gain and the second gain and a ratio between the first slope and the second slope.
12. 2. The method for driving a photoelectric conversion device according to claim 1, further comprising a ramp signal output circuit for outputting the ramp signal, the ramp signal output circuit outputting the first voltage value and the second voltage value.
13. 2. The method for driving a photoelectric conversion device according to claim 1, wherein the pixels are arranged in a matrix, and a column circuit provided corresponding to each column includes a memory for holding a comparison result of the comparator, a gain switching circuit for switching the gain of the gain setting circuit, a ramp signal switching circuit for switching the slope of the ramp signal, and a selection circuit for controlling the gain switching circuit and the ramp signal switching circuit.
14. The method for driving a photoelectric conversion device according to claim 13, characterized in that a plurality of the selection circuits are arranged, one of the plurality of selection circuits outputs a signal to the gain switching circuit, and another of the plurality of selection circuits outputs a signal to the ramp signal switching circuit.
15. The method for driving a photoelectric conversion device according to claim 1 , wherein the pixel includes the gain setting circuit.
16. 2. The method for driving a photoelectric conversion device according to claim 1, wherein the gain setting circuit is an amplifier circuit or an attenuation circuit.
17. The method for driving a photoelectric conversion device according to claim 1, characterized in that the pixel includes a microlens, a first photoelectric conversion unit, and a second photoelectric conversion unit, the first step and the second step are performed using the pixel signal output from the first photoelectric conversion unit, and the second step is performed using the pixel signal output from the second photoelectric conversion unit, thereby performing phase difference detection.
18. The method for driving a photoelectric conversion device described in claim 17, characterized in that the operation of resetting the comparator is performed at multiple timings, and between two consecutive timings among the multiple timings, the first step and the second step are performed using the pixel signal output from the first photoelectric conversion unit, and the second step is performed using the pixel signals output from the first photoelectric conversion unit and the second photoelectric conversion unit.
19. A pixel that generates a pixel signal by photoelectric conversion; a gain setting circuit capable of processing the pixel signal output from the pixel at a plurality of gains; a comparator that compares the signal output from the gain setting circuit with a ramp signal; A photoelectric conversion device comprising: a gain switching circuit that sets the gain to the first gain or a second gain different from the first gain based on a first result of a comparison by the comparator between the signal processed with a first gain and a first voltage value; a ramp signal switching circuit that sets a slope of the ramp signal based on a second result of comparing the signal processed with the first gain or the second gain set by the gain switching circuit with a second voltage value by the comparator. A photoelectric conversion device comprising:
20. An apparatus comprising the photoelectric conversion device according to claim 19, an optical device that guides light to the photoelectric conversion device; A control device for controlling the photoelectric conversion device; a processing device that processes a signal output from the photoelectric conversion device; a display device that displays information obtained by the photoelectric conversion device; a storage device that stores information obtained by the photoelectric conversion device; and and a mechanical device that operates based on information obtained by the photoelectric conversion device.
Citation Information
Patent Citations
Imaging device, imaging system, and moving object
JP2019140650A
