CN104333365A - Three-segment time digital converter (TDC) circuit - Google Patents
Three-segment time digital converter (TDC) circuit Download PDFInfo
- Publication number
- CN104333365A CN104333365A CN201410536431.XA CN201410536431A CN104333365A CN 104333365 A CN104333365 A CN 104333365A CN 201410536431 A CN201410536431 A CN 201410536431A CN 104333365 A CN104333365 A CN 104333365A
- Authority
- CN
- China
- Prior art keywords
- signal
- time
- clk
- segment
- circuit
- 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.)
- Granted
Links
Landscapes
- Analogue/Digital Conversion (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种三段式时间数字转换电路,可用于高速高精度时间测量系统中。The invention relates to a three-stage time-to-digital conversion circuit, which can be used in a high-speed and high-precision time measurement system.
背景技术Background technique
时间数字转换器(Time Digital Converter,TDC)是一种时间测量的常用电路,它是将时间间隔直接转化为高精度的数字值,并实现数字输出。目前已被广泛应用于电子领域,如用于全数字锁相环ADPLL中,提高其测试器件和信号的时间特性。近几年,最受关注的TDC是使用高速CMOS数字电路的结构,主要原因是被测试信号能实现较高的时间精度。对TDC精确度进行研究,将有利于TDC的应用和质量保证。Time Digital Converter (Time Digital Converter, TDC) is a commonly used circuit for time measurement. It directly converts time intervals into high-precision digital values and realizes digital output. At present, it has been widely used in the electronic field, such as in the all-digital phase-locked loop ADPLL, to improve the time characteristics of its test devices and signals. In recent years, the most concerned TDC is the structure using high-speed CMOS digital circuits, the main reason is that the signal to be tested can achieve high time accuracy. Research on the accuracy of TDC will benefit the application and quality assurance of TDC.
随着高精度时间量化技术的纵向化发展,在模拟IC领域中出现了一批以时间数字转换器为核心的高性能模拟器件,譬如高速低功耗模拟数字转换器以及全数字锁相环等,克服了一系列因工艺尺寸限制而无法解决的模拟电路的设计难题,为模拟IC的设计开辟了全新的设计途径。因此,时间数字转换器将成为联系模拟连续时间信号量与数字离散信号量的一个桥梁,成为数模混合集成电路设计的一个全新领域。With the vertical development of high-precision time quantization technology, a number of high-performance analog devices with time-to-digital converters as the core have emerged in the field of analog ICs, such as high-speed and low-power analog-to-digital converters and all-digital phase-locked loops. , Overcome a series of design problems of analog circuits that cannot be solved due to the limitation of process size, and open up a new design approach for the design of analog ICs. Therefore, the time-to-digital converter will become a bridge connecting the analog continuous-time semaphore and the digital discrete semaphore, and become a new field of digital-analog hybrid integrated circuit design.
发明内容Contents of the invention
发明目的:针对上述现有技术,提出一种三段式时间数字转换电路,相比传统的三段式TDC结构,在实现宽范围、高精度测量的同时,简化了电路结构、减小了系统的面积和功耗。Purpose of the invention: Aiming at the above-mentioned prior art, a three-stage time-to-digital conversion circuit is proposed. Compared with the traditional three-stage TDC structure, it simplifies the circuit structure and reduces the system cost while realizing wide-range and high-precision measurement. area and power consumption.
发明内容:一种三段式时间数字转换电路,包括高段位线性反馈移位寄存器、初相调整电路、延迟匹配电路、中段位时间数字转换电路、相邻信号提取单元、低段位时间数字转换电路、两位二进制同步计数器、译码单元、直接译码锁存电路以及串行数据输出电路;其中:Summary of the invention: A three-stage time-to-digital conversion circuit, including a high-stage linear feedback shift register, an initial phase adjustment circuit, a delay matching circuit, a middle-stage time-to-digital conversion circuit, an adjacent signal extraction unit, and a low-stage time-to-digital conversion circuit , a two-bit binary synchronous counter, a decoding unit, a direct decoding latch circuit and a serial data output circuit; where:
高频时钟CLK_H和时间量化的起始信号EN输入初相调整电路,当所述起始信号EN为高电平时,所述初相调整电路在高频时钟CLK_H的下一个上升沿处产生EN0信号并发送至高段位线性反馈移位寄存器;The high-frequency clock CLK_H and the time-quantized start signal EN are input to the initial phase adjustment circuit. When the start signal EN is at a high level, the initial phase adjustment circuit generates the EN0 signal at the next rising edge of the high-frequency clock CLK_H And sent to the high segment linear feedback shift register;
结束时刻Stop信号输入所述高段位线性反馈移位寄存器,所述高段位线性反馈移位寄存器用于对所述EN0信号和高频时钟CLK_H在Stop信号上升沿之后紧邻的上升沿的时间间隔进行量化,得到高段位量化值k·Tclk,其中Tclk为高频时钟CLK_H的周期,k为高段位线性反馈移位寄存器的计数值;所述高段位线性反馈移位寄存器将高段位量化值输入到串行数据输出电路;At the end moment, the Stop signal is input into the high-segment linear feedback shift register, and the high-segment linear feedback shift register is used to perform the time interval between the EN0 signal and the rising edge of the high-frequency clock CLK_H immediately after the rising edge of the Stop signal. Quantize to obtain the high-segment quantization value k T clk , where T clk is the cycle of the high-frequency clock CLK_H, and k is the count value of the high-segment linear feedback shift register; the high-segment linear feedback shift register converts the high-segment quantization value input to the serial data output circuit;
所述延迟匹配电路用于根据所述Stop信号对所述高频时钟CLK_H进行延迟处理,使高频时钟CLK_H在Stop信号上升沿之后紧邻的上升沿滞后Stop信号tDFF+AND时间,得到延迟后的CLK_M信号,其中tDFF+AND为所述初相调整电路生成的所述EN0信号落后高频时钟CLK_H信号的固有延时;The delay matching circuit is used to delay the high-frequency clock CLK_H according to the Stop signal, so that the high-frequency clock CLK_H lags behind the Stop signal by tDFF+AND time on the rising edge immediately after the rising edge of the Stop signal, and obtains the delayed CLK_M signal, wherein tDFF +AND is the inherent delay of the high-frequency clock CLK_H signal behind the EN0 signal generated by the initial phase adjustment circuit;
将所述CLK_M信号分别输入到中段位时间数字转换电路和低段位时间数字转换电路;所述中段位时间数字转换电路为环形TDC,包括由四级延迟单元构成的第一压控环振单元,所述第一压控环振单元根据外部压控信号产生上升沿与所述Stop信号对齐且周期为tM=tclk/4的周期信号,并输入到相邻信号提取单元;所述相邻信号提取单元扫描所述CLK_M信号上升沿在周期为tM=tclk/4的周期信号中所在的区间,从而产生锁存信号LOCK;The CLK_M signal is respectively input to the middle bit time digital conversion circuit and the low bit time digital conversion circuit; the middle bit time digital conversion circuit is a ring TDC, including a first voltage-controlled ring vibration unit composed of a four-stage delay unit, The first voltage-controlled ring vibration unit generates a periodic signal whose rising edge is aligned with the Stop signal and whose period is t M =t clk /4 according to the external voltage-controlled signal, and inputs it to the adjacent signal extraction unit; the adjacent The signal extraction unit scans the interval where the rising edge of the CLK_M signal is located in the periodic signal whose period is t M =t clk /4, thereby generating a latch signal LOCK;
所述两位二进制同步计数器用于对所述Stop信号与锁存信号LOCK上升沿之间的时间间隔进行量化测量,得到中段位量化值TCounter=n·tM,其中n为两位二进制同步计数器的计数值;所述二进制同步计数器将中段位量化值输入直接译码锁存电路;The two-bit binary synchronous counter is used to quantify and measure the time interval between the Stop signal and the rising edge of the latch signal LOCK to obtain the mid-level quantized value T Counter =n·t M , wherein n is a two-bit binary synchronous The count value of the counter; the binary synchronous counter inputs the quantized value of the mid-stage bit into the direct decoding latch circuit;
所述低段位时间数字转换电路为环形TDC,包括由四级延迟单元构成的第二压控环振单元,外部压控信号控制所述第二压控环振单元的环振周期为tL,所述CLK_M信号上升沿作为低段位量化门控信号,所述第二压控环振单元构成的八个相位节点状态经所述译码单元进行译码后,在当锁存信号LOCK上升沿到来时,所述直接译码锁存电路用于锁存此时所述译码单元输出的译码值m,得到低段位量化值(m/8)·tL;The low-level time-to-digital conversion circuit is a ring TDC, including a second voltage-controlled ring vibration unit composed of a four-stage delay unit, and an external voltage control signal controls the ring vibration period of the second voltage-controlled ring vibration unit to be t L , The rising edge of the CLK_M signal is used as a low-level quantization gating signal. After the eight phase node states formed by the second voltage-controlled ring oscillation unit are decoded by the decoding unit, when the rising edge of the latch signal LOCK arrives , the direct decoding latch circuit is used to latch the decoding value m output by the decoding unit at this time to obtain a low-level quantization value (m/8)·t L ;
所述直接译码锁存电路包括D触发器和二选一开关,用于将中段位量化值和低段位量化值锁存于D触发器中,并直接译码成对应的十进制数值后,由二选一开关控制将数据锁存到串行数据输出电路中;The direct decoding latch circuit includes a D flip-flop and an alternative switch, which is used to latch the mid-level quantized value and the low-level quantized value in the D flip-flop, and after directly decoding into a corresponding decimal value, the One-of-two switch controls to latch the data into the serial data output circuit;
所述串行数据输出电路用于对输入的高段位量化值、中段位量化值以及低段位量化值依次串行输出,得到初相调整后的起始信号EN0和结束时刻Stop信号的时间间隔的全局表达式为T=k·Tclk-n·tM+(m/8)·tL。The serial data output circuit is used to sequentially serially output the input high-level quantization value, middle-level quantization value and low-level quantization value to obtain the time interval between the initial phase-adjusted start signal EN0 and the stop signal at the end moment The global expression is T=k·T clk −n·t M +(m/8)·t L .
进一步的,所述中段位时间数字转换电路的第一压控环振单元和低段位时间数字转换电路的第二压控环振单元复用由电流饥饿型压控反相器的延迟单元构成的延迟链。Further, the first voltage-controlled ring oscillation unit of the middle bit-time digital conversion circuit and the second voltage-controlled ring oscillation unit of the low-level bit time digital conversion circuit multiplex the delay unit composed of a current-starved voltage-controlled inverter. delay chain.
进一步的,所述译码单元为采用格雷码译码方式的异或门电路。Further, the decoding unit is an exclusive OR gate circuit adopting a Gray code decoding method.
有益效果:本发明的三段式时间数字转换电路,分为高段、中段和低段三部分计数,其中高段位TDC采用线性反馈移位寄存器(LFSR),采用计数式量化实现宽范围的时间测量;中段TDC采用环振结构,该环振电路由四级压控延迟单元组成,以结束信号Stop作为门控信号,产生的频率给二进制同步计数器提供计数时钟信号;低段位TDC采用和中段位相同的环振结构,以经延迟整形的高频时钟信号CLK_M作为门控信号,环振内部相位结点状态经译码后作为低段位数据输出。Beneficial effects: the three-segment time-to-digital conversion circuit of the present invention is divided into high-segment, middle-segment and low-segment counting, wherein the high-segment TDC adopts a linear feedback shift register (LFSR), and adopts counting quantization to realize a wide range of time Measurement; the middle section TDC adopts the ring vibration structure, the ring oscillation circuit is composed of four-stage voltage-controlled delay unit, the end signal Stop is used as the gating signal, and the generated frequency provides the counting clock signal for the binary synchronous counter; the low section TDC adopts and the middle section In the same ring oscillator structure, the delayed and shaped high-frequency clock signal CLK_M is used as the gating signal, and the state of the internal phase node of the ring oscillator is decoded and output as low-level data.
中、低段位均采用环形TDC,其闭环延迟线均采用电流饥饿型压控反相器的延迟单元,均由外部设定的、具有固定电压值的压控信号控制,使两个压控环振单元输出的频率有较高的稳定性。同时,中段位时间数字转换电路的第一压控环振单元和低段位时间数字转换电路的第二压控环振单元复用由电流饥饿型压控反相器的延迟单元构成的延迟链,两个TDC采用不同的门控信号控制,实现中、低段量化功能的同时,减小电路的面积和功耗。Both the middle and low segments adopt ring TDC, and its closed-loop delay line adopts the delay unit of current-hungry voltage-controlled inverter, which is controlled by an externally set voltage-controlled signal with a fixed voltage value, so that the two voltage-controlled loops The output frequency of the vibration unit has high stability. At the same time, the first voltage-controlled ring oscillation unit of the middle bit-time digital conversion circuit and the second voltage-controlled ring oscillator unit of the low-level bit time digital conversion circuit multiplex the delay chain formed by the delay unit of the current-hungry voltage-controlled inverter, The two TDCs are controlled by different gating signals to realize the quantization function of the middle and low stages, and reduce the area and power consumption of the circuit at the same time.
由于初相调整电路中EN0信号落后高频时钟CLK_H在Stop信号上升沿之后紧邻的上升沿tDFF+AND时间,该tDFF+AND时间是初相调整电路中的D触发器和与门的固有延时之和。中段位TDC前采用延迟匹配电路,该延迟匹配电路由D触发器、与门和反相器构成,根据Stop信号对高频时钟CLK_H进行延迟处理,使高频时钟CLK_H在Stop信号上升沿之后紧邻的上升沿滞后Stop信号tDFF+AND时间,得到延迟后的CLK_M信号,从而使得总体测量时间间隔不变,实现了高段位与中段位的延迟匹配。Since the EN0 signal in the initial phase adjustment circuit lags behind the high-frequency clock CLK_H at the rising edge t DFF+AND time immediately after the rising edge of the Stop signal, the t DFF+AND time is inherent in the D flip-flop and the AND gate in the initial phase adjustment circuit sum of delays. A delay matching circuit is used before the mid-level TDC. The delay matching circuit is composed of a D flip-flop, an AND gate and an inverter. The high-frequency clock CLK_H is delayed according to the Stop signal, so that the high-frequency clock CLK_H is immediately adjacent to the rising edge of the Stop signal. The rising edge of the stop signal lags behind the Stop signal by t DFF+AND time, and the delayed CLK_M signal is obtained, so that the overall measurement time interval remains unchanged, and the delay matching between the high segment and the middle segment is realized.
连接低段位TDC的译码单元为采用格雷码译码方式的异或门电路,采用格雷码译码方式,大大减少了逻辑混淆,降低了最低权重位的输出频率,使误码率大大降低。采用相同的译码电路结构对低段位TDC中压控环振单元的八个相位节点状态进行译码,实现了延迟匹配和结构对称。The decoding unit connected to the low-level TDC is an exclusive OR gate circuit using Gray code decoding, which greatly reduces logic confusion, reduces the output frequency of the lowest weight bit, and greatly reduces the bit error rate. The same decoding circuit structure is used to decode the eight phase node states of the voltage-controlled ring oscillator unit in the low-level TDC, and the delay matching and structural symmetry are realized.
三段式时间数字转换电路可以工作在计数和数据传输两种模式,这两种模式分别用高频计数时钟和低频传输时钟控制,计数数据以二进制数据形式依次串行输出。The three-stage time-to-digital conversion circuit can work in two modes of counting and data transmission. These two modes are controlled by high-frequency counting clock and low-frequency transmission clock respectively, and the counting data is serially output in the form of binary data.
相对于传统的两段式时间数字转换器,本发明中的三段式时间数字转换电路能够很好地兼顾测量精度与动态范围的性能要求,实现更精准的时间测量。段间相邻信号提取技术将相邻段的时间间隔采用不同的测量方法进行分段测量,从而在各段TDC中可以复用延迟链,缩减面积,简化电路结构。Compared with the traditional two-stage time-to-digital converter, the three-stage time-to-digital conversion circuit in the present invention can well balance the performance requirements of measurement accuracy and dynamic range, and realize more accurate time measurement. Inter-segment adjacent signal extraction technology uses different measurement methods to measure the time interval of adjacent segments, so that the delay chain can be reused in each segment of TDC, reducing the area and simplifying the circuit structure.
附图说明Description of drawings
图1为三段式时间数字转换电路的结构示意图;Fig. 1 is the structural representation of three-stage time-to-digital conversion circuit;
图2为三段式时间数字转换电路的中低段TDC时间测量原理时序图;Fig. 2 is a sequence diagram of the middle and low stage TDC time measurement principle of the three-stage time-to-digital conversion circuit;
图3为三段式时间数字转换电路的中低段TDC电路结构图;Fig. 3 is a structure diagram of a middle and low stage TDC circuit of a three-stage time-to-digital conversion circuit;
图4为三段式时间数字转换电路的高段位计数/传输双模式的LFSR结构;Fig. 4 is the LFSR structure of the high-segment bit counting/transmission dual mode of the three-segment time-to-digital conversion circuit;
图5为三段式时间数字转换电路的中低段TDC5位数据锁存及传输结构图;Fig. 5 is a structure diagram of the middle and low section TDC 5-bit data latch and transmission of the three-section time-to-digital conversion circuit;
图6为三段式时间数字转换电路的中低段TDC的压控延迟单元结构图;Fig. 6 is a structural diagram of the voltage-controlled delay unit of the middle and low stage TDC of the three-stage time-to-digital conversion circuit;
图7为三段式时间数字转换电路的时序图。FIG. 7 is a timing diagram of a three-stage time-to-digital conversion circuit.
具体实施方式Detailed ways
结合附图对本发明作更进一步的说明。The present invention will be further described in conjunction with the accompanying drawings.
如图1所示,一种三段式时间数字转换电路,包括高段位线性反馈移位寄存器、初相调整电路、延迟匹配电路、中段位时间数字转换电路、相邻信号提取单元、低段位时间数字转换电路、两位二进制同步计数器、译码单元、直接译码锁存电路以及串行数据输出电路。As shown in Figure 1, a three-segment time-to-digital conversion circuit includes a high-segment linear feedback shift register, an initial phase adjustment circuit, a delay matching circuit, a middle-segment time-to-digital conversion circuit, an adjacent signal extraction unit, and a low-segment time A digital conversion circuit, a two-bit binary synchronous counter, a decoding unit, a direct decoding latch circuit and a serial data output circuit.
其中,高频时钟CLK_H和时间量化的起始信号EN输入初相调整电路,当起始信号EN为高电平时,初相调整电路在高频时钟CLK_H的下一个上升沿处产生EN0信号并发送至高段位线性反馈移位寄存器。Among them, the high-frequency clock CLK_H and the time-quantized start signal EN are input to the initial phase adjustment circuit. When the initial signal EN is at a high level, the initial phase adjustment circuit generates the EN0 signal at the next rising edge of the high-frequency clock CLK_H and sends it to Highest segment linear feedback shift register.
结束时刻Stop信号输入高段位线性反馈移位寄存器,高段位线性反馈移位寄存器对EN0信号和高频时钟CLK_H在Stop信号上升沿之后紧邻的上升沿的时间间隔进行量化,得到高段位量化值k·Tclk,其中Tclk为高频时钟CLK_H的周期,k为高段位线性反馈移位寄存器的计数值。高段位线性反馈移位寄存器将高段位量化值输入到串行数据输出电路。At the end moment, the Stop signal is input to the high-level linear feedback shift register, and the high-level linear feedback shift register quantizes the time interval between the EN0 signal and the high-frequency clock CLK_H rising edge immediately after the rising edge of the Stop signal to obtain the high-level quantization value k · T clk , where T clk is the period of the high-frequency clock CLK_H, and k is the count value of the high-level linear feedback shift register. The high-segment linear feedback shift register inputs the high-segment quantization value to the serial data output circuit.
由于EN0信号落后高频时钟CLK_H信号固定延迟tDFF+AND,导致EN0信号和Stop信号的时间间隔相对减小。延迟匹配电路根据Stop信号对高频时钟CLK_H进行延迟处理,使高频时钟CLK_H在Stop信号上升沿之后紧邻的上升沿滞后Stop信号tDFF+AND时间,得到延迟后的CLK_M信号,其中tDFF+AND为初相调整电路生成的所述EN0信号落后CLK_H信号的固有延时。如图2所示为三段式TDC的中低段TDC时间测量原理时序图,CLK_M是经过延迟匹配的、位于结束时刻Stop信号上升沿之后的高频时钟信号。在没有任何延迟情况下,CLK_M应与Stop信号的上升沿对齐,由于存在延迟tDFF+AND,CLK_M信号上升沿到来的时间往后顺延,CLK_M应与Stop信号之间的最大延迟不超过一个高频时钟周期Tclk。加入延迟匹配电路使CLK_M信号同样落后Stop信号tDFF+AND的固定延迟,从而实现延迟匹配,使总体测量时间间隔保持不变。Since the EN0 signal lags behind the high-frequency clock CLK_H signal with a fixed delay of t DFF+AND , the time interval between the EN0 signal and the Stop signal is relatively reduced. The delay matching circuit delays the high-frequency clock CLK_H according to the Stop signal, so that the high-frequency clock CLK_H lags behind the Stop signal t DFF+AND time on the rising edge immediately after the rising edge of the Stop signal, and obtains the delayed CLK_M signal, where t DFF+ AND is the inherent delay of the EN0 signal generated by the initial phase adjustment circuit lagging behind the CLK_H signal. As shown in Figure 2, the timing diagram of the middle and low stage TDC time measurement principle of the three-stage TDC, CLK_M is a high-frequency clock signal after the delay matching and after the rising edge of the Stop signal at the end time. In the absence of any delay, CLK_M should be aligned with the rising edge of the Stop signal. Due to the delay t DFF+AND , the arrival time of the rising edge of the CLK_M signal is delayed, and the maximum delay between CLK_M and the Stop signal should not exceed one high frequency clock cycle T clk . A delay matching circuit is added to make the CLK_M signal also lag behind the Stop signal by a fixed delay of t DFF+AND , so as to realize delay matching and keep the overall measurement time interval unchanged.
将CLK_M信号分别输入到中段位时间数字转换电路和低段位时间数字转换电路,中段位时间数字转换电路为环形TDC,包括由四级延迟单元构成的第一压控环振单元。第一压控环振单元根据外部压控信号产生上升沿与Stop信号对齐且周期为tM=tclk/4的周期信号S0~S3,并输入到相邻信号提取单元。相邻信号提取单元扫描CLK_M信号上升沿在周期为tM=tclk/4的周期信号中所在的区间,从而产生锁存信号LOCK。由于扫描信号周期为tM=tclk/4,而Stop信号和CLK_M信号上升沿的时间间隔小于Tclk,则CLK_M信号上升沿一定处于S0~S3信号区间范围内。若CLK_M信号上升沿处于S0~S3信号区间范围内两个相邻信号上升沿之间,则由后一个信号的上升沿触发锁存信号LOCK。Stop信号上升沿到锁存信号LOCK上升沿的时间间隔即为中段位TDC量化值TCounter,且TCounter必然不超过4tM,因此中段位产生的计数信号Count的值必然不大于4,则可以用两位二进制同步计数器完成计数。通过该同步计数器对Stop信号与锁存信号LOCK上升沿之间的时间间隔进行量化测量,得到中段位量化值TCounter=n·tM,其中n为两位二进制同步计数器的计数值。然后,二进制同步计数器将中段位量化值输入直接译码锁存电路。The CLK_M signal is respectively input to the middle bit time digital conversion circuit and the low bit time digital conversion circuit. The middle bit time digital conversion circuit is a ring TDC, including a first voltage-controlled ring oscillator unit composed of four-stage delay units. The first voltage-controlled ring vibration unit generates periodic signals S0-S3 whose rising edges are aligned with the Stop signal and whose period is t M =t clk /4 according to the external voltage-controlled signal, and input to the adjacent signal extraction unit. The adjacent signal extracting unit scans the interval where the rising edge of the CLK_M signal is located in the periodic signal whose period is t M =t clk /4, so as to generate the latch signal LOCK. Since the period of the scanning signal is t M =t clk /4, and the time interval between the rising edge of the Stop signal and the CLK_M signal is less than T clk , the rising edge of the CLK_M signal must be within the signal range of S0-S3. If the rising edge of the CLK_M signal is between the rising edges of two adjacent signals within the S0-S3 signal range, the latch signal LOCK is triggered by the rising edge of the latter signal. The time interval from the rising edge of the Stop signal to the rising edge of the latch signal LOCK is the mid-level TDC quantization value T Counter , and T Counter must not exceed 4t M , so the value of the count signal Count generated by the mid-level must not be greater than 4, then it can be Counting is accomplished with a two-bit binary synchronous counter. Quantify and measure the time interval between the Stop signal and the rising edge of the latch signal LOCK through the synchronous counter, and obtain the quantized value of the mid-level bit T Counter = n·t M , where n is the count value of the two-bit binary synchronous counter. Then, the binary synchronous counter inputs the quantized value of the middle bit into the direct decoding latch circuit.
CLK_M上升沿到LOCK上升沿的时间间隔即为低段位环振TDC测量时间余量tR。低段位时间数字转换电路为环形TDC,包括由四级延迟单元构成的第二压控环振单元,外部压控信号控制第二压控环振单元的环振周期为tL,CLK_M信号上升沿作为低段位量化触发信号,第二压控环振单元构成的八个相位节点状态经译码单元进行译码后,在当锁存信号LOCK上升沿到来时,直接译码锁存电路锁存此时译码单元输出的十进制译码值m,得到低段位量化值tR=(m/8)·tL。则中低段时间测量的表达式为:The time interval from the rising edge of CLK_M to the rising edge of LOCK is the time margin t R for low-level ring oscillation TDC measurement. The low-level bit time digital conversion circuit is a ring TDC, including a second voltage-controlled ring vibration unit composed of four-stage delay units. The external voltage control signal controls the ring vibration period of the second voltage-controlled ring vibration unit to be t L , and the rising edge of the CLK_M signal As a low-level quantization trigger signal, after the eight phase node states formed by the second voltage-controlled ring oscillator unit are decoded by the decoding unit, when the rising edge of the latch signal LOCK arrives, the direct decoding latch circuit latches these The decimal decoding value m output by the time decoding unit is used to obtain the low-rank quantization value t R =(m/8)·t L . Then the expression of middle and low time measurement is:
TM=TCounter-tR=n·tM-tR=n·tM-(m/8)·tL (1)T M =T Counter -t R =n t M -t R =n t M -(m/8) t L (1)
直接译码锁存电路包括D触发器和二选一开关,用于将中段位量化值和低段位量化值锁存于D触发器中,并直接译码成对应的十进制数值后,由二选一开关控制将数据锁存到串行数据输出电路中。The direct decoding latch circuit includes a D flip-flop and a two-choice switch, which is used to latch the mid-level quantization value and the low-level quantization value in the D flip-flop, and directly decode it into the corresponding decimal value. A switch controls latching data into the serial data output circuit.
串行数据输出电路用于对输入的高段位量化值、中段位量化值以及低段位量化值依次串行输出,得到初相调整后的起始信号EN0和结束时刻Stop信号的时间间隔的全局表达式为:The serial data output circuit is used to serially output the input high-level quantization value, middle-level quantization value and low-level quantization value in sequence to obtain the global expression of the time interval between the initial phase adjusted start signal EN0 and the stop signal at the end time The formula is:
T=k·TclkTM=k·Tclkn·tM+(m/8·)tL (2)T=k·T clk T M =k·T clk n·t M +(m/8·)t L (2)
在上述三段式时间数字转换电路中,中段位时间数字转换电路的第一压控环振单和低段位时间数字转换电路的第二压控环振单复用由电流饥饿型压控反相器的延迟单元构成的延迟链。In the above-mentioned three-stage time-to-digital conversion circuit, the first voltage-controlled ring oscillator of the middle-stage time-to-digital conversion circuit and the second voltage-controlled ring oscillator of the low-stage time-to-digital conversion circuit are multiplexed by a current-hungry voltage-controlled inversion The delay chain formed by the delay unit of the device.
如图3所示为中低段TDC电路结构图,左边的由D触发器、与门和反相器构成的逻辑电路是延迟匹配电路。以Stop为门控信号的中段位环振电路产生周期为tM=tclk/4的周期信号,即图2中的S0、S1、S2、S3信号,用于扫描CLK_M信号上升沿所在的区间。若CLK_M上升沿处于两个相邻信号上升沿之间,则由后一个信号的上升沿触发D触发器产生锁存信号LOCK,同时记录下Stop信号与LOCK信号之间的环振周期信号的个数,触发Count计数信号。以CLK_M为门控信号的低段位环振电路产生的八个相位节点状态信息经过LOCK信号采样,经过由异或门构成的译码电路产生低段位三位数据Q0、Q1、Q2。该环振电路中的二选一开关和反相器的延迟与三个延迟单元的延时匹配,避免了因路径存在延时失配导致的边沿误码问题。译码电路采用格雷码译码方式,将这八个相位节点状态译码成三位数据输出,使得低段位TDC最低权重位数据的频率有较大下降,避免了普通二进制译码电路因最低位频率过高导致的D触发器误码。低段位环振TDC相位状态的格雷码译码表如表1所示,Q0、Q1、Q2的译码输出位的表达式分别为:As shown in Figure 3, it is a structure diagram of the low-end TDC circuit. The logic circuit on the left is composed of D flip-flops, AND gates and inverters, which is a delay matching circuit. The mid-level ring oscillator circuit with Stop as the gating signal generates a periodic signal with a period of t M =t clk /4, that is, the S0, S1, S2, and S3 signals in Figure 2, which are used to scan the interval where the rising edge of the CLK_M signal is located . If the rising edge of CLK_M is between the rising edges of two adjacent signals, the D flip-flop is triggered by the rising edge of the latter signal to generate the latch signal LOCK, and at the same time record the ring oscillation period signal between the Stop signal and the LOCK signal. Count, trigger the Count counting signal. The state information of eight phase nodes generated by the low-level ring oscillator circuit with CLK_M as the gate signal is sampled by the LOCK signal, and the low-level three-bit data Q0, Q1, and Q2 are generated through the decoding circuit composed of exclusive OR gates. The delays of the one-of-two switches and the inverters in the ring oscillator circuit match the delays of the three delay units, thereby avoiding edge error problems caused by delay mismatches in the paths. The decoding circuit adopts the Gray code decoding method to decode the eight phase node states into three-bit data output, so that the frequency of the lowest weight bit data of the low-level TDC is greatly reduced, and the ordinary binary decoding circuit is avoided. D flip-flop bit error caused by too high frequency. The Gray code decoding table of the low-level ring oscillator TDC phase state is shown in Table 1. The expressions of the decoding output bits of Q0, Q1, and Q2 are respectively:
表1Table 1
高段位TDC采用计数/传输双模式的7bit LFSR结构,电路如图4所示。EN0为初相调整后的控制信号,当EN,EN0同为高电平时,二选一开关选通1端口,由CLK_H时钟信号控制计数并锁存。当EN,EN0同为低电平时,进入由低频传输时钟CLK_L信号控制的串行输出阶段,高段位TDC的7位数据Q5-Q11依次从Q11端口串行输出。中低段TDC的低5位数据通过二选一开关从电路左边流向右边,紧随高段位数据串行输出。在本实施例中,输入到7bit LFSR结构的CLK_H时钟信号先进行预处理,将高频信号H_CK和信号SH通过与门输入到7bit LFSR结构的时钟信号的输入端,其中高频信号H_CK为周期Tclk的时钟信号,如图3所示信号SH为通过CLK_M信号生成的反相信号,该结构起关断CLK_H信号的作用。由于需要测量Stop信号上升沿与紧邻下一个CLK_H上升沿时间间隔,所以取时间间隔后必须关断高频计数时钟,避免高段位TDC计数错误,其时序图如图7所示。The high-level TDC adopts a 7-bit LFSR structure with counting/transmitting dual modes, and the circuit is shown in Figure 4. EN0 is the control signal after the initial phase adjustment. When EN and EN0 are both at high level, the two-selection switch selects port 1, and the CLK_H clock signal controls the counting and latches. When EN and EN0 are both at low level, it enters the serial output stage controlled by the low-frequency transmission clock CLK_L signal, and the 7-bit data Q5-Q11 of the high-level TDC is sequentially output serially from the Q11 port. The low 5-bit data of the middle and low segment TDC flows from the left to the right of the circuit through the one-two switch, followed by the serial output of the high segment data. In this embodiment, the CLK_H clock signal input to the 7bit LFSR structure is preprocessed first, and the high frequency signal H_CK and the signal SH are input to the input end of the clock signal of the 7bit LFSR structure through the AND gate, wherein the high frequency signal H_CK is the period The clock signal of T clk , as shown in Figure 3, the signal SH is an inverted signal generated by the CLK_M signal, and this structure functions to turn off the CLK_H signal. Since it is necessary to measure the time interval between the rising edge of the Stop signal and the next rising edge of CLK_H, the high-frequency counting clock must be turned off after taking the time interval to avoid counting errors in the high-segment TDC. The timing diagram is shown in Figure 7.
如图5所示为中低段TDC的低5位数据锁存电路,该电路由两位二进制同步计数器、五个二选一开关和低段位数据锁存D触发器组成。前两个二选一开关通过选定中段位Count计数信号和低频传输信号CLK_L来分别控制中段位计数及传输,后三个二选一开关和D触发器锁存并传输低段位数据。当EN为高电平时,二选一开关选通1端口,允许锁存信号LOCK对低段位三位数据进行直接锁存,同时中段位计数信号Count触发两位二进制同步计数器开始计数,产生中段位数据Q3、Q4。当EN为低电平时,锁存和计数均停止,开启串行传输模式。最终中低段位的5位数据从最右边依次串行输出至高段位TDC传输电路,构成12位串行输出二进制码。As shown in Figure 5, the lower 5-bit data latch circuit of the middle and low segment TDC is composed of a two-bit binary synchronous counter, five two-to-one switches and a low segment data latch D flip-flop. The first two select one switches control the counting and transmission of the middle rank respectively by selecting the count count signal of the middle rank and the low-frequency transmission signal CLK_L, and the last three select one of two switches and the D flip-flop latch and transmit the low rank data. When EN is at high level, the one-of-two switch strobes port 1, allowing the latch signal LOCK to directly latch the three-bit data of the lower segment, and at the same time, the counting signal Count of the middle segment triggers the two-bit binary synchronous counter to start counting to generate the middle segment Data Q3, Q4. When EN is low level, latching and counting are stopped, and the serial transmission mode is started. Finally, the 5-bit data of the middle and low ranks are serially output from the far right to the high-rank TDC transmission circuit to form a 12-bit serial output binary code.
中、低段位TDC采用压控反向延迟单元,如图6所示,它将一对压控电流源串联在反相器之间,通过互补电压的控制,可以有效控制由输入到输出的传播延迟。随着控制电压OE增加,被控MOS管导通电阻减小,反相器的放电电流增加,延迟时间减小。同时,当延迟单元输入为高电平时,数字管在控制管的源端构成负反馈,降低了电流对控制电压的敏感度,增强了延迟单元传输时间的稳定性。The middle and low segment TDC adopts a voltage-controlled reverse delay unit, as shown in Figure 6, it connects a pair of voltage-controlled current sources in series between the inverters, and through the control of complementary voltages, it can effectively control the propagation from input to output Delay. As the control voltage OE increases, the on-resistance of the controlled MOS transistor decreases, the discharge current of the inverter increases, and the delay time decreases. At the same time, when the input of the delay unit is at a high level, the digital tube forms a negative feedback at the source of the control tube, which reduces the sensitivity of the current to the control voltage and enhances the stability of the transmission time of the delay unit.
本发明的三段式时间数字转换电路,实现了高检测精度及宽范围的时间测量,其占据较小的面积,消耗较低的功耗,可应用于高速高精度的时间测量系统。The three-stage time-to-digital conversion circuit of the present invention realizes high detection accuracy and wide-range time measurement, occupies a small area, consumes low power consumption, and can be applied to a high-speed and high-precision time measurement system.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410536431.XA CN104333365B (en) | 2014-10-11 | 2014-10-11 | A kind of three-stage time-to-digital conversion circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410536431.XA CN104333365B (en) | 2014-10-11 | 2014-10-11 | A kind of three-stage time-to-digital conversion circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104333365A true CN104333365A (en) | 2015-02-04 |
CN104333365B CN104333365B (en) | 2017-06-09 |
Family
ID=52408031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410536431.XA Active CN104333365B (en) | 2014-10-11 | 2014-10-11 | A kind of three-stage time-to-digital conversion circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104333365B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105353600A (en) * | 2015-10-14 | 2016-02-24 | 东南大学 | High-accuracy low-power three-segment type TDC circuit used for array system |
CN105871371A (en) * | 2016-03-25 | 2016-08-17 | 东南大学 | Three-segment time-to-digital conversion circuit based on phase-locked loop |
CN108761431A (en) * | 2018-04-20 | 2018-11-06 | 广州民航职业技术学院 | A kind of digital delay system and its implementation for sonar system test |
CN109814367A (en) * | 2018-12-29 | 2019-05-28 | 西安电子科技大学 | A Time-to-Digital Converter with Gated Enable Function |
CN112838851A (en) * | 2021-02-25 | 2021-05-25 | 中国科学技术大学 | A residual time sampling circuit and time-to-digital converter based on differential sampling |
CN113206668A (en) * | 2021-05-11 | 2021-08-03 | 中国科学技术大学 | Two-stage interpolation time digital converter circuit |
CN113271097A (en) * | 2015-11-09 | 2021-08-17 | 爱思开海力士有限公司 | Latch circuit, double data rate ring counter and related device |
CN113376999A (en) * | 2021-06-08 | 2021-09-10 | 西安电子科技大学 | Special adder for high time resolution time-to-digital converter |
CN114050827A (en) * | 2021-11-17 | 2022-02-15 | 东南大学 | Digital calibration method applied to capacitance three-section successive approximation type analog-to-digital converter |
CN114114211A (en) * | 2021-12-03 | 2022-03-01 | 武汉市聚芯微电子有限责任公司 | TDC unit, TDC array and ranging system |
CN114280912A (en) * | 2020-09-28 | 2022-04-05 | 宁波飞芯电子科技有限公司 | Method for measuring flight time and time-to-digital converter |
CN114614817A (en) * | 2020-12-09 | 2022-06-10 | 上海禾赛科技有限公司 | Circuit for time-to-digital converter, lidar, and method of measuring time |
CN114815570A (en) * | 2022-05-05 | 2022-07-29 | 陕西科技大学 | Time-to-digital converter based on differential delay loop |
CN114935886A (en) * | 2022-04-21 | 2022-08-23 | 中国科学院上海微系统与信息技术研究所 | Two-section type superconducting time-to-digital converter and superconducting detector imaging system |
CN114995092A (en) * | 2022-06-15 | 2022-09-02 | 西安电子科技大学芜湖研究院 | Time-to-digital conversion circuit |
CN116153362A (en) * | 2023-04-20 | 2023-05-23 | 浙江力积存储科技有限公司 | Delay feedback method and delay feedback storage structure for read latency counter |
CN119166847A (en) * | 2024-11-20 | 2024-12-20 | 杭州登虹科技有限公司 | Face searching method based on multi-mode technology |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080315928A1 (en) * | 2007-06-22 | 2008-12-25 | Khurram Waheed | Digital phase locked loop with dithering |
CN101373973A (en) * | 2007-08-24 | 2009-02-25 | 锐迪科微电子(上海)有限公司 | Time-to-digital conversion circuit and method |
CN102651685A (en) * | 2011-02-24 | 2012-08-29 | 爱立信(中国)通信有限公司 | Signal delay device and method |
CN103208994A (en) * | 2013-03-11 | 2013-07-17 | 东南大学 | Two-stage time digital convert (TDC) circuit |
US20140077841A1 (en) * | 2012-09-14 | 2014-03-20 | Wenyan Jia | Phase frequency detector |
-
2014
- 2014-10-11 CN CN201410536431.XA patent/CN104333365B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080315928A1 (en) * | 2007-06-22 | 2008-12-25 | Khurram Waheed | Digital phase locked loop with dithering |
CN101373973A (en) * | 2007-08-24 | 2009-02-25 | 锐迪科微电子(上海)有限公司 | Time-to-digital conversion circuit and method |
CN102651685A (en) * | 2011-02-24 | 2012-08-29 | 爱立信(中国)通信有限公司 | Signal delay device and method |
US20140077841A1 (en) * | 2012-09-14 | 2014-03-20 | Wenyan Jia | Phase frequency detector |
CN103208994A (en) * | 2013-03-11 | 2013-07-17 | 东南大学 | Two-stage time digital convert (TDC) circuit |
Non-Patent Citations (1)
Title |
---|
李根: "基于延迟锁定环的TDC的设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105353600A (en) * | 2015-10-14 | 2016-02-24 | 东南大学 | High-accuracy low-power three-segment type TDC circuit used for array system |
CN113271097A (en) * | 2015-11-09 | 2021-08-17 | 爱思开海力士有限公司 | Latch circuit, double data rate ring counter and related device |
CN113271097B (en) * | 2015-11-09 | 2024-06-07 | 爱思开海力士有限公司 | Latch circuit, double data rate ring counter and related devices |
CN105871371A (en) * | 2016-03-25 | 2016-08-17 | 东南大学 | Three-segment time-to-digital conversion circuit based on phase-locked loop |
CN105871371B (en) * | 2016-03-25 | 2018-08-10 | 东南大学 | A kind of three-stage time-to-digital conversion circuit based on phaselocked loop |
CN108761431A (en) * | 2018-04-20 | 2018-11-06 | 广州民航职业技术学院 | A kind of digital delay system and its implementation for sonar system test |
CN109814367A (en) * | 2018-12-29 | 2019-05-28 | 西安电子科技大学 | A Time-to-Digital Converter with Gated Enable Function |
CN114280912A (en) * | 2020-09-28 | 2022-04-05 | 宁波飞芯电子科技有限公司 | Method for measuring flight time and time-to-digital converter |
CN114614817A (en) * | 2020-12-09 | 2022-06-10 | 上海禾赛科技有限公司 | Circuit for time-to-digital converter, lidar, and method of measuring time |
CN112838851A (en) * | 2021-02-25 | 2021-05-25 | 中国科学技术大学 | A residual time sampling circuit and time-to-digital converter based on differential sampling |
CN112838851B (en) * | 2021-02-25 | 2025-07-04 | 中国科学技术大学 | A residual time sampling circuit and time-to-digital converter based on differential sampling |
CN113206668A (en) * | 2021-05-11 | 2021-08-03 | 中国科学技术大学 | Two-stage interpolation time digital converter circuit |
CN113206668B (en) * | 2021-05-11 | 2022-10-28 | 中国科学技术大学 | Two-stage interpolation time digital converter circuit |
CN113376999A (en) * | 2021-06-08 | 2021-09-10 | 西安电子科技大学 | Special adder for high time resolution time-to-digital converter |
CN113376999B (en) * | 2021-06-08 | 2023-01-06 | 西安电子科技大学 | A Special Adder for High Temporal Resolution Time-to-Digital Converters |
CN114050827A (en) * | 2021-11-17 | 2022-02-15 | 东南大学 | Digital calibration method applied to capacitance three-section successive approximation type analog-to-digital converter |
CN114050827B (en) * | 2021-11-17 | 2024-03-19 | 东南大学 | Digital calibration method applied to capacitor three-section successive approximation analog-to-digital converter |
CN114114211A (en) * | 2021-12-03 | 2022-03-01 | 武汉市聚芯微电子有限责任公司 | TDC unit, TDC array and ranging system |
CN114114211B (en) * | 2021-12-03 | 2022-09-06 | 武汉市聚芯微电子有限责任公司 | TDC unit, TDC array and ranging system |
CN114935886A (en) * | 2022-04-21 | 2022-08-23 | 中国科学院上海微系统与信息技术研究所 | Two-section type superconducting time-to-digital converter and superconducting detector imaging system |
CN114815570B (en) * | 2022-05-05 | 2024-02-13 | 陕西科技大学 | Time-to-digital converter based on differential delay loop |
CN114815570A (en) * | 2022-05-05 | 2022-07-29 | 陕西科技大学 | Time-to-digital converter based on differential delay loop |
CN114995092B (en) * | 2022-06-15 | 2024-02-23 | 西安电子科技大学芜湖研究院 | Time-to-digital conversion circuit |
CN114995092A (en) * | 2022-06-15 | 2022-09-02 | 西安电子科技大学芜湖研究院 | Time-to-digital conversion circuit |
CN116153362B (en) * | 2023-04-20 | 2023-08-25 | 浙江力积存储科技有限公司 | Delay feedback method and delay feedback storage structure for read latency counter |
CN116153362A (en) * | 2023-04-20 | 2023-05-23 | 浙江力积存储科技有限公司 | Delay feedback method and delay feedback storage structure for read latency counter |
CN119166847A (en) * | 2024-11-20 | 2024-12-20 | 杭州登虹科技有限公司 | Face searching method based on multi-mode technology |
Also Published As
Publication number | Publication date |
---|---|
CN104333365B (en) | 2017-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104333365B (en) | A kind of three-stage time-to-digital conversion circuit | |
CN110045591B (en) | Using a time-to-digital converter with cyclic delay | |
TWI357723B (en) | Time to digital converter apparatus | |
CN107643674B (en) | Vernier type TDC circuit based on FPGA carry chain | |
CN106527098B (en) | Low power consumption high-precision array type time-to-digital conversion circuit based on multiple VCO | |
CN104320130A (en) | Dual-loop DLL-based three-segment type high-precision time-to-digital conversion method and circuit | |
US9007133B2 (en) | Oscillator, time-digital converter circuit and relating method of time-digital measure | |
CN112838851B (en) | A residual time sampling circuit and time-to-digital converter based on differential sampling | |
US8736327B2 (en) | Time-to-digital converter | |
CN103208994A (en) | Two-stage time digital convert (TDC) circuit | |
WO2017197581A1 (en) | Time-to-digital converter and digital phase-locked loop | |
US20150263850A1 (en) | Clock-generating device and clock data recovery device | |
CN105675981A (en) | FPGA-based frequency meter and frequency measuring method | |
JP2004357030A (en) | A/d converting method and device | |
CN105353600B (en) | A kind of high-precision low-power consumption three-stage TDC circuits for being applied to array system | |
KR20190074169A (en) | Two-step time-to-digital converter using nand-gate ring oscillator time-amplifier | |
CN109274376B (en) | Vernier ring-shaped time-to-digital converter capable of compressing maximum conversion time | |
Priyanka et al. | Design and implementation of time to digital converters | |
WO2019210642A1 (en) | Novel time-to-digital converter | |
Kim et al. | A two-step time-to-digital converter using ring oscillator time amplifier | |
CN113098482A (en) | Delay difference measuring method of vernier type annular time-to-digital converter | |
US10771075B2 (en) | Analog-to-digital and digital-to-analog converter, related integrated circuit, electronic system and method | |
CN214480526U (en) | A residual time sampling circuit and time-to-digital converter based on differential sampling | |
CN106354001A (en) | Time-to-digital conversion circuit | |
CN115933352B (en) | Low-power-consumption time-to-digital converter circuit based on delay multiple sampling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |