Skip to main content

Speed Control of a BLDC Motor Using Artificial Neural Network with ESP32 Microcontroller Based Implementation

  • Conference paper
  • First Online:
Control, Instrumentation and Mechatronics: Theory and Practice

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 921))

  • 957 Accesses

Abstract

Brushless Direct Current (BLDC) motors has suppressed other types of DC motors as they are known to have better speed/torque characteristics, high dynamic response high efficiency, long operating life, noiseless operation, and so on. The speed control of BLDC motors can be achieved using conventional Proportional, Integral and Derivative (PID) controllers but to ensure robustness and noise rejection ability intelligent controllers are superior to PID. The major problem of intelligent controllers is high cost of implementation as it needs high computational microprocessor. Artificial Neural Network (ANN) controllers with an improved control law is designed and implemented in this work using cheap and efficient microcontroller, the ESP32. The new control law has increased the efficiency of the controller in tracking the set point. A three layers ANN design was achieved using Keras and TensorFlow deep learning module using python language, the data used was from PID controller implemented via an experimental DC motor trainer with Arduino IDE as the programming interface. The ANN controller was then programmed in the ESP32. The results obtained have demonstrated an excellent performance of the developed ANN controller over the conventional PID controller in terms of rising time, settling time, maximum overshoot and noise/disturbance rejection ability.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 379.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Rahman, M.A., Hoque, A.M.: Online self-tuning ANN-based speed control of a PMDC motor. In: IEEE/ASME (1997)

    Google Scholar 

  2. Atri, A., Ilyas, M.: Speed control of DC motor using neural network configuration. Int. J. Adv. Res. Comput. Sci. Softw. Eng. 2(5), 209–212 (2012)

    Google Scholar 

  3. Priyanka, D.: Speed control of DC motor (2020). https://robu.in/speed-control-of-dc-motor

  4. Yedamale, P.: Brushless DC (BLDC) Motor Fundamentals. Microchip Technology Inc. (2003)

    Google Scholar 

  5. Jamshidi, M., Zilouchian, A.: Intelligent Control System Using Soft Computing Methodologies. CRC Press (2001)

    Google Scholar 

  6. Benko, A., Lányi, S.C.: History of artificial intelligence. In: Encyclopedia of Information Science and Technology, 2nd edn., pp. 1759–1762. IGI Global (2009)

    Google Scholar 

  7. MacLeod, C.: An Introduction to Practical Neural Networks and Genetic Algorithms for Engineers and Scientists, pp. 1–5 (2004)

    Google Scholar 

  8. Bhattacharyya, S., Chatterjee, P., Mukherjee, C.: Application of artificial neural network for speed control of DC shunt motor. Int. J. Creative Res. Thoughts (IJCRT) 1305–1320 (2017)

    Google Scholar 

  9. Neerparaj, R., Bijay, R.: Neural network based closed loop speed control of DC motor using Arduino Uno. Int. J. Eng. Trends Technol. 4(2), 137–140 (2013)

    Google Scholar 

  10. Yogesh Gupta, S., Grag, M.: DC motor speed control using artificial neural network. Int. J. Mod. Commun. Technol. Res. (IJMCTR) 2(2), 19–24 (2014)

    Google Scholar 

  11. Jitendra, S.: Comparative analysis of ANN based intelligent controllers for speed control of DC motor. Int. J. Eng. Sci. Comput. (IJESC) 7(4), 34–41 (2017)

    Google Scholar 

  12. Sharma, M.: A review on DC motor speed control using artificial neural network. Int. J. Eng. Sci. Math. 7(8), 27–33 (2018)

    Google Scholar 

  13. Sharma, M.: DC motor speed control using artificial neural network. Int. J. Eng. Sci. Math. 7(9), 1–14 (2018)

    Google Scholar 

  14. Mamatha, N., Srinu, I., Kumar, M.V., Chandra: Speed control of brushless DC motor using artificial neural network. Int. J. Sci. Res. Rev. 7(3), 1832–1842 (2018)

    Google Scholar 

  15. Zaidan, M.R.: Impact of artificial neural network for DC motor speed control over the conventional controller. J. Eng. Appl. Sci. 13(21), 9156–9163 (2018)

    Google Scholar 

  16. Abraham, J.A., Shrivastava, S.: DC motor speed control using machine learning algorithm. Int. J. Eng. Res. Technol. (IJERT) 7(04), 33–37 (2018)

    Article  Google Scholar 

  17. Mahmud, N., Biswas, P.C.: Single neuron ANN based current controlled permanent magnet brushless DC motor drives. In: International Conference on Electrical Engineering and Information & Communication Technology (iCEEiCT) (2018)

    Google Scholar 

  18. Sridhar, H.S., Hemanth, P., Soumya, H.V., Joshi, B.G.: Speed control of BLDC motor using soft computing technique. In: International Conference on Smart Electronics and Communication (ICOSEC) (2020)

    Google Scholar 

Download references

Acknowledgement

These authors are grateful to Universiti Teknologi Malaysia for the financial support through Q.J130000.3851.19J81 grant and special thanks to Bayero University, Kano, Nigeria for their support.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Salinda Buyamin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Saleh, I., Bature, A.A., Buyamin, S., Shamsudin, M.A. (2022). Speed Control of a BLDC Motor Using Artificial Neural Network with ESP32 Microcontroller Based Implementation. In: Wahab, N.A., Mohamed, Z. (eds) Control, Instrumentation and Mechatronics: Theory and Practice. Lecture Notes in Electrical Engineering, vol 921. Springer, Singapore. https://doi.org/10.1007/978-981-19-3923-5_31

Download citation

Publish with us

Policies and ethics