Abstract: This article focuses on selecting the best gains for PID controllers used in speed control for Permanent Magnet Synchronous Motors (PMSM). The Artificial Hummingbird Algorithm (AHA), a ...