Documente Academic
Documente Profesional
Documente Cultură
Chapter 3
Fourier Series and Fourier Transform
Chien-Jung Li
Department of Electronic Engineering
National Taipei University of Technology
In This Chapter
Periodic signal analysis Fourier Series
Non-periodic signal analysis Fourier Transform
We will start with some interesting voice
examples, and see the importance of spectral
analysis.
Very useful techniques based on symmetric
conditions make it easy for you to know the
spectral components of the periodic waveforms.
2/61
Fourier Series
Fourier series represents a periodic signal as the
sum of harmonically related sinusoidal functions.
It means that any periodic signal can be
decomposed into sinusoids.
Example: Periodic function x (t )
1
Fundamental frequency f1 =
T
x(t)
Harmonics
-2T
-T
T
3/61
2T
3T
5/61
Frequency-domain Spectrum
:
:
Lowpass Filtering
500Hz
500Hz
7/61
Highpass Filtering
1 kHz
1 kHz
8/61
200Hz
200 Hz
1 kHz
9/61
f
Department of Electronic Engineering, NTUT
200Hz
600 Hz
10/61
200 Hz Tone
500 Hz Tone
700 Hz Tone
1 kHz Tone
5 kHz Tone
11/61
Frequency-domain Spectrum
100 Hz
periodically repeat
100 Hz 200 Hz
periodically repeat
12/61
Frequency-domain Spectrum
100 Hz 200 Hz 500 Hz
periodically repeat
periodically repeat
13/61
Frequency-domain Spectrum
100 Hz 200 Hz 500 Hz
700 Hz
1 kHz
periodically repeat
periodically repeat
14/61
5 kHz
Feel that
Weve observed that the combination of
harmonically related sinusoids is periodically
repeating. On the other hand, we can also say
that any periodic waveform must be the
combination of harmonically related sinusoids.
When you see a periodic signal, you can know
that it is a combination of harmonically related
sinusoids and it has many spectral component
discretely appearing in the spectrum.
In this chapter, we firstly discuss the periodic
signal and use the Fourier series to analyze it.
15/61
T1
1
is the fundamental frequency
T1
n
nf1 =
is the harmonic frequency
T1 (n is integer)
f1 =
decomposition
X ( j )
f1
3f1
5f1
.etc
16/61
17/61
where
1 = 2 f1 =
n1 = 2 nf1
2
T
n1t = 2 nf1t =
2 nt
T
18/61
1 T
area under curve in one cycle
A0 = x ( t )dt =
period T
T 0
An =
2 T
x ( t ) cos n1tdt ,
0
T
2 T
Bn = x (t ) sin n1tdt ,
T 0
is the DC term
(average value over one cycle)
An =
2 T
2 T cos 2n1t cos ( 0 )
cos n1t cos n1tdt =
+
dt = 1
T 0
T 0
2
2
An =
2 T
2 T cos ( 2n 1) 1t cos (1t )
cos
n
1
t
cos
n
tdt
=
+
(
)
dt = 0
1
1
T 0
T 0
2
2
An =
2 T
2 T sin2n1t sin ( 0 )
sin
n
t
cos
n
tdt
=
dt = 0
1
1
2
2
T 0
T 0
19/61
Amplitude-Phase Form
Sine-cosine form is presented with two separate components (sine
term and cosine term) at a given frequency, each of which has two
separate amplitude.
The sum of two or more sinusoids of a given frequency is equivalent to
a single sinusoid at the same frequency.
The amplitude-phase form of the Fourier series can be expressed as
either
x (t ) = C0 + Cn cos ( n1t + n )
n =1
or
x (t ) = C0 + Cn sin ( n1t + n )
where
n =1
C0 = A0
is the DC value
jn1t
e jx = cos x + j sin x
e jx = cos x j sin x
e jn1t + e jn1t
cos n1t =
2
jn1t
e
e jn1t
sin n1t =
2j
e jx + e jx
cos x =
2
e jx e jx
sin x =
2j
x (t ) =
Xe
n =
jn1t
1 T
X n = x (t ) e jn1t dt
T 0
At a given real frequency kf1, (k>0), that spectral representation
consists of
X k e jk1t + X k e jk1t
where the negative frequency coefficient X-k is the complex conjugate of the
k
corresponding positive frequency coefficient Xk. X k = X
The first term is thought of as the positive frequency contribution, whereas the second is
the corresponding negative frequency contribution. Although either one of the two terms
is a complex quantity, they add together in such a manner as to create a real function, and
this is why both terms are required to make the mathematical form complete.
22/61
Xn =
An jBn
,
2
for n 0
(X
= X n e jn = X n n
Even though An and Bn are interpreted only for positive n in the sinecosine form, their functional forms may be extended for both positive
and negative n in applying the above equation. Use ( X n = X n ) to determined
the corresponding coefficients for negative n.
The DC component X0 is simply
1 T
X 0 = x (t ) dt = A0 = C0
T 0
which is the same in all the Fourier forms.
23/61
Express the signal in (a) amplitude-phase form (b) complex exponential form
x ( t ) = 18 + C1 cos ( 2000 t + 1 ) + C2 cos ( 4000 t + 2 )
C0 = 18
C1 = 40 + j 30 = 5036.87
C2 = 24 j 10 = 26 157.38
A0 =
T
2
T
2
n1T
sin
n1T
cos
1
2
2 2
2A
2A
An = ( A cos n1t ) dt =
sin n1t =
T 0
n1T
n1T
0
T
2
2 2
2 A
2 A
Bn = ( A sin n1t ) dt =
cos n1t =
T 0
n1T
n1T
0
T
25/61
2A
sin n = 0, for n 0
2 n
A
A
Bn =
(1 cos n ) = n
n
0
x (t ) =
for n odd
for n even
1 for n odd
cos n =
+1 for n even
A 2A
2A
2A
2A
+
sin 1t +
sin31t +
sin51t +
sin71t +
2
3
5
7
A
2A
= +
sin n1t
2 n =1 n
n odd
26/61
A
2
T
A
A
1 2 jn1t
A jn1 2
=
e jn1T 2 1 =
1 e jn )
X n = Ae
dt =
e
t
(
j 2n
j 2n
T 0
jn1T
0
T
=
Xn =
x (t ) =
DC
A
(1 cos n + j sin n )
j 2n
A
jA
=
jn
n
for n odd
A
A
A j 31t
A
A j 31t
j e j1t j
e
+ j e j1t + j
e
Positive frequency
contribution
27/61
Negative frequency
contribution
Department of Electronic Engineering, NTUT
A B
Xn = n + n =
2 2
An2 + Bn2 Cn
=
2
2
for n 0
X 0 = C0
One-sided amplitude frequency spectrum
Cn
Xn
28/61
50
26
18
0 Hz
1 kHz
2 kHz
25
25
13
2 kHz 1 kHz
18
0 Hz
29/61
13
1 kHz
2 kHz
Department of Electronic Engineering, NTUT
2A
3
A
9
A
7
2A
7
2A
9
A
2
A
5
2A
5
A
3
A
3
30/61
A
5
A
7
A
9
Even Function
Odd Function
Half-wave Symmetric
Full-wave Symmetric
31/61
Odd function x ( t ) = x ( t )
One-sided forms have only sine terms.
32/61
Odd function x ( t ) = x ( t )
33/61
T
x t + = x (t )
2
T
T/2
3T/2
Shifts T/2
34/61
Half-wave Symmetry x t +
T
= x (t )
2
Cosine waveform is half-wave symmetric.
Shifts T/2
cosine
T/2
T
T/2
T
Shifts T/2
35/61
T/2
cosine
T
36/61
T
x t + = x (t )
2
T/2
3T/2
2T
Shifts T/2
37/61
Homework
Explain why the one-sided form of a full-wave
symmetric signal has both cosine and sine
terms and only even-numbered harmonics
appear. (Please also carefully read the topic of full-wave
symmetry on page-591 in the textbook)
38/61
Sine-cosine form:
Amplitude-phase form:
General
Even function
x ( t ) = x ( t )
n =1
Xe
n =
A jBn
Xn = n
,for n 0
2
An ( except n = 0 )
2 T
x (t ) cos n1tdt
T 0
X 0 = A0 = C0
Bn
2 T
x (t ) sin n1tdt
T 0
4
x ( t ) cos n1tdt
T 0
T 2
Xn
2 T2
x ( t ) cos n1tdt
T 0
2 j
T
4 T2
x ( t ) cos n1tdt
T 0
4 T2
x (t ) sin n1tdt
T 0
2 T2
x (t ) e jn1t dt
0
T
4
x ( t ) cos n1tdt
T 0
4
x (t ) sin n1tdt
T 0
2
x (t ) e jn1t dt
0
T
T 2
x (t ) sin n1tdt
Full-wave symm.
T
x t + = x (t )
2
T 2
T 2
39/61
Comments
1 T
x ( t ) e jn1t dt
0
T
4 T2
x (t ) sin n1tdt
T 0
x ( t ) = x ( t )
T
x t + = x (t )
2
Cn = An2 + Bn2
n =1
jn1t
Odd function
Half-wave symm.
2
T
Condition
1 = 2 f1 =
T 2
Even-numbered
harmonics only
4A
1
1
1
cos
cos3
t
+
cos5
cos
7
t
+
1
1
1
1
3
5
7
Triangular wave
8A
1
1
cos
t
cos3
t
cos5
t
1
1
1
9
25
2
Sawtooth wave
2A
1
1
1
sin
t
sin2
t
sin3
t
sin4
t
1
1
1
1
2
3
4
40/61
A
2
2
2
1
+
cos
t
+
cos
2
t
cos
4
t
+
cos
6
t
1
1
1
1
3
15
35
2
2A
2
2
2
1
cos
2
t
cos
4
t
cos 61t
+
+
1
1
3
15
35
Pulse wave
sin2 d
sin3 d
sin d
Ad 1 + 2
cos 1t +
cos 21t +
cos31t +
2 d
3 d
d
d=
T
41/61
Xn
2T
3T
4T
5T
Xn
2T
Xn
Single pulse T
Xn
42/61
Fourier Transform
The process of Fourier transformation of a time function is
designated symbolically as:
X ( f ) = FF x (t )
X ( f ) = x (t ) e jt dt
= 2 f
x (t ) = X ( f ) e jt df
43/61
Frequency Spectrum
The Fourier transform X(f) is, in general, a complex function
and has both a magnitude and an angle. Thus, X(f) can be
expressed as
X (f ) = X (f ) e
j ( f )
= X ( f ) ( f )
f
44/61
Even function
x ( t ) = x (t )
Odd function
x ( t ) = x (t )
Xn
Comments
x (t ) e jt dt
2 x (t ) cos tdt
0
2 j x (t ) sin tdt
0
45/61
X ( f ) = 2 2 A cos tdt =
0
X ( f ) = A
sin f
f
2A
sin t
= 2 f
2
0
2A
sin
46/61
x (t )
Fourier
Transform
X (f )
A
f
t
X (f ) =
X (f ) =
Ae ( )
A
t j t
Ae e dt =
=0+
( + j ) 0
+ j
+ j t
2 + 2
( f ) = tan1
(f )
2 + ( 2 f )
2 f
= tan1
47/61
g ( t ) (t ) dt = g ( 0 )
F (t ) = (t ) e jt dt
F
FF (t ) = 1
(t )
Fourier
Transform
FF (t ) = 1
1
48/61
Sawtooth pulse
x (t )
x (t )
A
X ( f ) = A
sin ( f )
Triangular pulse
X (f ) =
= A sinc ( f )
jA sin f j f
2 f f
Cosine pulse
x (t )
x (t )
A
sin ( f )
X ( f ) = A
X (f ) =
49/61
2 A cos f
1 4f 2 2
ax1 (t ) + bx2 (t ) aX 1 ( f ) + bX 2 ( f )
dx ( t )
j 2 fX ( f )
dt
Operation 2: Differentiation
dx ( t )
F
= 2 fX ( f )
dt
FF x (t ) = X (f )
50/61
Operation 3: Integration
x (t ) dt
X (f )
j 2 f
t
X (f )
F x ( t ) dt =
2 f
F x (t ) = X ( f )
x (t ) e j 2 f X ( f )
x (t )
x (t )
51/61
FF x (t ) e
F x ( t ) = X ( f )
f1
f1
j 2 f0t
= X ( f f0 )
f0 f1 f0 f0 + f1
52/61
x (t )
FF x (t ) = X (f )
t
FF x (t ) = X (f )
x (t )
a >1
FF x (t ) = X (f )
x (t )
a <1
t
f
53/61
54/61
RollRoll-off Rate
Fourier Transform
Fourier Series
No spectral roll-off
No spectral roll-off
1
or -6dB/octave
f
1
or -6dB/octave
n
x(t) is continuous,
x(t) has finite discontinuities
1
or -12dB/octave
f2
1
or -12dB/octave
2
n
1
or -18dB/octave
3
f
1
or -18dB/octave
3
n
56/61
x (t )
Fourier
Transform
X (f )
A
t
Rolloff rate = -6dB/octave
X ( f ) = Ae t e jt dt =
0
X (f ) =
2 + 2
( + j )t
Ae
A
=0+
( + j ) 0
+ j
A
2 + ( 2 f )
57/61
Ae
x (t )
A
X (f )
2A
Fourier
Transform
t
Rolloff rate = -12dB/octave
X (f ) = x (t ) e
jt
( j )t
dt = Ae e
( + j )t
jt
dt + Ae t e jt dt
0
Ae
Ae
A
A
2 A
+
=
+
= 2
( j ) ( + j ) 0 j + j + 2
58/61
g ( t ) (t ) dt = g ( 0 )
F (t ) = (t ) e jt dt
F
FF (t ) = 1
Fourier
Transform
(t )
FF (t ) = 1
No Roll-off
59/61
A0 =
T
2
T
2
n1T
sin
n1T
cos
1
2
2 2
2A
2A
An = ( A cos n1t ) dt =
sin n1t =
T 0
n1T
n1T
0
T
2
2 2
2 A
2 A
Bn = ( A sin n1t ) dt =
cos n1t =
T 0
n1T
n1T
0
T
60/61
Two-discontinuities in
one cycle 6dB/ Octave
2A
sin n = 0, for n 0
2 n
A
A
Bn =
(1 cos n ) = n
n
0
x (t ) =
for n odd
for n even
1 for n odd
cos n =
+1 for n even
A 2A
2A
2A
2A
+
sin 1t +
sin31t +
sin51t +
sin71t +
2
3
5
7
A
2A
= +
sin n1t
2 n =1 n
n odd
61/61