Abstract: Permanent Magnet Synchronous Motors (PMSMs) have replaced DC motors in various applications due to their higher efficiency, compact size, and superior performance in dynamic environments.