A time to digital converter (TDC) is a circuit known in the art to detect phase offset (such as jitter) between two signals, e.g., a control signal of a phase locked loop and a reference clock signal.
Because τ1>τ2, signals in the sequence SC1, SC2, SC3, . . . are advanced relative to signals in the sequence CK1, CK2, CK3, . . . . In other words, if a rising clock edge of CK1 occurs before a rising clock edge of SC1, there will be a point along the first and second delay lines at which a delay tap from the second sequence 115 “catches up” to a corresponding delay tap from the first sequence 114. In this example, the Q outputs from flip flops 116 are ‘1’ up to this point and ‘0’ thereafter. An encoder circuit 117 receives the Q outputs and encodes a position at which such crossover occurs, and the encoded result represents the jitter of the signal SC to be measured with respect to the reference clock CK. For example, if 2N flip flops are employed, encoder 117 provides an N-bit encoded value representing a jitter of signal SC.
Conventional TDC 100 has certain deficiencies. Due to variations in process, voltage, and temperature, the total delay of a delay line may be different than the desired value, resulting in certain disadvantageous effects. For example, a variation in the total delay of delay cells 115 may result in undesirable phase noise in the encoded signal indicating jitter. Furthermore, mismatch between individual delay cells may result in other disadvantageous effects. For example, variations in the delays of delay cells 115 may result in harmonic “spurs” (spurious noise components) in a frequency response of the encoded jitter signal. Both these disadvantageous effects impair the ability to accurately measure jitter.
A calibration module 260, comprising a grouper 262 to process groups of bits, an adder 264, a low pass filter 266, and a quantizer 268, provides a calibration signal based on the encoded output from TDC 230. A correction module 270 provides N correction signals that are added to the calibration signal at adders 280-1, 280-2, . . . , 280-N and used to control delay cells, e.g., via principles of variable capacitance. Thus, calibration and correction loops are present in a feedback configuration. The effects of the calibration and correction modules are to reduce phase noise and spurs, respectively. The clock doubler 210 is needed because 50% of available cycles are set aside for calibration. The PRNG 220 is used to inject pseudorandom jitter to improve performance, including by reducing unwanted periodicities.
The calibration loop in circuit 200 collects many input signals (groups of five signals for integration), resulting in a relatively long calibration time. Circuit 200 needs multipliers in correction module 270, requiring large silicon area in a practical embodiment. Clock doubler 210 and PRNG 220 area also needed, resulting in high power consumption, which decreases performance in terms of noise. Because of the clock doubler 210 and the use of 50% of samples for calibration, the operation speed of circuit 200 is twice the input frequency.
It is desirable to employ TDC timing techniques that reduce phase noise and spurs with reduced circuit complexity and increased efficiency.
An embodiment discloses a timing circuit comprising a time to digital conversion (TDC) circuit, a calibration module, and a correction module. The TDC circuit is configured to provide a timing signal indicative of a timing difference between edges of a periodic reference clock signal and a variable feedback signal. The TDC circuit also is configured to provide a delay signal that is variably delayed relative to the reference clock signal. The calibration module is configured to receive the delay signal and a second feedback signal and provide a calibration signal to increase and decrease a total delay of the TDC circuit. The total delay of the TDC circuit is based on a time delay of the calibration signal plus a time delay of a correction signal. The correction module is configured to receive the timing signal and provide the correction signal. The correction module minimizes harmonic spurs in a frequency response of the timing signal by operating at a frequency of the reference clock signal.
The timing circuit may also include a digital loop filter (DLF), a digitally controlled oscillator (DCO), a divider, and a counter. The DLF is configured to provide a digital control signal based on the timing signal. The DCO is configured to tune a frequency of an output clock signal based on the digital control signal. The divider is configured to divide the output clock signal in frequency by an integer M or an integer M+1 and provide a divided signal that feeds back to the TDC circuit as the first feedback signal and that feeds back to the calibration module as the second feedback signal. The counter is configured to accumulate the first feedback signal and provide an increment signal. The increment signal causes the divider to divide by M+1 instead of M in an event that an accumulated sum of the first feedback signal exceeds a predetermined threshold.
Another embodiment discloses a method of controlling timing signals. A reference clock signal and first and second feedback signals are received. The reference clock signal is delayed via N delay cells to provide a delay signal. A timing signal is generated at a frequency of the reference clock signal. The timing signal is indicative of a timing difference between edges of the reference clock signal and of the first feedback signal. Delay cells are adjusted based on the delay signal, the second feedback signal, and the timing signal to calibrate a total delay of the delay cells and to reduce mismatch among delay cells.
The method may also include generating a digital control signal based on the timing signal via a low pass filtering operation. A frequency of an output clock signal is tuned based on the digital control signal. The output clock signal is divided in frequency by an integer M or an integer M+1 to provide a divided signal, which is fed back as the first and second feedback signals. The first feedback signal is accumulated, and the output clock signal is divided in frequency by M+1 in an event the accumulated first feedback signal exceeds a predetermined threshold.
The construction and method of operation of various embodiments, however, together with additional advantages thereof will be best understood from the following descriptions of specific embodiments when read in connection with the accompanying figures.
The following will be apparent from elements of the figures, which are provided for illustrative purposes and are not necessarily to scale.
TDC circuit 410 includes a plurality of latches 412 configured to switch values of a feedback signal CKDIV based on a reference clock signal CKREF. Specifically, in an example where the latches are D-type flip flops, CKREF is provided to a delay line comprising delay cells 414-1, 414-2, 414-3, . . . , 414-N (generally 414), each of which may be a pair of inverters or composed of other suitable delay elements as known in the art. In an embodiment, N is 16, although other values may be used as well. Delay taps from delay cells 414 are provided to clock edges of the flip flops 412. An output of delay cell 414-N, referred to as DCDLOUT because it is the variably delayed output of a digitally controlled delay line, corresponds to CKREF delayed by one period of CKREF when calibration is achieved as described further below. Delay cells 414 are adjusted (increased or decreased in delay) based on signals from calibration module 420 and correction module 430 that are summed at adders 460-1, 460-2, 460-3, . . . , 460-N (generally 460), which may be implemented as multiple adders or as a single adder 460. CKDIV may be coupled to a delay line, e.g., in a Vernier delay line configuration (not shown) as known in the art. TDC circuit also includes an encoder (not shown) that encodes a timing signal 415 indicative of a jitter of CKDIV relative to CKREF. Timing signal 415 may be a P-bit signal, where N=2P. Delay cells 414 may be implemented using tri-state buffers known in the art, e.g., as described in Park et al., “All-Digital Synthesizable UWB Transmitter Architectures,” Proc. of the 2008 IEEE Int. Conf. on Ultra-Wideband (ICUWB2008), Vol. 2, p 30, 2008.
Calibration module 420 includes a phase detector 422 and a counter 424, and the resulting calibration signal 425 is provided to each of the adders 460. Correction module 430 receives the timing signal 415. An array of accumulators 432 processes the timing signal to provide accumulation signals 433 to an array of comparators 434. Comparators 434 provide comparison signals 435 to an array of registers 436, which store the comparison signals and provide N correction signals 437. Accumulation signals 433, comparison signals 435, and correction signals 437 may respectively be provided as multiple signals (as shown in
Timing signal 415 is provided to a digital loop filter 920 via an adder 910, which enables the timing signal 415 to be modified by a cancellation loop as described further below. Digital loop filters (DLFs) are known in the art and perform analogous processing for digital phase locked loops (PLLs) as analog loop filters perform in analog PLLs. For example, a DLF is described in detail at U.S. Pat. Pub. No. 2009/0302958 by Sakurai et al., “Digitally Controlled Oscillator and Phase Locked Loop Circuit Using the Digitally Controlled Oscillator,” hereby incorporated by reference herein in its entirety. Functional details of a DLF in accordance with an embodiment are provided further below in the context of
DCOs are known in the art for providing analogous functionality for digital PLLs as voltage controlled oscillators provide for analog PLLs and are described at, e.g., U.S. Pat. No. 5,727,038 by May et al., “Phase Locked Loop Using Digital Loop Filter and Digitally Controlled Oscillator,” which is hereby incorporated by reference herein in its entirety. DCO 930 adjusts the frequency of an output signal CKOUT so that clock frequencies may be matched (locked) by the phase locked loop 900. DCO 930 may be implemented with nonlinear capacitors, active inverter stages, or other conventional DCO techniques as known in the art and described at, e.g., U.S. Pat. Pub. No. 2010/0013532 by Ainspan et al., “Phase-Locked Loop Circuits and Methods Implementing Multiplexer Circuit for Fine Tuning Control of Digitally Controlled Oscillators,” hereby incorporated by reference herein in its entirety. CKOUT is divided in frequency by a divider 940, which divides by an integer M or M+1. Such variable division is known in the art of fractional-type PLLs and is described at, e.g., U.S. Pat. Pub. No. 2004/0223576 by Albasini et al., “Fractional-Type Phase Locked Loop Circuit with Compensation of Phase Errors,” hereby incorporated by reference herein in its entirety.
As is known in the art, providing fractional division enables greater accuracy and resolution for timing applications. A counter 960 provides an increment signal that is either 0 or 1 and that is added to constant integer value M at adder 950 to determine whether divider 940 divides by M or M+1. A counter 960 for fractional-type PLLs is known in the art and described at, e.g., U.S. Pat. No. 7,279,990 by Hasegawa.
The cancellation loop reduces phase noise similar to the cancellation loop in timing circuit 200. In the following discussion, reference is made to elements of timing circuit 200 in
Various embodiments find wide application in communications systems, e.g., in Bluetooth and wireless LAN systems. Advantageously, various embodiments provide timing circuitry with reduced circuit complexity relative to the prior art. No multipliers are needed in the correction loop, saving circuit area and reducing power consumption. Similarly, pseudorandom number generators and clock doubling circuits are not needed, resulting in additional space and power savings. Calibration using only two inputs is faster than prior art calibration techniques that group greater than two (e.g., five) input signals together, and there are no input duty cycle restrictions unlike in prior art techniques that reserve, e.g., half of all samples exclusively for calibration. Various embodiments use simple circuit components, e.g., phase detectors, counters, accumulators, comparators, and registers, with underlying switching provided by latches, e.g., D-type flip flops.
Various embodiments have been implemented with success. The total die area can be made at least as small as 1.4 mm in length by 0.8 mm in width, with the area of TDC and digital logic circuitry being about 0.025 mm2 in accordance with a 65 nm CMOS process. Conventional techniques typically require an area of greater than 0.1 mm2 for TDC and digital logic circuitry. Various embodiments accommodate fast calibration in about four input clock cycles, compared to greater than twenty input clock signals in prior art implementations that group multiple input signals.
Table 1 lists performance results associated with noise performance of various embodiments.
Table 1 shows DCO code variation for various cases, where less variation in the digital code is better, indicative of tighter timing control. Table 1 shows performance for integral clock division (with division by 40) and fractional division by 40+1/64. Conventionally, code variation of 107 is exhibited with fractional operation, which is worse than code variation of 6 with integral operation. With a cancellation loop alone, code variation is reduced to 9, and with cancellation and calibration loops in accordance with various embodiments, code variation is reduced to 4. Thus, phase noise is reduced by 20 log(107/4)=28.55 dBc/Hz by the various disclosed embodiments. Power consumption is less than 2 mW with the various embodiments. Additionally, the use of a correction loop in various embodiments mitigates undesirable spurs. Thus, various embodiments advantageously provide superior performance in terms of phase noise and spurs relative to the prior art, provide increased efficiency in terms of power, area, and speed, and provide reduced circuit complexity.
The above illustrations provide many different embodiments for implementing different features. Specific embodiments of components and processes are described to help clarify the invention. These are, of course, merely embodiments and are not intended to serve as limitations beyond those described in the claims.
Although embodiments are illustrated and described herein in one or more specific examples, embodiments are nevertheless not intended to be limited to the details shown, since various modifications and structural changes may be made therein without departing from the spirit of the embodiments and within the scope and range of equivalents of the claims.
Number | Name | Date | Kind |
---|---|---|---|
5727038 | May et al. | Mar 1998 | A |
7279990 | Hasegawa | Oct 2007 | B2 |
7928888 | Chiu et al. | Apr 2011 | B1 |
8031008 | Wang et al. | Oct 2011 | B2 |
20030006750 | Roberts et al. | Jan 2003 | A1 |
20040223576 | Albasini et al. | Nov 2004 | A1 |
20090041172 | Kim et al. | Feb 2009 | A1 |
20090147902 | Liu et al. | Jun 2009 | A1 |
20090237131 | Shin | Sep 2009 | A1 |
20090302958 | Sakurai et al. | Dec 2009 | A1 |
20100013532 | Ainspan et al. | Jan 2010 | A1 |
20100264993 | Wang et al. | Oct 2010 | A1 |
20110084863 | Chiu et al. | Apr 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20120056769 A1 | Mar 2012 | US |