🤝 Human-Robot Collaboration: Speed and Separation Monitoring

What you are seeing

A person (green) repeatedly walks toward the robot tool (orange). The red box is the protective separation distance: if the person is inside it the robot must already be slow enough to stop in time. In speed and separation monitoring the robot slows smoothly as you approach, so it stays productive far away and stops only when needed. Try the presets: slow sensors or weak brakes make contact; a fixed zone is either unsafe (too small) or wasteful (too big).

Controls

Live readouts

Numerical checks

Solves the protective-distance formula both ways and checks it with brute-force time stepping.
The science

The protective separation distance used in collaborative-robot safety standards (ISO/TS 15066 and ISO 13855 style) is Sp = vh·(Tr+Ts) + vr·Tr + Ss + C + Zd + Zr, where vh is the person's speed, vr the robot speed toward them, Tr the sensing+control delay, Ts the stop time and Ss the robot stopping distance. With constant deceleration a: Ts = vr/a, Ss = vr²/(2a).

Solving Sp(vr) = S for the current gap S gives the largest speed the robot may use (a quadratic, solved in closed form). The robot follows that cap with an acceleration limit of a.

Simplifications: everything happens along one line, the person walks at constant speed, the intrusion/measurement constant C+Z is a fixed 0.2 m, and the robot is a point-like tool (no full-body or arm-link geometry). Real systems also limit contact force and pressure by body region (power-and-force limiting). This is an educational model, not a safety design tool.