Ah, that helps. You're trying to counteract the cogging of an unloaded motor with active control of its coils. I figured the motor was driving something more than its own rotor, and that the ~23 ripples in the graph were from the tach's coils moving through it's magnets.