Simulation and system reliability evaluation
UAT 461 Autonomous Navigation and Multi-UAV Systems
Lesson
By the end of this module you will be able to
- Design a simulation experiment for a multi-UAV team by fixing the scenario, the pass criteria in advance, and the number of random seeds
- Explain the ladder of simulation fidelity, from numerical models through multi-vehicle SITL to real tests
- Inject failures and link impairments, and read the results as pass rates and mission times
- Calculate mission reliability with series, parallel and k-out-of-n structures plus beta-factor common-cause failure, and check it by Monte Carlo
- Calculate the number of missions that must be tested to show a target reliability, and explain why simulation and component-level tests are needed
Why this matters
The first four modules proposed designs, but nobody should release a team of 12 drones over a container yard without evidence that the design works. Real flight tests are expensive, risky, and can be repeated only a few times. This module therefore teaches two tools that give evidence before flight: simulation, which tries hundreds or thousands of scenarios, including ones you would never want to happen for real, and reliability evaluation, which turns the failure probabilities of the individual parts into the probability that the team’s mission succeeds. The module also answers one of the most direct questions in the course: how do we know this team is good enough, and how much testing is needed before we can say so?
The case is still the 12-drone yard team. The full mission is to inspect 24 blocks in two rounds within a time budget of 450 s, each block taking 90 s to inspect. All numbers are invented.
The ladder of simulation
Simulation comes at several levels of fidelity. The higher the level, the closer to reality but the slower and more costly.
- Numerical models (such as the Python code of this module). Each aircraft is a point that follows velocity commands. A thousand runs take a few seconds. This suits exploring parameters and finding trends.
- Multi-vehicle SITL (software-in-the-loop). It runs the real autopilot software against simulated physics (ArduPilot Dev Team, n.d.-a). ArduPilot can start several vehicles with one command (ArduPilot Dev Team, n.d.-b), and PX4 uses a different instance number per vehicle together with Gazebo (PX4 Autopilot, n.d.).
- HIL (hardware-in-the-loop). Real autopilot hardware against simulated physics.
- Real tests, built up gradually: one aircraft, two, four, then more, with pilots and authorisations as the CAAT conditions require.
ArduPilot SITL starts several vehicles with the option --count for the number of vehicles and --auto-sysid to give each a unique MAVLink system ID, and it spaces the start positions evenly with --auto-offset-line. The example command in the ArduPilot documentation is
sim_vehicle.py -v Copter --map --console --count 5 --auto-sysid --location CMAC --auto-offset-line 90,10 --mcast
The documentation states that this method launches vehicles of the same type only. Our team would adjust it to --count 12 and a 50 m spacing to match the gate docks, and set the yard’s start location in place of CMAC. What SITL gives that the numerical model does not is the real autopilot code, at the cost of much slower runs. The team therefore uses the numerical model to sweep parameters, then takes the important scenarios (the critical points found) and reruns them in SITL.
A scenario must state five things: the initial state, the disturbances (wind, delayed or lost links), the injected failures, the pass criteria fixed before running, and the number of random seeds. Fixing the criteria before seeing results prevents “setting the bar to match the result”, and running many seeds lets you report a pass rate instead of the story of a single run.
Sweeping delay and message loss
The team’s question is whether the 12-drone formation of module 8 can still hold line abreast when the neighbours’ messages are late and lost. It compares two designs: a controller that uses the neighbours’ latest positions as received (raw), and one that uses timestamps and extrapolates the neighbours’ positions forward with the planned velocity (extrapolated).
Example 1 Sweeping delay × message loss on a 12-drone lattice formation
The lattice formation of module 8 (, formation speed 5 m/s, transmitted positions with 1.5 m noise). Try delays of 0.2, 1.0 and 3.0 s with message loss of 0%, 50% and 90%, 10 random seeds each. The pass criteria fixed before the run (assumed) are: the mean error (RMS) from the slot in the last 10 s no more than 5 m, and the closest distance between drones over the whole flight at least 12 m (40% of the 30 m spacing).
import numpy as np
n, DT, K, T_END = 12, 0.1, 0.4, 60.0
V_REF = np.array([5.0, 0.0])
off = np.column_stack([np.zeros(n), 30.0 * (np.arange(n) - 5.5)]) # line abreast, 30 m apart
A = np.zeros((n, n))
for i in range(n):
for d in (1, 2):
if i + d < n:
A[i, i + d] = A[i + d, i] = 1 # each drone hears two neighbours per side
LEADER, SIGMA = 5, 1.5 # pinned drone; position noise in m (assumed)
def run(delay, loss, seed, extrapolate):
rng = np.random.default_rng(seed)
lag = int(round(delay / DT))
p = off + rng.uniform(-10, 10, (n, 2))
hist = [p - off] * (lag + 1) # slot-relative positions, newest last
heard = hist[-1][None].repeat(n, 0) # heard[i, j]: what drone i last received from j
age = np.full((n, n), lag * DT) # seconds since that value was true
dmin, tail = 1e9, []
for k in range(int(T_END / DT)):
t = k * DT
q = p - off
fresh = hist[-1 - lag] + rng.normal(0, SIGMA, (n, 2)) # delayed, noisy broadcast
got = rng.random((n, n)) >= loss # which links delivered this step
heard = np.where(got[:, :, None], fresh[None], heard)
age = np.where(got, lag * DT, age + DT)
seen = heard + V_REF * age[:, :, None] if extrapolate else heard # dead-reckon with the planned velocity
u = -K * (A[:, :, None] * (q[:, None] - seen)).sum(1)
u[LEADER] += -K * (q[LEADER] - V_REF * t)
p = p + DT * (V_REF + u)
hist.append(p - off)
D = np.linalg.norm(p[:, None] - p[None], axis=2) + np.eye(n) * 1e9
dmin = min(dmin, D.min())
if t > T_END - 10:
tail.append(np.sqrt(((p - off - V_REF * (t + DT)) ** 2).sum(1).mean()))
return np.mean(tail), dmin
SEEDS, RMS_MAX, DMIN_MIN = 10, 5.0, 12.0 # pass criteria fixed before the runs (assumed)
print("delay (s) loss raw: error (m) pass extrapolated: error (m) pass")
for delay in (0.2, 1.0, 3.0):
for loss in (0.0, 0.5, 0.9):
row = f"{delay:8.1f} {loss:6.1f}"
for extrapolate in (False, True):
res = [run(delay, loss, s, extrapolate) for s in range(SEEDS)]
ok = sum(1 for r, d in res if r <= RMS_MAX and d >= DMIN_MIN)
row += f" {np.mean([r for r, _ in res]):14.2f} {ok:4d}/{SEEDS} " + (" " if not extrapolate else "")
print(row)
delay (s) loss raw: error (m) pass extrapolated: error (m) pass
0.2 0.0 35.75 0/10 1.11 10/10
0.2 0.5 50.54 0/10 1.54 10/10
0.2 0.9 125.62 0/10 2.11 10/10
1.0 0.0 119.80 0/10 1.63 10/10
1.0 0.5 126.29 0/10 1.96 10/10
1.0 0.9 163.68 0/10 2.81 9/10
3.0 0.0 192.55 0/10 5.24 5/10
3.0 0.5 194.36 0/10 5.52 4/10
3.0 0.9 206.59 0/10 6.96 1/10
The raw controller fails in every condition (0/10). Even with a delay of only 0.2 s the error is as much as 35.75 m, and at a delay of 1.0 s it is 119.80 m. The reason is that each neighbour’s transmitted position is out of date, so the receiving drone always thinks its neighbours are behind it. All the drones are pulled backward together and the formation is stretched. The effect adds up with the number of neighbours and the gain. (The size of the effect is large because the model assumes velocity commands are followed instantly, but the direction is real.) The extrapolated controller passes 10/10 at all loss rates for delays below 1.0 s (errors 1.11 to 2.11 m), and passes 9/10 at a delay of 1.0 s with 90% loss (2.81 m). But at a delay of 3.0 s it passes only 5, 4 and 1 of 10, because the extrapolation uses the planned velocity and not the real velocity the controller is commanding as it corrects, so the extrapolation error grows with data age. The conclusion is that timestamping and extrapolation make the formation tolerate late and lost messages very well, but there is a ceiling (about 1 s in this case), which is another reason for fast data to go over the short-range radio.
Injecting failures: if drones are lost, does the mission finish in time?
A drone failure cuts the team’s capacity. The full mission has 24 blocks. If drones survive, rounds are needed. When the number of rounds rises by one, the total time jumps by a step instead of increasing gradually with the number of drones lost.
Example 2 Randomly losing drones at take-off, then reallocating in rounds
The mission has 24 blocks and 12 drones, each block taking 90 s to inspect at 10 m/s. In every round the surviving drones are allocated to the remaining blocks with the minimum-sum method of module 7 (the rectangular solver), and the slowest drone sets the length of the round. Inject 0 to 5 drones lost at take-off (200 random draws per case). The time budget is 450 s.
from scipy.optimize import linear_sum_assignment
rng = np.random.default_rng(486)
docks = np.column_stack([np.zeros(12), np.linspace(25, 575, 12)])
zones = np.column_stack([rng.uniform(150, 1150, 24), rng.uniform(30, 570, 24)]) # the 24 reefer blocks of the yard list
V, T_INSPECT, BUDGET = 10.0, 90.0, 450.0 # m/s, s, s (assumed)
def mission(failed):
pos, alive = docks.copy(), [i for i in range(12) if i not in failed]
todo, t, waves = list(range(24)), 0.0, 0
while todo and alive:
c = np.linalg.norm(pos[alive][:, None] - zones[todo][None], axis=2)
r, k = linear_sum_assignment(c) # alive drones x remaining zones, rectangular
t += (c[r, k] / V + T_INSPECT).max() # the wave ends when the slowest drone finishes
waves += 1
for a, z in zip(r, k):
pos[alive[a]] = zones[todo[z]]
done = {todo[z] for z in k}
todo = [z for z in todo if z not in done]
return (t, waves) if not todo else (np.inf, waves)
print("drones lost at take-off waves mean time (s) worst (s) finished within 450 s")
for lost in range(0, 6):
runs = [mission(set(rng.choice(12, lost, replace=False))) for _ in range(200)]
times = [t for t, _ in runs]
print(f"{lost:12d} {runs[0][1]:15d} {np.mean(times):14.0f} {max(times):10.0f} {100*np.mean([t <= BUDGET for t in times]):12.0f} %")
drones lost at take-off waves mean time (s) worst (s) finished within 450 s
0 2 327 327 100 %
1 3 432 433 100 %
2 3 430 432 100 %
3 3 433 433 100 %
4 3 433 436 100 %
5 4 537 540 0 %
With no drone lost the mission takes 2 rounds and 327 s. With 1 to 4 lost the number of rounds is 3 (because , which still suffices while at least 8 drones survive), and the mean time jumps to 430 to 433 s, and every draw is within the 450 s budget (100%). But with 5 lost only 7 drones remain, 4 rounds are needed, the time is 537 s, and no draw meets the budget (0%). The graph of time against drones lost is therefore a staircase with a cliff. The team concludes that the mission breaks when fewer than 8 drones remain, which is not information that comes from looking at the reliability of one drone.
Mission reliability
Reliability is the probability that a system performs its function throughout a stated period. Avizienis et al. (2004) list reliability as one of the attributes of dependability, alongside availability and safety. If one drone’s failure rate is per flight hour and the mission lasts hours, the probability that this drone fails during the mission is . The team’s mission succeeds when several parts work together, which can be calculated with three basic structures.
- Series. Every part must work, . For example the control station, the network and the group of drones.
- Parallel. It suffices that any one part works, . For example two radio links.
- k out of n. At least k of n identical, independent parts must work, . For example at least 9 of 12 drones.
Fault tree analysis (International Electrotechnical Commission, 2006) and FMEA (International Electrotechnical Commission, 2018) are tools for finding which failures belong in the model. The thing to be most careful about is the assumption that every part fails independently, which is often false in a drone team: all the drones run the same firmware, fly in the same storm, or are hit by the same radio interference. The NASA probabilistic risk assessment guide (Stamatelatos & Dezfuli, 2011) gives the beta-factor model, the oldest and simplest approach, which splits the total failure probability of a component into an independent part and a common-cause part that makes the identical components fail together. For the global common-cause factor, which plays a role similar to beta, the same guide gives generic screening values in the range 0.05 to 0.10 (the exact value depends on the k-out-of-n configuration and the testing scheme).
Example 3 Mission reliability of the 12-drone team with series, parallel, k-out-of-n and beta
The drone failure rate is 0.04 per flight hour and the mission lasts 0.5 hour (assumed). The job needs at least 9 of 12 drones. The control station has reliability 0.995 and each of the two radio links 0.97. The mission succeeds when the station, the network (two links in parallel) and the group of drones (k out of n) all work. Compare five cases, and check the beta = 0.10 case by Monte Carlo with 200,000 missions.
from math import comb, exp
def k_of_n(n, k, r):
# probability that at least k of n identical, independent units work
return sum(comb(n, j) * r ** j * (1 - r) ** (n - j) for j in range(k, n + 1))
LAMBDA, HOURS = 0.04, 0.5 # failures per flight hour, sortie length in hours (assumed)
p_sortie = 1 - exp(-LAMBDA * HOURS) # one drone fails during one sortie
N, K_NEED = 12, 9 # fleet; drones the job needs (assumed)
R_GCS, R_RADIO = 0.995, 0.97 # station; each of two radio links (assumed)
print(f"failure probability per drone per sortie: {p_sortie:.4f}")
def system(beta=0.0, n=N, gcs=R_GCS):
q_ccf = beta * p_sortie # beta-factor: this share of failures hits every drone at once
q_ind = (1 - beta) * p_sortie
drones = (1 - q_ccf) * k_of_n(n, K_NEED, 1 - q_ind)
network = 1 - (1 - R_RADIO) ** 2 # two independent links in parallel
return gcs * network * drones, drones, network
for label, kw in (("independent drones", dict()),
("common cause beta = 0.10", dict(beta=0.10)),
("beta = 0.10, 14 drones", dict(beta=0.10, n=14)),
("beta = 0.10, two stations", dict(beta=0.10, gcs=1 - (1 - R_GCS) ** 2)),
("beta = 0.02 (mixed firmware)", dict(beta=0.02))):
r, d, net = system(**kw)
print(f"{label:30s} drones {d:.5f} network {net:.5f} mission {r:.5f} failures per 1000: {1000*(1-r):.1f}")
rng = np.random.default_rng(5) # Monte Carlo check of the beta = 0.10 case
M = 200_000
ccf = rng.random(M) < 0.10 * p_sortie
lost = rng.binomial(N, 0.9 * p_sortie, M)
gcs_ok = rng.random(M) < R_GCS
net_ok = (rng.random(M) < R_RADIO) | (rng.random(M) < R_RADIO)
ok = ~ccf & (N - lost >= K_NEED) & gcs_ok & net_ok
print(f"Monte Carlo {M} missions: {ok.mean():.5f} (formula {system(beta=0.10)[0]:.5f})")
failure probability per drone per sortie: 0.0198
independent drones drones 0.99993 network 0.99910 mission 0.99404 failures per 1000: 6.0
common cause beta = 0.10 drones 0.99798 network 0.99910 mission 0.99209 failures per 1000: 7.9
beta = 0.10, 14 drones drones 0.99802 network 0.99910 mission 0.99214 failures per 1000: 7.9
beta = 0.10, two stations drones 0.99798 network 0.99910 mission 0.99705 failures per 1000: 2.9
beta = 0.02 (mixed firmware) drones 0.99954 network 0.99910 mission 0.99365 failures per 1000: 6.4
Monte Carlo 200000 missions: 0.99220 (formula 0.99209)
One drone fails during a mission with probability 0.0198. If the drones are independent, the group of drones has reliability 0.99993 and the whole mission 0.99404, or 6.0 failures per 1,000 missions. Two radio links in parallel give a network of 0.99910. With a common-cause failure of the reliability of the drone group falls to 0.99798, because a common cause takes all the drones down together and the 9-of-12 redundancy cannot help. The mission falls to 0.99209, or 7.9 per 1,000. Adding spare drones to make 14 hardly helps (0.99214) because the problem is not the number of drones. A second control station, however, cuts failures to 2.9 per 1,000, because the station, which is in series, is the worse limit once the drones’ common cause has been counted. If the beta factor is reduced to 0.02 (for example by using partly different firmware) the mission is at 6.4 per 1,000. Monte Carlo gives 0.99220 against the formula’s 0.99209, a difference of 0.00011 that is within the random scatter (the standard deviation is about 0.0002 at 200,000 runs). The lesson is that redundancy does not always buy reliability: look at which part is the limit and where the common cause lies.
Showing reliability by testing
To show that the team’s mission has reliability at confidence with a test that has no failures at all (a success-run test), the number of missions that must all succeed is (Luko, 1997). If there are some failures, the upper bound on the failure rate is computed from the beta distribution (the Clopper-Pearson bound, The SciPy community, n.d.). The numbers are much larger than people expect.
Example 4 How many missions must be tested to claim a reliability of 0.99
We want to show a mission reliability of 0.99 at 95% confidence. Calculate the number of missions that must all succeed, and the one-sided 95% upper bound on the failure rate for four test plans.
from scipy.stats import beta
R, C = 0.99, 0.95 # target mission reliability, confidence
n_need = int(np.ceil(np.log(1 - C) / np.log(R)))
print(f"flawless sorties needed to show reliability {R} at {C:.0%} confidence: {n_need}")
print("trials failures one-sided 95 % upper limit on failure rate")
for trials, fails in ((25, 0), (50, 0), (50, 1), (300, 0)):
upper = beta.ppf(0.95, fails + 1, trials - fails) # Clopper-Pearson upper bound
print(f"{trials:6d} {fails:9d} {100*upper:30.1f} %")
print("25 team missions with 12 drones each are 25 mission trials, not 300")
flawless sorties needed to show reliability 0.99 at 95% confidence: 299
trials failures one-sided 95 % upper limit on failure rate
25 0 11.3 %
50 0 5.8 %
50 1 9.1 %
300 0 1.0 %
25 team missions with 12 drones each are 25 mission trials, not 300
299 missions must all succeed before a reliability of 0.99 can be claimed at 95% confidence. Flying 25 missions successfully without a failure proves only that the failure rate is below 11.3%, not 1%. With 50 successful missions the upper bound is 5.8%, and if there is 1 failure the bound is 9.1%. Twenty-five tests of the 12-drone team are 25 mission trials, not 300, even though 300 sorties of single drones are flown, because what is being measured is the success of the team mission. The result is that showing high reliability by real flights alone is impractical, in line with the conclusion of Kalra and Paddock (2016) for driverless cars, who found that enormous test distances would be needed. Several layers of evidence must therefore be combined: component-level tests, simulation validated against the real thing, gradual field testing, and careful operations to contain the residual risk.
Building up to real flights: a staged test plan
Simulation tells the team where to look, but a multi-UAV system is finally tested with real aircraft, and the number of aircraft cannot jump from one to twelve in a single step. The JARUS SORA lists the ways evidence can be gathered: testing, analysis, simulation, inspection, design review and operational experience; and it adds that when simulation is used, the validity of the simulated environment must be justified (Joint Authorities for Rulemaking on Unmanned Systems [JARUS], 2024a). For several aircraft flying relative to each other it advises looking at common-mode failures (JARUS, 2024b). ArduPilot SITL can start several vehicles of one type with --count and --auto-sysid, so the first stages cost no flight hours at all (ArduPilot Dev Team, n.d.-b).
A staged plan (the course’s own device, built on the hazard log of module 9) moves from the stage where a mistake is cheap to the one where it is costly. Each stage has its pass criteria and an abort rule fixed beforehand, and after an abort the team goes back one stage. Two numbers describe what a stage can teach. The aircraft-hours set the exposure to single failures. The pair-hours, the number of aircraft pairs times the hours flown together, set the exposure to encounters, and they grow with the square of the team size: pairs.
Example 5 Four real-flight stages for the 12-drone team
The plan has four stages of 10 missions of 10 minutes each, with 1, 2, 4 and 12 aircraft. The failure rate is 0.05 per aircraft flight hour, the required separation is 8 m (module 9) and a stage is stopped if two aircraft come within 60% of it (all assumed). Compare the stages, then check the simulation against the flights of stage C before using it as evidence for stage D.
import math
LAMBDA = 0.05 # failures per aircraft flight hour (assumed)
SEP_REQUIRED = 8.0 # m, required separation used in module 9
ABORT_FRACTION = 0.6 # stop a stage if two aircraft come closer than this share of the required separation (course rule, assumed)
stages = [ # name, aircraft, minutes per mission, missions (all assumed)
("A one aircraft", 1, 10, 10),
("B two aircraft", 2, 10, 10),
("C four aircraft", 4, 10, 10),
("D twelve aircraft", 12, 10, 10),
]
print("stage aircraft-h pairs pair-h P(at least one failure)")
for name, n, minutes, missions in stages:
hours = minutes / 60 * missions
pairs = n * (n - 1) // 2
p_fail = 1 - math.exp(-LAMBDA * n * hours)
print(f"{name:<19} {n * hours:9.2f} {pairs:6d} {pairs * hours:7.2f} {p_fail:14.2f}")
print(f"abort a stage if two aircraft come closer than {ABORT_FRACTION * SEP_REQUIRED:.1f} m")
# before simulation is used as evidence for stage D, compare it with the flights of stage C (values assumed)
sim_closest, flown_closest, tol = 9.4, 8.9, 1.0
diff = abs(sim_closest - flown_closest)
print(f"closest approach: simulation {sim_closest} m, flown {flown_closest} m, difference {diff:.1f} m "
f"-> {'simulation accepted for stage D' if diff <= tol else 'fix the model first'}")
stage aircraft-h pairs pair-h P(at least one failure)
A one aircraft 1.67 0 0.00 0.08
B two aircraft 3.33 1 1.67 0.15
C four aircraft 6.67 6 10.00 0.28
D twelve aircraft 20.00 66 110.00 0.63
abort a stage if two aircraft come closer than 4.8 m
closest approach: simulation 9.4 m, flown 8.9 m, difference 0.5 m -> simulation accepted for stage D
Stages A and B give almost no encounter exposure, 0 and 1.67 pair-hours, against 110 pair-hours at stage D. Flying one or two aircraft therefore says very little about hazard H1 of module 9; that evidence comes from 12-vehicle SITL, where pair-hours are free, and is then confirmed on the real aircraft in stage C (10 pair-hours) before the full team flies. At stage D the chance of at least one failure in the ten missions is 0.63, so the team must expect a failure and have the abort rule and the return rules ready, not hope there will be none. The check at the end follows the SORA caution: the simulation is accepted only because it agreed with the flights within the tolerance fixed beforehand, here 0.5 m against 1.0 m. Every stage still needs its own authorisation under the conditions in force, as the introduction to module 6 notes.
Module lab
Lab: designing a test plan and evaluating the reliability of a fictional team
Desk work with simulation code, plus a multi-vehicle SITL script if the department’s machines have it installed; no real drone is flown.
- Define one scenario for your own fictional team (initial state, disturbances, injected failures) and write the pass criteria as numbers before running. Sign and date the worksheet.
- Sweep delay and message loss as in Example 1 with 10 random seeds, comparing two controllers. Report the pass rates and the point at which extrapolation stops being enough.
- Inject failures as in Example 2 into your own mission, and find the minimum number of drones that still finishes within the time budget.
- Calculate the mission reliability as in Example 3 with failure rates you can source from manufacturer data or the department’s flight logs. Compare beta of 0, 0.02 and 0.10, and check with Monte Carlo.
- If SITL is available, start 3 vehicles with
--countand--auto-sysid, check that each has a different system ID, and run one simple scenario to compare against the numerical model. - Hand in: the scenario and pass criteria, the sweep results table, the failure table, the reliability table, and a one-page test-plan proposal with the number of missions to fly and the reasons.
Common mistakes
Watch out
- Setting the pass criteria after seeing the results. This makes everything pass. Fix and record them before running.
- Reporting the result of a single seed. Report a pass rate over many seeds.
- Using a model simpler than reality without stating its limits. The results of this module give trends, not the true values of any particular aircraft.
- Testing only a single drone’s failure. Also inject link failures, station failures and common-cause failures.
- Assuming failures are independent. Redundancy does not help against a common-cause failure.
- Counting sorties as trials. The unit of trial is the team mission.
- Claiming high reliability from a few flights. 25 successful missions prove only a failure rate below 11.3%.
Summary
- Simulation has a ladder of fidelity, from numerical models through multi-vehicle SITL and HIL to real tests. A scenario needs pass criteria fixed before the run and several random seeds.
- Timestamping and extrapolation let a formation tolerate delay and message loss, but there is a ceiling.
- Failure injection reveals cliffs, such as the mission exceeding its time budget when fewer than 8 drones remain.
- Mission reliability is computed with series, parallel and k-out-of-n structures, but common-cause failure (the beta factor) makes redundancy help less than expected.
- Showing high reliability with real flights needs many missions (299 missions for 0.99 at 95%), so several layers of evidence must be combined.
Self-check questions
- A drone has a failure rate of 0.06 per flight hour and the mission lasts 40 minutes. What is the probability that it fails during the mission?
- A 4-out-of-5 system whose parts each have reliability 0.9 and are independent: what is its reliability?
- The failure probability per mission of one drone is 0.02 and the beta factor is 0.10. What are the common-cause part and the independent part?
- How many missions must succeed to claim a reliability of 0.95 at 90% confidence with a test that has no failures?
- In Example 1, why does the raw controller have an error of 119.8 m at a delay of 1.0 s even with no message loss, while the extrapolated one has only 1.63 m?
Answers
- , giving .
- .
- The common-cause part is and the independent part is .
- , so 45 missions must succeed.
- The neighbours’ data are m old, so every drone thinks its neighbours are behind and is pulled back, and the formation is stretched systematically. The extrapolated controller adds data age, which compensates almost completely.
Key formulas
| Failure probability per mission | |
| Series and parallel | |
| k out of n | |
| Beta factor | |
| Flawless missions needed to show reliability R at confidence C |
Key references
- ArduPilot Dev Team. SITL simulator (software in the loop). link
- ArduPilot Dev Team. Using SITL for ArduPilot testing (running multiple vehicles). ArduPilot developer documentation. link
- PX4 Autopilot. Multi-vehicle simulation with Gazebo. PX4 user guide (main). link
- Stamatelatos, M., & Dezfuli, H. (2011). Probabilistic risk assessment procedures guide for NASA managers and practitioners (NASA/SP-2011-3421, 2nd ed.). National Aeronautics and Space Administration. link
- Avizienis, A., Laprie, J.-C., Randell, B., & Landwehr, C. (2004). Basic concepts and taxonomy of dependable and secure computing. IEEE Transactions on Dependable and Secure Computing, 1(1), 11–33. link
- International Electrotechnical Commission. (2006). Fault tree analysis (FTA) (IEC 61025:2006, Ed. 2.0). link
- International Electrotechnical Commission. (2018). Failure modes and effects analysis (FMEA and FMECA) (IEC 60812:2018). link
- Luko, S. N. (1997). Attribute reliability and the success run: A review (SAE Technical Paper 972753). SAE International. link
- Kalra, N., & Paddock, S. M. (2016). Driving to safety: How many miles of driving would it take to demonstrate autonomous vehicle reliability? (Research Report RR-1478). RAND Corporation. link
- The SciPy community. Statistical functions (scipy.stats), SciPy 1.18 documentation. link
- Joint Authorities for Rulemaking on Unmanned Systems. (2024). JARUS guidelines on SORA, Annex B: Integrity and assurance levels for the mitigations used to reduce the intrinsic ground risk class, edition 2.5 (JAR-DEL-SRM-SORA-B-2.5). link
- Joint Authorities for Rulemaking on Unmanned Systems. (2024). JARUS guidelines on Specific Operations Risk Assessment (SORA), main body, edition 2.5 (JAR-DEL-SRM-SORA-MB-2.5). link
Further reading
Study the assigned knowledge units in advance, review media and take the module quiz
Developing simulations and connecting SITL
UAV testing and evidence analysis
Exercises and evaluation of simulated missions
In class / field
Lab or field practice from worksheets with a safety checklist
Learning evidence: Checked worksheets and quiz results