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.