Blog / Explainer
Digital twin for robot testing: what is it, and what does it have to match?
A digital twin for robot testing is a simulated copy of a machine and its site, used to test its software first. What the twin has to match, and how it is built.
The Digital Twin Security teamPublished Updated 3 min read
Short answer: A digital twin for robot testing is a simulated copy of a machine and of the place it works in, used to test the machine's software before the real one meets the situation. Its results carry over as far as the twin matches the real machine in size, weight, speed, stopping limits and what its sensors report. Digital Twin Security tests robots and vehicles on a digital twin in simulation, runs every test many times, and reports each failure with a replay.
Book a demoWhat is a digital twin for robot testing?
A digital twin for robot testing is a simulated copy of two things: a machine, and the place it works in. The machine's software receives what its sensors would report there and answers with what it wants to do. The twin then works out what a body of that size and weight would really do next.
So a delivery robot can meet a blocked path in fog, or a drone can lose its satellite fix in a gust, before the real machine meets either. The same situation can be run hundreds of times with the timing shifted a little.
What does a digital twin have to match?
It has to match whatever decides the outcome of a test. For a test of behavior, that means four things:
- The body. Its size and weight decide whether it clears a gap and how far a gust pushes it.
- Its limits. Top speed, acceleration, braking and reaction time set the room it needs to stop.
- Its sensors. A machine acts on what it believes, so a scanner needs its real range and its real blind spots.
- The site. A failure belongs to a place, such as a narrow aisle or a street where buildings block the satellite signal.
The rest can stay simple. How far a result carries over is the subject of can simulation predict real-world robot failures.
What is a digital twin built from?
From what a team already has on paper: a spec sheet, a manual, a dimensioned drawing or a robot description file. A good twin keeps a sheet of its values, and each value says where it was read. A value that no document states is marked as assumed, so the reader of a result knows which numbers were given and which were filled in.
Digital Twin Security builds a twin this way from a customer's documents. That twin is the customer's body driven by our reference software of its kind until the customer's own software is connected. Its size, weight, speed and stopping are the customer's, and its decisions are ours. Its results therefore speak about the body, such as the room it needs to stop in rain.
How does a digital twin fit with testing the real robot?
It comes first and chooses where the real tests go. A failure on the twin is a specific situation to check on the real machine, and the replay shows the moment it went wrong. A pass gains weight as more of the twin is checked against the real machine, for example by measuring a real stopping distance and comparing it with the twin's.
A full test at Digital Twin Security has the machine's own control software making every decision: ArduPilot connects today, and a team's own software connects through our Python SDK. Each test is an ordinary situation run many times, and every failure comes back graded by severity with the run to replay. The steps are in how to red team an autonomous robot.
Frequently asked questions
What is a digital twin for robot testing?
A digital twin for robot testing is a simulated copy of a machine and of the place it works in. The machine's software is tested on the twin first, so its failures are found before the real machine meets the same situation.
Is a digital twin the same as a simulation?
A simulation is the tool, and a digital twin is a simulation set up to match one particular machine and its site.
Can a digital twin be built from a robot's documents?
Yes. Digital Twin Security builds one from a customer's documents, with each value traced to where it was read or marked as assumed. That twin is the customer's body driven by our reference software of its kind until the customer's own software is connected.
Who tests robots on a digital twin?
Digital Twin Security. We run every test many times on the twin and report each failure graded by severity, with the exact run to replay.