Introduction to Fourier analysis, the Fourier series...

Post on 10-Jun-2018

236 views 0 download

Transcript of Introduction to Fourier analysis, the Fourier series...

Dr. David A. Clifton Group Leader – Computational Health Informatics (CHI) Lab Lecturer in Engineering Science, Balliol College

1. Introduction to Fourier analysis, the Fourier series

2. Sampling and Aliasing

3. Discrete Fourier methods, and Applications

1. Amplitude modulation

2. Sampling

3. Recovering a signal after sampling

4. Aliasing

5. Anti-aliasing

Amplitude modulation means to modulate the amplitude of some carrier wave according to some interesting signal:

E.g., a high-frequency sinusoidal carrier wave injected through a patient’s chest might be modulated by their respiration

The envelope of the result then corresponds to the interesting signal (here, respiration)

Amplitude modulation is merely the multiplication of one signal g(t) (the carrier) by some other signal f(t) (the information wave)

We have previously seen that if we multiply in the time domain, this corresponds to convolution in the frequency domain:

...where we generally try to avoid convolution, primarily because it is terrifying:

f(t) x g(t) F(ω) * G(ω)

And yet we can avoid all of the convolution difficulties. Recall that our information signal f(t) is being multiplied by a sinusoidal carrier wave g(t)

We saw previously that the FT of a sinusoid was just a delta function:

...so multiplying f(t) by a sinusoidal wave is the same as convolving with a delta function

f(t) x g(t) F(ω) * G(ω)

Happily, convolving with a delta function is the one special case of convolution that we can easily handle:

...because convolving with a delta function δ(ω±ω0) just does the following to F(ω):

f(t) x cos(ω0t) F(ω) * π[δ(ω±ω0)]

f(t) x g(t) F(ω) * G(ω)

We could recover our original information from the modulated signal using demodulation, which just selects the relevant frequency information (using a filter)

...and we can then recover our original time-signal using FT-1

(Hence the term modem: modulation-demodulation)

The concept of amplitude modulation is very useful, and employed whenever we wish to turn continuous signals (such as those we measure from patients) into discrete quantities that can be manipulated by computers: digitisation, a.k.a. sampling

Whenever we sample, we multiply our original signal by a sampling function, p(t):

What is the sampling function, p(t)?

...a.k.a. a train of pulses / Dirac deltas That’s my pulse train

The FT of p(t) is:

We know what happens to F(ω) when we convolve it with δ(ω±ωs)...

This time, we’re convolving F(ω) with δ(ω) , δ(ω±ωs) , δ(ω±2ωs), etc.

I was the Lucasian Professor of Mathematics at a certain minor university, a position

latterly held by Stephen Hawkin

Convolving F(ω) with δ(ω) , δ(ω±ωs) , δ(ω±2ωs), has the following effect:

...where the frequency spectrum of our interesting signal f(t) is repeated at multiples (harmonics!) of the sampling frequency

Just as we previously recovered our original signal after amplitude modulation, we can pick out our original signal after sampling using a filter:

...allowing us to recover our time-series by performing FT-1, as before

(This is a reconstruction filter)

What could possibly go wrong with this idyllic situation?

If the sampling frequency ωs is too low, the images of the frequency spectrum begin to overlap, termed aliasing

Sufficiently high ωs:

Insufficiently high ωs:

Use of our reconstruction filter would include components from higher- and lower- frequency images, hence we would not obtain the original signal:

Aliasing can be avoided if ωs > 2 ωm

(the Nyquist-Shannon theorem)

Hej, I’m actually Swedish

[NIK-VIST]

Information Theory was mine, btw.

The corresponding behaviour in the time domain is obvious is we consider a sinusoid of frequency fm :

Hence we have to sample at least twice every period in order to disambiguate, and so fs > 2 fm , or equivalently ωs > 2 ωm

fs < 2 fm

fs < 2 fm

fs = fm

Our previous signal was very well-behaved, in that its frequency spectrum F(ω) was limited to a certain band of frequencies – this made it easy to separate from its images that appear after sampling. It was band-limited.

However, most signals are not so well-behaved, and contain a wide spread of frequencies.

We need to decide the highest frequency of interest in F(ω), and then suppress all higher frequencies using an anti-aliasing filter

We then sample the anti-aliased signal, which produces non-overlapped (unaliased) images in the frequency domain:

Finally, we can apply our reconstruction filter to pick out the original signal, after sampling:

but this leads to potential problem #3...

Sadly, real filters are not ideal – they are not “brick wall” filters, and have some “roll-off” slope

If the filter is a low order, some components from the images will once again appear in the window – further aliasing!

Thus, the less ideal the filter, the greater the sampling frequency must be in order to adequately separate the images

Amplitude modulation results in:

Sampling, which is a form of amplitude modulation, results in:

Aliasing can be avoided by: A sampling rate > than the Nyquist-Shannon frequency Using an anti-aliasing filter to band-limit our signal Understanding that our reconstruction filter is non-ideal

Sampling allows us to represent our continuous time-domain signal using discrete pulses...

...but the corresponding frequency spectrum remains continuous!

For analysis in a computer, we need to be able to

store the frequency spectrum in a discrete form.

We need the Discrete Fourier Transform.

Dr. David A. Clifton Group Leader – Computational Health Informatics (CHI) Lab Lecturer in Engineering Science, Balliol College