RPM Display and Speed Control of a Brushless DC Motor Using 8051 Microcontroller
DOI:
https://doi.org/10.67308/irjist.100Keywords:
Closed-Loop Speed Control, Pulse Width Modulation (PWM), RPM Measurement, Infrared (IR) Sensor, Embedded Control System., Brushless DC (BLDC) Motor, 8051 MicrocontrollerAbstract
Brushless DC (BLDC) motors are widely used in cooling fans, pumps, robots, medical devices, and electric vehicles because of their efficiency and long service life. However, their shaft speed can vary with supply voltage and mechanical load. Therefore, a practical drive system requires both a speed set point and a means of monitoring the actual shaft speed. This paper describes a low-cost closed-loop speed controller and RPM indicator based on an 8051-family microcontroller. The user selects the reference speed using UP/DOWN push buttons. The microcontroller generates a PWM signal in software using its on-chip timer, which drives the motor through a switching power stage. An infrared (IR) emitter–photodiode pair detects one pulse per revolution from a reflective marker on the shaft. These pulses are counted over a fixed gate time to determine the speed in RPM. The measured speed is compared with the reference speed, and the PWM duty cycle is adjusted after each gate interval. Both reference and measured speeds are displayed on a 16 × 2 LCD. The prototype was tested over a speed range of 500–2500 RPM, with the measured speed remaining within 2.0–3.0% of the set value. The paper presents the design details, measurement procedure, repeated-reading protocol, and error analysis.
Downloads
References
[1] Krishnan R. Permanent Magnet Synchronous and Brushless DC Motor Drives. Boca Raton, FL, USA: CRC Press; 2010.
[2] Miller TJE. Brushless Permanent-Magnet and Reluctance Motor Drives. Oxford, U.K.: Oxford University Press; 1989.
[3] Mondal R, Mukhopadhyay A, Basak D. “Embedded system of DC motor closed loop speed control based on 8051 microcontroller”, Procedia Technology, vol. 10, pp. 840–848, 2013.
[4] Adesina GR, Shoewu OO, Olatinwo SO, Omitola OO. “Development of a Microcontroller-Based Motor Speed Control System Using Intel 8051,” Journal of Advancement in Engineering and Technology, vol. 1, no. 2, pp. 1–5, 2014.
[5] Singh S. “Speed Control of Closed Loop DC Motor Using 8051 Microcontroller,” International Journal of Emerging Technologies and Innovative Research, vol. 6, no. 2, pp. 424–430, Feb. 2019.
[6] Tiwari G, Singh M, Rathore A, Sharma VP. “DC motor controller by PWM technique,” Research & Reviews: Journal of Embedded System & Applications, vol. 7, no. 3, 2019.
[7] Gamazo-Real JC, Vázquez-Sánchez E, Gómez-Gil J. “Position and speed control of brushless DC motors using sensorless techniques and application trends,” Sensors, vol. 10, no. 7, pp. 6901–6947, 2010.
[8] Akrami M, Jamshidpour E, Nahid-Mobarakeh B, Pierfederici S, Frick V. “Sensorless Control Methods for BLDC Motor Drives: A Review,” IEEE Transactions on Transportation Electrification, vol. 11, no. 1, pp. 135–152, Feb. 2025. https://doi.org/10.1109/ TTE.2024.3387371
[9] Mazidi MA, Mazidi JG, McKinlay RD. The 8051 Microcontroller and Embedded Systems. 2nd ed. Upper Saddle River, NJ, USA: Pearson; 2008.
[10] Mohan N, Undeland TM, Robbins WP. Power Electronics: Converters, Applications, and Design. 3rd ed. Hoboken, NJ, USA: Wiley; 2003.
[11] Rashid MH. Power Electronics: Circuits, Devices, and Applications. 4th ed. Upper Saddle River, NJ, USA: Pearson; 2014.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ankita Sasane, Vaishnavi Dhakare, Sahil Sarang, Prajwal Bake, Siddharth Bhorge, Rahul Pol (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Articles published in the International Research Journal of Innovation in Science and Technology (IRJIST) are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Authors retain the copyright of their work and grant the journal the right of first publication. Proper attribution to the authors and the journal is required for any reuse of the published content.