Hamid Ghadiri, Hamed Khodadadi, Hooman Eijei, Milad Ahmadi

DOI Number
First page
Last page


A permanent magnet synchronous motor (PMSM) is one kind of popular motor. They are utilized in industrial applications because their abilities included operation at a constant speed, no need for an excitation current, no rotor losses, and small size. In the following paper, a fuzzy evolutionary algorithm is combined with a proportional-integral-derivative (PID) controller to control the speed of a PMSM. In this structure, to overcome the PMSM challenges, including nonlinear nature, cross-coupling, air gap flux, and cogging torque in operation, a Takagi-Sugeno fuzzy logic-PID (TSFL-PID) controller is designed. Additionally, the particle swarm optimization (PSO) algorithm is developed to optimize the membership functions' parameters and rule bases of the fuzzy logic PID controller. For evaluating the proposed controller's performance, the genetic algorithm (GA), as another evolutionary algorithm, is incorporated into the fuzzy PID controller. The results of the speed control of PMSM are compared. The obtained results demonstrate that although both controllers have excellent performance; however, the PSO based TSFL-PID controller indicates more superiority.


Particle Swarm Optimization (PSO), Takagi-Sugeno Fuzzy Logic (TSFL), PID, PMSM, Genetic Algorithm (GA)

Full Text:



K. Zhao et al., "Sliding mode observer-based current sensor fault reconstruction and unknown load disturbance estimation for PMSM driven system", Sensors, vol. 17, no. 12, p. 2833, December 2017.

H. Ghadiri, "Real-time Stability Assessment of Power System using ANN without Requiring Expert Experience", Majlesi J. Electr. Eng., vol. 14, no. 2, pp. 43-49, June 2020.

S. Heidarpoor, M. Tabatabaei and H. Khodadadi, "Speed control of a DC motor using a fractional order sliding mode controller", In Proceedings of the 2017 IEEE International Conference on Environment and Electrical Engineering and 2017 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), 2017, pp. 1-4.

M. Preindl, and S. Bolognani, "Model predictive direct torque control with finite control set for PMSM drive systems, part 2: Field weakening operation", IEEE Trans. Industr. Inform., vol. 9, no. 2, pp. 648-657, May 2013.

Y. Wang, H. Yu, Z. Che, Y. Wang and Y. Liu, "The direct speed control of PMSM based on terminal sliding mode and finite time observer", Processes, vol. 7, no. 9, p. 624, September 2019.

K. Zhao et al., "Robust model-free nonsingular terminal sliding mode control for PMSM demagnetization fault", IEEE Access, vol. 7, pp. 15737-15748, February 2019.

G. Liu et al., "Internal model control of permanent magnet synchronous motor using support vector machine generalized inverse", IEEE Trans. Industr. Inform., vol. 9, no. 2, pp. 890-898, May 2013.

Y. Zhan, J. Guan and Y. Zhao, "An adaptive second-order sliding-mode observer for permanent magnet synchronous motor with an improved phase-locked loop structure considering speed reverse", Trans. Inst. Meas. Control, vol. 42, no. 5, pp.1008-1021, March 2020.

K. Zhou, M. Ai, D. Sun, N. Jin and X. Wu, "Field weakening operation control strategies of PMSM based on feedback linearization", Energies, vol. 12, no. 23, p. 4526, November 2019.

F. F. El-Sousy, "Intelligent optimal recurrent wavelet Elman neural network control system for permanent-magnet synchronous motor servo drive", IEEE Trans. Industr. Inform, vol. 9, no. 4, pp. 1986-2003, November 2013.

B. Zhang and X. Gao, "Hybrid Adaptive Integral Sliding Mode Speed Control of PMSM System Using RBF Neural Network", In Proceedings of the 2020 International Symposium on Power Electronics, Electrical Drives, Automation and Motion (SPEEDAM), 2020, pp. 17-22.

F. Cao, "PID controller optimized by genetic algorithm for direct-drive servo system", Neural Comput. Appl., vol. 32, no. 1, pp. 23-30, September 2020.

J.-W. Jung et al., "Adaptive PID speed control design for permanent magnet synchronous motor drives", IEEE Trans. Power Electron., vol. 30, no. 2, pp. 900-908, February 2014.

C. Zhang et al., "Sliding observer-based demagnetisation fault-tolerant control in permanent magnet synchronous motors", J. Eng., vol. 2017, no. 6, pp. 175-183, June 2017.

C. Zhang et al., "Robust fault-tolerant predictive current control for permanent magnet synchronous motors considering demagnetization fault", IEEE Trans. Ind. Electron., vol. 65, no. 7, pp. 5324-5334, July 2018.

H. Mekki et al., "Fault tolerant design for permanent magnet synchronous motor using fuzzy speed controller", IFAC-PapersOnLine, vol. 49, no. 5, pp. 315-320, June 2016.

L. Hongmei, C. Tao, and Y. Hongyang, "Mechanism, diagnosis and development of demagnetization fault for PMSM in electric vehicle", Transactions of China Electrotechnical Society, vol. 28, no. 8, pp. 276-284, August 2013.

H. Li and T. Chen, "Demagnetization fault diagnosis and fault mode recognition of PMSM for EV", Transactions of China Electrotechnical Society, vol. 32, no. 5, pp. 1-8, March 2017.

C. Xia et al., "Voltage disturbance rejection for matrix converter-based PMSM drive system using internal model control", IEEE Trans. Ind. Electron., vol. 59, no. 1, pp. 361-372, January 2011.

H. H. Choi and J.-W. Jung, "Discrete-time fuzzy speed regulator design for PM synchronous motor", IEEE Trans. Ind. Electron., vol. 60, no. 2, pp. 600-607, February 2013.

S. Chai, L. Wang, and E. Rogers, "A cascade MPC control structure for a PMSM with speed ripple minimization", IEEE Trans. Ind. Electron., vol 60, no. 8, pp. 2978-2987, August 2013.

I. Hassanzadeh, H. Ghadiri, and R. Dalayimilan, "Design and implemention of a simple fuzzy algorithm for obstacle avoidance navigation of a mobile robot in dynamic environment", In Proceedings of the 5th International Symposium on Mechatronics and Its Applications (ISMA), 2008, pp. 1-6.

S. Wang, "Windowed least square algorithm based PMSM parameters estimation", Math. Probl. Eng., vol. 2013, Article ID 131268, September 2013.

Q. Xu et al., "Multiobjective optimization of PID controller of PMSM", J. Contr. Sci. Eng., vol. 2014, Article ID 471609, August 2014.

S. Wang, "ADRC and feedforward hybrid control system of PMSM", Math. Probl. Eng.,, vol. 2013, Article ID 180179, December 2013.

H. H. Choi et al., "Precise PI speed control of permanent magnet synchronous motor with a simple learning feedforward compensation". Electr. Eng., vol. 99, no. 1, pp. 133-139, March 2017.

M. Ahmadi and H. Khodadadi, "Self-tuning PD2-PID Controller Design by Using Fuzzy Logic for Ball and Beam System", in Fundamental Research in Electrical Engineering, Springer, 2019 pp. 217-225.

A. Dehghani and H. Khodadadi, "Designing a neuro-fuzzy PID controller based on smith predictor for heating system", In Proceedings of the 17th International Conference on Control, Automation and Systems (ICCAS). 2017, pp. 15-20.

H. Ghadiri and M. R. Jahed-Motlagh, "LMI-based criterion for the robust guaranteed cost control of uncertain switched neutral systems with time-varying mixed delays and nonlinear perturbations by dynamic output feedback", Complexity, vol. 21, no. S2, pp. 555-578, November 2016.

H. Ghadiri, M. R. Jahed-Motlagh and M. Barkhordari Yazdi, "Robust stabilization for uncertain switched neutral systems with interval time-varying mixed delays", Nonlinear Anal.-Hybri., vol. 13, pp. 2-21, August 2014.

H. Ghadiri, M. R. Jahed-Motlagh and M. B. Yazdi, "Robust output observer-based guaranteed cost control of a class of uncertain switched neutral systems with interval time-varying mixed delays", Int. J. Control, Autom. Syst., vol. 12, no. 6, pp.1167-1179, October 2014.

H. Khodadadi and H. Ghadiri, "Fuzzy Logic Self-Tuning PID Controller Design for Ball Mill Grinding Circuits Using an Improved Disturbance Observer", Mining, Metallurgy & Exploration, vol. 36, no. 6, pp. 1075-1090, July 2019.

H. Khodadadi and A. Dehghani, "Fuzzy logic self-tuning PID controller design based on smith predictor for heating system", In Proceedings of the 16th International Conference on Control, Automation and Systems (ICCAS), 2016, pp. 161-166.

Y.-S. Kung, C.-C. Huang and M.-H. Tsai, "FPGA realization of an adaptive fuzzy controller for PMLSM drive", IEEE Trans. Ind. Electron., vol. 56, no. 8, pp. 2923-2932, August 2009.

A. Abdollahi, A. Foruzan Tabar and H. Khodadadi, "Optimal controller design for quadrotor by genetic algorithm with the aim of optimizing the response and control input signals", Cumhuriyet Üniversitesi Fen-Edebiyat Fakültesi Fen Bilimleri Dergisi, vol. 36, no. 3, pp. 135-147, May 2015.

H. B. Novin and H. Ghadiri, "Particle swarm optimization base explicit model predictive controller for limiting shaft torque", In Proceedings of the 5th Iranian Joint Congress on Fuzzy and Intelligent Systems (CFIS), 2017, pp. 35-40.

M. Mohammadhosseini and H. Ghadiri, "A Combination of Genetic Algorithm and Particle Swarm Optimization for Power Systems Planning Subject to Energy Storage", J. Comp. Robot., vol. 12, no. 1, pp. 65-76, November 2019.

H. H. Choi, H. M. Yun and Y. Kim, "Implementation of Evolutionary Fuzzy PID Speed Controller for PM Synchronous Motor", IEEE Trans. Indust. Inform., vol. 11, no. 2, pp. 540-547, April 2015.


  • There are currently no refbacks.

ISSN: 0353-3670 (Print)

ISSN: 2217-5997 (Online)

COBISS.SR-ID 12826626