Algorithm Search⌘K

Conceptintro

Cam follower motion laws

Also called cam displacement diagram, cycloidal cam motion, simple harmonic cam motion, 3-4-5 polynomial cam law.

Rise and return laws, such as harmonic, cycloidal and 3-4-5 polynomial, chosen for the follower displacement so velocity and acceleration stay continuous.

A cam follower motion law is the function that gives the lift of a cam follower as the cam turns through one segment of its cycle. A cam is a part with a shaped edge that turns on a shaft, and the follower is the part that rides on that edge and moves in and out. A cycle is cut into segments: a rise, where the follower moves out by the lift LL; a dwell, where it stands still; and a return, where it moves back. A law is chosen for each rise and return. The choice fixes the velocity, the acceleration and the jerk of the follower, and through them the forces and the vibration of the machine. This page proves the derivatives and the end values of the three classic laws: simple harmonic, cycloidal and the 3-4-5 polynomial.

In plain words

A cam pushes a rod out, holds it still, and lets it come back. The shape of the cam edge decides how the rod speeds up and slows down. If the push starts with a sudden kick, the rod and the springs shake, the cam wears, and the machine is noisy. A good law starts the push gently and ends it gently, so the rod leaves a rest and comes back to a rest with no jolt. The three classic laws differ in how gentle they are at the two ends. The gentler laws need a larger speed and a larger push in the middle to move the same distance in the same turn of the cam.

The idea

Normalized form. Let the cam turn through the angle θ\theta, and let a rise of lift LL take the cam angle β\beta. Put x=θ/β∈[0,1]x = \theta/\beta \in [0, 1] and write the displacement as s(θ)=Lf(x)s(\theta) = L f(x), where f(0)=0f(0) = 0 and f(1)=1f(1) = 1. By the chain rule, the derivatives with respect to the cam angle are

s′=Lβf′(x),s′′=Lβ2f′′(x),s′′′=Lβ3f′′′(x).s' = \frac{L}{\beta} f'(x), \qquad s'' = \frac{L}{\beta^2} f''(x), \qquad s''' = \frac{L}{\beta^3} f'''(x).

If the cam turns at a constant rate ω\omega, then θ=ωt\theta = \omega t, and the velocity, acceleration and jerk in time are v=ωs′v = \omega s', a=ω2s′′a = \omega^2 s'' and j=ω3s′′′j = \omega^3 s'''. The four plots of ss, vv, aa and jj over one cycle are the s v a j diagrams. The numbers Cv=max⁡∣f′∣C_v = \max |f'| and Ca=max⁡∣f′′∣C_a = \max |f''| are the peak velocity and acceleration coefficients of the law. A return of the same length uses 1−f(x)1 - f(x), which changes the sign of every derivative.

The fundamental law of cam design. Norton states it as follows: the cam-follower function must be continuous through the first and second derivatives of displacement across the entire interval (360°), and as a corollary the jerk must be finite across the entire interval. A dwell has s′=s′′=s′′′=0s' = s'' = s''' = 0. So a rise between two dwells obeys the law exactly when f′f' and f′′f'' are zero at both ends. If f′′f'' is not zero at an end, the acceleration jumps there, and the jerk is a Dirac delta, that is, infinite.

Simple harmonic motion. The follower moves as the projection of a point that turns at a constant rate on a half circle:

f(x)=12(1−cos⁡πx).f(x) = \tfrac12(1 - \cos \pi x).

Differentiation gives

f′=π2sin⁡πx,f′′=π22cos⁡πx,f′′′=−π32sin⁡πx.f' = \tfrac{\pi}{2}\sin \pi x, \qquad f'' = \tfrac{\pi^2}{2}\cos \pi x, \qquad f''' = -\tfrac{\pi^3}{2}\sin \pi x.

At the ends, f(0)=0f(0) = 0, f(1)=1f(1) = 1 and f′(0)=f′(1)=0f'(0) = f'(1) = 0, so the displacement and the velocity are continuous with the dwells. But f′′(0)=π2/2f''(0) = \pi^2/2 and f′′(1)=−π2/2f''(1) = -\pi^2/2. The acceleration jumps from 00 to π2L/(2β2)\pi^2 L/(2\beta^2) at the start of the rise and from −π2L/(2β2)-\pi^2 L/(2\beta^2) to 00 at the end. So the jerk is infinite at both ends, and the law fails the fundamental law of cam design next to a dwell. Its coefficients are Cv=π/2≈1.571C_v = \pi/2 \approx 1.571 at x=12x = \tfrac12 and Ca=π2/2≈4.935C_a = \pi^2/2 \approx 4.935 at the ends.

Cycloidal motion. The follower moves as a point on a circle that rolls once along a line, seen from the side:

f(x)=x−sin⁡2πx2π.f(x) = x - \frac{\sin 2\pi x}{2\pi}.

Differentiation gives

f′=1−cos⁡2πx,f′′=2πsin⁡2πx,f′′′=4π2cos⁡2πx.f' = 1 - \cos 2\pi x, \qquad f'' = 2\pi \sin 2\pi x, \qquad f''' = 4\pi^2 \cos 2\pi x.

At the ends, f(0)=0f(0) = 0, f(1)=1−0=1f(1) = 1 - 0 = 1, f′(0)=f′(1)=1−1=0f'(0) = f'(1) = 1 - 1 = 0 and f′′(0)=f′′(1)=0f''(0) = f''(1) = 0. So the displacement, the velocity and the acceleration are all continuous with the dwells, and the law obeys the fundamental law of cam design. The jerk is 4π24\pi^2 at both ends, against 00 in the dwell, so the jerk jumps by the finite amount 4π2L/β34\pi^2 L/\beta^3. The coefficients are Cv=2C_v = 2 at x=12x = \tfrac12 and Ca=2π≈6.283C_a = 2\pi \approx 6.283 at x=14x = \tfrac14 and x=34x = \tfrac34.

The 3-4-5 polynomial. Ask for the polynomial of least degree with f(0)=0f(0) = 0, f(1)=1f(1) = 1 and f′=f′′=0f' = f'' = 0 at both ends. Six conditions fix a polynomial of degree 5. Since f′f' has a double zero at 00 and at 11, it has the form f′=c x2(1−x)2f' = c\,x^2(1 - x)^2, and f(1)=1f(1) = 1 gives c∫01x2(1−x)2 dx=c/30=1c \int_0^1 x^2(1-x)^2\,dx = c/30 = 1. So c=30c = 30, and integration gives

f(x)=10x3−15x4+6x5.f(x) = 10x^3 - 15x^4 + 6x^5.

Differentiation gives

f′=30x2(1−x)2,f′′=60x(1−x)(1−2x),f′′′=60−360x+360x2.f' = 30x^2(1 - x)^2, \qquad f'' = 60x(1 - x)(1 - 2x), \qquad f''' = 60 - 360x + 360x^2.

The factors show f′(0)=f′(1)=0f'(0) = f'(1) = 0 and f′′(0)=f′′(1)=0f''(0) = f''(1) = 0, so the law obeys the fundamental law of cam design. The jerk is f′′′(0)=f′′′(1)=60f'''(0) = f'''(1) = 60, so it jumps by the finite amount 60L/β360L/\beta^3 at each dwell. The peak velocity is Cv=f′(12)=30/16=1.875C_v = f'(\tfrac12) = 30/16 = 1.875. The peak acceleration is where f′′′=0f''' = 0, that is 6x2−6x+1=06x^2 - 6x + 1 = 0, so x=(3−3)/6≈0.2113x = (3 - \sqrt3)/6 \approx 0.2113. There x(1−x)=16x(1 - x) = \tfrac16 and 1−2x=1/31 - 2x = 1/\sqrt3, so Ca=60⋅16⋅13=10/3≈5.774C_a = 60 \cdot \tfrac16 \cdot \tfrac1{\sqrt3} = 10/\sqrt3 \approx 5.774. This is the same quintic as the minimum-jerk trajectory of robot motion planning.

Higher order. Ask also for f′′′=0f''' = 0 at both ends. Eight conditions give degree 7, f′=140x3(1−x)3f' = 140x^3(1-x)^3, and f(x)=35x4−84x5+70x6−20x7f(x) = 35x^4 - 84x^5 + 70x^6 - 20x^7, the 4-5-6-7 polynomial. Its jerk is continuous with the dwells, and the price is Cv=140/64=2.1875C_v = 140/64 = 2.1875 and Ca≈7.513C_a \approx 7.513.

The pattern of the laws is a trade. Each extra order of smoothness at the ends raises the peak velocity and the peak acceleration for the same lift and the same cam angle.

Examples

Take a rise of L=20L = 20 mm over β=90°\beta = 90° =π/2= \pi/2 rad, with the cam at 300 rpm, so ω=10π\omega = 10\pi rad/s and the rise takes 0.050.05 s. The peaks are vmax⁡=CvLω/βv_{\max} = C_v L\omega/\beta and amax⁡=CaLω2/β2a_{\max} = C_a L\omega^2/\beta^2, with Lω/β=400L\omega/\beta = 400 mm/s and Lω2/β2=8000L\omega^2/\beta^2 = 8000 mm/s².

Law CvC_v CaC_a peak vv (mm/s) peak aa (m/s²) at the dwell ends
simple harmonic π/2\pi/2 π2/2\pi^2/2 628.3 39.48 aa jumps by 39.48 m/s², jj infinite
cycloidal 22 2π2\pi 800.0 50.27 a=0a = 0, jj jumps by 6317 m/s³
3-4-5 polynomial 1.8751.875 10/310/\sqrt3 750.0 46.19 a=0a = 0, jj jumps by 9600 m/s³
4-5-6-7 polynomial 2.18752.1875 7.5137.513 875.0 60.11 a=0a = 0, j=0j = 0

The jerk values come from j=ω3Lf′′′/β3j = \omega^3 L f'''/\beta^3 with Lω3/β3=160 000L\omega^3/\beta^3 = 160\,000 mm/s³: 4π2⋅160=63174\pi^2 \cdot 160 = 6317 m/s³ for the cycloidal law and 60⋅160=960060 \cdot 160 = 9600 m/s³ for the 3-4-5 law. The harmonic law has the smallest peaks, and it is the only one with an acceleration jump.

Non-example: harmonic motion with no dwell. Let the follower rise over β\beta with the harmonic law and return at once over the next β\beta with 1−f1 - f. At the joint, the rise ends with f′′(1)=−π2/2f''(1) = -\pi^2/2 and the return starts with −f′′(0)=−π2/2-f''(0) = -\pi^2/2. The values agree, so there is no jump. The whole cycle is one cosine, s=L2(1−cos⁡(πθ/β))s = \tfrac{L}{2}(1 - \cos(\pi\theta/\beta)), which is the motion of a round cam turning on an off-center shaft (an eccentric). The jump of the harmonic law is a property of the joint to a dwell, not of the law alone.

Where it is used

  • Cam profile synthesis turns a chosen law into the cam outline, and the law must be continuous for the outline to be smooth.
  • The cam pressure angle depends on s′s', so a law with a large CvC_v needs a larger cam to keep the angle small.
  • Cam design programs offer more laws: modified sine and modified trapezoid, which join cycloidal pieces and constant pieces to lower CaC_a, and polynomials fitted to many conditions, which are Hermite interpolation of the end values. Norton covers these laws in Section 8.3.
  • Motion profiles of servo drives and robots use the same laws. The 3-4-5 polynomial is the minimum-jerk profile, and the trapezoidal velocity profile is the constant-acceleration law that fails the fundamental law of cam design.
  • The continuity conditions are those of parametric continuity: obeying the law means that the whole cycle is a C2C^2 function of θ\theta.

References

  1. Robert L. Norton, Design of Machinery, 6th edition, McGraw-Hill, 2019, Section 8.1 (p. 410, cam terminology), Section 8.2 (p. 416, s v a j diagrams) and Section 8.3 (p. 417, double-dwell cam design, with the fundamental law of cam design on p. 420, simple harmonic motion on p. 421, cycloidal displacement on p. 422 and polynomial functions on p. 439)
  2. Robert L. Norton, Cam Design and Manufacturing Handbook, 2nd edition, Industrial Press, 2009, Section 2.3, the fundamental law of cam design
  3. John J. Uicker, Gordon R. Pennock and Joseph E. Shigley, Theory of Machines and Mechanisms, 5th edition, Oxford University Press, 2017, the chapter on cam design, standard cam motions (general locator)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/Z1RECF/text.yaml