CN114659457A - Track gauge dynamic measurement method based on structured light - Google Patents

Track gauge dynamic measurement method based on structured light Download PDF

Info

Publication number
CN114659457A
CN114659457A CN202210290409.6A CN202210290409A CN114659457A CN 114659457 A CN114659457 A CN 114659457A CN 202210290409 A CN202210290409 A CN 202210290409A CN 114659457 A CN114659457 A CN 114659457A
Authority
CN
China
Prior art keywords
structured light
gauge
rail
image
dynamic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210290409.6A
Other languages
Chinese (zh)
Inventor
林云志
余刚
范紫莲
罗金
赖一雄
杨雅熙
陈日成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Third Engineering Co Ltd of China Railway Electrification Engineering Group Co Ltd
Original Assignee
Third Engineering Co Ltd of China Railway Electrification Engineering Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Third Engineering Co Ltd of China Railway Electrification Engineering Group Co Ltd filed Critical Third Engineering Co Ltd of China Railway Electrification Engineering Group Co Ltd
Priority to CN202210290409.6A priority Critical patent/CN114659457A/en
Publication of CN114659457A publication Critical patent/CN114659457A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/14Measuring arrangements characterised by the use of optical techniques for measuring distance or clearance between spaced objects or spaced apertures
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/245Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures using a plurality of fixed, simultaneously operating transducers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators
    • G06T5/80
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Abstract

The invention discloses a dynamic measuring method of a track gauge based on structured light, which comprises the steps of obtaining a steel rail outline image, obtaining a clear steel rail outline curve and obtaining a dynamic value of the track gauge by establishing a nonlinear relation of space postures between a left camera and a right camera. The track gauge dynamic measurement method based on the structured light disclosed by the invention detects the track gauge of the test line by using the structured light and machine vision methods, realizes accurate and efficient non-contact dynamic measurement, obviously improves the speed of on-line calculation and the anti-interference capability of a detection system during operation, ensures the performance of a track gauge dynamic detection system, and has better practicability.

Description

Track gauge dynamic measurement method based on structured light
Technical Field
The invention relates to the technical field of rail transit, in particular to a dynamic measuring method for a track gauge based on structured light.
Background
With the increasing demand of urban public transportation, rail transit is also developing at a rapid pace in recent years as a main transportation means. Urban rail transit plays an important role in the way people travel in many densely populated big cities in the world, including first-line cities of Beijing, Shanghai, Guangzhou, and the like in China. However, while urban rail transit brings convenience to people, the health state of vehicles and rail systems is also influenced, for example: long-term overload operation during early and late peak hours can damage major operating components of the metro vehicle and can quickly deteriorate the irregularity of the operating track. The subway construction in China is in the peak time of construction and operation, and as long as 2020, the Shanghai subway reaches 830 kilometers, and the recent planning reaches 1000 kilometers; by 2025, the total mileage of Beijing subway operation is expected to reach 1600 km. From the above figures, the safety issues of subway operations should be more and more emphasized.
The rapid development of the rail transit industry puts new requirements on the uneven state of the steel rail running by the metro vehicle. At present, the unevenness state of the monitoring steel rail can be quickly and timely monitored in the maintenance work of the subway maintenance department on the subway steel rail, and the monitoring system has a decisive effect on the safe operation of subway vehicles and the maintenance and repair of an operation line.
The track geometry refers to the geometry, relative position and basic size of each part of the track, and the basic components comprise track gauge, level, height, track direction, triangular pits and the like. The track gauge is an important component of rail irregularity, and refers to the minimum distance between two steel rail action edges within 16mm below the rail surface of a railway steel rail, and the deviation of the track gauge can cause the train to block or derail. The overlarge gauge can cause the derailment of the train, and the undersize gauge can accelerate the abrasion between the track and the wheel set, thereby causing serious traffic accidents and economic loss. Therefore, in order to ensure the safe and accurate test of the rail train, the gauge of the test line must be accurately detected to ensure the stable and safe operation of the train.
Currently, the most widely used method in the field of vision-based non-contact three-dimensional measurement is a structured light system, which generally consists of a camera and a projector of structured light, and the measurement principle is similar to that of a stereoscopic vision system. However, the method is only applied to the dynamic measurement of the wear of the vehicle-mounted steel rail, and no corresponding measurement method exists for the gauge.
Therefore, it is an urgent need to provide a method for high-precision and dynamic detection of the track gauge.
Disclosure of Invention
In order to overcome the problems, the inventor of the invention carries out intensive research and designs a dynamic measuring method of the track gauge based on structured light, the method utilizes a dynamic detecting device of the track gauge to obtain a steel rail outline image, a clear steel rail outline curve is obtained by carrying out filtering, form opening operation and skeleton extraction on the outline image, meanwhile, a method for positioning the track gauge point of the steel rail outline curve is provided according to the characteristics of the outline curve by establishing the nonlinear relation of the space postures between a left camera and a right camera, and finally the dynamic value of the track gauge is obtained. The method ensures high precision and robustness of real-time dynamic detection of the track gauge and ensures stable and safe operation of the train, thereby completing the invention.
Specifically, the invention aims to provide a track gauge dynamic measurement method based on structured light, which comprises the following steps:
step 1, acquiring a steel rail outline image;
step 2, processing the acquired contour image;
and step 3, obtaining the track gauge.
The invention has the advantages that:
(1) the track gauge dynamic measurement method based on the structured light provided by the invention detects the track gauge of the test circuit by using the structured light and machine vision methods, thereby realizing accurate and efficient non-contact dynamic measurement;
(2) the structured light-based dynamic gauge measuring method can quickly find the characteristic points of the steel rail profile, and obviously improves the speed of online calculation and the anti-interference capability of a detection system during operation;
(3) the structured light-based dynamic measuring method for the track gauge ensures high precision and robustness of real-time dynamic detection of the track gauge and also ensures stable and safe operation of a train.
Drawings
Fig. 1 shows a process diagram of a dynamic track gauge detection method according to a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a process of rail profile image processing according to a preferred embodiment of the present invention;
FIG. 3 is a diagram illustrating the effect of processing a rail profile image according to a preferred embodiment of the present invention;
FIG. 4 illustrates a schematic diagram of left and right side structured light vision sensor calibration in accordance with a preferred embodiment of the present invention;
fig. 5 is a graph showing a measurement result and an error in an experimental example of the present invention.
Detailed Description
The invention is explained in more detail below with reference to the figures and examples. The features and advantages of the present invention will become more apparent from the description.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The invention provides a track gauge dynamic measurement method based on structured light by combining the structured light and machine vision, as shown in figure 1, the method comprises the following steps:
step 1, acquiring a steel rail outline image;
step 2, processing the acquired contour image;
and step 3, obtaining the track gauge.
The structured light based dynamic gauge measurement method is further described below:
step 1, acquiring a steel rail outline image.
According to a preferred embodiment of the present invention, the rail profile image is obtained by a dynamic gauge detection device, as shown in figure 1,
the dynamic track gauge detection device comprises a structured light vision sensor and a high-speed image acquisition system.
In a further preferred embodiment, the structured light vision sensor has two groups for acquiring the surface profile of the left rail and the surface profile of the right rail respectively,
preferably, the structured light vision sensor comprises a camera and a laser.
More preferably, the camera is an area-array camera and the laser is a line laser.
Wherein, each group of structured light vision sensors preferably comprises an area-array camera and a line laser.
In the present invention, the area-array camera and the line laser are common devices in the prior art, and the model thereof is not particularly limited.
In a further preferred embodiment, the image capture range of the area-array camera covers at least a part below 75% of the rail surface,
the irradiation range of the line laser covers the bottom surface of the steel rail.
In the invention, the shooting ranges of the area-array cameras of the structured light visual sensors on the left side and the right side are preferably consistent, the irradiation ranges of the line lasers are also consistent, and the surface profiles of the left rail and the right rail are acquired by utilizing the triangulation principle.
Preferably, the structured light vision sensor is mounted on a rail detection beam of a rail detection vehicle for rail detection, and the structured light vision sensor can continuously measure and obtain the profile of the steel rail to be detected along with the movement of the rail detection vehicle along the steel rail.
The area array camera at the left steel rail and the area array camera at the right steel rail are arranged in the same plane.
More preferably, the area-array camera operates synchronously with the line laser.
According to a preferred embodiment of the present invention, the high-speed image acquisition system is a high-speed image acquisition card.
The method comprises the following steps of acquiring a rail image by a high-speed image acquisition card, and transmitting the rail image acquired by an area array camera.
According to a preferred embodiment of the present invention, the dynamic gauge detecting device further comprises an odometer, the odometer comprises a photoelectric encoder and a signal controller,
wherein, the photoelectric encoder is used for converting the rotation angle of the axle into a pulse signal and transmitting the pulse signal to the signal controller,
the signal controller is used for acquiring the running speed of the current train and controlling the area array camera and the line laser to work synchronously.
Preferably, the photoelectric encoder and the signal controller are both arranged on a train axle.
In the invention, when a train runs, a photoelectric encoder converts a detected turning angle of an axle into a pulse signal and sends the pulse signal to a signal controller; the signal controller firstly obtains the running speed of the current train according to the pulse number generated by the photoelectric encoder, and further obtains the position of the train after a period of time.
Specifically, the signal controller firstly calculates the running speed v of the current train according to the pulse number N generated by the photoelectric encoderiAs set forth in the following formula:
Figure BDA0003561616580000051
wherein D is the diameter (m) of the wheel, and delta is the pulse number generated by the photoelectric encoder for 0.25s when the train runs.
At a certain location S0The starting point of the train is the position of the train after the time T is as follows:
Figure BDA0003561616580000061
in a further preferred embodiment, the signal controller generates a trigger signal to control the area-array camera to work synchronously with the line laser.
According to a preferred embodiment of the present invention, the dynamic gauge detecting device further includes an upper computer for receiving and storing the rail profile transmitted by the high-speed image acquisition system.
The outline of the steel rail to be detected, which is acquired by the structured light vision sensor, is sent to an upper computer through a high-speed image acquisition card, and the light bar image is captured by the area array camera for subsequent processing.
In a further preferred embodiment, the signal controller is in communication connection with an upper computer.
The dynamic gauge detection device controls the camera and the laser to work synchronously through the signal controller, continuously obtains the outline of the steel rail to be detected, and transmits the outlines of the left and right steel rails obtained by the camera to the upper computer for storage through the high-speed image acquisition card.
And 2, processing the acquired contour image.
In the invention, the steel rail profile map which is obtained and stored in an upper computer is shown as the following formula:
Figure BDA0003561616580000062
where i, j denote the reference numerals of the rows and columns of pixels, respectively.
Preferably, as shown in fig. 2, step 2 comprises the following sub-steps:
and 2-1, filtering the background of the steel rail outline image.
According to a preferred embodiment of the invention, a large part of the background of the rail contour image is filtered out by means of graying.
Wherein, preferably, the [250- & ltSUB & gt, 255- & ltSUB & gt ] pixel value range of the image laser light band concentration is selected for filtering, namely, the R component image is taken as the original gray image.
The color is synthesized by three channels of RGB, when three components are displayed separately, only one channel is provided, and the image display is not color.
In a further preferred embodiment, graying is performed by a method represented by the following formula:
H(x,y)=a*g(x,y)r
h (x, y) represents a grayed rail contour digital image, a is a coefficient, and r is an index.
In the present invention, in order to further extract information of the light band, it is preferable to process the image by a graying method of Exponential index conversion.
And 2-2, processing the edge of the steel rail outline image.
The inventors have found that speckle noise due to diffuse reflection of light still exists at the edge of the track profile after the graying, and therefore, it is preferable to further filter the image to smooth the profile.
According to a preferred embodiment of the present invention, the filtering process for the rail contour image is performed according to the following formula:
Figure BDA0003561616580000071
g (x, y) is a digitized image of the steel rail profile after Gaussian filtering, and sigma determines the width of a Gaussian function.
In the invention, a Gaussian filter is adopted to further filter the rail outline image to smooth the outline, namely, a gray level image and a Gaussian kernel GσAnd performing convolution.
And 2-3, denoising the steel rail contour image.
According to a preferred embodiment of the present invention, the noise is removed from the rail profile image according to the following method:
Figure BDA0003561616580000081
wherein S (x, y) represents a digitized image of the rail contour after image opening operation, theta and theta
Figure BDA0003561616580000082
Respectively representing erosion operation and dilation operation, and B representing an open operation structural element.
In the invention, the noise of the image is further removed by utilizing the image morphology opening operation, and the operation firstly carries out corrosion operation and then carries out expansion operation on the image.
And 2-4, thinning the contour line of the steel rail contour image to obtain the center line of the contour line.
According to a preferred embodiment of the present invention, the center position of the contour line is obtained by:
Figure BDA0003561616580000083
wherein x is0Is the central coordinate of a Gaussian curve, a1And a2Obtained by the following process:
Figure BDA0003561616580000084
order to
Figure BDA0003561616580000085
Then there are:
Figure BDA0003561616580000086
wherein F (x) lnf (x),
Figure BDA0003561616580000087
n indicates that there are n sample points on the profile,
Figure BDA0003561616580000088
Figure BDA0003561616580000091
a is the gray value of the section of the profile, x0Is the central coordinate of the gaussian curve and ρ is the width of the contour line.
In the invention, the contour line after the opening operation is refined by a Gaussian fitting method, the parameter to be estimated is obtained by using Householder transformation to solve, and the central position of the contour line is obtained
Figure BDA0003561616580000092
The steel rail outline can be refined by utilizing the outline center.
In the invention, fig. 3 shows a rail contour diagram after graying, gaussian filtering, opening operation and skeleton extraction, which illustrates that a clear rail contour curve can be obtained after machine vision processing.
And step 3, obtaining the track gauge.
Preferably, step 3 comprises the following sub-steps:
and 3-1, calibrating the space attitude coordinate of the track gauge.
In the invention, the mapping relation of the pixel coordinate systems of the images obtained by the left and right side structured light vision sensors is required to be established so as to calibrate the space attitude coordinate of the track gauge.
According to a preferred embodiment of the invention, the spatial attitude coordinates of the gauge are calibrated according to a method comprising the following steps:
and 3-1-1, obtaining a conversion relation between image pixel coordinates corresponding to the left camera and the right camera.
In the present invention, since the cameras at the left rail and the right rail are installed in the same plane, the coordinate systems of the left and right cameras can be respectively represented as Oc1xc1yc1zc1And Oc2xc2yc2zc2The image pixel coordinate system can be respectively represented as Op1xp1yp1zp1And Op2xp2yp2zp2As shown in fig. 4.
Since the image pixel coordinates of the left and right cameras are in a spatial plane, according to a preferred embodiment of the present invention, the image pixel coordinate (x) corresponding to any point in the measurement space in the left camera is obtained by the following formulap1,yp1) Conversion relation (x) between image pixel coordinates corresponding to right camerap2,yp2):
Figure BDA0003561616580000101
Wherein beta is1~β6Are conversion coefficients.
And 3-1-2, calibrating the distortion of the image pixel coordinates obtained by the camera.
The inventor researches and discovers that the lens of the camera has distortion, and distortion calibration needs to be carried out on the pixel coordinates of the image.
According to a preferred embodiment of the invention, the distortion of the image pixel coordinates is calibrated by:
Figure BDA0003561616580000102
wherein the distorted pixel coordinates are (X, Y), Xp,ypRepresenting the pixel coordinates before distortion.
Figure BDA0003561616580000103
r2=X2+Y2
Wherein k is1、k2Represents a radial distortion coefficient; b1、b2Representing a thin edge diameter distortion coefficient; s1、s2Representing the off-center distortion coefficient.
In the invention, the distortion types considered in the calibration process are second-order radial distortion, twill distortion and eccentric distortion.
And 3-1-3, obtaining the mapping relation of the pixel coordinate systems of the camera images on the left side and the right side.
According to a preferred embodiment of the present invention, through the coordinate transformation and distortion calibration, the mapping relationship between the left and right camera image pixel coordinate systems is obtained as shown in the following formula:
Figure BDA0003561616580000111
wherein, there are 18 unknown parameters (k respectively) in the above formula11,k12,k21,k22,b11,b12,b21,b22,s11,s12,s21,s22,β16) According to the freedom degree constraint, the number of the needed calibration data pairs is more than the number of the parameters, and 20 pairs are preferred.
Preferably, the present invention utilizes a least squares fit method to obtain values for the position parameters from a sufficient number of pairs of calibration data.
In the invention, the values of unknown parameters are obtained through the steps, and further the mapping relation of the image pixel coordinate systems of the cameras at the left side and the right side of the steel rail is established, so that the spatial attitude coordinate of the steel rail image can be converted.
And 3-2, positioning a track gauge point to obtain the track gauge.
Preferably, step 3-2 comprises the following sub-steps:
and 3-2-1, obtaining a characteristic distance curve of the steel rail profile.
In the invention, the steel rail profile curve refined in the step 2 is shown as the following formula:
l (i) (x (i)), y (i)), i (1-M)), and M is the number of curve data points, and the distance between any point on the steel rail contour curve and the front and back M data points is defined as the characteristic distance of the contour curve.
According to a preferred embodiment of the invention, the characteristic distance of the profile curve is obtained by:
D(j)=||l(j-M)-l(j+M)||,j∈[1+M,N-M]
in a further preferred embodiment, the characteristic distance curve of the rail profile is obtained by the following formula:
T(j)=(j,D(j)),j∈[1+M,N-M]
in the invention, each characteristic distance of the rail contour curve forms a characteristic distance curve.
And 3-2-2, positioning the gauge points of the outline curves of the steel rails on the left side and the right side.
In the present invention, considering that a smaller characteristic distance indicates a closer relationship between the point and two points before and after the point, according to a preferred embodiment of the present invention, the point (T) corresponding to the minimum value of the characteristic distance curve is set to be the point (T)-1(min[T(j)]),min[T(j)]) As characteristic points of the curve profile.
Preferably, the characteristic curve of the actual rail profile is obtained by:
l=(x((T-1(min[T(j)])),y((T-1(min[T(j)])))
in a further preferred embodiment, the coordinates of the characteristic points (i.e., the gauge points) of the rail profile curves on the left and right sides are obtained by the following formula:
Figure BDA0003561616580000121
and k is the number of the position points of the feature points in the pixel coordinate systems of the left camera and the right camera.
And 3-2-3, mapping the outline images of the left and right steel rail wheels to the pixel coordinate system on the same side to obtain the rail gauge.
According to a preferred embodiment of the invention, the rail contour image of the right-hand camera is mapped onto the pixel coordinates of the left-hand camera.
Wherein, in the pixel coordinate system, the right rail contour image is recorded as l2' (k) left rail profile image is denoted as l1(k)。
In a further preferred embodiment, the distance between the track pitch points of the rail contour images obtained by the left and right cameras in the same pixel coordinate system is defined as c (k), and the track pitch is obtained by the following formula:
G=min(c(k+1))
the structured light-based dynamic measuring method for the track gauge not only can realize accurate, efficient and real-time non-contact dynamic measurement of the track gauge, but also can quickly search the characteristic points of the outline of the steel rail, and improves the speed of on-line calculation and the anti-interference capability of a detection system during operation to a certain extent.
Examples
The present invention is further described below by way of specific examples, which are merely exemplary and do not limit the scope of the present invention in any way.
Example 1
The dynamic gauge detection device adopted by the embodiment comprises a structured light vision sensor, a high-speed image acquisition card, a milemeter and an upper computer, wherein,
the structured light vision sensors are provided with two groups which are respectively used for detecting a left steel rail and a right steel rail, each group consists of an area array camera and a line laser, and the two groups work synchronously; the shooting range of the area array camera at least covers the part below 75% of the rail surface, and the irradiation range of the line laser covers the bottom surface of the steel rail; the area-array camera and the line laser are arranged on a rail detection beam of the rail detection vehicle, and the area-array camera at the left steel rail and the area-array camera at the right steel rail are arranged in the same plane;
the odometer comprises a photoelectric encoder and a signal controller which are arranged on a train axle;
the track gauge is detected according to the following steps:
1. acquiring outline images of the steel rails on the left side and the right side through the dynamic gauge detection device, and storing the outline images in an upper computer;
2. performing graying treatment on the steel rail profile map stored in an upper computer by adopting a method shown as the following formula:
h (x, y) represents a grayed rail contour digital image, a is a coefficient, and r is an index;
further filtering the contour line with a gaussian filter to smooth the contour line, as follows:
Figure BDA0003561616580000141
g (x, y) is a steel rail profile digitized image after Gaussian filtering, and sigma determines the width of a Gaussian function;
and further removing noise points from the image by using an image morphology opening operation, wherein the noise points are represented by the following formula:
Figure BDA0003561616580000142
wherein S (x, y) represents a digitized image of the rail profile after image opening operation, theta and theta
Figure BDA0003561616580000143
Respectively representing corrosion operation and expansion operation, and B representing an opening operation structural element;
adopting a Gaussian fitting method to refine the contour line after the opening operation to obtain the center line of the contour line:
the gaussian function is:
Figure BDA0003561616580000144
in the formula: a is the gray value of the section of the profile, x0Is the central coordinate of the Gaussian curve, rho is the width of the contour line, and the logarithm is taken at the two sides to obtainTo:
Figure BDA0003561616580000145
let f (x) lnf (x),
Figure BDA0003561616580000146
n sampling points are arranged on the contour, and the parameter a to be estimated is solved by using a least square method0、a1、a2
Figure BDA0003561616580000147
Order to
Figure BDA0003561616580000148
The equation is obtained:
Figure BDA0003561616580000151
and (3) solving by using Householder transformation to obtain a parameter to be estimated, wherein the central position of the outline is as follows:
Figure BDA0003561616580000152
3. the image pixel coordinate (x) corresponding to any point in the measurement space at the left camera is obtained by the following formulap1,yp1) Conversion relation (x) between image pixel coordinates corresponding to right camerap2,yp2):
Figure BDA0003561616580000153
The distortion of the image pixel coordinates is calibrated by:
Figure BDA0003561616580000154
wherein the distorted pixel coordinates are (X, Y),
Figure BDA0003561616580000155
r2=X2+Y2
through the coordinate conversion and the distortion calibration, the mapping relation of the image pixel coordinate systems of the left camera and the right camera is obtained, which is shown as the following formula:
Figure BDA0003561616580000161
the characteristic distance of the profile curve is obtained by:
D(j)=||l(j-M)-l(j+M)||,j∈[1+M,N-M]
obtaining a characteristic distance curve of the rail profile by the following formula:
T(j)=(j,D(j)),j∈[1+M,N-M];
the point (T) corresponding to the minimum value of the characteristic distance curve-1(min[T(j)]),min[T(j)]) As the characteristic point of the curved profile,
the characteristic curve of the actual rail profile is obtained by the following formula:
l=(x((T-1(min[T(j)])),y((T-1(min[T(j)])))
the characteristic point coordinates of the rail contour curves on the left side and the right side are obtained by the following formula:
Figure BDA0003561616580000162
defining the distance between the track distance points of the steel rail outline images obtained by the left and right cameras in the same pixel coordinate system as c (k), and obtaining the track distance according to the following formula:
G=min(c(k+1))。
examples of the experiments
By adopting the device and the method in the embodiment 1, a track gauge detection field test is carried out by utilizing the track gauge trolley, and track gauge measurement is repeatedly carried out for multiple times by utilizing 20 positions; then, the results of the rechecking with a gaging rule are shown in table 1.
TABLE 1
Figure BDA0003561616580000171
Further, fig. 5 shows the comparison and error curves of the measured track gauge value and the measured track gauge value at 20 points measured by the method described in example 1.
As can be seen from table 1 and fig. 5, the apparatus and method according to the embodiment of the present invention can achieve accurate measurement of the gauge.
The invention has been described in detail with reference to specific embodiments and illustrative examples, but the description is not intended to be construed in a limiting sense. Those skilled in the art will appreciate that various equivalent substitutions, modifications or improvements may be made to the technical solution of the present invention and its embodiments without departing from the spirit and scope of the present invention, which fall within the scope of the present invention.

Claims (9)

1. A track gauge dynamic measurement method based on structured light is characterized by comprising the following steps:
step 1, acquiring a steel rail outline image;
step 2, processing the acquired contour image;
and step 3, obtaining the track gauge.
2. The structured light-based dynamic gauge measuring method according to claim 1, wherein in step 1, a rail profile image is obtained through a dynamic gauge detecting device;
the dynamic gauge detection device comprises a structured light vision sensor and a high-speed image acquisition system.
3. The structured light based dynamic gauge measuring method according to claim 2, wherein the structured light vision sensor has two groups for acquiring the surface profile of the left rail and the surface profile of the right rail respectively;
the structured light vision sensor includes a camera and a laser.
4. The structured light-based dynamic gauge measuring method according to claim 2, wherein the dynamic gauge detecting device further comprises an odometer, and the odometer comprises a photoelectric encoder and a signal controller.
5. The structured light-based dynamic gauge measuring method according to claim 4, wherein the photoelectric encoder and the signal controller are both arranged on a train axle.
6. The structured light based dynamic gauge measuring method according to claim 1, wherein step 2 comprises the sub-steps of:
step 2-1, filtering the background of the steel rail outline image;
step 2-2, processing the edge of the steel rail outline image;
step 2-3, denoising the steel rail outline image;
and 2-4, thinning the contour line of the steel rail contour image to obtain the center line of the contour line.
7. The structured light based dynamic gauge measuring method according to claim 1, wherein step 3 comprises the following sub-steps:
step 3-1, calibrating the space attitude coordinate of the gauge;
and 3-2, positioning a track gauge point to obtain the track gauge.
8. The dynamic rail gauge measuring method based on the structured light as claimed in claim 7, wherein the spatial attitude coordinates of the rail gauge are calibrated according to a method comprising the following steps:
step 3-1-1, obtaining a conversion relation between image pixel coordinates corresponding to the left camera and the right camera;
step 3-1-2, calibrating the distortion of the image pixel coordinate obtained by the camera;
and 3-1-3, obtaining the mapping relation of the pixel coordinate systems of the camera images on the left side and the right side.
9. The structured light based dynamic gauge measuring method according to claim 7, wherein step 3-2 comprises the sub-steps of:
step 3-2-1, obtaining a characteristic distance curve of the steel rail profile;
step 3-2-2, positioning gauge points of the outline curves of the steel rails on the left side and the right side;
and 3-2-3, mapping the outline images of the left and right steel rail wheels to the pixel coordinate system on the same side to obtain the rail gauge.
CN202210290409.6A 2022-03-23 2022-03-23 Track gauge dynamic measurement method based on structured light Pending CN114659457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210290409.6A CN114659457A (en) 2022-03-23 2022-03-23 Track gauge dynamic measurement method based on structured light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210290409.6A CN114659457A (en) 2022-03-23 2022-03-23 Track gauge dynamic measurement method based on structured light

Publications (1)

Publication Number Publication Date
CN114659457A true CN114659457A (en) 2022-06-24

Family

ID=82030641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210290409.6A Pending CN114659457A (en) 2022-03-23 2022-03-23 Track gauge dynamic measurement method based on structured light

Country Status (1)

Country Link
CN (1) CN114659457A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116182737A (en) * 2023-02-10 2023-05-30 同济大学 Wheel track dynamic position monitoring method and system based on laser contour sensor

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2142892C1 (en) * 1995-08-03 1999-12-20 Осипов Виктор Васильевич Optoelectronic system of noncontact measurement of railway gauge geometric characteristics in motion; optoelectronic sensor for noncontact measurement of rail position and wear
JP2006258531A (en) * 2005-03-16 2006-09-28 Act Denshi Kk Method of measuring rail section and device for measuring rail section used therefor
US20090073428A1 (en) * 2007-08-22 2009-03-19 Steven Magnus Rail measurement system
US20100004804A1 (en) * 2008-07-01 2010-01-07 Todd Alan Anderson Apparatus and method for monitoring of infrastructure condition
CN201707034U (en) * 2010-06-02 2011-01-12 上海工程技术大学 Rail gauge detecting system calibration device based on multi-camera and multi-field of view
US20140341435A1 (en) * 2011-12-28 2014-11-20 Kawasaki Jukogyo Kabushiki Kaisha Displacement detecting apparatus for railroad rails
CN105277129A (en) * 2014-06-03 2016-01-27 北京星网宇达科技股份有限公司 Dynamic noncontact rail gauge measuring system and method thereof
CN106871805A (en) * 2017-02-16 2017-06-20 石家庄铁道大学 vehicle-mounted rail gauge measuring system and measuring method
US20180237041A1 (en) * 2017-02-22 2018-08-23 Tetra Tech, Inc. Broken Wheel Detection System
JP6431157B1 (en) * 2017-10-17 2018-11-28 東急建設株式会社 Apparatus and measuring method for building limit in railway
CN109653045A (en) * 2019-01-28 2019-04-19 武汉武大卓越科技有限责任公司 Gauge measurement method and device
CN112172862A (en) * 2020-09-04 2021-01-05 天津津航技术物理研究所 Multifunctional track detection system
CN113445377A (en) * 2020-03-25 2021-09-28 北京瑞途科技有限公司 Remote automatic measuring device for rail gauge

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2142892C1 (en) * 1995-08-03 1999-12-20 Осипов Виктор Васильевич Optoelectronic system of noncontact measurement of railway gauge geometric characteristics in motion; optoelectronic sensor for noncontact measurement of rail position and wear
JP2006258531A (en) * 2005-03-16 2006-09-28 Act Denshi Kk Method of measuring rail section and device for measuring rail section used therefor
US20090073428A1 (en) * 2007-08-22 2009-03-19 Steven Magnus Rail measurement system
US20100004804A1 (en) * 2008-07-01 2010-01-07 Todd Alan Anderson Apparatus and method for monitoring of infrastructure condition
CN201707034U (en) * 2010-06-02 2011-01-12 上海工程技术大学 Rail gauge detecting system calibration device based on multi-camera and multi-field of view
US20140341435A1 (en) * 2011-12-28 2014-11-20 Kawasaki Jukogyo Kabushiki Kaisha Displacement detecting apparatus for railroad rails
CN105277129A (en) * 2014-06-03 2016-01-27 北京星网宇达科技股份有限公司 Dynamic noncontact rail gauge measuring system and method thereof
CN106871805A (en) * 2017-02-16 2017-06-20 石家庄铁道大学 vehicle-mounted rail gauge measuring system and measuring method
US20180237041A1 (en) * 2017-02-22 2018-08-23 Tetra Tech, Inc. Broken Wheel Detection System
JP6431157B1 (en) * 2017-10-17 2018-11-28 東急建設株式会社 Apparatus and measuring method for building limit in railway
CN109653045A (en) * 2019-01-28 2019-04-19 武汉武大卓越科技有限责任公司 Gauge measurement method and device
CN113445377A (en) * 2020-03-25 2021-09-28 北京瑞途科技有限公司 Remote automatic measuring device for rail gauge
CN112172862A (en) * 2020-09-04 2021-01-05 天津津航技术物理研究所 Multifunctional track detection system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SHUBIN ZHENG等: "Railway track gauge inspection method based on computer vision", 《PROCEEDINGS OF 2012 IEEE INTERNATIONAL CONFERENCE ON MECHATRONICS AND AUTOMATION》, 31 December 2012 (2012-12-31), pages 1292 - 1296 *
杨柳: "基于结构光测量技术的接触轨检测方法研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》, no. 3, 15 March 2020 (2020-03-15), pages 033 - 467 *
熊仕勇等: "一种新的轨距动态检测方法研究", 《铁道科学与工程学报》, vol. 15, no. 7, 31 July 2018 (2018-07-31), pages 1825 - 1831 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116182737A (en) * 2023-02-10 2023-05-30 同济大学 Wheel track dynamic position monitoring method and system based on laser contour sensor
CN116182737B (en) * 2023-02-10 2023-11-03 同济大学 Wheel track dynamic position monitoring method and system based on laser contour sensor

Similar Documents

Publication Publication Date Title
CN108725511B (en) Real-time position correction method for rail corrugation measuring point
CN109359409A (en) A kind of vehicle passability detection system of view-based access control model and laser radar sensor
WO2004046644A2 (en) Wheel profile inspection apparatus and method
CN111532295A (en) Rail transit removes intelligent operation and maintenance detecting system
CN205209441U (en) Axle for vehicle is apart from automatic measuring device
CN107462223A (en) Driving sight distance self-operated measuring unit and measuring method before a kind of highway is turned
CN102914290A (en) Metro gauge detecting system and detecting method thereof
CN106091951A (en) A kind of municipal rail train wheel rim parameter on-line detecting system and method
CN203310400U (en) Limit detection system
CN110562292A (en) railway vehicle wheel pair diameter dynamic detection system
CN114659457A (en) Track gauge dynamic measurement method based on structured light
CN110158381B (en) Rapid measurement method and system for track smoothness
Ran et al. High-accuracy on-site measurement of wheel tread geometric parameters by line-structured light vision sensor
CN107621229B (en) Real-time railway track width measurement system and method based on area array black-and-white camera
CN115503788B (en) Ballast track bed section scanning detection system
CN109238149B (en) Vehicle body attitude detection device and contact line dynamic offset detection system
CN115219251A (en) Railway vehicle dynamic performance monitoring system based on wheel pair operation posture
CN102069821A (en) Measuring method for non-contact steel rail sagging surface
CN113222907B (en) Detection robot based on curved rail
CN113074655B (en) Dynamic image wheel out-of-roundness monitoring method
CN113063361A (en) Symmetrical rail contact net detection device and detection method
CN201740517U (en) Automatic measuring device special for three-dimensional outline of wheel pair
CN107436127A (en) A kind of device and method for railway train body interior space dimension high-acruracy survey
CN216846130U (en) Tire pattern depth measurement system
CN114426039B (en) Point cloud data processing method based on urban rail train wheel tread

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination