Chris Collins

Tools · fabrication

Motion hardware

Size the moving parts of a printer, CNC or robot — closed-loop and open timing belts (GT2/GT3/HTD/T5/MXL), lead and ball screws (efficiency, back-driving, torque, critical speed, buckling), DC motors and gearbox ratios from Kt/Kv and stall figures, hobby servo torque at an arm, and whether an axis will move at your acceleration.

Added

Works with

How to use it

Pick Metric or Imperial at the top; the choice is remembered. Every tab recalculates as you type.

How to use it

  • Belts — three modes.

    • Loop for a centre distance: pulley teeth and the centre distance you want give the pitch length, the belts either side with a whole number of teeth and the exact centre distance each needs, pitch and outside diameters, the wrap and the teeth in mesh on the small pulley, and (for GT2) the commonly sold closed loops nearby. Pitch Ø = teeth × pitch ÷ π (a GT2 20-tooth pulley is 12.732 mm); OD = pitch Ø − 2u, the pitch-line differential from the Gates catalogue. Length is exact, L = 2C cos β + π(D + d)/2 + β(D − d) with sin β = (D − d)/2C; the familiar approximation 2C + π(D + d)/2 + (D − d)²/4C is shown alongside.

    • Centre for a belt: a belt of so many teeth on two pulleys → the centre distance.

    • Open belt on an axis: a belt clamped to the carriage at both ends, round a motor pulley and an idler — the length to cut, travel per motor revolution, and roughly how far the carriage can go.

  • Screws — trapezoidal (Tr, 30°), ACME (29°), square and ball screws. Torque to drive a load, efficiency, whether it is self-locking or back-drives (and the holding torque if it does), the torque to lower the load, linear speed, critical (whirling) speed and buckling load for the end fixity, and a chart of efficiency against lead angle for your friction. Friction defaults: 0.1 for Tr with a bronze or plastic nut, 0.15 for ACME and square, 0.003 for ball screws. Leave the root diameter at 0 to estimate it (ISO 2904 for Tr; D − P for ACME and square; 0.8 d for ball screws — use the catalogue figure). For steps per mm from the lead, see the stepper tool.

  • DC motor — from the datasheet’s voltage, no-load speed and current, stall torque and current: Kt, Kv, winding resistance, peak power and peak efficiency, speed–current and power–efficiency charts against torque, and which gearbox ratios can deliver a load torque at a load speed (with the one drawing least current marked). A warning appears if the figures do not agree with each other (Kt ω₀ should equal V − I₀R). A small Kv → Kt converter sits underneath.

  • Servo — a hobby servo’s rated torque (kg·cm, as sold) and arm length → force at the tip, the heaviest load it can hold there, the torque your load needs at an angle, and how much of the rating that uses with a safety factor. Also in N·m and oz·in.

  • Will it move? — moving mass, acceleration, top speed, friction, incline and any extra force → the force on the carriage (broken down), the motor torque through a belt pulley or a screw including the rotor’s own inertia, the motor speed, and a verdict against the motor torque you have at that speed with a safety factor.

The maths and the sources

  • Belt length and centre distance: the open-belt equations in Shigley’s Mechanical Engineering Design (§17-2) and the Gates PowerGrip GT/HTD design manuals; at least six teeth in mesh is Gates’s guideline.

  • Power screws: Shigley §8-2. With tan ρ′ = f ÷ cos α and λ = atan(lead ÷ π dm): raise T = F dm/2 · tan(λ + ρ′), lower T = F dm/2 · tan(ρ′ − λ), efficiency tan λ ÷ tan(λ + ρ′); collar Tc = F fc dc/2. It reproduces Shigley’s Example 8-1 (32 mm square thread, double start, f = 0.08, 6.4 kN): 15.94 N·m for the thread, 26.18 N·m with the collar, −0.47 N·m to lower, overall efficiency 0.31. A screw is self-locking when ρ′ ≥ λ.

  • Ball screws: THK’s forward efficiency η₁ = (1 − μ tan β)/(1 + μ/tan β) and reverse η₂ = (1 − μ/tan β)/(1 + μ tan β) — algebraically the same as the power-screw formula with α = 0.

  • Critical speed n = λ₂ dr/L² × 10⁷ rpm and buckling P = η₂ dr⁴/L² × 10⁴ N (THK and Hiwin ball-screw catalogues; λ₂ = 3.4, 9.7, 15.1, 21.9 and η₂ = 1.3, 5, 10, 20 for fixed–free, supported–supported, fixed–supported and fixed–fixed, with 0.8 and 0.5 safety factors built in). They agree with Euler–Bernoulli whirling and Euler buckling for a steel shaft to about 1% and 4%.

  • DC motors: the linear model in maxon’s "Key information" pages — speed falls linearly from n₀ at no load to zero at stall; I = I₀ + T ÷ Kt with Kt = Tstall ÷ (Istall − I₀); Kt [N·m/A] = 60 ÷ (2π Kv [rpm/V]) ≈ 9.549 ÷ Kv; peak power Tstall ω₀ ÷ 4 at half stall torque; peak efficiency (1 − √(I₀/Istall))² at I = √(I₀ Istall). A gear ratio i works when nload i ≤ n₀ (1 − Tload ÷ (i η Tstall)).

  • Servos: torque at the tip = rating ÷ arm; a mass m at angle θ needs m g r cos θ. 1 kg·cm = 0.0980665 N·m = 13.887 oz·in.

  • Linear axis: F = m a + m g (sin θ + μ cos θ) + Fextra; belt T = F r ÷ η with r = teeth × pitch ÷ 2π; screw T = F × lead ÷ (2π η); rotor J α with α = a ÷ r or 2π a ÷ lead.

Limits

  • Belt OD uses catalogue pitch-line differentials; tooth profiles (GT2 vs GT3, T5 vs AT5) differ in detail, so buy pulleys and belts of the same profile. The GT2 loop list is what is commonly sold, not a standard — check your supplier.

  • Screw friction is the biggest uncertainty: a dry plastic nut can be twice the default, a lubricated bronze nut less. Back-driving also depends on vibration — a "self-locking" screw near the limit can creep. Collar friction is zero when the screw runs in a rolling thrust bearing.

  • Critical-speed and buckling figures use the root diameter of a solid steel shaft (E = 206 GPa) and the catalogue safety factors; the nut’s own speed limit (DN value) and the ball recirculation limit are not checked.

  • The DC motor model ignores heating (resistance rises about 0.4 % per °C in copper), brush drop, and the driver’s current limit. Continuous torque is limited by temperature, not by this line — check the datasheet’s rated (continuous) current.

  • Servo ratings are stall torques at a stated voltage and are often optimistic.

  • Will it move? is a rigid-body estimate: no belt stretch, resonance or cutting forces beyond the "extra force" you enter. Stepper torque falls with speed; use the pull-out torque at your speed.

Related: gears, belts, and chains (ratios, V-belts, chain), stepper motors (steps/mm, Vref, corner speed), PID loop simulator, H-bridge, springs, bolt torque, print tolerances, physics.

Linking to an example

Links can be written by hand. Add the tab after #: belts, screws, motor, servo or axis. Values in links are always metric (mm, N, kg, N·m, mm/s, mm/s²), whatever units says.

Parameter Meaning Example

units

mm (metric) or in (imperial) for display

units=in

belt

gt2, gt3_2, gt3_3, htd3, htd5, t5, mxl

belt=htd5

bmode

Belt mode: loop, centre or axis

bmode=centre

z1, z2

Pulley teeth

z1=20&z2=60

C

Centre distance, mm

C=120

bteeth

Belt teeth (centre mode)

bteeth=100

axZ, axI, axC, axGap, axTail, axCar

Axis belt: motor and idler teeth, centre distance, clamp gap, length per clamp, carriage length (mm)

axC=350

sType

Screw: tr, acme, square, ball

sType=ball

sD, sP, sN

Major Ø (mm), pitch (mm), starts

sD=8&sP=2&sN=4

sMu

Thread friction coefficient

sMu=0.15

sF

Axial load, N

sF=500

sCmu, sCd

Collar friction and mean Ø (mm); 0 = thrust bearing

sCmu=0.1&sCd=20

sDr

Root Ø, mm (0 = estimate)

sDr=12.9

sLen, sFix, sRpm

Unsupported length (mm), end fixity ff/ss/fs/xx, screw rpm

sLen=800&sFix=xx

mV, mN0, mI0, mTs, mIs

Motor: volts, no-load rpm and A, stall N·m and A

mTs=0.05

mTL, mNL, mEta

Load torque (N·m) and rpm at the output, gearbox efficiency

mTL=2&mNL=30

vT, vR, vM, vA, vSF, vS60

Servo: rating (kg·cm), arm (mm), load (kg), angle (°), safety factor, s per 60°

vT=20&vR=40

aM, aA, aV, aMu, aInc, aFx

Axis: mass (kg), acceleration (mm/s²), speed (mm/s), friction, incline (°), extra force (N)

aA=5000

aDrive, aZ, aP, aLead, aEta

belt or screw; pulley teeth, belt pitch (mm); screw lead (mm); drive efficiency

aDrive=screw&aLead=8

aJ, aSF, aT

Rotor inertia (g·cm²), safety factor, motor torque available (N·m)

aT=0.45

example

One of the presets below; parameters given with it override the preset’s

example=t8-lead

Presets:

example= Shows

gt2-20-20

Two GT2 20-tooth pulleys 80 mm apart take the stock 200 mm loop exactly (open)

gt2-reduction

GT2 20 → 60 teeth about 60 mm apart: wrap and teeth in mesh on the small pulley (open)

htd5-loop

HTD 5M, 18 and 36 teeth on an 80-tooth (400 mm) belt: 131.7 mm centres (open)

t8-lead

A printer’s T8 screw (8 mm lead) with a plastic nut: about 75 % efficient, and it back-drives (open)

tr16x4

Tr16×4 single start with a bronze nut: self-locking (open)

sfu1605

SFU1605 ball screw, 1 m fixed–supported: critical speed and buckling (open)

shigley-8-1

Shigley’s Example 8-1: 26.18 N·m to raise 6.4 kN (open)

motor-12v

An illustrative 12 V brushed motor turning 0.5 N·m at 40 rpm through a gearbox (open)

motor-too-small

The same motor asked for 1 N·m at 60 rpm: more power than it has, so no ratio works (open)

mg996r

MG996R (9.4 kg·cm at 4.8 V) on a 25 mm horn lifting 200 g (open)

sg90

SG90 micro servo (1.8 kg·cm) on a 30 mm arm (open)

printer-y

A printer bed axis: 1.5 kg at 3000 mm/s² on GT2 20T and a NEMA 17 (open)

z-lift

A 5 kg vertical gantry on a T8×8 screw at 30 % efficiency — short of torque with a safety factor of 2 (open)

Runs entirely in your browser; nothing you type leaves this page.