introduction to fourier analysis - university of maryland ... · introduction to fourier analysis...

26
Introduction to Fourier Analysis Definition of Fourier analysis Analysis of periodic waves Analysis of aperiodic waves Time-frequency uncertainty Digitization and spectrograms Reading focus: pp. 41-68 boxes 3.2 and 3.3 but not 3.1 Raven manual, appendices A and B

Upload: lethuy

Post on 15-May-2018

238 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Introduction to Fourier Analysis

•  Definition of Fourier analysis •  Analysis of periodic waves •  Analysis of aperiodic waves •  Time-frequency uncertainty •  Digitization and spectrograms •  Reading focus:

–  pp. 41-68 –  boxes 3.2 and 3.3 but not 3.1 –  Raven manual, appendices A and B

Page 2: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

The Fourier series

•  Any continuous waveform can be partitioned into a sum of sinusoidal waves (Fourier is a type of infinite series)

•  P(t) = Po + ΣPn sin (2πfnt + Φn) •  Po is the ambient pressure •  Pn is the pressure of the nth sine wave •  fn is the frequency of the nth sine wave •  Φn is the phase of the nth sine wave

Page 3: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Sound spectrum

Frequency spectrum

Time domain

Frequency domain

Page 4: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Frequency domain of a complex wave

Frequency spectrum Phase spectrum

Page 5: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Types of periodic waveforms

•  Amplitude varies in a repeating manner - amplitude modulation

•  Frequency varies in a repeating manner - frequency modulation

•  The repeating shape of the waveform is not a sine wave - nonsinusoidal periodic wave

Page 6: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Amplitude modulation (AM)

Carrier frequency plus side bands

Page 7: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Frequency modulation (FM)

Modulation determines the number of side bands

Page 8: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Periodic nonsinusoidal signals

Harmonic series

Page 9: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Harmonic series •  Harmonic frequencies are integer multiples of the fundamental frequency, i.e. w, 2w, 3w, 4w … •  Dirichlet’s rule states that the energy in higher

harmonics falls off exponentially with the frequency of the harmonic

•  Note, however, that some animals alter the amplitude of harmonics by selective filtering during sound production

Page 10: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Harmonic filtering example

Page 11: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Harmonic Filtering

Frequency modulated sounds and periodic nonsinusoidal sounds can have identical spectra, but will differ in phase

Page 12: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Compound signals

•  Nonsinusoidal modulation of a sine wave

•  Sinusoidal modulation of a nonsinusoidal

carrier wave

•  Nonsinusoidal modulation of a

nonsinusoidal carrier wave

Page 13: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Pulsed sine wave (frog or insect)

Page 14: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Fourier analysis of aperiodic signals

•  The more aperiodic a signal is, the more frequency components are needed to describe the signal with a Fourier series

•  A - D have increasing intervals, between pulses, each of which has carrier frequency f. D is a single pulse

Most natural signals have a short duration, not infinite

Page 15: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Delta signals

•  In the limit, an infinitely short signal has constant amplitude at all frequencies, a delta pulse

•  White noise also has equal amplitude at all frequencies, but this results from random waveform

Page 16: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Finite sounds and Fourier ‘lobes’

Lobes are artifacts of short sample

Page 17: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Fourier “windows”

Bartlett

Hamming

Page 18: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Digitizing sound

Typical sampling rates are 22 kHz and 44 kHz

Page 19: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Aliasing

Nyquist frequency = 1/2 the sampling frequency

Page 20: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Aliasing consequences

Page 21: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Bandwidth = minimum frequency difference that can be discerned

Fourier window size and bandwidth

Narrow Bandwidth (135 Hz, 46 ms)

Wide Bandwidth (540 Hz, 11.5 ms)

Page 22: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Narrow band vs wide band spectrogram

•  Narrow bandwidth analysis is good for frequency •  Wide bandwidth is good for time

1 kHz signal sinusoidally amplitude modulated at 70 Hz

Narrow bandwidth (50 Hz) Wide bandwidth (300 Hz)

Page 23: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Time-frequency uncertainty

Narrow Bandwidth (176 Hz, 23 ms)

Wide Bandwidth (1412 Hz, 2.9 ms)

Page 24: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Problems

•  If you want to measure the time delay between an echolocation pulse and the returning echo, should you use a 64 or 1024 point window?

•  If you want to measure the frequency of a constant frequency echolocation pulse accurately, should you use a 64 or 1024 point window?

Page 25: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Sound spectrum “waterfall”

Song sparrow

Page 26: Introduction to Fourier Analysis - University of Maryland ... · Introduction to Fourier Analysis ... partitioned into a sum of sinusoidal waves ... Fourier analysis of aperiodic

Sonagram = sound spectrogram Song sparrow

Narrow bandwidth analysis is good for frequency measurements, but not accurate for time measurements