Autonomous Railway Defect Detection

Loading...
Thumbnail Image

Date

2023-04-27

Authors

Xia, Yuwei

Advisor

Kwon, HJ

Journal Title

Journal ISSN

Volume Title

Publisher

University of Waterloo

Abstract

Railway defects can lead to enormous economic and human losses. Among all types of the defects, surface defects are the most common and prominent. Although various non-destructive methods can be used to detect railway defects, optical inspection is considered the most suitable for surface defects. The aim of this project is to utilize the commercial drones as a platform for conducting visual inspections. The project is divided into two parts: flight control of the drone and the development of an algorithm to identify defects. For the flight control of the drone, two methods are proposed: pre-set flight path and the real-time track tracing. The pre-set flight path is the simplest approach because it is a built-in function of the drone. However, it is heavily dependent on the GPS coordinate system, which can be problematic in areas with weak GPS signals. The real-time track tracing, on the other hand, requires the development of an algorithm to locate the railway track. This can be achieved through either pattern matching or edge detection. Of the two methods, edge detection is more promising since it produces more consistent result and can be achieved by incorporating various image filters. Numerous attempts have been made to use optical-based non-destructive testing (NDT) methods for detecting railway defects. However, reliable and accurate interpretation of the test data is crucial in the NDT practice. There are many sources of errors that can negatively impact the results of NDT, with human errors being the most unpredictable and frequent. The introduction of artificial intelligence (AI) has the potential to address this problem, but the lack of sufficient railway images with various types of defects is the major obstacle to training the AI models through supervised learning. To address the issue of data scarcity, RailGAN model is proposed in this research. The RailGAN model can improve upon the basic CycleGAN model by incorporating an additional pre-sampling stage for railway tracks in the algorithm. Two pre-sampling techniques are tested for the RailGAN model: image-filtration and U-Net. By applying both techniques to 20 real-time railway images, it is demonstrated that U-Net can produce more consistent results in image segmentation across all images while being less affected by pixel intensity values of the railway track. The application of the RailGAN model implemented with U-Net and the original CycleGAN model to the same real-time railway images shows that the original CycleGAN model generates defects in the irrelevant background, whereas the RailGAN model adds synthetic defect patterns only on the railway surface. The defective images generated by RailGAN iv model closely resemble real cracks on the railways and can be used for training neural network-based defect identification algorithms. The proposed solution for defect identification involves the use of the YOLO network, which can detect and localize defects in the images. It is trained using the generated defective railway images and their corresponding labels. Testing the algorithm on 10 images available online, the YOLO-v5 algorithm can identify 90% of all defects in the images. However, there are still future works that need to be accomplished. For the drone flight control, the algorithm will need to be written in the JAVA language using the mobile SDK. Regarding defect detection, RailGAN will generate a larger amount of images, and the YOLO network will be trained with a larger dataset. The model will also be saved as a JSON file and implemented in the mobile SDK to enable real-time defect detection in the future.

Description

Keywords

railway defect detection, dataset generation, autonomous flying drone

LC Keywords

Citation