Time-to-digital converter with phase-scaled course-fine resolution
10007235 ยท 2018-06-26
Assignee
Inventors
- Tuoxin Wang (Kanata, CA)
- John William Mitchell ROGERS (Nepean, CA)
- Krste Mitric (Ottawa, CA)
- Guohui Situ (Kanata, CA)
Cpc classification
H03M1/125
ELECTRICITY
International classification
Abstract
A time-to-digital converter (TDC) measures a time interval T.sub.Tot between a leading signal and a triggering signal. A phase regulator incorporates a looped delay line to create pre-defined sub-intervals T.sub.NOR determined by the length of the delay line. The phase regulator has an input receiving the leading signal such that the leading signal loops around the delay line. A counter for counting the number of times m the leading signal loops around the delay line before said triggering signal arrives to obtain a coarse measurement of the time interval defined in terms of the sub-intervals T.sub.NOR. A Vernier core for measures a residual time interval T.sub.R where T.sub.R=T.sub.TotmT.sub.NOR to obtain a value for the time interval T.sub.Tot. The TDC uses simpler encoding logic with reduced power consumption and phase noise performance better than 5 dB.
Claims
1. A time-to-digital converter for determining a time interval T.sub.Tot between a leading signal and a triggering signal, comprising: a phase regulator incorporating a looped delay line to create pre-defined sub-intervals T.sub.NOR determined by the length of said delay line, said phase regulator having an input receiving said leading signal whereby said leading signal loops around said delay line; a counter arranged to count the number of times m said leading signal loops around said delay line before reception of said triggering signal to obtain a coarse measurement of said time interval defined in terms of said sub-intervals T.sub.NOR; and a Vernier core determining a residual time interval T.sub.R where T.sub.R=.sub.AT.sub.TotmT.sub.NOR to obtain a value for the time interval T.sub.Tot, said Vernier core comprising: first and second of chains of delay elements, wherein each of the delay elements of said first chain introduces a first delay, and each of the delay elements of said second chain introduces a second delay different from said first delay, said first and second chains having respective inputs receiving said leading signal and said triggering signal whereby said leading signal and triggering signal propagate along said respective first and second chains with different delays, and a first arbiter for detecting coincidence between the respective signals in said first and second chains of delay elements to determine said residual time interval T.sub.R.
2. A time-to-digital converter as claimed in claim 1, further comprising an evaluator responsive to outputs from said phase regulator, said counter, and said Vernier core to output said value for the time interval T.sub.Tot.
3. A time-to-digital converter as claimed in claim 1, wherein a portion of said first chain of delay elements forms part of said phase regulator.
4. A time-to digital converter as claimed in claim 1, wherein said first and second chains of delay elements each comprise a NAND gate followed by a series of inverters, and said first arbiter comprises a series of flip-flops arranged between outputs of pairs of delay elements from each said chain.
5. A time-to digital converter as claimed in claim 1, wherein said phase regulator comprises a second arbiter coupled to a sub-set of said delay elements in said first chain, said sub-set of delay elements being looped in a ring structure.
6. A time-to digital converter as claimed in claim 5, wherein said first chain includes as a delay element a first NAND gate at the input to said sub-set of delay elements receiving at its inputs said leading signal and an output of said subset of delay elements, and a second NAND gate immediately downstream of said subset of delay elements receiving at its inputs the output of said sub-set of delay elements and the triggering signal.
7. A time-to digital converter as claimed in claim 5, wherein said triggering signal is a reference-retimed-by DCO (RRD) signal provided by a pre-logic module.
8. A time-to digital converter as claimed in claim 5, wherein said counter provides a coarse resolution output, said phase regulator provides a moderate resolution output, and said Vernier core provides a fine resolution output.
9. A time-to digital converter as claimed in claim 8, further comprising an evaluator responsive to outputs from said counter, said phase regulator, and said Vernier core to output the value for said time interval at a selected resolution.
10. A time-to digital converter as claimed in claim 1, wherein said phase regulator comprises an additional chain of delay elements receiving the leading signal, an output of said additional chain of delay elements being looped to an input thereof, said counter being arranged to count the number of passes of said additional chain of delay elements, and a second arbiter responsive to a triggering signal to provide a measurement of said time interval at moderate resolution, and said first chain having an input NAND gate with a first input receiving an output of said additional chain and a second input receiving said leading signal.
11. A time-to-digital converter as claimed in claim 10, wherein said second chain has an input NAND gate with a first input receiving said triggering signal and a second input receiving an enable signal.
12. A method of obtaining a digital representation of a time interval T.sub.Tot between a leading signal and a triggering signal in a time-to-digital converter comprising a phase regulator incorporating a looped delay line, and a counter; said method comprising: creating pre-defined sub-intervals T.sub.NOR with said looped delay line; looping said leading signal through said looped delay line until reception of said triggering signal; counting in said counter the number of times m said leading signal loops around said delay line before reception of said triggering signal to obtain a coarse measurement of said time interval defined in terms of said sub-intervals T.sub.NOR; and determining, in a Vernier core comprising first and second of chains of delay elements, wherein each of the delay elements of said first chain introduces a first delay, and each of the delay elements of said second chain introduces a second delay different from said first delay, residual time interval T.sub.R where T.sub.R=T.sub.TotmT.sub.NOR, by applying said leading signal and said triggering signal to said first and second chains of delay elements, whereby said leading signal and triggering signal propagate along said respective first and second chains with different delays, and detecting in a first arbiter coincidence between the respective signals in said first and second chains of delay elements to determine said residual time interval T.sub.R and thereby a value for the time interval T.sub.Tot.
13. A method as claimed in claim 12, further comprising evaluating the outputs from said looped delay line, said counter, and said Vernier core to output said value for the time interval T.sub.Tot.
14. A method as claimed in claim 12, further comprising looping said leading signal through a portion of said first chain of delay elements forming said looped delay line.
15. A method as claimed in claim 14, further comprising asserting an enable signal at an input of said second chain of delay elements upon reception of said triggering signal.
16. A method as claimed in claim 12, further comprising obtaining a coarse measurement of said time interval from the number of times said leading signal loops around a sub-set of said delay elements in said first chain, a moderate resolution measurement from a second arbiter coupled to said sub-set of delay elements, and a fine resolution measurement from said first arbiter.
17. A method as claimed in claim 16, further comprising applying said leading signal to a first input of a first NAND gate at the input to said sub-set of delay elements and an output of said sub-set to a second input of said first NAND gate, and applying the output of said sub-set of delay elements and said triggering signal to respective inputs of a second NAND gate immediately downstream of said subset of delay elements.
18. A method as claimed in claim 17, wherein said triggering signal is a reference-retimed-by DCO (RRD) signal.
19. A method as claimed in claim 12, further comprising applying the leading signal to an additional chain of delay elements, and the triggering signal to a n additional arbiter, looping an output of additional chain of delay elements to an input thereof, counting the number of passes of said additional chain of delay elements before the detection of said triggering signal, applying said triggering signal to said additional arbiter to obtain a measurement of said time interval at moderate resolution, and comprising applying an output of said additional chain to a first input of a NAND gate at the input of said first chain and said leading signal to a second input of said input NAND gate.
20. A method as claimed in claim 19, further comprising applying said triggering signal to an enable input of a NAND gate at the input of said second chain and an enable signal to a second input of said NAND gate at the input of said second chain.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) This invention will now be described in more detail, by way of example only, with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
(14)
(15)
(16) The leading signal is applied to one input of NAND gate 32. The triggering signal is applied to one input of NAND gate 34 and to an input of normal phase counter 48.
(17) The output of the NAND gate 32 is coupled to a chain 35 of inverter delay elements 36.sub.1, 36.sub.2 . . . 36.sub.N, each introducing a delay .sub.2. The output of NAND gate 34 is applied to a chain 37 of inverter delay elements 38.sub.1, 38.sub.2 . . . 38.sub.N, each introducing a delay .sub.1. It should be noted that the NAND gates 32, 34 also act as delay elements, introducing respective delays .sub.2 and .sub.1, typically 10 ps40 ps.
(18) An arbiter 40 comprising respective D flip-flops 42 is arranged between the chains 35 and 37. The chains 37 and D flip-flops 42 form an N-stage fine resolution Vernier TDC core 54.
(19) The Q outputs of the D flip-flops 42 are coupled to register bank and encoder 46, which provides the output representing the time difference between the leading and triggering signals as a thermometer code. It will be noted that the second input to the NAND gate 32 is taken from a point part-way down the chain 35, in this example, after the second inverter delay element 362. The second input to the NAND gate 34 is decoupled from the output of the chain 37, and acts as a fine-resolution enable input as will be described in more detail below.
(20) In this exemplary embodiment the first three delay elements, NAND gate 32 and inverters 36.sub.1 and 36.sub.2 form a looped delay line in the form of a ring structure with a 3.sub.2 delay. The objective is to determine the delay between the leading signal and the triggering signal, given that the delay is likely to be less than the clock period of the master clock (REF). As shown in
(21) In
(22) The remaining task is to find the value of the residual interval T.sub.R. This is achieved by the N-stage Vernier core 54. As the normal-phase counter 48 increments the enable signal input is asserted on the fine gear enable input of the NAND gate 34. The triggering signal propagates along the chain 37 consisting of delay elements 34, 38.sub.1 . . . 38.sub.N, each with a delay .sub.1. As the leading signal re-enters the chain 37 after each pass through the three delay elements 32, 36.sub.1 and 36.sub.2, corresponding together to the sub-interval T.sub.Nor, coincidence of the edge of the leading signal and the triggering signal as detected by the flip-flops 42 will give the fraction of the period T.sub.Nor in which the triggering signal occurs, or in other words T.sub.R.
(23) The contents of the register 46 at the instant of coincidence give T.sub.R in a similar manner to a conventional Vernier TDC core except that in this case the reference point is the start of an interval T.sub.Nor, rather than an edge of the master clock pulse, namely the leading signal. The total time T.sub.tot is then given by the expression T.sub.tot=T.sub.Norm+T.sub.R, where m is the count in counter 48, namely the number of times the leading edge has looped through the phase regulator 50.
(24) The value of N should be picked so as to allow the fine resolution Vernier TDC to just cover the normal-length sub-interval, T.sub.NOR. That means:
(25)
(26) where Tres is the desired resolution and is the difference in delays .sub.2.sub.1, of the slow and fast chains 35, 37.
(27) For instance, if T.sub.NOR is set to be 60 ps and the desired resolution equals 5 ps, N should be 12. The output of the Vernier TDC (Q.sub.R) is:
Q.sub.R=T.sub.R/
(28) where the value of Q.sub.R is between 0 and N.
(29) The total delay .sub.Tot is then given by the expression;
T.sub.Tot=M.Math.N.Math.+Q.sub.R.Math.=(M.Math.N+Q.sub.R).Math.
(30) This basic concept is illustrated in
(31) As previously noted, the count in the normal-phase counter 48 gives a coarse measure determined by the interval T.sub.NOR of the time interval T.sub.tot. The interval T.sub.NOR is determined by the length of the phase regulator 50. The fine resolution TDC core 54 provides the fractional interval T.sub.R, which is represented by a binary number output by the register bank and encoder 46. The evaluator 52 collates the information from the three sources 48, 50, 54 and produces a final output representing the total time T.sub.tot between the leading and triggering signals in the form of an output word Q.sub.Fin.
(32) An alternative embodiment, which offers a 3-level switchable coarse/moderate/fine resolution, is shown in
(33) The phase regulator 150 comprises a separate arbiter array 160 comprising a chain of D flip-flops 162 and a sub-set of delay elements 136.sub.1 . . . 136.sub.N of the delay chain 135. The last delay element 136.sub.N of the subset is followed by a NAND gate 180, which also serves as a delay element, that receives at its inputs the output of the last delay element 136.sub.N and the reference-retimed-by DCO (RRD) signal from pre-logic module 130 (described below) for achieving moderate resolution. In the moderate resolution mode the period T.sub.NOR is separated into five regions. The leading signal is applied to the phase regulator 150, which forms a 5-stage 16 ps resolution ring structure, and loops through in the same manner as shown in
(34) In addition this embodiment comprises a 40-stage 2 ps resolution Vernier TDC core 154 comprising delay chains 135, 137 and flip-flops 142. The respective delay chains have incremental delays .sub.2 and .sub.1.
(35) The normal-phase counter 148 offers an 80 ps resolution defined by the length of the phase regulator 150 comprising NAND gate 132 and delay elements 136.sub.1 . . . 136.sub.N. In this mode the measured time interval is determined by the count in the normal-phase counter 148, which is output as an 8-bit word, M.
(36) The core circuit comprising NAND gate 132 and delay elements 136.sub.1 . . . 136.sub.N acts as a ring oscillator TDC giving a resolution of 16 ps, namely the delay introduced by each stage. This additional interval, namely the location within T.sub.NOR to a resolution equal to the delay of each stage of the delay chain, is output as a 5-bit word Q.sub.M. Finally, with the 40-stage Vernier TDC core 154 enabled by fine gear enable input to NAND gate 134, the embodiment shown in
(37) In this embodiment the rising edge of the leading signal (REF) enables the NAND gate 132, launching the run of the leading signal along the ring oscillator 132, 136.sub.1 . . . 136.sub.N.
(38) The other input terminal of NAND gate 132 is high already. The leading signal starts travelling in the loop of the ring oscillator and it triggers the counting of the normal-phase counter 148 each time it completes a rotation (passes the last stage of the loop). The propagation along the ring will not stop until the triggering signal (RRD) appears. The counter 148 can tell how many rotations (M) of the leading signal has experienced around this ring structure. The time period of a single rotation around the ring is actually the normal-length phase (T.sub.Nor), which is set to be 80 ps in this case. The number of the stages of the phase regulator can be 3 or 5 or 7 (odd) to make ring oscillator work correctly and efficiently. In this non-limiting example, the number of delay stages of the ring oscillator (N.sub.ring) is set to 5. The propagation delay of each stage of the inverter in the phase regulator (t_ring) can be found from the expression:
(39)
(40) In this case the delay .sub.2 equals to t.sub.ring.
(41) The Vernier core 154 is not used during most of the phase detection operation, and is only used to measure the last fractional piece, T.sub.R. The arrival of the triggering signal (RRD) is used not only to start the run of the RRD signal along the fast path delay chain 137 but also to activate the sixth stage of the inverter in the slow path delay chain 135. The signal RRD controls NAND gate 180. At this point the triggering signal starts chasing the leading signal, and the position where the triggering signal just catches up with the leading signal is indicated by the transition of the arbiters' output Q.sub.R. The number of stages of the Vernier TDC core (N_core) 154 is determined by the desired normal-length phase and the desired resolution:
(42)
(43) The slow-path 135 inverter delay (.sub.2) and the fast-path 137 inverter delay (.sub.1) should be equal to 16 ps and 14 ps respectively. The final TDC output Q.sub.Fin can be determined by acquired the M, N=40 and Q.sub.R.
(44) Compared to the Vernier Ring TDC solution where two arrays of arbiters are needed for odd-rotation and even-rotation respectively, this solution only needs one array of arbiters due to the ring-less structure of the fast path. This means that the complexity of a 40-stage Vernier core in this solution is actually equivalent to that of a 20-stage Vernier ring solution.
(45) Because the completion of the odd rotation corresponds to the falling edge of the input signal of the normal-phase counter and even rotation corresponds to the rising edge, the phase counter 148 should be a both-edge triggered counter to record each rotation of the signal. According to the phase detection range of 12.5 ns and 80 ps for T.sub.Nor, the phase counter 148 may record 156 rotations maximum. Thus, an 8 bit normal-phase Counter, which has a maximum count of 256, is sufficient.
(46) A block diagram of this embodiment as well as a timing chart illustrating the operation are shown in
(47)
Q.sub.Fin=M.Math.40+Q.sub.R
(48) Usually a 40/6 bit thermometer-to-binary encoder is employed to convert Q.sub.R from thermometer code to binary code. The complexity of the thermometer-to-binary encoder increases exponentially with the digit number of thermometer code; although it is already much simpler than that of a priority type decoder, which is commonly used in a Vernier Ring TDC due to the possibility of the presence of multiple fake transitions. However, a 40/6 bit thermometer-to-binary encoder is still viewed as a complicated conversion and deserving of further simplification into an 8/3 bit simple encoder by applying the coordinated-determination device in the evaluator.
(49) As shown in
(50) By reducing the processed bit number by 5 times (from 40 bits in Q.sub.R<1:40> to 8 bits in Q.sub.R<1:8>) the coordinated-determination device 197 not only facilitates the simplification of logic circuitry in the evaluator but also removes the possibility of the error due to the appearance of the fake transitions in other sections.
(51) The multiplication arithmetic (M.Math.N.sub.core) is implemented by an adder 194 that adds the output of 5-bit shifter 198 and 3-bit shifter 199. Because the number 40 is expressed as 101000 in binary format, and M is shifted by 3 bits and 5 bits respectively, and the two shifted numbers are added, the result is a 13-bit binary number for M.Math.40. Finally, Q.sub.Fin will be determined by one more addition in adder 195 that adds M.Math.40 and Q.sub.R to give a total of 14 bits.
(52) A still further embodiment is illustrated in
(53) In the embodiment shown in
(54) The separate Vernier TDC core 254 comprises delay chain 235 consisting of NAND gate 232 and inverter delay elements 236.sub.1 . . . 236.sub.N, and delay chain 237 NAND gate 234 and inverter delay elements 286.sub.1 . . . 286.sub.N. Arbiter array 240 comprises flip-flops 242.
(55) As in the previous embodiments the pre-logic module generates the leading and triggering signals. The leading signal is applied to the phase regulator 250, and the number of loops that the leading signal passes through the chain 255 is counted by the normal-phase counter 248. The triggering signal is applied to the arbiter array 260 and to the input of the NAND gate 234 forming part of the 40-stage Vernier TDC core 254.
(56) The normal-phase counter offers a resolution of 80 ps, namely the length of each cycle of the chain 255. The arbiter array acts as typical TDC and offers a resolution equal to the delay introduced by each stage, namely 16 ps. As in the
(57) The output of the phase regulator 250 is applied to one input of the NAND gate 232 of the Vernier TDC core 254. The second input of the NAND gate 232 receives the leading signal from the pre-logic module 230. The triggering signal is also applied to an input of NAND gate 234, whose second input is an enable input.
(58) The output of the chain 255 is applied to the input of chain 235. When an enable signal is asserted on the enable input of the NAND gate 234, the Vernier core 254 is activated and a 40-bit output with 2 ps resolution appears at the output of the arbiter array 240. The 40-bit word is taken from the Q-outputs of each flip-flop 242.
(59) Because the phase regulator 250 is decoupled from the Vernier TDC core, this solution is easier to implement and offers a more flexible management of the device parameters. Embodiments of the invention offer a novel phase-scaled Vernier time-to-digital converter (TDC) architecture with a coarse/moderate/fine (80 ps/16 ps/2 ps) time resolution function is presented to achieve both large phase (time) detection range (32.7 ns in 14-bit) and fine time resolution (2 ps) as well as compact size and ultra-low power consumption simultaneously. The phase noise (caused by TDC) can also be improved allowing higher reference frequency compared to other types of TDC architectures. A phase-regulator has been created and embedded into a traditional Vernier TDC core circuitry for the purpose of separating a new-defined mandatory phase length (no longer than the normal-length phase, 80 ps) from the random phase (time) difference (up to 32 ns) to be measured. The mandatory phase length will be the only part for fine-resolution (2 ps) measurement and the rest of the phase length will be counted in coarse resolution (80 ps). The required number of stages of the traditional Vernier TDC core can be remarkably reduced from 6250 to 40 at a fixed 2 ps time resolution. Furthermore, compared to a typical Vernier ring TDC, the proposed architecture being combined with a reverse-triggered pre-logic unit and the coordinated-determination scheme facilitates a much simpler and faster determination procedure, which allows several times reduction of the power consumption as well as the raise of the reference frequency in order to achieve a 2-3 dB improvement of the phase noise performance.
(60) It should be appreciated by those skilled in the art that any block diagrams herein represent conceptual views of illustrative circuitry embodying the principles of the invention. For example, a processor may be provided through the use of dedicated hardware as well as hardware capable of executing software in association with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, by a single shared processor, or by a plurality of individual processors, some of which may be shared. Moreover, explicit use of the term processor should not be construed to refer exclusively to hardware capable of executing software, and may implicitly include, without limitation, digital signal processor (DSP) hardware, network processor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), read only memory (ROM) for storing software, random access memory (RAM), and non volatile storage. Other hardware, conventional and/or custom, may also be included. The functional blocks or modules illustrated herein may in practice be implemented in hardware or software running on a suitable processor.