Summary: | As a complement to mobile robots, a self-balancing robot was developed using an Arduino, and it was built on a robot that moves on two wheels. Self-balancing robots are based on the inverted pendulum concept, which states that the robot should move ahead when it tilts forward to prevent falls and reverse when tilted backward. Two sensors were required to estimate and log the robot's angular velocity. A complementary filter would be fed by the raw data from these sensors to combine the signals into one that could be used by the controller. Since a proportional, integral, and derivative (PID) controller was put into place, a stepper motor with an encoder was used. The self-balanced robot's stepper motor's pulse width modulation (PWM) was modified using a proportional-integral-derivative controller. The difference between the target and actual tilt angle would be adjusted accordingly. The stepper motor's speed could then be adjusted to keep the robot stable. The outcome indicated that the self-balancing robot might function by utilizing a complementary filter and a proportional-integral-derivative controller to adapt the wheel movement of the robot depending on the conditions. The data logged by the robot's accelerometer, gyroscope, and pitch, as well as the pulse width modulation of its stepper motor, demonstrated the results of this study. © The Author(s), under exclusive license to Springer Nature Switzerland AG 2024.
|