Professional Documents
Culture Documents
Two Wheels Self Balancing Robot: Group Members
Two Wheels Self Balancing Robot: Group Members
Two Wheels Self Balancing Robot: Group Members
ROBOT
Group Members
Project Supervisor
DR. MUHAMMAD MAJID GULZAR
Associate Professor
Cosupervisor
NILL
Nill
First of all, we are thankful to Almighty Allah for making it workable for us to reach this
phase of education where numerous individuals can’t reach. We can’t express enough
respect to our worthy supervisor sir Dr. Muhammad Majid Gulzar for his complete
support and guidance.We also thankful to all the faculty of university and lab engineers
for their support and effort to make it possible for us.We are grateful to our parents for
their help and collaboration over the span of this project. It was in reality their sincerest
prayers and efforts which help us to complete the project
iii
Abstract
In today’s word robots play very important roles in industries as well as in the society.
Some of the works that a person can’t do, robots can do them quite easily. Our project
is related to design and fabrication of two wheels selfbalancing robot. The robot will
carry the light weighted objects also maintaining its balance on two wheels.The Arduino
micro controller is used for the purpose of balancing robot so that it can stand upright
and receive commands so that the desired path can be easily executed. Inertial mea
surement unit sensor will measure the external force and observe the rotational motion
on the object to use for the robot balance. This system can be used as a base model to
accomplish complex tasks which would otherwise be functioned by humans.
iv
Nomenclature
CAD Computer Aided Design
v
Table of Contents
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi
Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Literature Survey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1 Research papers references . . . . . . . . . . . . . . . . . . . . 1
1.2 Problem statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Objectives and Deliverables . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Market Survey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 Industrial Prospective of the Project . . . . . . . . . . . . . . . . . . . 4
1.5.1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6 Description of Block Diagram . . . . . . . . . . . . . . . . . . . . . . 6
1.6.1 Reference signal . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.6.2 PID Controller . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.6.3 IMU Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.6.4 Disturbance signal . . . . . . . . . . . . . . . . . . . . . . . . 7
1.6.5 Motors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7 Project Methodology and Timeline . . . . . . . . . . . . . . . . . . . . 8
vi
List of Figures
Figure 1.1 Self Balancing Robot . . . . . . . . . . . . . . . . . . . . . . . 2
Figure 1.2 Two wheels self balancing robot . . . . . . . . . . . . . . . . . 5
Figure 1.3 Block diagram of the project . . . . . . . . . . . . . . . . . . . 6
Figure 1.4 Balancing block of the project . . . . . . . . . . . . . . . . . . 8
Figure 1.5 Flow Chart of the project . . . . . . . . . . . . . . . . . . . . . 9
vii
Chapter 1
Introduction
As far as our survey is concerned, a lot of literature is available about two wheels self
balancing and tracking robot. However, we have found very few papers about two
wheels selfbalancing and tracking robot.
Segway, KAIST, Ballbot presented a twowheel selfbalancing robot. They have been
widely recognized a powerful Personal transportation vehicle. Two selfbalancing robot,
he Segway, has become popular and used for commuting or as patrol transport [1].
The selfbalancing robot is similar to Segway, like other ordinary two wheeled self
balancing using wheels and body movement. It is powered by a DC motor two actuators
consisting of a belt mechanism. In addition, KAISAT has developed a twowheel self
balancing robot with an upper body of five degrees of freedom. Using its upper body, the
robot maintains dynamics balance based on a zeromoment point [2]. As different types
of selfbalancing robot are widely used in different fields and different environments.
When a twowheel selfbalancing robot encounters a problem, its stability is mainly af
fected by an obstacle that is that is applied in the back and forth directions. therefore,
the stability and security of the KUWAY was taken care of in the sagittal plane. A free
body diagram of the selfbalance robot of the KUWAY in the sagittal plane [3].
Introduction
A Gyroscope sensor is a device that can measure and maintain the orientation and angu
lar velocity. This is very small device of electromechanically and mechanical devices.
The gyroscope sensor measures the angular speed or inclination of the object or the di
rection of the background [4].
Twowheel selfbalancing robot balance itself and the light weight object. The collected
data can be used to measure various parameters such as the tractive torque at wheel,
mean wheel effective radius, Tyre rolling resistance, force due to gradient, aerodynam
ics drags, equivalent inertial force, angle of deviation etc. It allows to balance the carry
the light weight object from one place to another place.
2
TWO WHEELS SELF BALANCING ROBOT
A mobile robot with least surface contact area and the minimum actuators for carrying
small loads. (Mobile Luggage). Nowadays, mechanical advancements have ended up
being more basic since a significant measure of industry is endeavoring to upgrade their
equipment weapons. This advancement has made wellordered robots to guarantee a
splendid result. Recently, as time goes by, a huge amount of mechanical robots have
been devised to help social orders running their daily life. Selfbalancing robot is truly
an essential machine. It balances itself on two wheels and provides the unique stability
which differentiates it from other ordinary robots.
• Be stable in shortest settling time and smallest over shoot. and not make any large
unwanted movements.
Robots are the best invention that a human made.We cannot count the benefits of robots
in the industries, society and now also in our homes. Robots are used for the safety pur
pose and also for the help of disabled person, patients and old person who can not do their
work.Now there are many types of robots that are working properly and efficiently their
work for the humans. A rescue robot is a kind of surveillance robot that has been planned
with the ultimate objective of protecting people. Essential conditions that use rescue.
robots are mining mishaps, urban disasters, detainee conditions, and impacts. Military
robots are free robots or remotecontrolled devices proposed for. military applications.
3
Introduction
Robots play very important roles for the benefits of human beings. Sometimes a person
cannot do work at a certain place like a place where the temperature is very low or
very high but a robot can work easily at that kind of places. We read many research
papers and got much information about the self balancing and the object balancing robot.
So our project is related to design and fabrication of two wheels selfbalancing robot.
4
TWO WHEELS SELF BALANCING ROBOT
Another motivation is that many disabled persons, patients and old persons can’t do their
work properly. Self balancing robot will help them to do their daily works like taking
something from kitchen or taking medicines from room etc.
1.5.1 Scope
• Electronics: This includes the methods and approach for control of the robot to
be self balanced. Hbridges and motors connections, motors and motor drivers
connections, sensors and microcontroller are used in the Robot
5
Introduction
The balancing unit contains a microcontroller Arduino UNO which runs at 16MHz.
An inertial measurement unit (IMU), a microcontroller, a motor driver and two motors
form the balancing unit. The microcontroller continuously reads the data from IMU and
calculates the angle of tilt of the robot with respect to the vertical. Based on this data,
the microcontroller then sends appropriate control signals to the motor driver to drive
the motors
6
TWO WHEELS SELF BALANCING ROBOT
Reference signal is of 90 degree , we want our robot to stand and balance itself at 90
degree . Then the signal go to the summing block and then pass to the PID controller .
Proportional Integral and Derivation (PID) .The part of PID controller is to balance the
robot at 90 degree angle , and to maintain the balance PID controller is used .if error
accured it will take the error value from sensor and remove the error and then pass
PWM to the motor via motor driver.
IMU Sensor is used to calculate the error i.e they check the angle of 90 degree of robot
,if there is any error in the set point then it pass the signal to the summing block and then
the signal again pass to the PID controller and this is how selfbalancing done .
Disturbance is of many types e.g Flow of air that can disturb the robot movement and
balance, push by the hand of human being is also a type of disturbance signal . Sensor
work as feedback and sense these disturbances.
1.6.5 Motors
As the 90 degree reference signal is our input , motors are the output of our systems.
When motors get correct signal according to the set point in the form of PWM the robot
will balance itself if there is an error signal than this output will go to the PID using
sensor to calculate the error and to remove it .
7
Introduction
By switching the ON button the robot will start working. On the very first step it will
balance itself at 90 degree angle which is set in the code in the microcontroller. If it will
not able to balance itself then it will not work further until it will balance itself .Using
PID controller and IMU sensor the error will be remove. After balancing itself it will
start working on the others step , Now it will start moving using the mobile app by using
a wifi module with the microcontroller, also balancing itself at the 90 degree angle.This
process will repeat again until we switched the button .Then if we switched it OFF, the
robot will be Off and it will come to its initial rest position.
8
TWO WHEELS SELF BALANCING ROBOT