A communication system or a radar system often incorporates a direct digital frequency synthesizer (DDFS) as an element of a transmitter or a receiver. A DDFS generally has useful characteristics such as high resolution tuning and fast frequency hopping that can enhance system performance and provide desired features. In order to generate a desired frequency, the DDFS receives a control signal, typically a number, representing step size. The control signal is received by an accumulator within the DDFS. The accumulator also receives a reference clock signal as an input. The output of the accumulator is a phase signal with a frequency that is dependent on the step size and the frequency of the reference clock. The phase signal, a sequence of numbers generally having a sawtooth shape, is coupled to a phase-to-sine mapper (PSM). The PSM provides another sequence of numbers that is a digital sinusoidal signal. The digital sinusoidal signal is sometimes utilized within a digital communication system as a carrier signal for a modulator or a demodulation process. The digital sinusoid signal for other applications is converted to an analog signal by a digital-to-analog converter providing an analog sinusoidal signal. The analog sinusoid signal is then processed by analog components of a communication system or radar system. In general, it is desirable for both the digital sinusoid signal and the analog sinusoid signal to be relatively free of noise, such as frequency spurs, that may be generated in the synthesis process.
In one prior art synthesizer, polynomial coefficients are retrieved from a lookup table. The polynomial coefficients are used in an interpolation polynomial that converts a phase signal into a sinusoidal signal. Another prior art synthesizer is based on angle rotation methods. The spectral purity of a synthesizer is defined by the spurious free dynamic range (SFDR) of the synthesizer. A synthesizer having a SFDR of about 70 dBc. or greater provides a sinusoid of high quality.
The complexity and expense of a DDFS generally increases with an increase in signal quality. Further, the power required generally increases as complexity increases. Hence, there is a need for a DDFS of reduced complexity that provides a quality sinusoidal signal. Associated with conventional DDFS are reference clocks that have frequencies several Hertz (Hz) up to over 1 Giga-Hertz (GHz). The output frequency of a DDFS is generally limited to around 45% of the frequency of the reference clock because of limitations based primarily on the Nyquist sampling rate.
There is a need for an improved DDFS that provides a quality signal and has reduced complexity. Reducing the complexity would save power and reduce the size of the integrated circuit used to provide the digital sinusoidal signal.
The disclosure describes an improved direct digital frequency synthesizer for providing sinusoidal signals.
In one exemplary embodiment, a synthesizer comprises an accumulator that provides a phase signal. An interpolator receives the phase signal and selects a set polynomial coefficients from sets of polynomial coefficients in response to a comparison of the phase signal to a threshold value. The interpolator processes the phase signal using the selected coefficients thereby generating a sinusoidal signal.
An exemplary method embodiment for providing a digital sinusoid comprises the steps of generating a phase signal, selecting a set of polynomial coefficients from sets of coefficients wherein the coefficients represent two or more interpolation polynomials, and processing the phase signal using the selected set of coefficients.
The disclosure can be better understood with reference to the following drawings. The elements of the drawings are not necessarily to scale relative to each other, emphasis instead being placed upon clearly illustrating the principles of the disclosure. Furthermore, like reference numerals designate corresponding parts throughout the several views.
A conventional direct digital frequency synthesizer (DDFS) 10 is typically comprised of an accumulator 20 and an interpolator 30, as shown in
The phase signal 25 usually has a sawtooth shape, is periodic and has values that span all four quadrants. The output of the interpolator 30 is a sequence of digital numbers that represents the sinusoid signal 35. When the interpolator 30 receives phase signal 25 from the accumulator 20, the interpolator 30 processes, using an interpolation algorithm, the phase signal 25 to generate the sinusoid signal 35. The interpolator 30 is also referred to as a phase-to-sine mapper (PSM) since the interpolator 30 maps phase signal 25 into the sinusoidal signal 35. Most conventional interpolators, such as interpolator 30, retrieve information from a look up table (LUT). When the interpolator algorithm is an interpolation polynomial, the LUT stores polynomial coefficients, ai, that are retrieved and used for generating the sinusoidal signal. Some interpolators, such as interpolator 20, generate the 2nd, 3rd, and 4th quadrant of the sinusoid signal from the 1st quadrant to take advantage of quadrature symmetry. Such a conversion reduces storage requirements thereby reducing the memory size of the accumulator 20.
Conventional interpolators, such as interpolator 20, often divide the phase signal into equally spaced segments. When there are segments, polynomial coefficients correspond to each segment. The general interpolation polynomial for interpolator 20 is,
A(x)=a0(k)+a1(k)x+a2(k)x2+ . . . +an(k)xn.
The value of each coefficient, ai(k), is selected in an attempt to minimize the error between a sinusoid and the approximation of the sinusoid generated by interpolator 20.
The quality of the sinusoid signal 35 generated by synthesizer 10 or any synthesizer generally increases as the order of the polynomial increases and/or the number of segments increases. The quality of a synthesizer generated sinusoid signal is generally expressed by finding the spurious free dynamic range (SFDR) of the signal. The SFDR, a known measure of quality, is defined as the ratio of the fundamental harmonic amplitude to the maximum spur amplitude of the generated sinusoid signal, where a spur is a harmonic signal caused by the synthesizer non-idealities. A first sinusoidal signal is of higher quality than a second sinusoidal signal when the first sinusoid signal has a higher value for its SFDR.
The frequency, fout, of the sinusoid signal from synthesizer 10 and the improved synthesizer 100 of the present disclosure is given by the equation,
where Fr, L, and fclk are the control signal for the accumulator, the accumulator word length and the clock frequency, respectively. The control signal, Fr, is a number that determines the step size of the phase signal 25.
An embodiment of a synthesizer 100 in accordance with the present disclosure is depicted in
where k is the segment number and c0(k), c1(k) and c2(k) are the polynomial's coefficients. A threshold value 240, θ, in the equation is depicted graphically in
Desirable ranges for the threshold value 240 can be determined by observing the SDFR upper bound values as a function of the number of segments, s, as depicted in
A block diagram depicting an exemplary embodiment of DDFS 100 is shown in
The approximations for the digital embodiment of
where W is the phase word length. The quarter wave symmetry of a sinusoid is also used to reduce complexity as well be seen. By substituting the value of x in the polynomial equation, the polynomial equation (2) becomes,
In order to quantize the amplitude of the above polynomials, the polynomials are multiplied by 2D-1 where D is the output word length of the DDFS 100. The result of the multiplication is
By substituting W=D+1 in equation (4), the following equations are obtained and are used to implement DDFS 100,
where the term n2/2W-2 represents a fixed-width squarer 291 (
The next step is to quantize c1(k) and c2(k). To avoid the requirement of a digital multiplier, these coefficients can be approximated by a summation of integer powers of two, which can be realized by logical left and right shifts. Such an approximation is expressed as
where gjk is contained in { . . . ,−2,−1,0,+1,+2, . . .} and hjk is the sign of each term. The value of r can be indefinitely large, but to obtain a less complex architecture, it can be chosen as small as possible. Additional substitutions provide
where (a, b) means that the binary number a has been shifted to the right (b<0) or to the left (b>0) by b bits and the result is truncated to an integer number and
q
k=└2D-1c0(k)┘ (8)
where └.┘ is the floor function.
In order to provide a better understanding of the function of the blocks of
Optimal values for the coefficients can be determined using computer simulations and determining if the performance results are close to the upper bound of the SFDR for the determined values of the coefficients. A table having a set of coefficients, Table 1, for an exemplary embodiment of a DDFS 100 is shown in
A method embodiment 300 for DDFS 100 is shown in
This document claims priority to U.S. Provisional Application No. 60/941,555 application entitled “Direct Digital Frequency Synthesizer with Phase-Selectable Interpolator,” and filed on Jun. 1, 2007, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60941555 | Jun 2007 | US |