• 沒有找到結果。

Least squares approximation-based ROM-free direct digital frequency synthesizer

N/A
N/A
Protected

Academic year: 2021

Share "Least squares approximation-based ROM-free direct digital frequency synthesizer"

Copied!
4
0
0

加載中.... (立即查看全文)

全文

(1)

LEAST SQUARES APPROXIMATION-BASED ROM-FREE

DIRECT DIGITAL FREQUENCY SYNTHESIZER

Ching-Hua Wen, Huai-Yi Hsu, Hung Yang Ko, and An-Yeu (Andy) Wu

Graduate Institute of Electronics Engineering, and Department of Electrical Engineering,

National Taiwan University, Taipei, 106, Taiwan, R.O.C.

ABSTRACT

This paper describes a new design approach and an architecture for a Direct Digital Frequency Synthesizer (DDFS) based on Least Square (LS) approximation. It is shown that the architecture can be implemented as a low-cost, low-power, feedforward, and easily pipelineable datapath. A prototype IC has been designed and fabricated in TSMC 0.25 um CMOS technology. The IC produces 14-bit sine and cosine outputs with a spurious free dynamic range of 100 dBc. A 32-bit frequency word gives a tuning resolution of 0.0466 Hz at 200 MHz sampling rate.

1. INTRODUCTION

Direct Digital Frequency Synthesizers (DDFS) [1] is an important component in modern of high-performance communication systems due to their advantageous high frequency resolution, low phase noise and fast frequency switching speed. The DDFS essentially consists of the phase accumulator and phase-to-amplitude converter. Then a Digital-to-Analog Converter (DAC) can be used to output an analog sinusoidal waveform. A low pass filter can then be included to smooth the continuous analog sinusoid waveforms as shown in Fig. 1. Given a Frequency Control Word (FCW), the DDFS can output sinusoidal waveforms of frequency:

.

2

/

L

CLK

f

FCW

out

f

(1)

The FCW is an integer ranging from 0 to 2(L-1), and the minimum frequency resolution is

.

2

/

min

L

CLK

f

f

(2)

Traditionally, the phase-to-amplitude converter is implemented with ROM. However the ROM-based design will lead to large area requirement and power consumption for good synthesized signals and frequency resolution. Many techniques [2] have been proposed to reduce the problems of the power and hardware cost. In this paper, we propose a novel ROM-free DDFS design based on LS algorithm [3]. Based on LS algorithm, 4th order polynomials can be generated to achieve 100dBc

Spurious Free Dynamic Range (SFDR) performance. Besides, the proposed DDFS design can be implemented with only 2 squarer circuits and 1 multiplier.

_________________________________________________________________ This work was supported in part by the MediaTek Inc., under NTU-MTK wireless research project.

Hence the DDFS can synthesize superior sinusoidal signal with fewer arithmetic operations. The FCW is 32-bit wide and the sine/cosine output is 14-bit wide to achieve 100dBc SFDR. These properties will make low cost, low power, high frequency resolution and high spectral purity for the DDFS operation. The DDFS has been realized with TSMC 0.25 um 1P5M CMOS technology. The core area is 0.58x0.58 mm2and the die size is 1.8x1.8 mm2. REG + FCW L L Sine/Cosine Look-Up Table P P fclk Phase accumulator DA C DAC LPF LP F sin(t) cos(t) W

Fig.1. Block diagram of DDFS

2. LEAST-SQUARE (LS) APPROXIMATION

LS algorithm [3] can calculate the best-fit curve that has the minimal sum of the deviations squared (LS errors) from a given set of data. Suppose that the data points are (x1, y1), (x2, y2), …., (xn, yn), where x is the independent variable and y is the dependent variable. The fitting curve f(x) has error difrom each data point yi. That is, d1=y1-f(x1), d2=y2-f(x2), …., dn=yn-f(xn). According to Eq. (3), the best fitting curve can be achieved by minimizing }. 1 2 )] ( [ min{ 1 2 2 .... 2 2 2 1 min    ¦ ¦ 

¿

¾

½

¯

®

­

n i yi f xi n i i d n d d d [ (3)

A general polynomial is one of the most commonly used types of curves in regression. The applications of the method of least squares curve fitting using polynomials are briefly discussed as follows. We take the general case of mthorder polynomial as an example. LS algorithm can use mth order polynomial to approximate the given set of data. The following is the complete derivation.

When using an mth order polynomial

.

1

1

...

1

0

)

(

x

i

a

a

x

a

m

x

m

a

m

x

m

f













(4)

to approximate the given set of data, (x1, y1), (x2, y2), ….. , (xn,

yn), where n t m 1, the best fitting curve f(x) has the least square error as,

,,

(2)

}. min{ } 1 2 )] ( [ min{¦n  3 i yi f xi [ (5)

a0, a1, …, and amare unknown coefficients whereas all xiand yi are given. To obtain the least square error, the unknown coefficient a0, a1, …, and am can be obtained by setting first derivatives to zero.

°

°

°

°

°

°

°

¯

°°

°

°

°

°

°

®

­

¦  w – w ¦  w – w ¦  w – w ¦  w – w n i yi f xi m i x m a n i xi yi f xi a n i xi yi f xi a n i yi f xi a 1 [ ( )] 0. 2 . . , 0 1 [ ( )] 2 2 2 , 0 1 [ ( )] 2 1 , 0 1[ ( )] 2 0 (6)

Expanding the above equations, we have

°

°

°

°

°

¯

°

°

°

°

°

®

­

¦   ¦   ¦ ¦ ¦    ¦  ¦ ¦ ¦    ¦  ¦ ¦ ¦   ¦  ¦ ¦ . 1 2 ... 1 1 1 1 0 1 . . , 1 2 ... 1 3 1 1 2 0 1 2 , 1 1 ... 1 2 1 1 0 1 , 1 ... 1 1 11 0 1 n i m i x m a n i m i x a n i m i x a n i yi m i x n i m i x m a n i xi a n i xi a n i xi yi n i m i x m a n i xi a n i xi a n i xiyi n i m i x m a n i xi a n i a n i yi (7)

Then, the unknown coefficients a0, a1, …, and am can be obtained from the m+1 linear equations. LS algorithm can generate mth order approximation polynomials with the above derivations.

3. PHASE-TO-AMPLITUDE CONVERTER

Synthesizing sinusoid waves with high spectral purity is one of the major goals for the frequency synthesizer designs. For high spectral purity, a good phase-to-amplitude converter design is the most important issue in DDFS design. In this paper, we adopt a LS algorithm to propose a novel DDFS design. We also use the symmetric properties about sinusoidal signals to reduce the hardware requirement. Besides, the symmetric properties can improve the approximated waveforms. The comparison with Taylor-series [4] can demonstrate its advantage in hardware cost and SFDR performance.

3.1. Symmetry Property of Sine and Cosine

Forth Wave Symmetric (ʌ/2-symmetry) and Eighth Wave Symmetry (ʌ/4-symmetry) are often applied on the

phase-to-amplitude converter to reduce the hardware complexity. The equation for ʌ/2-symmetry and ʌ/4-symmetry are shown in Eqs. (8)~(11).

°

°

°

°

¯

°

°

°

°

®

­

         ] 2 , 2 3 [ ), 2 sin( ] 2 3 , [ ), sin( ] , 2 [ ), sin( ] 2 , 0 [ ), sin( ) sin( S S T T S S S T S T S S T T S S T T T (8)

°

°

°

°

¯

°

°

°

°

®

­

         ] 2 , 2 3 [ ), 2 cos( ] 2 3 , [ ), cos( ] , 2 [ ), cos( ] 2 , 0 [ ), cos( ) cos( S S T T S S S T S T S S T T S S T T T (9)

°

°

¯

°°

®

­

   ] 2 , 4 [ ), 2 cos( ] 4 , 0 [ ), sin( ) sin( S S T T S S T T T (10)

°

°

¯

°°

®

­

   ] 2 , 4 [ ), 2 sin( ] 4 , 0 [ ), cos( ) cos( S S T T S S T T T (11)

As shown in Fig. 2, for the synthesized Sine waveform, the smaller phase range can result in better approximation result in LS algorithm. This phase limitation [0, ʌ/4] will improve the approximation result over the limitation [0, 2ʌ]. The approximated sine and cosine waveforms in [0, ʌ/4] can be much better than the approximated waveforms in one full period.

Fig. 2. Synthesized Sine Waveform in [0, 2ʌ], [0, ʌ/4] and Ideal Sine

Waveform

(3)

Therefore, the required of amplitude values to be represented can be reduced to one eighth of the original when the sine and cosine symmetry is utilized. In this small interval, [0, ʌ/4], the complexity of the phase-to-amplitude converter can be reduced substantially.

3.2. SFDR Performance

In order to express the advantage of the proposed LS approximation we use Fig. 3 to illustrate LS algorithm can achieve the same SFDR by using lower order number than Taylor series. For our expected SFDR=100dBc, LS approximation only requires 4th order polynomial while the Taylor series requires a 6thorder polynomial to achieve it. We can use fewer multipliers to implement DDFS with higher spectral purity using the LS algorithm.

Fig. 3. SFDR Comparison between LS and Taylor approximation.

4. SYSTEM ARCHITECTURE

4.1 Finite Wordlength Effect

The optimization of DDFS performance involves trading off the finite wordlength and sinusoid computation method against the sine and cosine wave spectral purity and maximum clock rate. Fig. 4 shows a basic block diagram of a DDFS that identifies the three basic sources of noise inherent to all DDFS designs. These noise sources are phase quantization, amplitude quantization and sine/cosine function compression distortion. For this figure, pipelining isn’t considered. In this paper, the wordlength of the accumulator, L, is designed as 32-bit for tuning frequency resolution < 1 Hz and the phase-to-amplitude converter is based on a 4th order LS approximation. We will use the SFDR criterion to decide the value of W and P. From Matlab and FFT simulation, we set the truncated accumulated phase wordlength to W=17 bits and amplitude wordlength to P=14 bits. These hardware parameters can achieve SFDR=100dBc spectral purity performance.

Fig.4. Finite Wordlength Effects of DDFS.

4.2 System Design

Fig. 5 is the hardware architecture of the proposed LS-based DDFS design with 100 dBc SFDR. In order to improve the system clock, we arrange 6 pipeline stages in the DDFS design. The output spectrum after fixed-point and FFT simulation is shown in Fig. 6. It shows this hardware architecture can achieve 100 dBc SFDR successfully. RE G 1' s com pleme nt ( )2 ( )2 * S4 S3 S2 S1 + C4 C3 C2 C1 + REG Control 1 3 REG 1 RE G RE G ˡ ˸˺ ˴̇ ˼̉ ˸˂ ˘ ̋˶ ˻˴ ́˺ ˸ ˡ ˸˺ ˴̇ ˼̉ ˸˂ ˘ ̋˶ ˻˴ ́˺ ˸ 3 3 FCW Sine Cosine RE G

Fig. 5. Detailed and pipelined Architecture of LS-based DDFS.

Fig. 6. Output Spectrum of LS-based DDFS with Finite

Wordlength(FCW=1/4).

(4)

5. IMPLEMENTATION RESULTS AND

COMPARISION

The proposed DDFS design described was implemented in TSMC 0.25 um 1P5M CMOS technology. The microphotograph of the LS approximation-based DDFS is shown in Fig. 7.

Fig. 7. Microphotograph of the proposed DDFS.

Table 1. Implement result of the LS-based DDFS.

Technology TSMC 0.25 um 1P5M CMOS

Voltage 3.3 V

Amplitude resolution 14 bits Core Size 0.58x0.58 mm2 Die Size 1.36x1.36 mm2 Max Frequency 200MHz Latency 6 cycles Power consumption 96 mW SFDR 100 dBc

In order to eliminate the factor of different fabrication technology, we adopt the Normalize Index [5]. The Normalized Area is the silicon area normalized to a 1 um technology, as shown below: 2 ) 1 / (Technology m Area Area Normalized P (12)

The Power Efficiency (Pe), which compares the number of DDFS calculation per MHz is shown in below:

Frequency Power Efficiency

Power (13)

From the performance table in Table 2, we can see that the proposed LS-DDFS scheme has pretty good performance according to the normalize index.

Table 2. Comparison with the existing DDFS designs.

DDFS CMOS tech. (mm) SFDR (dBc) Nor. Area (mm2) Latency (cycle) Max. Freq. (MHz) Pe (mw/MHz) This Work 0.25 100 5.44 6 200 0.48 LUT [6] 0.25 90.36 5.76 13 150 2.67 Appro. [7] 0.35 80 3.6 1 88 0.44 Appro. [8] 0.5 59 (DAC) 5.6 - 100 0.08 CORDIC [9] 1.0 100 12 16 100 14

6. CONCLUSIONS

Based on LS algorithm, we define and realize the LS-based ROM-free DDFS. The LS-based DDFS can avoid the speed-down by memory device and achieve 100dBc spectral purity. In the comparison, the proposed DDFS requires less area and power consumption. For today and future communication application, the proposed LS-based DDFS can meet the needs of portability, cost, power, speed, and spectral purity for modern SOC designs.

7. REFERENCES

[1] J. Tierney, C. M. Rader, and B. Gold, “A digital Frequency Synthesizer,” IEEE Trans. on Audio Electroacoust., vol. AU-19, no. 1, pp. 48-57, Mar. 1971.

[2] J. Vankka, “Methods of mapping from phase to sine amplitude in direct digital synthesis” IEEE Trans. on Ferroelectrics and Frequency Control, vol. 44, pp. 526-534, Mar. 1997.

[3] M. Flickner, J. Hafner, and E.J. Rodriguez, and J.L.C. Sanz, “Fast least-squares curve fitting using quasi-orthogonal splines,” IEEE Int. Image Processing, vol. 1, pp. 686-690, Nov. 1994.

[4] K.I. Palomaki and J. Niittylahti, to “Methods to improve the performance of quadrature phase-to-amplitude conversion based on Taylor series approximation,” in Proc. 43th IEEE Symp. on Circuits and Systems, vol. 1, pp. 14-17, 2000.

[5] M. Baas, “A Low-Power High-Performance, 1024-Point FFT Processor,” IEEE J. of Solid-State Circuits, vol. 34 no. 3, pp. 380-387, Mar 1999.

[6] A. Torosyan, Dengrwei Fu, Jr. Willson A. N., “A 300 MHz quadrature direct digital synthesizer/mixer in 0.25 µm CMOS,” in IEEE Solid-State Circuits Conference, vol. 1, pp. 132 -133, 2002.

[7] D. De Caro, E. Napoli, A. G. M. Strollo, “Direct digital frequency synthesizers using high-order polynomial approximation,” IEEE Solid-State Circuits Conference, vol. 1 , pp. 134 -135, 2002.

[8] A. N. Mohieldin, A.A. Emira, E. Sanchez-Sinencio, “A 100-MHz 8-mW ROM-less quadrature direct digital frequency synthesizer,” IEEE J. of Solid-State Circuits, vol. 37, pp. 1235-1243, Oct. 2002.

[9] A. Madisetti, A.Y. Kwentus, A.N. Willson and Jr., “A MHz, 16-b, direct digital frequency synthesizer with a 100-dBc spurious-free dynamic range” IEEE J. of Solid-State Circuits, vol. 34, pp. 1034-1043, Aug. 1999.

數據

Fig. 2. Synthesized Sine Waveform in [0, 2ʌ], [0, ʌ/4] and Ideal Sine  Waveform
Fig. 5 is the hardware architecture of the proposed LS-based  DDFS design with 100 dBc SFDR
Fig. 7. Microphotograph of the proposed DDFS.

參考文獻

相關文件

Wang, Solving pseudomonotone variational inequalities and pseudocon- vex optimization problems using the projection neural network, IEEE Transactions on Neural Networks 17

Then, we recast the signal recovery problem as a smoothing penalized least squares optimization problem, and apply the nonlinear conjugate gradient method to solve the smoothing

Then, we recast the signal recovery problem as a smoothing penalized least squares optimization problem, and apply the nonlinear conjugate gradient method to solve the smoothing

Define instead the imaginary.. potential, magnetic field, lattice…) Dirac-BdG Hamiltonian:. with small, and matrix

For ASTROD-GW arm length of 260 Gm (1.73 AU) the weak-light phase locking requirement is for 100 fW laser light to lock with an onboard laser oscillator. • Weak-light phase

* School Survey 2017.. 1) Separate examination papers for the compulsory part of the two strands, with common questions set in Papers 1A &amp; 1B for the common topics in

Microphone and 600 ohm line conduits shall be mechanically and electrically connected to receptacle boxes and electrically grounded to the audio system ground point.. Lines in

Biases in Pricing Continuously Monitored Options with Monte Carlo (continued).. • If all of the sampled prices are below the barrier, this sample path pays max(S(t n ) −