Professional Documents
Culture Documents
Discrete Fourier Series and Transform
Discrete Fourier Series and Transform
DISCRETE
FOURIER SERIES
AND TRANSFORM
Dr. D.MOHAN
1
UNIT II
Syllabus
2
Fourier Representation of
Signals and LTI Systems.
1 Introduction.
2 Complex Sinusoids and Frequency Response of LTI Systems.
3 Fourier Representation of Four Classes of Signals.
4 Discrete Time Periodic Signals: Discrete Time Fourier Series.
5 Continuous-Time Periodic Signals: Fourier Series.
6 Discrete-Time Non Periodic Signals: Discrete-Time Fourier
Transform.
7 Continuous-Time Non Periodic Signals: Fourier Transform.
8 Properties of Fourier Representation.
9 Linearity and Symmetry Properties.
10 Convolution Properties.
3
1 Introduction.
Signals are represented as superposition's of complex sinusoids
which leads to a useful expression for the system output and
provide a characterization of signals and systems.
Example in music, the orchestra is a superposition of sounds
generated by different equipment having different frequency
range such as string, base, violin and etc. The same example
applied the choir team.
Study of signals and systems using sinusoidal representation is
termed as Fourier Analysis introduced by Joseph Fourier
(1768-1830).
There are four distinct Fourier representations, each applicable
to different class of signals.
4
. Complex Sinusoidal and Frequency
Response of LTI System.
5
Cont’d…
Discrete-Time (DT)
Derivation: y n h k x n k
k
y n h k e j n k
k
k
H e j e jn
h k e
H e j jk
k
6
Cont’d…
y t h e j t
d
Continuous-Time (CT)
Derivation:
e j t
h e j
d
H j e jt
Frequency Response: H j h e jt
d
Solution: H j e RC
u e j
d
RC
Step 1: Find frequency response, H(j). 1
j
1
RC 0
e RC
d
Substitute h(t) into equation below,
1
1 1 j
H j RC
j t e
h e d RC 1
j
RC 0
1 1
0 1
RC 1
j
RC
1
RC
1
j
RC 8
Cont’d…
Step 2: From frequency response, get the magnitude & phase
response.
The magnitude response is,
1
| H j | RC
2
1
2
RC
9
Cont’d…
Time
Property Periodic Nonperiodic
12
Cont’d…
(1)
(1)Discrete
Discrete
Time
Fourier
Fourier
TimePeriodic
Periodic Representatio
Signal
Signal Representatio
nn
(2)
(2)Continuous
Continuous
Time
TimePeriodic
Periodic
Signal
Signal
(3)
(3)Continuous
Continuous
Time
TimeNon
Non
Periodic
PeriodicSignal
Signal
(4)
(4)Discrete
Discrete
Time
TimeNon
Non
Periodic
PeriodicSignal
Signal13
3.1 Periodic Signals:
Fourier Series Representation
If x[n] is a discrete-time signal with fundamental period N then
x[n] of DTFS is represents as,
ˆx n A k e jko n
k
xˆ t A k e jko t
X e e
1
xˆ n j jn
d
2
17
3.4 Discrete Time Periodic Signals:
Discrete Time Fourier Series.
The Discrete Time Fourier Series representation;
N 1
x n X k e jk o n
k 0
N n 0
x n X k
DTFS ; o
18
Cont’d…
19
Example 3.1: Determining DTFS Coefficients.
Find the frequency-domain representation of the signal in Figure
3.2 below.
20
Cont’d…
1 N 1
X k x ne jko n
N n0
1 2
X k x ne jk 2n / 5
5 n 2
21
Cont’d…
From the value of x{n} we get,
1 1 jk 2 / 5 1 jk 2 / 5
X k 1 e e
5 2 2
1
1 j sin k 2 / 5
5
Step 3: Plot the magnitude and phase of DTFS.
From the equation, one period of the DTFS coefficient X[k], k=-2 to
k=2, in the rectangular and polar coordinate as
1 sin 4 / 5
X 2 j 0.232e j 0.531
5 5
1 sin 2 / 5
X 1 j 0.276e j 0.760
5 5 22
Cont’d…
1
X 0 0.2e j 0
5
1 sin 2 / 5
X 1 j 0.276e j 0.760
5 5
1 sin 4 / 5
X 2 j 0.232e j 0.531
5 5
The above figure shows the magnitude and phase of X[k] as a
function of frequency index k.
Figure 3.3: Magnitude and phase of the DTFS coefficients for the signal in Fig. 23
3.2.
Cont’d…
Just to Compare, for different range of n.
Calculate X[k] using n=0 to n=4 for the limit of the sum.
X k x 0 e j 0 1 e j 2 / 5 2 e jk 4 / 5 3e jk 6 / 5 4e jk 8 / 5
1
5
1 1 1
X k 1 e jk 2 / 5 e jk 8 / 5
5 2 2
This expression is different from which we obtain from using n=-2 to
n=2. Note that,
e jk 8 / 5 e jk 2 e jk 2 / 5
e jk 2 / 5
n=-2 to n=2 and n= 0 to n=4, yield equivalent expression for the
DTFS coefficient.
24
.
3.5 Continuous-Time Periodic
Signals: Fourier Series.
Continues time periodic signals are represented by Fourier series
(FS). The fundamental period is T and fundamental frequency
o =2/T.
x t X ( k ) e jko t
k
x t X (k )
FS ;o
25
Cont’d…
The FS coefficient X(k) is known as frequency-domain
representation of x(t).
26
Example 3.2: Direct Calculation of FS Coefficients.
Determine the FS coefficients for the signal x(t) depicted in Figure
3.4.
2
Step 2: Solve for X[k]. 1 2t jkt
1
T X (k ) e e dt
X (k ) x t e jko dt 20
T 0
2
1 2 jk t
X (k ) e dt
20 27
Cont’d…
Step 3: Plot the magnitude and phase spectrum.
2
1
X (k ) e 2 jk t
2(2 jk ) 0
1
X (k )
4 2 jk
e 4 e jk 2 1
1 e 4
X (k )
4 jk 2
X e j x ne jn
x n X e
DTFT
j
30
Cont’d…
The FT, X[j], is known as frequency-domain representation
of the signal x(t).
X e e
1
x n j jn
d
2
31
Cont’d… Table 3.2 : Fourier Representation
Time
Domain Periodic Non periodic
(t,n) (t,n)
C N
O Fourier Transform O
N N
1
T P
j t
I x t
Fourier Transform2 X j e dw E
N
Fourier Series
R
U I
1
x t X k e jk0t x t
O O
jt
X j e dw
j x t e jt dt
U D
S k 2 X I
(t) T C
1
X k
T 0
jk 0t
x t e dt
X j x t e Discrete
(k,w)
j t
dt Time Fourier Transform P
Discrete Time Fourier Series
x t has period
X e j e jnTransform
D 1 E
Discrete x nTime Fourier
2
d
I N 1 R
x n X 2k
e jk0 n
x n X e X e xe ne d
S 1 j j jnjn I
C 0 O
R
k 0 t 2 j D
1 N 1 X e has period 2
X k x ne
E jk 0 n I
X e x ne jn
T j C
E
N n 0 (k,)
x n and X k have period N
X e j has period 2
(t)
2
0
n
Table 3.2: The Four Fourier Representations.
Discrete (k) Continuous () Freq.
32
Domain
3.9 Linearity and Symmetry
Properties.
All four Fourier representations involve linear operations.
FT
z t ax t by t Z j aX j bY j
FS ; o Z k aX k bY k
z t ax t by t
DTFT
Z e j aX e j bY e j
z n ax n by n
DTFS;
z n ax n by n
o Z k aX k bY k
X j
The only way that the condition X*(j) =X(j) holds is for the
imaginary part of X(j) to be zero.
36
Cont’d…
37
3.10 Convolution Property.
The convolution of the signals in the time domain transforms
to multiplication of their respective Fourier representations in
the frequency domain.
The convolution property is a consequences of complex
sinusoids being eigen functions of LTI system.
3.10.1 Convolution of Non periodic Signals.
3.10.2 Filtering.
3.10.3 Convolution of Periodic Signals.
38
0.1 Convolution of Non Periodic Signal
Convolution of two non periodic continuous-time signals x(t)
and h(t) is defines as
y t h t * x t
h x t d .
2
1
h e d X j e d
j jt
2
1
y t H j X j e jt
d
2
40
Cont’d…
Convolution of h(t) and x(t) in the time domain corresponds to
multiplication of Fourier transforms, H(j) and X(j) in the
frequency domain that is;
FT
y t h t * x t Y j X j H j .
x n X e
DTFT
j
and
h n H e j
DTFT
then
y n h n * x n Y e j X e j H e j .
DTFT
41
Example 3.6: Convolution in Frequency Domain.
Let x(t)= (1/(t))sin(t) be the input of the system with impulse
response h(t)= (1/(t))sin(2t). Find the output y(t)=x(t)*h(t)
Solution:
From Example 3.26 (text, Simon) we have,
1,
x t X j
FT
0,
1, 2
h t H j
FT
0, 2
Since
y t x t * h t
FT
Y j X j H j
it follows that
1,
Y j
0,
43
DTFT and DFT
44
DTFT and DFT
45
DTFT and DFT
46
DTFT and DFT
47
DTFT and DFT
48
DTFT and DFT
49
Periodicity of W kn and values of WN
N
50
DTFT and DFT
51
DTFT and DFT
52
DTFT and DFT
53
DTFT and DFT
The DTFT of an aperiodic discrete time signal is
defined as
X [ w] x[n]e
jwn
n
(1)
n0
(2)
Inverse DFT is defined as
N 1
1
x[ n]
N
X [k ]e
k 0
j 2kn / N
(3)
54
DTFT and DFT
The DFT is periodic with period N.
Proof: X[k ] x[n]e jk 2n / N
N 1
n0
N 1
X[k N] x[n]e j( k N ) 2 n / N
n0
N 1
x[n ]e jk 2 n / N e j2 n
n0
Since e-j2n = 1
N 1
X[k N] x[n]e jk 2 n / N
n 0
X[k ]
proved
55
Example 1:
Find the DFT of the following sequence [1 0 0 1]
N 1 3 3
X[k ] x[n]e jk 2 n / N x[n]e jk 2 n / 4 x[n]e jkn / 2
n0 n0 n0
3
X[0] x[n] x[0] x[1] x[2] x[3] 1 0 0 1 2
i 0
3
X[1] x[n]e jkn / 2 x[0] 0 0 x[3]e j3 / 2
n0
j3 / 2
1 1.e 1 cos( ) j sin( ) 1 j
3
2
3
2
3
X [2] x[n]e jn x[0] x[3]e j 3 1 1.[cos( 3 ) j sin 3 ] 0
n 0
56
Circular Convolution
57
Example for Circular Convolution
58
Example for Circular Convolution
59
Example for Circular Convolution
60
Example for Circular Convolution
61
Example for Circular Convolution
62
Example for Circular Convolution
63
Example for Circular Convolution
64
Example for Circular Convolution
65
Example for Circular Convolution
66
Example for Circular Convolution
67
Example for Circular Convolution
68
Example for Circular Convolution
69
Example for Circular Convolution
70
Example for Circular Convolution
71
Example for Circular Convolution
72
Example for Circular Convolution
73
Example for Circular Convolution
74
Example for Circular Convolution
75
DFT Sectional Convolution
Suppose, the input sequence x(n) of long duration is to be processed with a system having
finite duration impulse response by convolving the two sequences. Since, the linear
filtering performed via DFT involves operation on a fixed size data block, the input
sequence is divided into different fixed size data block before processing.
The successive blocks are then processed one at a time and the results are combined to
produce the net result.
As the convolution is performed by dividing the long input sequence into different fixed
size sections, it is called sectioned convolution.
A long input sequence is segmented to fixed size blocks, prior to FIR filter processing.
2.2.Overlap-add method
76
Overlap save method
Overlap–save is the traditional name for an efficient way to evaluate the discrete
convolution between a very long signal x(n) and a finite impulse response FIR filter h(n).
Given below are the steps of Overlap save method −
Let the length of input data block = N = L+M-1. Therefore, DFT and IDFT length = N.
Each data block carries M-1 data points of previous block followed by L new data points
to form a data sequence of length N = L+M-1.
77
Overlap save method
78
Overlap add method
79
Overlap add method
80
Overlap add and Overlap Save method
81
Overlap add and Overlap Save method
82
Overlap add and Overlap Save method
83
Overlap add and Overlap Save method
84
Overlap add and Overlap Save method
85
Overlap add and Overlap Save method
86
Overlap add and Overlap Save method
87
Overlap add and Overlap Save method
88