Velocity-based PWM