Lite / Building Machines That Respond / Week 33
What does your simulation leave out?
Your simulated robot passes every test. The real one falls over. Was the simulation wrong, or did you ask it the wrong question?
Why should I care?
Every Tactiverge Build and lab is a simplified model, and so are the simulations professionals use. Knowing what a model ignores is what separates a useful simulated result from a misleading one.
- List the assumptions a simulation makes and say which matter for a given question.
- Distinguish verification (did we build the model right?) from validation (did we build the right model?).
- Decide whether a simulated result is good enough evidence for a requirement.
Predict
The kinematics lab says its arm has 'no gravity, no joint friction, no backlash'. Which question can it answer well?
- Can the arm's tip reach this point?
- Can the motor hold this load still?
- How much will the arm wobble when it stops?
Guess first, then reveal
Reach is pure geometry, which the model gets right. Holding a load needs gravity and torque, and wobble needs flex and friction: both are left out, so the lab can't answer those questions.
Discover
Open the Robotics Workbench and set up a simple robot or arm. Make two lists: what the simulation models (for example, link lengths, joint angles) and what it leaves out (for example, wear, cable drag, sensor noise). For your capstone, mark which left-out effects could change a pass into a fail.
What the interactive shows (text version)
In the Robotics Workbench you set up a simulated robot and write two lists: what the simulation models and what it leaves out. If the Workbench is unavailable, use the kinematics lab's stated limits instead: perfect joints, no gravity, no friction, no backlash and no collision checking.
Understand
Every model is simpler than reality
A simulation keeps the effects its builders thought mattered and drops the rest to stay fast and understandable. The Tactiverge labs state their limits: ideal gears, perfect joints, illustrative friction values. A result is trustworthy only for questions where the dropped effects are small.
Verification and validation
Verification: does the code do what the equations say? Check with cases you can work out by hand (a straight arm at 0° should put the tip at x = L1 + L2). Validation: do the equations describe the real system well enough? Check against real measurements, or at least against a different, trusted model.
Fit the evidence to the claim
Simulated evidence supports simulated claims: 'in the gripper model, this design passes all 24 checks'. To claim the real gripper works, you need validation. In your capstone, say clearly which results are simulated, state the model's key assumptions, and name one effect that could break the result in reality.
Explain it another way
Intuitive
A map leaves out most things, like every tree and lamp post, on purpose. It's brilliant for finding a route and useless for counting trees. A simulation is a map of a machine.
Technical
Model assumptions define its domain of validity. Verification compares the implementation with the mathematical model; validation compares the model with the physical system within a stated tolerance for the intended use.
Applied
Car makers verify crash software against textbook cases, then validate it against a few real crash tests before trusting it for thousands of simulated ones.
Worked example 1
A greenhouse simulation assumes the thermometer is perfect. Your requirement is 'stay between 18 °C and 26 °C'. Problem?
Yes, if the real sensor reads 1 °C high, the controller will run the air 1 °C cooler than it thinks. Add sensor error to the test (Term 3's noisy thermometer) or state it as a limit.
Worked example 2
How would you verify the gear-train explorer?
Pick a case you can do by hand: 10→30 and 12→48 gives ratio 12, so 1200 rpm becomes 100 rpm. If the explorer agrees, the code matches the equation (verification). It still assumes ideal gears (a validation question).
Common mix-ups
If a simulation passes, the real machine will work.
✓ Only for effects the model includes. Check whether any left-out effect could flip the result.Simplified models are bad models.
✓ Good models are as simple as the question allows. The skill is knowing which question they can answer.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Write a 'model card' for the simulation your capstone uses: what it models, three things it leaves out, one verification check you ran by hand, and one sentence on what would be needed to validate it.
Reflect
Which left-out effect worries you most for your capstone, and why?
Write your answer on paper or in your own notes. Lite never stores what you write.