z-logo
open-access-imgOpen Access
The Design of a Microcontroller-based Self Balancing Robot Employing PID Control and Kalman Filter
Author(s) -
Marizan Sulaiman Ahmad Fahmi,
Indrazno Siradjuddin,
Nur Rachman Dzakiyullah
Publication year - 2022
Publication title -
webology
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.259
H-Index - 18
ISSN - 1735-188X
DOI - 10.14704/web/v19i1/web19081
Subject(s) - setpoint , pid controller , control theory (sociology) , kalman filter , robot , computer science , microcontroller , controller (irrigation) , extended kalman filter , simulation , control engineering , engineering , control (management) , artificial intelligence , temperature control , computer hardware , biology , agronomy
A self-balancing robot is a mobile robot that has two wheels on the right and left sides which will not balance if it is not controlled. This study aims to design a control system that can balance the self-balancing robot. The system used as input is from the MPU6050 sensor, and the output from the sensor in the form of a tilt angle will be processed using a microcontroller. The angle obtained will be compared with the setpoint value which is 0 degrees. The difference between the setpoint and the system output angle is controlled using PID control. For the output from the PID to be more stable, it will be filtered using a Kalman filter. Analysis of calculations using MATLAB software to make it easier to analyze the response of the self-balancing robot that has been given the values of Kp, Ki, and Kd. From the test results, it is obtained that the PID controller parameters that will be used from tunning the Kcr value with the Ziegler-Nichols method are Kp = 5.67, Ki = 85.5 and Kd = 0.0004 can overcome the balance in the self-balancing robot approaching the setpoint value with an angle range between -3º to 3º.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here