Figure 1: The first precondition of using the Fourier transform is a repetitive signal |
Enter a little mathematical trick known as the fast Fourier transform (FFT). The FFT will only work if we have a number of data points in our acquisition window that corresponds to 2n points. That's to say that there has to be, say, 256 points, or 512, 1024, or 4096. Then, we can employ some matrix math methods to dramatically reduce the calculation time for the frequency components. Additionally, the discrete Fourier transform's requirement that the waveform be repetitive still holds for the FFT.
Figure 2: An example of an FFT screen capture |
Figure 2 depicts an example of an FFT screen capture. The acquisition window spans 10 ms, and thus the resolution is 1/0.01s or 100 Hz. The sample rate is 250 MS/s, making the maximum frequency component 0.5 x 250 MS/s or 125 MHz.
Figure 3: The best measurement practice is to select the option to "truncate about the center" |
What that means is that we'll use data about the center of the acquisition window that's in the form of 2n data points. Whatever data is left over is discarded for purposes of the FFT. If we have, say, 2 million data points in the acquisition window, the highest value we can use in the FFT is 220 data points, which works out to 1,048,576 points.
The second artifact in FFT calculations is more serious and is also the source of some confusion. We'll cover FFT windowing in our next post.
Previous posts in this series:
Getting From the Time Domain to the Frequency Domain
No comments:
Post a Comment