A surgical system includes a surgical tool having a motor with a shaft configured to rotate, a cutting device that reciprocates in accordance with the rotation of the shaft, and a position sensor that determines a state of the motor and outputs a position signal representing the motor state. A fluid regulator provides fluid to the motor, and the motor rotates in accordance with the fluid provided. A controller generates a fluid flow command based at least in part on the position signal. The fluid regulator receives the fluid flow command and regulates fluid flow to the motor accordingly.