GLOBAL KNOWLEDGE ARK

Robotics & Mechatronics · Coordinates, trajectories and physical execution

Coordinate axis clocks and trajectory phases

Two individually correct axis profiles can make the wrong path if they run at different phases. Compare application clocks and measured traces against one shared task time.

All numerical tables, scenarios and records are original constructed teaching data unless a specific external dataset is named. No physical experiment is claimed. A worked simulation model is distinguished from an executed simulator.

Lesson preparation and course links

Use the local explanations and supplied units, diagrams, tables and examples; advanced chapters build on the named local chapters. External links are point-of-need depth, not a requirement to finish an entire map.

Back to the Robotics chapter

After reading, you can

Keep a given multi-axis motion coherent when devices sample or apply setpoints at different times.

01

Start from a supplied coordinated segment

The ideal given task is x(t)=10t mm and y(t)=10t mm for t in seconds after a common start. Both axes move at 10 mm/s, so the intended path is y=x. This is a simple operational test of a provided motion, not a general trajectory planner.

Suppose y begins 20 ms after x and follows the same speed. For t≥0.020 s, y=10(t−0.020)=10t−0.20 mm. At the same actual time, x−y=0.20 mm. Comparing x(t) with y(t+0.020) would hide the task’s simultaneous path error.

02

View timing error as a path difference

The plot compares the intended diagonal with the delayed path. Before y starts, x moves alone. Later the path is parallel to the diagonal with a 0.20 mm coordinate difference. For this simple line, perpendicular distance is 0.20/√2≈0.141 mm.

The numbers assume ideal constant speed and exact delay. Actual acceleration and clock uncertainty require the measured curves. A tool’s task error can depend on geometry beyond this two-axis illustration.

A delayed second axis leaves the intended diagonalIntended y=x: (0, 0); (1, 1); (2, 2); (3, 3). 20 ms delayed y: (0, 0); (0.2, 0); (1, 0.8); (2, 1.8); (3, 2.8). Horizontal axis Axis x position / mm; vertical axis Axis y position / mm. Straight segments join supplied samples; values between samples are not additional observations.000.750.751.51.52.252.2533Axis x position / mmAxis y position / mmIntended y=x20 ms delayed y
Intended y=x: (0, 0); (1, 1); (2, 2); (3, 3). 20 ms delayed y: (0, 0); (0.2, 0); (1, 0.8); (2, 1.8); (3, 2.8). Horizontal axis Axis x position / mm; vertical axis Axis y position / mm. Straight segments join supplied samples; values between samples are not additional observations.
03

Retain the events that establish phase

Constructed aligned-clock test record.

Retain the events that establish phase
EventAxis x / msAxis y / ms
Task staged−50−48
Acceptance confirmed−40−38
Requested apply time00
Observed motion start020
04

Separate staging from actual application

Both devices accepted the task before time zero, yet y started late. This points beyond simple readiness acceptance toward application timing or physical response. Compare applied-setpoint timestamps and observed motion starts to distinguish a delayed command from a slower axis response.

A supported common apply time, buffered profile and synchronised clocks can reduce command skew, but their actual implementation must be tested. If the devices cannot support the needed phase bound, restrict the task or use an appropriate existing interface. Do not assume shared time because two logs display similar numbers.

05

Retest the path, not just a clock report

After a correction, repeat the same segment and compare simultaneous state with clock uncertainty. Retain worst observed phase/path deviation, start/end transitions and fault behaviour if one axis misses a point. A synchronisation-service status is useful context, not a substitute for robot-task evidence.

Translate a permitted phase error into a conditional time bound

For this ideal segment, coordinate difference is speed×skew. If the task permits at most 0.10 mm x−y difference at 10 mm/s, skew must be at most 0.10/10=0.010 s=10 ms, before accounting for other errors.

This is an exact-model allocation, not a complete hardware specification. Calibration, following error, measurement uncertainty and start dynamics also consume the task margin.

Try the reasoning

  1. At t=0.10 s, what are x and delayed y?

    Show the answer and reasoning

    x=1.0 mm and y=0.8 mm under the supplied ideal law.

  2. Why not shift the plot until both axes overlap and declare success?

    Show the answer and reasoning

    That can diagnose timing, but it removes the simultaneous physical path error the task cares about.

  3. How distinguish delayed setpoint from slow physical response?

    Show the answer and reasoning

    Compare requested/apply timestamps with independent motion-start observations on a supported time basis.

  4. At 20 mm/s, what coordinate difference follows from 5 ms skew?

    Show the answer and reasoning

    0.10 mm under the ideal constant-speed relation.

What to carry forward

Coordinated motion needs a shared application phase and simultaneous task evidence. Correct individual endpoints do not establish a correct path.

References

Sources supporting this lesson’s explanations and examples.

  1. ros-controls project3 sources
    1. ros2_control: Different update rates for Hardware Componentsros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentationcontrol.ros.orgRead source
    2. ros2_control: Controller Managerros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentationcontrol.ros.orgRead source
    3. ros2_controllers: Joint Trajectory Controller, Trajectory Representationros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentationcontrol.ros.orgRead source