Sampling Rate and Sample Interval

For regular sampling, rate is the reciprocal of the interval. Its unit of samples per second describes how often observations are taken.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Work a small conversion
  2. Keep interval and count separate
  3. Convert between time per sample and count per second
  4. Separate sample count from elapsed intervals

Work a small conversion

A sample every 0.02 seconds gives 50 samples per second. Covering one second with samples at both endpoints gives 51 observations at that spacing. See inclusive boundaries.

Keep interval and count separate

A stored array of fifty samples does not identify the rate without its timing contract. Timestamps and durations describe metadata needed for interpretation.[1][2]

Convert between time per sample and count per second

A regular sampler reading every two milliseconds has sampling interval 0.002 seconds and rate \(1/0.002=500\) samples per second. One hundred twenty-five intervals at this rate span a quarter second. See clock period and frequency.

Interval 2 ms = .002 s
Rate 500 samples/s
Samples with indices 0 through 125 span 125 intervals = .25 s

Separate sample count from elapsed intervals

There are 126 sample instants from index zero through index 125 inclusive. A missing interval or variable clock can make observed rate differ from the nominal setting. Keep the time basis explicit.

References

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