A variable-speed sampled data speed controller is disclosed. It is microprocessor-based and has minimal compensator pole-zero shifting. The controller operates by using several different loop compensators, each of which functions over a small speed range. The controller also has a minimal transient when switching from one compensator to the next.