Double slope double edge down counting analog-to-digital conversion device and conversion method thereof

By using a ramp generator to generate double ramp signals with opposite directions in a double ramp ADC, and using a double edge counting method that only counts downward, the problems of long reset time and high counter complexity of traditional double ramp ADC are solved, and the problem of further improvement is achieved Fast conversion and lower power consumption.

CN114157301BActive Publication Date: 2024-11-12GPIXEL +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111512930.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-11
Publication Date
2024-11-12
Estimated Expiration
2041-12-11

AI Technical Summary

Technical Problem

The ramp signal reset time of traditional double-ramp ADCs is long, resulting in increased conversion time and high power consumption. The double-edge counter requires both upward and downward counting functions, which increases the design complexity and layout area.

Method used

The slope generator is used to generate double slope signals with the same absolute value and opposite directions, and a double edge double clock and only count downwards is used to simplify the counter function and reduce the design complexity and layout area.

Benefits of technology

It shortens the setting time of the ramp signal, reduces the conversion time and power consumption of the dual ramp ADC, and reduces the design complexity and layout area of ​​the counter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114157301B_ABST
    Figure CN114157301B_ABST
Patent Text Reader

Abstract

The present invention provides a dual-slope dual-edge down-counting analog-to-digital conversion device and a conversion method thereof, wherein the device includes a ramp generator, a comparator, a high-speed clock, a low-speed clock, a digital logic circuit and a data processor; the ramp generator is used to generate two ramp signals with the same slope and opposite directions; the pixel signal and the two ramp signals are input to the two input ends of the comparator, the digital logic circuit calculates the low-speed and high-speed clock counting pulses according to the output signal of the comparator, the high-speed clock and the low-speed clock, and also calculates the extra bit counting pulse according to the high-speed clock and the high-speed clock pulse control signal, and respectively inputs them to the high-bit counter, the low-bit counter, and the extra bit counter for down counting; the data processor calculates the quantized value of the pixel signal voltage according to the count values ​​of the high-bit counter, the low-bit counter, and the extra bit counter. The present invention can reduce the power consumption of the ramp generator when it is reset and the design complexity of the counter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of analog-to-digital conversion, and in particular to a dual-slope dual-edge downward counting analog-to-digital conversion device and a conversion method thereof. Background Art

[0002] The column-level analog-to-digital converter (ADC) structure has been widely used in the design of modern CMOS image sensors. The ramp ADC is a commonly used circuit structure for column-level ADC. For the traditional dual-slope ADC, its ramp signal is as follows: Figure 1 As shown, when converting a single pixel, two ramp signals are serially output, the first ramp signal has a smaller swing, the second ramp signal has a larger swing, the two ramp signals have the same direction and the same slope. The first ramp signal is used to convert the reset voltage, and the second ramp signal is used to reset the signal voltage.

[0003] The ideal dual-slope signal of the traditional dual-slope ADC is different from the actual dual-slope signal. Figure 2 As shown, the stabilization time required for the first ramp signal to reset from V1 to V0 is T1, and the stabilization time required for the second ramp signal to reset from V2 to V0 is T2. Therefore, the stabilization time required for the dual-slope ADC to reset is T1+T2. It can be seen that the stabilization time required for the ramp signal to reset is longer, which increases the conversion time of the dual-slope ADC to a certain extent, resulting in high power consumption when the ramp signal is reset.

[0004] The dual-edge counting principle of the traditional dual-slope ADC is as follows Figure 3 and Figure 4 As shown, a dual-edge dual-channel clock is used to count the corresponding counting interval. The two clock signals have a high frequency and a low frequency. The two clock signals and the total counting interval generate low-speed counting pulses and high-speed counting pulses through the counting control logic unit.

[0005] Most of the counting interval is counted with a low-speed clock. Only when the comparator flips and the falling edge of the low-speed clock is less than one low-speed clock cycle, the high-speed clock is used for counting. This counting method is similar to measuring and reading the length with a ruler. First, it is read in centimeters, and then in millimeters. There is no difference in accuracy compared to reading in millimeters, but the reading speed can be many times faster. Using high and low clocks of different frequencies for counting cannot increase the speed of analog-to-digital conversion, but it can greatly reduce the total number of counts of the counter, resulting in reduced power consumption.

[0006] The counting intervals that need to be counted are counting interval 1 and counting interval 2, and the counter that counts the low-speed clock pulses keeps counting upwards. Figure 3It can be seen that in counting interval 1, the left pulse of the low-speed clock pulse enable is counted less than one segment. Similarly, in counting interval 2, the right side of the low-speed pulse enable is counted more than one segment, which is the waveform corresponding to the high-speed clock pulse enable. Therefore, the high-speed clock pulse needs to count up first and then count down, which results in the high-bit counter having both upward and downward counting functions.

[0007] High-speed clock pulse enable 1 and high-speed clock pulse enable 2 are respectively the delayed signals of the high-speed clock control signal being sampled by the falling edge and rising edge of the high-speed clock. Figure 4 It can be seen that one clock edge is undercounted from the left end of high-speed clock pulse enable 1 to the first flip edge of the comparator, while high-speed clock pulse enable 2 can capture the clock edge undercounted by high-speed clock pulse enable 1. Similarly, one clock edge is overcounted from the rightmost side of high-speed clock pulse enable 1 to the second flip edge of the comparator, while high-speed clock pulse enable 2 counts accurately.

[0008] Therefore, an extra bit counter is required to count up the clock edge that is undercounted on the leftmost side of high-speed clock pulse enable 1, and to count down the clock edge that is overcounted on the rightmost side of high-speed clock pulse enable 1. Based on the count value of the extra bit counter, a simple logic process is performed on high-speed clock pulse enable 1 and high-speed clock pulse enable 2 to obtain the clock edge that is undercounted on the leftmost side of high-speed clock pulse enable 1 and the clock edge that is overcounted on the rightmost side. This requires the extra bit counter to have the functions of both counting up and down.

[0009] Since both the extra bit counter and the high bit counter need to have both upward and downward counting functions, the design complexity of the counter is increased, and the layout area occupied by the counter is increased. Summary of the invention

[0010] The present invention aims to overcome the defects of the prior art and proposes a dual-slope dual-edge downward counting analog-to-digital conversion device and a conversion method thereof. A ramp generator generates two ramp signals with the same absolute value of slope and opposite directions, thereby reducing the stabilization time required for resetting the ramp signal. At the same time, based on the dual ramp signal, a counting method using dual edges and dual clocks and only counting downward at the same time is provided, so that the counter only has a downward counting function, reducing the design complexity of the counter and greatly saving the layout area of ​​the counter.

[0011] The dual-slope dual-edge downward counting analog-to-digital conversion device provided by the present invention comprises a ramp generator, a comparator, a high-speed clock, a low-speed clock, a digital logic circuit, a high-bit counter, a low-bit counter, an extra bit counter and a data processor; wherein the ramp generator is used to generate a first ramp signal and a second ramp signal with the same absolute value of the slope and opposite directions; the pixel signal output by the image sensor and the first ramp signal and the second ramp signal generated by the comparator are respectively used as two input signals of the comparator, and the output signal of the comparator and the high-speed clock and the low-speed clock are respectively sent to the digital logic circuit; the digital logic circuit uses the falling edge of the low-speed clock and the rising edge of the high-speed clock to sample the local time periods of the first ramp signal and the second ramp signal to obtain a high-bit count enable and a low-bit count enable, and performs a logic AND operation on the high-bit count enable and the low-speed clock to obtain a low-speed clock count pulse, and performs a logic AND operation on the low-bit count enable and the high-speed clock A high-speed clock count pulse is obtained; the digital logic circuit also uses the rising edge and falling edge of the high-speed clock to sample the high-speed clock pulse control signal synchronized with the low-bit count enable to obtain two extra-bit count enables, and performs a logic AND operation on the two extra-bit count enables to obtain an extra-bit count pulse; the high-bit counter is used to down-count the high-speed clock count pulse and transmit the count value to the data processor; the low-bit counter is used to down-count the low-speed clock count pulse and transmit the count value to the data processor; the extra-bit counter is used to down-count the extra-bit count pulse and transmit the count value to the data processor; the data processor is used to calculate the quantized value of the pixel signal voltage according to the formula 2*(a+Nb)+c; wherein a is the count value output by the high-bit counter, b is the count value output by the low-bit counter, c is the count value output by the extra-bit counter, and N is the ratio of the frequency of the high-speed clock to the frequency of the low-speed clock.

[0012] Preferably, the first ramp signal gradually increases and the second ramp signal gradually decreases; or the first ramp signal gradually decreases and the second ramp signal gradually increases.

[0013] Preferably, the comparator includes a first current source, a second current source, a first voltage source, a second voltage source, a first switch, a second switch and a capacitor; wherein, one end of the first current source is connected to a power supply, the other end of the first current source is coupled to one end of the second current source, the other end of the second current source is grounded, one end of the first voltage source is grounded, the other end of the first voltage source is coupled to one end of the first switch, the other end of the first switch is coupled between the first current source and the second current source, one end of the second voltage source is grounded, the other end of the second voltage source is coupled to one end of the second switch, the other end of the second switch is coupled between the first switch and the second current source, the capacitor is coupled between the first switch and the second switch, and the other end of the capacitor is grounded.

[0014] Preferably, at time t0, the second switch is closed to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; at time t1, the second switch and the first current source are disconnected and the second current source is closed at the same time, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form a first ramp signal; at time t2, the first switch is closed to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; at time t3, the first switch and the second current source are disconnected and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form a second ramp signal.

[0015] Preferably, at time t0, the first switch is closed to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; at time t1, the first switch and the second current source are opened and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form a first ramp signal; at time t2, the second switch is closed to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; at time t3, the second switch and the first current source are opened and the second current source is closed at the same time, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form a second ramp signal.

[0016] Preferably, the digital logic circuit uses the falling edge of the low-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flipping time of the comparator to obtain a high-bit count enable; the digital logic circuit also uses the rising edge of the high-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flipping time of the comparator to obtain a low-bit count enable.

[0017] The dual-slope dual-edge downward counting analog-to-digital conversion method provided by the present invention comprises the following steps:

[0018] S1, inputting a first ramp signal and a second ramp signal with the same absolute value of slope and opposite directions generated by a ramp generator into one input terminal of a comparator, and inputting a pixel signal output by an image sensor into another input terminal of the comparator;

[0019] S2, the output signal of the comparator and the high-speed clock and the low-speed clock are respectively sent to the digital logic circuit, and the digital logic circuit uses the falling edge of the low-speed clock and the rising edge of the high-speed clock to sample the local time periods of the first ramp signal and the second ramp signal to obtain the high-bit count enable and the low-bit count enable; the digital logic circuit also uses the rising edge and the falling edge of the high-speed clock to sample the high-speed clock pulse control signal synchronized with the low-bit count enable to obtain two additional bit count enables;

[0020] S3, performing a logic AND operation on the high-bit count enable and the low-speed clock through a digital logic circuit to obtain a low-speed clock count pulse, performing a logic AND operation on the low-bit count enable and the high-speed clock to obtain a high-speed clock count pulse, and performing a logic AND operation on two extra-bit count enables to obtain an extra-bit count pulse;

[0021] S4, using a high-bit counter to count down the high-speed clock count pulse, and transmitting the count value to the data processor; using a low-bit counter to count down the low-speed clock count pulse, and transmitting the count value to the data processor; using an extra-bit counter to count down the extra-bit count pulse, and transmitting the count value to the data processor;

[0022] S5. The data processor calculates the quantized value of the pixel signal voltage according to the formula 2*(a+Nb)+c; wherein a is the count value output by the high-bit counter, b is the count value output by the low-bit counter, c is the count value output by the extra-bit counter, and N is the ratio of the frequency of the high-speed clock to the frequency of the low-speed clock.

[0023] Preferably, the first ramp signal gradually increases and the second ramp signal gradually decreases; or the first ramp signal gradually decreases and the second ramp signal gradually increases.

[0024] Preferably, the comparator includes a first current source, a second current source, a first voltage source, a second voltage source, a first switch, a second switch and a capacitor; wherein one end of the first current source is connected to a power supply, the other end of the first current source is coupled to one end of the second current source, the other end of the second current source is grounded, one end of the first voltage source is grounded, the other end of the first voltage source is coupled to one end of the first switch, the other end of the first switch is coupled between the first current source and the second current source, one end of the second voltage source is grounded, the other end of the second voltage source is coupled to one end of the second switch, the other end of the second switch is coupled between the first switch and the second current source, and the capacitor is coupled between the first switch and the second switch. at t0, the second switch is closed to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; at t1, the second switch and the first current source are opened and the second current source is closed at the same time, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form a first ramp signal; at t2, the first switch is closed to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; at t3, the first switch and the second current source are opened and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form a second ramp signal.

[0025] Preferably, the comparator includes a first current source, a second current source, a first voltage source, a second voltage source, a first switch, a second switch and a capacitor; wherein one end of the first current source is connected to a power supply, the other end of the first current source is coupled to one end of the second current source, the other end of the second current source is grounded, one end of the first voltage source is grounded, the other end of the first voltage source is coupled to one end of the first switch, the other end of the first switch is coupled between the first current source and the second current source, one end of the second voltage source is grounded, the other end of the second voltage source is coupled to one end of the second switch, the other end of the second switch is coupled between the first switch and the second current source, and the capacitor is coupled between the first switch and the second switch. at t0, the first switch is closed to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; at t1, the first switch and the second current source are opened and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form a first ramp signal; at t2, the second switch is closed to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; at t3, the second switch and the first current source are opened and the second current source is closed at the same time, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form a second ramp signal.

[0026] Preferably, in step S2, the digital logic circuit uses the falling edge of the low-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flipping time of the comparator to obtain a high-bit count enable; the digital logic circuit also uses the rising edge of the high-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flipping time of the comparator to obtain a low-bit count enable.

[0027] Compared with the prior art, the present invention can achieve the following technical effects:

[0028] 1. Compared with dual ramp signals with the same slope and direction, the dual ramp signals with the same absolute value of slope and opposite direction adopted in the present invention can speed up the stabilization time of the ramp signal, thereby reducing the time required for dual ramp ADC conversion to a certain extent, and at the same time reducing the power consumption required for resetting the ramp generator.

[0029] 2. The present invention adopts a dual-edge dual-clock counting method that only counts downward at the same time, so that the high-bit counter and the extra-bit counter only need to have the function of counting downward. Compared with a dual-edge dual-clock counter that needs to have the function of counting upward and downward at the same time, the design complexity of the counter is reduced, and the layout area of ​​the counter can be saved to a great extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic diagram of the ramp signal of a traditional dual-slope ADC;

[0031] Figure 2 It is a schematic diagram of the ideal dual-slope signal and the actual dual-slope signal of the traditional dual-slope ADC;

[0032] Figure 3 and Figure 4 This is a schematic diagram of the principle of dual-edge counting of a traditional dual-slope ADC;

[0033] Figure 5 2 is a schematic diagram of the architecture of a dual-slope dual-edge down-counting analog-to-digital conversion device according to an embodiment of the present invention;

[0034] Figure 6 is a schematic structural diagram of a ramp generator according to an embodiment of the present invention;

[0035] Figure 7 1 is a schematic diagram of a waveform of a double ramp signal that first goes up and then goes down, generated by a ramp generator according to an embodiment of the present invention;

[0036] Figure 8 1 is a schematic diagram of a waveform of a double ramp signal which is first down and then up, generated by a ramp generator according to an embodiment of the present invention;

[0037] Fig. 9 1 is a schematic diagram showing a waveform comparison result between a double ramp signal first down and then up according to an embodiment of the present invention and a traditional double ramp signal;

[0038] Fig.10 is a schematic diagram of the principle of a dual slope signal counting time period according to an embodiment of the present invention;

[0039] Fig.11 1 is a timing diagram of a counting method of a double slope signal that goes up first and then down according to an embodiment of the present invention;

[0040] Fig.12 1 is a timing diagram of a double-edge counting method according to an embodiment of the present invention;

[0041] Fig.13 1 is a timing diagram of a counting method of a double slope signal that goes down first and up later according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not constitute a limitation of the present invention.

[0043] Figure 5The overall architecture of a dual-slope dual-edge down-counting analog-to-digital conversion device according to an embodiment of the present invention is shown.

[0044] like Figure 5 As shown, the dual-slope dual-edge down-counting analog-to-digital conversion device provided by the embodiment of the present invention includes: a ramp generator, a comparator, a high-speed clock, a low-speed clock, a digital logic circuit, a high-bit counter, a low-bit counter, an extra bit counter and a data processor; the ramp generator is used to generate two ramp signals with the same absolute value of the slope and opposite directions; the two ramp signals generated by the ramp generator are used as one input signal of the comparator and input to one input end of the comparator, and the pixel signal output by the image sensor is used as another input signal of the comparator and input to the other input end of the comparator; the output signal of the comparator and the high-speed clock and the low-speed clock are respectively sent to the digital logic circuit.

[0045] The digital logic circuit uses the falling edge of the low-speed clock to sample the time period between the start time of the two ramp signals and the flip time of the comparator to obtain a high-bit count enable, and performs a logic AND operation on the high-bit count enable and the low-speed clock to obtain a low-speed clock count pulse.

[0046] The digital logic circuit also uses the rising edge of the high-speed clock to sample the time period between the start time of the two ramp signals and the flip time of the comparator to obtain a low-bit count enable, and performs a logic AND operation on the low-bit count enable and the high-speed clock to obtain a high-speed clock count pulse.

[0047] The digital logic circuit also uses the rising and falling edges of the high-speed clock to sample the high-speed clock pulse control signal synchronized with the low-bit count enable to obtain two extra-bit count enables, and performs a logic AND operation on the two extra-bit count enables to obtain an extra-bit count pulse.

[0048] The high-bit counter is used to count down the high-speed clock count pulses and transmit the count value to the data processor.

[0049] The low-bit counter is used to count down the low-speed clock count pulses and transmit the count value to the data processor.

[0050] The extra bit counter is used to count down the extra bit count pulses.

[0051] The data processor is used to calculate the quantized value of the pixel signal voltage according to the formula 2*(a+Nb)+c; wherein a is the count value output by the high-bit counter, b is the count value output by the low-bit counter, c is the count value output by the extra-bit counter, and N is the ratio of the frequency of the high-speed clock to the frequency of the low-speed clock.

[0052] The present invention focuses on the structure of the ramp generator, which generates two ramp signals with the same absolute value of slope and opposite directions.

[0053] Figure 6 The structure of a ramp generator according to an embodiment of the present invention is shown.

[0054] like Figure 6 As shown, the ramp generator includes a first current source Q1, a second current source Q2, a first voltage source U1, a second voltage source U2, a first switch S1, a second switch S2 and a capacitor C; wherein, the currents of the first current source Q1 and the second current source Q2 are equal and are both set to I, the voltage of the first voltage source U1 is V0, the voltage of the second voltage source U2 is V2, one end of the first current source Q1 is connected to a power supply, the other end of the first current source Q1 is coupled to one end of the second current source Q2, the other end of the second current source Q2 is grounded, and the first voltage source U1 is One end is grounded, the other end of the first voltage source U1 is coupled to one end of the first switch S1, the other end of the first switch S1 is coupled between the first current source Q1 and the second current source Q2, one end of the second voltage source U2 is grounded, the other end of the second voltage source U2 is coupled to one end of the second switch S2, the other end of the second switch S2 is coupled between the first switch S1 and the second current source Q2, the capacitor C is coupled between the node between the first switch S1 and the first current source Q1 and the node between the second switch S2 and the second current source Q2, and the other end of the capacitor C is grounded.

[0055] By controlling the first current source Q1, the second current source Q2, the first switch S1, and the second switch S2, two dual ramp signals can be generated. The first is a dual ramp signal that rises first and then falls (i.e., the direction of the first ramp signal is upward, and the direction of the second ramp signal is downward), and the second is a dual ramp signal that falls first and then rises (i.e., the direction of the first ramp signal is downward, and the direction of the second ramp signal is upward).

[0056] Figure 7 The waveform of a double ramp signal which goes up first and then down is shown in FIG. 1 . A ramp generator according to an embodiment of the present invention generates a ramp signal which goes up first and then down.

[0057] like Figure 7 As shown, the dual ramp signal of first up and then down means that the direction of the first ramp signal is upward, and the direction of the second ramp signal is downward. The principle of generating the dual ramp signal of first up and then down is as follows:

[0058] At time t1, the first switch S1 is closed, and the voltage V between the first current source Q1 and the second current source Q2 rampReset to V0 of the first voltage source U1; at time t2, the first switch S1 and the second current source Q2 are disconnected and the first current source Q1 is closed. The first current source Q1 charges the capacitor C to time t3, and the voltage of the capacitor C increases linearly with the charging time to form a first ramp signal.

[0059] At this time, V ramp Described by formula: V ramp =V0+M·I·(t3-t2); wherein V0 represents the initial voltage of the first ramp signal, I represents the charging current of capacitor C, M represents the integrated capacitance value of capacitor C, and (t3-t2) represents the integration time of capacitor C.

[0060] At time t3, the second switch S2 is closed, and V ramp Reset to the voltage V2 of the second voltage source U2; at time t4, the second switch S2 and the first current source Q1 are disconnected and the second current source Q2 is closed, the second current source Q2 discharges the capacitor C to time t5, and the voltage of the capacitor C decreases linearly with the discharge time to form a second ramp signal.

[0061] At this time, V ramp Described by formula: V ramp =V2+M·I·(t5-t4); wherein V2 represents the initial voltage of the second ramp signal, I represents the discharge current of the second current source Q2, M represents the integrated capacitance value of capacitor C, and (t5-t4) represents the integration time of capacitor C.

[0062] Figure 8 The waveform of a double ramp signal which goes down first and then up is shown by a ramp generator according to an embodiment of the present invention.

[0063] like Figure 8 As shown in the figure, the principle of generating the double slope signal of first down and then up is as follows:

[0064] At time t1, the second switch S2 is closed, and V ramp Reset to the voltage V2 of the second voltage source U2; at time t2, the second switch S2 and the first current source Q1 are disconnected and the second current source Q2 is closed, the second current source Q2 discharges the capacitor C to time t3, and the voltage of the capacitor C decreases linearly with the discharge time to form a first ramp signal.

[0065] At this time, V ramp Described by formula: V ramp =V2-M·I·(t3-t2); wherein V2 represents the initial voltage of the first ramp signal, I represents the discharge current of the second current source Q2, M represents the integrated capacitance value of capacitor C, and (t2-t1) represents the integration time of capacitor C.

[0066] At time t3, close the first switch S1 to reset V ramp to the voltage V0 of the first voltage source U1; at time t4, open the first switch S1 and the second current source Q2 and simultaneously close the first current source Q1. The first current source Q1 charges the capacitor C, and the voltage of the capacitor C increases linearly with the charging time, forming a second ramp signal.

[0067] At this time, V ramp is described by the formula: V ramp = V0 + M·I·(t5 - t4); where, V0 represents the initial voltage of the second ramp signal, I represents the charging current of the capacitor C, M represents the integral capacitance value of the capacitor C, and (t5 - t4) represents the integration time of the capacitor C.

[0068] The above two double ramp signals are ideal double ramp signals, but the actually generated double ramp signals also require a certain stabilization time.

[0069] Compared with the traditional double ramp signal, the advantage of the double ramp signal generated by using the ramp generator provided by the present invention is that the stabilization time during reset is shortened.

[0070] Fig. 9 Shows the waveform comparison result of the double ramp signal that first goes down and then goes up according to an embodiment of the present invention and the traditional double ramp signal.

[0071] As Fig. 9 shown, taking the double ramp signal that first goes down and then goes up as an example, the present invention compares the waveforms with the traditional double ramp signal. The double ramp signal that first goes up and then goes down can be known by the same reasoning.

[0072] Fig. 9 In (a) is the traditional ideal double ramp signal. Fig. 9 In (b) is the traditional actual double ramp signal. The stabilization time required for the voltage to go from V1 to V0 is T1, and the stabilization time required for the voltage to go from V2 to V0 is T2. The stabilization time required for the two ramp signals is T1 + T2.

[0073] Fig. 9 In (c) is the ideal double ramp signal of the present invention. Fig. 9 In (d) is the actual double ramp signal of the present invention. The time T required for the voltage to go from V1 to V2 is the stabilization time.

[0074] Comparing (b) with (d), when other conditions (such as ramp slope and swing, etc.) are the same, it is not difficult to find that T < T1 + T2. That is to say, adopting the double ramp signal of the present invention can reduce the stabilization time during signal reset, thereby reducing the conversion time of the double ramp ADC and reducing the power consumption required during the reset of the ramp generator.

[0075] Fig.10The principle of the double slope signal counting time period according to one embodiment of the present invention is shown.

[0076] like Fig.10 As shown, Fig.10 (a) is a double ramp signal that goes down first and then up. Fig.10 (b) in the figure is a dual ramp signal that goes up first and then down. To realize correlated double sampling with two dual ramp signals, it is necessary to perform a difference operation on the reset voltage and signal voltage of the pixel, that is, the value of (VSIG-VRST). The counting time period corresponding to (VSIG-VRST) is (t6-t5)-(t2-t1). After sorting, we can get:

[0077] (t6-t5)-(t2-t1)=[(t6-t4)-(t5-t4)]-(t2-t1)=(t6-t4)-[(t5-t4)+(t2-t1)].

[0078] Among them, the time period corresponding to (t6-t4) is a known quantity and can be obtained by processing a digital logic circuit. The time period to be counted is -[(t5-t4)+(t2-t1)], that is, from the start time of the first ramp signal to the first flip edge of the comparator plus from the start time of the second ramp signal to the second flip edge of the comparator.

[0079] Fig.11 The timing of the counting method of the double slope signal of first up and then down according to an embodiment of the present invention is shown.

[0080] like Fig.11 As shown in the figure, the digital logic circuit uses the falling edge of the low-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain a low-speed clock pulse enable (i.e., a high-bit count enable), and performs a logic AND operation on the low-speed clock pulse enable and the low-speed clock to obtain a low-speed clock count pulse. The low-speed clock count pulse is sent to the low-bit counter, and the low-speed clock count pulse is counted down by the low-bit counter.

[0081] The digital logic circuit also uses the rising edge of the high-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain a high-speed clock pulse enable (i.e., a low-bit count enable), and performs a logic AND operation on the high-speed clock pulse enable and the high-speed clock to obtain a high-speed clock count pulse. The high-speed clock count pulse is sent to the high-bit counter, and the high-bit counter counts the high-speed clock count pulse downward.

[0082] from Fig.11It can be seen that the counting interval that the first ramp signal needs to count is counting interval 1, and the counting interval that the second ramp signal needs to count is counting interval 2. For counting interval 1, the right side of the first pulse signal enabled by the low-speed clock pulse counts one more section, so this section needs to be subtracted, and this section uses the high-speed clock count pulse to count down. Similarly, for counting interval 2, the right side of the second pulse signal enabled by the low-speed clock pulse also counts one more section, and this section also uses the high-speed clock count pulse to count down, so the high-bit counter only needs to count down.

[0083] Fig.12 The timing sequence of the double edge counting method of first up and then down according to an embodiment of the present invention is shown.

[0084] like Fig.12 As shown, the digital logic circuit also uses the rising edge and falling edge of the high-speed clock to sample the high-speed clock pulse control signal to obtain extra bit count enable 1 and extra bit count enable 2, performs a logic AND operation on the extra bit count enable 1 and the extra bit count enable 2 to obtain an extra bit count pulse, sends the extra bit count pulse to the extra bit counter, and counts the extra bit count pulse down through the extra bit counter.

[0085] The high-speed clock pulse control signal is synchronized with the low-bit count enable. The high-speed clock pulse control signal is actually the difference between two ramp signals (the first ramp signal and the second ramp signal) and the low-speed pulse enable, corresponding to the overcounting section of counting intervals 1 and 2.

[0086] Since one more clock edge is counted from the rightmost end of the first pulse of the extra bit count enable 1 to the first flip edge of the comparator (i.e., the flip edge of the first ramp signal), the extra bit count enable 2 counts accurately. Similarly, one more clock edge is counted from the rightmost end of the second pulse of the extra bit count enable 1 to the second flip edge of the comparator (i.e., the flip edge of the second ramp signal), and the extra bit count enable 2 counts accurately.

[0087] Therefore, the extra bit count pulse is obtained by performing a logical AND operation on the extra bit count enable 1 and the extra bit count enable 2, and the extra bit count pulse is counted down by the extra bit counter, subtracting the first pulse of the extra bit count enable 1 and the number of clock edges counted at the rightmost end of the second pulse. Therefore, the extra bit counter only needs to have a down counting function.

[0088] compared to Figure 3 and Figure 4The traditional dual-slope ADC double-edge counting method shown in the figure, the high-bit counter and the extra-bit counter in the present invention only need to have a down-counting function, but do not need to have an up-counting function, thereby reducing the design complexity of the high-bit counter and the extra-bit counter, and can greatly save the layout area of ​​the high-bit counter and the extra-bit counter.

[0089] Fig.13 The timing sequence of the counting method of the double slope signal of first down and then up according to one embodiment of the present invention is shown.

[0090] like Fig.13 As shown, like the double ramp signal that goes up first and then down, the two counting intervals of the double ramp signal that goes down first and then up are counting interval 1 (corresponding to the counting interval that needs to be counted for the first ramp signal) and counting interval 2 (corresponding to the counting interval that needs to be counted for the second ramp signal). The first pulse signal enabled by the low-speed clock pulse has one more section on the right, so this section needs to be subtracted, and this section uses the high-speed clock counting pulse to count down. Similarly, for counting interval 2, the second pulse signal enabled by the low-speed clock pulse also has one more section on the right, and this section also uses the high-speed clock to count down, so the high-bit counter only needs to count down.

[0091] The timing sequence of the double edge counting method of first down and then up is the same as that of the double edge counting method of first up and then down. Fig.12 For the double slope signal that goes down first and up later, it is also necessary to use the extra bit counter to count down the extra bit count pulse to compensate for the extra bit count enable 1's first pulse and the extra bit count enable 1's second pulse's extra clock edges on the right side. Therefore, the extra bit counter only needs to have a down counting function.

[0092] Since the high-bit counter and the extra-bit counter do not need to have a down-counting function, the design complexity of the high-bit counter and the extra-bit counter is reduced, and the layout area of ​​the high-bit counter and the extra-bit counter can be saved to a great extent.

[0093] The count value output by the high-bit counter, the count value output by the low-bit counter and the count value at the output end of the extra-bit counter are respectively transmitted to the data processor, and the data processor is used to calculate the quantized value of the pixel signal voltage according to the formula 2*(a+Nb)+c; wherein a is the count value output by the high-bit counter, b is the count value output by the low-bit counter, c is the count value output by the extra-bit counter, and N is the ratio of the frequency of the high-speed clock to the frequency of the low-speed clock (i.e., the high-speed clock frequency is N times the low-speed clock frequency).

[0094] The above content describes in detail the structure and analog-to-digital conversion working principle of the dual-slope dual-edge down-counting analog-to-digital conversion device provided by the present invention. Corresponding to the conversion device, the present invention also provides an analog-to-digital conversion method implemented using the conversion device.

[0095] The dual-slope dual-edge downward counting analog-to-digital conversion method provided by the embodiment of the present invention comprises the following steps:

[0096] S1. Input a first ramp signal and a second ramp signal with the same absolute value of slope and opposite directions generated by a ramp generator to one input terminal of a comparator, and input a pixel signal output by an image sensor to the other input terminal of the comparator.

[0097] The structure of the ramp generator and the principle of the generated dual ramp signal refer to the relevant description of the above conversion device and Figure 6-Figure 8 .

[0098] The comparison results of the dual ramp signal with the same absolute value of slope and opposite direction and the traditional dual ramp signal are as follows: Fig. 9 As shown, compared with the traditional dual-slope signal, the dual-slope signal with the same absolute value of slope and opposite direction can speed up the stabilization time of the ramp signal, thereby reducing the time required for the dual-slope ADC conversion to a certain extent.

[0099] S2. The output signal of the comparator and the high-speed clock and the low-speed clock are respectively sent to the digital logic circuit. The digital logic circuit uses the falling edge of the low-speed clock and the rising edge of the high-speed clock to sample the local time periods of the first ramp signal and the second ramp signal to obtain the high-bit count enable and the low-bit count enable. The digital logic circuit also uses the rising edge and falling edge of the high-speed clock to sample the high-speed clock pulse control signal synchronized with the low-bit count enable to obtain two additional bit count enables.

[0100] The digital logic circuit uses the falling edge of the low-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain a high-bit count enable.

[0101] The digital logic circuit uses the rising edge of the high-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain the low-bit count enable.

[0102] The high-speed clock pulse control signal is actually the difference between two ramp signals (the first ramp signal and the second ramp signal) and the low-speed pulse enable, corresponding to the portion of counting intervals 1 and 2 where the counts are over-counted.

[0103] S3. Perform a logic AND operation on the high-bit count enable and the low-speed clock through a digital logic circuit to obtain a low-speed clock count pulse, perform a logic AND operation on the low-bit count enable and the high-speed clock to obtain a high-speed clock count pulse, and perform a logic AND operation on two extra-bit count enables to obtain an extra-bit count pulse.

[0104] S4. Use the high-bit counter to count down the high-speed clock count pulses and transmit the count value to the data processor; use the low-bit counter to count down the low-speed clock count pulses and transmit the count value to the data processor; use the extra-bit counter to count down the extra-bit count pulses and transmit the count value to the data processor.

[0105] The double edge counting principle of dual ramp signals with the same absolute value of slope and opposite direction is as follows: Figure 10-13 As shown, compared with the traditional dual slope counting method, the high-bit counter and the extra-bit counter in the present invention only need to have a down-counting function but do not need an up-counting function. Therefore, the design complexity of the high-bit counter and the extra-bit counter can be reduced, and the layout area of ​​the extra-bit counter can be saved to a great extent.

[0106] S5. The data processor calculates the quantized value of the pixel signal voltage according to the formula 2*(a+Nb)+c; wherein a is the count value output by the high-bit counter, b is the count value output by the low-bit counter, c is the count value output by the extra-bit counter, and N is the ratio of the frequency of the high-speed clock to the frequency of the low-speed clock.

[0107] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0108] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

[0109] The above specific implementations of the present invention do not constitute a limitation on the protection scope of the present invention. Any other corresponding changes and modifications made based on the technical concept of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A dual slope dual edge down counting analog to digital conversion device, characterized in that: It includes a ramp generator, a comparator, a high-speed clock, a low-speed clock, a digital logic circuit, a high-bit counter, a low-bit counter, an extra-bit counter and a data processor; wherein, The ramp generator is used to generate a first ramp signal and a second ramp signal with the same absolute value of slope and opposite directions; the pixel signal output by the image sensor and the first ramp signal and the second ramp signal generated by the comparator are respectively used as two input signals of the comparator, and the output signal of the comparator and the high-speed clock and the low-speed clock are respectively sent to the digital logic circuit; The digital logic circuit uses the falling edge of the low-speed clock and the rising edge of the high-speed clock to sample the local time periods of the first ramp signal and the second ramp signal respectively to obtain a high-bit count enable and a low-bit count enable, and performs a logic AND operation on the high-bit count enable and the low-speed clock to obtain a low-speed clock count pulse, and performs a logic AND operation on the low-bit count enable and the high-speed clock to obtain a high-speed clock count pulse; The digital logic circuit also uses the rising edge and falling edge of the high-speed clock to sample the high-speed clock pulse control signal synchronized with the low-bit count enable to obtain two extra-bit count enables, and performs a logic AND operation on the two extra-bit count enables to obtain an extra-bit count pulse; The high-bit counter is used to count down the high-speed clock counting pulses and transmit the count value to the data processor; The low-bit counter is used to count down the low-speed clock count pulses and transmit the count value to the data processor; The extra bit counter is used to count down the extra bit count pulse and transmit the count value to the data processor; The data processor is used to calculate the quantized value of the pixel signal voltage according to the formula 2*(a+Nb)+c; wherein a is the count value output by the high-bit counter, b is the count value output by the low-bit counter, c is the count value output by the extra-bit counter, and N is the ratio of the frequency of the high-speed clock to the frequency of the low-speed clock.

2. The dual slope dual edge down counting analog to digital converter according to claim 1, characterized in that: The first ramp signal gradually increases, and the second ramp signal gradually decreases; or the first ramp signal gradually decreases, and the second ramp signal gradually increases.

3. The dual slope dual edge down counting analog to digital conversion device as claimed in claim 2, characterized in that: The comparator includes a first current source, a second current source, a first voltage source, a second voltage source, a first switch, a second switch and a capacitor; wherein, one end of the first current source is connected to a power supply, the other end of the first current source is coupled to one end of the second current source, the other end of the second current source is grounded, one end of the first voltage source is grounded, the other end of the first voltage source is coupled to one end of the first switch, the other end of the first switch is coupled between the first current source and the second current source, one end of the second voltage source is grounded, the other end of the second voltage source is coupled to one end of the second switch, the other end of the second switch is coupled between the first switch and the second current source, the capacitor is coupled between the first switch and the second switch, and the other end of the capacitor is grounded.

4. The dual slope dual edge down counting analog to digital conversion device as claimed in claim 3, characterized in that: At time t0, the second switch is closed to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; at time t1, the second switch and the first current source are opened and the second current source is closed at the same time, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form the first ramp signal; At time t2, closing the first switch to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; At time t3, the first switch and the second current source are opened and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form the second ramp signal.

5. The dual slope dual edge down counting analog to digital converter as claimed in claim 3, characterized in that: At time t0, the first switch is closed to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; at time t1, the first switch and the second current source are opened and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form the first ramp signal; At time t2, closing the second switch to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; At time t3, the second switch and the first current source are opened and the second current source is closed, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form the second ramp signal.

6. The dual slope dual edge down counting analog to digital converter device as claimed in claim 1, characterized in that: The digital logic circuit uses the falling edge of the low-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain a high-bit count enable; The digital logic circuit also uses the rising edge of the high-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain a low-bit count enable.

7. A dual slope dual edge downward counting analog-to-digital conversion method, characterized in that: The steps include: S1, inputting a first ramp signal and a second ramp signal with the same absolute value of slope and opposite directions generated by a ramp generator into one input terminal of a comparator, and inputting a pixel signal output by an image sensor into another input terminal of the comparator; S2, sending the output signal of the comparator and the high-speed clock and the low-speed clock to the digital logic circuit respectively, the digital logic circuit uses the falling edge of the low-speed clock and the rising edge of the high-speed clock to sample the local time periods of the first ramp signal and the second ramp signal respectively to obtain a high-bit count enable and a low-bit count enable; the digital logic circuit also uses the rising edge and the falling edge of the high-speed clock to sample the high-speed clock pulse control signal synchronized with the low-bit count enable to obtain two additional bit count enables; S3, performing a logic AND operation on the high-bit count enable and the low-speed clock through the digital logic circuit to obtain a low-speed clock count pulse, performing a logic AND operation on the low-bit count enable and the high-speed clock to obtain a high-speed clock count pulse, and performing a logic AND operation on two extra-bit count enables to obtain an extra-bit count pulse; S4, using a high-bit counter to count down the high-speed clock count pulse, and transmitting the count value to the data processor; using a low-bit counter to count down the low-speed clock count pulse, and transmitting the count value to the data processor; using an extra-bit counter to count down the extra-bit count pulse, and transmitting the count value to the data processor; S5. The data processor calculates the quantized value of the pixel signal voltage according to the formula 2*(a+Nb)+c; wherein a is the count value output by the high-bit counter, b is the count value output by the low-bit counter, c is the count value output by the extra-bit counter, and N is the ratio of the frequency of the high-speed clock to the frequency of the low-speed clock.

8. The dual slope dual edge downward counting analog-to-digital conversion method according to claim 7, characterized in that: The first ramp signal gradually increases, and the second ramp signal gradually decreases; or the first ramp signal gradually decreases, and the second ramp signal gradually increases.

9. The dual slope dual edge downward counting analog-to-digital conversion method as claimed in claim 8, characterized in that: The comparator comprises a first current source, a second current source, a first voltage source, a second voltage source, a first switch, a second switch and a capacitor; wherein one end of the first current source is connected to a power supply, the other end of the first current source is coupled to one end of the second current source, the other end of the second current source is grounded, one end of the first voltage source is grounded, the other end of the first voltage source is coupled to one end of the first switch, the other end of the first switch is coupled between the first current source and the second current source, one end of the second voltage source is grounded, the other end of the second voltage source is coupled to one end of the second switch, the other end of the second switch is coupled between the first switch and the second current source, the capacitor is coupled between the first switch and the second switch, and the other end of the capacitor is grounded; At time t0, the second switch is closed to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; at time t1, the second switch and the first current source are opened and the second current source is closed at the same time, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form the first ramp signal; At time t2, the first switch is closed to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; at time t3, the first switch and the second current source are opened and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form the second ramp signal.

10. The dual slope dual edge down counting analog to digital conversion method as claimed in claim 8, characterized in that: The comparator comprises a first current source, a second current source, a first voltage source, a second voltage source, a first switch, a second switch and a capacitor; wherein one end of the first current source is connected to a power supply, the other end of the first current source is coupled to one end of the second current source, the other end of the second current source is grounded, one end of the first voltage source is grounded, the other end of the first voltage source is coupled to one end of the first switch, the other end of the first switch is coupled between the first current source and the second current source, one end of the second voltage source is grounded, the other end of the second voltage source is coupled to one end of the second switch, the other end of the second switch is coupled between the first switch and the second current source, the capacitor is coupled between the first switch and the second switch, and the other end of the capacitor is grounded; At time t0, the first switch is closed to reset the voltage between the first current source and the second current source to the voltage of the first voltage source; at time t1, the first switch and the second current source are opened and the first current source is closed at the same time, the first current source charges the capacitor, and the voltage of the capacitor increases linearly with time to form the first ramp signal; At time t2, the second switch is closed to reset the voltage between the first current source and the second current source to the voltage of the second voltage source; at time t3, the second switch and the first current source are opened and the second current source is closed at the same time, the second current source discharges the capacitor, and the voltage of the capacitor decreases linearly with time to form the second ramp signal.

11. The dual slope dual edge down counting analog to digital conversion method as claimed in claim 8, characterized in that: In step S2, the digital logic circuit uses the falling edge of the low-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain a high-bit count enable; The digital logic circuit also uses the rising edge of the high-speed clock to sample the time period between the start time of the first ramp signal and the second ramp signal and the flip time of the comparator to obtain a low-bit count enable.

Citation Information

Patent Citations

  • High-speed analog-to-digital conversion device applied to image sensor

    CN107147859A

  • Insulated gate bipolar transistor, intelligent power device and electronic product

    CN112018171A

  • Image data analog-to-digital conversion device and image sensor containing image data analog-to-digital conversion device

    CN203057317U