0% found this document useful (0 votes)
6 views5 pages

Fast Fourier Transform (FFT) Explained

Fft in dsp

Uploaded by

Winter soldier
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

Fast Fourier Transform (FFT) Explained

Fft in dsp

Uploaded by

Winter soldier
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

E=}x(n)

n=0
=1+1+1-3
And if coinputed from frequency domain, then:
N-1

E=NX«(k)|=6[0.25 +(1/9)+ (1/36) +(1/9)1=3=Efrom time domain


k=0

N-I
N-1
Or we say in general tha.: Xx*(n) =NE|X()|
n=0 k=0

Fast Forier Transforn (FFT)


This is a fast method to find the [Link] FFT base-2 (radix-2), then N must
3e a power of 2, i.e. N=2' (4,8,16,32,64,128,256,512,....). If N¥2, then 0's
added te compleie tùe sequ:nce te the nearest 2 value.

Algorithn1 for FFT radix-2 decimation in time:


N-1
1
First, we know that X(*) =xn)e
N n=0
N
where the term (1/N) is a
N-1
N
scale fuctor that can be omitted, then X(0)=x(n)e z
n=0
2T
If we detine WeN, to ease notation, then:
W
n even n odd

ior n even, nern n=2r and for n odd, then n2r+1, v:here r=0.!2.3....

X4)=>x(2r)r+ x(2r +1jwGr)k


Note tlha: N
'e34= =WN, then:

X(k)=x(2r) +Wx(2r + 1) i
r=0

X(k)-Gk)+WNHK).. ..(1)
where GK)=DFT of the even numbered samples (N/2 samples)
H(k)=DFTof the odd numbered samples (N/2 samples).
Equation(1) states that the DFT ofN Samples can be obtained in terms of the
DFTof the even and odd numbered N/2 samples. And if eq(1) agan used to
iind the DFT'sof the N/2 samples in terms of the DFT's of N/4 samples. This
process is repeated many times (exactly r=log,N times) until we end up
wiih the DFT of 2 samples.
DFT of2-samples:
2r nk
Ifx(n)-{x(0), x(1)},then: X() =x(n)e
2
from which:
n=0

X(0)-x(0)+x(1)
X(1)Fx(0)-x(1)
Using signal flow representation, then:
x(0) X(0)
X
4
X(1)
Time domain freq domain

where the unity path gain is not marked.


The 2-point (samples) DFT is called "Butterfly".
Note: for N=2'point FFT, then segmenting into even and odd is done for r
times and the number of complex multiplications in FFT will be r.N or:
Number of complex multiplications in FFT=N log,N.

25a0

Note that, the great advantage of using FFT is when N is


larger
Theprocess of finding say 64-Doint FFT is started with 2-point
PFTButterfly). This is then used usinc eg(1)to find the 4-point FF!, ana
again, this 4-point FFT is used to find the 8-point FFT and so O.

Ex: Draw the signal flow graph of the 4-0oint FFT, then use to it to find the
spectrum of the sequence x(n)={1,-1,2,3}.
Solution:
X(K)=G)+W. HK) 3>k0.
The everi numbered samples are x(0) and x(2)
Tie ci nunbered samples are x(!) and x(3)
X(0)=G(0,+W H0)
X(l-G(I+W H(1)
)=3:2-W?H2)
since ((2)=GO)and H(2)=H(O) where 2-point DFT has aperiod of 2samples,then:
X(2)}=G(0)+W, H(0)
Z(3-G(3)+W.3H)
Ard agaiu G(3)=G(1}and H(3)-H(1), then:
3(3)=G(! j+W. H(
A
x(0) 2-point X(0j
DFT
x(2) Buterfly Ge) X(1)

x1) 2-point X(2):


DFT
Butterfiy X(3)

x(°) K(0)=5

x(2) X(1)=-1+j4
.

Sorjugate.
x(1) X(2)=3-2=1

x(3) X(3)=-1-j4.
3
Check: x´(n)1+4+1+9=15 =energy from time domaln
2X(*) '=(25+17+1+17)/4=15 =energy from frequency domain
Ex:Dravw the signal flow graph of
8-point FFT:
SolutiYr:
The 8=point FFT uses the 4-point FFT obtained in
previous example. The
sequence of sample decimation(splitting into even and
samples) is obtained using mirror image of 3-bit data as:odd numbered
00 0
0 x(0) X(0)
1 00
x(4). 4-point
0 1
x(2). FFT X1)
1 1 x(6). X2)
1
1
00
01 1
0
0
1
1
x(1).
x(5) 4-point x3)
X(4)
1 1
1 0 lo FFT X(5)
1 x(3).
1 11 1 1 1 x(7) X(6)
Time
x(7)
Mirror domain
Frequency
domain
6

3-07t+jotu
o70tja407

Eo:lo} -jo.?o7
X(0)=G(0)+W;° H(0)
(0)

X(1)-G(1)+W;' H(1)
x(4) G)

2) X(2)=G(2)+W H(2)
x(2)
2

3) X(3)-G(3)+W: H3)
x(6)

HO) X(4}-G(4)+W;*H(4)
(1) =Go)+ Heo)

X(5)-G(5)+W: H(S)
x()
=G4)+W H)

X(C)=G(E)+W,° H(6)

X(7)=G(7)+W:' H(7)
x(7)
1443) - G3)w H(3)

Common questions

Powered by AI

The energy equivalence between time and frequency domains in FFT is demonstrated by calculating the sum of the squares of the signal in both domains, which should be equal. This is verified using Parseval's theorem. In the time domain, the energy is calculated as the sum of the squares of the signal values. In the frequency domain, it is the sum of the squares of the magnitudes of the Fourier coefficients divided by the sequence length. Both yield the same energy, confirming the equivalence .

In an 8-point FFT, the sequence is split into G and H functions corresponding to the even and odd-indexed parts of the sequence, respectively. Each part undergoes its own DFT calculation. Subsequently, the results are combined using butterfly operations to produce the final DFT. This splitting is critical for reducing computation steps, as each subset can be processed independently and then merged efficiently to form the complete DFT for the sequence .

The radix-2 FFT algorithm offers significant advantages for large N sequences by drastically reducing computational complexity from O(N^2) to O(N log N). It is specifically optimized for sequences of length power of two, leveraging recursive decomposition into smaller DFTs. This makes it exceptionally efficient for real-time and large-scale signal processing tasks compared to other FFT variations, which might not be as efficient or simple to implement due to their potentially higher operational complexities .

In FFT, dividing the sequence into even and odd samples allows breaking down the DFT computation into smaller, more manageable problems. This division reduces the number of required computations compared to directly applying the DFT (which would require O(N^2) operations). By processing even and odd samples separately and then merging results, FFT leverages symmetrical properties of the Fourier transform, reducing redundancies and enhancing efficiency .

The 'butterfly' operation in FFT is a basic building block used to combine and decompose DFT calculations into smaller parts. It optimizes the process by calculating the DFT of two samples, which are then used to iteratively combine results in larger DFT computations. This operation uses both even and odd-indexed samples to significantly reduce redundant computations, central to achieving the computational efficiency of FFT .

'Mirror image' bit reversal in FFT is significant because it rearranges the input sequence in a specific order required for efficient execution of the butterfly operations. This bit reversal is necessary because the natural order of computations doesn't align with the sequence needed by the butterfly operations. Reordering in this way ensures that the subsequent stages of the FFT process are performed on the correctly paired samples, optimizing the flow of computations .

The FFT method is a fast algorithm to compute the DFT with much lower computational cost. While a direct computation of a DFT requires O(N^2) operations, the FFT reduces this to O(N log N) by recursively breaking down a DFT of any composite size N into many smaller DFTs of sizes two. This significant reduction in multiplication operations makes FFT much faster, especially for large N .

When the sequence length N is not a power of two, radix-2 FFT cannot be directly applied, leading to inefficiencies. These challenges are typically addressed by zero padding, where additional zeros are added to the sequence until its length reaches the next higher power of two. This allows the use of efficient radix-2 FFT algorithms, maintaining the O(N log N) computational complexity while potentially introducing small modifications in the frequency resolution .

Zero padding in FFT is used to extend a sequence's length to the next power of two, which enables the use of radix-2 FFT algorithms. This approach optimizes computational resources as radix-2 algorithms are specifically efficient for sequences whose length is a power of two. It ensures that the FFT can be applied efficiently without losing the interpretability of results .

The decimation-in-time approach within the FFT algorithm involves breaking down the DFT of a sequence into two smaller DFTs focused on the even-indexed and odd-indexed elements. This recursive approach transforms a single large problem into multiple smaller DFT computations followed by a recombination using butterfly operations. This significantly reduces the computational complexity from O(N^2) to O(N log N) by exploiting the periodicity and symmetry properties of the DFT .

You might also like