SlideShare a Scribd company logo
1 of 4
Download to read offline
Real-Time Tracking Management System
Using GPS, GPRS and Google Earth
Noppadol Chadil Apirak Russameesawang Phongsak Keeratiwintakorn*
Department of Electrical Engineering, Faculty of Engineering
King Mongkut’s University of Technology North Bangkok
1518 Pibulsongkram Rd, Bangsue, Bangkok, 10800, THAILAND
Email: nchadil@gmail.com, apirak_r25@hotmail.com, phongsakk@kmutnb.ac.th*
Abstract-Due to the high cost of fossil-based energy, several
methods are proposed to reduce the usage of the energy in
logistics and fleet management to be even more. GPS tracking
system is a common approach to get vehicle location information
in real-time for fleet planning. We proposed a GPS tracking
system called Goo-Tracking that is composed of commodity
hardware, open source software and an easy-to-manage user
interface via a web server with Google Map or via Google Earth
software. The system includes a GPS/GPRS module to location
acquisition and message transmission, MMC to temporary store
location information, and an 8-bit AVR microcontroller. Our
system prototype is shown and tested on a trip from Bangkok to
Chonburi. It has shown great stability and also robust message
transfer protocol that most of locations are accurately acquired
and transmitted to the server in real-time.
I. INTRODUCTION
Effective transportation and logistics has becomes a very
important part of business due to the continuously increasing
of oil price. Several efforts have tried to deploy methods of
making transportation even more efficient to reduce cost due
to the increasing oil price. Vehicle tracking is one of the
methods to reduce the cost by knowing in real-time the current
location of a vehicle such as a truck or a bus. The location of
a vehicle is used by a fleet operator to efficiently plan a
schedule in order to reduce the transportation time and
distance. This research introduces a vehicle tracking system
using Global Positioning System (GPS) [1] for positioning,
General Packet Radio System (GPRS) [2] for data
transmission, and Google Earth software for location
displaying.
The tracking system can also be very useful for Intelligent
Transportation System (ITS) [3]. For example, it can be used
in probe cars to measure real-time traffic data to identify the
congesting area. It can also be a life saver in an emergency
case to quickly and automatically report a vehicle position to a
rescue agent when an accident happens to the vehicle. In
addition, it can be attached to a vehicle with an anti-theft
system to identify its location when it is stolen.
Our proposed system offers a real-time tracking system
using a client-server model. Our client is an embedded device
with a GPS/GPRS module to identify device location
information that is periodically transmitted to a server. Our
server is a personal computer with a web server program to
receive the location information that is then converted into the
format that can be displayed by using Google Earth software
or Google Map technology. Therefore, our proposed system
for real-time tracking management system is called Goo-
Tracking.
The rest of the paper are as follow. We review related
technology in Section II. In Section III, we propose the
system architecture and implementation of the GPS tracking
system. Section IV, shows the system prototype and some
screenshots of our proposed work. We conclude our work and
our future work in Section V.
II. BACKGROUND
A. GPS Technology
Global Positioning System (GPS) is a system composed of a
network of 24 satellites of the United States, which are
originally used in military services, and later allowed for
commercial use. The satellites periodically emit radio signal
of short pulses to GPS receivers. A GPS receiver receives the
signal from at least three satellites to calculate distance and
uses a triangulation technique to compute its two-dimension
(latitude and longitude) position or at least four satellites to
compute its three-dimension (latitude, longitude, and altitude)
position. Once a location is computed, it can calculate an
average speed and direction of traveling. Therefore, GPS is a
key technology for giving device its position.
B. GPRS Technology
General Packet Radio Service (GPRS) is an enhancement of
GSM networks to support packet switched data services such
as email and web browser in addition to existing GSM data
services such as Short Message Service (SMS) and Circuit
Switched Data (CSD) for fax transmission. GPRS operates on
the existing GSM network infrastructure that it utilizes
available time slots during each frame transmission. Thus, it
does not overload the existing GSM network traffic and can
efficiently provide data services. The GPRS can transfer data
at the maximum rate of 115.2 kbps (with the eight available
slots of each frame). Due to a very large coverage area of
GSM networks around the world, GPRS becomes the largest
data service network available and always-on; thus, it is most
suitable for a real-time tracking management system.
C. Google Earth and Google Map
Google Earth is a very popular free software that provides
maps by satellite images around the world [4]. Google Map is
a version of Google Earth that shows the maps on-line using
with a web server and a web browser. The program provides
plug-ins for community to show objects in the program. Such
objects are, for example, 3D objects of skyscrapers using
Sketch Up software, pin objects to indicate a point of interest
(POI), and line objects to show a track. To show such objects,
Google Earth utilizes its own programming language called
KML (Keyhole Markup Language) [5] which is an extensible
markup language (XML) that is written to describe how the
objects are rendered. The KML-based objects can also be used
with Google Map to show line and pin objects. In our
proposed system, we employ Google Earth software and
Google Map as our choices of track displays to show locations
of vehicles.
III. PROPOSED SYSTEM AND IMPLEMENTATION
Our real-time tracking management system is an open
system that uses a free and open source software and is
composed of commodity hardware that is easy-to-find. Our
system is composed of three components, a GPS Tracking
Device, a server and a database as shown in Figure 1. The
GPS tracking device is an embedded system that transmits
location information to the server through GPRS networks.
The server is a personal computer that receives the
information and put it in the database. The database formats
the information in a special form that can search and display
using Google Earth software or Google Map.
Figure 1 Our proposed Goo-Tracking System
A. GPS Tracking Modules
The GPS Tracking Module is based on the 8-bit AVR RISC
microcontroller which is a low power MCU with 32k ROM
and 2k RAM and has several peripherals such as UART, SPI
and I2C to connect to GPRS/GPS module, MMC module and
GPIO Control module respectively as shown in Figure 2. The
UART interface is connected to all-in-one GPRS and GPS
module. The module has two functions, the GPS function
locates device’s position and the GPRS function transmits the
device’s location to the server. The SPI interface is connected
to MMC module that stores position information when the
communication is not available or for backup. The
information is stored in FAT file system format for easy
transfer to a personal computer. The I2C interface is
connected to GPIO Control module which an I/O interface to
control external devices such as a car alarm system or a
Electronic Control Unit (ECU) of a vehicle for immobilization.
Figure 2. The block diagram of our GPS Tracking Device
B. Goo-Tracking Firmware
The firmware of the GPS Tracking module is written and
compiled using an open source AVR compiler [???]. The
firmware performs three phases, the initialization, the GPS
position reading, and the GPS data formatted and transmitted
to Goo-Tracking server via GPRS networks.
The initialization phase prepares the module for reading and
transmitting location information. It is composed of three
functions. The first function is to initialize parameters on
AVR microprocessor for UART, SPI, GPIO and timer for
GPS reading. The second function is to initialize GPRS/GPS
module to set up parameters to warm up GPS engine, to make
a connection to a GPRS network and to connect to the server
via TCP/IP socket. The third function is to initialize MMC
module into SPI mode for data read/write.
In the GPS position reading phase, the MCU sends a series
of AT commands to GPRS/GPS module via the UART port.
To acquire the current location of the device, we issue the
AT+WGPSPOS command to get the data in NMEA standard
format.
In the GPS data formatted and transmitted phase, the
NMEA-formatted data is then parsed and convert to our own
format as shown in Figure 3. The format includes the device
ID, session ID, time in UTC format, flags, latitude, longitude,
speed, date, and reserved (Rsv) fields. Each line ended with
the symbol (^) represents one sample of data from a GPS
Tracking module in one session or fleet. Samples are bundled
together, ended with the character n, and transmitted to the
Goo-server.
C. Goo-Tracking Server
Once the GPS Tracking Module is connected to GPRS
networks, it transmits position information to Goo-Tracking
Server which is a commodity personal computer running a
Linux operating system with an open source software such as
Apache web server, PHP, and MySQL program. The server
GPRS/GPS
MMC
GPIO ControlI2C
SPI
UARTMicrocontroller UART
driver
SPI
driver
I2C
driver
FAT file
system
has three functions to receive the information, to store
information in a database, and to display the information. The
receiving function opens a non-blocking socket to receive data
from multiple GPS Tracking Modules simultaneously. The
storing function formats the receiving data into our database
that is designed to provide real-time query response for real-
time tracks and to provide search query response for the post-
analysis of vehicle tracks.
Figure 3 The format of location data for transmission
IV. SYSTEM PROTOTYPE
We have implemented a prototype based on the designed in
Section III. Figure 4 shows the prototype of our GPS
Tracking Module. The size of the prototype is about 2.5”
wide by 4.5” long and by 2” thick. Figure 5 shows the
screenshot of our web page of the Goo-Tracking server. The
figure shows the list of GPS Tracking modules that has
tracking history. It shows the device ID, the device name and
the operator’s or driver’s name.
Figure 6 shows a track of one GPS Tracking modules in one
session shown using Google Map. The same track can be
exported in KML format and viewed by using Google Earth as
shown in Figure 7. The track can also be shown in real time
which can be shown on both Google Map and Google Earth
software as shown in Figure 8
Figure 4 Our own prototype GPS tracking device
Figure 5 The web interface of the server to show information about GPS
Tracking Module
Figure 6 The tracking trail of Google Map Server
Figure 7 The same tracking trail on Google Earth software
DeviceID,SessionID,UTC_Time,Flag,1311.7836,
N,10056.2358,E,Speed,DDMMYY,Rsv1,Rsv2,Rsv3,
Rsv4,Rsv5,Rsv6^
xxxxxx,yyyyyy,225506,A,1311.7836,N,10056.23
58,E,000.5,191194,aaa,bbb,ccc,ddd,e,f^
xxxxxx,yyyyyy,225526,A,1311.7836,N,10056.23
58,E,000.5,191194,aaa,bbb,ccc,ddd,e,f^n
Figure 8 The track shown in real-time tracking.
V. CONCLUSION AND FUTURE WORK
In this paper, we have proposed an open source GPS
tracking system, Goo-Tracking system, using commodity
hardware and open source software. The Goo-tracking system
has shown the feasibility of using it for fleet management. 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
related devices in a vehicle such as sensors. The sensors
report vehicle status information to our server, which can be
useful for information processing and for intelligent 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, 2001.
[3] M. Mcdonald, H. Keller, J. Klijnhout, and V. Mauro, Intelligent
Transport 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 Documentation Introduction,
http://code.google.com/apis/kml/documentation/ [last accessed on Feb 1,
2008]

More Related Content

What's hot

A study of throughput for iu cs and iu-ps interface in umts core network
A study of throughput for iu cs and iu-ps interface in umts core networkA study of throughput for iu cs and iu-ps interface in umts core network
A study of throughput for iu cs and iu-ps interface in umts core networkPfedya
 
An Efficient System for Traffic Control in Networks Using Virtual Routing Top...
An Efficient System for Traffic Control in Networks Using Virtual Routing Top...An Efficient System for Traffic Control in Networks Using Virtual Routing Top...
An Efficient System for Traffic Control in Networks Using Virtual Routing Top...IJMER
 
IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...
IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...
IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...IRJET Journal
 
Bluetooth UDP Performance over Bluetooth
Bluetooth UDP Performance over BluetoothBluetooth UDP Performance over Bluetooth
Bluetooth UDP Performance over BluetoothVertoda System
 
2 g&3g planning & optimization
2 g&3g planning & optimization 2 g&3g planning & optimization
2 g&3g planning & optimization Abdou Obado
 

What's hot (6)

A study of throughput for iu cs and iu-ps interface in umts core network
A study of throughput for iu cs and iu-ps interface in umts core networkA study of throughput for iu cs and iu-ps interface in umts core network
A study of throughput for iu cs and iu-ps interface in umts core network
 
An Efficient System for Traffic Control in Networks Using Virtual Routing Top...
An Efficient System for Traffic Control in Networks Using Virtual Routing Top...An Efficient System for Traffic Control in Networks Using Virtual Routing Top...
An Efficient System for Traffic Control in Networks Using Virtual Routing Top...
 
IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...
IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...
IRJET- Monitoring and Analysing Real Time Traffic Images and Information Via ...
 
Lte imp
Lte impLte imp
Lte imp
 
Bluetooth UDP Performance over Bluetooth
Bluetooth UDP Performance over BluetoothBluetooth UDP Performance over Bluetooth
Bluetooth UDP Performance over Bluetooth
 
2 g&3g planning & optimization
2 g&3g planning & optimization 2 g&3g planning & optimization
2 g&3g planning & optimization
 

Similar to Real-Time GPS Tracking System for Fleet Management Using Google Earth

Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...IJCSEA Journal
 
Vehicle Tracking System for School Bus by Arduino
Vehicle Tracking System for School Bus by ArduinoVehicle Tracking System for School Bus by Arduino
Vehicle Tracking System for School Bus by ArduinoIRJET Journal
 
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...Design and Implementation for Trucks Tracking System Using GPS Based on Seman...
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...ijtsrd
 
Vehicle monitoring system using a GPRS tracker device and Google Maps
Vehicle monitoring system using a GPRS tracker device  and Google MapsVehicle monitoring system using a GPRS tracker device  and Google Maps
Vehicle monitoring system using a GPRS tracker device and Google Mapsgafitescu
 
IRJET- IoT based School Bus Tracking System
IRJET-  	  IoT based School Bus Tracking SystemIRJET-  	  IoT based School Bus Tracking System
IRJET- IoT based School Bus Tracking SystemIRJET Journal
 
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking Method
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking MethodIJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking Method
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking MethodISAR Publications
 
Vehicle Tracking and Locking System
Vehicle Tracking and Locking SystemVehicle Tracking and Locking System
Vehicle Tracking and Locking SystemKumar Prateek
 
IRJET- A Survey on Various Location Tracking Systems
IRJET- A Survey on Various Location Tracking SystemsIRJET- A Survey on Various Location Tracking Systems
IRJET- A Survey on Various Location Tracking SystemsIRJET Journal
 
IRJET- Get2School : An Android Application to Track School Location
IRJET-  	  Get2School : An Android Application to Track School LocationIRJET-  	  Get2School : An Android Application to Track School Location
IRJET- Get2School : An Android Application to Track School LocationIRJET Journal
 
vehicle traking based on GSM/GPS using 8051
vehicle traking based on GSM/GPS using 8051vehicle traking based on GSM/GPS using 8051
vehicle traking based on GSM/GPS using 8051Sagar Parmar
 
Vehicle telematics with real time operating system
Vehicle telematics with real time operating systemVehicle telematics with real time operating system
Vehicle telematics with real time operating systemeSAT Journals
 
Vehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOVehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOPulkit Singhal
 
Vehicle Theft control system
Vehicle Theft control systemVehicle Theft control system
Vehicle Theft control systemAnkush Jamthikar
 
Real Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPSReal Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPSMit mysore
 
GPS Data Logger and Data Visualizer
GPS Data Logger and Data VisualizerGPS Data Logger and Data Visualizer
GPS Data Logger and Data VisualizerIRJET Journal
 

Similar to Real-Time GPS Tracking System for Fleet Management Using Google Earth (20)

Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...
 
Vehicle Tracking System For Commercial Vehicles
Vehicle Tracking System For Commercial VehiclesVehicle Tracking System For Commercial Vehicles
Vehicle Tracking System For Commercial Vehicles
 
Vehicle Tracking System for School Bus by Arduino
Vehicle Tracking System for School Bus by ArduinoVehicle Tracking System for School Bus by Arduino
Vehicle Tracking System for School Bus by Arduino
 
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...Design and Implementation for Trucks Tracking System Using GPS Based on Seman...
Design and Implementation for Trucks Tracking System Using GPS Based on Seman...
 
Vehicle monitoring system using a GPRS tracker device and Google Maps
Vehicle monitoring system using a GPRS tracker device  and Google MapsVehicle monitoring system using a GPRS tracker device  and Google Maps
Vehicle monitoring system using a GPRS tracker device and Google Maps
 
IRJET- IoT based School Bus Tracking System
IRJET-  	  IoT based School Bus Tracking SystemIRJET-  	  IoT based School Bus Tracking System
IRJET- IoT based School Bus Tracking System
 
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking Method
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking MethodIJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking Method
IJRET-V1I1P4 - Vehicle Tracking System Using GPS Tracking Method
 
Vehicle Tracking and Locking System
Vehicle Tracking and Locking SystemVehicle Tracking and Locking System
Vehicle Tracking and Locking System
 
IRJET- A Survey on Various Location Tracking Systems
IRJET- A Survey on Various Location Tracking SystemsIRJET- A Survey on Various Location Tracking Systems
IRJET- A Survey on Various Location Tracking Systems
 
IRJET- Get2School : An Android Application to Track School Location
IRJET-  	  Get2School : An Android Application to Track School LocationIRJET-  	  Get2School : An Android Application to Track School Location
IRJET- Get2School : An Android Application to Track School Location
 
Sub14249
Sub14249Sub14249
Sub14249
 
Vehicle Tracking System Using GPS
Vehicle Tracking System Using GPSVehicle Tracking System Using GPS
Vehicle Tracking System Using GPS
 
vehicle traking based on GSM/GPS using 8051
vehicle traking based on GSM/GPS using 8051vehicle traking based on GSM/GPS using 8051
vehicle traking based on GSM/GPS using 8051
 
Vehicle telematics with real time operating system
Vehicle telematics with real time operating systemVehicle telematics with real time operating system
Vehicle telematics with real time operating system
 
Vehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOVehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNO
 
Tracking system
Tracking  systemTracking  system
Tracking system
 
Vehicle Theft control system
Vehicle Theft control systemVehicle Theft control system
Vehicle Theft control system
 
Real Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPSReal Time Tracking of Complete Transport System Using GPS
Real Time Tracking of Complete Transport System Using GPS
 
GPS Data Logger and Data Visualizer
GPS Data Logger and Data VisualizerGPS Data Logger and Data Visualizer
GPS Data Logger and Data Visualizer
 
50120140504010
5012014050401050120140504010
50120140504010
 

More from ekofficiel

Comment créer un moteur de recherche
Comment créer un moteur de rechercheComment créer un moteur de recherche
Comment créer un moteur de rechercheekofficiel
 
Web service with url redirect discussion forums
Web service with url redirect   discussion forumsWeb service with url redirect   discussion forums
Web service with url redirect discussion forumsekofficiel
 
Gestion de projet
Gestion de projetGestion de projet
Gestion de projetekofficiel
 
Gestion de projet
Gestion de projetGestion de projet
Gestion de projetekofficiel
 
Codebook solution
Codebook solutionCodebook solution
Codebook solutionekofficiel
 
Letrre de prétention andré
Letrre de prétention andréLetrre de prétention andré
Letrre de prétention andréekofficiel
 

More from ekofficiel (12)

2 analyse 2
2  analyse 22  analyse 2
2 analyse 2
 
Comment créer un moteur de recherche
Comment créer un moteur de rechercheComment créer un moteur de recherche
Comment créer un moteur de recherche
 
A12 kubert 2
A12 kubert 2A12 kubert 2
A12 kubert 2
 
Web service with url redirect discussion forums
Web service with url redirect   discussion forumsWeb service with url redirect   discussion forums
Web service with url redirect discussion forums
 
Gestion de projet
Gestion de projetGestion de projet
Gestion de projet
 
Gestion de projet
Gestion de projetGestion de projet
Gestion de projet
 
Transpcrypto
TranspcryptoTranspcrypto
Transpcrypto
 
Codebook solution
Codebook solutionCodebook solution
Codebook solution
 
Musee
MuseeMusee
Musee
 
Iss03
Iss03Iss03
Iss03
 
Kryptologie
KryptologieKryptologie
Kryptologie
 
Letrre de prétention andré
Letrre de prétention andréLetrre de prétention andré
Letrre de prétention andré
 

Recently uploaded

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Real-Time GPS Tracking System for Fleet Management Using Google Earth

  • 1. Real-Time Tracking Management System Using GPS, GPRS and Google Earth Noppadol Chadil Apirak Russameesawang Phongsak Keeratiwintakorn* Department of Electrical Engineering, Faculty of Engineering King Mongkut’s University of Technology North Bangkok 1518 Pibulsongkram Rd, Bangsue, Bangkok, 10800, THAILAND Email: nchadil@gmail.com, apirak_r25@hotmail.com, phongsakk@kmutnb.ac.th* Abstract-Due to the high cost of fossil-based energy, several methods are proposed to reduce the usage of the energy in logistics and fleet management to be even more. GPS tracking system is a common approach to get vehicle location information in real-time for fleet planning. We proposed a GPS tracking system called Goo-Tracking that is composed of commodity hardware, open source software and an easy-to-manage user interface via a web server with Google Map or via Google Earth software. The system includes a GPS/GPRS module to location acquisition and message transmission, MMC to temporary store location information, and an 8-bit AVR microcontroller. Our system prototype is shown and tested on a trip from Bangkok to Chonburi. It has shown great stability and also robust message transfer protocol that most of locations are accurately acquired and transmitted to the server in real-time. I. INTRODUCTION Effective transportation and logistics has becomes a very important part of business due to the continuously increasing of oil price. Several efforts have tried to deploy methods of making transportation even more efficient to reduce cost due to the increasing oil price. Vehicle tracking is one of the methods to reduce the cost by knowing in real-time the current location of a vehicle such as a truck or a bus. The location of a vehicle is used by a fleet operator to efficiently plan a schedule in order to reduce the transportation time and distance. This research introduces a vehicle tracking system using Global Positioning System (GPS) [1] for positioning, General Packet Radio System (GPRS) [2] for data transmission, and Google Earth software for location displaying. The tracking system can also be very useful for Intelligent Transportation System (ITS) [3]. For example, it can be used in probe cars to measure real-time traffic data to identify the congesting area. It can also be a life saver in an emergency case to quickly and automatically report a vehicle position to a rescue agent when an accident happens to the vehicle. In addition, it can be attached to a vehicle with an anti-theft system to identify its location when it is stolen. Our proposed system offers a real-time tracking system using a client-server model. Our client is an embedded device with a GPS/GPRS module to identify device location information that is periodically transmitted to a server. Our server is a personal computer with a web server program to receive the location information that is then converted into the format that can be displayed by using Google Earth software or Google Map technology. Therefore, our proposed system for real-time tracking management system is called Goo- Tracking. The rest of the paper are as follow. We review related technology in Section II. In Section III, we propose the system architecture and implementation of the GPS tracking system. Section IV, shows the system prototype and some screenshots of our proposed work. We conclude our work and our future work in Section V. II. BACKGROUND A. GPS Technology Global Positioning System (GPS) is a system composed of a network of 24 satellites of the United States, which are originally used in military services, and later allowed for commercial use. The satellites periodically emit radio signal of short pulses to GPS receivers. A GPS receiver receives the signal from at least three satellites to calculate distance and uses a triangulation technique to compute its two-dimension (latitude and longitude) position or at least four satellites to compute its three-dimension (latitude, longitude, and altitude) position. Once a location is computed, it can calculate an average speed and direction of traveling. Therefore, GPS is a key technology for giving device its position. B. GPRS Technology General Packet Radio Service (GPRS) is an enhancement of GSM networks to support packet switched data services such as email and web browser in addition to existing GSM data services such as Short Message Service (SMS) and Circuit Switched Data (CSD) for fax transmission. GPRS operates on the existing GSM network infrastructure that it utilizes available time slots during each frame transmission. Thus, it does not overload the existing GSM network traffic and can efficiently provide data services. The GPRS can transfer data at the maximum rate of 115.2 kbps (with the eight available slots of each frame). Due to a very large coverage area of GSM networks around the world, GPRS becomes the largest data service network available and always-on; thus, it is most suitable for a real-time tracking management system.
  • 2. C. Google Earth and Google Map Google Earth is a very popular free software that provides maps by satellite images around the world [4]. Google Map is a version of Google Earth that shows the maps on-line using with a web server and a web browser. The program provides plug-ins for community to show objects in the program. Such objects are, for example, 3D objects of skyscrapers using Sketch Up software, pin objects to indicate a point of interest (POI), and line objects to show a track. To show such objects, Google Earth utilizes its own programming language called KML (Keyhole Markup Language) [5] which is an extensible markup language (XML) that is written to describe how the objects are rendered. The KML-based objects can also be used with Google Map to show line and pin objects. In our proposed system, we employ Google Earth software and Google Map as our choices of track displays to show locations of vehicles. III. PROPOSED SYSTEM AND IMPLEMENTATION Our real-time tracking management system is an open system that uses a free and open source software and is composed of commodity hardware that is easy-to-find. Our system is composed of three components, a GPS Tracking Device, a server and a database as shown in Figure 1. The GPS tracking device is an embedded system that transmits location information to the server through GPRS networks. The server is a personal computer that receives the information and put it in the database. The database formats the information in a special form that can search and display using Google Earth software or Google Map. Figure 1 Our proposed Goo-Tracking System A. GPS Tracking Modules The GPS Tracking Module is based on the 8-bit AVR RISC microcontroller which is a low power MCU with 32k ROM and 2k RAM and has several peripherals such as UART, SPI and I2C to connect to GPRS/GPS module, MMC module and GPIO Control module respectively as shown in Figure 2. The UART interface is connected to all-in-one GPRS and GPS module. The module has two functions, the GPS function locates device’s position and the GPRS function transmits the device’s location to the server. The SPI interface is connected to MMC module that stores position information when the communication is not available or for backup. The information is stored in FAT file system format for easy transfer to a personal computer. The I2C interface is connected to GPIO Control module which an I/O interface to control external devices such as a car alarm system or a Electronic Control Unit (ECU) of a vehicle for immobilization. Figure 2. The block diagram of our GPS Tracking Device B. Goo-Tracking Firmware The firmware of the GPS Tracking module is written and compiled using an open source AVR compiler [???]. The firmware performs three phases, the initialization, the GPS position reading, and the GPS data formatted and transmitted to Goo-Tracking server via GPRS networks. The initialization phase prepares the module for reading and transmitting location information. It is composed of three functions. The first function is to initialize parameters on AVR microprocessor for UART, SPI, GPIO and timer for GPS reading. The second function is to initialize GPRS/GPS module to set up parameters to warm up GPS engine, to make a connection to a GPRS network and to connect to the server via TCP/IP socket. The third function is to initialize MMC module into SPI mode for data read/write. In the GPS position reading phase, the MCU sends a series of AT commands to GPRS/GPS module via the UART port. To acquire the current location of the device, we issue the AT+WGPSPOS command to get the data in NMEA standard format. In the GPS data formatted and transmitted phase, the NMEA-formatted data is then parsed and convert to our own format as shown in Figure 3. The format includes the device ID, session ID, time in UTC format, flags, latitude, longitude, speed, date, and reserved (Rsv) fields. Each line ended with the symbol (^) represents one sample of data from a GPS Tracking module in one session or fleet. Samples are bundled together, ended with the character n, and transmitted to the Goo-server. C. Goo-Tracking Server Once the GPS Tracking Module is connected to GPRS networks, it transmits position information to Goo-Tracking Server which is a commodity personal computer running a Linux operating system with an open source software such as Apache web server, PHP, and MySQL program. The server GPRS/GPS MMC GPIO ControlI2C SPI UARTMicrocontroller UART driver SPI driver I2C driver FAT file system
  • 3. has three functions to receive the information, to store information in a database, and to display the information. The receiving function opens a non-blocking socket to receive data from multiple GPS Tracking Modules simultaneously. The storing function formats the receiving data into our database that is designed to provide real-time query response for real- time tracks and to provide search query response for the post- analysis of vehicle tracks. Figure 3 The format of location data for transmission IV. SYSTEM PROTOTYPE We have implemented a prototype based on the designed in Section III. Figure 4 shows the prototype of our GPS Tracking Module. The size of the prototype is about 2.5” wide by 4.5” long and by 2” thick. Figure 5 shows the screenshot of our web page of the Goo-Tracking server. The figure shows the list of GPS Tracking modules that has tracking history. It shows the device ID, the device name and the operator’s or driver’s name. Figure 6 shows a track of one GPS Tracking modules in one session shown using Google Map. The same track can be exported in KML format and viewed by using Google Earth as shown in Figure 7. The track can also be shown in real time which can be shown on both Google Map and Google Earth software as shown in Figure 8 Figure 4 Our own prototype GPS tracking device Figure 5 The web interface of the server to show information about GPS Tracking Module Figure 6 The tracking trail of Google Map Server Figure 7 The same tracking trail on Google Earth software DeviceID,SessionID,UTC_Time,Flag,1311.7836, N,10056.2358,E,Speed,DDMMYY,Rsv1,Rsv2,Rsv3, Rsv4,Rsv5,Rsv6^ xxxxxx,yyyyyy,225506,A,1311.7836,N,10056.23 58,E,000.5,191194,aaa,bbb,ccc,ddd,e,f^ xxxxxx,yyyyyy,225526,A,1311.7836,N,10056.23 58,E,000.5,191194,aaa,bbb,ccc,ddd,e,f^n
  • 4. Figure 8 The track shown in real-time tracking. V. CONCLUSION AND FUTURE WORK In this paper, we have proposed an open source GPS tracking system, Goo-Tracking system, using commodity hardware and open source software. The Goo-tracking system has shown the feasibility of using it for fleet management. 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 related devices in a vehicle such as sensors. The sensors report vehicle status information to our server, which can be useful for information processing and for intelligent 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, 2001. [3] M. Mcdonald, H. Keller, J. Klijnhout, and V. Mauro, Intelligent Transport 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 Documentation Introduction, http://code.google.com/apis/kml/documentation/ [last accessed on Feb 1, 2008]