GLOBAL KNOWLEDGE ARK

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 chapter

After reading, you can

Vary one declared simulation assumption at a time to see which task conclusions survive and which depend on the model.

01

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.

A task verdict depends on a model assumptionEndpoint model: (0, 72); (0.05, 73); (0.1, 74); (0.15, 75); (0.2, 76); (0.25, 77). Horizontal axis Stop delay / s; vertical axis Final position / mm. Straight segments join supplied samples; values between samples are not additional observations.0700.063720.125740.188760.2578Stop delay / sFinal position / mmEndpoint model
Endpoint model: (0, 72); (0.05, 73); (0.1, 74); (0.15, 75); (0.2, 76); (0.25, 77). Horizontal axis Stop delay / s; vertical axis Final position / mm. Straight segments join supplied samples; values between samples are not additional observations.
02

Keep different parameter questions separate

Original model variants; change one row’s named assumption at a time before combining effects.

Keep different parameter questions separate
VariantDeclared changeQuestion
TimingDelay 0.10→0.20 sDoes the endpoint rule survive?
Deceleration100→80 mm/s² at fixed delayHow does longer slowing affect endpoint?
Sensor biasReported threshold reached 0.5 mm after true 70 mmHow does the physical trigger location change?
Friction/loadUse another explicitly supplied motion modelDoes the same command produce the same actual speed/ramp?
03

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.

04

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.

05

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.

Compare a supplied friction assumption
VariantNet force / NAcceleration / (m/s²)x at 1 s / mTask
F02.02.01.00Pass exact model
F11.51.50.75Fail exact model
06

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)=400/160=2.5 mm. With delay 0.10 s and trigger 70 mm, final x=70+2+2.5=74.5 mm.

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

  1. 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.

  2. 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.

  3. Why test relevant combined cases?

    Show the answer and reasoning

    Several individually modest effects can consume the same task margin or interact.

  4. 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.

  1. Gazebo Jetty: SensorsGazebo contributorsOfficial simulation tutorialJetty versioned documentationgazebosim.orgRead source
  2. Robotic Manipulation, Chapter 2: Let's get you a robotRuss TedrakeUniversity course working notes2020–2026 working notesmanipulation.mit.eduRead source
  3. Assembly Performance Metrics and Test MethodsNIST Intelligent Systems DivisionResearch program overviewnist.govRead source