Intelligent monitoring of Permanent Magnet Synchronous Motors with Stellar-E micro-controllers