4.3.2 FFT Filter


Video Image.png Video Text Image.png Website blog icon circle.png Blog Image 33x33px.png

Summary

Origin offers an FFT filter, which performs filtering by using Fourier transforms to analyze the frequency components in the input dataset.

There are six types of filters available in the FFT filter function: low-pass, high-pass, band-pass, band-block, threshold and low-pass parabolic. Low-pass filters block all frequency components above the cutoff frequency, allowing only the low frequency components to pass. High-pass filters work in the opposite way: they block frequency components that are below the cutoff frequency.

This tutorial will show you how to perform the low-pass and band-pass filtering using Origin's FFT filter.


What you will learn

This tutorial will show you how to:

  • Perform low pass filtering.
  • Perform band pass filtering.

Low-pass Filter

  1. Start with an empty workbook. Select Help: Open Folder: Sample Folder... to open the "Samples" folder. In this folder, open the Signal Processing subfolder and find the file Origin 8 Message.wav. Drag-and-drop this file into the empty worksheet to import it.
    Tutorial FFT Filter 001.png
  2. Highlight column A(Y) and click the Line Button Line.png button on the 2D Graph toolbar to create a line plot.
  3. This signal is a sound wave and it is already known that the high frequency components can be regarded as noise, and should be blocked. So we will use the Low Pass method in the FFT Filter tool to approximate the low frequency component for further analysis.
  4. Make sure the line plot is active, then select Analysis:Signal Processing:FFT Filters to open the fft_filters dialog box.
  5. Make sure the Filter Type is set to Low Pass.
  6. Check the Auto Preview box to turn on the Preview panel:
    Tutorial FFT Filter 002 v.png
    The top two images show the signal in the time domain, while the bottom image shows the signal in the frequency domain after Fast Fourier Transform. The X position of the red vertical dot line indicates the cutoff frequency. By moving the vertical line horizontally, you can preview the comparison between the original signal and the filtered signal in real time, in the top part of this panel.
  7. Move the vertical line to the X position of the peak amplitude (as in the image below). Note that human error may be introduced during this step, but it is acceptable since we only want to roughly filter the signal.
    Tutorial FFT Filter 009 v.png
  8. Click OK to apply the FFT filter to the original signal.
  9. The signal after filtering will be added to the data plot of original signal. Select Graph:Speed Mode and turn off speed mode in this graph. The resulting graph should look like this:
    Tutorial FFT Filter 004.png
  10. In the resulting graph, we can see that the high frequency components are blocked by the Low Pass FFT filter.

Band-pass Filter

  1. Start with a new workbook. Select Help: Open Folder: Sample Folder... to open the "Samples" folder. In this folder, open the Signal Processing subfolder and find the file fftfilter3.dat. Drag-and-drop this file into the empty worksheet to import it.
  2. Highlight column B and click the Line Button Line.png button on the 2D Graphs toolbar to generate a line plot.
    Tutorial FFT Filter 008.png
  3. With the graph active, select Analysis:Signal Processing:FFT Filters. This opens the fft_filters dialog box.
  4. Check the Auto Preview box to enable the Preview panel.
  5. From the plot of frequency domain (the image below), we can see that this signal has components at several different frequencies> Now we are going to get the component at about 300Hz. So we will use the Band Pass method.
    Tutorial FFT Filter 005.png
  6. Set the Filter Type to be Band Pass.
    When Band Pass is chosen, there will be two vertical red lines in the preview panel, marking the Lower Cutoff Frequency and Upper Cutoff Frequency. You can similarly move these two lines and get the real time preview of filtering results in the top parts of this panel.
  7. Enter the values of the lower and upper cutoff frequencies according to the image below:
    Tutorial FFT Filter 006.png
    As long as only the desired amplitude peak stays within the cutoff frequency range, the error in filtering could be considered as acceptable even though the values of upper and lower cutoff frequencies may slightly differ for different cases.
  8. Click OK to execute filtering.
  9. We obtain the components at a frequency of around 300 Hz after filtering.
    Tutorial FFT Filter 007.png