Академический Документы
Профессиональный Документы
Культура Документы
Abstract—Many vehicle tracking systems are based on Therefore, in such regions it is more suitable to use the
Global Positioning System (GPS) and Global System for Mobile second class of vehicle tracking systems which depends on
communications (GSM) due to the wide areas covered by these the GSM, namely the Short Message Service (SMS), as the
services. In these systems, the GPS coordinates of a moving communication backbone. These tracking systems are
vehicle is encapsulated in an SMS and transmitted to the developed in the literature for applications such as moving
monitoring server. In this paper, a GPS-GSM based system is vehicle tracking [15,16], vehicle status monitoring [17,18],
designed and implemented to economically track vehicles car antitheft [19]. A common feature in these systems is the
moving over wide geographical areas. A scheme is proposed to relatively high tracking cost [18]. For accurate vehicle
reduce the number and cost of the used SMS messages.
tracking, more SMS messages are needed, resulting in more
Performance evaluation under hypothetical and practical test
cost. A typical classical vehicle tracking system based on
GPS and GSM consists of a central server equipped with a
cases showed the capability of the proposed system to achieve
GSM transceiver and many moving units, usually smart
significant cost reduction. The proposed system also provides a
phones, loaded by a suitable application program. The server
trade-off between cost reduction and tracking accuracy. This
is used by the observer to monitor and archive the positions
enables the designer to select suitable system parameter values
of the moving units. The server sends a position request to
to minimize the cost for a given level of tracking accuracy.
the smart phones which respond either once or periodically
by sending their GPS coordinates as SMS messages to the
Keywords—Tracking systems, GPS, GSM, Threshold,
server in the manual or periodic modes of operation,
Microcontroller, Android application, Tracking protocol.
respectively [1].
I. INTRODUCTION A key parameter that affects the feasibility of this tracking
system is the overall cost of the SMS messages, C, over the
Moving object tracking has many useful applications. It observation time period, Tobs. This cost is directly
has been used at different scales ranging from indoors proportional to the total number of exchanged SMS messages
applications to tracking vehicles travelling hundreds of denoted by N. That is, the less number of SMS messages is
kilometers on earth’s surface up to tracking ships and air used, the less is the overall cost. For a given single SMS
planes moving around the globe [1]. The implementation of message cost CSMS, which is determined by the specific
tracking systems has become easier due to the widely GSM operator, then, the total cost is
available Global Positioning System (GPS) and Global
System for Mobile communications (GSM) services, and the
widely spread smart phones. Nowadays, the majority of smart 𝐶 = 𝑁 𝐶𝑆𝑀𝑆 (1)
phones are equipped with GPS modules, and they can be
loaded by easily customizable mobile application programs. In the case of manual tracking mode, the total number of
Therefore, in vehicle tracking systems, it is more feasible to SMS messages required to complete the tracking operation is
use smart phones as the position detection sensors, rather than equal to the sum of the M position request SMS messages
other dedicated hardware. Vehicle tracking systems may be and M response SMS messages, i.e., N = 2M, where M is the
designed in a peer to peer scheme [2], or mostly they are number of moving units. However, N is irreducible in this
designed as a client-server system. In the latter, there is a mode and hence the total cost C is also cannot be reduced.
central server (mobile or fixed) used to monitor and track Whereas, in the periodic tracking mode, there are M position
many moving units [3,4,5,6,7,8]. A class of vehicle tracking request messages from the server to the moving units, and
systems depend on the Internet as the communication medium MTobs/T response SMS messages during the observation
between the moving units and the central server time, assuming an SMS is transmitted regularly every T
[9,10,11,12,13,14]. In Iraq, as an example, the coverage and seconds. Then, the total number of SMS messages in the
availability of Internet is lower than that of GSM systems. periodic mode is given as
That is, in contrast to GSM, the Internet service may witness
sudden cut due to security and many governmental reasons.
256
2018 International Conference on Advanced Science and Engineering (ICOASE), Kurdistan Region, Iraq
𝑁 = 𝑀 (1 +
𝑇𝑜𝑏𝑠
) (2) achieved. It should be noted that this advantage is achieved at
𝑇
the expense of lower tracking accuracy. Therefore, the
In this work, it is proposed to modify the conventional Android threshold distance and T values are case dependent and should
application program of the moving units such that the number be selected according to the expected speed, motion style,
of the used SMS messages given in Eq. (2) is reduced required level of the tracking accuracy and available tracking
according to a pre-selected level of tracking accuracy. The budget.
proposal is implemented by ignoring sending GPS coordinates
to the server as long as the object motion distance is less than a III. SYSTEM IMPLEMENTATION
given threshold distance. In this paper, a server-client GPS- A. Hardware
GSM based vehicle tracking system is designed and The server consists of a PC, microcontroller, and a GSM
implemented. The proposed tracking scheme is used to shield. The minimum requirement for the PC is to have a
minimize the needed number of SMS messages and to reduce
serial port to communicate with the microcontroller (Arduino
the tracking cost with respect to similar systems. The proposed
UNO-R3). This microcontroller is attached to the GSM shield,
system provides a useful trade-off between tracking accuracy
and cost. It enables the designer to optimize the system to better where the SIM900 module from SIMCOM is used. In
fit the requirements and available resources of the specific addition, the mobile device used in this work should be a
application. smart device (smart phone) with Android operating system
The rest of this paper is organized as follows. Section II, and a built in GPS module.
presents a general description of the proposed tracking system.
In Section III, the implementation of hardware and the software B. Software
protocols are illustrated. The performance of the proposed The implemented system operates in two modes, namely,
system is evaluated and compared to similar conventional manual and periodic. In the manual mode the server sends a
systems in Section IV. Finally, conclusions are given in Section single location request SMS message to each mobile unit. In
V. response, each mobile unit will reply by an SMS including its
II. PROPOSED SYSTEM position coordinates and the system stops, as shown in Fig.1.
In order to reduce the total cost of SMS messages in the Server Mobile units
SMS
periodic tracking mode, it is proposed to reduce the number of
response messages sent by the moving units to the server
during Tobs for a given T. The idea is that a moving unit
should not send a position information SMS to the server if the
distance moved during the last T minutes is less than a given Update GPS reading
threshold. The Android application program is written such
that when the time of SMS response message comes (every T
minutes after receiving the position request SMS from the
server), the program calculates the difference in distance
Identify node
between the current coordinates and the coordinates of the last
sent SMS. If the difference is greater or equal to the threshold Display location date
distance, then a new position SMS will be sent. Otherwise, the
program does nothing and waits to the next T seconds. By
applying this scheme, the total number of SMS messages and
their cost should decrease in the periodic tracking mode. This
reduction depends on the motion style of the moving units and Fig. 1. Manual operation protocol
the correct selection of suitable T and threshold distance
values, which are also related to the tracking accuracy. The Whereas, in the periodic mode the server sends a location
proposed scheme perfectly distinguishes between the motion request SMS message to each mobile unit and in response, the
and stopping condition of the mobile units. It eliminates the mobile units will send their coordinate information to the
need for transmitting SMS message in the case of actual server continuously every a predetermined time period, as
stopping and moving a short distance (less than threshold). shown in Fig.2. The software of the implemented system
However, the value of the threshold distance affects the consists of three main parts as follows:
accuracy of monitoring and tracking the moving object. That is,
if a short threshold distance is selected, and the mobile unit
mostly exceeds this threshold every T, then the monitoring
accuracy is high and the used number of SMS messages
approaches the original case of zero threshold. Resulting in a
slight reduction in cost. But, if the threshold is large enough
such that the moving unit rarely exceeds this threshold every T,
then in this case a significant reduction in SMS cost is
257
2018 International Conference on Advanced Science and Engineering (ICOASE), Kurdistan Region, Iraq
Identify node
Fig. 3. Implemented server GUI
Display location date
Start
latitude) in an SMS and sends it to the server. If the received as shown in Fig.6.
code is not ‘1’, then the periodic operation mode is identified. The horizontal axis in Fig.6 is the observation time, Tobs
In this case the application program sends its GPS information = 3 hours, ticked at every 5 minutes which is the assumed
to the server periodically every T minutes as long as it is time of sending a position SMS message to the server. With
respect to the vertical axis at the left hand side, each point
necessary to do so, where T equals the received code and it is
represents the average speed of the truck in km/h for the
selected by the observer. For example, when the received code previous T minutes. For instance, the average speed is 90
is ‘5’, then T=5 minutes and a position information SMS is km/h for the last 5 minutes of the first hour from the
transmitted to the server every 5 minutes if a distance greater beginning of the observation. Having the speed is variable,
than a given threshold, dTH, (e.g. 4 km) has been moved away then the distance, 𝑑, travelled within each T will also be
from the last sent coordinates. If the moved distance is less variable, and it is calculated by
than the threshold value, then there is no need to update the
𝑠𝑝𝑒𝑒𝑑(km/h) 𝑠𝑝𝑒𝑒𝑑(km/h)
position information and therefore no SMS is transmitted to 𝑑= = =12× 𝑠𝑝𝑒𝑒𝑑 (3)
𝑇 5 𝑚𝑖𝑛𝑢𝑡𝑒
the server at this time. The same procedure is applied every T
minutes until a ‘stop’ control SMS is received from the server. The vertical axis at the right hand side of Fig.6 shows 𝑑
The flowchart of the application program is shown in Fig.5. values. Now, if the original (classical) periodic tracking
protocol is used, then the mobile unit will send a position
information SMS to the server every 5 minutes regardless
Start
whether this is necessary or not. The classical protocol will
transmit 36 such SMS messages during the observation time.
The total price in this case is 38×25 = 950 IQD. The two
No additional messages are the position request and stop
GPS ON message from the server.
Yes
100 8.33
Read coordinates 90 7.5
Longitude &
latitude 80 6.66
70 5.83
Speed (km/h)
60 5
d (km)
No Server 50 4.16
GSM 40 3.33
SIM T=received code 30 2.5
20 1.66
Yes
10 0.8
SMS messages and total cost for different values of dTH for vehicle with a 63.8% reduction in SMS total cost with respect
this hypothetical scenario. to the classical tracking protocol.
11
10
9
Differential distance (km)
0 (b)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
Time index x5 (minutes)
260
2018 International Conference on Advanced Science and Engineering (ICOASE), Kurdistan Region, Iraq
V. CONCLUSION [12] H.A. A.Dafallah “Design and implementation of an accurate real time
GPS tracking system,” in Proce. of IEEE Third International
In this paper, a scheme is proposed to reduce the number Conference on e-Technologies and Networks for Development
and cost of SMS messages used by a GPS-GSM based vehicle (ICeND2014) , Beirut, Lebanon,pp.183–188 ,2014.
tracking system. In classical tracking systems, a position SMS [13] T. M. Bojan, U. R. Kumar, and V. M. Bojan,“Designing Vehicle
is transmitted whenever a threshold distance, dTH, is moved. Tracking System - An Open Source Approach,”, in Proce. of IEEE
This results in a constant number of messages, and hence a International Conference on Vehicular Electronics and Safety
fixed cost for a given path length. Unlike classical systems, the ,Hyderabad, India, pp.135–140 ,2014.
proposed system checks whether dTH is exceeded only at [14] S. Lee, G. Tewolde, J. Kwon, “Design and Implementation of Vehicle
specific time instants (every T), and decides to send a position Tracking System Using GPS/GSM/GPRS Technology and Smartphone
SMS or not. The proposed system sacrifices the tracking Application,” in Proce. of IEEE Conference on World Forum on
accuracy level a little to gain a reduction in the SMS number Internet of Things (WF-IoT), Seoul, South Korea,pp.353–358, 2014.
and cost. The proposed system is implemented and its [15] A.Civilis, C. S. Jensen, J. Nenortait, S. Pakalnis, “Efficient Tracking of
performance is evaluated and compared with a similar classical Moving Objects with Precision Guarantees,” in Proce. of IEEE
system under two operation scenarios. The results show that a International Conference on The First Annual International Conference
significant cost reduction gain is achieved, and a useful trade- on Mobile and Ubiquitous Systems, Boston, MA, USA, pp.164–173,
2004.
off between cost reduction and tracking accuracy is possible.
That is, a suitable dTH can be selected to minimize the tracking [16] J. O. Aasha, S. Monica, E. Brumancia, “A Tracking System With High
Accuracy Using Location Prediction and Dynamic Threshold for
cost subject to a level of tracking accuracy required by the Minimizing SMS Delivery,” in Proce. of IEEE International
specific application. Conference on Computation of Power, Energy, Information and
Communication (ICCPEIC), Chennai, India, pp.1–6, 2015.
[17] M. Zahaby, P. Gaonjur, S. Farajian, “Location tracking in GPS using
REFERENCES Kalman Filter through SMS,” in Proce. of IEEE Conference on
[1] F. N. Ameen, Z. S. Mohammed, A. I.Siddiq, “GPS and GSM Based EUROCON 2009 , St.-Petersburg, Russia, pp.1707–1711, 2009.
Tracking System for Objects Moving over Wide Geographical Areas,” [18] Pawale S. R., M. M. Bokare,V. M. Thakare, S.Chidrawar, “Low Cost
Al-Kitab Journal for Pure Science, Accepted paper to be published in SMS based Vehicle Tracking System using Android,” International
vol. 1, issue 2, June 2018. Journal of Application or Innovation in Engineering & Management
[2] J. I. Godino-Llorente, F. Cruz-Roldan, M. Blanco-Velasco, R. Fraile, V. (IJAIEM), vol. 5, no. 4, pp.230–235, 2015.
Osma-Ruiz, N. Saenz-Lechon, “P2P Multiuser Low-Cost Universal [19] R. Ramani, S. Valarmathy, N. SuthanthiraVanitha, S. Selvaraju, M.
Solution for On-Demand GPS Positioning and Tracking in Large Thiruppathi, R. Thangam, “Vehicle Tracking and Locking System
Environments,” IEEE Transactions on Intelligent Transportation Based on GSM and GPS,” International Journal of Intelligent Systems
Systems , vol. 12, no. 4, pp.1385–1397, December 2011. and Applications, vol. 5, no. 9, pp.86–93, 2013.
[3] R. C. Jisha, A. Jyothindranath, and S. K. L, “IoT Based School Bus
Tracking and Arrival Time Prediction,”, in Proce. of the IEEE
International Conference on Advances in Computing, Communications
t
and Informatics (ICACCI), Udupi, India, pp.509–514, 2017.
[4] O. A. Mohamad, R. T. Hameed, and N. Ţǎpuş, “Design &
Implementation of Real Time Tracking System Based on Arduino Intel
Galileo,” in Proce. of the 8th IEEE International Conference on
Electronics, Computers and Artificial Intelligence (ECAI), Ploiesti,
Romania,pp.1–6, 2016.
[5] P. S. Thengal, N. Rastogi, A. Medhi, R. Srivastava, and K. Datta,
“Parameter Sensing and Object Tracking Using Global Positioning
System,” in Proce. of the 6th IEEE International Symposium on
Embedded Computing and System Design (ISED), Patna, India,pp. 289–
293, 2016.
[6] F. B. B. Alzahri and M. Sabudin, “Vehicle Tracking Device,” in Proce.
of the IEEE International Conference on Advanced Informatics:
Concepts, Theory And Application (ICAICTA), George Town,
Malaysia, pp.1–6, 2016.
[7] K. Shruthi, P. Ramaprasad, R. Ray, M. A. Naik, and S. Pansari, “Design
of An Anti-Theft Vehicle Tracking System with A Smartphone
Application,” in Proce. of the IEEE International Conference on
Information Processing (ICIP), Pune, India, pp.755–760, 2015.
[8] S. Sambanthan and V. M. E. Saravanan, “RFID based pervasive tracker
for physically challenged,” in Proce. of the IEEE International
Conference on Innovations in Information, Embedded and
Communication Systems (ICIIECS), Coimbatore, India, pp.1–5, 2015.
[9] M. S. Uddin, M. M. Ahmed, J. B. Alam, M. Islam,“Smart Anti-Theft
Vehicle Tracking System for Bangladesh Based on Internet of Things,”
in Proce. of 4th IEEE International Conference on Advances in
Electrical Engineering (ICAEE), Dhaka, Bangladesh, pp.624–628, 2017.
[10] T. Monawar, S.B.Mahmud, A. Hira, “Anti-Theft Vehicle Tracking and
Regaining System with Automatic Police Notifying Using Haversine
Formula,” in Proce. of 4th IEEE International Conference on Advances
in Electrical Engineering (ICAEE), Dhaka, Bangladesh,pp.775–779,
2017.
[11] M. A. Al Rashed, O. A. Oumar, D. Singh, “A Real Time GSM / GPS
Based Tracking System Based on GSM Mobile Phone,” in Proce. of
Second IEEE International Conference on Future Generation
Communication Technologies (FGCT 2013), London, UK, pp.65–68,
2013.
261