Arrangements for controlling torque ripple