Professional Documents
Culture Documents
Outline
DFT of a Sinusoid
DFT of a Sinusoid
Consider a sinusoidal input signal of frequency 0 , given by
x(t) = 2X cos (0 t + )
(1)
(2)
2
k +
(3)
xk = 2X cos
N
N1
2
2 X
xk ej N k = Xc jXs
N
(4)
k =0
Where,
N1
2
2 X
xk cos
k
Xc =
N
N
(5)
N1
2 X
2
xk sin
k
N
N
(6)
k =0
Xs =
k =0
Xs = 2X sin
(7)
Xc = 2X cos
From equation (2), (4) and (7) it follows that
= 1 X1 = 1 (Xc + jXs )
X
2
2
(8)
N1
2 X
2
k
xk +w cos
N
N
k =0
2X cos
2
w +
N
Similarly,
Xsw
N1
2 X
2
=
k
xk +w sin
N
N
k =0
2
= 2X sin
w +
N
2
2
w
w
w
X1 = Xc jXs = 2X cos
w + + j sin
w +
N
N
Phasor estimate for w th window is given by
w
w = 1 (X w + jX w ) = Xej ej 2
N
X
c
s
2
2
w
w ej 2
N
= Xej
X
N1
2
2 X
xk +w ej N k
N
!
ej
2
w
N
= Xej
k =0
2
N
w+N1
X
k =w
xk ej
2
k
N
= Xej
N+w1
X
2
=
N
Xsw =
The computation for
following figure.
2k
N
xk sin
2k
N
k =w
2
N
Xcw
xk cos
N+w1
X
k =w
2
w
N
(9)
Similarly
Xsw+1
Xsw
+ (xw+N xw ) sin
2
w
N
(10)
Question
If we follow the convention that latest sample number
corresponds to window number then show that in recursive full
cycle fourier algorithm update equations are given by
2
w+1
w
Xc
= Xc + (xw xwN ) cos
w
N
2
w+1
w
Xs
= Xs + (xw xwN ) sin
w
N
2
=
N
Xsw =
Question
By substituting xk =
2X cos
2
N
2X cos
N+w1
X
k =w
N+w1
X
k =w
N
k
N
(11)
k
N
(12)
xk cos
xk sin
k + validate eq (11) and
Xsw = 2X sin
(13)
Question
If we follow the convention that latest sample number
corresponds to window number then show that in recursive half
cycle fourier algorithm update equations are given by
w
Xcw+1 = Xcw + (xw xwN ) cos
N
Xsw+1 = Xsw + (xw + xwN ) sin
w
N
Discussion
Thank You