Checking a Sampling Pipeline with a Known Signal

A signal test can use a known simple source to verify sampling times, value scale, and downstream processing.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace one constant source
  2. Add a varying source
  3. Predict an entire sampled sequence before measuring it
  4. Include one case exposing a confused unit

Trace one constant source

A constant six sampled at several times should keep that value before a declared transform. A moving average over fully covered windows can preserve six afterward. See moving-average rules.

Add a varying source

A constant fixture cannot show a shifted index or wrong interval. Include a step or isolated impulse with an expected location. Discrete impulses provide a simple witness.[1][2]

Predict an entire sampled sequence before measuring it

Drive a synthetic pipeline with \(x(t)=4t+2\) and sample every quarter second beginning at zero. The first four expected values are two, three, four and five. Compare both recorded timestamps and values to detect an offset in either. See sampling times and values.

t=0, .25, .50, .75
Expected x=2,3,4,5
A missed first sample would shift the value sequence
Check recorded sample count

Include one case exposing a confused unit

A constant signal can hide wrong timing. Use a ramp and a simple periodic signal to test distinct timing and amplitude behavior. Define numerical tolerance from the acquisition resolution.

References

  1. MIT OpenCourseWare, 6.003 Signals and Systems ↩
  2. David J. C. MacKay, Information Theory, Inference, and Learning Algorithms ↩