Robotics & Mechatronics · Robot sensors and calibration
Check inertial sensor mounting and time alignment
A robot turns left, but its inertial record reports a negative yaw-rate pulse. Before changing an estimator, check the supplied axis convention, sensor mounting and time alignment.
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
Apply a supplied axis convention to stationary and simple motion data, distinguishing mounting/sign error, bias and timestamp mismatch from a state-estimation algorithm.
Use an operational mounting record
The supplied robot frame is right-handed: x forward, y left and z up. Positive yaw is counterclockwise viewed from above. The IMU mounting record states which sensor axis corresponds to each robot axis and its sign. ROS conventions use SI units; a driver must document any deviation.
A stationary accelerometer reports specific force rather than world-frame gravitational acceleration alone. In this ideal teaching case, an upright sensor with its z axis up reads approximately+9.81 m/s² on z while resting, not zero. This assumes its driver exposes uncompensated specific force with that sign. A gravity-compensated output is a different field.
Check simple known orientations
Original idealised records omit noise for clarity; they are not a six-position calibration dataset.
| Known placement | Supplied sensor components / (m/s²) | Interpretation |
|---|---|---|
| z sensor up | (0, 0, +9.81) | Consistent with declared specific-force sign |
| z sensor down | (0, 0, −9.81) | Consistent reversal |
| Robot upright, sensor x points up | (+9.81, 0, 0) | Mounting differs from identity mapping |
Separate sign from offset
During an externally observed positive yaw pulse, supplied angular-rate values are−1.00 rad/s on sensor z. If the mounting maps sensor z opposite robot z, the corrected robot rate is+1.00 rad/s. If the sensor is known to have identity mounting, investigate sign/configuration rather than inventing that mapping.
A stationary rate offset of+0.02 rad/s is a different issue from axis reversal. Under a supplied constant-offset model, integrating it for 5 s would add 0.10 rad≈5.73° to an angle change. This local arithmetic explains why the offset matters; full state estimation remains in the AI branch.
Check event timing before comparing amplitudes
External reference and IMU acquisition timestamps use a declared common clock.
| Event | Reference time / s | IMU time / s |
|---|---|---|
| Positive rate pulse begins | 1.000 | 1.050 |
| Pulse ends | 1.200 | 1.250 |
A delayed trace can mimic the wrong response
Both edges are 50 ms late, consistent with a constant timing offset for these events. Shifting the trace by−50 ms aligns them in this constructed case. That operation is an analysis correction, not a claim that the physical system had zero latency. Record acquisition versus receipt timestamp meanings and clock synchronisation uncertainty.
Use held-out events to test a proposed mapping or alignment. Do not fit sensor orientation, bias and time offset to the same pulse and then claim an independent check. Preserve raw axes and timestamps so a later interpretation can be reviewed.
Convert a known pulse and a timing mismatch
An ideal 1.00 rad/s yaw pulse for 0.20 s corresponds to 0.20 rad≈11.46° of angular change. With the supplied 50 ms delay, a comparison only over 1.00–1.20 s captures 0.15 s of the shifted pulse and would infer 0.15 rad. The missing 0.05 rad comes from window misalignment, not necessarily scale error.
Align the declared acquisition times, then compare the full pulse and an independent reference. This procedure checks an interface convention; it is not a general sensor-fusion or orientation-estimation lesson.
Try the reasoning
Why need a driver-output definition before using the 9.81 m/s² test?
Show the answer and reasoning
Some fields report specific force, others gravity-compensated acceleration or differently transformed axes. Their expected values differ.
What angle error follows from 0.01 rad/s constant bias for 10 s under simple integration?
Show the answer and reasoning
0.10 rad≈5.73°, subject to the stated constant-bias model.
Does rotating a level IMU about vertical necessarily change its stationary gravity projection?
Show the answer and reasoning
No. A pure yaw rotation keeps its vertical axis orientation relative to gravity.
What evidence distinguishes a mounting sign error from a delayed pulse?
Show the answer and reasoning
Known-direction events across mapped axes and aligned acquisition timestamps; sign and time are separate checks.
What to carry forward
Verify what the IMU field means, how it is mounted and when it was acquired before interpreting a robot-motion discrepancy.
References
Sources supporting this lesson’s explanations and examples.
ROS infrastructure project3 sources
- REP 103: Standard Units of Measure and Coordinate ConventionsTully Foote, Mike PurvisOfficial informational specificationCreated 7 October 2010; post-history 31 December 2014
- REP 105: Coordinate Frames for Mobile PlatformsWim MeeussenOfficial informational specificationCreated 27 October 2010
- REP 145: Conventions for IMU Sensor DriversPaul BovbelOfficial informational draftCreated2 February2015; status Draft
- Gazebo Jetty: SensorsGazebo contributorsOfficial simulation tutorialJetty versioned documentation
- Robotic Manipulation, Chapter 2: Let's get you a robotRuss TedrakeUniversity course working notes2020–2026 working notes