Nyquist and aliasing: how fast to sample sensor data
After reading, you can set a sampling rate from your analysis band, recognise a false low-frequency peak caused by aliasing, and see why slow PLC or SCADA logs fall short for spectra.
The Nyquist rule says that the sampling frequency fs must be more than twice the highest frequency you want to measure. A component above fs/2 folds back and appears at a wrong, lower frequency; this is called aliasing. For that reason, an analog anti-alias filter must sit before the converter.
To track a vibration component correctly, the sampling frequency fs must be more than twice that component's frequency. If the highest component is f_max, the condition is fs > 2 × f_max. This is the core idea of the Nyquist–Shannon sampling theorem.
When the condition fails, a component above fs/2 is not recorded as it is. It shows up at a lower frequency, which is called aliasing. A component f sampled at fs appears at |f − k × fs|, where k is the integer that makes the result smallest.
Aliasing cannot be undone after recording. Prevention therefore happens before sampling, with an analog low-pass filter. A digital filter cannot correct data that has already been folded to a wrong frequency.
Two hypothetical examples first:
To inspect a spectrum up to 2,000 Hz, FFT analyzers commonly use 2.56 times that frequency: fs = 2.56 × 2,000 = 5,120 Hz. This leaves a 560 Hz guard band between 2,000 Hz and fs/2 = 2,560 Hz, room for the anti-alias filter's transition.
Three mistakes come up often:
Real anti-alias filters do not have a sharp cut-off, so components close to fs/2 may not pass cleanly. Leaving a guard band between the highest analyzed frequency and fs/2 is the reason for the 2.56 factor. It is a common practical choice, not a theoretical limit.
Usually not. This is the simplest case of aliasing: a 0.9 Hz oscillation read once per second looks like 0.1 Hz. Vibration analysis needs a fast data acquisition system. PLC scan values and historian records are not suitable for rebuilding a waveform.
Example numbers are hypothetical, not measured field results.