Robotics & Mechatronics · Simulation, models and reproducible tests
Test sensitivity to timing, friction and sensor assumptions
A simulation result can be correct for one set of assumptions and fragile under another. Vary a declared parameter while keeping the task fixed, then ask which conclusion survives.
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
Vary one declared simulation assumption at a time to see which task conclusions survive and which depend on the model.
Start with a parameter whose effect you can explain
Use the first achievement’s exact model: threshold 70 mm, speed 20 mm/s and constant deceleration 100 mm/s². Its endpoint is 72+20d mm, with delay d in seconds. The task criterion is final position≤75 mm. The plotted sweep evaluates this equation; no external simulator execution is claimed.
At delays 0.05, 0.10, 0.15 and 0.20 s, endpoints are 73, 74, 75 and 76 mm. The verdict changes after 0.15 s in this exact model. A nominal success at 0.10 s is conditional on assumptions that leave only 1 mm to the criterion.
Keep different parameter questions separate
Original model variants; change one row’s named assumption at a time before combining effects.
| Variant | Declared change | Question |
|---|---|---|
| Timing | Delay 0.10→0.20 s | Does the endpoint rule survive? |
| Deceleration | 100→80 mm/s² at fixed delay | How does longer slowing affect endpoint? |
| Sensor bias | Reported threshold reached 0.5 mm after true 70 mm | How does the physical trigger location change? |
| Friction/load | Use another explicitly supplied motion model | Does the same command produce the same actual speed/ramp? |
A parameter sweep is not a probability distribution
Testing a range does not mean each value is equally likely or physically possible. Label the basis for each range: a hypothetical stress test, documented tolerance or measured variation. Do not turn a set of chosen settings into a confidence interval.
If parameters interact, one-at-a-time sweeps can miss combinations. After understanding each effect, test relevant combined cases and report the actual combinations. Keep numerical integration and model uncertainty separate: smaller time steps do not repair a wrong friction law.
Use sensitivity to decide the next observation
If task verdict is most sensitive to delay near the operating point, a good next study measures sensor-to-applied-output timing under actual workload. If it is sensitive to load-dependent deceleration, retain matched velocity traces across loads. A simulation can tell you which evidence matters without supplying that physical evidence itself.
General friction and drive design remain with Mechanical; general modelling/estimation theory remains at its canonical homes. Here the result is a task-specific parameter/evidence plan.
Compare a supplied friction assumption
Separate ideal sliding model: mass 1 kg, force input +2 N from rest, no other forces along x. Variant F0 omits friction; F1 stipulates constant 0.5 N opposition during positive motion, with no stiction model. Evaluate at 1 s. Task criterion is at least 0.90 m travel. These are model inputs, not physical measurements or a general friction design.
| Variant | Net force / N | Acceleration / (m/s²) | x at 1 s / m | Task |
|---|---|---|---|---|
| F0 | 2.0 | 2.0 | 1.00 | Pass exact model |
| F1 | 1.5 | 1.5 | 0.75 | Fail exact model |
Use the changed conclusion to plan evidence
The 0.25 m difference comes from changing the stipulated force model; it is not numerical integration scatter. Real friction can depend on speed, load and history, so this fixed opposition is only a supplied sensitivity case. Mechanical owns the deeper friction model. Test relevant actual motion/force records before transferring either result to hardware.
Combine two explicitly changed assumptions
At speed 20 mm/s and deceleration 80 mm/s², ramp distance is v²/(2a)=
Add a separately declared true trigger location 70.5 mm, and final becomes 75.0 mm. The exact model reaches the criterion with no remaining margin. This combination is a constructed scenario, not an observed worst-case physical bound.
Try the reasoning
Does a sweep over ten settings give a 90% success probability if nine pass?
Show the answer and reasoning
No. The settings were not sampled from a justified probability model.
What is endpoint sensitivity to delay in this model?
Show the answer and reasoning
20 mm per second of delay; 0.01 s adds 0.2 mm.
Why test relevant combined cases?
Show the answer and reasoning
Several individually modest effects can consume the same task margin or interact.
Can a smaller integrator step eliminate an incorrect friction assumption?
Show the answer and reasoning
No. It addresses numerical approximation, not physical-model validity.
What to carry forward
State what varied and why. Use sensitivity to restrict a conclusion and choose the physical evidence needed next.
References
Sources supporting this lesson’s explanations and examples.
- 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
- Assembly Performance Metrics and Test MethodsNIST Intelligent Systems DivisionResearch program overview