All Categories

Robotics & Control

Making machines move: PID control, kinematics, torque, gear reduction and encoders

Robotics & Control brings together the core formulas used to make machines move accurately and predictably, from PID control and kinematics to torque, gear reduction, encoders, and motor dynamics. It’s a practical reference for students, exam prep, and engineers working on real robots, automation, and motion systems, where these calculations help tune performance, estimate position, and turn electrical input into controlled physical motion.

PID Controller

NEWAdvanced
u(t)=Kpe+Ki ⁣∫e dt+Kddedtu(t) = K_p e + K_i \!\int e\,dt + K_d \frac{de}{dt}

Control output from proportional, integral and derivative of the error.

View details

Degrees of Freedom

NEWIntermediate
DoF=6n−∑cDoF = 6n - \sum c

Independent motions of a mechanism from bodies and constraints.

View details

Gear Reduction Torque

NEWIntermediate
τout=τin×GR×η\tau_{out} = \tau_{in} \times GR \times \eta

Output torque after gear reduction, allowing for efficiency.

View details

Encoder Resolution

NEWBasic
θ=360N\theta = \frac{360}{N}

Smallest angle a rotary encoder can resolve.

View details

DC Motor Torque

NEWIntermediate
τ=ktI\tau = k_t I

Torque of a DC motor is proportional to current.

View details

Motor Back-EMF

NEWAdvanced
Vb=keωV_b = k_e \omega

Voltage a spinning motor generates against its supply.

View details

Forward Kinematics (2-Link)

NEWAdvanced
x=L1cos⁡θ1+L2cos⁡(θ1+θ2)x = L_1\cos\theta_1 + L_2\cos(\theta_1+\theta_2)

End-effector position from joint angles of a two-link arm.

View details

Angular Acceleration Torque

NEWIntermediate
τ=Iα\tau = I\alpha

Torque needed to angularly accelerate a rotating mass.

View details

Stepper Motor Step Angle

NEWBasic
θ=360S\theta = \frac{360}{S}

Angle turned per step from steps per revolution.

View details

Microstepping Resolution

NEWIntermediate
θm=θm\theta_m = \frac{\theta}{m}

Finer step angle from microstepping a stepper motor.

View details

Wheel Odometry Distance

NEWIntermediate
d=2πrCNd = 2\pi r \frac{C}{N}

Distance a wheeled robot travels from encoder counts.

View details

Settling Time (approx.)

NEWAdvanced
ts≈4ζωnt_s \approx \frac{4}{\zeta \omega_n}

Time for a control response to settle within 2% of target.

View details

Control Loop Rate

NEWBasic
f=1Tf = \frac{1}{T}

Frequency of a control loop from its cycle time.

View details

Payload Holding Torque

NEWBasic
τ=mgL\tau = m g L

Torque a joint must hold to support a payload at reach L.

View details

Robot Battery Life

NEWBasic
t=QIt = \frac{Q}{I}

Runtime from battery charge and current draw.

View details