The optimization of torque ripple reduction by using DTC-multilevel inverter