[go: up one dir, main page]

CN102069821B - Measuring method for non-contact steel rail sagging surface - Google Patents

Measuring method for non-contact steel rail sagging surface Download PDF

Info

Publication number
CN102069821B
CN102069821B CN201010553032.6A CN201010553032A CN102069821B CN 102069821 B CN102069821 B CN 102069821B CN 201010553032 A CN201010553032 A CN 201010553032A CN 102069821 B CN102069821 B CN 102069821B
Authority
CN
China
Prior art keywords
rail
laser
coordinate system
line
dimensional space
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.)
Expired - Fee Related
Application number
CN201010553032.6A
Other languages
Chinese (zh)
Other versions
CN102069821A (en
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.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN201010553032.6A priority Critical patent/CN102069821B/en
Publication of CN102069821A publication Critical patent/CN102069821A/en
Application granted granted Critical
Publication of CN102069821B publication Critical patent/CN102069821B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

一种非接触式钢轨中垂面的测量方法,该方法采用线结构激光器发射激光线扫描钢轨,摄像头采集激光线照射的图像,由微处理器处理得到激光线与钢轨交点的三维空间坐标,根据不同交点的三维空间坐标可以拟合得到两钢轨和钢轨面的坐标方程,并由此得到钢轨中垂面的坐标方程,微处理器(3)控制线结构激光器(1)发射激光线照射钢轨,摄像头(2)将采集到的图像送入微处理器(3)进行处理,由微处理器(3)根据计算机图像坐标系下的二维坐标和世界坐标系下的三维空间坐标之间的转换关系计算出钢轨中垂面的坐标方程。

Figure 201010553032

A method for measuring the vertical surface of a non-contact rail. The method uses a line-structured laser to emit a laser line to scan the rail, and a camera collects images irradiated by the laser line. The three-dimensional space coordinates of the intersection point of the laser line and the rail are obtained by microprocessor processing. According to The three-dimensional space coordinates of different intersection points can be fitted to obtain the coordinate equation of the two rails and the rail surface, and thus obtain the coordinate equation of the vertical surface of the rail. The microprocessor (3) controls the line structure laser (1) emits the laser line to irradiate the rail, The camera (2) sends the collected images to the microprocessor (3) for processing, and the microprocessor (3) according to the conversion relationship between the two-dimensional coordinates in the computer image coordinate system and the three-dimensional space coordinates in the world coordinate system Calculate the coordinate equation of the vertical plane in the rail.

Figure 201010553032

Description

The measuring method of contactless rail middle vertical plane
Technical field
The present invention is a kind of measuring method of the rail middle vertical plane based on the structured light three-dimensional vision detection technique, belongs to the test technique automatic field.
Background technology
In recent years, domestic railway repeatedly raises speed, the particularly operation of EMU, and the travel speed of train is more and more faster, and this also has higher requirement to the safety of railway.When platform, electric wire or other objects invade the space of train driving, can cause serious security incident.Therefore, the measurement that railway is invaded the boundary is extremely important.
The method that the measurement lorry that railroad adopts now transfinites mainly still comparatively original manpower measure, need survey crew climbing arrival roof end, use instruments such as weight and tape measure to measure.Judge that the benchmark whether lorry transfinites is rail face and rail middle vertical plane.The height of lorry refers to that the peak of lorry is to the distance of rail face; The width of train is to measure respectively to the distance of rail middle vertical plane according to train two sides the widest part.In the measurement of reality, common way be ground with the scene as the surface level benchmark, use instruments such as weight and tape measure to demarcate rail face and rail middle vertical plane as the benchmark that transfinites and measure.Obviously, it is level that on-the-spot ground is difficult to guarantee, also just there are bigger error in the rail face that obtains thus and the measuring basis of rail middle vertical plane, and therefore such measuring method that transfinites is that precision is lower.
Now occurred invading boundary's measuring method based on the quick contactless railway of structured light three-dimensional vision detection technique, in order to the distance between object such as automatic measurement railroad platform and the gauge center and with respect to the height of rail face, and can reach very high precision.This method is to be based upon on the basis of accurate acquisition railway rail middle vertical plane data, and this will ask and obtain the three-dimensional coordinate equation of railway rail middle vertical plane in the space accurately, with this as the benchmark of measuring.
Because the development of electronic technology, detection technique, feasible quick measurement to the railway rail middle vertical plane becomes possibility.
Summary of the invention
The purpose of this invention is to provide the measuring method of a kind of high precision, contactless railway rail middle vertical plane, by calculating the three-dimensional coordinate equation of railway rail middle vertical plane in the space, invade the measuring basis on boundary as railway with this.
Technical solution of the present invention is: the present invention adopts the structured light three-dimensional vision detection technique, adopts linear structural laser device irradiation rail, and the image of camera collection laser rays irradiation is obtained the three dimensional space coordinate of laser rays and two rails intersection point by microprocessor processes.Because such single measurement can be subjected to the influence of external environment factor inevitably, exists bigger error probably, therefore only put to determine that by a few equation in coordinates of two rails and rail face is very coarse.For the precision that guarantees to measure, need make the laser line scanning rail, processing obtains the three dimensional space coordinate of a series of laser rays and two rails intersection point, constitute the overdetermined equation group, calculate the equation in coordinates of two rails and rail face by least square method, and obtain the equation in coordinates of rail middle vertical plane thus.
Three dimensional space coordinate according to different intersection points can match obtain the equation in coordinates of two rails and rail face, and obtains the equation in coordinates of rail middle vertical plane thus.
Measuring method of the present invention is: microprocessor control line structure laser instrument emission laser line scanning rail, camera is sent the image of the laser rays that collects and two rails intersection point into microprocessor and is handled, be based upon the three-dimensional coordinate equation of railway rail middle vertical plane in the space by microprocessor according to the structured light three-dimensional vision Measurement Algorithm, invade the measuring basis on boundary as railway with this.
The process of measurement that measurement flow process of the present invention is microprocessor is:
1) opens the linear structural laser device, make its emission laser rays irradiation rail;
2) open camera, take the image of laser rays irradiation place and two rails intersection point;
3) closed line structure laser instrument, camera are taken and step 2) image at same position place;
4) microprocessor receives two width of cloth images of camera collection;
5) two width of cloth picture signals are subtracted each other, extract the laser rays in the laser rays irradiation image;
6) according to the two-dimensional coordinate under the computer picture coordinate system and the transformational relation between the three dimensional space coordinate under the world coordinate system, calculate the three dimensional space coordinate of two intersection points of laser rays and rail;
7) emission angle of rotation laser instrument, repeatedly repetitive process 1)-6), obtain the three dimensional space coordinates of organizing laser rays and rail intersection point more;
8) the match gained is organized the three dimensional space coordinate of laser rays and rail intersection point more, obtains the equation in coordinates of two rails and rail face in the three dimensional space coordinate;
9) calculate the three-dimensional coordinate equation of rail middle vertical plane.
Beneficial effect of the present invention: the present invention has adopted the structured light three-dimensional vision detection technique, can noncontact, measure the three-dimensional coordinate equation of railway rail middle vertical plane in the space at a high speed, accurately, for being that the railway of measuring basis is invaded measurements such as boundary benchmark is provided with the railway rail middle vertical plane.
Description of drawings
Fig. 1 adopts the synoptic diagram of structured light three-dimensional vision detection in world coordinate system and sensor light plane coordinate system for the present invention,
Fig. 2 is the synoptic diagram of video camera 3D vision measurement.
Embodiment
As shown in Figure 1, video camera 3D vision measurement model is usually based on pin-hole model.World coordinate system is consistent with the sensor light plane coordinate system, is made as O w-x wy wz w, its O w-x wy wOverlap with optical plane.Photo coordinate system is O I-X IY I, O wherein IBeing the intersection point of optical axis with the picture plane, is the optical centre on picture plane.O IAnd O cBetween be the effective focal length of object lens imaging apart from f.O wherein IX IAxle is along pixel horizontal direction, O IY IAxle is perpendicular to O IX IAxle.In computer picture, with the point in the upper left corner initial point as image coordinate, be that initial point is set up image coordinate system Ouv with the point of the O among Fig. 1 namely usually.Computer picture coordinate system Ouv and O I-X IY ICoplanar, Ouv is O I-X IY IAlong O IO obtains do translation.Camera coordinate system O c-x cy cz c, O wherein cPoint is for the imaging centre of perspectivity, i.e. the optics principal point of object lens, O cz cBe the camera objective optical axis, perpendicular to CCD as the plane.O cx cAxle and O cy cAxle is parallel to O respectively IX IAxle and O IY IAxle.
Be example with the line-structured light, a word laser line generator projects an optical plane and target to be measured meets at line L.P wBe on the straight line L a bit, P wAt world coordinate system O w-x wy wz w, camera coordinate system O c-x cy cz cAnd the respective coordinates under the computer graphic photo coordinate system Ouv is respectively (x w, y w, z w), (x c, y c, z c) and (u, v).Then the two-dimensional coordinate transformational relation under the three dimensional space coordinate under the world coordinate system and the computer picture coordinate system is shown below:
s u v 1 = A x c y c z c = A R T x w y w z w 1 = α c u 0 0 β v 0 0 0 1 R T x w y w z w 1 - - - ( 1 )
Wherein, s is a modifying factor; R is rotation matrix, and T is translation vector, and R and T have determined direction and the position of video camera with respect to world coordinate system.Matrix A is the inner parameter matrix of linear system, wherein u 0And v 0Be O ICoordinate under the computer picture coordinate, α and β be horizontal axis of ordinates corresponding to the scale factor (or being called effective focal length) of focal distance f, c is the two coordinate axis out of plumb factors.These parameters all can obtain by demarcating in advance.
Namely can obtain three dimensional space coordinate under the world coordinate system and the two-dimensional coordinate transformational relation under the computer picture coordinate system by prior demarcation like this, obtain the coordinate put in the three dimensions by the respective coordinates of putting on the computer picture easily.
As shown in Figure 1, photo coordinate system is OI-XIYI, and wherein OI is the intersection point on optical axis Oczc and picture plane, and namely OI is the optical centre on picture plane.But in computer graphical is handled, with the point in the upper left corner initial point as image coordinate, be that initial point is set up image coordinate system Ouv with the point of the O among Fig. 1 namely usually.Though say on the stricti jurise, computer picture coordinate system Ouv is different with OI-XIYI, and Ouv and OI-XIYI are coplanar, and Ouv is that OI-XIYI obtains do translation along OIO.
The meaning of formula 1 be can by the respective coordinates of Pw under computer graphic photo coordinate system Ouv (u, v) try to achieve the respective coordinates of Pw under world coordinate system Ow-xwywzw (xw, yw, zw).In the measurement of reality, respective coordinates (the u of Pw under computer graphic photo coordinate system Ouv, v) be to obtain by the algorithm of Digital Image Processing, just can obtain the respective coordinates (xw of Pw under world coordinate system Ow-xwywzw according to formula (1), yw, the ultimate principle of structured light three-dimensional vision detection technique that zw), Here it is.
Microprocessor 3 control line structure laser instruments 1 emission laser rays irradiation rail among Fig. 2, camera 2 is sent the image that collects into microprocessor 3 and is handled, and is calculated the equation in coordinates of rail middle vertical plane according to the two-dimensional coordinate under the computer picture coordinate system and the transformational relation between the three dimensional space coordinate under the world coordinate system by microprocessor 3.

Claims (2)

1.一种非接触式钢轨中垂面的测量方法,其特征在于该方法采用线结构激光器发射激光线扫描钢轨,摄像头采集激光线照射的图像,由微处理器处理得到激光线与钢轨交点的三维空间坐标,根据不同交点的三维空间坐标可以拟合得到两钢轨和钢轨面的坐标方程,并由此得到钢轨中垂面的坐标方程,具体如下:1. A method for measuring the vertical surface of a non-contact rail, characterized in that the method adopts a line structure laser to emit a laser line to scan the rail, the camera collects the image of the laser line irradiation, and obtains the intersection point of the laser line and the rail by microprocessor processing Three-dimensional space coordinates, according to the three-dimensional space coordinates of different intersection points can be fitted to obtain the coordinate equations of the two rails and the rail surface, and thus obtain the coordinate equation of the vertical surface of the rails, as follows: 微处理器(3)控制线结构激光器(1)发射激光线照射钢轨,摄像头(2)将采集到的图像送入微处理器(3)进行处理,由微处理器(3)根据计算机图像坐标系下的二维坐标和世界坐标系下的三维空间坐标之间的转换关系计算出钢轨中垂面的坐标方程;The microprocessor (3) controls the line structure laser (1) to emit laser lines to irradiate the rail, and the camera (2) sends the collected images to the microprocessor (3) for processing, and the microprocessor (3) according to the computer image coordinate system The coordinate equation of the vertical surface of the rail is calculated by the conversion relationship between the two-dimensional coordinates below and the three-dimensional space coordinates under the world coordinate system; 其中微处理器(3)的控制方法具体如下:Wherein the control method of the microprocessor (3) is specifically as follows: 1)打开线结构激光器,使其发射激光线照射钢轨;1) Turn on the line structure laser so that it emits a laser line to illuminate the rail; 2)打开摄像头,拍摄激光线照射处与两钢轨交点的图像;2) Turn on the camera and take pictures of the intersection of the laser line and the intersection of the two rails; 3)关闭线结构激光器,摄像头拍摄与步骤2)相同位置处的图像;3) Turn off the line structure laser, and the camera captures the image at the same position as in step 2); 4)微处理器接收摄像头采集的两幅图像;4) The microprocessor receives the two images collected by the camera; 5)将两幅图像信号相减,提取激光线照射图像中的激光线;5) Subtract the two image signals to extract the laser line in the laser line irradiation image; 6)根据计算机图像坐标系下的二维坐标和世界坐标系下的三维空间坐标之间的转换关系,计算得到激光线与钢轨的两个交点的三维空间坐标;6) According to the conversion relationship between the two-dimensional coordinates in the computer image coordinate system and the three-dimensional space coordinates in the world coordinate system, the three-dimensional space coordinates of the two intersection points of the laser line and the rail are calculated; 7)转动线结构激光器的发射角度,多次重复过程1)-6),取得多组激光线与钢轨交点的三维空间坐标;7) Rotate the emission angle of the line structure laser, repeat the process 1)-6) many times, and obtain the three-dimensional space coordinates of the intersection points of the laser line and the rail; 8)拟合所得多组激光线与钢轨交点的三维空间坐标,得到三维空间坐标中两钢轨和钢轨面的坐标方程;8) Fit the three-dimensional space coordinates of the intersection points of multiple sets of laser lines and rails, and obtain the coordinate equations of the two rails and the rail surface in the three-dimensional space coordinates; 9)计算得到钢轨中垂面的三维坐标方程。9) Calculate the three-dimensional coordinate equation of the vertical surface of the rail. 2.根据权利要求1所述的非接触式钢轨中垂面的测量方法,其特征在于线结构激光器投射出一光平面与待测目标交于线L;Pw是直线L上一点,Pw在世界坐标系Ow-xwywzw、摄像机坐标系Oc-xcyczc以及计算机图像平面坐标系Ouv下的对应坐标分别为(xw,yw,zw)、(xc,yc,zc)以及(u,v);则世界坐标系下的三维空间坐标与计算机图像坐标系下的二维坐标转换关系如下式所示:2. The method for measuring the vertical surface of the non-contact rail according to claim 1, wherein the line-structure laser projects a light plane and intersects the target to be measured at the line L; Pw is a point on the straight line L, and Pw The corresponding coordinates in the world coordinate system O w -x w y w z w , the camera coordinate system O c -x c y c z c and the computer image plane coordinate system Ouv are (x w , y w , z w ), (x c , y c , z c ) and (u, v); then the conversion relationship between the three-dimensional space coordinates in the world coordinate system and the two-dimensional coordinates in the computer image coordinate system is shown in the following formula: sthe s uu vv 11 == AA xx cc ythe y cc zz cc == AA RR TT xx ww ythe y ww zz ww 11 == αα cc uu 00 00 ββ vv 00 00 00 11 RR TT xx ww ythe y ww zz ww 11 -- -- -- (( 11 )) 其中,s是一个修正因子;R为旋转矩阵,T为平移矢量,R和T决定了摄像机相对于世界坐标系的方向和位置;矩阵A为线性系统的内部参数矩阵,其中u0和v0为OI在计算机图像坐标下的坐标,α和β是横纵坐标轴对应于焦距f的尺度因子或称为有效焦距,c是两坐标轴不垂直因子。Among them, s is a correction factor; R is the rotation matrix, T is the translation vector, R and T determine the direction and position of the camera relative to the world coordinate system; matrix A is the internal parameter matrix of the linear system, where u 0 and v 0 is the coordinate of O I in computer image coordinates, α and β are the scale factors corresponding to the focal length f of the abscissa and β axes or called the effective focal length, and c is the non-perpendicular factor of the two coordinate axes.
CN201010553032.6A 2010-11-22 2010-11-22 Measuring method for non-contact steel rail sagging surface Expired - Fee Related CN102069821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010553032.6A CN102069821B (en) 2010-11-22 2010-11-22 Measuring method for non-contact steel rail sagging surface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010553032.6A CN102069821B (en) 2010-11-22 2010-11-22 Measuring method for non-contact steel rail sagging surface

Publications (2)

Publication Number Publication Date
CN102069821A CN102069821A (en) 2011-05-25
CN102069821B true CN102069821B (en) 2013-07-10

Family

ID=44028634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010553032.6A Expired - Fee Related CN102069821B (en) 2010-11-22 2010-11-22 Measuring method for non-contact steel rail sagging surface

Country Status (1)

Country Link
CN (1) CN102069821B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103192953B (en) * 2013-03-08 2015-06-10 青岛扬帆船舶制造有限公司 Plate leveling method for plate jointing operation in shipbuilding plane section assembly line
CN107588732B (en) * 2016-07-07 2024-03-26 苏州华兴致远电子科技有限公司 Rail side train part height measurement method and system
CN108061544A (en) * 2017-12-31 2018-05-22 浙江维思无线网络技术有限公司 A kind of orbit photography measuring method and device
CN114877777A (en) * 2021-02-05 2022-08-09 保定市天河电子技术有限公司 Method and device for measuring crawling displacement of steel rail
CN113916192B (en) * 2021-11-05 2023-06-23 郑州信息科技职业学院 Karst cave image acquisition monitoring and imaging system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004333367A (en) * 2003-05-09 2004-11-25 Pulstec Industrial Co Ltd Apparatus and method for measuring three-dimensional shape
CN1644439A (en) * 2004-01-19 2005-07-27 广东工业大学 Method and device for measuring stepped driving wheel pair with structural optical sight sensing
EP2071515A1 (en) * 2007-12-11 2009-06-17 Honda Research Institute Europe GmbH Visually tracking an object in real world using 2D appearance and multicue depth estimations
CN101825441A (en) * 2010-05-14 2010-09-08 南京大学 Photoelectric measurement method for distance from railway gauge to platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004333367A (en) * 2003-05-09 2004-11-25 Pulstec Industrial Co Ltd Apparatus and method for measuring three-dimensional shape
CN1644439A (en) * 2004-01-19 2005-07-27 广东工业大学 Method and device for measuring stepped driving wheel pair with structural optical sight sensing
EP2071515A1 (en) * 2007-12-11 2009-06-17 Honda Research Institute Europe GmbH Visually tracking an object in real world using 2D appearance and multicue depth estimations
CN101825441A (en) * 2010-05-14 2010-09-08 南京大学 Photoelectric measurement method for distance from railway gauge to platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卞晓东.《基于机器视觉的车辆几何尺寸测量系统研究》.2005, *

Also Published As

Publication number Publication date
CN102069821A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
US6909514B2 (en) Wheel profile inspection apparatus and method
CN104005325B (en) Based on pavement crack checkout gear and the method for the degree of depth and gray level image
CN102012217B (en) Method for measuring three-dimensional geometrical outline of large-size appearance object based on binocular vision
CN110517315B (en) Image type railway roadbed surface settlement high-precision online monitoring system and method
CN103971406B (en) Submarine target three-dimensional rebuilding method based on line-structured light
CN106885532B (en) A kind of detection method of high-precision rail geometric profile
CN105115560B (en) A kind of non-contact measurement method of cabin volume of compartment
CN105606150A (en) Road comprehensive detection method and system based on line structured light and geological radar
CN102211597B (en) Dynamic acquiring device and method for track marks
CN102069821B (en) Measuring method for non-contact steel rail sagging surface
CN103630088A (en) High-precision tunnel cross section detection method and device based on double laser bands
CN203310400U (en) Limit detection system
CN104554344B (en) Thread defect information detecting system and method
CN107621229B (en) Real-time railway track width measurement system and method based on area array black and white camera
CN104990515A (en) Three-dimensional shape measurement system and method for large-size object
CN101982727A (en) Truck volumetric measurement method based on laser triangulation
CN103617611A (en) Automatic threshold segmentation detection method for center and size of light spot
CN107687953A (en) A kind of lorry failure automatic checkout equipment
CN101556152A (en) Image data acquisition at traffic accident scene and processing method thereof
CN101825441A (en) Photoelectric measurement method for distance from railway gauge to platform
CN107703149A (en) A kind of railway rail clip abnormality detection system based on binocular vision and laser speckle
CN110926373A (en) Structured light plane calibration method and system under railway foreign matter detection scene
CN106096207A (en) A kind of rotor wing unmanned aerial vehicle wind resistance appraisal procedure based on multi-vision visual and system
CN107588732A (en) Rail side Train Parts height measurement method and system
CN207248770U (en) A kind of railway rail clip abnormal detector based on binocular vision and laser speckle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130710

Termination date: 20141122

EXPY Termination of patent right or utility model