Autonomous Robot by SpacePirato - 1


Autonomous Self-Balancing Humanoid Robot made from scratch. Using Machine Learning (RL) and PID Controller. Also Includes Unity 3D Simulation, 3D Printer Model

Unity 2019.2.13f1Unknown LicenseUpdated 190 days agoCreated on November 25th, 2019
Go to source


This project focuses on building an autonomous single-wheeled self-balancing humanoid robot made from scratch. This report presents the techniques used to design the robot and using reinforcement learning (RL) and a PID Controller make it self-balancing. In the project was also included a 3D Simulation.

One of the goals of the project was to make a brand new robot design and not copy from the already created ones on the internet. The design was supposed to represent the Robert Gordon University robot (see image below):

Please refer to the pdf document for more detailed information!

The pdf document can be found at: Honours Project Report

More info on the motivation & literature review can be found in the PDF document - chapters: 1-2;

The hardware that was used to control the robot:

  1. Raspberry Pi 4 Model B
  2. Gyroscope MPU-6050
  3. Servo DXW90 (plastic) & Servo MG90S (metal) - both modified in order to be able to rotate with 360 degrees
  4. Jumper cables
  5. 6 AA 2900mAh batteries
  6. Battery holder
  7. UBEC 5V switch regulator

The first prototype can be seen below:

More info on the setup can be found in the PDF document - chapter: 3;

The design of the second prototype is more sophisticated and showed better results, however the legs had to be extended due to the reason that the robot was falling to quickly.

The project was not finished. Partially working self balacing robot using only a PID controller. Examples can be seen below which represent the results from the first prototype:

Prototype 1 video one

Prototype 1 video two

Final version of prototype 2:

The results from the two prototypes show that with the many improvements implemented, the robot manages to self balance itself better and better but not fully.

More detailed info on the results can be found in the PDF document - chapter 8;

Show all projects by SpacePirato