Robotics & Mechatronics · Mechanisms and actuators in a robot
Coordinate several actuator states
A two-axis action is not ready because the first drive is ready. Define what must agree across devices before accepting a coordinated command, then retain the timing of each acknowledgement.
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 chapterAfter reading, you can
Make enable, command, readback and fault states agree across multiple drives before a coordinated robot action.
Build a readiness condition for the action
For supplied drives A and B, the robot may accept a new task only when both are referenced, fault-free and ready, with fresh compatible state. “Both” is logical AND: all required conditions must be true. One false condition makes the combined readiness false.
The decision must refer to a coherent observation interval. Combining A’s current readiness with B’s old cached readiness can create a robot state that never actually existed. Timestamp and configuration identity are part of the contract.
Find the premature start
Constructed timeline; the allowed age is 20 ms and both drives use the same declared time basis.
| Time / ms | A state | B state | Robot action |
|---|---|---|---|
| 0 | Ready, fresh | Enabling, fresh | Wait |
| 10 | Ready, fresh | Enabling, fresh | Incorrect implementation starts both |
| 20 | Moving | Ready, fresh | B begins late |
| 30 | Moving | Moving | Axes have different start phases |
A barrier needs acknowledgement and a failure policy
A corrected sequence first validates both devices, stages a compatible task, confirms acceptance under the device’s supported protocol and releases the action at the declared common start time. If one cannot accept or misses its deadline, apply the specified all-device response; do not leave the other continuing an unqualified coordinated task.
Not every protocol offers atomic staging or a shared clock. If it does not, quantify possible skew and design a bounded sequential task whose acceptance tolerates it, or choose an appropriate existing interface. A spreadsheet “ready” column cannot create an atomic hardware capability.
Readiness can be lost after the start
A drive may fault during execution. Retain per-axis actual state and the robot-level response. Do not infer that a stop request to both produces identical physical deceleration: loads and drive behaviours can differ. The coordinated task needs observed end-state and path evidence.
For supplied-data study, annotate the timeline and propose the corrected acceptance protocol. A simulation can inject a delayed readiness transition and test the task state machine. Neither result certifies a physical synchronised stop.
Quantify a start-skew consequence
Suppose both axes are commanded 20 mm/s for an intended diagonal segment, but B starts 10 ms after A. During that initial gap, A advances 20×
The calculation assumes instantaneous attainment of the stated speed and no other dynamics. With a real acceleration profile, integrate or inspect the actual timestamped traces. Fixing readiness acceptance removes this specific premature-start defect; it does not prove all later phase alignment.
Try the reasoning
A is ready and B is enabling. Is combined readiness true?
Show the answer and reasoning
No. The task requires both ready, referenced, fault-free and fresh.
Why can an old “ready” message be unusable?
Show the answer and reasoning
The device may have changed state since acquisition. Freshness and configuration belong to readiness.
At 50 mm/s, what displacement accrues during 8 ms skew under the ideal constant-speed assumption?
Show the answer and reasoning
50×
0.008= 0.40 mm. What if the protocol cannot stage a common start?
Show the answer and reasoning
Declare and test its actual timing capability, restrict the task if suitable, or use an appropriate supported interface. Do not invent atomic behaviour.
What to carry forward
Coordinate command acceptance and state evidence across every required axis. Test the robot-level response when one device is late or unavailable.
References
Sources supporting this lesson’s explanations and examples.
ros-controls project3 sources
- ros2_control: Hardware Components and hardware interface typesros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentation
- ros2_control: Lifecycle of a Hardware Componentros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentation
- ros2_control: Controller Managerros2_control contributorsOfficial software documentationKilted, displayed October 2026 documentation
- Robotic Manipulation, Chapter 2: Let's get you a robotRuss TedrakeUniversity course working notes2020–2026 working notes