Parameter estimation and reliable fault detection of electric motors