You need to test, we're here to help.

You need to test, we're here to help.
Showing posts with label data truncation. Show all posts
Showing posts with label data truncation. Show all posts

02 April 2019

Fast Fourier Transforms: Stickshift Edition

Figure 1: Shown at left is a 50-kHz input sine wave with the FFT of the same signal at right
Figure 1: Shown at left is a 50-kHz input sine wave
with the FFT of the same signal at right
Perhaps you're old enough to remember when more cars had stickshifts. They're a little bit more work to drive than cars with automatic transmissions, but the experience can be much more rewarding. Oscilloscopes these days are like cars with both types of transmissions, and you can use either one for many tasks. One of those tasks is fast Fourier transforms (FFTs), and in this post we'll take you through driving an oscilloscope to perform an FFT with a stickshift.

08 March 2019

Which Windowing Function to Use in FFTs?

Figure 1: Examples of a Hamming function (blue) and Hanning function (red)
Figure 1: Examples of a Hamming
function (blue) and Hanning function
(red)
When performing a fast Fourier transform on an acquired waveform, you'll often encounter situations where the waveform doesn't sit neatly within the oscilloscope's acquisition window so that the voltage is the same at the window's beginning and end. The ensuing discontinuity from window to window results in high-frequency artifacts, and the way to address this issue is a technique known as "windowing."

22 February 2019

About Data Truncation in Fast Fourier Transforms

The first precondition of using the Fourier transform is a repetitive signal
Figure 1: The first precondition of using the Fourier transform
is a repetitive signal
Our last post discussed how time-domain signals acquired by an oscilloscope might be translated into the frequency domain using the discrete Fourier transform. We noted that using the Fourier transform only works if our signal is repetitive (Figure 1), and that it allows us to identify only harmonics of the first harmonic frequency, which is 1/acquisition window. Moreover, the discrete Fourier transform, if used on a large number of data points, is relatively slow to calculate.