TactivergeLite

Lite / Intelligent Robotic Systems / Week 36

How will it fail?

Glare makes one colour sensor lie on 30 % of parts. Your sorter's accuracy drops from 99 % to 70 %. Did you plan for that, or discover it?

About 40 min · 2 goals · Checked by automated tests · Full interactive version

Why should I care?

Every integrated robot fails somehow. Engineers list the ways in advance, test the important ones on purpose, and design so that failures are detected and safe. The capstone asks for exactly this analysis.

Safety: All failure testing in this course happens in simulation or the browser Builds. Never induce faults in real powered machinery.

Predict

Majority voting across three colour sensors is added. One sensor lies. What happens?

  1. The lie wins
  2. The two honest sensors outvote it
  3. The sorter stops
Guess first, then reveal

Two honest sensors outvote one liar. Redundancy with voting tolerates any single sensor failure, but not two at once.

Discover

Make the sorter survive a lying sensor with a voting circuit. Before building it, write down which single failure it should survive and which double failure it will not.

What the interactive shows (text version)

In the sorting-machine build's Level 4, a voting circuit of AND and OR gates combines three colour sensors so that one sensor reading wrongly on 30 % of parts is outvoted by the other two.

You can also open the interactive on the full site when you have a faster connection.

Understand

A failure-mode table

For each subsystem and interface, list: failure mode (sensor lies, message late, motor saturates), effect on the system, how it is detected, and mitigation. Rank by severity and likelihood; test the top few deliberately.

Detect, then make safe

A failure you cannot detect is the dangerous kind. Add checks: plausibility (is this reading possible?), freshness (timestamps), agreement between redundant sensors. On detection, move to a defined safe state, as in the FAULT state from week 29.

Measure mitigations

Treat a mitigation as a method to evaluate: compare with and without it, under the failure, over repeated trials, and also without the failure to check it doesn't cost too much in normal operation.

Explain it another way

Intuitive

Packing for a hike: you think about what could go wrong (rain, a blister, getting lost) and bring something for the likely, serious ones.

Technical

Failure modes and effects analysis (FMEA) systematically links component failures to system effects, detection and mitigation; redundancy with voting masks single faults.

Applied

Aircraft and many industrial robots use redundant sensors and voting so that one failed sensor cannot cause an unsafe action.

Worked example 1

Fill one row of a failure table for a rover's camera fix.

Mode: dust hides the landmark. Effect: no position correction, drift grows. Detection: landmark not found or match score low. Mitigation: re-image or wait; if drift estimate exceeds 2 m, stop. Test: dusty sols with and without the rule, 10 seeds each.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. Which failure is most dangerous?
Practice 2. Three-sensor majority voting tolerates…
Practice 3. Why also test a mitigation when nothing has failed?

%

state number

Apply it

Write a five-row failure table for your capstone system. Choose the most severe row, test a mitigation with and without the failure over repeated trials, and report the result.

Reflect

Which failure in your system would be hardest to detect, and how could you make it loud?

Write your answer on paper or in your own notes. Lite never stores what you write.

← Scope an integrated system you can evaluatePresent it, then defend it →