CN113376999B - A Special Adder for High Temporal Resolution Time-to-Digital Converters - Google Patents
A Special Adder for High Temporal Resolution Time-to-Digital Converters Download PDFInfo
- Publication number
- CN113376999B CN113376999B CN202110635568.0A CN202110635568A CN113376999B CN 113376999 B CN113376999 B CN 113376999B CN 202110635568 A CN202110635568 A CN 202110635568A CN 113376999 B CN113376999 B CN 113376999B
- Authority
- CN
- China
- Prior art keywords
- bit
- module
- result
- binary
- binary code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04F—TIME-INTERVAL MEASURING
- G04F10/00—Apparatus for measuring unknown time intervals by electric means
- G04F10/005—Time-to-digital converters [TDC]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/50—Adding; Subtracting
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Mathematical Optimization (AREA)
- General Engineering & Computer Science (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
本发明专利提出了一种用于具有大动态测量范围、高分辨性能的时间数字转换器(TDC)的特殊加法器的设计方法以及电路实现,主要包括格雷码与二进制码转换模块(1)、自校准模块(2)以及内部逻辑模块(3)。本发明所提出的特殊加法器主要用于实现在时间数字转换器中整数部分与分数部分计数值的加法合并,不仅能够将TDC中环形振荡器电路所产生的不同进制的周期整数部分数值和分数部分数值进行求和并转换为标准二进制码,而且在时序上还具有一定的纠错能力,能够确保TDC在整个时间测量到数值转换上的正确性。
The patent of the present invention proposes a design method and circuit implementation of a special adder for a time-to-digital converter (TDC) with large dynamic measurement range and high resolution performance, mainly including gray code and binary code conversion module (1), Self-calibration module (2) and internal logic module (3). The special adder proposed by the present invention is mainly used to realize the addition and merging of the integer part and the fractional part count value in the time-to-digital converter, and not only can combine the cycle integer part values and The values of the fractional parts are summed and converted into standard binary codes, and it also has a certain error correction capability in timing, which can ensure the correctness of TDC measurement to value conversion throughout the time.
Description
技术领域technical field
本发明要解决的技术问题是提供一种用于高时间分辨率时间数字转换器(TDC)的特殊加法器的电路,涉及数字集成电路技术领域。The technical problem to be solved by the present invention is to provide a circuit for a special adder of a time-to-digital converter (TDC) with high time resolution, which relates to the technical field of digital integrated circuits.
背景技术Background technique
时间数字转换器作为一种时间域上的模拟量到数字量的转换器件,其具有和模数转换器(ADC)十分相似的特性。TDC是一种主要用来完成时间测量的器件,它具有较高的测量分辨率,并广泛应用于需要将时间量转换为数值量的各种应用领域。TDC在上述领域中的应用对其时间测量分辨率有着较高的要求,这促使了这一研究领域中的学者都在不断追求实现更高时间测量分辨率的TDC电路架构,从而也使得TDC的电路结构发生了翻天覆地的变化,由原始简单的延迟链型到近来提出的各种两级转换型(比如粗-细型TDC),就目前而言TDC的时间测量分辨率已经能够突破1ps,并正在向着更小的测量分辨率发展。The time-to-digital converter is a conversion device from analog to digital in the time domain, which has characteristics very similar to those of an analog-to-digital converter (ADC). TDC is a device mainly used to complete time measurement. It has high measurement resolution and is widely used in various application fields that need to convert time into numerical value. The application of TDC in the above fields has high requirements for its time measurement resolution, which has prompted scholars in this research field to continuously pursue the TDC circuit architecture to achieve higher time measurement resolution, which also makes the TDC The circuit structure has undergone earth-shaking changes, from the original simple delay chain type to various two-stage conversion types (such as coarse-fine TDC) proposed recently. For now, the time measurement resolution of TDC has been able to break through 1ps, and There is a move towards smaller measurement resolutions.
虽然近年来TDC的时间测量分辨率有了很大的提高,使得应用到TDC这一特性的相关系统设备的性能也得到了很大的改善,但这并没有给那些相对测量分辨率更看重TDC动态测量范围的系统设备带来同样的效益。这是因为随着TDC测量时间分辨率的提高,其相应的动态测量范围并没有同样得到提高,甚至往往是以牺牲动态测量范围为代价来换取的。比如目前对于测量分辨率在1ps左右的TDC,其动态测量范围往往只有十几纳秒甚至几纳秒,这对于应用于激光雷达测距的TDC来说是远远不够的。Although the time measurement resolution of TDC has been greatly improved in recent years, the performance of related system equipment applied to this characteristic of TDC has also been greatly improved, but this does not give more importance to TDC relative to measurement resolution. System equipment with a dynamic measuring range brings the same benefits. This is because with the improvement of TDC measurement time resolution, its corresponding dynamic measurement range has not been improved as well, and it is often exchanged at the expense of dynamic measurement range. For example, at present, for TDC with a measurement resolution of about 1 ps, its dynamic measurement range is often only a dozen nanoseconds or even a few nanoseconds, which is far from enough for TDC used in lidar ranging.
为了实现可应用于激光雷达测距的具有大测量动态范围和较高时间测量分辨率的TDC,现在通常TDC中环形振荡器(RO)所产生的周期整数倍计数值和分数倍计数值进行求和,并转换为标准的二进制数值。然而由于整数部分与分数部分的计数结果代表的所采用的进制不同,两个计数结果无法直接进行相加;并且由于器件时延的存在,在整数部分加一跳变与分数部分的清零并不是完全同步,使得测量数值存在严重偏差,从而影响时间测量的准确性。In order to realize a TDC with a large measurement dynamic range and a higher time measurement resolution that can be applied to lidar ranging, the cycle integer multiple count value and the fractional multiple count value generated by the ring oscillator (RO) in the TDC are now usually carried out. Summed and converted to standard binary values. However, because the counting results of the integer part and the fractional part represent different bases, the two counting results cannot be added directly; and due to the existence of device delay, adding a jump in the integer part and clearing the fractional part It is not completely synchronized, so that there is a serious deviation in the measured value, which affects the accuracy of time measurement.
发明内容Contents of the invention
为了解决上述问题,本发明设计实现了一种应用在大测量动态范围和较高时间测量分辨率的TDC中,可以进行不同进制输入数值间的相加并且同时具有纠错功能的特殊加法器的电路方案。本发明用于高时间分辨率时间数字转换器的特殊加法器的输入包括时间数字转换器中粗计数器16位格雷码计数结果A,时间数字转换器中细计数器译码器6位二进制码计数结果C,计数时钟的二分频信号,输出为24位代表测量时长的二进制数值RESULT;其特征在于该特殊加法器包括:格雷码与二进制码转换模块1,自校准模块2和内部逻辑模块3;In order to solve the above-mentioned problems, the present invention designs and implements a special adder that is applied in a TDC with a large measurement dynamic range and a relatively high time measurement resolution, and can perform addition between different base input values and has an error correction function at the same time circuit scheme. The input of the special adder used in the time-to-digital converter with high time resolution in the present invention includes the 16-bit gray code counting result A of the rough counter in the time-to-digital converter, and the 6-bit binary code counting result A of the fine counter decoder in the time-to-digital converter C, the two frequency division signal of the counting clock, the output is 24 bits representing the binary value RESULT of the measurement duration; it is characterized in that the special adder includes: Gray code and binary code conversion module 1, self-
所述的格雷码与二进制码转换模块1用于将时间数字转换器中粗计数器16位格雷码计数结果A转换为对应的二进制进行后续的运算;The gray code and binary code conversion module 1 is used to convert the 16-bit gray code counting result A of the coarse counter in the time-to-digital converter into corresponding binary for subsequent operations;
所述的自校准模块2根据粗计数器16位格雷码计数结果A,译码器6位二进制码C和计数时钟的二分频信号对16为格雷码转换对应的二进制码的转换结果B进行自校准,以确保在因电路时延所导致的非理想情况发生时仍能够给出正确的结果,提高数据的准确性与可靠性;The self-
所述的内部逻辑模块3用于将16位经校准的二进制码结果E进行处理,按照特定的逻辑进行转换后再与译码器6位二进制码C进行相加运算以解决最低有效位对应的是十进制数63,不能被二进制所表达的问题。The internal logic module 3 is used to process the 16-bit calibrated binary code result E, convert it according to a specific logic, and then add it to the 6-bit binary code C of the decoder to solve the problem corresponding to the least significant bit The problem is that the decimal number 63 cannot be expressed in binary.
上述自校准模块2包括自加一模块,二选一选择器模块和选择器逻辑判断模块;其中:所述自加一模块输入为格雷码与二进制码转换模块输出的16位格雷码转换为对应的二进制码的转换结果B,输出为将其加一后的16位自加一结果D;所述二选一选择器模块输入为格雷码与二进制码转换模块输出的16位格雷码转换为对应的二进制码的转换结果B,自加一模块输出的16位自加一结果D和选择器逻辑判断模块输出的选择器控制信号SEL;通过选择器控制信号控制二选一选择器模块输出16位经校准的二进制码结果E;所述选择器逻辑判断模块根据输入的译码器6位二进制码计数结果C最高位,粗计数器16位格雷码计数结果A最低位,计数时钟的二分频信号按照特定的关系进行组合逻辑运算,输出选择器控制信号SEL。The above-mentioned self-
上述内部逻辑模块(3)包括按照特定规则进行标准二进制码转换和普通加法器;包括译码器6位二进制码计数结果C,经过自校准模块输出的16位经校准的二进制码结果(E);按照特定规则进行标准二进制码转换将16位经自校准模块输出的16位二进制码结果整体左移6位,并减去其自身的值,得到真正意义上的二进制数结果F,然后与6位二进制码进行直接相加得到24位代表测量时长的二进制数值RESULT。The above-mentioned internal logic module (3) includes standard binary code conversion and common adder according to specific rules; 6-bit binary code counting result C of the decoder, 16 calibrated binary code results (E) output by the self-calibration module ; Perform standard binary code conversion according to specific rules, shift the 16-bit binary code result output by the self-calibration module by 6 bits to the left as a whole, and subtract its own value to obtain the real binary number result F, and then combine it with 6 24-bit binary value RESULT representing the measurement duration is obtained by direct addition of binary codes.
本发明与现有技术相比,具有以下优点:Compared with the prior art, the present invention has the following advantages:
1.无需将粗、细计数结果输出到外部设备进行存储与运算,可以经过本特殊加法器后输出到TDC电路中的寄存器进行存储,便于外部设备直接得到结果;1. It is not necessary to output the coarse and fine counting results to the external device for storage and calculation, but can be output to the register in the TDC circuit for storage after passing through the special adder, so that the external device can directly obtain the result;
2.无需将粗、细计数结果分别输出,解决了由于粗、细计数结果进制不同导致的无法直接合并相加的问题;2. There is no need to output the coarse and fine counting results separately, which solves the problem that the coarse and fine counting results cannot be directly merged and added due to the different base systems of the coarse and fine counting results;
3.通过自校准功能确保在因电路时延所导致的非理想情况发生时仍能够给出正确的结果,提高了数据的准确性与可靠性。3. Through the self-calibration function, the correct result can still be given when the non-ideal situation caused by the circuit delay occurs, which improves the accuracy and reliability of the data.
附图说明Description of drawings
图1为本发明特殊加法器的实现框图;Fig. 1 is the realization block diagram of special adder of the present invention;
图2为本发明特殊加法器的具体各模块原理框图;Fig. 2 is the concrete block diagram of each module of special adder of the present invention;
图3为本发明特殊加法器应用于TDC的核心结构框图。Fig. 3 is a block diagram of the core structure of the special adder of the present invention applied to TDC.
具体实施方式detailed description
为了使本发明的技术特点、电路构成、功能与使用场景直观易懂,下面将结合图示,进一步阐述本发明,在以下表述中,除非特别说明,术语“VDD”、“GND”、“连接”应是广义上的理解。In order to make the technical characteristics, circuit configuration, functions and usage scenarios of the present invention intuitive and easy to understand, the following will further explain the present invention in conjunction with the diagrams. In the following expressions, unless otherwise specified, the terms "VDD", "GND", "connection "It should be understood in a broad sense.
参照图1和图2,本发明的特殊加法器包括3个输入,分别是时间数字转换器中粗计数器16位格雷码计数结果A,时间数字转换器中细计数器译码器6位二进制码计数结果C和计数时钟的二分频信号;其输出为24位代表测量时长的二进制数值RESULT。按照功能本发明的特殊加法器包括格雷码与二进制码转换模块1,自校准模块2和内部逻辑模块3;With reference to Fig. 1 and Fig. 2, the special adder of the present invention comprises 3 inputs, is respectively the 16-bit Gray code counting result A of the rough counter in the time-to-digital converter, and the 6-bit binary code counting result A of the fine counter decoder in the time-to-digital converter The result C and the two-frequency signal of the counting clock; its output is a 24-bit binary value RESULT representing the measurement duration. According to the function, the special adder of the present invention includes a gray code and binary code conversion module 1, a self-
所述格雷码与二进制码的转换模块1其输入为粗计数器16位格雷码计数结果A,输出为16位格雷码转换为对应的二进制码的转换结果B。由于格雷码每次跳变仅有一位的特性,应用在电路设计中具有降低功耗以及提高数据传输准确性的特点,且为了确保粗计数器每次加一所需要的时间大致相等,TDC的粗计数值采用格雷码进行计数。代表分数部分的细计数值则正常使用二进制,所以首先要对粗计数器的格雷码计数结果转换为对应的二进制进行后续的运算。The Gray code and binary code conversion module 1 has an input of the 16-bit Gray code counting result A of the coarse counter, and an output of the conversion result B of the 16-bit Gray code converted into the corresponding binary code. Due to the characteristics of only one bit of gray code jumping each time, the application in circuit design has the characteristics of reducing power consumption and improving the accuracy of data transmission. The count value is counted using Gray code. The fine count value representing the fractional part normally uses binary, so the gray code counting result of the coarse counter must first be converted to the corresponding binary for subsequent operations.
所述自校准模块设有4个输入,分别是粗计数器16位格雷码计数结果A,16位格雷码转换为对应的二进制码的转换结果B,时间数字转换器中细计数器译码器6位二进制码计数结果C和计数时钟的二分频信号;输出为16位经校准的二进制码结果E。理想情况下当环形振荡器刚好完成一个振荡周期后,粗计数器的计数值加一,同时采样锁存器的输入回到初始状态,由于器件时延的存在,译码器的输出“00_0000”总是会早于或晚于粗计数器的加一过程,使得测量数值出现严重偏差。自校准模块的设计能够确保在因电路时延所导致的非理想情况发生时仍能够给出正确的结果。其特征在于:它包括自加一模块,二选一选择器模块,选择器逻辑判断模块,其中:The self-calibration module is provided with 4 inputs, which are the counting result A of the 16-bit Gray code of the coarse counter, the conversion result B of the corresponding binary code converted from the 16-bit Gray code, and 6 bits of the fine counter decoder in the time-to-digital converter. The binary code counting result C and the frequency-divided signal of the counting clock; the output is the 16-bit calibrated binary code result E. Ideally, when the ring oscillator just completes one oscillation cycle, the count value of the coarse counter is increased by one, and the input of the sampling latch returns to the initial state at the same time. Due to the existence of device delay, the output of the decoder is always It will be earlier or later than the addition process of the coarse counter, which will cause serious deviations in the measured value. The self-calibration module is designed to ensure correct results in the presence of non-ideal conditions caused by circuit delays. It is characterized in that it includes a self-increasing module, a selector module for selecting one of two, and a selector logic judgment module, wherein:
自加一模块输入为格雷码与二进制码转换模块输出的16位格雷码转换为对应的二进制码的转换结果B,输出为将其加一后的16位自加一结果D;The self-increment module input is the conversion result B of the 16-bit Gray code output by the Gray code and the binary code conversion module is converted into the corresponding binary code, and the output is the 16-bit self-increment result D after it is added by one;
二选一选择器模块输入为格雷码与二进制码转换模块输出的16位格雷码转换为对应的二进制码的转换结果B,自加一模块输出的16位自加一结果D,选择器逻辑判断模块输出的选择器控制信号SEL,通过选择器控制信号控制二选一选择器模块输出16位经校准的二进制码结果E;The input of the two-to-one selector module is Gray code and the 16-bit Gray code output by the binary code conversion module is converted into the conversion result B of the corresponding binary code, and the 16-bit self-increment result D output by the self-increment module is judged by the logic of the selector The selector control signal SEL output by the module controls the two-to-one selector module to output the 16-bit calibrated binary code result E through the selector control signal;
选择器逻辑判断模块根据输入的译码器6位二进制码计数结果C最高位,粗计数器16位格雷码计数结果A最低位,计数时钟的二分频信号按照特定的关系进行组合逻辑运算,输出选择器控制信号SEL。The logic judgment module of the selector performs combinational logic operation on the counting result A of the 6-bit binary code of the input decoder and the lowest bit of the counting result A of the 16-bit Gray code of the coarse counter according to a specific relationship, and outputs The selector control signal SEL.
所述内部逻辑模块设有2个输入,分别是16位经校准的二进制码结果E和来自译码器的6位二进制码C。16位格雷码中的最低有效位对应的是十进制数63,它不能被2n所表达,n>=1。因而不能够直接与6位二进制码相加或移位相加,所以需要按照特定的逻辑进行转换后再进行相加运算。其特征在于:按照特定规则进行标准二进制码转换将16位经自校准模块输出的16位二进制码结果整体左移6位,并减去其自身的值,得到真正意义上的二进制数结果F,然后与6位二进制码进行直接相加得到24位代表测量时长的二进制数值RESULT。The internal logic module has two inputs, the 16-bit calibrated binary code result E and the 6-bit binary code C from the decoder. The least significant bit in the 16-bit Gray code corresponds to the decimal number 63, which cannot be expressed by 2n, n>=1. Therefore, it cannot be directly added or shifted and added to the 6-bit binary code, so it needs to be converted according to a specific logic and then added. It is characterized in that: perform standard binary code conversion according to specific rules, shift the 16-bit binary code result output by the self-calibration module by 6 bits to the left as a whole, and subtract its own value to obtain the real binary number result F, Then directly add the 6-bit binary code to obtain the 24-bit binary value RESULT representing the measurement duration.
图3为本发明特殊加法器应用于具有大测量动态范围、较高测量时间分辨率的TDC电路的核心结构框图,它包括由63个反相器表示的延迟单元构成的环形振荡器RO,63个采样锁存器及与其相对应的细计数器,粗计数器以及本发明的特殊加法器。当开始测量信号“Start”的上升沿到来后,RO开始运行并同时使能粗计数器。每当粗计数器的时钟输入端到来一个上升沿时,粗计数器开始加一。值得说明的是为了确保粗计数器每次加一所需要的时间大致相等,这里采用格雷码计数的形式。当停止信号“Stop”的上升沿到来后,它一方面会将粗计数器中的计数值锁存下来并随后送入到加法器;另一方面则会将此时RO中各个反相器输出端的电压值采样下来,并经细计数器得到6位二进制码。该6位二进制码中的最低有效位决定了该TDC的测量时间分辨率,它等于两个反相器的传输时延,也即LSB=2τ,其中τ>0为单个反相器的传输时延。可见粗计数器中的计数值代表环形振荡器所振荡的整数周期数,而采样锁存器和细计数器输出的6位二进制数则代表不足一个振荡周期的分数计数值。总的代表“Start”和“Stop”信号上升沿之间时间差的计数值应是粗计数器中的计数值加上细计数器的输出。Fig. 3 is a block diagram of the core structure of a special adder of the present invention applied to a TDC circuit with a large measurement dynamic range and a higher measurement time resolution, and it includes a ring oscillator RO composed of delay units represented by 63 inverters, 63 A sampling latch and its corresponding fine counter, coarse counter and special adder of the present invention. When the rising edge of the start measurement signal "Start" arrives, the RO starts to run and enables the coarse counter at the same time. Whenever the clock input of the coarse counter comes with a rising edge, the coarse counter starts to increment by one. It is worth noting that in order to ensure that the time required for the coarse counter to add one each time is approximately equal, the form of Gray code counting is used here. When the rising edge of the stop signal "Stop" arrives, on the one hand, it will latch the count value in the coarse counter and then send it to the adder; The voltage value is sampled, and a 6-bit binary code is obtained through a fine counter. The least significant bit in the 6-bit binary code determines the measurement time resolution of the TDC, which is equal to the transmission delay of two inverters, that is, LSB=2 τ , where τ>0 is the transmission of a single inverter delay. It can be seen that the count value in the coarse counter represents the integer number of cycles oscillated by the ring oscillator, while the 6-bit binary number output by the sampling latch and the fine counter represents the fractional count value of less than one oscillation cycle. The total count value representing the time difference between the rising edges of the "Start" and "Stop" signals shall be the count value in the coarse counter plus the output of the fine counter.
本发明公开的一种用于高时间分辨率时间数字转换器的特殊加法器其内部逻辑运行流程如下:The internal logic operation flow of a special adder for a time-to-digital converter with high time resolution disclosed by the present invention is as follows:
(1)格雷码与二进制码转换模块将TDC粗计数器的16位格雷码计数结果A转换为对应的二进制B,并输入自校准模块中。格雷码向二进制码的转换,其转换法则是保留格雷码的最高位作为二进制码的最高位,而次高位二进制码为高位二进制码与次高位格雷码的异或值。以此类推,当前待输出的二进制码均为其高一位二进制与当前位格雷码的异或输出。(1) The Gray code and binary code conversion module converts the 16-bit Gray code counting result A of the TDC coarse counter into the corresponding binary B, and inputs it into the self-calibration module. The conversion method of Gray code to binary code is to reserve the highest bit of Gray code as the highest bit of binary code, and the second highest bit binary code is the XOR value of the upper bit binary code and the second highest bit Gray code. By analogy, the current binary code to be output is the XOR output of its upper binary bit and the current bit Gray code.
格雷码向二进制码的转换法则,可概括为如下表达形式:The conversion rule from Gray code to binary code can be summarized as the following expression:
其中n≥1,1≤i≤n,Gn-1Gn-2...G1G0代表待转换的格雷码,Bn-1Bn-2...B1B0代表转换到的二进制码。Where n≥1, 1≤i≤n, G n-1 G n-2 ... G 1 G 0 represents the Gray code to be converted, B n-1 B n-2 ... B 1 B 0 represents the conversion to the binary code.
(2)自校准模块将16位转换后的二进制码的转换结果B以及其自加一后的16位自加一结果D输入到二选一选择器中,选择器逻辑判断模块根据输入的译码器的6位二进制码计数结果C最高位,粗计数器16位格雷码计数结果A最低位,计数时钟的二分频信号按照特定的关系进行组合逻辑运算,生成选择器控制信号SEL,控制二选一选择器的结果输出。正确的判断出是将转换后未加一的二进制码还是将转换后并加一了的二进制码送入下一级模块电路进行处理。选择器控制信号SEL为该判断逻辑电路的输出,同时也是二选一选择器的选择控制信号,当SEL=0时,选择输出格雷码直接转换得到的二进制码;当SEL=1时,选择输出自加“1”后的二进制码。SEL可由如下所示的逻辑表达式表示:(2) The self-calibration module inputs the conversion result B of the binary code after the 16-bit conversion and the 16-bit self-increment result D after the self-increment into the two-to-one selector, and the selector logic judgment module is based on the input translation The highest bit of the counting result C of the 6-bit binary code of the encoder, the lowest bit of the counting result A of the 16-bit Gray code of the coarse counter, the frequency-divided signal of the counting clock is combined with logic operations according to a specific relationship, and the selector control signal SEL is generated to control the two Select the result output of a selector. Correctly determine whether to send the converted binary code without adding 1 or the converted binary code with 1 added to the next-level module circuit for processing. The selector control signal SEL is the output of the judging logic circuit, and it is also the selection control signal of the one-of-two selector. When SEL=0, the binary code obtained by directly converting the gray code is selected and output; when SEL=1, the selected output The binary code after adding "1". SEL can be represented by a logical expression as shown below:
其中,fake_binary[0]是16bit格雷码直接转换成的伪二进制码的最低位;div_2为计数时钟的二分频信号,它在计数时钟下降沿到来时发生跳变;decoder[5]是6bit细计数器计数结果的最高位信号。由粗计数器输出信号特性(格雷码)可知,在粗计数加“1”前后,也即环形振荡器每转完2周前后,fake_binary[0]div_2始终为1,此时选择控制信号SEL主要取决于细计数器计数结果的最高位decoder[5]。Among them, fake_binary[0] is the lowest bit of the pseudo binary code directly converted into 16bit gray code; div_2 is the frequency division signal of the counting clock, which jumps when the falling edge of the counting clock arrives; decoder[5] is the 6bit fine The highest bit signal of the counter counting result. From the characteristics of the output signal of the coarse counter (Gray code), it can be seen that before and after adding "1" to the coarse count, that is, before and after the ring oscillator completes two revolutions, fake_binary[0] div_2 is always 1, at this time the selection control signal SEL mainly depends on the highest bit decoder[5] of the counting result of the fine counter.
(3)内部逻辑模块将16位经自校准模块输出的16位二进制码结果E整体左移6位,并减去其自身的值,得到真正意义上的二进制数结果F,然后与译码器的6位二进制码C进行直接相加,最终得到24位代表测量时长的二进制数值RESULT。(3) The internal logic module shifts the 16-bit 16-bit binary code result E output by the self-calibration module to the left by 6 bits as a whole, and subtracts its own value to obtain the real binary number result F, which is then combined with the decoder The 6-bit binary code C is directly added, and finally a 24-bit binary value RESULT representing the measurement duration is obtained.
至此,完成了对本发明整个电路从电路模块构成、每个模块运行原理、以及每个模块对数据的处理的说明。So far, the description of the structure of the entire circuit of the present invention from the circuit modules, the operating principle of each module, and the processing of data by each module has been completed.
上述实施例仅是本发明的典型例子,本实用发明不限于该实施例,显然在本发明的构思下,还可以做出各种修改,变换和变形,所以说明书和附图均是说明性的而非限制性的,凡是根据本发明实质对以上实施例做出的任何修改和变化,均应属于本发明的保护范围。The above-described embodiment is only a typical example of the present invention, and the present invention is not limited to this embodiment. Obviously, various modifications, transformations and deformations can be made under the concept of the present invention, so the description and the accompanying drawings are all illustrative Without limitation, any modifications and changes made to the above embodiments according to the essence of the present invention shall belong to the protection scope of the present invention.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110635568.0A CN113376999B (en) | 2021-06-08 | 2021-06-08 | A Special Adder for High Temporal Resolution Time-to-Digital Converters |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110635568.0A CN113376999B (en) | 2021-06-08 | 2021-06-08 | A Special Adder for High Temporal Resolution Time-to-Digital Converters |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113376999A CN113376999A (en) | 2021-09-10 |
| CN113376999B true CN113376999B (en) | 2023-01-06 |
Family
ID=77576387
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110635568.0A Active CN113376999B (en) | 2021-06-08 | 2021-06-08 | A Special Adder for High Temporal Resolution Time-to-Digital Converters |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113376999B (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0171579A1 (en) * | 1984-07-13 | 1986-02-19 | Max Stegmann Gmbh Uhren- und Elektroapparatefabrik | Arrangement for the serial transmission of measured values of at least one transducer |
| JP2001111426A (en) * | 1999-10-08 | 2001-04-20 | Sony Corp | Parallel a/d converter, signal processing circuit using the a/d converter and recording/reproducing device loaded with the a/d converter |
| EP1428079A1 (en) * | 2001-09-12 | 2004-06-16 | Lockheed Martin Corporation | Circuit for measuring time of arrival of an asynchronous event |
| CN102914375A (en) * | 2011-08-01 | 2013-02-06 | 徕卡显微系统复合显微镜有限公司 | Device and method for counting photons |
| CN103197145A (en) * | 2013-03-02 | 2013-07-10 | 西安电子科技大学 | Method and system of ultrahigh resolution phase difference measurement |
| CN104333365A (en) * | 2014-10-11 | 2015-02-04 | 东南大学 | Three-segment time digital converter (TDC) circuit |
| US10976709B1 (en) * | 2020-03-30 | 2021-04-13 | Stmicroelectronics (Research & Development) Limited | Latched gray code for ToF applications |
| CN112886952A (en) * | 2021-01-13 | 2021-06-01 | 中国科学院微电子研究所 | A dynamic delay compensation circuit for high-speed clock circuit |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100608070B1 (en) * | 2005-05-27 | 2006-08-02 | 삼성전자주식회사 | Position detection method and apparatus of mobile device |
| EP2375294A1 (en) * | 2010-04-07 | 2011-10-12 | Imec | Improvements in or relating to time stamp generation |
| CN202121568U (en) * | 2011-07-11 | 2012-01-18 | 山东欧龙电子科技有限公司 | Time-digital converter |
| US9213316B2 (en) * | 2014-02-06 | 2015-12-15 | Texas Instruments Incorporated | Circuit for detecting and correcting timing errors |
| WO2017108193A1 (en) * | 2015-12-23 | 2017-06-29 | MAX-PLANCK-Gesellschaft zur Förderung der Wissenschaften e.V. | Efficient and dependable clock synchronization in hardware |
| US10009036B2 (en) * | 2016-09-09 | 2018-06-26 | Samsung Electronics Co., Ltd | System and method of calibrating input signal to successive approximation register (SAR) analog-to-digital converter (ADC) in ADC-assisted time-to-digital converter (TDC) |
| US9804573B1 (en) * | 2016-12-29 | 2017-10-31 | Silicon Laboratories Inc. | Use of redundancy in sub-ranging time-to-digital converters to eliminate offset mismatch issues |
| CN110703583A (en) * | 2019-11-08 | 2020-01-17 | 中国科学院光电技术研究所 | Multi-channel high-precision wide-range time-to-digital converter based on SOC (system on chip) |
-
2021
- 2021-06-08 CN CN202110635568.0A patent/CN113376999B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0171579A1 (en) * | 1984-07-13 | 1986-02-19 | Max Stegmann Gmbh Uhren- und Elektroapparatefabrik | Arrangement for the serial transmission of measured values of at least one transducer |
| JP2001111426A (en) * | 1999-10-08 | 2001-04-20 | Sony Corp | Parallel a/d converter, signal processing circuit using the a/d converter and recording/reproducing device loaded with the a/d converter |
| EP1428079A1 (en) * | 2001-09-12 | 2004-06-16 | Lockheed Martin Corporation | Circuit for measuring time of arrival of an asynchronous event |
| DE60231313D1 (en) * | 2001-09-12 | 2009-04-09 | Lockheed Corp | CIRCUIT FOR MEASURING THE ARRIVAL TIME OF AN ASYNCHRONOUS SIGNAL |
| CN102914375A (en) * | 2011-08-01 | 2013-02-06 | 徕卡显微系统复合显微镜有限公司 | Device and method for counting photons |
| CN103197145A (en) * | 2013-03-02 | 2013-07-10 | 西安电子科技大学 | Method and system of ultrahigh resolution phase difference measurement |
| CN104333365A (en) * | 2014-10-11 | 2015-02-04 | 东南大学 | Three-segment time digital converter (TDC) circuit |
| US10976709B1 (en) * | 2020-03-30 | 2021-04-13 | Stmicroelectronics (Research & Development) Limited | Latched gray code for ToF applications |
| CN112886952A (en) * | 2021-01-13 | 2021-06-01 | 中国科学院微电子研究所 | A dynamic delay compensation circuit for high-speed clock circuit |
Non-Patent Citations (1)
| Title |
|---|
| PLC中将格雷码转换成二进制码一种运算方法;马彦霞、陈玉国等;《微计算机信息》;20060215;第22卷(第10-1期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113376999A (en) | 2021-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7688242B2 (en) | Analog-to-digital (AD) converter and analog-to-digital conversion method | |
| US9746832B1 (en) | System and method for time-to-digital converter fine-conversion using analog-to-digital converter (ADC) | |
| US8325076B2 (en) | Time-to-digital converter | |
| KR101503732B1 (en) | Time to digital converter | |
| CN110376872B (en) | Time-to-digital converter based on asynchronous reset and applied to TADC | |
| US10270460B1 (en) | Coarse-fine quantization architecture for multiphase VCO-based ADCs | |
| US10886930B1 (en) | Voltage controlled oscillator based analog-to-digital converter including a maximum length sequence generator | |
| US8941524B2 (en) | TD converter and AD converter with no operational amplifier and no switched capacitor | |
| US4520347A (en) | Code conversion circuit | |
| CN112838851A (en) | A residual time sampling circuit and time-to-digital converter based on differential sampling | |
| CN111628775A (en) | Comparator maladjustment calibration device and calibration method based on majority voting | |
| US20230106659A1 (en) | Counter design for a time-to-digital converter (tdc) | |
| CN113376999B (en) | A Special Adder for High Temporal Resolution Time-to-Digital Converters | |
| CN114815570A (en) | Time-to-digital converter based on differential delay loop | |
| US5828717A (en) | Time counting circuit and counter circuit | |
| CN116054865B (en) | A transmission line structured time-to-digital converter with sub-100 fs resolution | |
| CN113835332B (en) | High-resolution two-stage time-to-digital converter and conversion method | |
| CN118157681B (en) | Column-level low-error single-slope analog-to-digital conversion circuit, analog-to-digital converter and electronic equipment | |
| JPH08330946A (en) | Time counting circuit and counter circuit | |
| CN112332834B (en) | Correction method and device for avoiding metastable state of time-to-digital converter of laser radar | |
| CN118677446B (en) | Method for determining convergence position of time-to-digital converter and all-digital phase-locked loop | |
| CN112532238B (en) | Apparatus and method for generating time resolution for electronic devices | |
| CN115016243B (en) | A Linearity Enhancement Method of Random Time-to-Digital Converter | |
| US20220038106A1 (en) | Digital loop filter in all-digital phase-locked loop | |
| Hu et al. | A 8bit, 2.5 ps Resoultion Time-to-Digital Converter in 130nm SiGe Technology |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |