kapy academy

Peristaltic pumps

19 min readUpdated Nov 2026

A rotor with two to four rollers squeezes a soft tube against a curved track and, as it turns, pushes the liquid ahead. The liquid only touches the inside of the tube: no printed part has to be watertight or food-safe, and changing liquids means changing the tube. It draws from a bottle without priming, and it is the pump a home printer builds best for dosing small, repeatable volumes (plant nutrients, cocktails, lab chemicals, resin), not for high flow or high pressure. The gap between roller and track decides it, and that is where nearly every printed pump fails.

360°/Nr (roller center radius)R_trackfull occlusion > 360°/Ninletoutletrotationtubetrackpillow of liquidhousingrotorrollerrampR_c (tube centerline)tube unrolledtrackpillow of liquidinletoutletV_rev ≈ (π·d²/4)·2π·R_c
A three-roller pump seen along its axis, with the tube unrolled: between two rollers that pinch the tube sits a pillow of liquid, which the rotor carries from the inlet to the outlet.

Volume per revolution and flow

Between two rollers, the tube traps a pillow of liquid. The rotor drags it from the inlet to the outlet. Each revolution displaces the volume of one full circle of tube, measured along its centerline:

Displacement and flow
Quantity Formula
Volume per revolution (ceiling) V_rev ≈ (π·d²/4) · 2π·R_c
Tube centerline radius R_c ≈ R_track − t − d/2
Flow Q = V_rev · n
Pulse frequency f = N · n / 60

Here d is the tube's inside diameter, t its wall, R_track the track radius, n the speed in rpm and N the number of rollers. N does not appear in the volume: more rollers make more pillows, but smaller ones. Volume grows with d²: double the inside diameter and you pump about four times as much per revolution.

The formula gives a ceiling, and the real flow sits below it. The tube does not fully reopen at the inlet, especially when it is sucking, soft or worn. Liquid slips back under the roller if you squeeze too little or the back pressure rises. And at the outlet, the tube reopening under the departing roller draws a little liquid backwards. There is no reliable fixed efficiency: you calibrate the pump by weighing. With water, 1 g is 1 ml; with a dense solution, divide by its density or calibrate directly in grams.

As a guide, these are the datasheet figures for a commercial three-roller lab pump head, with a 1.6 mm wall and no back pressure. The figures depend on the head: other makers give 20 to 30 % less with similar tubes, so take them as an order of magnitude.

Volume per revolution of a commercial three-roller head (1.6 mm wall, 0 bar; indicative)
Inside diameter (mm) ml/rev
1.6 0.26
3.2 1.0
4.8 2.2
6.4 3.6
8.0 5.0

The tube and the track radius set the volume per revolution; you set the flow with the speed. A stepper motor counts revolutions, so dose by revolutions, not by time (Choosing a motor). The pump is also reversible: at the end of a dose, a few degrees of reverse rotation draw the drop back into the outlet, so the nozzle does not drip.

How hard to squeeze: occlusion

Call g the gap between roller and track at its narrowest point, and t the tube wall. The tube closes exactly when g = 2t. Whatever you squeeze beyond that is the occlusion:

occlusion = (2t − g) / (2t)

The usual figure is 10–20 %: more for soft tubes, less for hard ones. Some manufacturers divide by g instead of 2t and quote a different figure for the same squeeze; this article always uses (2t − g)/(2t).

Squeezing too little and too much fail in different ways. At g = 2t, or slightly below it, occlusion is close to zero: liquid slips back under the roller, flow drops as soon as there is back pressure and the pump stops lifting the liquid. Squeezing too hard multiplies the work done on the tube on every pass: torque rises, the tube heats up, takes a permanent set and splits sooner. Tube manufacturers warn that service life falls quickly as occlusion goes up.

The trouble with a printed pump is arithmetic. With a 4 × 6 mm tube, t = 1.0 and 2t = 2.0. 15 % occlusion is g = 1.70 mm: your entire margin is 0.30 mm. A printed track and rotor hold a tolerance of around ±0.1 mm (Real printed clearances), and the wall of a silicone tube varies too: one tube manufacturer warns that 0.005″ (0.13 mm) of wall variation noticeably shortens its life. Stack the two tolerances:

Fixed printed gap with a 4 × 6 tube
Case g (mm) t (mm) Occlusion
Nominal 1.70 1.00 15 %
Largest gap, thin wall 1.80 0.87 −3 % (does not close)
Smallest gap, thick wall 1.60 1.13 29 %

And that ±0.10 is optimistic. The gap stacks up the track radius, the position of the three rotor axles, the run-out of the bore on the motor shaft and the play in the bearings; ±0.15–0.2 mm is realistic. The same pump, from the same file, goes from letting the liquid slip back to making the motor skip steps, depending on the tube and the print.

Section of the 4 × 6 tube under the roller, to scale, beside the plot of occlusion against the gap: with a fixed printed gap the article's three cases go by, nominal (g 1.70, t 1.00: 15 %), widest gap with the thinnest wall (g 1.80, t 0.87: −3 %, a slit stays open and the liquid slips back) and narrowest gap with the thickest wall (g 1.60, t 1.13: 29 %, it over-squeezes)

There are three fixes, from least to most work:

  1. Adjust the gap after printing. Mount the track, or a section of it, with screws in slots, on an eccentric or with shims, and set g with the real tube in place.
  2. Sprung rollers. Each roller sits on an arm that pivots under a spring. What you set is the force, not the gap, and the spring absorbs the variation in wall thickness.
  3. A printed flexure arm as the spring. Draw it on edge so it flexes in XY (stance B, Layer orientation for mechanisms; sizing the blade is in Leaf and cantilever springs); a 1.2 mm blade is three 0.4 mm extrusion lines. But a plastic spring held flexed for weeks relaxes (Creep and fatigue), and a bought steel one does not (Using bought steel springs).

The spring has to close the tube against the outlet pressure. As an estimate: F ≥ F_close + p · b · L, where b is the width of the flattened tube and L the contact length along it. You measure F_close: lay the tube on a kitchen scale, press down on it with a 608 bearing mounted on a bolt until it closes, and read the scale. Size the spring at 1.5 times that reading plus the pressure term, and check that it closes with the pressure test in "How to test it".

The tube: diameter, wall and hardness

The wall matters more than the diameter. The track and the gap are designed for one wall thickness; several inside diameters with the same wall can share a pump. The common sizes in hobby projects are 2 × 4, 3 × 5 and 4 × 6 mm (inside × outside, 1 mm wall); lab tubing usually has a 1.6 mm wall. A thicker wall gives more pressure and more suction, and needs more torque.

The tube's datasheet gives its hardness. Pump-grade silicone is around 50 Shore A (some 60); thermoplastic elastomer pump tubing is about 64 Shore A and lasts longer. Flexible PVC aquarium airline, even in 4 × 6, is harder and stays flattened: it does not recover its shape and the flow drops. A tube printed in TPU will not do either: its wall is neither even nor watertight, and the layer bonds open under repeated squeezing; common TPU, at 85–95A, is also too hard (TPU and flexible filaments).

Silicone is cheap, soft, copes with a wide temperature range and comes in food grades. It is gas-permeable, and some solvents and oils attack it: check the chemical compatibility table for the tube, not for the pump. For drinks, the tube's grade is what counts; the pump itself is neither food-safe nor sterile. The fittings downstream do touch the liquid (Printing for food contact).

The rollers drag the tube, which creeps little by little into the pump. Anchor both ends with a barb or a collar against a printed stop at the inlet and at the outlet (Hose barbs and fittings).

The pump needs no valves; the line may need a check valve or a tap (Check valves and taps). The reservoir and manifolds around it do have to be watertight (Watertight printed parts).

How many rollers and how much track

The rule: at every moment, at least one roller must be pinching the tube shut. Otherwise the inlet and outlet are connected and the liquid runs back. With N rollers spaced 360°/N apart, the full-occlusion part of the track must cover more than 360°/N, plus the ramps: more than 180° for 2 rollers, more than 120° for 3, more than 90° for 4. Printed pumps typically use 3 rollers on a 180° track.

At each end of the track, open the gap gradually over about 15–20°. The roller then runs in and out smoothly: less pulsation, less tube wear where it starts to pinch, and lower torque peaks.

Number of rollers
Rollers Minimum full occlusion (without ramps) Use
2 > 180° simplest; the strongest pulsation
3 > 120° the usual compromise
4 > 90° smoother flow
6 > 60° smooth flow for in-line dosing

More rollers give smaller, more frequent pulses and a little less flow, but the tube takes more squeezes per milliliter and wears out sooner. To damp the pulses, add a length of soft tube or an air chamber after the pump.

The rollers are bought bearings that roll on the tube. A 608 is 8 × 22 × 7 mm. How to seat them, and on what axle: Seating bearings and bushings and Standard bearings and bushings. Printed rollers on a printed pin only suit slow, lightly used pumps: they slide where they should roll and wear the tube.

Check the width as well. A flattened tube spreads: its closed bore measures π·d/2 and its outside width about π·(d + t)/2 + t. For a 4 × 6 that is 6.3 and about 9 mm. A 7 mm wide 608 covers the bore with only about 0.35 mm to spare on each side; if the tube drifts sideways, it stops closing. Make the roller wider than π·d/2 with margin and guide the tube with a channel in the track wider than the roller, so the roller runs inside it: for a single 608, lips 9 mm apart, a snug fit for the flattened tube; for two stacked 608s per roller (14 mm), a channel of about 16 mm.

Torque and pressure

The hydraulic part of the torque is small: T_p = p · V_rev / (2π). At 1 bar and 2.1 ml per revolution, that is 0.034 N·m. Nearly all the torque goes into squashing and releasing the tube (the rubber's hysteresis) and into rolling, and no formula gives you that: measure it with a lever on the rotor and a hanging luggage scale.

A NEMA 17 (0.40–0.55 N·m holding torque) drives a three-roller pump with 4 × 6 tube directly, with margin. One published design specifies about 3 kgf·cm (0.3 N·m): that is a figure for that design, not a rule. A 28BYJ-48, at about 0.03 N·m (datasheets disagree), only drives small tubes like 2 × 4, with no margin. It is also slow, around 10–15 rpm depending on voltage and datasheet: with a 2 × 4 on a small rotor, about 0.4 ml per revolution, that comes to about 4–6 ml/min. Measure yours before you count on it. A geared DC motor works, but forces you to dose by time and calibrate. How to size the margin: Choosing a motor.

Occlusion and wall set the pressure, not the motor. Three-roller lab pump heads with a 1.6 mm wall are rated for 1–2 bar continuous; a printed pump with 1 mm wall silicone will give less: measure it. On the suction side, a thin, soft tube collapses with thick liquids and the flow drops. To convert lift height into pressure, 1 m of water column is 0.1 bar.

The rollers push the rotor toward the track. With two rollers pinching 120° apart, the resultant is of the order of one roller's closing force, which with 4 × 6 silicone runs to tens of newtons. On a NEMA 17 with a direct coupling, that force loads the motor shaft radially, and the radial load the motor is rated for is small: look it up on its datasheet. So do not leave it cantilevered: always add a bearing on the far side of the rotor, or build the rotor as a sandwich, with two plates holding the roller bolts at both ends. 608s cantilevered on a bolt held from one side only are the usual cause of a wobbling rotor. The mount and the motor's heat: Motor mounts.

Worked example: a dosing pump on a NEMA 17

The brief: dose 50 ml of nutrient solution, repeatable to within a few percent, at about 100 ml/min, lifting it 0.5 m from a bottle.

Tube. 4 × 6 silicone (d = 4, t = 1.0), about 50 Shore A. At 15 % occlusion, g = 2 · 1.0 · (1 − 0.15) = 1.70 mm.

Rotor and track. Three rollers made of two stacked 608s each (Ø22, 14 mm wide) on M8 bolts, centers at r = 17.0 mm, with the two rotor plates in a sandwich: the roller reaches 17 + 11 = 28.0 mm. R_track = 28.0 + 1.70 = 29.7 mm, with a 16 mm wide channel the roller runs inside: the flattened tube, about 9 mm, can drift up to 3.5 mm sideways, and its 6.3 mm closed bore still sits entirely under the 14 mm roller. A 180° track with 20° ramps at each end leaves 140° of full occlusion, more than the 120° between rollers.

Volume. R_c = 29.7 − 1.0 − 2.0 = 26.7 mm. Cross-section A = π · 4² / 4 = 12.6 mm². V_rev = 12.6 × 2π × 26.7 ≈ 2100 mm³ ≈ 2.1 ml. The commercial head with 4.8 mm tube is rated at 2.2 ml/rev: same order. For 100 ml/min, n ≈ 48 rpm on the theoretical volume, a little more after calibration. The pulse frequency is 3 × 48 / 60 = 2.4 Hz.

Dose. 50 ml is about 24 revolutions. At 1/16 microstepping, 3200 microsteps per revolution give 0.66 µl per microstep on paper, but that is not your resolution: the liquid arrives in 0.7 ml pulses, one per roller, and unevenly within each pulse. For a repeatable dose, always stop the rotor on whole thirds of a revolution, with the rollers in the same position, and finish with the small reverse turn that pulls the drop back.

Torque. At 0.5 m of lift (0.05 bar), the hydraulic torque is 0.0017 N·m: negligible. The work on the tube dominates. Measure it; the NEMA 17 has plenty in hand.

Gap. 1.70 is the nominal, and you have already seen that a fixed printed gap does not hold. Print the track as a separate part, held by two screws in slots, and set g with a 1.7 mm feeler gauge (or the shank of a drill bit) with the tube in place. Then check the flow at 0.5 m of lift. The alternative is the same rotor with the rollers on sprung arms.

Calibration. Pump 20 revolutions into a cup on a 0.1 g scale and divide the weight by 20: that is ml per revolution. Repeat at working height. Recalibrate after the first few hours, when new silicone settles, and every time you change the tube.

Printing. Housing and rotor flat on the bed, axis vertical. The track is then a vertical wall and its layer lines run round the track, in the direction the rollers travel. The holes for the roller bolts come out vertical and round; they print small for the reasons in Why holes print small. Keep the seam off the track face (Where the seam goes).

Material. The housing bolts to the motor face, and a stepper with its holding current on almost always heats that face past what PLA takes under load, about 40 °C. Use PETG (about 50 °C) or ASA (80–85 °C) for the part that touches the motor (Heat, cold, sunlight and chemicals), and lower the current or disable the driver at rest. A track that squeezes the tube for weeks carries a sustained load: for that, use PC, ASA or a fiber-filled grade; PLA and PETG are fine for a light load with no heat (Creep and fatigue). A track that creeps opens the gap and the flow drifts.

A three-roller peristaltic pump running: in 3D on the left and from above on the right, the tube shut under each roller and the liquid in orange
The worked example: a 4 × 6 tube on a 180° track of R 29.7, three rollers of two 608s at r = 17. Each roller shuts the tube (g = 1.70, 15 % occlusion) and rolls along it; the pocket of liquid between two rollers travels from the inlet to the outlet, 0.7 ml each, 2.1 ml per turn. Full occlusion covers 140°, more than the 120° between rollers: one roller always shuts the tube. The tube is drawn open on top so the liquid shows.

When it fails

Symptom, cause and fix
Symptom Cause Fix
Good flow on the level; drops when lifting the liquid Too little occlusion Close the gap or mount the rollers on springs
Motor stalls or skips steps; tube hot; splits within days Too much occlusion or a track without ramps Open the gap, add ramps, use a softer tube
Liquid runs back with the pump stopped Track too short for N rollers, narrow roller or tube drifted sideways Lengthen the track, add a roller, widen the roller and guide the tube in a channel
Tube creeps into the pump Ends not anchored Barbs or collars against printed stops
Flow falls over days Permanent set in the tube or creep in the track Recalibrate; housing in PETG or ASA; sprung rollers; replace the tube
Flow varies from one revolution to the next Wobbling rotor: loose bore on the shaft, cantilevered rollers, one roller standing proud of the others D-shaped bore, sandwich rotor and a bearing on the far side; check each roller's reach
Tube stays flattened after days idle One roller is always pinching it Back off the track during long stops (another reason to make it adjustable) or take the tube out
Strong pulsation in the line Too few rollers More rollers, a soft section of tube or an air chamber after the pump
Inlet tube collapses with thick liquids Thin, soft tube on the suction side Thicker wall, lower speed, shorter inlet line
Nozzle drips after the dose Liquid hanging at the outlet A small reverse turn at the end of each dose

How to test it

  • Flow. Weigh three timed runs at working speed. The spread gives you the repeatability.
  • Flow against lift. Measure the flow with the outlet at 0 m and at working height (0.5 m in the example). If it drops a lot when lifting, occlusion is too low.
  • Pressure. Do not try to measure the maximum lift with a vertical tube: even a printed pump lifts several meters. Fit a tee on the outlet with a 0–2.5 bar gauge and a tap downstream of it, close the tap gradually and read the pressure at which flow falls to zero. It is a positive displacement pump: with the outlet fully shut, pressure rises until a fitting blows, the tube balloons or the motor skips steps. Take the reading and open the tap at once. If it delivers flow at 0 m but the maximum pressure is low, occlusion is too low.
  • Backflow. Stop the rotor with the outlet raised. The column must not fall. If it does, no roller is pinching the tube in that position: check the gap, the track arc, or whether the tube has drifted sideways.
  • Torque and endurance. Measure the running torque with the lever and the luggage scale. Leave it running for a few hours and measure the flow again: if it has fallen, the tube has taken a set or the track has crept. How to log a long test is in Testing a mechanism before you trust it.

See also

Design it in KapyCAD

Sketch the mechanism with these dimensions. Each one stays a value you can change after the first test print.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?