Two battery loggers can disagree by several seconds after a day offline, even when they recorded the same physical event. To estimate the timing budget, multiply the elapsed interval by the possible difference in clock rates, then add any uncertainty present when the devices last agreed. A millisecond timestamp field tells the reader the format’s resolution. The oscillator and synchronisation history determine how closely that timestamp represents the event.
Convert parts per million into seconds
A fractional rate offset of 20 parts per million is 20 microseconds per elapsed second. Over one day a constant +20 ppm clock gains 86,400 × 20 ÷ 1,000,000 = 1.728 seconds against an ideal reference. A second clock at −20 ppm loses 1.728 seconds. If both started together, their readings can then differ by 3.456 seconds after 24 hours.
The two-device bound assumes the errors could lie at opposite ends of the stated interval. It makes no claim about how likely that combination is. Two units with errors of +18 ppm and +12 ppm separate much more slowly, at 6 ppm. A timing allowance for a commissioning test normally has to be defensible even before those actual rates have been measured.

Size the offline interval for the decision
Suppose a regional water operator wants to match valve events captured at two isolated assets with an allowed timestamp difference of half a second. Commissioning leaves up to 0.10 seconds of pairwise uncertainty at the last successful synchronisation. That leaves 0.40 seconds for relative rate drift. At a 40 ppm relative bound the maximum elapsed interval is 0.40 ÷ 0.000040 = 10,000 seconds, or about 2 hours 47 minutes. A daily time update would exceed that design allowance.
That estimate assumes each device’s ±20 ppm specification covers the temperatures and operating modes involved. An oscillator tolerance given only at room temperature may exclude changes in an outdoor enclosure, ageing and different low-power clock sources. Ask which timebase the hardware uses while asleep and after restart. Allocate additional errors, including input sampling delay, separately if they matter for ordering the two field events.
Record the time at which the event happened
Gateway receipt time can be minutes later than acquisition time after a communications outage. Preserve the device timestamp, gateway receipt timestamp, a sequence number or equivalent ordering information, the last successful clock correction and a time-quality indicator. The operator can then see whether an apparent event overlap is credible. A late packet arriving in the correct order establishes little about clock agreement across two sites.
For a field trial, present both recording inputs with the same benign test event at the start and end of a planned offline period. Compare their timestamp differences with an independently timed reference. Keep a record of restarts and time corrections. A clock that steps backwards can produce overlapping timestamps even when the oscillator rate is within specification. A policy of logging both original timestamps and later alignment adjustments allows a reviewer to reproduce the analysis.
Worked data
Time offline (h) | One 20 ppm clock (s) | Two opposite 20 ppm clocks (s) |
|---|---|---|
1 | 0.072 | 0.144 |
2 | 0.144 | 0.288 |
6 | 0.432 | 0.864 |
12 | 0.864 | 1.728 |
24 | 1.728 | 3.456 |
The table assumes opposite constant offsets of 20 ppm and zero initial difference. Download the timing budget. Analog Devices provides a real-time clock accuracy calculator. RFC 5905 describes the timing quantities and synchronisation model used by NTP. A network protocol cannot guarantee this example’s event-order requirement without measurements of the implemented system.
Cover photograph by ed br, published under the Pexels licence. The calculation, data and chart are by Industry Applied.
