Sensing device, electronic device and method for controlling a sensing device
By using gain and offset control circuits to process pixel signals in the sensing device, the problem of edge detection misjudgment caused by noise is solved, the accuracy of edge detection is improved and power consumption is reduced, thus promoting the performance and miniaturization of the device.
Patent Information
- Application Number
- CN202580032033.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-30
- Filing Date
- 2025-05-07
- Publication Date
- 2026-11-27
AI Technical Summary
In sensing devices, especially in solid-state imaging elements, noise can cause misjudgments of the presence or absence of edges when pixel signal differences are small, affecting the accuracy of edge detection.
Gain control circuit and offset control circuit are used to control the gain and offset of a pair of pixel signals, and a comparator is used to compare them to improve the accuracy of edge detection.
By controlling gain and offset, the accuracy of edge detection is improved, power consumption is reduced, and the performance of sensing devices and the miniaturization of pixels are promoted.
Smart Images

Figure CN123187451A_ABST
Abstract
Description
Technical Field
[0001] This technology relates to a sensing device. Specifically, this technology relates to a sensing device that uses a comparator to compare signals, an electronic device, and a method for controlling the sensing device. Background Technology
[0002] In the past, in sensing devices such as solid-state imaging elements, various types of signal processing, such as pixel addition and correlated double sampling (CDS) processing, have been performed to achieve purposes such as expanding dynamic range and reducing noise. For example, a device has been proposed in which one of a pair of pixel signals is increased or decreased by gain, and the presence or absence of an edge is detected based on the comparison result of the pixel signals (see, for example, Patent Document 1).
[0003] Reference List
[0004] Patent documents
[0005] Patent Document 1: WO 2021 / 090538 Summary of the Invention
[0006] The technical problem to be solved by the present invention
[0007] In the aforementioned conventional techniques, one of a pair of pixel signals is increased or decreased by gain, thereby achieving edge detection independent of ambient light levels. However, in these devices, when the difference between a pair of pixel signals is small, noise may cause misjudgments regarding the presence or absence of edges.
[0008] This technology was developed in view of the circumstances and its purpose is to improve the accuracy of edge detection in sensing devices that detect the presence or absence of edges.
[0009] Technical solutions to technical problems
[0010] This technology was developed to solve the aforementioned problems, and its first aspect is a sensing device comprising: a gain control circuit that performs gain control by increasing or decreasing at least one of a pair of pixel signals by a predetermined gain; an offset control circuit that performs offset control by superimposing a predetermined offset onto at least one of the pair of pixel signals; a comparator that compares the pair of pixel signals after gain control and offset control and outputs a comparison result; and a control method thereof. This results in improved edge detection accuracy.
[0011] Furthermore, the first aspect may also include a timing control circuit that sequentially selects multiple combinations, each including an offset value and a gain value, and sets the selected combinations in both the gain control circuit and the offset control circuit. This results in improved sensing performance.
[0012] Furthermore, the first aspect may also include multiple latching circuits that hold the comparison result corresponding to each of the multiple combinations. This results in improved sensing performance.
[0013] Furthermore, in the first aspect, the timing control circuit can set the gain value in ascending order and stop the comparator upon detecting an edge. This results in reduced power consumption.
[0014] Furthermore, in the first aspect, the gain control circuit may include: a first capacitor element; a second capacitor element; a first switch that opens and closes the path between the first capacitor element and the vertical signal line transmitting one of a pair of pixel signals; and a second switch that opens and closes the path between the second capacitor element and the vertical signal line transmitting one of a pair of pixel signals. This results in the effect of switching the gain value.
[0015] Furthermore, in the first aspect, the other end of each of the first and second capacitor elements can be connected to a comparator. This results in the effect of switching the gain value.
[0016] Furthermore, in the first aspect, the other end of each of the first and second capacitor elements can be connected to a ground node. This results in the effect of switching the gain value.
[0017] Furthermore, the first aspect may also include: an amplifier; a capacitor having one end connected to the output terminal of the amplifier; and a switch that opens and closes the path between the input terminal of the amplifier and the other end of the capacitor. This results in the effect of switching the gain value.
[0018] Furthermore, in the first aspect, the offset control circuit may include: a capacitor element; an offset-side switch that opens and closes the path between the offset input node and one end of the capacitor element; and a pixel-side switch that opens and closes the path between the vertical signal line transmitting one of a pair of pixel signals and one end of the capacitor element. This results in the effect of switching the offset value.
[0019] Furthermore, in the first aspect, the offset may include a first offset and a second offset, and the offset-side switch may include a first offset-side switch and a second offset-side switch, the first offset-side switch opening and closing the path between the input node of the first offset and one end of the capacitive element, and the second offset-side switch opening and closing the path between the input node of the second offset and one end of the capacitive element. This results in the effect of switching offset values.
[0020] Furthermore, the first aspect may also include: a reference signal generation unit for generating a predetermined reference signal; a reference-side switch for opening and closing the path between the reference signal generation unit and the comparator; and a pixel-side switch for opening and closing the path between the gain control circuit and the offset control circuit and the vertical signal line transmitting the pixel signal. This results in a reduction in circuit size.
[0021] Furthermore, the first aspect may also include: a pixel array unit arranged with a pair of pixels that generate a pair of pixel signals; and a signal processing circuit that processes the comparison results. This results in the performance of features such as feature extraction.
[0022] Furthermore, in the first aspect, the pixel array unit, gain control circuit, offset control circuit, and comparator can be arranged on a predetermined pixel chip, and the signal processing circuit can be arranged on a predetermined circuit chip. This contributes to pixel miniaturization.
[0023] Furthermore, in the first aspect, the pixel array units can be arranged on a predetermined pixel chip, and the gain control circuit, offset control circuit, comparator, and signal processing circuit can be arranged on a predetermined circuit chip. This facilitates pixel miniaturization.
[0024] Furthermore, the first aspect may also include an error cancellation circuit that eliminates errors in the comparator's output signal. This improves the accuracy of edge detection in low-light conditions.
[0025] Furthermore, in the first aspect, the error cancellation circuit can superimpose a predetermined compensation offset onto the output signal. As a result, the mismatch component of each comparator is removed, and the accuracy of edge detection in low-light conditions is improved.
[0026] Furthermore, in the first aspect, a replication circuit may also be included, having the same circuit configuration as the comparator. An error cancellation circuit can maintain the input offset of the replication circuit and superimpose the maintained input offset as a compensation offset onto one of a pair of input signals of the comparator. The comparator can be arranged for each column of pixels. The error cancellation circuit can be connected together to the comparator. This results in improved area efficiency and improved edge detection accuracy in low-light conditions.
[0027] Furthermore, a second aspect of this technology is an electronic device comprising: a gain control circuit that performs gain control by increasing or decreasing at least one of a pair of pixel signals by a predetermined gain; an offset control circuit that performs offset control by superimposing a predetermined offset onto at least one of the pair of pixel signals; a comparator that compares the pair of pixel signals subjected to gain control and offset control and outputs a comparison result; and a signal processing circuit that processes the comparison result. This results in improved edge detection accuracy in the electronic device. Attached Figure Description
[0028] Figure 1 This is a block diagram illustrating an example configuration of an imaging apparatus according to a first embodiment of the present technology.
[0029] Figure 2 This is a block diagram illustrating an example configuration of an image sensor according to a first embodiment of the present technology.
[0030] Figure 3 This is a circuit diagram illustrating an example of pixel configuration according to a first embodiment of the present technology.
[0031] Figure 4 This is an example of a cross-sectional view of a back-illuminated image sensor according to the first embodiment of the present technology.
[0032] Figure 5 This is an example of a cross-sectional view of a front-illuminated image sensor according to the first embodiment of the present technology.
[0033] Figure 6 This is a block diagram illustrating an example configuration of a column signal processing circuit according to a first embodiment of the present technology.
[0034] Figure 7 This is a block diagram illustrating an example configuration of an edge detection unit according to a first embodiment of the present technology.
[0035] Figure 8 This is a block diagram illustrating an example configuration of an edge detection unit that outputs 1 bit according to a first embodiment of the present technology.
[0036] Figure 9 This is a circuit diagram illustrating an example configuration of the offset control circuit and the gain control circuit according to a first embodiment of the present technology.
[0037] Figure 10 This is a circuit diagram illustrating an example configuration of the offset control circuit and the gain control circuit according to a first embodiment of the present technology.
[0038] Figure 11 This is a circuit diagram illustrating an example configuration of a comparator according to a first embodiment of the present technology.
[0039] Figure 12 This is a circuit diagram of an example configuration of the edge detection unit in the third comparative example.
[0040] Figure 13 This is a timing diagram illustrating an example of the operation of the image sensor in the third comparative example.
[0041] Figure 14 This is a timing diagram illustrating an example of the operation of an image sensor under low illumination conditions according to the first embodiment of the present technology.
[0042] Figure 15 This is a timing diagram illustrating an example of the operation of an image sensor under high illumination conditions according to the first embodiment of the present technology.
[0043] Figure 16 This is a diagram used to compare the comparative example with the edge determination method of the first embodiment of this technology.
[0044] Figure 17 This is a flowchart illustrating an example of the operation of an image sensor according to a first embodiment of the present technology.
[0045] Figure 18 This is a block diagram illustrating an example configuration of the edge detection unit in a first variation of the first embodiment of the present technology.
[0046] Figure 19 This is a block diagram illustrating an example configuration of the edge detection unit in a second variation of the first embodiment of the present technology.
[0047] Figure 20 This is a block diagram illustrating an example configuration of a column signal processing circuit according to a second embodiment of the present technology.
[0048] Figure 21 This is a block diagram illustrating an example configuration of an edge detection unit according to a third embodiment of the present technology.
[0049] Figure 22 This is a circuit diagram illustrating an example configuration of the offset control circuit and the gain control circuit according to a third embodiment of the present technology.
[0050] Figure 23 This is a circuit diagram illustrating an example configuration of the offset control circuit and the gain control circuit according to a third embodiment of the present technology.
[0051] Figure 24 This is a timing diagram illustrating an example of the operation of an image sensor under low illumination conditions according to a third embodiment of the present technology.
[0052] Figure 25 This is a diagram used to describe a method for setting a first gain value according to a third embodiment of the present technology.
[0053] Figure 26 This is a diagram used to describe the method for setting the second gain value and the third gain value according to the third embodiment of the present technology.
[0054] Figure 27 This is a graph showing the offset and gain values for each combination according to the third embodiment of the present technology.
[0055] Figure 28 This is a flowchart illustrating an example of the operation of an image sensor according to a third embodiment of the present technology.
[0056] Figure 29 This is a circuit diagram illustrating an example configuration of the offset control circuit and the gain control circuit in a first variation of the third embodiment of the present technology.
[0057] Figure 30 This is a circuit diagram illustrating an example configuration of the offset control circuit and the gain control circuit in a second variation of the third embodiment of the present technology.
[0058] Figure 31 This is a diagram used to describe the control of maintaining the reset level and signal level in a second variation of the third embodiment of the present technology.
[0059] Figure 32 This is a diagram used to describe the method for setting the first to third gain values in a second variation of the third embodiment of the present technology.
[0060] Figure 33 This is a circuit diagram illustrating an example configuration of the offset control circuit and the gain control circuit in a third variation of the third embodiment of this technology.
[0061] Figure 34 This is a diagram used to describe the control of the timing control circuit in the fourth embodiment of this technology.
[0062] Figure 35 This is a timing diagram illustrating an example of the operation of an image sensor according to a fourth embodiment of the present technology.
[0063] Figure 36 This is a flowchart illustrating an example of the operation of an image sensor according to a fourth embodiment of the present technology.
[0064] Figure 37 This is a diagram illustrating an example of a stacked structure of an image sensor according to a fifth embodiment of the present technology.
[0065] Figure 38 This is a diagram illustrating another example of a stacked structure of an image sensor according to a fifth embodiment of the present technology.
[0066] Figure 39This is a graph showing the occurrence rate of each level under low illumination in the comparative example and the first embodiment of this technology.
[0067] Figure 40 This is a diagram illustrating an example of an edge image under low light conditions according to a first embodiment of the present technology.
[0068] Figure 41 This is a graph illustrating an example of the edge ratio of each edge offset under low illumination according to a first embodiment of the present technology.
[0069] Figure 42 This is a block diagram illustrating an example configuration of an edge detection unit according to a sixth embodiment of the present technology.
[0070] Figure 43 This is a block diagram illustrating another example of an edge detection unit according to a sixth embodiment of the present technology.
[0071] Figure 44 This is a circuit diagram illustrating an example configuration of a comparator and error elimination circuit according to a sixth embodiment of the present technology.
[0072] Figure 45 This is a circuit diagram illustrating another example of a comparator and error elimination circuit according to a sixth embodiment of the present technology.
[0073] Figure 46 This is a diagram illustrating an example of the input signal of a comparator according to a sixth embodiment of the present technology, as well as the output signal of the comparator and the error cancellation circuit.
[0074] Figure 47 This is a diagram illustrating an example of the edge ratio and variance of each edge offset according to the sixth embodiment of the present technology.
[0075] Figure 48 This is a diagram used to describe the error in the sixth embodiment of this technology.
[0076] Figure 49 This is a timing diagram illustrating an example of the control of an error elimination circuit according to a sixth embodiment of the present technology.
[0077] Figure 50 This is a diagram used to describe the operation of the error elimination circuit in the sixth embodiment of this technology.
[0078] Figure 51 This is a block diagram illustrating an example configuration of the column signal processing circuit in a variation of the sixth embodiment of the present technology.
[0079] Figure 52 This is a circuit diagram illustrating an example configuration of the replication circuit and the error elimination circuit according to a modified embodiment of the present technology, specifically the sixth embodiment.
[0080] Figure 53 This is a block diagram illustrating an example of a general configuration of a vehicle control system.
[0081] Figure 54 This is an explanatory diagram showing an example of the mounting positions of the vehicle exterior information detection unit and the imaging unit. Detailed Implementation
[0082] The following describes the modes (hereinafter referred to as implementation methods) used to carry out this technology. The descriptions will be given in the following order.
[0083] 1. First Implementation (Example of increasing or decreasing pixel signal and superimposing offset)
[0084] 2. Second Implementation (Example of a circuit that increases or decreases pixel signals and superimposes offsets, sharing a comparator with an analog-to-digital converter)
[0085] 3. Third implementation (an example of making the gain and offset values variable, increasing or decreasing the pixel signal, and superimposing the offset)
[0086] 4. Fourth Implementation (Example of increasing or decreasing pixel signals, superimposing offsets, and stopping the comparator when an edge is detected)
[0087] 5. Fifth Implementation (Example of increasing or decreasing pixel signals and superimposing offsets in a multi-layer structure)
[0088] 6. Sixth Implementation (Example of increasing or decreasing pixel signals and superimposing offsets to eliminate comparator output errors)
[0089] 7. Examples of application to moving bodies
[0090] <1. First Implementation Method>
[0091] [Imaging device configuration example]
[0092] Figure 1 This is a block diagram illustrating a configuration example of an imaging apparatus 100 according to a first embodiment of the present technology. The imaging apparatus 100 is a means for capturing image data and includes an optical unit 110, an image sensor 200, and a digital signal processing (DSP) circuit 120. The imaging apparatus 100 also includes a display unit 130, an operation unit 140, a bus 150, a frame memory 160, a storage unit 170, and a power supply unit 180. Examples of the imaging apparatus 100 include, for example, digital cameras such as digital still cameras, smartphones and personal computers with imaging capabilities, and vehicle-mounted cameras. Note that the imaging apparatus 100 is an example of an electronic device described in the claims.
[0093] Optical unit 110 collects light from the subject and directs the light to image sensor 200. Image sensor 200 generates image data synchronously with a vertical synchronization signal via photoelectric conversion. Here, the vertical synchronization signal is a periodic signal with a predetermined frequency that indicates imaging timing. Image sensor 200 provides the generated image data to DSP circuit 120 via signal line 209. Note that image sensor 200 is an example of a sensing device described in the claims.
[0094] The DSP circuit 120 performs predetermined signal processing on the image data from the image sensor 200. The DSP circuit 120 outputs the processed image data to the frame memory 160, etc., via the bus 150.
[0095] Display unit 130 displays image data. Display unit 130 may be, for example, a liquid crystal panel or an organic electroluminescent (EL) panel. Operation unit 140 generates operation signals based on user input.
[0096] Bus 150 is the common path through which optical unit 110, image sensor 200, DSP circuit 120, display unit 130, operation unit 140, frame memory 160, storage unit 170 and power supply unit 180 exchange data with each other.
[0097] Frame memory 160 holds image data. Storage unit 170 stores various types of data, such as image data. Power supply unit 180 supplies power to image sensor 200, DSP circuit 120, display unit 130, etc.
[0098] In pixel array unit 240, multiple pixels 250 are arranged in a two-dimensional dot matrix pattern.
[0099] [Image sensor configuration example]
[0100] Figure 2 This is a block diagram illustrating an example configuration of an image sensor 200 according to a first embodiment of the present technology. The image sensor 200 includes a vertical scanning circuit 210, a digital-to-analog converter (DAC) 220, a timing control circuit 230, and a pixel array unit 240. The image sensor 200 also includes a column signal processing circuit 300, a horizontal scanning circuit 260, and a signal processing circuit 290. Furthermore, these circuits are, for example, arranged on a single semiconductor chip.
[0101] In pixel array unit 240, multiple pixels 250 are arranged in a two-dimensional dot matrix pattern.
[0102] The timing control circuit 230 synchronously controls the operation timing of the vertical scanning circuit 210, the column signal processing circuit 300, etc., in sync with the vertical synchronization signal.
[0103] Furthermore, a mode signal (MODE) for specifying the operating mode of the image sensor 200 is input to the timing control circuit 230. Operating modes include an edge detection mode that detects the presence or absence of edges, and an imaging mode that captures image data without detecting the presence or absence of edges. The timing control circuit 230 controls each circuit based on these operating modes. Note that the image sensor 200 can also capture image data while detecting the presence or absence of edges.
[0104] The vertical scanning circuit 210 sequentially selects and drives rows to output analog pixel signals. The DAC 220 generates a reference signal through digital-to-analog (DA) conversion and provides it to the column signal processing circuit 300. For example, a sawtooth ramp signal is used as the reference signal. Pixels 250 generate pixel signals through photoelectric conversion under the control of the vertical scanning circuit 210. Each pixel 250 outputs its pixel signal to the column signal processing circuit 300.
[0105] The column signal processing circuit 300 performs signal processing such as correlated double sampling (CDS) processing or analog-to-digital (AD) conversion processing on the pixel signals of each column. Under the control of the horizontal scanning circuit 260, the column signal processing circuit 300 provides image data including the processed digital signals to the signal processing circuit 290.
[0106] The horizontal scanning circuit 260 selects columns sequentially and causes the column signal processing circuit 300 to output digital signals sequentially.
[0107] The signal processing circuit 290 performs various types of signal processing on the image data as needed. In imaging mode, the signal processing circuit 290 performs image processing such as defect correction and provides the processed image data to the DSP circuit 120. Furthermore, in edge detection mode, the signal processing circuit 290 acquires the edge judgment result for each pixel and performs processing such as feature extraction. Additionally, the signal processing circuit 290 can also perform object detection and recognition such as person detection, face detection, and face recognition based on the extracted features. Then, the signal processing circuit 290 provides the processed data to the DSP circuit 120.
[0108] [Pixel circuit configuration example]
[0109] Figure 3 This is a circuit diagram illustrating an example configuration of pixel 250 according to a first embodiment of the present technology. Pixel 250 includes a photoelectric conversion element 251, a transfer transistor 252, a reset transistor 253, a floating diffusion layer 254, an amplification transistor 255, and a selection transistor 256.
[0110] Photoelectric conversion element 251 performs photoelectric conversion on incident light to generate charge. Transfer transistor 252 transfers charge from photoelectric conversion element 251 to floating diffusion layer 254 according to transfer signal TRG from vertical scanning circuit 210.
[0111] The reset transistor 253 extracts charge from the floating diffusion layer 254 to initialize the floating diffusion layer 254 according to the reset signal RST from the vertical scan circuit 210.
[0112] The floating diffusion layer 254 accumulates charge and generates a voltage corresponding to the amount of charge. The amplifying transistor 255 forms a source follower circuit and outputs a voltage corresponding to the voltage of the floating diffusion layer 254.
[0113] Select transistor 256 outputs the voltage signal from amplifying transistor 255 as a pixel signal SIG based on the select signal SEL from vertical scanning circuit 210. The pixel signal SIG is provided to column signal processing circuit 300 via the corresponding vertical signal line VSL.
[0114] Note that the circuitry for pixel 250 is not limited to the 4-transistor circuit shown in the figure, as long as pixel signals can be generated through photoelectric conversion. For example, an overflow gate transistor that extracts charge from the photoelectric conversion element can be configured to form a 5-transistor structure. Furthermore, transistors can be added as embedded analog memory to form a 6-transistor structure. Alternatively, an 8-transistor pixel can be used, as described in "Laurence Stark et al., Back-illuminated voltage-domain global shutter CMOS image sensor with 3.75 μm pixels and dual in-pixelstorage nodes, VLSI symposium 2016". Alternatively, the pixels described in "Kazuko Nishimura et al., An 8K4K-Resolution 60fps 450ke-Saturation-Signal Organic-Photoconductive-Film Global-Shutter CMOS Image Sensor with In-Pixel Noise Canceller, ISSCC 2018" can be used.
[0115] Figure 4 This is an example of a cross-sectional view of an image sensor 200 according to a first embodiment of the present technology. The image sensor 200 includes a substrate 530 and a wiring layer 520. Furthermore, an on-chip lens 511, a color filter 512, and a photoelectric conversion element 251 are arranged for each pixel. With the light incident side as the upper side, the color filter 512 is arranged below the on-chip lens 511, and the photoelectric conversion element 251 is arranged below the color filter 512.
[0116] Furthermore, a wiring layer 520 is formed on the upper surface of the substrate 530, and a transistor including the aforementioned transfer transistor 252 is formed in the wiring layer 520. A photoelectric conversion element 251 for each pixel is disposed on the wiring layer 520. The structure shown in this figure is referred to as a back-illuminated type.
[0117] Note that, as Figure 5 As shown, a front-illuminated type can also be used instead of a back-illuminated type. In this front-illuminated type, the wiring layer 520 is formed below the color filter 512, and the photoelectric conversion element 251 is arranged below the wiring layer 520.
[0118] [Example of signal processing circuit configuration]
[0119] Figure 6 This is a block diagram illustrating a configuration example of a column signal processing circuit 300 according to a first embodiment of the present technology. In the column signal processing circuit 300, a plurality of constant current sources 310, a plurality of ADCs 320, and a plurality of edge detection units 400 are arranged. The constant current sources 310 and ADCs 320 are arranged for each column. When the number of columns is N (N is an integer), N constant current sources 310 and N ADCs 320 are arranged. Furthermore, the edge detection units 400 are arranged for each pixel pair in the row that is the object of edge detection. For example, when detecting edges between column zero and the first column, and between the first column and the second column, two edge detection units 400 are arranged for columns zero to the third column.
[0120] The constant current source 310 provides a constant current to the corresponding vertical signal line.
[0121] Under the control of timing control circuit 230, ADC 320 converts the analog pixel signals of the corresponding column into digital signals. Under the control of horizontal scanning circuit 260, ADC 320 provides the digital signals to signal processing circuit 290. For example, a single-slope ADC including a comparator and a counter can be used as ADC 320. Note that a successive approximation ADC including a comparator, successive approximation logic circuitry, and a register can also be used.
[0122] Edge detection unit 400 compares a pair of pixel signals and generates a signal indicating the presence or absence of an edge. Vertical signal lines corresponding to columns are connected to edge detection unit 400. For example, vertical signal line VSL0 of column zero and vertical signal line VSL1 of column one are connected to edge detection units 400 corresponding to columns zero and one, respectively. Edge detection unit 400 provides the generated signal to signal processing circuit 290 under the control of timing control circuit 230.
[0123] In edge detection mode, timing control circuit 230 enables edge detection unit 400 to compare a pair of pixel signals and disables ADC 320. On the other hand, in imaging mode, timing control circuit 230 enables ADC 320 to perform AD conversion and disables edge detection unit 400.
[0124] [Configuration example of edge detection unit]
[0125] Figure 7 This is a block diagram illustrating an example configuration of an edge detection unit 400 according to a first embodiment of the present technology. The edge detection unit 400 includes gain control circuits 410 and 420, offset control circuits 430 and 440, and comparators 450 and 465.
[0126] Gain control circuits 410 and 420 perform gain control to increase or decrease at least one of a pair of pixel signals by a predetermined gain. Gain control circuit 410 increases or decreases the pixel signal SIG1 transmitted via vertical signal line VSL1 by gain. Gain control circuit 420 increases or decreases the pixel signal SIG0 transmitted via vertical signal line VSL0 by gain. The gain value is a fixed value "g".
[0127] Note that although the offset control circuits 430 and 440 increase or decrease the gain of either pixel signal SIG0 or SIG1 (SIG0 or SIG1), as will be discussed later. Figure 19 Both can be increased or decreased.
[0128] exist Figure 7 In this configuration, offset control circuits 430 and 440 perform offset control to superimpose a predetermined offset (bias voltage, etc.) onto at least one of a pair of pixel signals. Offset control circuit 430 superimposes the offset onto pixel signal SIG0, and offset control circuit 440 superimposes the offset onto pixel signal SIG1. The value of the offset is a fixed value "-c".
[0129] Note that although offset control circuits 430 and 440 superimpose the offset onto one of the pixel signals SIG0 and SIG1 (SIG0 or SIG1), offset control circuits 430 and 440 can also superimpose the offset onto both.
[0130] Comparators 450 and 465 compare a pair of pixel signals that have undergone gain control and offset control.
[0131] The signal obtained by performing offset control and gain control on the pixel signal SIG1 is input to the non-inverting input terminal (+) of comparator 450. Additionally, the pixel signal SIG0 is input to the inverting input terminal (-) of comparator 450. Comparator 450 compares these signals and outputs the comparison result as VCO0 to signal processing circuit 290.
[0132] The signal obtained by performing offset control and gain control on the pixel signal SIG0 is input to the non-inverting input terminal (+) of comparator 465. Additionally, the pixel signal SIG1 is input to the inverting input terminal (-) of comparator 465. Comparator 465 compares these signals and outputs the comparison result as VCO1 to signal processing circuit 290.
[0133] The comparison results VCO0 and VCO1 include two-bit signals indicating the presence or absence of an edge. For example, if the values of these two bits are different, an edge is determined to exist; if the values of these bits are also different, an edge is determined not to exist.
[0134] For example, assume that the output low-level comparison result VCO0 is true if the following expression is true.
[0135] SIG0 < SIG1 gc…expression1
[0136] In the above expression, " "Indicates multiplication. The same applies to the following expressions."
[0137] On the other hand, it is assumed that the high-level comparison result VCO0 is output when the following expression is true.
[0138] SIG0 > SIG1 gc…expression2
[0139] Furthermore, it is assumed that the high-level comparison result VCO1 will be output if the following expression holds true.
[0140] SIG1 > SIG0 gc…expression3
[0141] On the other hand, it is assumed that the output low-level comparison result VCO1 is true if the following expression is true.
[0142] SIG1 ≤ SIG0 gc…expression4
[0143] If both expressions 1 and 3 are true, then the following expression is true.
[0144] SIG0 << SIG1…expression5
[0145] In the above expression, "<<" indicates a quantitative relationship that reaches the level at which a boundary is determined to exist.
[0146] On the other hand, if both expression 2 and expression 4 are true, the following expression is true.
[0147] SIG0 >> SIG1… Expression 6
[0148] In the above expression, ">>" indicates a quantitative relationship that reaches the level of determining the existence of an edge.
[0149] If the comparison results VCO1 and VCO2 are different values, either expression 5 or expression 6 is true. These expressions 5 and 6 indicate that the ratio of one pixel signal SIG0 or SIG1 to the other is equal to or greater than a specific value. In this case, an edge is determined to exist.
[0150] On the other hand, if the comparison results VCO1 and VCO2 have the same value, expressions 5 and 6 are both invalid. In this case, it is determined that no edge exists. Note that when g is less than "1", the comparison results VCO1 and VCO2 will never both be "0" in computation. Furthermore, when g is greater than "1", the comparison results VCO1 and VCO2 cannot both be "1" in computation. However, since these cases can occur due to noise, edge judgment results are also set for cases where they cannot be computationally valid.
[0151] Next, the advantages of control by increasing or decreasing one of a pair of pixel signals SIG0 and SIG1 by gain g and performing a comparison will be described.
[0152] Assume that light obtained by reflection of ambient light on the surface of object A with reflectivity Ra is input to the pixel generating pixel signal SIG0, and light obtained by reflection of ambient light on the surface of object B with reflectivity Rb is input to the pixel generating pixel signal SIG1. Assume the amount of ambient light is AL, and the gain g is less than 1.
[0153] Here, it is assumed that in the first comparison example, the presence or absence of an edge is detected by comparing the difference between pixel signals SIG0 and SIG1 with a threshold Th. In the first comparison example, an edge is determined to exist if the following expression holds true.
[0154] SIG0 - SIG1 = Ra AL - Rb AL > Th… Expression 7
[0155] Expression 7 can be transformed into the following expression.
[0156] (Ra - Rb) > Th / AL… Expression 8
[0157] As shown in Expressions 7 and 8, in the comparative example, the edge detection result may vary depending on the amount of ambient light AL. Therefore, the accuracy of edge detection decreases. For example, as the difference decreases with decreasing AL, edge detection becomes difficult. While changing the threshold according to the amount of ambient light can suppress the decrease in detection accuracy, it is difficult to accurately measure the light intensity and finely adjust the threshold accordingly.
[0158] Furthermore, it is assumed that in the second comparison example, the presence or absence of edges is detected by comparing the difference between the logarithmic values of pixel signals SIG0 and SIG1 with a threshold Th. In the second comparison example, an edge is determined to exist if the following expression holds true.
[0159] log(SIG0) - log(SIG1)
[0160] = log(Ra AL / Rb AL)
[0161] = log(Ra / Rb) > Th… Expression 9
[0162] As shown in Expression 9 as an example, the influence of ambient light can be suppressed in the second comparison example, but it is difficult to achieve the second comparison example because logarithmic calculation is required.
[0163] Compared to these comparative examples, the influence of ambient light can be easily suppressed by introducing a method that uses the signal as a reference to determine the threshold instead of using ambient light as a reference.
[0164] Assume that even if pixel signal SIG1 or pixel signal SIG0 is attenuated only by gain g, the magnitude relationship of the attenuated pixel signals will not change. In this case, due to the connection relationship between the input terminals of comparators 450 and 465, the comparison results VCO1 and VCO2 will have different values. At this point, the following expression holds true.
[0165] |Ra AL - Rb AL| > g max(Ra, Rb) AL…expression10
[0166] In the expression above, `max()` is a function that returns the maximum value among the input values enclosed in parentheses. Note that when the gain `g` is greater than 1, the function `min()`, which returns the minimum value, is used instead of `max()`.
[0167] When Ra is greater than Rb, expression 10 can be transformed into the following expression.
[0168] (Ra - Rb) AL > g Ra AL…expression11
[0169] Expression 11 can be transformed into the following expression.
[0170] (1 - g) Ra AL - Rb AL > 0… Expression 12
[0171] Furthermore, when 1 - g is G, expression 12 can be transformed into the following expression.
[0172] G (Ra AL) - (Rb AL) > 0… Expression 13
[0173] When both sides of expression 13 are divided by the quantity AL, the following expression is obtained.
[0174] G Ra - Rb > 0… Expression 14
[0175] That is, expression 14 holds true when the comparison results VCO1 and VCO2 have different values. This expression 14 indicates that the ratio between pixel signal SIG0 and pixel signal SIG1 is greater than or equal to a specific value (G in the above expression). In other words, the comparison results VCO0 and VCO1 are values indicating that the ratio between pixel signal SIG0 and pixel signal SIG1 is greater than or equal to a specific value. Since expression 14 does not include a term that includes the quantity AL, the image sensor 200 can determine the presence or absence of an edge without relying on the quantity AL. As a result, edge detection accuracy can be improved compared to the first comparison example.
[0176] Note that although the edge detection unit 400 outputs 2 bits for each pixel pair, these bits can also be aggregated into a single output bit.
[0177] Figure 8This is a block diagram illustrating an example configuration of a 1-bit edge detection unit 400 according to a first embodiment of the present technology. An edge determination circuit 470 is also arranged in the figure, for example. The edge determination circuit 470 generates and outputs a 1-bit detection result EG indicating the presence or absence of an edge based on comparison results VCO1 and VCO2. For example, an XOR gate is used as the edge determination circuit 470.
[0178] [Configuration example of offset control circuit and gain control circuit]
[0179] Figure 9 This is a circuit diagram illustrating an example configuration of the offset control circuit 430 and the gain control circuit 410 according to a first embodiment of the present technology. The offset control circuit 430 includes, for example, switches 431, 432, and 433 and a capacitor element 435. The gain control circuit 410 includes, for example, switches 411, 412, 413, and 414 and capacitor elements 417 and 418.
[0180] In the offset control circuit 430, switch 431 opens and closes the path between the vertical signal line VSL1 and one end of capacitor element 435 according to the control signal SW3a from timing control circuit 230. The other end of capacitor element 435 is connected to the non-inverting input terminal (+) of comparator 450.
[0181] Switch 432 opens and closes the path between the ground node of the ground voltage GND and one end of the capacitor element 435 according to the control signal SW3b from the timing control circuit 230. Switch 433 opens and closes the bias voltage V according to the control signal SW3c from the timing control circuit 230. ofs The path between the input node to which the offset input is given and one end of the capacitor element 435.
[0182] Note that switch 431 is an example of a pixel-side switch as described in the claims, and switch 433 is an example of an offset-side switch as described in the claims.
[0183] In edge detection mode, for example, timing control circuit 230 controls DAC 220 to generate a constant bias voltage V. ofs Note that the bias voltage V can be generated separately. ofs The circuit is used to replace the DAC 220.
[0184] Note that switch 432 can be omitted in offset control circuit 430. In this case, DAC 220 can generate ground voltage GND when one end of capacitor element 435 is grounded.
[0185] In the gain control circuit 410, switch 411 opens and closes the path between the vertical signal line VSL1 and one end of capacitor element 417 according to the control signal SW0a from the timing control circuit 230. Switch 412 opens and closes the path between the ground node and one end of capacitor element 417 according to the control signal SW0b from the timing control circuit 230. The other end of capacitor element 417 is connected to the non-inverting input terminal (+) of comparator 450.
[0186] Switch 413 opens and closes the path between the vertical signal line VSL1 and one end of capacitor element 418 according to the control signal SW1a from the timing control circuit 230. Switch 414 opens and closes the path between the ground node and one end of capacitor element 418 according to the control signal SW1b from the timing control circuit 230. The other end of capacitor element 418 is connected to the non-inverting input terminal (+) of comparator 450. Note that switches 411 and 413 are examples of the first and second switches described in the claims, and capacitor elements 417 and 418 are examples of the first and second capacitor elements described in the claims.
[0187] In addition, the pixel signal Diff after offset and gain control po The non-inverting input terminal (+) of comparator 450 is input. The pixel signal SIG0 from the vertical signal line VSL0 is used as a diff via capacitor element 405. no It is input to the inverting input terminal (-) of comparator 450.
[0188] Assume that each switch shown in the diagram is closed when the corresponding control signal is high and open when the control signal is low. Furthermore, refer to [the diagram] later. Figure 13 and Figure 14 Describe the method for controlling each switch.
[0189] Figure 10 This is a circuit diagram illustrating an example configuration of the offset control circuit 440 and the gain control circuit 420 according to a first embodiment of the present technology. The offset control circuit 440 includes, for example, switches 441, 442, and 443 and a capacitor element 445. The gain control circuit 420 includes, for example, switches 421, 422, 423, and 424 and capacitor elements 427 and 428.
[0190] The circuit configuration of offset control circuit 440 and gain control circuit 420 and Figure 9 The offset control circuit 430 and the gain control circuit 410 shown have similar circuit configurations, except that they are connected to the vertical signal line VSL0 and the comparator 465.
[0191] In addition, the pixel signal Diff after offset and gain control pe The input is given to the non-inverting input terminal (+) of comparator 465. The pixel signal SIG1 from the vertical signal line VSL1 is used as a diff via capacitor element 406. ne It is input to the inverting input terminal (-) of comparator 465.
[0192] [Comparator Configuration Example]
[0193] Figure 11 This is a circuit diagram illustrating an example configuration of a comparator 450 according to a fourth embodiment of the present technology. The comparator 450 includes pMOS transistors 451 to 455, nMOS transistors 456 to 460, and capacitor elements 461 to 463.
[0194] pMOS transistors 451, 452, and 455 are connected in parallel to the power supply. The gate of pMOS transistor 451 is connected to the drain of pMOS transistor 451 and the gate of pMOS transistor 452.
[0195] The drain of nMOS transistor 456 is connected to pMOS transistor 451, and its source is connected to a common node. Furthermore, the gate of nMOS transistor 456 is connected to offset control circuit 430 via capacitor element 461. The drain of nMOS transistor 457 is connected to pMOS transistor 452, and its source is connected to a common node. Furthermore, the gate of nMOS transistor 457 is connected to capacitor element 405 via capacitor element 462.
[0196] The nMOS transistor 458 is inserted between the common node and the ground terminal, and a predetermined bias voltage V is input to its gate. 偏置3 .
[0197] When the inverted signal XAZPL is high, pMOS transistor 453 short-circuits the drain and source of nMOS transistor 456. When the inverted signal XAZPR is high, pMOS transistor 454 short-circuits the drain and source of nMOS transistor 457. The inverted signal XAZPL is obtained by inverting the auto-zero signal AZPL from the timing control circuit 230, and the inverted signal XAZPR is obtained by inverting the auto-zero signal AZPR from the timing control circuit 230.
[0198] The connection point of pMOS transistor 452 and nMOS transistor 457 is connected to the gate of pMOS transistor 455.
[0199] nMOS transistor 460 is inserted between pMOS transistor 455 and ground. The comparison result VCO0 is output from the junction of pMOS transistor 455 and nMOS transistor 460. nMOS transistor 459 and capacitor 463 are connected in series between the junction of pMOS transistor 455 and nMOS transistor 460 and ground. Furthermore, an auto-zero signal AZ is input to the gate of nMOS transistor 459, and the junction of nMOS transistor 459 and capacitor 463 is connected to the gate of nMOS transistor 460.
[0200] Using the circuit shown in the figure, comparator 450 converts pixel signal SIG1 The GC signal is compared with the pixel signal SIG0. Furthermore, the timing control circuit 230 offsets the input timing of the auto-zero signal AZPL, which initializes one of the positive and negative sides, from that of the auto-zero signal AZPR, which initializes the other. As described above, the offset of the comparator 450 can be adjusted by setting the input timing of the auto-zero signal AZPL to a different timing than that of the auto-zero signal AZPR.
[0201] Note that the configuration of comparator 465 is similar to that of comparator 450.
[0202] Here, as a third comparative example, we assume a configuration that increases or decreases the gain without adding offset.
[0203] Figure 12 This is a circuit diagram showing an example configuration of the edge detection unit 400 in the third comparative example. The edge detection unit 400 in the third comparative example differs from that in the first embodiment in that the offset control circuits 430 and 440 are not arranged.
[0204] Figure 13 This is a timing diagram illustrating an example of the operation of the image sensor 200 in the third comparative example. With edge detection mode set, the vertical scanning circuit 210 sequentially begins exposure for each row using a rolling shutter method. Then, the vertical scanning circuit 210 sequentially selects the rows to be read, and the column signal processing circuit 300 reads the pixel signals in the selected rows. This diagram illustrates the operation when reading the pixel signals of a specific row.
[0205] The vertical scan circuit 210 transmits a high-level selection signal SEL to the selected row during one analog-to-digital conversion (AD) cycle from timing T0 to timing T3. Additionally, the vertical scan circuit 210 transmits a high-level reset signal RST during the pulse cycle starting from timing T0. As a result, pixel 250 is initialized, and the levels of vertical signal lines such as vertical signal lines VSL0 and VSL1 become reset levels. The reset level is also referred to as the P-phase.
[0206] Furthermore, the timing control circuit 230 transmits a high-level auto-zero signal AZ within the pulse period starting from timing T0, and performs auto-zeroing of comparators 450 and 465. Additionally, the timing control circuit 230 sets control signals SW0a and SW1b to high level, and sets control signals SW0b and SW1a to low level.
[0207] Then, starting from timing T1, the vertical scanning circuit 210 transmits a high-level transfer signal TRG to the selected line within a pulse period. As a result, signal charge is transferred in pixel 250, and the level of the vertical signal line becomes the signal level corresponding to the exposure. This signal level is also called the D-phase. The difference between the reset level and the signal level corresponds to the net pixel signal (SIG0 or SIG1). In this figure, it is assumed that the illumination is low, and the level of the D-phase is close to the level of the P-phase.
[0208] Then, at a time T when the signal level is stable d0 Then, comparators 450 and 465 output valid comparison results VCO0 and VCO1. At timer T... d0 The comparison results VCO0 and VCO1 from previous time periods are not used for edge detection and can take any value.
[0209] In this figure, it is actually assumed that there is no difference between the original pixel signals SIG0 and SIG1 and that there are no edges.
[0210] In low-light conditions, the pixel signal Diff input to comparator 450 nо With Diff pо The differences between them and the pixel signals input to comparator 465 (Diff) ne With Diff pe The difference between them becomes smaller. Therefore, in the case of noise generated in the vertical signal lines VSL0 and VSL1, edges may be falsely detected due to the noise. For example, in this figure, at timing T d0 Subsequently, the comparison result VCO0 goes low, and the comparison result VCO1 goes high. As a result, even when there is no edge, an edge is falsely detected. The arrows in the figure indicate the timing of noise generation.
[0211] [Image Sensor Operation Example]
[0212] Figure 14 This is a timing diagram illustrating an example of the operation of an image sensor under low illumination conditions according to the first embodiment of the present technology.
[0213] The control of the vertical scanning circuit 210 and the control signals SW0a, SW0b, SW1a and SW1b of the timing control circuit 230 are similar to the control in the comparative example.
[0214] Furthermore, the timing control circuit 230 sets the control signal SW3a to a low level. Additionally, immediately following the transition, at timing T2, the timing control circuit 230 changes the control signal SW3b from a high level to a low level while simultaneously changing the control signal SW3c from a low level to a high level.
[0215] As a result, the pixel signal Diff on the vertical signal line VSL1 side of the input signal of comparator 450 po The offset is superimposed. Furthermore, the pixel signal Diff on the vertical signal line VSL0 side of the input signal of comparator 465... pe Upper overlay offset. The dotted line in this figure indicates the pixel signal Diff on the vertical signal line VSL1 side. pо and Diff ne The waveform.
[0216] With an offset greater than the noise distribution, the pixel signal level is very low under low illumination, and therefore both expressions 2 and 3 hold. As a result, at time T... d0 Subsequently, both VCO0 and VCO1 became high, indicating the absence of an edge. As described above, by superimposing the offset, false edge detection in low-light conditions can be suppressed.
[0217] Figure 15 This is a timing diagram illustrating an example of the operation of an image sensor under high illumination conditions according to the first embodiment of the present technology. The control of the vertical scanning circuit 210 and the timing control circuit 230 is similar to that under low illumination conditions.
[0218] Under high illumination, immediately following the timing T1 during the transfer, the potential of the vertical signal line decreases according to the exposure, and the level (i.e., the D phase) becomes a different value than the P phase. The dotted line in the figure indicates the waveform of the vertical signal line VSL1.
[0219] Furthermore, the pixel signal Diff on the vertical signal line VSL1 side of the input signal of comparator 450 po The offset is superimposed. Furthermore, the pixel signal Diff on the vertical signal line VSL0 side of the input signal of comparator 465... pe Upper overlay offset. The dotted line in this figure indicates the pixel signal Diff on the vertical signal line VSL1 side. pо and Diff ne The waveform.
[0220] At high illumination levels, the difference between a pair of pixel signals being compared increases. Therefore, each comparison result, VCO0 and VCO1, has a value corresponding to the magnitude relationship between pixel signals SIG0 and SIG1. For example, given the magnitude relationship established in Expression 5, both Expression 1 and Expression 2 are true, and a low-level comparison result VCO0 and a high-level comparison result VCO1 are output. In this case, an edge is determined to exist. As described above, the image sensor 200 detects edges with high accuracy even at high illumination levels.
[0221] Figure 16 This is a diagram used to compare a comparative example with the edge detection method of the first embodiment of this technology. In figures a and b, the vertical axis indicates the level of pixel signal SIG1, and the horizontal axis indicates the level of pixel signal SIG0.
[0222] In Figure a, the gray areas indicate regions judged to have edges in the comparison example without superimposed offsets, and the white areas indicate regions judged to have no edges in the comparison example. The slope of the boundary of each region corresponds to the gain value.
[0223] The gray area in figure b indicates the area determined to have an edge in the first embodiment with the offset superimposed, and the white area in figure b indicates the area determined to have no edge in the first embodiment.
[0224] As shown in Figure a, in the comparative example, under low illumination and with a small difference between pixel signals SIG0 and SIG1, the white area becomes very small. Therefore, even signals within a white area that actually has no edge may be falsely detected as one of the gray areas outside the boundary (i.e., an edge exists) due to noise.
[0225] On the other hand, as shown in Figure b, in the first embodiment, due to the superimposed offset, the white area is large even at low illumination. As a result, false detections caused by noise can be suppressed.
[0226] Figure 17 This is a flowchart illustrating an example of the operation of an image sensor 200 according to a first embodiment of the present technology. The operation of the image sensor 200 begins, for example, when the image sensor 200 is powered on.
[0227] The image sensor 200 determines whether the operating mode is set to edge detection mode (step S901). If the mode is set to edge detection mode (step S901: Yes), the vertical scanning circuit 210 in the image sensor 200 selects and drives one row (step S902), and each pixel pair in the row generates a pair of pixel signals (SIG0, SIG1, etc.) (step S903).
[0228] Then, comparator 450 compares pixel signal SIG0 with SIG1, which has undergone offset control and gain control. The comparison is performed using gc. Furthermore, comparator 465 will perform offset and gain control on SIG0. gc is compared with pixel signal SIG1 (step S904).
[0229] Then, the image sensor 200 determines whether each pixel pair in the row has an edge based on the comparison result (step S905).
[0230] The vertical scanning circuit 210 determines whether all rows have been selected (step S906). If not all rows have been selected (step S906: No), the image sensor 200 changes the rows to be selected and repeats step S902 and subsequent steps. On the other hand, if all rows have been selected (step S906: Yes), the image sensor 200 repeats step S901 and subsequent steps.
[0231] Furthermore, if the mode is not set to edge detection mode (step S901: No), the image sensor 200 captures image data (step S907) and repeats step S901 and subsequent steps.
[0232] As described above, according to the first embodiment of this technology, since the offset control circuits 430 and 440 superimpose the offset on at least one of a pair of pixel signals, false detection of the offset can be suppressed under low illumination conditions. This improves edge detection accuracy.
[0233] [First Variation]
[0234] In the first embodiment described above, the offset control circuit 430 and the gain control circuit 410 perform offset control or gain control on the pixel signal SIG0, but the present technology is not limited to this configuration. The image sensor 200 of the first variant of the first embodiment differs from the first embodiment in that gain control is performed on the pixel signal SIG0 and offset control is performed on the pixel signal SIG1.
[0235] Figure 18This is a block diagram illustrating a configuration example of the edge detection unit 400 in a first variation of the first embodiment of the present invention. The edge detection unit 400 of the first variation of the first embodiment differs from the edge detection unit of the first embodiment in that the offset control circuit 430 superimposes an offset on the pixel signal SIG0, and the offset control circuit 440 superimposes an offset on the pixel signal SIG1. In this case, on the comparator 450 side, the pixel signal SIG1 is increased or decreased according to gain, and an offset is superimposed on the pixel signal SIG0. On the comparator 465 side, the pixel signal SIG0 is increased or decreased according to gain, and an offset is superimposed on the pixel signal SIG1.
[0236] As described above, according to a first variation of the first embodiment of the present technology, the gain control circuit performs gain control on one of a pair of pixel signals (such as SIG0), and the offset control circuit performs offset control on the other (such as SIG1). Therefore, comparators 450 and 465 can detect the gain by comparing them.
[0237] [Second variation]
[0238] In the first embodiment described above, the offset control circuit and the gain control circuit perform offset control and gain control on one of a pair of pixel signals, but the present technology is not limited to this configuration. The image sensor 200 of the second variation of the first embodiment differs from the first embodiment in that the offset control circuit and the gain control circuit perform offset control and gain control on both of a pair of pixel signals.
[0239] Figure 19 This is a block diagram illustrating an example configuration of the edge detection unit 400 in a second variation of the first embodiment of the present technology. In the second variation of the first embodiment, gain control circuits 410 and 420 increase or decrease the gain of both pixel signals SIG0 and SIG1. Furthermore, offset control circuits 430 and 440 superimpose an offset on both pixel signals SIG0 and SIG1.
[0240] Gain control circuit 410 includes gain control circuit 410-1 that increases or decreases pixel signal SIG1 according to gain g1, and gain control circuit 410-2 that increases or decreases pixel signal SIG0 according to gain g2. Furthermore, gain control circuit 420 includes gain control circuit 420-1 that increases or decreases pixel signal SIG0 according to gain g1, and gain control circuit 420-2 that increases or decreases pixel signal SIG1 according to gain g2.
[0241] The offset control circuit 430 includes an offset control circuit 430-1 that superimposes an offset "-c1" on the pixel signal SIG1, and an offset control circuit 430-2 that superimposes an offset "-c2" on the pixel signal SIG0. The offset control circuit 440 includes an offset control circuit 440-1 that superimposes an offset "-c1" on the pixel signal SIG0, and an offset control circuit 440-2 that superimposes an offset "-c2" on the pixel signal SIG1.
[0242] On the comparator 450 side, the control that increases or decreases pixel signal SIG1 by gain g1 and increases or decreases pixel signal SIG0 by gain g2 corresponds to the control that increases or decreases pixel signal SIG1 only by relative gain g1 / g2. Therefore, expressions that replace gain g in expressions 1 and 2 with relative gain g1 / g2 are used. The same applies to the comparator 465 side. Furthermore, in the offset control, c in expressions 1, etc., can be replaced with the difference between c1 and c2.
[0243] As shown in the figure, the gain control circuit and the offset control circuit perform gain control and offset control on both of the two pixel signals, and as a result, the symmetry of the circuit can be improved in terms of layout.
[0244] As described above, according to the second variation of the first embodiment of the present technology, since the gain control circuit and the offset control circuit perform gain control and offset control on both of the pair of pixel signals, the symmetry of the circuit can be improved.
[0245] <2. Second Implementation Method>
[0246] In the first embodiment described above, comparators 450 and 465 are arranged in the edge detection unit 400 outside the ADC 320, but it is preferable to further reduce the circuit size. The image sensor 200 according to the second embodiment differs from the image sensor of the first embodiment in that the ADC and the edge detection unit share the comparator.
[0247] Figure 20 This is a block diagram illustrating an example configuration of a column signal processing circuit 300 according to a second embodiment of the present technology. The column signal processing circuit 300 in the second embodiment includes multiple switches such as switches 331, 332, 333, and 334, multiple gain control circuits, multiple offset control circuits, multiple comparators, and multiple counters. Two switches are arranged for each column. One gain control circuit, one offset control circuit, one comparator, and one counter are arranged for each column.
[0248] For example, switches 331 and 332, gain control circuit 410, offset control circuit 430, comparator 450, and counter 341 are arranged in the column corresponding to the vertical signal line VSL0. Switches 333 and 334, gain control circuit 420, offset control circuit 440, comparator 465, and counter 342 are arranged in the column corresponding to the vertical signal line VSL1.
[0249] Switch 331 responds to the control signal SW from timing control circuit 230 DAC The path between DAC 220 and the non-inverting input terminal (+) of comparator 450 is opened and closed. Switch 332 operates according to control signal SW. DAC The path between the vertical signal line VSL1 and the gain control circuit 410 and the offset control circuit 430 is opened and closed. Switches 331 and 332 are controlled such that when one is closed, the other is open.
[0250] Switch 333 according to control signal SW DAC The path between DAC 220 and the non-inverting input terminal (+) of comparator 465 is opened and closed. Switch 334 is activated according to control signal SW. DAC The path between the vertical signal line VSL0 and the gain control circuit 420 and offset control circuit 440 is opened and closed. Switches 333 and 334 are controlled such that when one is closed, the other is open.
[0251] Note that DAC 220 is an example of the reference signal generation unit described in the claims. Switches 331 and 333 are examples of the reference-side switches described in the claims. Switches 332 and 334 are examples of the pixel-side switches described in the claims.
[0252] The gain control circuits 410 and 420, the offset control circuits 430 and 440, and the comparators 450 and 465 in the second embodiment are similar in circuit configuration to those in the first embodiment. However, comparator 450 further outputs the comparison result VCO0 to counter 341, and comparator 465 further outputs the comparison result VCO1 to counter 342.
[0253] Counter 341 counts the value until the comparison result VCO0 reverses. Counter 342 counts the value until the comparison result VCO1 reverses. These counters 341 and 342 output digital signals indicating the count values to signal processing circuit 290.
[0254] In edge detection mode, timing control circuit 230 disables counters 341 and 342, opens switches 331 and 333, and closes switches 332 and 334. Additionally, DAC 220 generates an offset voltage. Circuitry including gain control circuits 410 and 420, offset control circuits 430 and 440, and comparators 450 and 465 serves as edge detection unit 400.
[0255] On the other hand, in imaging mode, timing control circuit 230 activates counters 341 and 342, closes switches 331 and 333, and opens switches 332 and 334. Additionally, DAC 220 generates a reference signal (ramp signal, etc.). Comparator 450 and counter 341 are used as a single-slope ADC, and comparator 465 and counter 342 are also used as a single-slope ADC.
[0256] As described above, since the edge detection unit 400 and the ADC share comparators 450 and 465, the circuit size can be reduced compared to the first embodiment where comparators 450 and 465 are not shared.
[0257] Note that each of the first and second modifications of the first embodiment can be applied to the second embodiment. In this case, a switch is further provided that bypasses the circuit between the inverting input terminal (-) of the comparator and the vertical signal line.
[0258] As described above, according to the second embodiment of the present technology, since the edge detection unit 400 and the ADC share comparators 450 and 465, the circuit size can be reduced.
[0259] <3. Third Implementation Method>
[0260] In the first embodiment described above, the edge detection unit 400 outputs a 2-bit signal while maintaining a fixed gain and offset value, but this configuration may result in insufficient information. The image sensor 200 according to the third embodiment differs from the image sensor of the first embodiment in that it makes the gain and offset values variable and increases the bit depth of the edge detection unit 400's output.
[0261] Figure 21 This is a block diagram illustrating a configuration example of an edge detection unit 400 according to a third embodiment of the present technology. The edge detection unit 400 in the third embodiment differs from the edge detection unit in the first embodiment in that it further includes latching circuits 481 to 486.
[0262] In addition, the timing control circuit 230 sequentially selects multiple combinations, each including offset value and gain value, and sets the selected values to the offset control circuits 430 and 440 and the gain control circuits 410 and 420.
[0263] For example, suppose three combinations are set in sequence, where the offset and gain values are “g0” and “-c0”, “g1” and “-c1”, and “g2” and “-c2”, respectively.
[0264] Comparator 450 outputs the comparison result VCO0 to the input terminals of latch circuits 481, 482, and 483. Comparator 465 outputs the comparison result VCO1 to latch circuits 484, 485, and 486.
[0265] Latch circuit 481 holds the comparison result VCO0 based on the enable signal LTEN0 from timing control circuit 230. Latch circuit 482 holds the comparison result VCO0 based on the enable signal LTEN1 from timing control circuit 230. Latch circuit 483 holds the comparison result VCO0 based on the enable signal LTEN2 from timing control circuit 230. Latch circuit 484 holds the comparison result VCO1 based on the enable signal LTEN0. Latch circuit 485 holds the comparison result VCO1 based on the enable signal LTEN1. Latch circuit 486 holds the comparison result VCO1 based on the enable signal LTEN2.
[0266] With the offset and gain values set to "g0" and "-c0" respectively, the timing control circuit 230 enables the enable signal LTEN0 and holds the comparison result in the latch circuits 481 and 484. At this time, the enable signals LTEN1 and LTEN2 are disabled.
[0267] Furthermore, with the offset and gain values set to "g1" and "-c1" respectively, the timing control circuit 230 enables the enable signal LTEN1 and keeps the latch circuits 482 and 485 holding the comparison result. At this time, the enable signals LTEN0 and LTEN2 are disabled.
[0268] Furthermore, with the offset and gain values set to "g2" and "-c2" respectively, the timing control circuit 230 enables the enable signal LTEN2 and keeps the latch circuits 483 and 486 holding the comparison result. At this time, the enable signals LTEN0 and LTEN1 are disabled.
[0269] As described above, latch circuits 481 to 486 hold the comparison results of the three combinations. Then, these latch circuits output the held 6-bit signal to signal processing circuit 290.
[0270] Note that, as Figure 8As shown, an edge detection circuit 470 can be added. In this case, since 6 bits can be reduced to 3 bits, only three latch circuits are needed. Alternatively, a logic gate can be added to reduce 3 bits to 1 bit. However, it should be noted that as the bit depth to be output decreases, the amount of information decreases, and the accuracy of edge detection may deteriorate.
[0271] Although the number of combinations of offset and gain values is three, it is not limited to three and can also be two or more. When the number of combinations is four or more, a latching circuit is added according to the number of combinations.
[0272] Figure 22 This is a circuit diagram illustrating an example configuration of the offset control circuit 430 and the gain control circuit 410 according to a third embodiment of the present technology. The gain control circuit 410 in the third embodiment differs from the gain control circuit in the first embodiment in that it also includes switches 415 and 416 and a capacitor element 419.
[0273] Switch 415 opens and closes the path between the vertical signal line VSL1 and one end of capacitor element 419 according to the control signal SW2a from the timing control circuit 230. Switch 416 opens and closes the path between the ground node and one end of capacitor element 419 according to the control signal SW2b from the timing control circuit 230. The other end of capacitor element 419 is connected to the non-inverting input terminal (+) of comparator 450. Furthermore, switches 415 and 416 close when the corresponding control signal is high and open when the control signal is low.
[0274] Furthermore, the circuit configuration of the offset control circuit 430 according to the third embodiment is similar to that of the first embodiment. When the offset value is changed, the timing control circuit 230 changes the offset voltage V. оfs The DAC 220 is controlled in this manner.
[0275] Figure 23 This is a circuit diagram illustrating an example configuration of the offset control circuit 440 and the gain control circuit 420 according to a third embodiment of the present technology. The gain control circuit 420 in the third embodiment differs from the gain control circuit in the first embodiment in that it also includes switches 425 and 426 and a capacitor element 429.
[0276] Switch 425 opens and closes the path between the vertical signal line VSL0 and one end of capacitor element 429 according to control signal SW2a. Switch 426 opens and closes the path between the ground node and one end of capacitor element 429 according to control signal SW2b. The other end of capacitor element 429 is connected to the non-inverting input terminal (+) of comparator 465. Furthermore, switches 425 and 426 close when the corresponding control signal is high and open when the control signal is low.
[0277] Figure 24 This is a timing diagram illustrating an example of the operation of an image sensor under low illumination conditions according to a third embodiment of the present technology. In the third embodiment, the control associated with the selection signal SEL, reset signal RST, transfer signal TRG, auto-zero signal AZ, control signal SW3a, control signal SW3b, and control signal SW3c is similar to the control in the first embodiment.
[0278] The timing control circuit 230 sets control signals SW0a, SW1a, and SW2a to high level and control signals SW0b, SW1b, and SW2b to low level at timing T0. Then, at timing T... p Immediately afterwards, the timing control circuit 230 sets control signals SW1a and SW2b to low level. Then, the timing control circuit 230 starts from timing T... d0 To time T d1 Set the control signal SW1b to high level, and start from timer T d1 To time T d2 Set the control signal SW2b to high level.
[0279] Furthermore, the comparison results show that VCO0 at time T d1 With T d2 The level changes to low between these intervals, and an edge is detected after this timing.
[0280] Figure 25 This is a diagram illustrating a method for setting a first gain value according to a third embodiment of the present technology. In this diagram, a shows the timing T during the generation of the reset level. p The states of the offset control circuit 430 and the gain control circuit 410 are shown. In this figure, b shows the timing T when the signal level is stable. d0 The state of the offset control circuit 430 and the gain control circuit 410.
[0281] In diagrams a and b, focus on switches 411, 413, 415, and 432, while other switches are omitted.
[0282] As shown in Figure a, switches 411, 413, 415, and 432 are in time T.p Closed. At this time, the level of the vertical signal line VSL1 (i.e., the reset level) is denoted as V. i_p The voltage levels at the output terminals of capacitors 417, 418, 419, and 435 are denoted as V. o_p The capacitance of capacitor element 417 is denoted as C0, the capacitance of capacitor element 418 as C1, the capacitance of capacitor element 419 as C2, and the capacitance of capacitor element 435 as C3. In this case, the charge Q accumulated in capacitor elements 417, 418, 419, and 435 is respectively... 0_p Q 1_p Q 2_p and Q 3_p It is represented by the following expression.
[0283] Q 0_p = C0(V o_p - V i_p ...expression 15
[0284] Q 1_p = C1(V o_p - V i_p ...expression 16
[0285] Q 2_p = C2(V o_p - V i_p ...expression 17
[0286] Q 3_p = C3 V o_p …expression 18
[0287] Then, as shown in b of the figure, switches 413 and 415 are activated at time T. d0 Disconnect. At this time, the level (i.e., signal level) of the vertical signal line VSL1 is denoted as V. i_d The voltage levels of capacitors 417, 418, 419, and 435 at their output terminals are denoted as V. o_d0 At this time, the charge Q of capacitor elements 417 and 435 0_d0 and Q 3_d0 It is represented by the following expression.
[0288] Q 0_d0 = C0(V o_d0 - V i_d ...expression 19
[0289] Q 3_d0 = C3·V o_d0 …expression 20
[0290] Furthermore, according to the law of conservation of charge, the following expression holds true.
[0291] Q 0_p + Q 3_p = Q 0_d0 + Q 3_d0 …expression 21
[0292] By substituting the right sides of expressions 15 and 18, as well as the right sides of expressions 19 and 20, into expression 21 and transforming them, we obtain the following expression.
[0293] [Mathematical expression. 1] …expression 22 In expression 22, the left side corresponds to the output pixel signal, and the right side (V) i_d0 - V i_p The input pixel signal corresponds to C0 / (C0 + C3). Therefore, C0 / (C0 + C3), which is the ratio of these, corresponds to g0, which is the gain value set initially.
[0294] Figure 26 This is a diagram illustrating a method for setting the second and third gain values according to a third embodiment of the present technology. In this diagram, a shows the setting of the second and third gain values at time T. d0 The subsequent timer T d1 The states of the offset control circuit 430 and the gain control circuit 410 are shown. In this figure, b shows the timing T. d2 The state of the offset control circuit 430 and the gain control circuit 410.
[0295] As shown in figure a, switch 413 at time T d1 Closed. Through this control, the voltage levels at the output terminals of capacitors 417, 418, 419, and 435 fluctuate, and the voltage level is denoted as V. o_d1 At this time, the charge Q of capacitor elements 417, 418, and 435 0_d1 Q 1_d1 and Q 3_d1 It is represented by the following expression.
[0296] Q 0_d1 = C0(V o_d1 - V i_d ...expression 23
[0297] Q 1_d1 = C1(V o_d1 - V i_d ...expression 24
[0298] Q 3_d1 = C3·V o_d1 …expression 25
[0299] Furthermore, according to the law of conservation of charge, the following expression holds true.
[0300] Q 0_p + Q 2_p + Q 3_p = Q 0_d1 + Q 1_d1 + Q 3_d1 …expression 26
[0301] By substituting the right sides of expressions 15, 17, and 18, as well as the right sides of expressions 23, 24, and 25, into expression 26 and transforming them, we obtain the following expression.
[0302] [Mathematical expression. 2] …expression 27 In expression 27, (C0 + C1) / (C0 + C1 + C3) corresponds to g1, which is the gain value set as the second setting.
[0303] Then, as shown in b of the figure, switch 415 at time T d2 Closure. In this case, the following expression is obtained by a method similar to that used when deriving expressions 22 and 27.
[0304] [Mathematical expression. 3] …expression 28 In expression 28, (C0 + C1 + C2) / (C0 + C1 + C2 + C3) corresponds to g2, which is the gain value set as the third setting.
[0305] like Figure 25 and Figure 26 As shown, the timing control circuit 230 can switch the gain value by controlling the switch connected to the capacitor element.
[0306] Figure 27 This is a graph illustrating the offset and gain values for each combination according to the third embodiment of the present technology. In graphs a, b, and c, the vertical axis indicates the level of pixel signal SIG1, and the horizontal axis indicates the level of pixel signal SIG0.
[0307] The gray area in figure a indicates the region where an edge is identified when the offset and gain values are set to "g0" and "-c0". The gray area in figure b indicates the region where an edge is identified when the offset and gain values are set to "g1" and "-c1". The gray area in figure c indicates the region where an edge is identified when the offset and gain values are set to "g2" and "-c2".
[0308] As shown in figures a, b, and c, when the combination of offset and gain values is switched, the region where edges are identified changes, and the detection result also changes. Therefore, compared to the first implementation where the offset and gain values are fixed, the amount of information is increased, and sensing performance is improved.
[0309] Figure 28 This is a flowchart illustrating an example of the operation of an image sensor 200 according to a third embodiment of the present technology. The operation of the image sensor 200 in the third embodiment differs from that in the first embodiment in that steps S911 to S913 are performed instead of step S904.
[0310] After step S903, comparator 450 compares SIG0 with SIG1. g0-c0. Additionally, comparator 465 compares SIG0. g0-c0 and SIG1 (step S911). Then, the timing control circuit 230 switches the gain value and offset value, and the comparator 450 compares SIG0 and SIG1. g1-c1. Additionally, comparator 465 compares SIG0. g1-c1 and SIG1 (step S912). Then, the timing control circuit 230 switches the gain value and offset value, and the comparator 450 compares SIG0 and SIG1. g2-c2. Additionally, comparator 465 compares SIG0. g2-c2 and SIG1 (step S913). After step S913, step S905 and subsequent steps are performed.
[0311] Note that the first and second variations of the first embodiment and the second embodiment can be applied to the third embodiment.
[0312] As described above, according to the third embodiment of the present technology, since the bit depth of the edge detection unit 400 output is increased by making the gain value and offset value variable, the sensing performance can be improved.
[0313] [First Variation]
[0314] In the third embodiment described above, DAC 220 generates an offset voltage V. ofs However, when the DAC 220 changes its value, it takes a certain amount of time until the changed voltage stabilizes. Therefore, the time required to detect edges is longer compared to the case where the offset value is not changed. The image sensor 200 of the first variation of the third embodiment differs from the image sensor of the third embodiment in that one of the multiple nodes with different offset voltages is connected to one end of the capacitor element.
[0315] Figure 29 This is a circuit diagram illustrating an example configuration of the offset control circuit 430 and the gain control circuit 410 in a first variation of the third embodiment of the present invention. The offset control circuit 430 in the first variation of the third embodiment differs from the offset control circuit in the first embodiment in that it also includes a switch 434.
[0316] Furthermore, switch 432 opens and closes one end of capacitor element 435 with offset voltage V according to control signal SW3b. ofsb The path between nodes. Switch 433 opens and closes one end of capacitor element 435 with offset voltage V according to control signal SW3c. ofsc The path between nodes. Switch 434 opens and closes one end of capacitor element 435 according to control signal SW3d, and the offset voltage V. ofsd The path between nodes. Note that switch 432 is an example of the first offset-side switch as described in the claim, and switch 434 is an example of the second offset-side switch as described in the claim.
[0317] Offset voltage V ofsb V ofsc and V ofsd The values correspond to the offset values c0, c1, and c2 mentioned above.
[0318] Note that the circuit configuration of offset control circuit 440 is similar to that of offset control circuit 430.
[0319] As shown in the figure, by switching the connection destination of one end of capacitor element 435 to the offset voltage V ofsb V ofsc and V ofsd Any one of the nodes can shorten the time required to detect edges compared to switching the output voltage of the DAC 220.
[0320] Note that the first and second variations of the first embodiment and the second embodiment can be applied to the first variation of the third embodiment.
[0321] As described above, according to the first variation of the third embodiment of the present technology, since the timing control circuit 230 switches the connection destination of one end of the capacitor element 435 to any one of the multiple nodes with different offset voltages, the time required to detect the edge can be shortened.
[0322] [Second variation]
[0323] In the third embodiment described above, the capacitors such as capacitors 417, 418, 419, and 435 in the edge detection unit 400 are connected to the comparator at the terminals on the output side, but the technology is not limited to this circuit configuration. The image sensor 200 of the second variation of the third embodiment differs from the image sensor of the third embodiment in that one end of the capacitor is grounded.
[0324] Figure 30 This is a circuit diagram illustrating an example configuration of the offset control circuit 430 and the gain control circuit 410 in a second variation of the third embodiment of the present invention. In the second variation of the third embodiment, the offset control circuit 430 includes switches 431, 432, and 433 and a capacitor element 435.
[0325] Switch 431 opens and closes the path between one end of capacitor element 435 and the vertical signal line VSL1 according to control signal SW3a. Switch 432 opens and closes the path between the other end of capacitor element 435 and the ground node according to control signal SW3b. Switch 433 opens and closes the offset voltage V according to control signal SW3c. ofs The path between the node and the other end of the capacitor element 435.
[0326] In addition, the gain control circuit 410 includes switches 411 to 416 and capacitor elements 417 to 419. The other end of each of capacitor elements 417, 418 and 419 is grounded.
[0327] Switch 411 opens and closes the path between one end of capacitor 417 and the connection point of switch 431 and capacitor 435 according to control signal SW0a. Switch 412 opens and closes the path between one end and the other end of capacitor 417 according to control signal SW0b. Switch 413 opens and closes the path between one end of capacitor 418 and the connection point of switch 431 and capacitor 435 according to control signal SW1a. Switch 414 opens and closes the path between one end and the other end of capacitor 418 according to control signal SW1b. Switch 415 opens and closes the path between one end of capacitor 419 and the connection point of switch 431 and capacitor 435 according to control signal SW2a. Switch 416 opens and closes the path between one end and the other end of capacitor 419 according to control signal SW2b.
[0328] In addition, capacitor 407 is inserted between the connection point of switch 431 and capacitor 435 and the non-inverting input terminal (+) of comparator 450.
[0329] Figure 31This is a diagram illustrating the control of maintaining the reset level and signal level in a second variation of the third embodiment of the present technology. In this diagram, a shows the timing T when the reset level is generated. p The states of the offset control circuit 430 and the gain control circuit 410 are shown. In this figure, b shows the timing T when the signal level is stable. d The state of the offset control circuit 430 and the gain control circuit 410.
[0330] In diagrams a and b, focus on switches 411, 413, and 415, while other switches are omitted.
[0331] As shown in Figure a, switches 411, 413, and 415 are in time T. p Closed. At this time, the level of the vertical signal line VSL1 (i.e., the reset level) is denoted as V. P Furthermore, the capacitance of capacitor element 417 is denoted as C3, the capacitance of capacitor element 418 as C2, the capacitance of capacitor element 419 as C1, and the capacitance of capacitor element 435 as C0. In this case, the amounts of charge Q3, Q2, Q1, and Q0 accumulated in capacitor elements 417, 418, 419, and 435, respectively, are represented by the following expressions.
[0332] Q0 = C0V P …expression 29
[0333] Q1 = C1V P …expression 30
[0334] Q2 = C2V P …expression 31
[0335] Q3 = C3V P …expression 32
[0336] Then, as shown in b of the figure, switches 411, 413 and 415 are activated at time T. d Disconnect. At this time, the level (i.e., signal level) of the vertical signal line VSL1 is V. D In this case, the amount of charge Q0′ accumulated in capacitor element 435 is represented by the following formula.
[0337] Q0′ = C0V D …expression 33
[0338] Figure 32 This is a diagram illustrating a method for setting the first to third gain values in a second variation of the third embodiment of the present technology. In this diagram, a shows the setting of the first to third gain values at time T. d The subsequent timer T d0The states of the offset control circuit 430 and the gain control circuit 410 are shown in Figure b. Figure b illustrates the state at subsequent timing T. d1 The states of the offset control circuit 430 and the gain control circuit 410 are shown in Figure b. Figure b illustrates the state at subsequent timing T. d2 The state of the offset control circuit 430 and the gain control circuit 410.
[0339] As shown in figure a, switch 415 at time T d0 Closed. Due to the charge distribution between capacitors 435 and 419, the voltage level at the input terminal of comparator 450 changes, and this voltage level is denoted as V. in In this case, the charges Q1′' and Q0′' of capacitor elements 435 and 419 are represented by the following expressions.
[0340] Q0′' = C0V in …expression 34
[0341] Q1′' = C1V in …expression 35
[0342] According to the law of conservation of charge, the following expression holds true.
[0343] Q0′ + Q1 = Q0′' + Q1′'… Expression 36
[0344] By substituting the right sides of expressions 30 and 33, as well as the right sides of expressions 34 and 35, into expression 36 and transforming them, we obtain the following expression.
[0345] [Expression 4] …expression 37 In expression 37, C0 / (C0 + C1) corresponds to g0, which is the gain value set first.
[0346] Then, as shown in b of the figure, switch 413 at time T d1 Closed. The charge Q2′' of capacitor element 418 after the charge distribution among capacitor elements 435, 419 and 418 is represented by the following expression.
[0347] Q2′' = C2V in …expression 38
[0348] According to the law of conservation of charge, the following expression holds true.
[0349] Q0′ + Q1 + Q2 = Q0′' + Q1′' + Q2′'… Expression 39
[0350] By substituting the right sides of expressions 30, 31, and 33, as well as the right sides of expressions 34, 35, and 38, into expression 39 and transforming them, we obtain the following expression.
[0351] [Mathematical expression. 5] …expression 40 In expression 40, C0 / (C0 + C1 + C2) corresponds to g1, which is the gain value set as the second setting.
[0352] Then, as shown in c of the figure, switch 411 at time T d2 Closed. The following expression is obtained by a method similar to that of expression 37 or expression 40.
[0353] [Mathematical expression. 6] …expression 41 In expression 41, C0 / (C0 + C1 + C2 + C3) corresponds to g2, which is the gain value set as the third setting.
[0354] like Figure 31 and Figure 32 As shown, the gain value can be switched by grounding one end of capacitor elements 417, 418 and 419 and using timing control circuit 230 to control switches 411, 413 and 415 connected to the other end.
[0355] Note that the second embodiment can be applied to a second variation of the third embodiment.
[0356] As described above, the gain value can be made variable by grounding one end of capacitor elements 417, 418 and 419 and using timing control circuit 230 to control switches 411, 413 and 415 connected to the other end.
[0357] [Third variation]
[0358] In the third embodiment described above, the gain control circuit 410 includes a capacitor and a switch, but the circuit configuration of the gain control circuit 410 is not limited to this configuration. The image sensor 200 in the third variation of the third embodiment differs from the image sensor in the third embodiment in that the gain control circuit 410 includes an amplifier, a capacitor, and a switch.
[0359] Figure 33This is a circuit diagram illustrating an example configuration of the offset control circuit 430 and the gain control circuit 410 in a third variation of the third embodiment of the present invention. The difference between the offset control circuit 430 in the third variation of the third embodiment and the offset control circuit in the third embodiment is that the switch 431 is omitted.
[0360] In addition, capacitor 407 is inserted between the vertical signal line VSL0 and the non-inverting input terminal (+) of comparator 450.
[0361] Furthermore, the gain control circuit 410 in the third variation of the third embodiment includes capacitor elements 491, 417, 418 and 419, amplifier 492, and switches 411, 412, 413 and 414.
[0362] Capacitor 491 is inserted between the vertical signal line VSL1 and the input terminal of amplifier 492. One end of each capacitor 417, 418, and 419 is connected to the output terminal of amplifier 492.
[0363] Switch 411 opens and closes the path between the input terminal of amplifier 492 and the other end of capacitor element 417 according to the control signal SW0 from timing control circuit 230. Switch 412 opens and closes the path between the input terminal of amplifier 492 and the other end of capacitor element 418 according to the control signal SW1 from timing control circuit 230. Switch 413 opens and closes the path between the input terminal of amplifier 492 and the other end of capacitor element 419 according to the control signal SW2 from timing control circuit 230.
[0364] Switch 414 opens and closes the path between the input and output terminals of amplifier 492 according to the automatic zeroing signal AZ.
[0365] Furthermore, capacitor 406 is inserted between the output terminal of amplifier 492 and the inverting input terminal (-) of comparator 450. Since gain control circuit 410 uses amplifier 492 to perform amplification, its output is input to the inverting input terminal (-) of comparator 450.
[0366] The timing control circuit 230 can switch the gain value by controlling switches 411, 412 and 413 to change the value of the capacitor connected in parallel with amplifier 492.
[0367] Note that the circuit configurations of gain control circuit 420 and offset control circuit 440 are similar to those of gain control circuit 410 and offset control circuit 430.
[0368] Furthermore, the second embodiment can be applied to a third variation of the third embodiment.
[0369] As described above, according to the third variation of the third embodiment of the present technology, the gain value can be made variable by changing the value of the capacitor connected in parallel with the amplifier 492 by the timing control circuit 230.
[0370] <4. Fourth Implementation Method>
[0371] In the third embodiment described above, multiple gain values are set sequentially, but it is preferable to further reduce power consumption. The image sensor 200 in the fourth embodiment differs from the image sensor in the third embodiment in that comparators 450 and 465 are stopped when an edge is detected.
[0372] Figure 34 This is a diagram used to describe the control of the timing control circuit 230 according to the fourth embodiment of the present technology.
[0373] In the fourth embodiment, latch circuits 481 to 486 also output the held comparison results to timing control circuit 230. Timing control circuit 230 sets multiple gain values in ascending order. Then, timing control circuit 230 refers to comparison results VCO0 and VCO1 corresponding to the set gain values. As described above, if the values of comparison results VCO0 and VCO1 are different, an edge is detected. Timing control circuit 230 stops comparators 450 and 465 when the values of comparison results VCO0 and VCO1 are different (i.e., an edge is detected).
[0374] Figure 35 This is a timing diagram illustrating an example of the operation of an image sensor 200 according to a fourth embodiment of the present technology. The control associated with each of the selection signal SEL, reset signal RST, transfer signal TRG, auto-zero signal AZ, and control signals SW0a to SW3c in the fourth embodiment is similar to the control in the third embodiment.
[0375] For example, suppose that at a timing T corresponding to the first gain value (in other words, the minimum gain value) d0 At this point, the comparison result VCO0 goes low, and the comparison result VCO1 goes high. These comparison results indicate that an edge has been detected. If an edge is detected at a specific gain value, it will be detected similarly even if other gain values larger than that specific gain value are set. Therefore, the detection results will not change thereafter, and comparators 450 and 465 do not need to be operated. Therefore, the timing control circuit 230 stops these comparators. This control reduces power consumption compared to not stopping the comparators.
[0376] Note that in multiple combinations, all offset values can be the same (in other words, fixed values) or different (in other words, variable values).
[0377] Figure 36 This is a flowchart illustrating an example of the operation of an image sensor 200 according to a fourth embodiment of the present technology. The operation of the image sensor 200 in the fourth embodiment differs from that in the first embodiment in that steps S921 to S923 are performed instead of step S905.
[0378] The timing control circuit 230 determines whether an edge exists based on the comparison results VCO0 and VCO1 (step S921). If an edge exists (step S921: yes), the timing control circuit 230 stops comparators 450 and 465 and executes step S906 and subsequent steps.
[0379] If no edge exists (step S921: No), the timing control circuit 230 determines whether all gain values have been evaluated (step S922). If all gain values have been evaluated (step S922: Yes), the timing control circuit 230 executes step S906 and subsequent steps. If all gain values have not been evaluated (step S922: No), the timing control circuit 230 changes the gain value to the next larger value (step S923) and executes step S904 and subsequent steps.
[0380] Note that the first and second variations of the first embodiment, the second embodiment, and the first, second, and third variations of the third embodiment can be applied to the fourth embodiment.
[0381] As described above, according to the fourth embodiment of the present technology, since the timing control circuit 230 stops comparators 450 and 465 when an edge is detected, power consumption can be reduced.
[0382] <5. Fifth Implementation Method>
[0383] In the first embodiment described above, the circuitry is arranged on a single semiconductor chip, but in this configuration, it may be difficult to miniaturize the pixels. The image sensor 200 in the fifth embodiment differs from the image sensor in the first embodiment in that the circuitry is distributed across multiple stacked semiconductor chips.
[0384] Figure 37 This is a diagram illustrating an example of a stacked configuration of an image sensor 200 according to a fifth embodiment of the present technology. The image sensor 200 in the fifth embodiment includes a circuit chip 202 and pixel chips 201 stacked on the circuit chip 202. These chips are electrically connected to each other via connection portions such as through-holes. Note that these chips can be connected to each other using Cu-Cu bonding or bumps instead of through-holes.
[0385] The pixel chip 201 includes a pixel array unit 240, a north column signal processing circuit 301, and a south column signal processing circuit 302.
[0386] The north column signal processing circuit 301 reads pixel signals and edge judgment results from half of the pixels (odd-numbered columns, etc.) in the pixel array unit 240, and the south column signal processing circuit 302 reads pixel signals from the remaining half. Various peripheral circuits, such as the signal processing circuit 290, are arranged on the circuit chip 202.
[0387] Note that, as Figure 38 As shown, the pixel array unit 240 can also be arranged on the pixel chip 201, and the remaining circuits can be arranged on the circuit chip 202.
[0388] like Figure 37 and Figure 38 As shown, pixel miniaturization can be facilitated by distributing the circuitry across the pixel chip 201 and circuit chip 202, which are stacked on top of each other. Note that more than three semiconductor chips can also be stacked, and the circuitry can be arranged on the semiconductor chips.
[0389] Note that each of the first and second variations of the first embodiment, the second embodiment, the third embodiment, the first, second and third variations of the third embodiment, and the fourth embodiment can be applied to the fifth embodiment.
[0390] As described above, according to the fifth embodiment of the present technology, since the circuits are distributed on the pixel chip 201 and circuit chip 202 stacked on top of each other, pixel miniaturization is facilitated.
[0391] <6. Sixth Implementation Method>
[0392] In the first embodiment described above, offset control circuits 430 and 440 superimpose offset c onto at least one of a pair of pixel signals. Hereinafter, offset c will be referred to as "edge offset," and its setting will be described.
[0393] Figure 39 This includes graphs showing the occurrence rate of each level under low illumination in a comparative example and the first embodiment of the present technology. In this graph, a shows an example of the occurrence rate under low illumination in the comparative example without superimposed edge offset, and b shows the occurrence rate under low illumination in the first embodiment with superimposed edge offset. The thin solid line indicates the occurrence rate of each level of pixel signal SIG0, and the dotted line indicates the occurrence rate of each level of pixel signal SIG1. The thick line indicates the occurrence rate of each level of the differential signal of pixel signals SIG0 and SIG1. Furthermore, the gray areas indicate regions where edges are misjudged due to noise components. Under low illumination conditions, the gain g can be ignored.
[0394] As shown in Figures a and b, the noise components are distributed normally. Furthermore, as shown in Figure b, by superimposing edge offsets, misjudgments under low illumination are reduced.
[0395] Figure 40 This diagram illustrates an example of an edge image under low light conditions according to a first embodiment of the present technology. Here, the edge image is an image with pixels arranged as edge determination results. In the first embodiment, edge images 701, 702, and 703 are generated by changing the edge offset value under low light conditions.
[0396] Assume that the edge offset corresponding to edge image 701 is the smallest, the edge offset corresponding to edge image 702 is greater than the edge offset corresponding to edge image 701, and the edge offset corresponding to edge image 703 is greater than the edge offset corresponding to edge image 702.
[0397] As shown in the figure, the misjudgments of edges become the largest noise in edge image 701. The number of misjudgments in edge image 702 is less than the number of misjudgments in edge image 701, and the number of misjudgments in edge image 703 is less than the number of misjudgments in edge image 702.
[0398] As mentioned above, as the edge offset increases, false positives decrease. However, if the edge offset is too large, it becomes impossible to identify edges with small differences between a pair of pixel signals, and the accuracy of object recognition deteriorates. Therefore, it is necessary to perform management to bring the edge offset to an appropriate value.
[0399] Figure 41 This is a graph illustrating an example of the edge ratio for each edge offset under low illumination according to a first embodiment of the present technology. Here, the edge ratio indicates the ratio of the total number of pixels to the number of pixels in the edge image where an edge was detected. In this graph, the vertical axis represents the edge ratio, and the horizontal axis represents the edge offset. Dashed lines indicate ideal characteristics, and solid curves are obtained by plotting actual obtained evaluation values. Dotted lines indicate target values for the edge ratio.
[0400] As shown in the figure, ideally, when the edge offset is close to "0", the edge ratio is close to "0.5". However, the comparator's input offset often varies for each column, and due to this variation, the comparator's operating point varies for each column, resulting in an error in the comparator's output signal. Due to this output error, the edge ratio deviates from the ideal value. The image sensor 200 in the sixth embodiment differs from the image sensor in the first embodiment in that it includes circuitry for eliminating the comparator's output error.
[0401] Figure 42This is a block diagram illustrating a configuration example of an edge detection unit 400 according to a sixth embodiment of the present technology. The edge detection unit 400 of the sixth embodiment differs from the edge detection unit of the first embodiment in that it further includes error elimination circuits 600 and 601.
[0402] Error cancellation circuit 600 eliminates the error in the output signal of comparator 450. Error cancellation circuit 601 eliminates the error in the output signal of comparator 465.
[0403] The pixel signal input to the non-inverting input (+) of comparator 450 is DIFF_A, and the pixel signal input to the inverting input (-) is DIFF_B. The output signal of comparator 450 is VOUT2. The error cancellation circuit 600 cancels the error of the output signal VOUT2 and outputs the result as the comparison result VCO.
[0404] Note that in this figure, the edge detection unit 400 performs offset control and gain control on one of the pixel signals SIG0 and SIG1, but the technique is not limited to this configuration.
[0405] For example, such as Figure 43 As shown, the edge detection unit 400 can also perform gain control on one of the pixel signals SIG0 and SIG1, and offset control on the other.
[0406] In addition, such as Figure 19 As shown, the edge detection unit 400 of the sixth embodiment can also perform gain control and offset control on both pixel signals SIG0 and SIG1.
[0407] Figure 44 This is a circuit diagram illustrating an example configuration of the comparator 450 and the error cancellation circuit 600 according to a sixth embodiment of the present technology. The circuit configuration of the comparator 450 is similar to that in the first embodiment. Note that the output signal from the connection node of the pMOS transistor 452 and the nMOS transistor 457 is VOUT1.
[0408] In addition, the error elimination circuit 600 includes nMOS transistors 611 and 612, pMOS transistor 621, capacitor element 631, and switch 641.
[0409] One end of capacitor 631 on the input side is connected to the output node of comparator 450. nMOS transistor 611 connects one end of capacitor 631 on the input side to a reference voltage VSS (such as ground voltage) according to a reset signal ADD_RST from timing control circuit 230. Capacitor 631 can be initialized by the reset signal ADD_RST.
[0410] pMOS transistor 621 and nMOS transistor 612 are connected in series between the power supply voltage VDD and the reference voltage VSS. The gates of pMOS transistor 621 and nMOS transistor 612 are connected together to one end of capacitor element 631 on the output side. In addition, VCO, indicating the comparison result, is output from the connection node of pMOS transistor 621 and nMOS transistor 612.
[0411] Switch 641 opens and closes the path between one end of capacitor element 631 on the output side and the connection node of pMOS transistor 621 and nMOS transistor 612 according to the control signal ADD_PLS from timing control circuit 230. For example, assume that switch 641 is closed when the control signal ADD_PLS is high.
[0412] Using the circuit configuration shown in the figure, the error cancellation circuit 600 can superimpose the offset used to compensate for the input offset onto the output signal VOUT2 of the comparator 450, and eliminate the output error of the comparator 450. The offset superimposed to eliminate the error will be referred to as the "compensation offset".
[0413] Note that the circuit configuration of comparator 450 and error elimination circuit 600 is not limited to the circuit configuration shown in this figure.
[0414] like Figure 45 As shown, a capacitor element 493 and a pMOS transistor 494 can be further provided in the comparator 450. In addition, a switch 642, nMOS transistors 613 and 614, and pMOS transistors 622 and 623 can be further provided in the error cancellation circuit 600.
[0415] In comparator 450, capacitor 493 is inserted between the nodes of power supply voltage VDD and VOUT1. pMOS transistor 494 short-circuits capacitor 493 based on a reset signal CMP_RST from timing control circuit 230. Capacitor 493, used as a low-pass filter, can be initialized by the reset signal CMP_RST.
[0416] In the error elimination circuit 600, switch 642 short-circuits the two ends of capacitor element 631 according to the control signal ADD_REG from timing control circuit 230. For example, assume that switch 642 is closed when the control signal ADD_REG is high.
[0417] Here, it is assumed that the second embodiment, which allows switching between edge detection mode and imaging mode, can be applied to the image sensor 200 in the sixth embodiment.
[0418] In the second embodiment, in edge detection mode, the timing control circuit 230 sets the control signal ADD_REG low and opens the switch 642, for example. Conversely, in imaging mode, the timing control circuit 230 sets the control signal ADD_REG high and closes the switch 642, for example.
[0419] In addition, pMOS transistor 622 is inserted between the power supply voltage VDD and nMOS transistor 612, and nMOS transistor 613 is inserted between nMOS transistor 612 and reference voltage VSS.
[0420] pMOS transistor 623 and nMOS transistor 614 are connected in series between the power supply voltage VDD and the reference voltage VSS. Furthermore, an enable signal ADD_EN from the timing control circuit 230 is input to the gates of pMOS transistor 623 and nMOS transistor 614. The connection node of pMOS transistor 623 and nMOS transistor 614 is connected to the gates of pMOS transistor 622 and nMOS transistor 613.
[0421] The ADD_EN signal enables or disables the error elimination circuit 600.
[0422] Figure 46 This is a diagram illustrating an example of the input signal of the comparator 450 according to the sixth embodiment of the present technology, as well as the output signal of the comparator 450 and the error elimination circuit 600.
[0423] When the level of the input signal DIFF_A of comparator 450 is higher than the level of the input signal DIFF_B, VOUT1, the first-stage output of comparator 450, goes high, and VOUT2, the second-stage output, goes low. The final output signal VCO of the error cancellation circuit 600 goes high. The edge detection result EG, for example, goes low, indicating that no edge exists.
[0424] On the other hand, when the level of the input signal DIFF_A of comparator 450 is lower than the level of the input signal DIFF_B, VOUT1 goes low and VOUT2 goes high. The output signal VCO of the error cancellation circuit 600 goes low. The edge detection result EG, for example, goes high, indicating the presence of an edge.
[0425] Next, we will refer to Figure 47 and Figure 48 Describe the error eliminated by the error elimination circuit 600.
[0426] Figure 47This is a graph illustrating an example of the edge ratio and variance of each edge offset according to a sixth embodiment of the present technology. In this graph, the horizontal axis represents the VSL equivalent value of the offset (i.e., the edge offset) superimposed for edge detection, and the vertical axis represents the edge ratio and its variance σ. Assuming a target value of 2.5 for the variance σ, the VSL equivalent value of the desired offset is the value indicated by the arrow.
[0427] In the case of an ideal comparator 450 without input offset, the edge ratio should be close to 0.5 as the edge offset decreases. However, in the example in this figure, the edge ratio is close to 0.9.
[0428] For example, such as Figure 48 As shown, the phenomenon observed is that the offset (i.e., the input offset) cm generated in comparator 450 is added to the vertical signal line VSL0.
[0429] The outputs VOUT2 of comparator 450 and VCO, the final output, vary due to process-voltage-temperature (PVT) variations and component variations. When variations are absorbed solely by edge offset, the edge offset must be set assuming maximum mismatch. In this case, the dead zone at the edge expands in many situations, degrading the detection limit under low illumination.
[0430] To address this issue, in the error elimination circuit 600, a capacitor element 631 is inserted between VOUT2 and VCO, and auto-zeroing is performed using the control signal ADD_PLS after the auto-zeroing of the comparator 450 based on the auto-zeroing signal AZ is canceled.
[0431] For example, such as Figure 49 As shown, the timing control circuit 230 changes the auto-zero signal AZ from high to low at timing T10, and then changes the inverting signals XAZPR and XAZPL from low to high at timing T11. The timing control circuit 230 sets the control signal ADD_PLS high for one pulse cycle starting from the immediately following timing T12. Furthermore, the control signal ADD_REG is controlled to low. This operation eliminates the F / T error caused by input offset.
[0432] However, after the auto-zeroing of comparator 450 at timing T11 is canceled, comparator 450 operates as an amplifier and has a gain corresponding to two stages. Therefore, VOUT2 may vary from VSS to VDD due to noise. Consequently, VOUT2 is mostly an output with edges due to input offset, and rarely falls below the theoretical threshold and has no edges. As a result, without the elimination of errors by error cancellation circuit 600, the edge ratio becomes approximately 0.9 as described above. The dotted line in the figure indicates the trajectory of VOUT2 when edges are absent.
[0433] When switching between imaging mode and edge detection mode, in imaging mode, the timing control circuit 230 sets the control signal ADD_PLS to a low level and the control signal ADD_REG to a high level. The thick dashed line in the figure indicates the level of the control signal in imaging mode.
[0434] In imaging mode, comparator noise is eliminated through CDS processing, in which AD conversion is performed on each of the reset level and signal level, and the differential component is processed as a net signal. On the other hand, in edge detection mode, since CDS processing is not performed, noise cannot be completely removed, and an error cancellation circuit 600 is required.
[0435] Figure 50 This is a diagram illustrating the operation of the error cancellation circuit in the sixth embodiment of this technology. As shown in a of the diagram, it is assumed that the level of pixel signal SIG0 on vertical signal line VSL0 is higher than the level of pixel signal SIG1 on vertical signal line VSL1.
[0436] For example, as shown in Figure b, assume that pixel signal SIG1 is attenuated by gain G, and edge offset c is superimposed on pixel signal SIG0. As a result, DIFF_A, which is the input signal of comparator 450 on the VSL1 side, becomes lower than DIFF_B, which is the input signal on the VSL0 side. Ideally, comparator 450 can output these comparison results as VCO output.
[0437] However, as shown in Figure c, in the actual comparator 450, an input offset cm is generated and added to the input signal DIFF_A. In the first embodiment without the error cancellation circuit 600, due to this input offset, the level of the input signal DIFF_A becomes lower than the level of the input signal DIFF_B, and an error is generated in the VCO.
[0438] Therefore, as shown in d of the figure, in the sixth embodiment, the error cancellation circuit 600 superimposes cm′, which serves as a compensation offset for compensating the input offset cm, onto VOUT2. This is equivalent to adding cm′ to the input signal DIFF_B, and the error caused by the input offset can be eliminated.
[0439] Since the added compensation offset only eliminates the input offset, the dead zone at the edges will not expand. However, in the case of varying input offsets, in order to keep the variance σ of the edge ratio within the target value (e.g., 2.5), an edge offset with a value capable of absorbing the change is needed. Therefore, it should be noted that the dead zone may expand near corners where the difference between a pair of pixel signals is minimal.
[0440] If the edge offset is related to the input offset, the detection limit of low-light edges can be improved by the error elimination circuit 600.
[0441] Note that each of the second to fifth embodiments can be applied to the sixth embodiment.
[0442] As described above, according to the sixth embodiment of the present technology, since the error elimination circuit 600 eliminates the output error of the comparator 450, the edge detection accuracy under low light conditions can be improved.
[0443] [Variation Example]
[0444] In the sixth embodiment described above, the error cancellation circuit 600 is arranged on the output side of each comparator, but it is preferable to improve area efficiency. The image sensor 200 in the variation of the sixth embodiment differs from the image sensor in the sixth embodiment in that it is provided with an error cancellation circuit 600 shared by comparators in different columns.
[0445] Figure 51 This is a block diagram illustrating an example configuration of the column signal processing circuit 300 in a variation of the sixth embodiment of the present technology. The column signal processing circuit 300 in the variation of the sixth embodiment includes a replication circuit 650 and an error cancellation circuit 600. The error cancellation circuit 600 is commonly connected to one of a pair of input terminals (e.g., the non-inverting input terminal) of the comparators (e.g., comparators 450 and 465) of the corresponding column.
[0446] Figure 52 This is a circuit diagram showing an example configuration of the replication circuit 650 and the error elimination circuit 600 according to a modified example of the sixth embodiment of the present technology.
[0447] The replication circuit 650 includes pMOS transistors 651 to 655, nMOS transistors 656 to 660, and capacitors 661 to 663. The connection configuration of these components is similar to that of the components in comparator 450. Furthermore, the same bias voltage Vb (supply voltage, etc.) is input to a pair of input terminals of the replication circuit 650.
[0448] The error elimination circuit 600 of the sixth embodiment differs from that of the error elimination circuit 600 of the sixth embodiment in that it also includes an amplifier 643. The amplifier 643 amplifies the potential of the connection node between the pMOS transistor 621 and the nMOS transistor 612, and outputs the amplified potential as a VCO to each comparator.
[0449] The timing control circuit 230 sets the control signal ADD_RST low when the comparator is automatically zeroed. As a result, the error cancellation circuit 600 can sample the input offset of the replication circuit 650.
[0450] Then, after automatic zeroing, the timing control circuit 230 sets the control signal ADD_RST high and the control signal ADD_PLS high within the pulse period. As a result, the error cancellation circuit 600 can maintain the sampled input offset and superimpose the sampled input offset as a compensation offset onto one of the comparator's input signals DIFF_A and DIFF_B. For example, when the input offset is added to the input signal DIFF_B, the error cancellation circuit 600 superimposes the compensation offset onto the input signal DIFF_A.
[0451] Using the circuit configuration described above, comparator output errors caused by PVT variations can be eliminated. By incorporating this into the offset function without modifying the comparator circuitry, the detection limit under low light conditions can be effectively improved.
[0452] In a variation of the sixth embodiment, since it is not necessary to arrange the error elimination circuit 600 for each column, the area efficiency is better than that of the sixth embodiment. However, it should be noted that the mismatch component of each comparator cannot be removed.
[0453] Note that in a variation of the sixth embodiment, a configuration with... Figure 45 The circuit shown includes an error elimination circuit 600 and a comparator.
[0454] As described above, according to a variation of the sixth embodiment of the present technology, since the error elimination circuit 600 superimposes the compensation offset onto each input signal of the comparator, the area efficiency can be improved compared to the sixth embodiment.
[0455] <6. Examples of application to moving bodies>
[0456] The technology disclosed herein (the Technology) can be applied to a variety of products. For example, the Technology disclosed herein can be implemented as a device installed on any type of mobile body (such as a car, electric vehicle, hybrid electric vehicle, motorcycle, bicycle, personal mobile device, aircraft, drone, ship, or robot).
[0457] Figure 53 This is a block diagram illustrating a schematic configuration example of a vehicle control system, which is an example of a mobile body control system to which the technology of this disclosure is applicable.
[0458] The vehicle control system 12000 includes multiple electronic control units interconnected via a communication network 12001. Figure 53In the example shown, the vehicle control system 12000 includes a drive system control unit 12010, a body system control unit 12020, an external information detection unit 12030, an internal information detection unit 12040, and an integrated control unit 12050. Furthermore, a microcomputer 12051, an audio / image output unit 12052, and an in-vehicle network interface (I / F) 12053 are shown as functional configurations of the integrated control unit 12050.
[0459] The drive system control unit 12010 controls the operation of devices related to the vehicle's drive system according to various programs. For example, the drive system control unit 12010 acts as a control device to control: drive force generating devices (such as internal combustion engines, drive motors, etc.) for generating the vehicle's driving force, drive force transmission mechanisms for transmitting the driving force to the wheels, steering mechanisms for adjusting the vehicle's steering angle, braking devices for generating the vehicle's braking force, etc.
[0460] The body system control unit 12020 controls the operation of various types of devices installed on the vehicle body according to various programs. For example, the body system control unit 12020 acts as a control device to control: keyless entry systems, smart key systems, power windows, or various lights such as headlights, reversing lights, brake lights, turn signals, fog lights, etc. In this case, radio waves transmitted from the moving device that replaces the key or signals from various switches can be input to the body system control unit 12020. The body system control unit 12020 receives these input radio waves or signals and controls the vehicle's door locking devices, power windows, lights, etc.
[0461] The exterior information detection unit 12030 detects information about the exterior of the vehicle, including the vehicle control system 12000. For example, the exterior information detection unit 12030 is connected to an imaging unit 12031. The exterior information detection unit 12030 causes the imaging unit 12031 to image the exterior of the vehicle and receives the image. Based on the received image, the exterior information detection unit 12030 can perform processing to detect objects (such as people, vehicles, obstacles, signs, road markings, etc.) or to determine the distance to detected objects.
[0462] The imaging unit 12031 is an optical sensor that receives light and outputs an electrical signal corresponding to the amount of light received. The imaging unit 12031 can output an electrical signal as an image, or an electrical signal as information about the measured distance. Furthermore, the light received by the imaging unit 12031 can be visible light, or invisible light such as infrared light.
[0463] The in-vehicle information detection unit 12040 detects information about the interior of the vehicle. The in-vehicle information detection unit 12040 is connected, for example, to a driver state detection unit 12041 that detects the driver's state. The driver state detection unit 12041 includes, for example, a camera that images the driver. Based on the detection information input from the driver state detection unit 12041, the in-vehicle information detection unit 12040 can calculate the driver's fatigue level or the driver's level of concentration, or it can determine whether the driver is dozing off.
[0464] The microcomputer 12051 can calculate control target values for the drive force generation device, steering mechanism, or braking device based on information about the vehicle's interior or exterior obtained by the external information detection unit 12030 or the internal information detection unit 12040, and output control commands to the drive system control unit 12010. For example, the microcomputer 12051 can perform cooperative control aimed at realizing functions of an advanced driver assistance system (ADAS), including collision avoidance or impact mitigation for the vehicle, following driving based on following distance, speed-maintaining driving, vehicle collision warning, and lane departure warning.
[0465] Furthermore, the microcomputer 12051 can control the drive force generation device, steering mechanism, braking device, etc., based on information about the exterior or interior of the vehicle obtained by the external information detection unit 12030 or the internal information detection unit 12040, and perform cooperative control intended for autonomous driving, which enables the vehicle to drive automatically without relying on the driver's operation, etc.
[0466] Furthermore, the microcomputer 12051 can output control commands to the body system control unit 12020 based on information about the exterior of the vehicle obtained by the exterior information detection unit 12030. For example, the microcomputer 12051 can control the headlights by changing them from high beam to low beam, for example, based on the position of the vehicle in front or oncoming vehicle detected by the exterior information detection unit 12030, thereby performing cooperative control aimed at preventing glare.
[0467] The sound / image output unit 12052 transmits an output signal of at least one of sound and image to an output device capable of visually or audibly notifying passengers of the vehicle or the outside of the vehicle. Figure 53 In the example, audio speaker 12061, display unit 12062, and instrument panel 12063 are shown as output devices. Display unit 12062 may include, for example, at least one of an in-vehicle display and a head-up display.
[0468] Figure 54 This is a diagram showing an example of the mounting position of the imaging unit 12031.
[0469] exist Figure 54 In the imaging unit 12031, there are imaging units 12101, 12102, 12103, 12104 and 12105.
[0470] Imaging units 12101, 12102, 12103, 12104, and 12105 are, for example, arranged at the front nose, side mirrors, rear bumper, and rear door of vehicle 12100, as well as at the upper part of the windshield inside the vehicle. Imaging unit 12101 at the front nose and imaging unit 12105 at the upper part of the windshield inside the vehicle primarily acquire images of the front of vehicle 12100. Imaging units 12102 and 12103 at the side mirrors primarily acquire images of the sides of vehicle 12100. Imaging unit 12104 at the rear bumper or rear door primarily acquires images of the rear of vehicle 12100. Imaging unit 12105 at the upper part of the windshield inside the vehicle is mainly used to detect vehicles, pedestrians, obstacles, signals, traffic signs, lanes, etc., ahead.
[0471] Notice, Figure 54 Examples of the imaging ranges of imaging units 12101 to 12104 are shown. Imaging range 12111 represents the imaging range of imaging unit 12101 installed at the front nose. Imaging ranges 12112 and 12113 represent the imaging ranges of imaging units 12102 and 12103 installed at the side mirrors, respectively. Imaging range 12114 represents the imaging range of imaging unit 12104 installed at the rear bumper or rear door. For example, a bird's-eye view of the vehicle 12100 viewed from above is obtained by overlaying image data captured by imaging units 12101 to 12104.
[0472] At least one of the imaging units 12101 to 12104 may have the function of obtaining distance information. For example, at least one of the imaging units 12101 to 12104 may be a stereo camera composed of multiple imaging elements, or may be an imaging element having pixels for phase difference detection.
[0473] For example, the microcomputer 12051 can determine the distance to each three-dimensional object within the imaging range 12111 to 12114 and the time change of that distance (relative speed to the vehicle 12100) based on distance information obtained from the imaging units 12101 to 12104, and thereby extract the nearest three-dimensional object as the vehicle ahead, which is specifically located on the driving path of the vehicle 12100 and is traveling in substantially the same direction as the vehicle 12100 at a predetermined speed (e.g., equal to or greater than 0 km / h). Furthermore, the microcomputer 12051 can preset the following distance to be maintained from the vehicle ahead and execute automatic braking control (including follow-stop control), automatic acceleration control (including follow-start control), etc. Therefore, it is possible to execute cooperative control intended for autonomous driving, which allows the vehicle to drive automatically without relying on driver operation, etc.
[0474] For example, the microcomputer 12051 can classify three-dimensional object data about three-dimensional objects into three-dimensional object data of two-wheeled vehicles, standard-sized vehicles, large vehicles, pedestrians, utility poles, and other three-dimensional objects based on distance information obtained from imaging units 12101 to 12104, extract the classified three-dimensional object data, and use the extracted three-dimensional object data for automatic obstacle avoidance. For example, the microcomputer 12051 identifies obstacles around vehicle 12100 as obstacles that the driver of vehicle 12100 can visually recognize and obstacles that are difficult for the driver of vehicle 12100 to visually recognize. Then, the microcomputer 12051 determines the collision risk, which indicates the risk of colliding with each obstacle. If the collision risk is equal to or higher than a set value and there is therefore a possibility of collision, the microcomputer 12051 outputs an alarm to the driver via audio speaker 12061 or display unit 12062, and performs forced deceleration or evasive steering via drive system control unit 12010. Thus, the microcomputer 12051 can assist driving to avoid collisions.
[0475] At least one of the imaging units 12101 to 12104 can be an infrared camera that detects infrared light. For example, the microcomputer 12051 can identify a pedestrian by determining whether a pedestrian exists in the image captured by the imaging units 12101 to 12104. This pedestrian identification is performed, for example, by a program that extracts feature points from the image captured by the imaging units 12101 to 12104, which are infrared cameras, and a program that determines whether it is a pedestrian by performing pattern matching processing on a series of feature points representing the outline of an object. When the microcomputer 12051 determines that a pedestrian exists in the image captured by the imaging units 12101 to 12104 and thus identifies the pedestrian, the sound / image output unit 12052 controls the display unit 12062 so that a square outline for emphasis is displayed superimposed on the identified pedestrian. The sound / image output unit 12052 can also control the display unit 12062 so that an icon or the like representing a pedestrian is displayed at a desired location.
[0476] Examples of vehicle control systems to which the technology according to this disclosure can be applied have been described above. The technology according to this disclosure can be applied to, for example, the imaging unit 12031 in the configuration described above. Specifically, Figure 1 The imaging device can be applied to the imaging unit 12031. By applying the technology according to this disclosure to the imaging unit 12031, the accuracy of edge detection, the accuracy of image recognition, and the reliability of the vehicle control system can be improved.
[0477] Note that the above embodiments are examples for implementing this technology, and the matters in the embodiments correspond to the matters of the invention specified in the claims. Similarly, the matters of the invention specified in the claims correspond to the matters with the same names in the embodiments of this technology. However, this technology is not limited to the embodiments and can be implemented by making various modifications to the embodiments without departing from the spirit of this technology.
[0478] Note that the effects described in this manual are merely illustrative and not limiting, and other effects may be provided.
[0479] Note that this technology can also have the following configurations.
[0480] (1) A sensing device, comprising: The gain control circuit performs gain control by increasing or decreasing at least one of a pair of pixel signals by a predetermined gain. An offset control circuit performs control to superimpose a predetermined offset onto at least one of a pair of pixel signals as offset control; and The comparator compares a pair of pixel signals that have undergone gain and offset control, and outputs the comparison result.
[0481] (2) The sensing device according to (1) further includes: The timing control circuit sequentially selects multiple combinations, each including offset and gain values, and sets the selected combinations in the gain control circuit and offset control circuit.
[0482] (3) The sensing device according to (2) further includes: a plurality of latching circuits that hold the comparison result corresponding to each of the plurality of combinations.
[0483] (4) The sensing device according to (2) or (3), wherein, The timing control circuit sets the gain values in ascending order, and Stop the comparator if an edge is detected.
[0484] (5) A sensing device according to any one of (1) to (4), wherein, The gain control circuit includes: First capacitor element; Second capacitor element; A first switch, opening and closing the path between the first capacitive element and the vertical signal line transmitting one of a pair of pixel signals; and The second switch opens and closes the path between the second capacitor element and the vertical signal line that transmits one of a pair of pixel signals.
[0485] (6) According to the sensing device of (5), wherein, The other end of each of the first and second capacitor elements is connected to the comparator.
[0486] (7) According to the sensing device of (5), wherein, The other end of each of the first and second capacitor elements is connected to a ground node.
[0487] (8) A sensing device according to any one of (1) to (4), wherein, The gain control circuit includes: Amplifier; A capacitor element having one end connected to the output terminal of the amplifier; and A switch opens and closes the path between the input terminals of an amplifier and the other end of a capacitor element.
[0488] (9) A sensing device according to any one of (1) to (8), wherein, The offset control circuit includes: Capacitor components; Offset-side switch, opening and closing the path between the offset input node and one end of the capacitor element; and A pixel-side switch opens and closes the path between the vertical signal line transmitting one of a pair of pixel signals and one end of a capacitive element.
[0489] (10) According to the sensing device of (9), wherein, The offset includes a first offset and a second offset, and The offset-side switch includes a first offset-side switch and a second offset-side switch. The first offset-side switch opens and closes the path between the input node of the first offset and one end of the capacitor element, and the second offset-side switch opens and closes the path between the input node of the second offset and one end of the capacitor element.
[0490] (11) The sensing device according to any one of (1) to (10) further includes: A reference signal generation unit generates a predetermined reference signal; The reference-side switch opens and closes the path between the reference signal generation unit and the comparator; and The pixel-side switch opens and closes the path between the gain control circuit and the offset control circuit and the vertical signal line that transmits the pixel signal.
[0491] (12) The sensing device according to any one of (1) to (11) further includes: A pixel array unit, comprising a pair of pixels that generate a pair of pixel signals; and The signal processing circuit processes the comparison results.
[0492] (13) According to the sensing device of (12), wherein, Pixel array units, gain control circuits, offset control circuits, and comparators are arranged on a predetermined pixel chip, and The signal processing circuit is arranged on a predetermined circuit chip.
[0493] (14) According to the sensing device of (12), wherein, The pixel array units are arranged on a predetermined pixel chip, and Gain control circuit, offset control circuit, comparator and signal processing circuit are arranged on a predetermined circuit chip.
[0494] (15) The sensing device according to any one of (1) to (14) further includes: an error elimination circuit that eliminates the error of the output signal of the comparator.
[0495] (16) According to the sensing device of (15), wherein, The error cancellation circuit superimposes a predetermined compensation offset onto the output signal.
[0496] (17) The sensing device according to (15) further includes: The replication circuit has the same circuit configuration as the comparator, wherein... The error cancellation circuit maintains the input offset of the replication circuit and superimposes the maintained input offset onto one of the pair of input signals of the comparator as a compensation offset. The comparators are arranged for each column of pixels, and The error cancellation circuit is connected to multiple comparators.
[0497] (18) An electronic device comprising: The gain control circuit performs gain control by increasing or decreasing at least one of a pair of pixel signals by a predetermined gain. The offset control circuit performs control to superimpose a predetermined offset on at least one of a pair of pixel signals as offset control; A comparator compares a pair of pixel signals that have undergone gain and offset control, and outputs the comparison result; and The signal processing circuit processes the comparison results.
[0498] (19) A method for controlling a sensing device, the method comprising: The gain control process executes control to increase or decrease at least one of a pair of pixel signals by a predetermined gain as gain control; The offset control process executes control to superimpose a predetermined offset onto at least one of a pair of pixel signals as offset control; and The comparison process compares a pair of pixel signals that have undergone gain control and offset control, and outputs the comparison result.
[0499] List of reference numerals
[0500] 100 Imaging Device
[0501] 110 optical units
[0502] 120 DSP circuit
[0503] 130 display units
[0504] 140 operating units
[0505] 150 bus
[0506] 160-frame memory
[0507] 170 storage units
[0508] 180 power supply unit
[0509] 200 Image Sensors
[0510] 201 pixel chip
[0511] 202 Circuit Chip
[0512] 210 Vertical Scanning Circuit
[0513] 220 DAC
[0514] 230 Timing Control Circuit
[0515] 240 pixel array unit
[0516] 250 pixels
[0517] 251 Photoelectric conversion element
[0518] 252 transfer transistors
[0519] 253 Reset Transistor
[0520] 254 Floating Diffusion Layer
[0521] 255 Amplifying Transistor
[0522] 256 Select Transistors
[0523] 260° horizontal scanning circuit
[0524] 290 Signal Processing Circuit
[0525] 300-column signal processing circuit
[0526] 301 North Side Column Signal Processing Circuit
[0527] 302 South Side Column Signal Processing Circuit
[0528] 310 Constant Current Source
[0529] 320 ADC
[0530] Switches 331 to 334, 411 to 416, 421 to 426, 431 to 434, 441 to 443, 641, and 642
[0531] Counters 341 and 342
[0532] 400 edge detection units
[0533] Capacitor elements: 405, 406, 407, 417 to 419, 427 to 429, 435, 445, 461 to 463, 491, 493, 631, 661 to 663
[0534] Gain control circuits 410, 410-1, 410-2, 420, 420-1, 420-2
[0535] Offset control circuits 430, 430-1, 430-2, 440, 440-1, 440-2
[0536] 450, 465 comparators
[0537] 451 to 455, 494, 621 to 623, 651 to 655 pMOS transistors
[0538] 456 to 460, 611 to 614, 656 to 660 nMOS transistors
[0539] 470 Edge Detection Circuit
[0540] 481 to 486 latch circuits
[0541] 492, 643 amplifiers
[0542] 511 On-chip lens
[0543] 512 Color Filter
[0544] 520 wiring layer
[0545] 530 base plate
[0546] Error cancellation circuits 600 and 601
[0547] 650 Replication Circuit
[0548] 12031 Imaging section.
Claims
1. A sensing device, comprising: The gain control circuit performs gain control by increasing or decreasing at least one of a pair of pixel signals by a predetermined gain. An offset control circuit performs control to superimpose a predetermined offset on at least one of the pair of pixel signals as offset control; as well as The comparator compares the pair of pixel signals that have undergone the gain control and the offset control, and outputs the comparison result.
2. The sensing device according to claim 1, further comprising: The timing control circuit sequentially selects multiple combinations, each including offset and gain values, and sets the selected combinations in the gain control circuit and the offset control circuit.
3. The sensing device according to claim 2, further comprising: Multiple latching circuits maintain the comparison result corresponding to each of the multiple combinations.
4. The sensing device according to claim 2, wherein, The timing control circuit sets the gain value in ascending order and stops the comparator when an edge is detected.
5. The sensing device according to claim 1, wherein, The gain control circuit includes: First capacitor element; Second capacitor element; A first switch, opening and closing the path between the first capacitive element and the vertical signal line transmitting one of the pair of pixel signals; and The second switch opens and closes the path between the second capacitor element and the vertical signal line that transmits one of the pair of pixel signals.
6. The sensing device according to claim 5, wherein, The other end of each of the first and second capacitor elements is connected to the comparator.
7. The sensing device according to claim 5, wherein, The other end of each of the first and second capacitor elements is connected to a ground node.
8. The sensing device according to claim 1, wherein, The gain control circuit includes: Amplifier; A capacitor element having one end connected to the output terminal of the amplifier; and A switch that opens and closes the path between the input terminal of the amplifier and the other end of the capacitor element.
9. The sensing device according to claim 1, wherein, The offset control circuit includes: Capacitor components; Offset-side switch, opening and closing the path between the offset input node and one end of the capacitor element; and A pixel-side switch that opens and closes the path between the vertical signal line transmitting one of the pair of pixel signals and one end of the capacitor element.
10. The sensing device according to claim 9, wherein, The offset includes a first offset and a second offset, and The offset-side switch includes a first offset-side switch and a second offset-side switch. The first offset-side switch opens and closes the path between the input node of the first offset and one end of the capacitor element, and the second offset-side switch opens and closes the path between the input node of the second offset and one end of the capacitor element.
11. The sensing device according to claim 1, further comprising: A reference signal generation unit generates a predetermined reference signal; A reference-side switch opens and closes the path between the reference signal generation unit and the comparator. as well as A pixel-side switch opens and closes the path between the gain control circuit and the offset control circuit and the vertical signal line transmitting the pixel signal.
12. The sensing device according to claim 1, further comprising: A pixel array unit is arranged with a pair of pixels that generate the pair of pixel signals; as well as The signal processing circuit processes the comparison result.
13. The sensing device according to claim 12, wherein, The pixel array unit, the gain control circuit, the offset control circuit, and the comparator are arranged on a predetermined pixel chip, and The signal processing circuit is arranged on a predetermined circuit chip.
14. The sensing device according to claim 12, wherein, The pixel array units are arranged on a predetermined pixel chip, and The gain control circuit, the offset control circuit, the comparator, and the signal processing circuit are arranged on a predetermined circuit chip.
15. The sensing device according to claim 1, further comprising: An error cancellation circuit eliminates errors in the comparator's output signal.
16. The sensing device according to claim 15, wherein, The error elimination circuit superimposes a predetermined compensation offset onto the output signal.
17. The sensing device according to claim 15, further comprising: The replication circuit has the same circuit configuration as the comparator, wherein... The error cancellation circuit maintains the input offset of the replication circuit and superimposes the maintained input offset as a compensation offset onto one of the pair of input signals of the comparator. The comparators are arranged for each column of pixels, and The error cancellation circuit is connected to multiple comparators.
18. An electronic device comprising: The gain control circuit performs gain control by increasing or decreasing at least one of a pair of pixel signals by a predetermined gain. An offset control circuit performs control to superimpose a predetermined offset on at least one of the pair of pixel signals as offset control; A comparator compares the pair of pixel signals that have undergone the gain control and the offset control, and outputs the comparison result; as well as The signal processing circuit processes the comparison result.
19. A method for controlling a sensing device, the method comprising: The gain control process executes control to increase or decrease at least one of a pair of pixel signals by a predetermined gain as gain control; The offset control process performs control to superimpose a predetermined offset on at least one of the pair of pixel signals as offset control; as well as The comparison process compares the pair of pixel signals that have undergone the gain control and offset control, and outputs the comparison result.
Citation Information
Patent Citations
Sensing device, electronic apparatus, and method for controlling sensing device
WO2021090538A1
