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

Cam Follower Motion: Compare Laws
Rise Segment
mm
°
rpm
Motion Laws to Compare
–
–
–
× β

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).

Peak Values

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.

Graphs

Lower peak velocity means less kinetic energy to stop and smaller pressure angles.

Peak acceleration sets the inertia force (F = m·a) and so the spring you need.

Jumps in acceleration show here as infinite spikes, drawn as vertical lines at the ends.

New to cams? Start with the cam design guide.

Every curve is computed from its formula and tested against Rothbart, Cam Design Handbook (2004). Checked against Rothbart, Cam Design Handbook (2004), and Norton, Cam Design and Manufacturing Handbook, Chapters 3 and 4. Check critical cams against a second source.

Reference Guide: Cam Motion Laws
01

Normalized Motion: S, V, A, J

One curve fits every rise

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.

From cam angle to time

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³.

Rule of thumb: halve the rise angle and peak acceleration goes up 4 times. Double the speed and it goes up 4 times too.
02

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.

03

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.

LawCvCaCjBetween dwells?Source
Cycloidal2.0006.28339.48YesRothbart Eqs. 2.57–2.60, p. 45
Modified sine1.7605.52869.47YesRothbart §3.8, p. 74
Modified trapezoid2.0004.88861.43YesRothbart §3.6, pp. 62–63
3-4-5 polynomial1.8755.77460.00YesRothbart Eq. 4.4, p. 92
4-5-6-7 polynomial2.1887.51352.50YesRothbart Eq. 4.5, p. 93
Trapezoidal acceleration2.0005.33342.67YesDerived (linear ramps of β/8); compare Rothbart Fig. 3.2
Constant jerk (triangular accel.)2.0008.00032.00YesDerived
Simple harmonic1.5714.935∞NoRothbart §2.10, p. 40
Constant acceleration (parabolic)2.0004.000∞NoRothbart §2.6, p. 34; skewed Fig. 2.5, p. 37
Cycloidal–harmonic1.7605.52834.73NoRothbart Fig. 3.18 and example, pp. 85–86
Harmonic–cycloidal1.7605.52834.73NoRothbart Fig. 3.18 run backwards
Double harmonic2.0419.87042.41NoRothbart Eqs. 2.61–2.64, p. 46 (jerk corrected)
8th-degree polynomial (blending)1.7775.26836.59NoRothbart Fig. 3.17, p. 84
5th-degree rise–return (DRRD)1.7336.66740.00NoRothbart 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).

04

Formulas for Each Law

Trigonometric laws

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.

Polynomial 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.

Skewed (asymmetric) laws

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.

Derived here, not from a handbook: trapezoidal acceleration with straight ramps (Ca = 16/3) and triangular acceleration (constant jerk, Ca = 8).
05

Cycloidal Rise Table

Normalized cycloidal motion every 5% of the rise. Multiply S by the lift, S′ by h/β and S″ by h/β².

x = θ/βSS′S″S‴
0.000.000000.00000.000039.478
0.050.000820.04891.941637.546
0.100.006450.19103.693231.939
0.150.021240.41225.083223.205
0.200.048630.69105.975712.200
0.250.090851.00006.28320.000
0.300.148631.30905.9757-12.200
0.350.221241.58785.0832-23.205
0.400.306451.80903.6932-31.939
0.450.400821.95111.9416-37.546
0.500.500002.00000.0000-39.478
0.550.599181.9511-1.9416-37.546
0.600.693551.8090-3.6932-31.939
0.650.778761.5878-5.0832-23.205
0.700.851371.3090-5.9757-12.200
0.750.909151.0000-6.28320.000
0.800.951370.6910-5.975712.200
0.850.978760.4122-5.083223.205
0.900.993550.1910-3.693231.939
0.950.999180.0489-1.941637.546
1.001.000000.00000.000039.478
06

Choosing a Law

Lowest force

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.

Best all-rounder

Modified sine has low peak velocity (1.76) and moderate acceleration. It is a common industrial choice.

Smoothest

Cycloidal has the lowest peak jerk of the common laws and a pure sine acceleration. It gives low vibration at high speed.

Spring-loaded cams

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.

Most flexible

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.

07

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.