Closed loop regulation
Port the regulation algorithm, for rear wheel speed control, running on the MCU from DRobotti V.1 to V.2.
Algorithm types supported must be:
- PI
Should be:
- PID
- Lead/Lag compensation
The code must read the data produced from speed measurements as input and produce PWM signals for the rear wheel motor drivers as output.
The loop update frequency must be dynamically configurable.