BACKGROUND
1. Field of the Invention
The present invention is related to data converters and more particularly to digital-to-analog converters.
2. Description of the Related Art
In general, a digital-to-time converter is a digital-to-analog data converter that generates an output signal having a period or edge delay based on a digital control word and a reference clock signal. For example, a clock divider circuit is a digital-to-time period converter that generates an output clock signal based on a reference clock signal and a digital control word indicating a divide ratio (e.g. an integer divide ratio or a fractional divide ratio). The analog output is the period of the output clock signal. The output clock period is based on the digital control word and the clock period of the reference clock signal. The output clock signal has a digitally-defined, full-scale range and a least-significant bit clock period.
A typical integer clock frequency divider is a digital-to-time period converter that generates an output clock signal having a period based on an integer multiplication of the input clock period and has a static and bounded quantization error and random jitter based on thermal noise. The fractional clock frequency divider is a dithering modulus clock frequency divider generating output clock signals having an average output clock period that is based on a fractional multiplication of the input clock period. A particular digital control word has an integer portion and a fractional portion. The dithering modulus clock divider provides a noise-shaped integer control signal to an integer clock divider that receives a reference clock signal. The noise-shaped integer control signal dithers between integer clock divider values causing the integer divider to generate an output clock signal having a period that, on average, is the target fractional clock period. The analog quantization error of the dithering noise-shaped integer control signal causes substantial deterministic jitter that dominates the jitter performance.
Digital-to-time period converters are used in clock synthesizer applications. Integer-based PLLs have been used extensively in clock multiplication applications that demand superior spurious performance. In order to generate fractional output frequencies, a prescaler digital-to-time converter (DivP) is used in the reference path of the PLL while a separate digital-to-time converter is used in the feedback path (DivN). In this way, the reference clock frequency can be multiplied by N/P. While this technique has proved useful in industry, the frequency resolution supported by the clock multiplier directly constrains the maximum achievable bandwidth to about fref/(10×P). As a result, the system is more dependent on voltage-controlled oscillator phase noise performance which can often translate into higher power consumption. In addition, the low loop bandwidth of the clock synthesizer reduces its usefulness in data communication applications to supporting significantly lower data rates than might otherwise be desired.
Referring to FIG. 1, an exemplary clock synthesizer utilizes phase-locked loop (PLL) 100, which includes a phase/frequency detector 102, a charge pump loop filter 104, and a voltage-controlled oscillator (VCO) 106. Voltage controlled oscillator 106 may be implemented as a ring oscillator, an LC oscillator, or other suitable oscillator structure. Phase/frequency detector 102 receives reference clock signal ckin, which may be provided by a fixed source, such as a crystal oscillator, a microelectromechanical structure (MEMS) oscillator, or other suitable source. Fractional divider 108 introduces a digital quantization error that causes phase noise (i.e., jitter) in the feedback clock signal, ckfb. For example, ckfb may have jitter of up to one cycle of the VCO output ckvco.
A reference signal having a frequency fin supplied to PLL 100 is multiplied based on a divider value to generate a synthesized clock signal ckvco. Frequency fout of the output clock signal, ckout, can be determined by a divider value Dfb of the feedback divider in the PLL, and in embodiments including output divider 110, a divider value Dout of output divider 110:
The feedback divider includes a digital-to-time converter that may be a fractional-N feedback divider 108 that receives clock signal ckvco as the reference clock signal and digital control word Dfb. Digital control word Dfb is a divide value sequence of integers corresponding to a target fractional divider ratio. The synthesized clock signal ckvco may be further divided by an output divider, which may be an integer clock divider including a digital-to-time period converter that generates the output clock signal ckout based on clock signal ckvco as the reference clock signal and integer divide value Dout. In applications with demanding spur specifications, another integer clock divider (not shown) receives an input clock and a divide value Din and generates reference clock signal ckin provided to phase frequency detector 102. Note that in such embodiments an integer clock divider may be used instead of fractional divider 108 and Din, Dfb, and Dout have integer values to generate output clock signal ckout a signal having a frequency:
However, an input integer divider provides frequency resolution at the expense of phase noise. Using a fractional-based digital word for Dfb and fractional divider 108 instead of an integer input divider and an integer feedback divider, supports higher output frequency resolution. The PLL behaves like a digital-to-analog converter reconstruction filter and reduces or eliminates high-frequency quantization noise. The higher PLL bandwidths improve VCO noise suppression but introduce deterministic jitter.
As the frequencies of ckin and ckout increase, the target clock period decreases and jitter introduced by the digital-to-time converter circuits become a larger fraction of the target clock period, thereby causing output clock signals from conventional clock synthesizer designs to fail to meet target performance specifications. Accordingly, improved techniques for digital-to-time conversion are desired.
SUMMARY OF EMBODIMENTS OF THE INVENTION
In at least one embodiment of the invention, an apparatus includes a digital-to-time converter. The digital-to-time converter includes a first node, a second node configured to receive a reference signal, and a digital-to-analog signal converter configured to couple a passive impedance to the first node. The passive impedance is selected according to the digital code. The digital-to-time converter also includes a first switch configured to selectively couple the first node to a second reference signal in response to an input signal and a comparator configured to generate the output signal based on a first signal on the first node and the reference signal on the second node. Edges of the output signal may correspond to the input signal edges linearly delayed based on the digital code. The digital-to-time converter may include a second switch configured to selectively couple the first node to a third reference signal in response to a first control signal. The first node may be charged to a reset voltage level in response to the first control signal closing the second switch. The first node may be charged to a pedestal voltage level according to the passive impedance and in response to the first and second switches being open. The digital-to-analog signal converter may introduce a pedestal voltage to the first node after a reset phase. An active phase of a first control signal may couple the first node to the second reference signal, causing the first node to charge to a first voltage level. An active phase of the input signal may couple the first node to the reference signal, causing the first node to charge to a second voltage level, the second voltage level being greater than a voltage level on the second node, and the voltage level on the second node being greater than the first voltage level. The digital-to-analog signal converter may include a plurality of elements configured to receive the digital code. The digital code may have a plurality of bits. Each of the plurality of elements may include an inverter configured to receive a corresponding bit of the plurality of bits and a capacitor coupled in series between the inverter and the first node. The input signal and the digital code may be generated by a frequency divider according to a divide code and a reference clock signal. The input signal may be a frequency-divided version of the reference clock signal and the digital code may be an associated digital quantization error. The digital-to-time converter may be configured as a subrange data converter with respect to an integer frequency divider configured to generate the input signal and the digital code based on an input clock signal and a digital divider code. The digital-to-time converter may be configured to sample-and-hold the input signal in a time-to-digital signal converter. The digital-to-time converter may be included in an output path of a clock synthesizer circuit. The circuit may be included in a feedback loop of a phase-locked loop.
In at least one embodiment of the invention, a method includes establishing a first voltage level on a first node. The method includes changing the voltage on the first node from the first voltage level to a second voltage level according to a digital code and at a predetermined slew rate. A switching threshold voltage level is between the first voltage level and the second voltage level. The method includes generating an output voltage signal based on a comparison of the voltage on the first node to the switching threshold voltage level. The output signal has an edge delayed from a corresponding edge of an input signal based on the digital code. Establishing the first voltage level may include selectively coupling the first node to a reset voltage having the first voltage level. Changing the voltage may include changing the voltage on the first node from the first voltage level to a second voltage level according to the digital code and changing the voltage on the first node from the second voltage level to a third voltage level in response to the input signal. Changing the voltage on the first node may include generating a current by selectively opening and closing a switch coupled to a switched capacitor resistor at a predetermined frequency. The method may include generating the input signal and the digital code based on a reference clock signal and a digital divider code. The method may include calibrating a gain of the digital-to-time delay conversion signal based on the output signal and a delayed version of the input signal.
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
FIG. 1 illustrates a functional block diagram of an exemplary system for generating a clock signal using fractional frequency synthesis.
FIG. 2 illustrates a functional block diagram of an exemplary system for generating a clock signal using an interpolative divider.
FIG. 3 illustrates a functional block diagram of an exemplary interpolative divider of FIG. 2.
FIG. 4 illustrates timing waveforms for the exemplary interpolative divider of FIG. 3.
FIG. 5 illustrates a circuit diagram of a digital-to-time converter cell of an exemplary phase interpolator of FIG. 3.
FIG. 6 illustrates a circuit diagram of a digital-to-time converter cell of an exemplary phase interpolator of FIG. 3.
FIG. 7 illustrates timing waveforms for the exemplary digital-to-time converter cell of FIG. 5.
FIG. 8 illustrates a circuit diagram of an exemplary slew rate based delay control digital-to-time converter cell.
FIG. 9 illustrates timing waveforms for the exemplary slew rate based delay control digital-to-time converter cell of FIG. 8.
FIG. 10 illustrates a circuit diagram of an exemplary reset voltage based delay control digital-to-time converter cell consistent with at least one embodiment of the invention.
FIG. 11 illustrates timing waveforms for the exemplary reset voltage based delay control digital-to-time converter of FIG. 10.
FIG. 12 illustrates a circuit diagram of an exemplary pedestal voltage based delay control digital-to-time converter consistent with at least one embodiment of the invention.
FIG. 13 illustrates a circuit diagram of an exemplary capacitive based voltage digital-to-analog converter circuit of FIG. 12.
FIG. 14 illustrates timing waveforms for the exemplary pedestal voltage based delay control digital-to-time converter of FIG. 12.
FIG. 15 illustrates an exemplary voltage-to-current generator circuit including a switched-capacitor resistor of the exemplary pedestal voltage based delay control digital-to-time converter of FIG. 12.
FIG. 16 illustrates an exemplary voltage-to-current generator circuit of the exemplary pedestal voltage based delay control digital-to-time converter of FIG. 12.
FIG. 17 illustrates a functional block diagram of an exemplary digital-to-time converter and gain calibration system consistent with at least one embodiment of the invention.
FIG. 18 illustrates an exemplary edge generation circuit of FIG. 17 consistent with at least one embodiment of the invention.
FIG. 19 illustrates a functional block diagram of an exemplary time-to-digital converter and analog gain calibration system consistent with at least one embodiment of the invention.
FIG. 20 illustrates a functional block diagram of an exemplary time-to-digital converter and digital gain calibration system consistent with at least one embodiment of the invention.
FIG. 21 illustrates a functional block diagram of an exemplary phase interpolator and phase interpolator gain calibration circuit consistent with at least one embodiment of the invention.
FIG. 22 illustrates a functional block diagram of exemplary time reference generator circuits of FIG. 21 consistent with at least one embodiment of the invention.
FIG. 23 illustrates timing waveforms for the exemplary phase interpolator and phase interpolator gain calibration circuit and time reference generator circuits of FIGS. 21 and 22.
FIG. 24 illustrates a functional block diagram of an exemplary phase interpolator and phase interpolator gain calibration circuit consistent with at least one embodiment of the invention.
FIG. 25 illustrates timing waveforms for the exemplary phase interpolator and phase interpolator gain calibration circuits of FIGS. 21 and 24.
FIG. 26 illustrates a functional block diagram of an exemplary phase interpolator and phase interpolator gain calibration circuit consistent with at least one embodiment of the invention.
FIG. 27 illustrates a functional block diagram of an exemplary gain error detection and correction circuit consistent with at least one embodiment of the invention.
FIG. 28 illustrates a functional block diagram of an exemplary gain error and skew detection and correction circuit consistent with at least one embodiment of the invention.
FIG. 29 illustrates a functional block diagram of an exemplary gain error detection and correction circuit consistent with at least one embodiment of the invention.
FIG. 30 illustrates a functional block diagram of an exemplary gain error detection and correction circuit including a bang-bang phase detector consistent with at least one embodiment of the invention.
FIG. 31 illustrates a functional block diagram of an exemplary gain error detection and correction circuit including pre-charge voltage buffers consistent with at least one embodiment of the invention.
FIG. 32 illustrates a functional block diagram of an exemplary gain error detection and correction circuit having reduced charge sharing consistent with at least one embodiment of the invention.
FIG. 33 illustrates a functional block diagram of an exemplary time interleaving interpolative divider consistent with at least one embodiment of the invention.
FIG. 34 illustrates a functional block diagram of an exemplary time-to-digital converter consistent with at least one embodiment of the invention.
FIG. 35 illustrates a functional block diagram of an exemplary successive approximation time-to-digital converter consistent with at least one embodiment of the invention.
FIG. 36 illustrates a functional block diagram of an exemplary high-resolution time-to-digital converter consistent with at least one embodiment of the invention.
The use of the same reference symbols in different drawings indicates similar or identical items.
DETAILED DESCRIPTION
A technique that reduces control voltage ripple without narrowing the bandwidth of the PLL in a clock synthesizer uses a time-domain digital-to-analog converter (i.e., digital-to-time converter) in series with a dynamic feedback divider. Similar to the current-mode phase interpolation technique, the time-domain digital-to-analog converter receives an error residue that attempts to adjust for phase errors introduced by the dynamic feedback divider. This approach addresses the phase error early in the signal path, causes the downstream phase detector and associated charge pump loop filter circuitry of the PLL to see a much smaller signal, and as a result, operate more linearly than other implementations.
Referring to FIGS. 1 and 2, a technique for reducing jitter in PLL 100 includes delay-based quantization noise cancellation. The technique includes adjusting the phase of the frequency-divided signal at the output of a fractional divider, according to an error control signal DQ, generated by fractional divider 108. The technique applies the error control signal DQ to phase interpolator 204 and performs the subtraction in the time domain. Accordingly, any linearity requirement imposed by the quantization noise cancellation is limited to phase interpolator 204. This technique reduces phase errors seen by the front-end of PLL 200 (e.g., phase detector 102) as compared to the phase errors seen by the front-end of PLL 100. In addition, ratio-metric techniques may be used to reduce phase interpolator gain error. Moreover, the delay-based quantization noise compensation is easily adapted to output divider configurations. Interpolative divider techniques for reducing noise associated with a fractional-N divider are described in U.S. Pat. No. 7,417,510, filed Oct. 17, 2006, entitled “Direct Digital Interpolative Synthesis,” naming Yunteng Huang as inventor, which application is hereby incorporated by reference.
Referring to FIG. 2, interpolative divider 202 includes fractional divider 108 and phase interpolator 204. Fractional divider 108 may include a dithering modulus divider (e.g., a typical first order sigma-delta modulator or higher-order sigma-delta modulator) that generates noise-shaped clock signal ckDMD and digital quantization error signal DQ. Phase interpolator 204 adjusts the phase of clock signal ckDMD according to the digital quantization error signal to reduce error in the feedback clock signal ckfb, thereby introducing a phase adjustment prior to phase/frequency detector 102 of PLL 200. Interpolative divider 202 is a sub-ranging digital-to-time period converter that generates an output signal with an average fractional period resolution. Phase interpolator 204 is a digital-to-time converter that uses digital quantization error signal DQ to divide output quantization noise by up to 2Nfrac, depending on NPI with respect to Nfrac, where NPI is the number of bits by which phase interpolator 204 reduces the quantization noise, Nfrac is the number of bits used to represent the fractional portion of the divide ratio, i.e., the fractional portion bit-width and NPI is less than or equal to Nfrac. Error of phase interpolator 204 limits the resolution of the digital-to-analog conversion of interpolative divider 202.
Referring to FIG. 3, in at least one embodiment, fractional divider 108 of interpolative divider 202 includes finite-state machine 302 that generates digital code DN, which dithers between different divide values, and an associated digital quantization error signal DQ. Counter 304 generates a gating signal that is used to select and stretch pulses of clock signal ckref (e.g., by digitally gating clock signal ckref with the gating signal using AND-gate 306 or other suitable logic circuit) to generate clock signal ckDMD.
Ideally, the phase interpolator transfer function, i.e., the output time delay as a function of digital quantization error signal DQ, is:
TPI(DQ)=TPI,DACTPI,OS
where
and TPI,OS is an output delay offset. The output delay offset is not a function of digital quantization error signal DQ, but rather is affected by environmental factors, and may be assumed to be zero with respect to deterministic jitter. The full-scale range of the phase interpolator delay is ideally one dithering modulus divider bit, i.e., one least-significant bit of digital code DN, which corresponds to reference clock period Tref, which is one period of reference clock ckref. For example, for a two-bit phase interpolator, digital quantization error signal DQ may have values 00, 01, 10, and 11, which correspond to discrete TPI,DAC values of 0, Tref/4, 2×Tref/4, and 3×Tref/4. A delay of 4×Tref/4 corresponds to an entire period of reference clock signal ckref, i.e., reference clock period Tref. The phase interpolator error includes difference in phase interpolator output from the expected discrete TPI,DAC values. The component of phase interpolator error that is linearly related to digital quantization error signal DQ is referred to as gain error and a component of phase interpolator error that is randomly related to digital quantization error signal DQ is referred to as mismatch error. In addition, higher order gain error may be present (e.g., systematic non-linearities). Both gain error and mismatch error affect peak-to-peak deterministic jitter.
Referring to FIGS. 3 and 4, for an exemplary fractional divide ratio of 3.5, Dperiod=(11.10)2, the noise-shaped integer divider value, digital code DN dithers between 3 and 4 and the digital quantization error signal DQ dithers between 2Nfrac-1 and 0. Integer divider 110 generates clock signal ckDMD that has a period of three times the period of reference clock signal ckref when digital code DN=3 (e.g., between time t1 and t2) and has a period of four times the period of reference clock signal ckref when digital code DN=4 (e.g., between times t2 and t3). Then, phase interpolator 204 delays the edge of clock signal ckDMD according to the digital quantization error signal to generate output clock signal ckout, having a period that is 3.5 times the period of reference clock signal ckref. Note that the period between times t1, and t′2, the period between times t′2 and t3, and the period between times t3 and t′4 is 3.5 times the period of reference clock signal ckref. However, the output duty cycle of output clock signal ckout is not 50%. In at least one embodiment, a divide by two may be used to generate an output signal having a 50% output duty cycle. The deterministic jitter of clock signal ckDMD at t2 and t4 is half of reference clock period, Tref/2 and is cancelled by phase interpolator 204.
As discussed above, a typical phase interpolator circuit is a digital-to-time converter that delays an input edge signal to generate an output edge signal based on an analog reference signal (e.g., a voltage, current) and digital control word DQ indicating the amount of delay to be applied. The full-scale range and least significant bit delay tend to be determined by analog components. Referring to FIGS. 5 and 7, in typical unit cell 500 of a digital-to-time converter, in response to a reset control signal, capacitor Cs is coupled to reference voltage Vrst to store an initial charge on capacitor Cs, which resets the voltage on node Vs to the level of reference voltage Vrst. In response to the reset signal being deasserted and a slew control signal being asserted, the charge stored by capacitor Cs increases by charge delivered from current source Is. When the voltage on node Vs reaches trip voltage Vt of comparator 508, at time ttrip, the comparator output signal transitions, e.g., from low to high, generating a rising edge of ckout. The time that it takes for node Vs to charge from reference voltage Vrst to trip voltage Vt is time delay Tdelay. Note that comparator delay Tcomp ideally has no dependence on the control code and introduces negligible deterministic jitter. Time delay Tdelay of delay cell 500 is typically controlled by adjusting the slew rate of the voltage on node Vs. Referring to FIG. 6, in at least one embodiment, delay cell 500 includes an inverter-based comparator and the reference voltage is derived from the trip-point of inverter 510 and no additional trip voltage is needed. Note that since low frequency noise affects charge stored on capacitor Cs, an auto-zeroing technique (e.g., correlated double sampling) is used to effectively reduce or eliminate flicker noise.
Referring to FIGS. 8 and 9, the slew rate of the voltage on node Vs of unit cell 700 of a digital-to-time converter may be changed by selectively adjusting one or more of the current output by current source 702 or the capacitance Cs of capacitor 704. When controlling the current provided by current source 702 based on digital control word DQ, individual current sources ILSB may be enabled to obtain:
Note that in this case, time delay TPI is a non-linear function of digital control word DQ. For the greatest value of digital control word DQ, the slew rate is the fastest, the trip voltage is reached soonest, at time ttrip1, and the delay of the rising clock edge of ckout is the smallest, as illustrated by Vs(t) curve 802. For the smallest value of digital control word DQ, the slew rate is the slowest, the trip voltage is reached latest at time ttrip3 and the delay of the rising clock edge of output clock signal ckout is the greatest, as illustrated by Vs(t) curve 806. The code-dependent slew rate results in a complex gain variability that may be difficult to calibrate. Controlling the slew rate using selectively enabled current sources, in particular, is susceptible to substantial random mismatch due to use of active devices, and trades off deterministic jitter with random jitter.
When controlling slew rate by varying target capacitance Cs, individual capacitors CLSB may be selectively coupled via switches to obtain the target capacitance Cs and thus a target delay period:
Note that TPI(DQ) is a linear function of digital control word DQ.
However, variable slew rate affects the delay of the voltage comparator that receives signals from this node and, ultimately, causes nonlinearity in the delay control. While nonlinearity of a digital-to-time converter may be acceptable in some applications, other applications, such as frequency synthesis, are not as tolerant. Therefore, it is desirable to eliminate variable slew rate as a source of error. Although trim at production test can reduce or eliminate gain error at a particular temperature and age, variation over temperature and age will ultimately degrade performance. Accordingly, high performance applications require active gain error calibration, which substantially increases complexity.
Rather than use a variable slew rate delay cell, a digital-to-time converter includes a fixed slew rate delay cell. It is desirable to maintain a constant slew rate as an input node passes through a trip point of the voltage comparator. By changing the initial voltage, Vinitial, on a fixed capacitor, Cslew, and then initiating slewing with a constant current, Islew, a variable delay element whose delay depends on
is formed. If this initial voltage level is sufficiently far away from the comparator trip point voltage level, then the digital-to-time converter should have minimal modulation of comparator delay and, therefore, a more linear delay versus control characteristic. Various different techniques may be used to realize the initial capacitor voltage. An exemplary digital approach uses a capacitor digital-to-analog converter. In addition, by deriving the slewing current from a voltage-to-current generator loaded by a switched-capacitor resistor, a difference in delay between digital-to-analog converter codes will be ratio-metric to capacitance. Furthermore, a current generator that uses a voltage that is proportional to the voltage reference used by the capacitor digital-to-analog converter causes the difference in delay between digital-to-analog converter codes to be ratio-metric in voltage and proportional to the frequency used to drive the switched-capacitor resistor. Thus, the difference in delay between any two digital-to-analog converter codes will, using ideal elements, be directly proportional to the difference in codes used. Note that conversion gain from voltage-to-time delay may also be trimmed by adjusting the capacitance and/or voltage ratio. Other noise-shaping techniques such as chopping, auto-zeroing, delta-sigma modulation, dynamic element matching (either white or high-pass noise-shaped), and current-copier mirroring techniques may be used to further improve upon the accuracy of the design depending on the application.
Referring to FIGS. 10 and 11, digital-to-time converter 900 includes constant current source 502, which provides constant current IS, and predetermined capacitor 506, which provides constant capacitance CS. Digital-to-time converter 900 is configured to generate a selectively controllable reset voltage, Vrst based on a digital control word DQ and reference voltage Vref. During a first time interval, e.g., the time interval during which the reset control signal closes switch 504 and evaluate control signal ckDMD opens switch 507, digital-to-time converter 900 applies reset voltage Vrst to charge fixed capacitor CS to a level determined according to a particular reset voltage level selected based on digital control word DQ. Note that the digital control word DQ may include multiple bits having digital voltage levels that are thermometer coded, binary coded, or coded using other suitable techniques. During a second time interval, switch 504 is open according to the reset control signal and switch 507 is closed according to clock signal ckDMD. Digital-to-time converter 900 applies the constant current generated by current source 502 to node Vs, causing the voltage level on node Vs to increase from the selected reset voltage level to a second level, Vc, with linear delay control, as illustrated by Vs(t) curves 1002, 1004, and 1006 for increasing digital control word DQ and decreasing Vrst. The resulting phase interpolator delay is:
where
Digital-to-analog converter 902 of digital-to-time converter 900 may include passive elements (e.g., resistors and capacitors) that are easily matched by manufacturing techniques. In at least one embodiment, digital-to-time converter 900 includes only one current source and one slew control switch, which reduces or eliminates code-dependent switching errors. Digital-to-time converter 900 includes comparator 508 having a simple, fixed, code-independent delay. However, the code-dependent reset charge injection of digital-to-time converter 900 may cause complex gain and non-linear current variations.
To address the reset charge injection of digital-to-time converter 900, digital-to-time converter 1100 has a code-independent charge injection topology as illustrated in FIGS. 12-14. Digital-to-time converter 1100 includes comparator 508 having a simple, fixed, code-independent delay. After a reset interval charges node Vs to a fixed reset voltage Vrst, digital-to-time converter 1100 subtracts a fixed pedestal voltage Vped from that reset voltage on node Vs to provide code-independent charge injection. As a result, digital-to-time converter 1100 provides a ratio-metric topology having linear delay control and code-independent charge injection. Accordingly:
where
Digital-to-analog converter 1102 may include capacitor-based units that provide improved matching over current source-based units of other phase interpolator topologies. Since digital-to-time converter 1100 uses code-independent reset charge injection, phase interpolator errors due to charge injection are reduced or eliminated. For all values of digital control word DQ, digital-to-analog converter 1102 charges the voltage on node Vs to the same, predetermined reset voltage level. In response to deassertion of the reset control signal, digital-to-analog converter 1102 applies a pedestal voltage to the sense node of comparator 508 according to digital control word DQ. In at least one embodiment, digital-to-analog converter 1102 logically combines digital control word DQ with the reset control signal to generate a gated version of digital control word DQ, Dcap, individual bits of which are coupled to corresponding bit cells 1204, 1206, and 1208 for proper pedestal voltage generation following the reset phase. In at least one embodiment of digital-to-analog converter 1102, each of the bit cells 1204 includes corresponding inverter 1210 and corresponding pedestal capacitor 1212 that separately charges or discharges the sense node to realize a combined voltage on the sense node of Vrst−Vped(DQ). As DQ increases, Vped(DQ) increases, thereby increasing the time between the slew start time tstart to the trip point ttrip of comparator 508 and thus increasing the delay of ckout. For example, DQ associated with Vped1 and ttrip1 is less than the value of DQ associated with Vped2 and ttrip2 and the value of digital control word DQ associated with Vped3 and ttrip3, as illustrated by corresponding Vs(t) curves 1302, 1304, and 1306, respectively.
Referring to FIG. 15, in at least one embodiment of a digital-to-time converter, current source 502 is a ratio-metric voltage-to-current converter. Current source 502 generates a fixed current using switched-capacitor resistor 1410 controlled by reference clock signal ckR. Switched-capacitor resistor 1410 is used instead of an integrated circuit resistor for ratio-metric operation of the digital-to-time converter (e.g., phase interpolator). The resistance is a function of the reference clock, which is provided by a high precision frequency source (e.g., accurate within a few parts per million). Current source 502 provides a constant current IS using precision current mirror techniques:
IS=fRCRVref,
where CR is the capacitance of a capacitor in switched-capacitor resistor 1410 and fR is the frequency of reference clock signal ckR. Ratio-metric operation is achieved by using the same reference voltage Vref used by digital-to-analog converter 1102. If the period of the reference clock TR is set to be equal to Nref×Tref, and the capacitor is trimmed to have CR=NrefCS (assuming a current mirror ratio of one) then:
Trimming may reduce or eliminate gain error at production test although variation due to environmental factors remains. Current-copier techniques may also be used to reduce or eliminate current mirror errors. Increasingly ratio-metric behavior that reduces deterministic jitter and random jitter may be achieved by deriving Vt and Vrst from Vref. In at least one embodiment of current source 502, the current IS may be digitally controlled according to the value of digital current control signal Dmirror, which may be a binary coded-signal or a thermometer-coded signal that selectively enables devices within current mirror 1405 to generate a current IS having a corresponding level. The resistance of resistor 1407 may be trimmed to reduce or eliminate gain error of an associated digital-to-time converter with respect to temperature variation. For example, resistor 1407 includes resistances having different temperature coefficients (e.g., p-type or n-type polysilicon resistors, p-type or n-type diffusion resistors, metal resistors, or other suitable resistors). The resistance of resistor 1407 may be selectable according to digital temperature sensitivity control signal Dtemp. Selectively controlling current and temperature sensitivity may be used to reduce or eliminate gain errors of the digital-to-time converter as a function of temperature alone or in conjunction with other gain calibration techniques.
The techniques described above may result in a residual phase error primarily due to the quantization error resulting from the digital-to-time converter and the noise of the system. The quantization error may be due to data converter non-idealities such as offset, gain error, and integral nonlinearity. While offset is not detrimental to clock synthesizer applications, addressing gain error and integral nonlinearity are critical to spurious performance. Background calibration of the digital-to-time converter, described below, addresses gain error with the assumption that the native integral nonlinearity of the converter is acceptable.
Techniques for background calibration of the digital-to-time converter gain error may be used. Note that, while the calibration may be performed digitally, hardware requirements and associated power consumption may be impracticable for low cost and/or low power applications. As described above, the digital-to-time converter and dithering modulo divider form a true fractional divider. In typical usage, the fractional divider is always driving edges into the phase detector of the PLL. However, since signal edges only occur every PLL reference clock period (e.g. 20 ns for a 50 MHz clock), calibration circuitry may perform operations between edges. Therefore, by monitoring the gain of the digital-to-time converter of the phase interpolator in the background between PLL reference clock edges, error detection and correction circuitry may reduce or eliminate gain error using analog techniques.
In at least one embodiment, a gain calibration technique exploits linearity of the digital-to-analog converter of the phase interpolator described above. Systematic nonlinearity may be reduced or eliminated with disciplined unit cell design. Use of simple capacitor-based units have reduced random mismatch as compared to units including transistors or other non-linear devices. Use of active gain error calibration reduces overhead hardware and design complexity. In addition, a target refresh rate of the calibration is independent of a divide ratio. In at least one embodiment, since the digital-to-analog converter is inactive following phase interpolator edge transmission, phase interpolator calibration is performed between edge transmissions. In at least one embodiment, the calibration technique is addressed at the block level, e.g., locally for each phase interpolator. Local calibration facilitates system integration, duplication, and design reuse.
Referring to FIG. 17, a technique for compensating for a gain error of a digital-to-time converter of a phase interpolator generates a gain control signal Gref that is fed back to the digital-to-time converter 1650. Digital-to-time converter 1650 generates output analog signal t′out based on a digital input signal D′in. During evaluation intervals (i.e., when calibration is not enabled, e.g., intervals during which cal=‘0’), selection module 1654 provides digital signal Din as digital input signal D′in. During background calibration intervals (e.g., intervals during which cal=‘1’) selection module 1654 provides a calibration digital signal Dcal as digital input signal D′in. Referring to FIGS. 17 and 18, edge generator 1520 provides clock signal tref and calibration clock signal tcal, both generated with the same delay to reference clock signal ckref. Clock signal tref is used by digital-to-time converter 1650, e.g., as evaluate control signal ckDMD of digital-to-time converter including unit cell 700 of FIG. 8, digital-to-time converter 900 of FIG. 10, or digital-to-time converter 1100 of FIG. 12. Referring back to FIGS. 17 and 18, calibration clock signal tcal vacillates between a low value that corresponds to a minimum delay and a high value that corresponds to a minimum delay plus one full reference clock signal ckref period delay (e.g., generated using delay element 1522, which may be a flip-flop or other element providing a suitable delay) according to the value of delay control signal Ddelay.
In at least one embodiment, edge generator 1520 provides calibration clock signal tref based on reference clock signal ckref and gating clock signal gate, which is a frequency-divided version of reference clock signal ckref (e.g., frequency-divided by N). Accordingly, calibration clock signal tcal includes a stream of pulses occurring when calibration is enabled. Individual pulses of the stream alternate between pulses having edges that nominally correspond to edges of pulses of clock signal tref and pulses having edges that nominally correspond to edges of tref delayed by an entire period of reference clock signal ckref, which will be described further below with reference to FIGS. 20-24, where tref, tcal, and t′out of FIGS. 17 and 18 correspond to clock signals ckDMD, ckD, and ckPI, respectively, of FIGS. 21-25.
Referring back to FIGS. 17 and 18, gain adjustment generator 1652 may provide output clock signal t′out as output clock signal tout during evaluation intervals. When performing background calibration, gain adjustment generator 1652 generates an analog gain adjustment that is fed back to digital-to-time converter 1650 to compensate for gain error of digital-to-time converter 1650.
Referring to FIG. 19, the gain calibration techniques described herein with regard to digital-to-time converters may be applied to time-to-digital converters that include a digital-to-time converter. For example, the techniques may be adapted to generate an analog gain adjustment Gref that is fed back to the time-to-digital converter 1750 to compensate for gain error of time-to-digital converter 1750. Time-to-digital converter 1650 generates output digital signal D′out based on an analog input signal t′in. During evaluation intervals (i.e., when calibration is not enabled, e.g., intervals during which cal=‘0’), selection module 1754 provides analog signal tin as t′in. During background calibration intervals (e.g., intervals during which cal=‘1’), selection module 1754 provides a calibration analog signal tcal. In at least one embodiment of the gain calibration technique, gain adjustment generator 1752 generates a digital gain adjustment that is internally applied to the output digital signal D′out to generate adjusted output digital signal Dout (FIG. 20).
In at least one embodiment of the calibration technique, the digital-to-time converter is a phase interpolator configured to generate phase interpolator output ckPI, based on clock signal ckDMD, which is the output of a fractional divider (e.g., the output of feedback clock signal ckfb or output clock signal ckout output by respective phase interpolators 204 responsive to respective fractional dividers 108 of corresponding interpolative dividers 202 of FIGS. 2 and 3). Referring to FIG. 21, error detection and correction module 1508 generates gain control signal gctrl based on phase interpolator output ckPI and feeds back gain control signal gctrl to phase interpolator 1506 to compensate for gain error of phase interpolator 1506. Delay module 1504 is a delay matching module that matches the delay of the phase interpolator 1506 such that delayed reference signal ckD is delayed by the same amount as phase interpolator output ckPI (e.g., delay introduced by comparator 508 of digital-to-time converter 1100 of FIG. 12) in the minimum delay condition (e.g., delay control signal DPI equals zero).
Referring back to FIG. 21, error detection and correction module 1508 compares edges of the output of phase interpolator 1506 (i.e., phase interpolator output ckPI generated during calibration intervals), and the output of delay module 1504, delayed reference signal ckD, generated during calibration intervals to determine the gain error. Delay module 1504 receives pulses for error detection as calibration timing reference signal ckCDTC. During evaluation intervals (e.g., intervals during which cal=‘0’) during which phase interpolator 1506 transmits delayed edges, calibration timing reference signal ckCDTC may be static and does not transition. Calibration digital-to-time converter 1502 generates the calibration timing reference signal ckCDTC based on a reference clock signal ckref and a delay control signal Ddelay. When in calibration intervals (e.g., intervals during which cal=‘1’), calibration digital-to-time converter 1502 delays the same, or related, gate signal as is used to derive clock signal ckDMD based on delay control signal Ddelay to generate timing reference signal ckCDTC.
In at least one embodiment of phase interpolator 204, delay control signal Ddelay vacillates between a low value that corresponds to a minimum delay and a high value that corresponds to a minimum delay plus one full ckref period delay (e.g., a delay generated using delay element 1612 for a delay equivalent to DPI=2NPI) or an entire least-significant bit of FDIV. Accordingly, the output of calibration digital-to-time converter 1502 is a timing reference signal ckCDTC that is a stream of pulses occurring when calibration is enabled. Individual pulses of the stream alternate between pulses having edges that nominally correspond to edges of pulses of clock signal ckDMD and pulses having edges that nominally correspond to edges of ckDMD delayed by an entire period of ckref. Although illustrated using rising edges of ckref, other embodiments generate calibration timing reference signal ckCDTC based on falling edges of ckref.
Referring to FIGS. 21 and 22, divider 110 generates a clock signal ckDMD, having pulses with periods that vacillate between different clock periods to generate the reference timing signal for both calibration and evaluation intervals having a period based on the integer value DN. For example, during the interval between time t1 and time t2, clock signal ckDMD has a period according to integer value DN in an evaluation mode (i.e., a transmit mode) corresponding to a clock signal being generated by the target application (e.g., the value of DN corresponds to three periods of ckref). During a calibration interval, e.g., the interval between time t2 and time t3, clock signal ckDMD includes a pulse (e.g., rising edge) with a period according to integer value DN corresponding to a clock signal being generated for use during the calibration interval (e.g., integer value DN corresponds to four periods of ckref). In at least one embodiment of phase interpolator 204, multiplexer 1503 spreads a binary or otherwise coded delay control signal Ddelay to a number of bits corresponding to the number of unit delay cells included in phase interpolator 1506. For example, when Ddelay=‘0,’ and NPI=2, then phase interpolator 1506 has four unit cells (one of which is in addition to unit cells corresponding to bits output by multiplexer 1503 and which is driven by the output of a logical AND of Ddelay and cal), then DPI=‘0000,’ and when delay control signal Ddelay=‘1,’ then DPI=2NPI=‘1111,’ which corresponds to delaying by an entire period of ckref.
FIGS. 22 and 23, illustrate at least one embodiment of timing reference signal generation. In at least one embodiment, calibration digital-to-time converter 1502 is a single bit digital-to-time converter with a least-significant bit of Tref. When delay control signal Ddelay=0, ckCDTC is delayed from ckDMD by TCDTC(0), which is ideally zero. When delay control signal Ddelay=1, ckCDTC is delayed from ckDMD by TCDTC(1), which is ideally Tref. The calibration codes are time interleaved with the phase interpolator evaluation values as signal DN. Note that in at least one embodiment, corresponding pulse edges of the timing reference signal ckD are generated with a fixed delay amount TD that matches the minimum delay (e.g., DPI=0) of phase interpolator 1506.
In at least one embodiment of a gain calibration technique, a first phase of the gain calibration, delay control signal Ddelay=‘0,’ and error detection and correction module 1508 generates an indication of a time difference between an edge of fixed delay signal ckD and a corresponding edge of phase interpolator output ckPI:
ΔTcal(0)=TPI(0)−[TCDTC(0)+TD].
In a second phase of the gain calibration, Ddelay=‘1,’ and error detection and correction module 1508 generates an indication of a time difference between an edge of delay signal ckD and an edge of phase interpolator output ckPI:
ΔTcal(1)=TPI(2NPI)−[TCDTC(1)+TD].
Error detection and correction module 1508 determines the difference between the two measurements to generate indicator of linear gain error Tγ:
Tγ=ΔTcal(1)−ΔTcal(0)=[TN(2NPI)−TPI(0)]−[TCDTC(1)−TCDTC(0)]=TPI,FS−Tref.
where TPI,FS=[TPI(2NPI)−TPI(0)], and
Tref[TCDTC(1)−TCDTC(0)].
Error detection and correction module 1508 generates gain control signal gctrl based on gain error Tγ. Compensating for linear gain error Tγ, matches the gain of phase interpolator 1506, which is a subrange data converter, to the gain of the fractional divider 108, to obtain a linear transfer function.
Referring to FIGS. 24 and 25, in each calibration phase, phase interpolator 1506 introduces a different delay into clock signal ckDMD to generate phase interpolator output ckPI. When Ddelay=0, clock signal ckDMD is delayed relative to ckCDTC by TPI(0)−TD, which is ideally zero. When Ddelay=1, ckDMD is delayed relative to ckCDTC by TPI(2NPI)−TD, which is ideally Tref. The logical AND of Ddelay and cal control signal introduce an extra least-significant bit to DPI so that the full-scale range may be generated between the two calibration measurements (without this extra bit, the maximum code is 2NPI−1). Note that Tskew=TCDTC(0)+TD−TPI (0). The gain error and correction signal generation of error detection and correction module 1508 may be implemented using digital circuits, analog circuits, or a combination thereof. In at least one embodiment, an analog implementation includes phase detector 1802 and a loop filter 1804, which are configured to generate phase interpolator gain control signal gctrl. In at least one embodiment, digital control within error detection and correction module 1508 includes a time-to-digital converter coupled to a digital loop filter and a gain control signal provided to an auxiliary digital-to-analog converter. In at least one embodiment, an analog phase detector provides signals to an analog loop filter that generates signals provided to phase interpolator auxiliary digital-to-analog converter. Note that during calibration phases, gating circuit 1806 may block propagation of ckPI to ckout.
Rather than delaying both ckD and ckPI in the calibration mode, by applying a delay that vacillates between a low value that corresponds to a minimum delay and a high value that corresponds to a minimum delay plus one full ckref period delay in parallel, in separate paths as described above with reference to FIGS. 21-25, other embodiments of the calibration technique apply the two vacillating delays in series, in the same path, but out of phase with each other. For example, referring to FIG. 26, an embodiment of the calibration technique generates timing reference signal ck′D having a fixed delay. Delay element 1509 and logic gate 1511 generate timing reference signal ck′D. Timing reference signal ck′D lags clock signal ckDMD by one period of reference clock signal ckref. In calibration mode, the technique applies a first vacillating delay to clock signal ck′DMD to generate an input to the phase interpolator. In calibration mode, the phase interpolator applies a second vacillating delay serially to generate the output signal ckPI. The first vacillating delay vacillates between the low value that corresponds to the minimum delay and the high value that corresponds to the minimum delay plus one full period of reference clock signal ckref, and the second vacillating delay vacillates between the high value that corresponds to the minimum delay plus one full period of reference clock signal ckref, and the low value that corresponds to the minimum delay. Accordingly, the first and second vacillating delays introduce a net delay of one full period of reference clock signal ckref. Error detection and correction circuit 1508 generates an indication of a time difference between an edge of fixed delay signal ckD and a corresponding edge of phase interpolator output ckPI:
ΔTcal(0)=[TCDTC(1)TPI(0)]−[Tref+TD].
In a second phase of the gain calibration, Ddelay=‘1,’ and error detection and correction module 1508 generates an indication of a time difference between an edge of delay signal ckD and an edge of phase interpolator output ckPI:
ΔTcal(1)=[TCDTC(0)+TPI(2NPI)]−[Tref+TD].
Error detection and correction module 1508 determines the difference between the two measurements to generate indicator of linear gain error Tγ:
Tγ=ΔTcal(1)−ΔTcal(0)=[TCDTC(0)+TPI(2NPI)]−[TCDTC(1)+TPI(0)]=TPI,FS−Tref.
where TPI,FS=[TPI(2NPI)−TPI (0)], and
Tref=[TCDTC(0)−TCDTC(1)].
When phase interpolator 1506 has the proper gain, TPI,FS=Tref and no additional gain adjustment is needed. Although the fixed delay of Tref introduced into ck′D is not necessary, it may reduce the systematic phase error between fixed delay signal ckD and phase interpolator output ckPI in the calibration mode, which reduces the dynamic range requirements of error detection and correction module 1508.
Referring to FIG. 27, analog error detection and correction module 1508 generates a gain control compensation signal ΔIs,γ that is provided to the current source of the digital-to-time converter of the phase interpolator. During a first calibration interval, delay control signal Ddelay has a first value. Phase detector 2002 generates up and down signals based on a first time difference in phases of reference signal ckD and phase interpolator output ckPI. Charge pump 2004 converts the first time difference into differential charge that is stored on integrating capacitors 2012 and 2014, each having capacitance Cint. The charge pump output is based on the difference between the digital-to-time converter delay at a minimum delay (i.e., DQ=0) and the delay through calibration digital-to-time converter 1502 and delay module 1504. During a second calibration interval, delay control signal Ddelay has a second value. The charge pump output is based on the difference between the digital-to-time converter delay at a maximum delay (i.e., DQ=2NPI) and the delay through calibration digital-to-time converter 1502 and delay module 1504. Phase detector 2002 generates up and down signals based on a second time difference in phases of reference signal ckD and phase interpolator output ckPI. Charge pump 2004 converts the second time difference into a second differential charge, switch 2006 inverts the second differential charge, and stores that inverted difference in charge on integrating capacitors 2012 and 2014. When in the second calibration interval, the track signal causes charge transfer to hold capacitors 2016 and 2018, which updates Vhold. Transconductance amplifier 2008 generates the gain control signal ΔIs,γ, that is used to adjust the slew current to correct for the gain error. Note that switch 2006 facilitates a subtraction function to isolate gain error Tγ from the two measurements. In addition, note that the critical paths are identical between the two measurements. However, note that charge-sharing due to Tskew may cause systematic gain error.
Referring to FIG. 28, in at least one embodiment, in addition to generating gain control signal ΔIs,γ, analog error detection and correction module 1508 also generates a differential skew correction signal, ΔIs,skew, which may be combined with a current source control signal to compensate for the skew between outputs of those two modules. One of the complementary signals (e.g., −ΔIs,skew) of the differential signal is combined with a current source control signal of the phase interpolator 1506 and the other of the complementary signals (e.g., ΔIs,skew) is combined with a current source control signal of delay module 1504. In operation, during a first calibration interval, Ddelay has a first value. Phase detector 2002 generates up and down signals based on a first time difference in phases of reference signal ckD and phase interpolator output ckPI. Charge pump 2004 converts the first time difference into a first differential charge, the track0 signal causes charge transfer of that charge to integrating capacitor 2106. During a second calibration interval, Ddelay has a second value. Phase detector 2002 generates up and down signals based on a second time difference in phases of ckD and ckPI. Charge pump 2004 converts the second time difference into a second differential charge, and the track1 signal causes charge transfer of that charge to integrating capacitor 2108. Differential-to-common mode transconductance amplifier 2008 applies gain control signal ΔIs,γ to adjust the slew current of the phase interpolator. A common-mode-to-differential-mode transconductance amplifier 2014 applies skew correction by differentially applying slew currents of phase interpolator 1506 and delay module 1504 although in other embodiments, all of the skew correction may be applied to the phase interpolator 1506 delay elements or all of the skew correction may be applied to the delay elements of delay module 1504. Note that charge-sharing due to Tγ may cause systematic gain error, charge pump 2004 has a finite output resistance, and supporting a differential voltage, Vint1−Vint0 may cause gain errors. In addition, note that controlling slew current Is affects the control loop for both calibration and evaluation:
Changing the slew current Is controls the gain of the phase interpolator, which is desired, but also affects the skew measurement in a calibration phase (e.g., calibration phase zero, Tskew+TPI(0), which is undesirable.
Referring to FIG. 29, in at least one embodiment, an analog implementation of error detection and correction module 1508 decouples the gain and skew control loops. The gain is corrected by controlling a voltage reference in digital-to-analog converter 2204 of phase interpolator 1506. Error detection and correction module 1508 senses skew only from Vint0. The two integrator loop forces Vint1−Vint0 to within a transconductor offset voltage, which reduces charge sharing error. The charge-sharing error may be further reduced by auto-zeroing the gain control transconductor. In other embodiments, correction of the delay module 1504 may also be implemented using voltage control of a reference voltage. Note that Vgctrl−Vref for trim at production test and upon startup.
Referring to FIG. 30, in at least one embodiment, error detection and correction module 1508 includes bang-bang phase detector 2302 coupled to digital accumulator 2308, and current digital-to-analog converter 2310, which reduces or eliminates Tskew and issues associated with an analog control loop implementation (e.g., charge sharing). Charge pump 2304 and capacitor 2305 are configured as an integrating switched current digital-to-analog converter. The charge pump output may include small up/down charge packets to reduce Vgctrl ripple. However, note that this configuration dithers around on average, causing ripple in the control signal and resulting in quantization noise. In other embodiments, correction of the delay module 1504 may be implemented using a charge pump and integrating switched-current digital-to-analog converter control.
Referring back to FIG. 28, charge-sharing at the output of charge pump 2004 behaves like a switched-capacitor resistor between nodes Vint0 and Vint1, which results in a reduction in DC charge pump gain. Sustaining a differential voltage across nodes Vint0 and Vint1 may cause a substantial gain error. A technique for reducing or eliminating that contribution to gain error is illustrated in FIG. 31. Error detection and correction module 1508 includes pre-charge voltage buffer 2406 and pre-charge voltage buffer 2408 for each of capacitor nodes Cint0 and Cint1. Pre-charge voltage buffer 2406 and pre-charge voltage buffer 2408 are configured to force the respective nodes coupled to the output of the charge pump 2004 to Vint0 and Vint1, respectively, prior to connecting those nodes to Cint0 and Cint1, respectively. Accordingly, the charge-sharing is reduced to the buffer offset voltage. In other embodiments, the switched-capacitor buffers 2406 and 2408 of error are modified to be an integrator with noise cancellation, as illustrated in FIG. 32 for one calibration phase (i.e., for the Ddelay=0 calibration phase). Although not shown, the integrator with noise cancellation circuitry is replicated for the other calibration phase (i.e., for the Ddelay=1 calibration phase). Such technique substantially reduces charge-sharing in analog error detection and correction module 1508.
Interpolative divider techniques that interleave evaluate or transmit operations with calibration operations, as described above, use a reference clock signal that is at least twice the frequency of the transmit operation. Referring to FIG. 33, by interleaving multiple interpolative dividers, an output clock signal with approximately 50% duty cycle may be achieved. The interleaved interpolative divider implementation may double the output clock frequency or relax calibration timing requirements. Dithering-modulo-divider and controller 2602 alternates between phase interpolator 2604 and phase interpolator 2606. While phase interpolator 2604 transmits a rising edge, which causes a rising edge on ckout, phase interpolator 2606 makes a calibration measurement. Phase interpolator 2606 transmits a rising edge, which causes a falling edge on ckout, while phase interpolator 2604 performs a calibration measurement. Flip-flop 2608 latches the rising edge ckPIr from phase interpolator 2604 and the falling edge ckPIf from phase interpolator 2606 and generates output clock ckout having approximately 50% duty cycle. Note that more interleaving can support higher frequency operation at e.g., radio frequencies.
The gain calibration interleaving with digital-to-time signal evaluation techniques described herein may be applied to time-to-digital signal conversion applications. For example, referring to FIG. 34, a gain measurement is interleaved between edges of clock ckin. Use of the calibration digital-to-time converter facilitates a two-point measurement with a precise time base having reference period Tref. Similar to the digital-to-time calibrations discussed above, the control loop may change reference voltage Vref to force accurate time-to-digital gain. A difference between code DT generated by analog-to-digital converter 2704 determines a gain of the time-to-digital converter. Skew between the calibration mode and the input path introduces a fixed offset between time stamps. As a result, additional range greater than reference period Tref (as defined by the period of clock signal ckref) may be required for the analog-to-digital conversion in order to reduce or eliminate over-ranging (i.e., saturation of the analog-to-digital converter).
Referring to FIG. 35, exemplary time-to-digital converter 3200 includes capacitance CS distributed across capacitors 3208 and 3210 of feedback digital-to-analog converter units (e.g., digital-to-analog converter units 3214 and 3216 similar to digital-to-analog converter 1102 of digital-to-time converter 1100 of FIGS. 12-14) of a digital-to-analog converter configured to sample-and-hold input signal ckin. Comparator 3212 uses the comparator threshold voltage VT to compare against the stored input time signal VS generated by sample-and-hold of input signal ckin. Comparator 3212 provides the results of the comparison to successive approximation register 3202. Successive approximation register 3202 provides a digital approximation code to the internal capacitor-based digital-to-analog converter that supplies comparators 3212 with an analog voltage representation of the digital approximation code. Thus, analog-to-digital converter 3200 generates output digital bits b0 and b1, which collectively form an output digital signal Dout and are based on input analog signal VS, originally derived from an input time interval. The time domain information may be mapped into voltages and digital-signal processing techniques may be used to determine distances, velocities, etc. based on that time domain information in radar or other applications.
An embodiment of the digital-to-time converter and calibration technique described above may be included as a feedback digital-to-analog converter in a high resolution time-to-digital converter application. Referring to FIG. 36, an exemplary high-resolution time-to-digital converter receives input signal ckin, and digital control words Df,int and Df,frac which correspond to coarse and fine frequency divider control codes, respectively. Accumulator 3612 integrates the fine frequency divider control code to generate a fine delay control code (i.e., fine phase domain control code Dφ,frac) and summing node 3618 combines any carry from the integration with the coarse frequency divider control code and provides the sum to digital-to-frequency converter 3616. Phase detector 3602 generates analog phase error signal φε indicative of the phase difference between input signal ckin and feedback signal ckfb. Loop filter 3604 integrates φε and quantizer 3606 generates digital phase output Dφout based on the loop filter output.
Summing node 3610 combines digital phase output Dφ,out with fine phase domain control code Dφ,frac to generate digital phase control code DφDTC for conversion to an analog signal by digital-to-time converter and calibration module 3608, which generates feedback signal ckfb. Feedback signal ckfb is an analog representation of the digital output Dφout. Digital-to-frequency converter 3616 and edge gating circuit 3614 form a digitally controlled integer divider and generate clock signal ckDMD based on reference clock signal ckref and digital control word Df, which indicates a coarse (or integer portion) of a frequency divider value. Since the gain of the digital-to-time conversion performed by digital-to-time converter and calibration module 3608 is calibrated consistent with techniques described above, feedback clock signal ckfb has reduced deterministic jitter, which allows for digital output Dφout to provide a higher resolution digital representation of the time information of input signal ckin than other time-to-digital converters. Note that in other high-resolution time-to-digital converters consistent with the teachings herein, phase-detector 3602, loop filter 3604, and quantizer 3608 may be replaced with a bang-bang phase detector or other suitable implementations.
Thus, improved techniques for digital-to-time conversion and phase interpolation for clock synthesis have been disclosed. Systematic nonlinearities in digital-to-analog conversion are reduced by using capacitor-based unit delay cells and ratio-metric design techniques. In addition, an active gain error calibration technique for block level implementation is disclosed for high-performance applications. Techniques described herein reduce or eliminate gain error of a digital-to-time converter. In applications such as fractional clock synthesis, the reduction or elimination of that gain error reduces spurious outputs due to phase wrapping errors caused by the gain error of the digital-to-time converter. Accordingly, fractional clock synthesizers using those techniques may produce clocks with spurious performance similar to integer clock synthesizer counterparts but with increased power efficiency due to increased bandwidth (e.g. suppressed VCO noise) of the fractional synthesizer. In addition, the digital-to-time conversion techniques described herein may have reduced area and power consumption as compared to other techniques.
While circuits and physical structures have been generally presumed in describing embodiments of the invention, it is well recognized that in modern semiconductor design and fabrication, physical structures and circuits may be embodied in computer-readable descriptive form suitable for use in subsequent design, simulation, test or fabrication stages. Structures and functionality presented as discrete components in the exemplary configurations may be implemented as a combined structure or component. Various embodiments of the invention are contemplated to include circuits, systems of circuits, related methods, and tangible computer-readable medium having encodings thereon (e.g., VHSIC Hardware Description Language (VHDL), Verilog, GDSII data, Electronic Design Interchange Format (EDIF), and/or Gerber file) of such circuits, systems, and methods, all as described herein, and as defined in the appended claims. In addition, the computer-readable media may store instructions as well as data that can be used to implement the invention. The instructions/data may be related to hardware, software, firmware or combinations thereof.
The description of the invention set forth herein is illustrative, and is not intended to limit the scope of the invention as set forth in the following claims. For example, while the invention has been described in an embodiment in which a digital-to-time converter of a phase interpolator of a clock synthesizer is compensated, one of skill in the art will appreciate that the teachings herein can be utilized with other digital-to-time and time-to-digital converter applications. Variations and modifications of the embodiments disclosed herein, may be made based on the description set forth herein, without departing from the scope and spirit of the invention as set forth in the following claims.