%0 Journal Article %T A Thorough Comparative Analysis of PI and Sliding Mode Controllers in Permanent Magnet Synchronous Motor Drive Based on Optimization Algorithms %J AUT Journal of Electrical Engineering %I Amirkabir University of Technology %Z 2588-2910 %A Khorsand, Fatemeh %A Shahnazi, Reza %A Fallah, Esmael %D 2019 %\ 12/01/2019 %V 51 %N 2 %P 171-186 %! A Thorough Comparative Analysis of PI and Sliding Mode Controllers in Permanent Magnet Synchronous Motor Drive Based on Optimization Algorithms %K Sliding Mode Controller %K Fuzzy and PI Controllers %K Particle Swarm Optimization %K Grey Wolf Optimization %K Permanent Magnet Synchronous Motor Drive %R 10.22060/eej.2019.16219.5278 %X In this paper, the speed tracking for permanent magnet synchronous motor (PMSM) in field oriented control (FOC) method is investigated using linear proportional-integral (PI) controller, sliding mode controller (SMC) and its advanced counterparts. The advanced SMCs considered in this paper are fuzzy SMC (FSMC) and sliding mode controller with time-varying switching gain (SMC+TG) which can effectively cope with chattering, an inherent harmful phenomenon in SMC. Regardless of all the works done to replace PI controller with SMC and its advanced counterparts, a thorough comparison of the PMSM drive behavior under mentioned controllers is still missing. This paper attempts to fill in this gap, by providing a fair and in-depth comparison of the PMSM drive operation by using PI and sliding mode speed controllers. In this paper, in order to design and provide a fair framework for comparison the performance and robustness of these four controllers a suitable cost function is defined to manage the performance effectively. Thus, based on this cost function a nonlinear optimization problem is defined. To solve the optimization problem and consequently derive the optimal values for the parameters of the controllers, particle swarm optimization (PSO) and grey wolf optimization (GWO) algorithms are employed. The performance and robustness of the PMSM drive using four optimal controllers are studied in the presence of different conditions and uncertainties. Numerical results demonstrate that SMC and its advanced counterparts cannot offer the superior behavior for all conditions and their superiority is less than it is often stated in the literature. %U https://eej.aut.ac.ir/article_3572_a2a0bb1488bdf2ea4a93fce7e945dbf9.pdf