Utilizing On-Board GPS in City Buses to Determine Traffic Conditions


  • Ikhwan Hafiz Muhamad Faculty of Electrical & Electronics Engineering, Universiti Malaysia Pahang, 26600 Pekan, Pahang, Malaysia
  • Ng Siew Ling Faculty of Electrical & Electronics Engineering, Universiti Malaysia Pahang, 26600 Pekan, Pahang, Malaysia


Automatic Traffic Monitoring, Bus GPS, Fuzzy Logic Algorithm, Mobile Application,


The traffic congestion has become a major concern to the society. It causes difficulties in journey planning while avoiding the traffic congestion. Increasing number of vehicles lead to traffic congestion, especially during peak hours. There are many Mobile Applications (App) which can update traffic conditions in certain routes, but these applications such as Waze requires the road users to manually update the traffic conditions. Besides that, the road users also require to be online to get the real-time traffic conditions. On the other hand, the traffic data of this App also will not be accurate if fewer people are using this app on that route. Therefore, this project aims to provide automatic updates on traffic conditions to each road user without the need of installing additional App and updates from the user. The traffic conditions are predicted using the onboard GPS data in the city buses. The traffic monitoring algorithm is developed using the Fuzzy Logic Algorithm. The result is displayed in a Graphical User Interface (GUI) and a push notification to the user’s smartphone. The accuracy of this system is 90.34% where the inaccurate data occurred mostly in the data at Pekan, Pahang area due to the unexpected road conditions such as the deflection of the road, uneven road, holes and wild animals crossing which cause the bus driver to slow down the speed.


P. Asier, H.-J. Unai, O. Enrique and G.-Z. Ignacio Julio, Intelligent Transport Systems: Technologies and Applications, United Kingdom: John Wiley & Sons Ltd, 2016.

Matthew Barth and Kanok Boriboonsomsin, “Traffic Congestion and Greenhouse Gases,” in Access, vol. 35, 2009, pp. 2-9.

Elliott D. Kaplan and Christopher J. Hegarty, Understanding GPS/GNSS: Principles and Applications, 3rd ed., London: Artech House, 2017.

Arijit Chowdhury, Tapas Chakravarty and P. Balamuralidhar, “Estimating True Speed of Moving Vehicle using Smartphone-based GPS Measurement,” in IEEE International Conference on Systems, Man, and Cybernetics, 2014, pp. 3348-3353.

J. Mohamad and A. T. Kinggundu, “The Rise of The Private Car in Kuala Lumpur, Malaysia – Assessing the Policy Options –,” in International Association of Traffic and Safety Sciences Research, Vol. 31, No. 1, 2007, pp. 69-77.

Pitiphoom Posawang, Satidchoke Phosaard, Weerapong Polnigongit and Wasan Pattara-Atikom, “Perception-based Road Traffic Congestion Classification using Neural Networks and Decision Tree,” in Electronic Engineering and Computing Technology, Springer Netherlands, 2010, pp. 237-248.

Kranti Kumar, M. Parida and V.K. Katiyar, “Short Term Traffic Flow Prediction for a Non-Urban Highway Using Artificial Neural Network,” in 2nd Conference of Transportation Research Group of India (2nd CTRG), 2013, pp. 755-764.

G.K. Jha, Artificial neural networks and its applications, New Delhi: IARI, 2007.

Hari Shankar, P. L. N. Raju and K. Ram Mohan Rao, “Multi Model Criteria for the Estimation of Road Traffic Congestion from Traffic Flow Information Based on Fuzzy Logic,” Journal of Transportation Technologies, vol. 2, 2012, pp. 50-62.

Bharti Sharma, Vinod Kumar Katiyar and Arvind Kumar Gupta, “Fuzzy Logic Model for the Prediction of Traffic Volume in Week Days,” International Journal of Computer Applications, vol. 107, no. 17, 2014, pp. 1-6.

U.F. Eze, Igoh Emmanuel and Etim Stephen, “Fuzzy Logic Model for Traffic Congestion,” IOSR Journal of Mobile Computing & Application, vol. 1, no. 1, 2014, pp. 15-20.

W. Pattara-atikom, P. Pongpaibool, and S. Thajchayapong, “Estimating Road Traffic Congestion using Vehicle Velocity,” in 6th International Conference on ITS Telecommunications Proceedings, 2006, pp. 1001- 1004.

Yang Wang and Yanyan Chen, “A Comparison of Mamdani and Sugeno Fuzzy Inference Systems for Traffic Flow Prediction,” Journals of Computers, vol. 9, no. 1, 2014, pp. 12-21.

Jia Lu and Li Cao, “A Quantization Method of Traffic Congestion Evaluation Based on Fuzzy Logic,” in IEEE International Conference on Systems, Man and Cybernetics, 2003, pp. 3348-3351.

Panita Pongpaibool, Poj Tangamchit and Kanokchai Noodwong, “Evaluation of Road Traffic Congestion Using Fuzzy Techniques,” in TENCON 2007 - 2007 IEEE Region 10 Conference, 2007, pp. 1-4.

M.H. Hafezi, A. Ismail and A.A. Shariff, “Comparative Analysis of Fare Collection System on Bus Operations,” Journal of Applied Sciences, vol. 12, no. 4, 2012, pp. 393-397.

B. Ayyub. Ed, Applied research in uncertainty modeling and analysis, Vol. 20, Springer Science & Business Media, 2007.

Md Anwarul Azim and Md. Nazmul Huda, “Fuzzy Traffic Control System,” in Term Paper Based on Case Study and Implementation of a Fuzzy Application, Queen's University.

Wong Poh Lee, Mohd. Azam Osman, Abdullah Zawawi Talib, and Ahmad Izani Md. Ismail, “Dynamic Traffic Simulation for Traffic Congestion Problem Using an Enhanced Algorithm,” World Academy of Science, Engineering and Technology, vol. 45, 2008, pp. 271-278.

Ministry of Works and Transport, Traffic Data Collection and Analysis, Gaborone, Botswana, 2004.




How to Cite

Muhamad, I. H., & Ling, N. S. (2018). Utilizing On-Board GPS in City Buses to Determine Traffic Conditions. Journal of Telecommunication, Electronic and Computer Engineering (JTEC), 10(1-2), 117–122. Retrieved from https://jtec.utem.edu.my/jtec/article/view/3331