Simple Implementation of a Fuzzy Logic Speed Controller for a PMDC Motor with a Low Cost Arduino Mega


  • K. S. Belkhir Department of Electrical Engineering, University Ferhat Abbas Setif 1, Algeria


Control of the permanent magnetic direct current PMDC motor is a common practice, hence the importance of the implementation of the PMDC motor speed controller. The results of a fuzzy logic speed controller for the PMDC motor rely on an appropriate base. As the dimension of the rules increases, its difficulty rises which affects computation time and memory requirements. Fuzzy Logic Controller (FLC) can be carried out by a low-cost Arduino Mega which has a small flash memory and a maximum clock speed of 16MHz. It is realized by three membership functions and each was divided into three memberships. The results of the FLC are satisfactory, revealing superior transient and steady-state performance. In addition, the controller is robust to speed mode variations.


fuzzy logic, PMDC motor, Arduino Mega


Download data is not yet available.


N. Matsui, “Sensorless PM brushless DC motor drives”, IEEE Transactions on Industrial Electronics, Vol. 43, No. 2, pp. 300-308, 1996 DOI:

A. W. Nasir, I. Kasireddy, A. K. Singh, “Real time speed control of a DC motor based on its integer and non-integer models using PWM signal”, Engineering, Technology & Applied Science Research, Vol. 7, No. 5, pp. 1980-1986, 2017 DOI:

M. Ndje, J. M. Nyobe Yome, A. T. Boum, L. Bitjoka, J. C. Kamgang, “Dynamic matrix control and tuning parameters analysis for a DC motor system control”, Engineering, Technology & Applied Science Research, Vol. 8, No. 5, pp. 3416-3420, 2018 DOI:

L. A. Gadeh, “Outline of a new approach to the analysis complex systems and decision processes”, IEEE Transactions on Systems, Man, and Cybernetics, Vol. SMC-3, No. 1, pp. 28-44, 1973 DOI:

E. Gowthaman, C. D. Balaji, “Self tuned PID based speed control of PMDC drive”, 2013 International Mutli-Conference on Automation, Computing, Communication, Control and Compressed Sensing, Kottayam, India, March 22-23, 2013 DOI:

R. Kushwah, S. Wadhwani, “Speed control of separately excited dc motor using fuzzy logic controller”, International Journal of Engineering Trends and Technology, Vol. 4, No. 6, pp. 2518-2523, 2013

A. H. O. Ahmed, “Optimal speed control for direct current motors using linear quadratic regulator”, Journal of Science and Technology, Vol. 13, No. 3, pp. 32-38, 2012

D. Drainkov, H. Hellendoorn, M. Reinfrank, An Introduction to Fuzzy Control, Springer-Verlag, 1993 DOI:

Z. Z. Liu, F. L. Luo, M. H. Rashid, “Speed nonlinear control of dc motor drive with field weakening”, IEEE Transactions on Industry Applications, Vol. 39, No. 2, pp. 417-423, 2003 DOI:

S. V. S. R. Pavankumar, S. Krishnaveni, Y. B. Venugopal, Y. S. Kishore Babu, “A neuro-fuzzy based speed control of separately excited DC motor”. International Conference on Computational Intelligence and Communication Networks, Bhopal, India, November 26-28, 2010 DOI:

Y. Shi, J. Huang, B. Yu, “Robust tracking control of networked control systems: Application to a networked DC motor”, IEEE Transactions on Industrial Electronics, Vol. 60, No. 12, pp. 5864-5874, 2013 DOI:

Z. Li, J. Chen, G. Zhang, M. G. Gan, “Adaptive robust control for dc motors with ınput saturation”, IET Control Theory & Applications, Vol. 5, No. 16, pp. 1895-1905, 2011 DOI:

S. H. Kim, K. Ishiyama, “Hybrid speed control of a DC motor for magnetic wireless manipulation based on low power consumption: Application to a magnetic wireless blood pump”, IEEE Transactions on Magnetics, Vol. 50, No. 4, Article ID 5000307, 2014 DOI:

A. Fereidouni, M. A. S. Masoum, M. Moghbel, “A new adaptive configuration of PID type fuzzy logic controller”, ISA Transactions, Vol. 56, pp. 222–240, 2015 DOI:

H. Acikgoz, “Speed control of DC motor using interval type-2 fuzzy logic controller”, International Journal of Intelligent Systems and Applications in Engineering, Vol. 6, No. 3, pp. 197-202, 2018 DOI:

A. Ramya, M. Balaji, V. Kamaraj, “Adaptive MF tuned fuzzy logic speed controller for BLDC motor drive using ANN and PSO technique”, IET The Journal of Engineering, Vol. 2019, No. 17, pp. 3947–3950, 2019 DOI:

D. K. Panicker, M. R. Mol, “Hybrid PI-fuzzy controller for brushless DC motor speed control”, IOSR Journal of Electrical and Electronics Engineering, Vol. 8, No. 6, pp. 33-43, 2013 DOI:

L. T. Ngo, D. D. Nguyen, L. T. Pham, C. M. Luong, “Speed up of interval type 2 fuzzy logic systems based on GPU for robot navigation”, Advances in Fuzzy Systems Vol. 2012, Article ID 698062, 2012 DOI:

D. K. Chaturvedi, R. Umrao, O. P. Malik, “Adaptive polar fuzzy logic based load frequency controller”, International Journal of Electrical Power & Energy Systems, Vol. 66, pp. 154-159, 2015 DOI:

A. Avcu, A. F. Bozkurt, K. Erkan, I. Kurt, S. Sezer, “Comparison of IPD and fuzzy logic velocity control in two degree of freedom DC motor system”, International Journal Of Engineering Science And Application Vol. 2, No. 1, pp. 1-7, 2018

I. Kandilli, “Real-time speed controlling of a DC motor using fuzzy logic controller”, Pamukkale University Journal of Engineering Sciences, Vol. 23, No. 5, pp. 543-549, 2017 DOI:


How to Cite

K. S. Belkhir, “Simple Implementation of a Fuzzy Logic Speed Controller for a PMDC Motor with a Low Cost Arduino Mega”, Eng. Technol. Appl. Sci. Res., vol. 10, no. 2, pp. 5419–5422, Apr. 2020.


Abstract Views: 925
PDF Downloads: 569

Metrics Information

Most read articles by the same author(s)