Real-time detection method and real-time detection circuit for abnormity of image sensor

By adding anomaly detection timing at the end of the pixel row read operation timing of the image sensor, and using column comparators and latches to perform multiple sampling processes, the problem of real-time normal operation detection of the image sensor is solved, and accurate monitoring of the pixel row status is achieved. Improved security.

CN118612414APending Publication Date: 2024-09-06GALAXYCORE SHANGHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410792299.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In vehicle-mounted applications, real-time normal working detection of image sensors is difficult to achieve, leading to safety hazards. Existing technologies cannot effectively monitor the working status of pixel rows, affecting the accuracy and security of image data.

Method used

By adding an abnormality detection timing at the end of the normal read operation timing of the pixel row of the image sensor, the column comparator is used to compare the output result signals to determine whether it meets the preset standards. If not, it is determined to be abnormal, using 1-bit quantization processing and multiple times Sampling processing is performed to improve detection accuracy, and real-time detection circuits are designed including sub-detection circuits and latches to achieve abnormality judgment.

Benefits of technology

Real-time monitoring of image sensor pixel rows is realized, abnormal pixels can be detected during the readout process, the accuracy of determining the working status of the image sensor is improved, and safety is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612414A
    Figure CN118612414A
Patent Text Reader

Abstract

The invention provides a real-time detection method and a real-time detection circuit for abnormity of an image sensor. For any pixel row, the time sequence of the anomaly detection method is increased at the end of the normal read operation time sequence of the row, and the anomaly detection method comprises the following steps of: for any pixel, detecting a comparison result signal which is compared and output by a column comparator; judging whether the comparison result signal meets a preset standard or not, and if the comparison result signal meets the preset standard, judging that the comparison result signal is normal; and if the preset standard is not met, judging that the judgment result is abnormal. According to the invention, the working state of the pixel can be detected in the reading process of each pixel row of the image sensor, and whether the pixel of any row is abnormal or not can be monitored in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image sensors, and in particular to a real-time detection method and a real-time detection circuit for abnormalities of image sensors. Background Art

[0002] The main function of image sensors is to collect digital images and convert the collected light signals into electrical signals. At present, the image sensors that have been commercialized on a large scale are mainly divided into two types: CCD (Charge Coupled Device) and CMOS (Complementary Metal Oxide Semiconductor). Compared with CCD image sensors, CMOS image sensors have the advantages of low power consumption, low cost and high compatibility, and are increasingly widely used in intelligent connected vehicles.

[0003] In automotive applications, image sensors are required to detect the situation around the car in order to achieve the purpose of safe driving, so the functional safety requirements of image sensors are high. The pixel readout process in the image sensor is to convert the light signal collected by each pixel into an electrical signal, and then convert it into a digital signal to finally form processable image data. In a CMOS sensor, each pixel has its own amplifier and readout circuit, which can directly convert the charge into a voltage signal. After the charge is converted into a voltage signal, it is usually amplified by a source follower. The amplified voltage signal needs to be converted into a digital signal by an analog-to-digital converter (ADC). The ADC quantizes the voltage signal according to a predetermined resolution (such as 8 bits, 10 bits, 12 bits, etc.) to generate a digital value.

[0004] The key to ensuring the accuracy and quality of image data is to correctly read data from each pixel, especially in automotive applications, where functional safety requirements are high. If image sensors are used to detect surrounding conditions, it is necessary to detect whether the sensors are working properly in real time, otherwise incorrect detection information will bring more safety hazards. Therefore, how to ensure the real-time and normal operation of image sensors is an urgent research direction in the industry. Summary of the invention

[0005] The present invention provides a real-time detection method and a real-time detection circuit for abnormality of an image sensor, which are used for real-time detection of the working state of pixels in any row and real-time reporting of the work of the image sensor to a host.

[0006] In order to achieve the above objectives, the present invention is implemented by the following technical solutions:

[0007] In a first aspect, the present invention provides a real-time detection method for an abnormality of an image sensor. For any pixel row, the timing of the abnormality detection method is added to the end of the normal read operation timing of the row. The abnormality detection method includes:

[0008] For any pixel, detecting a comparison result signal output by a column comparator;

[0009] It is determined whether the comparison result signal meets the preset standard. If it meets the preset standard, it is determined to be normal; if it does not meet the preset standard, it is determined to be abnormal.

[0010] Optionally, the comparison result signal output by the column comparator is simplified to 1-bit quantization processing.

[0011] Optionally, the circuit for implementing the 1-bit quantization processing includes:

[0012] A first sub-detection circuit is used to detect whether the comparison result signals output by one or more column comparators are all first reference values, and if so, output the first reference value, otherwise, output the second reference value;

[0013] The second sub-detection circuit is used to detect whether the comparison result signals output by one or more column comparators are all second reference values, and if so, output the second reference value, otherwise output the first reference value.

[0014] Optionally, the comparison result signal is sampled and processed at least once by the first sub-detection circuit and the second sub-detection circuit to determine whether there is an abnormality.

[0015] Optionally, for any pixel row, before and after providing an injection voltage action to the floating diffusion area of ​​its pixel, the comparison result signal of the comparison output of the column comparator is sampled and processed respectively to determine whether there is an abnormality; or, without providing an injection voltage action to its floating diffusion area, the comparison result signal of the comparison output of the column comparator is directly sampled and processed at least twice to determine whether there is an abnormality.

[0016] Optionally, any pixel row can choose to set whether to perform an injection voltage action. If the sampling is performed before and after the injection voltage action, the processing result value of the previous sampling is equal to the first sub-preset standard, and the processing result value of the subsequent sampling is the inversion of the previous sampling result value, then it is judged to be normal, otherwise it is judged to be abnormal; if the sampling is performed twice directly without an injection voltage action, then the processing results of the previous and subsequent sampling are equal to the first sub-preset standard, then it is judged to be normal, otherwise it is judged to be abnormal.

[0017] Optionally, for any number of pixel rows, the injection voltage action is started at preset row intervals to increase the probability of abnormality detection;

[0018] Or / and, for any multiple frames of images, the injection voltage action is started at intervals of a preset number of frames to increase the probability of abnormality detection.

[0019] In a second aspect, the present invention provides a real-time detection circuit for image sensor abnormality, the real-time detection circuit comprising:

[0020] A first sub-detection circuit is used to detect whether the comparison result signals output by one or more column comparators are all first reference values, and if so, output the first reference value, otherwise, output the second reference value;

[0021] The second sub-detection circuit is used to detect whether the comparison result signals output by the one or more column comparators are all second reference values, and if so, output the second reference value, otherwise output the first reference value.

[0022] Optionally, the first sub-detection circuit includes N first in-column detection modules located in the column and at least one first out-column detection module, and the second sub-detection circuit includes N second in-column detection modules located in the column and at least one second out-column detection module, where N is an integer greater than or equal to 1 and less than or equal to the number of columns of the pixel array.

[0023] Optionally, the real-time detection circuit also includes N latches located in the column, and the first sub-detection circuit and the second sub-detection circuit share the latch, wherein one latch is used to receive and process the comparison result signal output by a column comparator and then output it to a first in-column detection module and a second in-column detection module.

[0024] Optionally, the first sub-detection circuit includes two first out-of-column detection modules, and the second sub-detection circuit includes two second out-of-column detection modules.

[0025] One of the first out-of-column detection modules and the second out-of-column detection module is used to be connected to the first in-column detection module and the second in-column detection module connected to the odd-numbered columns, respectively; another first out-of-column detection module and another second out-of-column detection module is used to be connected to the first in-column detection module and the second in-column detection module connected to the even-numbered columns, respectively;

[0026] Or, one of the first out-of-column detection modules and one of the second out-of-column detection modules are used to respectively connect to the first in-column detection module and the second in-column detection module connected to the first partial column, and another of the first out-of-column detection modules and another of the second out-of-column detection modules are used to respectively connect to the first in-column detection module and the second in-column detection module connected to the second partial column.

[0027] Optionally, the latch is a latch with inverting output, the first column detection module includes a first Pmos tube and a second Pmos tube; the second column detection module includes a first Nmos tube and a second Nmos tube; the source of the first Nmos tube is grounded, the drain is connected to the source of the second Nmos tube, the gate of the second Nmos tube is connected to the control signal, and the drain is used to output the second processing result, the gate of the first Nmos tube and the gate of the first Pmos tube are connected to the output end of the latch, the source of the first Pmos tube is connected to a voltage, the drain is connected to the source of the second Pmos tube, the gate of the second Pmos tube is connected to the inverted control signal, and the drain is used to output the first processing result.

[0028] Optionally, the first out-of-column detection module includes:

[0029] A first signal line, used for receiving the first processing result;

[0030] A third Nmos transistor, wherein the drain of the third Nmos transistor is connected to the first signal line, the source is grounded, and the gate is used to input a pre-charge signal;

[0031] A first shift register, used for receiving and storing a signal output by the first signal line;

[0032] The second out-of-column detection module comprises:

[0033] A second signal line, used for receiving the second processing result;

[0034] A third Pmos tube, wherein the drain of the third Pmos tube is connected to the second signal line, the source is grounded, and the gate is used to input an inverted pre-charge signal;

[0035] A second shift register, used for receiving and storing the signal output by the first signal line;

[0036] The pre-charge signal starts when the control signal ends, and the pre-charge signal ends when the control signal starts.

[0037] Optionally, the first and second shift registers can store at least one bit of data.

[0038] Optionally, the first and second shift registers respectively include one or two cascaded D flip-flops.

[0039] In a third aspect, the present invention provides a detection method for a real-time detection circuit of an abnormality of an image sensor according to any of the above items. For any pixel row, after its normal readout operation is completed, the output of one or more column comparators is sampled at least once using the first and second sub-detection circuits, and whether there is an abnormality is determined by the sampling processing results.

[0040] Optionally, the first and second sub-detection circuits are used to perform two sampling processes on the outputs of one or more column comparators. For any pixel row, after the normal readout operation is completed,

[0041] Step S1: using the first and second sub-detection circuits to perform a first sampling process on the outputs of one or more column comparators;

[0042] Step S2: after the first sampling process, a voltage injection operation is performed, and for any pixel row, an injection voltage is applied to the floating diffusion area of ​​the pixels in the row, so that the output voltage of the pixels is reduced to be less than the ramp voltage;

[0043] Step S3: using the first and second sub-detection circuits to perform a second sampling process on the output of one or more column comparisons;

[0044] Step S4: Compare the results of the first sampling process and the second sampling process, and compare them with the first sub-preset standard; if the result of the first sampling process is equal to the first sub-preset standard, and the result of the second sampling process is the flip of the result of the first sampling process, then the image sensor is determined to be normal, otherwise it is determined that there is an abnormality.

[0045] Optionally, the first and second sub-detection circuits are used to perform two sampling processes on the outputs of one or more column comparators. For any pixel row, after the normal readout operation is completed,

[0046] Step S1: using the first and second sub-detection circuits to perform a first sampling process on the outputs of one or more column comparators;

[0047] Step S2: After the first sampling process, the outputs of one or more column comparators are sampled for a second time using the first and second sub-detection circuits;

[0048] Step S3: Compare the results of the first sampling process and the second sampling process, and compare them with the first sub-preset standard; if the first and second sampling process results are both equal to the first sub-preset standard, the image sensor is determined to be normal, otherwise it is determined to be abnormal.

[0049] Optionally, for any pixel row, when there is a voltage injection action,

[0050] If after the first sampling process, the results read from the first and second shift registers are both 1, and after the second sampling process, the results read from the first and second shift registers are both 0, then the image sensor is determined to be normal, otherwise it is determined to be abnormal;

[0051] Or, after the first sampling process, the results read from the first and second shift registers are both 0, and after the second sampling process, the results read from the first and second shift registers are both 1, then the image sensor is determined to be normal, otherwise it is determined to be abnormal.

[0052] Optionally, for any pixel row, when there is no voltage injection action,

[0053] If the results read from the first and second shift registers after the first sampling process are both 1, and if the results read from the first and second shift registers after the second sampling process are both 1, the image sensor is determined to be normal, otherwise it is determined to be abnormal;

[0054] Or, after the first sampling process, the results read from the first and second shift registers are both 0, and after the second sampling process, the results read from the first and second shift registers are both 0, then the image sensor is determined to be normal, otherwise it is determined to be abnormal.

[0055] Optionally, the real-time detection circuit also includes a column comparator abnormality detection circuit and a ramp generator abnormality detection circuit. When the column comparator abnormality detection circuit and the ramp generator abnormality detection circuit both output normal results, the row position where the abnormal pixel appears is determined based on the determination of the image sensor abnormality.

[0056] Compared with the prior art, the present invention has the following advantages:

[0057] The real-time abnormality detection method provided by the present invention is executed at the end of the normal read operation sequence of the pixel row of the image sensor. For any pixel row, the comparison result after the comparison output by the column comparator is detected. If the detected comparison result signal does not meet the preset standard, it is determined that there are abnormal pixels in the pixel row. Therefore, the present invention can detect the working state of the pixel during the readout process of each pixel row of the image sensor and monitor whether the pixel is abnormal in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for the description. Obviously, the drawings described below are an embodiment of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work:

[0059] Figure 1a A schematic diagram of the structure of an image sensor with a real-time detection circuit provided by an embodiment of the present invention;

[0060] Figure 1b~1c A schematic diagram of the structure of a real-time detection circuit provided by an embodiment of the present invention;

[0061] Figure 2 A schematic diagram of the structure of a pixel provided by an embodiment of the present invention;

[0062] Figure 3 A schematic diagram of a real-time detection circuit provided by an embodiment of the present invention;

[0063] Figure 4 A timing diagram of a detection method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0064] The scheme proposed by the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the implementation method of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the accompanying drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.

[0065] The present embodiment provides a real-time detection method for image sensor abnormalities. For any pixel row, the timing of the abnormal detection method is added to the end of the normal read operation timing of the row. The real-time detection method for abnormalities includes: step S1, for any pixel, detecting the comparison result signal after the comparison output by the column comparator; step S2, judging whether the comparison result signal meets the preset standard, if it meets the preset standard, it is judged as normal; if it does not meet the preset standard, it is judged as abnormal.

[0066] If the designed circuit is normal, its comparison result signals should all be high level or low level. Therefore, as an example, the preset standard can be: the comparison result signals of several detected pixels in the detected row are all high level (for example, value 1); or the comparison result signals of several detected pixels in the detected row are all low level (for example, value 0). That is to say, once the comparison result signals after the column comparator comparison output of several detected pixels in the detected row have value 0 mixed in value 1 or value 1 mixed in value 0, it means that there are abnormal pixels in several detected pixels in the detected row.

[0067] like Figure 1aAs shown, each column line of the pixel array 10 in the image sensor is connected to an analog-to-digital converter. The analog-to-digital converter is responsible for converting the analog signal generated by each column of pixels 11 into a digital signal, and includes conventional components such as a column comparator (ColumnCMP) 20, a ramp generator (RAMP) 30, and a column memory (Column Memory) 40. The column comparator 20 is used to compare the pixel signal with a known reference value (provided by the ramp generator 30), thereby achieving standardized processing of the signal, which helps to obtain a more accurate digital value in the subsequent analog-to-digital conversion process. It can be understood that if the output signal of the ramp generator 30 is less than the pixel signal, the result of the comparison output of the column comparator 20 is high (for example, a value of 1), and if the output signal of the ramp generator 30 is not less than the pixel signal, the result of the comparison output of the column comparator 20 is low (for example, a value of 0).

[0068] The real-time abnormality detection method of this embodiment is executed at the end of the normal read operation sequence of any row of the image sensor (for example, it can be each row or a selected part of the rows. The row situation can be set as needed according to the detection accuracy, and this embodiment is not limited to this). For the pixels in any row, the comparison result after the comparison output by the column comparator 20 is detected. If the comparison result meets the preset standard, the pixel row is normal. If the comparison result does not meet the preset standard, it is determined that there are abnormal pixels in the pixel row. Therefore, this embodiment can detect the working status of the pixels during the reading process of each pixel row of the image sensor, and monitor in real time whether the pixels in any row are abnormal.

[0069] In this embodiment, the comparison result signal output by the column comparator 20 is simplified to 1-bit quantization processing. Specifically, the circuit for implementing the 1-bit quantization processing is as follows: Figure 1bAs shown, a real-time detection circuit 100 is illustrated, including: a first sub-detection circuit, used to detect whether the comparison result signals output by one or more column comparators 20 are all first reference values, if so, the first reference value is output, otherwise, the second reference value is output; a second sub-detection circuit, used to detect whether the comparison result signals output by one or more column comparators 20 are all second reference values, if so, the second reference value is output, otherwise, the first reference value is output. In this case, since the reference values ​​output by the first sub-detection circuit and the second sub-detection circuit represent the satisfaction of the preset standard, it can be considered that the reference values ​​output by the first sub-detection circuit and the second sub-detection circuit also belong to a preset standard (such as the first sub-preset standard mentioned below). The first sub-detection circuit includes N first in-column detection modules 111 located in the column and at least one first out-of-column detection module 112, and the second sub-detection circuit includes N second in-column detection modules 121 located in the column (N can take all column values ​​or part of column values) and at least one second out-of-column detection module 122. Wherein N is an integer greater than or equal to 1 and less than or equal to the number of columns of the pixel array 10. As Figure 1a-1b As shown, each column in the pixel array 10 corresponds to a first in-column detection module 111 and a second in-column detection module 121. The so-called "in-column" may be a position located adjacent to the output of the column comparator 20, for example, the first in-column detection module 111 is set in a one-to-one correspondence with the position adjacent to the output of the column comparator 20 of each column of pixels; the so-called "out-column" may be, for example, a position located at the periphery of the pixel array 10 area of ​​the entire image sensor, for example, a position at the edge of the position corresponding to the last column comparator 20, and the position "out-column" may also be other positions, and the present embodiment is not limited thereto.

[0070] like Figure 1b As shown, the first sub-detection circuit includes a first out-of-column detection module 112, and the first out-of-column detection module 112 and N first in-column detection modules 1111, ..., 111 N The second sub-detection circuit includes a second out-of-column detection module 122 and N second in-column detection modules 1211, ..., 121 N connect.

[0071] In other embodiments, the first sub-detection circuit may include two or more first out-of-column detection modules 112, and the second sub-detection circuit may include two or more second out-of-column detection modules 122. Figure 1c As shown, the detection modules 1111, ..., 111 in the first column of the odd-numbered columns 2m-1 Connect the first out-of-column detection module 1121, the second in-column detection module 1211 of the odd-numbered columns, ..., 121 2m-1Connect to the second out-of-column detection module 1221. The first in-column detection modules 1112, ..., 111 2m Connect the first out-of-column detection module 1122, the second in-column detection module 1212 of the even-numbered columns, ..., 121 2m The second out-of-column detection module 1222 is connected, where 2m = N. In other embodiments, the in-column detection modules connected to the first out-of-column detection module 112 and the second out-of-column detection module 122 may not be limited to odd columns or even columns, but may be any partial columns, all within the scope of the present invention.

[0072] Further, the first reference value mentioned above may be 1, and the second reference value may be 0. For example, if the comparison result signal output by the column comparator 20 is all high level (i.e., the first reference value 1), the first sub-detection circuit outputs the first reference value 1; if the comparison result signal output by the column comparator 20 is low level (i.e., the second reference value 0), the first sub-detection circuit outputs the second reference value 0. If the comparison result signal output by the column comparator 20 is all low level (i.e., the second reference value 0), the second sub-detection circuit outputs the second reference value 0; if the comparison result signal output by the column comparator 20 is high level (i.e., the first reference value 1), the second sub-detection circuit outputs the first reference value 1.

[0073] In other embodiments, the first reference value may be 0, and the second reference value may be 1, as long as the circuit implementing the 1-bit quantization process is appropriately modified.

[0074] In this embodiment, the first sub-detection circuit and the second sub-detection circuit are used to sample and process the detection result at least once to determine whether there is an abnormality. By sampling and processing the detection result multiple times to determine whether there is an abnormality, the change condition can be added to the sampling process of different orders, which can improve the accuracy of abnormality detection and avoid false detection to a great extent. Preferably, it is twice to adapt to the storage conditions of the 1-bit quantization processing circuit.

[0075] In a preferred embodiment, for any pixel row, before and after providing the injection voltage to the floating diffusion area of ​​the pixel, the comparison result signal output by the column comparator 20 is sampled (i.e., sampled twice) and processed to determine whether it is abnormal. Figure 2 As shown, an example of a single pixel structure is shown. During the detection process, by providing an injection voltage Vc to the floating diffusion area of ​​the pixel to be detected in the retrieved row, the voltages of the FD1 and FD2 nodes are changed (both FD1 and FD2 nodes are floating diffusion area nodes), which can provide a changing environment for the detection circuit and increase the probability of the detection circuit detecting an abnormality.

[0076] In another optional embodiment, without providing an injection voltage action to the floating diffusion region, the comparison result signal output by the column comparator 20 is directly sampled and processed at least twice to determine whether it is abnormal or not.

[0077] Any pixel row can choose to set whether to perform the injection voltage action. If the sampling is performed before and after the injection voltage action, the processing result value of the previous sampling is equal to the first sub-preset standard, and the processing result value of the subsequent sampling is the inversion of the previous sampling result value, it is judged as normal, otherwise it is judged as abnormal.

[0078] If the designed circuit is normal, its comparison result signals should all be high level or low level. Exemplarily, if after the first sampling process, the results read from the first and second shift registers are both 1, and after the second sampling process, the results read from the first and second shift registers are both 0, then the image sensor is judged to be normal, otherwise it is judged to be abnormal; or, after the first sampling process, the results read from the first and second shift registers are both 0, and after the second sampling process, the results read from the first and second shift registers are both 1, then the image sensor is judged to be normal, otherwise it is judged to be abnormal. In this case, the first sub-preset standard can be that the results read from the first and second shift registers are both 1, or the results read from the first and second shift registers are both 0.

[0079] In other words, when sampling before and after the injection voltage action, the first shift register of the first sub-detection circuit sequentially outputs values ​​0 and 1, and the second shift register of the second sub-detection circuit sequentially outputs values ​​0 and 1, that is, the pixel is judged to be normal, otherwise it is judged that the pixel of the detected row is abnormal. That is, "the first shift register of the first sub-detection circuit sequentially outputs values ​​0 and 1, and the second shift register of the second sub-detection circuit sequentially outputs values ​​0 and 1" can also be used as a judgment standard.

[0080] If two samples are directly taken without the injection voltage action, the processing results of the previous and next samples must meet the first sub-preset standard. If they meet the standard, it is judged to be normal, otherwise it is judged to be abnormal. As an example, in this case, the first shift register of the first sub-detection circuit outputs value 1 and value 1 in sequence, and the second shift register of the second sub-detection circuit outputs value 1 and value 1 in sequence, that is, the pixel is judged to be normal, otherwise it is judged that the pixel of the detected row is abnormal. That is, "the first shift register of the first sub-detection circuit outputs value 1 and value 1 in sequence, and the second shift register of the second sub-detection circuit outputs value 1 and value 1 in sequence" can also be used as the judgment standard.

[0081] In addition, for any multiple rows of pixel rows, the injection voltage action can be started at intervals of preset rows to increase the probability of abnormality detection, for example, only odd rows are set to perform injection voltage action, or only even rows are set to perform injection voltage action, and so on; or / and, for any multiple frames of images, the injection voltage action can be started at intervals of preset frame numbers to increase the probability of abnormality detection, for example, only odd frames are set to perform injection voltage action, or only even frames are set to perform injection voltage action, and so on.

[0082] Based on the same inventive concept, this embodiment also provides a real-time detection circuit for image sensor abnormality, the real-time detection circuit 100 includes: a first sub-detection circuit, used to detect whether the comparison result signals output by one or more column comparators 20 are all first reference values, if so, output the first reference value, otherwise, output the second reference value. A second sub-detection circuit, used to detect whether the comparison result signals output by the one or more column comparators 20 are all second reference values, if so, output the second reference value, otherwise, output the first reference value.

[0083] Figure 3 Based on the Figure 1a to 1c From the actual circuit example of the example, it can be seen that the real-time detection circuit 100 also includes N latches 130 located in the column, and the first sub-detection circuit and the second sub-detection circuit share the latch 130. Among them, the N latches 130 are used to be connected to the output ends of the column comparators 20 corresponding to the N columns of pixels, one latch 130 is used to receive and process the comparison result signal output by the column comparator 20 and then output it to a first in-column detection module 111 and a second in-column detection module 121. The two input ends of the column comparator 20 are respectively connected to the ramp generator 30 and the column line output signal PXDA of the pixel 11, and the pixel signal is compared with the output signal of the ramp generator 30, so as to output the comparison result signal.

[0084] like Figure 3As shown, in this embodiment, exemplarily, the latch 130 is an inverting output latch, the first in-column detection module 111 includes a first Pmos transistor P1 and a second Pmos transistor P2; the second in-column detection module includes a first Nmos transistor N1 and a second Nmos transistor N2. The source of the first Nmos transistor N1 is grounded, the drain is connected to the source of the second Nmos transistor N2, the gate of the second Nmos transistor N2 is connected to a control signal EN, and the drain is used to output the second processing result. The gate of the first Nmos transistor N1 and the gate of the first Pmos transistor P1 are connected to the output end of the latch 130, the source of the first Pmos transistor P1 is connected to a voltage, the drain is connected to the source of the second Pmos transistor P2, the gate of the second Pmos transistor P2 is connected to the inverted control signal ENN, and the drain is used to output the first processing result.

[0085] In other embodiments, the output of the latch may not be inverted.

[0086] like Figure 3 As shown, the first out-of-column detection module 112 includes: a first signal line BL_A, used to receive the first processing result; a third Nmos tube N3, the drain of the third Nmos tube N3 is connected to the first signal line BL_A, the source is grounded, and the gate is used to input the pre-charge signal PRE_CHARGE; a first shift register 1121, used to receive and store the signal output by the first signal line BL_A.

[0087] The second out-of-column detection module 122 includes: a second signal line BL_B, used to receive the second processing result; a third Pmos tube P3, the drain of the third Pmos tube P3 is connected to the second signal line BL_B, the source is grounded, and the gate is used to input an inverted pre-charge signal PRE_CHARGE_N; a second shift register 1221, used to receive and store the signal output by the second signal line BL_B.

[0088] The pre-charge signal PRE_CHARGE starts when the control signal EN ends, and the pre-charge signal PRE_CHARGE ends when the control signal EN starts.

[0089] The first shift register 1121 and the second shift register 1221 can store at least one bit of data to correspond to the storage of at least one sampling processing result, thereby implementing 1-bit quantization processing on the comparison result signal output by the column comparator 20 .

[0090] In a preferred embodiment, the first shift register 1121 and the second shift register 1221 each include a D flip-flop or two cascaded D flip-flops to meet the storage needs of one sampling processing result and the storage needs of two sampling processing results, respectively. Figure 3 FIG. 2 shows a case of two cascaded D flip-flops, where the control terminals Clk of the shift registers of the first out-of-column detection module 112 and the second out-of-column detection module 122 are connected to the same sampling signal DFF_SAMPLE.

[0091] Based on the same inventive concept, this embodiment also provides a detection method for the real-time detection circuit of the image sensor abnormality described above, including: for any pixel row, after its normal readout operation is completed, using the first and second sub-detection circuits to sample the outputs of one or more column comparators at least once, and judging whether there is an abnormality based on the sampling processing results.

[0092] In one implementation, the first and second sub-detection circuits are used to perform two sampling processes on the outputs of one or more column comparators. For any pixel row, after the normal readout operation is completed,

[0093] Step S1: using the first and second sub-detection circuits to perform a first sampling process on the outputs of one or more column comparators.

[0094] Step S2: After the first sampling process, a voltage injection operation is performed. For any pixel row, an injection voltage is applied to the floating diffusion area of ​​the pixels in the row, so that the output voltage of the pixel is reduced to be less than the ramp voltage.

[0095] Step S3: using the first and second sub-detection circuits to perform a second sampling process on the outputs of one or more column comparisons.

[0096] Step S4: Compare the results of the first sampling process and the second sampling process, and compare them with the first sub-preset standard; if the result of the first sampling process is equal to the first sub-preset standard, and the result of the second sampling process is the flip of the result of the first sampling process, then the image sensor is determined to be normal, otherwise it is determined that there is an abnormality.

[0097] like Figure 4 As shown in FIG. , a timing diagram of a detection method in which a real-time detection circuit performs two samplings is exemplarily illustrated. Figure 4As shown, when the normal readout operation of the pixel row ends, the reset control signal RST of the reset transistor T3 will be pulled high, and the detection timing is inserted at this node as the detection start. Before the first sampling signal SAMPLE starts, the reset control signal RST is pulled low. At this time, the potential of the pixel column line output signal PXDA is basically equivalent to the comparator reference voltage value EQ_PXDA of the low conversion gain LCG, and only differs by the KTC noise (capacitor noise) of the reset transistor T3. At the same time, the ramp voltage signal RAMP of the ramp generator starts to decrease from the reset value (the highest point in the figure). When the decrease exceeds the dac_in offset value (the preset offset value of the ramp generator), the ramp voltage signal RAMP is equal to the ramp reference voltage value EQ_RAMP, the column comparator flips, and then continues to decrease by a value (such as the preset ramp_test value), and the ramp voltage signal RAMP stops decreasing and maintains the voltage level at this time. The latch outputs the comparison result signal (CMP_OUT signal value is high) of the column comparator at this time to the first sub-detection circuit and the second sub-detection circuit. When the first sampling (SAMPLE signal is high), the correct value of the column comparator is high (the first reference value), which is inverted to 0 by the latch, the first signal line BL_A is high, and the second signal line BL_B is high, so the final output result of the first and second shift registers is A. <0> , B <0> Should all be 1 (assuming the designed circuit is normal and all should be 1). After the first sampling signal SAMPLE is completed, the voltage V C Injection (eg V C level drops), a voltage is injected into the floating diffusion area of ​​the pixel under test, and the EN control signal is turned on after the sampling signal SAMPLE ends, the pre-charge signal PRE_CHARGE ends when the control signal EN is turned on, and starts when the control signal EN ends.

[0098] The voltage injection action is performed, and the potential of the pixel column line output signal PXDA decreases. When it decreases to less than the ramp voltage value of the ramp generator, the column comparator flips again, and the second sampling signal SAMPLE is turned on. The latch outputs the comparison result signal of the column comparator at this time (the CMP_OUT signal value is low) to the first sub-detection circuit and the second sub-detection circuit. At this time, the correct value of the comparator is 0 (the second reference value), which is 1 after being inverted by the latch, BL_A is low, BL_B is low, so the output results of the first and second shift registers are A. <1> , B <1> Finally, it should be 0. Later, the A is read digitally. <0> , B <0> , and A <1> , B <1> Therefore, in this embodiment, for any pixel row, when there is a voltage injection action, if the results read from the first and second shift registers after the first sampling process are both 1, and after the second sampling process, the results read from the first and second shift registers are both 0, then the image sensor is judged to be normal, otherwise it is judged to be abnormal.

[0099] In another implementation, the first and second sub-detection circuits are used to perform two sampling processes on the outputs of one or more column comparators. For any pixel row, after the normal readout operation is completed,

[0100] Step S1: using the first and second sub-detection circuits to perform a first sampling process on the outputs of one or more column comparators;

[0101] Step S2: After the first sampling process, the outputs of one or more column comparators are sampled for a second time using the first and second sub-detection circuits;

[0102] Step S3: Compare the results of the first sampling process and the second sampling process, and compare them with the first sub-preset standard; if the first and second sampling process results are both equal to the first sub-preset standard, the image sensor is determined to be normal, otherwise it is determined to be abnormal.

[0103] In this implementation, no voltage injection is performed before the second sampling. Figure 3 The detection circuit shown and reference Figure 4 As shown in the timing diagram, for any pixel row, in the absence of voltage injection action, if after the first sampling process, the results read from the first and second shift registers are both 1, and after the second sampling process, the results read from the first and second shift registers are both 1, then the image sensor is judged to be normal, otherwise it is judged to be abnormal.

[0104] The following standard can be used to judge the digital reading of the above two situations. A<1:0> represents the first group of shift registers (A <0> , A <1> ), B<1:0> represents the second group of shift registers (B <0> , B <1> ), the judgment logic is shown in Table 1 below:

[0105] Table 1

[0106]

[0107] As shown in Table 1, when there is voltage injection in the pixel row, if the result of the first sampling is A <1> , B <1> Both are 0, the result of the second sampling is A <0> , B <0> If both are 1, it is determined that the pixels in the pixel row are normal. In the case that there is no voltage injection action in the pixel row, if the result of the first sampling is A <1> , B <1> Both are 1, the result of the second sampling is A <0> , B <0> If both A<1:0> and B<1:0> are 1, it is determined that the pixels in the pixel row are normal. Except for the cases shown in Table 1 above, the results of A<1:0> and B<1:0> all determine that there are abnormal pixels in the pixel row.

[0108] In other embodiments, the first and second sub-detection circuits can be used to perform a sampling process on the output of one or more columns of column comparators, and the sampling process result can be used to determine whether there is an abnormality. Figure 4 In the timing shown, only the second sampling process in the timing is considered, and the first sampling process in the timing is not performed. At this time, the default value of the first sampling process is the first sub-preset standard.

[0109] In addition, the real-time detection circuit may also include a column comparator abnormality detection circuit and a ramp generator abnormality detection circuit. When the column comparator abnormality detection circuit and the ramp generator abnormality detection circuit both output normal results, the row position where the abnormal pixel appears is determined according to the determination of the abnormality of the image sensor. Since the abnormality may occur in three places, namely, the pixel, the column comparator and the ramp generator, when the detection results of the column comparator and the ramp generator are normal, it can be determined that the pixel corresponding to the tested row is abnormal, and the row position where the abnormal pixel appears can be further determined according to the determination of the abnormality of the image sensor.

[0110] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0111] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A real-time detection method for image sensor abnormality, characterized in that: For any pixel row, the timing of the abnormal detection method is added at the end of the normal read operation timing of the row, and the abnormal detection method includes: For any pixel, detecting a comparison result signal output by a column comparator; It is determined whether the comparison result signal meets the preset standard. If it meets the preset standard, it is determined to be normal; if it does not meet the preset standard, it is determined to be abnormal.

2. The real-time detection method of image sensor abnormality according to claim 1, characterized in that: The comparison result signal output by the column comparator is simplified to 1-bit quantization processing.

3. The real-time detection method of image sensor abnormality according to claim 2, characterized in that: The circuit for implementing the 1-bit quantization process includes: A first sub-detection circuit is used to detect whether the comparison result signals output by one or more column comparators are all first reference values, and if so, output the first reference value, otherwise, output the second reference value; The second sub-detection circuit is used to detect whether the comparison result signals output by one or more column comparators are all second reference values, and if so, output the second reference value, otherwise output the first reference value.

4. The real-time detection method of image sensor abnormality according to claim 3, characterized in that: The comparison result signal is sampled and processed at least once by the first sub-detection circuit and the second sub-detection circuit to determine whether there is an abnormality.

5. The real-time detection method of image sensor abnormality according to claim 4, characterized in that: For any pixel row, before and after providing an injection voltage to the floating diffusion area of ​​the pixel, respectively sampling and processing the comparison result signal output by the column comparator to determine whether it is abnormal; Or, without providing an injection voltage action to the floating diffusion region, directly sampling and processing the comparison result signal output by the column comparator at least twice to determine whether it is abnormal or not.

6. The real-time detection method of image sensor abnormality according to claim 5, characterized in that: Any pixel row can choose to set whether to perform the voltage injection action. If the processing result value of the previous sampling is equal to the first sub-preset standard and the processing result value of the subsequent sampling is the inversion of the previous sampling result value, it is judged as normal, otherwise it is judged as abnormal; If two samples are directly taken without voltage injection, and the processing results of the previous and next samples are equal to the first sub-preset standard, it is judged to be normal, otherwise it is judged to be abnormal.

7. The real-time detection method of image sensor abnormality according to claim 6, characterized in that: For any number of pixel rows, the injection voltage action is started at preset row intervals to increase the probability of abnormality detection; Or / and, for any multiple frames of images, the injection voltage action is started at intervals of a preset number of frames to increase the probability of abnormality detection.

8. A real-time detection circuit for image sensor abnormality, characterized in that: The real-time detection circuit comprises: A first sub-detection circuit is used to detect whether the comparison result signals output by one or more column comparators are all first reference values, and if so, output the first reference value, otherwise, output the second reference value; The second sub-detection circuit is used to detect whether the comparison result signals output by the one or more column comparators are all second reference values, and if so, output the second reference value, otherwise output the first reference value.

9. The real-time detection circuit for image sensor abnormality according to claim 8, characterized in that: The first sub-detection circuit includes N first in-column detection modules located in the column and at least one first out-column detection module, and the second sub-detection circuit includes N second in-column detection modules located in the column and at least one second out-column detection module, where N is an integer greater than or equal to 1 and less than or equal to the number of columns of the pixel array.

10. The real-time detection circuit for image sensor abnormality according to claim 9, characterized in that: The real-time detection circuit also includes N latches located in the column, and the first sub-detection circuit and the second sub-detection circuit share the latch, wherein one latch is used to receive and process the comparison result signal output by a column comparator and then output it to a first in-column detection module and a second in-column detection module.

11. The real-time detection circuit for image sensor abnormality according to claim 9, characterized in that: The first sub-detection circuit includes two first out-of-column detection modules, and the second sub-detection circuit includes two second out-of-column detection modules. One of the first out-of-column detection modules and the second out-of-column detection module is used to be connected to the first in-column detection module and the second in-column detection module connected to the odd-numbered columns, respectively; another first out-of-column detection module and another second out-of-column detection module is used to be connected to the first in-column detection module and the second in-column detection module connected to the even-numbered columns, respectively; Or, one of the first out-of-column detection modules and one of the second out-of-column detection modules are used to respectively connect to the first in-column detection module and the second in-column detection module connected to the first partial column, and another of the first out-of-column detection modules and another of the second out-of-column detection modules are used to respectively connect to the first in-column detection module and the second in-column detection module connected to the second partial column.

12. The real-time detection circuit for image sensor abnormality according to claim 10, characterized in that: The latch is a latch with inverting output, the first in-column detection module includes a first Pmos tube and a second Pmos tube; the second in-column detection module includes a first Nmos tube and a second Nmos tube; the source of the first Nmos tube is grounded, the drain is connected to the source of the second Nmos tube, the gate of the second Nmos tube is connected to the control signal, and the drain is used to output the second processing result, the gate of the first Nmos tube and the gate of the first Pmos tube are connected to the output end of the latch, the source of the first Pmos tube is connected to a voltage, the drain is connected to the source of the second Pmos tube, the gate of the second Pmos tube is connected to the inverted control signal, and the drain is used to output the first processing result.

13. The real-time detection circuit for image sensor abnormality according to claim 12, characterized in that: The first out-of-column detection module comprises: A first signal line, used for receiving the second processing result; A third Nmos transistor, wherein the drain of the third Nmos transistor is connected to the first signal line, the source is grounded, and the gate is used to input a pre-charge signal; A first shift register, used for receiving and storing a signal output by the first signal line; The second out-of-column detection module comprises: A second signal line, used for receiving the first processing result; A third Pmos tube, wherein the drain of the third Pmos tube is connected to the second signal line, the source is grounded, and the gate is used to input an inverted pre-charge signal; A second shift register, used for receiving and storing the signal output by the first signal line; The pre-charge signal starts when the control signal ends, and the pre-charge signal ends when the control signal starts.

14. The real-time detection circuit for image sensor abnormality according to claim 13, characterized in that: The first and second shift registers can store at least one bit of data.

15. The real-time detection circuit for image sensor abnormality according to claim 14, characterized in that: The first and second shift registers respectively include one or two cascaded D flip-flops.

16. A detection method for a real-time detection circuit of an abnormality of an image sensor according to any one of claims 8 to 15, characterized in that: For any pixel row, after the normal readout operation is completed, the first and second sub-detection circuits are used to perform at least one sampling process on the outputs of one or more column comparators, and the sampling process results are used to determine whether there is an abnormality.

17. The detection method according to claim 16, characterized in that: The first and second sub-detection circuits are used to perform two sampling processes on the outputs of one or more column comparators. For any pixel row, after the normal readout operation is completed, Step S1: using the first and second sub-detection circuits to perform a first sampling process on the outputs of one or more column comparators; Step S2: after the first sampling process, a voltage injection operation is performed, and for any pixel row, an injection voltage is applied to the floating diffusion area of ​​the pixels in the row, so that the output voltage of the pixel is reduced to be less than the ramp voltage; Step S3: using the first and second sub-detection circuits to perform a second sampling process on the output of one or more column comparisons; Step S4: Compare the results of the first sampling process and the second sampling process, and compare them with the first sub-preset standard; if the result of the first sampling process is equal to the first sub-preset standard, and the result of the second sampling process is the flip of the result of the first sampling process, then the image sensor is determined to be normal, otherwise it is determined that there is an abnormality.

18. The detection method according to claim 16, characterized in that: The first and second sub-detection circuits are used to perform two sampling processes on the outputs of one or more column comparators. For any pixel row, after the normal readout operation is completed, Step S1: using the first and second sub-detection circuits to perform a first sampling process on the outputs of one or more column comparators; Step S2: After the first sampling process, the outputs of one or more column comparators are sampled for a second time using the first and second sub-detection circuits; Step S3: Compare the results of the first sampling process and the second sampling process, and compare them with the first preset standard; if the results of the first and second sampling processes are both equal to the first sub-preset standard, the image sensor is determined to be normal, otherwise it is determined to be abnormal.

19. The detection method according to claim 17, characterized in that: For any pixel row, when there is a voltage injection action, If the results read from the first and second shift registers after the first sampling process are both 1, and the results read from the first and second shift registers after the second sampling process are both 0, the image sensor is determined to be normal, otherwise it is determined to be abnormal; Or, after the first sampling process, the results read from the first and second shift registers are both 0, and after the second sampling process, the results read from the first and second shift registers are both 1, then the image sensor is determined to be normal, otherwise it is determined to be abnormal.

20. The detection method according to claim 18, characterized in that: For any pixel row, when there is no voltage injection action, If the results read from the first and second shift registers after the first sampling process are both 1, and if the results read from the first and second shift registers after the second sampling process are both 1, the image sensor is determined to be normal, otherwise it is determined to be abnormal; Or, after the first sampling process, the results read from the first and second shift registers are both 0, and after the second sampling process, the results read from the first and second shift registers are both 0, then the image sensor is determined to be normal, otherwise it is determined to be abnormal.

21. The detection method according to claim 19 or 20, characterized in that: The real-time detection circuit also includes a column comparator abnormality detection circuit and a ramp generator abnormality detection circuit. When the column comparator abnormality detection circuit and the ramp generator abnormality detection circuit both output normal results, the row position where the abnormal pixel appears is determined based on the determination of the abnormality of the image sensor.