Reference

Formula library

Every formula the calculators use, grouped by subject. Open a calculator to run it with your own numbers.

FRC

RPM to m/s

Open calculator

Surface speed of a wheel, roller or pulley from its RPM and diameter.

v=ω d2=2π rpm60 d2v = \omega \, \frac{d}{2} = \frac{2\pi \, \text{rpm}}{60} \, \frac{d}{2}

Encoder to distance

Open calculator

Distance travelled from encoder counts, plus the conversion factors to put in code.

nwheel=countsCPR×R,x=nwheel πdn_\text{wheel} = \frac{\text{counts}}{\text{CPR} \times R}, \qquad x = n_\text{wheel} \, \pi d
krot=πdR,kcount=πdCPR×Rk_\text{rot} = \frac{\pi d}{R}, \qquad k_\text{count} = \frac{\pi d}{\text{CPR} \times R}

Swerve drive

Open calculator

Top linear speed, drive-base radius and maximum rotation rate of a swerve drive.

vmax=k ωfreeR d2v_\text{max} = k \, \frac{\omega_\text{free}}{R} \, \frac{d}{2}
r=(t/2)2+(b/2)2,ωmax=vmaxrr = \sqrt{(t/2)^2 + (b/2)^2}, \qquad \omega_\text{max} = \frac{v_\text{max}}{r}

Projectile trajectory

Open calculator

Path of a launched game piece, whether it reaches a target, and the speed needed to hit it.

y(x)=h0+xtan⁡θ−g x22v2cos⁡2θy(x) = h_0 + x \tan\theta - \frac{g \, x^2}{2 v^2 \cos^2\theta}
t=xvcos⁡θ,hapex=h0+v2sin⁡2θ2gt = \frac{x}{v \cos\theta}, \qquad h_\text{apex} = h_0 + \frac{v^2 \sin^2\theta}{2g}
vneeded=dcos⁡θg2 (dtan⁡θ−(ht−h0))v_\text{needed} = \frac{d}{\cos\theta} \sqrt{\frac{g}{2\,(d \tan\theta - (h_t - h_0))}}

Robot stability

Open calculator

Tip angle and the acceleration a robot can take before it tips, from its centre of gravity.

θtip=arctan⁡bh\theta_\text{tip} = \arctan\frac{b}{h}
amax=g bha_\text{max} = g \, \frac{b}{h}

Electrical

Enter any two of voltage, current and resistance to find the third, plus the power.

V=IRV = I R
P=VIP = V I

Power, current and voltage

Open calculator

Enter any two of power, voltage and current to find the third.

P=VIP = V I
Req=VIR_\text{eq} = \frac{V}{I}

Voltage drop

Open calculator

Voltage lost in a copper wire run, as volts, a share of supply, and heat.

d=0.127 mm×92(36−n)/39,A=πd24d = 0.127\,\text{mm} \times 92^{(36 - n)/39}, \qquad A = \frac{\pi d^2}{4}
R=ρ 2LA,Vdrop=IR,Ploss=I2RR = \frac{\rho \, 2L}{A}, \qquad V_\text{drop} = I R, \qquad P_\text{loss} = I^2 R

Current budget

Open calculator

Total robot current against the 120 A main breaker, and the battery voltage it leaves.

Itotal=ndId+nmIm+IotherI_\text{total} = n_d I_d + n_m I_m + I_\text{other}
Vbus=Voc−Itotal RintV_\text{bus} = V_\text{oc} - I_\text{total} \, R_\text{int}

Battery capacity

Open calculator

Charge used in a match, share of the battery, and runtime at an average current.

Qmatch=I tQ_\text{match} = I \, t
trun=u CI,E=V Ct_\text{run} = \frac{u \, C}{I}, \qquad E = V \, C

Physics

Constant acceleration

Open calculator

Final velocity, displacement and distance travelled under constant acceleration.

v=v0+atv = v_0 + a t
s=v0t+12at2s = v_0 t + \tfrac{1}{2} a t^2
tstop=−v0a,d=v02+v22∣a∣if it reverses, else d=∣s∣t_\text{stop} = -\frac{v_0}{a}, \qquad d = \frac{v_0^2 + v^2}{2|a|} \quad \text{if it reverses, else } d = |s|

Energy and momentum

Open calculator

Kinetic energy, potential energy and momentum of a moving mass.

Ek=12mv2,Ep=mgh,p=mvE_k = \tfrac{1}{2} m v^2, \qquad E_p = m g h, \qquad p = m v

Controls

Feedforward gains

Open calculator

Theoretical kV and kA for a drivetrain, elevator or roller, from motor specs and gearing.

kV=Vnomvfree,vfree=ωfreeRd2k_V = \frac{V_\text{nom}}{v_\text{free}}, \qquad v_\text{free} = \frac{\omega_\text{free}}{R} \frac{d}{2}
kA=Vnomastall,astall=n τstall Rm d/2k_A = \frac{V_\text{nom}}{a_\text{stall}}, \qquad a_\text{stall} = \frac{n \, \tau_\text{stall} \, R}{m \, d/2}

Trapezoidal motion profile

Open calculator

Time to move a distance with velocity and acceleration limits, with the velocity curve.

ta=vmaxamax,da=vmax22amaxt_a = \frac{v_\text{max}}{a_\text{max}}, \qquad d_a = \frac{v_\text{max}^2}{2 a_\text{max}}
t=2ta+d−2davmaxif 2da<d,else t=2d/amaxt = 2 t_a + \frac{d - 2 d_a}{v_\text{max}} \quad \text{if } 2 d_a < d, \qquad \text{else } t = 2\sqrt{d / a_\text{max}}

Manufacturing

Feeds and speeds

Open calculator

Spindle RPM and feed rate for an end mill or router bit from surface speed and chip load.

n=vcπD(revolutions per unit time; RPM=60 n with n in rev/s)n = \frac{v_c}{\pi D} \quad (\text{revolutions per unit time; RPM} = 60\,n \text{ with } n \text{ in rev/s})
vf=n×z×fzv_f = n \times z \times f_z

Sheet metal bend

Open calculator

Bend allowance and bend deduction for a sheet metal flat pattern.

BA=θ (R+Kt)BA = \theta \, (R + K t)
OSSB=tan⁡(θ/2) (R+t),BD=2 OSSB−BAOSSB = \tan(\theta/2) \, (R + t), \qquad BD = 2 \, OSSB - BA