gps and gprs based real time vehicle tracking on google earth[1]

37
Vivekananda ISSUE TRACKING Software Requirement specifications Sphoorthy engineering college Team Members A.Satya sai sirisha P.Naga roopa Project Guide D.Kishore Department of ECE Introduction: GPS and GPRS based real time vehicle tracking on Google Earth

Upload: dkishore

Post on 03-Jan-2016

312 views

Category:

Documents


1 download

DESCRIPTION

jhhb

TRANSCRIPT

Page 1: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Vivekananda

ISSUE TRACKING

Software Requirement specifications

Sphoorthy engineering college

Team Members

A.Satya sai sirisha

P.Naga roopa

Project Guide

D.Kishore

Department of ECE

Introduction:

GPS and GPRS based real time vehicle

tracking on Google Earth

Abstract:

Page 2: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

The project aims in designing a system which is

capable of continous monitoring of path of the vehicle on

PC with Google Earth Application.

This project consists of GPS receiver present in the

vehicle system which continuously gets location

information from the satellites and GPRS modem; placed in

vehicle system,. The GPRS modem, which is present in the

vehicle, will continuously send location information into a

web-link.

GPS is the acronym for Global Positioning System.

It is employed to find the position, velocity, time of

anything located on the earth. This information is provided

by the GPS receiver with the help of the data it receives

from the satellites.

Micro controller forms the controlling module and

it is the heart of the device. The controller performs the

functionality of receiving data from the GPS. The

microcontroller is programmed in such a way that the data

Page 3: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

from GPS receiver is processed and continuously sent

through GPRS modem. The data is uploaded to a pre-

defined web-link through a GPRS modem interfaced to the

Microcontroller. The received data is tracked on the Google

Earth application in the PC. A line driver MAX232 is used

to convert CMOS levels to RS232 levels. The

Microcontroller is programmed using Embedded C

language which provides effective environment in

performing the task.

Vehicle tracking Reduce the cost by knowing in real-timethe current location of a vehicle such as atruck or a bus The location of a vehicle is used by a fleetOperator to efficiently plan a schedule inOrder to reduce the transportation time anddistance

Company:

Was established in year 2000,specialized in manufacturing

mobile communication device and Geographic information

System software and server based technology,our product

Has been sell to worldwide over 90 countries,product and

Service include the following areas:

Page 4: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

GPS vehicle Tracking System/Car Security system

video server

Satellite communication Solutions

Wireless technology solutions:

Wi-fi,wi-max,GPRS/CDMA,RFID

High quality production proof,cybergraphy already pass

Europe CE certification and US FCC certification

Page 5: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

GlobalTrack Vehicle Tracking System

GlobalTrack G200X GPS Tracking System

Full function gps tracking equipment with real time video

and fuel level

Monitoring,wireless panic button,RFID,internal

battery,temperature sensors

Motion sensor,internal ignition relay,analog input/output.

Very useful for Intelligent TransportationSystem (ITS) Can be used in probe cars to measure real-time

Page 6: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Traffic data to identify the congesting area Can be a life saver in an emergency case toQuickly and automatically report a vehicleposition to a rescue agent when an accidenthappens to the vehicle Can be attached to a vehicle with an anti-theftsystem to identify its location when it is stolen

Client - An embedded device with a GPS/GPRSModule to identify device location informationthat is periodically transmitted to a server Server - A personal computer with a web serverProgram to receive the location information thatis then converted into the format that can bedisplayed by using Google Earth software orGoogle Map technology Called Goo-TrackingGoo-Tracking : GPS tracking system basedon Google Map Commodity hardware Open source software An easy-to-manage user interfacevia a web server with Google Mapvia Google Earth software.

Goo-Tracking Server A commodity personal computer running a Linux operating system with an open source software such as Apache web server, PHP, MySQLThe server has three functions

Page 7: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Receive the information : By opens a non-blocking socket to receive data from multiple GPS Tracking Modules simultaneously Store information in a database : Formats the receiving data into our database Display the information : Search and formats data to beBackgroundGlobal Positioning System (GPS) Technology Composed of a network of 24 satellites of the UnitedStates The satellites periodically emit radio signal of shortpulses to GPS receivers A GPS receiver receives the signal from at least threesatellites to calculate its position (latitude and longitude) Can also calculate an average speed and direction oftraveling GPS is a key technology for giving device its positionBackground

Page 8: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

The system architecture: GPS tracking and GSM modules

The system has two main modules, as shown in figure (2). The first module is the tracking device which is attached to the moving automobile. This module composes of: a GPS receiver,Microcontroller and a GSM Modem. The GPS Receiver retrieves the location information from satellites in the form of latitude and longitude real-time readings. The Microcontroller has threemain tasks: to read certain engine parameters from automobile data port (OBD-II), to processes the GPS information to extract desired values and to transmit this data to the server using GSM modem by SMS. The

Page 9: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

chosen engine parameters are: RPM, engine coolant temperature, vehicle speed, percent throttle.The second module consists of a recipient GSM modem and workstation PC. The modemreceives the SMS that includes GPS coordinates and engine parameters. This text is processedusing a Visual Basic program to obtain the numeric parameters, which are saved as a MicrosoftOffice Excel file. The received reading of the GPS is further corrected by Kalman filter. Totransfer this information to Google Earth, the Excel file is converted to KML (Keyhole MarkupLanguage) format. Google Earth interprets KML fileandshows automobile’s location andInternational Journal of Computer Science & Information Technology (IJCSIT) Vol 3, No 6, Dec 201177engine parameters on the map. The system’s efficiency is dependable on the sufficiency of theused communication network.An additional setting could be implemented to interface the system to the car’s alarm to alertthe owner on his cell phone if the alarm is set off. The automobile’s airbag system can also bewired to this system to report severe accidents to immediately alert the police and ambulanceservice with the location of the accident.Figure 2. The system architecture: GPS tracking and GSM modules. 4. Hardware specification

Page 10: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

The tracking unit, as shown in figure (3), consists of two main inputs: The first receivedinput is the GPS output, which has a sentence based on NMEA 0183 standard. The other inputis obtained by the automobile data port, typically called ON Board Diagnostics port, version II(OBD-II). The unit sends an SMS using Hayes command (AT Command).

Schematic diagram of in-vehicle tracking unit.

On-Board Diagnostics port (OBD-II) is a universal automotive protocol supported by modern automobilesTo retrieve diagnostic errors over a Controller Area Network (CAN) bus of the microcontroller (MCU)[11].The used GSM module is of type SIM900D, this modulesupports standard AT command and compatible with several GSM networks. Transmissionparameters are set to: Baud rate is set at 19200 bps, the data is 8N1 format, and flow control is set to none. For this study, we chose certain parameters to show the status of the engine: RPM, engine coolant temperature, vehicle speed and percent throttle

Page 11: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Background:Global Positioning System (GPS) Technology Composed of a network of 24 satellites of the UnitedStates The satellites periodically emit radio signal of shortpulses to GPS receivers A GPS receiver receives the signal from at least three satellites to calculate its position (latitude and longitude) Can also calculate an average speed and direction oftraveling GPS is a key technology for giving device its position

General Packet Radio Service (GPRS) Technology An enhancement of GSM networks to support packetSwitched data services Operates on the existing GSM network infrastructure Can transfer data at the maximum rate of 115.2 kbps The largest data service network available and always on Most suitable for a real-time tracking managementSystem

Proposed System andImplementationSystem composed of three components GPS Tracking Device : Transmits locationInformation to the server through GPRS

Page 12: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

networks Server : A personal computer that receives theInformation and put it in the database Database : Formats the information in a specialForm that can search and display using Google Earth software or Google Map

GPS Tracking Module Based on the 8-bit AVR RISC microcontroller Low power MCU with 32k ROM and 2k RAM Has several peripherals such as UART, SPI andI2C to connect to GPRS/GPS module, MMCmodule and GPIO Control module UART interface is connected to all-in-one GPRSand GPS module

Scope:

 

GlobalTrack G200S GPS Tracking

Page 14: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Versions: PIC-software , serialport eclipse as IBM tool

GlobalTrack WebMap Service with Google Earth  

What is GlobalTrack WebMap Service?GlobalTrack WebMap Service offer a web based software management interface with the following features

 Support Google Earth

User can view real time vehicle tracking location on google earth

Each track point on google earth and vehicle icon can display real time status information

User can download history location from server and map onto google earth 

 Local Language Support

GlobalTrack WebMap client viewer , can easily translate to user specific language

Page 15: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

setting by a text file

 Excellent Map Interface

GlobalTrack Web Client already integration with google earth to support ,click to preview

Support vector map with geographic symbol , satellite image , or hybrid mode

very clear satellite image to view  

 Track analysis & Report Generation

User can download tracking data from GlobalTrack Server with flexible search criteria

Stop report : auto generate stop time,leave time , stay time , by user search criteria

Vehicle event report : alarm , over speed , stop, running , input pin changing,goefencing

Barcode scanner or RFID tag scan report: all infomation with location and time tag

Over speed report ,Geofence report Milage report : get milage information from

vehicle , or from seach time interval Daily tracking report : each tracking point

with time tag Geocode report (generate location or address

from gps lat-lon coordinate ) History data can download and overalpped on

Page 16: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

map display

Report data can be export to user application for future analysis  

 View instant video image support from vehicle unit

Display real time video image send from GlobalTrack GT-CAM

Concurrent display multiple vehicle unit Polling or setting video transmission image

frame from remote server

The video image can be triggerd by input oin status , timer interval or polling.

 Control Remote Vehicle Units Over Air

Send command to vehicle unit and get acknowledge over air

Change any remote vehice units paramteres over air

Remote enginer killer , car immobilizer supported

 Local Map Support

system can load user specific map data overlap on map screen

Support MapInfo and Arcview map format

Page 17: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Support bmp or jpeg image type with coordinate infomration

 Local GSM Support

GlobalTrack Web Client can direcly access to GM500 GSM Modem to receive SMS from vehicle unit

The SMS message send from vehicle unit directly back to user client side , without send back to GlobalTrack server side

All GSM SMS can be supported in GobalTrack client side , without send to server ( international sms fee saved)

 Screen Dump Samples

   

Objectives

The major features of this project are:

Page 18: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

1. Data logging into PC.

2. Wireless data transmission.

3. Mapping the route on the Google map.

4. Usage of GPRS modem.

The system includes GPS/GPRS module for location acquisitionand message transmission MMC for temporary storage of locationinformation

1. An 8-bit AVR microcontroller

Proposed System andImplementation1. Initialization phase Initialization parameters on AVR microprocessor Initialization parameters on GPRS/GPS module,And make a connection to a GPRS network andto connect to the server via TCP/IP socket Initialize MMC module into SPI mode for data

1. read/write

System Prototype

Page 19: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

2.

Proposed System andImplementation

3. 2. GPS position reading phase4. MCU sends a series of AT commands to5. GPRS/GPS module via the UART port6. Issue the AT+WGPSPOS command to get7. the data in NMEA standard format to8. acquire the current location of the device

3. GPS data formatted and transmitted phase Convert NMEA-formatted data to our own format The format includes the device ID, session ID,time in UTC format, f lags, latitude, longitude,speed, date, and reserved (Rsv) fields

Page 20: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Each line ended with the symbol (^) represents module in one session or fleet

1. one sample of data from a GPS Tracking

2.

Above Diagram is GPS Tracking system

This project provides us learning’s on the

following advancements:

Page 21: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

1. RS232 protocol implementation.

2. GPRS technology.

3. GPS technology.

4. Embedded C programming.

5. PCB design.

The major building blocks of this project

are:

1. Regulated Power Supply.

2. Global Positioning System (GPS Receiver).

3. GPRS modem.

4. LCD display with driver.

5. Micro controller

6. Crystal oscillator.

7. Reset.

8. MAX-232.

9. LED indicators.

Software’s used:

Page 22: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

1. PIC-C compiler for Embedded C programming.

2. PIC kit 2 programmer for dumping code into Micro

controller.

3. Express SCH for Circuit design.

4. Proteus for hardware simulation.

Regulated Power Supply:

Block diagram:

Page 23: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

GPS and GPRS based real time vehicle tracking on Google Earth

In Vehicle

Micro controller

Regulated power supply

Crystal Oscillator LED indicators

GPSReceiver

RS 232interfacing

GPRS modem

RS 232interfacing

ResetLCD

driver LCD

Control Center:

Page 24: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Car Demo:

Page 25: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Testing:

Page 26: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

Tested on a trip from Bangkok toChonburi Great stability Robust message transfer protocol Most of locations are accurately acquiredand transmitted to the server in real-time

Conclusion and Future Work We have proposed an open source GPS trackingsystem, Goo-Tracking system, using commodityhardware and open source software It has shown the feasibility of using it for fleetmanagement It can also be used for lost vehicle tracking when working with a car alarm system In the future, we will plan to integrate other relateddevices in a vehicle such as sensors They can report vehicle status information to our server,which can be useful for information processing and forintelligent tracking management

References:1] E. D. Kaplan, Understanding GPS: Principles and Applications,Artech House Publishers, ISBN 0890067937, February 1996 [2] R. J. Bates, GPRS: General Packet Radio Service, McGraw-Hill Professional, 1st Edition, ISBN 0071381880, November 12,

Page 27: GPS and GPRS Based Real Time Vehicle Tracking on Google Earth[1]

2001. [3] M. Mcdonald, H. Keller, J. Klijnhout, and V. Mauro, IntelligentTransport Systems in Europe: Opportunities for Future Research,World Scientific Publishing Company, ISBN 981270082X, 2006. [4] Google, Inc., Google Earth software, http://earth.google.com/[last accessed on Feb 1, 2008]. [5] Google, Inc, Keyhole Markup Language DocumentationIntroduction, http://code.google.com/apis/kml/documentation/ [lastaccessed on Feb 1, 2008]