The FFT assumes that the captured record repeats forever. A real record almost never contains a whole number of cycles of every component, so its two ends do not join smoothly. That discontinuity spreads energy from each peak into neighbouring lines, an effect called leakage. A window tapers the record towards zero at both ends to reduce it.
Leakage in practice
Without a window, a single clean sine wave appears as a peak with wide "skirts" that may hide smaller peaks nearby, and its amplitude can be underestimated by up to 36 %. With a suitable window the skirts fall away quickly and nearby peaks become visible.
The common windows
| Window | Amplitude error (worst case) | Noise bandwidth (ENBW, lines) | Frequency selectivity | Use for |
|---|---|---|---|---|
| Hanning | up to −1.42 dB (about −15 %) | 1.5 | Good | Default for machinery vibration on continuous signals |
| Flat top | about 0.01 dB (≪ 1 %) | ~3.8 | Poor (wide peaks) | Calibration and accurate amplitude of isolated peaks |
| Hamming | up to −1.78 dB | 1.36 | Good | An alternative to Hanning with lower nearby leakage |
| Uniform (rectangular, no window) | up to −3.92 dB (about −36 %) | 1.0 | Narrow peak, very high leakage | Transients and impacts that fit entirely in the record (impact tests, run-ups with order tracking) |
Hanning is the default for good reason
For a continuous, running machine Hanning gives a good balance: peaks are reasonably narrow, leakage is low, and the amplitude error is bounded. Unless you have a specific reason, keep Hanning.
The window affects overall values
A window spreads each peak over about the ENBW number of lines. When an overall value is calculated from a spectrum, the sum of squared lines must be divided by the ENBW, otherwise the result is too high (by about 22 % for Hanning). See Overall values.
Averaging
A single spectrum contains random variation. Averaging several spectra makes the result more repeatable and reveals what is consistently present.
| Averaging type | How it works | Use for |
|---|---|---|
| Linear (RMS) | Each line is the energy average of n spectra | Standard routine measurements |
| Exponential | Newer spectra weigh more, older ones fade | Live monitoring of a changing signal |
| Peak hold | Each line keeps its highest value | Run-ups and coast-downs, finding resonances, intermittent events |
| Time-synchronous | Time records are aligned to a once-per-revolution trigger and averaged before the FFT | Isolating one shaft's vibration; removes everything not synchronous with it, such as other shafts and noise |
| Number of averages | Effect |
|---|---|
| 1 | Fast but noisy, random peaks may mislead |
| 4 | Common default for routine data |
| 8–16 | Smoother noise floor; better for low-level bearing tones |
Overlap
Successive records can share part of their samples. With a Hanning window, 50 % overlap reuses the data that the window attenuated at the ends, so a set of averages is collected in roughly half the time with almost no loss of statistical quality.
Averaging cannot fix everything
Linear averaging reduces the scatter of random noise, it does not remove it; time-synchronous averaging is the method that actually suppresses non-synchronous content. Averages taken while speed or load changes produce smeared, misleading peaks.
Choosing settings: quick reference
| Situation | Window | Averaging |
|---|---|---|
| Routine survey, steady machine | Hanning | Linear, 4 averages, 50 % overlap |
| Accurate amplitude of one dominant peak | Flat top | Linear |
| Impact (bump) test | Uniform, or force/exponential windows | Linear over several hits |
| Run-up or coast-down | Hanning | Peak hold |
| Gearbox with several shafts | Hanning | Time-synchronous on the shaft of interest |