CN104239904A - Non-contact detection method for external outline of railway vehicle - Google Patents

Non-contact detection method for external outline of railway vehicle Download PDF

Info

Publication number
CN104239904A
CN104239904A CN201410504101.2A CN201410504101A CN104239904A CN 104239904 A CN104239904 A CN 104239904A CN 201410504101 A CN201410504101 A CN 201410504101A CN 104239904 A CN104239904 A CN 104239904A
Authority
CN
China
Prior art keywords
axis
tested vehicle
vehicle
outer contour
digital
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
CN201410504101.2A
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.)
Central South University
Original Assignee
Central South 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 Central South University filed Critical Central South University
Priority to CN201410504101.2A priority Critical patent/CN104239904A/en
Publication of CN104239904A publication Critical patent/CN104239904A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明公开了一种轨道车辆外部轮廓非接触式检测方法,所述方法包括采用数码相机获取被测车辆外部轮廓的数码照片,对数码照片进行分析计算和处理,绘制出被测车辆的外轮廓图形,与标准的外轮廓图形进行比较,实现对被测车辆外部轮廓几何尺寸进行非接触式的检测;所述方法还包括以下步骤:1)设备准备、2)建立坐标体系、3)设置采集点、4)获取数码照片、5)图像处理和6)输出结果。本发明方法科学合理,对轨道车辆的外部轮廓进行非接触检测,对轨道车辆不造成任何损伤,无环境污染,抗干扰能力强,精度高,能够实时完成数据采集、保存、分析处理,工作效率高。

The invention discloses a non-contact detection method for the outer contour of a rail vehicle. The method comprises the steps of acquiring a digital photo of the outer contour of the vehicle under test by using a digital camera, analyzing, calculating and processing the digital photo, and drawing the outer contour of the vehicle under test. The graphics are compared with the standard outer contour graphics to realize the non-contact detection of the geometric dimensions of the outer contour of the vehicle under test; the method also includes the following steps: 1) equipment preparation, 2) establishment of a coordinate system, 3) setting of collection Points, 4) Acquiring digital photos, 5) Image processing and 6) Outputting results. The method of the present invention is scientific and reasonable, non-contact detection is performed on the outer contour of the rail vehicle, no damage is caused to the rail vehicle, no environmental pollution, strong anti-interference ability, high precision, real-time data collection, storage, analysis and processing can be completed, and the work efficiency is improved. high.

Description

轨道车辆外部轮廓非接触式检测方法Non-contact detection method for the outer contour of rail vehicles

技术领域 technical field

本发明属于铁道车辆安全检测技术领域,具体涉及一种基于机器视觉检测技术的轨道车辆外部轮廓非接触式检测方法。 The invention belongs to the technical field of railway vehicle safety detection, and in particular relates to a non-contact detection method for the outer contour of a rail vehicle based on machine vision detection technology.

背景技术 Background technique

近年来,随着我国高速铁路和城市轨道交通迅速发展,以及人民生活质量的不断提高,加之我国轨道交通装备正在实施的“走出去”战略,都对新造轨道车辆轮廓制造精度提出了更高的要求。目前,根据 GB/T 16904《标准轨距铁路机车车辆限界检查》的规定,对于轨道车辆车体外部轮廓尺寸的测量,我国仍在使用限界规,该种方法费时费力,且检测精度难以得到保证,因此,对于新造轨道车辆车体表面轮廓尺寸的检测问题已成为一个亟待解决的技术难题。限界规分为上部规和下部规,上部规由钢结构框架、中心调节器、叶板及伸缩调整定位装置、双向摆动及中心复位机构、非接触传感器及其封闭安装盒等部件组成,用以检测车体顶部及侧面的尺寸及几何量信息;下部规由三维可调支座、叶板与支承轴承、双向摆动及其中心复位装置等部件组成。测量时被检车辆以小于5km/h的速度通过标准轨距铁路机车车辆检查区段,通过叶板的伸缩量进行测量。限界规检测主要有以下其不足之处:                                               限界规安装调整的过程极为复杂,操作需人工参与,步骤繁琐、效率低下;测量点数有限,测量结果可信度差,无法对测量数据进行自动保存、计算和管理;无法获得整车的外部轮廓;检测时,需在限界规前后各预留一倍车长的检查区段,增加了测量的空间范围。 In recent years, with the rapid development of my country's high-speed railway and urban rail transit, as well as the continuous improvement of people's quality of life, coupled with the "going out" strategy being implemented by my country's rail transit equipment, higher requirements have been put forward for the manufacturing accuracy of the outline of new rail vehicles. Require. At present, according to the provisions of GB/T 16904 "Standard Gauge Railway Locomotive Vehicle Limit Inspection", for the measurement of the outer contour dimensions of rail vehicle bodies, my country still uses limit gauges. This method is time-consuming and laborious, and the detection accuracy is difficult to guarantee , therefore, the detection of the surface profile size of the new rail vehicle body has become a technical problem to be solved urgently. The limit gauge is divided into an upper gauge and a lower gauge. The upper gauge is composed of a steel structure frame, a central regulator, a leaf plate and a telescopic adjustment and positioning device, a two-way swing and a center reset mechanism, a non-contact sensor and a closed installation box, etc. Detect the size and geometric information of the top and side of the car body; the lower gauge is composed of three-dimensional adjustable support, leaf plate and support bearing, two-way swing and center reset device and other components. During the measurement, the inspected vehicle passes through the standard gauge railway rolling stock inspection section at a speed of less than 5km/h, and is measured by the expansion and contraction of the blade. Limit gauge detection mainly has the following shortcomings: The installation and adjustment process of the limit gauge is extremely complicated, and the operation requires manual participation, which is cumbersome and inefficient; The number of measurement points is limited, the reliability of the measurement results is poor, and the measurement data cannot be automatically saved, calculated and managed; Unable to obtain the external outline of the vehicle; When testing, it is necessary to reserve an inspection section of twice the length of the vehicle before and after the limit gauge, which increases the spatial range of the measurement.

发明内容 Contents of the invention

本发明的目的在于克服现有技术的不足,针对新造轨道车辆外部轮廓检测精度不高、效率低下等问题,基于机器视觉理论和仿射几何原理,提供了一种能够实现轨道车辆外部轮廓测量自动化的,能够对测量数据进行分析、评定和管理的,减少试验人员数量,提高检测水平的轨道车辆外部轮廓非接触式检测方法。 The purpose of the present invention is to overcome the deficiencies of the prior art, aiming at the problems of low precision and low efficiency in the detection of the outer contour of newly built rail vehicles, based on machine vision theory and affine geometry principle, it provides a method that can realize the automatic measurement of the outer contour of rail vehicles. It is a non-contact detection method for the outer contour of rail vehicles that can analyze, evaluate and manage measurement data, reduce the number of test personnel, and improve the detection level.

本发明的目的是通过以下技术方案予以实现: The purpose of the present invention is to be achieved through the following technical solutions:

所述方法包括采用数码相机获取被测车辆外部轮廓的数码照片,对数码照片进行分析计算和处理,绘制出被测车辆的外轮廓图形,与标准的外轮廓图形进行比较,实现对被测车辆外部轮廓几何尺寸进行非接触式的检测; The method includes using a digital camera to obtain digital photos of the outer contour of the vehicle under test, analyzing, calculating and processing the digital photos, drawing the outer contour graphics of the tested vehicle, and comparing them with standard outer contour graphics to realize the detection of the measured vehicle. Non-contact detection of external contour geometry;

所述方法还包括以下步骤: The method also includes the steps of:

1)设备准备:设置一个龙门架,龙门架内能够通过被测车辆,被测车辆配置步进控制的牵引装置;龙门架的立柱和顶部横梁上安装若干个照明灯光和若干个检测装置;每个照明灯光均面向被测车辆;每个检测装置包括数码相机和线光源,线光源垂直面对被测车辆,数码相机以固定角度倾斜面对被测车辆;线光源的照射区落入数码相机的成像区内;所有线光源的中心线均位于被测车辆的同一横截面内;所有数码相机的成像区相叠加能够完全覆盖被测车辆的同一横截面处的两侧和顶部;各检测装置和牵引装置的控制部分均与中央控制装置电连接,中央控制装置包括微处理器、储存单元、输入接口和输出接口,安装专用软件,程序控制照明灯光、数码相机、线光源和牵引装置,采集、分析处理并保存数据; 1) Equipment preparation: set up a gantry, the vehicle under test can pass through the gantry, and the vehicle under test is equipped with a step-controlled traction device; several lighting lights and several detection devices are installed on the columns and top beams of the gantry; All lighting lights face the vehicle under test; each detection device includes a digital camera and a line light source, the line light source faces the vehicle under test vertically, and the digital camera faces the vehicle under test at a fixed angle; the irradiation area of the line light source falls into the digital camera within the imaging area; the centerlines of all line light sources are located in the same cross-section of the vehicle under test; the imaging areas of all digital cameras can be superimposed to completely cover the sides and top of the same cross-section of the vehicle under test; each detection device The control part of the traction device and the traction device are all electrically connected to the central control device. The central control device includes a microprocessor, a storage unit, an input interface and an output interface, and special software is installed, and the program controls the lighting, digital camera, line light source and traction device. , analyze, process and save data;

2)建立坐标体系:以被测车辆的长度方向为X轴,以被测车辆所在轨道水平面为Y轴,以被测车辆横截面的垂直中心线为Z轴, XYZ坐标体系的O点位于被测车辆的指定端部的横截面内; 2) Establish a coordinate system: take the length direction of the measured vehicle as the X-axis, take the horizontal plane of the track where the tested vehicle is located as the Y-axis, and take the vertical centerline of the cross-section of the measured vehicle as the Z-axis. The O point of the XYZ coordinate system is located at the within the cross-section of the specified end of the vehicle under test;

3)设置采集点:从XYZ坐标体系的O点开始,对于被测车辆外表面有小尺寸零部件的部位,沿X轴方向的拍摄采集间距为3-10毫米,对于被测车辆的其他部位,沿X轴方向的拍摄采集间距为10-200毫米,最后将M个检测横截面作为M个采集点标注在X轴上,并保存它们编号及其在X轴上的坐标值; 3) Set the collection point: start from the O point of the XYZ coordinate system, for parts with small-sized parts on the outer surface of the vehicle under test, the shooting and collection distance along the X-axis direction is 3-10 mm, for other parts of the vehicle under test , the shooting and collection interval along the X-axis direction is 10-200 mm, and finally the M detection cross-sections are marked on the X-axis as M collection points, and their numbers and their coordinate values on the X-axis are saved;

4)获取数码照片:采集点的编号从1开始直到M结束,在某个采集点,照明灯光始终处于工作状态,先后拍摄并保存背景图像和目标图像共两张数码照片:在线光源关闭的状态下获取背景图像,在线光源打开的状态下获取目标图像;获取数码照片选用以下方式之一: 4) Obtain digital photos: The number of collection points starts from 1 to the end of M. At a certain collection point, the lighting is always in working condition, and two digital photos of the background image and the target image are taken and saved successively: the online light source is turned off Get the background image under the condition of online light source to get the target image; get the digital photo by one of the following methods:

4A、程序控制被测车辆以间歇方式沿X轴行进,在每个采集点处停留并获取数码照片: 4A. The program controls the vehicle under test to travel along the X-axis intermittently, stop at each collection point and obtain digital photos:

4B、程序控制被测车辆以匀速方式沿X轴行进,根据速度和相邻两采集点在X轴上的间距确定获取照片的时间间隔,程序按照时间间隔获取数码照片: 4B. The program controls the vehicle under test to travel along the X-axis at a constant speed, and determines the time interval for obtaining photos according to the speed and the distance between two adjacent collection points on the X-axis. The program obtains digital photos according to the time interval:

4C、程序控制被测车辆连续沿X轴行进,对于被测车辆外表面有小尺寸零部件的部位,被测车辆行进速度为每秒3-10毫米,对于被测车辆的其他部位,被测车辆行进速度为每秒10-200毫米,根据速度和相邻两采集点在X轴上的间距确定获取照片的时间间隔,程序按照时间间隔获取数码照片: 4C. The program controls the vehicle under test to move continuously along the X axis. For parts with small-sized parts on the outer surface of the vehicle under test, the speed of the vehicle under test is 3-10 mm per second. For other parts of the vehicle under test, the speed of the vehicle under test is The speed of the vehicle is 10-200 mm per second. The time interval for obtaining photos is determined according to the speed and the distance between two adjacent collection points on the X-axis. The program obtains digital photos according to the time interval:

5)图像处理,采用以下方式之一: 5) Image processing, using one of the following methods:

5A、实时处理:在数码照片获取过程中,采集点的编号从1开始直到M结束,对于每个采集点处对应的背景图像和目标图像实时进行差分处理,进一步经过几何计算处理,在XYZ坐标体系中绘制出该检测截面的两个侧面和顶部的外轮廓线,最后完成M条外轮廓线; 5A. Real-time processing: In the process of digital photo acquisition, the number of collection points starts from 1 to the end of M, and the corresponding background image and target image at each collection point are differentially processed in real time, and further processed by geometric calculation, in XYZ coordinates Draw the outer contour lines of the two sides and the top of the detection section in the system, and finally complete M outer contour lines;

5B、集中处理:在M个采集点的数码照片全部拍摄完成后,采集点的编号从1开始直到M结束,对于每个采集点处对应的背景图像和目标图像逐一进行差分处理,进一步经过几何计算处理,在XYZ坐标体系中逐一绘制出各检测截面的两个侧面和顶部的外轮廓线,总共M条外轮廓线; 5B. Centralized processing: After all the digital photos of the M collection points are taken, the numbers of the collection points start from 1 to the end of M, and the corresponding background images and target images at each collection point are differentially processed one by one, and further processed through geometric Calculation processing, drawing the outer contour lines of the two sides and the top of each detection section one by one in the XYZ coordinate system, a total of M outer contour lines;

6)输出结果,根据比较的基准不同,能够输出以下结果: 6) Output results, depending on the comparison benchmarks, the following results can be output:

6A、以标准限界为比较基准,将M条外轮廓线逐条与标准限界尺寸相比较,输出被测车辆实测外轮廓尺寸超出限界部位的坐标及超限尺寸; 6A. Taking the standard limit as the comparison benchmark, compare the M outer contour lines one by one with the standard limit size, and output the coordinates and overrun size of the measured outer contour size of the vehicle that exceeds the limit;

6B、以设计图纸为比较基准,将M条外轮廓线逐条与设计图纸尺寸相比较,绘制出被测车辆实测外轮廓尺寸的误差图。 6B. Taking the design drawing as a comparison benchmark, compare the M outer contour lines one by one with the size of the design drawing, and draw an error map of the measured outer contour size of the vehicle under test.

所述检测装置还配置一部数码相机,两部数码相机在线光源的线条光线的中心线两侧对称布置,两部数码相机同步工作,在步骤“4)获取数码照片”时,同一采集点处获取的背景图像和目标图像各两张,在步骤“5)图像处理”时,同一采集点处的两根外轮廓线进行平均化处理,以提高检测精度。 The detection device is also equipped with a digital camera, and the two digital cameras are symmetrically arranged on both sides of the center line of the line light of the line light source. The two digital cameras work synchronously. Two background images and two target images are obtained. In step "5) image processing", the two outer contour lines at the same collection point are averaged to improve detection accuracy.

所述龙门架在中央控制装置的程序控制下能够沿X轴行走。 The gantry can walk along the X axis under the program control of the central control device.

所述数码相机配置滤光片。 The digital camera is configured with a filter.

所述检测装置能够沿Y轴和Z轴移动调整固定。 The detection device can be moved, adjusted and fixed along the Y axis and the Z axis.

与现有技术相比,本发明具有以下优点:所述方法科学合理,对轨道车辆的外部轮廓进行非接触检测,对轨道车辆不造成任何损伤,无环境污染,抗干扰能力强,精度高,能够实时完成数据采集、保存、分析处理,工作效率高。 Compared with the prior art, the present invention has the following advantages: the method is scientific and reasonable, non-contact detection is performed on the outer contour of the rail vehicle, no damage is caused to the rail vehicle, no environmental pollution, strong anti-interference ability, high precision, It can complete data collection, storage, analysis and processing in real time, with high work efficiency.

附图说明 Description of drawings

图1为本发明检测方法的流程框图; Fig. 1 is the flowchart of detection method of the present invention;

图2为本发明一实施例的采用设备装置的配置示意图; Fig. 2 is a schematic diagram of the configuration of the equipment device according to an embodiment of the present invention;

图3为图2的俯视示意图,移去龙门架的顶部横梁; Fig. 3 is a top view schematic diagram of Fig. 2, the top beam of the gantry is removed;

图4为图2的A-A放大示意图; Fig. 4 is the A-A enlarged schematic diagram of Fig. 2;

图中:1-轨道及地基,2-行走装置,3-检测装置,4-龙门架,5-被测车辆,6-中央控制装置,7-数码相机,8-线光源。 In the figure: 1-track and foundation, 2-traveling device, 3-detection device, 4-gantry frame, 5-vehicle under test, 6-central control device, 7-digital camera, 8-line light source.

具体实施方式 Detailed ways

下面结合附图,对本发明检测方法的具体实施方式作进一步详细说明。 The specific implementation of the detection method of the present invention will be further described in detail below in conjunction with the accompanying drawings.

参考附图:所述方法包括采用数码相机获取被测车辆5外部轮廓的数码照片,对数码照片进行分析计算和处理,绘制出被测车辆5的外轮廓图形,与标准的外轮廓图形进行比较,实现对被测车辆5外部轮廓几何尺寸进行非接触式的检测; Referring to the accompanying drawings: the method includes using a digital camera to obtain a digital photo of the outer contour of the tested vehicle 5, analyzing, calculating and processing the digital photo, drawing the outer contour figure of the tested vehicle 5, and comparing it with the standard outer contour figure , to realize the non-contact detection of the geometric dimensions of the external contour of the vehicle 5 under test;

所述方法还包括以下步骤: The method also includes the steps of:

1)设备准备:设置一个龙门架4,龙门架4内能够通过被测车辆5,被测车辆5配置步进控制的牵引装置;龙门架4的立柱和顶部横梁上安装若干个照明灯光和若干个检测装置3;每个照明灯光均面向被测车辆5;每个检测装置3包括数码相机7和线光源8,线光源8垂直面对被测车辆5,数码相机7以固定角度倾斜面对被测车辆5;线光源8的照射区落入数码相机7的成像区内;所有线光源8的中心线均位于被测车辆5的同一横截面内;所有数码相机7的成像区相叠加能够完全覆盖被测车辆5的同一横截面处的两侧和顶部;各检测装置3和牵引装置的控制部分均与中央控制装置6电连接,中央控制装置6包括微处理器、储存单元、输入接口和输出接口,安装专用软件,程序控制照明灯光、数码相机7、线光源8和牵引装置,采集、分析处理并保存数据; 1) Equipment preparation: set up a gantry 4, the vehicle 5 to be tested can pass through the gantry 4, and the vehicle 5 to be tested is equipped with a step-controlled traction device; several lighting lights and some Each detection device 3; each lighting light is all facing the measured vehicle 5; each detection device 3 includes a digital camera 7 and a line light source 8, the line light source 8 faces the measured vehicle 5 vertically, and the digital camera 7 faces the measured vehicle 5 at a fixed angle The vehicle under test 5; the irradiated area of the line light source 8 falls in the imaging area of the digital camera 7; the centerlines of all the line light sources 8 are all located in the same cross section of the vehicle under test 5; the imaging areas of all the digital cameras 7 can be superimposed Completely cover both sides and the top of the same cross-section of the vehicle under test 5; the control parts of each detection device 3 and traction device are all electrically connected with the central control device 6, and the central control device 6 includes a microprocessor, a storage unit, and an input interface And output interface, install special software, program control lighting, digital camera 7, line light source 8 and traction device, collect, analyze, process and save data;

2)建立坐标体系:以被测车辆5的长度方向为X轴,以被测车辆5所在轨道水平面为Y轴,以被测车辆5横截面的垂直中心线为Z轴, XYZ坐标体系的O点位于被测车辆5的指定端部的横截面内; 2) Establish a coordinate system: take the length direction of the tested vehicle 5 as the X axis, take the horizontal plane of the track where the tested vehicle 5 is located as the Y axis, and take the vertical centerline of the cross-section of the tested vehicle 5 as the Z axis, and the O of the XYZ coordinate system the point lies within the cross-section of the designated end of the vehicle under test 5;

3)设置采集点:从XYZ坐标体系的O点开始,对于被测车辆5外表面有小尺寸零部件的部位,沿X轴方向的拍摄采集间距为3-10毫米,对于被测车辆5的其他部位,沿X轴方向的拍摄采集间距为10-200毫米,最后将M个检测横截面作为M个采集点标注在X轴上,并保存它们编号及其在X轴上的坐标值; 3) Set collection points: starting from point O of the XYZ coordinate system, for parts with small-sized components on the outer surface of the measured vehicle 5, the shooting and collection distance along the X-axis direction is 3-10 mm, and for the parts of the measured vehicle 5 For other parts, the shooting and collection interval along the X-axis direction is 10-200 mm, and finally the M detection cross-sections are marked on the X-axis as M collection points, and their numbers and their coordinate values on the X-axis are saved;

4)获取数码照片:采集点的编号从1开始直到M结束,在某个采集点,照明灯光始终处于工作状态,先后拍摄并保存背景图像和目标图像共两张数码照片:在线光源8关闭的状态下获取背景图像,在线光源8打开的状态下获取目标图像;获取数码照片选用以下方式之一: 4) Obtain digital photos: The number of collection points starts from 1 to the end of M. At a certain collection point, the lighting is always in working condition, and two digital photos of the background image and the target image are taken and saved successively: the online light source 8 is turned off Obtain the background image under the state, obtain the target image under the state that the online light source 8 is turned on; Obtain digital photo and select one of the following methods:

4A、程序控制被测车辆5以间歇方式沿X轴行进,在每个采集点处停留并获取数码照片: 4A. The program controls the vehicle under test 5 to travel along the X-axis intermittently, stop at each collection point and obtain digital photos:

4B、程序控制被测车辆5以匀速方式沿X轴行进,根据速度和相邻两采集点在X轴上的间距确定获取照片的时间间隔,程序按照时间间隔获取数码照片: 4B. The program controls the measured vehicle 5 to travel along the X-axis at a constant speed, and determines the time interval for obtaining photos according to the speed and the distance between two adjacent collection points on the X-axis. The program obtains digital photos according to the time interval:

4C、程序控制被测车辆5连续沿X轴行进,对于被测车辆5外表面有小尺寸零部件的部位,被测车辆5行进速度为每秒3-10毫米,对于被测车辆5的其他部位,被测车辆5行进速度为每秒10-200毫米,根据速度和相邻两采集点在X轴上的间距确定获取照片的时间间隔,程序按照时间间隔获取数码照片: 4C. The program controls the tested vehicle 5 to move continuously along the X-axis. For parts with small-sized components on the outer surface of the tested vehicle 5, the tested vehicle 5 travels at a speed of 3-10 mm per second. For other parts of the tested vehicle 5 location, the traveling speed of the tested vehicle 5 is 10-200 mm per second, and the time interval for obtaining photos is determined according to the speed and the distance between two adjacent collection points on the X-axis, and the program obtains digital photos according to the time interval:

5)图像处理,采用以下方式之一: 5) Image processing, using one of the following methods:

5A、实时处理:在数码照片获取过程中,采集点的编号从1开始直到M结束,对于每个采集点处对应的背景图像和目标图像实时进行差分处理,进一步经过几何计算处理,在XYZ坐标体系中绘制出该检测截面的两个侧面和顶部的外轮廓线,最后完成M条外轮廓线; 5A. Real-time processing: In the process of digital photo acquisition, the number of collection points starts from 1 to the end of M, and the corresponding background image and target image at each collection point are differentially processed in real time, and further processed by geometric calculation, in XYZ coordinates Draw the outer contour lines of the two sides and the top of the detection section in the system, and finally complete M outer contour lines;

5B、集中处理:在M个采集点的数码照片全部拍摄完成后,采集点的编号从1开始直到M结束,对于每个采集点处对应的背景图像和目标图像逐一进行差分处理,进一步经过几何计算处理,在XYZ坐标体系中逐一绘制出各检测截面的两个侧面和顶部的外轮廓线,总共M条外轮廓线; 5B. Centralized processing: After all the digital photos of the M collection points are taken, the numbers of the collection points start from 1 to the end of M, and the corresponding background images and target images at each collection point are differentially processed one by one, and further processed through geometric Calculation processing, drawing the outer contour lines of the two sides and the top of each detection section one by one in the XYZ coordinate system, a total of M outer contour lines;

6)输出结果,根据比较的基准不同,能够输出以下结果: 6) Output results, depending on the comparison benchmarks, the following results can be output:

6A、以标准限界为比较基准,将M条外轮廓线逐条与标准限界尺寸相比较,输出被测车辆5实测外轮廓尺寸超出限界部位的坐标及超限尺寸; 6A. Taking the standard limit as the comparison benchmark, compare the M outer contour lines one by one with the standard limit size, and output the coordinates and overrun size of the measured outer contour size of the measured vehicle 5 beyond the limit;

6B、以设计图纸为比较基准,将M条外轮廓线逐条与设计图纸尺寸相比较,绘制出被测车辆5实测外轮廓尺寸的误差图。 6B. Taking the design drawing as a comparison benchmark, compare the M outer contour lines one by one with the size of the design drawing, and draw an error map of the measured outer contour size of the vehicle 5 under test.

所述检测装置3还配置一部数码相机7,两部数码相机7在线光源8的线条光线的中心线两侧对称布置,两部数码相机7同步工作,在步骤“4)获取数码照片”时,同一采集点处获取的背景图像和目标图像各两张,在步骤“5)图像处理”时,同一采集点处的两根外轮廓线进行平均化处理,以提高检测精度。 The detection device 3 is also equipped with a digital camera 7, and the two digital cameras 7 are symmetrically arranged on both sides of the center line of the line light of the line light source 8, and the two digital cameras 7 work synchronously. , two background images and two target images acquired at the same collection point, in step "5) image processing", the two outer contour lines at the same collection point are averaged to improve the detection accuracy.

所述龙门架4在中央控制装置6的程序控制下能够沿X轴行走。 The gantry 4 can walk along the X axis under the program control of the central control device 6 .

所述数码相机7配置滤光片。 The digital camera 7 is configured with a filter.

所述检测装置3能够沿Y轴和Z轴移动调整固定。 The detection device 3 can be moved, adjusted and fixed along the Y axis and the Z axis.

轨道及地基1:地基上铺设两种轨道,一种是被测车辆5的轨道,另外一种为龙门架4的行走装置2的轨道。 Track and foundation 1: Two kinds of tracks are laid on the foundation, one is the track of the vehicle 5 to be tested, and the other is the track of the running device 2 of the gantry 4 .

行走装置2:安装在龙门架4的底部,能够带动龙门架4前进或者后退。 Traveling device 2: installed at the bottom of the gantry 4, capable of driving the gantry 4 forward or backward.

检测装置3:检测被测车辆5的外部轮廓的光学装置,包括数码相机7和线光源8。 Detection device 3 : an optical device for detecting the outer contour of the vehicle 5 under test, including a digital camera 7 and a line light source 8 .

龙门架4:安装照明灯光和检测装置3的载体。 Gantry 4: a carrier for installing lighting and detection devices 3.

被测车辆5:新造车辆,或者大修后的车辆。 Tested vehicle 5: a newly built vehicle, or a vehicle after overhaul.

中央控制装置6:包括微处理器、储存单元、输入接口和输出接口,安装专用软件,程序控制照明灯光、数码相机7、线光源8和牵引装置,采集、分析处理并保存数据。 Central control device 6: includes microprocessor, storage unit, input interface and output interface, installs special software, program controls lighting, digital camera 7, line light source 8 and traction device, collects, analyzes and processes and saves data.

数码相机7:采用现有技术的数码相机,分辨率不低于768×576。 Digital camera 7: A digital camera using existing technology with a resolution of not less than 768×576.

线光源8:采用现有技术的线光源。 Line light source 8: adopt the line light source of the prior art.

照明灯光:采用现有技术的照明灯光。 Illumination light: adopt the illumination light of prior art.

滤光片:采用现有技术的滤光片。 Optical filter: adopt the optical filter of prior art.

在以下实施例中:被测车辆5从指定端部到另外一个端部的长度为25000毫米。 In the following embodiment: the length of the tested vehicle 5 from a designated end to another end is 25000 mm.

实施例1: Example 1:

1)设备准备:设置一个龙门架4,龙门架4内能够通过被测车辆5,被测车辆5配置步进控制的牵引装置;龙门架4的立柱和顶部横梁上安装若干个照明灯光和若干个检测装置3;每个照明灯光均面向被测车辆5;每个检测装置3包括数码相机7和线光源8,线光源8垂直面对被测车辆5,数码相机7以固定角度倾斜面对被测车辆5;线光源8的照射区落入数码相机7的成像区内;所有线光源8的中心线均位于被测车辆5的同一横截面内;所有数码相机7的成像区相叠加能够完全覆盖被测车辆5的同一横截面处的两侧和顶部;各检测装置3和牵引装置的控制部分均与中央控制装置6电连接,中央控制装置6包括微处理器、储存单元、输入接口和输出接口,安装专用软件,程序控制照明灯光、数码相机7、线光源8和牵引装置,采集、分析处理并保存数据; 1) Equipment preparation: set up a gantry 4, the vehicle 5 to be tested can pass through the gantry 4, and the vehicle 5 to be tested is equipped with a step-controlled traction device; several lighting lights and some Each detection device 3; each lighting light is all facing the measured vehicle 5; each detection device 3 includes a digital camera 7 and a line light source 8, the line light source 8 faces the measured vehicle 5 vertically, and the digital camera 7 faces the measured vehicle 5 at a fixed angle The vehicle under test 5; the irradiated area of the line light source 8 falls in the imaging area of the digital camera 7; the centerlines of all the line light sources 8 are all located in the same cross section of the vehicle under test 5; the imaging areas of all the digital cameras 7 can be superimposed Completely cover both sides and the top of the same cross-section of the vehicle under test 5; the control parts of each detection device 3 and traction device are all electrically connected with the central control device 6, and the central control device 6 includes a microprocessor, a storage unit, and an input interface And output interface, install special software, program control lighting, digital camera 7, line light source 8 and traction device, collect, analyze, process and save data;

2)建立坐标体系:以被测车辆5的长度方向为X轴,以被测车辆5所在轨道水平面为Y轴,以被测车辆5横截面的垂直中心线为Z轴, XYZ坐标体系的O点位于被测车辆5的指定端部的横截面内; 2) Establish a coordinate system: take the length direction of the tested vehicle 5 as the X axis, take the horizontal plane of the track where the tested vehicle 5 is located as the Y axis, and take the vertical centerline of the cross-section of the tested vehicle 5 as the Z axis, and the O of the XYZ coordinate system the point lies within the cross-section of the designated end of the vehicle under test 5;

3)设置采集点:从XYZ坐标体系的O点开始,对于被测车辆5外表面有小尺寸零部件的部位,沿X轴方向的拍摄采集间距为3毫米,对于被测车辆5的其他部位,沿X轴方向的拍摄采集间距为100毫米,最后将M个检测横截面作为M个采集点标注在X轴上,并保存它们编号及其在X轴上的坐标值; 3) Set collection points: starting from point O of the XYZ coordinate system, for parts with small-sized parts on the outer surface of the vehicle 5 under test, the shooting and collection distance along the X-axis direction is 3 mm, and for other parts of the vehicle 5 under test , the shooting and collection interval along the X-axis direction is 100 mm, and finally the M detection cross-sections are marked on the X-axis as M collection points, and their numbers and their coordinate values on the X-axis are saved;

4)获取数码照片:采集点的编号从1开始直到M结束,在某个采集点,照明灯光始终处于工作状态,先后拍摄并保存背景图像和目标图像共两张数码照片:在线光源8关闭的状态下获取背景图像,在线光源8打开的状态下获取目标图像;获取数码照片选用以下方式: 4) Obtain digital photos: The number of collection points starts from 1 to the end of M. At a certain collection point, the lighting is always in working condition, and two digital photos of the background image and the target image are taken and saved successively: the online light source 8 is turned off Obtain the background image under the state, obtain the target image under the state that the online light source 8 is turned on; Obtain the digital photo and select the following methods:

4A、程序控制被测车辆5以间歇方式沿X轴行进,在每个采集点处停留并获取数码照片: 4A. The program controls the vehicle under test 5 to travel along the X-axis intermittently, stop at each collection point and obtain digital photos:

5)图像处理,实时处理:在数码照片获取过程中,采集点的编号从1开始直到M结束,对于每个采集点处对应的背景图像和目标图像实时进行差分处理,进一步经过几何计算处理,在XYZ坐标体系中绘制出该检测截面的两个侧面和顶部的外轮廓线,最后完成M条外轮廓线; 5) Image processing, real-time processing: In the process of digital photo acquisition, the number of collection points starts from 1 to the end of M, and the corresponding background image and target image at each collection point are differentially processed in real time, and further processed by geometric calculation. Draw the outer contour lines of the two sides and the top of the detection section in the XYZ coordinate system, and finally complete M outer contour lines;

6)输出结果,以标准限界为比较基准,将M条外轮廓线逐条与标准限界尺寸相比较,输出被测车辆5实测外轮廓尺寸超出限界部位的坐标及超限尺寸; 6) To output the result, take the standard limit as the comparison benchmark, compare the M outer contour lines one by one with the standard limit size, and output the coordinates and overrun size of the measured outer contour size of the measured vehicle 5 beyond the limit;

实施例2: Example 2:

与实施例1基本相同,不同的是:检测装置3还配置一部数码相机7,两部数码相机7在线光源8的线条光线的中心线两侧对称布置,两部数码相机7同步工作,在步骤“4)获取数码照片”时,同一采集点处获取的背景图像和目标图像各两张,在步骤“5)图像处理”时,同一采集点处的两根外轮廓线进行平均化处理,以提高检测精度。 It is basically the same as Embodiment 1, the difference is: the detection device 3 is also equipped with a digital camera 7, and the two digital cameras 7 are symmetrically arranged on both sides of the center line of the line light of the line light source 8, and the two digital cameras 7 work synchronously. In step "4) Acquiring digital photos", two background images and two target images are acquired at the same collection point. In step "5) Image processing", the two outer contour lines at the same collection point are averaged. In order to improve the detection accuracy.

Claims (9)

1. a rail vehicle exterior contour non-contact detection method, described method comprises the digital photograph adopting digital camera to obtain tested vehicle (5) exterior contour, logarithmic code photo carries out analytical calculation and process, draw out the outline figure of tested vehicle (5), compare with the outline figure of standard, realize carrying out contactless detection to tested vehicle (5) exterior contour physical dimension;
It is characterized in that: described method is further comprising the steps of:
1) equipment prepares: arrange a portal frame (4), can pass through tested vehicle (5) in portal frame (4), the draw-gear of tested vehicle (5) configuration step motion control; The column of portal frame (4) and top cross-bar install several houselights and several pick-up units (3); Each houselights is all towards tested vehicle (5); Each pick-up unit (3) comprises digital camera (7) and line source (8), line source (8) vertical plane to tested vehicle (5), digital camera (7) with fixed angle dip plane to tested vehicle (5); The irradiated region of line source (8) falls in the imaging area of digital camera (7); The center line of all line sources (8) is all positioned at the same xsect of tested vehicle (5); Superimposed both sides and the top that can cover the same cross-section of tested vehicle (5) completely, the imaging area of all digital cameras (7); The control section of each pick-up unit (3) and draw-gear is all electrically connected with central control unit (6), central control unit (6) comprises microprocessor, storage element, input interface and output interface, special software is installed, programmed control houselights, digital camera (7), line source (8) and draw-gear, gather, analyzing and processing preserve data;
2) coordinate-system is set up: with the length direction of tested vehicle (5) for X-axis, with tested vehicle (5) place track surface level for Y-axis, with the vertical center line of tested vehicle (5) xsect for Z axis, the O point of XYZ coordinate system is positioned at the xsect of the given end portion of tested vehicle (5);
3) collection point is set: from the O point of XYZ coordinate system, tested vehicle (5) outside surface is had to the position of small size parts, shooting, collecting spacing along X-direction is 3-10 millimeter, for other positions of tested vehicle (5), shooting, collecting spacing along X-direction is 10-200 millimeter, finally detect xsect using M to be labeled in X-axis as M collection point, and preserve their numberings and the coordinate figure in X-axis thereof;
4) obtain digital photograph: the numbering of collection point from 1 until M terminates, in certain collection point, houselights is in running order all the time, successively take and preserve background image and target image totally two digital photographs: background extraction image under the state that line source (8) is closed, obtains target image under the state that line source (8) is opened; Obtain digital photograph choosing one of with the following methods:
4A, programmed control tested vehicle (5) are advanced along X-axis with intermittent mode, and in each collection point, place stops and obtains digital photograph;
4B, programmed control tested vehicle (5) are advanced along X-axis at the uniform velocity mode, and according to speed and adjacent two collection points, the spacing in X-axis determines the time interval obtaining photo, and program obtains digital photograph according to the time interval;
4C, programmed control tested vehicle (5) are advanced along X-axis continuously, tested vehicle (5) outside surface is had to the position of small size parts, tested vehicle (5) gait of march is 3-10 millimeter per second, for other positions of tested vehicle (5), tested vehicle (5) gait of march is 10-200 millimeter per second, according to speed and adjacent two collection points, the spacing in X-axis determines the time interval obtaining photo, and program obtains digital photograph according to the time interval;
One of 5) image procossing, in the following ways:
5A, in real time process: in digital photograph acquisition process, the numbering of collection point from 1 until M terminates, the background image corresponding for each collection point place and target image carry out difference processing in real time, further across geometry computing, in XYZ coordinate system, draw out two sides of this detection sectional plane and the outer contour at top, finally complete M bar outer contour;
5B, to focus on: after the digital photograph of M collection point has all been taken, the numbering of collection point from 1 until M terminates, the background image corresponding for each collection point place and target image carry out difference processing one by one, further across geometry computing, two sides of each detection sectional plane and the outer contour at top is drawn out one by one, M bar outer contour altogether in XYZ coordinate system;
6) Output rusults, different according to the benchmark compared, following result can be exported:
6A, with standard gauge for benchmark, by M bar outer contour one by one compared with standard gauge size, export tested vehicle (5) actual measurement outer profile size exceed the coordinate at gauge position and the size that transfinites;
6B, be benchmark with design drawing, by M bar outer contour one by one compared with design drawing size, draw out the Error Graph of tested vehicle (5) actual measurement outer profile size.
2. method according to claim 1, it is characterized in that: described pick-up unit (3) also configures another digital camera (7), two digital cameras (7) are arranged in the center line symmetria bilateralis of the lines light of line source (8), two digital camera (7) synchronous workings, when step " 4) obtain digital photograph ", the background image that same collection point place obtains and each two of target image, when step " 5) image procossing ", two outer contours at same collection point place average process, to improve accuracy of detection.
3. method according to claim 1 and 2, is characterized in that: described portal frame (4) can be walked along X-axis under the programmed control of central control unit (6).
4. method according to claim 1 and 2, is characterized in that: described digital camera (7) configuration optical filter.
5. method according to claim 3, is characterized in that: described digital camera (7) configuration optical filter.
6. method according to claim 1 and 2, is characterized in that: described pick-up unit (3) can move adjustment along Y-axis and Z axis and fix.
7. method according to claim 3, is characterized in that: described pick-up unit (3) can move adjustment along Y-axis and Z axis and fix.
8. method according to claim 4, is characterized in that: described pick-up unit (3) can move adjustment along Y-axis and Z axis and fix.
9. method according to claim 5, is characterized in that: described pick-up unit (3) can move adjustment along Y-axis and Z axis and fix.
CN201410504101.2A 2014-09-28 2014-09-28 Non-contact detection method for external outline of railway vehicle Pending CN104239904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410504101.2A CN104239904A (en) 2014-09-28 2014-09-28 Non-contact detection method for external outline of railway vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410504101.2A CN104239904A (en) 2014-09-28 2014-09-28 Non-contact detection method for external outline of railway vehicle

Publications (1)

Publication Number Publication Date
CN104239904A true CN104239904A (en) 2014-12-24

Family

ID=52227927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410504101.2A Pending CN104239904A (en) 2014-09-28 2014-09-28 Non-contact detection method for external outline of railway vehicle

Country Status (1)

Country Link
CN (1) CN104239904A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108007346A (en) * 2017-12-07 2018-05-08 西南交通大学 One kind visualization Metro Clearance Detection
CN108230386A (en) * 2018-01-05 2018-06-29 湖北汽车工业学院 A kind of image processing algorithm in automobile tube beam measurement
CN109781023A (en) * 2017-11-14 2019-05-21 武汉万集信息技术有限公司 A kind of trailer profile dimension measurement method, device and system
CN110531374A (en) * 2019-07-04 2019-12-03 浙江工业大学 A kind of vehicle side based on laser point cloud data and GDI overlooks drawing drawing method
CN110728747A (en) * 2019-09-29 2020-01-24 浙江工业大学 A three-dimensional vehicle contour rendering method based on laser point cloud data and OpenGL
CN111174747A (en) * 2020-01-17 2020-05-19 福建师范大学 System and method for automatically measuring profile of moving automobile
CN111207687A (en) * 2020-01-15 2020-05-29 中车株洲电力机车有限公司 Boundary detection method, device and system for railway vehicle
CN112381773A (en) * 2020-11-05 2021-02-19 东风柳州汽车有限公司 Key cross section data analysis method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005007479A1 (en) * 2003-07-18 2005-01-27 Jung-Dong Kim A safety device of platform
CN101666716A (en) * 2009-06-05 2010-03-10 中南大学 Railway locomotive running attitude measuring method
CN102060037A (en) * 2010-12-07 2011-05-18 安徽科富光电装备有限公司 Online dynamic detection device of all-periphery contour dimension of locomotive wheel pair
CN102941864A (en) * 2012-11-09 2013-02-27 武汉翔翼科技有限公司 Train loading state high-definition monitoring and overloading detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005007479A1 (en) * 2003-07-18 2005-01-27 Jung-Dong Kim A safety device of platform
CN101666716A (en) * 2009-06-05 2010-03-10 中南大学 Railway locomotive running attitude measuring method
CN102060037A (en) * 2010-12-07 2011-05-18 安徽科富光电装备有限公司 Online dynamic detection device of all-periphery contour dimension of locomotive wheel pair
CN102941864A (en) * 2012-11-09 2013-02-27 武汉翔翼科技有限公司 Train loading state high-definition monitoring and overloading detection method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109781023A (en) * 2017-11-14 2019-05-21 武汉万集信息技术有限公司 A kind of trailer profile dimension measurement method, device and system
CN109781023B (en) * 2017-11-14 2021-02-23 武汉万集信息技术有限公司 Trailer contour dimension measuring method, device and system
CN108007346A (en) * 2017-12-07 2018-05-08 西南交通大学 One kind visualization Metro Clearance Detection
CN108230386A (en) * 2018-01-05 2018-06-29 湖北汽车工业学院 A kind of image processing algorithm in automobile tube beam measurement
CN110531374A (en) * 2019-07-04 2019-12-03 浙江工业大学 A kind of vehicle side based on laser point cloud data and GDI overlooks drawing drawing method
CN110728747A (en) * 2019-09-29 2020-01-24 浙江工业大学 A three-dimensional vehicle contour rendering method based on laser point cloud data and OpenGL
CN111207687A (en) * 2020-01-15 2020-05-29 中车株洲电力机车有限公司 Boundary detection method, device and system for railway vehicle
CN111174747A (en) * 2020-01-17 2020-05-19 福建师范大学 System and method for automatically measuring profile of moving automobile
CN112381773A (en) * 2020-11-05 2021-02-19 东风柳州汽车有限公司 Key cross section data analysis method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104239904A (en) Non-contact detection method for external outline of railway vehicle
CN106871805B (en) vehicle-mounted rail gauge measuring system and measuring method
CN104359921B (en) A kind of fastener based on structure light disappearance detection method and device thereof
CN101666716B (en) Railway locomotive running attitude measuring method
CN101639452B (en) 3D detection method for rail surface defects
CN108248634A (en) Track switch and track full-sized abrasion vision measurer and its measuring method
CN103630088B (en) High accuracy tunnel cross-section detection method based on bidifly light belt and device
CN106767565A (en) One kind is used for brake block steel back plate plane degree automatic detection device and detection method
CN107401979B (en) Vehicle body vibration displacement compensation device and method for catenary detection
CN105133471B (en) Linear structured light pavement surface detection system-based pavement depth image production method
CN105699399B (en) A kind of detection device and method of SMT masterplates quality
CN106595596B (en) A kind of photogrammetric survey method of rail track to detection
CN211877797U (en) Concrete sleeper shape quality automatic detection device
CN107621229B (en) Real-time railway track width measurement system and method based on area array black and white camera
CN105241384B (en) A kind of steel rail welding line misalignment measuring method based on computer vision
CN104228874A (en) Rail vehicle exterior outline noncontact detection system
CN112288802A (en) A method for locating the center of the laser spot of the crane track laser measurement
CN117191794A (en) Part vision detection system
CN105113376B (en) Road surface roughness detector and detection method based on optical detection technology
CN205991785U (en) A kind of railway tunnel gauge dynamic detection system
CN204388805U (en) A kind of rail detects dolly
CN108844465B (en) Online dynamic measurement device and measurement method for geometric parameters of train wheels
CN113433560A (en) Positioning method and device for side inspection of robot, electronic equipment and medium
CN204287066U (en) A kind of fastener disappearance pick-up unit of structure based light
CN114913131B (en) A method for detecting absolute and relative vertical deformation of ballastless track structure

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141224

RJ01 Rejection of invention patent application after publication