Performance evaluation of a direct torque controlled drive in the continuous PWM-square wave transition region