The invention described herein generally relates to time-to-digital converters that measure a time difference separating two signals, and more particularly relates to calibrating a charge-to-digital timer.
Many electronic circuits use Time-to-Digital Converters (TDCs) to measure the time difference separating two signals, e.g., a start signal and a stop signal, and to provide the time difference in digital form. One exemplary application for a TDC comprises a Radio Frequency (RF) circuit, where a TDC may be used to measure the time difference between a reference signal and an oscillator signal in a Phase-Locked Loop (PLL). TDCs may also be used to detect light/photons in nuclear medical imaging, e.g., Positron Emission Tomography (PET), for Time-Of-Flight (TOF) measurements, e.g., in radiation detection and in laser radars, and in a variety of other space, nuclear, and measurement science applications.
One type of TDC comprises a Charge-to-Digital Timer (CDT). The basic architecture for a conventional CDT comprises a current source, an integrator, and a flash analog-to-digital converter, such as disclosed in “Fast TDC for On-Line TOF Using Monolithic Flash A/D Converter,” J. Dawson, D. Underwood, IEEE Transactions on Nuclear Science, vol. NS-28, no. 1, February 1981. At the time of the Dawson et al. paper, the CDT was implemented using discrete components and a separate flash analog-to-digital converter.
Another exemplary TDC comprises a Vernier Delay Line (VDL), which uses a Complementary Metal-Oxide Semiconductor (CMOS) buffer/inverter delay to measure the time difference between the start and stop signals. By using tapped delay lines, the TDC may achieve resolutions smaller than those achievable with a single inverter delay. For example, a VDL may achieve ˜20 ps resolution with a 65 nm CMOS process.
In general, TDCs used for PLLs rely on delay line based phase quantization. If the delay line is fixed, quantization noise will increase as a function of the output frequency of the oscillator in the PLL. While conventional solutions may adjust the delay line relative to the oscillator output frequency, such efforts typically increase the power dissipation of the PLL as the frequency increases. Increased power dissipation not only reduces the battery life of the device containing the PLL, but it also increases clock interference, which may disturb the operation of the PLL. Further, because delay cells in the delay line create high peak supply currents, it is difficult to maintain the supply voltage of the TDC at a constant level. Variations in the TDC supply voltage modulate the TDC measurement result and cause unwanted modulation of the PLL oscillator. Because the amount of modulation directly depends on the frequency, it is hard to characterize the phase quantization device accurately using conventional calibration techniques.
Thus, there remains a need for improved calibration techniques for TDCs.
The calibration method disclosed herein calibrates at least one of a capacitive load and a charging current controlling a charge-to-digital timer to address at least some of the above-described problems associated with conventional calibration techniques. In general, the calibration method disclosed herein measures multiple calibration phases based on multiple start and stop signals separated by known time differences, and therefore having known phases, and adjusts at least one of the capacitive load and the charging current of the charge-to-digital timer based on the measured calibration phases. In so doing, the disclosed calibration method optimizes the quantization step to minimize the quantization noise over a large frequency range.
One exemplary method initializes a capacitive load and a charging current of a charge-to-digital timer. Subsequently, first start and stop signals separated in time by a first number of oscillator cycles are applied to the charge-to-digital timer to measure a first calibration phase during a first calibration time period, and second start and stop signals separated in time by a second number of oscillator cycles are applied to the charge-to-digital timer to measure a second calibration phase during a second calibration time period. The second number of oscillator cycles has a known relationship to the first number of oscillator cycles. The calibration method further includes adjusting at least one of the capacitive load and the charging current based on the first and second calibration phases.
In some embodiments, the calibration method is implemented responsive to a calibration instruction during an open-loop process independent from closed-loop operations of the charge-to-digital timer, where the closed-loop operations are used to measure unknown time differences between start and stop signals. In other embodiments, the calibration method is continuously implemented in parallel with the closed-loop operations of the charge-to-digital timer.
The calibration method disclosed herein calibrates at least one of a capacitive load and a charging current controlling a charge-to-digital timer based on calibration phases measured by the charge-to-digital timer for known time differences having corresponding known phases. While the calibration method disclosed herein generally applies to charge-to-digital timers, it will be appreciated that the disclosed calibration method may apply to other time-to-digital converters.
The calibration method disclosed herein generally applies to digital phase-locked loops.
Before discussing the calibration method, the following first discusses basic details of an exemplary charge-to-digital timer 100, depicted in
More particularly, measurement unit 120 comprises a voltage stepping unit 122, including a known capacitive load 123, a comparator 124, and an estimation unit 125 comprising a control unit 126 and a converter 128. Voltage stepping unit 122 outputs a ramping voltage V1 and a fixed voltage V2, where one of V1 and V2 is derived from a load voltage generated by the capacitive load 123 responsive to the charging current Ichg, and where the voltage stepping unit 122 ramps V1 in a plurality of discrete voltage steps. Each discrete voltage step used to ramp V1 is also output to the control unit 126. Comparator 124 outputs a trigger to the estimation unit 125 when a comparison between V1 and V2 satisfies a predetermined criteria. Responsive to the trigger, estimation unit 125 estimates the load voltage Vload,est based on V2 and a combination of the discrete voltage steps associated with the voltage stepping unit 122, and then outputs the fractional phase PhaseF, which is also denoted herein as PF, which represents a numerical estimate of the DCO clock phase. More particularly, control unit 126 samples the state of the buffer line associated with the voltage steps (see
Co-pending and co-owned U.S. application Ser. No. 13/338,390 titled “Charge-to-Digital Timer,” which is incorporated by reference herein, discloses additional details regarding the exemplary charge-to-digital timer 100 of
Thus, a first number of oscillator cycles after the sync unit 60 applies a first start signal to the measurement unit 120, the sync unit 60 applies a first stop signal to the measurement unit 120. In response, the measurement unit 120 outputs a first fractional phase PhaseF1=PF1 representing a first fractional measurement of the instantaneous oscillator phase to the calibration controller 310. In some embodiments, a counter 50 may also determine the number of whole oscillator cycles between the start and stop signals to generate a first integer phase PhaseN1=PN1, which represents a first integer measurement of the instantaneous oscillator phase and is also reported to the calibration controller 310. For example, the counter 50 may count the integer number of oscillator cycles and sample the integer count to determine the first integer phase.
Subsequently, a second number of oscillator cycles after the sync unit 60 applies a second start signal to the measurement unit 120, the sync unit 60 applies a second stop signal to the measurement unit. In response, the measurement unit 120 outputs a second fractional phase PhaseF2=PF2 representing a second fractional measurement of the instantaneous oscillator phase to the calibration controller 310. In some embodiments, counter 50 may also count the number of whole oscillator cycles between the start and stop signals to generate a second integer phase PhaseN2=PN2, which represents a second integer measurement of the instantaneous oscillator phase and is also reported to the calibration controller 310. The time difference separating the first start and stop signals generally corresponds to a first number of whole oscillator cycles known to the calibration controller 310. Similarly, the time difference separating the second start and stop signals also generally corresponds to a second number of whole oscillator cycles known to the calibration controller 310. Further, the second number of whole oscillator cycles have a know relationship to the first number of whole oscillator cycles. For example, the first number of whole oscillator cycles may comprise m oscillator cycles, while the second number of whole oscillator cycles may comprise m+n oscillator cycles. Thus, in a perfectly calibrated system, the differences between the first and second fractional phases (and when used, the difference between the first and second integer phases) would be zero. However, when the differences are non-zero during calibration operations, the calibration controller 310 calibrates the charge-to-digital timer 100 based on the non-zero differences, e.g., by adjusting the load capacitance and/or the charging current of the charge-to-digital timer 100. For example, the calibration controller 310 may subtract PhaseF1 and PhaseF2 to determine an instantaneous fractional frequency, and subtract PhaseN1 and PhaseN2 to determine an instantaneous integer frequency, and subsequently adjust the capacitive load 123 and/or the charging current based on the integer and fractional frequencies.
In some embodiments, e.g., those involving a digital PLL (DPLL), the calibration operations may further include optimizing the performance of the DPLL. In these embodiments, calibration controller 310 may also output a digital gain control signal to a phase detector 22 of the DPLL to control the quantization gain of the phase, as depicted in
where FCW represents a frequency control word for a digital reference frequency and Fscale represents a scaling factor. The scaling factor, which may e.g., be retrieved from a look-up table responsive to the digital gain control signal scales one or more of the phases determined during closed-loop charge-to-digital timer operations, as depicted in
Now that the general calibration operations and apparatus have been described, the following describes more specific calibration details as they may apply to specific charge-to-digital timers 100. In particular, the following describes two separate charge-to-digital timers 100 (
During closed-loop operations, where the charge-to-digital timer 100 measures the unknown time between the start and stop signals, the voltage stepping unit 122 of
In
For example, when buffer 130c (buffer stage i=3) drives charge through Cr3 to the capacitive network having a total capacitance of Ctot the total capacitance Ctot in this case is formed by Cg in parallel with the series connection of Cs and Cp and in parallel with Cr, Cr2, and Cr3. In this case, the voltage step depends on Vdd and Cr3/Ctot.
The first switch S1 140 connects between the output of the charging unit 110 and the first node of Cs 134. The second switch S2 142 connects in parallel with Cg 136, and the third switch S3 144 connects in parallel with Cp 138. During the charge phase, S1 140 is actuated to a closed position while S2 and S3 142, 144 are maintained in an open position to enable the capacitive load 123 to charge responsive to Ichg, where the charged capacitive load 123 may be defined by:
During the measurement phase, S1 140 is actuated to the open position to disconnect the charge unit 110 from the voltage stepping unit 122, while S2 and S3 142, 144 remain in the open position. During a discharge phase, which occurs after the comparator 124 outputs the trigger or charge-to-digital timer 100 outputs PF, S1 140 remains in the open position, while S2 and S3 142, 144 are actuated to the closed position to enable the capacitive load 123 to discharge to ground.
Capacitive load 123 comprises a variable scale capacitor Cs 134, a variable gain capacitor Cg 136, a parasitic capacitance Cp 138, and a plurality of ramp capacitors Cr 132. The buffers 130 couple to the ramp capacitors 132 of the capacitive load 123, where each buffer 130 is configured to delay a reference clock by a predetermined delay, and where the voltage stepping unit 122 ramps V1=Vload responsive to the delayed reference clock sequentially output by the buffers 130.
During the measurement phase, the delayed reference clock applied by one of the buffers 130 to the corresponding ramp capacitor Cr 132 ramps V1=Vload by an amount stored in the corresponding ramp capacitor Cr 132. For example, after the first buffer 130a applies a first delay to the reference clock, the initial value of Vload ramps, e.g., increases, by a first voltage step stored in the first ramp capacitor Cr1 132a, and the voltage stepping unit 122 outputs the first voltage step to the controller 126. Comparator 124 compares the ramped Vload voltage (V1=Vload,ramp) and V2=Vref. Such ramping and comparison operations continue until the comparison between the ramping load voltage and the fixed reference voltage in the comparator 124 satisfies a predetermined condition, e.g., V1≧V2.
The voltage stepping unit 122 comprises a plurality of serially connected buffers 130, a first switch S1 140, a second switch S2 142, a third switch S4 146, a fourth switch S5 148, a variable gain capacitor Cg 136, a charge capacitor Cchg 152, a plurality of ramp capacitors Cr 132, and first and second scale capacitors Cs1 150a and Cs2 150b. In this case, the charging unit 110 charges only Cchg, which represents the capacitive load 123 in this embodiment, during the charge phase. The voltage over the capacitive load 123 still changes during the charge phase responsive to Ichg, where the charge time changes between consecutive reference cycles, e.g., by one DCO cycle. The changing charge times gives a difference in charged voltage, which equals to one DCO cycle in time. Scale capacitors Cs1 150a and Cs2 150b operatively connect between a common node of the N ramp capacitors Cr 132 and an input to the buffers 130, where the fourth switch S5 148 selectively connects the second scale capacitor Cs2 150b to the input to the buffers 130 or to ground. In one embodiment, the first and second scale capacitors Cs1 150a and Cs2 150b are sized to match the amount of charge difference applied to the charge capacitor Cchg 152 during the charge phase between consecutive reference clock cycles. Gain capacitor Cg 136 connects between the second input of the comparator 124 and ground, while Cchg 152 connects between the first input of the comparator 124 and a power supply. While not explicitly shown, it will be appreciated that Ch, may be tunable. The buffers 130 couple to the ramp capacitors 132, where each buffer 130 is configured to delay a reference clock by a predetermined delay, and where the voltage stepping unit 122 ramps V1=Vref responsive to the delayed reference clock sequentially output by the buffers 130. More specifically, each buffer 130 comprises a digital buffer that functionally implements a switching function to switch the buffer output from a first fixed voltage, e.g., 0 V, to a second fixed voltage, e.g., Vdd, during the ramping of the measurement phase when the reference clock passes through the buffer chain. As such, a charge is injected into the capacitive network formed by the ramp capacitors Cr 132, the gain capacitor Cg 136, and the first scale capacitor Cs1 150a as the reference clock passes through the buffer chain. During alternating reference clock cycles, the fourth switch closes causing the capacitive network to further include the second scale capacitor Cs2 150b. The step height of each voltage step during the measurement phase depends on Vdd and the capacitance ratio Cri/Ctot, where Ctot represents the total capacitance seen from the comparator input to ground, i represents the buffer stage, and Cri represents the unit capacitance for the ith buffer stage. During alternating reference clock cycles, Cr, may alternatingly be determined according to:
Cr1=Cs1 (during, e.g., odd clock cycles) (5)
Cr1=Cs1+Cs2 (during, e.g., even clock cycles) (6)
The total capacitance Ctot may thus be determined for all reference clock cycles according to:
Ctot=NCri+Cg+Cs1+Cs2. (7)
In the embodiment of
First switch S1 140 connects between the output of the charging unit 110 and the first input of the comparator 124, while second switch S2 142 connects in parallel with Cg 136 and third switch S4 146 connects in parallel with Cchg 152. During the charge phase, S1 140 is actuated to the closed position while S2 and S4 142, 146 are maintained in the open position to enable the capacitive load 123 to charge responsive to Ichg. During the measurement phase, S1 140 is opened to disconnect the charge unit 110 from the voltage stepping unit 122, while S2 and S4 142, 146 remain in the open position. It will be appreciated that S5 may start the measurement phase in either the position connecting Cs2 to ground or Cs2 to a first buffer 130a output, and thereafter alternatingly changing the position responsive to alternating reference clock cycles. During a discharge phase, which occurs after comparator 124 outputs the trigger or charge-to-digital timer 100 outputs PF, S1 140 is opened, while S2 and S4 142, 146 are actuated to the closed position to enable the capacitive load 123, e.g., Cchg, and the remaining capacitors in the voltage stepping unit 122 to discharge to ground.
During the measurement phase, the delayed reference clock applied by one of the buffers 130 to the corresponding ramp capacitor Cr 132 ramps V1=Vref by an amount stored in the corresponding ramp capacitor Cr 132. For example, after the first buffer 130a applies a first delay to the reference clock, the initial value of Vref ramps, e.g., increases, by a first voltage step stored in the first ramp capacitor Cr1 132a, and the voltage stepping unit 122 outputs the first voltage step to the controller 126. Comparator 124 compares the ramped V1=Vref and V2=Vload. Such ramping and comparison operations continue until the comparison between the ramping reference voltage and the fixed load voltage in the comparator 124 satisfies a predetermined condition, e.g., V1≧V2.
The adjustment process 240 of
Alternatively, the adjustment process 240 of
As depicted in
In some embodiments, the first and second calibration periods comprise consecutive calibration periods, such that the second start and stop signals of the second calibration period are applied to the charge-to-digital timer after the first start and stop signals of the first calibration period are applied to the charge-to-digital timer. In this case, the first and second calibration phases are determined during the first and second calibration periods and are stored, e.g., in memory, and the calibration controller 310 implements the calibration process based on the stored first and second calibration phases.
For this example, the adjustment process 240 of
In other embodiments, a measurement control loop runs in parallel with a calculation loop to determine the first and second calibration phases to implement a calibration process based on multiple first and second calibration phases. For example, the first start and stop signals of the first calibration period followed by the second start and stop signals of the second calibration period are repeatedly applied during the measurement control loop, which comprises a plurality of consecutive first and second calibration periods. One or more first and second calibration phases are determined for one or more of the corresponding first and second calibration periods during the calculation loop, which runs in parallel with the measurement control loop. In this case, the calibration controller 310 tracks the first calibration phases determined during the calculation loop to determine a minimum calibration phase, and tracks the second calibration phases during the calculation loop to determine a maximum calibration phase. The calibration controller 310 then compares the minimum calibration phase to a minimum threshold, e.g., TH1, or compares the maximum calibration phase to a maximum threshold, e.g., TH2, and determines the calibration difference PFdiff by subtracting the minimum and maximum calibration phases.
For this example, the adjustment process 240 of
While
The present invention may, of course, be carried out in other ways than those specifically set forth herein without departing from essential characteristics of the invention. The present embodiments are to be considered in all respects as illustrative and not restrictive, and all changes coming within the meaning and equivalency range of the appended claims are intended to be embraced therein.
Number | Name | Date | Kind |
---|---|---|---|
5886660 | Loewenstein | Mar 1999 | A |
6756699 | Hartmann et al. | Jun 2004 | B2 |
6850102 | Hsu et al. | Feb 2005 | B2 |
6870411 | Shibahara et al. | Mar 2005 | B2 |
7095287 | Maxim et al. | Aug 2006 | B2 |
7173558 | Demirdag et al. | Feb 2007 | B2 |
7426377 | Tanaka et al. | Sep 2008 | B2 |
7609756 | Wood | Oct 2009 | B2 |
7667633 | Choi et al. | Feb 2010 | B2 |
7791428 | Chang et al. | Sep 2010 | B2 |
8363033 | Chen et al. | Jan 2013 | B2 |
20060017603 | Demirdag et al. | Jan 2006 | A1 |
20060121858 | Tanaka et al. | Jun 2006 | A1 |
20090072911 | Ke et al. | Mar 2009 | A1 |
20100238057 | Wood | Sep 2010 | A1 |
20100244971 | Wang et al. | Sep 2010 | A1 |
Number | Date | Country |
---|---|---|
3834938 | Dec 1989 | DE |
0662650 | Jul 1995 | EP |
2388923 | Nov 2011 | EP |
2224759 | Oct 1974 | FR |
2008088986 | Jul 2008 | WO |
Entry |
---|
Staszewski, R. B., et al., “All-Digital TX Frequency Synthesizer and Discrete-Time Receiver for Bluetooth Radio in 130-nm CMOS”, IEEE Journal of Solid-State Circuits, Dec. 1, 2004, pp. 2278-2291, vol. 39, Issue 12, IEEE Solid-State Circuits Society. |
Dawson, J. W., et al., “Fast TDC for On-line TOF Using Monolithic Flash A/D Converter”, IEEE Transactions on Nuclear Science, Feb. 1, 1981, pp. 610-612, vol. NS-28, No. 1, IEEE. |
Napolitano, P., et al., “A Novel Sample-and-Hold-Based Time-to-Digital Converter Architecture”, IEEE Transactions on Instrumentation and Measurement, May 1, 2010, pp. 1019-1026, vol. 59, Issue 5, IEEE Instrumentation and Measurement Society. |
Staszewski, R. B., et al., “Time-to-Digital Converter for RF Frequency Synthesis in 90 nm CMOS”, Radio Frequency integrated Circuits (RFIC) Symposium, Digest of Papers, Jun. 12, 2005, pp. 473-476, IEEE. |
Hsu, C-M., et al., “A Low-Noise Wide-BW 3.6-GHz Digital ΔΣ Fractional-N Frequency Synthesizer With a Noise-Shaping Time-to-Digital Converter and Quantization Noise Cancellation”, IEEE Journal of Solid-State Circuits, Dec. 1, 2008, pp. 2276-2786, vol. 43, No. 12, IEEE. |
Galton, I., “Analog-Input Digital Phase-Locked Loops for Precise Frequency and Phase Demodulation”, IEEE Transactions on Circuits and Systems -II: Analog and Digital Signal Processing, Oct. 1, 1995, pp. 621-630, vol. 42, No. 10, IEEE. |
Number | Date | Country | |
---|---|---|---|
20130169455 A1 | Jul 2013 | US |