Robotics & Mechatronics · Commission one observed axis
Investigate one first-axis fault
The first-axis display does not change after a command. “The motor is broken” is one hypothesis, but a disabled drive, frozen message or wrong scale can produce a similar screen. Diagnosis improves when you choose an observation that separates explanations.
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
Distinguish a reversed sign, stale measurement and disabled drive using observations that discriminate competing explanations.
Write competing explanations before changing anything
The following matrix concerns an already documented axis and a bounded supplied test. “Fresh” means acquisition time and sequence advance within the declared age rule.
| Hypothesis | Expected record | Discriminating check |
|---|---|---|
| Drive not enabled | Command rejected/not applied; actual position may stay fixed | Inspect acceptance and reported drive readiness |
| Stale state | Position, sequence and acquisition time stop advancing | Compare receiver time, acquisition time and sequence |
| Reversed sign convention | Fresh state changes opposite independent observed direction | Compare small signed motion with ruler direction |
| Broken output path | Motor-side state changes; carriage does not | Compare output reference with motor-side state |
Read the fault case without destroying it
Receiver and acquisition times in F1 use the same aligned monotonic clock. In constructed run F1, an accepted +5 mm request has sequence 44 at receiver time 2.00 s. The displayed position is 20 mm. At receiver times 2.02, 2.04 and 2.06 s, the state still carries acquisition time 1.98 s and sequence 310. The receiver’s clock advances while the acquisition record does not.
With the stipulated maximum state age of 50 ms, ages are 40, 60 and 80 ms. The 2.04 s record is already too old. A stationary real axis could legitimately repeat the same position, but it should still produce fresh state under this contract. Unchanging value alone is not the decisive evidence; frozen acquisition identity is.
Choose a check that does not add uncertain motion
F1’s next check is the acquisition/transport health record or supplied replay, not a larger movement. If the state path is stale, additional motion would be judged using missing evidence. Preserve the last valid physical-state assumptions and apply the documented non-motion/fault response.
In a simulation, freeze the sensor timestamp while allowing receiver time to advance and verify that the analysis marks it invalid. This is a controlled injected defect. Do not represent a fabricated fault log as a physical network experiment.
Close the fault with a matched retest
After a documented state-path recovery, supplied F2 begins again from an independently known 20 mm reference.
| Receiver time / s | Acquisition time / s | Sequence | Position / mm |
|---|---|---|---|
| 3.00 | 2.99 | 401 | 20.0 |
| 3.02 | 3.01 | 402 | 21.0 |
| 3.04 | 3.03 | 403 | 23.0 |
| 3.06 | 3.05 | 404 | 24.9 |
A repaired field is only one part of closure
F2’s 10 ms ages and advancing sequence address the stale-data defect. The +4.9 mm indicated travel also agrees in sign and approximate scale with the +5 mm request. If the task requires endpoint tolerance or physical ruler agreement, apply those criteria as well. Repairing communication does not automatically prove them.
For a different fault where fresh counts decrease during rightward ruler motion, revisit the sign convention. For a disabled drive, revisit the enable/acceptance sequence. Use evidence to choose the branch rather than applying every possible configuration change at once.
Select the next useful observation
At receiver time 2.04 s, age=
A stale receiver cache and a stalled acquisition process can both give this record. Checking the device’s locally retained acquisition sequence could distinguish them: if it advances locally, transport/cache is implicated; if it freezes locally, acquisition is implicated. This is a proposed discriminating observation, not a completed test.
Try the reasoning
The displayed position stays 20 mm while sequence advances. Is it necessarily stale?
Show the answer and reasoning
No. A genuinely stationary axis can generate repeated fresh positions. Check acquisition time and validity.
Why not diagnose reversed sign from a single unchanged value?
Show the answer and reasoning
Sign requires observed change and a declared physical direction. No change provides no direction comparison.
A command is rejected because disabled. Should calibration be changed?
Show the answer and reasoning
There is no calibration evidence in that rejection. Resolve the documented command state first.
What must a fault report preserve?
Show the answer and reasoning
Original configuration, commands, raw state/time/sequence, competing hypotheses, selected check, repair and matched retest results.
What to carry forward
Choose the next observation for its power to distinguish hypotheses. Keep the initial fault and the corrected task record.
References
Sources supporting this lesson’s explanations and examples.
ros-controls project2 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
- Robotic Manipulation, Chapter 2: Let's get you a robotRuss TedrakeUniversity course working notes2020–2026 working notes