IEEE MICROWAVE AND WIRELESS COMPONENTS LETTERS, VOL. 19, NO. 1, JANUARY 2009 3
Improved Accuracy Factors for the Nonuniform
Fast Fourier Transform (NUFFT) Algorithm
Jen-Tsai Kuo, Senior Member, IEEE, and Hsin-Ying Lee
Abstract—Based on the regular Fourier matrix, a new set of
ac-curacy factors is proposed for the nonuniform fast Fourier trans-form algorithm to improve the accuracy of transtrans-formed data. It shows that the proposed factors can reduce the errors by three to more than ten times with almost the same number of arithmetic operations. Numerical examples are shown for the applications in computational electromagnetics.
Index Terms—Accuracy factor, fast Fourier transform (FFT),
microstrip line, nonuniform sampling.
I. INTRODUCTION
T
HE fast Fourier transform (FFT) algorithm has played a very important role in developing science and technology since it was proposed [1]. One of its important properties is that the input data must be sampled with equal distance and the trans-formed results are also uniformly spaced. In many applications, however, if the samples can be nonuniformly spaced, the com-putation and computer memory can be much more efficient. To achieve this goal, several studies [2]–[4] investigate the FFT al-gorithm for nonuniformly sampled data. In [2], based on certain analytical considerations, a group of algorithms is presented for generalizing both the forward and backward FFTs for the cases of nonuniform samples and nonequispaced nodes. Later, a new NUFFT algorithm with a comparable computation complexity is developed in [3], [4] and provides results with much more ac-curacy.Incorporated into the spectral-domain approach (SDA) for analyzing shielded multiple coupled microstrip lines, the NUFFT algorithm can be 60 times faster than the traditional SDA calculation for results with similar accuracy [5]. The NUFFT is also extended to process 2-D data for SDA analyses of planar circuit discontinuities [6].
The innovation in the new NUFFT algorithm developed in [3] includes the use of the cosine accuracy factors and the least squares solution formulation. It leads to a closed-form solution for the coefficients of the local 1 regular Fourier bases to expand a nongrid point and saves many arithmetic operations.
Manuscript received July 29, 2008; revised September 05, 2008. First pub-lished December 22, 2008; current version pubpub-lished January 08, 2009. This work was supported in part by the Ministry of Education under the ATU Program and by the National Science Council of Taiwan, under Grants NSC 95-2221-E-009-037-MY2 and NSC 96-2221-E-009-245.
The authors are with the Department of Communication Engineering, Na-tional Chiao Tung University, Hsinchu 300, Taiwan (e-mail: [email protected]. edu.tw).
Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org.
Digital Object Identifier 10.1109/LMWC.2008.2008518
In this letter, we study the improvement of the accuracy of the NUFFT algorithm by choosing an alternative set of accuracy factors. The improvement will be shown by comparing the er-rors with those obtained by the accuracy factors used in [3].
II. NUFFT ALGORITHM ANDACCURACYFACTORS
The key step of the NUFFT is to approximate a nonuniform sample in the original domain by interpolating regular Fourier bases, in the neighborhood of the sample, of an over-sampled FFT with finite nonzero coefficients. This idea is
equiv-alent to finding a vector to
satisfy the following approximation:
(1) where the superscript denotes the transpose operation, is an arbitrary real number, is an integer no less than 2 and known
as the oversampling rate, are the
accuracy factors, is the basis of the regular FFT of size , , is number of data points, and represents the integer closest to .
The approximation (1) can be written in a matrix form , which consists of equations with variables. In [3], the solution to least squares of the error
is
(2) where the superscript denotes the conjugate transpose oper-ation. While the entries of depend on , the product matrix
has a closed-form result independent of .
In [3], the data obtained by the cosine factors ( ’s) have 12 to 14 times better accuracy than those by the Gaussian factors [2]. This reveals that the accuracy of the NUFFT algorithm does depend on the accuracy factors. We propose the following ac-curacy factors:
(3) where . The entry of can then be written as
(4)
where . When , (3) is the cosine
fac-tors proposed in [3] and the closed-form expression of in (4) can be found in [4]. It is the existence of the closed-form result that saves much CPU time for the NUFFT computation.
4 IEEE MICROWAVE AND WIRELESS COMPONENTS LETTERS, VOL. 19, NO. 1, JANUARY 2009
If has no closed-form result, an increase of arithmetic operations becomes inevitable. The increased number of oper-ations is proportional to since the direct -term summa-tion has to be applied to each of the sample points. If is an integer, however, these extra operations can be saved since a general closed-form expression can be derived as follows. The factors in (3) and (4) can be expanded as a series of the cosine functions of multiples of its argument [7]
(5a)
(5b)
Define
(6)
Then it can be validated that , and
(7) Thus, when is odd, we have
(8)
The closed-form result of for even can be derived in a similar fashion. With these closed-form expressions, the new NUFFT implementation will take almost the same CPU time as the original case in [3].
III. NUMERICALRESULTS
The current density on a microstrip line shown in Fig. 1 is used to test the accuracy of the NUFFT algorithm. The density function is given as
(9)
where is the line width and the function has singularities at . In the NUFFT, the sampled points are chosen at
(10) The two errors defined in [2], and , are used for mea-suring the accuracy of the NUFFT algorithm. Given and
6, Fig. 2 plots and using , and
for . The curves show that both and are close to being independent of the two line widths, except that around , 4 and 6 the values for are a little bit higher than those for . The best results occur at where both and are about 0.18 to 0.07 times those at .
Fig. 1. Current density on a microstrip line and the samples in the NUFFT.
Fig. 2. Comparison of theE and E errors of the NUFFT results of the currents in Fig. 1.m = 2, q = 8, N = 100.
The current density in Fig. 1 is a symmetric wave, so that the Fourier transformed data will be real and symmetric. To check if asymmetric input data degrade the errors, the microstrip line is offset by units. Fig. 3 compares the errors for
. It is found that the curve for
overlaps with that for ,
. Also, the six curves are obtained periodi-cally when is increased or decreased by 0.5 units. The pe-riodicity is obtained when is changed to 154 and 254. As shown in Fig. 3, when is increased from 15 to 15.1, values of with the minimal move quickly from even to close to odd numbers. When , one can see that the best occur at and 5. The values at and 7 are about three times larger that at . When , the values for both and 4 are about half of that for .
The CPU time consumed by the extra arithmetic operations required for a general power in (3) is investigated as follows. A case study with nonuniform points is tested for 80 times and the average CPU seconds are listed in Table I. The program is coded for the MATLABversion 6.0 and executed on a uniprocessor PC with the AMD Athlon CPU of 1.83 GHz.
When , the matrices and have to be
calculated for each sample for times, and they take 4.6 and 1.3 s, respectively. The high set-up cost may make the new accuracy factor non-competitive. Fortunately, it is found that for
KUO AND LEE: IMPROVED ACCURACY FACTORS 5
Fig. 3. E errors for the NUFFT results of currents of offset microstrips.
TABLE I
COMPARISON OFCPU SECONDSUSED FOR THENUFFT ALGORITHM
WITHDIFFERENTSETS OFACCURACYFACTORS
most of the case studies shown here the minimal and occur at or near . For these cases, as compared with [3], the extra CPU time is negligible.
It is possible to increase or for the original case to enhance its accuracy. Figs. 4 and 5 investigate the dependences of the errors on the parameters and , respectively, for the symmetric current density in Fig. 1 with . In Fig. 4, both and are plotted against for , 3 and 4. Note that based on the rule, the CPU time for will be more than two times that for . When , 3 and 4, the best errors occur around where is close to , and , respectively. Fig. 5 plots the data for , 10 and 12. When , again, the best errors occur at and when the best is close to 6. The values for and 6 are only 0.25 to 0.06 times those for .
IV. CONCLUSION
New accuracy factors (cosine function to the th power) are proposed for incorporation into the NUFFT technique to im-prove the accuracy of the transformed data. The current density of a microstrip line is used for test of accuracy. Except for mi-crostrip with offsets in a small region, minimal errors occur near or at . It is suggested be used for transforms of symmetric input data and be tested for an optimal for asymmetric waves. When is an integer, the computation complexity is almost the same as that reported in previous liter-ature. The NUFFT data show that the errors of proposed factors
Fig. 4. Dependence ofE and E errors on m. q = 8 is used.
Fig. 5. Dependence ofE and E errors on q. m = 2 is used.
are only one third to less than one tenth of that of the existing cosine factors.
REFERENCES
[1] J. W. Cooley and J. W. Tukey, “Algorithm for the machine computation of complex Fourier series,” Math. Comp., vol. 19, no. 90, pp. 297–301, 1965.
[2] A. Dutt and V. Rokhlin, “Fast Fourier transform for nonequispaced data,” SIAM J. Sci. Comp., vol. 14, no. 6, pp. 1368–1393, 1993. [3] Q. H. Liu and N. Nguyen, “An accurate algorithm for nonuniform fast
Fourier transform (NUFFT),” IEEE Microw. Guided Wave Lett., vol. 8, no. 1, pp. 18–20, Jan. 1998.
[4] N. Nguyen and Q. H. Liu, “The regular Fourier matrices and nonuni-form fast Fourier transnonuni-form,” SIAM J. Sci. Comp., vol. 21, no. 1, pp. 283–293, 1999.
[5] K.-Y. Su and J.-T. Kuo, “An efficient analysis of shielded single and multiple coupled microstrip lines with the nonuniform fast Fourier transform (NUFFT) technique,” IEEE Trans. Microw. Theory Tech., vol. 52, no. 1, pp. 90–96, Jan. 2004.
[6] K.-Y. Su and J.-T. Kuo, “Application of two-dimensional nonuniform fast Fourier transform (2-D NUFFT) technique to analysis of shielded microstrip circuits,” IEEE Trans. Microw. Theory Tech., vol. 53, no. 3, pp. 993–999, Mar. 2005.
[7] I. S. Gradshteyn and I. M. Ryzhik, Tables of Integrals, Series, and Prod-ucts. New York: Academic Press, 1980, p. 25.