Misplaced Pages

Split-radix FFT algorithm

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Split-radix) Fast Fourier transform algorithm

The split-radix FFT is a fast Fourier transform (FFT) algorithm for computing the discrete Fourier transform (DFT), and was first described in an initially little-appreciated paper by R. Yavne (1968) and subsequently rediscovered simultaneously by various authors in 1984. (The name "split radix" was coined by two of these reinventors, P. Duhamel and H. Hollmann.) In particular, split radix is a variant of the Cooley–Tukey FFT algorithm that uses a blend of radices 2 and 4: it recursively expresses a DFT of length N in terms of one smaller DFT of length N/2 and two smaller DFTs of length N/4.

The split-radix FFT, along with its variations, long had the distinction of achieving the lowest published arithmetic operation count (total exact number of required real additions and multiplications) to compute a DFT of power-of-two sizes N. The arithmetic count of the original split-radix algorithm was improved upon in 2004 (with the initial gains made in unpublished work by J. Van Buskirk via hand optimization for N=64 ), but it turns out that one can still achieve the new lowest count by a modification of split radix (Johnson and Frigo, 2007). Although the number of arithmetic operations is not the sole factor (or even necessarily the dominant factor) in determining the time required to compute a DFT on a computer, the question of the minimum possible count is of longstanding theoretical interest. (No tight lower bound on the operation count has currently been proven.)

The split-radix algorithm can only be applied when N is a multiple of 4, but since it breaks a DFT into smaller DFTs it can be combined with any other FFT algorithm as desired.

Split-radix decomposition

Recall that the DFT is defined by the formula:

X k = n = 0 N 1 x n ω N n k {\displaystyle X_{k}=\sum _{n=0}^{N-1}x_{n}\omega _{N}^{nk}}

where k {\displaystyle k} is an integer ranging from 0 {\displaystyle 0} to N 1 {\displaystyle N-1} and ω N {\displaystyle \omega _{N}} denotes the primitive root of unity:

ω N = e 2 π i N , {\displaystyle \omega _{N}=e^{-{\frac {2\pi i}{N}}},}

and thus: ω N N = 1 {\displaystyle \omega _{N}^{N}=1} .

The split-radix algorithm works by expressing this summation in terms of three smaller summations. (Here, we give the "decimation in time" version of the split-radix FFT; the dual decimation in frequency version is essentially just the reverse of these steps.)

First, a summation over the even indices x 2 n 2 {\displaystyle x_{2n_{2}}} . Second, a summation over the odd indices broken into two pieces: x 4 n 4 + 1 {\displaystyle x_{4n_{4}+1}} and x 4 n 4 + 3 {\displaystyle x_{4n_{4}+3}} , according to whether the index is 1 or 3 modulo 4. Here, n m {\displaystyle n_{m}} denotes an index that runs from 0 to N / m 1 {\displaystyle N/m-1} . The resulting summations look like:

X k = n 2 = 0 N / 2 1 x 2 n 2 ω N / 2 n 2 k + ω N k n 4 = 0 N / 4 1 x 4 n 4 + 1 ω N / 4 n 4 k + ω N 3 k n 4 = 0 N / 4 1 x 4 n 4 + 3 ω N / 4 n 4 k {\displaystyle X_{k}=\sum _{n_{2}=0}^{N/2-1}x_{2n_{2}}\omega _{N/2}^{n_{2}k}+\omega _{N}^{k}\sum _{n_{4}=0}^{N/4-1}x_{4n_{4}+1}\omega _{N/4}^{n_{4}k}+\omega _{N}^{3k}\sum _{n_{4}=0}^{N/4-1}x_{4n_{4}+3}\omega _{N/4}^{n_{4}k}}

where we have used the fact that ω N m n k = ω N / m n k {\displaystyle \omega _{N}^{mnk}=\omega _{N/m}^{nk}} . These three sums correspond to portions of radix-2 (size N/2) and radix-4 (size N/4) Cooley–Tukey steps, respectively. (The underlying idea is that the even-index subtransform of radix-2 has no multiplicative factor in front of it, so it should be left as-is, while the odd-index subtransform of radix-2 benefits by combining a second recursive subdivision.)

These smaller summations are now exactly DFTs of length N/2 and N/4, which can be performed recursively and then recombined.

More specifically, let U k {\displaystyle U_{k}} denote the result of the DFT of length N/2 (for k = 0 , , N / 2 1 {\displaystyle k=0,\ldots ,N/2-1} ), and let Z k {\displaystyle Z_{k}} and Z k {\displaystyle Z'_{k}} denote the results of the DFTs of length N/4 (for k = 0 , , N / 4 1 {\displaystyle k=0,\ldots ,N/4-1} ). Then the output X k {\displaystyle X_{k}} is simply:

X k = U k + ω N k Z k + ω N 3 k Z k . {\displaystyle X_{k}=U_{k}+\omega _{N}^{k}Z_{k}+\omega _{N}^{3k}Z'_{k}.}

This, however, performs unnecessary calculations, since k N / 4 {\displaystyle k\geq N/4} turn out to share many calculations with k < N / 4 {\displaystyle k<N/4} . In particular, if we add N/4 to k, the size-N/4 DFTs are not changed (because they are periodic in N/4), while the size-N/2 DFT is unchanged if we add N/2 to k. So, the only things that change are the ω N k {\displaystyle \omega _{N}^{k}} and ω N 3 k {\displaystyle \omega _{N}^{3k}} terms, known as twiddle factors. Here, we use the identities:

ω N k + N / 4 = i ω N k {\displaystyle \omega _{N}^{k+N/4}=-i\omega _{N}^{k}}
ω N 3 ( k + N / 4 ) = i ω N 3 k {\displaystyle \omega _{N}^{3(k+N/4)}=i\omega _{N}^{3k}}

to finally arrive at:

X k = U k + ( ω N k Z k + ω N 3 k Z k ) , {\displaystyle X_{k}=U_{k}+\left(\omega _{N}^{k}Z_{k}+\omega _{N}^{3k}Z'_{k}\right),}
X k + N / 2 = U k ( ω N k Z k + ω N 3 k Z k ) , {\displaystyle X_{k+N/2}=U_{k}-\left(\omega _{N}^{k}Z_{k}+\omega _{N}^{3k}Z'_{k}\right),}
X k + N / 4 = U k + N / 4 i ( ω N k Z k ω N 3 k Z k ) , {\displaystyle X_{k+N/4}=U_{k+N/4}-i\left(\omega _{N}^{k}Z_{k}-\omega _{N}^{3k}Z'_{k}\right),}
X k + 3 N / 4 = U k + N / 4 + i ( ω N k Z k ω N 3 k Z k ) , {\displaystyle X_{k+3N/4}=U_{k+N/4}+i\left(\omega _{N}^{k}Z_{k}-\omega _{N}^{3k}Z'_{k}\right),}

which gives all of the outputs X k {\displaystyle X_{k}} if we let k {\displaystyle k} range from 0 {\displaystyle 0} to N / 4 1 {\displaystyle N/4-1} in the above four expressions.

Notice that these expressions are arranged so that we need to combine the various DFT outputs by pairs of additions and subtractions, which are known as butterflies. In order to obtain the minimal operation count for this algorithm, one needs to take into account special cases for k = 0 {\displaystyle k=0} (where the twiddle factors are unity) and for k = N / 8 {\displaystyle k=N/8} (where the twiddle factors are ( 1 ± i ) / 2 {\displaystyle (1\pm i)/{\sqrt {2}}} and can be multiplied more quickly); see, e.g. Sorensen et al. (1986). Multiplications by ± 1 {\displaystyle \pm 1} and ± i {\displaystyle \pm i} are ordinarily counted as free (all negations can be absorbed by converting additions into subtractions or vice versa).

This decomposition is performed recursively when N is a power of two. The base cases of the recursion are N=1, where the DFT is just a copy X 0 = x 0 {\displaystyle X_{0}=x_{0}} , and N=2, where the DFT is an addition X 0 = x 0 + x 1 {\displaystyle X_{0}=x_{0}+x_{1}} and a subtraction X 1 = x 0 x 1 {\displaystyle X_{1}=x_{0}-x_{1}} .

These considerations result in a count: 4 N log 2 N 6 N + 8 {\displaystyle 4N\log _{2}N-6N+8} real additions and multiplications, for N>1 a power of two. This count assumes that, for odd powers of 2, the leftover factor of 2 (after all the split-radix steps, which divide N by 4) is handled directly by the DFT definition (4 real additions and multiplications), or equivalently by a radix-2 Cooley–Tukey FFT step.

References

  • R. Yavne, "An economical method for calculating the discrete Fourier transform," in Proc. AFIPS Fall Joint Computer Conf. 33, 115–125 (1968).
  • P. Duhamel and H. Hollmann, "Split-radix FFT algorithm," Electron. Lett. 20 (1), 14–16 (1984).
  • M. Vetterli and H. J. Nussbaumer, "Simple FFT and DCT algorithms with reduced number of operations," Signal Processing 6 (4), 267–278 (1984).
  • J. B. Martens, "Recursive cyclotomic factorization—a new algorithm for calculating the discrete Fourier transform," IEEE Trans. Acoust., Speech, Signal Processing 32 (4), 750–761 (1984).
  • P. Duhamel and M. Vetterli, "Fast Fourier transforms: a tutorial review and a state of the art," Signal Processing 19, 259–299 (1990).
  • S. G. Johnson and M. Frigo, "A modified split-radix FFT with fewer arithmetic operations," IEEE Trans. Signal Process. 55 (1), 111–119 (2007).
  • Douglas L. Jones, "Split-radix FFT algorithms," Connexions web site (Nov. 2, 2006).
  • H. V. Sorensen, M. T. Heideman, and C. S. Burrus, "On computing the split-radix FFT", IEEE Trans. Acoust., Speech, Signal Processing 34 (1), 152–156 (1986).
Category: