On this page
A mechanism turns one kind of motion into another: rotation into swinging, rotation into straight-line movement, or a steady turn into a precisely timed lift. Linkages and cams are the two oldest ways of doing it, and they are still inside car engines, wiper systems, packaging machines, folding furniture and excavators.
Links, joints and degrees of freedom
A linkage is made of rigid links connected by joints: pin (revolute) joints that allow rotation and sliding (prismatic) joints that allow straight-line motion. One link is fixed: the frame or ground. The number of independent inputs needed to drive the mechanism is its degree of freedom (DOF), given for planar linkages by the Gruebler–Kutzbach equation:
where is the number of links (including the ground), the number of full joints (pins and sliders) and the number of half joints (rolling with slipping, such as a cam contact).
Worked example: degrees of freedom of a four-bar linkage
A four-bar linkage has 4 links and 4 pin joints.
A result of 0 means a rigid structure; a negative result means it is over-constrained; 2 or more means you need more than one input (or the mechanism will flop around).
The four-bar linkage
Four links, four pins: the simplest mechanism with one degree of freedom, and the most widely used. The link fixed to the frame is the ground, the link driven by the motor is the input (often a crank), the link opposite the ground is the coupler, and the remaining link is the output (often a rocker).
The Grashof condition
Whether any link can turn all the way round depends only on the lengths. Call the shortest link , the longest and the other two and .
If this holds (a Grashof linkage), at least one link can rotate fully. Which kind of mechanism you get then depends on which link is fixed:
| Shortest link is… | Mechanism | Motion |
|---|---|---|
| Next to the ground | Crank–rocker | Shortest link rotates fully, the opposite link rocks |
| The ground | Double crank (drag link) | Both side links rotate fully |
| The coupler | Double rocker | Both side links only swing |
If , no link can rotate fully: every link only rocks (a triple rocker).
Worked example: what kind of four-bar is it?
The linkage in the diagram has a 70 mm crank, a 190 mm coupler, a 140 mm rocker and a 220 mm ground link.
290 ≤ 330, so it is a Grashof linkage, and the shortest link (the crank) is next to the ground.
The slider-crank
Replace the rocker of a four-bar with a slider moving in a straight line and you have the slider-crank, the mechanism in every piston engine, compressor and reciprocating pump. The crank radius sets the stroke (), and the connecting rod length shapes the motion. The piston’s distance from the crank centre is:
Worked example: piston position at 90° of crank
An engine has a 40 mm crank radius (80 mm stroke) and a 140 mm connecting rod. How far has the piston moved from top dead centre after 90° of crank rotation?
Where four-bar linkages are used
Windscreen wipers (crank–rocker), excavator and loader arms, car suspensions (double wishbone), toggle clamps, folding tables and chairs, bicycle suspension, door closers, oil-well pump jacks and the pantograph on trains.
Cams and followers
A cam is a shaped piece that pushes a follower through a planned motion as it turns. Where a linkage gives whatever motion its lengths produce, a cam can give almost any motion you design into its profile, including dwells where the follower stays still.
Cam and follower types
| Cams | Followers |
|---|---|
| Disc (plate) cam: a profiled disc; the most common | Knife-edge: simple but wears fast; rarely used |
| Cylindrical (barrel) cam: a groove around a cylinder moves the follower parallel to the axis | Roller: rolls on the cam; low friction and wear; the most common in machines |
| Face (groove) cam: the follower runs in a groove, so no return spring is needed | Flat-faced (mushroom): compact and stiff; used for engine valves |
| Linear (wedge) cam: a profile that slides instead of turning | Followers either translate (move in a straight line) or oscillate (swing on a pivot) |
Describing the motion
A cam’s motion is drawn as a displacement diagram: follower lift against cam angle, usually split into rise, dwell, return and dwell. The shape of each rise matters:
- Constant velocity: simple, but the sudden start and stop gives infinite acceleration in theory, causing shocks and noise.
- Simple harmonic: smooth velocity, but acceleration still jumps at the ends of a dwell.
- Cycloidal: acceleration starts and ends at zero; the smoothest of the three and the usual choice for high-speed cams.
For a translating roller follower, keep the pressure angle (the angle between the follower’s direction and the contact force) below about 30°, otherwise the follower jams sideways in its guide. A larger base circle reduces the pressure angle at the cost of a bigger cam.
Where cams are used
Engine camshafts opening the valves, packaging and printing machines, automatic lathes, sewing machines, door locks and toys. Many cam functions are now done by servo motors, but cams are still the cheapest and most reliable way to repeat the same motion millions of times at speed.
Designing mechanisms in CAD
A CAD assembly with correctly defined mates is a working model of the mechanism: you can drive the crank and watch the coupler, check for collisions and measure the output angle at every position. Motion studies add velocities, accelerations and forces, and they show early whether a linkage reaches a toggle (dead) position where it locks or loses control.
Key points
- DOF = 3(n − 1) − 2j₁ − j₂; a four-bar linkage has one.
- Grashof: if s + l ≤ p + q, at least one link turns fully; the fixed link decides the type.
- The slider-crank is a four-bar with a slider: the heart of every piston engine.
- A cam gives any planned motion, including dwells; cycloidal profiles run smoothest.