DC Motor Speed Control Using Microcontroller PIC 16F877A.

ii

BSTACT

Direct current (DC) motor has already become n important drive coniguration for
many applications across a wide range of powers and speeds. The ease of control and
excellent pefomance of the DC motors will ensure that the number of applications using
them will continue grow for the foreseeable uture. This project is mainly concened on
C motor speed control system by using microcontroller PIC 16F877A. It is a closed-loop

real time control system, where optical encoder (built in this project) is coupled to the
motor shat to provide he feedback speed sinal to controller. Pulse Width Modulation
(PWM) technique is used where its sinal is generated in microcontroller. Microcontroller
acts as propotional (P) controller wih Kp =1 in this study. The PWM sinal will send to
motor driver to vary the voltage supply to motor to maintain at constant speed. Besides, it
also shows a raph of motor speed versus time to let the user monitor the perfomnce of
the system easily. Based on the esult, the reading of tachnometer built is quie reliable.
Through the project, it can be concluded that microconroller PIC 16F877A can conrol
motor speed at desired speed althouh there is a vriation of load.

© Unvesii Tenial Malaysia Melaa