Time amplitude converter based on multiple ramps
By designing a multi-slope time-amplitude converter and using overlapping multi-slope signals and quantization technology, the problem of mutual constraints between the dynamic range and quantization accuracy of traditional time-amplitude converters is solved, and a wide dynamic range and high time resolution time are achieved. Measurement.
Patent Information
- Application Number
- CN202410762492.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Traditional single-slope time-amplitude converters have mutual constraints on dynamic range and quantization accuracy in wide dynamic range and high-precision application scenarios, and cannot meet the needs of high-precision time measurement.
A time-amplitude converter based on multi-slope is designed. Through the bandgap reference unit, transconductance amplifier unit, multi-slope quantization unit, output selection unit, slope counting unit and calibration bit generation unit, overlapping multi-slope signals are generated and Quantify, output effective voltage value and counting signal, and realize time interval measurement.
It achieves time measurement with wide dynamic range and high time resolution, overcoming the mutual constraints of dynamic range and quantization accuracy of traditional time-to-amplitude converters.
Smart Images

Figure CN118550179A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of digital-analog hybrid integrated circuits, and in particular relates to a time-amplitude converter based on multiple slopes. Background Art
[0002] In recent years, high-precision time interval measurement technology has been widely used in fields such as biomedical imaging, all-digital phase-locked loops and lidar. The key is to achieve time measurement with high precision, large dynamic range and high conversion rate.
[0003] High-precision time interval measurement technology is mainly divided into analog and digital implementation methods. The analog implementation method is: first convert the time information into ramp voltage information through a time-amplitude converter, and then sample the analog ramp voltage through an analog-to-digital converter and convert it into a digital output code. Among them, the implementation principle of the time-amplitude converter is that the generated ramp signal is proportional to the input time interval.
[0004] However, the swing of the ramp signal is often limited by the power supply voltage, and the dynamic range and quantization accuracy of the single-slope time-to-amplitude converter are often mutually restricted. Therefore, for wide dynamic range and high-precision application scenarios, such as three-dimensional imaging counting, traditional time-to-amplitude converters often cannot meet their requirements. Summary of the invention
[0005] In order to solve the above problems existing in the prior art, the present invention provides a time-to-amplitude converter based on multiple slopes. The technical problem to be solved by the present invention is achieved by the following technical solutions:
[0006] The present invention provides a multi-slope time-to-amplitude converter, comprising: a bandgap reference unit, a transconductance amplifier unit, a multi-slope quantization unit, an output selection unit, a slope counting unit and a calibration bit generation unit, wherein:
[0007] The bandgap reference unit is used to generate a reference voltage;
[0008] The transconductance amplifier unit is connected to the bandgap reference unit and is used to convert the reference voltage into a reference current and transmit the reference current to the multi-slope quantization unit;
[0009] The multi-slope quantization unit is connected to the transconductance amplifier unit, and is used to generate a first multi-slope signal V1 according to the first switch signal, and generate a second multi-slope signal V2 according to the second switch signal, and generate and output a first termination value V according to the sampling signal, the first multi-slope signal V1 and the second multi-slope signal V2. out-1 and the second termination value V out-2 ; The first multi-ramp signal V1 and the second multi-ramp signal V2 overlap each other;
[0010] The output selection unit is connected to the multi-slope quantization unit and is used to compare the first preset value V MIN , the first termination value V out-1 and the second termination value V out-2 , output effective voltage value V according to the comparison result out-3 ;
[0011] The slope counting unit is connected to the multi-slope quantization unit and is used to generate and output a counting signal value OUT according to the first switch signal and the second switch signal. CNT ;
[0012] The calibration bit generating unit is connected to the multi-slope quantization unit and the output selection unit, and is used to generate and output a calibration bit according to a comparison result of the first switch signal, the second switch signal and the output selection unit.
[0013] In a specific embodiment, the bandgap reference unit includes: a first operational amplifier, a first resistor, a second resistor, a third resistor, a fourth resistor, a first PNP transistor, a second PNP transistor, a cascode current mirror and a startup circuit, wherein:
[0014] The inverting input terminal of the first operational amplifier is connected to the emitter of the first PNP transistor and the first resistor, the non-inverting input terminal is connected to the emitter of the second PNP transistor, the second resistor and the third resistor, and the output terminal is connected to the input terminal of the common-source common-gate current mirror;
[0015] One end of the fourth resistor is connected to the output end of the cascode current mirror;
[0016] The input end of the startup circuit is connected to one end of the fourth resistor, and the output end is connected to the output end of the first operational amplifier.
[0017] In a specific embodiment, the transconductance amplifier unit includes: a second operational amplifier, a first transistor and a fifth resistor, wherein:
[0018] The reference voltage is input into the non-inverting input terminal of the second operational amplifier, and the inverting input terminal is connected to the source terminal of the first transistor and the fifth resistor;
[0019] The drain terminal of the first transistor outputs the reference current to the multi-slope quantization unit.
[0020] In a specific embodiment, the multi-slope quantization unit includes a first channel and a second channel;
[0021] The first channel is used to generate a first multi-slope signal V1 according to the first switch signal, and to generate and output a first termination value V according to the sampling signal and the first multi-slope signal V1. out-1 , and compare the first multi-slope signal V1, the second preset value V LOW and the third preset value V HIGH , outputting a first reset signal RST1 or a second switch signal according to the comparison result, and resetting according to the first reset signal RST1 and the second reset signal RST2;
[0022] The second channel is used to generate a second multi-slope signal V2 according to the second switch signal, and to generate and output a second termination value V according to the sampling signal and the second multi-slope signal V2. out-2 , and compare the second multi-slope signal V2, the second preset value V LOW and the third preset value V HIGH , output the second reset signal RST2 or the first switch signal according to the comparison result, and reset according to the first reset signal RST1 and the second reset signal RST2.
[0023] In a specific embodiment, the first channel includes: a first conversion unit, a first comparison unit, a first logic gate unit and a first reset signal generating unit;
[0024] The second channel includes: a second conversion unit, a second comparison unit, a second logic gate unit and a second reset signal generating unit;
[0025] The first conversion unit is used to generate a first multi-slope signal V1 according to the first switch signal, and to generate and output a first termination value V according to the sampling signal and the first multi-slope signal V1. out-1 ;
[0026] The second conversion unit is used to generate a second multi-slope signal V2 according to the second switch signal, and to generate and output a second termination value V according to the sampling signal and the second multi-slope signal V2. out-2 ;
[0027] The first comparison unit is connected to the first conversion unit, the first reset unit and the second reset unit, and is used to compare the first multi-slope signal V1, the second preset value V LOW and the third preset value V HIGH , output a first comparison signal Q1 or a second comparison signal Q2 according to the comparison result, and reset according to a first reset signal RST1 and a second reset signal RST2;
[0028] The second comparison unit is connected to the second conversion unit and is used to compare the second multi-slope signal V2 and the second preset value VLOW and the third preset value V HIGH , output a third comparison signal Q3 or a fourth comparison signal Q4 according to the comparison result, and reset according to the first reset signal RST1 and the second reset signal RST2;
[0029] The first logic gate unit is connected to the first comparison unit and is used to generate a second switch signal according to the first comparison signal Q1 and the third comparison signal Q3;
[0030] The second logic gate unit is connected to the second comparison unit and is used to generate a first switch signal according to the start time signal, the second comparison signal Q2 and the fourth comparison signal Q4;
[0031] The first reset signal generating unit is connected to the first comparing unit and is used to generate the first reset signal RST1 according to the second comparing signal Q2;
[0032] The second reset signal generating unit is connected to the second comparing unit, and is used to generate the second reset signal RST2 according to the third comparing signal Q3.
[0033] In a specific embodiment, the first conversion unit includes: a first switch tube, a third operational amplifier, a first integrating capacitor, a first transmission gate and a second transmission gate, wherein:
[0034] The input end of the first switch tube inputs a termination time signal, and the output end is connected to the inverting input end of the third operational amplifier;
[0035] The reference voltage is input into the non-inverting input terminal of the third operational amplifier, and the output terminal is connected to the first comparison unit;
[0036] One end of the first integrating capacitor is connected to the output end of the third operational amplifier, and the other end is connected to the inverting input end of the third operational amplifier;
[0037] The output end of the first transmission gate is connected to the output end of the third operational amplifier, the first output end is connected to the inverting input end of the third operational amplifier, and the second input end is input with the first switch signal;
[0038] The first input end of the second transmission gate is connected to the output end of the third operational amplifier, the second input end inputs the sampling signal, and the output end outputs the first termination value V out-1 and the second termination value V out-2 .
[0039] In a specific embodiment, the first comparison unit includes: a first comparator, a second comparator, a first trigger and a second trigger;
[0040] The second comparison unit includes: a third comparator, a fourth comparator, a third trigger and a fourth trigger;
[0041] The second comparator and the second comparator have their in-phase input terminals connected to the output terminal of the first conversion unit, and their in-phase input terminals are respectively connected to the second preset value V LOW and the third preset value V HIGH ;
[0042] The first trigger, the CLK terminal is connected to the output terminal of the first comparator, the D terminal is input with the power supply voltage VDD, the RST terminal is input with the second reset signal RST2, and the Q terminal is connected with the input terminal of the first logic gate unit;
[0043] The second trigger, the CLK terminal is connected to the output terminal of the second comparator, the D terminal is input with the power supply voltage VDD, the RST terminal is input with the first reset signal RST1, and the Q terminal is connected with the input terminal of the first reset signal generating unit and the input terminal of the second logic gate unit;
[0044] The third comparator and the fourth comparator have their in-phase input terminals connected to the output terminal of the second conversion unit, and their in-phase input terminals are respectively connected to the second preset value V LOW and the third preset value V HIGH ;
[0045] The third trigger, the CLK terminal is connected to the output terminal of the third comparator, the D terminal inputs the power supply voltage VDD, the RST terminal inputs the second reset signal RST2, and the Q terminal is connected to the input terminal of the second reset signal generating unit and the input terminal of the first logic gate unit;
[0046] The fourth trigger has a CLK terminal connected to the output terminal of the fourth comparator, a D terminal inputting a power supply voltage VDD, an RST terminal inputting the first reset signal RST1, and a Q terminal connected to the input terminal of the second logic gate unit.
[0047] In a specific embodiment, the output selection unit includes: a fifth comparator, a sixth comparator, a seventh comparator, a first inverter, a second inverter, a first OR gate, a first AND gate, a digital selector, an analog output buffer and a load capacitor, wherein:
[0048] The non-inverting input terminal of the fifth comparator inputs the first termination value V out-1 , the inverting input terminal is connected to the first preset value V MIN , an output end is connected to a first input end of the first AND gate;
[0049] The non-inverting input terminal of the sixth comparator inputs the second termination value V out-2, the first preset value V is input into the inverting input terminal MIN , an output end is connected to an input end of the first inverter;
[0050] The non-inverting input terminal of the seventh comparator inputs the second termination value V out-2 , the inverting input terminal inputs the first termination value V out-1 , the output end is connected to the input end of the second inverter;
[0051] The first input end of the first OR gate is connected to the output end of the first inverter, the second input end is connected to the output end of the second inverter, and the output end is connected to the second input end of the first AND gate;
[0052] The first input terminal of the digital selector inputs the first termination value V out-1 The second input terminal inputs the second termination value V out-2 , the selection end is connected to the output end of the first AND gate, and the output end is connected to the non-inverting input end of the analog output buffer;
[0053] The output end of the analog output buffer is connected to the inverting input end of the analog output buffer and a load capacitor.
[0054] In a specific embodiment, the slope counting unit includes: a fifth trigger, a sixth trigger, a third reset signal generating unit, a fourth reset signal generating unit, a second OR gate and a cascade counter, wherein:
[0055] The D terminal of the fifth trigger is input with the power supply voltage VDD, the CLK terminal is input with the first switch signal, the Q terminal is connected with the input terminal of the third reset signal generating unit and the input terminal of the second OR gate, and the RST terminal is connected with the output terminal of the third reset signal generating unit;
[0056] The D terminal of the sixth trigger inputs the power supply voltage VDD, the CLK terminal inputs the second switch signal, the Q terminal is connected to the input terminal of the fourth reset signal generating unit and the input terminal of the second OR gate, and the RST terminal is connected to the output terminal of the fourth reset signal generating unit;
[0057] The input end of the cascade counter is connected to the output end of the second OR gate, and the output end outputs a 7-bit binary code.
[0058] In a specific embodiment, the calibration bit generating unit includes: a fifth AND gate, a third XOR gate and a sixth AND gate, wherein:
[0059] The first switch signal and the second switch signal are input to an input terminal of the fifth AND gate;
[0060] An input end of the third XOR gate is connected to an output end of the fifth comparator and an output end of the sixth comparator;
[0061] An input end of the sixth AND gate is connected to an output end of the fifth AND gate and an output end of the third XOR gate, and an output end of the sixth AND gate outputs a calibration bit.
[0062] Compared with the prior art, the present invention has the following beneficial effects:
[0063] The time-to-amplitude converter provided by the present invention generates an overlapping first multi-slope signal V1 and a second multi-slope signal V2 through a multi-slope quantization unit within an input time interval, and generates and outputs a first termination value V according to a sampling signal, the first multi-slope signal V1 and the second multi-slope signal V2. out-1 and the second termination value V out-2 and compares the first preset value V MIN , the first termination value V out-1 and the second termination value V out-2 , to output effective voltage value V out-3 , combined with the slopes of the first multi-slope signal V1 and the second multi-slope signal V2, the effective voltage value V output by the output selection unit out-3 , the calibration bit output by the calibration bit generating unit and the count signal value OUT output by the ramp counting unit CNT , the time interval T can be obtained, and time measurement with wide dynamic range and high time resolution can be achieved at the same time, overcoming the limitation of the traditional time-to-amplitude converter where the dynamic range and quantization accuracy restrict each other. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 is a schematic diagram of the structure of a time-to-amplitude converter based on multiple slopes provided in an embodiment of the present invention;
[0065] Figure 2 is a schematic diagram of a circuit structure of a bandgap reference unit provided by an embodiment of the present invention;
[0066] Figure 3 is a schematic diagram of the circuit structure of a transconductance amplifier unit provided in an embodiment of the present invention;
[0067] Figure 4 is a schematic diagram of the circuit structure of a multi-slope quantization unit provided by an embodiment of the present invention;
[0068] Figure 5 is a schematic diagram of the circuit structure of a comparator provided by an embodiment of the present invention;
[0069] Figure 6 is a schematic diagram of the circuit structure of an output selection unit provided in an embodiment of the present invention;
[0070] Figure 7 is a schematic diagram of the circuit structure of an analog output buffer provided by an embodiment of the present invention;
[0071] Figure 8 is a schematic diagram of the circuit structure of a ramp counting unit provided in an embodiment of the present invention;
[0072] Fig. 9 is a schematic diagram of the circuit structure of a third reset signal generating unit provided in an embodiment of the present invention;
[0073] Fig.10 is a schematic diagram of the circuit structure of a calibration bit generating unit provided in an embodiment of the present invention;
[0074] Fig.11 is a schematic diagram of a ramp signal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0075] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0076] Embodiment 1
[0077] See also Figure 1 , Figure 1 It is a schematic diagram of the structure of a time-to-amplitude converter based on multiple slopes provided in an embodiment of the present invention.
[0078] The multi-slope time-to-amplitude converter provided in this embodiment includes: a bandgap reference unit, a transconductance amplifier unit, a multi-slope quantization unit, an output selection unit, a slope counting unit, and a calibration bit generation unit, wherein the bandgap reference unit is used to generate a reference voltage. The transconductance amplifier unit is connected to the bandgap reference unit, and is used to convert the reference voltage into a reference current, and transmit the reference current to the multi-slope quantization unit. The multi-slope quantization unit is connected to the transconductance amplifier unit, and is used to generate a first multi-slope signal V1 according to a first switch signal, and to generate a second multi-slope signal V2 according to a second switch signal, and to generate and output a first termination value V according to a sampling signal, the first multi-slope signal V1, and the second multi-slope signal V2. out-1 and the second termination value V out-2 The first multi-slope signal V1 and the second multi-slope signal V2 overlap each other. The output selection unit is connected to the multi-slope quantization unit for comparing the first preset value V MIN , the first termination value V out-1 and the second termination value V out-2 , output effective voltage value V according to the comparison result out-3 The slope counting unit is connected to the multi-slope quantization unit, and is used to generate and output a counting signal value OUT according to the first switch signal and the second switch signal. CNTThe calibration bit generation unit is connected to the multi-slope quantization unit and the output selection unit, and is used to generate and output the calibration bit according to the comparison result of the first switch signal, the second switch signal and the output selection unit.
[0079] Specifically, the multi-slope quantization unit generates a first multi-slope signal V1 and a second multi-slope signal V2 within a time interval to convert time information into slope voltage information, obtains the average slope of the first multi-slope signal V1 and the second multi-slope signal V2 by a pre-test method, and combines the effective voltage value V output by the output selection unit out-3 , the calibration bit output by the calibration bit generating unit and the count signal value OUT output by the ramp counting unit CNT , the time interval T can be obtained. It should be understood that the first termination value V out-1 is the value of the first multi-slope signal V1 when the rising edge of the sampling signal arrives, and the second termination value V out-2 is the value of the second multi-ramp signal V2 when the rising edge of the sampling signal arrives.
[0080] See also Figure 2 The bandgap reference unit includes: a first operational amplifier A101, a first resistor R101, a second resistor R102, a third resistor R103, a fourth resistor R104, a first PNP transistor Q101, a second PNP transistor Q102, a cascode current mirror 101 and a startup circuit 102, wherein the inverting input terminal of the first operational amplifier A101 is connected to the emitter of the first PNP transistor Q101 and the first resistor R101, the non-inverting input terminal of the first operational amplifier A101 is connected to the emitter of the second PNP transistor Q102, the second resistor R102 and the third resistor R103, and the output terminal of the first operational amplifier A101 is connected to the input terminal of the cascode current mirror 101. One end of the fourth resistor R104 is connected to the output terminal of the cascode current mirror 101. The input terminal of the startup circuit 102 is connected to one end of the fourth resistor R104, and the output terminal of the startup circuit 102 is connected to the output terminal of the first operational amplifier A101.
[0081] Specifically, the bandgap reference unit generates a reference voltage that is independent of temperature. The first operational amplifier A101 enables the circuit to operate in a deep negative feedback state, that is, the node voltage V 101 ≈V 102 , the current I flowing through the first resistor R101 R101 Inversely proportional to the absolute temperature, the current I flowing through the second resistor R102 R102 is proportional to the absolute temperature, the current I R101 and I R102 After the two currents are summed, they pass through the cascode current mirror 101 and then flow through the fourth resistor R104. The voltage drop generated on the fourth resistor R104 is the output reference voltage.
[0082] Specifically, the current I flowing through the first resistor R101 R101 As shown below:
[0083]
[0084] Among them, V BE1 is the difference between the base-emitter voltage of the first PNP transistor Q101.
[0085] The current I flowing through resistor R2 R102 As shown below:
[0086]
[0087] Among them, V BE2 is the difference between the base-emitter voltage of the second PNP transistor Q102, N is the ratio of the emitter junction area of the first PNP transistor Q101 to the emitter junction area of the second PNP transistor Q102, V T is the thermal voltage, k is the Boltzmann constant, T is the absolute temperature, and q is the elementary charge.
[0088] In this embodiment, the ratio N of the emitter junction area of the first PNP transistor Q101 to the second PNP transistor Q102 is 1:4. The resistance of the third resistor R103 is equal to the resistance of the first resistor R101. The common source and common gate current mirror 101 includes transistors M101 to M106. The transistors M101, M103, and M105 have the same width-to-length ratio, and the transistors M102, M104, and M106 have the same width-to-length ratio. Then, the current I flowing through the transistor M104 is M104 Equal to the current I flowing through M106 M106 , that is I M104 =I M106 =I R101 +I R102 The output reference voltage V R104 As shown below:
[0089]
[0090] Specifically, the reference voltage with zero temperature coefficient is obtained by the resistance ratio of resistors R101 and R102, and the output reference voltage V is changed by the ratio of resistors R104 and R101. R104 Voltage value.
[0091] In this embodiment, the startup circuit 102 includes transistors M107-M109 and a capacitor C101. When the power supply voltage is powered on, in order to prevent the core circuit of the bandgap reference unit from entering a zero current working state, the transistor M108 is used as the input terminal of the startup circuit 102. The input terminal of the transistor M108 is connected to the reference voltage V R104, transistor M107 is connected by diode, so that transistor M107 is always in saturation state, and the drain terminal of transistor M109 is connected to the gate of common source and common gate current mirror 101. When powered on, if the circuit is in zero current state, the output reference voltage V R104 When the voltage of transistor M107 and transistor M108 is 0V, transistor M108 is turned off, and the gate voltage of transistor M109 is the sum of the power supply voltage VDD and the threshold voltage Vthp. The driving transistor M109 is turned on, and the drain voltage of transistor M109 is pulled down. At this time, the common source and common gate current mirror 101 starts to conduct, injecting current into the first operational amplifier A101 and the core circuit, and the entire circuit enters a normal working state. When the circuit works in a normal working state, by appropriately selecting the sizes of transistors M107 and M108, the drain voltage of M108 is less than the threshold voltage of M109. When the circuit works in a normal working state, transistor M109 is turned off, and the startup circuit does not affect the normal working state of the bandgap reference unit.
[0092] Specifically, see Figure 3 The transconductance amplifier unit includes: a second operational amplifier A202, a first transistor M201 and a fifth resistor R201. The non-inverting input terminal of the second operational amplifier A202 inputs a reference voltage, and the inverting input terminal of the second operational amplifier A202 is connected to the source terminal of the first transistor M201 and the fifth resistor R201. The drain terminal of the first transistor M201 outputs a reference current I REF Up to ramp quantization units.
[0093] Specifically, the second operational amplifier A202 and the first transistor M201 form a negative feedback loop, so that the voltage at the inverting input terminal of the second operational amplifier A202 is equal to the reference voltage V R104 , and then converted into a reference current I through the fifth resistor R201 REF , I REF As shown below:
[0094]
[0095] In this embodiment, the multi-slope quantization unit includes a first channel and a second channel. The first channel is used to generate a first multi-slope signal V1 according to the first switch signal, and to generate and output a first termination value V according to the sampling signal and the first multi-slope signal V1. out-1 , and compare the first multi-slope signal V1, the second preset value V LOW and the third preset value V HIGH , output the first reset signal RST1 or the second switch signal according to the comparison result, and reset according to the first reset signal RST1 and the second reset signal RST2. The second channel is used to generate a second multi-ramp signal V2 according to the second switch signal, and generate and output a second termination value V according to the sampling signal and the second multi-ramp signal V2.out-2 , and compare the second multi-slope signal V2, the second preset value V LOW and the third preset value V HIGH , output the second reset signal RST2 or the first switch signal according to the comparison result, and reset according to the first reset signal RST1 and the second reset signal RST2.
[0096] Specifically, the first channel and the second channel have the same structure and are cross-connected. The multi-slope quantization unit converts the time interval into a slope voltage in an integral form, the first channel generates a first multi-slope signal V1 within the time interval, and the second channel generates a second multi-slope signal V2 within the time interval, and converts the time signal into an overlapping first multi-slope signal V1 and a second multi-slope signal V2, wherein the amplitude of the linear rise of the slope in the first multi-slope signal V1 and the second multi-slope signal V2 is proportional to the time interval.
[0097] For further information, see Figure 4 The first channel includes: a first conversion unit 311, a first comparison unit 312, a first logic gate unit 313 and a first reset signal generating unit 314. The second channel includes: a second conversion unit 321, a second comparison unit 322, a second logic gate unit 323 and a second reset signal generating unit 324. The first conversion unit 311 is used to generate a first multi-slope signal V1 according to the first switch signal, and to generate and output a first termination value V according to the sampling signal and the first multi-slope signal V1. out-1 The second conversion unit 321 is used to generate a second multi-slope signal V2 according to the second switch signal, and to generate and output a second termination value V according to the sampling signal and the second multi-slope signal V2. out-2 The first comparison unit 312 is connected to the first conversion unit 311, the first reset unit and the second reset unit. The first comparison unit 312 is used to compare the first multi-slope signal V1, the second preset value V LOW and the third preset value V HIGH The second comparison unit 322 is connected to the second conversion unit 321, and the second comparison unit 322 is used to compare the second multi-slope signal V2, the second preset value V LOW and the third preset value V HIGH, output the third comparison signal Q3 or the fourth comparison signal Q4 according to the comparison result, and reset according to the first reset signal RST1 and the second reset signal RST2. The first logic gate unit 313 is connected to the first comparison unit 312, and is used to generate the second switch signal according to the first comparison signal Q1 and the third comparison signal Q3. The second logic gate unit 323 is connected to the second comparison unit 322, and is used to generate the first switch signal according to the start time signal, the second comparison signal Q2 and the fourth comparison signal Q4. The first reset signal generating unit 314 is connected to the first comparison unit 312, and is used to generate the first reset signal RST1 according to the second comparison signal Q2. The second reset signal generating unit 324 is connected to the second comparison unit 322, and is used to generate the second reset signal RST2 according to the third comparison signal Q3.
[0098] In this embodiment, the first conversion unit 311 includes: a first switch tube, a third operational amplifier A301, a first integrating capacitor C301, a first transmission gate G301 and a second transmission gate G302. The input end of the first switch tube inputs the termination time signal, and the output end of the first switch tube is connected to the inverting input end of the third operational amplifier A301. The non-inverting input end of the third operational amplifier A301 inputs the reference voltage V REF , the output end of the third operational amplifier A301 is connected to the first comparison unit 312. One end of the first integrating capacitor C301 is connected to the output end of the third operational amplifier A301, and the other end is connected to the inverting input end of the third operational amplifier A301. The output end of the first transmission gate G301 is connected to the output end of the third operational amplifier A301, the first output end of the first transmission gate G301 is connected to the inverting input end of the third operational amplifier A301, and the second input end of the first transmission gate G301 inputs the first switching signal. The first input end of the second transmission gate G302 is connected to the output end of the third operational amplifier A301, the second input end of the second transmission gate G302 inputs the sampling signal, and the output end of the second transmission gate G302 outputs the first termination value V out-1 and the second termination value V out-2 When the first transmission gate G301 is turned off, the current source charges the first integration capacitor C301, and the first multi-slope signal V1 increases linearly with the increase of the integration time. The second conversion unit 321 has the same structure as the first conversion unit 311, which will not be described here. When the third transmission gate G303 is turned off, the current source charges the second integration capacitor C302, and the second multi-slope signal V2 increases linearly with the increase of the integration time.
[0099] In this embodiment, the first comparison unit 312 includes: a first comparator, a second comparator, a first trigger, and a second trigger. The second comparison unit 322 includes: a third comparator, a fourth comparator, a third trigger, and a fourth trigger. The in-phase input terminals of the second comparator and the second comparator are both connected to the output terminal of the first conversion unit 311, and the inverting input terminals of the second comparator and the second comparator are respectively input with the second preset value V LOW and the third preset value V HIGH The CLK terminal of the first trigger is connected to the output terminal of the first comparator, the D terminal of the first trigger is input with the power supply voltage VDD, the RST terminal of the first trigger is input with the second reset signal RST2, and the Q terminal of the first trigger is connected to the input terminal of the first logic gate unit 313. The CLK terminal of the second trigger is connected to the output terminal of the second comparator, the D terminal of the second trigger is input with the power supply voltage VDD, the RST terminal of the second trigger is input with the first reset signal RST1, and the Q terminal of the second trigger is connected to the input terminal of the first reset signal generating unit 314 and the input terminal of the second logic gate unit 323. The non-inverting input terminals of the third comparator and the fourth comparator are both connected to the output terminal of the second conversion unit 321, and the inverting input terminals of the third comparator and the fourth comparator are respectively input with the second preset value V LOW and the third preset value V HIGH The CLK terminal of the third flip-flop is connected to the output terminal of the third comparator, the D terminal of the third flip-flop is input with the power supply voltage VDD, the RST terminal of the third flip-flop is input with the second reset signal RST2, and the Q terminal of the third flip-flop is connected with the input terminal of the second reset signal generating unit 324 and the input terminal of the first logic gate unit 313. The CLK terminal of the fourth flip-flop is connected to the output terminal of the fourth comparator, the D terminal of the fourth flip-flop is input with the power supply voltage VDD, the RST terminal of the fourth flip-flop is input with the first reset signal RST1, and the Q terminal of the fourth flip-flop is connected with the input terminal of the second logic gate unit 323.
[0100] In this embodiment, the first logic gate unit 313 includes: a first XOR gate X301, a load matching unit 315, a third four-OR gate, a third AND gate, a fourth inverter and a first buffer. The second logic gate unit 323 includes: a second XOR gate X302, a startup circuit unit 325, a fifth OR gate, a fourth AND gate, a fifth inverter and a second buffer. The input end of the first XOR gate X301 inputs the first comparison signal Q1 and the third comparison signal Q3, the output end of the first XOR gate X301 is connected to the input end of the load matching unit 315 and the first input end of the fifth OR gate, the output end of the fifth OR gate is connected to the input end of the fourth AND gate, the output end of the fourth AND gate is connected to the fourth inverter and the first buffer, and the output end of the fourth inverter and the first buffer outputs the second switch signal. The connection relationship in the second logic gate unit 323 is the same as that of the first logic gate unit 313, and will not be repeated here. The input end of the second XOR gate X302 inputs the second comparison signal Q2 and the fourth comparison signal Q4, and the output end of the fifth inverter and the second buffer outputs the first switch signal. It should be understood that the first switch signal includes an EN1 signal and an ENN1 signal, the ENN1 signal is an inverted signal with a phase opposite to that of the EN1 signal, the fourth inverter outputs the ENN1 signal, and the first buffer outputs the EN1 signal. The second switch signal includes an EN2 signal and an ENN2 signal, the ENN2 signal is an inverted signal with a phase opposite to that of the EN2 signal, and the termination time signal includes a STOP signal and a STOPN signal, and the STOPN signal is an inverted signal with a phase opposite to that of the STOP signal.
[0101] Specifically, the Q terminal of the first flip-flop outputs the first comparison signal Q1, and the first comparison signal Q1 is input to the first logic gate unit 313 through the first XOR gate X301. The Q terminal of the second flip-flop outputs the second comparison signal Q2, and the second comparison signal Q2 is input to the first reset signal generating unit 314, and is input to the second logic gate unit 323 through the second XOR gate X302. The Q terminal of the third flip-flop outputs the third comparison signal Q3, and the third comparison signal Q3 is input to the second reset signal generating unit 324, and is input to the first logic gate unit 313 through the first XOR gate X301. The Q terminal of the fourth flip-flop outputs the fourth comparison signal Q4, and the fourth comparison signal Q4 is input to the second logic gate unit 323 through the second XOR gate X302.
[0102] In this embodiment, the generation of a single ramp signal can be divided into four stages: a waiting stage, a conversion stage, an idle stage, and a reset stage. Taking the first channel as an example, in the waiting stage, the time-to-amplitude converter waits for receiving the start time signal START, and the first transmission gate G301 is turned on. At this time, the third operational amplifier A301 is in the buffer configuration stage, and the output voltage of the third operational amplifier A301 is the set reference voltage V REF , that is, in the waiting stage, the value of the first multi-ramp signal V1 is constant to the reference voltage VREF . In the conversion phase, when the first transmission gate G301 is turned off, the STOPN1 signal is at a high potential, the first switch tube is turned on, and the time-amplitude converter applies the principle of the switched capacitor integrator. The current source charges the first integral capacitor C301, and the first multi-slope signal V1 increases linearly with the increase of the integration time. In the idle phase, the rising edge of the termination time signal arrives, the first switch tube is turned off, the first integral capacitor C301 is disconnected, and the first multi-slope signal V1 remains constant at the value when the rising edge of the termination time signal arrives. At this time, the analog-to-digital converter can sample the analog ramp voltage and convert it into a digital code. In the reset phase, the first transmission gate G301 is turned on, the third operational amplifier A301 is back in the buffer configuration phase, and the time-amplitude converter returns to the waiting phase, ready to receive a new start time signal START. The time-amplitude converter of this embodiment generates multiple ramp signals within a time interval, that is, before the rising edge of the termination time signal arrives, the first channel and the second channel will cycle through multiple conversion phases and reset phases.
[0103] Specifically, Figure 4 As shown, before the start time signal START arrives, the first switch signal is low, the first transmission gate G301 is turned on, the third operational amplifier A301 is in the buffer configuration stage, and the time amplitude converter is in the waiting stage. When the rising edge of the START signal arrives, the first switch signal is converted to a high potential, the first transmission gate G301 is turned off, the first channel enters the conversion stage, and the first multi-slope signal V1 output by the third operational amplifier A301 rises linearly with the time interval. When the first multi-slope signal V1 exceeds the second preset value V LOW , the output voltage of the first comparator is converted from low potential to high potential, the first trigger outputs a high potential first comparison signal Q1, at this time, the two input terminals of the first XOR gate X301 have different potentials, the first XOR gate X301 outputs a high potential, the EN2 signal and the ENN2 signal are converted to high potential, the second transmission gate G302 is turned off after receiving the EN2 signal and the ENN2 signal, and the second channel enters the conversion stage, when the first multi-slope signal V1 in the first channel continues to rise and exceeds the third preset value V HIGH, the first trigger outputs a high potential second comparison signal Q2, the potentials of the input signals at the two input terminals of the second XOR gate X302 are different, the second XOR gate X302 outputs a high potential, and the trigger in the startup circuit unit 325 is reset. At the same time as the trigger in the startup circuit unit 325 is reset, the second comparison signal Q2 generates a first reset signal RST1 through the first reset signal generating unit 314, and resets the second trigger and the fourth trigger. At this time, the potentials of the input signals at the two input terminals of the second XOR gate X302 are the same. At this time, the output of the second XOR gate X302 will drop to a low potential again, the EN1 signal and the ENN1 signal drop to a low potential, the first transmission gate G301 is turned on, and the first channel enters the reset stage. When the second multi-slope signal V2 in the second channel rises and exceeds the second preset value V LOW , the output voltage of the fourth comparator is converted from low potential to high potential, and the fourth trigger outputs a high potential fourth comparison signal Q4. At this time, the two input terminals of the second XOR gate X302 have different potentials, and the second XOR gate X302 outputs a high potential. The EN1 signal and the ENN1 signal are converted to high potential again, and the first channel enters the conversion stage again. When the second multi-slope signal V2 in the second channel continues to rise and exceeds the third preset value V HIGH , the third trigger outputs a high-level third comparison signal Q3, and the third comparison signal Q3 generates a second reset signal RST2 through the second reset signal generating unit 324, resetting the first trigger and the third trigger. At this time, the output of the first XOR gate X301 will drop to a low level again, the EN2 signal and the ENN2 signal will drop to a low level, the second transmission gate G302 will be turned on, and the second channel will enter the reset stage. Thereafter, within the time interval, the first channel and the second channel alternately enter the conversion stage and the reset stage, generating overlapping first multi-ramp signals V1 and second multi-ramp signals V2. When the rising edge of the termination time signal arrives, both channels enter the idle stage, and the first multi-ramp signal V1 and the second multi-ramp signal V2 remain unchanged. When the rising edge of the sampling signal arrives, the value of the first multi-ramp signal V1 is obtained as the first termination value V out-1 , obtain the value of the second multi-ramp signal V2 as the second termination value V out-2 , and output the first termination value V out-1 and the second termination value V out-2 To the output selection unit.
[0104] Specifically, see Figure 5The first comparator, the second comparator, the third comparator and the fourth comparator have the same structure and are all continuous comparators, and all include transistors M301 to M315, wherein M301 to M304, M308, M309, M312 and M313 are PMOS transistors, and M305 to M307, M310, M311, M314 and M315 are NMOS transistors. The gate and drain terminals of transistors M301 and M304 are short-circuited, the gate and drain terminals of transistors M302 and M303 are cross-connected, the gate terminals of transistors M305 and M306 are respectively connected to input signals VIP and VIN, and the drain terminals of transistors M301 to M306 are connected to output nodes VOP and VON. Transistor M307 is used as a tail current tube, with the gate terminal connected to the bias voltage VB and the drain terminal connected to the source terminals of transistors M305 and M306. The gate terminal of transistor M310 is connected to the output node VOP, and the drain terminal is connected to the gate terminal and the drain terminal of transistor M308 and the gate terminal of transistor M309. The gate terminal of transistor M311 is connected to the output node VON, and the drain terminal is connected to the drain terminal of transistor M309. The gate terminal and the drain terminal of transistor M312 and transistor M314 are connected, and the gate terminal and the drain terminal of transistor M313 and transistor M315 are connected. Transistors M312 to M315 form a two-stage inverter, with the input terminal connected to node VN and the output terminal connected to VOUT.
[0105] Specifically, the preamplifier of the comparator is loaded with cross-coupled transistors M301-M304 to amplify the signal difference between the input signal VIP and VIN. VIN is connected to the threshold voltage (the second preset value V LOW or the third preset value V HIGH ), VIP is connected to the multi-slope signal (the first multi-slope signal V1 or the second multi-slope signal V2). When the output signal value is higher than the threshold voltage, the voltage difference between the two input terminals is amplified by the front operational amplifier, and the voltage of the output node VON is lower than VOP. The width-to-length ratio of transistors M310 and M311 is the same. At this time, the branch current of transistor M310 is greater than the branch current of transistor M311. Transistors M308 and M309 form a current mirror structure to mirror the branch current of transistor M310. Therefore, the charging current of node VN is greater than the discharging current, and the voltage rises. After the two-stage inverter, the VN voltage is quickly converted to the power supply voltage, and VOUT outputs a logic high level.
[0106] See also Figure 6 The output selection unit includes: a fifth comparator A401, a sixth comparator A402, a seventh comparator A403, a first inverter, a second inverter, a first OR gate, a first AND gate S401, a digital selector, an analog output buffer and a load capacitor C L The first termination value V is input to the non-inverting input terminal of the fifth comparator A401. out-1 The inverting input terminal of the fifth comparator A401 inputs the first preset value V MINThe output terminal of the fifth comparator A401 is connected to the first input terminal of the first AND gate S401. The non-inverting input terminal of the sixth comparator A402 inputs the second termination value V out-2 The inverting input terminal of the sixth comparator A402 inputs the first preset value V MIN The output terminal of the sixth comparator A402 is connected to the input terminal of the first inverter. The non-inverting input terminal of the seventh comparator A403 inputs the second termination value V out-2 The inverting input terminal of the sixth comparator A402 inputs the first termination value V out-1 The output of the seventh comparator A403 is connected to the input of the second inverter. The first input of the first OR gate is connected to the output of the first inverter, the second input of the first OR gate is connected to the output of the second inverter, and the output of the first OR gate is connected to the second input of the first AND gate S401. The first input of the digital selector inputs the first termination value V out-1 The second input terminal of the digital selector inputs the second termination value V out-2 The selection end of the digital selector is connected to the output end of the first AND gate S401, and the output end of the digital selector is connected to the non-inverting input end of the analog output buffer. The output end of the analog output buffer is connected to the inverting input end of the analog output buffer and the load capacitor C L .
[0107] Specifically, the output end of the fifth comparator A401 outputs the ARB1 signal, the output end of the sixth comparator A402 outputs the ARB2 signal, the output end of the sixth comparator A402 outputs the ARB3 signal, the first OR gate outputs according to the ARB2 signal and the ARB3 signal, the first AND gate S401 outputs according to the ARB1 signal and the output signal of the first OR gate, and the digital selector is in the first termination value V according to the output signal of the first AND gate S401. out-1 and the second termination value V out-2 Select one as the effective voltage value V out-3 , effective voltage value V out-3 Output through the output terminal of the analog output buffer.
[0108] Specifically, Figure 6 As shown, when the sampling signal rises, the output selection unit compares the first termination value V out-1 , the second termination value V out-2 With the first preset value V MIN , select and output according to the comparator result. In this embodiment, the fifth comparator A401 compares the first termination value V out-1 and the first preset value V MIN , output ARB-1 signal. The sixth comparator A402 compares the second termination value V out-2 and the first preset value V MIN, output ARB-2 signal. The seventh comparator A403 compares the first termination value V out-1 and the second termination value V out-2 , output ARB-3 signal. If the first termination value V out-1 and the second termination value V out-2 A value higher than the first preset value V MIN , a value lower than the first preset value V MIN , select the first termination value V out-1 and the second termination value V out-2 Higher than the first preset value V MIN As the effective voltage value V out-3 Output; if the first termination value V out-1 and the second termination value V out-2 Both are higher than the first preset value V MIN , then select the first termination value V out-1 and the second termination value V out-2 The lower voltage value is taken as the effective voltage value V out-3 Output. Effective voltage value V out-3 The signal is output to the outside of the chip through the analog buffer and can be sampled by the analog-to-digital converter and converted into digital code.
[0109] Specifically, see Figure 7 The analog output buffer includes transistors M501 to M515, wherein M501 to M503, M512 to M515 are PMOS transistors, and M504 to M509 are NMOS transistors. Transistor M501 is used as a tail current tube, with its gate terminal connected to the bias voltage VP1, and its drain terminal connected to the source terminals of transistors M502 and M503. The gate terminals of transistors M502 and M503 are connected to input signals VIP and VIN. Transistors M504 to M507 are used as loads of the first-stage operational amplifier, with the gate terminals and drain terminals of transistors M504 and M507 short-circuited, and the gate terminals and drain terminals of transistors M505 and M506 are cross-connected. Transistors M508 and M509 are used as amplifiers of the second-stage operational amplifier, with their gate terminals connected to the output nodes VON and VOP of the first-stage operational amplifier, and their drain terminals connected to the source terminals of transistors M510 and M511. The gate terminals of transistors M510 and M511 are connected to bias voltage VN1, and the gate terminals of transistors M512 and M513 are connected to bias voltage VP2. The drain terminals of transistors M510 and M512 are connected and connected to the gate terminals of transistors M514 and M515. The drain terminals of transistors M511 and M513 are connected and are the output terminals of the output buffer.
[0110] Specifically, the analog buffer of this embodiment adopts a two-stage amplifier structure. The first-stage amplifier adopts a cross-coupled transistor as a load. The output resistor ro of the first-stage amplifier and the transconductance gm of the transistor M505 are 505 and the transconductance gm of transistor M504 504Satisfying ro=1(gm 505 -gm 504 ), and the transconductance gm of transistor M505 505 and the transconductance gm of transistor M506 506 Equal, the transconductance gm of transistor M504 504 and the transconductance gm of transistor M507 507 By properly setting the size of the load transistor, gm 505 and gm 507 The gain of the first stage amplifier is increased, and the cross-coupled load provides an output common-mode voltage for the output of the first stage op amp. The second stage amplifier adopts a common source and common gate structure to further increase the gain of the buffer. The load capacitor C connected to the output of the second stage amplifier L It should be large enough so that the main pole of the buffer is located at the output end of the second-stage amplifier to ensure loop stability. When the termination time signal arrives, the output voltage of the output selection unit is a constant analog value, the operational amplifier bandwidth is not restricted, and the large load capacitor can suppress the influence of external noise on the output voltage.
[0111] See also Figure 8 , the slope counting unit includes: a fifth trigger, a sixth trigger, a third reset signal generating unit, a fourth reset signal generating unit, a second OR gate and a cascade counter. The D terminal of the fifth trigger inputs the power supply voltage VDD, the CLK terminal inputs the first switch signal, the Q terminal of the fifth trigger is connected to the input terminal of the third reset signal generating unit and the input terminal of the second OR gate, and the RST terminal of the fifth trigger is connected to the output terminal of the third reset signal generating unit. The D terminal of the sixth trigger inputs the power supply voltage VDD, the CLK terminal of the sixth trigger inputs the second switch signal, the Q terminal of the sixth trigger is connected to the input terminal of the fourth reset signal generating unit and the input terminal of the second OR gate, and the RST terminal of the sixth trigger is connected to the output terminal of the fourth reset signal generating unit. The input terminal of the cascade counter is connected to the output terminal of the second OR gate, and the output terminal of the cascade counter outputs a 7-bit binary code.
[0112] Specifically, the slope counting unit uses the first switch signal and the second switch signal of the multi-slope quantization unit to count the total number of slopes in the first multi-slope signal V1 and the second multi-slope signal V2. When the rising edge of the first switch signal comes, the fifth trigger drives the result of the cascade counter to add 1 through the second OR gate, and at the same time, the fifth trigger is self-reset through the third reset signal generating unit. When the rising edge of the second switch signal comes, the sixth trigger drives the result of the cascade counter to add 1 through the second OR gate, and at the same time, the sixth trigger is self-reset through the fourth reset signal generating unit, and the output end of the cascade counter outputs the counting signal value OUT in the form of 7-bit binary code. CNT .
[0113] Furthermore, the structures of the first reset signal generating unit, the second reset signal generating unit, the third reset signal generating unit and the fourth reset signal generating unit provided in this embodiment are the same. The third reset signal generating unit is taken as an example for description. Fig. 9 , the third reset signal generating unit includes: a delay unit 601, a third inverter and a second AND gate. Among them, the input end of the delay unit 601 is connected to the Q end of the fifth trigger, and the output end of the delay unit 601 is connected to the input end of the third inverter. The first input end of the second AND gate is connected to the Q end of the fifth trigger, the second input end of the second AND gate is connected to the output end of the third inverter, and the output end of the second AND gate is connected to the RST end of the fifth trigger. The first input end of the second AND gate and the input end of the delay unit 601 serve as the input end of the third reset signal generating unit, connected to the Q end of the fifth trigger, and the output end of the second AND gate serves as the output end of the third reset signal generating unit to input the reset signal.
[0114] In an achievable manner, the calibration bit generating unit is used to calibrate the total number of slopes in the first multi-slope signal V1 and the second multi-slope signal V2 so that the number of slopes is equal to the effective voltage value V out-3 The results match. Specifically, see Fig.10 The calibration bit generating unit includes: a fifth AND gate, a third XOR gate and a sixth AND gate. The first switch signal and the second switch signal are input to the input end of the fifth AND gate. The input end of the third XOR gate is connected to the output end of the fifth comparator and the output end of the sixth comparator. The input end of the sixth AND gate is connected to the output end of the fifth AND gate and the output end of the third XOR gate, and the output end of the sixth AND gate outputs the calibration bit.
[0115] In this embodiment, the input end of the fifth AND gate inputs the EN1 signal and the EN2 signal of the multi-slope quantization unit, the input end of the third XOR gate inputs the ARB-1 signal and the ARB-2 signal in the output selection unit, the outputs of the fifth AND gate and the third XOR gate are connected to the input end of the sixth AND gate, and the output end of the sixth AND gate outputs the calibration bit. When the calibration bit outputs a high potential, the count signal value OUT output by the slope counting unit CNT This is 1 more than the total number of actual slopes.
[0116] In this example, see Fig.11 The first multi-ramp signal V1 and the second multi-ramp signal V2 increase linearly with the increase of the integration time in the conversion phase, and the rising slopes of the first multi-ramp signal V1 and the second multi-ramp signal V2 are obtained by the pre-test method. Specifically, Fig.11 The midpoints A to F are the pre-test input time intervals. The absolute time difference between any two points is known. The rising slope K1 of the first multi-ramp signal V1 satisfies the following formula:
[0117]
[0118] Where, ΔV AC is the difference between the first multi-slope signal V1 at point A and point C, ΔT AC is the absolute time difference between point A and point C.
[0119] The rising slope K2 of the second multi-ramp signal V2 satisfies the following formula:
[0120]
[0121] Where, ΔV FD is the difference between the first multi-ramp signal V1 at point F and point D, ΔT FD is the absolute time difference between point F and point D.
[0122] Furthermore, when the first channel and the second channel are in phase conversion, that is, when the conversion phase and the reset phase are alternating, a nonlinear segment is introduced into the ramp signal. Therefore, in this embodiment, the first preset value V MIN As the lowest effective quantization voltage, the highest effective quantization voltage V is obtained according to the following formula MAX :
[0123] (V MAX -V B ) / K1+(V E -V MIN ) / K2=ΔT BE ;
[0124] Where, ΔT BE is the absolute time difference between point B and point E, V B is the first multi-slope signal V1 at point B, V E It is the first multi-slope signal V1 at point E.
[0125] The time interval T measured in this embodiment is shown in the following formula:
[0126] T=(V MAX -V MIN )·(OUT CNT -1) / K mean +(V out-3 -V MIN ) / K mean ;
[0127] Among them, K mean It is the average value of the rising slope K1 and the rising slope K2.
[0128] Specifically, this embodiment uses the highest effective quantization voltage V MAX and the first preset value V MIN, only the stable slope part of the ramp signal is selected as the effective quantization range, avoiding the nonlinearity introduced when the conversion phase and the reset phase are alternated, effectively improving the linearity of the multi-slope time-amplitude converter, and this embodiment adopts a pre-test method to obtain the rising slope of the ramp signal and the highest effective quantization voltage V MAX , avoiding the influence of process, power supply voltage and temperature on the integral current and capacitance value of the ramp signal, and realizing pre-calibration of the integral current and capacitance.
[0129] In this embodiment, since the first channel and the second channel are driven by the switch signals EN1 and EN2, if the rising edge of the STOP signal is located at the junction of the switch signals (the first switch signal and the second switch signal) and V MIN Between, such as Fig.11 As shown by the yellow solid line in the middle, the effective voltage value V out-3 and the count signal value OUT CNT Do not match, the counting signal value OUT output by the ramp counting unit CNT When the calibration bit output is high, the count signal value OUT of the time interval T is CNT It should be subtracted by 1, that is, when the calibration bit output is high, the time interval T is as follows:
[0130] T=(V MAX -V MIN )·(OUT CNT -2) / K mean +(V out-3 -V MIN ) / K mean .
[0131] The time-to-amplitude converter provided in this embodiment generates an overlapping first multi-slope signal V1 and a second multi-slope signal V2 through a multi-slope quantization unit within an input time interval, and generates and outputs a first termination value V according to a sampling signal, the first multi-slope signal V1 and the second multi-slope signal V2. out-1 and the second termination value V out-2 and compares the first preset value V MIN , the first termination value V out-1 and the second termination value V out-2 , to output effective voltage value V out-3 , combined with the slopes of the first multi-slope signal V1 and the second multi-slope signal V2, the effective voltage value V output by the output selection unit out-3 , the calibration bit output by the calibration bit generating unit and the count signal value OUT output by the ramp counting unit CNT, the time interval T can be obtained, which overcomes the limitation of the dynamic range and quantization accuracy of the traditional time-to-amplitude converter, and realizes the time measurement with wide dynamic range and high time resolution.
[0132] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A multi-slope based time-to-amplitude converter, characterized in that: include: A bandgap reference unit, a transconductance amplifier unit, a multi-slope quantization unit, an output selection unit, a slope counting unit and a calibration bit generation unit, wherein: The bandgap reference unit is used to generate a reference voltage; The transconductance amplifier unit is connected to the bandgap reference unit and is used to convert the reference voltage into a reference current and transmit the reference current to the multi-slope quantization unit; The multi-slope quantization unit is connected to the transconductance amplifier unit, and is used to generate a first multi-slope signal V1 according to the first switch signal, and generate a second multi-slope signal V2 according to the second switch signal, and generate and output a first termination value V according to the sampling signal, the first multi-slope signal V1 and the second multi-slope signal V2. out-1 and the second termination value V out-2 ; The first multi-ramp signal V1 and the second multi-ramp signal V2 overlap each other; The output selection unit is connected to the multi-slope quantization unit and is used to compare the first preset value V MIN , the first termination value V out-1 and the second termination value V out-2 , output effective voltage value V according to the comparison result out-3 ; The slope counting unit is connected to the multi-slope quantization unit and is used to generate and output a counting signal value OUT according to the first switch signal and the second switch signal. CNT ; The calibration bit generating unit is connected to the multi-slope quantization unit and the output selection unit, and is used to generate and output a calibration bit according to a comparison result of the first switch signal, the second switch signal and the output selection unit.
2. The multi-slope time-to-amplitude converter according to claim 1, characterized in that: The bandgap reference unit includes: a first operational amplifier, a first resistor, a second resistor, a third resistor, a fourth resistor, a first PNP transistor, a second PNP transistor, a cascode current mirror and a startup circuit, wherein: The inverting input terminal of the first operational amplifier is connected to the emitter of the first PNP transistor and the first resistor, the non-inverting input terminal is connected to the emitter of the second PNP transistor, the second resistor and the third resistor, and the output terminal is connected to the input terminal of the common-source common-gate current mirror; One end of the fourth resistor is connected to the output end of the cascode current mirror; The input end of the startup circuit is connected to one end of the fourth resistor, and the output end is connected to the output end of the first operational amplifier.
3. The multi-slope time-to-amplitude converter according to claim 1, characterized in that: The transconductance amplifier unit includes: a second operational amplifier, a first transistor and a fifth resistor, wherein: The reference voltage is input into the non-inverting input terminal of the second operational amplifier, and the inverting input terminal is connected to the source terminal of the first transistor and the fifth resistor; The drain terminal of the first transistor outputs the reference current to the multi-slope quantization unit.
4. The multi-slope time-to-amplitude converter according to claim 1, characterized in that: The multi-slope quantization unit includes a first channel and a second channel; The first channel is used to generate a first multi-slope signal V1 according to the first switch signal, and to generate and output a first termination value V according to the sampling signal and the first multi-slope signal V1. out-1 , and compare the first multi-slope signal V1, the second preset value V LOW and the third preset value V HIGH , outputting a first reset signal RST1 or a second switch signal according to the comparison result, and resetting according to the first reset signal RST1 and the second reset signal RST2; The second channel is used to generate a second multi-slope signal V2 according to the second switch signal, and to generate and output a second termination value V according to the sampling signal and the second multi-slope signal V2. out-2 , and compare the second multi-slope signal V2, the second preset value V LOW and the third preset value V HIGH , output the second reset signal RST2 or the first switch signal according to the comparison result, and reset according to the first reset signal RST1 and the second reset signal RST2.
5. The multi-slope time-to-amplitude converter according to claim 4, characterized in that: The first channel includes: a first conversion unit, a first comparison unit, a first logic gate unit and a first reset signal generating unit; The second channel includes: a second conversion unit, a second comparison unit, a second logic gate unit and a second reset signal generating unit; The first conversion unit is used to generate a first multi-slope signal V1 according to the first switch signal, and to generate and output a first termination value V according to the sampling signal and the first multi-slope signal V1. out-1 ; The second conversion unit is used to generate a second multi-slope signal V2 according to the second switch signal, and to generate and output a second termination value V according to the sampling signal and the second multi-slope signal V2. out-2 ; The first comparison unit is connected to the first conversion unit, the first reset unit and the second reset unit, and is used to compare the first multi-slope signal V1, the second preset value V LOW and the third preset value V HIGH , output a first comparison signal Q1 or a second comparison signal Q2 according to the comparison result, and reset according to a first reset signal RST1 and a second reset signal RST2; The second comparison unit is connected to the second conversion unit and is used to compare the second multi-slope signal V2 and the second preset value V LOW and the third preset value V HIGH , output a third comparison signal Q3 or a fourth comparison signal Q4 according to the comparison result, and reset according to the first reset signal RST1 and the second reset signal RST2; The first logic gate unit is connected to the first comparison unit and is used to generate a second switch signal according to the first comparison signal Q1 and the third comparison signal Q3; The second logic gate unit is connected to the second comparison unit and is used to generate a first switch signal according to the start time signal, the second comparison signal Q2 and the fourth comparison signal Q4; The first reset signal generating unit is connected to the first comparing unit and is used to generate the first reset signal RST1 according to the second comparing signal Q2; The second reset signal generating unit is connected to the second comparing unit, and is used to generate the second reset signal RST2 according to the third comparing signal Q3.
6. The multi-slope time-to-amplitude converter according to claim 5, characterized in that: The first conversion unit includes: a first switch tube, a third operational amplifier, a first integrating capacitor, a first transmission gate and a second transmission gate, wherein: The input end of the first switch tube inputs a termination time signal, and the output end is connected to the inverting input end of the third operational amplifier; The reference voltage is input into the non-inverting input terminal of the third operational amplifier, and the output terminal is connected to the first comparison unit; One end of the first integrating capacitor is connected to the output end of the third operational amplifier, and the other end is connected to the inverting input end of the third operational amplifier; The output end of the first transmission gate is connected to the output end of the third operational amplifier, the first output end is connected to the inverting input end of the third operational amplifier, and the second input end is input with the first switch signal; The first input end of the second transmission gate is connected to the output end of the third operational amplifier, the second input end inputs the sampling signal, and the output end outputs the first termination value V out-1 and the second termination value V out-2 .
7. The multi-slope based time-to-amplitude converter according to claim 5, characterized in that: The first comparison unit includes: a first comparator, a second comparator, a first trigger and a second trigger; The second comparison unit includes: a third comparator, a fourth comparator, a third trigger and a fourth trigger; The second comparator and the second comparator have their in-phase input terminals connected to the output terminal of the first conversion unit, and their in-phase input terminals are respectively connected to the second preset value V LOW and the third preset value V HIGH ; The first trigger, the CLK terminal is connected to the output terminal of the first comparator, the D terminal is input with the power supply voltage VDD, the RST terminal is input with the second reset signal RST2, and the Q terminal is connected with the input terminal of the first logic gate unit; The second trigger, the CLK terminal is connected to the output terminal of the second comparator, the D terminal is input with the power supply voltage VDD, the RST terminal is input with the first reset signal RST1, and the Q terminal is connected with the input terminal of the first reset signal generating unit and the input terminal of the second logic gate unit; The third comparator and the fourth comparator have their in-phase input terminals connected to the output terminal of the second conversion unit, and their in-phase input terminals are respectively connected to the second preset value V LOW and the third preset value V HIGH ; The third trigger, the CLK terminal is connected to the output terminal of the third comparator, the D terminal inputs the power supply voltage VDD, the RST terminal inputs the second reset signal RST2, and the Q terminal is connected to the input terminal of the second reset signal generating unit and the input terminal of the first logic gate unit; The fourth trigger has a CLK terminal connected to the output terminal of the fourth comparator, a D terminal inputting a power supply voltage VDD, an RST terminal inputting the first reset signal RST1, and a Q terminal connected to the input terminal of the second logic gate unit.
8. The multi-slope time-to-amplitude converter according to claim 1, characterized in that: The output selection unit includes: a fifth comparator, a sixth comparator, a seventh comparator, a first inverter, a second inverter, a first OR gate, a first AND gate, a digital selector, an analog output buffer and a load capacitor, wherein: The non-inverting input terminal of the fifth comparator inputs the first termination value V out-1 , the inverting input terminal is connected to the first preset value V MIN , an output end is connected to a first input end of the first AND gate; The non-inverting input terminal of the sixth comparator inputs the second termination value V out-2 , the first preset value V is input into the inverting input terminal MIN , an output end is connected to an input end of the first inverter; The non-inverting input terminal of the seventh comparator inputs the second termination value V out-2 , the inverting input terminal inputs the first termination value V out-1 , the output end is connected to the input end of the second inverter; The first input end of the first OR gate is connected to the output end of the first inverter, the second input end is connected to the output end of the second inverter, and the output end is connected to the second input end of the first AND gate; The first input terminal of the digital selector inputs the first termination value V out-1 The second input terminal inputs the second termination value V out-2 , the selection end is connected to the output end of the first AND gate, and the output end is connected to the non-inverting input end of the analog output buffer; The output end of the analog output buffer is connected to the inverting input end of the analog output buffer and a load capacitor.
9. The multi-slope based time-to-amplitude converter according to claim 1, characterized in that: The slope counting unit includes: a fifth trigger, a sixth trigger, a third reset signal generating unit, a fourth reset signal generating unit, a second OR gate and a cascade counter, wherein: The D terminal of the fifth trigger is input with the power supply voltage VDD, the CLK terminal is input with the first switch signal, the Q terminal is connected with the input terminal of the third reset signal generating unit and the input terminal of the second OR gate, and the RST terminal is connected with the output terminal of the third reset signal generating unit; The D terminal of the sixth trigger inputs the power supply voltage VDD, the CLK terminal inputs the second switch signal, the Q terminal is connected to the input terminal of the fourth reset signal generating unit and the input terminal of the second OR gate, and the RST terminal is connected to the output terminal of the fourth reset signal generating unit; The input end of the cascade counter is connected to the output end of the second OR gate, and the output end outputs a 7-bit binary code.
10. The multi-slope based time-to-amplitude converter according to claim 8, characterized in that: The calibration bit generating unit comprises: a fifth AND gate, a third XOR gate and a sixth AND gate, wherein: The first switch signal and the second switch signal are input to an input terminal of the fifth AND gate; An input end of the third XOR gate is connected to an output end of the fifth comparator and an output end of the sixth comparator; An input end of the sixth AND gate is connected to an output end of the fifth AND gate and an output end of the third XOR gate, and an output end of the sixth AND gate outputs a calibration bit.
Citation Information
Patent Citations
Assembly line hour converter and method thereof
CN103067016A
Wide-dynamic-range high-precision pixel-level time-amplitude converter
CN107367926A
High-precision pixel-level time amplitude converter with wide dynamic range
CN107515526A
Double-slope double-edge downward counting analog-to-digital conversion device and conversion method thereof
CN114157301A
High-speed monoclinic ADC (Analog to Digital Converter) design method and circuit based on multi-slope slope
CN116456212A
Cited By
Dual-slope analog-to-digital converter and method
CN120729314A
