Design and Development of Unmanned Three Wheeler Controlled by Internet of Things A Project Report
Design and Development of Unmanned Three Wheeler Controlled by Internet of Things A Project Report
Design and Development of Unmanned Three Wheeler Controlled by Internet of Things A Project Report
A PROJECT REPORT
Submitted by
V. SRIDHAR 211716114119
K. VISWANATH 211716114141
of
BACHELOR OF ENGINEERING
IN
MECHANICAL ENGINEERING
CHENNAI-600 124.
MARCH 2020
i
ANNA UNIVERSITY :: CHENNAI 600 025
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Certified that the candidate was examined viva-voice in the examination held
on.........................
ii
ACKNOWLEDGEMENT
We express our gratitude towards our chairperson Dr.(Mrs.) Thangam
Meganathan, chairman Mr.S.Meganathan, B.E., F.I.E., and our beloved
principal Dr.M.Velan, who have constantly encouraged us in all aspects and
chiseling us as a successful engineer.
Last but not the least, we express our gratitude towards Anna University,
Chennai for including this subject in our curriculum.
Finally, we thank our beloved parents for their valuable contribution and
guidance towards the success of our project.
iii
ABSTRACT
iv
TABLE OF CONTENT
CHAPTER TITLE PAGE
NO NO
ABSTRACT v
LIST OF FIGURES v
LIST OF TABLES vi
1 INTRODUCTION 1
1.1 APPLICATION 4
1.2 CONTROL MODE OF UGV 6
1.2.1 COMMAND CENTRE CONTROL MODE 6
1.2.2 ARMCON MODE 6
1.2.3 AUTONOMOUS MODE 6
1.2.4 RAPTOR 6
1.3 INTERNET OF THINGS 7
1.3.1 IOT ENABLERS 7
1.3.2 CHARACTERISTICS OF IOT 9
1.3.3 MODERN APPLICATION 10
2 LITERATURE REVIEW 16
3 METHODOLOGY 20
4 COMPONENT DESCRIPTION 21
4.1 LINEAR ACTUATOR 21
4.2 WIPER MOTOR 21
4.3 SERVO MOTOR 21
4.4 T RELAY 22
4.5 PIC MICROCONTROLLER 22
v
4.6 ESP8266 WIFI MODULE 22
4.7 SMPS 23
4.8 LCD DISPLAY 23
4.9 IR SENSORS 23
4.10 ARDUINO 24
4.11 CAMERA 24
4.12 BATTERY 24
5 DESIGN OF UGV 25
5.1 MECHANICAL DESIGN 25
5.2 AUTOCAD 25
5.3 3D VIEW 27
6 ARCHITECTURE OF UGV 28
6.1 COMMAND CONTROL STATION 28
6.2 INTERNET 28
6.3 CAMERA 29
6.4 CONTROL UNIT 29
6.5 ON-BOARD SYSTEM 29
6.6 LINEAR ACTUATOR 30
6.7 SERVO MOTOR 30
6.8 DC MOTOR 30
6.9 WIPER MOTOR 31
6.10 WIRELESS MODEM 31
6.11 BATTERY 31
6.12 ARDUINO 31
6.13 T- RELAY 32
6.14 IR SENSOR 32
vi
7 SOFTWAREW IMPLEMENTATION 33
7.1 ANDROID APPLICATION OPERATED 33
THROUGH WIFI
7.2 PROTEUS 7.0 SIMULATION TOOL 33
7.3 CCS COMPILER 34
7.3.1 CCS C COMPILER FEATURES 35
8 PROJECT IMAGES 36
8.1 CIRCUIT CONNECTIONS 38
9 FUTURE SCOPE 39
9.1 APPLICATIONS 39
10 PROGRAMMING 40
11 COST ESTIMATION 46
12 CONCLUSION 47
13 REFERENCES 48
vii
LIST OF FIGURES
FIGURE TITLE PAGE
NO NO
1.1 TITAN UGV 1
1.2 ARMED ROBOTIC VEHICLE 1
1.3 AUTOMATED TRIAL VEHICLE 2
1.4 RHEINMETALL UGV 3
1.5 TALON ROBOT 4
1.6 SECURITY SURVEILLANCE ROBOT 4
1.7 SECURTY GUARD ROBOT 5
1.8 SECURITY PATROL ROBOT 5
1.9 REMOTE OPERATED 6
1.10 SMART AGRICULTURE 7
1.11 SMART IRRIGATION SYSYTEM 9
1.12 ROBOTIC ARM 10
1.13 INDUSRIAL IOT APPLICATION 11
viii
4.11 CAMERA 24
4.12 BATTERY 24
ix
LIST OF TABLES
TABLE TITLE PAGE
NO NO
6.1 SPECIFICATION OF WI-FI MODULE 29
6.2 SPECIFICATION OF LINEAR ACTUATOR 30
6.3 SPECIFICATION OF SERVO MOTOR 30
6.4 SPECIFICATION OF WIPER MOTOR 31
6.5 SPECIFICATION OF BATTERY 31
6.6 SPECIFICATION OF ARDUINO 31
6.7 SPECIFICATION OF T-RELAY 32
6.8 SPECIFICATION OF IR SENSOR 32
x
CHAPTER 1
INTRODUCTION
Unmanned mobile robots are actively being developed for both civilian and
military use to perform dull, dirty, and dangerous activities. They proved to be
effective in a large number of circumstances where the use of human labour is too
expensive, the task is risky, or it is impractical for human capability. There are two
general classes of unmanned mobile vehicles: Teleoperated, like the one
1
described in the present work, and Autonomous. A teleoperated, or unmanned
guided vehicle (UGV), is a vehicle that is controlled by a human operator at a
remote location via a communications
2
of its armed vehicles and weaponry with robots by 2015. Such systems are
expected to minimize the operations cost and combat casualty survey.
In this paper the proposed UGV can perform remote operation and
some autonomous operation. This UGV robot can survive and monitor the place,
collect and send information to the operator and also can operate some primary
missions by remote control. By smart sensing of angle the robot can detect whether
it tilting more than 45 degree. If it tilt more than 45 degree then will go backward
automatically. If any how the robot tilted 180 degrees then it will adjust its logic
automatically with the remote command as it was doing previously.
3
1.1 APPLICATIONS
4
Fig 1. 7 SECURTY GUARD ROBOT
5
1.2 Control Modes of UGV
Control the UGV using commands sent based on hand movements mapped by
the IMU unit
Locate and eliminate targets in the field vision using motion tracking.Motion
tracking implemented through advanced image processing algorithms
6
1.3 INTERNET OF THINGS
7
There are four main components used in
IoT 1.Low-power embedded systems
Less battery consumption, high performance are the inverse factors play a
significant role during the design of electronic systems.
2. Cloud computing
Data collected through IoT devices is massive and this data has to be stored on
a reliable storage server. This is where cloud computing comes into play. The
data is processed and learned, giving more room for us to discover where things
like electrical faults/errors are within the system.
3. Availability of big data
We know that IoT relies heavily on sensors, especially real-time. As these
electronic devices spread throughout every field, their usage is going to trigger
a massive flux of big data.
4. Networking connection
In order to communicate, internet connectivity is a must where each physical
object is represented by an IP address. However, there are only a limited
number of addresses available according to the IP naming. Due to the growing
number of devices, this naming system will not be feasible anymore.
Therefore, researchers are looking for another alternative naming system to
represent each physical object.
8
Fig 1.11 Smart irrigation system
9
Fig 1.12 Robotic arm
A device that is connected to another device right now may not be
connected in another instant of time.
Intermittent connectivity – IoT devices aren’t always connected. In order to
save bandwidth and battery consumption, devices will be powered off
periodically when not in use. Otherwise, connections might turn unreliable
and thus prove to be inefficient.
As a quick note, IoT incorporates trillions of sensors, billions of smart systems,
and millions of applications.
1. Smart Grids
2. Smart cities
3. Smart homes
4. Healthcare
5. Earthquake detection
6. Radiation detection/hazardous gas detection
10
Fig 1.13 Industrial IOT Application
7.Smartphone detection
8.Water flow monitoring
11
CHAPTER 2
LITERATURE REVIEW
This literature survey is organised as follows. The next section will provide a
survey of recent work on advanced control techniques applied to UGVs, electric
vehicles, and mobile robots. It provides a survey of different ways of perception
using the most recent sensors and techniques that can enhance the acquired data
from the sensors. This provides a survey of recent work on path planning using
different techniques include both in static and in a dynamic environment.
12
move towards its final destination. A Raspberry Pi 3 has been used as the brain
of the vehicle together with other components such as DC and Servo motors,
Ultrasonic and Infrared sensors, webcam, batteries, power bank, motor
controller and a smartphone.
13
Senthilkumar. D.,, Babu Natesan., Asokan. Shankar C. Subramanian(2015).
Tele-operation of Unmanned Tracked Vehicles: Modeling and Simulation of
Planar Motion Dynamics. The design and development of unmanned tracked
vehicles have received a lot of attention in the recent past, considering their wide
application in many scenarios. In this paper, the development of a generic
mathematical model for an unmanned, off-road tracked vehicle in tele-operation
and its simulation are presented. The tele-operation system model is presented
along with the planar motion dynamics of the tracked vehicle. Vehicle motion
dynamics is subdivided into longitudinal motion and angular motion dynamics,
which are again subdivided into acceleration, braking, and yaw motion dynamics.
14
work normally. This robot can monitor condition of the place like temperature
and presence of natural gas. A camera is attached with this robot with which it
can observe the condition of the site through internet.
15
Akil Chrukuri ,Aditiya Shshank neti , Saindhi Jasthi Mrs.Ponnamal
P(2014). Unmanned Ground Vehicle For Military Purpose. Unmanned
ground vehicle (UGV) is also called as self controlled robot which play an
important role in military purposes. Unmanned ground vehicle support and
augment soldiers life in battle fields. This Unmanned ground vehicle effectively
works in the fields of border patrol, surveillance and in war combats. This UGV
mainly works in two different modes, Automatic or self mode and Manual or in
coordination with human’s. In self mode , UGV is tasked to surveillance the
border between the two areas without the human instructions.
Karsten Berns, Atabak Nezhadfard, Massimo Tosa, Haris Balta and Geert De
Cubber(2017) . Unmanned Ground Robots for Rescue Tasks. This chapter
describes two unmanned ground vehicles that can help search and rescue teams in
their difficult, but life-saving tasks. These robotic assets have been developed
within the framework of the European project ICARUS. The large unmanned
ground vehicle is intended to be a mobile base station. The smaller unmanned
ground vehicle is also equipped with an array of sensors, enabling it to search for
victims inside semi-destroyed buildings. Working together with each other and the
human search and rescue workers, these robotic assets form a powerful team,
increasing the effectiveness of search and rescue operations, as proven by
operational validation tests in collaboration with end users.
16
the vehicle. The vehicle is connected via Bluetooth with help of smart phone
application software. When a person or motor enters a monitored area, camera
capture the image which is continuously send to the control room. Camera
connected to microcontroller keeps on capturing at the secured places.
17
S.Siva Sai Kumar Reddy, R. Puviarasi, S.R.Boselin Prabhu(2016).
Automatic Material Sorting and Storing Machine using Arduino. The
project detects the objects totally different mate The proposed of the prosthetic
hand is light weight. The servo motors as actuator give the hand lightweight
structure and low cost prosthetic hand. This hand can be used as prosthetic hand
for transradial prosthesis because of its size and weight which approach the
human hand. The prosthetic hand also has seven grip patterns that enable it to
do activities of daily living. It works just like a human hand simulation, but with
a lesser precision of course. rials and segregate in 3 different boxes. By usage of
sensors decreases the errors in sorting and reduces the person power. The
projected system involves inductive proximity sensor(for metal
detector),capacitive proximate sensor(for plastic detector), mini limit switch for
sensing weight and for sorting purpose linear motion electrical actuators area
unit used and that we modified the system of manual power.
Shruthi K(2017). A Low Cost Prosthetic Hand using Flex Sensors and Servo
Motors. The proposed of the prosthetic hand is light weight. The servo motors
as actuator give the hand lightweight structure and low cost prosthetic hand. This
hand can be used as prosthetic hand for transradial prosthesis because of its size
and weight which approach the human hand. The prosthetic hand also has seven
grip patterns that enable it to do activities of daily living. It works just like a
human hand simulation, but with a lesser precision of course.
18
development involved PIC microcontroller in remote-controlled and UGV robot,
Xbee Pro modules, Graphic LCD 84x84, Vexta brushless DC electric motor and
mecanum wheels. This paper show the study the movement of
multidirectional UGV by using Mecanum wheels with differences drive
configuration. The 16-bits Microchips microcontroller were used in the UGV’s
system that embed with Xbee Pro through variable baud-rate value via UART
protocol and control the direction of wheels.
19
CHAPTER 3
METHODOLOGY
Fig 4.1
A linear actuator is an actuator that creates motion in a straight line, in contrast
to the circular motion of a conventional electric motor. Linear actuators are
used in machine tools and industrial machinery, in computer peripherals such as
disk drives and printers, in valves and dampers, and in many other places where
linear motion is required.
4.2 Wiper motor
Fig 4.2
A wiper motor generally consists of a metal arm; one end pivots, the other end
has a long rubber blade attached to it. The arm is powered by a motor, often an
electric motor, although pneumatic power is also used for some vehicles. The
blade is swung back and forth over the glass, pushing water, other precipitation,
or any other impediments to visibility, from its surface.
21
4.3 Servo motor
Fig 4.3
A servo motor is an electrical device which can push or rotate an object with
great precision. If you want to rotate and object at some specific angles or
distance, then you use servo motor.
4.4 T Relay
Fig 4.4
A relay is an electromagnetic switch that is used to turn on and turn off a circuit
by a low power signal, or where several circuits must be controlled by one
signal. The main operation of a relay comes in places where only a low-power
signal can be used to control a circuit.
22
4.5 PIC Microcontroller
Fig 4.5
Peripheral Interface Controller (PIC) was originally designed by General
Instruments. In the late 1970s, GI introduced PIC 1650 and 1655 – RISC with
30 instructions. PIC was sold to Microchip Features: low-cost, self-contained,
8-bit, Harvard structure, pipelined, RISC, single accumulator, with fixed reset
and interrupt vectors
Fig 4.6
ESP8266 is an impressive, low cost WIFI module suitable for adding WIFI
functionality to an existing microcontroller project via a UART serial connection.
The module can even be reprogrammed to act as a standalone WIFI connected
device–just add power! The feature list is impressive and includes: 802.11 b/g/n
protocol Wi-Fi Direct (P2P), soft-AP Integrated TCP/IP protocol stack.
23
4.7 SMPS
Fig 4.7
Switch mode power supplies (SMPSs) are used in a range of applications as an
efficient and effective source of power. This is in major part to their efficiency.
For anybody still working on a desktop, look for the fan output in the central
processing units (CPU). A series switching element turns the current supply to a
smoothing capacitor on and off. The voltage on the capacitor controls the time
the series element is turned
Fig 4.8
LCD (Liquid Crystal Display) screen is an electronic display module and find
a wide range of applications. A 16x2 LCD display is very basic module and is
very commonly used in various devices and circuits. These modules are
preferred over seven segments and other multi segment LEDs.
24
4.9 IR SENSORS
Fig 4.9
The sensor has a 3-pin header which connects to the microcontroller board or
Arduino board via female to female or female to male jumper wires. A
mounting hole for easily connect one or more sensor to the front or back of
your robot chassis.
4.10 ARDUINO
Fig 4.10
Arduino is an open-source hardware and software company, project and user
community that designs and manufactures single-board microcontroller sand
microcontroller kits for building digital devices.
25
4.11 CAMERA
Fig 4.11
The ESP32-CAM has a very competitive small-size camera module that can
operate independently as a minimum system with a footprint of only 27*40
4.12 BATTERY
Fig 4.12
A twelve-volt battery has six single cells in series producing a fully charged
output voltage of 12.6 volts. A battery cell consists of two lead plates a positive
plate covered with a paste of lead dioxide and a negative made of sponge lead,
with an insulating material (separator) in between
26
CHAPTER 5
DESIGN OF UGV
5.1 Mechanical Design
27
Fig 5.2 Isometric view
28
5.3 3D VIEW
29
CHAPTER 6
ARCHITECTURE OF UGV
Described are systems and methods, including computer program products for
controlling an unmanned vehicle. A user controls one or more unmanned
vehicles with a Smartphone. The Smartphone receives video stream from the
unmanned vehicles, and the Smartphone displays the controls from the
unmanned vehicle over the video. The Smart phone and the unmanned
vehicle communicate wirelessly
30
6.3 CAMERA:
The camera records the video of the path travelled by the UGV and send
to the control station for the users to access it.
6.4 CONTROL UNIT:
It is usually the micro controller that receives the signals from the user and
operate according to the signals such as UGV movement and angle,obstacle.
31
6.6 LINEAR ACTUATOR:
This is used to control the direction of the Unmanned control vehicle
6.8 DC MOTOR:
It is mainly used for UGV movement from one place to other place.
32
6.9 WIPER MOTOR
This is used to control the braking of unmanned ground vehicle.
6.11 BATTERY
Used for powering up the control unit and wifi module.
33
6.13 T- RELAY
A Switch used to conrol the linear actuator backward and forward
motion
6.14 IR SENSOR
Are used to detect and avoid obstacle during movement
34
CHAPTER 7
SOFTWARE IMPLEMENTATION
7.1 Android application operated through WIFI
1. The Android platform includes support for the WIFI network stack, which
allows a device to wirelessly exchange data with other devices.
2. The application framework provides access to the WIFI functionality
through the Android APIs.
3. Make a connection between this app and WIFI module ESP
8266 Through internet.
4.Then using ,this app operates vehicle as required.
36
7.3.1 CCS C COMPILER FEATURES
1. Built in libraries that work with all chips for RS232 serial I/O, I2C, discrete
I/O and precision delays.
2. Integrates with MPLAB IDE and other simulators and editors for source level
debugging. Standard HEX file and debug files ensure compatibility with all
programmers.
4. Efficient function implementation allows call trees deeper than the hardware
stack.
5. Source code drivers included for LCD modules, keypads, 24xx and 94xx serial
EEPROM's, X10, DS1302 and NJU6355 real time clocks, Dallas touch memory
devices, DS2223 and PCF8570 serial SRAM, LTC1298 and PCF8591 A/D
converters, temperature sensors, digital pots, I/O expander and much more.
8. Assembly code may be inserted anywhere in the source and may reference C
variables.
10. Inline functions supported to save stack space; Linker will automatically
determine the best architecture or it can be manually specified.
11. Compiler directives determine if tri-state registers are refreshed on every I/O
or if the I/O is as fast as possible.
37
CHAPTER 8
PROJECT IMAGES
38
Fig 8.2 Linear actuator
39
8.1 CIRCUIT CONNECTIONS
40
CHAPTER 9
FUTURE SCOPE
There exists several potential practical applications of the UGV such as a
Titan Unmanned Ground Vehicle and a fire fighting robot..The concept can
be expanded to fit in with the untapped urban indoor market such as malls,
hotels, banks, nursing homes, hospitals, offices, stores, schools,museums,
and much more.
9.1 APPLICATIONS
Unmanned ground vehicle for fortification in Army
Unmanned ground vehicle with pick and place robot in industries
UGVs for seed sowing
Titan UGV
41
CHAPTER 10
PROGRAMMING
Source code
#Include <80c52.h>
#device ADC=10 // 10bit adc
#include <16f883_io.h> // for 28pin ic
#use delay(clock=20000000)
#fuses HS,NOPUT,NOBROWNOUT,PROTECT,NOWDT
#include <lcd_drive_2.c>
void ultra_trigger_routine_X()
{
/ disable_interrupts(int_timer0); ULT_TRIG_X=1; delay_us(10);
distance_x = (ultra_F_count/ref_count)*ref_distance;
void Distance_condition()
{
if (distance_x >= Set_Distance_load)
{
relay= 1;
}
}
void Distance_condition2()
{
Relay1= 1;
43
}void Display_fun()
{
Distance_condition();
if(Page_flip == 0)
{
lcd_clear();
lcd_write(0x80,0);
printf(lcd_write_string,"DIS:%02lumm",distance_m);
}
else if(Page_flip == 1)
{
lcd_write(0xc0,0);
printf(lcd_write_string,"set_D2:%02lumm",Set_Distance_load); /
/delay_ms(1500);
}
Page_flip++;
if(Page_flip>2)
{
Page_flip = 0;
}
}
44
if(INC_key==0)
{
delay_ms(200);
li+=level;
if(li>=max)li=max;
lcd_write(lcd,0);
printf(lcd_write_string,"%02lu ",li);
}
else if(DEC_key==0)
{
delay_ms(200);
if(li<=minimum)li=minimum;
else li-=level;
lcd_write(lcd,0);
printf(lcd_write_string,"%02lu ",li);
}
else if(SLC_key==0)
{
delay_ms(200);
break;
}
else
{
lcd_write(lcd,0);
printf(lcd_write_string,"%02lu ",li);
}
}
45
return(li);
}
void Setting_fun()
{
if (SEL_key == 0) // voltage
{
delay_ms(50);
lcd_write(0x80,0);
printf(lcd_write_string,"Set_D2 :
%02lumm ",Set_Distance_load);
Set_Distance_load = inc_dec_routine(20,90,0xc0,Set_Distance_load,5);
}
}
void main()
{
trisa=0x03;
trisb=0x0f;
trisc=0x80;
portb_7=1;
portb_6=1;
portb_5=1;
portb_4=1;
portc_1=0;
46
lcd_int();
timer_intials();
adc_intial();
lcd_display();
Set_Distance_load=30;
relay= 0;
while (TRUE)
{
ultra_trigger_routine_X();
Display_fun();
}
Setting_fun();
47
CHAPTER 11
COST ESTIMATION
48
CHAPTER 12
CONCLUSION
In this paper we were able to design and develop a remote operated multi
directional unmanned vehicle. The design approach suggested in this paper is
cost effective using a full duplex communication and suitable for applications
even like military exploration and surveillance purpose. The current project
constitutes an excellent demonstrator of design, manufacturing and control
capabilities that can be used to develop more sophisticated.UGVs for
different application in the future. All the equipment used in the development
of our UGV was chosen after critical optimization of cost and performance
considerations. We conclude from literature review that recent work on
remote-operated vehicles suggests solutions such as simplex communication
that make it cost-effective.
49
REFERENCES
1. D. W. Gage: UGV HISTORY 101: A Brief History of Unmanned Ground Vehicle
(UGV) Development Efforts, Unmanned Systems Magazine, Summer 1995,
volume 13, number 3
8. Tarun Debnath, AFM Zainul Abadin & Md. Anwar Hossain(2018). Android
controlled smart wheelchair for disabilities.
10. Karsten Berns, Atabak Nezhadfard, Massimo Tosa, Haris Balta and Geert De
Cubber(2017) . Unmanned Ground Robots for Rescue Tasks
50