โ† Back to the chapter

Technical detail ยท Acquisition Timing and Buffer Contracts

Under the Hood: convert clock drift into sample error

Clock drift is the accumulating error of a running clock. An oscillator error of 50 parts per million (ppm) gives the one-hour calculation:

[ 3600\ \text{s}\times\frac{50}{1{,}000{,}000}=0.18\ \text{s}=180\ \text{ms}. ]

At 100 Hz, samples are 10 ms apart, so 180 ms corresponds to 18 sample intervals. Every recorded value may be numerically correct while correlation, phase estimates, and event matching are wrong. For a slow temperature trend, the same drift may be tolerable.

This calculation explains why the contract includes both clock source and timing tolerance. Monitor drift and re-synchronize periodically over a long deployment; choosing a synchronization method at startup is only the first step.

โ† Back to the chapter