Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm

The usage of the robotic arm in industries has been growing as the robotic arm can provide many advantages to the industries. However, the usage of the robotic arm has many challenges faced by the industries. One of the problems is the error of the angle position caused by the movement of the roboti...

Full description

Bibliographic Details
Published in:Journal of Physics: Conference Series
Main Author: Abdul Karim M.Z.B.; Thamrin N.M.
Format: Conference paper
Language:English
Published: Institute of Physics 2022
Online Access:https://www.scopus.com/inward/record.uri?eid=2-s2.0-85137742539&doi=10.1088%2f1742-6596%2f2319%2f1%2f012015&partnerID=40&md5=7a701eb7f1d9071481c6fafb66ac012d
id 2-s2.0-85137742539
spelling 2-s2.0-85137742539
Abdul Karim M.Z.B.; Thamrin N.M.
Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
2022
Journal of Physics: Conference Series
2319
1
10.1088/1742-6596/2319/1/012015
https://www.scopus.com/inward/record.uri?eid=2-s2.0-85137742539&doi=10.1088%2f1742-6596%2f2319%2f1%2f012015&partnerID=40&md5=7a701eb7f1d9071481c6fafb66ac012d
The usage of the robotic arm in industries has been growing as the robotic arm can provide many advantages to the industries. However, the usage of the robotic arm has many challenges faced by the industries. One of the problems is the error of the angle position caused by the movement of the robotic arm's joint which affects the precision of the desired position of the end-effector. Therefore, this paper aims to study the solution of the PID controller to increase the accuracy of the position of the end-effector in the X-Y plane using forward kinematic. It describes the mechanical system, design concept, and the prototype of a 6 DOF robotic arm. Initially, the angle error of the joint for 2D plane movement is captured manually using the trigonometric calculation. Then, to reduce this error, the coefficient of the PID controller, k p , k i , and k d are tuned automatically using Simulink and MATLAB. Then, the controller is programmed on a Raspberry Pi with a servo driver, PCA9685. There are six servo motors used as the joints of the robotic arm, namely MG996R. Each servo motor can be controlled by using a Graphical User Interface (GUI) scripted in Python Programming Language. The end position of the end-effector will be displayed on this GUI. It is found that the angle position error of the 6 DOF robotic arm for X-Y plane movement is reduced from 4.7° to 0° by using the PID controller. © Published under licence by IOP Publishing Ltd.
Institute of Physics
17426588
English
Conference paper
All Open Access; Gold Open Access
author Abdul Karim M.Z.B.; Thamrin N.M.
spellingShingle Abdul Karim M.Z.B.; Thamrin N.M.
Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
author_facet Abdul Karim M.Z.B.; Thamrin N.M.
author_sort Abdul Karim M.Z.B.; Thamrin N.M.
title Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
title_short Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
title_full Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
title_fullStr Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
title_full_unstemmed Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
title_sort Servo Motor Controller using PID and Graphical User Interface on Raspberry Pi for Robotic Arm
publishDate 2022
container_title Journal of Physics: Conference Series
container_volume 2319
container_issue 1
doi_str_mv 10.1088/1742-6596/2319/1/012015
url https://www.scopus.com/inward/record.uri?eid=2-s2.0-85137742539&doi=10.1088%2f1742-6596%2f2319%2f1%2f012015&partnerID=40&md5=7a701eb7f1d9071481c6fafb66ac012d
description The usage of the robotic arm in industries has been growing as the robotic arm can provide many advantages to the industries. However, the usage of the robotic arm has many challenges faced by the industries. One of the problems is the error of the angle position caused by the movement of the robotic arm's joint which affects the precision of the desired position of the end-effector. Therefore, this paper aims to study the solution of the PID controller to increase the accuracy of the position of the end-effector in the X-Y plane using forward kinematic. It describes the mechanical system, design concept, and the prototype of a 6 DOF robotic arm. Initially, the angle error of the joint for 2D plane movement is captured manually using the trigonometric calculation. Then, to reduce this error, the coefficient of the PID controller, k p , k i , and k d are tuned automatically using Simulink and MATLAB. Then, the controller is programmed on a Raspberry Pi with a servo driver, PCA9685. There are six servo motors used as the joints of the robotic arm, namely MG996R. Each servo motor can be controlled by using a Graphical User Interface (GUI) scripted in Python Programming Language. The end position of the end-effector will be displayed on this GUI. It is found that the angle position error of the 6 DOF robotic arm for X-Y plane movement is reduced from 4.7° to 0° by using the PID controller. © Published under licence by IOP Publishing Ltd.
publisher Institute of Physics
issn 17426588
language English
format Conference paper
accesstype All Open Access; Gold Open Access
record_format scopus
collection Scopus
_version_ 1809677594206928896