Dif FFT)
Dif FFT)
Ammar Ghalib
In this section, we focus on two formats. One is called the decimation in- frequency
algorithm, while the other is the decimation-in-time algorithm. They are referred to as the radix-2
FFT algorithms.
−j2π / N
Where, WN= e is the twiddle factor, and N = 0, 2, 4, 8, 16, … Equation (7.6) can be expanded
as:
60
Digital Signal Processing/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
61
Digital Signal Processing/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Figure 7.7(a) illustrates the block diagram of N-point DIF FFT. Fig. 7.7(b) illustrates
reduced DIF FFT computation for the eight-point DFT, where there are 12 complex
multiplications as compared with the eight-point DFT with 64 complex multiplications. For a data
length of N, the number of complex multiplications for DFT and FFT, respectively, are determined
by:
Note: The input sequence is in normal order index and the output frequency bin number is in
reversal bits order. The Butterfly structure for DIF FFT and DIT FFT is shown below:
62
Digital Signal Processing/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Example (1):
Given a sequence x(n) for 0 ≤ n ≤ 3, where x(0) = 1, x(1) = 2, x(2) = 3, and x(3) = 4
Solution:
a.
63
Digital Signal Processing/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
b. The number of complex multiplications is four, which can also be determined from eq. (7.19), where
N=4
64
Digital Signal Processing/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Note that:
Substituting Equations (7.24) into Equation (7.22) yields the first half frequency bins
The block diagram for the eight-point DIT FFT algorithm is illustrated in Fig. 7.9
65
Digital Signal Processing/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
The index for each input sequence element can be achieved by bit reversal of the frequency index in a
sequential order. Similar to the method of decimation-in-frequency, after we change WN to
in Fig. 7.9 and multiply the output sequence by a factor of 1/N, we derive the inverse FFT block
diagram for the eight-point inverse FFT in Fig. 7.10.
66
Digital Signal Processing/ 4th Class/ 2020-2021 Dr. Abbas Hussien & Dr. Ammar Ghalib
Example (2):
Given a sequence x(n) for 0 ≤ n ≤ 3, where x(0) = 1, x(1) = 2, x(2) = 3, and x(3) = 4. Evaluate its
DFT X(k) using the decimation-in-time FFT method.
Solution:
67