Automatic Vehicle Location Tracking System Based On GIS Environment
Automatic Vehicle Location Tracking System Based On GIS Environment
org
Published in IET Software
Received on 4th December 2007
Revised on 4th December 2008
doi: 10.1049/iet-sen.2008.0048
ISSN 1751-8806
Department of Electrical Engineering, Hashemite University, P.O. Box 150459, Zerqa 13115, Jordan
Department of Information Technology, University of Petra, P.O. Box 961343, Amman, Jordan
E-mail: [email protected]
2
Abstract: Recently, automatic vehicle location (AVL) has become more widely used, affordable and popular than
ever before. AVL is used for different tracking purposes, especially for those related to tracking one vehicle or a
eet of vehicles. Tracking system technology was made possible by the integration of three new technologies:
navigational technologies such as global positioning system (GPS), database technologies such as geographic
information system (GIS) and communication technology such as general packet radio service (GPRS). The
proposed software design tracking system is used to pinpoint the position, ground speed and fuel level of a
given vehicle. This improves eet management by making it secure and more efcient. The system has the ability
to detect the optimal path between source and destination, depending on many factors such as travel time, jam,
topography and number of trafc lights. The authors applied greedy techniques (GT) such as Dijkstras and
Kruskals algorithms to a graph weight depending on the proposed cost function (CF). The geofencing technique
is applied to the system based on real coordinates and grants security and safety to the eet of vehicles. The
designed software offers more exibility in loading digital maps. This proposed software has the ability to
visualise the real position of vehicles on maps and to take decisions according to real-time information.
Introduction
between two real GIS coordinates. The authors used singlesource shortest path algorithm Dijkstras algorithm (GA)
and made it compute the optimal path but not the shortest.
This depends on the proposed cost function (CF); it
considers many parameters such as travel time, street
condition, topography, average speed, distance and number
of trafc lights. The second task is to nd the minimum
spanning tree (MST) based on Kruskals algorithm (KA) on
GIS digital maps with the proposed CF as graph weight.
The third task is to apply the geofencing technique based on
global positioning system (GPS) readings. A buffer zone
area as a rectangle was made to compute the borders of this
fencing as real coordinates, and if the eet steps out of the
border the system will raise an alarm.
Designed software
www.ietdl.org
this software is to interface between GPS/general packet
radio service (GPRS) modem and GIS environment by
receiving GPRS packets from the GPRS/GPS modem.
The designed software is called Track it Software, and it
appears to be user friendly for different clients needs and
requirements. In this system a new technique was used,
with the position correction processed by the tracking
software. The main station receives data from the GPS
receiver and makes the correction process. The corrected
vehicle position is calculated by adding the difference
position between the GPS modem position calculated by
the base station and the position at a xed point.
T1
Distance
AVG speed
Effect
2.2 Discussion
2.2.1 Optimal
transportation
with real-time information
movement
Effect
T3 T2
T3 T2 30
T3 T2 60
T3 T2 90
T4 T2 120
www.ietdl.org
Table 3 Residential against effect
Residential
Effect
dense
T4 T3 0.13 T3
medium
T4 T3 0.08 T3
Low
T4 T3 0.01 T3
Figure 1 Example of Dijkstras algorithm
Effect
T5 T4
P { }, T {1, 2, 3, 4, , 6}
P {1, 4}, T {4, 5, 5, 6}
medium
T5 T4 0.05 T4
bad
T5 T4 0.1 T4
Effect
hill
T6 T5 0.1 T5
at
T6 T5
sharp
T6 T5 0.03 T5
begin
P : { }; T : N ;
d (i) : 1 for each node i in N
d (s) : 0 and pred(s) : 0;
while jPj , n do
begin
pick i inT with minimum d (i) value; == the value will
be taken from our CF
move i from T to P;
for each (i, j) in A do
if d ( j) . d (i) cij then
d ( j) : d (i) cij and pred( j) : i
end;
end;
{
==Kruskal0 s algorithm for constructing the minimum
spanning tree
==input: a weighted connected graphG (V , E)
==output: ET, the set of edges composing the minimum
spanning
tree of G: Sort E in non-decreasing order of the edge weights
ET 0; counter 0;
K 0;
While ecounter , jV j 1
K k1
If ET U {eik} is a cyclic
ET ET U {eik};
ecounter ecounter 1;
return ET;
}
The weight graph of the proposed CF is shown in Fig. 3.
257
www.ietdl.org
www.ietdl.org
www.ietdl.org
representing the dynamic locations of the vehicle is shown in
Fig. 10. On the online track the designed software is able to
manage a eet of vehicles, where the control station can
monitor more than one vehicle at the same time. The data
received from the GPS/GPRS modem contain a unique
number for each modem, shown in Fig. 9. This number is
the identier for each vehicle when the modem sends data
for the main station; the tracking software checks the
identier number to identify the driver of the vehicle.
www.ietdl.org
The GPRS has two modes: transmission control protocol
(TCP) mode and user datagram protocol (UDP) mode [12,
13]. This makes the system software more efcient and
compatible, as the user will be able to switch between TCP
or UDP modes coupling with the server settings or the
importance of the received data.
In the TCP mode, the GPRS server is turned on when the
user chooses the start track button from the tracking tab, so
that the GPRS server changes its status from closed status to
waiting status. It opens a specic port (554) on the central
computer and starts listening (waiting) to any request from
the modems to hold a connection with the central
computer, as shown in Fig. 12.
During the listening status, if any GPS/GPRS modem
sends a request data to make a connection with the central
computer, the GPRS server changes its status from
waiting status to connected status and a connection will
be established [14]. This can be demonstrated as shown in
Fig. 13.
Then the NEMA data received are as follows:
$GPRMC, 122831.742,A,3156.1921,N,03555.3342,E,
0.00,,020506,, 1C
The NEMA data are received by the GPRS server until the
vehicle is switched off as the modem is switched off, or when
the administrator stops the tracking session by clicking on the
stop track button.
In the UDP mode, the GPRS server is not required to
make conversation with the modem, and the received data
will be fetched and inserted in the database table directly.
For the UDP mode, there is no way to guarantee the
connection status to be connected or not compared with
the TCP mode [15].
261
www.ietdl.org
Certainly, this window is related the management phase, and
precisely relates to the tracking and checkpoints tabs for
monitoring data functions (that is displaying the main map,
checkpoints, tracking the selected vehicle and points that
correspond to the location of the selected vehicle) [16]. In
addition, it provides some map tools such as zooming,
panning, identifying and measuring distance. As shown in
Fig. 14, the map window contains four main parts:
www.ietdl.org
are critical in the process of power faults detection in power
transmission and substations elds.
5
Figure 16 Secondary map zooming
Secondary map: This is a small map shown in the window
corner; its function is to specify the area, where the map is
zoomed, as demonstrated in Fig. 16.
System verications
Conclusions
References