
A production line stops after a device reports an abnormal condition. The maintenance engineer opens the central event history and identifies the earliest alarm in the list. Another engineer reviews the local device logs and finds a different sequence.
Both records may contain genuine events. Their timestamps may not represent the same measurement of time.
Industrial equipment, controllers, gateways and information systems can generate event records using different clocks and different points in the data route. A central historian can collect those records without establishing that their apparent order matches the order of physical events.
Identify when the timestamp is created
A source timestamp may represent the time at which a device detected an event. An ingestion timestamp may represent when a server received the corresponding message.
Those moments can differ because of network transport, buffering, processing and communication interruptions. The time at which a value is displayed to an operator can be later again.
A device may also detect the underlying physical condition only after a sampling or processing interval. Its source timestamp therefore does not necessarily identify the exact instant at which the physical condition began.
Document what each relevant timestamp represents before using it to reconstruct a sequence.
Examine a simplified event history
Consider two fictional devices whose source clocks have been independently characterized for a particular interval. Device A's clock is 120 milliseconds ahead of the reference, while Device B's clock is 40 milliseconds behind it.
| Event | Source clock reading | Estimated reference time |
|---|---|---|
| Device A detects condition | 10:15:00.200 | 10:15:00.080 |
| Device B detects condition | 10:15:00.150 | 10:15:00.190 |
The uncorrected records suggest that B detected its condition first. Applying the assumed offsets suggests that A detected its condition about 110 milliseconds earlier.
The example assumes known and constant offsets and excludes uncertainty in the detection and timestamping processes. In a real investigation, those assumptions must be supported rather than inferred from the event list itself.
This distinction can matter when determining whether an alarm was associated with the beginning of a problem or occurred as a consequence of another event.
Choose a synchronization approach appropriate to the application
Network Time Protocol, commonly called NTP, and the Precision Time Protocol defined by IEEE 1588 are among the technologies used to synchronize clocks in networked systems.
Their actual performance depends on the implementation, network architecture, equipment support and operating conditions. The protocol name alone does not establish a particular synchronization accuracy.
Start with the timing requirement. A daily production report may tolerate differences that would be unacceptable when comparing closely spaced events across several controllers.
Determine the required timing accuracy and the relevant equipment support. Establish an appropriate time reference and verify performance throughout the actual system. Include synchronization status and the handling of clock or network disruptions in the design.
Do not assume that time synchronization replaces deterministic control or any required safety-related communication arrangement.
Preserve uncertainty when determining event order
Suppose event A has an estimated reference time of 100 milliseconds with an uncertainty interval of plus or minus 20 milliseconds. Event B has an estimated time of 115 milliseconds with the same illustrative uncertainty interval.
The possible intervals overlap. The records do not provide a reliable basis for concluding which event occurred first, even though their central estimates differ.
Consider timestamp resolution, synchronization uncertainty, sampling intervals and relevant processing effects. The complete timing uncertainty can be greater than the number of decimal places displayed by the historian.
If the investigation cannot distinguish two events confidently, preserve that limitation. Additional device evidence or a controlled engineering investigation may be needed.
Handle delayed and repeated records
Communication interruptions may cause records to arrive late or in batches. A central system that uses only receipt time can incorrectly place old events among current production events.
Maintain the source event identity and relevant timestamps where the equipment supports them. Distinguish repeated delivery of an existing record from a genuinely repeated physical event.
Preserve the original values when applying a corrected time representation. This allows later investigation of the assumptions used to reconstruct the sequence.
Also examine how clock changes are represented. Using a consistent time basis for stored records, with an appropriate local-time display, can help avoid ambiguities during time-zone or daylight-saving transitions.
Validate the event route end to end
Use authorized representative test events and compare the records produced by the relevant equipment and information systems. Investigate timing under ordinary operation and relevant communication or synchronization disturbances.
Record the source of time, applicable accuracy evidence and the limitations of the resulting event history. Review significant equipment or network changes.
An alarm list is useful for diagnosing production interruptions only when the meaning of its ordering is understood. Accurate timestamps require more than a clock display on every device. They require a documented relationship between the physical observation, the time reference and the record ultimately used for engineering decisions.
Further reading
NIST — Time synchronization for electronic distributed systems.
