FAULT DETECTION OF BRUSHLESS PERMANENT MAGNET MACHINE DRIVES