Open Access iconOpen Access



Embedded System Development for Detection of Railway Track Surface Deformation Using Contour Feature Algorithm

Tarique Rafique Memon1,2,*, Tayab Din Memon3,4, Imtiaz Hussain Kalwar5, Bhawani Shankar Chowdhry1

1 NCRA-HHCMS Lab, Mehran University of Engineering & Technology Jamshoro, 76062, Pakistan
2 Department of Electronic Engineering, Quaid-e-Awam University of Engineering, Science & Technology Nawabshah, 67480, Pakistan
3 Design and Creative Technology, Torrens University Australia, 196 Flinders Street, Melbourne, VIC 3000, Australia
4 Department of Electronic Engineering, Mehran University of Engineering and Technology, Jamshoro, 76062, Pakistan
5 Department of Electronics and Power Engineering, Pakistan Navy Engineering College, NUST Karachi, 75350, Pakistan

* Corresponding Author: Tarique Rafique Memon. Email: email

Computers, Materials & Continua 2023, 75(2), 2461-2477.


Derailment of trains is not unusual all around the world, especially in developing countries, due to unidentified track or rolling stock faults that cause massive casualties each year. For this purpose, a proper condition monitoring system is essential to avoid accidents and heavy losses. Generally, the detection and classification of railway track surface faults in real-time requires massive computational processing and memory resources and is prone to a noisy environment. Therefore, in this paper, we present the development of a novel embedded system prototype for condition monitoring of railway track. The proposed prototype system works in real-time by acquiring railway track surface images and performing two tasks a) detect deformation (i.e., faults) like squats, shelling, and spalling using the contour feature algorithm and b) the vibration signature on that faulty spot by synchronizing acceleration and image data. A new illumination scheme is also proposed to avoid the sunlight reflection that badly affects the image acquisition process. The contour detection algorithm is applied here to detect the uneven shapes and discontinuities in the geometrical structure of the railway track surface, which ultimately detects unhealthy regions. It works by converting Red, Green, and Blue (RGB) images into binary images, which distinguishes the unhealthy regions by making them white color while the healthy regions in black color. We have used the multiprocessing technique to overcome the massive processing and memory issues. This embedded system is developed on Raspberry Pi by interfacing a vision camera, an accelerometer, a proximity sensor, and a Global Positioning System (GPS) sensors (i.e., multi-sensors). The developed embedded system prototype is tested in real-time onsite by installing it on a Railway Inspection Trolley (RIT), which runs at an average speed of 15 km/h. The functional verification of the proposed system is done successfully by detecting and recording the various railway track surface faults. An unhealthy frame’s onsite detection processing time was recorded at approximately 25.6 ms. The proposed system can synchronize the acceleration data on specific railway track deformation. The proposed novel embedded system may be beneficial for detecting faults to overcome the conventional manual railway track condition monitoring, which is still being practiced in various developing or underdeveloped countries.


Cite This Article

APA Style
Memon, T.R., Memon, T.D., Kalwar, I.H., Chowdhry, B.S. (2023). Embedded system development for detection of railway track surface deformation using contour feature algorithm. Computers, Materials & Continua, 75(2), 2461-2477.
Vancouver Style
Memon TR, Memon TD, Kalwar IH, Chowdhry BS. Embedded system development for detection of railway track surface deformation using contour feature algorithm. Comput Mater Contin. 2023;75(2):2461-2477
IEEE Style
T.R. Memon, T.D. Memon, I.H. Kalwar, and B.S. Chowdhry "Embedded System Development for Detection of Railway Track Surface Deformation Using Contour Feature Algorithm," Comput. Mater. Contin., vol. 75, no. 2, pp. 2461-2477. 2023.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1372


  • 559


  • 0


Share Link