Lec 11
Lec 11
Lec 11
Lecture -11
1
Frequency domain analysis of signals
Fourier Series and Fourier Transform are one of the tools
useful in analysis and design of LTI systems. These
representations involve decomposition of signals in terms of
sinusoidal or complex exponential components.
Fourier Transform
C.T aperiodic signals ----aperiodic and continuous spectrum
D.T aperiodic signals----periodic and continuous spectrum.
4
Fourier Series representation of continuous
time periodic signals
Any periodic waveform, x(t), can be represented as the
sum of an infinite number of sinusoidal and
cosinusoidal terms, together with a constant term, this
representation being the Fourier series given by
x(t ) a0 an cos(nwt ) bn sin(nwt ) (1)
n 1 n 1
and
Tp / 2
2
bn x(t ) sin( nwt )dt (4)
Tp Tp / 2
8
Power Density Spectrum of Periodic Signals…
A periodic
signal has infinite energy and a finite
average power, which is given as
1 2
Px
Tp
Tp
x (t ) dt
Or
If we take the complex conjugate of (5) and
substitute for x*(t), we obtain
1 1
Px x(t ) c e * j 2kF0t
k dt c *
k x(t )e j 2kF0t
dt
Tp Tp
k k Tp Tp
2
c
k
k 9
Therefore, we have established the relation
2
1
Px x(t ) dt ck
2
Tp Tp k
F
-2F0 -F0 0 F0 2F0
Power density spectrum of a continuous time periodic signal
11
Example1: Determine the Fourier Series and the
Power Density Spectrum of the rectangular pulse
train signal illustrated in the following figure.
x(t)
Tp -/2 /2 Tp
1 / 2 A
Solution:
c0
Tp / 2
Adt
Tp
1 / 2 A sin kF0
and ck
Tp / 2
Ae j2 kF0 t dt
Tp kF0
0.1
= 0.1Tp
0.08
0.06
0.04 Fig. (b)
0.02
0
-0.02
-0.04
-60 -40 -20 0 20 40 60
13
0.05
0.04 = 0.05Tp
0.03
Fig. (c)
0.02
0.01
0
-0.01
-0.02
-60 -40 -20 0 20 40 60
15
The figures on the previous slide (i.e. slide 15)
show that the spacing between adjacent spectral
lines decreases as Tp increases. In the limit as Tp
, the Fourier coefficients ck approach zero.
This behaviour is consistant with the fact that
as Tp and remains fixed, the resulting
signal is no longer a power signal. Indeed it
becomes an energy signal and its average
power is zero.
The Power Density Spectrum for the rectangular pulse
train is
A
2
, k0
Tp
ck
2
2 2
A sin kF0
T kF , k 1,2,...
p 0
16
The Fourier Series for Discrete-
Time Signals
Suppose that we are given a periodic sequence with period
N. The Fourier series representation for x[n] consists of N
harmonically related exponential functions
ej2kn/N, k = 0, 1,2,…….,N-1
and is expressed as
N 1
x[n] k
c
k 0
e j 2 kn / N
17
Example 2: Determine the spectra of the
following signals:
(a) x[n] = [1, 1, 0, 0], x[n] is periodic with period 4
(b) x[n] = cosn/3
(c) x[n] = cos(2)n
Solution: (a) x[n] = [1, 1, 0, 0]
1 N 1 1 3
ck x[n]e j2 kn / N x[n]e j2kn / N
N n0 4 n0
1 3 1 1 1
Now 0 4
c x[ n ] x[ 0] x[1] x[ 2 ] x[ 3 ] 1 1 0 0
n0 4 4 2
1 3
c1 x[n]e
4 n 0
j 2 n / 4 1 3
1
x[n]e jn / 2 x[0] x[1]e j / 2 0 0
4 n0 4
1 1 1
1 1 cos 2 j sin 2 1 0 j 1 j
4 4 4
18
1 3
c 2 x[n]e
4 n0
j2 2 n / 4 1 3 1
x[n]e 1 1.e j
4 n0
jn
4
1
1 cos j sin 0
4
1 3 1 1 1
c 3 x[n]e j2 n 3 / 4
1 cos 3 / 2 j sin( 3 / 2) 1 0 j 1 j
4 n0 4 4 4
0 0 1
4 2 undefined 3
4
19
(b) x[n] = cosn/3
Solution: x[n] is periodic with fundamental
period N = 6.
Now
1 5 1 5 n j2 kn / 6 1 5 n
ck x[n]e j 2 kn / N
cos e cos e jkn / 3
6 n 0 6 n0 3 6 n0 3
6 n0 2
e e e
12 n 0
e
1 5 1 jn / 3 jn / 3 jkn / 3 1 5 j 3n 1k j 3n 1k
e
1 5 n 1 5 n
c 0 2 cos cos
12 n 0 3 6 n0 3
1
cos 0 cos 3 cos 23 cos 33 cos 43 cos 53 0
6
Similarly, c2 = c3 = c4 = 0, c1 = c5 = ½. 20
(c) Cos(2)n
21
Power density Spectrum of Periodic Signals
The average power of a discrete time periodic
signal with period N is
1 N 1
Px x(n )
2
N n0
The above relation may also be written as
1 N 1
1 N 1
N 1
* 2kn / N
Px
N
n 0
x[n]x [n] x[n] ck e
*
N n 0 k 0
or 1
N 1 N 1
j 2kn / N
Px c *
k x[ n ]e
k 0 N n 0
N 1 2 N 1
1
2
ck x[ n]
k 0 N n 0
23
Example: Determine the Fourier Series
Coefficients and the Power Density Spectrum of
the following periodic signal.
X[n]
A
n
-N L N
Solution:
1 N 1 1 N 1
ck x[n]e j2 kn / N Ae j2 kn / N
N n0 N n0
k = 0, 1, 2, …., N-1
n AL
, k0
L 1
A
ck e j2 k / N N
A 1 e j 2 kL / N
N n0 N 1 e j 2 k / N
, k 1,2,..., N 1
24
But
1 e j2 kL / N e jkL / N e jkL / N e jkL / N
j 2 k / N
jk / N jk / N jk / N
1e e e e
jk ( L 1 ) / N sin( kL / N )
e
sin( k / N )
Therefore,
N
AL 2
k0
2
ck A 2 sin kL / N 2
N sin kL / N otherwise
25
The Fourier Transform of Discrete-Time
Aperiodic Signals or Discrete Time Fourier
Transform (DTFT)
The Fourier Transform of a finite energy discrete
time signal x[n] is defined as
X( w ) x[n]e
n
jwn
Ex x[n]
n
n n 2
27
Therefore, the energy relation between x[n] and
X(w) is
2 2
1
E x x[n] X( w ) dw
n 2
Or simply
1
X(w)
1 2a cos w a 2
a = 0.5 a= -0.5
w
29
0
Example: Determine the Fourier
Transform and the energy density
spectrum of the sequence A,
x[n ]
0,
0 n L 1
otherwise
Solution:
L 1
1 e jwL j( w / 2 )( L 1 ) sin( wL / 2)
X( w ) x[n
n
]e jwn
Ae jwn
0
A
1e jw
Ae
sin( w / 2)
The signal x[n] and its magnitude is plotted on the next slide.
30
x[n]
|X(w)|
31