Text this: Minimization of torque ripple and flux droop using optimal DTC switching and sector rotation strategy