FREQUENCY TO DIGITAL CONVERTER, ASYNCHRONOUS PHASE SAMPLER AND DIGITALLY CONTROLLED OSCILLATOR METHODS
20210175878 · 2021-06-10
Inventors
Cpc classification
H04B10/00
ELECTRICITY
H03L7/197
ELECTRICITY
H03L7/093
ELECTRICITY
H03L7/085
ELECTRICITY
International classification
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.
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; and feedback 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; and an 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 g.sub.n (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 g.sub.n, 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; and logic 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; and digital 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; and logic 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); wherein the 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.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The invention will be explained in greater detail hereinafter on the basis of exemplary embodiments illustrated in the drawings, in which:
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0075] 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.
[0076] 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.
[0077] The DMRO in a DMRO-based ΔΣ FDC is designed to oscillate at one of two frequencies at any given time. These frequencies, denoted as f.sub.high and f.sub.low, ideally have a specific relationship to the PLL output frequency, f.sub.PLL. In prior art DMRO-based ΔΣ FDCs, f.sub.high and f.sub.low are adjusted each time f.sub.PLL 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 f.sub.high and f.sub.low from their ideal values for low-to-moderate PLL bandwidths, this is not the case for high PLL bandwidths.
[0078] The invention includes a digital background calibration that addresses these issues. Rather than dynamically adjusting f.sub.high and f.sub.low 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 f.sub.high andfiow. Moreover, it does so with much finer resolution than prior art ΔΣ FDCs are able to adjust the DMRO to tune f.sub.high and f.sub.low. These benefits greatly simplify the DMRO, which can now be designed to have fixed values of f.sub.high and f.sub.low, and significantly reduce phase noise for high PLL bandwidths.
[0079] 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.
[0080] A preferred embodiment ΔΣ FDC 200 is shown in
[0081] The ΔΣ FDC 200 is equivalent to the functional representation in
[0082] In the
[0083] 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 Mf.sub.ref 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.sup.−1a. In this case, the DMRO would lock to (M−24.sup.−1a)f.sub.ref, which would increase the potential for fractional spurs.
[0084] The 2a subtraction slightly increases the PLL's digital complexity relative to a comparable PLL based on
[0085] It follows from
[0086] Features to offset additional complexity include relaxed timing constraints.
[0087] In the
[0088] As illustrated in
[0089] Another feature is reduced PFD output span. For the
e.sub.PLL[n]=Ψ.sub.PLL[n]−(N+a)Ψ.sub.ref[n]−A(Ψ.sub.DMRO[n]−Ψ.sub.DMRO[n−1]), (4)
[0090] the e.sub.q[n] sequence is bounded by
−1<e.sub.q[n]≤0, (5)
[0091] and the width of u(t) is given by
τ.sub.n−t.sub.n=T.sub.ū+(−y[n−1](N+a)Ψ.sub.ref[n]−AΨ.sub.DMRO[n−1]−e.sub.q[n−1]+e.sub.q[n−2]−a) T.sub.PLL, (6)
[0092] where Ψ.sub.PLL[n], Ψ.sub.ref[n] and Ψ.sub.DMRO[n] are the phase noise changes per reference period of v.sub.PLL(t), v.sub.ref(t) and the DMRO, respectively, and
[0093] is the average width of the u(t) pulse.
[0094] Suppose b.sub.PLL and b.sub.DMRO are the maximum magnitudes of e.sub.PLL[n] and Ψ.sub.DMRO[n], respectively, so
|e.sub.PLL[n]|<b.sub.PLL and |Ψ.sub.DMRO[n]|<b.sub.DMRO (8)
[0095] for all n. Then, it follows from (1), (4)-(6) and (8) that the maximum span of u(t), ΔT.sub.u, which is defined as
[0096] satisfies
ΔT.sub.u<2 (3+2b.sub.PLL+Ab.sub.DMRO)T.sub.PLL. (10)
[0097] 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:
τ.sub.n−t.sub.n=T.sub.ū(y[n−1]−Ψ.sub.PLL[n]+(N+a) Ψ.sub.ref[n]−AΨ.sub.DMRO[n−1]e.sub.q[n−1]+e.sub.q[n−2]+a) T.sub.PLL. (11)
[0098] where T.sub.ū is also given by (7). Hence, (1), (4), (5), (8), (9) and (11) imply that, for the present ΔΣ FDC 200, ΔT.sub.u satisfies
ΔT.sub.u<2 (1+2b.sub.PLL+Ab.sub.DMRO) T.sub.PLL. (12)
[0099] In practice, b.sub.PLL, b.sub.DMRO<<1, so (10) and (12) imply that ΔT.sub.u for the present ΔΣ FDC 200 is approximately a third of that of the prior
[0100] A smaller ΔT.sub.u allows for a larger minimum difference between the phases of v.sub.ref(t) and v.sub.div(t), so it is beneficial as it mitigates spurs generated as a consequence of variations in supply voltage of the PFD 202 when v.sub.ref(t) and v.sub.div(t) are close in phase. Additionally, reducing ΔT.sub.u 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.
[0101] Another feature is the ability to handle higher-frequency reference signals. The relaxed timing constraints and smaller ΔT.sub.u 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, S.sub.PLL(f), is proportional to (N+a).sup.2. Equations (1), (4) and
[0102] Digital Gain Calibration Method (
[0103] As explained above, the behavior of the present ΔΣ FDC is identical to that of a second-order ΔΣ modulator provided (2) holds and 2N.sub.R/A is integer-valued. However, in practice
[0104] 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.
[0105] 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
H(z)=1−(1−δ.sup.−1)z.sup.−2. (14)
[0106] It follows from
[0107] respectively, where
[0108] 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 ê.sub.q[n], but if δ≠1, then e.sub.q[n] leaks into the DLF input. As the power of e.sub.q[n] is much larger than that of e.sub.qr[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 N.sub.R=13, so Δ.sub.r=1/26 and the power of e.sub.q[n] is approximately 28 dB larger than that of e.sub.qr[n] (recall that Δ.sub.c=1). In this case, (15) with A=1 implies that a ΔΣ FDC forward path gain error corresponding to δ.sup.−1=1±0.08 would introduce an additional error component that depends on ê.sub.q[n] with approximately double the power of the component that depends on e.sub.qr[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.
[0109] 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
[0110] The gain calibration technique consists of a signed least-mean square (LMS)-like loop with gain K and output g.sup.n, which digitally compensates for forward path gain error caused by δ≠1. It is based on the following two results. The first result is that d.sub.R[n] in
[0111] where H.sub.g(z) is given by (14) with δ.sup.−1 replaced by g.sub.nδ.sup.−1 and T.sub.g(z) is given by (16) with H.sub.g(z) and g.sub.nδ.sup.−1 instead of H(z) and δ.sup.−1, respectively. It follows from (17) that g.sub.n=δ makes the contribution to p[n] from ê.sub.q[n] equal to zero. The second result is that g.sub.n(d.sub.R[n]−d.sub.R[n−1]) equals −v[n−1]−a plus zero-mean error when gt, is equal to its ideal value of δ, i.e., δ(d.sub.R[n]−d.sub.R[n−1])=−v[n−1]−a plus zero-mean error.
[0112] 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.
[0113] In addition to preventing ê.sub.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 f.sub.high and f.sub.low as a function of f.sub.PLL unnecessary.
[0114] 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 d.sub.R[n] and g.sub.n have 10 fractional bits, so 20 fractional bits are required to represent g.sup.nd.sub.R[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 f.sub.ref-rate digital multiplier prior to the RPC's accumulator represents most of the calibration technique's added complexity.
[0115] A convergences analysis shows the digital calibration causes g.sub.n to converge to its ideal value.
ε.sub.n=δ.sup.−1g.sub.n−1. (18)
[0116] For any fixed value of gn and neglecting e.sub.qr[n],
[0117] More precisely,
e[n]=−v[n−1]−a−e.sub.PLL[n], (19)
[0118] and that a[n] can be written as
[0119] where a.sub.e[n] is the contribution of e.sub.qr[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]=ε.sub.n|v[n−1]+a|+b.sub.e[n], (21)
[0120] where b.sub.e[n] is error that arises from the error in the estimate of e[n], the contribution of e.sub.qr[n], and g.sub.n not being constant.
[0121]
ε.sub.n+1=(1−δ.sup.−1K|v[n−1]+a|)ε.sub.n+δ.sup.−1Kb.sub.e[n], (22)
[0122] from which it follows that
[0123] where
[0124] When δ≠1, the self-dithering property of the ΔΣ FDC is not perfect, so e.sub.qr[n] can be correlated with sgn(v[n−1]+a). Furthermore, it follows from
[0125] so
[0126] The recursive application of (25) to itself yields
[0127] which implies that, on average, ε.sub.n+1 tends to zero provided K is chosen such that
[0128] As |v[n−1]+a| is bounded and is regularly non-zero, (27) is easy to satisfy in practice.
[0129]
[0130] The digital gain correction method of
[0131] Delay-Free Asynchronous Phase Sampling.
[0132] The invention also provides for delay-free asynchronous phase sampling of the DMRO 204 in
[0133] The cycle counter includes two counters 906 and 908 (of 4 bits each in this example). The counter with output c.sub.pos(t) is clocked with the rising edge of the RO's cell with output d.sub.1(t), whereas the counter with output c.sub.neg(t) is clocked with the falling edge of d.sub.1(t). On each rising edge of v.sub.samp(t), the counter outputs c.sub.pos(t) and c.sub.neg(t) are sampled to generate c.sub.pos[n] and c.sub.neg[n], and the RO outputs d.sub.1(t), d.sub.2(t), . . . , d.sub.127(t) are sampled to generate d.sub.1[n], d.sub.2[n], . . . , d.sub.127[n]. The phase decoder consists of a lookup table (LUT) 910 that quantizes the sampled RO outputs to form a sequence, p.sub.F[n], which represents the fractional part of the sampled RO phase, and the overall logic in the phase decoder 909 computes p.sub.I[n], which represents the integer part of the sampled RO phase.
[0134] The top and bottom counters 906 and 908 in the cycle counter are clocked when p.sub.F[n]≅0 and p.sub.F[n]≅126Δ, respectively, where Δ=1/254 in the example case shown in
[0135] These requirements are avoided via the c.sub.corr[n] correction logic 912. As both sampled counter outputs are reliable when p.sub.F[n] is around 63Δ and 190Δ, the c.sub.corr[n] logic block 912 in
[0136] and, as shown in
[0137] The sequences p.sub.I[n] and p.sub.F[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.
[0138] All arithmetic operations within the phase decoder 906 and its c.sub.corr[n] logic block 912, are performed with 2.sup.C-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
[0139] Incremental Frequency-Switching Controller
[0140]
[0141] In
[0142] In the DCO 1008, the minimum achievable frequency-step is dictated by the FCE's minimum frequency step size, Δ.sub.min, which, for many applications, is larger than the desired frequency step, Δ.
[0143] To achieve frequency steps that are a fraction of Δ.sub.min, d.sub.F[n] is digitally re-quantized to an f.sub.fast-rate (usually f.sub.fast>f.sub.ref) B-bit sequence, d.sub.Fq[n], where d.sub.Fq[n] is equal to d.sub.F[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.
[0144] The way d.sub.I[n] and d.sub.Fq[n] are combined and translated into DCO frequency changes depends on the DCO topology.
[0145] 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 d.sub.I[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 d.sub.I[n] remains constant, and only d.sub.F[n] would change in response to the noise sources in the PLL. Occasionally, however, d.sub.I[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 d.sub.F[n].
[0146]
[0147]
[0148] The DCO 1008 (
[0149]
[0150] 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 c.sub.1[n] and the other through c.sub.2[n]. The switches arrangement that achieves such functionality is shown in
[0151] Without loss of generality, the digital blocks' bus widths and signal processing details are presented within the context of an implementation example.
[0152] Once m[n] is ready, the FCE bank control signals c.sub.1[n] and c.sub.2[n] are generated by the IS-FSM. The IS-FSM finite-state transition diagram is shown in
[0153] 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.
[0154] Various features of the invention are set forth in the appended claims.