top of page

Slider-Crank Calculator: Position, Velocity, Acceleration and Stroke

5 days ago
3 min read
Slider-Crank Calculator: Position, Velocity, Acceleration and Stroke
Slider-Crank Calculator: Position, Velocity, Acceleration and Stroke

Enter crank radius, rod length and guide offset to get slider stroke, velocity, acceleration, rod angle and quick-return time ratio.

What it is

The slider-crank converts rotation into back-and-forth motion (or the reverse). It is the core of piston engines, compressors, pumps and many presses. A crank of radius r turns, a connecting rod of length l links the crank pin to a slider, and the slider runs in a straight guide that may be offset from the crank axis.

With no offset the stroke is exactly 2r and the forward and return strokes take the same time. An offset guide makes the strokes unequal, which gives a built-in quick-return effect. The rod-to-crank ratio controls how far the motion departs from a pure sine wave and how large the side thrust on the guide becomes.

The equations used

  • Slider position: x = r cos θ + √( l² − (e − r sin θ)² )

  • Stroke: √((l + r)² − e²) − √((l − r)² − e²)

  • Rod angle: ψ = asin( (e − r sin θ) / l )

  • Velocity and acceleration: first and second derivative of x with respect to time, with θ = ωt

  • Time ratio: (180° + δ) / (180° − δ), with δ = asin(e/(l − r)) − asin(e/(l + r))

  • Crank torque from a slider load F: T = F · |dx/dθ|

  • Rod force: F / cos ψ; side force on the guide: F tan ψ

  • Mean slider speed: 2 · stroke · n / 60; slider inertia force: m · a

Worked example

Crank 40 mm, rod 140 mm, no offset, 60 rpm, 100 N slider load, 0.2 kg slider

The stroke is 80 mm, the rod-to-crank ratio is 3.5 and the time ratio is 1 (equal forward and return strokes). At 60 rpm the peak slider speed is 261 mm/s and the peak acceleration is 2,030 mm/s². The rod swings at most 16.6° from the guide line, which sets the side thrust on the slider. With a 100 N load on the slider, the crank needs up to 4.16 N·m and the guide takes up to 29.8 N sideways. A 0.2 kg slider adds a peak inertia force of 0.4 N.

Design notes

  • A short rod increases peak acceleration at the dead centres and the maximum rod angle. Longer rods make the motion closer to sinusoidal.

  • Offset gives quick return but also makes the rod angle asymmetric, so the side thrust is higher on one stroke.

  • Rod length must exceed crank radius plus offset, or the mechanism cannot complete a revolution.

  • Compare with a scotch yoke, which gives pure sinusoidal motion but needs a sliding slot instead of a rod.

Frequently asked questions

How do I calculate the stroke of a slider-crank? With no offset the stroke is twice the crank radius. With an offset e the stroke is √((l + r)² − e²) − √((l − r)² − e²).

What is the dead centre position? The dead centres are the two positions where the crank and the connecting rod are in a straight line, so the slider velocity is zero and the stroke reverses.

Why does an offset slider-crank give quick return? The crank turns through more than 180° during one stroke and less than 180° during the other, so the two strokes take different times at constant crank speed.

Related

Assumptions: rigid links, no clearance or friction, constant crank speed. The slider load is a constant force along the guide; the torque shown is from that load only (link inertia is not included, slider inertia is shown separately).

Comments


bottom of page