Advanced FFT Topics and Applications
Advanced FFT Topics and Applications
Contents
8.1 Zoom Spectral Analysis . . . . . . . . . . . . . . . . . 8-3
8.2 Averaged Periodogram Spectral Estimation . . . . . . 8-9
8.2.1 Periodogram Properties . . . . . . . . . . . . . . 8-10
8.2.2 Averaged Periodograms . . . . . . . . . . . . . 8-12
8.3 Quantization Effects in DFT Computations . . . . . . 8-18
8.3.1 Quantization Errors in Direct Computation of the
DFT . . . . . . . . . . . . . . . . . . . . . . . . 8-18
8.3.2 Quantization Errors in the Radix-2 FFT . . . . . 8-21
8-1
CHAPTER 8. ADVANCED FFT TOPICS AND APPLICATIONS
xI [ n ]
LPF
sc ( t ) x(t) x[n]
π
ω c = ----- M yI [ n ]
M
Y[k]
Complex
H aa ( jΩ ) C/D Decimators
cos ( ω o n ) FFT
LPF
B0
π M yQ [ n ]
–1 ω c = -----
M
T = fs
xQ [ n ] High Resolution
sin ( ω o n ) Spectrum Processor
...
Y[k ]
High Resolution
Spectrum Processor Bj
ωj
F DFT
Suppose x.t / ! X.j / and xŒn ! X Œk, then
j o t F
x.t /e ! X.j C j o/
j 2ko =N DFT
xŒne ! X Œk C ko; 0 k N 1
X ( jΩ )
Frequency Region
of Interest
Ω
N-point FFT –π ⁄ T –Ω o Ωo π⁄T Spectrum After
Gives ∆f = 1/(NT) jω Sampling
X(e )
ω
–ω o ωo
Frequency Translated
j ( ω – ωo ) Spectrum
X( e )
ω
BW
jω
H LP ( e )
ω
–π ⁄ M π⁄M
jω
X LP ( e )
ω
–2 π –π ⁄ M π⁄M 2π
jω
Y(e )
ω
–M π –π π Mπ
BW N-point FFT
Gives ∆f = 1/(MNT)
jω
Y(e )
f s ⁄ M Hz
–π π ω
fs fs f, Hz
– -------- --------
2M 2M
Parameter Requirement
A/D output frequency 6553.6 Hz obtained by divid-
ing down by 300 a 1.96608
MHz crystal oscillator
FFT outputs 5 octaves between 40 and
1280 Hz
FFT resolution 400 filters per octave yield-
ing resolutions of 1.6 Hz in
the 640-1280 Hz octave, 0.8
Hz in the 320-640 Hz octave,
and so on.
FFT size 512 points
Maximum passband ripple ˙0:5 dB
due to all analog and digital
filtering operations
Minimum rejection of sinu- -43 dB
soids aliased into the DFT
analysis band
6553.6 Hz
Anti-alias
Filter Input Signal x(t)
LPF
– j2π960n
exp ------------------------
F1(z) 1638.4 2:1
2:1 I
640-1280
3276.8 Hz 2:1 BPF I-Q LPF
Q Octave
F2(z) Demod F1(z)
to FFT
– j2π480n
LPF 1638.4 Hz exp ------------------------ 819.2 Hz
F1(z) 1638.4 2:1
2:1 I
320-640
1638.4 Hz 2:1 BPF I-Q LPF
Octave
F2(z) Demod Q F1(z)
to FFT
– j2π240n
LPF 819.2 Hz exp ------------------------ 409.6Hz
F1(z) 1638.4 2:1
2:1 I
160-320
819.2 Hz 2:1 BPF I-Q LPF
Octave
F2(z) Demod Q F1(z)
to FFT
– j2π120n
LPF 409.6 Hz exp ------------------------ 204.8 Hz
F1(z) 1638.4 2:1
2:1
I 80-160
406.6 Hz 2:1 BPF I-Q LPF
Octave
F2(z) Demod Q F1(z)
to FFT
LPF 204.8 Hz – j2π60n 102.4 Hz
exp ---------------------
F1(z) 1638.4 2:1
2:1 I 40-80
204.8 Hz 2:1 BPF I-Q LPF
Octave
F2(z) Demod Q F1(z)
to FFT
102.4 Hz 51.2 Hz
where Pxx .!/ is the true power spectrum and Cww .e j! / is the
magnitude squared of the Fourier transformed window func-
tion, wŒn (i.e. Cww .e j! / D jW .e j! /j2)
L 1
1X
U D .wŒn/2
L nD0
Data Record of
x[n] Length Q
... K Nonoverlapping
1 2 3 K Data Segments
1
K Overlapping
R Data Segments
2
...
L ...
K
r T
Ixx .!/ D jXr .e j! /j2
LU
8-12 ECE 5650/4650 Modern DSP
8.2. AVERAGED PERIODOGRAM SPECTRAL ESTIMATION
A2
SNR D 2
2w
ECE 5650/4650 Modern DSP 8-13
CHAPTER 8. ADVANCED FFT TOPICS AND APPLICATIONS
Note that the SNR of the sinusoid with amplitude A=2 is 6 dB lower
in power than the sinusoid with amplitude A.
For the first set of example results let A D 1, SNR = 0 dB, and
L D 256
20
L = 256, K = 1, SNR = 0 dB
PSD in dB
10
−10
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
20
L = 256, K = 10, SNR = 0 dB
15
PSD in dB
10
−5
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
20
L = 256, K = 50, SNR = 0 dB
15
PSD in dB
10
~21 dB
5
−5
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Normalized Frequency /(2)
The difference between the spectral peak and the noise spectral
density is about 18.06 - (-3.01) = 21.07 dB
30
L = 1024, K = 1, SNR = -20 dB
25
PSD in dB
20
15
10
5
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
30
L = 1024, K = 10, SNR = -20 dB
PSD in dB
25
20
15
10
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
30
L = 1024, K = 50, SNR = -20 dB
25
PSD in dB
~-7 dB
20
15
10
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
Normalized Frequency /(2)
j.2=N /
where as defined earlier WN D e .
e [ N – 1, k ]
( N – 1 )k
WN
x[N – 1]
X′ [ k ] = X [ k ] + F [ k ]
2 2B 1 2B
varfeŒn; kg D 4 D 2
12 3
.2=N /2 1
x2 D D
12 3N 2
8-20 ECE 5650/4650 Modern DSP
8.3. QUANTIZATION EFFECTS IN DFT COMPUTATIONS
D 3:01.2B 20/ ) B 15
Xm – 1 [ p ] Xm [ p ]
r
WN
Xm – 1 [ q ] Xm [ q ]
–1
e [ m, q ]
1 2b
varfeŒn; kg D 2 D B2
3
Note that in the radix-2 FFT each output point (node) is con-
nected directly or indirectly to N 1 butterflies. The 7 butterfly
connections for the point X Œ0 when N D 8 are shown below.
0
WN
–1 0
WN
–1
0
WN
–1 0
WN
–1
0
WN
–1 0
WN
0
–1
WN
–1
and
Assuming that the FFT outputs must be less than unity and not-
ing that the maximum magnitude increase from stage to stage
is at most a factor of 2, overflow scaling can be accomplished
by:
1 e [ m, p ]
---
2
Xm – 1 [ p ] Xm [ p ]
1 r
--- W N
2
Xm – 1 [ q ] Xm [ q ]
–1
e [ m, q ]