On-line monitoring of a PMSM drive system by a multiple feedback relay