CEE575
Fourier Series and Fourier Transform
CEE575 Recap Fouriers theorem loosely states that that every - - PowerPoint PPT Presentation
Fourier Series and Fourier Transform CEE575 Recap Fouriers theorem loosely states that that every function can be completely expressed as a sum of sines and cosines of various amplitudes and frequencies. The Fourier series tells you
Fourier Series and Fourier Transform
a sum of sines and cosines of various amplitudes and frequencies.
should add up to recreate your original function
Source: http://mathtools.stanford.edu/reader/Ch5_Fourier_Analysis.pdf
Signals: When time domain analysis is not enough
Once we’ve collected data using an ADC, we often need to process and analyze it. This could entail:
Time (noisy) Frequency Example: extracting damage info from accelerometer readings
Interesting Noise Noise
Example 2: filtering out noise on agoutis signals
a piezo sensor.
do is extract the the actual whale call:
Interesting
Time (noisy) Frequency
(21 March 1768 – 16 May 1830)
Remember
http://maxim.ece.illinois.edu/teaching/fall08/lec8.pdf
Animation: http://en.wikipedia.org/wiki File:Fourier_series_and_transform.gif
contributed equally to the final summed signal. Some have higher amplitudes (are more important) than others
expressed in the frequency domain. This involves plotting the amplitude or the power
component
amplitude frequency
Power=Ampltide2
square wave by summing the appropriate component sine
waves will be sines (see course notes)
and the bottom panel represents the sine waves that are added together to form the waveform. Each column contains one more component sine wave than the previous
the resulting waveform starts to look more and more like a square wave
The frequency-, or power-spectrum, tells us how prevalent any given frequency component is etc… Notice how some frequencies are not even present in our reconstruction
The figure below is another simple example of plotting the same signal in both the time domain and frequency domain. The sine waves represented by the top two rows are summed to create the waveform in the bottom row. The right column shows how much power is in each frequency (“power spectrum”). Notice that the power is zero at most frequencies. This is because the waveforms in this example are composed of either 1 or 2 sine waves, so most frequencies are not contributing any power to the signal.
https://engineering.purdue.edu/ME365/Textbook/chapter8.pdf
Sensor Difficult to interpret Easier to interpret
See notes…
FT DTFT DFT/FFT Discrete Discrete Continuous Discrete Continuous Continuous t x(t) n x[n] n x[n] ω X(ω) ω X(ω) Ω X[Ω]
FT DTFT DFT/FFT Discrete Discrete Continuous Discrete Continuous Continuous t x(t) n x[n] n x[n] ω X(ω) ω X(ω) Ω X[Ω]
Reminder – to avoid aliasing, sample at twice (or more) of the expected
measure at 500-600KHz to avoid aliasing.
Harry Nyqist (1889–1976)
Gist: Sample twice as fast as you would need to capture the highest frequency you are interested in. A good rule of thumb is to actually sample 4-6 times as fast, just to be safe (more on this later). Example: If we are measuring building motion (up to 1KHz), Nyquist would tell us to measure at 2KHz, but to be safe we will measure at 5KHz.
http://www.dspguide.com/ch12/2.htm
In most real-world scenarios, for collected sensor information, your will know the following:
MATLAB
We can now take the fft of our signal using the FFT function Y= fft(x); To plot this in a physically meaningful way, we need to calculate the DFT frequency vectored. Remember that for k data points, the DFT will sample the frequency spectrum at locations 2*pi*k/N. Then we can define f_delta = (Fs/N); f=0:f_delta:f_delta*(N-1); And then plot (plot only half the outputs due to symmetry): plot(f(1:N/2),abs(Y_noisy(1:N/2))); xlabel('Freqeuncy (Hz)'); ylabel('Amplitude');