Machines & mechanisms

Cam Follower Motion Designer

Designs the motion of a disk cam with a translating roller (with an optional offset) or flat-faced follower: a program of up to six rise, dwell and return segments with seven standard laws (constant velocity, constant acceleration, simple harmonic, cycloidal, 3-4-5 and 4-5-6-7 polynomials, modified trapezoidal); 145 frames every 2.5 degrees of lift, velocity, acceleration and jerk, the pressure angle, the cam profile and pitch curve in the cam's frame, and the surface radius of curvature with the undercut and cusp checks; analytic segment peaks from the peak factors and the joint classes of the fundamental law of cam design; a seven-law comparison on one segment and a closed-form smallest base circle with six candidates. Refuses invalid programs plainly, warns of undercut, cusps, velocity and acceleration jumps and a pressure angle past the limit, and scores five challenges. For learning cam design and machine kinematics.

Last updated

Calculator overview

Inputs and outputs

This summary comes from the calculator's published input and output contract.

Inputs

Your prediction (challenge 1) (required)
About this input

Your prediction for challenge 1: Not yet predicted, Simple harmonic, Cycloidal or About the same. Not used outside challenge 1.

Default Not yet predicted Allowed Not yet predicted, Simple harmonic, Cycloidal, About the same
Follower type (required)
About this input

The follower: Roller (a roller on a translating follower whose axis may be offset from the pivot) or Flat-faced (a flat face perpendicular to the follower axis), chosen from the list.

Default Roller Allowed Roller, Flat-faced
Motion program (row k is segment k; leave a row blank when it is not used) (required)
About this input

The motion program: up to six rows, each ending a segment at its end angle (a whole multiple of 5 degrees from 5 to 360) and lift level (0 to 100 mm) with one of the seven motion laws. Each segment moves from the previous row's level (0 for row 1); a segment that keeps its level is a dwell, whose law is not used. The rows in use start at row 1 with no gap, their end angles increase, the last ends at 360 degrees with lift 0, and every rise or return lasts at least 30 degrees.

Default 4 rows
ColumnRange or allowed values
End angle (deg) 5 to 360
Lift at end (mm) 0 to 100
Motion law Constant velocity, Constant acceleration, Simple harmonic, Cycloidal, Polynomial 3-4-5, Polynomial 4-5-6-7, Modified trapezoidal
Roller radius (required)
About this input

The roller radius Rr in mm (roller only; checked for the flat face too).

Unit mm Default 10 Range 1 to 50
Pressure angle limit (required)
About this input

The pressure angle limit in degrees: above it the follower may jam in its guide.

Unit deg Default 30 Range 10 to 60
Cam speed (required)
About this input

The cam speed in rpm (counterclockwise).

Unit rpm Default 300 Range 10 to 3000
Base circle radius (required)
About this input

The base circle radius Rb in mm: the cam's smallest radius.

Unit mm Default 40 Range 10 to 200
Challenge number (required)
About this input

Selects a challenge: 0 for none, 1 to 5 for a predefined challenge whose settings replace the inputs it fixes.

Default 0 Range 0 to 5
Follower offset (required)
About this input

The follower offset e in mm: positive puts the follower axis to the right of the pivot for this counterclockwise cam, which lowers the rise's pressure angle; it must be smaller in size than the base circle radius (roller only).

Unit mm Default 0 Range -50 to 50
Comparison segment (required)
About this input

The segment the seven laws are compared on: 0 for the first moving segment, or a segment number 1 to 6 (the comparison is blank on a dwell or a row not in use).

Default 0 Range 0 to 6

Outputs

Smallest surface radius at
About this output

The cam angle in degrees of the first frame with the smallest surface radius.

Unit deg
Smallest surface radius of curvature
About this output

The smallest radius of curvature of the cam surface over the convex frames, in mm; at or below 0 the roller undercuts or the flat face meets a cusp.

Unit mm
Model Status
About this output

NOT VALID with the reason when an input cannot be used; CHECK when the results are shown but the follower never moves, the roller undercuts, the flat face meets a cusp, the velocity jumps, the pressure angle passes the limit, or the acceleration jumps; otherwise OK.

No unit declared
Formula module versions
About this output

The formula modules the model is built from, with their versions.

No unit declared
Model version
About this output

The model version.

No unit declared
Largest pressure angle
About this output

The largest pressure angle magnitude over the frames, in degrees (0 for a flat face, which is perpendicular to its axis).

Unit deg
Largest lift
About this output

The largest lift level of the program, in mm.

Unit mm
Largest pressure angle at
About this output

The cam angle in degrees of the first frame with the largest pressure angle (roller only).

Unit deg
Smallest base circle for the pressure limit
About this output

The smallest base circle radius in mm that keeps every frame within the pressure angle limit, in closed form (at least 10 mm; roller only).

Unit mm
Smallest base circle without a cusp
About this output

The smallest base circle radius in mm that keeps the flat face clear of a cusp at every frame (at least 10 mm; flat face only).

Unit mm
Moving segments
About this output

The number of segments that move the follower (rises and returns).

No unit declared
Segments in use
About this output

The number of program rows in use.

No unit declared
Sampled peak velocity
About this output

The largest follower speed over the 144 frames, in m/s; it equals the analytic peak, because every segment midpoint is a frame.

Unit m/s
Segments: each segment's start and end, law (Dwell when it rests), lift change, analytic peaks, largest pressure angle and the joint at its end
About this output

The segments: one row per program row in use, with the segment number, its start and end angles, its law (Dwell when it rests), its lift change in mm, its analytic peak velocity, acceleration and jerk, its largest pressure angle over its frames, and the joint at its end (Smooth, Jerk jump, Acceleration jump or Velocity jump). Rows not in use are blank.

No unit declared
Where the worst jump is
About this output

The cam angle in degrees of the first place where the worst jump occurs (a joint, 0 for the joint at 360 degrees, or the middle of a constant-acceleration segment); blank when the motion is smooth.

Unit deg
Frames that undercut or cusp
About this output

The number of frames where the roller undercuts the cam or the flat face meets a cusp.

No unit declared
Prime circle radius
About this output

The prime circle radius Rb + Rr in mm (roller only).

Unit mm
Pressure angle limit used
About this output

The pressure angle limit used, degrees (the challenge's when a challenge fixes it).

Unit deg
Roller radius used
About this output

The roller radius used, mm (the challenge's when a challenge fixes it).

Unit mm
Sampled peak jerk
About this output

The largest jerk magnitude over the 144 frames, in m/s^3. Blank while challenge 1 awaits a prediction.

Unit m/s^3
Sampled peak acceleration
About this output

The largest acceleration magnitude over the 144 frames, in m/s^2; it can sit slightly below the analytic peak. Blank while challenge 1 awaits a prediction.

Unit m/s^2
Seven laws on one segment: the peak factors, the peaks they give on the comparison segment, the largest pressure angle over 21 samples, and the joint each law makes beside a dwell
About this output

Seven laws on one segment: for each law its velocity, acceleration and jerk factors, the peak velocity and acceleration it would give on the comparison segment, its largest pressure angle over 21 samples of that segment, and the joint it makes beside a dwell. Blank when there is no comparison or while challenge 1 awaits a prediction.

No unit declared
Challenge feedback
About this output

Feedback on the selected challenge: the prediction prompt, the met text or the not-met hint (blank with none).

No unit declared
Cam speed used
About this output

The cam speed used, rpm (the challenge's when a challenge fixes it).

Unit rpm
Challenge goal
About this output

The goal of the selected challenge (blank with none).

No unit declared
Challenge score
About this output

The challenge score: 100 when met, else 0.

No unit declared
Challenge: the value scored
About this output

The value the selected challenge scores: the ratio of the return's peak acceleration to the rise's (1), the rise's peak acceleration (2), the largest pressure angle (3), the smallest surface radius (4) or the largest peak as a percent of the optimum (5); blank when not valid or withheld.

No unit declared
Base circle candidates: six multiples of the base radius, each with its largest pressure angle, smallest surface radius and verdicts
About this output

Six base circle candidates, 0.5, 0.75, 1, 1.5, 2 and 3 times the base radius, each with its largest pressure angle and smallest surface radius over the frames and the verdicts Within limit or Above limit, and Smooth, Undercut or Cusp; Offset too large where the offset is not smaller than the candidate radius.

No unit declared
Angular speed
About this output

The cam's angular speed in rad/s.

Unit rad/s
Base circle radius used
About this output

The base circle radius used, mm (the challenge's when a challenge fixes it).

Unit mm
The fundamental law
About this output

The fundamental law of cam design over the whole program: Smooth: continuous jerk; Jerk jumps: acceleration continuous; Acceleration jumps: infinite jerk; or Velocity jumps: infinite acceleration (the worst joint or internal jump).

No unit declared
Cam frames: 145 frames every 2.5 degrees of the turn (frame 144 repeats frame 0), with the lift, velocity, acceleration, jerk, pressure angle, surface radius, the profile and pitch points in the cam's own frame, and the zone code
About this output

The cam frames: 145 rows, one per frame every 2.5 degrees (frame 144 repeats frame 0), each with the cam angle, the segment, the lift in mm, the velocity in m/s, the acceleration in m/s^2, the jerk in m/s^3, the pressure angle in degrees, the surface radius in mm (blank on a concave stretch), the profile point and, for a roller, the pitch point in the cam's own frame in mm, and the zone code (1 past the pressure angle limit, 2 undercut or cusp, 3 both). The acceleration and jerk columns are withheld while challenge 1 awaits a prediction.

No unit declared
Challenge result
About this output

No challenge selected, MET or NOT MET.

No unit declared
Peak acceleration (between jumps)
About this output

The largest follower acceleration magnitude over the program between jumps, in m/s^2, from each law's acceleration factor (analytic); an infinite spike at a velocity jump is reported by camLawCheck, not here. Blank while challenge 1 awaits a prediction.

Unit m/s^2
Follower offset used
About this output

The follower offset used, mm (the challenge's when a challenge fixes it).

Unit mm
Peak jerk (between jumps)
About this output

The largest follower jerk magnitude over the program between jumps, in m/s^3 (analytic). Blank while challenge 1 awaits a prediction.

Unit m/s^3
Follower type used
About this output

The follower type used (the challenge's when a challenge fixes it).

No unit declared
Peak velocity
About this output

The largest follower speed over the program, in m/s, from each law's velocity factor (analytic).

Unit m/s
Time for one turn
About this output

The time for one turn of the cam, in s.

Unit s
Comparison segment used
About this output

The segment the law comparison uses; blank when there is no comparison (a dwell, a row not in use, or no moving segment).

No unit declared
Face width needed
About this output

The width the flat face must span, in mm: the travel of the contact point along the face, from the most negative to the most positive s' (flat face only; a real face adds clearance).

Unit mm
Follower height at zero lift
About this output

The follower's height above the pivot at zero lift, in mm: the roller centre height d (roller) or the base radius (flat face).

Unit mm
First undercut or cusp at
About this output

The cam angle in degrees of the first frame that undercuts or meets a cusp; blank when none does.

Unit deg
This page is provided by LogicCommons for informational purposes only. Results are analysis outputs computed from the inputs you supply and are not professional advice. Verify all inputs and results independently.

LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.

Methodology

Purpose and model boundary

This lab designs the motion of a disk cam that turns counterclockwise at constant speed and drives a translating follower: a roller follower, whose axis may be offset from the cam's pivot, or a flat-faced follower, whose face is perpendicular to its axis. You write a motion program of up to six segments of rise, dwell and return, each with one of seven standard motion laws, and the lab returns the lift, velocity, acceleration and jerk every 2.5 degrees of the turn, the pressure angle, the cam profile and pitch curve, the radius of curvature of the cam surface with the undercut and cusp checks, each segment's analytic peaks, and where velocity, acceleration or jerk jump at a joint (the fundamental law of cam design). In Advanced it also compares the seven laws on one segment and sizes the base circle. Five scored challenges use the same model.

It is a lab for learning cam design and machine kinematics: why a law that starts and stops at rest beside a dwell avoids shocks, how the peak acceleration grows with the lift and the speed and falls with the square of the segment's angle, and how the base circle, the roller and the offset decide whether the follower jams or the cam undercuts. It is not a design tool for a real cam. The follower stays in contact (no spring, no follower jump), and there are no dynamics, loads, friction, stresses or wear.

The model is the calculation authority. The page sends the values you set to the model and draws only what it returns: the cam profile and pitch curve turning frame by frame, the follower's position, the shaded pressure-angle and undercut zones, the lift, velocity, acceleration and jerk diagrams and the joint markers. The page computes no lift, derivative, pressure angle or radius of curvature itself.

Inputs and units

Input Meaning and unit
Follower type Roller or Flat-faced (default Roller).
Motion program Up to six rows, one per segment: the end angle (a whole multiple of 5 degrees from 5 to 360), the lift at the end (0 to 100 mm) and one of the seven motion laws: Constant velocity, Constant acceleration, Simple harmonic, Cycloidal, Polynomial 3-4-5, Polynomial 4-5-6-7 or Modified trapezoidal. The default is a 20 mm rise in 90 degrees, a dwell to 150 degrees, a return to 0 by 240 degrees and a dwell to 360, every segment Polynomial 3-4-5.
Base circle radius Rb, the cam's smallest radius, from 10 to 200 mm (default 40 mm).
Roller radius Rr, from 1 to 50 mm (default 10 mm). It is used by the roller only, but checked for the flat face too.
Follower offset e, from -50 to 50 mm (default 0), and smaller in size than the base circle radius. Positive puts the follower axis to the right of the pivot, which lowers the rise's pressure angle for this counterclockwise cam. Used by the roller only.
Cam speed From 10 to 3,000 rpm (default 300 rpm), counterclockwise.
Pressure angle limit From 10 to 60 degrees (default 30 degrees): above it the follower may jam in its guide.
Comparison segment The segment on which the seven laws are set side by side: 0 for the first moving segment (default), or 1 to 6.
Challenge number 0 for free exploration, or 1 to 5 to load a challenge.
Your prediction (challenge 1) Not yet predicted, Simple harmonic, Cycloidal or About the same. Used only in challenge 1.

The motion program's rules: each segment moves from the previous row's lift (0 for row 1) to its own; a segment that keeps its lift is a dwell, and its law (still required) is not used. The rows in use start at row 1 with no gap, their end angles increase, and the last row ends at 360 degrees with lift 0, so the motion repeats every turn. Every rise or return lasts at least 30 degrees; a dwell may be as short as 5.

Where each input is set:

  • On the canvas only: the motion program (drag a vertex of the displacement diagram to move a segment's end angle, in steps of 5 degrees, or its lift, in steps of 0.5 mm, and tap a law chip to change a law; the last vertex, 360 degrees and lift 0, is fixed), the follower type, the base circle radius (drag the rim of the base circle), the roller radius (drag the rim of the roller), the offset (drag the follower axis sideways) and your prediction for challenge 1. Arrow keys move a focused handle, and Enter opens its exact numbers.
  • In the input panel: the cam speed, the pressure angle limit, the comparison segment and the challenge number.

Governing relationships

The segment and its law. Segment k runs from angle θ₀ to its end angle, over β = (end - θ₀) degrees, and changes the lift by h = (its lift - the previous lift); h > 0 is a rise, h < 0 a return. At cam angle θ inside it, the normalised position is u = (θ - θ₀) / β, from 0 to 1, and the lift is s = s₀ + h·f(u), where s₀ is the lift at its start and f rises from f(0) = 0 to f(1) = 1. The seven laws, with w = u for u < 1/2 and w = 1 - u after:

  • Constant velocity: f = u.
  • Constant acceleration: f = 2w² for u < 1/2, and 1 - 2w² after.
  • Simple harmonic: f = (1 - cos πu) / 2.
  • Cycloidal: f = u - sin(2πu) / (2π).
  • Polynomial 3-4-5: f = 10u³ - 15u⁴ + 6u⁵.
  • Polynomial 4-5-6-7: f = 35u⁴ - 84u⁵ + 70u⁶ - 20u⁷.
  • Modified trapezoidal: the acceleration rises as a quarter sine to its peak A over the first eighth of the segment, stays at A to three eighths, falls as a quarter cosine to 0 at the middle, and the second half mirrors the first; A = 8π / (π + 2), about 4.888.

Derivatives with respect to the cam angle. With β in radians,

s′ = (h/β)·f′(u) (mm/rad), s″ = (h/β²)·f″(u) (mm/rad²), s‴ = (h/β³)·f‴(u) (mm/rad³).

Time derivatives. With the angular speed ω = rpm·π/30 (rad/s), the follower velocity is v = s′·ω / 1000 (m/s), the acceleration a = s″·ω² / 1000 (m/s²) and the jerk j = s‴·ω³ / 1000 (m/s³). The time for one turn is 60/rpm seconds.

Peak factors. Each law's largest |f′|, |f″| and |f‴| over the segment are its velocity, acceleration and jerk factors Cv, Ca and Cj, so a segment's peaks are Cv·|h|·ω/β, Ca·|h|·ω²/β² and Cj·|h|·ω³/β³ (divided by 1000 for metres):

Law Cv Ca Cj
Constant velocity 1 0 0
Constant acceleration 2 4 0
Simple harmonic π/2 (1.5708) π²/2 (4.9348) π³/2 (15.503)
Cycloidal 2 2π (6.2832) 4π² (39.478)
Polynomial 3-4-5 1.875 10/√3 (5.7735) 60
Polynomial 4-5-6-7 2.1875 84·√5/25 (7.5132) 52.5
Modified trapezoidal 2 A (4.8881) 4π·A (61.426)

These are peaks "between jumps": an infinite spike where velocity or acceleration jumps is reported as a joint class, never as a number.

Joints and the fundamental law of cam design. At the end of each segment, and at the wrap from 360 back to 0 degrees, the lab compares the velocity, acceleration and jerk at the end of one segment with those at the start of the next, using each law's exact end values. A difference larger than 1×10⁻⁹ of the larger value is a jump. The joint reads Velocity jump (infinite acceleration, a shock), Acceleration jump (infinite jerk), Jerk jump, or Smooth. The constant acceleration law also jumps in acceleration at its middle. The worst jump over the program sets the summary: Smooth: continuous jerk; Jerk jumps: acceleration continuous; Acceleration jumps: infinite jerk; or Velocity jumps: infinite acceleration. Beside a dwell, constant velocity makes a velocity jump; constant acceleration and simple harmonic make an acceleration jump; cycloidal, 3-4-5 and modified trapezoidal make a jerk jump; and 4-5-6-7 is smooth.

Follower geometry. The pivot is at the origin and the follower axis is the vertical line x = e. For a roller, the prime circle radius is Rp = Rb + Rr and the roller centre sits at height Y = d + s, with d = √(Rp² - e²). For a flat face, the face sits at height Y = Rb + s.

  • Pressure angle (roller): tan φ = (s′ - e) / (d + s). A flat face perpendicular to its axis has a pressure angle of 0 at every frame.
  • Radius of curvature (roller): with X = s′ - e and T = √(Y² + X²), the pitch curve's radius of curvature is T³/D, where D = Y² + X·(2s′ - e) - Y·s″ is positive on a convex stretch. The cam surface radius is T³/D - Rr on convex frames; on a concave stretch it is left blank, since every roller fits there.
  • Radius of curvature (flat face): ρ = Rb + s + s″.
  • Undercut and cusp: a frame undercuts (roller) or meets a cusp (flat face) when its surface radius is at or below 0 (within 1×10⁻⁹ of max(1, Rb)).
  • Profile points: the contact point is the roller centre moved by Rr toward the cam along the normal (roller), or the point (s′, Rb + s) on the face (flat face), rotated into the cam's own frame by the cam angle. For a roller the roller centre, rotated the same way, traces the pitch curve.

Base circle sizing (Advanced). For a roller, the limit |φ| ≤ φ_lim holds at a frame when d ≥ |s′ - e| / tan φ_lim - s, so the smallest base circle that meets the limit at every frame is max(10 mm, √(d_req² + e²) - Rr), with d_req the largest of those values over the frames. For a flat face, a cusp needs Rb + s + s″ ≤ 0, so the smallest base circle without one is max(10 mm, the largest of -(s + s″)). Six candidates, 0.5, 0.75, 1, 1.5, 2 and 3 times the base radius, are then evaluated at every frame.

Flat face width. The contact point sits at x = s′ along the face, so the face must span from the most negative to the most positive s′ (the largest Cv·h/β of the segments): the travel of the contact point, without clearance.

Calculation sequence

  1. Check the inputs in the order of the list under Errors and warnings.
  2. Take the values used: in a challenge, its own program entries, follower, radii, offset, speed and limit, except the inputs it leaves to you. The comparison segment and the prediction are never replaced.
  3. Build the segment table: each segment's start and end angles, its lift change, whether it moves, and its law.
  4. For each of 145 frames, every 2.5 degrees from 0 to 360 (frame 144 repeats frame 0, so the profile closes), find the segment, then compute the lift, velocity, acceleration and jerk.
  5. At each frame, compute the pressure angle, the radius of curvature, the undercut or cusp flag, the profile and pitch points, and the zone code.
  6. Compute each segment's analytic peaks and its largest sampled pressure angle, then the joint classes.
  7. Compute the program scalars, the face width, the base circle sizing and the law comparison.
  8. Set the status and, in a challenge, score it.

Outputs and interpretation

Motion:

  • Peak velocity (m/s), peak acceleration (between jumps) (m/s²) and peak jerk (between jumps) (m/s³): the largest over the program, from each law's factors.
  • Sampled peak velocity, acceleration and jerk: the largest over the 144 frames. Every segment's midpoint is a frame, so the sampled peak velocity equals the analytic one; the sampled acceleration can sit slightly below it.
  • The fundamental law: the worst joint class over the program, and where the worst jump is (the cam angle of the first such joint, 0 for the joint at 360 degrees, or the middle of a constant-acceleration segment; blank when the motion is smooth).
  • Largest lift (mm), segments in use, moving segments, angular speed (rad/s) and time for one turn (s).

Geometry:

  • Largest pressure angle (degrees, 0 for a flat face) and the cam angle where it first occurs (roller).
  • Smallest surface radius of curvature (mm) over the convex frames, and where it first occurs. At or below 0 the roller undercuts or the flat face meets a cusp.
  • Frames that undercut or cusp, and the cam angle of the first.
  • Prime circle radius Rb + Rr (roller), follower height at zero lift (d for a roller, Rb for a flat face) and the face width needed (flat face).
  • Smallest base circle for the pressure limit (roller) and smallest base circle without a cusp (flat face), both at least 10 mm and both on the frames.

Tables: the cam frames (angle, segment, lift, velocity, acceleration, jerk, pressure angle, surface radius, profile and pitch points, zone: 1 past the pressure angle limit, 2 undercut or cusp, 3 both); the segments (start, end, law or Dwell, lift change, analytic peaks, largest pressure angle, joint at its end); the seven laws on the comparison segment (their factors, the peaks they would give, their largest pressure angle over 21 samples, and the joint each makes beside a dwell); and the six base circle candidates (largest pressure angle, smallest surface radius, Within limit or Above limit, and Smooth, Undercut or Cusp, or Offset too large where the offset is not smaller than the candidate).

Reading the canvas: the cam profile is drawn from the returned profile points and turns with the frame; the follower rises by the returned lift; shaded stretches are past the pressure angle limit or undercut. The four diagrams below plot lift, velocity, acceleration and jerk against the cam angle, with a cursor at the current frame and markers at the joints. A spike in the jerk diagram, or a step in the acceleration, is where the fundamental law is broken.

Challenges

Every challenge uses a roller, no offset, 300 rpm and a 30 degree limit, and fixes its own program; the page names the inputs that challenge lets you change. The model scores each challenge MET (100 points) or NOT MET (0), shows the value it scored, and gives a one-line hint while it is not met.

  1. Which peak is lower? Both moving segments travel 20 mm in 90 degrees. Predict which law gives the lower peak acceleration: simple harmonic or cycloidal. The value scored is the return's peak acceleration over the rise's; it is met when your prediction names the law with the lower peak (About the same when the ratio is within 1×10⁻⁹ of 1).
  2. A smooth quick rise. Lift the follower 25 mm within 120 degrees with continuous acceleration and a peak acceleration of at most 34 m/s². You choose the rise's end angle and law. It is met when the rise ends by 120 degrees, neither joint beside it jumps in velocity or acceleration, its law has no internal jump, and its peak acceleration (the value scored) is at most 34 m/s².
  3. The smallest cam. Find the smallest base circle, to the nearest whole millimetre, that keeps every pressure angle at or below 30 degrees. It is met when the largest pressure angle (the value scored) is within the limit and the base circle is less than 1 mm above the smallest base circle for the pressure limit.
  4. The biggest roller. Choose a roller radius of at least 35 mm that does not undercut the cam. It is met when no frame undercuts; the value scored is the smallest surface radius.
  5. Lowest peak for the lift. Keep both 60 degree dwells. Split the other 240 degrees between the rise and the return and choose their laws so the largest acceleration is within 0.5% of the lowest possible, with continuous acceleration. The value scored is the peak acceleration as a percentage of the lowest possible, 4·A·h·ω²/B² for the 20 mm lift h over B = 240 degrees in radians: both segments modified trapezoidal with an equal split. It is met at 100.5% or less, with both dwells at least 60 degrees and no velocity or acceleration jump.

Challenge 1 holds back the answer until you predict. While your prediction reads Not yet predicted, the peak acceleration and jerk (analytic and sampled), the acceleration and jerk columns of the frames, the segments' peak acceleration and jerk, the law comparison and the value scored are blank, and the challenge reads NOT MET with a prompt to predict first. The lift and velocity curves, the profile and the status stay shown. Your prediction changes nothing outside challenge 1.

What to take from the lab: a smooth law costs a higher peak; a longer segment lowers the peak acceleration with the square of its angle; and a bigger base circle lowers the pressure angle and raises the radius of curvature, at the price of a bigger cam.

Validation and status logic

The status reads the first match in the list under Errors and warnings. The follower type, the program rows and the scalar ranges are checked on the values you entered; the program's order and segment lengths are checked on the program used, since a challenge fixes some program entries and frees others. The CHECK items follow, on the values used, also inside challenges. A profile that cannot be cut comes first, then the infinite acceleration, then jamming, then the infinite jerk. A jerk jump alone raises no CHECK; the fundamental law output names it. A challenge number that is not a whole number from 0 to 5 counts as no challenge selected.

Assumptions and limitations

  • A rigid disk cam at constant speed, turning counterclockwise, with a translating roller or flat-faced follower that stays in contact. No spring, follower jump, dynamics, friction, stress or wear. With the opposite rotation the offset's sign reverses. The flat face is perpendicular to its axis, so the offset only moves the face.
  • At most six segments and seven laws; lifts 0 to 100 mm; moving segments at least 30 degrees; base circle 10 to 200 mm; roller 1 to 50 mm; offset -50 to 50 mm; 10 to 3,000 rpm; limit 10 to 60 degrees.
  • Frames every 2.5 degrees. The sampled peak acceleration can be low by up to about 2.6%; the frame maximum of the pressure angle can sit below the continuous maximum, by up to about 2.6 degrees at a velocity jump of the constant velocity law. An undercut or cusp zone narrower than 2.5 degrees can be missed.
  • The law comparison uses 21 samples per segment, so its largest pressure angle can differ slightly from the frames'.
  • The smallest base circles are found on the frames, with a 10 mm floor; at the floor a large offset may still need a larger circle.
  • A value within 1×10⁻⁹ (relative) of a threshold may flip a status or a joint class.

Restrictions and non-computing states

Under NOT VALID every result, table and diagram is blank; a selected challenge reads NOT MET with a score of 0, and its goal and hint stay shown. Outputs that belong to the other follower type are blank: the pressure angle position, the prime circle and the pressure-limit sizing for a flat face; the face width and the cusp sizing for a roller. The law comparison is blank when the comparison segment is a dwell or a row not in use, or when nothing moves. In challenge 1, until you predict, the acceleration and jerk results are held back as described under Challenges.

Errors and warnings

The status messages, first match wins:

  • NOT VALID: choose a follower type from the list
  • NOT VALID: row k of the motion program needs an end angle that is a whole multiple of 5 degrees from 5 to 360, a lift from 0 to 100 mm and a motion law from the list, or leave the row blank: k is the lowest row at fault.
  • NOT VALID: the motion program must fill complete rows from row 1 down with no gap, its end angles must increase, and its last row must end at 360 degrees with lift 0
  • NOT VALID: segment k moves the follower in less than 30 degrees; a rise or a return needs at least 30 degrees
  • NOT VALID: the base circle radius must be from 10 to 200 mm, the roller radius from 1 to 50 mm, and the offset from -50 to 50 mm and smaller in size than the base circle radius
  • NOT VALID: the cam speed must be from 10 to 3000 rpm and the pressure angle limit from 10 to 60 degrees
  • NOT VALID: the comparison segment must be a whole number from 0 to 6, the challenge number a whole number from 0 to 5, and the law prediction one of the listed choices
  • CHECK: every lift level is 0, so the follower never moves; raise a lift level to make a rise
  • CHECK: the roller undercuts the cam: on a convex stretch the pitch curve bends more tightly than the roller radius, so the cut surface would lose part of the motion; use a smaller roller or a larger base circle
  • CHECK: the cam surface folds into a cusp (base radius plus lift plus its second derivative at or below 0), so the flat face cannot follow the motion; use a larger base circle or a gentler or longer segment
  • CHECK: the velocity jumps at a joint, so the acceleration is infinite there (a shock load); choose laws whose velocities match at every joint, such as laws that start and end at rest beside a dwell
  • CHECK: the pressure angle passes the limit, so the follower may jam in its guide; use a larger base circle, an offset, or a longer rise or return: roller only.
  • CHECK: the acceleration jumps at a joint or inside a constant-acceleration segment, so the jerk is infinite there; the fundamental law of cam design asks for continuous lift, velocity and acceleration
  • OK: the program is valid and none of the above applies.

References

This laboratory is an educational model of a disk cam driving a translating roller or flat-faced follower. The lift of each rise or return follows one of seven standard motion laws, written in a normalised form whose largest first, second and third derivatives are the law's velocity, acceleration and jerk factors. The lab differentiates the lift with respect to the cam angle and the time, tests every joint for jumps in velocity, acceleration and jerk as the fundamental law of cam design asks, and computes the pressure angle and the radius of curvature of the cam surface from the classical formulas for an offset roller and a flat-faced follower, with the undercut and cusp checks and the smallest base circle that keeps the pressure angle within a limit.

Sources and further reading

  • The standard motion curves (constant velocity, constant acceleration, simple harmonic, cycloidal, trapezoidal and modified trapezoidal, and polynomial curves) and their normalised velocity, acceleration and jerk factors: E. Söylemez, Mechanisms, Middle East Technical University, chapter 8, Cam Mechanisms, section 8.3, Basic Cam Motion Curves. METU
  • The pressure angle of an inline and an offset roller follower, the smallest base circle for an allowed pressure angle, the radius of curvature of the pitch curve and of a flat-faced follower's cam, and undercutting: E. Söylemez, Mechanisms, Middle East Technical University, chapter 8, section 8.4, Cam Size Determination. METU
  • Cam nomenclature, follower types and arrangements (roller, flat-faced, offset), and the base circle, pressure angle and simple follower motions: Y. Zhang, S. Finger and S. Behrens, Introduction to Mechanisms, chapter 6, Cams, part of Rapid Design through Virtual and Physical Prototyping, Carnegie Mellon University. Carnegie Mellon University
  • The displacement, velocity, acceleration and jerk diagrams, the fundamental law of cam design, polynomial cam functions, and the sizing of a cam for pressure angle and radius of curvature: R. L. Norton, Design of Machinery, McGraw-Hill, the chapter on cam design.

No table or text from any of these publications is reproduced, and none of their authors or publishers has reviewed or endorses this laboratory.

This laboratory is for learning. Its results hold only within its stated ranges; the follower is assumed to stay in contact with no spring, dynamics, friction or wear, so a profile from this lab is not a cam ready to cut.

Links were current at build time. If one moves, search the document's title rather than reporting a broken link as a defect.

Results are informational and not professional advice. See our Terms of Use. Powered by SpreadsheetWeb · About · Privacy · Terms