Digital signal processor
09837990 · 2017-12-05
Assignee
Inventors
Cpc classification
H03M3/322
ELECTRICITY
H03M3/414
ELECTRICITY
H03H17/0628
ELECTRICITY
H03M3/344
ELECTRICITY
International classification
Abstract
Provided, among other things, is an apparatus for digitally processing a discrete-time signal that includes: an input line for accepting an input signal, processing branches coupled to the input line, and an adder coupled to outputs of the processing branches. First and second lowpass filters, each having a frequency response with a magnitude that varies approximately with frequency according to a product of raised functions, are included within baseband processors in such processing branches.
Claims
1. An apparatus for digitally processing a discrete-time signal, comprising: an input line for accepting an input signal; a plurality of processing branches coupled to the input line, each of said processing branches including: (a) a branch input coupled to the input line and inputting input samples that are discrete in time and value; (b) a downconverter, having an input coupled to the branch input, that uses sine and cosine sequences to convert an intermediate-frequency input into complex-valued data samples represented by quadrature baseband and in-phase baseband outputs, (c) a first baseband processor coupled to the quadrature baseband output of the downconverter; (d) a second baseband processor coupled to the in-phase baseband output of the downconverter; and (e) a quadrature upconverter that uses sine and cosine sequences to convert complex-valued data samples represented by baseband outputs of the first and second baseband processors into an intermediate-frequency output; and an adder coupled to outputs of the plurality of processing branches, wherein different ones of the plurality of processing branches operate at different intermediate frequencies, wherein each of said baseband processors includes: (a) a first lowpass filter coupled to an output of the downconverter, and (b) a second lowpass filter having an input coupled to an output of the first lowpass filter, wherein each of said first and second lowpass filters has a frequency response with a magnitude that varies approximately with frequency according to a product of raised sin(x)/x functions.
2. An apparatus according to claim 1, wherein for at least one of said first and second lowpass filters, at least one of said sin(x)/x functions is raised to a power that is equal to one.
3. An apparatus according to claim 1, wherein for at least one of said first and second lowpass filters, at least one of said sin(x)/x functions is raised to a power that is greater than one.
4. An apparatus according to claim 1, wherein the frequency response of at least one of said first and second lowpass filters has a magnitude that varies approximately with frequency according to the product of a raised sin(x.sub.1)/x.sub.1 function and a raised sin(x.sub.2)/x.sub.2, where x.sub.1≠x.sub.2.
5. An apparatus according to claim 4, wherein x.sub.1≧2x.sub.2.
6. An apparatus according to claim 1, wherein said quadrature upconverter utilizes a quadrature multiplier to shift baseband outputs of said first and second lowpass filters to a center frequency other than zero hertz, and wherein the outputs of said first and second lowpass filters are combined to form a real output signal.
7. An apparatus according to claim 1, wherein said quadrature upconverter utilizes a complex multiplier to shift baseband outputs of said first and second lowpass filters to a center frequency other than zero hertz, and wherein the outputs of said first and second lowpass filters are combined to form a complex output signal represented by in-phase and quadrature components.
8. An apparatus according to claim 1, wherein said downconverter utilizes a quadrature multiplier to convert a real-valued input signal into a baseband output having in-phase and quadrature components.
9. An apparatus according to claim 1, wherein said downconverter utilizes a complex multiplier to convert a complex-valued input signal, represented by in-phase and quadrature components, into a baseband output having in-phase and quadrature components.
10. An apparatus according to claim 1, wherein at least one of the first lowpass filter and the second lowpass filter in at least one of the baseband processors incorporates a moving-average operation.
11. An apparatus according to according to claim 1, wherein the sine and cosine sequences used by the downconverter and the quadrature upconverter in at least one of the processing branches are generated using a direct digital synthesis method that employs digital accumulators and phase lookup tables.
12. An apparatus according to according to claim 1, wherein the sine and cosine sequences used by the downconverter and the quadrature upconverter in at least one of the processing branches are generated using recursive operations.
13. An apparatus according to according to claim 1, wherein at least one of the sine and cosine sequences used by at least one of the downconverter and the quadrature upconverter is adjustable in at least one of amplitude or phase.
14. An apparatus according to according to claim 1, wherein the plurality of processing branches operate at center frequencies that are spaced at equal frequency intervals.
15. An apparatus according to according to claim 1, wherein the plurality of processing branches operate at center frequencies that are spaced at non-equal frequency intervals.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) In the following disclosure, the invention is described with reference to the attached drawings. However, it should be understood that the drawings merely depict certain representative and/or exemplary embodiments and features of the present invention and are not intended to limit the scope of the invention in any manner. The following is a brief description of each of the attached drawings.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
DESCRIPTION OF THE PREFERRED EMBODIMENT(S)
(20) The present disclosure is related to the disclosures set forth in: U.S. patent application Ser. No. 14/997,504, filed on Jan. 16, 2016; U.S. patent application Ser. No. 14/629,442, filed on Feb. 23, 2015 (now U.S. Pat. No. 9,225,353); U.S. patent application Ser. No. 14/056,917, filed on Oct. 17, 2013 (now U.S. Pat. No. 9,000,967); U.S. patent application Ser. No. 13/535,037, filed on Jun. 27, 2012 (now U.S. Pat. No. 8,581,768); U.S. Provisional Patent Application Ser. No. 61/549,739, filed on Oct. 20, 2011; U.S. Provisional Patent Application Ser. No. 61/554,918, filed on Nov. 2, 2011; U.S. Provisional Patent Application Ser. No. 61/536,003 (the '003 Application), filed on Sep. 18, 2011; U.S. Provisional Patent Application Ser. No. 61/501,284 (the '284 Application), filed on Jun. 27, 2011; U.S. Provisional Patent Application Ser. No. 61/439,733, filed on Feb. 4, 2011; U.S. patent application Ser. No. 12/985,238, filed on Jan. 5, 2011; and U.S. patent application Ser. No. 12/824,171, filed on Jun. 26, 2010, all by the present inventor. The foregoing applications are incorporated by reference herein as though set forth herein in full.
(21) A preferred converter, which according to the present invention incorporates methods for reducing conversion errors caused by sampling uncertainty/jitter (e.g., random or deterministic), sometimes is referred to herein as being jitter-tolerant. A jitter-tolerant converter, according the preferred embodiments of the present invention, employs parallel processing with frequency-decomposition (i.e., slicing), and therefore shares some structural similarities with conventional frequency-interleaving converters, such as the FTH, HFB, and MBΔΣ converters described above. However, a jitter-tolerant converter according to the preferred embodiments of the present invention incorporates one or more distinct technological innovations to provide implementation and/or performance advantages compared to conventional approaches, such as: (1) conversion errors due to sampling uncertainty are reduced because the converter input signal is bandlimited by analog (i.e., continuous-time) filters prior to sampling and quantization (e.g., as compared to MBΔΣ); (2) the complexity of the analog input filters is reduced because the bandwidth of the filters is appreciably wider than the portion of the input signal spectrum that is converted by the associated processing branch (e.g., as compared to FTH and HFB); (3) conversion accuracy is relatively insensitive to the analog input filter responses because the passbands associated with the analog input filters of the various processing branches can be set to overlap significantly and arbitrarily (e.g., as compared to FTH and HFB), allowing use of analog filters with standard frequency responses (e.g., Butterworth, Chebychev, Bessel or elliptic); (4) high-precision, fixed-frequency sample clock sources can be employed because resampling in the digital domain (i.e., sample-rate conversion) allows the conversion-rate frequency (i.e., the output data rate) of the converter to be independent of the sample-rate frequency of the converter (e.g., as compared to FTH, HFB, and MBΔΣ); and (5) higher levels of sampling uncertainty can be tolerated because errors introduced by sampling uncertainty are corrected by resampling in the digital domain (e.g., as compared to FTH, HFB, and MBΔΣ). At least some of such approaches can in some respects be thought of as using a unique and novel combination of several improvements over conventional techniques—frequency-interleaving, digital resampling (i.e., sample-rate conversion), and bandpass filtering. As discussed in more detail below, the use of such approaches often can overcome the problems associated with sampling uncertainty in converters that process high-frequency input signals.
(22) Simplified block diagrams of converters 100, 150A&B, and 200A&B according to certain preferred embodiments of the present invention are illustrated in
(23) In any event, in the present embodiments each such branch (e.g., branch 110A-C, 120A-C, or 130A-C) primarily processes a different frequency band, and includes: (1) a sampling/quantization circuit (e.g., circuit 105); and (2) a digital bandlimiting circuit as a distinct filtering element (e.g., digital bandpass filter 115A, 125A and 135A) or as a composite filtering element (e.g., bandpass interpolation filter 115B, 125B and 135B). In addition, each of converters 100, 150A&B, and 200A&B also includes at least one of: (a) an analog input (bandpass) filter; (b) a digital resampling circuit; and (c) a sampling error estimator. In embodiments that include analog input filters, each of the sampling/quantization circuits preferably samples its input signal at a rate which is 4 to 5 times greater than the bandwidth of the analog bandpass filter in the respective processing branch (i.e., the input signal is oversampled relative to the Nyquist limit for the bandwidth of the analog filter). In embodiments that group digital resampling circuits with processing branches that contain a digital bandpass filter as a distinct element (e.g., exemplary converter 150A or 200A), the resampling circuit preferably performs a sample-rate conversion operation which includes: (i) polynomial estimation (e.g., within polynomial estimator 113 and 133), where new data samples are fabricated from existing data samples via interpolation; and (ii) rate buffering (e.g., within synthesizing rate buffer 116 and 136, or within data buffer 118), where data samples are received at one (clock) rate and delivered at a potentially different (clock) rate. Such a digital resampling circuit, that incorporates both interpolation and rate buffering functions, sometimes is referred to herein as a resampling interpolator (e.g., circuits 119 or 139). A rate buffer that generates (i.e., synthesizes) a curve-fit interpolant for polynomial estimation (interpolation) sometimes is referred to herein as a synthesizing rate buffer, while a rate buffer that does not synthesize a curve-fit interpolant sometimes is referred to herein as simply a data buffer or latch. In embodiments that combine digital resampling circuits with processing branches that contain a bandpass interpolation filter (e.g., exemplary converter 150B or 200B), the bandpass interpolation filter provides a composite bandlimiting and polynomial estimation (i.e., interpolation) function, while the resampling circuit preferably performs the rate buffering operation. Accordingly, in certain preferred embodiments (e.g., exemplary converters 150A or 200A), sample-rate conversion is performed within a standalone resampling circuit that integrates polynomial estimation (interpolation) and rate buffering functions; while in alternate preferred embodiments (e.g., exemplary converters 150B or 200B), sample-rate conversion is performed by distributing polynomial estimation (interpolation) and rate buffering functions between a plurality of bandpass interpolation filters and a resampling circuit.
(24) In the preferred embodiments, a digital bandlimiting circuit, as a distinct filtering element (e.g., digital bandpass filter 115A or 125A) or as a composite filtering element (e.g., bandpass interpolator filter 115B, 125B or 135B), performs a frequency decomposition function, such that the center frequency and bandwidth of each digital filtering element determines the portion of the input signal spectrum (i.e., sub-band) which is converted by its associated processing branch (e.g., branch 110A-C, 120A-C or 130A-C). Preferably, the frequency decomposition function (i.e., conventionally referred to as signal analysis) does not occur within analog input filters because the transfer functions required for signal analysis are difficult or impractical to realize in the analog domain, especially at high frequencies. Therefore, the center frequency of the digital filtering element preferably is aligned with the center of the sub-band to be captured by the respective processing branch. Preferably, the passband of each digital filtering element does not significantly overlap with the passband of any of the other digital filtering elements. More preferably: (1) the center frequency of each digital filtering element is equal to the center frequency of the desired sub-band; and (2) the passbands of the various digital filtering elements overlap in a precisely minimal manner to form, what is referred to in the prior art as, a near-perfect, signal-reconstruction filter bank.
(25) In the preferred embodiments of the present invention, the digital bandlimiting circuits (i.e., as distinct filtering elements or composite filtering elements) form a near-perfect, signal-reconstruction filter bank so that, in addition to performing a frequency decomposition (i.e., signal analysis) function, the digital filtering elements perform a signal reconstruction (i.e., signal synthesis) function that introduces negligible amplitude and group delay distortion at the converter output. Specifically, minimum amplitude and group delay distortion occurs when the overall digital filter bank response is all-pass. The overall response of the digital filter bank is all-pass when, for g.sub.k(n) being the impulse response of the digital filtering element in the k.sup.th processing branch,
(26)
where a and b are constants, such that
(27)
over the converter passband. Furthermore, the bandwidths of the digital filtering elements (i.e., digital reconstruction filters) in all of the processing branches are equal in the preferred embodiments, such that the converter sub-bands are uniformly spaced across the Nyquist bandwidth Ω.sub.B, of the whole converter
(28)
where f.sub.S is the converter sample frequency). Therefore, for a signal-reconstruction filter bank comprised of M filters, each digital filtering element preferably has a noise bandwidth of
(29)
where N is the excess-rate oversampling ratio of the converter given by
(30)
However, in alternate embodiments the converter sub-bands are non-uniformly spaced, and the noise bandwidths of the digital reconstruction filters in each of the processing branches are not equal.
Embodiments Employing an Analog Input (Bandpass) Filter
(31) A first representative embodiment of the present invention is the jitter-tolerant converter circuit 100, illustrated in
(32) It should be noted that since the bandwidth of the analog filter exceeds the bandwidth of the digital filter that performs the frequency-decomposition (i.e., signal analysis) function, the sample-rate frequency of the sampling/quantization circuits (e.g., circuits 105) in the preferred embodiments is greater than twice the bandwidth of the sub-band intended to be converted by a given processing branch; and is preferably 4 to 5 times greater than the bandwidth of the analog bandpass filter associated with that branch (i.e., the sampling/quantization circuits oversample the input signal relative to the Nyquist limit for the bandwidth of the analog filter). Therefore, the analog bandpass filters do not perform a conventional anti-aliasing function (i.e., the analog filters do not perform the same anti-aliasing function as in FTH converters, where processing branch inputs are bandlimited to the bandwidth of the associated sub-band). It should be noted further that, due to overlapping bandwidths, the analog bandpass filters in the preferred embodiments do not perform a conventional frequency-decomposition (i.e., signal analysis) function in the sense that the bandwidths of the analog filters (e.g., filters 112 and 122) do not define the converter sub-bands, as in FTH and HFB converters. Instead an appreciably wider (preferably by a factor of 1.25, 1.5, 2, 2.5 or more) analog filter bandwidth, relative to the bandwidth of the digital filters (e.g., filters 115A and 125A), ensures that: (1) the interaction between the analog bandpass filters and the digital bandpass filters is weak; and (2) the near-perfect signal reconstruction (i.e., signal synthesis) and frequency-decomposition (i.e., signal analysis) properties of the digital filter bank are not significantly affected by the presence of the analog input filters. Therefore, since the analog input filters are not integral to the frequency-decomposition and/or signal reconstruction operations, the analog filters preferably have standard responses, such as Butterworth, Chebychev, Bessel or elliptic responses, that can be realized via passive means (e.g., LC lattice, coupled resonator, distributed element, etc.) or active means (e.g., Sallen-Key, state-variable, etc.). To minimize potential degradation to the signal reconstruction process performed by the digital filters, the analog bandpass filters in each of the processing branches preferably have matched insertion loss and matched propagation delay over the portion of the analog filter passband that coincides with the total passband of each converter sub-band. Insertion loss and propagation delay matching can be realized using conventional attenuators and delay elements, respectively, or via equalization within the digital filters.
(33) Although as described above, the analog input filters do not perform conventional anti-aliasing or frequency-decomposition functions in the preferred embodiments of the present invention, the analog input filters (e.g., filters 112 and 122) enable representative converter circuit 100, shown in
(34)
where H.sub.k(jω) corresponds to the frequency response of the analog input filter with impulse response h.sub.k(t), and ω.sub.k is the center frequency of the k.sup.th processing branch such that ω.sub.k+1−ω.sub.k−1>>B.sub.N (i.e., B.sub.N is the noise bandwidth of the digital filter in the same processing branch). Although “brick wall” filters of this type are not physically realizable, a description of the circuit in this context is sufficient to allow those skilled in the art to comprehend the operation of circuit 100 with standard filter responses. Assuming infinite converter resolution (i.e., number of rounding levels Q.fwdarw.∞) and a sinusoidal input signal x(t)=A.sub.m.Math.sin(ω.sub.mt+φ.sub.m), with arbitrary amplitude A.sub.m, arbitrary phase φ.sub.m, and arbitrary angular frequency ω.sub.m, the output of each analog input filter y.sub.k is
(35)
The sampled sequence at the output of each converter ŷ.sub.k is given by
(36)
where the sampling interval T=1/f.sub.S and φ is a white, Gaussian noise sequence produced by sampling jitter (uncertainty) having power σ.sub.φ.sup.2 and power spectral density N.sub.0 (i.e., N.sub.0=σ.sub.φ.sup.2/Ω.sub.B) The output samples z of the converter are
(37)
where the “*” operator represents discrete-time linear convolution according to
(38)
For the case where |φ|<<1,
z(n)=A.sub.m.Math.sin(ω.sub.mT.Math.n+φ.sub.m)+[A.sub.m.Math.cos(ω.sub.mT.Math.n+φ.sub.m).Math.(ω.sub.m.Math.φ)]*g.sub.m(n),
resulting in an overall noise power at the converter output equal to
(39)
which is a factor of 1/M times lower than the noise level at the output of a conventional converter that does not employ interleaving in frequency with analog bandpass filtering. In general, the lower output noise level improves converter resolution by 10.Math.log.sub.10 (1/M)/6 bits for a sinusoidal (narrowband) input.
(40) For a jitter-tolerant converter according to the representative embodiment of circuit 100, sampling time uncertainty generally introduces less noise into the converter output by an amount that depends on both the bandwidth (Ω.sub.S) of the input signal and the noise bandwidth B′.sub.N, of the analog input filters, where B′.sub.N is appreciably greater than the noise bandwidth B.sub.N of the digital filter in the same processing branch. It can be shown that for Ω.sub.S<B′.sub.N, the noise power caused by timing jitter is reduced by a factor of Ω.sub.B/B′.sub.N, at the converter output, compared to a conventional converter that does not combine interleaving in frequency with analog bandpass filtering. Conversely, for Ω.sub.S≈Ω.sub.B(i.e., the input signal occupies nearly the entire Nyquist bandwidth of the converter), the converter output noise caused by sampling jitter is reduced by a negligible amount. For example, representing a broadband input signal as the sum of M sinusoids, such that
(41)
results in analog input filter outputs of
y.sub.k(t)=h.sub.k(t)*A.sub.k.Math.sin(ω.sub.kt+φ.sub.k)
=A.sub.k.Math.sin(ω.sub.kt+φ.sub.k
and sampled output sequences ŷ.sub.k given by
ŷ.sub.k(n)=A.sub.k sin(ω.sub.kT.Math.n+φ.sub.n+ω.sub.k.Math.φ).
For |φ|<<1, the output samples z of the converter are
(42)
and the output noise power is
(43)
which is the same as that for a conventional converter. Compared to a conventional converter without frequency-interleaving and analog bandpass filtering, therefore, circuit 100 exhibits better jitter tolerance for narrowband input signals, and comparable jitter tolerance for wideband input signals.
(44) As shown in
(45) Embodiments Employing at Least One Sample-Rate Conversion Operation
(46) Two variations of a second representative embodiment of a jitter-tolerant converter, according to the present invention, are converter circuits 150A&B illustrated in
(47)
As shown further, the sampling rate of processing branch 130B&C (i.e., including associated sampling/quantization circuit 105) is determined by sample-rate clock source 131A, and the output of this single processing branch is provided to a different resampling circuit (e.g., resampling interpolator 139 in circuit 150A, or synthesizing rate buffer 136 in circuit 150B). In general, the sampling rate of a particular processing branch (e.g., processing branch 130B&C) can be the same as or can be different from branches that use different resampling circuits (e.g., processing branches 110B&C and 120B&C). In the preferred embodiments, the outputs of processing branches that share a common resampling circuit are first combined (e.g., via first-stage adders 106B), then provided to the common resampling circuit, and finally combined with the output(s) of other resampling circuits via output adders (e.g., second-stage adders 106A).
(48) In unison, the K.sub.j digital bandlimiting circuits with their corresponding adders and digital resampling circuit (e.g., standalone resampling interpolator or synthesizing rate buffer), form a resampling filter bank (e.g., filter banks 114A&B or 134A&B) which performs both bandlimiting and sample-rate conversion. More specifically, in addition to bandlimiting, the resampling filter bank converts the sample-rate frequency used by its associated processing branches to a potentially different conversion-rate frequency at the output of the converter, such that the digital input and the digital output of the resampling filter bank are different representations of the same underlying continuous-time signal. In the preferred embodiments, the sample-rate conversion operation performed by each resampling filter bank includes: (1) a polynomial estimation (interpolation) process whereby new (unknown) data samples are fabricated from existing (known) data samples; and (2) a rate buffering process whereby new samples enter a data buffer (memory or register) at one rate (i.e., an initial rate) and exit the data buffer at a different rate (i.e., a final rate). The sample-rate clock sources (e.g., 111A or 131A) are preferably precision, fixed-frequency oscillators, having a design that emphasizes stable, low-jitter operation over the capability for tuning across a wide range of output frequencies. More preferably, each such sample-rate clock source is the low-jitter oscillator circuit described in the '003 Application. In each processing branch, the bandlimiting circuit (e.g., digital bandpass filter 115A or 125A in circuit 150A, or bandpass interpolation filter 115B or 125B in circuit 150B) and associated sampling/quantization circuit preferably operate at a sample-rate frequency which equals or exceeds the conversion-rate frequency of the converter (i.e., the frequency of data clock input 103). In the representative embodiment of circuit 150A, resampling interpolators 119 and 139 preferably use polynomial estimation and rate buffering to effectively “resample” their corresponding input signals (i.e., input signals 107A&B respectively), in a manner that compensates for the difference between the corresponding sample-rate frequency (f.sub.S), or frequencies, and the desired conversion-rate frequency (f.sub.CLK). In other representative embodiments, however, the polynomial estimation and rate buffering operations also compensate for the effects of sampling errors, approximating a condition of perfect sampling (as discussed in more detail in the Embodiments Also Employing At Least One Sampling Error Estimator section below). It should be noted that in addition to random sampling jitter, the polynomial estimation and rate buffering operations can compensate for deterministic sampling errors, such as those produced by spurious signals (e.g., modulations) on the output of a sampling clock source, or those produced by clock distribution skew in time-interleaved systems. Similar processing occurs in the representative embodiment of circuit 150B, except that the rate buffering operations for input signals 107A&B occur within synthesizing rate buffer circuits 116 and 136, respectively, and polynomial estimation occurs within bandpass interpolation filters 115B, 125B, and 135B.
(49) An exemplary resampling interpolator (e.g., standalone circuit 119 or 139), according to the preferred embodiments of the present invention, is circuit 400A shown in
(50) Referring to
(51)
where df is equal to the value at the input of the modulo integrator (e.g., the value of frequency control input 480), and Δ.sub.n is the value of the curve-fit interpolant at the output of the modulo integrator (e.g., primary output 490 of accumulator 415). The primary output 490 of accumulator 415 (i.e., interpolant Δ.sub.n) increments (or decrements) by an amount equal to the value (df) of input 475, and determines the amount by which the value (i.e., magnitude) of data inputs 402 are interpolated (adjusted) to reflect a different sample time at the output of the resampling interpolator (e.g., data output 404). Preferably, the value df at accumulator input 475, is determined by the ratio of sample-rate frequency f.sub.S, to desired conversion-rate frequency f.sub.CLK, according to the equation
(52)
Accumulator output 490 (i.e., interpolant Δ.sub.n) is the modulo-sum of accumulator input 475, such that in the preferred embodiments where f.sub.S>f.sub.CLK (i.e., df>0), the accumulator output increases in increments of df until a terminal value is reached, causing the digital resampling operation to delay the sample-time instant with each cycle of the sample-rate clock. Preferably, accumulator 415 reaches a terminal value of unity (i.e., terminal value equals ±1) when the accumulated time difference between sample-rate clock 470 and conversion-rate clock 465 equals one full period (i.e., one unit interval) of the sample-rate clock. Such operation ensures that the polynomial estimator does not have to extrapolate beyond a full sample period. In the preferred embodiments, the ratio f.sub.S/f.sub.CLK is rational, a condition that occurs when f.sub.S and f.sub.CLK are multiples of a common reference frequency f.sub.REF, such that for integers a, b, c, and d:
(53)
In general, the above condition is not difficult to achieve using conventional frequency synthesis methods (e.g., direct-digital synthesis or factional-N PLL synthesis) and ensures that there is a finite-precision value df for which data buffer 405 does not overflow (or underflow).
(54) Referring again to exemplary resampling interpolator 400A in
(55) Although in the preferred embodiments, the ratio of sample-rate frequency to conversion-rate frequency (i.e., the ratio f.sub.S/f.sub.CLK) is rational and greater than one, in alternate embodiments the ratio f.sub.S/f.sub.CLK can be irrational or less than one. In alternate embodiments where the ratio f.sub.S/f.sub.CLK is irrational, or less than one, resampling interpolator circuit 400B (i.e., illustrated in
(56)
Accumulator output 490 (i.e., interpolant Δ.sub.n) is the modulo-sum of accumulator input 475, such that in alternate embodiments where f.sub.S<f.sub.CLK (i.e., df<0), the accumulator output decreases in increments of df until a terminal value of −1 is reached, causing the digital resampling operation to advance the sample-time instant with each cycle of the conversion-rate clock. Since data samples (i.e., input signal 402) are clocked into polynomial estimator 401 at a rate f.sub.S (i.e., via optional latch 412 in
(57) For embodiments where sample-rate conversion occurs in a standalone resampling interpolator (i.e., the interpolation operation occurs subsequent to bandpass filtering), such as the exemplary circuits 400A&B, the accuracy of the sample-rate conversion (digital resampling) operation depends on the extent to which the input rate of the resampling interpolator (i.e., sample-rate frequency f.sub.S in the preferred embodiments) exceeds the maximum frequency component (f.sub.N) of the discrete-time input signal. The ratio f.sub.S/f.sub.N, which determines the accuracy of the standalone resampling interpolator, is not uniform across the M processing branches (e.g., branches 110B, 120B or 130B) of exemplary converter 150A. Instead, processing branches that operate on sub-bands centered at lower frequencies have a higher f.sub.S/f.sub.N ratio (i.e., resulting in increased interpolation accuracy), and processing branches that operate on sub-bands centered at higher frequencies have a lower f.sub.S/f.sub.N ratio (i.e., resulting in decreased interpolation accuracy). This non-uniformity in interpolation accuracy occurs because the maximum frequency component of the input signal to the resampling interpolator depends on both the bandwidth and center frequency of the sub-band allocated to the corresponding processing branch. Therefore, digital resampling preferably is based on a parabolic interpolation with a ratio f.sub.S/f.sub.N≧10 to ensure a resampling accuracy of better than 1% (i.e., ˜7.5 effective bits). More preferably, sample-rate conversion (digital resampling) is based on a parabolic interpolation with a ratio f.sub.S/f.sub.N≧16 to ensure a resampling accuracy of better than 0.25% (i.e., ˜10 effective bits). In alternate embodiments, however, sample-rate conversion can be based on linear or other nonlinear (e.g., sinusoidal or cubic spline) interpolation between sampled output values, and a different f.sub.S/f.sub.N ratio.
(58) A more preferred embodiment of the invention utilizes exemplary rate-converting (digital resampling) circuit 400C, illustrated in
(59) A means for quadrature interpolation according to the preferred embodiments of the present invention is circuit 450, illustrated in
zi.sub.n=yi.sub.n.Math.cos(Δ.sub.n.Math.ω.sub.k)+yq.sub.n.Math.sin(Δ.sub.n.Math.ω.sub.k)
zq.sub.n=yq.sub.n.Math.cos(Δ.sub.n.Math.ω.sub.k)−yi.sub.n.Math.sin(Δ.sub.n.Math.ω.sub.k),
where ω.sub.k is the frequency of the sinusoidal sequences utilized for quadrature up/downconversion (i.e., the intermediate frequency of the associated processing branch). The present inventor has discovered that the function of complex multiplier 680, shown in
z′.sub.n=[zi.sub.n.Math.cos(Δ.sub.n.Math.ω.sub.k)+zq.sub.n.Math.sin(Δ.sub.n.Math.ω.sub.k)].Math.cos(ω.sub.kt)+[zq.sub.n.Math.cos(Δ.sub.n.Math.ω.sub.k)−zi.sub.n.Math.sin(Δ.sub.n.Math.ω.sub.k)].Math.sin(ω.sub.kt)
=zi.sub.n.Math.cos(ω.sub.kt+Δ.sub.n.Math.ω.sub.k)+zq.sub.n.Math.sin(ω.sub.kt+Δ.sub.n.Math.ω.sub.k),
where t=n/f.sub.S (i.e., the sample time increment), and the result (i.e., second equation above) is quadrature upconversion by sine and cosine sequences that have been phase shifted by an amount equal to Δ.sub.n.Math.ω.sub.k. By similar analysis, it can be shown that it is also possible to combine the function of complex multiplier 680 with the function of the quadrature downconverter (i.e., dual multipliers 366A&B) shown in
(60) In addition to providing a frequency-decomposition function, the bandlimiting circuits within each resampling filter bank (e.g., bandpass interpolation filter 115B or 125B in circuit 150B) preferably limit the high-frequency content of the signals at the output of the sampling/quantization circuits, such that accurate sample-rate conversion can take place using interpolation methods which are based on polynomial functions (i.e., polynomial estimation). The exemplary interpolators shown in
y.sub.n=x.sub.n.Math.(1+Δ.sub.n)−x.sub.n-1.Math.Δ.sub.n,
where Δ.sub.n is the curve-fit interpolant (i.e., an independent, control variable that specifies the unit-interval offset between a given sample-time instant and a desired sample-time instant). With respect to the above equation, more negative interpolant values (e.g., Δ.sub.n.fwdarw.−1) advance the sample-time instant (i.e., shift sampling to an earlier point in time) and less negative interpolant values (e.g., Δ.sub.n.fwdarw.0) delay the sample-time instant (i.e., shift sampling to a later point in time). In alternate embodiments, however, the relationship between interpolant polarity and sample-time shift could be the opposite. It should be noted that since
(61)
the curve-fit error is zero (i.e., y.sub.i=x.sub.i) for an interpolant specifying a unit-interval offset that coincides with an actual sample-time instant (e.g., Δ.sub.n=0 and Δ.sub.n=−1). Those skilled in the art will readily appreciate that alternate embodiments could employ other interpolation functions, including parabolic (i.e., second-order), cubic (i.e., third-order), and trigonometric functions. In the preferred embodiments of the invention (e.g., circuit 400C illustrated in
(62)
In embodiments utilizing bandpass interpolation filters (e.g., such as exemplary embodiment 150B in
(63) In the exemplary rate-converting circuit 400C, shown in
(64) Those skilled in the art can readily appreciate that the unique filter bank architecture described above, which performs indirect bandpass filtering using quadrature up/downconversion and lowpass responses, can provide a lower complexity (e.g., reduced multiplier count) alternative to conventional filter bank structures that use transversal filters (e.g., digital FIR filters) to perform direct bandpass filtering at intermediate frequencies. Therefore, the structure of bandpass interpolation filter 145B, shown in
(65) Embodiments Also Employing at Least One Sampling Error Estimator
(66) Variations of a third representative embodiment of a jitter-tolerant converter, according to the present invention, are converter circuits 200A&B illustrated in
(67)
In unison, the K.sub.j digital bandlimiting circuits with their corresponding adders and digital resampling circuit form a resampling filter bank (e.g., filter bank 114C&D). Due to digital resampling (i.e., sample-rate conversion), using both polynomial estimation and rate buffering operations, the digital input and the digital output of the resampling filter bank are potentially different discrete-time representations of the same underlying continuous-time signal. In the present embodiment, the polynomial estimation and rate buffering operations compensate for the effects of sampling errors to approximate a condition of perfect sampling. In other representative embodiments, however, the polynomial estimation and rate buffering operations also compensate for the difference between a desired sample-rate frequency (f.sub.S), or frequencies, and a desired conversion-rate frequency (f.sub.CLK). In still other representative embodiments, the polynomial estimation and rate buffering operations also compensate for imperfections (e.g., skew) in the phase offsets applied to subsampling clocks in a time-interleaved circuit.
(68) In the preferred embodiments, sampling error estimator 117 produces an error signal 108 (i.e., curve-fit interpolant Δ.sub.n) that is directly proportional to the dynamic fluctuations (i.e., jitter) in the timing (periodicity) of sample clock 111B (i.e., variations in the length of time between clock state transitions). In certain representative embodiments, such as those illustrated by circuits 200A&B in
(69) The preferred sampling error estimator 117, e.g., for use in representative circuits 200A&B shown in
Δy=±K.sub.M.Math.sin(2π.Math.T.Math.Δf)
≈±(2π.Math.K.sub.M.Math.T).Math.Δf,
where T is the delay associated with the discriminator (i.e., see responses 79A&B illustrated in
(70) Referring to circuit 500A in
(71) Preferred phase-frequency detector 505A is an edge-triggered (i.e., transition-sensitive) device, comparable in operation to a conventional MC100EP40/140 device from ON Semiconductor, which produces a pulse-modulated output that is a function of the timing difference between the logic transitions (i.e., rising or falling edges) of the signal at its reference input (i.e., signal 504A), and the logic transitions of the signal at its comparison input (i.e., signal 504B). In alternate embodiments, the phase/frequency detector function may be performed by a digital or analog multiplier, such as a conventional XOR gate or a conventional diode-bridge mixer. Specifically, the operation of circuit 505A is such that: (1) when the clock transitions at the reference input are precisely aligned in time with the clock transitions at the comparison input, flip-flops 520A&B are reset and the output of differential amplifier 528 is zero; (2) when the clock transition at the reference input occurs earlier in time than the clock transition at the comparison input (i.e., timing is such that the reference clock edge leads the comparison clock edge), flip-flop 520A is set for a duration that equals the time difference between the clock transitions (i.e., ignoring the latency in logic gate 525), and the output of differential amplifier 528 is a positive pulse; and finally (3) when the clock transition at the reference input occurs later in time than the clock transition at the comparison input (i.e., timing is such that the reference clock edge lags the comparison clock edge), flip-flop 520B is set for a duration that equals the time difference between the clock transitions, and the output of differential amplifier 528 is a negative pulse. The pulsed output of differential amplifier 528 is then processed by lowpass filter 508 to produce analog (continuously variable) voltage 510, which is proportional to the timing difference between the reference and comparison clock edges (i.e., voltage 510 is proportional to the width of the output pulses of differential amplifier 528). The purpose of frequency dividers 503A&B is to reduce the rate at which phase-frequency detector 505A operates. Preferably the frequency divider ratio D=1 (i.e., the input and output frequencies of the divider are equal), but in alternate embodiments D>1, such that phase-frequency comparisons are made at a rate that is less than the input frequency f.sub.S. When divider ratio D>1, delay element 502A preferably has a delay equal to D/f.sub.S, where f.sub.S is the nominal frequency of sample clock input 501, so that again, signal 504B provided to the comparison input of phase/frequency detector 505A, is delayed by one clock cycle relative to signal 504A provided to the reference input of phase/frequency detector 505A.
(72) Further processing ultimately converts filtered output 510, of phase/frequency detector 505A, into a digital value that is proportional to the dynamic fluctuations φ (i.e., actual jitter) in the timing (periodicity) of sample clock input 501. Although this further processing is described below with respect to a frequency divider ratio D=1, such that phase-frequency detector 505A makes comparisons at a rate that is equal to the input frequency, those skilled in the art can readily adapt this processing to embodiments with arbitrary frequency divider ratios. Analog-to-digital converter circuit 509 transforms the analog voltage at the output of lowpass filter 508, into a digital value in the preferred embodiment of circuit 500A. But in alternate embodiments, processing can occur entirely in the analog/RF domain, such as in exemplary circuit 500B illustrated in
Δy.sub.n=K.sub.P.Math.(T.sub.n+φ.sub.n−T.sub.n-1−φ.sub.n-1)
=K.sub.P.Math.(T.sub.nom+φ.sub.n−T.sub.nom−φ.sub.n-1)
=K.sub.P.Math.(φ.sub.n−φ.sub.n-1),
such that
(73)
where the “Δ/Δt” operator represents discrete-time differentiation. The constant of proportionality K.sub.P, which is independent of delay 502A, is a function of the gain of differential amplifier 528 and the logic levels (e.g., emitter-coupled logic, current-mode logic, etc.) associated with phase-frequency detector 505A. The filtered output 510 has the differentiator response 552 shown in
(74) If the delay of delay element 502A is other than T.sub.nom (i.e., but rounds to one oscillation period), filtered output 510 is offset by a relatively static (constant) amount which is proportional to the difference between T.sub.nom and the actual delay. The purpose of offset correction circuit 514A is to remove, prior to integration by discrete-time integrator 515A, any offsets (i.e., static biases) in filtered output 510 that result from unintended variations in delay element 502A and/or other circuits (e.g., due to temperature or manufacturing tolerances). By degrading the accuracy of the sampling error estimator, these static offsets limit the extent to which sampling jitter is mitigated, and thereby, increase residual quantization noise at the output of the resampling filter bank (e.g., output 109 of resampling filter bank 114C&D shown in
y.sub.n=Δy.sub.n−Δy.sub.n-1+(1−K.sub.I).Math.y.sub.n-1,
where: (1) Δy.sub.n is the output of analog-to-digital converter 509; (2) y.sub.n is the output of adder 511; and (3) K.sub.I is a programmable loop parameter. In the present embodiment, the input to loop filter 512 is the output of adder 511. In alternate embodiments, however, the input to loop filter 512 can be the output of integrator 515A. Also, in alternate embodiments, the entire offset correction function can be implemented using other conventional techniques, such as for example AC-coupling. In the present embodiment, the output level of loop filter 512 adapts to force the mean level at the output of adder 511 to zero (i.e., the servo loop reaches steady-state when the loop filter input has an average value of zero). More specifically, for an offset of Δy.sub.n=C (i.e., C is a constant value), it can be shown from the final value theorem of the Z-transform that y.sub.n converges to a steady-state value of zero:
(75)
Programmable loop parameter K.sub.I determines the tracking and acquisition dynamics of offset correction loop 514A, such that: (1) small K.sub.I improves tracking performance by minimizing inaccuracies in the offset estimate at the expense of increased adaptation time (i.e., noise at the output of loop filter 512 is minimized); and (2) large K.sub.I improves acquisition performance by minimizing adaptation time at the expense of increased inaccuracies in the offset estimate. Since the purpose of the offset correction loop is to cancel relatively static (i.e., slowly varying) offsets, loop parameter K.sub.I preferably is small to improve tracking performance and minimize inaccuracies in the output of loop filter 512. Although exemplary sampling error estimator 500A utilizes conventional offset correction circuit 514A, offsets at filtered output 510 are more preferably cancelled via methods that utilize feedback to directly minimize the residual quantization noise at the output of the resampling filter bank (e.g., by adjusting the offset correction value until the signal-plus-noise level at output 109 of resampling filter bank 114C&D is minimized). For example, applicable methods of using residual quantization noise to compensate for circuit imperfections are disclosed in U.S. patent application Ser. No. 12/824,171 (filed on Jun. 26, 2010 by the present inventor) and titled “Sampling/Quantization Converters”.
(76) Assuming the output of loop filter 512 is zero, such that the output of adder 511 is equal to filtered output 510, the output of discrete-time integrator 515A has a value that is directly proportional to the jitter φ appearing on input 501. Discrete-time integrator 515A has response 553 (i.e., shown in
Δ.sub.n=y.sub.n+Δ.sub.n-1,
where y.sub.n is the integrator input (i.e., the output of differential edge detector 516A). Accordingly, the output of integrator 515A is given by
Δ.sub.n=y.sub.n+Δ.sub.n-1
=K.sub.P.Math.(φ.sub.n−φ.sub.n-1)+Δ.sub.n-1,
such that
(77)
Preferably, the time constant of integration is exactly equal to T.sub.nom (i.e., the discrete-time integrator is clocked at a rate equal to 1/T.sub.nom for an exemplary frequency divider ratio of D=1), or otherwise, is approximately equal to T.sub.nom (e.g., the time constant of integration is equal or approximately equal to a number of oscillation periods of delay introduced by the delay element). (Those skilled in the art will readily appreciate that the time constant of integration is more generally equal to D.Math.T.sub.nom where D is the frequency divider ratio.) Referring to
(78) A conventional frequency discriminator, e.g., similar to circuit 70 in
(79)
where f.sub.0 is the nominal frequency at the discriminator input. Therefore, the variations in discriminator output amplitude Δy are related to input jitter φ according to the equation
(80)
and with the addition of a suitable integrator function (e.g., standard or modulo integrator in the digital or analog domain), the output amplitude Δ.sub.n of the modified discriminator is
Δ.sub.n={tilde over (K)}.sub.M.Math.φ.sub.n,
where T=1/f.sub.0 and {tilde over (K)}.sub.M=2π.Math.K.sub.M. An enhanced frequency discriminator, according to the preferred embodiments, is exemplary sampling error estimator 500B, illustrated in
(81) A conventional microwave integrator cannot fully equalize (i.e., counteract) the differentiator response at lowpass filter output 518 of exemplary sampling error estimator 500B (i.e., cannot fully equalize the response of differential edge detector 516B). Conventionally, microwave integrators are implemented using a transconductance (g.sub.m) amplifier (i.e., current source or charge pump) to drive a capacitive load (i.e., a shunt capacitor). Ideally, the source impedance of the transconductance amplifier is infinite, such that the transconductance amplifier approximates a perfect current source. Compared to ideal integrator response 554 illustrated in
(82) Referring to
(83)
where the time constant of integration τ is equal to the nominal group delay within the passband of the bandlimiting device (i.e., the combined group delay of lowpass filter 523 and delay element 524). Curve 556 of
(84) Referring back to representative circuits 200A&B in
(85)
where: (1) g.sub.k(n) is the equivalent or actual discrete-time transfer function of the bandlimiting circuit(s) in the associated resampling filter bank; (2) ω.sub.k is the center of the frequency response produced by impulse response g.sub.k(n); and (3) f.sub.S is the frequency of the sample-rate clock (e.g., the clock sourced by oscillator 111B). It should be noted that when ω.sub.k=0, the bandlimiting circuit has a lowpass response and g′.sub.k(n)=g.sub.k (n). In the preferred embodiments, the transfer function g′.sub.k(n) is applied to the curve-fit interpolant Δ.sub.n, which is provided to the resampling filter bank by sample error estimator 117. Based on the value of curve-fit interpolant Δ.sub.n, the resampling filter bank utilizes polynomial estimation and rate buffering to fabricate output samples which are corrected for the errors caused by sampling uncertainty (jitter). In the various embodiments of the present invention, polynomial estimation is based on linear or nonlinear (e.g., sinusoidal or cubic) interpolation between the sampled data values provided to the resampling filter bank.
(86) In the preferred embodiments, digital resampling within a resampling filter bank, compensates for undesired fluctuations (i.e., and resultant jitter) in sample-rate frequency f.sub.S, e.g., using exemplary circuits 600A&B shown in
(87) As described above, a differential edge detector according to the preferred embodiments produces an output that is proportional to the derivative of sample-rate jitter φ. For a scaling factor of K.sub.D, therefore, the resulting output φ.sub.n of sampling error estimator 167A&B is
(88)
where: (1) Δ/Δtφ is the discrete-time derivative (i.e., first difference) of φ; (2) g′.sub.k is the discrete-time impulse response of bandlimiting replica filter 420; and (3) the “*” operator represents discrete-time linear convolution according to
(89)
Bandlimiting replica filter 420 replicates the delay and amplitude transients in the sampling errors at the input of polynomial estimator 401. As will be readily appreciated, the function of bandlimiting replica filter 420 can be moved upstream of accumulator 415 using a filter with transfer function
(90)
A scaling factor of
(91)
(or 1/{tilde over (K)}.sub.M for exemplary sampling error estimator 500B) is preferably applied to the automatic frequency control (AFC) value at the input of accumulator 415, such that the output of the preferred sampling error estimator (e.g., sampling error estimator 167A&B) is
Δ.sub.n=g′.sub.k*φ.sub.n.
More preferably, the value of scaling factor K.sub.D is dynamically set to minimize the residual quantization noise at the output of the resampling filter bank (e.g., output 109 of resampling filter bank 114C&D). This condition results when the sampling error estimate is closely matched to the actual fluctuations in the sample-rate period. Applicable methods for utilizing feedback to directly minimize the residual quantization noise at the output of an oversampled data converter (e.g., by adjusting a scaling factor until the signal-plus-noise level at the output of a processing branch is minimized) are disclosed in U.S. patent application Ser. No. 12/824,171 (filed on Jun. 26, 2010 by the present inventor) and titled “Sampling/Quantization Converters”.
Digital Bandlimiting (Signal Reconstruction) Considerations
(92) The primary considerations for the digital bandlimiting circuit, implemented as either a distinct filtering element (e.g., bandpass filters 115A, 125A, and 135A) or as a composite filtering element (e.g., bandpass interpolation filters 115B, 125B, and 135B), according to the preferred embodiments of the present invention are: (1) design complexity (preferably expressed in terms of required multiplications and additions); (2) frequency response (particularly stopband attenuation); (3) amplitude and phase distortion; and (4) latency. The best converter-resolution and jitter-tolerance performance is obtained for digital filtering elements having frequency responses that exhibit high stopband attenuation, which generally increases with increasing filter order. In addition, it is preferable for the digital bandlimiting responses to have suitable (e.g., perfect or near-perfect) signal-reconstruction properties to prevent conversion errors due to amplitude and phase distortion. Amplitude and phase distortion in the response of the digital filtering element is a particularly important consideration because, unlike noise from quantization and jitter, distortion levels do not improve as the order of the bandlimiting response increases, or as the number of parallel-processing branches M increases. Therefore, bandlimiting filter distortion prevents converter resolution from improving with increasing filter order or with increasing M. Also, although stopband attenuation generally increases with filter order, increases in filter order result in greater processing latencies, especially for transversal, finite-impulse-response (FIR) filters. Digital bandlimiting responses with low latency are preferred to support applications where latency can be a concern, such as those involving control systems and servo mechanisms. For these reasons, the jitter-tolerant converter preferably employs bandpass moving-average (BMA) filters as bandlimiting circuits, which can result in: (1) high levels of stopband attenuation (i.e., attenuation of noise from quantization and jitter); (2) insignificant amplitude and phase distortion (i.e., near-perfect signal reconstruction); and (3) significantly lower complexity than other filtering approaches.
(93) For high-resolution converter applications (e.g., requiring up to 10 bits of conversion accuracy), the present inventor has discovered that conventional, transversal window filters (e.g., Blackman-Harris, Hann or Kaiser window filters) have suitable stopband attenuation and signal-reconstruction properties for two-sided bandwidths of Ω.sub.B/(N.Math.M) and impulse-response lengths of 4.Math.N.Math.M, or less, where M is the number of processing branches and N is the excess-rate oversampling ratio (i.e.,
(94)
Conventionally, the lowpass response of these transversal widow filters is transformed into a bandpass (FIR) response via multiplication of the window filter coefficients by a cosine wave, which has a frequency equal to the desired center frequency (ω.sub.k) of the bandpass response (i.e., cosine-modulation). However, the present inventor has also discovered that recursive window filters are a preferable alternative to conventional, transversal FIR filters, because recursive window filters exhibit equivalent properties to transversal window filters, but typically can be implemented more efficiently, i.e., with fewer adds (adders or addition operations) and multiplies (multipliers or multiplication operations). For example, consider a lowpass prototype (i.e., zero-frequency-centered) filter with impulse response
(95)
where a.sub.0=0.35875, a.sub.1=0.48829, a.sub.2=0.14128, a.sub.3=0.01168, and L=4.Math.(N.Math.M−1). This filter response, which is defined in the prior art as the response of a Blackman-Harris window filter, realizes signal-to-distortion power ratios (SDR) of greater than 84 dB (i.e., 14-bit resolution). As significantly, this filter has a transfer function that can be realized in a recursive form given by
(96)
which requires only 10 multiply operations for lowpass filtering, regardless of the filter impulse response length L. Additional multiplication operations are required for transforming the lowpass prototype response to a bandpass response, preferably using quadrature downconversion followed by quadrature upconversion, but the recursive window filters still represent a considerable complexity savings over the transversal FIR approaches used in conventional filter banks. However, the present inventor has discovered that when recursive window filters of this form are implemented using high-frequency, parallel-processing methods, such as conventional polyphase decomposition, the complexity costs associated with coefficient dynamic range expansion can exceed any complexity savings afforded by the recursive structure.
(97) Bandpass moving-average (BMA) filters are used in the preferred embodiments of the invention, instead of conventional transversal window filters or recursive window filters, because BMA filters feature high stopband attenuation and negligible amplitude and phase distortion, in conjunction with low complexity. The BMA filter is a novel adaptation of a conventional moving-average filter. A current output sample of a moving-average filter is calculated by summing (or otherwise averaging) a current input sample and the n−1 previous input samples, such that: 1) each of the output samples is a sum (or average) taken over a set of n input samples (i.e., a sum taken over a rectangular window of length n); and 2) the set of n input samples effectively shifts by one sample period after each calculation of an output sample (i.e., the window slides after each calculation). A moving-average filter has a frequency response H′(f) with a magnitude that is approximately sin(x)/x according to
(98)
where n is the length of the moving-average window and f.sub.S is the sampling rate of the moving-average filter.
(99) A block diagram of an exemplary BMA filter according to the preferred embodiments of the invention is circuit 300A of
(100) The BMA equalizer, shown as complex, single-tap filter 367 in
(101) Moving-average prototype filters utilized in bandpass moving-average (BMA) filtering preferably have general transfer functions with non-recursive and recursive forms which are respectively given by
(102)
where filter parameters R, P.sub.i and p.sub.i are integers, and the product −2.Math.N.Math.M/P.sub.i is also an integer. Such a moving-average prototype filter is the product (cascade) of R frequency responses H′.sub.i(f) that are that are the discrete-time equivalent of a zero-order hold function (i.e., a discrete-time moving-average approximates a continuous-time zero-order hold). The frequency response of a zero-order hold has a magnitude that varies with frequency according to a sin(x)/x function, and therefore, the frequency response of the moving-average prototype has a magnitude that varies approximately with frequency according to the product of raised sin(x)/x functions (i.e., sin(x)/x functions raised to an exponent), such that
(103)
where n is the length of the moving-average window (i.e., n=2.Math.N.Math.M/P.sub.i), and f.sub.S is the sampling rate of the moving-average filter (i.e., the sample-rate frequency of the associated processing branch). The approximation in the above equation reflects a difference between a discrete-time (moving-average) and a continuous-time zero-order hold response. Furthermore, the R frequency responses which describe this moving-average prototype filter have one-sided, 3 dB bandwidths of
(104)
where f.sub.S is the sampling rate of the moving-average filter, M is the number of processing branches, and N is the converter excess-rate oversampling ratio defined above. Therefore, the one-sided bandwidth of the moving-average prototype filter is inversely proportional to N, and for M filters (i.e., M processing branches), the overall, two-sided bandwidth of the composite BMA filter bank is f.sub.S/N for P.sub.i=1. The center frequency of each BMA filter is determined directly by the period of the sine and cosine sequences used for quadrature downconversion and upconversion, and preferably is set to coincide with the center of the sub-band intended to be processed by the corresponding processing branch.
(105) The complexity of the moving-average prototype filter increases as the number S of cascaded stages increases. Therefore, S which is given by
(106)
is preferably small, e.g., S≦3. The stopband attenuation of the BMA filter bank increases as the impulse response length, L, of the prototype filter increases, where
(107)
The amplitude and phase distortion introduced by the BMA filter bank is minimized (i.e., SDR is maximized) for prototype filter impulse responses of length L≦4.Math.N.Math.M−1, where as before, M is the number of processing branches and N is the converter excess-rate oversampling ratio. Thus, for maximum converter resolution, the prototype filter parameters R, P.sub.i and p.sub.i preferably result in a prototype filter of length L=4.Math.N.Math.M−1, or as close to that as possible. However, stopband attenuation is not a one-to-one function of L. Specifically, some L-length prototype moving-average filters realize greater stopband attenuation than other L-length prototype moving-average filters. More preferably, therefore, the three BMA prototype filter parameters are optimized, for example using trial-and-error or a conventional constrained optimization method, such that both signal-to-distortion ratio (SDR) and stopband attenuation meet the minimum levels needed to achieve a desired converter resolution (e.g., combined SDR and stopband attenuation preferably exceeding ˜60 dB for 10-bit resolution)
(108) Besides exhibiting near-perfect reconstruction properties and realizing high levels of stopband attenuation, cascaded moving-average filters can be very low in complexity because they require no multiplication operations. For example, the 3-stage (i.e., S=3) prototype filter transfer function given by
(109)
requires only 6 additions, independent of filter length (L=4.Math.N.Math.M−2), plus 4.Math.M+3 registers. With these moving-average prototype filters, the only multiplication operations required are those necessary for transforming lowpass prototype responses to bandpass responses. Bandpass transformation based on quadrature downconversion and upconversion, as shown in
x.sub.n=cos(ω.sub.0).Math.x.sub.n-1+sin(ω.sub.0).Math.y.sub.n-1
y.sub.n=cos(ω.sub.0).Math.y.sub.n-1−sin(ω.sub.0).Math.x.sub.n-1
with initial conditions:
x.sub.0=A.Math.sin(ω.sub.0−θ), y.sub.0=A.Math.cos(ω.sub.0−θ).
Although bandpass moving-average (BMA) filters based on cascaded moving-average prototype filters, such as filter 368 described above, generally are preferred because such structures provide a substantial savings in computational complexity, particularly for large M (i.e., M≧8), the conventional, transversal FIR filter bank and transversal window filter approaches can provide equal or less complexity for small M.
(110) The exemplary prototype 3-stage filter with transfer function F(z) is the product of three discrete-time responses, each of which being analogous to a zero-order hold in continuous-time (i.e., each discrete-time response approximates a continuous-time zero-order hold). The first of these discrete-time responses is a moving-average function with a window of length 2.Math.N.Math.M samples, which approximates a zero-order hold with duration τ.sub.1=2.Math.N.Math.M/f.sub.S seconds. A zero-order hold with duration τ.sub.1 seconds, can be shown to have a magnitude that varies with frequency according to
(111)
or a sin(x)/x function raised to the power of one. The second and third of these discrete-time responses are moving-average functions with a window of length N.Math.M samples. In unison, these second and third discrete-time responses approximate two zero-order holds in cascade, each with duration τ.sub.2=N.Math.M/f.sub.S seconds. In cascade, a pair of zero-order holds with duration τ.sub.2 seconds, can be shown to have a magnitude that varies with frequency according to
(112)
or a sin(x)/x function raised to the power of two. Therefore, the exemplary moving-average prototype with frequency response F(z) has a magnitude that varies approximately with frequency according to
(113)
or equivalently, that varies approximately with frequency according to the product of raised sin(x)/x functions: a first sin(x)/x function that is raised to a power of one, and a second sin(x)/x function that is raised to a power of two. As illustrated using the exemplary prototype filter with transfer function F(z), the overall response of the moving-average prototype preferably is generated by filter functions that approximate (continuous-time) zero-order holds.
(114) Referring to
H.sub.0(z)=F′(z) and H.sub.1(z)=1,
where, for example, F′(z) is the 3-stage prototype lowpass response given by
(115)
In alternate embodiments, where higher noise and distortion can be tolerated in exchange for reducing the complexity of polynomial estimators 665A&B (e.g., signal to noise and distortion ratios can be 30 dB or worse), the up/downsampling factors can be other than one (i.e., N′≠1), and the various stages of the bandlimiting function can be split (allocated) between the input moving-average filters (e.g., filters 361A&B) and the output moving-average filters (e.g., filters 362A&B). For example, the three stages of exemplary prototype response F′(z) can be split between the input moving-average filter and the output moving-average filter according to:
(116)
It should be noted that other lowpass prototype responses (i.e., responses other than exemplary response F′(z)) can be utilized, and/or other allocations of the moving-average stages to the input and output filters can be applied, provided that the cascaded input and output filters produce an overall response that is approximately all-pass (i.e., the cascaded response introduces negligible amplitude and phase distortion). It will be readily appreciated that the exemplary bandpass moving-average filter 300B can perform the bandpass interpolation filter function (e.g., associated with filters 155B, 165B and 175B) utilized within resampling filter bank 455 shown in
(117) Representative bandpass moving-average (BMA) filter 300B of
y.sub.inphase=x.sub.inphase.Math.cos(ω.sub.kt)−x.sub.quadrature.Math.A.Math.sin(ω.sub.kt+θ)
y.sub.quadrature=x.sub.inphase.Math.sin(ω.sub.kt)+x.sub.quadrature.Math.A.Math.cos(ω.sub.kt+θ),
where: 1) x.sub.inphase is an in-phase input provided on line 304A; 2) x.sub.quadrature is a quadrature input provided on line 304A; and 3) y.sub.inphase (e.g., signal 138C) and y.sub.quadrature (e.g., signal 138D) are the in-phase and quadrature components, respectively, of a resulting baseband signal. Parameters A and θ of the sine sequence provided to multiplier 366C and the cosine sequence provided to multiplier 366E preferably are set, or dynamically adjusted, to compensate for any amplitude and/or phase imbalances (i.e., quadrature imbalances), respectively, in the input (e.g., input 303) to the BMA filter. Each component of the downconverted signal (e.g., each of baseband signals 138C&D) is processed within one of the baseband processors 377A&B, and using a second complex multiplication operation is upconverted as a complex signal (i.e., a signal represented by in-phase and quadrature components) to the respective frequency band occupied before downconversion. More specifically, the downconverted (baseband) signal is upconverted to a band centered at ω.sub.k, using complex multiplication (e.g., within complex multiplier 487B) by cosine sequences (e.g., cosine sequences 378C) and sine sequences (e.g., sine sequences 379C), according to
y.sub.inphase=x.sub.inphase.Math.sin(ω.sub.kt)−x.sub.quadrature.Math.cos(ω.sub.kt)
y.sub.quadrature=x.sub.inphase.Math.cos(ω.sub.kt)+x.sub.quadrature.Math.sin(ω.sub.kt),
where: 1) x.sub.inphase and x.sub.quadrature are the in-phase and quadrature components, respectively, of a baseband signal; 2) y.sub.inphase is an in-phase output provided on line 138A; and 3) y.sub.quadrature is a quadrature output provided on line 138B.
System Environment.
(118) Generally speaking, except where clearly indicated otherwise, all of the systems, methods, functionality and techniques described herein can be practiced with the use of one or more programmable general-purpose computing devices. Such devices (e.g., including any of the electronic devices mentioned herein) typically will include, for example, at least some of the following components coupled to each other, e.g., via a common bus: a. one or more central processing units (CPUs); b. read-only memory (ROM); c. random access memory (RAM); d. other integrated or attached storage devices; e. input/output software and circuitry for interfacing with other devices (e.g., using a hardwired connection, such as a serial port, a parallel port, a USB connection or a FireWire connection, or using a wireless protocol, such as radio-frequency identification (RFID), any other near-field communication (NFC) protocol, Bluetooth or a 802.11 protocol); f software and circuitry for connecting to one or more networks, e.g., using a hardwired connection such as an Ethernet card or a wireless protocol, such as code division multiple access (CDMA), global system for mobile communications (GSM), Bluetooth, a 802.11 protocol, or any other cellular-based or non-cellular-based system, which networks, in turn, in many embodiments of the invention, connect to the Internet or to any other networks; g. a display (such as a cathode ray tube display, a liquid crystal display, an organic light-emitting display, a polymeric light-emitting display or any other thin-film display); h. other output devices (such as one or more speakers, a headphone set, a laser or other light projector and/or a printer); i. one or more input devices (such as a mouse, one or more physical switches or variable controls, a touchpad, tablet, touch-sensitive display or other pointing device, a keyboard, a keypad, a microphone and/or a camera or scanner); j. a mass storage unit (such as a hard disk drive or a solid-state drive); k. a real-time clock; l. a removable storage read/write device (such as a flash drive, any other portable drive that utilizes semiconductor memory, a magnetic disk, a magnetic tape, an opto-magnetic disk, an optical disk, or the like); and/or m. a modem (e.g., for sending faxes or for connecting to the Internet or to any other computer network). In operation, the process steps to implement the above methods and functionality, to the extent performed by such a general-purpose computer, typically initially are stored in mass storage (e.g., a hard disk or solid-state drive), are downloaded into RAM, and then are executed by the CPU out of RAM. However, in some cases the process steps initially are stored in RAM or ROM and/or are directly executed out of mass storage.
(119) Suitable general-purpose programmable devices for use in implementing the present invention may be obtained from various vendors. In the various embodiments, different types of devices are used depending upon the size and complexity of the tasks. Such devices can include, e.g., mainframe computers, multiprocessor computers, one or more server boxes, workstations, personal (e.g., desktop, laptop, tablet or slate) computers and/or even smaller computers, such as personal digital assistants (PDAs), wireless telephones (e.g., smartphones) or any other programmable appliance or device, whether stand-alone, hard-wired into a network or wirelessly connected to a network.
(120) In addition, although general-purpose programmable devices have been described above, in alternate embodiments one or more special-purpose processors or computers instead (or in addition) are used. In general, it should be noted that, except as expressly noted otherwise, any of the functionality described above can be implemented by a general-purpose processor executing software and/or firmware, by dedicated (e.g., logic-based) hardware, or any combination of these approaches, with the particular implementation being selected based on known engineering tradeoffs. More specifically, where any process and/or functionality described above is implemented in a fixed, predetermined and/or logical manner, it can be accomplished by a processor executing programming (e.g., software or firmware), an appropriate arrangement of logic components (hardware), or any combination of the two, as will be readily appreciated by those skilled in the art. In other words, it is well-understood how to convert logical and/or arithmetic operations into instructions for performing such operations within a processor and/or into logic gate configurations for performing such operations; in fact, compilers typically are available for both kinds of conversions.
(121) It should be understood that the present invention also relates to machine-readable tangible (or non-transitory) media on which are stored software or firmware program instructions (i.e., computer-executable process instructions) for performing the methods and functionality of this invention. Such media include, by way of example, magnetic disks, magnetic tape, optically readable media such as CDs and DVDs, or semiconductor memory such as various types of memory cards, USB flash memory devices, solid-state drives, etc. In each case, the medium may take the form of a portable item such as a miniature disk drive or a small disk, diskette, cassette, cartridge, card, stick etc., or it may take the form of a relatively larger or less-mobile item such as a hard disk drive, ROM or RAM provided in a computer or other device. As used herein, unless clearly noted otherwise, references to computer-executable process steps stored on a computer-readable or machine-readable medium are intended to encompass situations in which such process steps are stored on a single medium, as well as situations in which such process steps are stored across multiple media.
(122) The foregoing description primarily emphasizes electronic computers and devices. However, it should be understood that any other computing or other type of device instead may be used, such as a device utilizing any combination of electronic, optical, biological and chemical processing that is capable of performing basic logical and/or arithmetic operations.
(123) In addition, where the present disclosure refers to a processor, computer, server, server device, computer-readable medium or other storage device, client device, or any other kind of apparatus or device, such references should be understood as encompassing the use of plural such processors, computers, servers, server devices, computer-readable media or other storage devices, client devices, or any other such apparatuses or devices, except to the extent clearly indicated otherwise. For instance, a server generally can (and often will) be implemented using a single device or a cluster of server devices (either local or geographically dispersed), e.g., with appropriate load balancing. Similarly, a server device and a client device often will cooperate in executing the process steps of a complete method, e.g., with each such device having its own storage device(s) storing a portion of such process steps and its own processor(s) executing those process steps.
(124) Additional Considerations
(125) To improve overall conversion accuracy, the present invention can incorporate any combination of: (1) analog input filters to reduce the level of output noise introduced by sampling uncertainty; (2) resampling filter banks to compensate for the sample-time errors introduced by sampling uncertainty; and (3) precision, fixed-frequency oscillators to reduce the fluctuations in sample-rate frequency that produce sampling uncertainty. An exemplary jitter-tolerant converter that incorporates all three of the above components, according to a representative embodiment of the invention, is circuit 250 illustrated in
(126) Furthermore, to simplify the distribution of a continuous-time input signal to the various processing branches of a converter according to the representative embodiments of the invention, the analog input filters may be grouped in combinations of two (i.e., conventional diplexers), three (i.e., conventional triplexers), or more. Exemplary circuit 700, illustrated in
(127) As used herein, the term “coupled”, or any other form of the word, is intended to mean either directly connected or connected through one or more other elements or processing blocks, e.g., for the purpose of preprocessing. In the drawings and/or the discussions of them, where individual steps, modules or processing blocks are shown and/or discussed as being directly connected to each other, such connections should be understood as couplings, which may include additional elements and/or processing blocks. Unless otherwise expressly and specifically stated otherwise herein to the contrary, references to a signal herein mean any processed or unprocessed version of the signal. That is, specific processing steps discussed and/or claimed herein are not intended to be exclusive; rather, intermediate processing may be performed between any two processing steps expressly discussed or claimed herein.
(128) In the preceding discussion, the terms “operators”, “operations”, “functions” and similar terms refer to process steps or hardware components, depending upon the particular implementation/embodiment.
(129) In the event of any conflict or inconsistency between the disclosure explicitly set forth herein or in the accompanying drawings, on the one hand, and any materials incorporated by reference herein, on the other, the present disclosure shall take precedence. In the event of any conflict or inconsistency between the disclosures of any applications or patents incorporated by reference herein, the disclosure most recently added or changed shall take precedence.
(130) Unless clearly indicated to the contrary, words such as “optimal”, “optimize”, “maximize”, “minimize”, “best”, as well as similar words and other words and suffixes denoting comparison, in the above discussion are not used in their absolute sense. Instead, such terms ordinarily are intended to be understood in light of any other potential constraints, such as user-specified constraints and objectives, as well as cost and processing or manufacturing constraints. In the above discussion, certain methods are explained by breaking them down into steps listed in a particular order. However, it should be noted that in each such case, except to the extent clearly indicated to the contrary or mandated by practical considerations (such as where the results from one step are necessary to perform another), the indicated order is not critical but, instead, that the described steps can be reordered and/or two or more of such steps can be performed concurrently. References herein to a “criterion”, “multiple criteria”, “condition”, “conditions” or similar words which are intended to trigger, limit, filter or otherwise affect processing steps, other actions, the subjects of processing steps or actions, or any other activity or data, are intended to mean “one or more”, irrespective of whether the singular or the plural form has been used. For instance, any criterion or condition can include any combination (e.g., Boolean combination) of actions, events and/or occurrences (i.e., a multi-part criterion or condition).
(131) Several different embodiments of the present invention are described above, with each such embodiment described as including certain features. However, it is intended that the features described in connection with the discussion of any single embodiment are not limited to that embodiment but may be included and/or arranged in various combinations in any of the other embodiments as well, as will be understood by those skilled in the art.
(132) Similarly, in the discussion above, functionality sometimes is ascribed to a particular module or component. However, functionality generally may be redistributed as desired among any different modules or components, in some cases completely obviating the need for a particular component or module and/or requiring the addition of new components or modules. The precise distribution of functionality preferably is made according to known engineering tradeoffs, with reference to the specific embodiment of the invention, as will be understood by those skilled in the art.
(133) In the discussions above, the words “include”, “includes”, “including”, and all other forms of the word should not be understood as limiting, but rather any specific items following such words should be understood as being merely exemplary.
(134) Thus, although the present invention has been described in detail with regard to the exemplary embodiments thereof and accompanying drawings, it should be apparent to those skilled in the art that various adaptations and modifications of the present invention may be accomplished without departing from the intent and the scope of the invention. Accordingly, the invention is not limited to the precise embodiments shown in the drawings and described above. Rather, it is intended that all such variations not departing from the intent of the invention are to be considered as within the scope thereof as limited solely by the claims appended hereto.