High resolution time-to-digital converter
First Claim
Patent Images
1. A time to digital converter comprising:
- a timing circuit comprising first and second digital oscillators producing first and second clock signals respectively, the first and second oscillators having different periods;
at least one of the oscillators comprising a plurality of controllable delay elements, the delay elements, when activated, altering the period of the oscillator;
a coincidence detector connected to generate a coincidence signal when a reference point in the first clock signal has a known time relationship to a corresponding reference point on the second clock signal;
a first counter connected to count a number, N, of cycles of the first oscillator until the coincidence detector generates the coincidence signal; and
, a resolution adjustment circuit connected to start the first and second oscillators at times separated by a known interval, compare the number N to a threshold and, if N is not at least equal to a threshold value altering the period of at least one of the oscillators by activating or deactivating one or more of the controllable delay elements.
2 Assignments
0 Petitions
Accused Products
Abstract
A time to digital converter (TDC) has a pair of digital oscillators. The periods of the oscillators differ by TΔ. The oscillators are triggered by START and STOP pulses. A counter counts a number of pulses until reference points on the signals output by the oscillators coincide. Measurements may be made using a dual resolution method. Intrinsic jitter of the TDC can be determined by comparing sets of measurements in which the switch in resolutions is made at different points. A range extender circuit may be provided to extend a valid measurement range of the TDC.
-
Citations
115 Claims
-
1. A time to digital converter comprising:
-
a timing circuit comprising first and second digital oscillators producing first and second clock signals respectively, the first and second oscillators having different periods;
at least one of the oscillators comprising a plurality of controllable delay elements, the delay elements, when activated, altering the period of the oscillator;
a coincidence detector connected to generate a coincidence signal when a reference point in the first clock signal has a known time relationship to a corresponding reference point on the second clock signal;
a first counter connected to count a number, N, of cycles of the first oscillator until the coincidence detector generates the coincidence signal; and
,a resolution adjustment circuit connected to start the first and second oscillators at times separated by a known interval, compare the number N to a threshold and, if N is not at least equal to a threshold value altering the period of at least one of the oscillators by activating or deactivating one or more of the controllable delay elements. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)
the time to digital converter comprises;
a resolution switching control circuit configured to switch the timing circuit between its states; and
,a second counter connected to count a number (NC) of edges of the first signal between a START signal and a time when the timing circuit is switched away from its first state;
wherein the first counter is connected to count a number (NF) of edges of the first signal between a time when the timing circuit is switched to its second state and the time when the coincidence signal is generated.
-
-
3. The time to digital converter of claim 2 wherein the resolution switching control circuit comprises a delay element connected to provide a delayed first clock signal and a coincidence detector connected to generate a coincidence signal when a reference point in the second clock signal has a known time relationship to a corresponding reference point on the delayed first clock signal.
-
4. The time to digital converter of claim 3 wherein the delay element of the resolution switching control circuit is selectively configurable to provide one of at least two different delays.
-
5. The time to digital converter of claim 3 wherein the delay element comprises a multiplexer connected to a plurality of signal path segments, at least one of the second signal path segments comprising at least one gate, the delayed first clock signal passing through one of the signal path segments selected by the multiplexer.
-
6. The time to digital converter of claim 3 comprising a range extender circuit, the range extender circuit suppressing the coincidence signal until corresponding edges of the first and second clock signals are within one period of the second clock signal relative to one another.
-
7. The time to digital converter of claim 6 wherein the range extender circuit is configured to suppress the coincidence signal until no other edges of the first and second clock signals lie between the corresponding edges of the first and second clock signals.
-
8. The time to digital converter of claim 3 comprising a range extender circuit, the range extender circuit suppressing the coincidence signal until corresponding edges of the first and second clock signals are within one half period of the second clock signal relative to one another.
-
9. The time to digital converter of claim 8 wherein the delay element is selectively configurable to provide one of at least two different delays.
-
10. The time to digital converter of claim 8 wherein the delay element comprises a multiplexer connected to a plurality of signal path segments, at least one of the second signal path segments comprising at least one gate, the delayed first clock signal passing through one of the signal path segments selected by the multiplexer.
-
11. The time to digital converter of claim 3 wherein each of the oscillators comprises a plurality of controllable delay elements.
-
12. The time to digital converter of claim 11 wherein, in each of the oscillators, the plurality of controllable delay elements comprises a series of digitally controllable delay elements wherein an Ith one of the delay elements provides a delay which is controllably variable by an amount τ
-
CDE(I) where τ
CDE(I) for the delay elements in the series of digitally controllable delay elements are related to one another by τ
CDE(I)=(1+ξ
)τ
CDE(I-1) where ξ
is a real number with 1<
(1+ξ
)<
2 and I is an index which identifies the delay elements in the series.
-
CDE(I) where τ
-
13. The time to digital converter of claim 2 comprising a range extender circuit, the range extender circuit suppressing the coincidence signal until corresponding edges of the first and second clock signals are within one cycle of the second clock relative to one another.
-
14. The time to digital converter of claim 13 wherein the range extender circuit comprises a first counter connected to count edges of the first signal, a second counter connected to count edges of the second signal and a comparator connected to compare outputs of the first and second counters and the range extender circuit generates a valid range signal when a pulse at the comparator output exceeds a predetermined width.
-
15. The time to digital converter of claim 14 wherein the first and second counters each comprise a binary counter.
-
16. The time to digital converter of claim 14 wherein the predetermined width is determined by a delay element coupled between an output of the comparator and a flip flop.
-
17. The time to digital converter of claim 14 wherein the predetermined width is determined by a delay element coupled between the first clock signal and an input to the first binary counter.
-
18. The time to digital converter of claim 2 wherein the first and second oscillators comprise ring oscillators each comprising a closed signal path defined at least in part by a plurality of series-connected delay elements each having an input and an output.
-
19. The time to digital converter of claim 18 wherein the controllable delay elements each comprise a logic gate having an input and output connected in the signal path and a variable load element connected to the output.
-
20. The time to digital converter of claim 19 wherein the variable load element comprises a tri-state device having an input connected to the output of the logic gate.
-
21. The time to digital converter of claim 18 wherein each of the oscillators comprises a plurality of digitally controllable delay elements.
-
22. The time to digital converter of claim 21 wherein, in each of the oscillators, the plurality of digitally controllable delay elements comprises a series of digitally controllable delay elements wherein an Ith one of the delay elements provides a delay which is controllably variable by an amount τ
-
CDE(I) where τ
CDE(I) for the delay elements in the series of digitally controllable delay elements are related to one another by τ
CDE(I)=(1+ξ
)τ
CDE(I-1) where ξ
is a number with 1<
(1+ξ
)<
2 and I is an index which identifies the delay elements in the series.
-
CDE(I) where τ
-
23. The time to digital converter of claim 2 wherein each of the oscillators comprises a plurality of digitally controllable delay elements.
-
24. The time to digital converter of claim 23 wherein, in each of the oscillators, the plurality of digitally controllable delay elements comprises a series of digitally controllable delay elements wherein an Ith one of the delay elements provides a delay which is controllably variable by an amount τ
-
CDE(I) where τ
CDE(I) for the delay elements in the series of digitally controllable delay elements are related to one another by τ
CDE(I)=(1+ξ
)τ
CDE(I-1) where ξ
is a number with 1<
(1+ξ
)<
2 and I is an index which identifies the delay elements in the series.
-
CDE(I) where τ
-
25. The time to digital converter of claim 1 comprising a range extender circuit, the range extender circuit suppressing the coincidence signal until corresponding edges of the first and second clock signals are within one period of the second clock signal relative to one another.
-
26. The time to digital converter of claim 24 wherein the range extender circuit comprises a first counter connected to count edges of the first signal, a second counter connected to count edges of the second signal and a comparator connected to compare outputs of the first and second counters.
-
27. The time to digital converter of claim 25 wherein the range extender circuit comprises first and second memory elements connected to receive a signal from the comparator, and one or more delay elements connected to delay the application of the signal from the comparator to the second memory element relative to the application of the signal from the comparator to the first memory element.
-
28. The time to digital converter of claim 1 comprising a range extender circuit, the range extender circuit suppressing the coincidence signal until corresponding edges of the first and second clock signals are within one half period of the second clock signal relative to one another.
-
29. The time to digital converter of claim 6 wherein the range extender circuit comprises a first binary counter connected to count edges of the first signal, a second binary counter connected to count edges of the second signal and a comparator connected to compare outputs of the first and second binary counters and the range extender circuit generates a range valid signal when a pulse at the comparator output exceeds a predetermined width.
-
30. The time to digital converter of claim 29 wherein the predetermined width is determined by a delay element coupled between an output of the comparator and a flip flop.
-
31. The time to digital converter of claim 29 wherein the predetermined width is determined by a delay element coupled between the first clock signal and an input to the first binary counter.
-
32. The time to digital converter of claim 6 wherein each of the oscillators comprises a plurality of digitally controllable delay elements.
-
33. The time to digital converter of claim 32 wherein, in each of the oscillators, the plurality of digitally controllable delay elements comprises a series of digitally controllable delay elements wherein an Ith one of the delay elements provides a delay which is controllably variable by an amount τ
-
CDE(I) where τ
CDE(I) for the delay elements in the series of digitally controllable delay elements are related to one another by τ
CDE(I)=(1+ξ
)τ
CDE(I-1) where ξ
is a number with 1<
(1+ξ
)<
2 and I is an index which identifies the delay elements in the series.
-
CDE(I) where τ
-
34. The time to digital converter of claim 1 wherein the first and second oscillators comprise ring oscillators each comprising a closed signal path defined at least in part by a plurality of series-connected delay elements each having an input and an output.
-
35. The time to digital converter of claim 34 wherein the controllable delay elements each comprise a gate having an input and output connected in the signal path and a variable load element connected to the output.
-
36. The time to digital converter of claim 35 wherein the variable load element comprises a tri-state device having an input connected to the output of the gate.
-
37. The time to digital converter of claim 36 wherein the tri-state device comprises a tri-NOT gate.
-
38. The time to digital converter of claim 34 wherein the load element comprises a capacitor connected in series between the output of the gate and a digital switch.
-
39. The time to digital converter of claim 38 wherein the capacitor comprises an NMOS gate capacitor having a gate electrode connected to the output of the gate.
-
40. The time to digital converter of claim 38 wherein each of the plurality of controllable delay elements, when activated, affect a period of a corresponding oscillator and wherein activation of each of the plurality of controllable delay elements provides substantially the same effect on the period of the corresponding oscillator.
-
41. The time to digital converter of claim 38 wherein, in each of the oscillators, the plurality of controllable delay elements comprises a series of digitally controllable delay elements wherein an Ith one of the delay elements provides a delay which is controllably variable by an amount τ
-
CDE(I) where τ
CDE(I) for the delay elements in the series of digitally controllable delay elements are related to one another by τ
CDE(I)=(1+ξ
)τ
CDE(I-1) where ξ
is a number with 1<
(l+t)<
2 and I is an index which identifies the delay elements in the series.
-
CDE(I) where τ
-
42. The time to digital converter of claim 1 wherein each of the oscillators comprises a plurality of digitally controllable delay elements.
-
43. The time to digital converter of claim 42 comprising a state machine having outputs connected to control each of the plurality of digitally controllable delay elements.
-
44. A time to digital converter comprising:
-
a timing circuit comprising first and second digital oscillators producing first and second clock signals respectively, the timing circuit switchable between a plurality of states including a first state wherein a difference in periods of the first and second signals is TΔ
1 and a second state wherein a difference in periods of the first and second signals is TΔ
2 where TΔ
2<
TΔ
1;
a resolution switching control circuit connected to switch the timing circuit between its states when a reference point of the first clock signal approaches a first predetermined time relationship with a corresponding reference point of the second clock signal;
a coincidence detector connected to generate a coincidence signal when the reference point in the first clock signal has a second predetermined time relationship to the corresponding reference point on the second clock signal;
a first counter connected to count a number (NF) of edges of the first clock signal between a time when the timing circuit is switched into its second state and the time when the coincidence signal is generated; and
, a second counter connected to count a number (NC) of edges of the first signal between a START signal and a time when the timing circuit is switched out of its first state.- View Dependent Claims (45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76)
the range extender circuit comprises a first counter connected to count reference points of the first signal, a second counter connected to count reference points of the second signal and a comparator connected to compare outputs of the first and second counters; and
,the range extender circuit generates a range valid signal when a pulse at an output of the comparator exceeds a predetermined width.
-
-
50. The time to digital converter of claim 49 wherein the first and second counters each comprise a binary counter.
-
51. The time to digital converter of claim 49 wherein the predetermined width is determined by a delay element coupled between the output of the comparator and a flip flop.
-
52. The time to digital converter of claim 49 wherein the predetermined width is determined by a delay element coupled between the first clock signal and an input to the first counter.
-
53. The time to digital converter of claim 46 comprising a range extender circuit, the range extender circuit suppressing the coincidence signal until corresponding reference points of the first and second clock signals are within one half of one period of the second clock signal relative to one another.
-
54. The time to digital converter of claim 53 wherein the corresponding reference points comprise corresponding signal edges and the range extender circuit is configured to suppress the coincidence signal until no other edges of the first and second clock signals lie between the corresponding edges of the first and second clock signals.
-
55. The time to digital converter of claim 53 wherein:
-
the range extender circuit comprises a first counter connected to count reference points of the first signal, a second counter connected to count reference points of the second signal and a comparator connected to compare outputs of the first and second counters; and
,the range extender circuit generates a range valid signal when a pulse at an output of the comparator exceeds a predetermined width.
-
-
56. The time to digital converter of claim 55 wherein the first and second counters each comprise a binary counter.
-
57. The time to digital converter of claim 55 wherein the predetermined width is determined by a delay element coupled between the output of the comparator and a flip flop.
-
58. The time to digital converter of claim 55 wherein the predetermined width is determined by a delay element coupled between the first clock signal and an input to the first counter.
-
59. The time to digital converter of claim 44 comprising an edge sampler wherein the START signal is generated by the edge sampler.
-
60. The time to digital controller of claim 44 comprising an edge sampler, the edge sampler generating the START signal and a STOP signal, the START signal connected to start the first oscillator and the stop signal connected to start the second oscillator.
-
61. The time to digital converter of claim 60 wherein the edge sampler is configured to generate the START signal upon a first edge of a test signal and to generate the STOP signal upon a second, subsequent, edge of the test signal.
-
62. The time to digital converter of claim 61 wherein the edge sample is configured to generate the START and STOP signals in a plurality of subsequent periods of the test signal.
-
63. The time to digital converter of claim 44 wherein at least one of the first and second oscillators comprises a plurality of digitally controllable delay elements.
-
64. The time to digital converter of claim 63 wherein, in each of the oscillators, the plurality of digitally controllable delay elements comprises a series of digitally controllable delay elements and a delay provided by an Ith one of the delay elements is controllably variable by an amount τ
-
CDE(I) where τ
CDE(I) for the delay elements in the series of digitally controllable delay elements are related to one another by τ
CDE(I)=(1+ξ
)τ
CDE(I-1) where ξ
is a number with 1<
(1+ξ
)<
2 and I is an index which identifies the delay elements in the series.
-
CDE(I) where τ
-
65. The time to digital converter of claim 63 wherein, in the at least one of the oscillators, the plurality of digitally controllable delay elements comprises a series of digitally controllable delay elements which provide delays τ
- CDE which are substantially equal to one another.
-
66. The time to digital converter of claim 63 comprising a state machine having outputs connected to control each of the plurality of digitally controllable delay elements.
-
67. The time to digital converter of claim 63 wherein the first and second oscillators comprise ring oscillators.
-
68. The time to digital converter of claim 63 wherein the controllable delay elements each comprise a gate having an input and output connected in a signal path and a variable load element connected to the output.
-
69. The time to digital converter of claim 68 wherein the variable load element comprises a tri-state device having an input connected to the output of the gate.
-
70. The time to digital converter of claim 69 wherein the tri-state device comprises a tri-NOT gate.
-
71. The time to digital converter of claim 68 wherein the load element comprises a capacitor connected in series between the output of the gate and a digital switch.
-
72. The time to digital converter of claim 71 wherein the capacitor comprises an NMOS gate capacitor having a gate electrode connected to the output of the gate.
-
73. The time to digital converter of claim 44 comprising an edge sampler connected to trigger the first and second oscillators upon detecting first and second reference points in a signal output from a circuit under test.
-
74. The time to digital converter of claim 73 wherein the circuit under test comprises a PLL.
-
75. The time to digital converter of claim 73 wherein the time to digital converter and the circuit under test are both on an integrated circuit and the time to digital converter comprises a data output for conveying off-chip timing data relating to the signal output from the circuit under test.
-
76. The time to digital converter of claim 75 wherein the data output comprises a serial data output.
-
77. A time to digital converter comprising:
-
means for generating first and second clock signals respectively having first and second periods;
means for varying at least one of the first and second periods to reduce a difference between the first and second periods from a first value TΔ
1 to a second value TΔ
2 where TΔ
2<
TΔ
1;
means for operating the means for varying the at least one of the first and second periods when a reference point in the first clock signal has a known time relationship to a corresponding reference point on the second clock signal; and
,means for counting features of the first clock signal. - View Dependent Claims (78, 79, 80, 81, 82, 83, 84, 85, 86)
-
-
87. A method for time to digital conversion comprising providing first and second digital oscillators having a first state wherein a difference in periods of the first and second signals is TΔ
- 1 and a second state wherein a difference in periods of the first and second signals is TΔ
2 where TΔ
2<
TΔ
1;with the first and second digital oscillators in the first state, starting the first oscillator upon the occurrence of a first control signal and starting the second oscillator on the occurrence of a second control signal a time Td later;
when reference points of the first and second signals occur within a predetermined time delay of one another switching the oscillators to the second state;
counting a number (NC) of edges of the first clock signal which occur while the oscillators are in the first state;
counting a number (NF) of edges of the first clock signal which occur while the oscillators are in the second state; and
,stopping counting the number (NF) when the reference points have a specified time relationship. - View Dependent Claims (88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110)
where N2 is NF+NC for a pair of numbers in the second set of numbers and N1 is NF+NC for a pair of numbers in the first set of numbers.
- 1 and a second state wherein a difference in periods of the first and second signals is TΔ
-
101. The method of claim 97 comprising obtaining a corrected measure of jitter of the test signal by performing one or more operations which include subtracting the internal jitter.
-
102. The method of claim 94 comprising obtaining a corrected measure of jitter of a test signal by performing one or more operations which include correcting for an internal jitter of a measurement system comprising the first and second oscillators.
-
103. The method of claim 94 wherein repeating the method for a plurality of cycles of the test signal to obtain a set of numbers NC and NF is performed on an integrated circuit chip and deriving a measure of jitter in the test signal from the set of numbers NC and NF is performed off-chip.
-
104. The method of claim 87 comprising suppressing switching the oscillators to the second state until corresponding features of the first and second clock signals are within one period of the second clock signal relative to one another.
-
105. The method of claim 87 comprising suppressing switching the oscillators to the second state until the first and second clock signals are within one half period of the second clock signal relative to one another.
-
106. The method of claim 87 comprising adjusting the first and second digital oscillators by:
-
starting the first and second oscillators at times separated by a known interval;
counting a number of features of at least one of the clock signals until reference points on the first and second clock signals have a known time relationship; and
,if the number is not at least equal to a threshold value altering the period of at least one of the oscillators.
-
-
107. The method of claim 106 wherein adjusting the first and second oscillators comprises determining whether the first oscillator has a period longer than a period of the second oscillator and, if not, increasing the period of the first oscillator, decreasing the period of the second oscillator, or both increasing a period of the first oscillator and decreasing a period of the second oscillator.
-
108. The method of claim 106 wherein the first and second oscillators comprise a plurality of control inputs and adjusting the first and second oscillators comprises performing a search of combinations of the control inputs.
-
109. The method of claim 108 wherein the search is an exhaustive search.
-
110. The method of claim 106 wherein the first and second oscillators respectively comprise first and second pluralities of control inputs and adjusting the first and second oscillators comprises, if the period of the first oscillator is less than the period of the second oscillator performing a search of combinations of the first plurality of control inputs and, if the period of the second oscillator is less than the period of the first oscillator, performing a search of combinations of the second plurality of control inputs.
- 111. In apparatus for identifying a coincidence between first and second periodic signals, a range extender circuit comprising a first counter connected to count edges of the first signal, a second counter connected to count edges of the second signal, and a comparator connected to compare outputs of the first and second counters.
Specification