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

A Machine Vision System Based on Driving Recorder for Automatic Inspection of Rail Curvature

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Su-Mei Wang — Hong Kong Branch of National Rail Transit Electrification and Automation Engineering Technology Research Center, The Hong Kong Polytechnic University, Hong Kong|||The Hong Kong Polytechnic University, Hong Kong
  2. Ching-Lung Liao — Rail Technical Research Center, National Taiwan University, Taipei, Taiwan
  3. Yi‐Qing Ni — Hong Kong Branch of National Rail Transit Electrification and Automation Engineering Technology Research Center, The Hong Kong Polytechnic University, Hong Kong|||The Hong Kong Polytechnic University, Hong Kong
DOI
10.1109/jsen.2020.3020907
저널
IEEE Sensors Journal
발행년도
2020
발행기관
IEEE Sensors Council
피인용수
16
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/jsen.2020.3020907
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W3082230078

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Because of long distance of railway lines, it is difficult to find an appropriate method to inspect the rail track condition efficiently and accurately. In this article, a machine vision system based on driving recorder and image signal processing is proposed to evaluate the rail curvature automatically. The proposed machine vision system consists of four modules including the video acquisition module, the image extraction module, the image processing module, and the track condition assessment module. Three classic edge detection methods are adopted and compared for rail edge detection. In line with the videos of driving recorder, coordinate systems for train and rail are defined in the Lagrangian space, and the track curvature is estimated using the proposed chord offset method and double measurement method. For evaluating the track condition, an index describing the concordance between the train and track is defined. In the case study, a set of videos from the driving recorders of trains during their in-service operations are analyzed by the proposed technique, and the obtained results are verified by comparison with those obtained by a track geometry inspection vehicle. It is shown that the proposed technique can evaluate the track curvature accurately. Moreover, the influence of the position of deployed driving recorder, the focal length and anti-shake of camera on the accuracy of evaluation results is discussed. It is testified that the proposed technique provides a simple and reliable way to inspect the track curvature.

본문 43,519자

본문 펼치기
IEEE SENSORS JOURNAL, VOL. 21, NO. 10, MAY 15, 2021 11291 ## A Machine Vision System Based on Driving Recorder for Automatic Inspection of Rail Curvature Su-Mei Wang, Ching-Lung Liao, and Yi-Qing Ni _Abstract—Because_ _of_ _long_ _distance_ _of_ _railway_ _lines,_ _it_ _is_ _difficult to find an appropriate method to inspect the rail track_ _condition efficiently and accurately. In this article, a machine_ _vision_ _system_ _based_ _on_ _driving_ _recorder_ _and_ _image_ _signal_ _processing_ _is_ _proposed_ _to_ _evaluate_ _the_ _rail_ _curvature_ _auto-_ _matically._ _The_ _proposed_ _machine_ _vision_ _system_ _consists_ _of_ _four_ _modules_ _including_ _the_ _video_ _acquisition_ _module,_ _the_ _image extraction module, the image processing module, and_ _the_ _track_ _condition_ _assessment_ _module._ _Three_ _classic_ _edge_ _detection_ _methods_ _are_ _adopted_ _and_ _compared_ _for_ _rail_ _edge_ _detection. In_ _line_ _with_ _the_ _videos_ _of_ _driving_ _recorder, coordi-_ _nate_ _systems_ _for_ _train_ _and_ _rail_ _are_ _defined in_ _the_ _Lagrangian_ _space,_ _and_ _the_ _track_ _curvature_ _is_ _estimated_ _using_ _the_ _pro-_ _posed_ _chord_ _offset_ _method_ _and_ _double_ _measurement_ _method._ _For_ _evaluating_ _the_ _track_ _condition,_ _an_ _index_ _describing_ _the_ _concordance between the_ _train_ _and track is_ _defined. In_ _the_ _case_ _study, a_ _set of_ _videos from_ _the_ _driving recorders of_ _trains_ _during_ _their_ _in-service_ _operations_ _are_ _analyzed_ _by_ _the_ _proposed technique, and_ _the_ _obtained results_ _are_ _verified_ _by comparison with those obtained by a track geometry inspection vehicle. It is shown that the proposed technique can_ _evaluate_ _the_ _track_ _curvature_ _accurately._ _Moreover,_ _the_ _influence_ _of_ _the_ _position_ _of_ _deployed_ _driving_ _recorder,_ _the_ _focal_ _length_ _and_ _anti-shake_ _of_ _camera_ _on_ _the_ _accuracy_ _of_ _evaluation_ _results_ _is_ _discussed._ _It_ _is_ _testified_ _that_ _the_ _proposed_ _technique provides a simple and reliable way to inspect the track curvature._ _Index Terms— Track curvature, machine vision, driving recorder, edge detection, onboard inspection._ I. INTRODUCTION HE railway system plays a key role in modern intercity transport in terms of its capacity and efficiency. The # T condition of track is essential to guarantee the operation stability and safety of railway system. Track with poor performance leads to a high risk of railway operation stability and safety, damage to the railway asset, as well as possible loss Manuscript received July 25, 2020; revised August 25, 2020; accepted August 30, 2020. Date of publication September 1, 2020; date of current version April 16, 2021. This work was supported in part by the Grant (RIF) from the Research Grants Council of the Hong Kong Special Administrative Region (SAR), China, under Grant R-5020-18 and in part by the Innovation and Technology Commission of the Hong Kong SAR Government to the Hong Kong Branch of National Rail Transit Electrification and Automation Engineering Technology Research Center under Grant K-BBY1. The associate editor coordinating the review of this article and approving it for publication was Dr. Oleg Sergiyenko. (Corresponding author: Yi-Qing Ni.) Su-Mei Wang and Yi-Qing Ni are with the Hong Kong Branch of National Rail Transit Electrification and Automation Engineering Technology Research Center, The Hong Kong Polytechnic University, Hong Kong, and also with the Department of Civil and Environmental Engineering, The Hong Kong Polytechnic University, Hong Kong (e-mail: may.sm.wang@polyu.edu.hk; ceyqni@polyu.edu.hk). Ching-Lung Liao is with the Rail Technical Research Center, Department of Civil Engineering, National Taiwan University, Taipei 10617, Taiwan (e-mail: liaocly@hotmail.com). Digital Object Identifier 10.1109/JSEN.2020.3020907 of human lives. According to the database from the federal railroad administration of USA, 18% train accidents were due to the track geometry and 16% caused by the defects in track components [1]. For the safe operation of railway system, track inspection is required to be performed regularly in order to maintain the healthy condition of track [2]. Track inspection generally includes a wide variety of specific tasks, ranging from locating and evaluating the condition of different track components to monitoring rail surfaces, alignments and curvatures [3]. According to the report of Network Rail, track geometry variation exists particularly over curved track, which aggravates the likelihood of rail contact fatigue clusters [4]. In addition, the track geometry degradation can affect negatively track performance and safety [5]. Hence, track geometry is a critical issue of track inspection to maintain track functionality and should be inspected at predetermined times to ensure an acceptable condition of the track geometry. Track inspections were often conducted visually by railroad inspectors. However, the manual inspection is very errorprone and time-consuming for railway managers/engineers to perform those tasks, especially for long-term and large-scale deployment [3]. Thus, it is essential to develop scalable, quick, and cost-effective track inspection systems. Rail inspection This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ vehicles equipped with different monitoring units and sensors have been adopted for track geometry condition detection with the purpose of maintenance planning and track classification [6], [7]. However, rail inspection vehicle is expensive and still needs operators [4]. Recently, a variety of online and/or onboard sensing techniques using sensors such as strain gauges [8], fiber optic sensors [9]–[11], bogie-mounted accelerometers [12], car-body sensory devices [13], and acoustic emission [14]–[16], have been increasingly used to inspect rail geometry and/or track condition. However, these techniques sometimes fail to satisfy performance requirements including stability, accuracy and durability under specific conditions [17]. Novel non-destructive evaluation techniques such as vision inspection [18]–[20], Doppler LIDAR technology [4], and laser dynamic triangulation [21]–[25] have emerged as well. Quite a few machine-vision based automatic systems [26]–[32] have been proposed to cope with various tasks including detecting rail irregularities, rail surface, rail anchors, turnout components, crib ballast, and defects in fasteners. The vast majority of these systems focus on the inspection of specific rail components by using an array of cameras or laser equipment [2]. In this article, an alternative image identification system is proposed that makes use of the driving recorders equipped on in-service trains to evaluate track geometry and condition. By using this technique, the geometry of a track along its whole length can be ‘scanned’ quickly and frequently to prevent potential track-induced train accidents and reduce the track maintenance cost. The remainder of this article is organized as follows. Section II presents the proposed track curvature and condition detection system. Section III describes three classic edge detection methods for rail edge detection. The chord offset method and double measurement method for track curvature calculation are presented in Sections IV and V, respectively. Case studies, results, and discussions are provided in Section VI, followed by our conclusions in Section VII. II. SYSTEM OVERVIEW The proposed track curvature and condition detection system includes four functional modules: the video acquisition module, the image extraction module, the image processing module, and the rail condition assessment module, as shown in Fig. 1. The driving recorder, computer and image processing software constitute the machine vision part of the inspection system, which mainly accomplish the function of track image data acquisition and analysis. The functionality of each module is detailed as follows. 1) The video acquisition module: The videos are collected from the driving recorder equipped on each train during its routine operation. The camera with 1080 pixels of resolution is in general used for driving recorders in which the capture speed is 30 fps. The mounted position of the driving recorder should be on the front glass of locomotor to catch the full view of track; 2) The image extraction module: The videos are converted to images according to the frames of the videos. The extracted images will be used in the image processing module through the developed image processing software; Fig. 1. Architecture of the proposed track curvature detection system. Fig. 2. Rail with smooth surface and color consistency. 3) The image processing module: The image processing consists of the setting of coordinate system, detection of rail edge, and feature detection of track geometry. The edge detection techniques will be introduced in Section III and the methods for the setting of coordinate system and detecting track geometry will be detailed in Sections IV and V; 4) The track condition assessment module: A track condition assessment index will be defined in this module to evaluate the concordance between the train and track, which will be specified in Section V. The developed system provides an alternative way to inspect the track curvature and condition using videos from the driving recorder of a traveling train. While the proposed system has the potential for applications in track geometry inspection as well as in track component detection, this article will focus on the procedure of track geometry inspection such as track curvature estimation using the proposed chord offset method and double measurement method. III. EDGE DETECTION The edge identification of track is an essential part to calculate the location of track using machine vision technology. As shown in Fig. 2, the edge of rail has special characteristics of smooth surface and color consistency due to the prolonging friction between the wheels and rail. These features of rail edge are conducive to edge detection of rail in image processing. The primary process of edge detection is to detect abrupt changes in image intensity which can be accomplished by use of the first or second order derivatives. The diagram of the edge detection procedures is shown in Fig. 3. A filter is designed to approximate the first derivative. The magnitude and direction of intensity changes of an image _G_ Fig. 3. Diagram of edge detection procedures. Fig. 4. 2D masks of size 3 × 3: (a) Prewitt masks; (b) Sobel masks. are calculated by the gradient operator, defined as [33] _∂_ _G_ _∂y_ - _T_ - _T_ = <sup>�</sup> _G_ _x_ _G_ _y_ (1) ∇ _G_ = - _∂_ _G_ _∂_ _x_ The magnitude _U_ and direction _α_ of the gradient operator at an arbitrary location are calculated as - _G_ _y_ _G_ _x_ (2) _U_ = _G_ <sup>2</sup> _x_ + _G_ <sup>2</sup> _y_ _α_ = tan <sup>−1</sup> To obtain the gradient, numerical approximations of partial derivatives _∂G_ / _∂_ _x_ and _∂G_ / _∂y_ are calculated at every pixel of the image. The Prewitt algorithm and the Sobel algorithm are two common methods to perform this calculation [33]. In the Prewitt method [34], these approximations are obtained by filtering the image with the two masks of size 3 × 3 shown in Fig. 4(a). The difference between the third and first rows approximates the derivative in the _x_ -direction, and the difference between the third and first columns approximates the derivative in the _y_ -direction. The Sobel algorithm [35] uses more weights on the central coefficients of the masks (shown in Fig. 4(b)), thus providing better image smoothing. Applying the respective operators, the gradient is obtained using (1). Finally, edges in the image are determined by thresholding the gradient magnitude. The above two edge detection methods do not consider the noise in the image. The Marr-Hildreth algorithm [36] takes a step forward to reduce noise before detecting edges by finding zero crossing points of the second derivative of the image. Convolution of the image _G(x, y)_ with a Laplacian of Gaussian (LoG) kernel is defined as Fig. 5. Rail edge detection results using different methods: (a) Prewitt algorithm; (b) Sobel algorithm; (c) Marr-Hildreth algorithm. and run extremely fast because their main manipulation is a convolution with a very small kernel (3 × 3 pixels) [33]. The algorithm using the second derivative (Marr-Hildreth) is more accurate involving more manipulations, since convolutions with larger kernels are performed. IV. CHORD OFFSET METHOD Track curvature measurement is an essential part of evaluating track geometry and maintaining rail functionality [4]. The mid-chord method [37] is one of the common techniques to measure track curvature. In conformance with the definition of curvature, this method utilizes a chord of a certain length subtending the degree of curve. Then the versine or length from the center of the chord to the rail is measured to determine the radius of curvature using the Pythagorean theorem. In the railway measurement, a 62-foot chord is usually used to make a mid-chord measurement in that each inch from the midpoint (31 feet) to the rail is equal to one degree of _f (x, y)_ = ∇ <sup>2</sup> _g(x, y)_ ∗ _G(x, y)_ (3) Then zero crossings of the image can be found to determine the location of edges once the second derivative is obtained. The results of rail edge detection using these three algorithms are shown in Fig. 5. It is observed that the results using the Prewitt and Sobel algorithms are not good enough to detect both sides of rail edge. The rail edges inside the red circles in Figs. 5(a) and 5(b) fail to be detected; whereas, the two edges of each rail are detected unambiguously in Fig. 5(c) using the Marr-Hildreth algorithm. The algorithms using the first derivative (Prewitt and Sobel) implement easily Fig. 6. Train on curved track. curvature [4]. Even though this method is simple to implement in track geometry testing, it is not easy to realize in the image processing. In view of this, a chord offset method is proposed in this study to calculate the track curvature in compliance with vision-based detection. A. Coordinate System In the image processing, the primary step is the setting of coordinate system. As shown in Fig. 6, for most train vehicles, the vehicle body is seated on bogies and the two bogies of each vehicle form the end points of a chord placed on curved track. The vehicle body represents an extension of this chord. The moving orientation of the train is along the chord direction of the curved track. Considering these features of railway, we employ the chord of the curve as the benchmark of the rail coordinates in the image processing. As shown in Fig. 7, _R_ is the curvature radius of the curve path and the two ends of the chord represent the positions of the front and rear bogies beneath a coach. The direction of chord ( _y_ -axis) is the travel direction of train and the normal direction ( _x_ -axis) is set on the rail plane and perpendicular to the travel direction of train. The direction _z_ is perpendicular to the plane formed by the chord and its normal line. The established Lagrangian coordinate system is related to the track. The coordinate system for the vehicle is the same as the track system when there is no relative motion between the vehicle and track. The coordinate systems for the vehicle and track when there exists a relative motion between the vehicle and track will be discussed in Section V. B. Calculation of Track Curvature The chord offset method is then applied to calculate the track curvature in the established coordinate system. As shown in Fig. 7, _B_ 1 and _B_ 2 are the locations of two bogies on the ends of chord, which in the coordinate system are (0, - _yb)_ and (0, _yb)_, respectively. The measurement point _M_ is at the curve line whose location is ( _xm_, _ym)_ . The mid-ordinate offset is assumed to be _c_ . According to the Pythagorean theorem, the following equations can be obtained: Fig. 7. Coordinate system. The mid-ordinate offset _c_ is not easy to obtain in the image processing. To eliminate the mid-ordinate offset in the above equations, (4) is subtracted from (5), from which we obtain: _R_ - _c_ = <sup>_x_</sup> _m_ <sup>2</sup> _m_ <sup>2</sup> <sup>+</sup> <sup>_y_</sup> _m_ <sup>2</sup> _b_ (6) 2 _xm_ _m_ <sup>2</sup> <sup>−</sup> <sup>_y_</sup> _b_ <sup>2</sup> By substituting (6) into (5), the curvature can be expressed as: 2 _xm_ <sup>1</sup> _R_ <sup>=</sup> _(xm_ <sup>2</sup> + _ym_ <sup>2</sup> - _yb_ <sup>2</sup> _b_ <sup>2</sup> <sup>_x_</sup> _m_ <sup>2</sup> _κ_ = <sup>1</sup> _R_ _b_ <sup>2</sup> <sup>_)_</sup> <sup>2 + 4</sup> <sup>_y_</sup> _b_ <sup>2</sup> (7) where _κ_ is the curvature. According to (7), the curvature of the curve path can be calculated once the coordinate values of the measurement point and the spacing of bogies (chord length) 2 _yb_ on the curve path are determined. It is worth mentioning that the points _B_ 1, _B_ 2, _M_ are still in the same curve when the two bogies beneath the locomotive are within a transition zone of rail. At the short time when the two bogies are respectively at the straight and curved lines crossing the transition zone, the estimated curvature is the average curvature of the two lines. As the offset distance is usually much smaller than the chord length of a curved railway line, the value of | _xm/ym_ | is far less than 1. In this case, (7) can be simplified as: <sup>1</sup> 2 _xm_ _R_ <sup>≈</sup> _ym_ <sup>2</sup> - _yb_ <sup>2</sup> _κ_ = <sup>1</sup> _R_ (8) _b_ _yb_ <sup>2</sup> <sup>=</sup> <sup>_R_</sup> <sup>2 −</sup> <sup>_(R_</sup> <sup>−</sup> <sup>_c)_</sup> <sup>2</sup> (4) _ym_ <sup>2</sup> <sup>=</sup> <sup>_R_</sup> <sup>2 −</sup> <sup>_(R_</sup> <sup>−</sup> <sup>_xm_</sup> <sup>−</sup> <sup>_c)_</sup> <sup>2</sup> (5) By this way, the curvature of a curve line is determined by using (7) or (8) when relative motion does not occur between the vehicle and track. When there exists a relative motion between the vehicle and track, the coordinate systems for the vehicle and track are no longer the same. In the latter situation, the method for calculating the curvature is different and will be provided in the next section. directions. The observed points _M_ and _M_ <sup>′</sup> on the two visual curves correspond to the same point on the track but are collected from different visual directions. The curvature of visual curve calculated by (7) or (8) is named visual curvature. Obviously, the visual curvature is not the true curvature when relative motion between the track and train exists. To obtain the real curvature, the double measurement method is proposed here to eliminate the observation error. As shown in Fig. 9, two points ( _M_ and _N)_ on the curve are considered. In accordance with the Pythagorean theorem, the following equations can be obtained: Fig. 8. Two different vision planes. Fig. 9. Double measurement method. V. DOUBLE MEASUREMENT METHOD Ideally, the conditions of track and train are good enough to eliminate the relative motion between the track and train. In such situation, the track curvature can be estimated by using (7) or (8) in the image processing. Considering the complex operation environment of a train moving on track, relative motion between the train and track is often inevitable. In this situation, a double measurement method is proposed in this study to calculate the track curvature. A. Double Measurement The coordinate systems for the vehicle and track will be different once relative motion between the train and track occurs. The relative motion between the train and track induces the deriving recorder to take videos from a different vision direction. As shown in Fig. 8, the blue triangle plane represents the view plane when the coordinate systems for the vehicle and track are coincident, and the view plane becomes yellow triangle plane when there is relative motion between the train and track. This means that the measured track curvature in the image processing will be contingent on the deployed location of the video. The curve measured by videos from different visual direction is called visual curve. As illustrated in Fig. 9, there are two visual curves from two different visual _yb_ <sup>2</sup> 1 _A_ = _WT_ _b_ <sup>2</sup> <sup>=</sup> <sup>_R_</sup> <sup>2 −</sup> <sup>_(R_</sup> <sup>−</sup> <sup>_c)_</sup> <sup>2</sup> (9) _ym_ <sup>2</sup> <sup>=</sup> <sup>_R_</sup> <sup>2 −</sup> <sup>_(R_</sup> <sup>−</sup> <sup>_c_</sup> <sup>−</sup> <sup>_xm)_</sup> <sup>2</sup> (10) _yn_ <sup>2</sup> <sup>=</sup> <sup>_R_</sup> <sup>2 −</sup> <sup>_(R_</sup> <sup>−</sup> <sup>_c_</sup> <sup>−</sup> <sup>_xn)_</sup> <sup>2</sup> (11) _ym_ <sup>2</sup> _n_ <sup>2</sup> <sup>=</sup> <sup>_R_</sup> <sup>2 −</sup> <sup>_(R_</sup> <sup>−</sup> <sup>_c_</sup> <sup>−</sup> <sup>_xn)_</sup> <sup>2</sup> (11) From (9), we can obtain: _R_ - _c_ = _R_ <sup>2</sup> - _yb_ <sup>2</sup> (12) By substituting (12) into (10), _R_ <sup>2</sup> - _yb_ <sup>2</sup> <sup>can be expressed as:</sup> - _R_ <sup>2</sup> - _yb_ <sup>2</sup> <sup>=</sup> _R_ <sup>2</sup> - _ym_ <sup>2</sup> + _xm_ (13) By substituting (12) into (10), _R_ <sup>2</sup> - _yb_ <sup>2</sup> _b_ <sup>2</sup> <sup>=</sup> _R_ <sup>2</sup> - _ym_ <sup>2</sup> + _xm_ (13) and then the curvature can be derived by substituting (13) into (11) as: 2 _(xn_ - _xm)_ <sup>1</sup> _R_ <sup>=</sup> _(_ _(xn_ - _xm)_ <sup>2</sup> + _(yn_ <sup>2</sup> - _ym_ <sup>2</sup> _)_ _κ_ = <sup>1</sup> _R_ _(xn_ - _xm)_ <sup>2</sup> + _(yn_ <sup>2</sup> - _ym_ <sup>2</sup> _)_ �2 + 4 _yn_ 2 _(xn_ - _xm)_ 2 (14) In (14), the curvature is determined by two points on the curve line without the axle spacing (chord length) on the curve path. Akin to (7), (14) can be simplified as _R_ <sup>1</sup> <sup>=</sup> <sup>2</sup> <sup>_(_</sup> _y_ <sup>_x_</sup> _n_ <sup>2</sup> <sup>_n_</sup> <sup>−</sup> - _y_ <sup>_x_</sup> _m_ <sup>2</sup> <sup>_m)_</sup> _κ_ = _R_ <sup>1</sup> _yn_ <sup>2</sup> - _ym_ <sup>2</sup> (15) Both (8) and (15) can be utilized to estimate the track curvature in practice. However, (15) is a more general formula to estimate track curvature in consideration of the relative motion between train and track. The double measurement method provides an effective approach to evaluating track geometry in the image processing. B. Concordance Between Train and Track As aforementioned, the track curvature evaluated by (15) takes into account the relative motion between the track and train. To some extent, the difference between the results obtained by (8) and (15) reflects the relative motion between the train and track. If concordance between the train and track is good enough, there will not be relative motion between the track and train. So, the concordance between the train and track is defined in this study to quantify relative motion between the train and track. The formula of evaluating the concordance between the train and rail can be expressed as _(κ_ 1 − _κ_ 2 _)dt_ (16) where _T_ is the evaluation period; _W_ is the standard curvature; _κ_ 1 and _κ_ 2 are the curvatures calculated by (8) and (15), respectively. The larger the index _A_, the poorer the concordance between the train and track. The index _A_ can be used to evaluate the condition of track, which will be discussed in Section VI. VI. RESULTS AND DISCUSSIONS To verify the effectiveness of the proposed track curvature and condition detection system, three sets of videos taken from the driving recorders of trains of the same type traveling on a rail route during different time periods are first analyzed, and the results are compared with those obtained by track geometry inspection vehicle. Then, another three sets of videos from the driving recorders of three trains of different types traveling on the same railway are used to evaluate the track condition by the proposed technique. Finally, the influence of focal length and anti-shake on the accuracy of results is studied. A. Verification Example Three sets of videos were collected by the driving recorders of trains of the same type during their passage through a rail route of about 4 km on 21 February 2018, 21 October 2018, and 20 November 2018, respectively. The video collected on 21 October 2018 recorded the rail condition when a derailment accident happened to the train; and the video on 20 November 2018 was taken when a train traveled on the repaired track. A track geometry inspection vehicle moved on this repaired track to measure the track geometry on 11 December 2018. The track curvatures measured by the proposed technique and by the track geometry inspection vehicle are shown in Fig. 10. It is seen that the track curvature obtained by the proposed technique using the videos taken on 20 November 2018 highly agrees with that obtained by the track geometry inspection vehicle (Fig. 10 (a)), verifying the effectiveness of the proposed image processing method in evaluating the track geometry. The root mean squared error (RMSE) between the two curvatures is 1 _._ 66×10 <sup>−4</sup> 1/m. The results obtained by the videos taken on 21 February 2018 and 21 October 2018 are illustrated in Figs. 10 (b) and (c). The track curvature in the eight months before the derailment accident was reasonable, but an anomaly in the track curvature occurred about three seconds before the derailment accident (an abrupt change in curvature since the 28th second in Fig. 10(c)). The results indicate that the proposed technique has the potential to be pursued for pre-warning of derailment. As mentioned in Section V, the vision direction can significantly affect the evaluation results. In this regard, the double measurement method has been proposed to account for the effect of vision direction. For demonstrating the efficacy of this method, four cameras of the same model were mounted on a train but at different positions to record the track simultaneously. The railway line is about 11 km in length. The vision directions from the four cameras and the track curvatures evaluated by the double measurement method using different videos are shown in Fig. 11. It is seen that the track curvatures evaluated by this method using the videos from different vision Fig. 10. Track curvatures evaluated by the proposed technique and by a track geometry inspection vehicle: (a) results using videos taken on 20 November 2018; (b) results using videos taken on 21 February 2018; (c) results using videos taken on 21 October 2018; and (d) pictures on the site. directions are pretty much identical. The results confirm that the proposed method can favorably evaluate the track geometry without suffering from the influence of the position of camera. Fig. 11. Track curvatures obtained from different vision directions. B. Evaluation of Track Condition Three sets of videos from the driving recorders of three trains of different types (Taroko, PuYuma, and Revival Expresses) are adopted here to evaluate the track condition of a railway line by the proposed technique. The railway line is about 9 km in length and three kinds of trains travel on it every day. Among the three expresses, the Taroko and PuYuma Expresses are tilting trains. Three videos from the driving recorders on the Taroko, PuYuma, and Revival Expresses were taken on 20 April 2017, 7 August 2017, and 22 February 2018, respectively. In evaluating the concordance between the train and track using index _A_ defined in (16), the interval time _T_ is Fig. 12. Pictures extracted by automatic image processing: (a) Taroko Express; (b) PuYuma Express; and (c) Revival Express. Fig. 13. Track curvatures and concordance between the train and track: (a) Taroko Express; (b) PuYuma Express; and (c) Revival Express. taken as 3s and the standard curvature is the one when the mid-ordinate offset is 7 cm. In Fig. 12, three pictures are extracted from the automatic image processing using the videos of the Taroko, PuYuma, and Revival Expresses, respectively. The establsihed coordinate plane and the calcualted curvature are also shown in Fig. 12. In light of these, the track curvatures and concordance between the train and track along the railway line are estimated and plotted in Fig. 13. The curvatures of each point on the railway Fig. 14. Two cameras with different focal lengths installed on a train. line obtained by (8) and (15) are represented by red and blue lines respectively in the figure; and the green line denotes the concordance index _A_ of the train and track. It is seen that both the track curvature and the concordance between train and track resulting from the three videos are in good agreement, since the three trains were traveling on the same railway line. The RMSE between the curvatures in Figs. 13(a) and (b) is 6 _._ 73 × 10 <sup>−4</sup> 1/m, while the RMSE between the curvatures in Figs. 13(a) and (c) is 3 _._ 32 × 10 <sup>−4</sup> 1/m. It is also observed that the index _A_ reflecting the concordance between train and rail is higher for the PuYuma Express than for the Taroko and Revival Expresses. For the track sections in the yellow block in Fig. 13, the curvatures evaluated by (8) and by (15) are apparently different where the index _A_ becomes abnormally large. This indicates that the track condition is poor in this segment compared with the others. C. Influence of Focal Length The focal length of camera influences the angle of view. The shorter the focal length, the wider the angle of view and the greater the area captured. The longer the focal length, the smaller the angle and the larger the object appears to be. When we calculate the track curvature using image, the image with larger track targeted and enough area captured is preferable. To figure out the influence of the focal length of camera on the evaluation results, a test of two cameras with different focal lengths installed on a train was performed. As shown in Fig. 14, the focal lengths of the two cameras are 2.66 mm and 4.2 mm, respectively. The two cameras are installed at the same visual position to record the condition of track synchronously. The testing track is about 8.6 km and the total number of analyzed images from each camera is 9940 fps. The images from the two cameras, the establsihed coordinate plane, and the estimated curvature are shown in Fig. 15. It looks that both images can capture enough track area. However, the track object targeted by the image from the camera with focal length f = 4.2 mm is larger than that from the camera with focal length f = 2.66 mm. The track curvatures estimated using the two videos are plotted in Fig. 16. It is seen that the curvature evaluated using the video taken by the camera with focal length of 2.66 mm (blue line) is in close agreement with that by the camera with focal length of 4.2 mm (red line). A close-up view of the two curvatures is given in the lower panel in Fig. 16. Only very tiny difference exists, which implies that the focal length has little influence Fig. 15. Images from two cameras: (a) f = 2.66 mm and (b) f = 4.2 mm. Fig. 16. Curvatures estimated using videos taken by cameras with focal length of 2.66 mm and 4.2 mm respectively. on the evaluation results. The results from an image targeting larger track may provide a better accuracy. D. Influence of Anti-Shake Most digital cameras have the function of anti-shake which filters the noise frequency higher than 0.5 Hz. However, the vibration frequencies of train are about 1.0 to 3.0 Hz. This means that the evaluation results using the images taken by a camera with anti-shake activated may be less accurate due to eliminating the vibration of train. To verify this, a test with two cameras with and without anti-shake installed on a Fig. 17. Track curvatures obtained using videos with and without antishake. train was conducted. The track curvatures estimated using the videos collected by the two cameras respectively are plotted in Fig. 17. A noticeable difference between the two estimated curvatures is observed and the curvature from the videos taken by the camera with anti-shake (red line) is smoother than the other one (blue line). As a result, the anti-shake function in camera is likely to trim down the accuracy of evaluation results. VII. CONCLUSION A machine vision-based rail track condition assessment system using driving recorder was demonstrated to be capable of estimating track curvature and evaluating track condition. Three edge detection methods were applied to detect the edges of rail. The chord offset method and the double measurement method were proposed to calculate the track curvature in image processing, while an index reflecting the concordance between the train and rail was proposed to evaluate the track condition. The proposed track curvature estimation technique was verified by comparison with the results obtained by a track geometry inspection vehicle. Unique images taken by driving recorders equipped on in-service trains traveling on a rail route before and during a derailment accident as well as after repairing the track were used to examine the feasibility of the proposed technique for rail condition assessment. Field tests were also conducted to verify the accuracy of the proposed chord offset and the double measurement methods for track curvature estimation and the influence of various factors on the evaluation results. It is shown that the evaluation results are not affected by the position of the deployed driving recorder when the proposed double measurement method is adopted. The higher focal length is preferable under enough capture area to guarantee the accuracy of results. It is observed that the anti-shake in camera can negatively affect the evaluation results. This study concludes that the proposed technique using driving recorders equipped on trains provides a viable means for track curvature and condition evaluation. REFERENCES [1] P. Babenko, “Visual inspection of railroad tracks,” Ph.D. dissertation, College Eng. Comput. Sci., Univ. Central Florida, Orlando, FL, USA, 2009. [2] K. Vijayakumar, S. R. Wylie, J. D. Cullen, C. C. Wright, and A. I. Ai-Shamma’a, “Non invasive rail track detection system using microwave sensor,” _J._ _Phys.,_ _Conf._ _Ser._, vol. 178, Jul. 2009, Art. no. 012033. [3] H. Trinh, N. Haas, Y. Li, C. Otto, and S. Pankanti, “Enhanced rail component detection and consolidation for rail track inspection,” in _Proc._ _IEEE_ _Workshop_ _Appl._ _Comput._ _Vis._ _(WACV)_, Washington, DC, USA, Jan. 2012, pp. 289–295. [4] M. Taheri Andani, A. Peterson, J. Munoz, and M. Ahmadian, “Railway track irregularity and curvature estimation using Doppler LIDAR fiber optics,” _Proc._ _Inst._ _Mech._ _Eng._ _F,_ _J._ _Rail_ _Rapid_ _Transit_, vol. 232, no. 1, pp. 63–72, Jan. 2018. [5] I. Soleimanmeigouni, A. Ahmadi, and U. Kumar, “Track geometry degradation and maintenance modelling: A review,” _Proc._ _Inst._ _Mech._ _Eng._ _F,_ _J._ _Rail_ _Rapid_ _Transit_, vol. 232, no. 1, pp. 73–102, Jan. 2018. [6] S. Bruni, R. Goodall, T. X. Mei, and H. Tsunashima, “Control and monitoring for railway vehicle dynamics,” _Vehicle_ _Syst._ _Dyn._, vol. 45, nos. 7–8, pp. 743–779, Jul. 2007. [7] C. Esveld, _Modern_ _Railway_ _Track_ . Groenwal, The Netherlands: MRT-Productions, 2001. [8] J. R. Edwards, Z. Gao, H. E. Wolf, M. S. Dersch, and Y. Qian, “Quantification of concrete railway sleeper bending moments using surface strain gauges,” _Measurement_, vol. 111, pp. 197–207, Dec. 2017. [9] H. Y. Tam, T. Lee, S. H. Ho, T. Haber, T. Graver, and A. Méndez, “Utilization of fiber optic Bragg grating sensing systems for health monitoring in railway applications,” in _Proc._ _6th_ _Int._ _Workshop_ _Structural_ _Health_ _Monitor._, Stanford, CA, USA, 2007, pp. 1824–1831. [10] M. L. Filograno _et_ _al._, “Real-time monitoring of railway traffic using fiber Bragg grating sensors,” _IEEE Sensors_ _J._, vol. 12, no. 1, pp. 85–92, Jan. 2012. [11] M. L. Filograno, P. Corredera, M. Rodriguez-Plaza, A. Andres-Alguacil, and M. Gonzalez-Herraez, “Wheel flat detection in high-speed railway systems using fiber Bragg gratings,” _IEEE_ _Sensors_ _J._, vol. 13, no. 12, pp. 4808–4816, Dec. 2013. [12] H. Mori, H. Tsunashima, T. Kojima, A. Matsumoto, and T. Mizuma, “Condition monitoring of railway track using in-service vehicle,” _J._ _Mech._ _Syst._ _Transp._ _Logistics_, vol. 3, no. 1, pp. 154–165, 2010. [13] H. Tsunashima, Y. Naganuma, and T. Kobayashi, “Track geometry estimation from car-body vibration,” _Vehicle_ _Syst._ _Dyn._, vol. 52, no. 1, pp. 207–219, May 2014. [14] A. G. Kostryzhev, C. L. Davis, and C. Roberts, “Detection of crack growth in rail steel using acoustic emission,” _Ironmaking_ _Steelmaking_, vol. 40, no. 2, pp. 98–102, Feb. 2013. [15] N. Feng, X. Zhang, Z. Zou, Y. Wang, and S. Yi, “Rail health monitoring using acoustic emission technique based on NMF and RVM,” in _Proc._ _IEEE Int. Instrum. Meas. Technol._ _Conf. (I MTC)_, Piscataway, NJ, USA, May 2015, pp. 699–704. [16] J. Wang, X.-Z. Liu, and Y.-Q. Ni, “A Bayesian probabilistic approach for acoustic emission-based rail condition assessment,” _Comput.-Aided_ _Civil_ _Infrastruct._ _Eng._, vol. 33, no. 1, pp. 21–34, Jan. 2018. [17] C. Du, S. Dutta, P. Kurup, T. Yu, and X. Wang, “A review of railway infrastructure monitoring using fiber optic sensors,” _Sens._ _Actuators_ _A,_ _Phys._, vol. 303, Mar. 2020, Art. no. 111728. [18] J. R. Edwards, J. M. Hart, S. Sawadisavi, E. Resendiz, C. P. L. Barkan, and N. Ahuja, “Advancements in railroad track inspection using machine-vision technology,” in _Proc._ _AREMA_ _Annu._ _Conf.,_ _Amer._ _Railway_ _Eng._ _Maintenance-Way_ _Assoc._ _(AREMA)_, Chicago, IL, USA, 2009, p. 30. [Online]. Available: http://railtec.illinois.edu/wp/wpcontent/uploads/pdf-archive/Edwards_et_al_AREMA_2009_Final.pdf [19] J. Gan, Q. Li, J. Wang, and H. Yu, “A hierarchical extractor-based visual rail surface inspection system,” _IEEE_ _Sensors_ _J._, vol. 17, no. 23, pp. 7935–7944, Dec. 2017. [20] Y. Li, C. Otto, N. Haas, Y. Fujiki, and S. Pankanti, “Component-based track inspection using machine-vision technology,” in _Proc._ _1st_ _ACM_ _Int._ _Conf._ _Multimedia_ _Retr._ _(ICMR)_, Trento, Italy, 2011, Art. no. 60. [21] Y. Santur, M. Karaköse, and E. Akın, “Condition monitoring approach using 3D modelling of railway tracks with laser cameras,” in _Proc._ _Int._ _Conf._ _Adv._ _Technol._ _Sci._, Rome, Italy, 2016, pp. 132–135. [22] L. Lindner _et_ _al._, “Mobile robot vision system using continuous laser scanning for industrial application,” _Ind._ _Robot,_ _Int._ _J._, vol. 43, no. 4, pp. 360–369, Jun. 2016. [23] L. Lindner _et al._, “Machine vision system for UAV navigation,” in _Proc._ _Int._ _Conf._ _Elect._ _Syst._ _Aircr.,_ _Railway,_ _Ship_ _Propuls._ _Road_ _Vehicles_ _Int._ _Transp._ _Electrific._ _Conf._, Toulouse, France, Nov. 2016, pp. 1–6. [24] L. Lindner _et al._, “UAV remote laser scanner improvement by continuous scanning using DC motors,” in _Proc._ _42nd_ _Annu._ _Conf._ _IEEE_ _Ind._ _Electron._ _Soc._ _(IECON)_, Florence, Italy, Oct. 2016, pp. 371–376. [25] L. Lindner _et_ _al._, “Exact laser beam positioning for measurement of vegetation vitality,” _Ind._ _Robot,_ _Int._ _J._, vol. 44, no. 4, pp. 532–541, Jun. 2017. [26] D. Zhan, D. Jing, M. Wu, D. Zhang, L. Yu, and T. Chen, “An accu rate and efficient vision measurement approach for railway catenary geometry parameters,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 67, no. 12, pp. 2841–2853, Dec. 2018. [27] J. Liu _et_ _al._, “Learning visual similarity for inspecting defective railway fasteners,” _IEEE_ _Sensors_ _J._, vol. 19, no. 16, pp. 6844–6857, Aug. 2019. [28] H. Feng, Z. Jiang, F. Xie, P. Yang, J. Shi, and L. Chen, “Automatic fas tener classification and defect detection in vision-based railway inspection systems,” _IEEE Trans._ _Instrum._ _Meas._, vol. 63, no. 4, pp. 877–888, Apr. 2014. [29] C. Aytekin, Y. Rezaeitabar, S. Dogru, and I. Ulusoy, “Railway fastener inspection by real-time machine vision,” _IEEE_ _Trans._ _Syst.,_ _Man,_ _Cybern.,_ _Syst._, vol. 45, no. 7, pp. 1101–1107, Jul. 2015. [30] E. Resendiz, J. Hart, and N. Ahuja, “Automated visual inspection of railroad tracks,” _IEEE_ _Trans._ _Intell._ _Transport._ _Syst._, vol. 14, no. 2, pp. 751–760, May 2013. [31] H. Zhang, X. Jin, Q. M. J. Wu, Y. Wang, Z. He, and Y. Yang, “Automatic visual detection system of railway surface defects with curvature filter and improved Gaussian mixture model,” _IEEE_ _Trans._ _Instrum._ _Meas._, vol. 67, no. 7, pp. 1593–1608, Jul. 2018. [32] L. Liu, Y. He, and F. Zhou, “Vision-based fault inspection of small mechanical components for train safety,” _IET_ _Intell._ _Transp._ _Syst._, vol. 10, no. 2, pp. 130–139, Mar. 2016. [33] H. Spontón and J. Cardelino, “A review of classic edge detectors,” _Image_ _Process._ _Line_, vol. 5, pp. 90–123, Jun. 2015. [34] J. M. Prewitt, “Object enhancement and extraction,” _Picture_ _Process._ _Psychopictorics_, vol. 10, no. 1, pp. 15–19, 1970. [35] I. Sobel and G. Feldman, “A 3 × 3 isotropic gradient operator for image processing,” presented at the talk Stanford Artif. Project, Stanford, CA, USA, 1968. [36] D. Marr and E. Hildreth, “Theory of edge detection,” _Proc._ _Roy._ _Soc._ _London._ _B,_ _Biol._ _Sci._, vol. 207, no. 1167, pp. 187–217, Feb. 1980. [37] S. Iwnicki, _Handbook_ _of_ _Railway_ _Vehicle_ _Dynamics_ . Broken Sound Parkway, NW, USA: CRC Press, 2006. _Su-Mei_ _Wang_ received the B.Eng. degree from Hebei University, China, in 2013, and the Ph.D. degree from Zhejiang University, China, in 2018. She is currently a Postdoctoral Fellow with The Hong Kong Polytechnic University, Hong Kong. Her research interests include structural dynamics, rail-bridge interaction, machine vision, and structural health monitoring. _Ching-Lung_ _Liao_ received the B.Eng. degree from National Cheng Kung University, Taiwan, in 1969, and the M.Sc. and Ph.D. degrees from National Taiwan University, Taiwan, in 1972 and 1982, respectively. He is currently a Professor with the Department of Civil Engineering, National Taiwan University, where he is currently the Director of Railway Technology Research Center. His research interests include computer simulation, rail dynamics, track inspection, and machine vision. _Yi-Qing_ _Ni_ received the B.Eng. and M.Sc. degrees from Zhejiang University, China, in 1983 and 1986, respectively, and the Ph.D. degree from The Hong Kong Polytechnic University, Hong Kong, in 1997. He is currently a Chair Professor of Smart Structures and Rail Transit with The Hong Kong Polytechnic University. He is the Director of National Engineering Research Center on Rail Transit Electrification and Automation (Hong Kong Branch) and a Vice President of International Society for Structural Health Monitoring of Intelligent Infrastructure (ISHMII). His research interests include structural health monitoring, sensors and actuators, signal processing, and monitoring and control in railway engineering.

섹션 본문 39문단 · 26,479자

(제목 없음)

1Because of long distance of railway lines, it is difficult to find an appropriate method to inspect the rail track condition efficiently and accurately. In this article, a machine vision system based on driving recorder and image signal processing is proposed to evaluate the rail curvature automatically. The proposed machine vision system consists of four modules including the video acquisition module, the image extraction module, the image processing module, and the track condition assessment module. Three classic edge detection methods are adopted and compared for rail edge detection. In line with the videos of driving recorder, coordinate systems for train and rail are defined in the Lagrangian space, and the track curvature is estimated using the proposed chord offset method and double measurement method. For evaluating the track condition, an index describing the concordance between the train and track is defined. In the case study, a set of videos from the driving recorders of trains during their in-service operations are analyzed by the proposed technique, and the obtained results are verified by comparison with those obtained by a track geometry inspection vehicle. It is shown that the proposed technique can evaluate the track curvature accurately. Moreover, the influence of the position of deployed driving recorder, the focal length and anti-shake of camera on the accuracy of evaluation results is discussed. It is testified that the proposed technique provides a simple and reliable way to inspect the track curvature.

2of human lives. According to the database from the federal railroad administration of USA, 18% train accidents were due to the track geometry and 16% caused by the defects in track components [1]. For the safe operation of railway system, track inspection is required to be performed regularly in order to maintain the healthy condition of track [2]. Track inspection generally includes a wide variety of specific tasks, ranging from locating and evaluating the condition of different track components to monitoring rail surfaces, alignments and curvatures [3]. According to the report of Network Rail, track geometry variation exists particularly over curved track, which aggravates the likelihood of rail contact fatigue clusters [4]. In addition, the track geometry degradation can affect negatively track performance and safety [5]. Hence, track geometry is a critical issue of track inspection to maintain track functionality and should be inspected at predetermined times to ensure an acceptable condition of the track geometry.

3Track inspections were often conducted visually by railroad inspectors. However, the manual inspection is very errorprone and time-consuming for railway managers/engineers to perform those tasks, especially for long-term and large-scale deployment [3]. Thus, it is essential to develop scalable, quick, and cost-effective track inspection systems. Rail inspection This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ vehicles equipped with different monitoring units and sensors have been adopted for track geometry condition detection with the purpose of maintenance planning and track classification [6], [7]. However, rail inspection vehicle is expensive and still needs operators [4]. Recently, a variety of online and/or onboard sensing techniques using sensors such as strain gauges [8], fiber optic sensors [9]- [11], bogie-mounted accelerometers [12], car-body sensory devices [13], and acoustic emission [14]- [16], have been increasingly used to inspect rail geometry and/or track condition. However, these techniques sometimes fail to satisfy performance requirements including stability, accuracy and durability under specific conditions [17]. Novel non-destructive evaluation techniques such as vision inspection [18]- [20], Doppler LIDAR technology [4], and laser dynamic triangulation [21]- [25] have emerged as well. Quite a few machine-vision based automatic systems [26]- [32] have been proposed to cope with various tasks including detecting rail irregularities, rail surface, rail anchors, turnout components, crib ballast, and defects in fasteners. The vast majority of these systems focus on the inspection of specific rail components by using an array of cameras or laser equipment [2].

4In this article, an alternative image identification system is proposed that makes use of the driving recorders equipped on in-service trains to evaluate track geometry and condition. By using this technique, the geometry of a track along its whole length can be 'scanned' quickly and frequently to prevent potential track-induced train accidents and reduce the track maintenance cost. The remainder of this article is organized as follows. Section II presents the proposed track curvature and condition detection system. Section III describes three classic edge detection methods for rail edge detection. The chord offset method and double measurement method for track curvature calculation are presented in Sections IV and V, respectively. Case studies, results, and discussions are provided in Section VI, followed by our conclusions in Section VII.

II. SYSTEM OVERVIEW

5The proposed track curvature and condition detection system includes four functional modules: the video acquisition module, the image extraction module, the image processing module, and the rail condition assessment module, as shown in Fig. 1. The driving recorder, computer and image processing software constitute the machine vision part of the inspection system, which mainly accomplish the function of track image data acquisition and analysis. The functionality of each module is detailed as follows.

61) The video acquisition module: The videos are collected from the driving recorder equipped on each train during its routine operation. The camera with 1080 pixels of resolution is in general used for driving recorders in which the capture speed is 30 fps. The mounted position of the driving recorder should be on the front glass of locomotor to catch the full view of track;

72) The image extraction module: The videos are converted to images according to the frames of the videos. The extracted images will be used in the image processing module through the developed image processing software; 3) The image processing module: The image processing consists of the setting of coordinate system, detection of rail edge, and feature detection of track geometry. The edge detection techniques will be introduced in Section III and the methods for the setting of coordinate system and detecting track geometry will be detailed in Sections IV and V;

84) The track condition assessment module: A track condition assessment index will be defined in this module to evaluate the concordance between the train and track, which will be specified in Section V.

9The developed system provides an alternative way to inspect the track curvature and condition using videos from the driving recorder of a traveling train. While the proposed system has the potential for applications in track geometry inspection as well as in track component detection, this article will focus on the procedure of track geometry inspection such as track curvature estimation using the proposed chord offset method and double measurement method.

III. EDGE DETECTION

10The edge identification of track is an essential part to calculate the location of track using machine vision technology. As shown in Fig. 2, the edge of rail has special characteristics of smooth surface and color consistency due to the prolonging friction between the wheels and rail. These features of rail edge are conducive to edge detection of rail in image processing. The primary process of edge detection is to detect abrupt changes in image intensity which can be accomplished by use of the first or second order derivatives. The diagram of the edge detection procedures is shown in Fig. 3.

11A filter is designed to approximate the first derivative. The magnitude and direction of intensity changes of an image G are calculated by the gradient operator, defined as [33]

12The magnitude U and direction α of the gradient operator at an arbitrary location are calculated as

13To obtain the gradient, numerical approximations of partial derivatives ∂G/∂ x and ∂G/∂y are calculated at every pixel of the image. The Prewitt algorithm and the Sobel algorithm are two common methods to perform this calculation [33].

14In the Prewitt method [34], these approximations are obtained by filtering the image with the two masks of size 3 × 3 shown in Fig. 4(a). The difference between the third and first rows approximates the derivative in the x-direction, and the difference between the third and first columns approximates the derivative in the y-direction. The Sobel algorithm [35] uses more weights on the central coefficients of the masks (shown in Fig. 4(b)), thus providing better image smoothing. Applying the respective operators, the gradient is obtained using (1). Finally, edges in the image are determined by thresholding the gradient magnitude. The above two edge detection methods do not consider the noise in the image. The Marr-Hildreth algorithm [36] takes a step forward to reduce noise before detecting edges by finding zero crossing points of the second derivative of the image. Convolution of the image G(x, y) with a Laplacian of Gaussian (LoG) kernel is defined as

15Then zero crossings of the image can be found to determine the location of edges once the second derivative is obtained. The results of rail edge detection using these three algorithms are shown in Fig. 5. It is observed that the results using the Prewitt and Sobel algorithms are not good enough to detect both sides of rail edge. The rail edges inside the red circles in Figs. 5(a) and 5(b) fail to be detected; whereas, the two edges of each rail are detected unambiguously in Fig. 5(c) using the Marr-Hildreth algorithm. The algorithms using the first derivative (Prewitt and Sobel) implement easily and run extremely fast because their main manipulation is a convolution with a very small kernel (3 × 3 pixels) [33]. The algorithm using the second derivative (Marr-Hildreth) is more accurate involving more manipulations, since convolutions with larger kernels are performed.

16IV. CHORD OFFSET METHOD Track curvature measurement is an essential part of evaluating track geometry and maintaining rail functionality [4]. The mid-chord method [37] is one of the common techniques to measure track curvature. In conformance with the definition of curvature, this method utilizes a chord of a certain length subtending the degree of curve. Then the versine or length from the center of the chord to the rail is measured to determine the radius of curvature using the Pythagorean theorem. In the railway measurement, a 62-foot chord is usually used to make a mid-chord measurement in that each inch from the midpoint (31 feet) to the rail is equal to one degree of curvature [4]. Even though this method is simple to implement in track geometry testing, it is not easy to realize in the image processing. In view of this, a chord offset method is proposed in this study to calculate the track curvature in compliance with vision-based detection.

A. Coordinate System

17In the image processing, the primary step is the setting of coordinate system. As shown in Fig. 6, for most train vehicles, the vehicle body is seated on bogies and the two bogies of each vehicle form the end points of a chord placed on curved track. The vehicle body represents an extension of this chord. The moving orientation of the train is along the chord direction of the curved track. Considering these features of railway, we employ the chord of the curve as the benchmark of the rail coordinates in the image processing. As shown in Fig. 7, R is the curvature radius of the curve path and the two ends of the chord represent the positions of the front and rear bogies beneath a coach. The direction of chord (y-axis) is the travel direction of train and the normal direction (x-axis) is set on the rail plane and perpendicular to the travel direction of train. The direction z is perpendicular to the plane formed by the chord and its normal line. The established Lagrangian coordinate system is related to the track. The coordinate system for the vehicle is the same as the track system when there is no relative motion between the vehicle and track. The coordinate systems for the vehicle and track when there exists a relative motion between the vehicle and track will be discussed in Section V.

B. Calculation of Track Curvature

18The chord offset method is then applied to calculate the track curvature in the established coordinate system. As shown in Fig. 7, B 1 and B 2 are the locations of two bogies on the ends of chord, which in the coordinate system are (0, −y b ) and (0, y b ), respectively. The measurement point M is at the curve line whose location is (x m , y m ). The mid-ordinate offset is assumed to be c. According to the Pythagorean theorem, the following equations can be obtained: The mid-ordinate offset c is not easy to obtain in the image processing. To eliminate the mid-ordinate offset in the above equations, (4) is subtracted from (5), from which we obtain:

19By substituting (6) into (5), the curvature can be expressed as:

20where κ is the curvature. According to (7), the curvature of the curve path can be calculated once the coordinate values of the measurement point and the spacing of bogies (chord length) 2y b on the curve path are determined. It is worth mentioning that the points B 1 , B 2 , M are still in the same curve when the two bogies beneath the locomotive are within a transition zone of rail. At the short time when the two bogies are respectively at the straight and curved lines crossing the transition zone, the estimated curvature is the average curvature of the two lines.

21As the offset distance is usually much smaller than the chord length of a curved railway line, the value of |x m /y m | is far less than 1. In this case, (7) can be simplified as:

22By this way, the curvature of a curve line is determined by using (7) or (8) when relative motion does not occur between the vehicle and track. When there exists a relative motion between the vehicle and track, the coordinate systems for the vehicle and track are no longer the same. In the latter situation, the method for calculating the curvature is different and will be provided in the next section. V. DOUBLE MEASUREMENT METHOD Ideally, the conditions of track and train are good enough to eliminate the relative motion between the track and train. In such situation, the track curvature can be estimated by using (7) or (8) in the image processing. Considering the complex operation environment of a train moving on track, relative motion between the train and track is often inevitable. In this situation, a double measurement method is proposed in this study to calculate the track curvature.

A. Double Measurement

23The coordinate systems for the vehicle and track will be different once relative motion between the train and track occurs. The relative motion between the train and track induces the deriving recorder to take videos from a different vision direction. As shown in Fig. 8, the blue triangle plane represents the view plane when the coordinate systems for the vehicle and track are coincident, and the view plane becomes yellow triangle plane when there is relative motion between the train and track. This means that the measured track curvature in the image processing will be contingent on the deployed location of the video. The curve measured by videos from different visual direction is called visual curve. As illustrated in Fig. 9, there are two visual curves from two different visual directions. The observed points M and M on the two visual curves correspond to the same point on the track but are collected from different visual directions. The curvature of visual curve calculated by (7) or (8) is named visual curvature. Obviously, the visual curvature is not the true curvature when relative motion between the track and train exists. To obtain the real curvature, the double measurement method is proposed here to eliminate the observation error. As shown in Fig. 9, two points (M and N) on the curve are considered. In accordance with the Pythagorean theorem, the following equations can be obtained:

24From (9), we can obtain:

25By substituting (12) into (10), R 2 − y 2 b can be expressed as:

26and then the curvature can be derived by substituting (13) into (11) as:

27In (14), the curvature is determined by two points on the curve line without the axle spacing (chord length) on the curve path. Akin to (7), (14) can be simplified as

28Both (8) and (15) can be utilized to estimate the track curvature in practice. However, (15) is a more general formula to estimate track curvature in consideration of the relative motion between train and track. The double measurement method provides an effective approach to evaluating track geometry in the image processing.

B. Concordance Between Train and Track

29As aforementioned, the track curvature evaluated by (15) takes into account the relative motion between the track and train. To some extent, the difference between the results obtained by (8) and (15) reflects the relative motion between the train and track. If concordance between the train and track is good enough, there will not be relative motion between the track and train. So, the concordance between the train and track is defined in this study to quantify relative motion between the train and track. The formula of evaluating the concordance between the train and rail can be expressed as

30where T is the evaluation period; W is the standard curvature; κ 1 and κ 2 are the curvatures calculated by (8) and (15), respectively. The larger the index A, the poorer the concordance between the train and track. The index A can be used to evaluate the condition of track, which will be discussed in Section VI.

VI. RESULTS AND DISCUSSIONS

31To verify the effectiveness of the proposed track curvature and condition detection system, three sets of videos taken from the driving recorders of trains of the same type traveling on a rail route during different time periods are first analyzed, and the results are compared with those obtained by track geometry inspection vehicle. Then, another three sets of videos from the driving recorders of three trains of different types traveling on the same railway are used to evaluate the track condition by the proposed technique. Finally, the influence of focal length and anti-shake on the accuracy of results is studied.

A. Verification Example

32Three Fig. 10. It is seen that the track curvature obtained by the proposed technique using the videos taken on 20 November 2018 highly agrees with that obtained by the track geometry inspection vehicle ( Fig. 10 (a)), verifying the effectiveness of the proposed image processing method in evaluating the track geometry. The root mean squared error (RMSE) between the two curvatures is 1.66×10 −4 1/m. The results obtained by the videos taken on 21 February 2018 and 21 October 2018 are illustrated in Figs. 10 (b) and (c). The track curvature in the eight months before the derailment accident was reasonable, but an anomaly in the track curvature occurred about three seconds before the derailment accident (an abrupt change in curvature since the 28th second in Fig. 10(c)). The results indicate that the proposed technique has the potential to be pursued for pre-warning of derailment.

33As mentioned in Section V, the vision direction can significantly affect the evaluation results. In this regard, the double measurement method has been proposed to account for the effect of vision direction. For demonstrating the efficacy of this method, four cameras of the same model were mounted on a train but at different positions to record the track simultaneously. The railway line is about 11 km in length. The vision directions from the four cameras and the track curvatures evaluated by the double measurement method using different videos are shown in Fig. 11. It is seen that the track curvatures evaluated by this method using the videos from different vision

B. Evaluation of Track Condition

34Three sets of videos from the driving recorders of three trains of different types (Taroko, PuYuma, and Revival Expresses) are adopted here to evaluate the track condition of a railway line by the proposed technique. The railway line is about 9 km in length and three kinds of trains travel on it every day. Among the three expresses, the Taroko and PuYuma Expresses are tilting trains. Three videos from the driving recorders on the Taroko, PuYuma, and Revival Expresses were taken on 20 April 2017, 7 August 2017, and 22 February 2018, respectively. In evaluating the concordance between the train and track using index A defined in (16), the interval time T is taken as 3s and the standard curvature is the one when the mid-ordinate offset is 7 cm.

35In Fig. 12, three pictures are extracted from the automatic image processing using the videos of the Taroko, PuYuma, and Revival Expresses, respectively. The establsihed coordinate plane and the calcualted curvature are also shown in Fig. 12. In light of these, the track curvatures and concordance between the train and track along the railway line are estimated and plotted in Fig. 13. The curvatures of each point on the railway line obtained by (8) and (15) are represented by red and blue lines respectively in the figure; and the green line denotes the concordance index A of the train and track. It is seen that both the track curvature and the concordance between train and track resulting from the three videos are in good agreement, since the three trains were traveling on the same railway line. The RMSE between the curvatures in Figs. 13(a) and (b) is 6.73 × 10 −4 1/m, while the RMSE between the curvatures in Figs. 13(a) and (c) is 3.32 × 10 −4 1/m. It is also observed that the index A reflecting the concordance between train and rail is higher for the PuYuma Express than for the Taroko and Revival Expresses. For the track sections in the yellow block in Fig. 13, the curvatures evaluated by (8) and by (15) are apparently different where the index A becomes abnormally large. This indicates that the track condition is poor in this segment compared with the others.

C. Influence of Focal Length

36The focal length of camera influences the angle of view. The shorter the focal length, the wider the angle of view and the greater the area captured. The longer the focal length, the smaller the angle and the larger the object appears to be. When we calculate the track curvature using image, the image with larger track targeted and enough area captured is preferable. To figure out the influence of the focal length of camera on the evaluation results, a test of two cameras with different focal lengths installed on a train was performed. As shown in Fig. 14, the focal lengths of the two cameras are 2.66 mm and 4.2 mm, respectively. The two cameras are installed at the same visual position to record the condition of track synchronously. The testing track is about 8.6 km and the total number of analyzed images from each camera is 9940 fps. The images from the two cameras, the establsihed coordinate plane, and the estimated curvature are shown in Fig. 15. It looks that both images can capture enough track area. However, the track object targeted by the image from the camera with focal length f = 4.2 mm is larger than that from the camera with focal length f = 2.66 mm. The track curvatures estimated using the two videos are plotted in Fig. 16. It is seen that the curvature evaluated using the video taken by the camera with focal length of 2.66 mm (blue line) is in close agreement with that by the camera with focal length of 4.2 mm (red line). A close-up view of the two curvatures is given in the lower panel in Fig. 16. Only very tiny difference exists, which implies that the focal length has little influence on the evaluation results. The results from an image targeting larger track may provide a better accuracy.

D. Influence of Anti-Shake

37Most digital cameras have the function of anti-shake which filters the noise frequency higher than 0.5 Hz. However, the vibration frequencies of train are about 1.0 to 3.0 Hz. This means that the evaluation results using the images taken by a camera with anti-shake activated may be less accurate due to eliminating the vibration of train. To verify this, a test with two cameras with and without anti-shake installed on a train was conducted. The track curvatures estimated using the videos collected by the two cameras respectively are plotted in Fig. 17. A noticeable difference between the two estimated curvatures is observed and the curvature from the videos taken by the camera with anti-shake (red line) is smoother than the other one (blue line). As a result, the anti-shake function in camera is likely to trim down the accuracy of evaluation results.

VII. CONCLUSION

38A machine vision-based rail track condition assessment system using driving recorder was demonstrated to be capable of estimating track curvature and evaluating track condition. Three edge detection methods were applied to detect the edges of rail. The chord offset method and the double measurement method were proposed to calculate the track curvature in image processing, while an index reflecting the concordance between the train and rail was proposed to evaluate the track condition. The proposed track curvature estimation technique was verified by comparison with the results obtained by a track geometry inspection vehicle. Unique images taken by driving recorders equipped on in-service trains traveling on a rail route before and during a derailment accident as well as after repairing the track were used to examine the feasibility of the proposed technique for rail condition assessment.

39Field tests were also conducted to verify the accuracy of the proposed chord offset and the double measurement methods for track curvature estimation and the influence of various factors on the evaluation results. It is shown that the evaluation results are not affected by the position of the deployed driving recorder when the proposed double measurement method is adopted. The higher focal length is preferable under enough capture area to guarantee the accuracy of results. It is observed that the anti-shake in camera can negatively affect the evaluation results. This study concludes that the proposed technique using driving recorders equipped on trains provides a viable means for track curvature and condition evaluation.

참고문헌 33건

  1. Rail health monitoring using acoustic emission technique based on NMF and RVM 2015 10.1109/i2mtc.2015.7151353
  2. Control and monitoring for railway vehicle dynamics Vehicle System Dynamics · Taylor & Francis · 2007 10.1080/00423110701426690
  3. Theory of edge detection Proceedings of the Royal Society of London. Series B, Biological sciences · Royal Society · 1980 10.1098/rspb.1980.0020
  4. Condition Monitoring of Railway Track Using In-service Vehicle Journal of Mechanical Systems for Transportation and Logistics · Japan Society Mechanical Engineers · 2010 10.1299/jmtl.3.154
  5. Component-based track inspection using machine-vision technology 2011 10.1145/1991996.1992056
  6. Track geometry estimation from car-body vibration Vehicle System Dynamics · Taylor & Francis · 2014 10.1080/00423114.2014.889836
  7. Automatic Fastener Classification and Defect Detection in Vision-Based Railway Inspection Systems IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2013 10.1109/tim.2013.2283741
  8. Automated Visual Inspection of Railroad Tracks IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2013 10.1109/tits.2012.2236555
  9. Railway Fastener Inspection by Real-Time Machine Vision IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tsmc.2014.2388435
  10. Enhanced rail component detection and consolidation for rail track inspection 2012 10.1109/wacv.2012.6163021
  11. Real-Time Monitoring of Railway Traffic Using Fiber Bragg Grating Sensors IEEE Sensors Journal · IEEE Sensors Council · 2011 10.1109/jsen.2011.2135848
  12. Non invasive rail track detection system using microwave sensor Journal of Physics Conference Series · IOP Publishing · 2009 10.1088/1742-6596/178/1/012033
  13. Detection of crack growth in rail steel using acoustic emission Ironmaking & Steelmaking Processes Products and Applications · Taylor & Francis · 2012 10.1179/1743281212y.0000000051
  14. Vision‐based fault inspection of small mechanical components for train safety IET Intelligent Transport Systems · Institution of Engineering and Technology · 2015 10.1049/iet-its.2015.0026
  15. Visual inspection of railroad tracks. 2011
  16. Wheel Flat Detection in High-Speed Railway Systems Using Fiber Bragg Gratings IEEE Sensors Journal · IEEE Sensors Council · 2013 10.1109/jsen.2013.2274008
  17. Mobile robot vision system using continuous laser scanning for industrial application Industrial Robot the international journal of robotics research and application · Emerald Publishing Limited · 2016 10.1108/ir-01-2016-0048
  18. Track geometry degradation and maintenance modelling: A review Proceedings of the Institution of Mechanical Engineers Part F Journal of Rail and Rapid Transit · SAGE Publishing · 2016 10.1177/0954409716657849
  19. Railway track irregularity and curvature estimation using doppler LIDAR fiber optics Proceedings of the Institution of Mechanical Engineers Part F Journal of Rail and Rapid Transit · SAGE Publishing · 2016 10.1177/0954409716660738
  20. Advancements in Railroad Track Inspection Using Machine-Vision Technology 2009
  21. UAV remote laser scanner improvement by continuous scanning using DC motors 2016 10.1109/iecon.2016.7793316
  22. Machine vision system for UAV navigation 2016 10.1109/esars-itec.2016.7841356
  23. Exact laser beam positioning for measurement of vegetation vitality Industrial Robot the international journal of robotics research and application · Emerald Publishing Limited · 2017 10.1108/ir-11-2016-0297
  24. Quantification of concrete railway sleeper bending moments using surface strain gauges Measurement · Elsevier BV · 2017 10.1016/j.measurement.2017.07.029
  25. A Hierarchical Extractor-Based Visual Rail Surface Inspection System IEEE Sensors Journal · IEEE Sensors Council · 2017 10.1109/jsen.2017.2761858
  26. A Bayesian Probabilistic Approach for Acoustic Emission‐Based Rail Condition Assessment Computer-Aided Civil and Infrastructure Engineering · Wiley · 2017 10.1111/mice.12316
  27. Automatic Visual Detection System of Railway Surface Defects With Curvature Filter and Improved Gaussian Mixture Model IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2018 10.1109/tim.2018.2803830
  28. Utilization of fiber optic bragg grating sensing systems for health monitoring in railway applications 2007
  29. An Accurate and Efficient Vision Measurement Approach for Railway Catenary Geometry Parameters IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2018 10.1109/tim.2018.2830862
  30. Learning Visual Similarity for Inspecting Defective Railway Fasteners IEEE Sensors Journal · IEEE Sensors Council · 2019 10.1109/jsen.2019.2911015
  31. A review of railway infrastructure monitoring using fiber optic sensors Sensors and Actuators A Physical · Elsevier BV · 2019 10.1016/j.sna.2019.111728
  32. Handbook of Railway Vehicle Dynamics CRC Press eBooks · Informa · 2006 10.1201/9781420004892
  33. A Review of Classic Edge Detectors Image Processing On Line · Image Processing On Line · 2015 10.5201/ipol.2015.35