원시데이터 수집 시스템
선정목록으로

Automatic inspection of wheel surface defects using a combination of laser sensors and machine vision

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Takeshi Emoto — Graduate School of Engineering, Hokkaido University, Sapporo, Japan|||Kawasaki Railcar Manufacturing, Kobe, Japan
  2. Ankit A. Ravankar — Department of Robotics, School of Engineering, Tohoku University, Sendai, Japan
  3. Abhijeet Ravankar — Faculty of Engineering, Kitami Institute of Technology, Kitami, Japan
  4. Takanori Emaru — Faculty of Engineering, Hokkaido University, Sapporo, Japan
  5. Yukinori Kobayashi — National Institute of Technology, Tomakomai College, Tomakomai, Japan
DOI
10.1080/18824889.2024.2314800
저널
SICE Journal of Control Measurement and System Integration
발행년도
2024
발행기관
Taylor & Francis
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1080/18824889.2024.2314800
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4391831693

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The safety of railways is ensured by the regular maintenance of tracks, signals and rolling stocks. This mainly involves manual inspection by skilled maintainers and automated inspection systems are not commonly used. The development of an automated inspection system is crucial for maintaining good rail conditions. In this study on automatic surface defect detection systems, we focused on wheels as the target because they are critical components of rolling stocks, and any wheel defects can cause severe safety problems. Wheel-tread-profile dimensions have been measured using laser instruments in previous studies. In this research, to validate the accuracy of the measurement equipment, special test pieces with surface defects are prepared. We propose a combined inspection system using laser sensors, and a machine vision technique to confirm the effectiveness of the proposed system. An artificial intelligence (AI)-based surface defect detection system is employed to improve the proposed system. Combining edge detection through image transformation with an AI-based surface defect detection system offers remarkable benefits. The effectiveness of the system is experimentally confirmed using test pieces that simulate different materials and passing speeds of wheels.

본문 23,019자

본문 펼치기
The safety of railways is ensured by the regular maintenance of tracks, signals and rolling stocks.This mainly involves manual inspection by skilled maintainers and automated inspection systems are not commonly used.The development of an automated inspection system is crucial for maintaining good rail conditions.In this study on automatic surface defect detection systems, we focused on wheels as the target because they are critical components of rolling stocks, and any wheel defects can cause severe safety problems.Wheel-tread-profile dimensions have been measured using laser instruments in previous studies.In this research, to validate the accuracy of the measurement equipment, special test pieces with surface defects are prepared.We propose a combined inspection system using laser sensors, and a machine vision technique to confirm the effectiveness of the proposed system.An artificial intelligence (AI)-based surface defect detection system is employed to improve the proposed system.Combining edge detection through image transformation with an AI-based surface defect detection system offers remarkable benefits.The effectiveness of the system is experimentally confirmed using test pieces that simulate different materials and passing speeds of wheels. Introduction Rolling stock can simultaneously transport numerous people with low energy consumption.However, rolling stock is affected by the natural environment during service and is subjected to various failures.These failures can cause train accidents that endanger the lives of passengers and railroad properties if they are not addressed in a timely manner. Introduction Nowadays, railway networks are being expanded drastically not only in developed countries but also worldwide to achieve more efficient use of energy; hence, automatic inspection of railways, signals and rolling stock is desired.Currently, maintenance of railway networks mainly involves periodic manual inspection by skilled maintenance operators, and automated inspection using systems with sensors and cameras to examine the condition of tracks, catenaries, and rails as well as any defects or anomalies is not widely used.The railway business anticipates that the widespread application of automated inspection can improve work efficiency and reduce the workload associated with the reduction in manual maintenance tasks [1,2].Furthermore, developed countries are concerned about declining the working population; to address this issue, there is a need to reduce the workforce for various tasks.Wheels have been considered as targets for the development of automated inspection systems because they are one of the key components required to ensure the safe operation of rolling stock.An accurate and reliable inspection method for wheel surfaces is crucial for preventing serious accidents such as derailments [3,4].In previous research, Emoto et al. [5] proposed an inspection method using machine vision and laser sensors to measure the wheel tread profile and proposed a transition from periodic inspection conducted by railroad companies monthly or annually to condition monitoring with frequent collection of measured data captured by equipment installed at a rolling-stock maintenance facility.Railroad companies maintain the condition of their rolling stock through periodic inspections tailored to each component.Wheels and rails are being extensively studied.Duan et al. [6] proposed an automatic inspection system for wheels using chargecoupled device (CCD) cameras and performed image processing; however, for CCD cameras, the linearity and brightness of the light source should be improved to ensure accurate error detection.Using a camera and machine vision, Fang et al. [7] and Guo et al. [8] proposed the autonomous examination of rails.Machine vision is an effective method for measuring surface defects, and the detection of wheel and rail surface defects using machine vision is being explored [9][10][11][12]; however, the measurement of small defects, such as defects with a diameter of 1 mm, is challenging, and false positives may occur when detecting dust or rust adhered to the wheel surface.To reduce the occurrence of missed detections, a combined method using a laser sensor and machine vision based on artificial intelligence (AI) is proposed.In our previous research, wheel tread surface profiles were measured using a laser sensor [13]; however, it was difficult to confirm the accuracy of the assessed data because of the requirement for high measurement accuracy, which cannot be achieved by manual inspection.To overcome this problem, machined test pieces (Figure 1) are prepared to confirm the accuracy of detection.Herein, sample wheels are employed.Two types of sample wheels are prepared.Steel wheels are used to replicate real wheels to simulate actual wheel condition, while aluminium wheels are prepared because real wheel surfaces are worn out and shiny because of running during operation and are easily affected by reflections.This shiny condition is created to simulate a condition under which the laser beam is easily reflected.Therefore, both steel and aluminium wheels are chosen to simulate actual conditions. Introduction Fang et al. [7] and Guo et al. [8] proposed autonomous examination methods based on machine vision for railroad maintenance tasks.Machine vision is a well-known method for measuring surface defects that cannot be measured using a laser sensor.Emoto et al. [14] demonstrated the feasibility of a combined automatic inspection system using laser sensors and machine vision.Additionally, in this study, surface defect detection is performed using a method that combines edge detection by image conversion and feature value analysis by the AI model, because it is difficult to detect circular and oval defects only by edge detection by machine vision.Therefore, in this study, image data, including wheel surface defects captured from actual railcars, were used to create the AI model.AI in image-based defect detection offers several advantages, including enhanced accuracy, speed, and consistency.It can identify defects in real time, mitigate human error, and efficiently handle extensive datasets, thereby enhancing quality control and saving time and resources.Many researchers have examined surface defects related to railway components using deeplearning techniques such as YOLO (You Only Look Once) [15].Wang et al. [16] used YOLO to detect various types of fasteners on railway tracks [16].Li et al. [17] used YOLO to detect cracks on railway track plates, and Zhang et al. [18] and Yang et al. [19] used YOLO to identify rail surface defects.To develop an effective automatic inspection system, we explore the use of laser sensors and machine vision experimentally.The feasibility of the proposed system is confirmed in this paper. Proposed system To confirm the measurable accuracy of the test pieces for the laser sensor, we conduct experiments using different movement speeds and objects of different materials.In addition, to confirm the measurable accuracy, intentional surface defects are created in the test pieces by machining (Figure 1).Table 1 presents the detailed information of the test pieces.Data from the collected images are processed for machine vision using Canny edge detection and Hough transformation.In addition, an AI model based on YOLOv5 is used to identify any surface defects that are not detected by machine vision with edge detection. Proposed system The concept of our system is depicted in Figure 2, and the equipment list is summarized in Table 2. Figure 2 presents the flow chart of the detection system, and details of each flow are explained in the experimental set up.An image of the proposed automatic inspection system is shown in Figure 3.As shown in Figure 3, x-axis represents the direction of travel, that is, the longitudinal direction of the rail, y-axis represents the horizontal direction perpendicular to the rail, and z-axis represents the vertical direction.During the measurement, a test piece is moved by a slider unit, the laser sensor measures the speed of the object, and the laser profile measurement equipment measures the wheel surface profile.The measured data of the objectits length, width and depth -are combined for comparison.The speed of the movement of the test piece could be varied, and the differences in measurement accuracy due to changes in the speed are verified.The speed is determined from the data measured by a laser distance sensor using Equation ( 1). Proposed system where t is the measurement interval, and L is the distance over which the test piece moves.For example, for an interval t 1 = 0.0001 s and L 1 = 0.1 mm, the speed v 1 is calculated as follows: Proposed system The laser profile sensor measures the depth and width of an object, and the length is obtained from the data captured by the laser distance sensor.Then, threedimensional (3D) coordinate information is generated from each set of coordinate data (width, length and depth).These data are plotted and compared with original CAD data.Simultaneously, image data are captured using a digital video camera.These data are subjected to preprocessing for denoising, Canny edge detection, Hough transformation and defect detection using the AI model.A flow chart of image data conversion is shown in Figure 4.This process can be described as follows. Proposed system Step 1: Image data I(a, b) are obtained from video data. Proposed system Step 2: Convert color image data I(a, b) to grayscale image data Gray(a, b) using Equation (3). Proposed system where R, Gre, and B are the red, green and blue values, respectively, of a pixel.Step 3: Apply a Gaussian filter to the image to remove noise and smooth out the image using Equation ( 4) Proposed system where G(a, b) is the value of the Gaussian kernel at pixel (a, b); σ is the standard deviation of the Gaussian distribution. Proposed system Step 4: Calculate the gradient magnitude and orientation of the smoothed image by applying the Sobel operator.The Sobel operator determines the first-order derivative of the image in the a and b directions, which yields the corresponding gradient orientations.The formula for the Sobel operator is shown in Equations ( 5) and (6). Proposed system where G a and G b are the a and b components of the Sobel operator, respectively. Proposed system Step 5: To remove the borders of the gradient and maintain only its local maxima, apply non-maximum suppression on its magnitude. Proposed system Step 6: Apply hysteresis thresholding to the thinned edge image to eliminate weak edges and preserve strong edges. Proposed system The Hough transform is a machine vision approach used to detect geometric shapes such as lines and circles in an image.The formula to identify lines via the Hough transform is shown in Equation (7). Proposed system where ρ is the distance from the origin (0,0) to the line along a perpendicular axis, and θ is the angle between the line and the horizontal axis.This increases the overall effectiveness of defect detection by enhancing quality control and reducing false positives/negatives.Additionally, the integration leverages the strengths of both techniques and compensates for their individual limitations, resulting in a robust and reliable system for defect identification in various applications. Experimental setup The laser profile sensor has an effective measurement range of 300-560 mm.An object located beyond this range cannot be measured properly.The laser distance sensor should be installed perpendicular to the object to accurately determine its distance from the object.The operation should be conducted under a static condition to properly capture the wheel tread surface.Then measurements should be repeated several times to confirm the proper location of the laser profile sensor.The measurement steps are as follows: Experimental setup Step 1: When the object moves into the measurable range, the trigger sensor detects the object; subsequently, the laser profile sensor, laser distance sensor and digital video camera start the measurement. Experimental setup Step 2: The measured data are stored on a personal computer; after calculations, 3D coordinate data are developed from the data captured by the laser sensor. Experimental setup Step 3: Image data are converted from the original image to an image with line segments through filters; AI simultaneously performs defect detection (Figure 4). Experimental setup Step 4: Judgment using combined information on profile information and image data is performed. Experimental setup The inspection system is designed to automatically inspect when objects pass through the system. Experimental setup To create an AI model for detecting wheel surface defects, 1024 images of wheel surface defects from actual railcars were selected as the data sets.To detect wheel surface defects, transfer learning is used, by which the pretrained YOLOv5 model was trained on custom wheel images with surface defects.To prevent data leakage, the dataset was carefully split into training and test data sets.The custom data comprised 1024 640 × 480-pixel images.The data was split into training data (75%; 768 images), validation data (12.5%;128 images), and test data (12.5%;128 images).Prior to augmentation, there were 128 images in the original dataset, which were split into 96 (training), 16 (validation), and 16 (test) images.These data were further augmented by being flipped horizontally, being flipped vertically, brightness corrected, contrast adjusted, and a combination of these methods.After augmentation, the number of data was increased eight times, from 128 to 1024.The "labelImg" tool is used for image annotation.The pretrained model YOLOv5 is used as a starting point to create a machine-learning model for wheel surface defects.Then, a YOLOv5 wheel surface defect detection machine learning model is created to improve the accuracy using 1024 images.To measure the performance of the model, we selected precision, recall, and mean average precision as metrics.After training the custom data, the precision was 95.28%, recall was 85.96%, and mean average precision was 97.90%.The average detection speed was 100 milliseconds per image.The mean average precision curve is shown in Figure 5. Experimental results Table 3 presents the recorded coordinate data.A plot image of the surface profile data is shown in Figure 6.Table 4 presents a comparison of the results.The record presented in Table 4 is an average in a series of 55 measurements, and a standard deviation of 0.1 in width and 0.05 in-depth was observed.When calculating the standard deviation, five data points with low accuracy and five data points with high accuracy were excluded from the data. Experimental results The reason for excluding each of the five high and low data points data is to reduce the effect of outliers on the final result, providing a more robust measure of data dispersion.The wheel tread profile is captured properly.A 3D profile, created from the tread profile data, is used to compare with the original profile to determine whether the criteria are exceeded.The picture analysis results shown in Figure 7 clarifies that machine vision can detect deliberate surface blemishes such as dirt and rust.In this verification, we included a straight line representing dirt; dirt was also detected by machine vision.This dirt was not identified by laser measurement because of the lack of thickness of the dirt strip, and hence, it was not judged as a defect.Using AI, circular and oval defects can be detected, as shown in Figure 8.By measuring the same area with a laser and performing diagnosis with machine vision and AI, we demonstrated that false detection can be prevented using a combination of laser measurement, machine vision and an AI model (Table 5).As shown in Table 5, defects with depth ≥ 0.2 mm can be detected by laser measurement (Figure 6) and defects with depth ≤ 0.2 mm can be detected by image data analysis (Figure 7) or AI (Figure 8).To compensate for each other's shortcomings, these three results are recorded during measurement.Table 5 shows the measurement examples. Discussion The following are the achievements and problems of this study and suggested future work: Achievements • 0.2 mm deep surface defects (Defect No. 1 in Table 4) can be measured.Notes: In the case of defect with depth greater than 0.5 mm on the wheel surface, edge detection and AI cannot detect the defect; only the laser sensor can detect it.Compared with criteria determined by the railroad company, this type of defect should be judged as a "defect that needs to be repaired." Achievements • Defects with depths of 0.5 mm or more can be detected with an accuracy of within 0.05 mm.(This level of precision is difficult to achieve using manual inspection).• Test pieces of different materials, the movement speeds of the test pieces were varied; however, no differences in the measured dimensions of defects were observed.• The measurement of surface defects by combining laser measurements and machine vision, including AI, is considered to be effective.• The laser sensors provide high-precision measurements with less effort.• The possibility of lowering false positives by combining image diagnosis and laser measurement was proposed (Table 5). Problems • Only linear-type scratches and rust can be detected using edge detection.• Test pieces cannot have tiny scratches on the scale of several micrometres, because machining tool was used to create scratches. Future work • An approach not limited to linear-type scratches and circular and oval defects as well as various types of wheel surface defects, such as peeling, wearing, flat surfaces, and thermal cracks, should be considered [3].• Prepare image data that includes tiny scratches should be prepared to create the AI model.• The AI model should perform continuous learning to achieve the automatic inspection of wheel surfaces. Conclusion Herein, we examined the feasibility of an automatic inspection system for identifying defects in the wheel surface under dynamic conditions employing test pieces with intentional defects.We demonstrated that a combined inspection system using a laser sensor and digital video camera can be considered a part of an automatic inspection system.Combining profile measurements based on sensors and machine vision with AI helped realize improved surface defect detection.However, the defect detection accuracy obtained using laser sensors and machine vision needs improvement.Types of defects that cannot be detected by lasers, such as defects without thickness or depth, can be detected using image recognition based on AI.However, it is assumed that defects, such as surface wear are difficult to detect using AI; defect detection can be performed using laser sensors.Further improvement in the measurable accuracy of the laser sensor is also desired.In addition, the AI model should perform continuous learning to detect additional objects.Combining various machine vision theories, such as image conversion, edge detection, and AI is necessary to develop an automatic inspection system. Figure 1 . Figure 1.Test pieces used for the experiment.(a) (Upper): Drawing of a wheel profile test piece with intentional defects.(b) (Middle): Section of a wheel profile test piece with intentional defects.(c) (Bottom): Wheel profile test piece with defects (aluminium and maraging steel). Figure 2 . Figure 2. Flow chart of the detection system.Note: Judgment will be conducted using measurement results by laser sensor, edge detection, and AI. Figure 3 . Figure 3. Arrangement of an automatic inspection system. Figure 4 . Figure 4. Flow chart of the image data conversion process. Figure 4 . formula maps each point (a, b) in the image space to a sinusoidal curve in the Hough space, where each curve indicates a possible line in the original image.The intersection of these curves in the Hough space corresponds to parameters (ρ, θ ) of the detected lines in the original image.The line segments presented in the image are retrieved using the aforementioned method.YOLO is an object detection algorithm that rapidly and accurately detects multiple objects within images in real-time and can record the detected results in image data.YOLO functions by dividing the image into a fixed-size grid and generating predictions for multiple bounding boxes and classes within each grid cell.By processing the entire image at once, YOLO achieves a holistic understanding of the scene, thereby enabling rapid and simultaneous detection.The ability of the algorithm to balance speed and accuracy makes it popular in applications such as autonomous vehicles and surveillance, where real-time object detection is crucial.In this study, we used YOLOv5.Released in 2020, YOLOv5, the fifth version of the YOLO series has improved the model's performance and added new features, such as hyperparameter optimization, integrated experiment tracking, and automatic export to popular formats.The mechanism of YOLOv5 is shown in Figure5.Combining edge detection through image conversion with AI-based detection for defect detection offers remarkable benefits.Edge detection enhances the accuracy of identifying anomalies by highlighting boundaries and irregularities in images.The synergy created by the combined image conversion and AI provides a comprehensive approach.This combination Figure 5 . Figure 5. Mechanism of the YOLOv5 algorithm.(a) (Upper): Mechanism of YOLOv5.(b) (Middle): Results of fault detection by YOLOv5.(c) (Lower): Mean average precision curve. Figure 6 . Figure 6.Plot image of the surface profile data (measured at 7.3 km/h).(a)(Upper): 3D view.(b)(Lower): Section view. Figure 7 . Figure 7. Analysis result of the image data. Figure 7 . (a) Original data (b) Material: Steel: v = 7.3 km/h (c) Material: Aluminium: v = 7.3 km/h Note: (a) (Left): Original width and depth of design.(b) (Middle): Measured width and depth for steel at a moving speed of 7.3 km/h.(c) (Right): Measured width and depth for aluminium at a moving speed of 7.3 km/h.Measured data in (b) and (c) are average of 55 datasets each. Figure 8 . Figure 8. Results of defect detection by YOLOv5. Table 1 . Specifications of test pieces. Table 2 . Equipment used in the experiment. Table 3 . Recorded data of the wheel surface profile (unit: mm).Left table shows sample of coordinates for design dimension; Right table shows coordinates measured coordinate at a moving speed of 7.3 km/h; Note: The moving speed of railcars in railcar depots in Japan is 5-10 km/h, and in this study, the test pieces moved with an intermediate speed of 7 km/h.The moving speed of the slider unit at that time was 7.3 km/h, therefore, a moving speed was set at 7.3 km/h.Direction of x, y, and z are same as that in Fig.3. Table 4 . Measurement result (unit: mm). Table 5 . Detectable defects type by variable method.

섹션 본문 48문단 · 22,304자

(제목 없음)

1The safety of railways is ensured by the regular maintenance of tracks, signals and rolling stocks.This mainly involves manual inspection by skilled maintainers and automated inspection systems are not commonly used.The development of an automated inspection system is crucial for maintaining good rail conditions.In this study on automatic surface defect detection systems, we focused on wheels as the target because they are critical components of rolling stocks, and any wheel defects can cause severe safety problems.Wheel-tread-profile dimensions have been measured using laser instruments in previous studies.In this research, to validate the accuracy of the measurement equipment, special test pieces with surface defects are prepared.We propose a combined inspection system using laser sensors, and a machine vision technique to confirm the effectiveness of the proposed system.An artificial intelligence (AI)-based surface defect detection system is employed to improve the proposed system.Combining edge detection through image transformation with an AI-based surface defect detection system offers remarkable benefits.The effectiveness of the system is experimentally confirmed using test pieces that simulate different materials and passing speeds of wheels.

Introduction

2Rolling stock can simultaneously transport numerous people with low energy consumption.However, rolling stock is affected by the natural environment during service and is subjected to various failures.These failures can cause train accidents that endanger the lives of passengers and railroad properties if they are not addressed in a timely manner.

3Nowadays, railway networks are being expanded drastically not only in developed countries but also worldwide to achieve more efficient use of energy; hence, automatic inspection of railways, signals and rolling stock is desired.Currently, maintenance of railway networks mainly involves periodic manual inspection by skilled maintenance operators, and automated inspection using systems with sensors and cameras to examine the condition of tracks, catenaries, and rails as well as any defects or anomalies is not widely used.The railway business anticipates that the widespread application of automated inspection can improve work efficiency and reduce the workload associated with the reduction in manual maintenance tasks [1,2].Furthermore, developed countries are concerned about declining the working population; to address this issue, there is a need to reduce the workforce for various tasks.Wheels have been considered as targets for the development of automated inspection systems because they are one of the key components required to ensure the safe operation of rolling stock.An accurate and reliable inspection method for wheel surfaces is crucial for preventing serious accidents such as derailments [3,4].In previous research, Emoto et al. [5] proposed an inspection method using machine vision and laser sensors to measure the wheel tread profile and proposed a transition from periodic inspection conducted by railroad companies monthly or annually to condition monitoring with frequent collection of measured data captured by equipment installed at a rolling-stock maintenance facility.Railroad companies maintain the condition of their rolling stock through periodic inspections tailored to each component.Wheels and rails are being extensively studied.Duan et al. [6] proposed an automatic inspection system for wheels using chargecoupled device (CCD) cameras and performed image processing; however, for CCD cameras, the linearity and brightness of the light source should be improved to ensure accurate error detection.Using a camera and machine vision, Fang et al. [7] and Guo et al. [8] proposed the autonomous examination of rails.Machine vision is an effective method for measuring surface defects, and the detection of wheel and rail surface defects using machine vision is being explored [9][10][11][12]; however, the measurement of small defects, such as defects with a diameter of 1 mm, is challenging, and false positives may occur when detecting dust or rust adhered to the wheel surface.To reduce the occurrence of missed detections, a combined method using a laser sensor and machine vision based on artificial intelligence (AI) is proposed.In our previous research, wheel tread surface profiles were measured using a laser sensor [13]; however, it was difficult to confirm the accuracy of the assessed data because of the requirement for high measurement accuracy, which cannot be achieved by manual inspection.To overcome this problem, machined test pieces (Figure 1) are prepared to confirm the accuracy of detection.Herein, sample wheels are employed.Two types of sample wheels are prepared.Steel wheels are used to replicate real wheels to simulate actual wheel condition, while aluminium wheels are prepared because real wheel surfaces are worn out and shiny because of running during operation and are easily affected by reflections.This shiny condition is created to simulate a condition under which the laser beam is easily reflected.Therefore, both steel and aluminium wheels are chosen to simulate actual conditions.

4Fang et al. [7] and Guo et al. [8] proposed autonomous examination methods based on machine vision for railroad maintenance tasks.Machine vision is a well-known method for measuring surface defects that cannot be measured using a laser sensor.Emoto et al. [14] demonstrated the feasibility of a combined automatic inspection system using laser sensors and machine vision.Additionally, in this study, surface defect detection is performed using a method that combines edge detection by image conversion and feature value analysis by the AI model, because it is difficult to detect circular and oval defects only by edge detection by machine vision.Therefore, in this study, image data, including wheel surface defects captured from actual railcars, were used to create the AI model.AI in image-based defect detection offers several advantages, including enhanced accuracy, speed, and consistency.It can identify defects in real time, mitigate human error, and efficiently handle extensive datasets, thereby enhancing quality control and saving time and resources.Many researchers have examined surface defects related to railway components using deeplearning techniques such as YOLO (You Only Look Once) [15].Wang et al. [16] used YOLO to detect various types of fasteners on railway tracks [16].Li et al. [17] used YOLO to detect cracks on railway track plates, and Zhang et al. [18] and Yang et al. [19] used YOLO to identify rail surface defects.To develop an effective automatic inspection system, we explore the use of laser sensors and machine vision experimentally.The feasibility of the proposed system is confirmed in this paper.

Proposed system

5To confirm the measurable accuracy of the test pieces for the laser sensor, we conduct experiments using different movement speeds and objects of different materials.In addition, to confirm the measurable accuracy, intentional surface defects are created in the test pieces by machining (Figure 1).Table 1 presents the detailed information of the test pieces.Data from the collected images are processed for machine vision using Canny edge detection and Hough transformation.In addition, an AI model based on YOLOv5 is used to identify any surface defects that are not detected by machine vision with edge detection.

6The concept of our system is depicted in Figure 2, and the equipment list is summarized in Table 2. Figure 2 presents the flow chart of the detection system, and details of each flow are explained in the experimental set up.An image of the proposed automatic inspection system is shown in Figure 3.As shown in Figure 3, x-axis represents the direction of travel, that is, the longitudinal direction of the rail, y-axis represents the horizontal direction perpendicular to the rail, and z-axis represents the vertical direction.During the measurement, a test piece is moved by a slider unit, the laser sensor measures the speed of the object, and the laser profile measurement equipment measures the wheel surface profile.The measured data of the objectits length, width and depth -are combined for comparison.The speed of the movement of the test piece could be varied, and the differences in measurement accuracy due to changes in the speed are verified.The speed is determined from the data measured by a laser distance sensor using Equation ( 1).

7where t is the measurement interval, and L is the distance over which the test piece moves.For example, for an interval t 1 = 0.0001 s and L 1 = 0.1 mm, the speed v 1 is calculated as follows:

8The laser profile sensor measures the depth and width of an object, and the length is obtained from the data captured by the laser distance sensor.Then, threedimensional (3D) coordinate information is generated from each set of coordinate data (width, length and depth).These data are plotted and compared with original CAD data.Simultaneously, image data are captured using a digital video camera.These data are subjected to preprocessing for denoising, Canny edge detection, Hough transformation and defect detection using the AI model.A flow chart of image data conversion is shown in Figure 4.This process can be described as follows.

9Step 1: Image data I(a, b) are obtained from video data.

10Step 2: Convert color image data I(a, b) to grayscale image data Gray(a, b) using Equation (3).

11where R, Gre, and B are the red, green and blue values, respectively, of a pixel.Step 3: Apply a Gaussian filter to the image to remove noise and smooth out the image using Equation ( 4)

12where G(a, b) is the value of the Gaussian kernel at pixel (a, b); σ is the standard deviation of the Gaussian distribution.

13Step 4: Calculate the gradient magnitude and orientation of the smoothed image by applying the Sobel operator.The Sobel operator determines the first-order derivative of the image in the a and b directions, which yields the corresponding gradient orientations.The formula for the Sobel operator is shown in Equations ( 5) and (6).

14where G a and G b are the a and b components of the Sobel operator, respectively.

15Step 5: To remove the borders of the gradient and maintain only its local maxima, apply non-maximum suppression on its magnitude.

16Step 6: Apply hysteresis thresholding to the thinned edge image to eliminate weak edges and preserve strong edges.

17The Hough transform is a machine vision approach used to detect geometric shapes such as lines and circles in an image.The formula to identify lines via the Hough transform is shown in Equation (7).

18where ρ is the distance from the origin (0,0) to the line along a perpendicular axis, and θ is the angle between the line and the horizontal axis.This increases the overall effectiveness of defect detection by enhancing quality control and reducing false positives/negatives.Additionally, the integration leverages the strengths of both techniques and compensates for their individual limitations, resulting in a robust and reliable system for defect identification in various applications.

Experimental setup

19The laser profile sensor has an effective measurement range of 300-560 mm.An object located beyond this range cannot be measured properly.The laser distance sensor should be installed perpendicular to the object to accurately determine its distance from the object.The operation should be conducted under a static condition to properly capture the wheel tread surface.Then measurements should be repeated several times to confirm the proper location of the laser profile sensor.The measurement steps are as follows:

20Step 1: When the object moves into the measurable range, the trigger sensor detects the object; subsequently, the laser profile sensor, laser distance sensor and digital video camera start the measurement.

21Step 2: The measured data are stored on a personal computer; after calculations, 3D coordinate data are developed from the data captured by the laser sensor.

22Step 3: Image data are converted from the original image to an image with line segments through filters; AI simultaneously performs defect detection (Figure 4).

23Step 4: Judgment using combined information on profile information and image data is performed.

24The inspection system is designed to automatically inspect when objects pass through the system.

25To create an AI model for detecting wheel surface defects, 1024 images of wheel surface defects from actual railcars were selected as the data sets.To detect wheel surface defects, transfer learning is used, by which the pretrained YOLOv5 model was trained on custom wheel images with surface defects.To prevent data leakage, the dataset was carefully split into training and test data sets.The custom data comprised 1024 640 × 480-pixel images.The data was split into training data (75%; 768 images), validation data (12.5%;128 images), and test data (12.5%;128 images).Prior to augmentation, there were 128 images in the original dataset, which were split into 96 (training), 16 (validation), and 16 (test) images.These data were further augmented by being flipped horizontally, being flipped vertically, brightness corrected, contrast adjusted, and a combination of these methods.After augmentation, the number of data was increased eight times, from 128 to 1024.The "labelImg" tool is used for image annotation.The pretrained model YOLOv5 is used as a starting point to create a machine-learning model for wheel surface defects.Then, a YOLOv5 wheel surface defect detection machine learning model is created to improve the accuracy using 1024 images.To measure the performance of the model, we selected precision, recall, and mean average precision as metrics.After training the custom data, the precision was 95.28%, recall was 85.96%, and mean average precision was 97.90%.The average detection speed was 100 milliseconds per image.The mean average precision curve is shown in Figure 5.

Experimental results

26Table 3 presents the recorded coordinate data.A plot image of the surface profile data is shown in Figure 6.Table 4 presents a comparison of the results.The record presented in Table 4 is an average in a series of 55 measurements, and a standard deviation of 0.1 in width and 0.05 in-depth was observed.When calculating the standard deviation, five data points with low accuracy and five data points with high accuracy were excluded from the data.

27The reason for excluding each of the five high and low data points data is to reduce the effect of outliers on the final result, providing a more robust measure of data dispersion.The wheel tread profile is captured properly.A 3D profile, created from the tread profile data, is used to compare with the original profile to determine whether the criteria are exceeded.The picture analysis results shown in Figure 7 clarifies that machine vision can detect deliberate surface blemishes such as dirt and rust.In this verification, we included a straight line representing dirt; dirt was also detected by machine vision.This dirt was not identified by laser measurement because of the lack of thickness of the dirt strip, and hence, it was not judged as a defect.Using AI, circular and oval defects can be detected, as shown in Figure 8.By measuring the same area with a laser and performing diagnosis with machine vision and AI, we demonstrated that false detection can be prevented using a combination of laser measurement, machine vision and an AI model (Table 5).As shown in Table 5, defects with depth ≥ 0.2 mm can be detected by laser measurement (Figure 6) and defects with depth ≤ 0.2 mm can be detected by image data analysis (Figure 7) or AI (Figure 8).To compensate for each other's shortcomings, these three results are recorded during measurement.Table 5 shows the measurement examples.

Discussion

28The following are the achievements and problems of this study and suggested future work:

Achievements

29• 0.2 mm deep surface defects (Defect No. 1 in Table 4) can be measured.Notes: In the case of defect with depth greater than 0.5 mm on the wheel surface, edge detection and AI cannot detect the defect; only the laser sensor can detect it.Compared with criteria determined by the railroad company, this type of defect should be judged as a "defect that needs to be repaired."

30• Defects with depths of 0.5 mm or more can be detected with an accuracy of within 0.05 mm.(This level of precision is difficult to achieve using manual inspection).• Test pieces of different materials, the movement speeds of the test pieces were varied; however, no differences in the measured dimensions of defects were observed.• The measurement of surface defects by combining laser measurements and machine vision, including AI, is considered to be effective.• The laser sensors provide high-precision measurements with less effort.• The possibility of lowering false positives by combining image diagnosis and laser measurement was proposed (Table 5).

Problems

31• Only linear-type scratches and rust can be detected using edge detection.• Test pieces cannot have tiny scratches on the scale of several micrometres, because machining tool was used to create scratches.

Future work

32• An approach not limited to linear-type scratches and circular and oval defects as well as various types of wheel surface defects, such as peeling, wearing, flat surfaces, and thermal cracks, should be considered [3].• Prepare image data that includes tiny scratches should be prepared to create the AI model.• The AI model should perform continuous learning to achieve the automatic inspection of wheel surfaces.

Conclusion

33Herein, we examined the feasibility of an automatic inspection system for identifying defects in the wheel surface under dynamic conditions employing test pieces with intentional defects.We demonstrated that a combined inspection system using a laser sensor and digital video camera can be considered a part of an automatic inspection system.Combining profile measurements based on sensors and machine vision with AI helped realize improved surface defect detection.However, the defect detection accuracy obtained using laser sensors and machine vision needs improvement.Types of defects that cannot be detected by lasers, such as defects without thickness or depth, can be detected using image recognition based on AI.However, it is assumed that defects, such as surface wear are difficult to detect using AI; defect detection can be performed using laser sensors.Further improvement in the measurable accuracy of the laser sensor is also desired.In addition, the AI model should perform continuous learning to detect additional objects.Combining various machine vision theories, such as image conversion, edge detection, and AI is necessary to develop an automatic inspection system.

Figure 1 .

34Figure 1.Test pieces used for the experiment.(a) (Upper): Drawing of a wheel profile test piece with intentional defects.(b) (Middle): Section of a wheel profile test piece with intentional defects.(c) (Bottom): Wheel profile test piece with defects (aluminium and maraging steel).

Figure 2 .

35Figure 2. Flow chart of the detection system.Note: Judgment will be conducted using measurement results by laser sensor, edge detection, and AI.

Figure 3 .

36Figure 3. Arrangement of an automatic inspection system.

Figure 4 .

37Figure 4. Flow chart of the image data conversion process.

38formula maps each point (a, b) in the image space to a sinusoidal curve in the Hough space, where each curve indicates a possible line in the original image.The intersection of these curves in the Hough space corresponds to parameters (ρ, θ ) of the detected lines in the original image.The line segments presented in the image are retrieved using the aforementioned method.YOLO is an object detection algorithm that rapidly and accurately detects multiple objects within images in real-time and can record the detected results in image data.YOLO functions by dividing the image into a fixed-size grid and generating predictions for multiple bounding boxes and classes within each grid cell.By processing the entire image at once, YOLO achieves a holistic understanding of the scene, thereby enabling rapid and simultaneous detection.The ability of the algorithm to balance speed and accuracy makes it popular in applications such as autonomous vehicles and surveillance, where real-time object detection is crucial.In this study, we used YOLOv5.Released in 2020, YOLOv5, the fifth version of the YOLO series has improved the model's performance and added new features, such as hyperparameter optimization, integrated experiment tracking, and automatic export to popular formats.The mechanism of YOLOv5 is shown in Figure5.Combining edge detection through image conversion with AI-based detection for defect detection offers remarkable benefits.Edge detection enhances the accuracy of identifying anomalies by highlighting boundaries and irregularities in images.The synergy created by the combined image conversion and AI provides a comprehensive approach.This combination

Figure 5 .

39Figure 5. Mechanism of the YOLOv5 algorithm.(a) (Upper): Mechanism of YOLOv5.(b) (Middle): Results of fault detection by YOLOv5.(c) (Lower): Mean average precision curve.

Figure 6 .

40Figure 6.Plot image of the surface profile data (measured at 7.3 km/h).(a)(Upper): 3D view.(b)(Lower): Section view.

Figure 7 .

41Figure 7. Analysis result of the image data.

42(a) Original data (b) Material: Steel: v = 7.3 km/h (c) Material: Aluminium: v = 7.3 km/h Note: (a) (Left): Original width and depth of design.(b) (Middle): Measured width and depth for steel at a moving speed of 7.3 km/h.(c) (Right): Measured width and depth for aluminium at a moving speed of 7.3 km/h.Measured data in (b) and (c) are average of 55 datasets each.

Figure 8 .

43Figure 8. Results of defect detection by YOLOv5.

Table 1 .

44Specifications of test pieces.

Table 2 .

45Equipment used in the experiment.

Table 3 .

46Recorded data of the wheel surface profile (unit: mm).Left table shows sample of coordinates for design dimension; Right table shows coordinates measured coordinate at a moving speed of 7.3 km/h; Note: The moving speed of railcars in railcar depots in Japan is 5-10 km/h, and in this study, the test pieces moved with an intermediate speed of 7 km/h.The moving speed of the slider unit at that time was 7.3 km/h, therefore, a moving speed was set at 7.3 km/h.Direction of x, y, and z are same as that in Fig.3.

Table 4 .

47Measurement result (unit: mm).

Table 5 .

48Detectable defects type by variable method.

참고문헌 16건

  1. Safety Criteria for Evaluation of Railway Vehicle Derailment. Quarterly Report of RTRI · Railway Technical Research Institute · 1999 10.2219/rtriqr.40.18
  2. Optimal Threshold Image Segmentation Method Based on Genetic Algorithm in Wheel Set Online Measurement 2011 10.1109/icmtma.2011.483
  3. An online wheel size detecting technology based on laser displacement sensors for urban rail vehicles 2017 10.23919/chicc.2017.8028950
  4. Measuring of train wheel surface defect based on linear CCD imaging 2016 10.1109/iwc.2016.8068369
  5. Railway vehicle wheel profile parameters measurement under incomplete curves conditions 2016 10.1109/iwc.2016.8068371
  6. Wheel Tread Defects Inspection Based on SVM 2017 10.1109/fendt.2017.8584565
  7. Crack Detection of Track Plate Based on YOLO 2019 10.1109/iscid.2019.10086
  8. Detection for Rail Surface Defects via Partitioned Edge Feature IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2021 10.1109/tits.2021.3058635
  9. MRSDI-CNN: Multi-Model Rail Surface Defect Inspection System Based on Convolutional Neural Networks IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2021 10.1109/tits.2021.3101053
  10. Research on Image Enhancement Technology of Locomotive Wheelset based on Image Equalization and Fuzzy Theory 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC) · 2021 10.1109/itnec52019.2021.9587234
  11. Deep Learning and Machine Vision-Based Inspection of Rail Surface Defects IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2021 10.1109/tim.2021.3138498
  12. SF-YOLOv5: A Lightweight Small Object Detection Algorithm Based on Improved Feature Fusion Mode Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22155817
  13. Defect Detection of Track Fasteners Based on Pruned YOLO V5 Model 2022 IEEE 11th Data Driven Control and Learning Systems Conference (DDCLS) · 2022 10.1109/ddcls55054.2022.9858442
  14. Automatic Dimensional Inspection System of Railcar Wheelset for Condition Monitoring 2022 61st Annual Conference of the Society of Instrument and Control Engineers (SICE) · 2022 10.23919/sice56594.2022.9905812
  15. Wheel Surface Defect Detection Method Using Laser Sensor and Machine Vision 2023 10.23919/sice59929.2023.10354134
  16. ROLLING STOCK MAINTENANCE SYSTEMS Proceedings of the 1996 Rapid Transit Conference of the American Public Transit AssociationAmerican Public Transportation Association · 1996