A DC motor controller using PID algorithm implementation on PIC

This project is about controlling the speed of DC servo motor by using Proportional-Integral-Derivative (PID) algorithm then implemented on Peripheral Interface Circuit (PIC) microcontroller. The main objective of this project is to control the speed of DC servo motor at the demanded speed or to dri...

Full description

Bibliographic Details
Main Author: Wan Robaah, W Ahmad
Format: Undergraduates Project Papers
Language:English
Published: 2008
Subjects:
Online Access:http://umpir.ump.edu.my/id/eprint/430/1/20.A%20DC%20motor%20controller%20using%20PID%20algorithm%20implementation%20on%20PIC.pdf
_version_ 1825808747550736384
author Wan Robaah, W Ahmad
author_facet Wan Robaah, W Ahmad
author_sort Wan Robaah, W Ahmad
collection UMP
description This project is about controlling the speed of DC servo motor by using Proportional-Integral-Derivative (PID) algorithm then implemented on Peripheral Interface Circuit (PIC) microcontroller. The main objective of this project is to control the speed of DC servo motor at the demanded speed or to drive the motor at that speed. The speed of a DC motor usually is directly proportional to the supply voltage. So, if we reduce the supply voltage from 12 Volts to 6 Volts, the motor will run at half the speed. It could be achieved by simply adjusting the voltage sent to the motor, but this is quite inefficient to do. So, A PID controller becomes the best way to overcome this problem. PID attempts to correct the error between a measured process variable and a desired setpoint by calculating and then outputting a corrective action that can adjust the process accordingly. In this project, the PID algorithm that is added to the system becomes a closed loop system. A simulation using MATLAB software is implemented to tune PID algorithm by changing the value of Proportional gain, Kp, Integral gain, Ki and Derivative gain, Kd to get a speed of the motor which is less overshoot and increase settling time. Then, a PIC microcontroller is programmed by adding the value of tuned PID algorithm to control the speed of DC servo motor. At the end of the project, the speed of the DC servo motor should be maintain even the supply voltage is varied.
first_indexed 2024-03-06T11:34:14Z
format Undergraduates Project Papers
id UMPir430
institution Universiti Malaysia Pahang
language English
last_indexed 2024-03-06T11:34:14Z
publishDate 2008
record_format dspace
spelling UMPir4302023-02-23T07:45:10Z http://umpir.ump.edu.my/id/eprint/430/ A DC motor controller using PID algorithm implementation on PIC Wan Robaah, W Ahmad TJ Mechanical engineering and machinery This project is about controlling the speed of DC servo motor by using Proportional-Integral-Derivative (PID) algorithm then implemented on Peripheral Interface Circuit (PIC) microcontroller. The main objective of this project is to control the speed of DC servo motor at the demanded speed or to drive the motor at that speed. The speed of a DC motor usually is directly proportional to the supply voltage. So, if we reduce the supply voltage from 12 Volts to 6 Volts, the motor will run at half the speed. It could be achieved by simply adjusting the voltage sent to the motor, but this is quite inefficient to do. So, A PID controller becomes the best way to overcome this problem. PID attempts to correct the error between a measured process variable and a desired setpoint by calculating and then outputting a corrective action that can adjust the process accordingly. In this project, the PID algorithm that is added to the system becomes a closed loop system. A simulation using MATLAB software is implemented to tune PID algorithm by changing the value of Proportional gain, Kp, Integral gain, Ki and Derivative gain, Kd to get a speed of the motor which is less overshoot and increase settling time. Then, a PIC microcontroller is programmed by adding the value of tuned PID algorithm to control the speed of DC servo motor. At the end of the project, the speed of the DC servo motor should be maintain even the supply voltage is varied. 2008-11 Undergraduates Project Papers NonPeerReviewed pdf en http://umpir.ump.edu.my/id/eprint/430/1/20.A%20DC%20motor%20controller%20using%20PID%20algorithm%20implementation%20on%20PIC.pdf Wan Robaah, W Ahmad (2008) A DC motor controller using PID algorithm implementation on PIC. Faculty of Electrical & Electronics Engineering, Universiti Malaysia Pahang.
spellingShingle TJ Mechanical engineering and machinery
Wan Robaah, W Ahmad
A DC motor controller using PID algorithm implementation on PIC
title A DC motor controller using PID algorithm implementation on PIC
title_full A DC motor controller using PID algorithm implementation on PIC
title_fullStr A DC motor controller using PID algorithm implementation on PIC
title_full_unstemmed A DC motor controller using PID algorithm implementation on PIC
title_short A DC motor controller using PID algorithm implementation on PIC
title_sort dc motor controller using pid algorithm implementation on pic
topic TJ Mechanical engineering and machinery
url http://umpir.ump.edu.my/id/eprint/430/1/20.A%20DC%20motor%20controller%20using%20PID%20algorithm%20implementation%20on%20PIC.pdf
work_keys_str_mv AT wanrobaahwahmad adcmotorcontrollerusingpidalgorithmimplementationonpic
AT wanrobaahwahmad dcmotorcontrollerusingpidalgorithmimplementationonpic