FREQUENCY TO DIGITAL CONVERTER, ASYNCHRONOUS PHASE SAMPLER AND DIGITALLY CONTROLLED OSCILLATOR METHODS

Information

  • Patent Application
  • 20210175878
  • Publication Number
    20210175878
  • Date Filed
    December 02, 2020
    4 years ago
  • Date Published
    June 10, 2021
    3 years ago
Abstract
A ΔΣ frequency to digital converter includes digital feedback to an accumulator in a ring phase calculator that provides the converter output, which reduces implantation complexity. Digital gain correction is applicable to dual mode ring oscillator converters and charge pump converters, provides compensation for forward path gain error and eliminates the need to include analog gain correction in feedback. Asynchronous sampling includes correction logic to compensate for arbitrary initial conditions. A digitally-controlled oscillator (DCO) control technique causes the DCO frequency to increase or decrease by changing the state of one its frequency control elements at a time.
Description
FIELD

A field of the invention is frequency synthesis. Example applications of the invention are in wired and wireless communications. A particular application of the invention is in wireless transceivers for the generation of radio frequency (RF) local oscillator signals used to up-convert and down-convert transmitted and received RF signals.


BACKGROUND

Evolving wireless communication standards place increasingly stringent performance requirements on the frequency synthesizers that generate RF local oscillator signals for up and down conversion in wireless transceivers. Conventional analog fractional-N PLLs with digital delta-sigma (ΔΣ) modulation are the current standard for such frequency synthesizers because of their excellent noise and spurious tone performance. See, e.g., T. A. Riley, M. A. Copeland, T. A. Kwasniewski, “Delta-sigma modulation in fractional-N frequency synthesis,” IEEE Journal of Solid-State Circuits, vol. 28, no. 5, pp. 553-559, May 1993. Unfortunately, they require high-performance analog charge pumps and large-area analog filters, so the trends of CMOS technology scaling and increasingly dense system-on-chip integration have created an inhospitable environment for them.


Digital fractional-N PLLs have been developed over the last decade to address this problem. See, e.g., C. Hsu, M. Z. Straayer, M. H. Perrott, “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 International Solid-State Circuits Conference, pp. 340-341, February 2008. They avoid large analog loop filters and can tolerate device leakage and low supply voltages which makes them better-suited to highly-scaled CMOS technology than analog PLLs. They are increasingly used in place of analog PLLs as frequency synthesizers, but they have yet to fully replace analog PLLs in high-performance wireless applications. While both analog and digital fractional-N PLLs introduce quantization noise, in prior digital PLLs the quantization noise has higher power or higher spurious tones than in comparable analog PLLs. Consequently, they exhibit worse phase noise or spurious tone performance than the best analog PLLs. See, e.g., K. Wang, A. Swaminathan, I Galton, “Spurious-Tone Suppression Techniques Applied to a Wide-Bandwidth 2.4 GHz Fractional-N PLL,” IEEE Journal of Solid-State Circuits, vol. 43, no. 12, pp. 2787-2797, December 2008. Digital PLLs based on second-order ΔΣ frequency-to-digital conversion (FDC-PLLs) offer a potential solution to this problem in that their quantization noise ideally is equivalent to that of an analog PLL with second-order ΔΣ modulation. To the knowledge of the inventors, prior second-order FDC-PLLs incorporate charge pumps and ADCs. See, e.g., W. T. Bax, M. A. Copeland, “A GMSK Modulator Using a ΔΣ Frequency Discriminator-Based Synthesizer,” IEEE Journal of Solid-State Circuits, vol. 36, no. 8, pp. 1218-1227, August 2001; C. Venerus, I. Galton, “Delta-Sigma FDC Based Fractional-N PLLs,” IEEE Transactions on Circuits and Systems I: Regular Papers, vol. 60, no. 5, pp. 1274-1285, May 2013.


The state-of-the art has been previously advanced by the following FDC-PLL architectures. See, C. Weltin-Wu, G. Zhao, and I. Galton, “A Highly-Digital Frequency Synthesizer Using Ring-Oscillator Frequency-to-Digital Conversion and Noise Cancellation,” IEEE Int. Solid-State Circuits Conf (ISSCC) Dig. Tech. Papers, February 2015, pp. 1-3; C. Weltin-Wu, G. Zhao, and I. Galton, “A 3.5 GHz Digital Fractional-N PLL Frequency Synthesizer Based on Ring Oscillator Frequency-to-Digital Conversion,” IEEE J. Solid-State Circuits, vol. 50, no. 12, pp. 2988-3002, December 2015; C. Weltin-Wu, E. Familier, and I. Galton, “A Linearized Model for the Design of Fractional-N Digital PLLs Based on Dual-Mode Ring Oscillator FDCs,” IEEE Trans. Circuits Syst. I, Reg. Papers, vol. 62, no. 8, pp. 2013-2023, August 2015.


A high-level block diagram of a second-order ΔΣ FDC-based fractional-N PLL 100 consistent with the state-of-the-art in the previous paragraph is shown in FIG. 1. It consists of a ΔΣ FDC 102, a digital loop controller (DLC) 104 with quantization noise cancellation (QNC) via adder 107, a digital loop filter 108 and a digitally-controlled oscillator (DCO) 110. The signal vref(t) is the output of a reference oscillator with frequency fref and vPLL(t) is the PLL output waveform. Ideally, vPLL(t) is periodic with frequency fPLL=(N+a)fref, where N is a positive integer and a has a fractional value that can range from −½ to ½. Specifically,
















y


[
n
]


=


-
α

-


e
PLL



[
m
]


+

?










?



indicates text missing or illegible when filed







(
1
)







where eq[n] is the quantization error introduced by the ΔΣ FDC and ePLL[n] is a measure of the average frequency error of vPLL(t) over the nth reference period. The êq[n] sequence is an estimate of eq[n]. It is added via the second adder after passing through the 1−z−1 differentiator. It is used to partially cancel the contribution of eq[n] at the input of the digital loop filter (DLF) within the DLC. By cancelling the quantization error prior to the loop filter, QNC allows the PLL's bandwidth to be increased without significantly degrading the PLL's phase noise.


A simplified block diagram of the ΔΣ FDC from C. Weltin-Wu, E. Familier, and I. Galton, “A Linearized Model for the Design of Fractional-N Digital PLLs Based on Dual-Mode Ring Oscillator FDCs,” IEEE Trans. Circuits Syst. I. Reg. Papers, vol. 62, no. 8, pp. 2013-2023, August 2015 is shown in FIG. 2A. It consists of a PFD (Phase Frequency Detector) with top output u(t), a multi-modulus divider with output vdiv(t), a DMRO (Dual-Mode Ring Oscillator), a digital ring phase calculator (RPC), and a 2−z−1 digital feedback block with output v[n] that controls the divider. Although not shown in FIG. 2A for simplicity, the RPC's accumulator clips to keep its output in the range −2≤r[n]<3. This reduces the PLL's worst-case locking time but has no effect on the PLL's locked behavior. The PFD and divider are identical to those in analog PLLs.


Each reference period, the signal encoded in the width of the u(t) pulse is accumulated by the DMRO. Then, the outputs of the DMRO, which represent a quantized version of its phase, are sampled and processed by the RPC to generate y[n] and −êq[n].


The DMRO is implemented as a ring of NR nominally identical delay cells. Ideally, its instantaneous frequency is fhigh when u(t) is high and flow when u(t) is low, where











A



(


f
high

-

f
low


)


f
PLL



=
1

,




(
2
)







and A is a design parameter.


Each reference period, the quantized DMRO phase, pR[n], is computed from the sampled DMRO output lines. As indicated in FIG. 2A, pR[n] is passed through a 1−z−1 block, and a positive constant, M, is subtracted from the result prior to the multiplication by A and accumulation. These operations yield r[n], which is a fixed-point measure of −a −epLL[n] in units of cycles per reference period. The three most significant bits (MSBs) of r[n] correspond to the integer part of r[n], whereas the remaining least significant bits (LSBs) correspond to the fractional part of r[n].


The operation of the divider is such that adjacent rising edges of vdiv(t) are separated by N v[n] PLL output periods. Ideally, v[n] would be set to 2r[n]−r[n−1], but dividers can only count integer numbers of PLL output periods and r[n] contains both integer and fractional parts. Therefore, it is necessary to instead use just the integer part of r[n], i.e., y[n], so that v[n] =2y[n]−y[n−1] is integer-valued. Given that y[n] is a quantized version of r[n], the fractional part of r[n], i.e., −êq[n], is the negative of the corresponding quantization error. The DLC uses −êq[n] to perform QNC.


The behavior of the system shown in FIG. 2A is identical to that of the second-order ΔΣ modulator shown in FIG. 3A. The phase quantization operation performed by the DMRO is denoted by Q, and modeled as a fine quantizer of step-size Δr=(2NR)−1. Its quantization error, eqr[n], corresponds to the residual quantization error that is left after QNC. The quantization operation that occurs at the output of the RPC is denoted as Qc and modeled as a coarse quantizer with step-size Δc=1. If 2NR/A is integer-valued, then the blocks contained in the dashed contour in FIG. 3A are equivalent to an accumulator followed by a quantizer, Q, with unity step-size and associated error given by






e
q[n]=Aeqr[n]+{circumflex over (e)}q[n].   (3)


In this case, y[n] is given by (1) and the system's self-dithering property causes eq[n] to have a power spectral density (PSD) equivalent to that of a zero-mean white noise sequence with variance 1/12.


This ΔΣ FDC suffers from two issues. One issue is tight timing constraints on both the digital part of the ΔΣ FDC and the divider. The other issue is high sensitivity to non-ideal DMRO frequencies for higher PLL bandwidths. Once the ΔΣ FDC locks, the rising edges of vdiv(t) succeed and precede rising and falling edges of vref(t), respectively Therefore, as implied by FIG. 2A, after the nth rising edge of vdiv(t), the ΔΣ FDC must compute y[n] and use it along with y[n−1] to form v[n], which the divider then uses to determine the (n+1)th rising edge of vdiv(t). This limits the time available for the ΔΣ FDC to process the u(t) pulse and compute y[n] to approximately one reference period and requires a divider that is capable of loading the divider modulus in the middle or toward the end of the divider count. These features tend to increase the power consumption, circuit area, and complexity of the divider.


ΔΣ FDC-based PLLs are not highly sensitive to non-ideal values of fhigh and flow, i.e., values of fhigh and flow that do not exactly satisfy (2), in much the same way that a second-order ΔΣ modulator is not sensitive to deviations in the gain of its second accumulator. Nevertheless, the need to adjust the DMRO each time fat changes so that fhigh and flow at least approximately satisfy (2) complicates the DMRO design. Moreover, the accuracy with which (2) must be satisfied increases significantly with PLL bandwidth to the point that process, voltage, and temperature variations cause fhigh and flow to deviate from their ideal values enough to significantly degrade the PLL's phase noise.


TABLE OF ABBREVIATIONS


The following list of abbreviations are used throughout this application:


ADC Analog to Digital Converter


CMOS Complementary Metal Oxide Semiconductor


CP Charge Pump


DC Direct Current


DCO Digitally Controlled Oscillator


DMRO Dual-Mode Ring Oscillator


ΔΣ Delta-Sigma


DLC Digital Loop Controller


DLF Digital Loop Filter


FCE Frequency Control Element


FDC Frequency to Digital Converter


FSM Finite State Machine


IFS Incremental Frequency Switching


IS-FSM Incremental-Switching Finite State Machine


ISL Incremental Switching Logic


LFCE Latched-Frequency Control Element


LUT Look-Up Table


MSB Most Significant Bit


PEDC Phase Error to Digital Converter


PFD Phase Frequency Detector


PLL Phase-Locked Loop


PSD Power Spectral Density


RF Radio Frequency


RO Ring Oscillator


RPC Ring Phase Calculator


QNC Quantization Noise Cancellation


SUMMARY OF THE INVENTION

A preferred embodiment is a delta-sigma frequency-to-digital converter. The converter includes a phase-frequency detector that receives a periodic reference signal. A dual-mode ring oscillator is driven by an output of the phase-frequency detector. A ring phase calculator samples outputs of the dual-mode ring oscillator to calculate phase of the dual-mode ring oscillator. Digital feedback is provided to an accumulator in the ring phase calculator that provides the converter output. Feedback of a delayed version of the converter output is provided through a divider to the phase-frequency detector.


The preferred converter or other converters can benefit from a preferred digital background correction method. A preferred technique can be implemented in the ring phase calculator. Preferably, the digital background calibration comprises a signed least-mean square (LMS)-like loop with gain K and output gn, which digitally compensates for forward path gain error caused by δ≠1 (forward gain in the absence of gain correction).


Another converter that can benefit from the digital background calibration is a charge pump-based converter. The converter includes a phase-frequency detector that receives a periodic reference signal. A charge pump that charges and discharges a capacitor. A one-shot circuit that prevents the magnitude of the charge pump output to grow without bound. An analog-to-digital converter is driven by an output of the charge pump. A multi-modulus divider provides feedback to the phase-frequency detector. Digital background calibration is provided by a multiplier at the output of the analog-to-digital converter to correct for deviations of charge pump currents and capacitance of capacitor from their ideal values.


Asynchronous phase sampling can also be implemented. A preferred ring oscillator delay-free asynchronous phase sampler samples outputs of the ring oscillator (RO). A cycle counter with two counters is clocked by the rising and falling edges, respectively, of the output of the RO. A phase decoder processes the outputs of the RO and selects a sampled counter output that was not changing when the sampling event occurred. Correction logic to compensate for arbitrary initial conditions of the RO and counters within the cycle counter.


A digitally-controlled oscillator (DCO) control technique of the invention is applicable to FDC-based PLLs discussed above but is widely applicable to other digital PLLs. The DCO control technique causes the DCO frequency to increase or decrease by changing the state of one its frequency control elements (FCEs) at a time includes a bank of FCEs to control the DCO frequency, the FCE bank having an array of latched-FCEs (LFCEs). A digital interface accepts an input codeword and outputs two control signals and their inverted versions to control the FCEs' bank. The array of LFCEs is connected to the control signals through an intra-network of switches, with each top switch being controlled by the state of the LFCE to its right (or an inverted version of it) and each bottom switch being controlled by the state of the LFCE to its left (or an inverted version of it). A DCO digital interface includes an incremental switching logic (ISL) and an incremental-switching finite-state-machine (IS -FSM). the ISL splits the input codeword into its integer and fractional parts, digitally re-quantizing the fractional part and adding it to the integer part of the input codeword, an output of this operation being passed through control logic including a clipper, an accumulator, a carry-generator and an adder, wherein the control logic outputs changes in its input (limited to ±1) and the carry is added to the next sample, to serialize a change in the control logic input. An output of the ISL is a signal that takes on values from {−1, 0, 1} and is passed to the IS-FSM, wherein the IS-FSM generates two control signals and their inverted versions that control the array of LFCEs.





BRIEF DESCRIPTION OF THE DRAWINGS

The invention will be explained in greater detail hereinafter on the basis of exemplary embodiments illustrated in the drawings, in which:



FIG. 1 (Prior Art) is a high-level block diagram of a second-order ΔΣ FDC-based digital fractional-N PLL with quantization noise cancellation (QNC);



FIG. 2A (Prior Art) simplified block diagram of the DMRO-based ΔΣ FDC described in C. Weltin-Wu, E. Familier, and I. Galton, “A Linearized Model for the Design of Fractional-N Digital PLLs Based on Dual-Mode Ring Oscillator FDCs,” IEEE Trans. Circuits Syst. I. Reg. Papers, vol. 62, no. 8, pp. 2013-2023, August 2015;



FIG. 2B is a simplified block diagram of the DMRO-based ΔΣ FDC according to the present invention;



FIG. 3A (Prior Art) is a single processing equivalent of the FIG. 2A DMRO-based ΔΣ FDC;



FIG. 3B is a single processing equivalent of the FIG. 2B DMRO-based ΔΣ FDC;



FIG. 4A (Prior Art) shows example timing diagrams for the FIG. 2A ΔΣ FDC



FIG. 4B shows example timing diagrams for the present ΔΣ FDC of FIG. 2B;



FIG. 5A is a behavioral model of the present ΔΣ FDC of FIG. 2B;



FIG. 5B is a behavioral model of the FIG. 1 PLL with the present ΔΣ FDC of FIG. 2B;



FIG. 6 shows a portion of the ring phase calculator of present ΔΣ FDC of



FIG. 2B with application of a preferred digital gain correction method;



FIG. 7 is the behavioral model of FIG. 5A with the addition of the FIG. 6 digital gain correction method;



FIG. 8A (Prior Art) shows a charge pump based ΔΣ FDC;



FIG. 8B shows a preferred digital gain correction method applied to the



FIG. 8A charge pump based ΔΣ FDC;



FIG. 9 shows a preferred delay-free asynchronous phase sampling for the FIG. 2B DMRO or any system where the phase of a ring oscillator (RO) needs to be sampled with a clock signal asynchronous to the RO's frequency;



FIGS. 10A and 10B (Prior Art) show a PLL and a conventional controller for its DCO;



FIG. 11 (Prior Art) shows a conventional PLL controller;



FIG. 12 shows a preferred incremental frequency-switching controller for the DCO in the FIGS. 10A or FIG. 1 PLL;



FIG. 13 is an example that describes operation of the incremental frequency-switching controller of FIG. 12;



FIG. 14A shows a bank topology implementation of the DCO of FIG. 10A; FIG. 14B shows details of the latched-FCEs;



FIG. 15A shows details of a preferred incremental frequency-switching controller implementation for the FIG. 12 incremental frequency-switching controller and FIG. 15B a state diagram for operation.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Preferred embodiments provide a ΔΣ FDCs that reduce implementation complexity and improve performance. The invention also provides a method for digital gain correction. A preferred digital background calibration method compensates for forward path gain error and eliminates the need to include analog gain correction in feedback.


A preferred ΔΣ FDC architecture has relaxed timing constraints and a 3× smaller phase-frequency detector (PFD) output pulse-width span compared to prior state-of-the art architectures discussed in the background. The preferred architecture is therefore simpler to implement and is amenable to higher-frequency reference signals for any given PLL output frequency, which is useful because increasing the reference frequency reduces the contributions of the reference signal phase noise, ΔΣ FDC quantization error, and DMRO phase noise to the PLL's output phase noise.


The DMRO in a DMRO-based ΔΣ FDC is designed to oscillate at one of two frequencies at any given time. These frequencies, denoted as fhigh and flow, ideally have a specific relationship to the PLL output frequency, fPLL. In prior art DMRO-based ΔΣ FDCs, fhigh and flow are adjusted each time fPLL is changed to approximate this ideal relationship, which adds complexity to the DMRO design. Furthermore, while the PLL's performance is relatively insensitive to deviations of fhigh and flow from their ideal values for low-to-moderate PLL bandwidths, this is not the case for high PLL bandwidths.


The invention includes a digital background calibration that addresses these issues. Rather than dynamically adjusting fhigh and flow by controlling the DMRO's analog circuitry as a function offpn, it dynamically adjusts digital circuitry to compensate for error that would otherwise be caused by non-ideal values of fhigh andfiow. Moreover, it does so with much finer resolution than prior art ΔΣ FDCs are able to adjust the DMRO to tune fhigh and flow. These benefits greatly simplify the DMRO, which can now be designed to have fixed values of fhigh and flow, and significantly reduce phase noise for high PLL bandwidths.


Preferred embodiments of the invention will now be discussed with respect to the drawings. The drawings may include schematic representations, which will be understood by artisans in view of the general knowledge in the art and the description that follows.


A preferred embodiment ΔΣ FDC 200 is shown in FIG. 2B. The sequences v[n], pR[n] and dR[n] and the signals u(t) and vdiv(t) in FIG. 2B different from those in FIG. 2A but are labelled the same because the signal sequences play the same role in each. The input, vref(t), to the ΔΣ FDC 200 is a periodic reference signal and is provided to a phase-frequency detector PFD 202. With each reference period, the quantized DMRO phase, pR[n], from a DMRO 204 is received by a ring phase calculator RPC 205 and is computed by its cycle counter and phase decoder 206 from the sampled DMRO output lines. As indicated in FIG. 2B, pR[n] representing the sampled and quantized DMRO phase is passed through a 1−z−1 differentiator 208, and a positive constant M, which represents the average number of cycles that the DMRO advances per reference period, is subtracted by M-adder 210 from the result prior to the multiplication 212 by A (design parameter chosen to nominally set total forward gain equal to 1) and accumulation by accumulator 214. Instead of feeding back the multi-modulus divider control sequence 2y[n]−y[n−1] through a divider 216 as in FIG. 2A, 2y[n−1] is fed back directly to the input of the accumulator 214 within the RPC 205 by a adder 218, and only a delayed version of the FDC output y[n−1] is fed back through the divider 216. The direct feedback to the accumulator 214 simplifies the architecture and improves performance.


The ΔΣ FDC 200 is equivalent to the functional representation in FIG. 3B. That function is also identical to the function in FIG. 3A under the condition that 2NR/A is integer-valued.


In the FIG. 2A and 3A prior ΔΣ FDC, once it locks, the DMRO locks to an average frequency of Mfref, which minimizes the potential for fractional spurs if M is integer-valued. Specifically, given that r[n] is bounded when the ΔΣ FDC is locked, the input to the accumulator within the RPC, and, hence, the M-adder output, must be zero-mean, which can only happen if the DMRO phase advances, on average, M cycles per reference period.


In the ΔΣ FDC 200, the average of the M-adder 210 output is forced to zero by subtracting a constant 2a from the input of the accumulator 214, which forces average DMRO frequency to be given by Mfref Reasoning and (1) imply that without the 2a subtraction at adder 218, the local feedback around the accumulator 214 would cause the output of the M-adder to have an average of 2A−1a. In this case, the DMRO would lock to (M−24−1a)fref, which would increase the potential for fractional spurs.


The 2a subtraction slightly increases the PLL's digital complexity relative to a comparable PLL based on FIG. 2A. For instance, in the PLL implementation simulated, the cycle counter and phase decoder's output, pR[n], has 10 fractional bits, a has 20 fractional bits, and A=1, so the 2a subtraction nearly doubles the number of fractional bits required to represent the RPC accumulator's input. Nonetheless, the number of fractional bits in the DLF input is determined by a regardless of which ΔΣ FDC is used, so the 2a subtraction in the ΔΣ FDC 200 only affects the RPC's accumulator 214. Hence, it represents only a minor increase in the PLLs overall digital complexity. Moreover, this increase in complexity can be offset by additional features described below. When the ΔΣ FDC 200 is used in a PLL, an output span of the phase-frequency detector 202 can advantageously be smaller than twice the period of PLL output.


It follows from FIG. 3B that for the ΔΣ FDC 200 the discrete-time transfer function from the input to the second accumulator output has a pole at DC, which suggests that the system is unstable. Although the 2a term injected within the RPC 205 causes the DC component at the output of the second accumulator to be zero, noise present at this node can cause the magnitude of the accumulator output to grow without bound. However, the second accumulation shown in FIG. 3B is performed by the DMRO 204, so this is not an issue in practice because the DMRO 204 behaves as an accumulator with infinite output range. Specifically, provided the cycle counter 206 within the RPC 205 does not roll-over more than once per reference period, which can be ensured by design, then the 1−z−1 differentiator 208 within the RPC 205 can unwrap the sampled DMRO phase and retrieve the information encoded in it, thereby allowing the magnitude of the second accumulator's output in FIG. 3B to be arbitrarily large.


Features to offset additional complexity include relaxed timing constraints. FIG. 4A shows example timing diagrams for the FIG. 2A ΔΣ FDCs and FIG. 4B for the present ΔΣ FDC 200 of FIG. 2B, where the time sequences tn and τn, for n=0, 1, 2, . . . , are the times of the nth rising edges of vref(t) and vdiv(t), respectively, and the nth divider modulus is the number of PLL output periods between τn−1 and τn. In this example, the DMRO phase is sampled at times γn=tn−1+Tref/2, where Tref=1/fref is the reference period, and the nth divider modulus can be loaded at time tn at the latest.


In the FIG. 2A ΔΣ FDC, the nth divider modulus is given by N−(2y[n−1]−y[n−2]), but as illustrated in FIG. 4A, y[n−1] cannot be computed before the DMRO phase is sampled at γnn−1. It follows that the nth divider modulus can only be loaded once y[n−1] is ready around the middle or near the end of the count, which increases the divider's complexity. Furthermore, as the divider modulus must be updated before tn, the amount of time available for the ΔΣ FDC to compute y[n−1] is limited to Tref/2.


As illustrated in FIG. 4B, the present ΔΣ FDC 200 has much more relaxed timing constraints. In this case, the nth divider modulus is given by N−y[n−2]. By the time of the (n−1)th rising edge of vdiv(t), the ΔΣ FDC 200 has already had a duration of more than Tref/2 to compute y[n−2], so the next count can start with a known divider modulus. Alternatively, the computation of y[n−2] can take up to Tref, and the divider modulus can be updated near the beginning of the current count. In either case, compared to the FIG. 2A ΔΣ FDC, the present ΔΣ FDC allows for simpler divider topologies to be used and imposes looser digital timing constraints on the ΔΣ FDC.


Another feature is reduced PFD output span. For the FIG. 2A ΔΣ FDC, ePLL[n] in (1) is given by






e
PLL[n]=ΨPLL[n]−(N+aref[n]−ADMRO[n]−ΨDMRO[n−1]),   (4)


the eq[n] sequence is bounded by





−1<eq[n]≤0,   (5)


and the width of u(t) is given by





τn−tn=Tū+(−y[n−1](N+aref[n]−DMRO[n−1]−eq[n−1]+eq[n−2]−a) TPLL,   (6)


where ΨPLL[n], Ψref[n] and ΨDMRO[n] are the phase noise changes per reference period of vPLL(t), vref(t) and the DMRO, respectively, and










T

u
¯


=


M
-


T
ref



f
low





f
high

-

f
low







(
7
)







is the average width of the u(t) pulse.


Suppose bPLL and bDMRO are the maximum magnitudes of ePLL[n] and ΨDMRO[n], respectively, so





|ePLL[n]|<bPLL and |ΨDMRO[n]|<bDMRO   (8)


for all n. Then, it follows from (1), (4)-(6) and (8) that the maximum span of u(t), ΔTu, which is defined as











Δ


T
u


=

2



max
n






τ
n

-

t
n

-

T

u
¯








,




(
9
)







satisfies





ΔTu<2 (3+2bPLL+AbDMRO)TPLL.   (10)


Analysis of the present ΔΣ FDC 200 yields (4), (5), and the following expression for the width of the u(t) pulse during the nth reference period:





τn−tn=Tū(y[n−1]−ΨPLL[n]+(N+a) Ψref[n]−DMRO[n−1]eq[n−1]+eq[n−2]+a) TPLL.   (11)


where Tū is also given by (7). Hence, (1), (4), (5), (8), (9) and (11) imply that, for the present ΔΣ FDC 200, ΔTu satisfies





ΔTu<2 (1+2bPLL+AbDMRO) TPLL.   (12)


In practice, bPLL, bDMRO<<1, so (10) and (12) imply that ΔTu for the present ΔΣ FDC 200 is approximately a third of that of the prior FIG. 2A ΔΣ FDC.


A smaller ΔTu allows for a larger minimum difference between the phases of vref(t) and vdiv(t), so it is beneficial as it mitigates spurs generated as a consequence of variations in supply voltage of the PFD 202 when vref(t) and vdiv(t) are close in phase. Additionally, reducing ΔTu mitigates spurs from non-ideal DMRO behavior by increasing the time available for the DMRO 204's instantaneous frequency error transients to die out each reference period.


Another feature is the ability to handle higher-frequency reference signals. The relaxed timing constraints and smaller ΔTu of the present ΔΣ FDC 200 allows for the use of higher-frequency reference signals, which lowers the contribution to the PLL's phase noise from all noise sources within the ΔΣ FDC. As in conventional fractional-N PLLs, the contribution of the reference signal to the PLL output phase noise PSD, SPLL(f), is proportional to (N+a)2. Equations (1), (4) and FIG. 1 imply that the ΔΣ FDC quantization error and the DMRO phase noise appear first-order shaped at the DLF input (p[n] in FIG. 1), so their contribution to SPLL(f) is proportional to sin2(πTreff). Additionally, the PSD of the quantization error is proportional to Tref. Therefore, increasing fref by a factor of x for a given fPLL with all other things being the same reduces the contributions to the PLL's phase noise from the reference signal, ΔΣ FDC quantization error, and DMRO by 20 log(x), 30 log(x) and 20 log(x), respectively.


Digital Gain Calibration Method (FIG. 6).


As explained above, the behavior of the present ΔΣ FDC is identical to that of a second-order ΔΣ modulator provided (2) holds and 2NR/A is integer-valued. However, in practice











A




f
high

-

f
low



f
PLL



=

δ

-
1



,




(
13
)







where the deviation of the factor δ from its ideal value of 1 is the ΔΣ FDC's forward path gain error. This error degrades the system's self-dithering property and, as shown below, it reduces the extent to which QNC cancels the error introduced by the ΔΣ FDC's coarse quantization operation.


Analysis presented in [C. Weltin-Wu, E. Familier, and I. Galton, “A Linearized Model for the Design of Fractional-N Digital PLLs Based on Dual-Mode Ring Oscillator FDCs,” IEEE Trans. Circuits Syst. I. Reg. Papers, vol. 62, no. 8, pp. 2013-2023, August 2015] can be modified with (13) instead of (2) for the present ΔΣ FDC, 200 which yields the behavioral model of the ΔΣ FDC shown in FIG. 5A. The model is similar to that shown in FIG. 3B, except that ePLL[n] is given by (4) with δA instead of A, and the gain of the second accumulator is (6A)−1 instead of A−1. An analysis also be performed to obtain a linearized model of the ΔΣ FDC PLL shown in FIG. 1 with the present ΔΣ FDC 200 and (13) instead of (2). The resulting model is shown in FIG. 5B, where θref(t), θDMRO(t), θDCO(t) and θPLL(t) are the phase error waveforms of the reference signal, DMRO, DCO and PLL output, respectively, L(z) is the DLF's transfer function, KDCO is the DCO gain (i.e., the amount in Hz by which the DCO frequency changes when the DCO input changes by unity) and






H(z)=1−(1−δ−1)z−2.   (14)


It follows from FIG. 5B that the discrete-time transfer functions from eqr[n] and eq[n] to the input of the DLF, p[n], are given by










A



(

1
-

z

-
1



)


H


(
z
)





1

1
+

T


(
z
)









and






(

1
-

δ

-
1



)



z

-
2





(

1
-

z

-
1



)


H


(
z
)





1

1
+

T


(
z
)





,




(
15
)







respectively, where










T


(
z
)


=


δ

-
1




K
DCO



T
ref





z

-
2




L


(
z
)





(

1
-

z

-
1



)



H


(
z
)









(
16
)







is the discrete-time loop gain of the PLL. The right-most expression in (15) implies that if δ=1, then p[n] does not depend on êq[n], but if δ≠1, then eq[n] leaks into the DLF input. As the power of eq[n] is much larger than that of eqr[n] in practice, this can be problematic, particularly for high PLL bandwidths. For instance, in the DMRO-based PLL presented in C. Weltin-Wu, G. Zhao, and I. Galton, “A 3.5 GHz Digital Fractional-NPLL Frequency Synthesizer Based on Ring Oscillator Frequency-to-Digital Conversion,” IEEE I Solid-State Circuits, vol. 50, no. 12, pp. 2988-3002, December 2015, A=1 and NR=13, so Δr=1/26 and the power of eq[n] is approximately 28 dB larger than that of eqr[n] (recall that Δc=1). In this case, (15) with A=1 implies that a ΔΣ FDC forward path gain error corresponding to δ−1=1±0.08 would introduce an additional error component that depends on êq[n] with approximately double the power of the component that depends on eqr[n]. This would significantly increase the PLL output phase noise PSD at offset frequencies where the ΔΣ FDC quantization error contribution dominates those of the other noise sources.


A digital gain calibration method of the invention can address these issues. The present digital gain calibration method modifies the ΔΣ FDC's RPC 206, the details of which are shown in FIG. 6, where sgn(x) =1 if x≥0 and 1 otherwise. To minimize clutter, FIG. 6 only shows a portion of the RPC 206.


The gain calibration technique consists of a signed least-mean square (LMS)-like loop with gain K and output gn, which digitally compensates for forward path gain error caused by δ≠1. It is based on the following two results. The first result is that dR[n] in FIG. 2B can be multiplied in a multiplier 602 by a constant factor gt, to compensate for non-ideal DMRO frequencies. In the presence of this factor, the transfer function from êq[n] to p[n] is given by











(

1
-


g
n



δ

-
1




)



z

-
2





(

1
-

z

-
1



)



H
g



(
z
)





1

1
+


T
g



(
z
)





,




(
17
)







where Hg(z) is given by (14) with δ−1 replaced by gnδ−1 and Tg(z) is given by (16) with Hg(z) and gnδ−1 instead of H(z) and δ−1, respectively. It follows from (17) that gn=δ makes the contribution to p[n] from êq[n] equal to zero. The second result is that gn(dR[n]−dR[n−1]) equals −v[n−1]−a plus zero-mean error when gt, is equal to its ideal value of δ, i.e., δ(dR[n]−dR[n−1])=−v[n−1]−a plus zero-mean error.


These observations suggest that, provided it is stable, the gain calibration feedback loop ramps gt, up or down until it reaches the point where the input to the accumulator with gain K is zero-mean noise. FIG. 6 implies that this happens when gn(dR[n]−dR[n−1])+v[n−1]+a is uncorrelated with v[n−1]+a. Therefore, to the extent that the error component in δ(dR[n]−dR[n−1]) is uncorrelated with v[n−1]+a, the system converges to the ideal value of gn=δ.


In addition to preventing êq[n] from leaking into the PLL loop, the proposed calibration technique also allows for the use of DMRO topologies with coarse frequency tuning or no tuning at all. This not only simplifies the design and implementation of the DMRO, but also simplifies the system as it renders feedback loops that tune fhigh and flow as a function of fPLL unnecessary.


The present calibration technique somewhat increases the digital complexity of the ΔΣ FDC 200, but typically does not add significantly to the PLL's overall power or area consumption. For example, in the PLL implementation described below, both dR[n] and gn have 10 fractional bits, so 20 fractional bits are required to represent gndR[n]. Given that a also has 20 fractional bits, the gain calibration technique negligibly increases the number of fractional bits required to represent the RPC accumulator's input. Therefore, as the calibration technique's digital LMS loop is relatively simple, the fref-rate digital multiplier prior to the RPC's accumulator represents most of the calibration technique's added complexity.


A convergences analysis shows the digital calibration causes gn to converge to its ideal value. FIG. 7 shows the block diagram of FIG. 5A modified to include the gain calibration technique of FIG. 6, where εn is the error in gn at sample time n, which is defined as





εn−1gn−1.   (18)


For any fixed value of gn and neglecting eqr[n], FIG. 7 implies that a[n] is equal to (1+εn)e[n], because the two 1−z−1 blocks cancel the two accumulators in the path between e[n] and a[n]. The gain calibration loop adds v[n−1]+a, which is an estimate of e[n], to a[n], and multiplies the result by the sign of v[n−1]+a to obtain a measure of εn, b[n], which is approximately equal to −εn|e[n]1.


More precisely, FIGS. 7 and (18) imply that e[n] is given by






e[n]=−v[n−1]−a−ePLL[n],   (19)


and that a[n] can be written as











a


[
n
]


=



(

1
+

ɛ
n


)



e


[
n
]



+


(


ɛ
n

-

ɛ

n
-
1



)






i
=
0


n
-
1




e


[
i
]




+


a
e



[
n
]




,




(
20
)







where ae[n] is the contribution of eqr[n] to a[n]. Substituting (19) into (20) adding v[n−1]+a to the result, and then multiplying the resulting expression by sgn(v[n−1]+a) yields






b[n]=εn|v[n−1]+a|+be[n],   (21)


where be[n] is error that arises from the error in the estimate of e[n], the contribution of eqr[n], and gn not being constant.



FIG. 7 together with (18) and (21) further imply that





εn+1=(1−δ−1K|v[n−1]+a|)εn−1Kbe[n],   (22)


from which it follows that






ε
n+1=(1−δ−1K|v[n−1]+a|)εn−1Kbe[n],   (23)


where εn and be[n] are the expected values of εn and be[n], respectively, conditioned to the sequence v[n−1].


When δ≠1, the self-dithering property of the ΔΣ FDC is not perfect, so eqr[n] can be correlated with sgn(v[n−1]+a). Furthermore, it follows from FIG. 1 that:










p


[
n
]


=


-


e
q



[
n
]



+


e
q



[

n
-
1

]


+




i
=
0

n



y


[
i
]



+
α





(
24
)







so FIG. 5B and v[n−1]=y[n−2] imply that the term ΨPLL[n]=θPLLn) θPLLn−1) in epLL[n], which depends on a low-pass filtered version of p[n], can also be correlated with sgn(v[n−1]+a). As be[n] depends on both eqr[n] and ePLL[n], it follows from these observations that be[n] in (23) is not zero, so be[n] biases the LMS loop (see FIGS. 6 and 7) and causes gn to converge to a value that is slightly different than δ. However, numerous simulations suggest that the magnitude of this bias is sufficiently small that be[n] can be neglected in the remainder of the analysis. Hence, (23) reduces to






ε
n+1=(1−δ−1K|v[n−1]+a|)εn.   (25)


The recursive application of (25) to itself yields












ɛ
¯


n
+
1


=




i
=
0

n




(

1
-


δ

-
1



K





v


[

i
-
1

]


+
α





)




ɛ
¯

0




,




(
26
)







which implies that, on average, εn+1 tends to zero provided K is chosen such that











lim

n









i
=
0

n



(

1
-


δ

-
1



K





v


[

i
-
1

]


+
α





)



=
0.




(
27
)







As |v[n−1]+a| is bounded and is regularly non-zero, (27) is easy to satisfy in practice.



FIG. 8A shows a charge pump (CP)-based ΔΣ FDC 800. It consists of a phase-frequency detector (PFD) 802 with output u(t), a charge pump (CP) 804 that charges and discharges the capacitor C, an analog-to-digital converter (ADC) 806 driven by an output of the CP 804, a multi-modulus divider 808 with output vdiv(t), and a 2−z−1 digital feedback circuitry 810 with output v[n]. It also comprises a One-shot circuit 812 that prevents the magnitude of the CP output to grow without bound. The PFD 802 and divider 808 are identical to those in analog PLLs.


The digital gain correction method of FIG. 6 is also applicable to a charge pump-based ΔΣ FDC. FIG. 8A shows a CP based ΔΣ FDC, and FIG. 8B the modified version with the digital gain correction of FIG. 6. The only one difference in FIG. 8B compared to FIG. 6 is an extra 1−z−1 differentiator. In the CP-based ΔΣ FDC, the CP and subsequent analog-to-digital converter (ADC) play the same role as the DMRO in the DMRO-based ΔΣ FDC. The DMRO-based ΔΣ FDC already has a 1−z−1 differentiator following the DMRO, which is needed as part of the circuitry that makes it possible to read out the DMRO's phase error, but this differentiator is not necessary in the CP-based ΔΣ FDC. The additional 1−z−1 differentiator in FIG. 8B compensates for the absence of a 1−z−1 differentiator at the output of the ADC in the CP-based ΔΣ FDC architecture.


Delay-Free Asynchronous Phase Sampling.


The invention also provides for delay-free asynchronous phase sampling of the DMRO 204 in FIG. 2B or more generally, any system where the phase of a ring oscillator (RO) needs to be sampled with a clock signal asynchronous to the RO's frequency. FIG. 9 shows a preferred embodiment delay-free asynchronous phase sampling method 900 to sample a RO 902. The method uses a digital cycle counter 904 followed by sampling flip-flops 905 and 907 and a digital phase decoder 909. Sampling of the cycle counter's outputs is a variation of the asynchronous sampling scheme presented in J. Daniels, W. Dehaene and M. Steyaert, “All-digital differential VCO-based A/D conversion,” IEEE Int. Symp. Circuits Syst., pp. 1085-1088, June 2010. We provide a new phase decoder implementation of asynchronous sampling that is insensitive to initial conditions.


The cycle counter includes two counters 906 and 908 (of 4 bits each in this example). The counter with output cpos(t) is clocked with the rising edge of the RO's cell with output d1(t), whereas the counter with output cneg(t) is clocked with the falling edge of d1(t). On each rising edge of vsamp(t), the counter outputs cpos(t) and cneg(t) are sampled to generate cpos[n] and cneg[n], and the RO outputs d1(t), d2(t), . . . , d127(t) are sampled to generate d1[n], d2[n], . . . , d127[n]. The phase decoder consists of a lookup table (LUT) 910 that quantizes the sampled RO outputs to form a sequence, pF[n], which represents the fractional part of the sampled RO phase, and the overall logic in the phase decoder 909 computes pI[n], which represents the integer part of the sampled RO phase.


The top and bottom counters 906 and 908 in the cycle counter are clocked when pF[n]≅0 and pF[n]≅126Δ, respectively, where Δ=1/254 in the example case shown in FIG. 9. Hence, pF[n] can be used to determine which counter output was not changing when the sampling event occurred. As shown in FIG. 9, whenever the RO fractional phase, pF[n], is between 63Δ and 189Δ, pI[n] is set to cpos[n]. Ideally, pI[n] should be set to cneg[n] when pF[n] is between 190Δ and 253Δ, and to cneg[n]+1 when pF[n] is between 0 and 62Δ so as to account for the bottom counter being clocked half an RO cycle after the top counter is clocked. Yet to work correctly this would require cpos(0)=cneg(0) and the initial RO fractional phase to be such that the top counter is clocked before the bottom counter after startup, which are hard to ensure in practice.


These requirements are avoided via the ccorr[n] correction logic 912. As both sampled counter outputs are reliable when pF[n] is around 63Δ and 190Δ, the ccorr[n] logic block 912 in FIG. 9 computes











c
corr



[
n
]


=

{







c
pos



[
n
]


-


c
neg



[
n
]


-
1

,






if







p
F



[
n
]





[


53

Δ

,

73

Δ


]


,









c
pos



[
n
]


-


c
neg



[
n
]



,






if







p
F



[
n
]





[


180

Δ

,

200

Δ


]


,







c
corr



[

n
-
1

]





otherwise
,









(
28
)







and, as shown in FIG. 9, pI[n] is set to cneg[n]+ccorr[n] when pF[n] is between 190Δ and 253Δ, to cneg[n]+ccorr[n]+1 when pF[n] is between 0 and 62Δ, and to cpos[n] otherwise i.e,











p
I



[
n
]


=

{







c
neg



[
n
]


+


c
corr



[
n
]



,






if







p
F



[
n
]





[


190

Δ

,

253

Δ


]


,









c
neg



[
n
]


+


c
corr



[
n
]


+
1

,






if







p
F



[
n
]





[


0

Δ

,

62

Δ


]


,







c
pos



[
n
]





otherwise
.









(
29
)







The sequences pI[n] and pF[n] are combined at the output of the phase decoder 909 to form the sequence p[n], which represents the sampled RO phase comprising both integer and fractional parts.


All arithmetic operations within the phase decoder 906 and its ccorr[n] logic block 912, are performed with 2C-modular arithmetic, where C is the number of bits of the counters within the cycle counter 904 (e.g., C=4 in the example case shown in FIG. 9).


Incremental Frequency-Switching Controller



FIG. 10A shows a PLL including a DCO. FIG. 10B shows the basic structure of the a DCO.


In FIG. 10A, a reference oscillator 1002 generates an fref-rate periodic signal, vref(t), which is used, along with the PLL's output vPLL(t), by the phase-error to digital converter (PEDC) 1004 to generate a quantized measure of the PLL's instantaneous phase error. The PEDC fref-rate output, p[n], is further lowpass filtered by the digital loop filter (DLF) 1006, whose output, d[n], is used to control the instantaneous frequency, fPLL(t), of a DCO 1008


In the DCO 1008, the minimum achievable frequency-step is dictated by the FCE's minimum frequency step size, Δmin, which, for many applications, is larger than the desired frequency step, Δ. FIG. 10B shows a generalization of a common solution to this problem. The fref-rate D-bit sequence d[n] is split into two digital sequences, dI[n] and dF[n]. dI[n] consists of the I-MSBs of d[n] and will be referred to as the integer-part of d[n] because it causes the DCO frequency to change by integer multiples of Δmin, whereas dF[n] consists of the F-LSBs of d[n] and will be referred to as the fractional-part of d[n] because it causes the DCO frequency to change in fractional-steps of Δmin.


To achieve frequency steps that are a fraction of Δmin, dF[n] is digitally re-quantized to an ffast-rate (usually ffast>fref) B-bit sequence, dFq[n], where dFq[n] is equal to dF[n] plus some quantization error, usually high-pass shaped. The parameters Amin, F, B, ffast and the digital re-quantizer architecture are chosen such that the extra noise resulting from the quantized frequency-tuning process does not deteriorate the PLL's phase noise profile.


The way dI[n] and dFq[n] are combined and translated into DCO frequency changes depends on the DCO topology. FIG. 11 shows an example for the frequency control in an LC-DCO. In the example, the FCE's minimum frequency-step Δmin=28Δ, where Δ is the desired frequency step. This requires the split of the two's complement 16-bit sequence d[n] into two 8-bit sequences, dI[n] and dF[n]. The digital re-quantizer is implemented as a second-order digital ΔΣ modulator (ΔΣM), and dFq[n] is further thermometer encoded. Each of dI[n] and dFq[n] control an array of FCEs, where each FCE adds to or subtracts from the total tank capacitance, depending on its digital input, hence, controlling the DCO's frequency.


While in the acquisition-mode, the PLL's negative feedback mechanism tries to set d[n] to the right value such that the DCO runs at the desired frequency. During this phase, d[n] experiences a transient behavior determined by the PLL's initial conditions and loop dynamics and changes in dI[n] are normal. Once lock is acquired, d[n] converges to a constant number whose value sets the PLL to run at the desired frequency, and the PLL is said to run in the tracking-mode. In this mode, d[n] would vary around this constant value in response to the PLL's phase error in addition to other noise terms incurred during the PEDC process. In many applications, the low-noise system-level requirements imply that dI[n] remains constant, and only dF[n] would change in response to the noise sources in the PLL. Occasionally, however, dI[n] would change due to the DCO's flicker noise and temperature induced frequency drifts, but this happens at a much lower rate than the changes in dF[n].



FIG. 12 shows a preferred IFS controller 1200 in the context of controlling an LC-DCO like that shown in FIGS. 10A and 10B. The DCO's frequency is controlled by an array of N equally weighted FCEs where each FCE adds to or subtracts from the overall tank capacitance (a change in an FCE's state from 0 to 1 corresponds to an increase in the DCO's running frequency by Δmin). The FCE bank is controlled by the signals c1[n] and c2[n] and their inverted versions. The signals c1[n] and c2[n] are generated within the DCO's digital interface, which has incremental-switching logic (ISL) 1202 and an incremental-switching finite-state machine (IS -FSM) 1204.



FIG. 13 is illustrative example describing how the IFS controller 1200 operates. In this example, the DCO's digital interface is clocked at a rate ffast=fPLL/5, the PLL's frequency fPLL=20fref, d[k] and d[k+1] are 2.25 and 2.5, respectively, and the FCE bank has 20 equally-weighted elements, FCE0 to FCE19, where d[n]=0 corresponds to the first 10 elements having a “1” state. For the DCO to have the right “average” frequency, in this example, the 12th FCE must have a “1” state once and twice over the kth and (k+1)th reference periods, respectively. In the IFS control scheme, c1[n] and c2[n] control the whole FCE bank in accordance to the “move” signal, m[n], which dictates the number of FCEs having a “1” state to increment (go up) by one, decrement (go dn) by one, or to not change (noc). The ISL output the signal m[n] that takes on a value of −1, 0, or 1, corresponding to a decrease in the DCO's frequency by Δmin (dn), no frequency change at all (noc), or an increase by Δmin (up), respectively. The IS-FSM generates c1[n] and c2[n] (and their inverted versions), each taking on a value of 0, or 1, based on m[n], c1[n−1] and c2[n−1].


The DCO 1008 (FIG. 10A) can be implemented as an analog LC-oscillator whose frequency is controlled by digitally changing the state of the FCE bank's unit cells. The oscillator consists of an inductor, a fixed capacitance, an NMOS cross-coupled transistor pair, and a tail current source. The IFS scheme, however, can be applied to any DCO topology whose frequency can be tuned by discrete switching of an FCE where a change in the FCE's binary-state results in either an increase or a decrease in the oscillator's frequency.



FIG. 14A shows the FCE bank which consists of N nominally identical unit cells. In the shown version, each unit cell is controlled by either c1[n] or c2[n], in an alternating fashion, through an intra-network of switches. In the fully differential version, each unit is differentially controlled by ci[n], where i=1 or 2, and its inversion. The FCE bank uses a modified FCE unit which will be referred to as latched-FCE (LFCE), and in the presented scheme there are two types of LFCEs, LFCE-0 and LFCE-1. FIG. 14B shows the LFCEs' details. An LFCE is a regular FCE whose control voltage is latched by a pair of cross-coupled tri-state inverters to keep the FCE's control logic value when the FCE cell is disconnected from its respective control signal. Both LFCE types are identical except for the polarity of ci[n] that controls the FCE's state. In LFCE-0 (LFCE-1), a control state 0 (1) results in an increase in the DCO's frequency. The FCE bank has the LFCE-x units arranged such that x follows the pattern { . . . , 1, 0, 0, 1, 1, 0, 0, 1, . . . } for reasons that will be explained shortly. In this implementation, each FCE has a topology to achieve small frequency steps, but any other switched-capacitor topology could have been used. The FCE bank frequency increases monotonically as the number of FCEs with a “1” state increases (as in thermometer coded schemes) and is initialized at mid-frequency as shown in FIG. 5A. A global reset signal (rst) is used to initialize the FCE bank to its hard-coded initial conditions (ic). In a variation, the DCO has multiple banks of FCEs, each of which is controlled by its own two-wire interface.


The switches' network guarantees that only two LFCEs are active over every fast clock period, i.e., only two LFCEs are accessible by the control signals, one through c1[n] and the other through c2[n]. The switches arrangement that achieves such functionality is shown in FIG. 14A. Since over each ffast clock period we have access to two FCEs, one at state “0” and the other at state “1”, the IFS controller 1200 can be easily implemented. For the setting shown in FIG. 14A, the DCO' s frequency can move up, dn, or noc by setting the logic states of c1[n] and c2[n] to (1, 1), (0, 0), or (c1[n−1]=0, c2[n−1]=1), respectively. The LFCE-x pattern, x={ . . . , 1, 0, 0, 1, 1, 0, 0, 1, . . . }, is intentionally chosen to avoid short-circuiting two different LFCE states during control signals' transitions. In this implementation, the switches in FIG. 14A are implemented using CMOS-switches.


Without loss of generality, the digital blocks' bus widths and signal processing details are presented within the context of an implementation example. FIG. 15A shows details of a preferred ISL implementation and FIG. 15B a state diagram for operation. For a desired minimum frequency step=2−8Δmin, the 16-bit two's complement sequence d[n] is split into its integer and fractional parts, dI[n] and dF[n], respectively, each of which is an 8-bit fref-rate sequence. A successive re-quantizer which can be configured to have first- or second-order high-pass shaped quantization error is used to generate the ffast-rate sequence dFq[n] which can take on values of 0 or 1. dFq[n] is added to anffast-rate up-sampled and zero-order held version of dI[n] generating the sequence h[n] which represents the number of FCEs that should have a “1” state over a given fast clock period. To generate m[n], h[n] is compared to the current number of FCEs with “1” state, t[n−1] (a delayed and accumulated version of m[n]), to determine how many increments/decrements are needed. As explained above, usually the increments/decrements are limited to unity. In the occasional case where increments/decrements by more than one are needed, the difference between h[n] and t[n−1] is clipped to ±1, since the FCE bank topology can only handle increments/decrements by one, and the difference is added to the next cycle as if the changes in h[n] where “serialized”. Since this scenario might only take place during the PLL's acquisition mode or at a very slow rate when dI[n] crosses an integer-boundary, the serialization action has no significant impact on the DCO's phase noise profile.


Once m[n] is ready, the FCE bank control signals c1[n] and c2[n] are generated by the IS-FSM. The IS-FSM finite-state transition diagram is shown in FIG. 15B where c1[n], for i=and 2, and their inverted versions are generated based on m[n](upldnInoc), c1[n−1] and c2[n−1]. Notice that either c1[n] or c2[n] changes its state at any given transition but not both, reducing the number of toggling digital lines controlling the FCE array to its minimum. This happens independent of the DCO's input code word and of any timing mismatches, alleviating a fundamental problem in prior DCO frequency switching schemes. The present controller uses a pair of differential digital control signals to control the whole FCE bank, where at most one of the control signals changes its state at a time. This property is maintained across all DCO input values and is immune to any inevitable timing mismatches. The controller adds minimal hardware to existing FCE topologies which makes it suitable for low-power and small-area applications.


While specific embodiments of the present invention have been shown and described, it should be understood that other modifications, substitutions and alternatives are apparent to one of ordinary skill in the art. Such modifications, substitutions and alternatives can be made without departing from the spirit and scope of the invention, which should be determined from the appended claims.


Various features of the invention are set forth in the appended claims.

Claims
  • 1. A delta-sigma frequency-to-digital converter, comprising: a phase-frequency detector that receives a periodic reference signal;a dual-mode ring oscillator driven by an output of the phase-frequency detector;a ring phase calculator that samples outputs of the dual-mode ring oscillator to calculate phase of the dual-mode ring oscillator;within the ring phase calculator, digital feedback to an accumulator in the ring phase calculator that provides the converter output; andfeedback of a delayed version of the converter output through a divider to the phase-frequency detector.
  • 2. The converter of claim 1, further comprising an adder to subtract a constant from an input of the accumulator, the constant being selected to force average frequency of the dual-mode ring oscillator to its reference frequency.
  • 3. The converter of claim 1, wherein the dual-mode ring oscillator operates in a fixed frequency range with fixed values of the high and low frequencies without analog gain correction from feedback in the dual-mode ring oscillator.
  • 4. The converter of claim 1, further comprising digital background calibration in the ring phase calculator.
  • 5. The converter of claim 4, wherein the digital background calibration comprises a feedback loop driven by an intermediate node of the ring phase calculator that compensates for ΔΣ FDC forward path gain error caused by non-ideal DMRO frequencies
  • 6. The converter of claim 1, wherein the ring phase calculator comprises: a cycle counter and phase decoder that samples the outputs of the dual-mode ring oscillator;a differentiator that generates phase change of the dual-mode ring oscillator over a period of the periodic reference signal;a first adder adding a constant to the output of the differentiator;a multiplier that multiples an output of the first adder;a second adder adding a correction sequence to an output of the multiplier and the digital feedback; andan accumulator that receives output of the second adder.
  • 7. The converter of claim 1, in a phase-locked loop (PLL), wherein an output span of the phase-frequency detector is smaller than twice the period of PLL output.
  • 8. The converter of claim 1, wherein the divider loads its modulus near beginning of a current count.
  • 9. The converter of claim 1, comprising digital background calibration in the ring phase calculator that allows the dual-mode ring oscillator to operate without analog correction of its frequency.
  • 10. The converter of claim 9, wherein the digital background calibration ramps gn (gain calibration output) up or down until an input to the accumulator reaches zero-mean noise.
  • 11. The converter of claim 9, wherein the digital background calibration comprises a signed least-mean square (LMS)-like loop with gain K and output gn, which digitally compensates for forward path gain error caused by δ≠1 (forward gain in the absence of gain correction).
  • 12. The converter of claim 1, wherein the ring phase calculator comprises a ring oscillator delay-free asynchronous phase sampler sampling outputs of an RO comprising: a cycle counter with two counters clocked by the rising and falling edges, respectively, of the output of the RO;a phase decoder to process the outputs of the RO and to select a sampled counter output that was not changing when the sampling event occurred;correction logic to compensate for arbitrary initial conditions of the RO and counters within the cycle counter.
  • 13. The sampler of claim 12, wherein the phase decoder comprises: a look-up table (LUT) to form a sequence that represents a sampled fractional phase of the RO;correction logic to compute a difference between sampled outputs of the cycle counter; andlogic to determine sampled RO integer phase from an output of the correction logic and the sampled outputs of the cycle counter.
  • 14. A frequency-to-digital converter, comprising: a phase-frequency detector that receives a periodic reference signal;a charge pump that charges and discharges a capacitor;a one-shot circuit that prevents the magnitude of the charge pump output to grow without bound;an analog-to-digital converter driven by an output of the charge pump;a multi-modulus divider providing feedback to the phase-frequency detector; anddigital background calibration provided by multiplier at the output of the analog-to-digital converter to correct for deviations of charge pump currents and capacitance of capacitor from their ideal values.
  • 15. A ring oscillator delay-free asynchronous phase sampler sampling outputs of a ring oscillator (RO) comprising: a cycle counter with two counters clocked by the rising and falling edges, respectively, of the output of the RO;a phase decoder to process the outputs of the RO and to select a sampled counter output that was not changing when the sampling event occurred;correction logic to compensate for arbitrary initial conditions of the RO and counters within the cycle counter.
  • 16. The sampler of claim 15, wherein the phase decoder comprises: a look-up table (LUT) to form a sequence that represents a sampled fractional phase of the RO;correction logic to compute a difference between sampled outputs of the cycle counter; andlogic to determine sampled RO integer phase from an output of the correction logic and the sampled outputs of the cycle counter.
  • 17. A digitally-controlled oscillator (DCO) control method that causes the DCO frequency to increase or decrease by changing the state of one its frequency control elements (FCEs) at a time, comprising a bank of FCEs to control the DCO frequency, the FCE bank having an array of latched-FCEs (LFCEs);a digital interface that accepts an input code word and outputs two control signals and their inverted versions to control the FCEs' bank;the array of LFCEs being connected to the control signals through an intra-network of switches, with each top switch being controlled by the state of the LFCE to its right (or an inverted version of it) and each bottom switch being controlled by the state of the LFCE to its left (or an inverted version of it);a DCO digital interface that includes an incremental switching logic (ISL) and an incremental-switching finite-state-machine (IS-FSM); whereinthe ISL splits the input codeword into its integer and fractional parts, digitally re-quantizes the fractional part and adds it to the integer part of the input codeword.
  • 18. The DCO control method of claim 17, an output of the ISL operation is passed through control logic including a clipper, an accumulator, a carry-generator and an adder.
  • 19. The DCO control method of claim 18, wherein the control logic outputs changes in its input and the carry is added to the next sample, to serialize a change in the control logic input.
  • 20. The DCO control method of claim 19, wherein the changes in its input are limited to ±1 and an output of the ISL is a signal that takes on values from {−1, 0, 1} and is passed to the IS-FSM, wherein the IS-FSM generates two control signals and their inverted versions that control the array of LFCEs.
PRIORITY CLAIM AND REFERENCE TO RELATED APPLICATION

The application claims priority under 35 U.S.C. §119 and all applicable statutes and treaties from prior provisional application Ser. No. 62/944,797, which was filed Dec. 6, 2019, and is incorporated by reference herein.

STATEMENT OF GOVERNMENT INTEREST

This invention was made with government support under 1617545 awarded by the National Science Foundation. The government has certain rights in the invention.

Provisional Applications (1)
Number Date Country
62944797 Dec 2019 US