Arrangements for controlling speed or speed and torque