Vijay_Wiki
/ Vibration and condition monitoring / FFT and spectra

FFT and Spectrum Analysis: Sampling, Resolution, Windows and Averaging

K Vijay Anand · Vijay_Wiki quick-reference article · 24 November 2026
FFTSignal processingVibrationData acquisition

The fast Fourier transform turns a time signal into a spectrum, so that each machine fault appears at its own frequency. Getting a trustworthy spectrum depends on a few set-up choices: how fast to sample, how long to record, which window to apply and how many averages to take. These choices trade frequency resolution against time and amplitude accuracy.

Key takeaways

  • Sample at least 2.56 × the highest frequency of interest (Fmax) with an anti-alias filter; Nyquist is Fs/2.
  • Resolution Δf = Fs/N = 1/T. Finer resolution needs a longer record: 0.1 Hz needs 10 s of data.
  • Lines of resolution = N/2.56. A 3,200-line spectrum to 1 kHz has Δf = 0.3125 Hz.
  • Use a Hanning window for general vibration, flat-top for accurate amplitudes, rectangular only for transients or order-tracked signals.
  • Averaging reduces random noise; overlap (50–67 %) shortens measurement time without losing data.

1. Sampling and aliasing

Nyquist frequency f_N = Fs / 2 Practical rule Fs = 2.56 · Fmax (anti-alias filter roll-off) Record length T = N / Fs Resolution Δf = 1 / T = Fs / N Lines L = N / 2.56 (= Fmax / Δf)

A frequency above Fs/2 that reaches the digitiser folds back and appears as a false lower frequency (aliasing). It cannot be removed afterwards, so an analogue anti-alias filter must act before the converter. Delta-sigma converters include this filter automatically.

FmaxLinesFsNRecord TΔf
1 kHz8002.56 kHz2,0480.8 s1.25 Hz
1 kHz3,2002.56 kHz8,1923.2 s0.3125 Hz
10 kHz6,40025.6 kHz16,3840.64 s1.5625 Hz
10 kHz25,60025.6 kHz65,5362.56 s0.39 Hz

2. Window functions

The FFT assumes the record repeats forever. If the signal does not complete a whole number of cycles, the ends do not join and energy leaks into neighbouring lines. A window tapers the ends to reduce leakage at the cost of a wider peak.

WindowMain useMax amplitude errorNoise bandwidth (bins)
Rectangular (uniform)Transients that fit the record, order-tracked or synchronous data−3.9 dB (36 %)1.00
HanningGeneral vibration, steady signals−1.4 dB (15 %)1.50
Flat topAccurate amplitude of tones, calibration< 0.1 dB3.77
Exponential / forceImpact (modal) testing——

3. Averaging and overlap

4. Example spectrum

00.20.40.60.8050100150200250300350400frequency (Hz)amplitude (RMS)1× = 50 Hz2× = 100 Hz312.5 Hz
Figure 1. Spectrum of a synthetic signal: 1.0 at 50 Hz, 0.5 at 100 Hz and 0.3 at 312.5 Hz plus noise; Fs = 2,048 Hz, N = 4,096, Hanning window. Amplitudes are RMS (peak/√2).
SensoraccelerometerAnti-alias filteranalogueADCFs, bitsWindowHanningFFTN pointsAveragen, overlapSpectrumΔf, Fmax
Figure 2. Signal chain from sensor to averaged spectrum.

5. Calculators

FFT set-up calculator

Interactive spectrum demo (two tones + noise)

A 1,024-point record is generated and transformed in the browser. Change the window and see leakage.

6. Self-test: check your understanding

Pick an answer to see the explanation. Numerical answers are accepted within the stated tolerance (±3 % unless noted).

Score

7. References and further reading

  1. Randall, R. B., Frequency Analysis, Brüel & Kjær, 1987.
  2. Harris, F. J., 'On the use of windows for harmonic analysis with the DFT', Proc. IEEE, 66(1), 1978.
  3. Bendat, J. S. and Piersol, A. G., Random Data: Analysis and Measurement Procedures, 4th ed., Wiley, 2010.
  4. ISO 18431-1/-2, Mechanical vibration and shock — Signal processing.

Web pages

Disclaimer

This article is for education and quick reference. Formulas are simplified first estimates and examples use typical data. For design, safety and maintenance decisions use manufacturers' data and the applicable standards.

Related Vijay_Wiki articles