To Control the Speed of a DC Motor Using a Specially Designed PID Algorithm
This work presents the design and implementation of a circuit that uses a proportional, integral, and derivative (PID) controller to control the revolutions per minute (RPM) of the direct current (DC) motor in real time that uses a microcontroller platform. The algorithm used in the microcontroller...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
The University of Lahore
2023-10-01
|
Series: | Pakistan Journal of Engineering & Technology |
Subjects: | |
Online Access: | https://www.hpej.net/journals/pakjet/article/view/2567 |
_version_ | 1797658189025509376 |
---|---|
author | Haseeb Ahmad Abdullah Zubair |
author_facet | Haseeb Ahmad Abdullah Zubair |
author_sort | Haseeb Ahmad |
collection | DOAJ |
description |
This work presents the design and implementation of a circuit that uses a proportional, integral, and derivative (PID) controller to control the revolutions per minute (RPM) of the direct current (DC) motor in real time that uses a microcontroller platform. The algorithm used in the microcontroller was the algebraic equations of the general PID controller equation. The paper discusses the structure of a PID algorithm and its implementation. From the algebraic equations, the error, cumulative error, and delta error of the PID controller have been found. The designed algorithm is implemented using the Arduino software (IDE). The aim of this work is to control the speed (RPM) of the DC motor using the PID design technique. The designed control system circuit is affordable. The system is tested in real-time, steady-state error, and response time is inspected successfully. The designed circuit is tested for various speed inputs satisfactorily. The speed control using PI and PID control methodology is described.
|
first_indexed | 2024-03-11T17:55:32Z |
format | Article |
id | doaj.art-e52501eebd374b75abcbe568deebd7fb |
institution | Directory Open Access Journal |
issn | 2664-2042 2664-2050 |
language | English |
last_indexed | 2024-03-11T17:55:32Z |
publishDate | 2023-10-01 |
publisher | The University of Lahore |
record_format | Article |
series | Pakistan Journal of Engineering & Technology |
spelling | doaj.art-e52501eebd374b75abcbe568deebd7fb2023-10-17T13:06:23ZengThe University of LahorePakistan Journal of Engineering & Technology2664-20422664-20502023-10-016310.51846/vol6iss3pp25-33To Control the Speed of a DC Motor Using a Specially Designed PID AlgorithmHaseeb Ahmad0Abdullah Zubair1Department of Electrical and Computer Engineering, COMSATS University Islamabad, Lahore Campus, Lahore 54000, PakistanDepartment of Electrical and Computer Engineering, COMSATS University Islamabad, Lahore Campus, Lahore 54000, Pakistan This work presents the design and implementation of a circuit that uses a proportional, integral, and derivative (PID) controller to control the revolutions per minute (RPM) of the direct current (DC) motor in real time that uses a microcontroller platform. The algorithm used in the microcontroller was the algebraic equations of the general PID controller equation. The paper discusses the structure of a PID algorithm and its implementation. From the algebraic equations, the error, cumulative error, and delta error of the PID controller have been found. The designed algorithm is implemented using the Arduino software (IDE). The aim of this work is to control the speed (RPM) of the DC motor using the PID design technique. The designed control system circuit is affordable. The system is tested in real-time, steady-state error, and response time is inspected successfully. The designed circuit is tested for various speed inputs satisfactorily. The speed control using PI and PID control methodology is described. https://www.hpej.net/journals/pakjet/article/view/2567DC MotorEncoderMicrocontrollerMotor DriverPID ControllerPulse Width Modulation (PWM) |
spellingShingle | Haseeb Ahmad Abdullah Zubair To Control the Speed of a DC Motor Using a Specially Designed PID Algorithm Pakistan Journal of Engineering & Technology DC Motor Encoder Microcontroller Motor Driver PID Controller Pulse Width Modulation (PWM) |
title | To Control the Speed of a DC Motor Using a Specially Designed PID Algorithm |
title_full | To Control the Speed of a DC Motor Using a Specially Designed PID Algorithm |
title_fullStr | To Control the Speed of a DC Motor Using a Specially Designed PID Algorithm |
title_full_unstemmed | To Control the Speed of a DC Motor Using a Specially Designed PID Algorithm |
title_short | To Control the Speed of a DC Motor Using a Specially Designed PID Algorithm |
title_sort | to control the speed of a dc motor using a specially designed pid algorithm |
topic | DC Motor Encoder Microcontroller Motor Driver PID Controller Pulse Width Modulation (PWM) |
url | https://www.hpej.net/journals/pakjet/article/view/2567 |
work_keys_str_mv | AT haseebahmad tocontrolthespeedofadcmotorusingaspeciallydesignedpidalgorithm AT abdullahzubair tocontrolthespeedofadcmotorusingaspeciallydesignedpidalgorithm |