Lecture_ Fourier Series
Lecture_ Fourier Series
Fourier Series
Periodic Functions
The Mathematic Formulation
⚫ Any function that satisfies
f (t ) = f (t + T )
where T is a constant and is called the period
of the function.
Introduction
⚫ Decompose a periodic input signal into
primitive periodic components.
⚫ Representation of signals in terms of linear
combination of orthogonal functions.
⚫ Applicable only for periodic signals
⚫ 3 important forms:
1) Trigonometric form
2) Cosine form
3) Exponential form
Fourier Series
Trigonometric Form of
the Fourier Series
Trigonometric form
2nt 2nt
f (t ) = a0 + an cos + bn sin
n =1 T n =1 T
DC Part Even Part Odd Part
Let 0=2/T.
f (t ) = a0 + an cos(n0t ) + bn sin(n0t )
n =1 n =1
Decomposition
f (t ) = a0 + an cos(n0t ) + bn sin(n0t )
n =1 n =1
1 t 0 +T
a0 = f (t )dt
T 0
t
2 t 0 +T
an = f (t ) cos n0tdt n = 1,2,
T t0
2 t 0 +T
bn = f (t ) sin n0tdt n = 1,2,
T 0
t
Example (Square Wave)
f(t)
1
1 1
a0 =
2 0 1dt = 2
2 1
an =
2 0
cos ntdt =
n
sin nt 0
=0 n = 1,2,
2 1 1 2 / n n = 1,3,5,
bn =
2
0
sin ntdt = −
n
cos nt 0 = −
n
(cos n − 1) =
0 n = 2,4,6,
1 2 1 1
f (t ) = + sin t + sin 3t + sin 5t +
2 3 5
Example (Square Wave)
f(t)
1
1 1
a0 =
2 0 1dt = 2
2 1
an =
2 0
cos ntdt =
n
sin nt 0
=0 n = 1,2,
1 1 1 2 / n n = 1,3,5,
bn =
2 0
sin ntdt = − cos nt 0 = − (cos n − 1) =
n n 0 n = 2,4,6,
Harmonics
2nt 2nt
f (t ) = a0 + an cos + bn sin
n =1 T n =1 T
f (t ) = a0 + an cos(n0t ) + bn sin(n0t )
n =1 n =1
f (t ) = a0 + an cos n0t + bn sin n0t
n =1 n =1
f (t ) = a0 + an cos nt + bn sin nt
n =1 n =1
Fourier Series
a
a +b sin nt
b
= a0 + 2 2 n
cos nt + n
n
a 2 + b2
n
a 2
+ b 2
n =1
n n n n
= a0 + an2 + bn2 (cos n cos nt + sin n sin nt )
n =1
= C0 + Cn cos(nt − n )
n =1
Amplitudes and Phase Angles
f (t ) = C0 + Cn cos(nt − n )
n =1
C0 = a0
bn
n = tan
−1
Cn = an2 + bn2 an
Fourier Series
Exponential Form of
the Fourier Series
Complex Exponentials
jn0t
e = cos n0t + j sin n0t
− jn0t
e = cos n0t − j sin n0t
cos n0t = e
2
(
1 jn0t − jn0t
+e )
sin n0t =
2j
e −e (
1 jn0t − jn0t
=− e
2
)−e (
j jn0t − jn0t
)
Exponential Form of the Fourier Series
f (t ) = a0 + an cos n0t + bn sin n0t
n =1 n =1
1
= a0 + an e
2 n =1
jn0t
(+e − jn0t j
) (
− bn e jn0t − e − jn0t
2 n =1
)
1 1
= a0 + (an − jbn )e jn0t
+ (an + jbn )e − jn0t
n =1 2 2
c0 = a0
= c0 + cn e jn0t + c−n e − jn0t 1
n =1
cn = (an − jbn )
2
1
c−n = (an + jbn )
2
Exponential Form of the Fourier Series
f (t ) = c0 + cn e jn0t + c−n e − jn0t
n =1
−1
= c0 + cn e jn0t
+ cn e jn0t
n =1 n = −
c0 = a0
= n
c e jn0t
n = −
1
cn = (an − jbn )
2
1
c−n = (an + jbn )
2
Exponential Form of the Fourier Series
1 t 0 +T
c0 = a0 =
T 0
t
f (t )dt
1
cn = (an − jbn )
2
1 t 0 +T t 0 +T
T t0 t0
= f ( t ) cos n 0 tdt − j f (t ) sin n 0 tdt
1 t 0 +T c0 = a0
= f (t )(cos n0t − j sin n0t )dt
T 0 t
1
1 t 0 +T cn = (an − jbn )
= f (t )e − jn0t dt 2
T t0
1
1 1 t 0 +T c−n = (an + jbn )
c−n = (an + jbn ) = f (t )e jn0t dt 2
2 T t0
Exponential Form of the Fourier Series
c0 = a0
f (t ) = c e n
jn0t
1
n = − cn = (an − jbn )
2
1 t 0 +T
cn = f (t )e − jn0t dt 1
c−n = (an + jbn )
T t0 2
phase
n spectrum
Example
f(t)
A
t
−T T d d T
− − T
2 2 2 2
A 1
A d /2
cn = e − jn0t dt = (−2 j sin n0 d / 2)
T −d / 2 T − jn0
d /2 A 1
A 1 = 1 sin n0 d / 2
= e − jn0t T 2 n0
T − jn0 −d / 2
nd
sin
A 1
Ad T
1 jn0 d / 2 =
= e − jn0 d / 2
− e T nd
T − jn0 − jn0
T
Example
A/5
nd d=
1
, T= ,
1 d 1
=
sin
cn =
Ad T 20 4 T 5
T nd 2
0 = = 8
T T
Example
A/10
nd d=
1
, T= ,
1 d 1
=
sin
cn =
Ad T 20 2 T 5
T nd 2
0 = = 4
T T
Example
f(t)
A
t
−T
0 d T
A 1
A d
cn = e − jn0t dt = (1 − e − jn0d )
T 0 T jn0
d A 1 − jn0d / 2 jn0d / 2 − jn0d / 2
A 1 = e (e −e )
= e − jn0t T jn0
T − jn0 0
nd
sin
A 1 1 =
Ad T e − jn0d / 2
= e − jn0 d
− T nd
T − jn0 − jn0
T
Fourier Series
Impulse Train
Dirac Delta Function
0 t 0
(t ) =
t = 0
and −
(t )dt = 1
−
(t )(t )dt = (t )(0)dt = (0) (t )dt = (0)
− −
Impulse Train
−3T −2T −T 0 T 2T 3T
t
T (t ) = (t − nT )
n = −
Fourier Series of the Impulse Train
T (t ) = (t
n = −
− nT ) 1
a0 = T (t )dt =
T /2
T −T / 2
1
T
2 T /2 2
an = T (t ) cos(n0t )dt =
T −T / 2 T
2 T /2
bn = T (t ) sin(n0t )dt = 0
T −T / 2
1 2
T (t ) = + cos n0t
T T n =−
Complex Form
Fourier Series of the Impulse Train
T (t ) = (t − nT )
n = −
1 T /2 1
c0 = a0 = T (t )dt =
T −T / 2 T
1 T /2 1
cn = T (t )e − jn0t
dt =
T −T / 2 T
1 jn0t
T (t ) = e
T n =−
Fourier Series
Analysis of
Periodic Waveforms
Waveform Symmetry
⚫ Even Functions
f (t ) = f (−t )
⚫ Odd Functions
f (t ) = − f (−t )
Decomposition
⚫ Any function f(t) can be expressed as the
sum of an even function fe(t) and an odd
function fo(t).
f (t ) = f e (t ) + f o (t )
f e (t ) = 12 [ f (t ) + f (−t )] Even Part
12 e −t Even Part
t 0
f e (t ) = 1 t
2e t0
12 e −t Odd Part
t 0
f o (t ) = 1 t
− 2 e t0
Half-Wave Symmetry
f (t ) = f (t + T ) and f (t ) = − f (t T / 2)
−T/2 T/2 T
Quarter-Wave Symmetry
Even Quarter-Wave Symmetry
−T/2 T/2 T
−T/2 T/2
T
Fourier Coefficients of
Symmetrical Waveforms
f (t ) = f (−t )
f (t ) = a0 + an cos n0t
n =1
4 T /2
an = f (t ) cos(n0t )dt
T 0
Fourier Coefficients of Odd Functions
f (t ) = − f (−t )
f (t ) = bn sin n0t
n =1
4 T /2
bn = f (t ) sin(n0t )dt
T 0
Fourier Coefficients for Half-Wave Symmetry
f (t ) = f (t + T ) and f (t ) = − f (t T / 2)
−T/2 T/2 T
f (t ) = f (t + T ) and f (t ) = − f (t T / 2)
f (t ) = (an cos n0t + bn sin n0t )
n =1
f (t ) = f (−t ) and f (t ) = − f (t T / 2)
−T/2 T/2 T
f (t ) = a2 n −1 cos[(2n − 1)0t ]
n =1
8 T /4
a2 n −1 = f (t ) cos[(2n − 1)0t ]dt
T 0
Fourier Coefficients for
Odd Quarter-Wave Symmetry
f (t ) = − f (−t ) and f (t ) = − f (t T / 2)
−T/2 T/2
T
f (t ) = b2 n −1 sin[(2n − 1)0t ]
n =1
8 T /4
b2 n −1 = f (t ) sin[(2n − 1)0t ]dt
T 0
Example
Even Quarter-Wave Symmetry
1
−T/2 T/2
−T −T/4 T/4 T
−1
8 T /4 8 T /4
a2 n −1 = f (t ) cos[(2n − 1)0t ]dt = cos[(2n − 1)0t ]dt
T 0 T 0
T /4
8 n −1 4
= sin[(2n − 1)0t ] = (−1)
(2n − 1)0T 0
(2n − 1)
4 1 1
f (t ) = cos 0t − cos 30t + cos 50t +
3 5
Example
Even Quarter-Wave Symmetry
1
−T/2 T/2
−T −T/4 T/4 T
−1
8 T /4 8 T /4
a2 n −1 = f (t ) cos[(2n − 1)0t ]dt = cos[(2n − 1)0t ]dt
T 0 T 0
T /4
8 n −1 4
= sin[(2n − 1)0t ] = (−1)
(2n − 1)0T 0
(2n − 1)
Example
Odd Quarter-Wave Symmetry
1
−T/2 T/2
−T −T/4 T/4 T
−1
8 T /4 8 T /4
b2 n −1 = f (t ) sin[(2n − 1)0t ]dt = sin[(2n − 1)0t ]dt
T 0 T 0
T /4
−8 4
= cos[(2n − 1)0t ] =
(2n − 1)0T 0
(2n − 1)
4 1 1
f (t ) = sin 0t + sin 30t + sin 50t +
3 5
Example
Odd Quarter-Wave Symmetry
1
−T/2 T/2
−T −T/4 T/4 T
−1
8 T /4 8 T /4
b2 n −1 = f (t ) sin[(2n − 1)0t ]dt = sin[(2n − 1)0t ]dt
T 0 T 0
T /4
−8 4
= cos[(2n − 1)0t ] =
(2n − 1)0T 0
(2n − 1)
Parseval’s Theorem
⚫ Let x(t) be a periodic signal with period T
⚫ The average power P of the signal is defined
as T /2
1
P=
2
x (t )dt
T −T / 2
Expressing the signal as x(t ) = ck e 0 , t
jk t
⚫
k =−
|c
it is also
P= k
2
|
k =−
Existence of Fourier Series
⚫ Linearity Property
𝐹𝑆 𝐹𝑆
𝑥1 𝑡 ՞ 𝐶𝑛 and 𝑥2 𝑡 ՞ 𝐷𝑛
𝐹𝑆
𝐴𝑥1 𝑡 + 𝐵𝑥2 𝑡 ՞ 𝐴𝐶𝑛 +𝐵𝐷𝑛
⚫ Time shifting Property
𝐹𝑆
𝑥 𝑡 ՞ 𝐶𝑛
𝐹𝑆
𝑥 𝑡 − 𝑡0 ՞ 𝑒 −𝑗𝑛𝜔0 𝑡0 𝐶𝑛
⚫ Time Reversal Property
𝐹𝑆
𝑥 𝑡 ՞ 𝐶𝑛
𝐹𝑆
𝑥 −𝑡 ՞ 𝐶−𝑛
Properties of Continuous-Time
Fourier Series
1 𝑡0+𝑇
𝑥1 𝑡 𝑥2 ∗ 𝑡 dt =σ∞ ∗
𝑛=−∞ 𝐶𝑛 𝐷 𝑛 (for complex 𝑥1 𝑡 and 𝑥2 𝑡 )
𝑇 𝑡0
1 𝑡0+𝑇 2
𝑇
𝑡0 𝑥 𝑡 dt=σ∞ 2
𝑛=−∞ 𝐶𝑛 (if 𝑥1 𝑡 =𝑥2 𝑡 =𝑥 𝑡 )