Slider (mechanism) Explained: How It Works, Parts, Slider-Crank Formula, Diagram and Uses

← Back to Engineering Library

A slider is a kinematic element that constrains a body to translate along a single straight axis relative to another body, removing all rotational and lateral degrees of freedom. Machine tool builders rely on it as the foundation of every linear axis — from a Bridgeport knee mill to a Hiwin HGW-25 profile rail carriage. The slider transfers load through its guide surface while permitting motion only along the prismatic axis, so a rotating input like a crank converts cleanly into a controlled stroke. The outcome is repeatable straight-line travel, often held to under 5 µm over a 500 mm rail.

Slider Mechanism Interactive Calculator

Vary crank radius, connecting rod length, and crank angle to see the slider-crank position, stroke travel, and rod angle update live.

Slider Position
--
Travel from BDC
--
Stroke Range
--
Rod Angle
--

Equation Used

x = r*cos(theta) + sqrt(L^2 - r^2*sin(theta)^2)

The inline slider-crank equation gives the slider center position x from the crank center for crank radius r, connecting rod length L, and crank angle theta. The stroke range is 2r, travel from BDC is x - (L - r), and the rod angle is asin(r*sin(theta)/L).

  • Planar inline slider-crank with no guide offset.
  • Rigid crank, rod, and slider block.
  • Connecting rod length is at least the crank radius for full rotation.
  • Friction, clearance, and bearing compliance are ignored.
Watch the Slider (mechanism) in motion
Video: Dwell Slider Mechanism 3 by Nguyen Duc Thang (thang010146) on YouTube. Used here to complement the diagram below.
Slider-Crank Mechanism Diagram An animated diagram showing a slider-crank mechanism converting rotary motion into linear translation. Slider-Crank Mechanism Crank r = crank radius θ = crank angle Connecting Rod L = rod length Slider Block 1 DOF: translation Guide Rail Velocity varies Stroke Range TDC BDC Slider Position: x = r·cos(θ) + √(L² - r²·sin²(θ)) r = crank radius L = connecting rod length Velocity Asymmetry • Fastest at θ = 90° and 270° • Slowest at θ = 0° (TDC) • Slowest at θ = 180° (BDC)
Slider-Crank Mechanism Diagram.

The Slider (mechanism) in Action

A slider — also called a prismatic joint, sliding pair, or translational joint — is one of the six lower kinematic pairs. It permits exactly one degree of freedom: linear translation along a defined axis. Everything else is locked. No rotation, no lift, no yaw. The mating geometry between the slider and its guide rail is what enforces this constraint, and the quality of that geometry decides whether you get smooth motion or a sticky, juddering mess.

The mechanism works by sliding contact between two surfaces — typically a moving block and a fixed rail. In a basic dovetail slide on a lathe cross-slide, the block and rail share matching 60° angled flats with a gib screw to take up wear. In a recirculating ball linear bearing like an SKF LLT or Hiwin HG series, hardened steel balls roll between ground races, dropping the friction coefficient from around 0.1 (sliding) to under 0.005 (rolling). Either way the function is the same: react every load except the one along the travel axis. If the guide is out of parallel by more than about 0.02 mm per metre, the carriage starts to bind, ball returns chatter, and you'll see the servo current spike at predictable points along the stroke.

Failures show up in characteristic ways. A slider crank with a worn wrist pin makes a knock at top and bottom dead centre. A profile rail with contaminated grease scores the raceway and you get a repeating tick once per ball circuit. A dovetail with the gib over-tightened heats up and seizes; backed off too far it lifts the tool under cut. The fix is almost always in the fit, not the lubricant.

Key Components

  • Guide rail (or ways): The fixed straight-line reference surface the slider rides on. Straightness is typically held to 5–10 µm per metre on ground profile rails, and 20–50 µm per metre on scraped cast-iron ways. This is the part that defines the axis.
  • Slider block (or carriage): The moving body that captures the rail and carries the payload. On a recirculating ball block the internal raceway must match the rail radius within roughly 2 µm or preload is lost and the block develops play under reversing loads.
  • Gib or preload element: A wedge, ball train, or roller cage that takes up clearance between the slider and the rail. On a dovetail slide the gib is a tapered strip adjusted by setscrews. On a ball rail the preload is set at the factory by oversized balls — typically C0, C1 or C2 grade depending on the rigidity needed.
  • End stops and limits: Mechanical hard stops or sensor-triggered limits that bound the stroke. Without them a runaway servo can drive the carriage off the rail end, destroying the ball returns. Stroke length is the spec that matters here — a 500 mm rail will not give you 500 mm of usable travel, you lose the block length.
  • Lubrication path: Grease nipple, oil port, or auto-lube line that keeps the contact surfaces fed. A typical Hiwin HGH-25 block wants 0.7 cm³ of NLGI 2 grease every 100 km of travel — miss this and raceway pitting starts within a few hundred hours of duty cycle.

Who Uses the Slider (mechanism)

The slider shows up anywhere a machine needs controlled straight-line motion under load. Some uses are obvious — a cylinder rod, a drawer — but the most demanding applications are inside machine tools, automation cells, and printing equipment where micron-level repeatability over millions of cycles is the spec. The same kinematic pair that lets a kitchen drawer open also defines the X-axis on a Mazak Integrex, just with very different tolerances and very different prices.

  • Machine tools: X, Y and Z axes on a Haas VF-2 vertical machining centre run on Hiwin HG-series profile rails with C1 preload, holding positioning repeatability to ±5 µm.
  • Internal combustion engines: The piston-and-cylinder pair in a Cummins ISX15 diesel is a slider, with the connecting rod and crank forming the classic slider-crank mechanism that converts combustion pressure into shaft rotation.
  • Printing and packaging: The carriage on a Heidelberg Speedmaster sheet-fed press traverses on hardened linear guides to position the gripper bar within 0.05 mm registration.
  • Semiconductor equipment: Wafer-handling robots from Brooks Automation use air-bearing sliders to move 300 mm wafers with sub-micron straightness and zero particulate generation.
  • Furniture and appliance: Blum Tandembox drawer slides are a consumer-grade slider mechanism rated for 50,000 open-close cycles at 30 kg dynamic load.
  • Firearms: The slide on a Glock 17 is a literal slider — the barrel and breech assembly translates along the frame rails to cycle the action, with travel typically around 27 mm per shot.

The Formula Behind the Slider (mechanism)

For a slider-crank — the most common application of the slider as a working mechanism — you need to know the linear position and velocity of the slider as a function of crank angle. This matters because the slider does not move with simple harmonic motion; it accelerates harder near top dead centre than bottom dead centre, and that asymmetry drives bearing loads, vibration, and stroke-end shock. At low crank angles the slider barely moves — useful when you want a dwell. Near 90° crank the slider is at maximum velocity. The sweet spot for most applications sits between 30° and 150° where motion is smooth and predictable. Outside that band you're either dwelling or fighting through dead centre.

x = r × cos(θ) + √(L2 − r2 × sin2(θ))

Variables

Symbol Meaning Unit (SI) Unit (Imperial)
x Slider position along the axis from the crank centre m in
r Crank radius (half the stroke) m in
L Connecting rod length (pin centre to pin centre) m in
θ Crank angle measured from the slider axis rad or ° rad or °
v Slider linear velocity m/s in/s

Worked Example: Slider (mechanism) in a glass-bottle filler slider-crank cam

A bottling-line OEM in Parma is sizing the slider-crank that drives the fill-nozzle lift on a 24-head rotary filler running 600 ml glass bottles at 18,000 bph. The crank radius is 40 mm, the connecting rod is 160 mm, and the design crank speed is 120 RPM. The mechanical engineer needs to know peak nozzle linear velocity to size the seal-wiper spring and to confirm the nozzle clears the bottle neck before the carousel indexes.

Given

  • r = 0.040 m
  • L = 0.160 m
  • N = 120 RPM
  • θ = 90 °

Solution

Step 1 — convert the nominal crank speed of 120 RPM to angular velocity in rad/s, since velocity calculations need consistent units:

ω = 2π × N / 60 = 2π × 120 / 60 = 12.57 rad/s

Step 2 — compute the slider velocity at θ = 90°, where the slider is moving fastest. The simplified form (valid near 90° for L >> r) is v ≈ r × ω, with a small correction for the rod-length ratio r/L = 0.25:

vnom = r × ω - (1 + (r/L)) = 0.040 × 12.57 × 1.25 = 0.629 m/s

That nominal 0.629 m/s is the peak nozzle speed at the design line rate. It feels brisk on the eye — about as fast as a hand wave — and the seal wiper has roughly 67 ms to clear the bottle neck during the lift phase. Comfortably within margin for a Parma-style filler.

Step 3 — at the low end of the typical operating range, 60 RPM (line creep for setup and changeover):

vlow = 0.040 × 6.28 × 1.25 = 0.314 m/s

At this speed the operator can watch the nozzle rise and check seal contact by eye — the standard procedure during a flavour change. At the high end of the typical range, 180 RPM (overspeed validation per ISO 22000 commissioning):

vhigh = 0.040 × 18.85 × 1.25 = 0.943 m/s

That is fast enough that the seal wiper spring rate becomes the limit — push past about 200 RPM and the wiper bounces off the nozzle on the down-stroke, leaving a fill droplet on the bottle lip.

Result

Peak nozzle velocity is 0. 629 m/s at the nominal 120 RPM line rate, with the slider crossing θ = 90°. In practice this means the nozzle clears the bottle neck in 67 ms, which is well within the 110 ms carousel index window. The range tells the story: at 60 RPM (0.314 m/s) the motion is gentle enough for visual setup, while at 180 RPM (0.943 m/s) you are pushing the seal-wiper spring past its useful frequency response — the sweet spot sits between 100 and 140 RPM. If you measure peak velocity 15% below predicted, suspect connecting rod small-end bushing wear letting the rod cock under load, crank pin keyway slop introducing phase lag, or excessive lift-cam follower spring preload dragging the linkage. Each of these shows up as a knock-knock signature at top and bottom dead centre that you can hear before you can measure it.

Slider (mechanism) vs Alternatives

The slider is the simplest way to constrain a body to one-axis motion, but the form it takes — plain dovetail, recirculating ball, hydrostatic, air bearing — drives cost, accuracy, and life by orders of magnitude. Pick the wrong one and you either overspend by 10× or burn out a raceway in 200 hours. Compare it against a rotary cam follower or a four-bar linkage when you need straight-line output but want to know what you're trading away.

Property Slider (linear guide) Rotary cam + follower Four-bar straight-line linkage
Positioning accuracy (typical) ±5 µm with profile rail ±50 µm depending on cam grind ±200 µm over short travel
Maximum travel speed 5 m/s on ball rail, 10 m/s on air bearing Limited by cam follower contact stress, ~3 m/s 1–2 m/s before linkage dynamics dominate
Load capacity per unit Up to 50 kN dynamic on a Hiwin HG-65 block 5–20 kN limited by Hertzian contact Limited by pin shear, typically <2 kN
Stroke length range 50 mm to 6 m on standard rails Fixed by cam profile, typically <300 mm Fixed by link geometry, typically <500 mm
Service life at rated load 100,000 km travel (≈10⁸ cycles short stroke) 10⁷ cycles before cam wear measurable 10⁶ cycles before pin slop dominates
Cost per axis (industrial grade) $200–$2,000 for rail + block $500–$3,000 including cam grind $100–$400 in raw linkage parts
Best application fit CNC axes, automation, precision positioning Indexing, fixed-cycle assembly machines Low-cost approximate straight-line motion

Frequently Asked Questions About Slider (mechanism)

That is almost always a mounting-surface issue, not a carriage defect. Profile rails reference their straightness off the machined shoulder they bolt against. If that shoulder has a high spot of even 10 µm, the rail bows locally and the ball circuit sees a tight zone every time the carriage passes over it.

Pull the rail, blue-up the mounting surface, and scrape or stone any high spots. Re-torque the bolts in sequence from the centre outward — never end-to-end, which walks stress along the rail.

If you need positional repeatability under 20 µm or you're cutting at feedrates above about 2 m/min, ball rails win — friction is constant with load and speed, and the servo doesn't have to fight stiction. For a manual mill or a hobby router under 1 m/min, a properly fitted dovetail with a hand-scraped gib is stiffer in the cut, damps chatter better, and costs a fraction. The ugly truth is most hobby CNC builds put ball rails on machines that would actually cut better with boxways — but boxways need scraping skill that's hard to find.

You've found a resonance. The slider-crank has secondary inertia forces at 2× crank speed because of the connecting rod's finite length — the slider acceleration curve has a strong second harmonic. At 1500 RPM the 2× component sits at 50 Hz, which is likely matching a structural mode of the frame or the foundation.

Quick diagnostic: tap the frame with a soft mallet while a vibration meter logs the decay frequency. If you hit 50 Hz ± 3 Hz you've confirmed the resonance. The fix is either a counterweight on the crank to balance the second-order force, or stiffening the frame to push the natural frequency above 60 Hz.

Target L/r between 3.5 and 5. Below 3 the slider motion deviates badly from sinusoidal, the second-harmonic acceleration shoots up, and side-load on the slider gets ugly — piston engines call this scuffing. Above 5 you've over-built the rod, wasted swept volume, and added reciprocating mass for no kinematic benefit.

Production internal-combustion engines mostly sit at L/r ≈ 3.2 to 3.8 because packaging dominates. Industrial machinery without packaging constraints — like a slider-crank on a metal-stamping press — often runs at 4.5 to 5 because the smoother motion is worth the extra height.

Probably not the block itself. Eight microns of measured play on a preloaded ball rail almost always points to one of three things: the block bolts aren't torqued to spec (35 Nm for an HG-25), the rail isn't seated against its reference shoulder along the full length, or the inspection load you applied is exceeding the preload force. C1 preload on an HG-25 is only about 2% of the dynamic load rating — push harder than that with a dial indicator and you'll read deflection that looks like clearance.

Re-check with a known load below the preload threshold. If you still see play, swap the block to a fresh rail section before condemning the assembly.

You can run a single rail if the load is small, the moment arm is short, and you accept that any yaw moment will rack the carriage. A single HG-25 block has yaw stiffness on the order of 50 Nm/arcmin — fine for a 3D printer head where the moving mass is under 500 g, useless for a gantry carrying a 5 kg spindle 200 mm off the rail centreline.

The decision rule: calculate the yaw moment from your worst-case load and offset, divide by the block's moment rating, and if the result is over about 30% of the rated moment you need two rails. Two parallel rails convert the yaw moment into a force couple that the rails handle in pure radial loading, which they're 10× stiffer at than moment loading.

References & Further Reading

  • Wikipedia contributors. Prismatic joint. 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: