How to derive a maximum safe speed for an AMR

Short answer: Max speed usually starts as a guess. You can derive a defensible starting point from three measurable inputs: how far your sensors reliably detect obstacles, how long the robot takes to react, and how hard it can actually brake. The robot must react and stop inside the detection range, with margin to spare.

The model

While the robot is reacting it keeps moving at speed v for the latency L. Then it brakes at deceleration a. Both distances must fit inside the detection range R, minus a safety margin m:

v·L + v² / (2a) ≤ R − m

Solving for the largest allowed speed:

v = −a·L + √( (a·L)² + 2a(R − m) )

Worked example

Detection range 1.5 m, latency 0.25 s, braking deceleration 0.8 m/s², margin 0.5 m:

v = 1.0806 m/s

Check: 1.0806 × 0.25 = 0.270 m of reaction distance, plus 1.0806² / 1.6 = 0.730 m of braking distance, totals 1.000 m, which equals R − m.

Which input matters most

Real output from Saykai's calibrate command, changing one input at a time:

ChangeSuggested max speed
Baseline (R 1.5, L 0.25, a 0.8)1.0806 m/s
Latency doubled to 0.50 s0.9266 m/s
Detection range cut to 1.0 m0.7165 m/s
Braking decel cut to 0.5 m/s²0.8828 m/s

In this example, detection range moves the answer most. Cutting it by a third cut the speed by about a third. That's why the range must be the reliable range in your real environment (occlusions, aisle corners, reflective floors), not the sensor's datasheet number.

Measure deceleration on the actual robot, loaded, on the actual floor. A software limit is not a braking capability.

What this doesn't cover

This is a straight-line worst case. It doesn't model slopes, payload changes, floor friction, turning, or obstacles that are themselves moving toward you. Treat the output as a starting point for a qualified safety engineer, not a certification. Check the standards that apply to your robot category, for example ISO 3691-4 for driverless industrial trucks.

Using the tool

saykai-runner calibrate -sensor-range 1.5 -perception-latency 0.25 -braking-decel 0.8 -robot-radius 0.30

It prints a worksheet with the full derivation and writes saykai-policy.suggested.yaml. It never overwrites your real policy file. It also suggests a minimum buffer as a multiple of robot radius (0.6 m here), which is a convention rather than physics, and the worksheet says so. The command ships with the Saykai runner, currently available to pilot teams. Request pilot access.