RobotKinematicsLab

S-Curve & Trapezoidal Trajectory

Compare a seven-segment jerk-limited move and an ideal trapezoid over the same rest-to-rest stroke.

Results ↓

Parameters

Move constraints
m
m/s
m/s²
m/s³

Live results

Pass

Full cruise. The S-curve respects the entered motion limits for an ideal rest-to-rest axis.

S-curve time
1.03036 s
Trap. time
0.884524 s
Peak speed
1.2 m/s
Peak accel.
3.5 m/s²
Synchronized motion profiles
Synchronized motion profilesCOMMON TIME AXISREST TO RESTs(t)v(t)a(t)j(t)0 s1.03 sSpeed limit useLIMIT
  • S-curve
  • Trapezoid
  • S-curve segment boundary
Seven S-curve segments
SegmentActionTime
t1Jerk +0.145833 s
t2Accel hold0.197024 s
t3Jerk −0.145833 s
t4Cruise0.0529762 s
t5Jerk −0.145833 s
t6Decel hold0.197024 s
t7Jerk +0.145833 s
Profile comparison
QuantityS-curveTrapezoid
RegimeFull cruiseTrapezoid with cruise
Cycle time1.03036 s0.884524 s
Peak velocity1.2 m/s1.2 m/s
Peak acceleration3.5 m/s²3.5 m/s²
Peak jerk24 m/s³Ideal steps
RMS acceleration2.64511 m/s²3.08166 m/s²

Formula trace

  1. Reach the speed cap

    tⱼ = min(A/J, √(V/J)); tₐ = max(0,V/A−tⱼ); sᵥ = V(2tⱼ+tₐ)

    t₄ = 0.0529762 svpeak = 1.2 m/s

    A/J and √(V/J) are times. A positive residual stroke provides cruise.

  2. Short-stroke regime

    sₐ = 2A(A/J)²; jerk-only tⱼ = ∛(s/2J); otherwise s = A(tⱼ+tₐ)(2tⱼ+tₐ)

    t₁ = 0.145833 st₂ = 0.197024 s

    Both stroke equations have length units. Solve the quadratic with its nonnegative root.

  3. Integrate each segment

    a = a₀+jt; v = v₀+a₀t+jt²/2; s = s₀+v₀t+a₀t²/2+jt³/6

    T = 1.03036 sRMS accel. = 2.64511 m/s²

    RMS acceleration = Apeak √[(2tₐ+4tⱼ/3)/T]. The ideal trapezoid has acceleration steps.