WO2017067351A1 - Black level cancellation method and system, and image sensor having system - Google Patents

Black level cancellation method and system, and image sensor having system Download PDF

Info

Publication number
WO2017067351A1
WO2017067351A1 PCT/CN2016/098893 CN2016098893W WO2017067351A1 WO 2017067351 A1 WO2017067351 A1 WO 2017067351A1 CN 2016098893 W CN2016098893 W CN 2016098893W WO 2017067351 A1 WO2017067351 A1 WO 2017067351A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
level
pixel unit
ramp
counting
Prior art date
Application number
PCT/CN2016/098893
Other languages
French (fr)
Chinese (zh)
Inventor
裴学用
郭先清
Original Assignee
比亚迪股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 比亚迪股份有限公司 filed Critical 比亚迪股份有限公司
Publication of WO2017067351A1 publication Critical patent/WO2017067351A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to a black level cancellation method, a black level cancellation system, and an image sensor having a black level cancellation system.
  • CMOS Image Sensors Since CIS (CMOS Image Sensors) have low power consumption and can integrate sensors and processing circuits on the same chip, they are increasingly used in image processing.
  • the CIS is composed of a pixel unit array and corresponding processing circuits, and the pixel units in the pixel unit array convert the optical signals into electrical signals and transmit them to corresponding processing circuits for processing.
  • the pixel unit array is generally divided into three categories: dummy pixel, dark pixel, and active pixel, and the virtual pixel unit is used to reduce process error, and is used for a matte pixel unit.
  • the noise of the pixel unit is simulated under the absence of light, and the effective pixel unit is an effective pixel unit.
  • the black level is removed by averaging the signal analysis results of all the matte pixel units to obtain a black level value, and storing the black level value. Then, the signals of all the effective pixel units are parsed, and the parsing result is stored. Further, the analysis result of the effective pixel unit signal is subtracted from the black level value in the digital circuit to remove the black level.
  • the conventional method of removing the black level has a relatively slow processing speed.
  • the present invention aims to solve at least one of the technical problems in the related art to some extent. Accordingly, it is an object of the present invention to provide a black level erasing method which subtracts a black level value during the conversion of the second level signal, thereby eliminating the level signal conversion while achieving Black level, eliminating the need for effective implementation in digital circuits The time required for the resolution of the pixel unit to be subtracted from the black level value.
  • Another object of the present invention is to provide a black level cancellation system. It is still another object of the present invention to provide an image sensor.
  • a black level erasing method includes the following steps: receiving a level signal output by an effective pixel unit, wherein a level signal output by the effective pixel unit includes a a level signal and a second level signal; starting the first counting when the first level signal and the ramp signal are received, and when the amplitude of the ramp signal is the first level signal Stopping the first count when the amplitudes are equal, obtaining a first count value; timing when receiving the second level signal and the ramp signal, and starting after delaying a predetermined number of clock cycles Secondary counting, and stopping the second counting when the amplitude of the ramp signal is equal to the amplitude of the second level signal, to obtain a second count value, wherein the predetermined number is matte a black level value of the pixel unit; and a digital signal corresponding to an output signal of the effective pixel unit after the black level is removed according to the first count value and the second count value.
  • the black level value is used as the number of cycles of the delayed clock cycle.
  • the control terminal CNT_Syn that starts counting is compared with the counter.
  • the control terminal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby eliminating the conversion of the signal signal.
  • the black level eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
  • a black level cancellation system includes: a receiving module, configured to receive a level signal output by an effective pixel unit, wherein a level signal output by the effective pixel unit a first level signal and a second level signal; a ramp generator for generating a ramp signal based on the ramp control signal; a comparator for using the amplitude of the ramp signal and the first And outputting a count stop signal when the amplitudes of the flat signals are equal and the amplitude of the ramp signal is equal to the amplitude of the second level signal; and the counter is configured to receive the first count control signal and the second count respectively When the signal is controlled, the counting starts, and when the counting stop signal is received, the counting is stopped, and the corresponding first counting value and the second counting value are obtained, and the blackening is obtained according to the first counting value and the second counting value.
  • a controller configured to generate the ramp control signal, and receive the first level signal and the Generating the first count control signal when the wave signal is received, and generating the second count control after delaying a predetermined number of clock cycles when the comparator receives the second level signal and the ramp signal a signal, wherein the predetermined number is a black level value of the matte pixel unit.
  • the black level value is used as the number of cycles of the delayed clock cycle.
  • the control terminal CNT_Syn that starts counting the counter is compared with The control terminal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to
  • the black level value is subtracted during the conversion of the signal signal, thereby realizing the elimination of the black level while the signal signal is being converted, eliminating the need to store the analysis result of the effective pixel unit and the black level value in the digital circuit. The time required to subtract.
  • embodiments of the present invention also propose an image sensor comprising the black level cancellation system described above.
  • embodiments of the present invention also provide a computer readable storage medium comprising computer instructions that, when executed, cause the black level cancellation method to be performed.
  • the black level value is used as the number of cycles of the delayed clock cycle, and when the signal signal output from the effective pixel unit is converted, the control terminal CNT_Syn that starts counting from the counter is compared with the ramp generator.
  • the control terminal Ramp_En at which the output ramp signal starts to fall is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby realizing the elimination of the black level while the signal signal is being converted.
  • the time required to subtract the analysis result of the effective pixel unit from the black level value and subtract it in the digital circuit is omitted.
  • FIG. 1 is a flow chart of a method of eliminating a black level according to an embodiment of the present invention
  • FIG. 2 The topology of an analog to digital converter for each column of effective pixel cells in a pixel cell array is shown in FIG. 2;
  • FIG. 3 is a timing diagram of parsing signals of effective pixel cells in accordance with one embodiment of the present invention.
  • FIG. 4 is a flow chart of a black level removal method in accordance with an embodiment of the present invention.
  • FIG. 5 is a timing diagram of parsing signals of a matte pixel unit, in accordance with one embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a black level erasing system according to an embodiment of the present invention.
  • a black level erasing method, a black level canceling system, and an image sensor having the black level canceling system according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
  • FIG. 1 is a flow chart of a method of eliminating black levels in accordance with an embodiment of the present invention. As shown in FIG. 1, the method for eliminating the black level includes the following steps:
  • CIS when parsing the signal of the effective pixel unit, in order to eliminate the fixed mode caused by the effective pixel unit Noise PFN, CIS generally needs to use the double sampling technique, which is simply to analyze the level signals of the two effective pixel unit outputs, that is, the first level signal and the second level signal.
  • the first level signal is a reset signal (abbreviated as Vr)
  • the second level signal is a signal signal (abbreviated as Vs)
  • Vs-Vr the difference between the signal signal and the reset signal
  • the analog-to-digital converter ADC is configured to convert a level signal output by the effective pixel unit into a digital signal to generate an image.
  • a column-level analog-to-digital converter (column level ADC) may be employed, wherein, preferably, a single-slope column-level analog-to-digital converter may be employed, and since the structure of the single-slope column-level analog-to-digital converter is simple and easy to implement, during image processing This analog to digital converter is usually used.
  • the topology of an analog to digital converter for each column of effective pixel cells in a pixel cell array is shown in FIG.
  • the effective pixel unit outputs a reset signal Vr and a signal signal Vs.
  • All the effective pixel units in the pixel unit array share a ramp generator, and the ramp generator is used to output the ramp signal Vramp.
  • Ramp_En is a control signal for the ramp signal Vramp to start falling, and the ramp signal Vramp starts to fall when the rising edge of the Ramp_En signal comes.
  • the comparator is used to compare the level signal Vout (Vr/Vs) outputted by the effective pixel unit with the magnitude (amplitude) of the ramp signal Vramp, and the magnitude of the ramp signal Vramp and the level signal Vout (Vr/Vs) When they are equal, the output signal is inverted.
  • the counter is used to quantize the fall time required for the ramp signal Vramp to be equal in magnitude to the level signal Vout (Vr/Vs), expressed as a binary value.
  • CNT_Syn is the control signal for the counter to start counting, and the counter starts counting when the rising edge of the CNT_Syn signal comes.
  • CNT_Clk provides a clock signal to the counter.
  • the latch is used to latch the output result of the counter, wherein the level signal Vout output by the effective pixel unit is the first level signal Vr or the second level signal Vs.
  • the effective pixel unit when parsing the signal of the effective pixel unit, first, the effective pixel unit outputs a reset signal Vr, and the ramp generator outputs a ramp signal Vramp, and the ramp wave occurs at this time.
  • the ramp signal Vramp output by the device is its initial voltage Vramp_ini. Then, when the first rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and when the first rising edge of the CNT_Syn signal occurs, the counter starts counting. Then, when the ramp signal Vramp falls to the same level as the reset signal Vr, the counter stops counting. At this time, the reset signal Vr is converted, and the counter obtains the first count value.
  • the effective pixel unit outputs the signal signal Vs, and the ramp signal Vramp outputted by the ramp generator returns to its initial voltage Vramp_ini. Then at When the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and after a delay of n clock cycles, the second rising edge of the CNT_Syn signal appears and the counter starts counting.
  • the number n of delayed clock cycles is a black level value obtained by calculating an average value from the analysis result of the matte pixel unit.
  • the counter stops counting. At this point, the signal signal Vs conversion is completed, and the counter obtains the second count value.
  • the counter is further configured to calculate a difference between the conversion result of the signal signal Vs and the conversion result of the reset signal Vr, that is, calculate a difference between the second count value and the first count value, and at this time, the switch S is turned on, and the The difference between the second count value and the first count value is written into the latch.
  • the black level value is used as the number of periods of the delayed clock period, and when the signal signal output from the effective pixel unit is converted, the control signal CNT_Syn at which the counter starts counting is compared with The control signal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby eliminating the signal signal conversion while eliminating
  • the black level eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
  • step S1 is a flow chart of a black level cancellation method in accordance with an embodiment of the present invention. As shown in FIG. 4, before the step S1, steps S5 and S6 may be further included; specifically, the black level elimination method includes the following steps:
  • S5. Receive a level signal output by the matte pixel unit, and convert the level signal output by the matte pixel unit into a digital signal of the matte pixel unit.
  • the third level signal output by the matte pixel unit is simply abbreviated as Vr'
  • the fourth level signal output by the matte pixel unit is abbreviated as Vs'.
  • the topology of the analog to digital converter shown in Figure 2 is equally applicable to matte pixel units.
  • the matte pixel unit outputs a reset signal Vr' and a signal signal Vs'. All the matte pixel units in the pixel unit array share a ramp generator, and the ramp generator is used to output the ramp signal Vramp.
  • Ramp_En is a control signal for the ramp signal Vramp to start falling, and the ramp signal Vramp starts to fall when the rising edge of the Ramp_En signal comes.
  • the comparator is used to compare the level signal Vout' (Vr'/Vs') outputted by the matte pixel unit with the magnitude (amplitude) of the ramp signal Vramp, and the ramp signal Vramp and the level signal Vout' (Vr) When '/Vs' is equal, the output signal is inverted.
  • the counter is used to quantize the ramp signal Vramp and the level signal Vout' (Vr'/Vs') The fall time required to be equal in size, expressed as a binary value.
  • CNT_Syn is the control signal for the counter to start counting, and the counter starts counting when the rising edge of the CNT_Syn signal comes.
  • CNT_Clk provides a clock signal to the counter.
  • the latch is used to latch the output of the counter.
  • the level signal Vout' outputted by the matte pixel unit is the third level signal Vr' or the fourth level signal Vs'.
  • the matte pixel unit when parsing the signal of the matte pixel unit, first, the matte pixel unit outputs a reset signal Vr', and the ramp generator outputs the ramp signal Vramp, and at this time
  • the ramp signal Vramp output by the ramp generator is its initial voltage Vramp_ini.
  • the ramp signal Vramp begins to fall, and when the first rising edge of the CNT_Syn signal occurs, the counter starts counting.
  • the ramp signal Vramp falls to the same level as the reset signal Vr', the counter stops counting. At this time, the reset signal Vr' is converted, and the counter obtains the third count value.
  • the matte pixel unit outputs the signal signal Vs', and the ramp signal Vramp output from the ramp generator returns to its initial voltage Vramp_ini. Then, when the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and when the second rising edge of the Ramp_En signal occurs, the second rising edge of the CNT_Syn signal appears simultaneously, and the counter starts counting. Further, when the ramp signal Vramp falls to the same level as the signal signal Vs', the counter stops counting. At this time, the signal signal Vs' conversion is completed, and the counter obtains the fourth count value.
  • the difference between the conversion result of the signal signal Vs' and the conversion result of the reset signal Vr' is calculated, that is, the difference between the fourth count value and the third count value is calculated, and at this time, the switch S is turned on, and the fourth is The difference between the count value and the third count value is written into the latch.
  • the above operation is repeated for all the matte pixel units, the digital signals of each matte pixel unit are obtained, and the average value of the digital signals of all the matte pixel units is calculated to obtain a black level value, that is, a plurality of matte
  • the average value of the difference between the fourth count value and the third count value of the level signal output by the pixel unit is a black level value.
  • the black level value is calculated according to the analysis result of the matte pixel unit, and the black level value is used as the period number of the delayed clock period, and the signal is output to the effective pixel unit.
  • the control signal CNT_Syn at which the counter starts counting is delayed by a predetermined number of clock cycles with respect to the control signal Ramp_En at which the ramp signal output from the ramp generator starts to decrease, to subtract black during the conversion of the signal signal.
  • the level value thus achieving the elimination of the black level while the signal signal is being converted, eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
  • the present invention also proposes a black level cancellation system.
  • FIG. 6 is a schematic structural diagram of a black level erasing system according to an embodiment of the present invention.
  • the black level cancellation system includes a receiving module 100, a ramp generator 200, a comparator 300, a counter 400, a controller 500, a switch module 600, and a latch 700.
  • the receiving module 100 is configured to receive a level signal output by the effective pixel unit, wherein the level signal includes a first level signal and a second level signal.
  • the first level signal is a reset signal (abbreviated as Vr)
  • the second level signal is a signal signal (abbreviated as Vs)
  • the difference between the signal signal and the reset signal (Vs-Vr) is an effective pixel unit. output signal.
  • the ramp generator 200 is for generating a ramp signal based on the ramp control signal.
  • the comparator 300 is configured to output a count stop signal when the amplitude of the ramp signal is equal to the amplitude of the first level signal and the amplitude of the ramp signal is equal to the amplitude of the second level signal.
  • the counter 400 is configured to start counting when receiving the first counting control signal and the second counting control signal, respectively, and stop counting when receiving the counting stop signal, to obtain a corresponding first counting value and second counting value, and according to the A count value and a second count value obtain a digital signal corresponding to an output signal of the effective pixel unit after the black level is eliminated.
  • the controller 500 is configured to generate a ramp control signal, and generate a first count control signal when the comparator receives the first level signal and the ramp signal, and receive the second level signal and the ramp signal at the comparator
  • the second count control signal is generated after a predetermined number of clock cycles are delayed, wherein the predetermined number is a black level value of the matte pixel unit.
  • the effective pixel unit when parsing the signal of the effective pixel unit, first, the effective pixel unit outputs a reset signal Vr, and the controller 500 controls the ramp generator 200 to output the ramp signal.
  • Vramp at this time, the ramp signal Vramp outputted by the ramp generator 200 is its initial voltage Vramp_ini. Then, when the first rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and when the first rising edge of the CNT_Syn signal occurs, the controller 500 controls the counter 400 to start counting. Then, when the comparator 300 compares the ramp signal Vramp to the same level as the reset signal Vr, the counter 400 stops counting. At this time, the reset signal Vr conversion is completed, and the counter 400 obtains the first count value.
  • the effective pixel unit outputs the signal signal Vs, and the controller 500 controls the ramp signal Vramp output from the ramp generator 200 to return to its initial voltage Vramp_ini. Then, when the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp starts to fall, and after a delay of n clock cycles, the second rising edge of the CNT_Syn signal appears, and the controller 500 controls the counter 400 to start counting.
  • the number n of delayed clock cycles is a black level value obtained by calculating an average value from the analysis result of the matte pixel unit.
  • the comparator 300 compares the ramp signal Vramp to be equal to the magnitude of the signal signal Vs, the counter 400 stops counting. At this time, the signal signal Vs conversion is completed, and the counter 400 obtains the second count value.
  • the switch module 600 is turned on after the counter 400 obtains the digital signal after the level signal conversion, and the latch 700 stores the digital signal after the level signal conversion. That is to say, the counter 400 calculates the difference between the conversion result of the signal signal Vs and the conversion result of the reset signal Vr, that is, calculates the difference between the second count value and the first count value, at which time the switch module 600 is turned on, and the control is second. The difference between the count value and the first count value is written into the latch 700.
  • the black level value is used as the number of cycles of the delayed clock cycle.
  • the control terminal CNT_Syn that starts counting the counter is compared with The control terminal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby eliminating the conversion of the signal signal.
  • the black level eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
  • the receiving module 100 is further configured to receive a level signal output by the invalid pixel unit, wherein the level signal output by the invalid pixel unit includes a third level signal and a fourth level signal; 300 is further configured to output a count stop signal when the amplitude of the ramp signal is equal to the amplitude of the third level signal and the amplitude of the ramp signal is equal to the amplitude of the fourth level signal; the counter 400 is further configured to respectively Counting is started when the third counting control signal and the fourth counting control signal are received, and counting is stopped when the counting stop signal is received, and the corresponding third counting value and fourth counting value are obtained, and according to the third counting value and the The fourth count value obtains a digital signal of the matte pixel unit corresponding to the level signal output by the matte pixel unit; and calculates an average value of the digital signals of the plurality of matte pixel units, and uses the average value as the matte pixel a black level value of the unit; the controller 500 is further configured to generate a third count control signal when
  • the third level signal output by the matte pixel unit is simply abbreviated as Vr'
  • the fourth level signal output by the matte pixel unit is abbreviated as Vs'.
  • the matte pixel unit when parsing the signal of the matte pixel unit, first, the matte pixel unit outputs a reset signal Vr', and the controller 500 controls the ramp generator 200 to output the ramp signal Vramp, and the ramp wave occurs at this time.
  • the ramp signal Vramp output by the device 200 is its initial voltage Vramp_ini.
  • the controller 500 controls the counter 400 to start counting.
  • the comparator 300 compares the ramp signal Vramp to the same level as the reset signal Vr'
  • the counter 400 stops counting. At this time, the reset signal Vr' conversion is completed, and the counter 400 obtains the third count value.
  • the matte pixel unit outputs the signal signal Vs', and the controller 500 controls the ramp signal Vramp output from the ramp generator 200 to return to its initial voltage Vramp_ini. Then, when the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp starts to fall, and when the second rising edge of the Ramp_En signal occurs, the second rising edge of the CNT_Syn signal appears simultaneously, and the controller 500 controls the counter 400 to start. count. Further, when the comparator 300 compares the ramp signal Vramp to be equal to the magnitude of the signal signal Vs', the counter 400 stops counting. At this time, the signal signal Vs' conversion is completed, and the counter 400 obtains the fourth count value.
  • the counter 400 calculates a difference between the conversion result of the signal signal Vs' and the conversion result of the reset signal Vr', that is, calculates a difference between the fourth count value and the third count value, and at this time, the switch module 600 is turned on, and will be fourth.
  • the difference between the count value and the third count value is written into the latch 700.
  • the black level value is calculated according to the analysis result of the matte pixel unit, and the black level value is used as the period number of the delayed clock period, and the signal output to the effective pixel unit is
  • the control signal CNT_Syn at which the counter starts counting is delayed by a predetermined number of clock cycles with respect to the control signal Ramp_En at which the ramp signal output from the ramp generator starts to decrease, to subtract black during the conversion of the signal signal.
  • the level value thus achieving the elimination of the black level while the signal signal is being converted, eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
  • the present invention also proposes an image sensor comprising the black level cancellation system of the embodiment of the present invention.
  • the black level value is used as the number of cycles of the delayed clock cycle, and when the signal signal output from the effective pixel unit is converted, the control signal CNT_Syn that starts counting from the counter is compared with the ramp generator.
  • the output ramp signal begins to fall, and the control signal Ramp_En is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby realizing the elimination of the black level while the signal signal is being converted.
  • the time required to subtract the analysis result of the effective pixel unit from the black level value and subtract it in the digital circuit is omitted.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • the terms “installation”, “connected”, “connected”, “fixed” and the like shall be understood broadly, and may be either a fixed connection or a detachable connection, unless explicitly stated and defined otherwise. , or integrated; can be mechanical or electrical connection; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of two elements or the interaction of two elements, unless otherwise specified Limited.
  • the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
  • the first feature "on” or “under” the second feature may be a direct contact of the first and second features, or the first and second features may be indirectly through an intermediate medium, unless otherwise explicitly stated and defined. contact.
  • the first feature "above”, “above” and “above” the second feature may be that the first feature is directly above or above the second feature, or merely that the first feature level is higher than the second feature.
  • the first feature “below”, “below” and “below” the second feature may be that the first feature is directly below or obliquely below the second feature, or merely that the first feature level is less than the second feature.

Abstract

Disclosed is a black level cancellation method, comprising: receiving a first level signal and a second level signal that are outputted by an effective pixel unit; starting first counting when receiving the first level signal and a ramp signal, and stopping the first counting when the amplitude of the ramp signal is equal to that of the first level signal, to obtain a first count value; performing timing when receiving the second level signal and the ramp signal, starting second counting after delaying for the preset quantity of clock periods, and stopping the second counting when the amplitude of the ramp signal is equal to that of the second level signal, to obtain a second count value, wherein the preset quantity is a black level value of a non-luminous pixel unit; and obtaining a digital signal according to the first count value and the second count value. The method cancels a black level during conversion of a second level signal, and saves the time needed by subtracting a black level value from an analysis result of an effective pixel unit in a digital circuit.

Description

黑电平的消除方法、系统及具有该系统的图像传感器Black level elimination method, system and image sensor having the same
相关申请的交叉引用Cross-reference to related applications
本申请要求中国专利申请号201510698184.8、申请日为2015年10月23日的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application claims the priority of the Chinese Patent Application No. 20151069818, filed on Jan. 23, 2015, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及图像处理技术领域,特别涉及一种黑电平的消除方法、一种黑电平的消除系统以及具有黑电平的消除系统的图像传感器。The present invention relates to the field of image processing technologies, and in particular, to a black level cancellation method, a black level cancellation system, and an image sensor having a black level cancellation system.
背景技术Background technique
由于CIS(CMOS Image Sensors,CMOS图像传感器)具有功耗低,可以在同一芯片上集成传感器和处理电路等优点,因而在图像处理中使用得越来越普及。Since CIS (CMOS Image Sensors) have low power consumption and can integrate sensors and processing circuits on the same chip, they are increasingly used in image processing.
通常,CIS由像素单元阵列以及相应的处理电路组成,像素单元阵列中的像素单元将光信号转换为电信号,并传输到相应的处理电路进行处理。其中,像素单元阵列通常分为3类:虚拟像素单元(dummy pixel)、无光像素单元(dark pixel)和有效像素单元(active pixel),虚拟像素单元用于减少工艺误差,无光像素单元用于模拟无光下像素单元的噪声等,而有效像素单元为有效的像素单元。Generally, the CIS is composed of a pixel unit array and corresponding processing circuits, and the pixel units in the pixel unit array convert the optical signals into electrical signals and transmit them to corresponding processing circuits for processing. Among them, the pixel unit array is generally divided into three categories: dummy pixel, dark pixel, and active pixel, and the virtual pixel unit is used to reduce process error, and is used for a matte pixel unit. The noise of the pixel unit is simulated under the absence of light, and the effective pixel unit is an effective pixel unit.
在对图像处理过程中,通常是在一帧图像中,先将所有的无光像素单元的信号解析出来,并计算所有无光像素单元信号的解析结果的平均值以得到黑电平值(Black Level),然后在解析有效像素单元的信号时将黑电平值减掉,以消除有效像素单元引起的一部分噪声。In the image processing process, usually in one frame image, all the signals of the matte pixel unit are first parsed, and the average of the parsing results of all the matte pixel unit signals is calculated to obtain the black level value (Black) Level), then subtracting the black level value when parsing the signal of the effective pixel unit to eliminate a part of the noise caused by the effective pixel unit.
相关技术中,黑电平的去除方式是:将所有无光像素单元的信号解析结果进行平均以得到黑电平值,并将黑电平值进行存储。然后,将所有有效像素单元的信号解析出来,并将解析结果进行存储。进而,在数字电路中将有效像素单元信号的解析结果与黑电平值相减以去除黑电平。然而,由于在数字电路中将有效像素单元信号的解析结果与黑电平值相减需要一定的时间,因此现有的去除黑电平的方法处理速度比较慢。In the related art, the black level is removed by averaging the signal analysis results of all the matte pixel units to obtain a black level value, and storing the black level value. Then, the signals of all the effective pixel units are parsed, and the parsing result is stored. Further, the analysis result of the effective pixel unit signal is subtracted from the black level value in the digital circuit to remove the black level. However, since it takes a certain time to subtract the analysis result of the effective pixel unit signal from the black level value in the digital circuit, the conventional method of removing the black level has a relatively slow processing speed.
发明内容Summary of the invention
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。为此,本发明的一个目的在于提出一种黑电平的消除方法,该方法在第二次电平信号的转换过程中减掉了黑电平值,因此在实现电平信号转换的同时消除了黑电平,从而省去了在数字电路中实现有效 像素单元的解析结果与黑电平值相减所需要的时间。The present invention aims to solve at least one of the technical problems in the related art to some extent. Accordingly, it is an object of the present invention to provide a black level erasing method which subtracts a black level value during the conversion of the second level signal, thereby eliminating the level signal conversion while achieving Black level, eliminating the need for effective implementation in digital circuits The time required for the resolution of the pixel unit to be subtracted from the black level value.
本发明的另一个目的在于提出一种黑电平的消除系统。本发明的又一个目的在于提出一种图像传感器。Another object of the present invention is to provide a black level cancellation system. It is still another object of the present invention to provide an image sensor.
为实现上述目的,本发明一方面实施例提出的一种黑电平的消除方法,包括以下步骤:接收有效像素单元输出的电平信号,其中,所述有效像素单元输出的电平信号包括第一电平信号和第二电平信号;当接收到所述第一电平信号和斜波信号时开始第一次计数,并当所述斜波信号的幅值与所述第一电平信号的幅值相等时停止所述第一次计数,得到第一计数值;当接收到所述第二电平信号和所述斜波信号时进行计时,并在延迟预定数目的时钟周期后开始第二次计数,以及当所述斜波信号的幅值与所述第二电平信号的幅值相等时停止所述第二次计数,得到第二计数值,其中,所述预定数目为无光像素单元的黑电平值;根据所述第一计数值和所述第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号。In order to achieve the above object, a black level erasing method according to an embodiment of the present invention includes the following steps: receiving a level signal output by an effective pixel unit, wherein a level signal output by the effective pixel unit includes a a level signal and a second level signal; starting the first counting when the first level signal and the ramp signal are received, and when the amplitude of the ramp signal is the first level signal Stopping the first count when the amplitudes are equal, obtaining a first count value; timing when receiving the second level signal and the ramp signal, and starting after delaying a predetermined number of clock cycles Secondary counting, and stopping the second counting when the amplitude of the ramp signal is equal to the amplitude of the second level signal, to obtain a second count value, wherein the predetermined number is matte a black level value of the pixel unit; and a digital signal corresponding to an output signal of the effective pixel unit after the black level is removed according to the first count value and the second count value.
本发明实施例的黑电平的消除方法,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制端CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制端Ramp_En延时预定个数的时钟周期,以在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。In the black level elimination method of the embodiment of the present invention, the black level value is used as the number of cycles of the delayed clock cycle. When the signal signal output by the effective pixel unit is converted, the control terminal CNT_Syn that starts counting is compared with the counter. The control terminal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby eliminating the conversion of the signal signal. The black level eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
为实现上述目的,本发明另一方面实施例提出的黑电平的消除系统,包括:接收模块,用于接收有效像素单元输出的电平信号,其中,所述有效像素单元输出的电平信号包括第一电平信号和第二电平信号;斜波发生器,用于根据斜波控制信号生成斜波信号;比较器,用于在所述斜波信号的幅值与所述第一电平信号的幅值相等以及所述斜波信号的幅值与所述第二电平信号的幅值相等时输出计数停止信号;计数器,用于分别在接收到第一计数控制信号和第二计数控制信号时开始计数,并在接收到所述计数停止信号时停止计数,得到对应的第一计数值和第二计数值,并根据所述第一计数值和所述第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号;控制器,用于生成所述斜波控制信号,并在所述比较器接收到所述第一电平信号和所述斜波信号时,生成所述第一计数控制信号,以及在所述比较器接收到所述第二电平信号和所述斜波信号时,延迟预定数目的时钟周期后生成所述第二计数控制信号,其中,所述预定数目为无光像素单元的黑电平值。In order to achieve the above object, a black level cancellation system according to another embodiment of the present invention includes: a receiving module, configured to receive a level signal output by an effective pixel unit, wherein a level signal output by the effective pixel unit a first level signal and a second level signal; a ramp generator for generating a ramp signal based on the ramp control signal; a comparator for using the amplitude of the ramp signal and the first And outputting a count stop signal when the amplitudes of the flat signals are equal and the amplitude of the ramp signal is equal to the amplitude of the second level signal; and the counter is configured to receive the first count control signal and the second count respectively When the signal is controlled, the counting starts, and when the counting stop signal is received, the counting is stopped, and the corresponding first counting value and the second counting value are obtained, and the blackening is obtained according to the first counting value and the second counting value. a digital signal corresponding to an output signal of the effective pixel unit after the level; a controller configured to generate the ramp control signal, and receive the first level signal and the Generating the first count control signal when the wave signal is received, and generating the second count control after delaying a predetermined number of clock cycles when the comparator receives the second level signal and the ramp signal a signal, wherein the predetermined number is a black level value of the matte pixel unit.
本发明实施例的黑电平的消除系统,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制端CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制端Ramp_En延时预定个数的时钟周期,以 在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。In the black level elimination system of the embodiment of the present invention, the black level value is used as the number of cycles of the delayed clock cycle. When the signal signal output by the effective pixel unit is converted, the control terminal CNT_Syn that starts counting the counter is compared with The control terminal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to The black level value is subtracted during the conversion of the signal signal, thereby realizing the elimination of the black level while the signal signal is being converted, eliminating the need to store the analysis result of the effective pixel unit and the black level value in the digital circuit. The time required to subtract.
此外,本发明的实施例还提出了一种图像传感器,其包括上述的黑电平的消除系统。Furthermore, embodiments of the present invention also propose an image sensor comprising the black level cancellation system described above.
此外,本发明的实施例还提出了一种计算机可读存储介质,其包括计算机指令,当计算机指令被执行时,使得执行上述的黑电平的消除方法。Furthermore, embodiments of the present invention also provide a computer readable storage medium comprising computer instructions that, when executed, cause the black level cancellation method to be performed.
本发明实施例的图像传感器,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制端CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制端Ramp_En延时预定个数的时钟周期,以在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。In the image sensor of the embodiment of the present invention, the black level value is used as the number of cycles of the delayed clock cycle, and when the signal signal output from the effective pixel unit is converted, the control terminal CNT_Syn that starts counting from the counter is compared with the ramp generator. The control terminal Ramp_En at which the output ramp signal starts to fall is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby realizing the elimination of the black level while the signal signal is being converted. The time required to subtract the analysis result of the effective pixel unit from the black level value and subtract it in the digital circuit is omitted.
附图说明DRAWINGS
图1是根据本发明实施例的黑电平的消除方法的流程图;1 is a flow chart of a method of eliminating a black level according to an embodiment of the present invention;
图2中示出了像素单元阵列中每一列有效像素单元的模数转换器的拓扑结构;The topology of an analog to digital converter for each column of effective pixel cells in a pixel cell array is shown in FIG. 2;
图3是根据本发明一个实施例的对有效像素单元的信号进行解析时的时序图;3 is a timing diagram of parsing signals of effective pixel cells in accordance with one embodiment of the present invention;
图4是根据本发明一个具体实施例的黑电平的消除方法的流程图;4 is a flow chart of a black level removal method in accordance with an embodiment of the present invention;
图5是根据本发明一个实施例的对无光像素单元的信号进行解析时的时序图;以及5 is a timing diagram of parsing signals of a matte pixel unit, in accordance with one embodiment of the present invention;
图6是根据本发明实施例的黑电平的消除系统的结构示意图。FIG. 6 is a schematic structural diagram of a black level erasing system according to an embodiment of the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
下面参照附图来描述根据本发明实施例提出的黑电平的消除方法、黑电平的消除系统以及具有该黑电平的消除系统的图像传感器。A black level erasing method, a black level canceling system, and an image sensor having the black level canceling system according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
图1是根据本发明实施例的黑电平的消除方法的流程图。如图1所示,该黑电平的消除方法包括以下步骤:1 is a flow chart of a method of eliminating black levels in accordance with an embodiment of the present invention. As shown in FIG. 1, the method for eliminating the black level includes the following steps:
S1,接收有效像素单元输出的电平信号,其中,电平信号包括第一电平信号和第二电平信号。S1. Receive a level signal output by the effective pixel unit, wherein the level signal includes a first level signal and a second level signal.
具体地,在解析有效像素单元的信号时,为了消除有效像素单元引起的固定模式 噪声PFN,CIS一般需要采用双采样技术,简单来说就是解析两次有效像素单元输出的电平信号,即第一电平信号和第二电平信号。其中,第一电平信号为reset信号(简记为Vr),第二电平信号为signal信号(简记为Vs),signal信号和reset信号之差(Vs-Vr)即是有效像素单元的输出信号。Specifically, when parsing the signal of the effective pixel unit, in order to eliminate the fixed mode caused by the effective pixel unit Noise PFN, CIS generally needs to use the double sampling technique, which is simply to analyze the level signals of the two effective pixel unit outputs, that is, the first level signal and the second level signal. Wherein, the first level signal is a reset signal (abbreviated as Vr), the second level signal is a signal signal (abbreviated as Vs), and the difference between the signal signal and the reset signal (Vs-Vr) is an effective pixel unit. output signal.
S2,当接收到第一电平信号和斜波信号时开始第一次计数,并当斜波信号的幅值与第一电平信号的幅值相等时停止第一次计数,得到第一计数值。S2, starting the first counting when receiving the first level signal and the ramp signal, and stopping the first counting when the amplitude of the ramp signal is equal to the amplitude of the first level signal, obtaining the first count value.
具体地,模数转换器ADC用于将有效像素单元输出的电平信号转换成数字信号,进而生成图像。例如,可采用列级模数转换器column level ADC,其中,优选地,可采用单斜率列级模数转换器,由于单斜率列级模数转换器的结构简单易于实现,因此在图像处理时通常会采用该模数转换器。Specifically, the analog-to-digital converter ADC is configured to convert a level signal output by the effective pixel unit into a digital signal to generate an image. For example, a column-level analog-to-digital converter (column level ADC) may be employed, wherein, preferably, a single-slope column-level analog-to-digital converter may be employed, and since the structure of the single-slope column-level analog-to-digital converter is simple and easy to implement, during image processing This analog to digital converter is usually used.
具体而言,图2中示出了像素单元阵列中每一列有效像素单元的模数转换器的拓扑结构。如图2所示,有效像素单元输出reset信号Vr和signal信号Vs。像素单元阵列中的所有有效像素单元共用斜波发生器,斜波发生器用于输出斜波信号Vramp。Ramp_En为斜波信号Vramp开始下降的控制信号,在Ramp_En信号的上升沿到来时斜波信号Vramp开始下降。比较器用于对有效像素单元输出的电平信号Vout(Vr/Vs)与斜波信号Vramp的大小(幅值)进行比较,并在斜波信号Vramp与电平信号Vout(Vr/Vs)的大小相等时,输出信号翻转。计数器用于量化斜波信号Vramp与电平信号Vout(Vr/Vs)大小相等所需的下降时间,以二进制值表示。CNT_Syn为计数器开始计数的控制信号,在CNT_Syn信号的上升沿到来时计数器开始计数。CNT_Clk为计数器提供时钟信号。锁存器用于锁存计数器的输出结果,其中有效像素单元输出的电平信号Vout为第一电平信号Vr或第二电平信号Vs。In particular, the topology of an analog to digital converter for each column of effective pixel cells in a pixel cell array is shown in FIG. As shown in FIG. 2, the effective pixel unit outputs a reset signal Vr and a signal signal Vs. All the effective pixel units in the pixel unit array share a ramp generator, and the ramp generator is used to output the ramp signal Vramp. Ramp_En is a control signal for the ramp signal Vramp to start falling, and the ramp signal Vramp starts to fall when the rising edge of the Ramp_En signal comes. The comparator is used to compare the level signal Vout (Vr/Vs) outputted by the effective pixel unit with the magnitude (amplitude) of the ramp signal Vramp, and the magnitude of the ramp signal Vramp and the level signal Vout (Vr/Vs) When they are equal, the output signal is inverted. The counter is used to quantize the fall time required for the ramp signal Vramp to be equal in magnitude to the level signal Vout (Vr/Vs), expressed as a binary value. CNT_Syn is the control signal for the counter to start counting, and the counter starts counting when the rising edge of the CNT_Syn signal comes. CNT_Clk provides a clock signal to the counter. The latch is used to latch the output result of the counter, wherein the level signal Vout output by the effective pixel unit is the first level signal Vr or the second level signal Vs.
如图3所示,在本发明的实施例中,在对有效像素单元的信号进行解析时,首先有效像素单元输出reset信号Vr,斜波发生器输出斜波信号Vramp,并且此时斜波发生器输出的斜波信号Vramp为其初始电压Vramp_ini。然后在Ramp_En信号的第一个上升沿出现时,斜波信号Vramp开始下降,并在CNT_Syn信号的第一个上升沿出现时,计数器开始计数。然后当斜波信号Vramp下降到与reset信号Vr大小相等时,计数器停止计数。此时reset信号Vr转换完成,计数器得到第一计数值。As shown in FIG. 3, in the embodiment of the present invention, when parsing the signal of the effective pixel unit, first, the effective pixel unit outputs a reset signal Vr, and the ramp generator outputs a ramp signal Vramp, and the ramp wave occurs at this time. The ramp signal Vramp output by the device is its initial voltage Vramp_ini. Then, when the first rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and when the first rising edge of the CNT_Syn signal occurs, the counter starts counting. Then, when the ramp signal Vramp falls to the same level as the reset signal Vr, the counter stops counting. At this time, the reset signal Vr is converted, and the counter obtains the first count value.
S3,当接收到第二电平信号和斜波信号时进行计时,并在延迟预定数目的时钟周期后开始第二次计数,以及当斜波信号的幅值与第二电平信号的幅值相等时停止第二次计数,得到第二计数值,其中,预定数目为无光像素单元的黑电平值。S3, timing when receiving the second level signal and the ramp signal, and starting the second counting after delaying a predetermined number of clock cycles, and when the amplitude of the ramp signal and the amplitude of the second level signal When the second time is equal, the second count is stopped, and the second count value is obtained, wherein the predetermined number is the black level value of the matte pixel unit.
具体地,如图3所示,在reset信号Vr转换完成后,有效像素单元输出signal信号Vs,且斜波发生器输出的斜波信号Vramp回到其初始电压Vramp_ini。然后在 Ramp_En信号的第二个上升沿出现时,斜波信号Vramp开始下降,进而在延迟n个时钟周期后,CNT_Syn信号的第二个上升沿出现,计数器开始计数。其中,延迟的时钟周期的个数n为根据无光像素单元的解析结果计算平均值得到的黑电平值。进而,当斜波信号Vramp下降到与signal信号Vs大小相等时,计数器停止计数。此时signal信号Vs转换完成,计数器得到第二计数值。Specifically, as shown in FIG. 3, after the conversion of the reset signal Vr is completed, the effective pixel unit outputs the signal signal Vs, and the ramp signal Vramp outputted by the ramp generator returns to its initial voltage Vramp_ini. Then at When the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and after a delay of n clock cycles, the second rising edge of the CNT_Syn signal appears and the counter starts counting. The number n of delayed clock cycles is a black level value obtained by calculating an average value from the analysis result of the matte pixel unit. Further, when the ramp signal Vramp falls to be equal to the magnitude of the signal signal Vs, the counter stops counting. At this point, the signal signal Vs conversion is completed, and the counter obtains the second count value.
应当理解的是,计算黑电平值的方式可采用现有的方式实现,为了避免冗余,此处不再复赘。It should be understood that the manner of calculating the black level value can be implemented in an existing manner, and in order to avoid redundancy, it is not duplicated here.
S4,根据第一计数值和第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号。S4. Obtain a digital signal corresponding to an output signal of the effective pixel unit after the black level is removed according to the first count value and the second count value.
具体地,在计数器还用于计算signal信号Vs的转换结果和reset信号Vr的转换结果的差值,即计算第二计数值与第一计数值的差值,此时开关S导通,将第二计数值与第一计数值的差值写入到锁存器中。Specifically, the counter is further configured to calculate a difference between the conversion result of the signal signal Vs and the conversion result of the reset signal Vr, that is, calculate a difference between the second count value and the first count value, and at this time, the switch S is turned on, and the The difference between the second count value and the first count value is written into the latch.
本发明实施例的黑电平的消除方法,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制信号CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制信号Ramp_En延时预定个数的时钟周期,以在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。In the black level erasing method of the embodiment of the present invention, the black level value is used as the number of periods of the delayed clock period, and when the signal signal output from the effective pixel unit is converted, the control signal CNT_Syn at which the counter starts counting is compared with The control signal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby eliminating the signal signal conversion while eliminating The black level eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
图4是根据本发明一个具体实施例的黑电平的消除方法的流程图。如图4所示,在上述步骤S1之前,还可以包括步骤S5和S6;具体地,该黑电平的消除方法包括以下步骤:4 is a flow chart of a black level cancellation method in accordance with an embodiment of the present invention. As shown in FIG. 4, before the step S1, steps S5 and S6 may be further included; specifically, the black level elimination method includes the following steps:
S5,接收无光像素单元输出的电平信号,并将无光像素单元输出的电平信号转换为无光像素单元的数字信号。S5. Receive a level signal output by the matte pixel unit, and convert the level signal output by the matte pixel unit into a digital signal of the matte pixel unit.
具体地,在解析无光像素单元的电平信号时,也需要解析两次无光像素单元输出的电平信号,为了便于说明,这里将无光像素单元输出的第三电平信号简记为Vr’,将无光像素单元输出的第四电平信号简记为Vs’。Specifically, when parsing the level signal of the matte pixel unit, it is also necessary to parse the level signal of the output of the matte pixel unit twice. For convenience of explanation, the third level signal output by the matte pixel unit is simply abbreviated as Vr', the fourth level signal output by the matte pixel unit is abbreviated as Vs'.
具体而言,图2中示出的模数转换器的拓扑结构同样适用于无光像素单元。如图2所示,无光像素单元输出reset信号Vr’和signal信号Vs’。像素单元阵列中的所有无光像素单元共用斜波发生器,斜波发生器用于输出斜波信号Vramp。Ramp_En为斜波信号Vramp开始下降的控制信号,在Ramp_En信号的上升沿到来时斜波信号Vramp开始下降。比较器用于对无光像素单元输出的电平信号Vout’(Vr’/Vs’)与斜波信号Vramp的大小(幅值)进行比较,并在斜波信号Vramp与电平信号Vout’(Vr’/Vs’)大小相等时,输出信号翻转。计数器用于量化斜波信号Vramp与电平信号Vout’ (Vr’/Vs’)大小相等所需的下降时间,以二进制值表示。CNT_Syn为计数器开始计数的控制信号,在CNT_Syn信号的上升沿到来时计数器开始计数。CNT_Clk为计数器提供时钟信号。锁存器用于锁存计数器的输出结果。其中无光像素单元输出的电平信号Vout’为第三电平信号Vr’或第四电平信号Vs’。In particular, the topology of the analog to digital converter shown in Figure 2 is equally applicable to matte pixel units. As shown in Fig. 2, the matte pixel unit outputs a reset signal Vr' and a signal signal Vs'. All the matte pixel units in the pixel unit array share a ramp generator, and the ramp generator is used to output the ramp signal Vramp. Ramp_En is a control signal for the ramp signal Vramp to start falling, and the ramp signal Vramp starts to fall when the rising edge of the Ramp_En signal comes. The comparator is used to compare the level signal Vout' (Vr'/Vs') outputted by the matte pixel unit with the magnitude (amplitude) of the ramp signal Vramp, and the ramp signal Vramp and the level signal Vout' (Vr) When '/Vs' is equal, the output signal is inverted. The counter is used to quantize the ramp signal Vramp and the level signal Vout' (Vr'/Vs') The fall time required to be equal in size, expressed as a binary value. CNT_Syn is the control signal for the counter to start counting, and the counter starts counting when the rising edge of the CNT_Syn signal comes. CNT_Clk provides a clock signal to the counter. The latch is used to latch the output of the counter. The level signal Vout' outputted by the matte pixel unit is the third level signal Vr' or the fourth level signal Vs'.
如图5所示,在本发明的实施例中,在对无光像素单元的信号进行解析时,首先无光像素单元输出reset信号Vr’,斜波发生器输出斜波信号Vramp,并且此时斜波发生器输出的斜波信号Vramp为其初始电压Vramp_ini。然后在Ramp_En信号的第一个上升沿出现时,斜波信号Vramp开始下降,并在CNT_Syn信号的第一个上升沿出现时,计数器开始计数。然后当斜波信号Vramp下降到与reset信号Vr’大小相等时,计数器停止计数。此时reset信号Vr’转换完成,计数器得到第三计数值。As shown in FIG. 5, in the embodiment of the present invention, when parsing the signal of the matte pixel unit, first, the matte pixel unit outputs a reset signal Vr', and the ramp generator outputs the ramp signal Vramp, and at this time The ramp signal Vramp output by the ramp generator is its initial voltage Vramp_ini. Then, when the first rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and when the first rising edge of the CNT_Syn signal occurs, the counter starts counting. Then, when the ramp signal Vramp falls to the same level as the reset signal Vr', the counter stops counting. At this time, the reset signal Vr' is converted, and the counter obtains the third count value.
进而,在reset信号Vr’转换完成后,无光像素单元输出signal信号Vs’,且斜波发生器输出的斜波信号Vramp回到其初始电压Vramp_ini。然后在Ramp_En信号的第二个上升沿出现时,斜波信号Vramp开始下降,并且在Ramp_En信号的第二个上升沿出现时,CNT_Syn信号的第二个上升沿同时出现,计数器开始计数。进而,当斜波信号Vramp下降到与signal信号Vs’大小相等时,计数器停止计数。此时signal信号Vs’转换完成,计数器得到第四计数值。Further, after the conversion of the reset signal Vr' is completed, the matte pixel unit outputs the signal signal Vs', and the ramp signal Vramp output from the ramp generator returns to its initial voltage Vramp_ini. Then, when the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and when the second rising edge of the Ramp_En signal occurs, the second rising edge of the CNT_Syn signal appears simultaneously, and the counter starts counting. Further, when the ramp signal Vramp falls to the same level as the signal signal Vs', the counter stops counting. At this time, the signal signal Vs' conversion is completed, and the counter obtains the fourth count value.
进而,在计数器中计算signal信号Vs’的转换结果和reset信号Vr’的转换结果的差值,即计算第四计数值与第三计数值的差值,此时开关S导通,将第四计数值与第三计数值的差值写入到锁存器中。Further, in the counter, the difference between the conversion result of the signal signal Vs' and the conversion result of the reset signal Vr' is calculated, that is, the difference between the fourth count value and the third count value is calculated, and at this time, the switch S is turned on, and the fourth is The difference between the count value and the third count value is written into the latch.
S6,计算多个无光像素单元的数字信号的平均值,并将平均值作为无光像素单元的黑电平值。S6. Calculate an average value of the digital signals of the plurality of matte pixel units, and use the average value as the black level value of the matte pixel unit.
具体地,对所有的无光像素单元重复上述操作,得到每个无光像素单元的数字信号,并计算所有无光像素单元的数字信号的平均值以得到黑电平值,即多个无光像素单元输出的电平信号的第四计数值与第三计数值的差值的平均值即为黑电平值。Specifically, the above operation is repeated for all the matte pixel units, the digital signals of each matte pixel unit are obtained, and the average value of the digital signals of all the matte pixel units is calculated to obtain a black level value, that is, a plurality of matte The average value of the difference between the fourth count value and the third count value of the level signal output by the pixel unit is a black level value.
S1,接收有效像素单元输出的电平信号,其中,电平信号包括第一电平信号和第二电平信号。S1. Receive a level signal output by the effective pixel unit, wherein the level signal includes a first level signal and a second level signal.
S2,当接收到第一电平信号和斜波信号时开始第一次计数,并当斜波信号的幅值与第一电平信号的幅值相等时停止第一次计数,得到第一计数值。S2, starting the first counting when receiving the first level signal and the ramp signal, and stopping the first counting when the amplitude of the ramp signal is equal to the amplitude of the first level signal, obtaining the first count value.
S3,当接收到第二电平信号和斜波信号时进行计时,并在延迟预定数目的时钟周期后开始第二次计数,以及当斜波信号的幅值与第二电平信号的幅值相等时停止第二次计数,得到第二计数值,其中,预定数目为无光像素单元的黑电平值。S3, timing when receiving the second level signal and the ramp signal, and starting the second counting after delaying a predetermined number of clock cycles, and when the amplitude of the ramp signal and the amplitude of the second level signal When the second time is equal, the second count is stopped, and the second count value is obtained, wherein the predetermined number is the black level value of the matte pixel unit.
S4,根据第一计数值和第二计数值得到消除黑电平后有效像素单元的输出信号所对应 的数字信号。S4, corresponding to the output signal of the effective pixel unit after the black level is removed according to the first count value and the second count value Digital signal.
本发明实施例的黑电平的消除方法,根据无光像素单元的解析结果计算出黑电平值,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制信号CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制信号Ramp_En延时预定个数的时钟周期,以在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。为了实现上述实施例,本发明还提出一种黑电平的消除系统。In the black level erasing method of the embodiment of the present invention, the black level value is calculated according to the analysis result of the matte pixel unit, and the black level value is used as the period number of the delayed clock period, and the signal is output to the effective pixel unit. When the signal is converted, the control signal CNT_Syn at which the counter starts counting is delayed by a predetermined number of clock cycles with respect to the control signal Ramp_En at which the ramp signal output from the ramp generator starts to decrease, to subtract black during the conversion of the signal signal. The level value, thus achieving the elimination of the black level while the signal signal is being converted, eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit. In order to implement the above embodiment, the present invention also proposes a black level cancellation system.
图6是根据本发明实施例的黑电平的消除系统的结构示意图。如图6所示,该黑电平的消除系统包括:接收模块100、斜波发生器200、比较器300、计数器400、控制器500、开关模块600和锁存器700。FIG. 6 is a schematic structural diagram of a black level erasing system according to an embodiment of the present invention. As shown in FIG. 6, the black level cancellation system includes a receiving module 100, a ramp generator 200, a comparator 300, a counter 400, a controller 500, a switch module 600, and a latch 700.
具体地,接收模块100用于接收有效像素单元输出的电平信号,其中,电平信号包括第一电平信号和第二电平信号。其中,在解析有效像素单元的信号时,需要解析两次有效像素单元输出的电平信号,即第一电平信号和第二电平信号。其中,第一电平信号为reset信号(简记为Vr),第二电平信号为signal信号(简记为Vs),signal信号和reset信号之差(Vs-Vr)即是有效像素单元的输出信号。Specifically, the receiving module 100 is configured to receive a level signal output by the effective pixel unit, wherein the level signal includes a first level signal and a second level signal. Wherein, when parsing the signal of the effective pixel unit, it is necessary to parse the level signals output by the two effective pixel units, that is, the first level signal and the second level signal. Wherein, the first level signal is a reset signal (abbreviated as Vr), the second level signal is a signal signal (abbreviated as Vs), and the difference between the signal signal and the reset signal (Vs-Vr) is an effective pixel unit. output signal.
斜波发生器200用于根据斜波控制信号生成斜波信号。比较器300用于在斜波信号的幅值与第一电平信号的幅值相等以及斜波信号的幅值与第二电平信号的幅值相等时输出计数停止信号。计数器400用于分别在接收到第一计数控制信号和第二计数控制信号时开始计数,并在接收到计数停止信号时停止计数,得到对应的第一计数值和第二计数值,并根据第一计数值和第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号。The ramp generator 200 is for generating a ramp signal based on the ramp control signal. The comparator 300 is configured to output a count stop signal when the amplitude of the ramp signal is equal to the amplitude of the first level signal and the amplitude of the ramp signal is equal to the amplitude of the second level signal. The counter 400 is configured to start counting when receiving the first counting control signal and the second counting control signal, respectively, and stop counting when receiving the counting stop signal, to obtain a corresponding first counting value and second counting value, and according to the A count value and a second count value obtain a digital signal corresponding to an output signal of the effective pixel unit after the black level is eliminated.
控制器500用于生成斜波控制信号,并在比较器接收到第一电平信号和斜波信号时,生成第一计数控制信号,以及在比较器接收到第二电平信号和斜波信号时,延迟预定数目的时钟周期后生成第二计数控制信号,其中,预定数目为无光像素单元的黑电平值。The controller 500 is configured to generate a ramp control signal, and generate a first count control signal when the comparator receives the first level signal and the ramp signal, and receive the second level signal and the ramp signal at the comparator The second count control signal is generated after a predetermined number of clock cycles are delayed, wherein the predetermined number is a black level value of the matte pixel unit.
具体地,如图3所示,在本发明的实施例中,在对有效像素单元的信号进行解析时,首先有效像素单元输出reset信号Vr,控制器500控制斜波发生器200输出斜波信号Vramp,此时斜波发生器200输出的斜波信号Vramp为其初始电压Vramp_ini。然后在Ramp_En信号的第一个上升沿出现时,斜波信号Vramp开始下降,并在CNT_Syn信号的第一个上升沿出现时,控制器500控制计数器400开始计数。然后当比较器300比较斜波信号Vramp下降到与reset信号Vr大小相等时,计数器400停止计数。此时reset信号Vr转换完成,计数器400得到第一计数值。 Specifically, as shown in FIG. 3, in the embodiment of the present invention, when parsing the signal of the effective pixel unit, first, the effective pixel unit outputs a reset signal Vr, and the controller 500 controls the ramp generator 200 to output the ramp signal. Vramp, at this time, the ramp signal Vramp outputted by the ramp generator 200 is its initial voltage Vramp_ini. Then, when the first rising edge of the Ramp_En signal occurs, the ramp signal Vramp begins to fall, and when the first rising edge of the CNT_Syn signal occurs, the controller 500 controls the counter 400 to start counting. Then, when the comparator 300 compares the ramp signal Vramp to the same level as the reset signal Vr, the counter 400 stops counting. At this time, the reset signal Vr conversion is completed, and the counter 400 obtains the first count value.
进而,在reset信号Vr转换完成后,有效像素单元输出signal信号Vs,且控制器500控制斜波发生器200输出的斜波信号Vramp回到其初始电压Vramp_ini。然后在Ramp_En信号的第二个上升沿出现时,斜波信号Vramp开始下降,进而在延迟n个时钟周期后,CNT_Syn信号的第二个上升沿出现,控制器500控制计数器400开始计数。其中,延迟的时钟周期的个数n为根据无光像素单元的解析结果计算平均值得到的黑电平值。进而,当比较器300比较斜波信号Vramp下降到与signal信号Vs大小相等时,计数器400停止计数。此时signal信号Vs转换完成,计数器400得到第二计数值。Further, after the conversion of the reset signal Vr is completed, the effective pixel unit outputs the signal signal Vs, and the controller 500 controls the ramp signal Vramp output from the ramp generator 200 to return to its initial voltage Vramp_ini. Then, when the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp starts to fall, and after a delay of n clock cycles, the second rising edge of the CNT_Syn signal appears, and the controller 500 controls the counter 400 to start counting. The number n of delayed clock cycles is a black level value obtained by calculating an average value from the analysis result of the matte pixel unit. Further, when the comparator 300 compares the ramp signal Vramp to be equal to the magnitude of the signal signal Vs, the counter 400 stops counting. At this time, the signal signal Vs conversion is completed, and the counter 400 obtains the second count value.
进而,开关模块600在计数器400得到电平信号转换后的数字信号之后导通,锁存器700存储电平信号转换后的数字信号。也就是说计数器400计算signal信号Vs的转换结果和reset信号Vr的转换结果的差值,即计算第二计数值与第一计数值的差值,此时开关模块600导通,控制将第二计数值与第一计数值的差值写入到锁存器700中。Further, the switch module 600 is turned on after the counter 400 obtains the digital signal after the level signal conversion, and the latch 700 stores the digital signal after the level signal conversion. That is to say, the counter 400 calculates the difference between the conversion result of the signal signal Vs and the conversion result of the reset signal Vr, that is, calculates the difference between the second count value and the first count value, at which time the switch module 600 is turned on, and the control is second. The difference between the count value and the first count value is written into the latch 700.
本发明实施例的黑电平的消除系统,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制端CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制端Ramp_En延时预定个数的时钟周期,以在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。In the black level elimination system of the embodiment of the present invention, the black level value is used as the number of cycles of the delayed clock cycle. When the signal signal output by the effective pixel unit is converted, the control terminal CNT_Syn that starts counting the counter is compared with The control terminal Ramp_En of the ramp signal output from the ramp generator is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby eliminating the conversion of the signal signal. The black level eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
在本发明的一个实施例中,接收模块100还用于接收无效像素单元输出的电平信号,其中,无效像素单元输出的电平信号包括第三电平信号和第四电平信号;比较器300还用于在斜波信号的幅值与第三电平信号的幅值相等以及斜波信号的幅值与第四电平信号的幅值相等时输出计数停止信号;计数器400还用于分别在接收到第三计数控制信号和第四计数控制信号时开始计数,并在接收到计数停止信号时停止计数,得到对应的第三计数值和第四计数值,并根据第三计数值和所述第四计数值得到与无光像素单元输出的电平信号相对应的无光像素单元的数字信号;并计算多个无光像素单元的数字信号的平均值,并将平均值作为无光像素单元的黑电平值;控制器500还用于在比较器接收到第三电平信号和斜波信号时,生成第三计数控制信号,以及在比较器接收到第四电平信号和斜波信号时,生成第四计数控制信号。具体地,在解析无光像素单元的电平信号时,也需要解析两次无光像素单元输出的电平信号,为了便于说明,这里将无光像素单元输出的第三电平信号简记为Vr’,将无光像素单元输出的第四电平信号简记为Vs’。In an embodiment of the present invention, the receiving module 100 is further configured to receive a level signal output by the invalid pixel unit, wherein the level signal output by the invalid pixel unit includes a third level signal and a fourth level signal; 300 is further configured to output a count stop signal when the amplitude of the ramp signal is equal to the amplitude of the third level signal and the amplitude of the ramp signal is equal to the amplitude of the fourth level signal; the counter 400 is further configured to respectively Counting is started when the third counting control signal and the fourth counting control signal are received, and counting is stopped when the counting stop signal is received, and the corresponding third counting value and fourth counting value are obtained, and according to the third counting value and the The fourth count value obtains a digital signal of the matte pixel unit corresponding to the level signal output by the matte pixel unit; and calculates an average value of the digital signals of the plurality of matte pixel units, and uses the average value as the matte pixel a black level value of the unit; the controller 500 is further configured to generate a third count control signal when the comparator receives the third level signal and the ramp signal, and receive the fourth at the comparator When the level signal and a ramp signal, generating a fourth counting control signal. Specifically, when parsing the level signal of the matte pixel unit, it is also necessary to parse the level signal of the output of the matte pixel unit twice. For convenience of explanation, the third level signal output by the matte pixel unit is simply abbreviated as Vr', the fourth level signal output by the matte pixel unit is abbreviated as Vs'.
如图5所示,在对无光像素单元的信号进行解析时,首先无光像素单元输出reset信号Vr’,控制器500控制斜波发生器200输出斜波信号Vramp,并且此时斜波发生器200输出的斜波信号Vramp为其初始电压Vramp_ini。然后在Ramp_En信号的第一个上 升沿出现时,斜波信号Vramp开始下降,并在CNT_Syn信号的第一个上升沿出现时,控制器500控制计数器400开始计数。然后当比较器300比较斜波信号Vramp下降到与reset信号Vr’大小相等时,计数器400停止计数。此时reset信号Vr’转换完成,计数器400得到第三计数值。As shown in FIG. 5, when parsing the signal of the matte pixel unit, first, the matte pixel unit outputs a reset signal Vr', and the controller 500 controls the ramp generator 200 to output the ramp signal Vramp, and the ramp wave occurs at this time. The ramp signal Vramp output by the device 200 is its initial voltage Vramp_ini. Then on the first of the Ramp_En signal When the rising edge occurs, the ramp signal Vramp begins to fall, and when the first rising edge of the CNT_Syn signal occurs, the controller 500 controls the counter 400 to start counting. Then, when the comparator 300 compares the ramp signal Vramp to the same level as the reset signal Vr', the counter 400 stops counting. At this time, the reset signal Vr' conversion is completed, and the counter 400 obtains the third count value.
进而,在reset信号Vr’转换完成后,无光像素单元输出signal信号Vs’,且控制器500控制斜波发生器200输出的斜波信号Vramp回到其初始电压Vramp_ini。然后在Ramp_En信号的第二个上升沿出现时,斜波信号Vramp开始下降,并且在Ramp_En信号的第二个上升沿出现时CNT_Syn信号的第二个上升沿同时出现,控制器500控制计数器400开始计数。进而,当比较器300比较斜波信号Vramp下降到与signal信号Vs’大小相等时,计数器400停止计数。此时signal信号Vs’转换完成,计数器400得到第四计数值。Further, after the conversion of the reset signal Vr' is completed, the matte pixel unit outputs the signal signal Vs', and the controller 500 controls the ramp signal Vramp output from the ramp generator 200 to return to its initial voltage Vramp_ini. Then, when the second rising edge of the Ramp_En signal occurs, the ramp signal Vramp starts to fall, and when the second rising edge of the Ramp_En signal occurs, the second rising edge of the CNT_Syn signal appears simultaneously, and the controller 500 controls the counter 400 to start. count. Further, when the comparator 300 compares the ramp signal Vramp to be equal to the magnitude of the signal signal Vs', the counter 400 stops counting. At this time, the signal signal Vs' conversion is completed, and the counter 400 obtains the fourth count value.
进而,计数器400计算signal信号Vs’的转换结果和reset信号Vr’的转换结果的差值,即计算第四计数值与第三计数值的差值,此时开关模块600导通,将第四计数值与第三计数值的差值写入到锁存器700中。Further, the counter 400 calculates a difference between the conversion result of the signal signal Vs' and the conversion result of the reset signal Vr', that is, calculates a difference between the fourth count value and the third count value, and at this time, the switch module 600 is turned on, and will be fourth. The difference between the count value and the third count value is written into the latch 700.
本发明实施例的黑电平的消除系统,根据无光像素单元的解析结果计算出黑电平值,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制信号CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制信号Ramp_En延时预定个数的时钟周期,以在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。In the black level elimination system of the embodiment of the present invention, the black level value is calculated according to the analysis result of the matte pixel unit, and the black level value is used as the period number of the delayed clock period, and the signal output to the effective pixel unit is When the signal is converted, the control signal CNT_Syn at which the counter starts counting is delayed by a predetermined number of clock cycles with respect to the control signal Ramp_En at which the ramp signal output from the ramp generator starts to decrease, to subtract black during the conversion of the signal signal. The level value, thus achieving the elimination of the black level while the signal signal is being converted, eliminates the time required to subtract the resolution result of the effective pixel unit from the black level value and then subtract it in the digital circuit.
为了实现上述实施例,本发明还提出一种图像传感器,包括本发明实施例的黑电平的消除系统。In order to implement the above embodiments, the present invention also proposes an image sensor comprising the black level cancellation system of the embodiment of the present invention.
本发明实施例的图像传感器,将黑电平值作为延时的时钟周期的周期数,在对有效像素单元输出的signal信号进行转换时,将计数器开始计数的控制信号CNT_Syn相对于斜波发生器输出的斜波信号开始下降的控制信号Ramp_En延时预定个数的时钟周期,以在signal信号的转换过程中减掉黑电平值,因此实现了在signal信号转换的同时消除了黑电平,省去了将有效像素单元的解析结果与黑电平值存储后在数字电路中相减所需要的时间。In the image sensor of the embodiment of the present invention, the black level value is used as the number of cycles of the delayed clock cycle, and when the signal signal output from the effective pixel unit is converted, the control signal CNT_Syn that starts counting from the counter is compared with the ramp generator. The output ramp signal begins to fall, and the control signal Ramp_En is delayed by a predetermined number of clock cycles to subtract the black level value during the conversion of the signal signal, thereby realizing the elimination of the black level while the signal signal is being converted. The time required to subtract the analysis result of the effective pixel unit from the black level value and subtract it in the digital circuit is omitted.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”、“顺时针”、“逆时针”、“轴向”、“径向”、“周向”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所 指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " After, "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inside", "Outside", "Clockwise", "Counterclockwise", "Axial", The orientation or positional relationship of the "radial", "circumferential" and the like is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of describing the present invention and simplifying the description, rather than indicating or implying The device or component referred to must have a particular orientation, is constructed and operated in a particular orientation, and thus is not to be construed as limiting the invention.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In the description of the present invention, the meaning of "a plurality" is at least two, such as two, three, etc., unless specifically defined otherwise.
在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, the terms "installation", "connected", "connected", "fixed" and the like shall be understood broadly, and may be either a fixed connection or a detachable connection, unless explicitly stated and defined otherwise. , or integrated; can be mechanical or electrical connection; can be directly connected, or indirectly connected through an intermediate medium, can be the internal communication of two elements or the interaction of two elements, unless otherwise specified Limited. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征“上”或“下”可以是第一和第二特征直接接触,或第一和第二特征通过中间媒介间接接触。而且,第一特征在第二特征“之上”、“上方”和“上面”可是第一特征在第二特征正上方或斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, the first feature "on" or "under" the second feature may be a direct contact of the first and second features, or the first and second features may be indirectly through an intermediate medium, unless otherwise explicitly stated and defined. contact. Moreover, the first feature "above", "above" and "above" the second feature may be that the first feature is directly above or above the second feature, or merely that the first feature level is higher than the second feature. The first feature "below", "below" and "below" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely that the first feature level is less than the second feature.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。 Although the embodiments of the present invention have been shown and described, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the invention. The embodiments are subject to variations, modifications, substitutions and variations.

Claims (10)

  1. 一种黑电平的消除方法,其特征在于,包括以下步骤:A method for eliminating a black level, comprising the steps of:
    接收有效像素单元输出的电平信号,其中,所述有效像素单元输出的电平信号包括第一电平信号和第二电平信号;Receiving a level signal output by the effective pixel unit, wherein the level signal output by the effective pixel unit includes a first level signal and a second level signal;
    当接收到所述第一电平信号和斜波信号时开始第一次计数,并当所述斜波信号的幅值与所述第一电平信号的幅值相等时停止所述第一次计数,得到第一计数值;The first counting is started when the first level signal and the ramp signal are received, and the first time is stopped when the amplitude of the ramp signal is equal to the amplitude of the first level signal Counting to obtain the first count value;
    当接收到所述第二电平信号和所述斜波信号时进行计时,并在延迟预定数目的时钟周期后开始第二次计数,以及当所述斜波信号的幅值与所述第二电平信号的幅值相等时停止所述第二次计数,得到第二计数值,其中,所述预定数目为无光像素单元的黑电平值;Timing is performed when the second level signal and the ramp signal are received, and a second count is started after a predetermined number of clock cycles are delayed, and when the amplitude of the ramp signal is the second Stopping the second counting when the amplitudes of the level signals are equal, and obtaining a second counting value, wherein the predetermined number is a black level value of the matte pixel unit;
    根据所述第一计数值和所述第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号。And obtaining, according to the first count value and the second count value, a digital signal corresponding to an output signal of the effective pixel unit after the black level is eliminated.
  2. 根据权利要求1所述的黑电平的消除方法,其特征在于,还包括:The black level removing method according to claim 1, further comprising:
    接收无光像素单元输出的电平信号,并将所述无光像素单元输出的电平信号转换为无光像素单元的数字信号;Receiving a level signal output by the matte pixel unit, and converting the level signal output by the matte pixel unit into a digital signal of the matte pixel unit;
    计算多个所述无光像素单元的数字信号的平均值,并将所述平均值作为所述无光像素单元的黑电平值。Calculating an average value of the digital signals of the plurality of matte pixel units, and using the average value as a black level value of the matte pixel unit.
  3. 根据权利要求1或2所述的黑电平的消除方法,其特征在于,所述无光像素单元输出的电平信号包括第三电平信号和第四电平信号;The black level removing method according to claim 1 or 2, wherein the level signal output by the matte pixel unit comprises a third level signal and a fourth level signal;
    所述将所述无光像素单元输出的电平信号转换为无光像素单元的数字信号,具体包括:The converting the level signal output by the matte pixel unit into a digital signal of the matte pixel unit includes:
    当接收到所述第三电平信号和斜波信号时开始第三次计数,并当所述斜波信号的幅值与所述第三电平信号的幅值相等时停止所述第三次计数,得到第三计数值;The third counting is started when the third level signal and the ramp signal are received, and the third time is stopped when the amplitude of the ramp signal is equal to the amplitude of the third level signal Counting to obtain a third count value;
    当接收到所述第四电平信号和所述斜波信号时开始第四次计数,以及当所述斜波信号的幅值与所述第四电平信号的幅值相等时停止所述第四次计数,得到第四计数值;The fourth counting is started when the fourth level signal and the ramp signal are received, and is stopped when the amplitude of the ramp signal is equal to the amplitude of the fourth level signal Counting four times to obtain a fourth count value;
    根据所述第三计数值和所述第四计数值得到所述无光像素单元的数字信号。And obtaining a digital signal of the matte pixel unit according to the third count value and the fourth count value.
  4. 根据权利要求1-3中任一项所述的黑电平的消除方法,其特征在于,根据所述第一计数值和所述第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号,具体包括:The black level removing method according to any one of claims 1 to 3, characterized in that, according to the first count value and the second count value, an output signal of the effective pixel unit after the black level is removed is obtained. The corresponding digital signal specifically includes:
    将所述第二计数值和所述第一计数值进行相减,以得到消除黑电平后有效像素单元的输出信号所对应的数字信号。The second count value and the first count value are subtracted to obtain a digital signal corresponding to an output signal of the effective pixel unit after the black level is eliminated.
  5. 一种黑电平的消除系统,其特征在于,包括:A black level cancellation system, comprising:
    接收模块,用于接收有效像素单元输出的电平信号,其中,所述有效像素单元输出的 电平信号包括第一电平信号和第二电平信号;a receiving module, configured to receive a level signal output by the effective pixel unit, where the effective pixel unit outputs The level signal includes a first level signal and a second level signal;
    斜波发生器,用于根据斜波控制信号生成斜波信号;a ramp generator for generating a ramp signal based on the ramp control signal;
    比较器,用于在所述斜波信号的幅值与所述第一电平信号的幅值相等以及所述斜波信号的幅值与所述第二电平信号的幅值相等时输出计数停止信号;a comparator for outputting a count when an amplitude of the ramp signal is equal to an amplitude of the first level signal and an amplitude of the ramp signal is equal to an amplitude of the second level signal Stop signal
    计数器,用于分别在接收到第一计数控制信号和第二计数控制信号时开始计数,并在接收到所述计数停止信号时停止计数,得到对应的第一计数值和第二计数值,并根据所述第一计数值和所述第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号;a counter, configured to start counting when receiving the first count control signal and the second count control signal, respectively, and stop counting when receiving the count stop signal, to obtain a corresponding first count value and a second count value, and And obtaining, according to the first count value and the second count value, a digital signal corresponding to an output signal of the effective pixel unit after eliminating the black level;
    控制器,用于生成所述斜波控制信号,并在所述比较器接收到所述第一电平信号和所述斜波信号时,生成所述第一计数控制信号,以及在所述比较器接收到所述第二电平信号和所述斜波信号时,延迟预定数目的时钟周期后生成所述第二计数控制信号,其中,所述预定数目为无光像素单元的黑电平值。a controller, configured to generate the ramp control signal, and generate the first count control signal when the comparator receives the first level signal and the ramp signal, and in the comparing The receiver receives the second level signal and the ramp signal, and generates the second count control signal after delaying a predetermined number of clock cycles, wherein the predetermined number is a black level value of the matte pixel unit .
  6. 根据权利要求5所述的黑电平的消除系统,其特征在于,A black level removing system according to claim 5, wherein
    所述接收模块还用于接收无效像素单元输出的电平信号,其中,所述无效像素单元输出的电平信号包括第三电平信号和第四电平信号;The receiving module is further configured to receive a level signal output by the invalid pixel unit, where the level signal output by the invalid pixel unit includes a third level signal and a fourth level signal;
    所述比较器还用于在所述斜波信号的幅值与所述第三电平信号的幅值相等以及所述斜波信号的幅值与所述第四电平信号的幅值相等时输出计数停止信号;The comparator is further configured to: when the amplitude of the ramp signal is equal to the amplitude of the third level signal and the amplitude of the ramp signal is equal to the amplitude of the fourth level signal Output count stop signal;
    所述计数器还用于分别在接收到第三计数控制信号和第四计数控制信号时开始计数,并在接收到所述计数停止信号时停止计数,得到对应的第三计数值和第四计数值,并根据所述第三计数值和所述第四计数值得到与所述无光像素单元输出的电平信号相对应的无光像素单元的数字信号;并计算多个无光像素单元的数字信号的平均值,并将所述平均值作为所述无光像素单元的黑电平值;The counter is further configured to start counting when receiving the third counting control signal and the fourth counting control signal, respectively, and stop counting when receiving the counting stop signal, to obtain a corresponding third counting value and fourth counting value. And obtaining, according to the third count value and the fourth count value, a digital signal of the matte pixel unit corresponding to the level signal output by the matte pixel unit; and calculating the number of the plurality of matt pixel units An average value of the signal, and the average value is used as a black level value of the matte pixel unit;
    所述控制器还用于在所述比较器接收到所述第三电平信号和所述斜波信号时,生成所述第三计数控制信号,以及在所述比较器接收到所述第四电平信号和所述斜波信号时,生成所述第四计数控制信号。The controller is further configured to generate the third count control signal when the comparator receives the third level signal and the ramp signal, and receive the fourth at the comparator The fourth count control signal is generated when the level signal and the ramp signal are used.
  7. 根据权利要求5或6所述的黑电平的消除系统,其特征在于,所述计数器根据所述第一计数值和所述第二计数值得到消除黑电平后有效像素单元的输出信号所对应的数字信号,具体包括:The black level removing system according to claim 5 or 6, wherein the counter obtains an output signal of the effective pixel unit after the black level is removed according to the first count value and the second count value. Corresponding digital signals, including:
    将所述第二计数值和所述第一计数值进行相减,以得到消除黑电平后有效像素单元的输出信号所对应的数字信号。The second count value and the first count value are subtracted to obtain a digital signal corresponding to an output signal of the effective pixel unit after the black level is eliminated.
  8. 根据权利要求5-7中任一项所述的黑电平的消除系统,其特征在于,还包括:The black level elimination system according to any one of claims 5-7, further comprising:
    开关模块,用于在所述计数器得到消除黑电平后有效像素单元的输出信号所对应的数 字信号之后导通;a switch module, configured to: the number corresponding to the output signal of the effective pixel unit after the counter is blackened After the word signal is turned on;
    锁存器,用于存储消除黑电平后有效像素单元的输出信号所对应的数字信号。A latch for storing a digital signal corresponding to an output signal of the effective pixel unit after the black level is removed.
  9. 一种图像传感器,其特征在于,包括:根据权利要求5-8任一项所述的黑电平的消除系统。An image sensor, comprising: the black level cancellation system according to any one of claims 5-8.
  10. 一种计算机可读存储介质,包括计算机指令,当所述计算机指令被执行时,使得执行根据权利要求1-4中任一项所述的黑电平的消除方法。 A computer readable storage medium comprising computer instructions that, when executed, cause a black level removal method according to any one of claims 1-4.
PCT/CN2016/098893 2015-10-23 2016-09-13 Black level cancellation method and system, and image sensor having system WO2017067351A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510698184.8A CN106612402B (en) 2015-10-23 2015-10-23 Removing method, system and the imaging sensor with the system of black level
CN201510698184.8 2015-10-23

Publications (1)

Publication Number Publication Date
WO2017067351A1 true WO2017067351A1 (en) 2017-04-27

Family

ID=58556730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098893 WO2017067351A1 (en) 2015-10-23 2016-09-13 Black level cancellation method and system, and image sensor having system

Country Status (2)

Country Link
CN (1) CN106612402B (en)
WO (1) WO2017067351A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448078A (en) * 2008-12-15 2009-06-03 昆山锐芯微电子有限公司 Image sensor and image signal processing method
CN101969535A (en) * 2009-07-27 2011-02-09 索尼公司 Solid-state imaging device and camera system
JP2012191378A (en) * 2011-03-10 2012-10-04 Nikon Corp Imaging apparatus
CN104335573A (en) * 2012-03-30 2015-02-04 匹克希姆公司 CMOS image sensors implementing full frame digital correlated double sampling with global shutter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448078A (en) * 2008-12-15 2009-06-03 昆山锐芯微电子有限公司 Image sensor and image signal processing method
CN101969535A (en) * 2009-07-27 2011-02-09 索尼公司 Solid-state imaging device and camera system
JP2012191378A (en) * 2011-03-10 2012-10-04 Nikon Corp Imaging apparatus
CN104335573A (en) * 2012-03-30 2015-02-04 匹克希姆公司 CMOS image sensors implementing full frame digital correlated double sampling with global shutter

Also Published As

Publication number Publication date
CN106612402B (en) 2019-08-13
CN106612402A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US9288415B2 (en) Solid-state imaging apparatus and imaging system
KR101911374B1 (en) Automatic offset adjustment for digital calibration of column parallel single-slope adcs for image sensors
JP6004685B2 (en) Solid-state imaging device and driving method thereof
US9560302B2 (en) Imaging apparatus having comparator configured to compare pixel signal with reference signal that changes with time
JP6034565B2 (en) Photoelectric signal conversion method and digital pixel sensor
US9001241B2 (en) A/D conversion circuit and image pick-up device
US9848150B2 (en) Image pickup apparatus comprising A/D converter with offset and gain correction based on amplitude of input signal
US9019409B2 (en) Image sensing device and method for operating the same
JP2008187420A (en) A-d converter
CN103053115A (en) Time detection circuit, ad converter, and solid state imaging device
JP2010103913A (en) A/d converter, and solid-state imaging apparatus having the same
US10609317B2 (en) Time detection circuit, AD conversion circuit, and solid-state imaging device
JP2014140152A5 (en)
US8593327B2 (en) A/D conversion circuit to prevent an error of a count value and imaging device using the same
JP2009033305A (en) Solid-state imaging apparatus
EP2773099B1 (en) Image pickup apparatus, driving method for image pickup apparatus, image pickup system, and driving method for image pickup system
KR102514432B1 (en) Comparator and operating method, and cmos image sensor thereof using that
WO2017067351A1 (en) Black level cancellation method and system, and image sensor having system
US20110164160A1 (en) Image pickup device
JP6942691B2 (en) Solid-state image sensor and image sensor
KR101111638B1 (en) ADC using correlated double sampling and the conversion method thereof
JP2013005089A (en) Ad conversion circuit and solid state image pickup device
US20150077608A1 (en) Solid-state imaging device
KR102336896B1 (en) Analog-to-digital conversion device and image sensing device and method thereof
JP2014138364A (en) Imaging element and imaging device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16856784

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16856784

Country of ref document: EP

Kind code of ref document: A1