Abstract

This paper presents a novel algorithm and architecture for digital frequency synthesis (DFS). It is based on a simple difference equation. Simulation results show that the proposed DFS algorithm is preferable to the conventional phase-locked-loop frequency synthesizer and the direct digital frequency synthesizer in terms of the spurious-free dynamic range (SFDR) and the peak-signal-to-noise ratio (PSNR). Specifically, the results of SFDR and PSNR are more than 186.91 dBc and 127.74 dB, respectively. Moreover, an efficient DFS architecture for VLSI implementation is also proposed, which has the advantage of saving hardware cost and power consumption.

1. Introduction

Many modern devices, for example, radio receivers, ADSL (Asymmetric Digital Subscriber Line), XDSL (X Digital Subscriber Line), 3G/4G mobile phones, walkie-talkies, CB radios, satellite receivers, and GPS systems, require frequency synthesizers with fine resolutions, fast channel switching, and large bandwidths. There are two types of frequency synthesizer available: phase-locked loop (PLL) and direct digital frequency synthesis (DDFS).

PLL is a control system, which generates an output signal with phase matched that of the input reference signal. Figure 1 shows the conventional PLL frequency synthesizer consisting of a phase detector, a charge bump, a lowpass filter, a voltage control oscillator, and a frequency divider [18]. The lower frequency signal, , obtained by dividing the output signal via the frequency divider, is compared with the reference signal, , in the phase detector to generate an error signal, which is proportional to the phase difference. The charge bump converts the error signal pulse into analog current pulses, which are then integrated by using the lowpass filter, and drives the voltage-controlled oscillator to obtain the desired frequency.

The commonly used architecture of DDFS [9] shown in Figure 2 consists of a phase accumulator, a sine/cosine generator, a digital-to-analog converter (DAC), and a lowpass filter (LPF). It takes two inputs: a reference clock and a -bit frequency control word (FCW). In each clock cycle, the phase accumulator integrates FCW with periodical overflow to produce an angle in the range of , the sine/cosine generator computes its sinusoidal value, which in practice is implemented digitally and, therefore, follows by DAC and LPF [1023]. Various fractional-order ideal filters and fractional oscillators were proposed in [2429].

Instead of using the conventional methods above, we propose a novel digital frequency synthesis (DFS) algorithm based on a simple difference equation. The rest of the paper is organized as follows. In Section 2, a novel DFS algorithm is proposed. In Section 3, the VLSI (very large-scale integration) digital frequency synthesizer is presented. In Section 4, the FPGA implementation and the performance evaluation are given. Conclusion can be found in Section 5.

2. The Proposed DFS Algorithm

The difference equation of DFS is as follows: Thus, we have the following characteristic equation: The eigen-functions of (2.2) are represented as The ZIR (zero-input response) of DFS can be written as where and are determined by initial conditions, and .

For DFS with sine wave generator, we have The eigen-functions of DFS are therefore as follows: Thus, the characteristic equation can be expressed as where .

Equation (2.7) could be rewritten as and the transfer function of DFS can be derived as According to (2.9), the corresponding difference equation could be derived as where

As one can see, a rotation of angle in the circular coordinate system can be obtained by performing a sequence of microrotations in an iterative manner. In particular, a vector can be successively rotated through the use of a sequence of predetermined step angles: . This technique can be applied to generate many elementary functions, in which only simple adders and shifters are required. Thus, the well-known coordinate rotation digital computer (CORDIC) algorithm can be used for the DFS applications. The conventional CORDIC in the circular coordinate system is as follows [3639]: where denotes the direction of the th microrotation, with in the vector rotation mode, with in the angle accumulated mode, the corresponding scale factor is equal to , and . The product of all scale factors after microrotations is given by In the vector rotation mode, and can be obtained, where the initial value . In principle, and can be computed from the initial value , by using the following equation:

In order to evaluate the sinusoidal parameters: and for the proposed digital frequency synthesizer, the inputs of the CORDIC processor are , , and as shown in Figure 3.

3. Proposed Architecture for Digital Frequency Synthesizer

In this section, the architecture and the terminology associated with the proposed digital frequency synthesizer are presented. Our scheme is based on the proposed DFS algorithm combined with a CORDIC processor. It consists mainly of the radian converter, the CORDIC processor, and the sine generator as shown in Figure 4.

Figure 5 shows the radian converter. It is a constant multiplier, which converts the input signal into radians. Figure 6 shows the CORDIC processor, which evaluates the sinusoidal value and consists of three adders and two shifters.

Figure 7 shows the architecture of sine generator, which is the core of the proposed digital frequency synthesizer. It consists of one multiplier, one adder, and two latches only.

The key terminologies associated with the proposed digital frequency synthesizer are as follows.

3.1. Output Frequency

The output frequency of the proposed digital frequency synthesizer is determined by the coefficients and , since

3.2. Frequency Resolution

For -bit digital frequency synthesizer, the minimum change of the output frequency is expressed as

3.3. Bandwidth

The bandwidth of digital frequency synthesizer is defined as the difference between the highest and lowest attainable output frequencies, which are expressed as follows:

3.4. Peak Signal-to-Noise Ratio (PSNR)

A good direct digital frequency synthesizer should have an output signal with low noise, which can be evaluated by using the following signal-to-noise-ratio (PSNR) measured in dB: where MSE is the mean square error.

3.5. Spurious-Free Dynamic Range (SFDR)

The spurious-free dynamic range (SFDR) is defined as the ratio of the amplitude of the desired frequency component to that of the largest undesired frequency component at the output of a DDFS. It is expressed in decibels (dBc) as follows: where is the amplitude of the desired frequency component, is the amplitude of the largest undesired frequency component, and the higher the better.

4. FPGA Implementation of Digital Frequency Synthesizer

In this section, the proposed high-performance architecture of digital frequency synthesizer is presented. Figure 8 depicts the system block diagram. The PSNR and SFDR of the proposed digital frequency synthesizer at various word lengths at 100 MHz sampling rate and the maximum output frequency 12.5 MHz are shown in Figures 9 and 10, respectively.

The platform for architecture development and verification has also been designed and implemented to evaluate the development cost. The proposed architecture of digital frequency synthesizer has been implemented on the field programmable gate array (FPGA) emulation board [40]. The FPGA has been integrated with the microcontroller (MCU) and I/O interface circuit (USB 2.0) to form the architecture development and verification platform.

Figure 11 depicts the block diagram and circuit board of the architecture development and evaluation platform. In which, the microcontroller reads data and commands from PC and writes the results back to PC via USB 2.0 bus; the FPGA implements the proposed architecture of digital frequency synthesizer. The hardware code in portable hardware description language runs on PC with the logic circuit simulator [41] and FPGA compiler [42]. It is noted that the throughput can be improved by using the proposed pipelined architecture while the computation accuracy is the same as that obtained by using the conventional architecture with the same word length. Thus, the proposed digital frequency synthesizer improves the power consumption and performance significantly. Moreover, all the control signals are internally generated onchip. The proposed digital frequency synthesizer provides a high-performance sinusoid waveform.

5. Conclusion

In this paper, we present a novel digital frequency synthesizer based on a simple difference equation with pipelined data path. Circuit emulation shows that the proposed high-performance architecture has the advantages of high precision, high data rate, and simple hardware. For 16-bit digital frequency synthesizer, the PSNR and SFDR obtained by using the proposed architecture at the maximum output frequency are 127.74 dB and 186.91 dBc, respectively. As shown in Table 1, the proposed digital frequency synthesizer is superior to the previous works in terms of SFDR, PSNR, and hardware [18, 3035]. The proposed digital frequency synthesizer designed by portable hardware description language is a reusable IP, which can be implemented in various VLSI processes with trade-offs of performance, area and power consumption.

Acknowledgment

The National Science Council of Taiwan, under Grants NSC100-2628-E-239-002-MY2, supported this work.