Beruflich Dokumente
Kultur Dokumente
CHAPTER # 1
INTRODUCTION
CHAPTER#1
INTRODUCTION
1.1. Challenges
1.1.1. Mechanical design:
Though designing a tank may seem simple but due to mechanical
constraints, it wasnt an easy task. Observing at various models of
tank drives, we chose the above mentioned design, to ease
programming and circuitry difficulties and also to simply roam about
unknown environments while overcoming obstacles to a certain
degree. Mechanical challenges included
-
drive mechanism
Changing the designs of the shafts of the motors
Mounting of sensors in a way we require for localization and
locomotion
1.1.3. Programming
CHAPTER # 2
LITERATURE
REVIEW
CHAPTER#2
LITERATURE REVIEW
Stationary
ROBOT
mobile
USV :
Unmanned
Space Vehicle
UGV:
Unmanned
Ground
Vehicle
UAV :
Unmanned
Aerial Vehicle
UMV :
Unmanned
Maritime
Vehicle
2.2. APPLICATIONS
Following chart shows a few applications:
APPLICATION
S
Military
Transportatio
n Arms And
Ammunition
2.2.1.
Search And
Rescue
Mine
Clearance
Fire-fighting
Surveillance
and
reconnaissa
nce
Just simply marking and locating humans trapped under rubble is not enough
for USAR (Urban Search and Rescue). Search and rescue is a wide area which
YEAR
PLACE
DISASTER
KILLED
1935
Quetta
Earthquake
60,000
1950
Punjab
Flood
29,000
2005
Kashmir
Earthquake
73,000
encompasses a broader perspective of USAR. Of the many possible
situations, we wish to address the following areas in our FYP.
-
Earthquakes
Floods
Collapsed buildings
10
11
Rescue robots are different than just rubble removal robots for construction.
In rescue operation the requirements for better efficiency and higher speed is
mandatory.
2.3.6.
Telepresence
12
In the next chapter we will have a look on the components that have been
used in the making of the project.
Structure
Tracks
Aluminium base
Pulleys
Acrylic covering
Actuation
Battery
Motor system
Servo motor
Power window motors
Sensors
Area mapping:
13
Human sensing:
Micro controller:
PIC 18F452
PIC18F4550
PIC16F877A
14
CHAPTER # 3
SPECIFICATIONS
CHAPTER#3:
SPECIFICATIONS
15
This chapter gives an insight on the components that have been implanted to
perform the task of an unmanned ground vehicle.
3.1. STRUCTURE:
Following are the units when combined together forms the chassis of the
robot
16
FIGURE[3.2]: PIC
MICROCONTROLLER
FIGURE[3.3]:SERVO MOTOR
3.4. BATTERY:
We have used a lead acid battery of 12V with 7A current ratings. The weight
contributed is 2.65kg and a size of 151*97.5*65mm
17
3.6. SENSORS:
In this portion we have briefly discussed about the range finding, human
detection sensors.
We will discuss them in two parts:
Area Mapping
Human Sensing
Wireless communication
18
These sensors are used to detect obstacles by using sound waves that is
being emitted at high frequency up to 40KHz.The time taken for the sound
waves to hit a reflective surface and then return back to the sensor is used to
find the distance of object from its nearest obstacle. The range of these
sensors is up t 2 to 4cm.
FIGURE[3.6.1a]: HC-SRO4
3.6.1b. GPS LS20031 MODULE: The LS20031 GPS receiver is a complete
GPS smart antenna receiver that includes an embedded antenna and GPS
receiver circuits. And uses 57600bps TTL serial interface. The GPS smart
antenna will track up to 66 satellites at a time while providing fast time-tofirst-fix, one-second navigation update and low power consumption.
19
FIGURE[3.6.1c]: HMC-5883L
20
21
FIGURE[3.6.2c]:
CO2 MG 811
22
Each motor is being controlled with the help of one pin of the micro controller .since
there are two motors so two pins( c.1 and c.2) of micro controller have been
assigned for this purpose. Since the logic high of micro controller is 5v and the
switching on of each CMOS pair requires at least 10v on its gate terminal therefore
we have connected a BJT (2N2222) between each pair of CMOS Power inverter and
controllers pin in order to step the voltage from 5v (controllers output) to 12v
(appropriate logic high of CMOS pair in our case) .
23
In the above simulation between the nodes A and B motor will be connected .So
when micro controller gives 5v as output to the input pin of our h bridge circuit then
motor will get 12v on its one terminal and 0v at the other terminal means it will
move forward .On the other hand when micro controller gives 0v on the input pin of
drive circuit then voltages of the motor terminals will be reversed and motor moves
in the reverse direction .To stop the motor we have given 50 % duty cycle with the
frequency 1.5KHz.
24
25
CHAPTER # 4
HUMAN DETECTION
AND
LOCALIZATION
This chapter covers the main objective of our project which is to build a map
of an unknown environment and then at the same time navigate it in order to
find live humans.
To achieve this we incorporated a number of sensors and a GPS whose
working will be discussed below with the help of codes and plots.
26
4.2.
Ultrasonic
Range
Finder:
The
to use sensors that will tell the distance of robot from an obstacle .For this
purpose, we used three ultra-sonic sensors which are placed on a circular
disc 120 degrees apart. This disc is then mounted on a servo motor that
rotates 120 degree for the first time to get information of obstacles present in
27
the room. The first sensor would cover from 0-120 degrees, the second from
120-240 and third to 240-360, resulting to cover the entire room.
Data from all three sensors is received in a 12 byte string array where the
first three byte gives the angle of servo motor, the next 9 bytes gives
distance of obstacles from all three sensor each occupying 3 bytes of array
( byte[1,2,3]= theta, byte[4,5,6]=sensor1,byte[7,8,9]=sensor2,
byte[10,11,12]=sensor3 ) . This string array is then converted into double
word .The servo angle and sensors data (obstacle distances)is stored in
separate arrays (theta,rho,rho2,rho3)so they can be manipulated to get a
polar coordinate plot .
FIGURE[4.2b]: sensors
28
29
FIGURE[4.3]:
The above plot marks the distance and direction of obstacles as well as live
humans where * shows obstacles and O shows humans.
4.4. HMC5883L
After receiving the combined map of ultrasonic as well as PIR sensors next
step was to move the robot in the direction of the detected human .For this
purpose we used HMC 5883L sensor that will take constant feedback of the
horizontal orientation (x,z) of the robot with respect to the localized area. The
sensor uses magnetic fields. Therefore to avoid magnetic interferences, it has
to be kept isolated from the metallic parts of the robot to avoid noise.
.
30
HMC will ask the robot to rotate until the nearest human has been found, as
marked in the map. From arrays( array theta[36], array_hp1[36],
array_hp2[36]as mentioned in the previous code) the robot will check for
the nearest human presence.
For example it will check the status of each PIR sensor on every value of
theta with spacing of 5 if at theta equals to 0, 5, 10 the status of both PIR
remained 0 and at the same time at theta=15 degree the status of any one
PIR sensor or both becomes 1 then the HMC will tell the robot to move 15
degree that is in the direction of the first detected human.
4.5. MG811:
31
amount of CO2 in air increases .For sensing this we use MG811 CO2 gas
sensor with the help of the following data
Normal presence of CO2 in air would be around 1000 to 4000 ppm, the more
close the robot gets to the human, the concentration increases up to 50,000
ppm.
Since we are acquiring analog data from the sensor, so these values should
be quantized with the help of PICs ADC. This is done using the following code
in which sampling size = 8 bits and Sampling time= 50 us .
The controller stores and compares three values at time (res1,res2 and res3)
if res1<res2 <res3 means no human is present because the voltage
decreases with increase in CO2 so after digitalizing the steps will also
decrease as CO2 increases.
Quantized value=(5/255) *voltage from sensor
32
For example the values of res1, res2 and res 3 were 96,97,98 when no human
was in its vicinity as soon as human comes near ,this value decreases to
res1=99,res2=61,res3=62 showing the presence of human.
33
As our robot is fully autonomous, we have used GPS receiver for outdoor
localization doing this robot will continuously take the latitude and longitude
coordinates from the satellite and update the current position of the robot
(GPS receiver).
4.7.1.
Following are the modules which are mostly used for navigation:
Out of all these LS20032 was our requirement but we decide to select
LS20031 due to its cheaper cost and its availability. As we are using
RS232 serial communication so it becomes essential to convert GPS
output from TTL to RS232.
34
NAME
Vcc
RX
TX
GND
GND
DESCRIPTION
Input power (3.3V)
Data input (TTL level)
Data output (TTL level)
Ground
Ground
GPS
receiver
TTL
MAX232
RS232
PC
The first step is to extract the NMEA message out from the GPS receiver
.following are the standard NMEA records:
35
All the NMEA record has different data format and by default it could be set
on one of its NMEA record or may at all NMEA record. We have to change the
default baudrate and frequency of GPS receiver from 57600 to 9600 to make
it compatible with our controller and PC.
4.7.4. SETTING DIFFERENT DATA FORMATS BY USING MINIGPS
Software:
MiniGPS is a software which provides more convenient way to view the
status of GPS receiver. MiniGPS
36
FIGURE[4.7.4]: Mini gps status bar before and after fixing com
port and baude rate
After setting up the input serial port (PC) and baudrate, the status page
will show the status of GPS receiver by providing time and positions.
Now, to change the NMEA data and baud rate, click to setup and the
following window will appear as:
37
Set NMEA output setting to 1 only for those which are your
requirement and all those which you dont need set them 0 after this
apply confirm . To change the baud rate set the baud rate and can also
change fix update rate.
Out of all 6 NMEA different formats, we will only use RMC record data in
our project and set our GPS to 9600 baud rate to make it compatible
with micro-controller .
4.7.5 RMC DATA FORMAT:
$GPRMC,133302.000,A,2456.7505,N,06704.5389,E,0.33,93.48,230708(
date),,,A*56
38
CABLE:
FIGURE[4.7.5.]: Receiving GPS frames on serial
communicator
39
CHAPTER # 5
WIRELESS DATA
TRANSFER
Chapter # 5
40
41
interprets large decimal data as exponential data, and there was no better
way to interpret and send data.
42
FIGURE[]:
43
CHAPTER # 6
INTEGRATION
CHAPTER #6
INTEGRATION
Integration of all the discretely worked circuits and designs into a fully
functional project was the biggest challenge of the project. The programming
was extensive and required step-by-step debugging at different phases.
44
6.2.
45
46
possible directions of humans are marked on the same map (by detecting the
live humans IR radiation using PIR sensors). The final map would result as
follows:
47
The robot goes to the first human it finds in the map and goes there to check
whether it is alive or not (CO2 levels and heartbeat levels will be monitored
(without physical contact). The map can be used by rescue teams to search
for other survivors.
6.6. Repeat
The sequence repeats until all survivors are found in the area affected.
48
CHAPTER # 7
RESULTS AND
RECOMMENDATIO
NS
4.6.1. RESULTS:
49
area.
The robot is globally localized using GPS and localized indoors using
and heartbeat.
The robot can be deployed in any rugged environment and can roam
freely there because of tank drive.
4.6.2. RECOMMENDATIONS:
50
REFERENCES:
51
52
radionica.com/productdata/HCSR04.pdf
PIC Microcontrollers: www.microchip.com
I2C communication:
i. https://learn.sparkfun.com/tutorials/i2c
ii. PIC Microcontrollers - Aamer Iqbal Qureshi, Pakistan
CO2 sensors:
i. http://www.theben.de/en/CO2-sensors
ii. http://sandboxelectronics.com/files/SEN-000007/MG811.pdf
433 MHz RF module:
http://arduinobasics.blogspot.com/2014/06/433-mhz-rf-module-
with-arduino-tutorial.html
j. Tower PRO 996R Servo Motor: http://www.amazon.com/AdafruitIndustries-155-Towerpro-Standard/dp/B00HIX2O6U
k. LS23001 GPS: https://www.sparkfun.com/products/retired/9891