Cam (mechanism) Explained: How It Works, Diagram, Parts, Profile Formula and Uses

← Back to Engineering Library

A Cam (mechanism) is a shaped rotating element that drives a follower along a prescribed displacement profile, converting rotary input into precise linear, oscillating, or indexed motion. The cam profile — the shaped edge or groove the follower rides on — is the single most important component, because every millimetre of its geometry directly defines the follower's lift, dwell, and return. Engineers use cams to schedule motion events with mechanical certainty, no electronics required. You see them everywhere: car engines opening intake valves at 7,000 RPM, sewing machines feeding fabric, and packaging lines indexing 600 cycles per minute.

Cam Mechanism Interactive Calculator

Vary the cam angle and motion-cycle segments to see follower lift, dwell timing, and the live cam profile response.

Follower Lift
--
Lift Percent
--
Motion Rate
--
Bottom Dwell
--

Equation Used

y(theta)=L*theta/R for 0<=theta<R; y=L for R<=theta<R+D; y=L*(1-(theta-R-D)/F) for R+D<=theta<R+D+F; y=0 otherwise

This calculator uses the cam displacement diagram as a piecewise motion law. The follower rises linearly from 0 to the maximum lift L over the rise angle R, dwells at full lift for D degrees, falls back over F degrees, then remains on the base-circle dwell for the rest of the 360 degree cycle.

  • One complete cam cycle is 360 deg.
  • Rise and fall are modeled as linear lift ramps matching the worked displacement diagram.
  • Follower lift is measured from the base-circle dwell position.
Watch the Cam (mechanism) in motion
Video: Barrel cam mechanism 1 by Nguyen Duc Thang (thang010146) on YouTube. Used here to complement the diagram below.
Cam Mechanism Diagram Animated diagram showing a plate cam with roller follower, demonstrating how cam profile shape determines follower displacement through a complete rotation cycle, with synchronized displacement graph. Cam Mechanism Profile Shape Determines Follower Displacement Cam Profile Base Circle Roller Follower Return Spring Follower Guide Rotation Spring Force Displacement Diagram 0 6 12 90° 150° 240° 360° Lift (mm) Shaft Angle (°) Rise Dwell Fall Dwell Motion Cycle (360° = one rotation) Rise: 0° - 90° (follower lifts) Dwell: 90° - 150° (max lift hold) Fall: 150° - 240° (follower returns) Accent: Active/Moving Element Primary: Structure Dashed: Reference Animation: 6 second cycle = 1 shaft rotation
Cam Mechanism Diagram.

Operating Principle of the Cam (mechanism)

A cam works by forcing a follower to trace its profile as the cam shaft rotates. The follower — flat-faced, roller, or knife-edge — rides against the cam surface under spring load or positive constraint, and its displacement at any given shaft angle is set entirely by the radial distance from the cam centre to the contact point. Plot that displacement against shaft angle and you get the displacement diagram: rise, dwell, fall, dwell. That diagram is the Cam Motion specification, and it's what the cam grinder cuts into steel.

The geometry must be right or the system tears itself apart. Pressure angle — the angle between the follower's motion direction and the normal to the cam surface at contact — should stay below about 30° for a translating roller follower. Push past that and side-load on the follower stem skyrockets, the bushing wears oval, and you get follower jump at speed. If you specify a profile with sharp acceleration discontinuities, like simple harmonic blended badly into a dwell, the follower hammers the cam at every transition. That's why production cams use cycloidal or modified-trapezoidal profiles — finite jerk at the transitions.

If tolerances drift, you feel it immediately. A cam ground 0.05 mm under spec on the lift portion will close a valve early; in a 4-stroke engine that costs measurable power and can desync ignition timing. Common failure modes are pitting on the cam lobe from contact stress exceeding the Hertzian limit (typically 700–1,400 MPa for hardened steel pairs), follower-roller bearing seizure from inadequate lubrication, and the dreaded scuffing on flat-tappet cams when the break-in oil film fails in the first 20 minutes of running.

Key Components

  • Cam Profile: The shaped working surface that defines follower displacement at every shaft angle. Profile tolerance on a production engine cam is typically ±0.025 mm on lift and ±0.5° on timing, ground on a CNC cam grinder using a master profile.
  • Follower: The element that rides the cam and transmits motion to the output. Roller followers reduce friction and wear at the cost of higher contact stress concentration; flat-faced followers spread load but slide rather than roll, demanding a wedge-shaped oil film and EP additives in the lubricant.
  • Camshaft: The rotating shaft carrying one or more cams in fixed angular relationship. Indexing accuracy between lobes on a multi-cylinder engine camshaft is held to ±0.25° to keep cylinder-to-cylinder timing matched.
  • Return Element: Usually a compression spring or a positive-constraint groove that keeps the follower in contact with the cam during the fall and dwell phases. Spring rate must keep follower-cam contact force above zero at maximum acceleration — typically a 30–50% safety margin over computed inertia load at red-line speed.
  • Base Circle: The smallest radius of the cam, defining the follower position during the dwell-low phase. Base circle diameter sets the minimum cam size and influences pressure angle — a larger base circle reduces pressure angle but increases shaft inertia and weight.

Who Uses the Cam (mechanism)

Cams show up wherever you need a precise, repeatable motion schedule driven from a single rotating input. Because the profile carries the timing information mechanically, you don't need sensors, controllers, or feedback loops — just spin the shaft and the motion happens. That's why cams still dominate high-speed cyclic machinery despite 40 years of servo-motor competition.

  • Automotive: Intake and exhaust valve actuation in every overhead-cam engine — Honda's K-series VTEC uses two cam profiles per valve and switches between them at 5,800 RPM.
  • Sewing & Textile: Feed-dog motion and needle-bar oscillation on industrial lockstitch machines like the Juki DDL-8700, where a pair of cams sets the 4-motion feed pattern.
  • Packaging Machinery: Indexing turret drives on rotary fillers — Krones bottle fillers use barrel cams to lift bottles into the filling valves at up to 72,000 bottles per hour.
  • Firearms: Trigger-sear timing and bolt unlocking on rotary-bolt rifles like the AR-15, where the bolt cam pin rides a helical cam path in the carrier.
  • Watchmaking: Column-wheel chronograph control in movements like the Patek Philippe CH 29-535 PS, where a star-shaped cam coordinates start, stop, and reset functions.
  • CNC Machining: Spindle-stop and tool-change indexing on Swiss-type lathes such as the Tornos Deco 13, where mechanical cams still beat servo-driven equivalents on cycle-time-critical operations.

The Formula Behind the Cam (mechanism)

The most useful cam calculation for a designer is the follower velocity at a given shaft angle, because that tells you whether your follower will track the cam or jump off it at speed. At the low end of typical operation — say 100 RPM on a hand-fed packaging indexer — follower velocity is gentle and spring preload barely matters. At nominal cyclic speeds of 600–1,200 RPM, the follower is approaching the limits of contact mechanics and you need to verify pressure angle. At the high end, 6,000+ RPM in an engine cam, follower jump becomes the dominant failure mode and you size the spring around the peak follower acceleration, not velocity.

vf = ω × (dy / dθ)

Variables

Symbol Meaning Unit (SI) Unit (Imperial)
vf Follower linear velocity m/s in/s
ω Camshaft angular velocity rad/s rad/s
dy / dθ Slope of cam displacement profile at shaft angle θ m/rad in/rad
θ Camshaft rotation angle from reference rad rad

Worked Example: Cam (mechanism) in a high-speed coffee-capsule sealing cam

You are designing the sealing-head cam on a rotary coffee-capsule machine that seals 1,200 capsules per minute. The cam lifts the sealing head 12 mm with a cycloidal rise over 90° of shaft rotation, dwells closed for 60°, then returns. You need to verify peak follower velocity at nominal speed and check what happens when the line slows to changeover speed and when the operator pushes it to the design ceiling.

Given

  • h = 12 mm
  • β = 90 ° (rise angle)
  • Nnom = 1200 cycles/min
  • Nlow = 300 cycles/min (changeover)
  • Nhigh = 1800 cycles/min (design ceiling)

Solution

Step 1 — convert nominal cycle rate to camshaft angular velocity. The cam turns once per capsule cycle:

ωnom = 1200 / 60 × 2π = 125.7 rad/s

Step 2 — for a cycloidal rise, peak follower velocity occurs at mid-rise and equals 2h/β. With h = 0.012 m and β = π/2 rad:

(dy/dθ)max = 2 × 0.012 / (π/2) = 0.01528 m/rad

Step 3 — peak follower velocity at nominal speed:

vnom = 125.7 × 0.01528 = 1.92 m/s

Step 4 — at the low end (changeover at 300 cpm), ω drops to 31.4 rad/s and peak follower velocity falls to vlow = 0.48 m/s. The sealing head moves at a pace you can clearly see — useful for setup and inspection, and spring preload alone keeps the follower glued to the cam with huge margin.

Step 5 — at the high end (1,800 cpm), ω = 188.5 rad/s and vhigh = 2.88 m/s. Peak follower acceleration scales with the square of speed, so it jumps from roughly 480 m/s² nominal to 1,080 m/s² at the ceiling. That's where a flat 25 N/mm return spring stops being adequate — the follower will lift off the cam at the inflection point and impact-load the return, hammering the lobe.

Result

Peak follower velocity at nominal 1,200 cpm is 1. 92 m/s. In practice that feels like a sharp, audible click as the head lands, with about 0.018 seconds total cycle time available — fast, but well within cycloidal-profile capability. At 300 cpm changeover the system is loafing at 0.48 m/s, and at 1,800 cpm the 2.88 m/s peak velocity combined with quadrupled acceleration is what defines the spring sizing. If your measured follower velocity is 15% below predicted, suspect (1) cam-shaft drive belt slipping, dropping effective ω at the lobe — check with a strobe on a timing mark; (2) follower roller bearing partially seized, dragging the velocity envelope down; or (3) cam-profile wear at the rise inflection, which flattens dy/dθ and shows up as visible polishing on the lobe under raking light.

Cam (mechanism) vs Alternatives

Cams compete with linkages, servo-driven actuators, and Geneva drives whenever you need scheduled motion. Each has a sweet spot. Cam Motion wins on raw cyclic speed and mechanical reliability; servos win on flexibility; linkages win on cost when the motion is simple.

Property Cam mechanism Servo-driven linear actuator Four-bar linkage
Max cyclic speed Up to ~9,000 RPM (engine cams) 300–600 cycles/min for 50 mm strokes Up to ~3,000 RPM
Motion-profile flexibility Fixed once cut — re-grind to change Fully reprogrammable Fixed by link geometry
Positional accuracy ±0.025 mm typical, ±0.005 mm precision-ground ±0.01 mm with encoder feedback ±0.1 mm — depends on joint slop
Cost (per unit, mid-volume) $50–$500 for typical industrial cam $800–$3,000 with controller $30–$150
Reliability / lifespan 10⁸–10⁹ cycles with proper lube 10⁷ cycles before motor service 10⁷–10⁸ cycles, joint-wear limited
Best application fit High-speed repetitive cyclic motion Variable-recipe automation Simple oscillating motion

Frequently Asked Questions About Cam (mechanism)

You're hitting valve float, and the usual cause isn't the mean spring force — it's the spring's own natural frequency coinciding with a harmonic of the cam profile. Coil springs have their own resonant modes around 200–400 Hz, and at certain RPMs the coils surge and momentarily lose preload. Check the spring's surge frequency against the cam fundamental times its main harmonics; if any line up within 10%, switch to a beehive or progressive-rate spring, or add a damper coil.

Quick diagnostic: paint a coil with a marker and run the engine to your jump RPM. If the paint smears unevenly, the coils are surging.

It comes down to contact stress versus available oil film. Roller followers concentrate load along a line — Hertzian contact stress can run 1,500 MPa or higher, so you need a hardened lobe (HRC 58+) and a clean rolling action. They suit high-RPM applications where sliding friction would cook the lubricant.

Flat-faced followers spread load over a much larger contact patch, but they slide. They need ZDDP or other extreme-pressure additives in the oil, and a slight cam taper plus follower offset to spin the follower and prevent edge wear. If you're running modern low-ZDDP oil in a flat-tappet cam, you'll wipe a lobe inside 50 hours. For new designs above 3,000 RPM with modern oils, roller is the safe call.

You're almost certainly looking at acceleration discontinuity, not displacement. Plot the second derivative of your profile (the acceleration curve) and look for step changes or sharp peaks. A profile that's smooth in displacement can still have infinite jerk at transitions — for instance, when a parabolic rise meets a dwell without a blending segment.

The fix is to use a cycloidal or modified-sine profile, both of which have continuous acceleration through the entire cycle. The vibration energy you're feeling is the structure ringing at every jerk impulse, 1,200 times a minute.

Pressure angle determines how much of the follower force pushes sideways into the follower stem rather than along its axis of motion. As you shrink the base circle to save space or weight, pressure angle climbs fast — past 30° the side-load on the follower bushing exceeds the axial drive load, and you get bushing wear, follower stick-slip, and chatter.

Rule of thumb: keep pressure angle under 30° for translating followers and under 35° for oscillating followers. If your CAD says you can't, the base circle is too small or the rise angle is too short — extend the rise over more shaft degrees rather than cramming it in.

For prototypes and low-cycle applications, yes — a 3-axis mill with a small ball-end cutter and tight stepover (under 0.05 mm) gets you within ±0.05 mm of profile. For production cams running above 1,000 RPM, no. Milled surfaces have cusps that act as stress raisers under the high contact stress, and the cusps initiate pitting within 10⁶ cycles.

If you must mill the cam, hand-stone the lobe to remove cusps, then nitride or induction-harden the surface. Better: have a cam grinder run it as a one-off — most shops will quote a single profile on a CNC cam grinder for $300–$600 and you'll get the right surface finish and metallurgy in one go.

Closely related but not identical. The cam profile is the physical shape ground into the cam — the actual surface the follower rides on. The cam motion refers to the resulting follower displacement, velocity, and acceleration as a function of shaft angle. You design the cam motion first (what you want the output to do) and then derive the cam profile that produces it, accounting for follower geometry, offset, and roller radius.

Two different profiles can produce the same cam motion if the follower geometries differ — for example, switching from a roller follower to a flat-faced follower requires a re-cut profile even though the desired output motion is unchanged.

References & Further Reading

  • Wikipedia contributors. Cam (mechanism). Wikipedia

Building or designing a mechanism like this?

Explore the precision-engineered motion control hardware used by mechanical engineers, makers, and product designers.

← Back to Mechanisms Index
Share This Article
Tags: