Mechanisms & Machines

Cam Profile Simulator

Harmonic, cycloidal or constant-velocity rise — and the acceleration peak that decides the spring.

Standards: Cam design practice · ASME B1.1 style nomenclature for motion laws Format: browser simulator Cost: free, no sign-up Reviewed: November 2026
Cam Profile Simulator — live Cam design practice · ASME B1.1 style nomenclature for motion laws
The displacement diagram is the motion law; the profile is that law wrapped around the base circle.

Inputs

12 mm
90 °
60 °
90 °
35 mm
300 rpm
45 °

Presets

Follower lift at this angle6.00 mm
Peak velocity0.377 m/s
Peak acceleration23.7 m/s²
Total cycle240°
Dwell at full lift60°
Cam rev time0.20 s
Profile radius range35 – 47 mm

Every number below is substituted from the current input state — change a slider and the arithmetic changes with it.

Rise law
→ s = h/2 · (1 − cos(π θ/β)) — acceleration is a cosine, no shock at the ends
Velocity
→ v = ds/dθ · ω, ω = 2πn/60 = 31.416 rad/s → peak 0.377 m/s
Acceleration
→ a = d²s/dθ² · ω² → peak 23.7 m/s²

The acceleration peak, not the velocity, sets the spring force needed to keep the follower on the cam — a jumping follower loses contact and lands as an impact.

Practice problem

A cam is a function generator made of metal: the profile is the motion law. Choose harmonic motion and the acceleration is a cosine; choose constant velocity and the acceleration is theoretically infinite at the ends — which is why real profiles blend the corners.

The design question is never just "what lift do I need". It is what acceleration the follower will see at the speed it runs, because acceleration times follower mass is the force the spring has to supply, and a spring that cannot supply it lets the follower leave the cam.

This simulator draws the cam profile and the displacement diagram from the segment angles you set, and reports the peak velocity and acceleration that the follower spring has to cope with.

Cam and follower mechanisms: where they earn their place

A cam converts steady rotation into a prescribed reciprocating motion with no sensors, no software and no actuator. You write the motion law as a curve, wrap that curve around a base circle, and the machine follows it forever. That directness is why cams still run engine valves, sewing machines, packaging indexers and printing presses after a century of servos.

The trade is fixed motion for fixed cost. A cam cannot be reprogrammed, its accuracy is set by grinding, and every change means a new part. In exchange it is compact, self-contained, cheap in volume, and it never loses position after a power failure.

The design flow is always the same. Decide the displacement programme — rise, dwell, return, dwell — pick a motion law for the rise and return, size the base circle so the pressure angle stays acceptable, check that the radius of curvature never undercuts the roller, then size the spring so the follower stays in contact at running speed.

This page walks that sequence with the numbers that matter at each step: peak velocity, peak acceleration, pressure angle and the jump speed beyond which the follower leaves the cam no matter how much spring you add.

Types of cams and followers

Cams are classified by geometry. A radial disc cam is the common form: a plate with a profile cut into its edge, rotating about a fixed centre, driving a follower in line with or offset from that centre. A cylindrical cam carries the profile as a groove or a ridge on a rotating cylinder, converting rotation into axial motion over a long stroke. A face cam puts the profile on an end face, and a translating cam slides rather than rotates, used in some textile and packaging mechanisms.

Followers are classified by the contact element, and the choice changes the kinematics, not just the hardware.

  • Knife-edge follower: theoretically clean, practically a wear point. Instruments and light duty only.
  • Roller follower: rolling contact, low friction, the industrial default. Needs a pin sized for side load and a roller that does not skid on the flank.
  • Flat-faced follower: large contact area, good for heavy load at low speed, sensitive to profile curvature and to misalignment.
  • Spherical or mushroom follower: tolerates misalignment and offset, common on automotive valve gear.
  • Oscillating arm with roller: absorbs misalignment, keeps friction low, the most common arrangement in machinery.

Motion laws for cam design

The rise law is the design decision that everything else follows from. Four laws cover most work, and each is a different compromise between smoothness, peak acceleration and ease of manufacture.

Simple harmonic motion is a cosine displacement. Velocity peaks at mid-rise and acceleration peaks at both ends, at π²/2 ≈ 4.93 times the average. It is easy to generate and machine, gentle in the middle, and abrupt at the boundaries — the acceleration steps discontinuously when the follower meets the dwell.

Cycloidal motion is generated by a point on a circle rolling along a straight line. Displacement starts and ends with zero velocity and zero acceleration, so it meets the dwell without impact. The price is a higher mid-segment peak, 2π ≈ 6.28 times average.

Constant velocity is a straight line, needed where a process must run at uniform speed. Its ends are theoretically infinite acceleration, so real designs blend in transition arcs or a modified sine — a drawing that specifies constant velocity without a transition is incomplete.

LawPeak velocityPeak accelerationCharacter
Simple harmonic1.57 × avg4.93 × avgSmooth middle, impact at ends
Cycloidal2.00 × avg6.28 × avgZero end acceleration, higher peak
Constant velocity1.00 × avginfinite at endsUniform speed, needs transitions
Modified sine (trapezoid)≈1.5 × avg≈5.5 × avgGood all-round compromise
Modified trapezoid≈1.6 × avg≈4.9 × avgPopular for high-speed valves

Key design parameters

Four numbers define the motion programme. Lift is how far the follower must travel. Rise angle is how much cam rotation it takes. Dwell is how long it stays at full lift. Return angle brings it back. Those angles must sum to 360° with the base dwell, and the split is usually dictated by the process rather than by dynamics.

Base circle radius is the free parameter. It does not change the follower motion at all, but it decides the pressure angle, the minimum radius of curvature, and therefore how large, how gentle and how manufacturable the cam will be. The only reason to make it small is packaging.

Speed converts the geometry into dynamics. Linear velocity scales with rpm, acceleration with the square of it, and required spring force with acceleration. Doubling speed quadruples the spring demand — the single most important relationship in cam design.

Offset, if used, tilts the follower axis away from the cam centre. It can reduce the pressure angle on the rise at the cost of increasing it on the return, so it is a redistribution rather than an improvement.

Five profiles compared on the same cam

The clearest way to see what a motion law costs is to hold lift, angles and base circle fixed and change only the law. With 12 mm lift, 90° rise, 60° dwell, 90° return and a 35 mm base circle at 300 rpm, the displacement curves look similar and the acceleration traces do not.

Harmonic gives about 24 m/s² at the ends of the rise and almost nothing at mid-rise — the follower is thrown off the flank at the boundaries. Cycloidal gives about 31 m/s² in the middle and zero at the ends. Constant velocity, with its transitions removed, has no finite peak at all: the curve is a vertical line on the plot, which is the graphical form of the word "impact".

The practical reading is that peak acceleration is not the only criterion. Where the peak sits matters as much as its size, because a peak at a boundary lands on a dwell and produces noise, while a peak in the middle is absorbed by the flank.

This is also why "which law is smoothest" has no single answer. Harmonic is smoother in the middle, cycloidal at the ends. Indexing mechanisms need the ends quiet and accept the middle; high-speed engine cams usually use modified laws that balance both.

Why jerk matters

Jerk is the derivative of acceleration, and it describes how fast the force on the follower changes. A large jerk is a shock: it excites the follower spring, the pushrod and the housing at their natural frequencies, and the resulting vibration does not appear in the displacement diagram at all.

Harmonic motion has infinite jerk at the segment boundaries, because acceleration steps discontinuously. That single mathematical fact is the origin of the rattle in cheap cam mechanisms: every cycle, the follower lands on the dwell with a step change in force, and the structure rings.

Cycloidal motion has finite jerk everywhere, and polynomial laws go further by specifying zero jerk at the ends. The cost is a steeper peak in the middle, so the design becomes a conscious trade between boundary shock and mid-stroke load.

In practice, jerk limits matter most where the follower is light and stiff — engine valve gear, high-speed indexers — because light stiff systems have high natural frequencies that respond to every discontinuity. Heavy, damped mechanisms hide jerk behind inertia and tolerate laws that would destroy a valve train.

Pressure angle: the hidden constraint on lift

The pressure angle is the angle between the follower axis and the normal to the cam surface at the contact point. It measures how much of the cam force lifts the follower and how much pushes it sideways into the guide.

Its tangent is roughly proportional to velocity divided by radius, tan α ≈ v/(ω·r). That single relation explains every pressure angle problem: more lift over the same angle raises velocity, a smaller base circle lowers r, and both push the angle up. The limit is about 30° for a translating roller follower and 45° for an oscillating arm, where the "guide" is a bearing rather than a sliding surface.

Exceeding the limit produces side load on the guide, wear on one side of the bore, and in the extreme a self-locking condition where the cam cannot lift the follower at all. No spring stiffness fixes it: a stiffer spring adds to the side load instead of reducing it.

The remedies are geometric. Increase the base circle, lengthen the rise angle, reduce the lift, or use an offset — in roughly that order of cost. A design that needs a 60 mm base circle to stay under 30° is telling you something about the lift, not about the base circle.

A practical case: valve timing in a small engine

A single-cylinder four-stroke is a useful worked example because every constraint is visible at once. The cam turns at half crank speed, the follower is a mushroom tappet with a very small lift — around 6 mm on a small engine — and the spring must keep it on the flank at 3 600 rpm, which is 1 800 rpm at the cam.

At that speed the rise happens in about 8 ms. A harmonic rise of 6 mm over 100° gives a peak acceleration near 300 m/s², and with a tappet and valve mass of around 60 g the required force is about 18 N — modest, but the spring must supply it plus preload plus margin at every point of the cycle, not just the peak.

Valve cams use asymmetric profiles: a fast opening flank, a slower closing flank, and a nose that holds the valve open a little longer than the geometric dwell would suggest. The asymmetry shifts the pressure angle and the acceleration peak so that closing — where the valve seats and the spring is fully compressed — happens gently.

The failure mode to watch is float. As rpm rises, required force rises with the square of speed while spring force stays fixed; past the float speed the tappet leaves the cam, the valve lands on its seat at high velocity, and the seat recesses. Every performance cam is a spring-and-profile package, never a profile alone.

Spring force, jump speed and follower hardware

The spring has one job: maintain contact. Required force is follower mass times acceleration, plus external load, plus a margin of 30 to 50% for friction and manufacturing tolerance. Because spring force grows with compression while the required force varies sinusoidally, the design must be checked at every cam angle, not only at the peak.

The critical condition is negative acceleration — where the cam is decelerating the follower faster than gravity and the spring can manage. Contact is lost there first, and the loss is invisible until the follower lands. Desmodromic mechanisms, with a second cam closing the follower positively, exist to remove this limit entirely and are used in racing engines for exactly this reason.

Hardware choices feed back into the dynamics. A roller follower adds rotating mass but removes sliding friction; a flat-faced follower is lighter at the contact but demands a well-aligned guide. A hollow tappet reduces mass where it matters most, at the end of the train.

Lubrication is part of the design. The flank sees the highest sliding velocity and the thinnest film at the nose, so cam lobes are the first thing to scuff when oil is wrong. A polished flank and a generous nose radius buy more life than a larger spring.

Making, checking and referencing a cam

A one-off profile is laid out on a rotary table, or milled on a CNC from a point table generated by evaluating the displacement function at one-degree intervals. The table resolution matters: coarser tables with linear interpolation leave flats that the follower feels as a kick, and the acceleration trace shows a sawtooth no balancing will remove.

Production cams are ground from a master or directly on a CNC cam grinder with cubic interpolation. Cutter or wheel diameter must be smaller than the roller, or the follower bridges concave regions and the motion departs from the drawing — the symptom is a hesitation at the bottom of the stroke where a dwell was specified.

Verification is a displacement trace: dial indicator on the follower, one revolution, lift against angle, overlaid on the design curve. Deviations at segment boundaries reveal phase error; deviations at the nose reveal grinding error. A dynamic check with an accelerometer at production speed then shows whether the follower is landing, which is the failure that matters.

For deeper reading, the standard treatments are Norton's Cam Design and Manufacturing Handbook, Shigley's mechanical engineering design chapters on cam dynamics, and Rothbart's Cam Design Handbook. The mathematics is old and settled; the practical difficulty is always in the spring, the pressure angle and the grinding, which is where those books spend most of their pages.

Frequently asked questions

Which motion law should I start with?

Cycloidal for anything driven above a few hundred rpm, because it meets the dwell with zero acceleration and therefore no impact. Harmonic for slow mechanisms where machining simplicity dominates. Constant velocity only where a process needs uniform speed, and never without transition curves.

Why can a stiffer spring not fix a high pressure angle?

Pressure angle splits cam force between lifting the follower and pushing it into the guide. A stiffer spring adds force in both directions, so the side load grows too. Only geometry — larger base circle, longer rise angle, less lift — reduces the ratio.

What is jump speed and why is it a hard limit?

The speed at which required spring force exceeds available force during negative acceleration, so the follower leaves the cam. It scales roughly with the inverse of cam speed squared, and past it the landing impact destroys the roller or the profile within hours.

How big should the base circle be?

As large as the package allows. Base radius does not change the follower motion but lowers both pressure angle and peak curvature, which makes the cam easier to grind and gentler in service. The real constraint is usually space, not mechanics.

What is undercutting?

When the required radius of curvature falls below the roller radius, the theoretical profile loops back on itself. The machined cam takes the outer envelope, so the follower no longer follows the intended motion and the timing drifts.

Why do engine cams use asymmetric profiles?

Because opening and closing have different constraints. A slower closing flank lets the valve seat gently under full spring load, and shifting the nose holds the valve open longer without a longer dwell. The asymmetry redistributes pressure angle and acceleration between the two flanks.

BR

Written and reviewed by Bloom Rocket editorial desk

Bloom Rocket is built and maintained by a small independent team. Every page states the equations it implements and the standards it references, so the working can be checked rather than taken on trust.

How these simulators are built and checked →

Keep going

More mechanisms simulators

All Mechanisms →