The slider-crank is the mechanism that turned reciprocating motion into a practical engine. It is also the cleanest example of how a single geometric ratio — connecting rod length over crank radius — shapes an entire machine’s behaviour.
This simulator shows exact piston position, velocity and acceleration at any crank angle, with the velocity trace over a full revolution so the asymmetry between the two halves of the stroke is visible.
The position equation and where the asymmetry comes from
With the crank at angle θ measured from top dead centre, piston position from the crank centre is x = r cos θ + √(l² − r² sin² θ). The first term is pure sinusoid; the second is the rod’s contribution, and it is not.
The square root means the piston does not sit at mid-stroke when the crank is at 90°. It is slightly above mid-stroke, so the down stroke covers more distance in the first 90° than the up stroke does. That asymmetry is entirely a rod-length effect: as l/r grows, the square root approaches l and the motion approaches a pure sinusoid.
Velocity and the second harmonic
Differentiating gives v = −rω(sin θ + (r/2l) sin 2θ). The first term is the sinusoid of a crank, the second is a second-harmonic correction of amplitude r/2l. At l/r = 4 that correction is 12.5% of the fundamental — large enough to see clearly in the velocity trace.
The practical consequence is that peak piston speed occurs slightly before 90° after TDC, not at it, and the peak is higher than the sinusoid would suggest. That matters for port timing, valve events and the ring’s lubrication regime.
Rod ratio and what it changes
A short rod packs the engine tighter but increases the maximum angle between rod and cylinder axis, which raises the piston side load and the friction against the bore. It also increases the second-harmonic acceleration, which shows up as higher secondary shaking force.
| l/r | Character | Typical use |
|---|---|---|
| 3.0–3.5 | Compact, high side load, fast piston acceleration | Packaged engines, small compressors |
| 4.0–4.5 | Balanced; common automotive practice | Production engines |
| 5.0–6.0 | Low side load, gentle motion, taller block | Racing, long-stroke industrial |
| >7 | Nearly sinusoidal | Slow-speed pumps, teaching models |
Mean piston speed, and why it limits rpm
Mean piston speed is 2Sn/60 — twice the stroke times revolutions per second. It is the single best predictor of how hard a reciprocating machine is working, because ring friction, gas flow and valve events all scale with it rather than with rpm alone.
Production petrol engines run at 12–18 m/s mean piston speed; racing engines reach 25 m/s; large marine diesels sit near 8–10 m/s despite turning slowly, because their strokes are enormous. If a design exceeds the range its ring pack and lubrication were developed for, it will fail regardless of the calculated strength.
Frequently asked questions
Why is piston acceleration not symmetric about mid-stroke?
Because of the second-harmonic term (r/l)cos 2θ. It adds to the first harmonic on one side of the revolution and subtracts on the other, so the acceleration peak near TDC is larger than the peak near BDC.
Does the simulator include the piston pin offset?
No — this is the centred slider-crank. Real engines often offset the pin slightly to reduce piston slap and to bias the thrust side, which adds a further small asymmetry to the motion.
How do I find the maximum piston velocity?
Differentiate the velocity expression and solve for zero, or read the peak off the velocity trace. For l/r above about 3, the peak is close to θ = 90° + r/(2l) radians, slightly before the quarter-stroke point.
What is the difference between the four inversions?
Which link is fixed. Fix the frame and you get the standard engine; fix the crank and the cylinder becomes the rotating member (as in a radial engine); fix the rod and you get a quick-return oscillation. The relative motion is identical in all four.