Systems and Methods for Digital Signal Synthesis with Variable Sample Rate DAC
20250158634 ยท 2025-05-15
Assignee
Inventors
Cpc classification
H04L27/26412
ELECTRICITY
International classification
Abstract
Systems and methods for digital signal synthesis with variable sample rate digital-to-analog converters (DACs) in accordance with embodiments of the invention are described. One embodiment includes a digital frequency generator that includes a direct digital frequency synthesizer (DDFS); a digital-to-analog converter (DAC); a frequency/phase estimation circuit; a stable reference clock (REF CLK); a variable frequency sample clock; a frequency control word (FCW); where the DAC is sampled by the variable frequency sample clock; where the DDFS is clocked by the variable frequency sample clock; where the frequency/phase estimation circuit receives a the stable REF CLK and the variable frequency sample clock and estimates a FCW frequency error and adjusts the FCW to the DDFS; where the DDFS receives the FCW and outputs a digital sine codeword at the variable frequency sample clock to the DAC, where the FCW is continuously adjusted to track the variable frequency sample clock.
Claims
1. A digital frequency generator comprising: a direct digital frequency synthesizer (DDFS); a digital-to-analog converter (DAC); a frequency/phase estimation circuit; a stable reference clock (REF CLK); a variable frequency sample clock; and a frequency control word (FCW); wherein the DAC is sampled by the variable frequency sample clock; wherein the DDFS is clocked by the variable frequency sample clock; wherein the frequency/phase estimation circuit receives as inputs the stable REF CLK and the variable frequency sample clock and estimates a FCW frequency error and adjusts the FCW to the DDFS; wherein the DDFS receives the FCW and outputs a digital sine codeword at the variable frequency sample clock to the DAC, wherein the FCW to the DDFS is continuously adjusted to track the variable frequency sample clock; and wherein the DAC converts the digital sine codeword to an analog waveform.
2. The digital frequency generator of claim 1, wherein the variable frequency sample clock is at least one variable frequency sample clock selected from the group consisting of a frequency ramp generator, a pseudo random (PN) modulated frequency source, and a frequency modulation source.
3. The digital frequency generator of claim 1, wherein the frequency/phase estimation circuit estimates a frequency error by comparing edges of the REF CLK and the variable frequency sample clock, wherein the frequency error is filtered with a loop filter to generate the FCW for the DDFS.
4. The digital frequency generator of claim 1, wherein the FCW is a ratio of a desired frequency (fc) and the variable frequency sample clock (fs.sub.j) wherein j denotes an index of the sample frequency.
5. A broadband modulator comprising: a stable symbol clock (CLK); a variable frequency sample clock; an OFDM modulator circuit that operates at the stable symbol CLK to generate OFDM symbols; a frequency/phase estimation circuit that receives as inputs the stable symbol CLK and the variable frequency sample clock and estimates a frequency error and a phase error; a variable interpolator/decimator (VID) circuit that uses the frequency error and the phase error to generate a codeword; and a digital-to-analog converter (DAC) that receives the codeword from the VID and generates an analog output.
6. The broadband modulator of claim 5, wherein the analog output is filtered by a filter to provide a filtered analog output.
7. The broadband modulator of claim 5, wherein the VID circuit converts a modulated signal from the stable symbol CLK domain to the variable frequency sample clock domain, wherein the VID circuit generates a corrected codeword that is provided to the DAC.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DETAILED DESCRIPTION
[0025] Turning now to the drawings, systems and methods for digital signal synthesis with variable sample rate digital-to-analog converters (DACs) in accordance with various embodiments of the invention are illustrated. Systems in accordance with many embodiments can provide for digital frequency synthesis using a variable sample rate DAC. In many embodiments, a DAC can be sampled by a variable frequency source. In many embodiments, a variable frequency source can be a frequency ramp generator, pseudo random (PN) modulated frequency source, and/or frequency modulation source among others. In many embodiments, a direct digital frequency synthesizer (DDFS) can also be clocked by the same variable frequency source. In many embodiments, given that a sample frequency can be variable, a frequency control word (FCW) to the DDFS may be adjusted continuously to track the variable sample frequency. A frequency/phase estimation circuit can be used to estimate FCW frequency error. The frequency/phase estimation circuit can take both a stable reference clock and a variable sample clock as inputs. Described now are details regarding DAC operation in accordance with several embodiments of the invention.
DAC Operation
[0026] A DAC can be a device that converts a fine-precision digital-format number (typically a finite-length binary format number) to an analog electrical quantity (such a voltage, current and/or electric charge). Two basic types of DAC output formats can be used to construct an analog signal, including non-return-to-zero (NRZ) and return-to-zero (RZ).
DAC Output Spectrum
[0027] An architecture of a digital frequency generator using direct digital frequency synthesis (DDFS) and a DAC in accordance with an embodiment of the invention is illustrated in
[0028] A raw DAC output (e.g., NRZ and RZ) can have many harmonics other than a desired output frequency.
[0029] These harmonics may be away from a desired frequency fc if fs is chosen properly (e.g., fc has been less than fs/2). In many embodiments, a low pass filter can be used to suppress harmonics.
[0030] In many embodiments, if there is a non-linear device (e.g., an amplifier and/or driver) before the low pass filter (as shown in
IM Product Suppression with Variable Sample Frequency
[0031] Systems in accordance with many embodiments can, instead of using a fixed sample frequency fs, use multiple sample frequencies fsj, where j denotes an index of the sample frequency. In many embodiments, a digital frequency control word (FCW) can be adjusted according to the sample frequency fsj, and thus a DAC output can still have a desired frequency. Accordingly, harmonics can be spread into multiple frequency components with lower power.
[0032] For example, a desired output frequency is 1000 Hz and 2 sample frequencies 5000 and 5050 can be used. For fs=5000 Hz, FCW=1000/5000=0.2 can be used and the image frequency is at 4000 Hz. For fs=5050 Hz, FCW=1000/5050=0.198 can be used and the image frequency is at 4050 Hz.
[0033] An example DAC output spectrum with 2 sample frequencies in accordance with an embodiment of the invention is illustrated in
[0034] With lower harmonic power, IM products of these harmonics can be lowered with a same non-linear device. An example of variable sampled DAC output spectrum with IM products added in accordance with an embodiment of the invention is illustrated in
Digital Frequency Synthesis Architectures with Variable Sample Rate DACs
[0035] A circuit architecture for digital frequency synthesis with a variable sample rate DAC in accordance with an embodiment of the invention is illustrated in
[0036] A frequency/phase estimation circuit architecture in accordance with an embodiment of the invention is illustrated in
[0037] A process for frequency generation in accordance with an embodiment of the invention is illustrated
Digital Broadband Modulator Architectures with Variable Sample Rate DACs
[0038] Variable sample rate DAC architectures in accordance with many embodiments may not be limited to a single frequency generation. Systems in accordance with many embodiments can be used for broad-band signal generation. A circuit architecture of a broadband modulator (OFDM modulator) with a variable sample rate DAC in accordance with an embodiment of the invention is illustrated in
[0039] A process for broad-band signal generation in accordance with an embodiment of the invention is illustrated in
Mathematical Operations
[0040] A DAC operation can be modeled by 3 mathematical operations:
[0041] 1) Normalized frequency scaling. A digital normalized frequency can be scaled by the actual DAC sample frequency to generate the output frequency.
[0042] 2) Frequency multiplication with multiple tones. The band-limited digital signal can be mixed by multiple tones that are integer multiply of the sample frequency.
[0043] 3) The broad-band signal can be convolved with a rectangular pulse. For NRZ DAC, the rectangular pulse width can be the same as the sample period. For RZ DAC, the rectangular pulse width can be less than the sample period. For both cases, this convolution can be the same as low pass filtering by a sinc( ) function in frequency domain. The frequency response of the low-pass filter can be determined by the pulse width and the sample frequency.
[0044] Given a digital signal x(n)=sin(2.Math.0.1*n), n=1, 2, . . . and a DAC sampled at 100 MHz can be used to convert this digital signal into analog. The output analog signal has frequencies f.sub.op (0.1*100=10 MHZ) and f.sub.on (0.1*100=10 MHZ) and their frequency multiplication products with integer multiples of the sample frequency 100 MHz.
[0045] Each frequency component is weighted by the sinc( ) filter and the filter weight h(f) is given as follows:
[0046] T.sub.p is the pulse width. For NRZ DAC, T.sub.p=T.sub.s. For RZ DAC, T.sub.p<T.sub.s.
[0047] Given a digital signal with normalized frequency component at f.sub.nc and a DAC with sample frequency at f.sub.s, the DAC output can include many frequencies f.sub.cp(k) and f.sub.cn(k)
[0048] Each frequency component is weighted by w.sub.cp(k) and w.sub.cn(k)
[0049] For an ideal DAC with perfect linearity and f.sub.nc<0.5, it can be shown that frequency components within {f.sub.s/2, f.sub.s/2} are f.sub.cp(0) and f.sub.cn(0). A low-pass filter with pass band {f.sub.s/2, f.sub.s/2} can filter out all other frequencies. The filtered output is a sinewave with frequency at f.sub.nc*f.sub.s.
[0050] However, if there is non-linearity in the DAC, intermodulation (IM) products would show up at the DAC output and these IM products can fall within
band. These in-band IM products cannot be filtered out by the low-pass filter. They become spurs and degrade quality of the generated signal. The general expression of IM products of p-th order (k-th frequency) and q-th order (l-th frequency) is as follows:
[0051] Their associated weights are:
[0052] (p,q) is a function associated with the DAC non-linearity.
[0053] Any IM products with non-zero (k*p+l*q) term may not be desirable since they can be spur right next to the desired frequency. On the other hand, IM products with (k*p+l*q)=0 is an integer harmonic of the desired frequency and the frequency spacing is at least (f.sub.nc*f.sub.s).
[0054] Given a digital signal with f.sub.nc=0.199 and f.sub.s=100 MHZ, the desired frequency is 19.9 MHz. With k=1, p=3, l=2, and q=1, IM products [f.sub.cn(k)].sup.p*[f.sub.cn(l)].sup.q has output frequency at 20.4 MHz which is 0.4 MHz away from the desired frequency. This close-in spur may not be desirable and should be reduced as much as possible to improve signal quality. In many embodiments, a way to suppress this spur can be to improve the DAC linearity which means more power and area. In certain embodiments, another way can be to sample the DAC with variable sample frequency f.sub.s(t). f.sub.s(t) can be a random variable that takes value between {f.sub.s_min,f.sub.s_max}. If the difference between f.sub.s_min and f.sub.s_max is small compared to
can the above DAC analysis can extend from fixed frequency sampling to variable frequency sampling.
[0055] Given a digital signal with normalized frequency component at f.sub.nc(t) and a DAC with variable sample frequency at f.sub.s(t), f.sub.nc(t) tracks the change of f.sub.s(t) such that f.sub.nc(t)*f.sub.s(t)=f.sub.c. The DAC output can include many frequencies f.sub.cp(k,t) and f.sub.cn(k,t)
[0056] Each frequency component is weighted by w.sub.cp(k,t) and w.sub.cn(k,t)
[0057] Added non-linearity, IM products of p-th order (k-th frequency) and q-th order (l-th frequency) is as follows:
[0058] Their associated weights are:
[0059] Note that any IM products with non-zero (k*p+l*q) term is no longer a single tone. Its frequency spreads over a wide range depending on {f.sub.s_min,f.sub.s_max}, k, p, l, and q.
[0060] To generate a frequency with 19.9 MHz with a variable sample frequency f.sub.s(t) and {f.sub.s_min=99.9 MHZ, f.sub.s_max=100.1 MHz}, the normalized frequency f.sub.nc(t) should be between 0.1988 and 0.1992 tracking f.sub.s(t). With k=1, p=3, l=2, and q=1, IM products [f.sub.cn(k)].sup.p*[f.sub.cn(l)].sup.q has output frequencies range from 19.9 to 20.9 MHz. Since the IM product is spread over a wide range (1 MHZ), each individual tone in the frequency range is reduced ( 1/1,000,000 in this case).
[0061] While the above descriptions and associated figures have digital signal synthesis with variable sample rate digital-to-analog converters, it should be clear that any of a variety of configurations for digital signal synthesis with variable sample rate digital-to-analog converters can be implemented in accordance with embodiments of the invention. More generally, although the present invention has been described in certain specific aspects, many additional modifications and variations would be apparent to those skilled in the art. It is therefore to be understood that the present invention may be practiced otherwise than specifically described. Thus, embodiments of the present invention should be considered in all respects as illustrative and not restrictive.