Module 2 · Motor Dynamics & Control Theory
Most of the controllers on an FTC robot live in this module. It starts with the motor itself, then predicts the command a mechanism needs (feedforward), corrects whatever the prediction missed (feedback), and combines the two.
Lessons
The order follows the ideas: understand the motor, predict its command, correct the rest, then deal with limits, special cases, and planning. System identification sits near the end because it's the hardest, but you can read it right after Feedforward if you want real numbers sooner.
- How a Motor Works (Easy): torque, speed, and back-EMF, and why a motor slows down under load.
- Voltage Compensation (Easy): keeping behavior the same as the battery drains over a match.
- Feedforward (kS, kV, kA, kG) (Medium): sending most of the command before any error appears, including gravity for arms and slides.
- PID Control (Medium): the three-term feedback controller, set up for real hardware.
- Actuator Saturation & Anti-Windup (Medium): what happens when the controller asks for more than the motor has, and how to keep the integral in check.
- Bang-Bang Control (Easy): when the simplest controller is the right one, usually for flywheels. Its take-back-half upgrade is in Advanced Topics.
- System Identification (Hard): measuring kS, kV, and kA from data with a line of best fit, the way SysId does.
- Motion Profiling (Hard): giving the controller a target it can actually follow instead of a sudden jump.
Feedback is always a step behind
A PID controller can't do anything until an error exists. The fast, accurate mechanisms you see at competition pair feedback with a feedforward model, and the motor model is what makes that model possible.