Spectrum Estimation
Spectrum Estimation
Dr. Hassanpour
Payam Masoumi
Mariam Zabihi
Advanced Digital Signal Processing Seminar
Department of Electronic Engineering
Noushirvani University
1
Course Outlines
Introduction
Fourier Series and Transform
Time/Frequency Resolutions
Autocorrelation & spectrum estimation
Non-parametric Methods
Periodogram
Modified Periodogram
Bartletts Method
Welchs Method
Blackman-Tukey Method
Parametric Methods
sin( k0t )
jk0t
cos(k0t )
Re
Fourier Series:
x(t )
ck e
jk0 t
1
ck
T0
T0 2
T0 2
x(t )e
jk0t
dt
k=,-1,0,1,
x(t )
c(k )
T0 n
T0 Ton Toff
T0 ff
1
T0
Fourier Transform:
x(t ) X ( f )e
j 2ft
df
x(t )
X ( f ) x(t )e j 2ft dt
X(f )
T0 ff
t
X ( 0)
DFT
x(1)
N 1
X (1)
X ( k ) x ( m )e
2km
N
m 0
x( N 1)
X ( N 1)
N 1
x ( m ) X ( k )e
2km
N
k ....,1,0,1,....
m 0
N
1
{
x(n k ) x * (n)} rx (k )
lim
N 2 N 1 n N
Power spectrum :
Px (e
jk
jk
r
(
k
)
e
x
Nonparametric methods
Peroidogram
Modified periodogram
Bartlett method
Welch method
Blackman-Tukey method
The periodogram
Estimated autocorrelation:
1
rx (k )
N
N 1 k
x ( n k ) x * ( n)
n 0
Pper (e )
jk
rx (k )e
1
1
j
j
j
j 2
Pper (e ) X N (e ) X N (e ) | X N (e ) |
N
N
10
x(n)
x N (n)
DFT
X N (k )
1
| . |2
N
Pper (e j 2k
1
| X N ( k ) |2
N
11
12
1 2
A
2
Px (e ) v
1 2
A ( 0 )
2
13
y1 (n)
y 2 ( n)
1
| . |2
N
1
| . |2
N
z1 (n)
z 2 ( n)
P (e j1 ) z ( N 1)
X
1
PX (e j2 ) z 2 ( N 1)
x(n)
win(L)
y L (n)
1
| . |2
N
z L (n)
P (e jL ) z ( N 1)
X
L
14
Periodogram Bias
rx (k )
E{}
1
N
E{Pper (e j )} rx (k ) wB (k )e _ jk
1
E{Pper (e j )}
Px (e j ) WB (e j )
2
N k
rx (k )
rx (k )
N
n 0
N 1 k
N | k |
| k | 0
w B (k)
N
0
o.w
lim E{Pper (e j )} Px (e j )
1 2
A
4
j
2 1 2
E{Pper (e )} v A [WB (e j ( 0 ) ) WB (e j ( 0 ) )]
4
2
k 0
2
k
N
16
N 128
N 512
17
Periodogram Resolution
x(n) A1 sin(n1 1 ) A1 sin( n2 2 ) v(n)
j
Px (e ) v
1 2
1
2
A1 ( 1 ) A2 ( 2 )
2
2
1 2
j
2
E{Pper (e )} v A1 [WB (e j ( 1 ) ) WB (e j ( 1 ) )]
4
1 2
A2 [WB (e j ( 2 ) ) WB (e j ( 2 ) )]
4
Set equal to the width of main lobe of the spectral window
at its half power or 6dB point.
2
j
18
Example:
N 128
N 512
19
Pper (e )
N
Bias:
n 1
jn
x
(
n
)
w
(
n
)
e
n 0
1
E{Pper (e j )}
Px (e j ) WB (e j )
2
Resolution:
Variance:
2
Res[ Pper (e j )] 0.89
N
Modified Periodogram
1
1
Pper (e j ) | X N (e j ) |2
N
N
x ( n) w
(n)e jn
1
j
j
j 2
Pper (e )
Px (e ) * WR (e ) ,
2N
1
PM (e j )
NU
1
U
N
N 1
sin( N 2) j ( N 1) 2
WR (e )
e
sin( 2)
j
x ( n) w
jn
(
n
)
e
R
1
w
(
n
)
2N
n 0
W (e
) d
21
Example:
N=128
Rectangular Window
N=128
Hamming Window
22
jn
x
(
n
)
w
(
n
)
e
1
U
N
Bias:
N 1
w(n)
Variance:
n 0
E{PM (e j )}
Resolution:
1
j
j 2
Px (e ) W (e )
2NU
window dependent
Var {PM (e j )} Px2 (e j )
23
Pper (e )
L
L Points
L 1
jn
x
(
n
)
e
; i 1 , 2 , ..., k
i
n 0
L Points
L Points
....
x1 (n)
x2 ( n )
xk (n)
24
PB (e )
N
Bias:
jn
x
(
n
iL
)
e
i 0 n 0
1
E{PB (e j )}
Px (e j ) WB (e j )
2
Resolution:
Variance:
k 1 L 1
2
Res[ PB (e j )] 0.89k
N
1 2 j
j
Var {Pper (e )} Px (e )
k
25
N 512
k 1
N 512
k 4
N 512
k 16 26
N 128
k 4
N 512
k 4
N 1024
k 4
27
n 0 ,1,....., L 1
Overlap = L-D
....
28
1
KLU
k 1 L 1
x(n iD)e
k 1
1
PW (e ) PM( i ) (e j )
L i 0
E{PB (e j )}
Resolution
jn
i 0 n 0
Bias
1 L 1
2
U w(n)
L n 0
1
j
j 2
Px (e ) W (e )
2LU
Window dependent
Variance
9 L 2 j
j
Var {Pper (e )}
Px (e )
16 N
Example:
N 512
k 4
N 512 , L 128
30
overlap 50% , hamming
N 512 , L 64
overlap 50% , hamming
N 512 , L 128
overlap 50% , hamming
N 512 , L 256
overlap 50% , hamming
31
N 512 , L 128
overlap 50% , Rectangular
N 512 , L 128
overlap 50% , Bartlett 32
N 512 , L 128
overlap 50% , Hanning
N 512 , L 128
overlap 50% , Hamming
N 512 , L 128
33
rx ( N 1)
1
x( N 1) x(0)
N
at lag k n 1
34
PBT (e )
j
jk
r
(
k
)
w
(
k
)
e
x
k M
35
Bias
jk
r
(
k
)
w
(
k
)
e
x
k M
1
j
E{PBT (e )}
Px (e j ) W (e j )
2
Resolution
Window dependent
2
x
2
w
(k )
M
36
N 512 , M 128
Rectangular
N 512 , M 128
Hanning
N 512 , M 128
Bartlett
N 512 , M 128
Blackman
37
Performance comparisons
We can summarized the performance of each technique in terms of
two criteria.
Var {Px (e j )}
2
E {Px (e j )}
(II) Figure of merit
That is approximately the same for all of the nonparametric methods
38
Summery
variability
Periodogram
Bartlett
Welch
Blackman
Tukey
1
1
k
91
8k
2M
3 N
Resolution
2
0.89
N
2
0.89k
N
2
1.28
L
2
0.64
M
Figure of merit
2
0.89
N
2
0.89
N
2
0.72
N
2
0.43
N
39