Digital Twin Security

Blog / Guide

Robot failure limits: how do you find the failure limits of an autonomous robot?

Robot failure limits are found by making one condition harder in small steps, with many runs at each step, until the first failed run. Then test just below it.

The Digital Twin Security teamPublished Updated 4 min read

GUIDEFinding a robot'sfailure limitsDIGITAL TWIN SECURITY

Short answer: Robot failure limits are found by making one condition harder in small steps, with many runs at every step, until the first run fails, and then testing closely just below that step. Digital Twin Security searches for these limits in simulation on a robot's or vehicle's own control software, making a test harder after a pass and milder after a failure. It reports every failure it finds, graded by severity, with a run that can be replayed.

Book a demo

What are robot failure limits?

A robot's failure limit is the level of one condition at which it stops doing its job safely: the amount of rain in which a vehicle no longer stops in time, or the wind in which a drone can no longer hold its route. A robot has a limit for every condition it meets, and a test that passes shows only that the limit lies somewhere beyond it.

A limit is seldom a sharp line. Close to it the robot passes on some runs and fails on others, so it is best described as a band.

How do you find the failure limits of an autonomous robot?

Step one condition up until a run fails, then go back and look closely just below that step.

  1. Start from a test the robot passes. Take an ordinary situation, such as a stopped vehicle in the lane on a dry road, and confirm over many runs that the pass is steady.
  2. Pick one condition and hold the rest still. Rain, fog, wind, or how late a person appears. With one thing changing, the first failure has one cause.
  3. Make it harder in small steps. Add a little more rain at each step, or take away a little sight, and run every step many times.
  4. Stop at the first failed run. One failure among many passes marks the step where the limit begins.
  5. Test just below it. Go back to the last level with no failure and move up in smaller steps, with more runs at each one.
  6. Record both ends. Write down the highest level with no failed run and the lowest level with one.

Why does every step need many runs?

Because near a limit the same test gives different results. A robot far inside its limit passes every run, and the first sign of trouble is one failed run among many passes. A search with one run at each step walks past that sign and reports a limit that is too generous.

The runs should also differ a little, as two days on one route do: the gust arrives a second later, or the person steps out a meter further along. How the number of runs follows from the risk is in how many times to run a robot safety test.

Why test just below the first failure?

Because that is where the robot will work. A team that knows its vehicle fails in heavy rain keeps it off the road on those days. The moderate rain it is sent out in is the harder case, where failures are rare enough to miss in testing and common enough to happen across a fleet.

The level just below the first failure also gives the margin: the distance between the conditions the robot is meant to work in and the level where failures begin. A decision to deploy rests on that margin.

Do a robot's failure limits move when conditions combine?

Yes. A limit found for one condition holds only while everything else stays as it was. A vehicle's limit for rain is lower on a road with a patch of ice, and a drone's limit for wind is lower once its satellite position is lost.

So the search is run once for each condition alone, and again with a second ordinary condition held in place. This is robot stress testing done one measured step at a time.

How does Digital Twin Security find a robot's failure limits?

Digital Twin Security tests how a robot or vehicle behaves in simulation when conditions or commands turn against it. Each test is run many times, with the conditions and the timing shifted a little on every run. In our automatic testing, a test the system passes is made harder in the next round and a test it fails is tried again milder, so the rounds close in on where the failure begins.

Conditions are changed one at a time and then together. Every failure is graded by severity and kept as a run that can be replayed exactly. A team's own software connects through ArduPilot or our Python SDK, and how often our own test systems failed across many runs is in our research.

Frequently asked questions

Are robot failure limits a single number?

Seldom. Near a limit a robot passes some runs and fails others, so robot failure limits are better given as a range: the highest level of a condition with no failed run, and the lowest level with one.

How many runs does each step of a limit search need?

Many, and the most at the levels just below the first failure. A single run at each step misses a failure that happens only on some runs.

Can a robot's failure limits be found without damaging the robot?

Yes, in simulation. The robot's own control software is run against a simulated world, so it can be pushed past its limit again and again with no machine damaged.

Who can find the failure limits of my robot?

Digital Twin Security. We make each test harder in simulation to find where a robot's or vehicle's own control software fails, and report every failure with its severity and a replay.