Signals and Systems: Lecture 6 - Fourier Series Representation of Periodic Signals Asst. Prof. Dr. Ertuğrul SAATÇI
Signals and Systems: Lecture 6 - Fourier Series Representation of Periodic Signals Asst. Prof. Dr. Ertuğrul SAATÇI
Figures and images used in these lecture notes are adopted from
Signals & Systems by Alan V. Oppenheim and Alan S. Willsky, 1997
A Historical Perspective
L. Eulers study on the motion of a
vibrating string in 1748
L Euler
L. E l showed
h d (in
(i 1748)
The configuration of a vibrating
string at some point in time is a
linear combination of these normal
modes
D. Bernoulli argued (in 1753)
All physical motions of a string could
be represented by linear
combinations of normal modes
But, he did not pursue this
mathematically
th ti ll
J.L. Lagrange strongly criticized (in 1759)
The use of trigonometric series in
examination of vibrating strings
Impossible to represent signals with
corners using trigonometric series
1
A Historical Perspective
In 1807, Jean Baptiste Joseph Fourier
Submitted a paper of using trigonometric
series to represent any periodic signal
It is examined by S.F. Lacroix, G. Monge,
P.S. de Laplace and J.L. Lagrange
But Lagrange rejected it!
In 1822, Fourier published a book Theorie
analytique de la chaleur
The Analytical Theory of Heat
Ship encountering the superposition of three wave trains,
trains each with a
different spatial period.
When these waves reinforce one another, a very large wave can
result.
A Historical Perspective
Fouriers main contributions
Studied vibration, heat diffusion, etc.
2
A Historical Perspective
Impact of Fouriers work
Theory of integration, point-set topology, eigenfunction expansions, etc.
so that if the response of the LTI system to k(t) is known, then the
response to x(t) can be expressed as the weighted sum of these
responses.
Try to select basic functions k(t) such that the response to k(t) is
k k(t)
k(t) are the eigenfunctions of LTI systems
k are the eigenvalues of LTI systems
3
Fourier Series Representation of Periodic
Signals
Why complex exponential is used as basic function k?
CT: e st H ( s )e st eigenfunction
DT: z H ( z ) z
n n
eigenvalue
h( ) x(t ) d h( )e
s ( t )
y (t ) d
h( )e
s
y (t ) e st d , the response to e st is of the form
y (t ) H ( s )e st H ( s ) x (t ), where,
h( )e
s
H (s) d is a complex constant
4
The Response of LTI Systems to Complex
Exponentials
Consider a DT LTI system with impulse response h[n] and input x[n]=zn:
y[n] h[k ]x[n k ] h[k ]z
k k
nk
y[n] z n h[k ]z
k
k
, the response to z n is of the form
5
The Response of LTI Systems to Complex
Exponentials
Eigenfunctions and Superposition Properties
More generally, for both CT and DT, if the input to an LTI system is
represented as a linear combination of complex exponentials, then
th output
the t t can also
l bbe represented
t d as a linear
li combination
bi ti off the
th
same complex exponential signals.
CT: x (t ) ak e sk t then the output will be y (t ) ak H ( sk )e sk t
k k
h( )e ( 3)e
s
H (s) d s
d e 3 s , H ( j 2) e 3 s e j 6
As a second example, consider the input signal x(t)=cos(4t)+cos(7t), then
x(t ) cos(4t ) cos(7t ) y (t ) cos(4(t 3)) cos(7(t 3))
1 1 1 1
x(t ) e j 4t e j 4t e j 7 t e j 7 t
2 2 2 2
1 1 1 1
y (t ) e j12 e j 4t e j12 e j 4t e j 21 e j 7 t e j 21 e j 7 t
2 2 2 2
x(t ) a1e s1t a2 e s2t a3e s3t a4 e s4t y (t ) H ( s1 )a1e s1t H ( s2 )a2 e s2t H ( s3 )a3e s3t H ( s4 )a4 e s4t
6
Fourier Series Representation of CT Periodic Signals
Linear Combinations of Harmonically Related Complex
Exponentials
Need to find k !!
7
Fourier Series Representation of CT Periodic Signals
The Fourier Series Representation
The Fourier series representation of a periodic signal x(t):
2
jk t
x(t ) ae
k
k
jk0t
ae
k
k
T
1 1 1
where a0 1, a1 a1 , a2 a2 , a3 a3
4 2 3
Rewriting x(t) and collecting each of the harmonic components which
have the same fundamental frequency gives
1 1 1
x(t ) 1 (e j 2 t e j 2 t ) (e j 4 t e j 4 t ) (e j 6 t e j 6 t )
4 2 3
1 2
x(t ) 1 cos 2 t cos 4 t cos 6 t
2 3
8
Fourier Series Representation of CT Periodic Signals
Example 2
Figure illustrates graphically
how the signal x(t) is built up
from its harmonic components
1
x(t ) 1 cos 2 t cos 4 t
2
2
cos 6 t
3
x(t ) x0 (t ) x1 (t ) x2 (t )
x3 (t )
An alternative form for the Fourier series of real periodic signals can be
obtained by rearranging the summation as
x(t ) ae
k
k
jk0t
a0 [ak e jk0t a k e jk0t ]
k 1
9
Fourier Series Representation of CT Periodic Signals
Fourier Series of Real Periodic Signals
Substituting ak* for a-k,
x(t ) a0 [ak e jk0t ak*e jk0t ]
k 1
Since the two terms inside the summation are complex conjugates of
each other
x(t ) a0 2e ak e jk0t
k 1
If ak is expressed in polar form as ak Ak e jk
x(t ) a0 2e Ak e j ( k0t k ) x(t ) a0 2 Ak cos(k0t k )
k 1
k 1
Multiplying both sides with e-jnot and integrating over one period (from 0
to T=2/0), we obtain
T T
T is the fundamental period
x(t )e
jn0t
dt ae k
jk0t jn0 t
e dt of x(t).
0 0 k
T T j ( k n )0t
x(t )e 0 dt
jn t
k e
a dt
0 k 0
T T T
0 0 0
10
Fourier Series Representation of CT Periodic Signals
Determination of the Fourier Series Representation of a
CT Periodic Signal
T , k n 1
e , an x(t )e jn0t dt
j ( k n )0t
dt
T
0, k n T T
2
1 1 jk t
ak x(t )e jk0t dt x(t )e T dt analysis equation
T T T T
0 : fundamental frequency, T : fundamental period
The ak coefficients are often called the Fourier series coefficients or
the spectral coefficients of x(t).
11
Fourier Series Representation of CT Periodic Signals
Example 3
Consider the signal x(t)=sin(ot) whose fundamental frequency is o.
Determine the Fourier series coefficients.
1 1
a1 , a1 ,
2j 2j
ak 0, k 1 or 1
12
Fourier Series Representation of CT Periodic Signals
Example 4
A bar graph of the magnitude and
phase of ak:
a0 1
a1 1 1 j
2
1.1180
1
a1 1 j
2
ak 0.5000
a2 2 (1 j )
4
a2 2 (1 j )
4
a 0, k 2
k 0.7854
-0.4636
1, t T1
x(t )
0, T1 t T / 2
13
Fourier Series Representation of CT Periodic Signals
Example 5
For k0, k coefficients can be obtained as
T T1
1 1 1 1
ak x(t )e jk0t dt 1e jk0t dt e jk0t
T T T T1 jk0T T1
jk0T1 jk0T1
2 e e 2sin(k0T1 ) 2 sin(k0T1 )
k0T 2j k0T 2
k T
T
sin(k0T1 )
ak , k 0
k
For T=4T1, x(t) is a square wave that is unity for half the period and
zero for half the period. In this case, oT1=/2.
1 sin( k / 2)
T 4T1 a0 and ak , k0
2 k
sin( k / 2 )
T 4T1 ak , k0
k
T=8T1
sin( k / 4)
T 8T1 ak , k0
k
T=16T1
sin( k / 8)
T 16T1 ak , k0
k
14
Convergence of the Fourier Series
Fourier maintained that any periodic signal could be
represented
p by
y a Fourier series.
The question is that when a periodic signal x(t) does in fact have
a Fourier series representation?
2
jk t
x(t )
k
ak e jk0t
k
ak e T
2
1 1 jk t
ak
T T
x(t )e jk0t dt x(t )e T dt
T T
15
Convergence of the Fourier Series
Dirichlet Conditions
Condition 1: Over any period, x(t) must be absolutely integrable, that is,
1 1
T
x(t ) dt ak
T T
x(t )e jk0t dt x(t ) dt
T T
1
T T
So if x(t ) dt then ak
1
x(t ) , 0 t 1
t
x(t) is periodic with period 1.
16
Convergence of the Fourier Series
Dirichlet Conditions
Condition 3: x(t) has a finite number of discontinuities within a period.
Furthermore, each of these discontinuities is finite .
17
Convergence of the Fourier Series
How the Fourier Series Converges for a Periodic
Signal with Discontinuities
18