Professional Documents
Culture Documents
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Outline
Introduction
Basic Idea About Automatic Railway
Crossing Barrier
Early Stage Development
Result
Performance Evaluation
Conclusion
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Road Transportation Problem
Road Transportation Problem Solutions
Railway Crossing Crash
Automatic Railway Crossing Barrier Concept
Previous Work
data from client is sent to server by using SMS, Ali Murtadlo, Firman Arifin,
Setiawardhana, Simulasi Sistem Informasi Posisi Kereta Api dengan
Menggunakan GPS untuk Keselamatan Penumpang, Makalah Tugas Akhir
PENS-ITS, 2010
Problem: message delivery delay problem
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Developed System Overview
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Parsing Data from GPS (1)
1. $GPGSA,A,2,14,07,03,06,26,22,16,18,19,20,25,42,42.0,55.9,31.3*0B
2. $GPGSV,3,1,12,14,37,064,33,07,35,194,654,03,36,194,24,06,45,178,23*45
3. $GPGSV,3,2,12,26,24,097,19,22,44,152,19,16,68,320,654,18,11,145,654*70
4. $GPGSV,3,3,12,19,14,210,654,20,06,319,654,25,16,357,654,42,50,079,32*41
5. $GPGGA,020401,0621.33559,S,10639.66556,E,2,12,55.9,73.7,M,1.4,M,,*60
6. $GPGLL,0621.33559,S,10639.66556,E,020401,A*37
7. $GPRMC,020401,A,0621.33559,S,10639.66556,E,0.00,0.0,260809,0.0,E*5E
8. $GPVTG,0.0,T,0.0,M,0.00,N,0.00,K*4E
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Parsing Data from GPS (2)
No 1 2 3 4 5 6 7
Text $GPGLL 621.33559 S 10639.666 E 20401 A*37
The data listed in column 2 indicates the value of south coordinate : 0621.33559
The data listed in column 4 indicates the value of east coordinate : 10639.666
The data listed in column 6 indicates the data of altitude : 20401
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Client Software Interface
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Server Software Interface
Performance Evaluation
Based on our experiment, the data from client
can be sent to server every 1 second and the
server can received the data successfully without
delay as long as there is no problem in internet
connection. Therefore the track of the train can
be plot smoothly on the map and position of the
train can be monitored continuously.
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
Conclusion
The client software for tracking position of train using GPS has
been built using C++ Builder programming language.
The position data containing south, north, and altitude which
are sent by GPS successfully captured and selected by using
comma character as the key to parse data utilizing strtok()
function of C++.
The information send by client software can be received by
server and plotted on the map.
7th Asia Pacific Conference on Transportation and Environment, 3-4 June 2010
THANK YOU