This invention relates to Vernier time to digital convertors, and in particular, to an automatic delay adjustment for a fixed ratio delay between slow buffers and fast buffers.
In electronic instrumentation and signal processing, a time to digital converter (TDC) is a device that recognizes events and provides a digital representation of the time when an event occurred. A TDC can output a time of arrival for an incoming pulse. Some applications of TDC may measure the time interval between two events rather than some specific event in absolute time. Two delay lines are usually used to measure the fine interval between the rising edges of the start and stop signals. The simplest arrangement is a tapped delay line with one D flip-flop (DFF) connected to each tap. In this case, the resolution is the propagation delay of a single delay buffer. Higher resolution can be obtained by utilizing a Vernier delay line (VDL) using two delay buffer chains. Timing resolution is determined by the difference between two propagation delay values.
Typically, Vernier time to digital conversion circuits utilize an additional delay line disposed along the propagation path of the reference clock for sampling the input signal. The delay line for the reference clock reacts faster than the delay line for the input signal. Thus, in a Vernier time to digital converter, the input signal travels through a slower delay path and is sampled by a reference clock signal that travels through a faster delay path. By shifting the rising edge of the reference clock signal due to the faster delay path, improved phase quantization can be obtained compared to traditional time to digital converters. The phase quantization is proportional to the difference in the delays between the two delay lines. Maintaining a consistent designed difference in the delays of the two delays lines is critical to proper and accurate operation.
Although more accurate for TDC, drawbacks with the use of TDC based on Vernier delay technique include complexity of the circuitry and the effect of variations in process voltage and temperature (PVT). Therefore, it is desirable to provide new methods and apparatuses for a Vernier delay line TDC that can automatically adjust delay to achieve a fixed ratio delay time between slow buffers and fast buffers of a system independent of PVT and has less complexity than previous Vernier time to digital convertors.
Process voltage and temperature (PVT) variation during manufacturing of an integrated circuit typically requires calibration of fast buffers and slow buffers for consistent and accurate propagation delay performance. Methods and apparatuses for a Vernier ring time to digital converter (VRTDC) with self-delay calibration for a fixed ratio delay time between slow buffer and fast buffer are disclosed. The novel self-delay calibration Vernier delay TDC apparatus comprises a voltage controlled slow buffer chain having an input coupled to a reference clock and an output coupled to a first input of a bang-bang phase detector (“BBPD”) configured to provide a slow buffer delay signal. A fast buffer chain having an input is coupled to the reference clock and an output is coupled to a second input of the BBPD configured to provide a fast buffer delay signal. The BBPD is configured to provide a polarity signal based upon a phase difference between the slow buffer delay signal and the fast buffer delay signal. An accumulator has a first input coupled to a reference value, a second input coupled to the BBPD configured to receive the polarity signal, an output coupled to the voltage controlled slow buffer chain, and a clock input coupled to the reference clock wherein the accumulator responsive to the polarity signal from the BBPD is configured to provide a delay control signal to the voltage controlled slow buffer chain to change propagation delay of the slow buffer delay signal.
In accordance to another embodiment of the present invention, a locking detector has a clock input coupled to the reference clock and an input coupled to an output of the BBPD configured to receive the polarity signal and provide a calibration done signal based upon a plurality of consecutive positive and negative polarity signals.
In accordance to another embodiment of the present invention, the calibration done signal indicates a fixed ratio delay between the slow buffer chain and the fast buffer chain is achieved.
The foregoing and other objects, aspects, and advantages of the invention will be better understood from the following detailed description of the preferred embodiment of the invention when taken in conjunction with the accompanying drawings in which:
The present invention provides an automated delay adjustment for Vernier ring time to digital converter (VRTDC) that overcome short comings of previous time to digital converters based on a Vernier ring. The present VRTDC provides a single clock input and an all digital circuit that calculates a fixed delay relationship between a set of slow buffers and fast buffers. By using a single clock input and digital circuitry without analog conversions, much complexity and cost associated with VRTDC are substantially reduced compared with previous implementations.
Variations in process voltage temperature (PVT) during fabrication are taken into account by adjusting delay of either the slow or fast buffers in order to calibrate the slow buffers 102 to have a fixed delay relationship with the fast buffers 104. The automated delay adjustment for the VRTDC provides two sets of buffers: a chain of slow buffers and a chain of fast buffers. Although other ratio combinations of slow buffers to fast buffers may be used, in accordance to an embodiment of the present invention, the slow buffer to fast buffer ratio is two. In other words, there are four slow buffers and eight fast buffers.
As the reference clock 105 is applied to the slow buffers 102 and the fast buffers 104, the output rising clock edge of the chain of slow buffers 102 applied to the data input 107 of the bang-bang PD 106, and the output of the fast buffers 104 applied to trigger input 109 will have a different fixed delay relationship due to PVT variation during manufacture. The output 111 of the bang-bang PD 106 provides a polarity signal that will be logic low, “0” or negative polarity signal if the delay of the slow buffers 102 is slower than the fast buffers 104. In other words, the bang-bang PD provides a polarity signal based upon a phase difference between the slow buffer delay signal and the fast buffer delay signal. The logic low from output 111 is received at the first input 113 of the up-down accumulator 110. As the reference clock signal is propagated through the automated delay adjustment for VRTDC, a series of polarity signals of logic lows “0s” are received and causes the output delay control word D_CTRW to increase. In accordance to an embodiment of the present invention, the output delay control word D_CTRW is an eight bit digitalized value. For example, a series of “0s” cause the D_CTRW 117 to change from “8′b10000000” to “8′b10000001”\“8′b10000001” to “8′b10000010”\. The D_CTRW 117 received at the slow buffers 102 causes the propagation delay of the slow buffers 102 to speed up or time delay reduced. On the other hand, whenever the D_CTRW 117 decreases in value, the propagation delay of the slow buffers 102 is decreased.
For example, if the propagation delay for the slow buffers 102 are too fast compared to the fast buffers 104, the output 111 of the bang-bang PFD 106 will be a logic high, “1” or positive polarity signal. At the up-down accumulator 110, the logic high, “1” signal at the first input 113 and a “−1” value at the second input 115 causes the D_CTRW 117 to be reduced by minus one, which is applied to the slow buffer 102. The reduced value of D_CTRW 117 causes propagation delay of the slow buffers 102 to increase. As the ratio delay between the slow buffers 102 and fast buffers 104 becomes more constant, a series of repeating logic high, “1” and logic low, “0” signals will be received at the up-down accumulator 110 and the D_CTRW 117 applied to the slow buffer 102 will alternate between two values indicating a fixed ratio delay between the slow buffers 102 and fast buffers 104 has been achieved. Based on the plurality of repeating logic high and logic low signals, the locking detector 108 provides the calibration done signal 119 to indicate that the VRTDC is calibrated and adjusted for a fixed ratio delay between the slow buffers 102 and fast buffers 104.
While the present invention has been described with reference to certain preferred embodiments or methods, it is to be understood that the present invention is not limited to such specific embodiments or methods. Rather, it is the inventor's contention that the invention be understood and construed in its broadest meaning as reflected by the following claims. Thus, these claims are to be understood as incorporating not only the preferred methods described herein but all those other and further alterations and modifications as would be apparent to those of ordinary skilled in the art.
Number | Name | Date | Kind |
---|---|---|---|
20140320324 | Canard et al. | Oct 2014 | A1 |