This document discusses various types of motor control, including on-off control and PID control. It begins with an overview of closed-loop control using motor feedback via encoders for velocity and position control. The main focus is on introducing PID control in a step-wise manner, first explaining on-off control and then proportional, integral and derivative controllers. It provides the mathematical formulas for these controller types and discusses implementing them in software and tuning the PID parameters.