What is Aliasing?
Aliasing is what happens when a signal is sampled too slowly and shows up as a lower-frequency signal that does not actually exist. The "wagon-wheel effect" in films, where car wheels seem to spin backwards, is a visual example.
How does it happen?
An ADC only sees the signal at the sampling instants. If the sampling frequency is fs, that sequence of samples cannot distinguish a component above fs/2 (the Nyquist frequency) from another frequency below it. The high-frequency component "folds" down to a lower frequency, and once sampled no digital filter can separate it from the real signal.
Nyquist-Shannon rule: to sample a signal without losing information, fs must be greater than twice the highest frequency the signal contains. This is a lower bound; following the waveform shape in practice takes many more samples.
Formula and worked example
The apparent (alias) frequency of a component at f:
f_alias = | f − k · fs | (k is the integer that brings the result between 0 and fs/2)
| Real frequency | fs | Apparent frequency |
|---|---|---|
| 50 Hz | 60 Hz | 10 Hz |
| 700 Hz | 1000 Hz | 300 Hz |
| 980 Hz | 1000 Hz | 20 Hz |
The last row is particularly dangerous: a 980 Hz machine vibration sampled at 1 kHz looks like a slow 20 Hz oscillation and can be mistaken for a real process change.
How to prevent it
- Anti-aliasing filter: an analog low-pass filter before the ADC must suppress components above Nyquist. A digital filter added after sampling cannot do this job.
- Adequate sampling rate: twice the highest frequency of interest is the theoretical limit; because a real filter's roll-off is not a brick wall, a wider margin is usually left.
- Oversampling + decimation: sampling fast, filtering digitally and then reducing the rate is the method Delta-Sigma ADCs use.
Common mistakes
- Assuming that 1 kHz sampling "safely" captures everything up to 500 Hz. 500 Hz is the theoretical ceiling; the usable bandwidth is narrower and depends on the analog filter.
- Decimating data (e.g. keeping every 10th of 1000 samples) without filtering first; this creates aliasing in software.
- Overlooking harmonics of 50 Hz mains interference.
Where it matters in industrial measurement
In vibration monitoring, impact and break tests and fast force measurement, the choice of sampling rate directly affects the result. Amazeng ZMA Data Acquisition modules offer sampling rates up to 1 kHz, which suits most static and quasi-dynamic force measurements; for vibrations in the hundreds of Hz, the filtering in the signal chain must be assessed separately. See Peak and Valley for the risk of missing short peaks and Digital Filters for post-sampling filters. Practical conversion pitfalls are covered in 3 Common Mistakes in Analog-Digital Conversion.
Related Terms
- What is ADC (Analog-to-Digital Converter)?What an ADC is and how it works: LSB and SNR formulas, 12-bit vs 24-bit compared, a worked load cell example and the most common mistakes.
- What are Digital Filters? (Moving Average, Butterworth, Kalman)What digital filters are: moving average, exponential, median, Butterworth and Kalman, with formulas, delay and noise maths, and how to choose one.
- Signal Conditioning and IsolationWhat signal conditioning is: excitation, amplification, filtering, linearization and galvanic isolation, with a load cell gain calculation and pitfalls.
- Why Are Peak and Valley Values Important?What peak and valley values are: how peak hold works, how sampling rate limits peak accuracy (formula and example), filter effects and test uses.