Skip to content
Open Misoki

Windows and averaging

Spectrum & waveform

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 ​

WindowAmplitude error (worst case)Noise bandwidth (ENBW, lines)Frequency selectivityUse for
Hanningup to −1.42 dB (about −15 %)1.5GoodDefault for machinery vibration on continuous signals
Flat topabout 0.01 dB (≪ 1 %)~3.8Poor (wide peaks)Calibration and accurate amplitude of isolated peaks
Hammingup to −1.78 dB1.36GoodAn alternative to Hanning with lower nearby leakage
Uniform (rectangular, no window)up to −3.92 dB (about −36 %)1.0Narrow peak, very high leakageTransients 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 typeHow it worksUse for
Linear (RMS)Each line is the energy average of n spectraStandard routine measurements
ExponentialNewer spectra weigh more, older ones fadeLive monitoring of a changing signal
Peak holdEach line keeps its highest valueRun-ups and coast-downs, finding resonances, intermittent events
Time-synchronousTime records are aligned to a once-per-revolution trigger and averaged before the FFTIsolating one shaft's vibration; removes everything not synchronous with it, such as other shafts and noise
Number of averagesEffect
1Fast but noisy, random peaks may mislead
4Common default for routine data
8–16Smoother 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 ​

SituationWindowAveraging
Routine survey, steady machineHanningLinear, 4 averages, 50 % overlap
Accurate amplitude of one dominant peakFlat topLinear
Impact (bump) testUniform, or force/exponential windowsLinear over several hits
Run-up or coast-downHanningPeak hold
Gearbox with several shaftsHanningTime-synchronous on the shaft of interest