SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016)
Design and Implementation of a GPS
based Personal Tracking System
Sudhanshu Janwadkarl , Dipak Bhavar2 and M.T. Kolte3
IMIT College ofEngineering, Pune, India
2Capgemini India Pvt. Ltd., Pune, India
3Department ofE&TC, MIT College ofEngineering, Pune, India
E-mail: Ishudhanshu.janwadkar@gmail.com
Abstract-Tracking based applications have been quite
popular in recent times. Most of them have been limited to
commercial applications such as vehicular tracking (e.g
tracking of a train etc). However, not much work has been
done towards design of a personal tracking system. Our
Research work is an attempt to design such personal
tracking system. In this paper, we have shared glimpses of
our research work.
The objective of our research project is to design &
develop a system which is capable of tracking and
monitoring a person, object or any other asset of importance
(called as target). The system uses GPS to determine the
exact position of the target. The target is aided with a
compact handheld device which consists of a GPS receiver
and GSM modem. GPS receiver obtains location coordinates
(viz. Latitude & Longitude) from GPS satellites. The location
information in NMEA format is decoded, formatted and sent
to control station, through a GSM modem. Due to use of
OpenCPU development platform, no external
Microcontroller is required, with additional advantage of
compact size product, reduced design & development time
and reduced cost.
Thus, the proposed system is able to track the accurate
location of target. This system finds applications in tracking
old-age people, tracking animals in forest, tracking delivery
of goods etc. Our final designed system is a small-size
compact l.S"X3.7S" Tracker system with position accuracy
error <30m (100 feet).
Keywords-GPS; GSM; Tracking; Navigation; NMEA;
AT Commands; OpenCPU
I. INTRODUCTION
In recent times, tracking has become an important
issue. Failure to keep track of assets is being related to
loss of money and time. Tracking, in our sense, is to
determine the pin-point location of the parcels & goods,
animal or person of interest, at all times. With this broad
definition in mind, we shall establish both ethical and
economic importance oftracking in next few lines.
In the current scenario, tracking of goods and parcels
is done exclusively through bar-code system. When the
item is packed, abarcode sticker is pasted along with the
packaging of the item. As the parcel is carried away along
its trajectory to the destination, at every check point in the
system, the bar-code is scanned manually and the position
978-1 -4673-8587-9/16/$31 .00 ©2016 IEEE [1]
of the parcel is entered in the system. However, this
approach has two severe concerns. First one being, due to
human intervention in the system, the system immensely
depends on the enthusiasm of the human operator to make
an entry in the online database. Secondly, all the stake-
holders know only about the position of the parcel at the
checkpoint, but nowhere in between.
Similarly, in case ofendangered wild life animals, the
tracking currently depends on their vision captured in
high-resolution cameras. However, the exact and accurate
position is known pnly at unpredictable instants. In case of
causalities ofthe animal, the same may not be known for a
long time.
Tracking of human beings has been a matter of
interest too. Especially for the old age people who need
special attention, tracking becomes important. Our
Personal Tracker is customized for this particular
application, although it can be used in other Tracking
applications as well.
GPS based trackers have been integrated into public
transport systems and they are popular in use. However,
tracking of individual person or assets, as discussed has not
been made possible yet. We firmly believe, this is because
none of the systems has been robust and diverse enough to
serve as a solution to each ofthe issue discussed above.
Our approach based on OpenCPU platform is a
radical solution for personal tracking applications. Based
on OpenCPU platform, we have implemented a compact
Personal tracker 1.5" X 3.75" inches in dimensions,
which is capable of determining the exact position of the
target with an accuracy< 30m(CEP).
II. O BJECTIVES
Understanding that our system will be used in critical
applications where accuracy and size, both, matter a lot,
we have objectives as:
1. To design a highly accurate position tracking
system
2. To keep the size of device as small & compact as
possible and keep weight low.
1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016)
Low size and weight objectives ensure that the system
doesn't interfere with the daily activities of the person
using it.
III. LITERATURE SURVEY
As discussed in previous sections, the concept of
tracking systems is not new.
As we go behind in chapters ofhistory of space based
navigation systems, GPS project was the first launched by
US Department of defence in 1973, initially with 24
satellite aim. Currently, there are 31 satellites used by
GPS. With Russian Glonass, Chinese BeiDou, Indian
IRNSS and EU's Galileo, there are multiple such satellite
based systems. More details about development of GPS
system can be referred in [1],[2] and [3].
In [4], E. Hammerle, P. Winton and S. Fett, propose
an indoor position tracking system. This system tracks the
position using estimation technique known as Partial Pulse
Positioning, which makes use of a radio-frequency (RF)
transmitter. Based on the reflections obtained from
different reflectors placed in the indoor-environment, the
position of the RF transmitter is determined. In [5], F.
Evennou and F. Marx present an aided dead-reckoning
navigation system based on WiFi signal strength
measurements. The position and attitude are determined
using low cost sensors. The errors are then fixed using
WiFi signal strength measurements. Signal processing
algorithms are used to correct the drift. Inertial navigation
systems interact with the WiFi positioning system to
provide highly-accurate real-time navigation.
A common issue with GNSS/GPS based navigation
system is multipath propagation. The issue is especially
serious in urban areas with tall buildings. It is fairly
possible that the direct line of sight to a satellite may be
blocked by a building or skyscraper and its signal might
reach the receiver on the ground, only after one or more
reflections. Since the signal path is longer for the reflected
signal, ranging errors occur, which result in false
prediction of position. The issue of reflection by buildings
is also possible even when there is direct line of sight.
Meguro et at. [6] propose a precision positioning
technique which can be applied to track vehicles in urban
areas. The proposed technique mitigates multipath
propagation with help of an omni-directional infrared (IR)
camera. Positioning is performed only considering the
visible satellites that have lesser multipath errors. Invisible
satellites (satellites which are hidden behind buildings)are
not considered, although signals are received from all
satellites. The IR camera aids in judging which signals are
to be considered for positioning.
Kouji Murakami et at. [7], have proposed a system
for tracking of everyday objects for a service robot. The
system consists of an intelligent cabinet, floor sensing
[2]
system and a data management system. Using a RFID
reader, the intelligent cabinet can measure the position of
an object on itsel£ The floor sensing system uses a laser
range finder. Using laser range, it is capable of measuring
the position of an object on the floor and the position of a
human walking in a room. The captured data is logged in
by data management system for providing inputs to
service robot.
In case of multipath propagation, removing the
reflected signals might lead to a shortage of satellites in
fixing the position. STang et at. [8], propose cooperative
relative positioning (CoReIPos) scheme. In this scheme,
Correlated information, including that of reflected signals,
is used to compute relative position.
M Fuzi et at. [9], propose a method to estimate the
location of pedestrians by locating their moving mobile
devices. GPS is used in order to determine the absolute
position of the mobile device & dead-reckoning methods
using built-in sensors in the mobile are used to obtain the
relative movement ofthe mobile.
IV. OPENCPU D EVELOPMENT PLATFORM
In a traditional GPS based tracking system, the GPS
coordinates by a GPS module would be read by an
external Microcontroller and the GPS data would be
processed and sent to database or user using
GSM/GPRS/Bluetooth etc. However, the complexity of
such a system is simplified using OpenCPU platform.
OpenCPU Core System is a combination of hardware and
software of GSM/GPRS module. It has built-in ARM7EJ-
S processor and is built over Nucleus Operating System.
• Traditional Solution
SIM/RF
G5M/GPR5 ~
Module
Audio
• OpenCPU Solution
SIM / RF UART
GPIO
External OpenCPU EINT
¢=;)Watchdog
Module IIC
Chip
ADC
[~?~]Audio PWM
Fig. 1: Illustration ofOpenCPU Solution
Extemal
Device
External
Device
OpenCPU is an embedded development solution for
M2M field applications where GSM/GPRS module can be
designed as the main processor. It helps to facilitate the
design and accelerate the application development.
OpenCPU makes it possible to create applications and
1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016)
embed them directly into GSM/GPRS modules to run
without external Microcontroller.
A. Advantage ofusing OpenCPUPlatform
Compared to the traditional approach, OpenCPU
solution makes hardware design easier. The difference
between the traditional approach and OpenCPU based
approach to same solution is shown in Fig. l.
Thus, the advantages of using OpenCPU based
approach include:
1. Simplify circuit design
2. Decrease the product's size
3. Reduce product development time
4. Decrease the total cost and power consumption
B. OpenCPUArchitecture
The architecture of OpenCPU consists of 3 layers:
Core system, RlL layer and Application Layer. This has
been shown in Fig. 2.
Core System: The Core System of OpenCPU is
combination of hardware and system software of
GSM/GPRS module. Hardware consists of built-in
ARM7EJ-S processor and peripherals such as Watchdog
Timer, ADC, PWM etc. It has been built over Nucleus
operating system.
OpenCPU Application lApp)
Telephony
Fig. 2: OpenCPU Architecture Layers (Image Courtesy: Quectel)
~
~
4*P=. o h':. ...... . ., !".. •
.... -- ...
-
T.,
~
~t !J~ t !J~
-J'~J ~-..::t ? " ' -
> . :' ;:. : ':. - - 1""
:. ...., ...=
Fig. 3: Layout ofProposed Tracker System
[3]
OpenCPU RlL Layer: OpenCPU RlL Layer, is a open
source layer which is embedded into user API layer. Using
RlL layer, developer can simply call API to send AT
commands and immediately get the response when API
returns. Some ofthe basic API such as telephony, SMS etc
are provided along with OpenCPU package. However, the
developer can write his/her own custom API or new APIs
for different functionalities.
Application Layer: In Application Layer, the desired
functionality is realized by calling suitable API from RlL
layer. The firmware is developed for Application layer.
Detailed description of OpenCPU is available in
OpenCPU Documentation [10].
V. EXPERIMENTATION DETAILS
The entire firmware is written in Embedded C
language in Eclipse CDT. Arm Sourcery CodeBench Lite
tool chain is required for OpenCPU platform. Details
about Eclipse CDT & Sourcery CodeBench can be
referred at Eclipse Website [11] and MentorGraphics
website respectively [12].
In our Research work, we have used Quectel L80
GPS module and Quectel M66 GSM/GPRS module. The
GPS L80 module is interfaced to GSM/GPRS Module
through UART pins. The Layout/Block diagram of our
system is as shown in Fig. 3.
A. Features ofour Personal Tracker
As described earlier, although tracker can be used for
any of the personal applications, the features have been
customised for its use in tracking of elderly persons.
l. Battery operated system: To keep the Tracker
portable, The entire system has been powered
using 3.3V output, l100mAh battery. There are
features to indicate low battery condition, to notify
the user to charge the battery. The battery can be
charged by using USB charging cable.
2. Emergency SOS switch: In case the user is in
emergency (sayan elderly person using the tracker
has sudden health ailment), he/she can press the
SOS switch and an alert call will be initiated. There
are up to 2 telephone/mobile numbers to which
telephonic call will be dialed, so that user can
convey his message.
3. Update Emergency number through SMS: The
telephone number to which alert call has to be sent
in case of emergency can be updated using SMS.
In our Tracker, sending SMS 'UPDATE *123#
<number>" to the SIM inserted in the tracker will
cause update of Emergency number. We have used
string parsing for the module to understand the
correct SMS.
4. Tracker Locator: In order to locate the Tracker (in
case it is misplaced), a buzzer has been provided.
Dialing the SIM card inserted in the Tracker, the
buzzer will ring and Tracker can be located.
1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016)
B. Working
When the Tracker is turned ON using the power
switch, it waits till the SIM is registered to the GSM &
GPRS network. LED blink pattern I(Blink 5 times, 500ms
each) indicates successful registration.
At same time GPS L80 module is also turned on and
it starts sending GPS information in NMEA format[13].
The GPS information consists of 7 strings. Of our
importance is, $GPGGA string as it contains timestamp
and location information in terms of Latitude and
Longitude information. $GPGGA string has been
explained in next subsection.
GPS information is read through UART protocol and
necessary string parsing is done to get the information in
an format easy to interpret by human operator.
At fixed intervals oftime(At every 30 minutes in our
code), this GPS information is sent to a Email Id
Registered by the user using SMTP protocol. Details of
SMTP protocol are mentioned in [14],[15].
The battery voltage is monitored by ADC peripheral
of the module. If it goes below decided threshold (1.9V in
our code), LED blink pattern 2(Blinks 7times, 250ms
each) indicates Low battery condition.
At any instant of time, if user presses SOS button
(switch), atelephone call is initiated to the number set by the
user. Ifthe first call is failed, immediately another telephone
call is initiated to second number registered by user.
Microphone is included so that target can pass his message.
The process of updating number to which emergency call
should be dialed is explained in previous subsection
At any moment, if a call is made to the SIM inserted
in the module, the buzzer rings and is used to locate the
tracker.
C. $GPGGA NMEA Format
TABLE 1: $GPGGANMEA FORMAT
Name Example Description
Data
Sentence Identifier $GPGGA Global Positioning
System Fix Data
Time 170834
Latitude 18.5204, N
Longitude 73.8567, E
Fix Quality: 1 Data is from a GPS fix
- 0 = Invalid
- I = GPS fix
-2 = DGPS fix
Number of Satellites 5 5 Satellites are in view
Horizontal Dilution of 1.5 Relative accuracy of
Precision (HDOP) horizontal position
Altitude 560.2, M 280.2 meters above mean
sea level
Height of geoid above -34.0, M -34.0 meters
WGS84 ellipsoid
Time since last DGPS blank Nolast update
update
DGPS reference station blank Nostation id
id
Checksum *75 Used by program to check
for transmission errors
[4]
D. Stepsfor Programming the OpenCPU
1. After the module is powered on, RIL Layer will
send MSG ID RIL_READY message. Keep
checking for this message and once received, call
QI_RIL_Initialize function to initialize RIL layer.
This pre-defined function sends AT commands for
initialization.
2. All the status change of GSM module are conveyed
using Unsolicited Result Code(URC) messages.
All tasks such as SIM being registered to GSM
network, incoming call indication or result of
sending AT Command such as Success or Failure
along with cause are communicated using URC
code only. Next step is to keep checking for URC
indications. This is conveyed by the RIL message
MSG ID URC INDICATION.
3. Write the API for required functionality. This might
include customising existing API for our application
or writing a new API. All APls reside in RIL layer &
their prototypes are defined in header files.
4. Write the CalibackHandler. This is an optional
step. The API will send the AT Command. Ifsome
processing needs to be done based on result
received for the AT command, then that code has
to be written in CallbackHandler.
5. Keep checking the RIL messages and call API &
their CallbackHandler appropriately.
The battery output voltage level is monitored using
ADCO of the M66. The SOS switch, Microphone, Buzzer,
Network LED (blinks according to strength of GSM
network, blinking fast indicates strong GSM network) and
Status LED (used to give Low Battery indication,
incoming call indication etc) are all connected to GPIO
pins of M66. The GPS L80 and M66are connected
through Rx, Tx pins in criss-cross manner. SIM card
interface is provided to slot for the micro-SIM card. The
pin connections are shown in Figure 3.
E. Algorithm
Iistep 1: Initialise all GPIO pins (Includes setting
direction, level)
QI_GPIO_Init(PINNAME_RI,PINDlRECTION_OU
T, PINLEVEL_ LOW, PINPULLSEL]ULLUP);
IIKeep all unused pins to low to conserve power
II Step 2: Check battery voltage level, call API for
ADC
RIL_ADCO;
II Initialize ADC (sampling count, sampling interval)
QI_ADC_Init(adcPin, 5,200);
II Start ADC sampling
QI_ADC_Sampling(adcPin, TRUE);
IIAPI will send AT+QADC to get value, processing is
done in IICalibackHandler
1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016)
Callback_OnADCSampling(Enwn_ADCPin adcPin,
u32 adcValue, void *customParam)
{
if( *(adcValue) >= 1200)
{
GPIO_LEDBlinkl0;
}
}
*«s32*)customParam) += 1;
}
IIStep 3: Start Timer
IIQI_Timer_Start(u32 timerId, u32 timerValue, bool
auto-repeat
QI_Timer_Start(Timerl, u32 1800000, TRUE);
IIProcess timer Interrupt in its CallbackHandler)
Callback_Timer(u32 timerId, void* param)
{
if(timerValue> 18000000)
UART_GPSO;
GPS_stringParsing(*string);
sendGPS_SMTP(mail, *string);
}
IIStep 4: check ifSOS switch is pressed
level=QI_GPIO_GetLevel(pinName RI)
if(level==O)
Diatphnl0;
IIStep 5: Check messages from RIL layer & call API
if required
case MSG ID URC INDICATION:
sys.GetOSMsg(msg)
case MSG ID RIL READY: ret =- - -
QI_RIL_InitializeO;
break;
case MSG ID URC INDICATION:
switch (msg.param 1)
{
case URC SIM CARD STATE IND:
case URC GSM NW STATE IND:
case URC COMING CALL IND:- - -
GPIO_buzzerO;
VI. RESULTS AND CONCLUSION
We have tested our module in indoor environment
which is top floor of a building, where most GPS satellites
should be in direct line of sight. The GPS location
obtained was compared with that obtained using
PowerGPS software and also Google Maps. We were
successful in determining the precise location with error of
unit second of longitude/latitude at worst. This roughly
approximates to 100 feet or 30m, i.e. maximwn position
error was less than 30m. Also, we observed that depending
on strength ofGPS/GPRS network, there was a delay of 6-
30s in initiating the telephone call, sending mail etc. This
[5]
delay can be minimized by choosing Network operator
with good coverage. Our designed tracker is compact in
size and with position accuracy error <30m, our objectives
are successfully attained.
VII. SCOPE FOR F UTURE WORK
A Map-based application for Android or iOS can be
developed and provided along the Tracker. Instead of
getting location longitude and latitude coordinates, which
are difficult to understand by common user, the location
can easily be viewed on a Map.
Work needs to be done to improve accuracy of
position fix and improving performance in indoor
environment.
ACKNOWLEDGEMENT
We are thankful to Capgemini India Pvt Ltd for the
facilities and infrastructure provided. We express special
gratitude to Ms Rutuja Kulkarni, Ms Smita Khatavkar, and
Mr. Sharadchandra Lohokare, (All Capgemini, India) for
their constant support and guidance.
REFERENCES
[1] Philip S. Noe and Kenneth A. Myers,"A Position Fixing Algorithm
for the Low-Cost GPS Receiver", IEEE Transactions on Aerospace
and Electronic Systems,Vol. AES-12, Issue: 2
[2] E.M. Lassiter,"Navstar Global Positioning System: A Satellite
Based Microwave Navigation System", IEEE-MTT-S International
Microwave Symposium, 1975
[3] 1. Spilker James, "Global Positioning System: Signal Structure and
Performance Characteristics", 1978
[4] E. Hammerle, P. Winton and S. Fett,"A multipath-mitigating
indoor carrier-phase position tracking system", IEEE Proceedings,
Position Location and Navigation Symposium, 2004. PLANS 2004
[5] Frederic Evennou and Fran90is Marx, "Advanced Integration of
WiFi and Inertial Navigation Systems for Indoor Mobile
Positioning", EURASIP Journal on Advances in Signal Processing,
Published 2006
[6] 1.1. Meguro, T . Murata, 1.1. Takiguchi and Y. Amano, "GPS
Multipath Mitigation for Urban Area Using Omnidirectional
Infrared Camera", IEEE Transactions on Intelligent Transportation
Systems (Volume: 10 , Issue: 1 )
[7] K. Murakami ,T. Hasegawa , K. Shigematsu and F. Sueyasu,
"Position tracking system of everyday objects in an everyday
environment", IEEE/RSJ International Conference on Intelligent
Robots and Systems (IROS), 2010
[8] S. Tang, Hikaridai, Seika-cho, Soraku-gun, N. Kubo and M.
Ohashi, "Cooperative relative positioning for intelligent
transportation system", 12th International Conference on ITS
Telecommunications (ITST), 2012
[9] M. Fujii, R. Ogawara, H. Hatano and Y. Watanabe, "A study on
position tracking system for pedestrian navigation using location
and sensor information", 13th International Conference on ITS
Telecommunications (ITST), 2013
[10] M66 OpenCPU Development Tool Kit,
http://www.quectel .comlqdownload/M66_0penCPU_SDK.html
[II] Eclipse CIC++ Development, https:lleclipse.org/cdtl
[12] MentorGraphics Sourcery CodeBench Overview,
https:/Iwww.mentor.com/embedded-softwarelsourcery-
tools/sourcery-codebench/overview
[13] NMEA Sentence information, http://aprs.gids.nllnmea/
[14] SMTP protocol standard, https:lltools.ietf.org/htmllrfc1869
[15] SMTP protocol steps, http://www.facweb.iitkgp
.ernet.in/- agupta/IWTI SMTP-POP3_4.pdf

Weitere ähnliche Inhalte

Was ist angesagt?

IoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart CitiesIoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart Cities
YogeshIJTSRD
 
VEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEMVEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEM
Nishil Patel
 

Was ist angesagt? (20)

Water quality monitoring in a smart city based on IOT
Water quality monitoring in a smart city based on IOTWater quality monitoring in a smart city based on IOT
Water quality monitoring in a smart city based on IOT
 
Iot operated wheel chair / smart wheelchair
Iot operated wheel chair / smart wheelchair Iot operated wheel chair / smart wheelchair
Iot operated wheel chair / smart wheelchair
 
visual Positioning System
visual Positioning Systemvisual Positioning System
visual Positioning System
 
Real Time Vehicle Tracking System
Real Time Vehicle Tracking SystemReal Time Vehicle Tracking System
Real Time Vehicle Tracking System
 
Alcohol detector
Alcohol detectorAlcohol detector
Alcohol detector
 
IoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart CitiesIoT Based Water Quality Monitoring System for Smart Cities
IoT Based Water Quality Monitoring System for Smart Cities
 
3D Image visualization
3D Image visualization3D Image visualization
3D Image visualization
 
Eye directive wheel chair
Eye directive wheel chairEye directive wheel chair
Eye directive wheel chair
 
3d television
3d television3d television
3d television
 
Road Network Extraction using Satellite Imagery.
Road Network Extraction using Satellite Imagery.Road Network Extraction using Satellite Imagery.
Road Network Extraction using Satellite Imagery.
 
Temperature measurement using nodemcu esp8266
Temperature measurement  using nodemcu esp8266Temperature measurement  using nodemcu esp8266
Temperature measurement using nodemcu esp8266
 
Electons meet animals
Electons meet animalsElectons meet animals
Electons meet animals
 
Multi sensor based walking aid for blind people - MUET Jamshoro
Multi sensor based walking aid for blind people - MUET JamshoroMulti sensor based walking aid for blind people - MUET Jamshoro
Multi sensor based walking aid for blind people - MUET Jamshoro
 
Wireless Electronic Notice Board using GSM Technology
Wireless Electronic Notice Board using GSM TechnologyWireless Electronic Notice Board using GSM Technology
Wireless Electronic Notice Board using GSM Technology
 
ACCIDENT DETECTION USING MOBILE PHONE.pptx
ACCIDENT DETECTION USING MOBILE  PHONE.pptxACCIDENT DETECTION USING MOBILE  PHONE.pptx
ACCIDENT DETECTION USING MOBILE PHONE.pptx
 
Content for report on micro electronic pill
Content for report on micro electronic pillContent for report on micro electronic pill
Content for report on micro electronic pill
 
VEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEMVEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEM
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 
Touchless touch screen
Touchless touch screenTouchless touch screen
Touchless touch screen
 
Vehicle tracking by gps gsm
Vehicle tracking by gps   gsm Vehicle tracking by gps   gsm
Vehicle tracking by gps gsm
 

Ähnlich wie Design and Implementation of a GPS based Personal Tracking System

Ähnlich wie Design and Implementation of a GPS based Personal Tracking System (20)

Visually Impaired People Monitoring in a Smart Home using Electronic White Cane
Visually Impaired People Monitoring in a Smart Home using Electronic White CaneVisually Impaired People Monitoring in a Smart Home using Electronic White Cane
Visually Impaired People Monitoring in a Smart Home using Electronic White Cane
 
VISUALLY IMPAIRED PEOPLE MONITORING IN A SMART HOME USING ELECTRONIC WHITE CANE
VISUALLY IMPAIRED PEOPLE MONITORING IN A SMART HOME USING ELECTRONIC WHITE CANEVISUALLY IMPAIRED PEOPLE MONITORING IN A SMART HOME USING ELECTRONIC WHITE CANE
VISUALLY IMPAIRED PEOPLE MONITORING IN A SMART HOME USING ELECTRONIC WHITE CANE
 
Navigation Assistance for Visually Challenged People
Navigation Assistance for Visually Challenged PeopleNavigation Assistance for Visually Challenged People
Navigation Assistance for Visually Challenged People
 
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
 
Implementation of Geo-fencing to monitor a specific target using Point in Pol...
Implementation of Geo-fencing to monitor a specific target using Point in Pol...Implementation of Geo-fencing to monitor a specific target using Point in Pol...
Implementation of Geo-fencing to monitor a specific target using Point in Pol...
 
IRJET - Wearable Location Tracker During Disaster
IRJET -  	  Wearable Location Tracker During DisasterIRJET -  	  Wearable Location Tracker During Disaster
IRJET - Wearable Location Tracker During Disaster
 
GPS & GSM based Voice Alert System for Blind Person
GPS & GSM based Voice Alert System for Blind PersonGPS & GSM based Voice Alert System for Blind Person
GPS & GSM based Voice Alert System for Blind Person
 
GPS and GSM enabled Smart Blind Stick.pdf
GPS and GSM enabled Smart Blind Stick.pdfGPS and GSM enabled Smart Blind Stick.pdf
GPS and GSM enabled Smart Blind Stick.pdf
 
IRJET- Smart Guiding System for Blind: Obstacle Detection and Real-time Assis...
IRJET- Smart Guiding System for Blind: Obstacle Detection and Real-time Assis...IRJET- Smart Guiding System for Blind: Obstacle Detection and Real-time Assis...
IRJET- Smart Guiding System for Blind: Obstacle Detection and Real-time Assis...
 
Sanjaya: A Blind Assistance System
Sanjaya: A Blind Assistance SystemSanjaya: A Blind Assistance System
Sanjaya: A Blind Assistance System
 
OBJECT TRACKING AND RECOGNITION USING GPS
OBJECT TRACKING AND RECOGNITION USING GPSOBJECT TRACKING AND RECOGNITION USING GPS
OBJECT TRACKING AND RECOGNITION USING GPS
 
IRJET- Bemythirdeye- A Smart Electronic Blind Stick with Goggles
IRJET- Bemythirdeye- A Smart Electronic Blind Stick with GogglesIRJET- Bemythirdeye- A Smart Electronic Blind Stick with Goggles
IRJET- Bemythirdeye- A Smart Electronic Blind Stick with Goggles
 
Foot Mounted Pedestrian Navigation Systems
Foot Mounted Pedestrian Navigation SystemsFoot Mounted Pedestrian Navigation Systems
Foot Mounted Pedestrian Navigation Systems
 
Smart Shoe for Route Tracking
Smart Shoe for Route TrackingSmart Shoe for Route Tracking
Smart Shoe for Route Tracking
 
International Journal of Computational Engineering Research (IJCER)
International Journal of Computational Engineering Research (IJCER)International Journal of Computational Engineering Research (IJCER)
International Journal of Computational Engineering Research (IJCER)
 
Enhancing indoor localization using IoT techniques
Enhancing indoor localization using IoT techniquesEnhancing indoor localization using IoT techniques
Enhancing indoor localization using IoT techniques
 
IRJET - Automatic Gun Control using Motion Detection System
IRJET - Automatic Gun Control using Motion Detection SystemIRJET - Automatic Gun Control using Motion Detection System
IRJET - Automatic Gun Control using Motion Detection System
 
IRJET- A Leading Hand for the Blind –A Review
IRJET- A Leading Hand for the Blind –A ReviewIRJET- A Leading Hand for the Blind –A Review
IRJET- A Leading Hand for the Blind –A Review
 
Motion Detection System for Security Using IoT- Survey
Motion Detection System for Security Using IoT- SurveyMotion Detection System for Security Using IoT- Survey
Motion Detection System for Security Using IoT- Survey
 
IRJET-Voice Assisted Blind Stick using Ultrasonic Sensor
IRJET-Voice Assisted Blind Stick using Ultrasonic SensorIRJET-Voice Assisted Blind Stick using Ultrasonic Sensor
IRJET-Voice Assisted Blind Stick using Ultrasonic Sensor
 

Mehr von Sudhanshu Janwadkar

Mehr von Sudhanshu Janwadkar (20)

DSP Processors versus ASICs
DSP Processors versus ASICsDSP Processors versus ASICs
DSP Processors versus ASICs
 
Keypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 MicrocontrollerKeypad Interfacing with 8051 Microcontroller
Keypad Interfacing with 8051 Microcontroller
 
ASIC design Flow (Digital Design)
ASIC design Flow (Digital Design)ASIC design Flow (Digital Design)
ASIC design Flow (Digital Design)
 
Fpga architectures and applications
Fpga architectures and applicationsFpga architectures and applications
Fpga architectures and applications
 
LCD Interacing with 8051
LCD Interacing with 8051LCD Interacing with 8051
LCD Interacing with 8051
 
Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
 
Serial Communication in 8051
Serial Communication in 8051Serial Communication in 8051
Serial Communication in 8051
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Introduction to 8051 Timer/Counter
Introduction to 8051 Timer/CounterIntroduction to 8051 Timer/Counter
Introduction to 8051 Timer/Counter
 
Intel 8051 Programming in C
Intel 8051 Programming in CIntel 8051 Programming in C
Intel 8051 Programming in C
 
Hardware View of Intel 8051
Hardware View of Intel 8051Hardware View of Intel 8051
Hardware View of Intel 8051
 
Architecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 Microcontroller
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
CMOS Logic
CMOS LogicCMOS Logic
CMOS Logic
 
Interconnects in Reconfigurable Architectures
Interconnects in Reconfigurable ArchitecturesInterconnects in Reconfigurable Architectures
Interconnects in Reconfigurable Architectures
 
Introduction to FPGAs
Introduction to FPGAsIntroduction to FPGAs
Introduction to FPGAs
 
Embedded Logic Flip-Flops: A Conceptual Review
Embedded Logic Flip-Flops: A Conceptual ReviewEmbedded Logic Flip-Flops: A Conceptual Review
Embedded Logic Flip-Flops: A Conceptual Review
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor Logic
 
Memory and Processor Testing
Memory and Processor TestingMemory and Processor Testing
Memory and Processor Testing
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Kürzlich hochgeladen (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 

Design and Implementation of a GPS based Personal Tracking System

  • 1. 1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016) Design and Implementation of a GPS based Personal Tracking System Sudhanshu Janwadkarl , Dipak Bhavar2 and M.T. Kolte3 IMIT College ofEngineering, Pune, India 2Capgemini India Pvt. Ltd., Pune, India 3Department ofE&TC, MIT College ofEngineering, Pune, India E-mail: Ishudhanshu.janwadkar@gmail.com Abstract-Tracking based applications have been quite popular in recent times. Most of them have been limited to commercial applications such as vehicular tracking (e.g tracking of a train etc). However, not much work has been done towards design of a personal tracking system. Our Research work is an attempt to design such personal tracking system. In this paper, we have shared glimpses of our research work. The objective of our research project is to design & develop a system which is capable of tracking and monitoring a person, object or any other asset of importance (called as target). The system uses GPS to determine the exact position of the target. The target is aided with a compact handheld device which consists of a GPS receiver and GSM modem. GPS receiver obtains location coordinates (viz. Latitude & Longitude) from GPS satellites. The location information in NMEA format is decoded, formatted and sent to control station, through a GSM modem. Due to use of OpenCPU development platform, no external Microcontroller is required, with additional advantage of compact size product, reduced design & development time and reduced cost. Thus, the proposed system is able to track the accurate location of target. This system finds applications in tracking old-age people, tracking animals in forest, tracking delivery of goods etc. Our final designed system is a small-size compact l.S"X3.7S" Tracker system with position accuracy error <30m (100 feet). Keywords-GPS; GSM; Tracking; Navigation; NMEA; AT Commands; OpenCPU I. INTRODUCTION In recent times, tracking has become an important issue. Failure to keep track of assets is being related to loss of money and time. Tracking, in our sense, is to determine the pin-point location of the parcels & goods, animal or person of interest, at all times. With this broad definition in mind, we shall establish both ethical and economic importance oftracking in next few lines. In the current scenario, tracking of goods and parcels is done exclusively through bar-code system. When the item is packed, abarcode sticker is pasted along with the packaging of the item. As the parcel is carried away along its trajectory to the destination, at every check point in the system, the bar-code is scanned manually and the position 978-1 -4673-8587-9/16/$31 .00 ©2016 IEEE [1] of the parcel is entered in the system. However, this approach has two severe concerns. First one being, due to human intervention in the system, the system immensely depends on the enthusiasm of the human operator to make an entry in the online database. Secondly, all the stake- holders know only about the position of the parcel at the checkpoint, but nowhere in between. Similarly, in case ofendangered wild life animals, the tracking currently depends on their vision captured in high-resolution cameras. However, the exact and accurate position is known pnly at unpredictable instants. In case of causalities ofthe animal, the same may not be known for a long time. Tracking of human beings has been a matter of interest too. Especially for the old age people who need special attention, tracking becomes important. Our Personal Tracker is customized for this particular application, although it can be used in other Tracking applications as well. GPS based trackers have been integrated into public transport systems and they are popular in use. However, tracking of individual person or assets, as discussed has not been made possible yet. We firmly believe, this is because none of the systems has been robust and diverse enough to serve as a solution to each ofthe issue discussed above. Our approach based on OpenCPU platform is a radical solution for personal tracking applications. Based on OpenCPU platform, we have implemented a compact Personal tracker 1.5" X 3.75" inches in dimensions, which is capable of determining the exact position of the target with an accuracy< 30m(CEP). II. O BJECTIVES Understanding that our system will be used in critical applications where accuracy and size, both, matter a lot, we have objectives as: 1. To design a highly accurate position tracking system 2. To keep the size of device as small & compact as possible and keep weight low.
  • 2. 1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016) Low size and weight objectives ensure that the system doesn't interfere with the daily activities of the person using it. III. LITERATURE SURVEY As discussed in previous sections, the concept of tracking systems is not new. As we go behind in chapters ofhistory of space based navigation systems, GPS project was the first launched by US Department of defence in 1973, initially with 24 satellite aim. Currently, there are 31 satellites used by GPS. With Russian Glonass, Chinese BeiDou, Indian IRNSS and EU's Galileo, there are multiple such satellite based systems. More details about development of GPS system can be referred in [1],[2] and [3]. In [4], E. Hammerle, P. Winton and S. Fett, propose an indoor position tracking system. This system tracks the position using estimation technique known as Partial Pulse Positioning, which makes use of a radio-frequency (RF) transmitter. Based on the reflections obtained from different reflectors placed in the indoor-environment, the position of the RF transmitter is determined. In [5], F. Evennou and F. Marx present an aided dead-reckoning navigation system based on WiFi signal strength measurements. The position and attitude are determined using low cost sensors. The errors are then fixed using WiFi signal strength measurements. Signal processing algorithms are used to correct the drift. Inertial navigation systems interact with the WiFi positioning system to provide highly-accurate real-time navigation. A common issue with GNSS/GPS based navigation system is multipath propagation. The issue is especially serious in urban areas with tall buildings. It is fairly possible that the direct line of sight to a satellite may be blocked by a building or skyscraper and its signal might reach the receiver on the ground, only after one or more reflections. Since the signal path is longer for the reflected signal, ranging errors occur, which result in false prediction of position. The issue of reflection by buildings is also possible even when there is direct line of sight. Meguro et at. [6] propose a precision positioning technique which can be applied to track vehicles in urban areas. The proposed technique mitigates multipath propagation with help of an omni-directional infrared (IR) camera. Positioning is performed only considering the visible satellites that have lesser multipath errors. Invisible satellites (satellites which are hidden behind buildings)are not considered, although signals are received from all satellites. The IR camera aids in judging which signals are to be considered for positioning. Kouji Murakami et at. [7], have proposed a system for tracking of everyday objects for a service robot. The system consists of an intelligent cabinet, floor sensing [2] system and a data management system. Using a RFID reader, the intelligent cabinet can measure the position of an object on itsel£ The floor sensing system uses a laser range finder. Using laser range, it is capable of measuring the position of an object on the floor and the position of a human walking in a room. The captured data is logged in by data management system for providing inputs to service robot. In case of multipath propagation, removing the reflected signals might lead to a shortage of satellites in fixing the position. STang et at. [8], propose cooperative relative positioning (CoReIPos) scheme. In this scheme, Correlated information, including that of reflected signals, is used to compute relative position. M Fuzi et at. [9], propose a method to estimate the location of pedestrians by locating their moving mobile devices. GPS is used in order to determine the absolute position of the mobile device & dead-reckoning methods using built-in sensors in the mobile are used to obtain the relative movement ofthe mobile. IV. OPENCPU D EVELOPMENT PLATFORM In a traditional GPS based tracking system, the GPS coordinates by a GPS module would be read by an external Microcontroller and the GPS data would be processed and sent to database or user using GSM/GPRS/Bluetooth etc. However, the complexity of such a system is simplified using OpenCPU platform. OpenCPU Core System is a combination of hardware and software of GSM/GPRS module. It has built-in ARM7EJ- S processor and is built over Nucleus Operating System. • Traditional Solution SIM/RF G5M/GPR5 ~ Module Audio • OpenCPU Solution SIM / RF UART GPIO External OpenCPU EINT ¢=;)Watchdog Module IIC Chip ADC [~?~]Audio PWM Fig. 1: Illustration ofOpenCPU Solution Extemal Device External Device OpenCPU is an embedded development solution for M2M field applications where GSM/GPRS module can be designed as the main processor. It helps to facilitate the design and accelerate the application development. OpenCPU makes it possible to create applications and
  • 3. 1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016) embed them directly into GSM/GPRS modules to run without external Microcontroller. A. Advantage ofusing OpenCPUPlatform Compared to the traditional approach, OpenCPU solution makes hardware design easier. The difference between the traditional approach and OpenCPU based approach to same solution is shown in Fig. l. Thus, the advantages of using OpenCPU based approach include: 1. Simplify circuit design 2. Decrease the product's size 3. Reduce product development time 4. Decrease the total cost and power consumption B. OpenCPUArchitecture The architecture of OpenCPU consists of 3 layers: Core system, RlL layer and Application Layer. This has been shown in Fig. 2. Core System: The Core System of OpenCPU is combination of hardware and system software of GSM/GPRS module. Hardware consists of built-in ARM7EJ-S processor and peripherals such as Watchdog Timer, ADC, PWM etc. It has been built over Nucleus operating system. OpenCPU Application lApp) Telephony Fig. 2: OpenCPU Architecture Layers (Image Courtesy: Quectel) ~ ~ 4*P=. o h':. ...... . ., !".. • .... -- ... - T., ~ ~t !J~ t !J~ -J'~J ~-..::t ? " ' - > . :' ;:. : ':. - - 1"" :. ...., ...= Fig. 3: Layout ofProposed Tracker System [3] OpenCPU RlL Layer: OpenCPU RlL Layer, is a open source layer which is embedded into user API layer. Using RlL layer, developer can simply call API to send AT commands and immediately get the response when API returns. Some ofthe basic API such as telephony, SMS etc are provided along with OpenCPU package. However, the developer can write his/her own custom API or new APIs for different functionalities. Application Layer: In Application Layer, the desired functionality is realized by calling suitable API from RlL layer. The firmware is developed for Application layer. Detailed description of OpenCPU is available in OpenCPU Documentation [10]. V. EXPERIMENTATION DETAILS The entire firmware is written in Embedded C language in Eclipse CDT. Arm Sourcery CodeBench Lite tool chain is required for OpenCPU platform. Details about Eclipse CDT & Sourcery CodeBench can be referred at Eclipse Website [11] and MentorGraphics website respectively [12]. In our Research work, we have used Quectel L80 GPS module and Quectel M66 GSM/GPRS module. The GPS L80 module is interfaced to GSM/GPRS Module through UART pins. The Layout/Block diagram of our system is as shown in Fig. 3. A. Features ofour Personal Tracker As described earlier, although tracker can be used for any of the personal applications, the features have been customised for its use in tracking of elderly persons. l. Battery operated system: To keep the Tracker portable, The entire system has been powered using 3.3V output, l100mAh battery. There are features to indicate low battery condition, to notify the user to charge the battery. The battery can be charged by using USB charging cable. 2. Emergency SOS switch: In case the user is in emergency (sayan elderly person using the tracker has sudden health ailment), he/she can press the SOS switch and an alert call will be initiated. There are up to 2 telephone/mobile numbers to which telephonic call will be dialed, so that user can convey his message. 3. Update Emergency number through SMS: The telephone number to which alert call has to be sent in case of emergency can be updated using SMS. In our Tracker, sending SMS 'UPDATE *123# <number>" to the SIM inserted in the tracker will cause update of Emergency number. We have used string parsing for the module to understand the correct SMS. 4. Tracker Locator: In order to locate the Tracker (in case it is misplaced), a buzzer has been provided. Dialing the SIM card inserted in the Tracker, the buzzer will ring and Tracker can be located.
  • 4. 1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016) B. Working When the Tracker is turned ON using the power switch, it waits till the SIM is registered to the GSM & GPRS network. LED blink pattern I(Blink 5 times, 500ms each) indicates successful registration. At same time GPS L80 module is also turned on and it starts sending GPS information in NMEA format[13]. The GPS information consists of 7 strings. Of our importance is, $GPGGA string as it contains timestamp and location information in terms of Latitude and Longitude information. $GPGGA string has been explained in next subsection. GPS information is read through UART protocol and necessary string parsing is done to get the information in an format easy to interpret by human operator. At fixed intervals oftime(At every 30 minutes in our code), this GPS information is sent to a Email Id Registered by the user using SMTP protocol. Details of SMTP protocol are mentioned in [14],[15]. The battery voltage is monitored by ADC peripheral of the module. If it goes below decided threshold (1.9V in our code), LED blink pattern 2(Blinks 7times, 250ms each) indicates Low battery condition. At any instant of time, if user presses SOS button (switch), atelephone call is initiated to the number set by the user. Ifthe first call is failed, immediately another telephone call is initiated to second number registered by user. Microphone is included so that target can pass his message. The process of updating number to which emergency call should be dialed is explained in previous subsection At any moment, if a call is made to the SIM inserted in the module, the buzzer rings and is used to locate the tracker. C. $GPGGA NMEA Format TABLE 1: $GPGGANMEA FORMAT Name Example Description Data Sentence Identifier $GPGGA Global Positioning System Fix Data Time 170834 Latitude 18.5204, N Longitude 73.8567, E Fix Quality: 1 Data is from a GPS fix - 0 = Invalid - I = GPS fix -2 = DGPS fix Number of Satellites 5 5 Satellites are in view Horizontal Dilution of 1.5 Relative accuracy of Precision (HDOP) horizontal position Altitude 560.2, M 280.2 meters above mean sea level Height of geoid above -34.0, M -34.0 meters WGS84 ellipsoid Time since last DGPS blank Nolast update update DGPS reference station blank Nostation id id Checksum *75 Used by program to check for transmission errors [4] D. Stepsfor Programming the OpenCPU 1. After the module is powered on, RIL Layer will send MSG ID RIL_READY message. Keep checking for this message and once received, call QI_RIL_Initialize function to initialize RIL layer. This pre-defined function sends AT commands for initialization. 2. All the status change of GSM module are conveyed using Unsolicited Result Code(URC) messages. All tasks such as SIM being registered to GSM network, incoming call indication or result of sending AT Command such as Success or Failure along with cause are communicated using URC code only. Next step is to keep checking for URC indications. This is conveyed by the RIL message MSG ID URC INDICATION. 3. Write the API for required functionality. This might include customising existing API for our application or writing a new API. All APls reside in RIL layer & their prototypes are defined in header files. 4. Write the CalibackHandler. This is an optional step. The API will send the AT Command. Ifsome processing needs to be done based on result received for the AT command, then that code has to be written in CallbackHandler. 5. Keep checking the RIL messages and call API & their CallbackHandler appropriately. The battery output voltage level is monitored using ADCO of the M66. The SOS switch, Microphone, Buzzer, Network LED (blinks according to strength of GSM network, blinking fast indicates strong GSM network) and Status LED (used to give Low Battery indication, incoming call indication etc) are all connected to GPIO pins of M66. The GPS L80 and M66are connected through Rx, Tx pins in criss-cross manner. SIM card interface is provided to slot for the micro-SIM card. The pin connections are shown in Figure 3. E. Algorithm Iistep 1: Initialise all GPIO pins (Includes setting direction, level) QI_GPIO_Init(PINNAME_RI,PINDlRECTION_OU T, PINLEVEL_ LOW, PINPULLSEL]ULLUP); IIKeep all unused pins to low to conserve power II Step 2: Check battery voltage level, call API for ADC RIL_ADCO; II Initialize ADC (sampling count, sampling interval) QI_ADC_Init(adcPin, 5,200); II Start ADC sampling QI_ADC_Sampling(adcPin, TRUE); IIAPI will send AT+QADC to get value, processing is done in IICalibackHandler
  • 5. 1st IEEE International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES-2016) Callback_OnADCSampling(Enwn_ADCPin adcPin, u32 adcValue, void *customParam) { if( *(adcValue) >= 1200) { GPIO_LEDBlinkl0; } } *«s32*)customParam) += 1; } IIStep 3: Start Timer IIQI_Timer_Start(u32 timerId, u32 timerValue, bool auto-repeat QI_Timer_Start(Timerl, u32 1800000, TRUE); IIProcess timer Interrupt in its CallbackHandler) Callback_Timer(u32 timerId, void* param) { if(timerValue> 18000000) UART_GPSO; GPS_stringParsing(*string); sendGPS_SMTP(mail, *string); } IIStep 4: check ifSOS switch is pressed level=QI_GPIO_GetLevel(pinName RI) if(level==O) Diatphnl0; IIStep 5: Check messages from RIL layer & call API if required case MSG ID URC INDICATION: sys.GetOSMsg(msg) case MSG ID RIL READY: ret =- - - QI_RIL_InitializeO; break; case MSG ID URC INDICATION: switch (msg.param 1) { case URC SIM CARD STATE IND: case URC GSM NW STATE IND: case URC COMING CALL IND:- - - GPIO_buzzerO; VI. RESULTS AND CONCLUSION We have tested our module in indoor environment which is top floor of a building, where most GPS satellites should be in direct line of sight. The GPS location obtained was compared with that obtained using PowerGPS software and also Google Maps. We were successful in determining the precise location with error of unit second of longitude/latitude at worst. This roughly approximates to 100 feet or 30m, i.e. maximwn position error was less than 30m. Also, we observed that depending on strength ofGPS/GPRS network, there was a delay of 6- 30s in initiating the telephone call, sending mail etc. This [5] delay can be minimized by choosing Network operator with good coverage. Our designed tracker is compact in size and with position accuracy error <30m, our objectives are successfully attained. VII. SCOPE FOR F UTURE WORK A Map-based application for Android or iOS can be developed and provided along the Tracker. Instead of getting location longitude and latitude coordinates, which are difficult to understand by common user, the location can easily be viewed on a Map. Work needs to be done to improve accuracy of position fix and improving performance in indoor environment. ACKNOWLEDGEMENT We are thankful to Capgemini India Pvt Ltd for the facilities and infrastructure provided. We express special gratitude to Ms Rutuja Kulkarni, Ms Smita Khatavkar, and Mr. Sharadchandra Lohokare, (All Capgemini, India) for their constant support and guidance. REFERENCES [1] Philip S. Noe and Kenneth A. Myers,"A Position Fixing Algorithm for the Low-Cost GPS Receiver", IEEE Transactions on Aerospace and Electronic Systems,Vol. AES-12, Issue: 2 [2] E.M. Lassiter,"Navstar Global Positioning System: A Satellite Based Microwave Navigation System", IEEE-MTT-S International Microwave Symposium, 1975 [3] 1. Spilker James, "Global Positioning System: Signal Structure and Performance Characteristics", 1978 [4] E. Hammerle, P. Winton and S. Fett,"A multipath-mitigating indoor carrier-phase position tracking system", IEEE Proceedings, Position Location and Navigation Symposium, 2004. PLANS 2004 [5] Frederic Evennou and Fran90is Marx, "Advanced Integration of WiFi and Inertial Navigation Systems for Indoor Mobile Positioning", EURASIP Journal on Advances in Signal Processing, Published 2006 [6] 1.1. Meguro, T . Murata, 1.1. Takiguchi and Y. Amano, "GPS Multipath Mitigation for Urban Area Using Omnidirectional Infrared Camera", IEEE Transactions on Intelligent Transportation Systems (Volume: 10 , Issue: 1 ) [7] K. Murakami ,T. Hasegawa , K. Shigematsu and F. Sueyasu, "Position tracking system of everyday objects in an everyday environment", IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2010 [8] S. Tang, Hikaridai, Seika-cho, Soraku-gun, N. Kubo and M. Ohashi, "Cooperative relative positioning for intelligent transportation system", 12th International Conference on ITS Telecommunications (ITST), 2012 [9] M. Fujii, R. Ogawara, H. Hatano and Y. Watanabe, "A study on position tracking system for pedestrian navigation using location and sensor information", 13th International Conference on ITS Telecommunications (ITST), 2013 [10] M66 OpenCPU Development Tool Kit, http://www.quectel .comlqdownload/M66_0penCPU_SDK.html [II] Eclipse CIC++ Development, https:lleclipse.org/cdtl [12] MentorGraphics Sourcery CodeBench Overview, https:/Iwww.mentor.com/embedded-softwarelsourcery- tools/sourcery-codebench/overview [13] NMEA Sentence information, http://aprs.gids.nllnmea/ [14] SMTP protocol standard, https:lltools.ietf.org/htmllrfc1869 [15] SMTP protocol steps, http://www.facweb.iitkgp .ernet.in/- agupta/IWTI SMTP-POP3_4.pdf