Professional Documents
Culture Documents
Fourier Analysis
Prof. Adrian Porch
Dr Yue Zhou
ZhouY68@cardiff.ac.uk
1
Why learn about “Fourier Analysis”?
Fourier methods are essential tools in Engineering analysis, used to
analyse the spectra of signals and also used to solve ordinary and
partial differential equations. In EN2090 we will concentrate on the
use of Fourier methods for spectral analysis, which is essential to a
wide range of Engineering applications (e.g. in communications
theory, signal processing, vibrational analysis, etc.).
Hence: f (t ) = f (t + nT )
where n = 0, 1, 2, 3, etc.
2
The period defines a fundamental (angular) frequency =
T
Generally, a periodic waveform contains a component at dc (i.e.
= 0) , at a fundamental frequency and at harmonic frequencies of
integer multiples of the fundamental, i.e. at 2, 3, 4, 5, etc.
5
1.2 Piecewise periodic functions
Simple examples of periodic waveforms are sin t , cos t , sin 2t , cos 2t ,
etc. Other periodic waveforms can be built up “piecewise” from
otherwise aperiodic waveforms, e.g.
f (t ) = 3, 0 t 4 f (t ) = 2 − t , 0 t 4
= −1, 4 t 6 = −6 + t , 4 t 8
f (t + 6n ) = f (t ) f (t + 8n ) = f (t )
f (t ) = t , 0t 4
f (t + 4n ) = f (t )
6
1.3 Fourier’s Theorem
This states that a periodic waveform of period T can be written as the
following infinite trigonometric series
f (t ) = 12 a0 + a1 cos t + a2 cos 2t + in-phase (cosine) series
+ b1 sin t + b2 sin 2t + quadrature (sine) series
i.e f (t ) = 12 a0 + (a
n =1
n cos nt + bn sin nt ) with = 2 / T
Any two limits can be used on each of the integrals provided they
differ by T. Sometimes − T / 2 → T / 2 is more convenient than 0 → T .
7
1.4 Some useful short cuts for finding the Fourier coefficients
• a0 is simply twice the average value (i.e. dc component) of f (t )
over the period T. If f (t ) sweeps out equal positive and negative
areas over a full cycle then by inspection a0 = 0 (examples below).
• For an even function f (− t ) = f (t ). An even periodic function can
be represented as a Fourier cosine series, so that bn = 0 for all n.
• For an odd function f (− t ) = − f (t ). An odd periodic function can
be represented as a Fourier sine series, so that an = 0 for all n.
T T /2 T
2 2V0 2V0
bn =
T
0
f (t ) sin (nt )dt =
T
0
sin (nt )dt −
T sin(nt )dt
T /2
V0
=− cos(nt )T0 / 2 + V0 cos(nt )TT / 2
n n
V V V V
= − 0 cos(n ) + 0 cos(0 ) + 0 cos(2n ) − 0 cos(n ) (n 1)
n n n n
10
2V0
But cos(0) = 1 and cos(2n) = 1 for all n, so bn = (1 − cos(n))
n
Also cos(n) = − 1 if n is odd, + 1 if n is even, i.e. cos(n) = (− 1)
n
1.5
1
1
f ( t) 0 bn
0.5
−1
0
0 0.5 1 1.5 2 0 2 4
t n
12
1.5
1
1
f ( t) 0 bn
0.5
−1
0
0 0.5 1 1.5 2 0 10 20
t n
1.5
1
1
f ( t) 0 bn
0.5
−1
0
0 0.5 1 1.5 2 0 20 40
t n
2tdt =
2
2
First find the dc component, a0 = f (t )dt = 2 1
t 0 =1
T T
0 0
T 1
2
The other a-coefficients are an =
T f (t ) cos(nt )dt = 2t cos(nt )dt
0 0
2t 2
Integrating by parts, 2t cos(nt )dt = sin (nt ) + 2 2 cos(nt )
n n
16
2 4
Hence an = 2 2 (cos n − 1), i.e. zero for even n, − 2 2 for odd n
n n
T 1
2
The b-coefficients are bn =
T
f (t ) sin (nt )dt = 2t sin (nt )dt
0
0
2t 2
Integrating by parts, 2t sin (nt )dt = −
n
cos(nt ) + 2 2 sin (nt )
n
2 2
→ bn = − cos n = − (− 1)
n
n n
1 4 2 1 4 2
f (t ) = − 2 cos t + sin t − sin 2t − 2 cos 3t + sin 3t +
2 9 3
2 The graph shows the sum of
thesea first six terms in the
f( t) 1
time domain. We can add
0 more terms and examine the
0 0.5 1 1.5 2 2.5 3 3.5 4
spectrum using ex_1_3.mcd.
t
17
1.6 Summary of Section 1
2
Fourier series of a f (t ) = 1 a +
periodic waveform: 2 0
n =1
(an cos nt + bn sin nt ), =
T
The Fourier coefficients are calculated using Euler’s formulae:
k +T k +T k +T
2
2
2
a0 =
T
k
f (t )dt , an =
T
k
f (t ) cos(nt )dt , bn =
T f (t )sin(nt )dt
k
• Plots of an and bn against n are the coefficient spectra
• Narrowing a waveform’s temporal width broadens its spectrum
2V n
e.g. for a rectangular pulse train an = 0 sinc
T T