TIERA Book demo ->
Technology blog
InteractiveSamplingAliasingPhonoVibeTVIB
Interactive lab / 5 min + playground

Catch an Alias in the Act: A Live Sampling Playground

Our aliasing explainer told you why undersampled signals lie. This one lets you make them lie: two sliders, a live plot of the true signal, the stored samples and the false reconstruction, and a readout that computes the fold as you cross Nyquist.

01

This time, you break it yourself

Our explainer on sample rate, Fmax and the anti-alias filter (at /blog/sample-rate-fmax-antialias) makes the argument in pictures: undersample a signal and the stored record is a perfect impostor at a different frequency. Reading that is one thing. Feeling the exact slider position where a measurement stops telling the truth is another — and that is all this page is for.

Everything below revolves around one number: samples per cycle, the sample rate divided by the signal frequency. Above 2.56 you are safe by analyser convention. Below 2, the record is false and nothing downstream can repair it. The playground lets you drive that number back and forth across the boundary and watch what the file would have contained.

Samples per cycle (fs ÷ f) — the one number the playground below watches LYING no filter margin HONEST 1 2 2.56 3 4 Below 2 the record is false. 2–2.56 is legal maths with no room for a real anti-alias filter. Analysers sample at 2.56× Fmax.
The three zones the simulator's status banner reports. The hard failure is at two samples per cycle; real instruments keep a margin above it because analogue filters need room to roll off.
02

The folding rule the readout computes

The apparent frequency of an undersampled tone is not random — it is exactly predictable. Take the true frequency f and the sample rate fs: the recorded frequency is |f − fs·round(f/fs)|, always landing somewhere between 0 and Nyquist. Plot that rule and you get a concertina: honest and straight up to fs/2, then folding back down to zero at fs, back up to Nyquist at 1.5·fs, and so on forever.

Two useful landmarks fall straight out of the formula. When the true frequency equals the sample rate exactly, the apparent frequency is zero — every sample lands on the same point of the wave and the record goes flat, which is the wagon wheel appearing to stand still. And just past Nyquist, the apparent frequency comes back down through values that look completely plausible, which is what makes aliases so dangerous in a spectrum.

The folding map: what frequency gets written to the file true frequency (in units of fs) apparent fs/2 0 fs/2 fs 3fs/2 2fs honest: apparent = true beyond Nyquist: folds back, again and again 0.9 fs reads as 0.1 fs apparent = | f − fs · round(f/fs) | — the exact formula the simulator computes live
The folding map. The simulator's 'Apparent freq' readout evaluates this exact formula live, and the red curve it draws is the same fold — so the plot and the number can never disagree.
03

The playground: slide until it lies

Grey is the true continuous signal. White dots are the samples the ADC stores — notice they always sit exactly on the grey wave, because an ADC never records a wrong value. Red is the sine the analyser reconstructs from those dots alone. While you stay above two samples per cycle, red hugs grey and the reconstruction is honest. Cross the boundary and red detaches into a slower wave that still passes perfectly through every sample.

That last part is the trap worth staring at: even while it lies, the reconstruction never misses a single dot. Judged only by the stored data — which is all any analyser, FFT or algorithm ever has — the red wave is a flawless explanation. The truth was lost at the instant of sampling, not in processing.

Interactive — drag the controls
HONEST
true signal samples the ADC stores what the analyser reconstructs
True freq
Sample rate
Nyquist (fs/2)
Apparent freq
Samples/cycle
Start by dragging the sample rate down from 128 S/s with the frequency at 20 Hz. The status flips through MARGINAL near 51 S/s and to ALIASING at 40 S/s — then keep going and watch the apparent frequency walk somewhere new.
04

Three experiments worth running

First, the slow fall. Set the frequency to 20 Hz and drag the sample rate downward one step at a time. Nothing visible changes for a long while — the dots thin out but the red reconstruction stays glued to the grey truth. The failure is not gradual: one slider step below 40 S/s, the reconstruction detaches. Sampling does not degrade politely; it is honest right up until it isn't.

Second, the standstill. With the rate at 40 S/s, set the frequency to exactly 40 Hz. The apparent frequency reads 0.0 Hz and the red trace goes flat: one sample per cycle, every sample identical. This is the film of a wagon wheel frozen mid-spin — and it is also why a once-per-revolution vibration can vanish entirely from an undersampled record.

Third, the bounce. Hold the rate at 100 S/s (Nyquist 50 Hz) and sweep the frequency up from 40 to 60 Hz. Watch the apparent frequency climb to 50, hit the wall, and walk back down — at a true 60 Hz the analyser reports 40 Hz. Two different inputs, identical files. That symmetry is the folding map from earlier, and you have just traced it by hand.

05

How this gets caught in the field

A representative example, not a specific customer: a maintenance team logs a fan drive with a bare-bones USB logger — no anti-alias filter ahead of the converter — at 512 S/s. The spectrum shows the expected shaft line at 45 Hz, plus a strong, stable line at 22 Hz that matches nothing on the machine: no shaft, no belt, no bearing tone. It looks completely real, because an alias always does.

The diagnostic move costs one re-capture: change only the sample rate and see what moves. At 640 S/s the shaft line stays at 45 Hz, but the mystery line jumps to 150 Hz. A real component cannot care what the recorder's clock is doing — so the moving line is an alias. Both positions fold back to the same source, a 490 Hz blade-pass tone sitting above Nyquist in both captures, which a hardware anti-alias filter would have removed before the converter ever saw it. You can replay the whole story in the simulator: it is experiment three, wearing overalls.

Capture 1 — 512 S/s 0 100 200 Hz 45 Hz shaft 22 Hz — ? Capture 2 — 640 S/s 0 100 200 Hz 45 Hz — stays 150 Hz — it moved real lines stay put when the rate changes; an alias moves — here both are folds of a 490 Hz blade-pass tone |490 − 512| = 22 Hz  ·  |490 − 640| = 150 Hz — check both against the folding formula
The re-capture test: real lines stay put when the sample rate changes; aliases move, because their apparent frequency depends on the fold. Both alias positions match the formula from the folding map.
06

Where to go from here

If the playground made the folding rule click, the companion explainer at /blog/sample-rate-fmax-antialias covers the parts a simulator cannot: how Fmax, line count and capture time trade off, and how to read a DAQ datasheet for an honest guard band. The two posts are meant to be read as a pair — one explains, this one lets you break things.

For the underlying theory — sampling, folding, FFT resolution, windowing — TIERA's free primers at 101.tieraonline.in are the place to start: Signal Processing 101 and Accelerometer & DAQ 101. They are free introductory courses, not accredited ISO certifications. When formal, assessed competence matters, the TCAT programme (details at /services) adds structured coursework with proctored examinations at exams.tieraonline.in.

The kit for this job

TIERA instruments that do this work.

PhonoVibe Series — Sound & Vibration DAQ

PhonoVibe Series — Sound & Vibration DAQ

Every model quotes its bandwidth below Nyquist — 20 kHz at 48 kS/s on the D, 60 kHz at 128 kS/s on the Q/O/HD — the honest guard band this playground teaches you to check.

ADC resolution
24-bit, simultaneous sampling on every input
Sampling
48 kHz (D); 128 kHz (Q/O/HD)
Bandwidth
2 Hz – 20 kHz (D); 0.5 Hz – 60 kHz (Q/O/HD)
Sensor power
24 V, 4 mA constant current (IEPE/ICP/CCLD)
Connectivity
USB, plug-and-play (Windows 10 / 11)
TVIB — Sound & Vibration Analysis Software

TVIB — Sound & Vibration Analysis Software

Sample rate, span and lines stay explicitly under your control — so the re-capture-and-see-what-moves test from this post takes a minute, not a support ticket.

FFT size
Up to 102,400 points
Base module
TSAP201 — free with every PhonoVibe DAQ
Averaging
Exponential, linear, peak hold, selectable windowing
Trial
14-day fully-unlocked evaluation licence
TSP Series IEPE Signal Conditioners

TSP Series IEPE Signal Conditioners

If your recorder is someone else's, TSP 02/04 put the same clean constant-current IEPE excitation ahead of any BNC input — so the front end, at least, is not the weak link.

Excitation
24 VDC, 4 mA constant current
Frequency response
0.5 Hz – 50,000 Hz
Gain
1 (unity)
Connectors
BNC in / BNC out
Channels
1 (TSP 02) or 4 (TSP 04)
From TIERA

A front end that keeps the red line on the grey one

The simulator lets you switch aliasing off by moving a slider. On a real machine you cannot — the only protection is hardware: an analogue anti-alias filter ahead of the converter and a sample rate specified with an honest guard band. That is precisely the part of the PhonoVibe series we refuse to compromise: every model quotes its bandwidth below Nyquist (20 kHz at a 48 kHz rate on the 2-channel D; 60 kHz at 128 kHz on the Q, O and 16-channel HD), with 24-bit conversion and simultaneous sampling on every input.

The bundled TVIB TSAP 201 software keeps sample rate, span and lines explicitly under your control — so the re-capture-and-see-what-moves test from this post takes a minute, not a support ticket. And if your recorder is someone else's, the TSP 02 and TSP 04 conditioners provide the same clean 24 V, 4 mA IEPE excitation at unity gain, 0.5 Hz to 50 kHz, ahead of any BNC input.

  • PhonoVibe D / Q / O / HD — 2 to 16 channels, 24-bit ADC per channel, simultaneous sampling, IEPE power and TEDS on every model
  • Bandwidth specified below Nyquist on every datasheet — the guard band you can check yourself
  • TVIB TSAP 201 bundled: sample rate, Fmax, lines and averaging under explicit control
  • TSP 02 / TSP 04 IEPE signal conditioners for third-party DAQs and recorders
Learn this properly

Where this sits on the TIERA learning ladder.

The theory behind this article is covered free, in full, by the TIERA 101 primers: Signal Processing 101, Accelerometer & DAQ 101. They are self-paced, interactive, and end in an exam and a certificate.

The free 101 primers cover the sampling and folding theory behind this playground; the formal TCAT programme (see /services) adds structured coursework and proctored examinations at exams.tieraonline.in for teams that need assessed, certificated competence.

TIERA 101 is a free introductory primer, not an accredited ISO certification, and its hours do not count towards the formal training ISO 18436 requires.