1. Field of the Invention
The present invention relates generally to electrical circuits, and more particularly but not exclusively to time-to-digital converters.
2. Description of the Background Art
Time-to-digital converters are widely used to measure the timing difference between two signals. As an example, a time-to-digital converter may receive a first signal, thereafter receive a second signal, and then output a digital signal indicative of the timing difference between the first and second signals. Characteristics of a time-to-digital converter include detection range, timing resolution, and non-linearity. Detection range is the largest timing difference that the time-to-digital converter can measure. A circular time-to-digital converter takes advantage of its re-circular nature to reduce the number of delay cells employed while increasing detection range. However, the minimum timing difference, i.e. timing resolution, which can be detected by the circular time-to-digital converter is still subject to the delay of each of its delay cells. Embodiments of the present invention pertain to a circular time-to-digital converter with improved timing resolution.
In one embodiment, a time-to-digital converter includes a circular delay chain, a phase interpolator, and a time-to-digital (TDC) core. The circular delay chain receives a first input clock and generates a first set of multi-phase clocks by propagating the first input clock through delay cells in the delay chain. The phase interpolator performs phase interpolation with a second input clock and another clock to generate a second set of multi-phase clocks. The other clock may be a delayed version of the second input clock. The TDC core uses the first and second set of multi-phase clocks to determine the time difference between the first and second input clocks.
These and other features of the present invention will be readily apparent to persons of ordinary skill in the art upon reading the entirety of this disclosure, which includes the accompanying drawings and claims.
The use of the same reference label in different drawings indicates the same or like components.
In the present disclosure, numerous specific details are provided, such as examples of electrical circuits, components, and methods, to provide a thorough understanding of embodiments of the invention. Persons of ordinary skill in the art will recognize, however, that the invention can be practiced without one or more of the specific details. In other instances, well-known details are not shown or described to avoid obscuring aspects of the invention.
In one embodiment, the circular delay chain 110 is configured to receive the first input clock and the last phase of a second plurality of multi-phase clock from the phase interpolator 130, and generate a first plurality of multi-phase clock by propagating the first input clock through a chain of delay cells and re-circulating the last clock phase from the chain of delay cells back to the input of the first delay cell. In the example of
In one embodiment, the phase interpolator 130 is configured to receive the second input clock and generate the second plurality of multi-phase clocks by passing the second input clock through a delay cell that is same as used in the circular delay chain 110 to generate a delayed clock and thereafter performing phase interpolation with the second input clock and the delayed clock. In the example of
In one embodiment, the TDC core 120 is configured to receive the first plurality of multi-phase clocks from the circular delay chain 110 and the second plurality of multi-phase clocks from the phase interpolator 130, and generate the digital output SOUT that represents the timing difference between the rising edges of the first input clock and the second input clock.
The circular delay chain 110 has two states that are decided by a signal SEL, which is connected from the output of the edge-triggered latching device 202 to the select input of the multiplexer 201. The signal SEL controls the opening and closing of the recirculation loop around the circular delay chain 110. The recirculation loop goes through the delay cells 205-1 to 205-8, from the delay cell 205-8 to the multiplexer 201 (see line 204), and back to the delay cell 205-1. The multiplexer 201 opens the recirculation loop when the signal SEL is a binary zero. When the signal SEL is a binary one, the multiplexer 201 closes the recirculation loop, thereby allowing the clock C(8) to re-circulate back to the input of the first delay cell 205-1.
The value of the signal SEL is decided by the intermediate clock SP and the last phase clock P(4) of the edge-triggered latching device 202. The intermediate clock SP is generated by the mono-stable multi-vibrator 203. The mono-stable multi-vibrator 203 ensures that every rising edge of the Start signal triggers a pulse at SP with a fixed pulse width regardless of the pulse width of the Start signal.
The edge-triggered latching device 202 that has two input pins R and S, and an output pin Q, where R is a rising edge-triggered pin and S is a falling edge-triggered pin. If a rising edge shows at input pin R, the output pin Q is set to binary zero regardless of the value of the signal at the input pin S. If a falling edge shows at the input pin S when the value of the signal at the input pin R is a binary zero, the output pin Q is set to a binary one. Otherwise, the value of the signal at the output pin Q is set to a binary zero.
Initially, the recirculation loop is open because of a rising edge of the clock P(4) in the previous cycle. When the Start signal is applied to the mono-stable multi-vibrator 203, a rising edge of the intermediate clock SP propagates through the delay chain with the loop open. The mono-stable multi-vibrator 203 may be configured such that the intermediate clock SP has a pulse width equal to approximately half of the total delay time of the delay chain comprising the delay cells 205. If the clock P(4) has not changed to a binary one, at approximately half of the total delay time of the delay chain, the clock SP changes to a binary zero, thereby setting the output pin Q to a binary one to close the recirculation loop. After the clock P(4) changes to a binary one, the recirculation loop is broken and the signal propagating through the delay chain is not re-circulated back to the input of the first delay cell 205-1.
Each pass through the delay chain (i.e., one signal propagation through the delay cells 205-1 to 205-8) represents one unit of timing value. For example, assuming the delay chain has a total delay of 1 ns, one pass of a signal through the delay cells 205-1 to 205-8 represents a measurement of 1 ns. A timing difference greater than 3 ns between the first and second input clocks will thus require at least three passes through the delay chain in that example. As will be more apparent below, the number of passes through the delay chain is communicated by the clock C(9) to the TDC core 120. In the TDC core 120, a counter is incremented by the clock C(9) to keep track of the number of passes through the delay chain.
In the example of
The 8-phase clocks C(1) to C(8) generated by the circular delay chain 110 have a resolution of Δ, whereas the 4-phase clocks P(1) to P(4) generated by the phase interpolator 130 have a resolution of Δ/4 (see also
By taking one snapshot, one instance of the Start signal in the delay chain is captured and its resolution is equal to a the delay time Δ of a delay cell. However, the transient waveform propagating between the input and output nodes of each single delay cell is unknown. The transient waveform can be captured after more successive snapshots are taken. In the example of
When a rising edge of the 4-phase clocks from the phase interpolator 130 occurs, a vector of flip-flops 605 are used to take a snapshot of the signal in the delay chain. A total of four snapshots are taken and therefore an array of flip-flops 605 with four vectors is employed. The rising edge detection logic 620 may determine the position of the rising edge using the following algorithm:
The incremental counter 601 increases its count Out0 by one whenever a rising edge of the Start signal propagates through the delay chain once. The propagation of the Start signal through the delay chain is represented by the clock C(9), which is received by the latch 602. Upon the arrival of the clock P(4), which is the last phase clock of the second plurality of multi-phase clocks, the recirculation loop is open and multiple snapshots of the first plurality of multi-phase clocks in the delay chain are taken. A digital value Out0 is generated and represents how many rounds a rising edge of the Start signal propagates through the delay chain. The digital value Out0 may or may not include the last round. If the narrow pulse detection logic 621 determines that the pulse leaving the next to last delay cell (i.e., delay cell 205-8) and re-circulating back to the first delay cell in the delay chain (i.e., delay cell 205-1) is too narrow, the digital value Out0 does not include the last round. Otherwise, the digital value Out0 includes the last round.
The incremental counter 601 counts the circulating rounds of a rising edge of the Start signal, i.e., first input clock. The clock pin of the incremental counter 601 is driven by the clock C(9) through a transparent latch 602. The transparent latch 602 is transparent when the value at its clock pin is a binary one and is opaque when the value at its clock pin is a binary zero. The clock input pin of the transparent latch 602 is driven by the output signal Enable from the narrow pulse detection logic 621. A narrow pulse may exist because of a sudden broken recirculation loop whenever a rising edge of the clock P(4) shows. If a narrow pulse is detected, the transparent latch 602 is disabled and the last round of the rising edge propagating through the delay chain is not counted by the incremental counter 601. In the example of
As can be appreciated, many different sets of signals can also be chosen to detect a narrow pulse. The choices of signal sets depend on the conditions that allow the narrow pulse to be filtered out of the delay chain.
Another algorithm that may be used by the narrow pulse detection logic 621 to detect a narrow pulse is as follows:
If the narrow pulse detection logic 621 asserts its output signal Enable, the final count Out0 of the incremental counter 601 is subtracted by one using the multiplexer 604. This is illustrated in
In the example of
The TDC 100 may be employed in a variety of time measurement applications. For example, the TDC 100 may be employed in a phase lock loop, where the first input clock may be from a feedback loop and the second input clock may be an incoming clock. The TDC 100 may be employed to determine the time difference between the feedback clock and the incoming clock, and minimize the timing difference to lock the feedback clock with the incoming clock.
There may exist some constant delays from the Start signal to the intermediate clock SP, and from the Stop signal to the last phase clock P(4). In most cases, a constant delay offset does not need to be corrected whenever the TDC 100 is placed in a closed loop system. The closed loop system can automatically compensate for constant delays. If the constant delay offset has to be corrected, it can be calibrated by driving a clock waveform to both the first and the second input clocks, which are the Start and Stop signals in this example. This calibration technique is now described with reference to
A high-resolution circular interpolation time-to-digital converter has been disclosed. While specific embodiments of the present invention have been provided, it is to be understood that these embodiments are for illustration purposes and not limiting. Many additional embodiments will be apparent to persons of ordinary skill in the art reading this disclosure.
This application claims the benefit of U.S. Provisional Application No. 61/056,829, entitled “Circular Interpolation Time-to-Digital Converter,” filed on May 29, 2008 by Hong-Yean Hsieh, which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61056829 | May 2008 | US |