Design of currents to reduce torque ripple in brushless permanent magnet motors | Synapse