Cam Motion Laws Calculator: Displacement, Velocity, Acceleration and Jerk (SVAJ) for Cycloidal, Modified Sine, Modified Trapezoid, 3-4-5 and 4-5-6-7 Polynomial Cam Profiles
Set "Peak velocity at" below 0.5 to skew the ticked laws (0.25 gives 3 : 1 acceleration). Tick "SCCA family" to plot your own a, b, c. Named members: modified trapezoid (0.25, 0.5, 0.25), modified sine (0.25, 0, 0.75), cycloidal (0.5, 0, 0.5), simple harmonic (0, 0, 1), constant acceleration (0, 1, 0).
Cv, Ca and Cj are the peak velocity, acceleration and jerk for a rise of 1 over 1 radian. Multiply by h/β, h/β² and h/β³ (β in radians) for your cam, and by ω, ω² and ω³ for time.
Normalized Motion: S, V, A, J
Every law here is written for a rise of 1 over x = 0 to 1, where x = (θ − θstart) / β. β is the rise angle. The curve S(x) starts at 0 and ends at 1.
Scale it to your cam. Lift s = h·S. With respect to cam angle, v = h·S′/β, a = h·S″/β² and j = h·S‴/β³, with β in radians.
At a steady speed ω = 2π·rpm/60 rad/s, multiply by ω, ω² and ω³ for velocity in mm/s, acceleration in mm/s² and jerk in mm/s³.
The Fundamental Law of Cam Design
Displacement, velocity and acceleration must be continuous over the whole turn of the cam. Then jerk stays finite. A jump in velocity means infinite acceleration: a hammer blow every turn. A jump in acceleration means infinite jerk, which shakes the follower and wears the cam.
So between two dwells, use a law whose velocity and acceleration are both zero at the ends: cycloidal, modified sine, modified trapezoid, 3-4-5 or 4-5-6-7. Simple harmonic, parabolic and constant velocity fail this next to a dwell. They are fine only where their ends match the next segment.
Peak Factor Table
Peak values for a rise of 1 over x = 0 to 1. Lower Ca means lower follower forces for the same lift and time. ∞ means the acceleration jumps somewhere; avoid those laws next to a dwell at speed.
| Law | Cv | Ca | Cj | Between dwells? | Source |
|---|---|---|---|---|---|
| Cycloidal | 2.000 | 6.283 | 39.48 | Yes | Rothbart Eqs. 2.57–2.60, p. 45 |
| Modified sine | 1.760 | 5.528 | 69.47 | Yes | Rothbart §3.8, p. 74 |
| Modified trapezoid | 2.000 | 4.888 | 61.43 | Yes | Rothbart §3.6, pp. 62–63 |
| 3-4-5 polynomial | 1.875 | 5.774 | 60.00 | Yes | Rothbart Eq. 4.4, p. 92 |
| 4-5-6-7 polynomial | 2.188 | 7.513 | 52.50 | Yes | Rothbart Eq. 4.5, p. 93 |
| Trapezoidal acceleration | 2.000 | 5.333 | 42.67 | Yes | Derived (linear ramps of β/8); compare Rothbart Fig. 3.2 |
| Constant jerk (triangular accel.) | 2.000 | 8.000 | 32.00 | Yes | Derived |
| Simple harmonic | 1.571 | 4.935 | ∞ | No | Rothbart §2.10, p. 40 |
| Constant acceleration (parabolic) | 2.000 | 4.000 | ∞ | No | Rothbart §2.6, p. 34; skewed Fig. 2.5, p. 37 |
| Cycloidal–harmonic | 1.760 | 5.528 | 34.73 | No | Rothbart Fig. 3.18 and example, pp. 85–86 |
| Harmonic–cycloidal | 1.760 | 5.528 | 34.73 | No | Rothbart Fig. 3.18 run backwards |
| Double harmonic | 2.041 | 9.870 | 42.41 | No | Rothbart Eqs. 2.61–2.64, p. 46 (jerk corrected) |
| 8th-degree polynomial (blending) | 1.777 | 5.268 | 36.59 | No | Rothbart Fig. 3.17, p. 84 |
| 5th-degree rise–return (DRRD) | 1.733 | 6.667 | 40.00 | No | Rothbart Eq. 4.7, p. 97 |
Computed from the formulas in card 04. Norton's Table 3-1 (p. 45) agrees to all four printed digits. Rothbart's Fig. 3.2 (p. 58) agrees to its printed precision, except 3-4-5 Cv (exact 1.875, printed 1.89) and trapezoidal Cj (ours 42.7 with β/8 ramps, printed 44).
Formulas for Each Law
Cycloidal: S = x − sin(2πx)/(2π), S′ = 1 − cos 2πx, S″ = 2π sin 2πx, S‴ = 4π² cos 2πx.
Simple harmonic: S = ½(1 − cos πx), S″ = (π²/2) cos πx. Acceleration is not zero at the ends.
Double harmonic: S = ½[(1 − cos πx) − ¼(1 − cos 2πx)]. Gentle start, but acceleration ends at −π². The source's printed jerk equation drops a factor of 2; the true derivative is S‴ = (π³/2)(2 sin 2πx − sin πx).
Half-cycloids (for joining a constant-velocity segment): into constant velocity S = x − sin(πx)/π, which starts at rest and ends with S′ = 2; out of constant velocity S = x + sin(πx)/π, the reverse. Acceleration is zero at both ends of each.
Cycloidal–harmonic: a half-cycloid S = h₁(u − sin(πu)/π) over the first share p of the rise, then a quarter-harmonic S = h₁ + h₂ sin(πu/2) to the end (u runs 0 to 1 in each part). The velocities match at the join when h₁/h₂ = πp / (4(1 − p)). Acceleration is zero at the start and at the join, but the harmonic ends decelerating, so use it for a rise that runs straight into a return. Harmonic–cycloidal is the same curve run backwards: it starts with acceleration and ends at rest, for the return. Rothbart's example (1.75 in in 120°, 2 : 1 acceleration) gives β₁ = 40°, h₁ = 0.4934 in; the tool matches it with p = ⅓.
Modified sine: a quarter sine wave of acceleration over the first ⅛ of the rise, then a sine of period 3β/2, mirrored for the second half. Ca = 5.528.
SCCA family (sine-constant-cosine acceleration): one set of equations where three zone widths a, b and c (adding to 1) choose the shape. The rise starts with a sine ramp of width a/2, holds constant acceleration over b/2, crosses over on a cosine of width c, then mirrors. Peak factors: Ca = 4π² / ((π² − 8)(a² − c²) − 2π(π − 2)a + π²), Cv = Ca((a + c)/π + b/2), Cj = Ca·π/a. Keep a and c above 0 between dwells.
Modified trapezoid: acceleration ramps up as a quarter sine over ⅛, stays flat for ¼, ramps down over ⅛, mirrored. Ca = 4.888, the lowest of the dwell-safe laws.
3-4-5: S = 10x³ − 15x⁴ + 6x⁵. Zero velocity and acceleration at both ends.
4-5-6-7: S = 35x⁴ − 84x⁵ + 70x⁶ − 20x⁷. Zero jerk at the ends too, at the cost of higher acceleration.
8th degree: S = 6.09755x³ − 20.78040x⁵ + 26.73155x⁶ − 13.60965x⁷ + 2.56095x⁸. It ends with acceleration −5.268, so it is a blending curve: follow it with its mirror image, not a dwell.
5th degree rise–return: S = (20/3)x³ − (25/3)x⁴ + (8/3)x⁵, for a rise that goes straight into a return.
3-4-5-6 rise–fall (single dwell): S = 64x³ − 192x⁴ + 192x⁵ − 64x⁶, with x over the whole rise and fall. One polynomial goes up to the lift at x = ½ and back down, with zero velocity and acceleration at both ends. It only works when rise and fall take equal time: ask for an uneven peak and the curve overshoots (Norton, Example 4-4). It is a segment type on the disk cam designer, not in the comparison above.
Any law that is symmetric about its midpoint can be skewed: the speeding-up half runs over p·β and the slowing-down half over (1 − p)·β, with the peak velocity unchanged. The lifts split the same way (h₁ = p·h). Peak accelerations become A₁ = A/(2p) and A₂ = A/(2(1 − p)), so p = 0.25 gives a 3 : 1 ratio. Laws that can be skewed: cycloidal, modified sine, modified trapezoid, 3-4-5, 4-5-6-7, trapezoidal, constant jerk, simple harmonic, constant acceleration and SCCA.
Cycloidal Rise Table
Normalized cycloidal motion every 5% of the rise. Multiply S by the lift, S′ by h/β and S″ by h/β².
| x = θ/β | S | S′ | S″ | S‴ |
|---|---|---|---|---|
| 0.00 | 0.00000 | 0.0000 | 0.0000 | 39.478 |
| 0.05 | 0.00082 | 0.0489 | 1.9416 | 37.546 |
| 0.10 | 0.00645 | 0.1910 | 3.6932 | 31.939 |
| 0.15 | 0.02124 | 0.4122 | 5.0832 | 23.205 |
| 0.20 | 0.04863 | 0.6910 | 5.9757 | 12.200 |
| 0.25 | 0.09085 | 1.0000 | 6.2832 | 0.000 |
| 0.30 | 0.14863 | 1.3090 | 5.9757 | -12.200 |
| 0.35 | 0.22124 | 1.5878 | 5.0832 | -23.205 |
| 0.40 | 0.30645 | 1.8090 | 3.6932 | -31.939 |
| 0.45 | 0.40082 | 1.9511 | 1.9416 | -37.546 |
| 0.50 | 0.50000 | 2.0000 | 0.0000 | -39.478 |
| 0.55 | 0.59918 | 1.9511 | -1.9416 | -37.546 |
| 0.60 | 0.69355 | 1.8090 | -3.6932 | -31.939 |
| 0.65 | 0.77876 | 1.5878 | -5.0832 | -23.205 |
| 0.70 | 0.85137 | 1.3090 | -5.9757 | -12.200 |
| 0.75 | 0.90915 | 1.0000 | -6.2832 | 0.000 |
| 0.80 | 0.95137 | 0.6910 | -5.9757 | 12.200 |
| 0.85 | 0.97876 | 0.4122 | -5.0832 | 23.205 |
| 0.90 | 0.99355 | 0.1910 | -3.6932 | 31.939 |
| 0.95 | 0.99918 | 0.0489 | -1.9416 | 37.546 |
| 1.00 | 1.00000 | 0.0000 | 0.0000 | 39.478 |
Choosing a Law
Modified trapezoid has the lowest peak acceleration of the dwell-safe laws. Use it where inertia force rules, such as heavy followers at moderate speed.
Modified sine has low peak velocity (1.76) and moderate acceleration. It is a common industrial choice.
Cycloidal has the lowest peak jerk of the common laws and a pure sine acceleration. It gives low vibration at high speed.
A spring must hold the follower against the cam during the deceleration. Skew the law so the deceleration is the smaller part: Rothbart suggests positive acceleration about 3 times the negative (peak velocity at 0.25 on a rise). The spring can be smaller and the cam curvature gentler.
Polynomials can match any end conditions, such as a nonzero velocity where a rise blends into a constant-velocity segment. The disk cam designer checks every join.
Sources
H. A. Rothbart (ed.), Cam Design Handbook, McGraw-Hill, 2004: cycloidal Eqs. 2.57–2.60 (p. 45), simple harmonic §2.10 (p. 40), double harmonic Eqs. 2.61–2.64 (p. 46), modified trapezoid §3.6 (pp. 62–63), modified sine §3.8 (p. 74), peak factors Fig. 3.2 (p. 58), 8th-degree polynomial Fig. 3.17 (p. 84), 3-4-5 Eq. 4.4 (p. 92), 4-5-6-7 Eq. 4.5 (p. 93), 5th-degree rise–return Eq. 4.7 (p. 97), combining and skewing curves §3.2 (p. 57) and §3.6, Eqs. 3.9–3.13 (pp. 70–71), cycloidal–harmonic coupling Fig. 3.18 and its example (pp. 85–86).
R. L. Norton, Cam Design and Manufacturing Handbook, Industrial Press: 3-4-5-6 rise–fall Eq. 4.2 (p. 62), its uneven-peak form Eq. 4.3 and Examples 4-2 to 4-4 (pp. 60–63); cycloidal Eqs. 3.6a–d (p. 29) and Example 3-1; half-cycloids Eqs. 6.3–6.4 (pp. 135–136) and Examples 6-2, 6-3; modified trapezoid Eqs. 3.7a–e (pp. 32–33); modified sine Eqs. 3.8a–c (p. 37); SCCA family Eqs. 3.11–3.17 (pp. 41–44) and Table 3-1 (p. 45). The tool reproduces Norton's numbers: 547 in/s² peak acceleration for Example 4-3 and 900 in/s² peak deceleration for the double harmonic in Example 4-2.
Every law's peak factors match Rothbart's Fig. 3.2 and Norton's Table 3-1. The modified sine and modified trapezoid curves match Norton's piecewise equations to the precision he prints.