The following applications are incorporated herein by reference:
SUB-RANGING VOLTAGE-TO-TIME-TO-DIGITAL CONVERTER, invented by Mikko Waltari, Ser. No. 14/979,186, filed Dec. 22, 2015; issued as U.S. Pat. No. 9,323,226; and,
TRAVELING PULSE WAVE QUANTIZER, invented by Mikko Waltari, Ser. No. 14/681,206, filed Apr. 8, 2015; issued as U.S. Pat. No. 9,098,072.
This invention generally relates to analog-to-digital converters (ADCs) and, more particularly, to a system and method for converting measured time durations to digital information.
One commonly used TDC architecture is the gated ring-oscillator. It uses start and stop signals to define the time interval to be digitized. The start signal is used to start the oscillator and the stop signal is used to capture the state of the oscillator, and so determine its state at a sub-period level. A digital counter is used to count the number of full oscillator cycles. The speed of the counter determines the minimum oscillation periods. For instance, in modern CMOS technology the counter can operate on the order of 50 picoseconds (ps). If the desired least significant bit (LSB) size is 1 ps, there is a need for 50 sub-period quantization levels. Typically, the sub-period detection is done with parallel structures yielding a 50 bit output signal that needs to be decoded into a final, in this case 6-bit, word length. Processing these 50 bits at a fast rate is power and circuit area consuming.
Another limitation of the gated ring oscillator is that it cannot start processing the next sample while the current one is still circulating in the oscillator. This limitation can be overcome by unrolling the ring into a delay chain. However, the unrolled architecture suffers from the same parallel detection inefficiency. Yet another limitation in both architectures is that they are not truly time differential. While the measurement interval is defined to be the difference between the start and the stop signals, the start signal must always arrive before the stop signal. Thus, in a system using a pair of signals (two inputs), the start signal must always be carried on one predetermined line and the stop pulse always carried on the other line. Another popular TDC architecture, the Vernier delay line, suffers from the same issues.
As used herein, a time-differential signal is understood to be a pair of bi-level signals, where one signal (pulse) indicates the start of a time durations to be measured and the other signal indicates the end (stop) of the time duration to be measured, but where there is no predetermined correlation between which signal is the start and which signal is the stop.
It would be advantageous if the number of detectors and raw output bits of a TDC grew in proportion to N, N being the number of output bits, instead of 2N as it does in parallel type detectors.
It would be advantageous if a TDC could operate with a truly time-differential input, with the capability to process several samples simultaneously in pipelined fashion.
Disclosed herein is a time-to-digital converter (TDC) that has a time-differential input enabled as a pair of bi-level input signals. In one aspect, the time interval to be digitized is defined as the time between the rising edge of the positive input signal and the rising edge of the negative input signal. The maximum time range to be digitized is from −T/2 to T/2. The time interval may be considered to be negative (less than zero duration time) if the stop (negative) input signal has a rising edge that occurs before the start (positive) input signal. As used herein, a time-differential signal is understood to be a pair of bi-level signals, where one signal (start/positive) indicates the start of a time durations to be measured and the other signal (stop/negative) indicates the end of the time duration to be measured, but where there is no predetermined correlation between which signal is the positive, first arriving signal. For the purpose of discussion rising edges are used as triggers, but the same idea can be implemented using negative edges as well.
The TDC consists of several cascaded stages, with the most significant bit (MSB) of the digital output being resolved in the front stage and the other bits in the following stages resolved in descending order. The principle of operation follows the successive approximation method. The time interval is converted into a digital word in several successive steps carried out one bit per TDC stage. Once a stage has completed its task, it passes the signal residue to the next stage. After passing the residue signal, the stage is reset and becomes ready to process the next sample.
Accordingly, a sort-and-delay time-to-digital converter is provided made up of a plurality of serially connected sort-and-delay circuits. Each sort-and-delay circuit accepts a time-differential input signal with a binary level first edge separated from a binary level second edge by an input (first) duration of time. The first and second edges are selectively routed as a time-differential output signal with a binary level delayed edge separated from a binary level trailing edge by an output (second) duration of time representing a compression of the input duration of time. Each sort-and-delay circuit also supplies a TDC coded bit indicating the order in which the first and second edges are routed to the leading and trailing edges. The TDC is also made up of a bit decoder having inputs to receive a plurality of TDC coded bits (e.g., Gray code) from the corresponding plurality of sort-and-delay circuits, and an output to supply a digital output signal representing the initial input duration of time associated with the initial time-differential input signal received by the initial sort-and-delay circuit.
In one aspect, an nth sort-and-delay circuit in a plurality of n sort-and-delay circuits supplies a time-differential residue signal, so that the bit decoder supplies a digital output signal representing the n most significant bits in a p-bit digital word. In this aspect, the sort-and-delay TDC further includes a backend conventional TDC having an input to accept the time-differential residue signal and an output to supply a digital output signal comprising the (p−n)th least significant bits of the p-bit digital word.
Each sort-and-delay circuit is made up of an edge sort circuit having an input to accept a time-differential input signal. The edge sort circuit determines the order in which the first and second edges are accepted, and has outputs to supply a leading edge, the trailing edge, and the TDC coded bit. Each sort-and-delay circuit also includes a delay circuit having an input operatively connected to the first output of the edge sort circuit, and an output to supply the delayed edge having a time delay duration (D). The delayed edge and the trailing edge are the time-differential output signal.
In one variation, the edge sort circuit includes an OR gate having a first input to accept the first edge, a second input to accept the second edge, and an output to supply the leading edge. An AND gate has a first input to accept the first edge, a second input to accept the second edge, and an output to supply the trailing edge. The edge sort circuit also includes an arrival time comparator (ATC) having a first input to accept the first edge, a second input to accept the second edge, and an output to supply an order signal responsive to the order in which the first and second edges are received. Alternatively, multiplexors can be used instead of combination logic, as provided in detail below.
In one aspect, the sort-and-delay circuit further also includes a time amplifier. In one variation a single-ended time amplifier has an input to accept the leading edge and the trailing edge. A pull-down circuit has an input to accept the leading edge and an output to supply a pull-down current to a first node, initially set to a first voltage level, in response to the leading edge. A pull-up circuit has an input to accept the trailing edge and an output to supply a pull-up current to the first node in response to the trailing edge. A capacitor has a first terminal connected to the first node and a second terminal connected to a reference voltage. Finally, a comparator has a first input connected to a threshold voltage, a second input connected to the first node, and an output to supply a time-amplified edge. The leading edge and the trailing edge are separated by a third duration of time, and the leading and the time-amplified edge are separated by an amplified duration of time, directly proportional to the third duration of time. Alternatively, a differential time amplifier may be used, as provided in more detail below.
Addition details of the above described circuitry, as well as successive approximation TDC, time amplification, and sort-and-delay methods, are provided below.
A bit decoder 206 has inputs to receive a plurality of TDC coded bits from the corresponding plurality of sort-and-delay circuits, and an output on line 208 to supply a digital output signal representing the initial input duration of time associated with the initial time-differential input signal received by the initial sort-and-delay circuit 202-0. For example, taken together the TDC coded bits on lines 204-0 through 204-n may be in the form of a Gray code. Although the differential input first and second edges are represented as rising edges, they may also be falling edges, or a combination of rising and falling edges.
In one aspect as shown, the nth sort-and-delay circuit (202-n) in a plurality of n sort-and-delay circuits supplies a time-differential residue signal on line 210. Then, the bit decoder 206 supplies a digital output signal on line 208 representing the n most significant bits in a p-bit digital word. In this aspect, the sort-and-delay TDC 200 further comprises a backend TDC 212 having an input on line 210 to accept the time-differential residue signal and an output on line 214 to supply a digital output signal comprising the (p−n)th least significant bits of the p-bit digital word. The backend TDC 212 may be enabled using a conventional technology, such as Flash, gated ring-oscillator, delay chain oscillator, or Vernier delay line, to name a few examples.
As used herein, “operatively connected” means directly connected or connected through an intervening element (e.g., a time amplifier, as described below). The delayed edge on line 310-0 (S1N−1) and the trailing edge on line 304-0b (S2N+1) comprise a time-differential output signal. Typically, the time duration D of each stage is less than the maximum input duration of the time-differential input signal. Further, due to the successive compression of the time-differential signals, the fixed delay D of each successive sort- and delay circuit decreases at a comparable rate. As used herein, a time-differential output signal is compressed when the time-differential input signal is within the range −T1/2 to +T1/2, and the time-differential output signal within the range −T2/2 to +T2/2, and T2<T1. This concept is illustrated in
In one aspect, the ATC 404-0 has a reset input on line 306-0 to accept a reset signal responsive to the trailing edge, which may occur concurrently with the trailing edge or sometime after the trailing edge, on the condition that it occurs before the arrival of the next time-differential input signal. A register 408-0, such as a D flip-flop (DFF), has an input connected to the ATC output on line 406-0, a clock input to accept a clock (CLK) signal 410-0, and an output to supply the TDC coded bit on line 204-0. The clock on line 410-0 must arrive before or simultaneously with the reset signal on line 306-0. One possibility is to use the leading edge of a common signal to generate the clock and the trailing edge of the common signal to generate the reset. Note: the above-described circuitry can be enabled using other variations of combinational logic, as would be understood by one with ordinary skill in the art.
A multiplexing function is preformed automatically with the AND and OR gates without any control signals. The ATC is used only to provide the digital output bit. This implementation has a shorter propagation delay than the variation depicted in
A first multiplexor (MUX) 508-0 has a control input to accept the order (select) signal on line 406-0, a first input on line 502-0 to accept the delayed first edge, a second input on line 506-0 to accept the delayed second edge, and an output on line 304-0a to supply the leading edge in response to the order signal. A second MUX 510-0 has a control input on line 406-0 to accept the order signal, a first input on line 506-0 to accept the delayed second edge, a second input on line 502-0 to accept the delayed first edge, and an output on line 304-0b to supply the trailing edge in response to the order signal. The ATC 404-0 has a first input on line 302-0a to accept the first edge, a second input on line 302-0b to accept the second edge, and an output on line 406-0 to supply the order signal responsive to the order in which the first and second edges are routed. In one aspect, the ATC 404-0 has a reset input on line 306-0 to accept a reset signal responsive to the trailing edge. As above, the reset may occur concurrently with the trailing edge or sometime after the trailing edge, on the condition that it occurs before the arrival of the next time-differential input signal. The register 408-0 (e.g., DFF) has an input connected to the ATC output on line 406-0, a clock input to accept a clock signal 410-0, and an output to supply the TDC coded bit on line 204-0.
The arrival time comparator 404-0 detects the incoming edge order and sets the output multiplexers accordingly. Nominally equal delays are inserted into the signal path to give the ATC some time to make its decision and to program the MUXs before the signals arrive at the MUX inputs. The ATC has a reset signal to reset its state between different samples. A clocked D flip-flop captures the ATC output and provides the digital output bit. The reset timing is not critical; it just needs to occur between two successive input samples.
A capacitor 710-0 (C) has a first terminal connected to the first node on line 706-0 and a second terminal connected to a reference voltage (e.g., ground) on line 712-0. A comparator 714-0 has a first input connected to a threshold voltage (Vth) on line 716-0, a second input connected to the first node on line 706-0, and an output on line 602-0 (Sout) to supply a time-amplified edge. The leading edge (304-0a, see
When the leading edge arrives it activates the pull-down circuit, which starts to ramp down the voltage Vc. The trailing edge disables the pull-down circuit (
A capacitor 710-0 (C1) has a first terminal connected to the first node on line 706-0 and a second terminal connected to a reference voltage on line 712-0. A comparator 714-0 has a first input connected to a threshold voltage (Vth1) on line 716-0, a second input connected to the first node on line 706-0, and an output on line 602-0 (Slast_out) to supply a time-amplified edge. Alternatively, the circuit of
A second pull-up circuit 1000-0 has an input to accept the leading edge on line 304-0a and an output on line 1002-0 to supply a pull-up current to a second node, initially set to a second voltage level (Vc2), in response to the leading edge. A second pull-down circuit 1014-0 has an input on line 304-0b to accept the leading edge and an output on line 1002-0 to supply a pull-down current to the second node in response to the leading edge. A second capacitor 1004-0 has a first terminal connected to the second node on line 1002-0 and a second terminal connected to a second reference voltage on line 1006-0. A second comparator 1008-0 has a first input connected to a second threshold voltage (Vth2) on line 1010-0, a second input connected to the second node on line 1002-0, and an output to connected to the input of the delay circuit 308-0 on line 802-0 (Sfirst_out). The leading edge (on line 304-0a, see
A reset circuit 718-0 has an input on line 720-0 to accept a reset signal and a output connected to the first node on line 706-0 to supply the first voltage level in response to the reset signal. A second reset circuit 1012-0 has an input to accept a second reset signal (typically the same as the first reset signal on line 720-0) and an output connected to the second node on line 1002-0 to supply the second voltage level in response to the second reset signal. Again, the reset signal is shown as the same for reset circuits 718-0 and 1012-0, but they need not be so. The purpose of the reset is to prepare the amplifier for the next sample. It needs to occur between the output edge (N) and the first input edge (N+1). Whether the reset signal is a clock pulse with regular timing or a self-generated reset pulse based on the output edge doesn't matter. That is, the reset can be generated from a system clock or generated from the trailing edge. If generated from a system clock, it may be the same reset signal used for the ATC in the edge sort circuit, which is a periodic clock-like signal having a period related to the TDC sampling (or update) rate.
After a certain number of stages (e.g., n) the residue output 210 (S1 and S2, see
The operation carried out by a TDC stage consists of sorting the incoming edges in order of arrival and routing the first to arrive to a first output and the last to arrive to a second output. The first output is further passed through a delay cell. These two signals, the delayed first output and the second output, form a residue signal that is passed on to the next stage. Repeating this process through several stages with decreasing delays has the effect of bringing the residue signal edges closer together. This is somewhat analogous to the operation of a pipelined or successive approximation analog-to-digital converter (ADC). The TDC stage also records the routing decision and outputs it as a digital bit. The digital output of the TDC can be calculated from the output bits of the stages using the knowledge of the magnitudes of the delays in each stage.
In its simplest form the TDC consists of stages with binary delays, with the delay in the first stage being T/2, in the second T/4, in the third T/8, and so forth. The digital output is simply calculated by performing a Gray-to-binary conversion to the digital word formed from the stage output bits. In practice, some form of trimming may be required to implement the exact delays with precisely binary weights.
Another alternative is to rely upon digital calibration to implement approximately binary delays, while making sure that the sum of the downstream delays is large enough to avoid missing codes. In practice this means scaling the delays from one stage to the next with a factor of slightly less than 2.0. This method requires measuring the actual delays and using the measured values to calculate the final digital output. The measurement can be implemented as a foreground or background calibration, or as a combination of the two.
It is also possible to include gain in one or more of the sort-and-delay TDC stages. This relaxes the LSB size and the noise requirements of the following stages. Implementing a time amplifier can be tricky but the task becomes more practical if the input signal is small and the amplifier only has to deal with positive time intervals. Inserting the amplifier before the stage delay satisfies the latter requirement.
Step 1402 accepts a time-differential input signal comprising a binary level leading edge followed a pre-amplified duration of time by a binary level trailing edge. Step 1404 measures the pre-amplified duration of time. Step 1406 measures an amplified duration of time that is directly proportional to the pre-amplified duration of time. Step 1408 supplies a time-amplified edge separated from the leading edge by the amplified duration of time. In the case of a time differential amplifier, Step 1408 supplies the leading edge, followed the amplified duration of time by the time-amplified edge.
In one aspect, Step 1514 adds an amplified duration of time to the trailing edge to supply an amplified time-amplified edge. Then, Step 1516 supplies a time-differential output signal comprising the delayed edge and the time-amplified edge, where the leading edge and trailing edge are separated by a third duration of time, and the leading edge and time-amplified edges are separated by an amplified duration of time, directly proportional to the third duration of time.
In contrast to prior art methods, which simply add delay based on the arrival order, the method disclosed herein routes the signal through delay and no-delay paths based on the arrival order. This is a subtle but important difference. The routing has the effect of selectively inverting the time-differential signal that passes through the TDC stage, which produces Gray coded output bits. The Gray coding makes the TDC less sensitive to ATC metastability errors. The method also provides an always-positive time differential signal at the output of the edge sort circuits. This enables the use of simple time amplifiers capable of operating on positive (start) signals only.
Step 1612 sums the TDC coded bits from each stage to supply a digital output signal representing the initial input duration of time. In one aspect, Step 1602 includes a first stage accepting a first time-differential signal. Then, routing the leading edge through a fixed delay in Step 1608 includes the first stage supplying a second time differential signal to a subsequent second stage, where the difference between the leading edge and the trailing edge is guaranteed to represent a time delay greater than or equal to zero. That is, regardless of any arrival time interpretation errors in the first stage, it is guaranteed that the second time-differential signal first edge can be treated as a start signal by the second stage.
Systems and methods have been provided for a sort-and-delay TDC, along with the supporting functions of edge sorting and time amplification. Examples of particular sub-circuits and hardware units have been presented to illustrate the invention. However, the invention is not limited to merely these examples. Other variations and embodiments of the invention will occur to those skilled in the art.
Number | Name | Date | Kind |
---|---|---|---|
5886660 | Loewenstein | Mar 1999 | A |
7557746 | Waltari | Jul 2009 | B1 |
7609756 | Wood | Oct 2009 | B2 |
7667633 | Choi et al. | Feb 2010 | B2 |
8138843 | Straayer et al. | Mar 2012 | B2 |
8421661 | Jee et al. | Apr 2013 | B1 |
8433025 | Sun et al. | Apr 2013 | B2 |
8552901 | Danesh et al. | Oct 2013 | B2 |
8896477 | Dosho et al. | Nov 2014 | B2 |
8970420 | Henzler et al. | Mar 2015 | B2 |
8988269 | Dosho | Mar 2015 | B2 |
20110304372 | Wang | Dec 2011 | A1 |
20120313803 | Dosho | Dec 2012 | A1 |
20130234792 | Niitsu | Sep 2013 | A1 |
20130249627 | Kwon | Sep 2013 | A1 |
20140232827 | Kumar et al. | Aug 2014 | A1 |
20150041625 | Dutton et al. | Feb 2015 | A1 |
Entry |
---|
H. Chung, H. Ishikuro, T. Kuroda, “A 10-Bit 80-MS/s Decision-Select Successive Approximation TDC in 65-nm CMOS”, IEEE Journal of Solid-State Circuits, vol. 47, No. 5, May 2012. |