Control strategies of electric machines for automotive applications