Autonomous mobile robots (AMRs) live or die by their motion profiles. A profile that is too aggressive causes wheel slip, payload shift, and premature gearbox wear; too conservative, and fleet throughput collapses. Among the most widely deployed schemes is trapezoidal velocity profiling, which accelerates at a constant rate to a cruise speed, holds that speed, then decelerates symmetrically. This article derives the governing equations with explicit SI and imperial conversions, then examines the parameter trade-offs — acceleration, jerk, look-ahead distance, and path tolerance — that determine whether a profile is safe in the real world. The engineering knowledge base at engineering knowledge base and the latest technical updates provide useful context on how these profiles integrate with higher-level fleet planners.
A trapezoidal velocity profile has four phases: acceleration ramp, constant-velocity cruise, deceleration ramp, and dwell. For a move of distance d with maximum velocity vmax and acceleration a, the distance covered during acceleration is vmax2/(2a). If d is smaller than twice that value, the profile degenerates into a triangle and never reaches vmax; the peak velocity becomes √(a d). This distinction matters: many field failures occur when a short move silently exceeds a robot's acceleration limit because the planner never checks the triangular case.
Consider an AMR with 200 mm wheels and a 20:1 gearbox. The motor's rated speed is 3,000 rpm. Wheel angular velocity is 3,000/20 = 150 rpm = 15.7 rad/s. Linear speed is 15.7 × 0.2 m = 3.14 m/s. If we target 1.2 m/s, the motor runs at 1,146 rpm — well within continuous rating. Working in imperial units: 0.2 m = 7.87 in, 1.2 m/s = 47.2 in/s. The same calculation is required when commissioning drives whose parameters accept inches per second, and a missing conversion factor of 25.4 is a classic source of runaway behavior. ROS 2 users typically encode these joint limits in URDF; the ROS 2 Jazzy Movable Robot Joint Tutorial shows how velocity and effort limits are declared, though the controller must still enforce them at runtime.
The trapezoidal profile's displacement and time equations are straightforward but unforgiving of unit mismatch. For a 10 m move at 1.2 m/s with a = 0.6 m/s², acceleration time is 2 s, acceleration distance is 1.2 m, cruise distance is 7.6 m, cruise time is 6.33 s, total time 10.33 s. If the same parameters are entered as 0.6 in/s² by mistake, acceleration time balloons to 50.8 s and the robot appears to hang — a failure mode frequently misdiagnosed as a communications fault.

Pure trapezoidal profiles have infinite jerk at the acceleration corners. In practice, drives filter the command, but the resulting behavior is poorly controlled. A better approach is to add a jerk limit j, producing an S-curve. The jerk time tj = a/j; the peak acceleration is reached only if the move is long enough. For a = 0.6 m/s² and j = 3 m/s³, tj = 0.2 s, and the velocity lost during jerk ramps is a tj = 0.12 m/s. If vmax is 1.2 m/s, the cruise plateau shrinks accordingly. Many engineers underestimate this loss: a 10% jerk penalty on velocity can extend cycle time by 4–6%.
When profiles must be verified against measured encoder data, simulation is essential. A simple Python model integrating acceleration with saturation and jerk limiting can be validated with SciPy's ODE solver; the SciPy solve_ivp Numerical Integration Reference documents the solver options — use 'RK45' for smooth segments and 'LSODA' when the profile includes hard saturation. A common commissioning check is to compare the integrated position at the end of the move with the encoder count. A mismatch above 0.5% usually indicates wheel slip or an incorrect wheel-radius parameter rather than a profile error.
Unit conversions again bite here. Jerk in m/s³ versus in/s³ differs by 39.37; acceleration in m/s² versus ft/s² differs by 3.281. A controller tuned in metric and re-flashed with imperial defaults can exhibit a 3.3× jerk increase — enough to excite structural resonance in a lightweight chassis. Always verify the units field in the drive configuration and cross-check with a physical measurement: command a 1 m move, measure the time to reach cruise speed with an external sensor, and back-calculate acceleration.
On a real AMR, the commanded profile interacts with path-following. The look-ahead distance L determines how far ahead the controller samples the path; larger L smooths cornering but cuts corners. For a circular arc of radius R, the chord deviation is approximately L2/(8R). With L = 0.5 m and R = 2 m, deviation is 15.6 mm — acceptable in a warehouse aisle of 3 m but not in a 1.2 m service corridor. Halving L to 0.25 m reduces deviation to 3.9 mm but doubles the curvature command rate, increasing steering-actuator duty cycle.
A practical commissioning procedure is to characterize the trade-off curve: measure lateral deviation at three look-ahead distances and two speeds, then select the point that keeps max deviation below one-third of the aisle clearance. For a 1.2 m corridor and a 0.9 m robot, clearance is 150 mm per side; one-third is 50 mm. A look-ahead of 0.9 m on a 2 m radius arc gives 50.6 mm — right at the limit, meaning any path error will cause a scrape. Reducing to 0.6 m yields 22.5 mm and a comfortable margin.
Parameter coupling matters: increasing acceleration reduces the time available for the steering controller to converge, effectively enlarging the deviation for the same L. A rule of thumb is L ≥ v tsteer, where tsteer is the steering loop settling time. For v = 1.2 m/s and tsteer = 150 ms, L ≥ 0.18 m. This lower bound must be reconciled with the upper bound from deviation tolerance.
A disciplined commissioning sequence catches most profile errors before they reach production. First, verify wheel-radius and gear-ratio parameters by commanding a 5 m straight move at low speed and measuring actual travel; a 2% error in wheel radius produces a 100 mm error over 5 m and will compound across shifts. Second, log the commanded and measured velocity; the difference reveals slip and saturation. Third, sweep acceleration from 0.3 to 0.9 m/s² and record peak motor current — a sudden current step at a particular acceleration indicates mechanical binding or a current-limit clamp.
Common failure modes include triangular-profile surprise (short moves never reaching cruise speed and arriving late), jerk-induced oscillation (chassis resonance at 8–12 Hz), and encoder-quantization chatter at very low speeds, where a 1,024-count encoder on a 200 mm wheel gives 0.61 mm per count. At 0.05 m/s, that is 82 counts/s — adequate, but position-loop gains set too high will produce limit cycles. Another failure is thermal: continuous trapezoidal cycling at high acceleration raises gearbox temperature; if the duty cycle exceeds the drive's thermal model, the controller derates, extending cycle time unpredictably.
Finally, document every conversion factor in the commissioning record. The most expensive failures are not algorithmic but unit-related: an imperial radius in a metric controller, a radian value entered as degrees, or a gear ratio expressed as output/input instead of input/output. A one-page unit audit and a 10 m verification move cost minutes and prevent days of downtime.

Profile parameters propagate to fleet throughput. For a 200 m route with 10 stops, each stop requiring a 1.5 s deceleration and 1.5 s acceleration at 0.6 m/s², the stop overhead is 30 s. Reducing acceleration to 0.4 m/s² increases each ramp to 2.25 s, adding 15 s per route — a 7.5% throughput loss on a 200 s cycle. The trade-off is real: higher acceleration improves throughput but increases wheel wear and slip risk on wet floors (friction coefficient drops from 0.7 to 0.35, and required traction force m a may exceed available friction). For a 150 kg robot, a = 0.6 m/s² requires 90 N; available friction at 0.35 is 515 N, so the margin is large — but during emergency stops, deceleration can spike to 2 m/s², requiring 300 N and approaching the friction limit on wet surfaces.
Design margin should therefore be computed against the worst-case friction, not the nominal. The recommended practice is to set normal acceleration at no more than 30% of the friction-limited deceleration and to reserve the remainder for safety stops. For the 150 kg robot on wet floor, 30% of 2.9 m/s² is 0.87 m/s² — but the emergency-stop requirement must still be met, so a separate safety-rated deceleration profile is needed. These are the kinds of quantitative checks that separate a prototype from a production machine, and they deserve the same rigor as the control algorithm itself.