Robotics
Why clocks disagree about what stopped a robot
Sensors and controllers can report the same incident in incompatible orders. A clock plan makes it possible to reconstruct which events happened close together.

A camera frame shows a fixture moving. The controller reports an input change. The supervisory computer records a pause. Each record has a time, yet sorting the three lines might put the pause first on one run and the camera first on another. An investigation needs to know which system set each timestamp and what uncertainty applies to it. Clock alignment matters long before a company deploys a large fleet. A single cell already combines machines with different time sources and several ways of buffering or moving observations. Reliable records let engineers find the event order they can support with evidence.
Separate event time from arrival time
A sensor timestamp can refer to the start of an exposure, the end of a reading or the point at which a device publishes. A receiver can record when it first observed the message. Those times answer distinct questions. Retain both when practical and describe the clock and event each one represents. If time is stamped at the collector, traffic bursts and buffering can alter order even when event timing was stable. A sequence number can help establish local order while the timestamps explain where local order fits with observations elsewhere in the workcell.
Choose an error budget based on the decision
A supervisor might need to connect a stoppage to a shift handoff within a minute. An engineer measuring a conveyor registration problem may need a much smaller bound. Begin with the shortest meaningful interval in the decision and determine whether the sources can be aligned within it under ordinary and degraded conditions. NIST's overview of IEEE 1588 explains the purpose of Precision Time Protocol in measurement and control systems. The support of the endpoints and time-aware network equipment, and the behavior under load, determine what a particular installation actually achieves.
Check how time behaves when conditions change
A shared timing source can fail, and a restarted device can temporarily report a very different wall clock. Record how each system reports that its clock is synchronized, how long it can continue with a useful bound, and whether it steps or gradually corrects. For elapsed durations, software can use a monotonic timer while keeping a separately described wall-clock timestamp for reports across devices. Include a reboot or disconnected timing source in commissioning. If the confidence in time falls, the log should preserve that fact so later analysis can revise its conclusions.
Correlate records with a shared physical event
A controlled observation can link two clocks to something each device can see, such as the state change of an approved test indicator captured from more than one point in the system. Repeat the observation across conditions that matter and look at the range rather than selecting the neatest result. The experiment may also reveal framing, sensor polling or queue delay that clock tools cannot remove. Use care when comparing timestamps with actual motion. The conversion between the two is an instrument property, and its uncertainty belongs alongside the final incident timeline.
Two records fall inside the same uncertainty window
Suppose a technician compares an input change with a camera image and sees a difference of two milliseconds. The camera timestamp could refer to the start of an exposure, and the existing commissioning check found that the time alignment varied by more than that across the conditions of interest. The appropriate conclusion is that the two observations are closely associated and that their relative order is unresolved with the present evidence. A polished dashboard that shows both timestamps to the nearest microsecond cannot improve the evidence or settle which event happened first.
That uncertainty helps narrow the next trial. If the question affects a quality change, arrange a controlled run that measures the event directly with equipment and timing suitable for the interval. If it affects only whether two logs can be grouped as one incident, local sequence information and a wider time window may answer the practical question already. Make the precision requirement part of the report before collecting more data. It keeps a small factory from rebuilding its timing system solely to improve the appearance of an incident chart.
Keep a short legend beside the incident report explaining where the numbers came from. A process record with an uncertainty band, clock identity and missing observations is easier to hand off to another shift than a screen export with unlabeled precision. If several incidents repeat, the same legend helps analysts see whether the comparison depends on a stable measurement configuration or a changed one.
Useful time discipline makes the engineer's reasoning visible. A site can describe which records are device events, what shared time they use, and how confidently they can be compared under typical conditions. A commissioning record also needs to say what happens to those records during connection loss and restart. That context can make a sparse timeline more informative than a large archive of individually precise-looking numbers. The clocks serve the workcell when operators can use their records to explain an event at the resolution the decision warrants.


