CN209877895U - A Cylinder Diameter Measurement System Based on Line Structured Light - Google Patents
A Cylinder Diameter Measurement System Based on Line Structured Light Download PDFInfo
- Publication number
- CN209877895U CN209877895U CN201920274676.8U CN201920274676U CN209877895U CN 209877895 U CN209877895 U CN 209877895U CN 201920274676 U CN201920274676 U CN 201920274676U CN 209877895 U CN209877895 U CN 209877895U
- Authority
- CN
- China
- Prior art keywords
- structured light
- slide rail
- measurement system
- acquisition device
- line
- 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.)
- Active
Links
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
本实用新型提供一种基于线结构光的圆柱体直径测量系统,包括安装底板、线激光器、图像获取装置以及对称设置在安装底板顶部的两个支架,所述的线激光器和图像获取装置分别设置在两个支架的顶端,所述安装底板的顶部设置有滑轨,滑轨上滑动设置有用于放置待测圆柱体工件的滑动小车,本实用新型采用线结构光的方法测量圆柱体工件的直径大小,线结构光法以激光三角形法为基本测量原理,线激光器发出的激光面投射到被测圆柱体工件的表面,与待测圆柱体工件需要测量处的截面相交成一条光条,以激光为传递信息的载体,利用高分辨率的相机采集图像,建立数学模型,经过系统标定可以算出光条像素点在世界坐标系中的位置,即可得到被测圆柱体的直径大小。
The utility model provides a cylinder diameter measurement system based on line structured light, which includes an installation base plate, a line laser, an image acquisition device, and two brackets symmetrically arranged on the top of the installation base plate. The line laser and the image acquisition device are respectively arranged At the top of the two brackets, a slide rail is provided on the top of the installation base plate, and a sliding trolley for placing the cylindrical workpiece to be measured is slidably arranged on the slide rail. The utility model adopts the method of line structured light to measure the diameter of the cylindrical workpiece. The size, line structured light method uses the laser triangle method as the basic measurement principle. The laser surface emitted by the line laser is projected onto the surface of the measured cylindrical workpiece, and intersects with the cross-section of the cylindrical workpiece to be measured to form a light strip. As a carrier of information, a high-resolution camera is used to collect images, and a mathematical model is established. After system calibration, the position of the light bar pixel in the world coordinate system can be calculated, and the diameter of the measured cylinder can be obtained.
Description
技术领域technical field
本实用新型涉及一种圆柱体直径测量系统,具体涉及一种基于线结构光的圆柱体直径测量系统。The utility model relates to a cylinder diameter measurement system, in particular to a cylinder diameter measurement system based on line structured light.
背景技术Background technique
在工业生产领域中,需要测量圆柱体工件直径,以确定工件是否符合生产工艺要求。目前圆柱体直径的测量基本都是采用游标卡尺,需要在圆柱体不同截面多次测量,检测人员采用游标卡尺测量时,易受人为因素干扰,如测量人员的熟练程度、测量操作方法等,导致测量结果精度低、偏差大,且每次测量均需调整游标卡尺,工作效率低。In the field of industrial production, it is necessary to measure the diameter of a cylindrical workpiece to determine whether the workpiece meets the requirements of the production process. At present, vernier calipers are basically used to measure the diameter of cylinders, which need to be measured multiple times at different cross-sections of the cylinder. When the inspectors use vernier calipers to measure, they are easily disturbed by human factors, such as the proficiency of the surveyors, measurement operation methods, etc., resulting in measurement results. The accuracy is low, the deviation is large, and the vernier caliper needs to be adjusted for each measurement, and the work efficiency is low.
实用新型内容Utility model content
本实用新型的目的是提供一种基于线结构光的圆柱体直径测量系统,能够大大提高工作效率,保证测量精度。The purpose of the utility model is to provide a cylinder diameter measurement system based on line structured light, which can greatly improve work efficiency and ensure measurement accuracy.
为了达到上述目的,本实用新型所采用的技术方案是:一种基于线结构光的圆柱体直径测量系统,包括安装底板、线激光器、图像获取装置以及对称设置在安装底板顶部的两个支架,所述的线激光器和图像获取装置分别设置在两个支架的顶端,所述安装底板的顶部设置有滑轨且滑轨位于所述的两个支架之间,滑轨上滑动设置有用于放置待测圆柱体工件的滑动小车,滑动小车的底部设置有与滑轨相匹配的滑块,滑轨的首端和末端均设置有用于对滑动小车进行限位的限位块。In order to achieve the above purpose, the technical solution adopted by the utility model is: a cylinder diameter measurement system based on line structured light, including a mounting base, a line laser, an image acquisition device and two brackets symmetrically arranged on the top of the mounting base, The line laser and the image acquisition device are respectively arranged on the top of the two brackets, the top of the installation base plate is provided with a slide rail and the slide rail is located between the two brackets, the slide rail is provided with slides for placing the A sliding trolley for measuring cylindrical workpieces. The bottom of the sliding trolley is provided with a slider matching the slide rail, and the head and end of the slide rail are provided with limit blocks for limiting the sliding trolley.
进一步的,所述滑动小车的顶端开设有用于放置待测圆柱体工件的V型槽。Further, a V-shaped groove for placing a cylindrical workpiece to be measured is opened on the top of the sliding trolley.
进一步的,所述图像获取装置通过安装盘可拆卸的安装在其所对应的支架上。Further, the image acquisition device is detachably installed on its corresponding bracket through the installation disk.
进一步的,所述图像获取装置与安装盘固定连接且图像获取装置位于安装盘远离支架的一侧,安装盘上对称开设有两条滑槽,每一条滑槽内均穿设有一根与支架螺纹连接的T型螺栓。Further, the image acquisition device is fixedly connected to the installation plate and the image acquisition device is located on the side of the installation plate away from the bracket. Two chutees are symmetrically opened on the installation plate, and each chute is pierced with a screw thread with the bracket. Connected T-bolts.
进一步的,所述的两条滑槽均呈弧形且两者的内弧面相对设置。Further, the two chutes are arc-shaped, and the inner arc surfaces of the two are opposite to each other.
进一步的,所述滑轨与所述的两个支架三者的中心轴线在同一竖直平面内。Further, the slide rail and the central axes of the two brackets are in the same vertical plane.
进一步的,所述图像获取装置为与上位机相连的相机。Further, the image acquisition device is a camera connected to a host computer.
与现有技术相比,本实用新型的有益效果是:本实用新型不需要检测人员采用游标卡尺进行测量,不会受检测人员的熟练程度、测量操作方法等的影响,测量精度高,且适用于连续快速测量,自动化程度高。Compared with the prior art, the beneficial effect of the utility model is that the utility model does not require the testing personnel to use a vernier caliper to measure, will not be affected by the proficiency of the testing personnel, the measurement operation method, etc., has high measurement accuracy, and is suitable for Continuous and rapid measurement, high degree of automation.
附图说明Description of drawings
图1是一种基于线结构光的圆柱体直径测量系统的结构示意图;Figure 1 is a schematic structural diagram of a cylinder diameter measurement system based on line structured light;
图2是图1的俯视图;Fig. 2 is the top view of Fig. 1;
图3是滑动小车与待测圆柱体工件的位置关系示意图;Fig. 3 is a schematic diagram of the positional relationship between the sliding car and the cylindrical workpiece to be measured;
图4是安装盘的结构示意图;Fig. 4 is a structural schematic diagram of the installation disk;
图5是使用一种基于线结构光的圆柱体直径测量系统的测量方法的流程示意图;5 is a schematic flow chart of a measurement method using a line-structured light-based cylinder diameter measurement system;
图6是图像物理坐标系、图像像素坐标系以及摄像机坐标系的模型建立示意图;Fig. 6 is a schematic diagram of model establishment of an image physical coordinate system, an image pixel coordinate system, and a camera coordinate system;
图7是以O为圆心的模型的建立示意图;Fig. 7 is a schematic diagram of establishing a model with O as the center;
图8是与被测圆柱体轴线垂直的虚拟平面的建立示意图;Fig. 8 is a schematic diagram of establishing a virtual plane perpendicular to the axis of the measured cylinder;
图中标记:1、支架,2、线激光器,3、限位块,4、滑轨,5、滑块,6、滑动小车,7、待测圆柱体工件,8、安装底板,9、图像获取装置,10、安装盘,11、滑槽,12、T型螺栓。Marks in the figure: 1. Bracket, 2. Line laser, 3. Limiting block, 4. Slide rail, 5. Slider, 6. Sliding trolley, 7. Cylindrical workpiece to be measured, 8. Mounting base plate, 9. Image Obtaining device, 10, mounting plate, 11, chute, 12, T-bolt.
具体实施方式Detailed ways
为使本实用新型实施例的目的、技术方案和优点更加清楚,下面将结合本实用新型中的附图,对本实用新型实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本实用新型一部分实施例,而不是全部的实施例,基于本实用新型中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本实用新型保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present utility model clearer, the technical solutions in the embodiments of the present utility model will be clearly and completely described below in conjunction with the accompanying drawings in the present utility model. Obviously, the described implementation Examples are some embodiments of the present utility model, rather than all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the present utility model. scope of protection.
一种基于线结构光的圆柱体直径测量系统,如图1和图2 所示,包括安装底板8、线激光器2、图像获取装置9以及对称设置在安装底板顶部的两个支架1,所述的线激光器2和图像获取装置 9分别设置在两个支架1的顶端,所述安装底板8的顶部设置有滑轨4且滑轨4位于所述的两个支架1之间,滑轨4上滑动设置有用于放置待测圆柱体工件7的滑动小车6,滑动小车6的底部设置有与滑轨4相匹配的滑块5,滑轨4的首端和末端均设置有用于对滑动小车6进行限位的限位块3。A cylinder diameter measurement system based on line structured light, as shown in Figure 1 and Figure 2, includes an installation base plate 8, a line laser 2, an image acquisition device 9 and two brackets 1 symmetrically arranged on the top of the installation base plate, the The line laser 2 and the image acquisition device 9 are respectively arranged on the tops of the two brackets 1, the top of the installation base plate 8 is provided with a slide rail 4 and the slide rail 4 is located between the two brackets 1, on the slide rail 4 Slidingly provided with a sliding trolley 6 for placing the cylindrical workpiece 7 to be measured, the bottom of the sliding trolley 6 is provided with a slider 5 matching the slide rail 4, and the head end and the end of the slide rail 4 are provided with a sliding trolley 6 Carry out the limit block 3 of limit.
进一步优化本方案,如图3所示,所述滑动小车6的顶端开设有用于放置待测圆柱体工件7的V型槽。To further optimize this solution, as shown in FIG. 3 , the top of the sliding trolley 6 is provided with a V-shaped groove for placing the cylindrical workpiece 7 to be measured.
进一步优化本方案,所述图像获取装置9通过安装盘10可拆卸的安装在其所对应的支架1上。To further optimize this solution, the image acquisition device 9 is detachably installed on its corresponding bracket 1 through the installation disk 10 .
进一步优化本方案,所述图像获取装置9与安装盘10固定连接且图像获取装置9位于安装盘10远离支架1的一侧,如图4所示,安装盘10上对称开设有两条滑槽11,每一条滑槽11内均穿设有一根与支架1螺纹连接的T型螺栓12。To further optimize this solution, the image acquisition device 9 is fixedly connected to the installation disk 10 and the image acquisition device 9 is located on the side of the installation disk 10 away from the bracket 1. As shown in FIG. 4 , two slide grooves are symmetrically opened on the installation disk 10 11. A T-bolt 12 threaded with the bracket 1 is threaded in each chute 11 .
进一步优化本方案,所述的两条滑槽11均呈弧形且两者的内弧面相对设置。To further optimize this solution, the two chutes 11 are both arc-shaped and the inner arc surfaces of the two are oppositely arranged.
进一步优化本方案,所述滑轨4与所述的两个支架1三者的中心轴线在同一竖直平面内。To further optimize this solution, the central axes of the slide rail 4 and the two brackets 1 are in the same vertical plane.
进一步优化本方案,所述图像获取装置9为与上位机相连的相机。To further optimize this solution, the image acquisition device 9 is a camera connected to a host computer.
使用本实用新型即一种基于线结构光的圆柱体直径测量系统的测量方法,包括以下步骤:Using the utility model, that is, a measuring method of a cylinder diameter measuring system based on line structured light, comprises the following steps:
步骤一:将待测圆柱体工件7放置在滑动小车6上开设的V型槽内;Step 1: Place the cylindrical workpiece 7 to be measured in the V-shaped groove opened on the sliding trolley 6;
步骤二:开启线激光器2并在滑轨4内来回滑动滑动小车6,使线激光器2发出的激光面与待测圆柱体工件7需要测量处的截面相交成一条光条;Step 2: Turn on the line laser 2 and slide the sliding trolley 6 back and forth in the slide rail 4, so that the laser surface emitted by the line laser 2 intersects with the cross-section of the cylindrical workpiece 7 to be measured to form a light strip;
步骤三:调节T型螺栓12使安装盘10与支架1分离,然后转动安装盘10使步骤二产生的光条位于图像获取装置9的视野内,然后调节T型螺栓12将安装盘10固定在支架1上;Step 3: Adjust the T-shaped bolt 12 to separate the mounting plate 10 from the bracket 1, then turn the mounting plate 10 so that the light bar generated in step 2 is within the field of view of the image acquisition device 9, and then adjust the T-shaped bolt 12 to fix the mounting plate 10 on the On bracket 1;
步骤四:通过图像获取装置9采集图片信息并将采集到的图片信息上传到上位机;Step 4: collect picture information by the image acquisition device 9 and upload the collected picture information to the host computer;
步骤五:上位机对采集到的图片信息进行处理后即可得到待测圆柱体工件7的直径。Step 5: After the host computer processes the collected image information, the diameter of the cylindrical workpiece 7 to be measured can be obtained.
进一步优化本方案,上位机对采集到的图片信息进行处理以得到待测圆柱体工件7的直径的过程包括以下步骤:To further optimize this scheme, the process of the host computer processing the collected image information to obtain the diameter of the cylindrical workpiece 7 to be measured includes the following steps:
步骤一:采用滤波及形态学处理的方法对采集到的图片信息进行预处理,使得光条在边界处完整精确;Step 1: Use filtering and morphological processing methods to preprocess the collected picture information, so that the light strips are complete and accurate at the boundary;
步骤二:提取光条中心并对光条中心进行拟合;Step 2: Extract the center of the light bar and fit the center of the light bar;
步骤三:根据拟合出的椭圆,计算出待测圆柱体工件的直径。Step 3: Calculate the diameter of the cylindrical workpiece to be measured according to the fitted ellipse.
以下对上位机的的处理流程进行详细说明:The following is a detailed description of the processing flow of the host computer:
本实用新型的原理如下:选用线结构光的方法测量圆柱体工件的直径大小,线结构光法以激光三角形法为基本测量原理,线激光器2发出的激光面投射到被测圆柱体工件7的表面,与待测圆柱体工件7需要测量处的截面相交成一条光条,以激光为传递信息的载体,利用高分辨率的相机采集图像,建立数学模型,经过系统标定可以算出光条像素点在世界坐标系中的位置,即可得到被测圆柱体的直径大小。The principle of the utility model is as follows: select the method of line structured light to measure the diameter of the cylindrical workpiece, the line structured light method takes the laser triangle method as the basic measurement principle, and the laser surface emitted by the line laser 2 is projected onto the surface of the measured cylindrical workpiece 7 The surface intersects with the section of the cylindrical workpiece 7 to be measured to form a light strip, using the laser as the carrier of information transmission, using a high-resolution camera to collect images, establishing a mathematical model, and calculating the pixel points of the light strip after system calibration The position in the world coordinate system can get the diameter of the measured cylinder.
在线结构光测量方法中,为了找到光条点的像素坐标和世界坐标系中对应的具体坐标,需要建立合适的测量模型。在线结构光测量方法中,常见的数学模型有:解析几何模型、人工神经网络模型和小孔成像模型,本实用新型在使用时,使用最常用的小孔成像模型。In the online structured light measurement method, in order to find the pixel coordinates of the light stripe points and the corresponding specific coordinates in the world coordinate system, it is necessary to establish a suitable measurement model. In the online structured light measurement method, the common mathematical models include: analytical geometry model, artificial neural network model and pinhole imaging model. When the utility model is used, the most commonly used pinhole imaging model is used.
一、首先,建立图像物理坐标系、图像像素坐标系以及摄像机坐标系,模型原理如图6所示,1. First, establish the image physical coordinate system, image pixel coordinate system and camera coordinate system. The principle of the model is shown in Figure 6.
1、图像物理坐标系1. Image physical coordinate system
O-xy为图像物理坐标系,以相机光轴与相机所拍摄图像平面交点 O为原点,O也是相机光轴与图像平面的交点,也被称为主点。O-xy is the physical coordinate system of the image. The origin is the intersection point O of the camera optical axis and the image plane captured by the camera. O is also the intersection point of the camera optical axis and the image plane, also known as the principal point.
2、图像像素坐标系2. Image pixel coordinate system
图像像素坐标系以相机所拍摄图像的左上角为坐标原点, (u,v)表示图像上某点的列坐标和行坐标。The image pixel coordinate system takes the upper left corner of the image captured by the camera as the coordinate origin, and (u, v) represent the column and row coordinates of a point on the image.
3、摄像机坐标系3. Camera coordinate system
Oc-XcYcZc坐标系为摄像机坐标系,坐标系以相机光心Oc为原点, OcZc为光轴,Ocxc和OcYc分别与图像物理坐标系的x和y轴平行。The O c -X c Y c Z c coordinate system is the camera coordinate system, the coordinate system takes the camera optical center O c as the origin, O c Z c is the optical axis, O c x c and O c Y c are respectively related to the image physical coordinate system The x and y axes are parallel.
4、世界坐标系4. World coordinate system
Ow-XwYw Z w坐标系为世界坐标系,位置需要根据系统标定方法和系统测量选定。The O w -X w Y w Z w coordinate system is the world coordinate system, and the position needs to be selected according to the system calibration method and system measurement.
设空间中的一点P在世界坐标系下的坐标为(xw,yw,zw),在摄像机坐标系中坐标为(xc,yc,zc),在图像像素坐标系中坐标为( u,v),(u,v)与(xc,yc,zc)之间的变换关系为:Let the coordinates of a point P in the space be (x w , y w , z w ) in the world coordinate system, the coordinates in the camera coordinate system be (x c , y c , z c ), and the coordinates in the image pixel coordinate system is (u, v), the transformation relationship between (u, v) and (x c , y c , z c ) is:
利用上式从(u,v)计算(xc,yc,zc)时,不能得到唯一解。因此,在线结构光测量方法中需要加入光平面约束,光条上的点既满足小孔成像模型,又满足光平面约束条件。When using the above formula to calculate (x c , y c , z c ) from (u, v), a unique solution cannot be obtained. Therefore, light plane constraints need to be added to the online structured light measurement method, and the points on the light strip satisfy both the pinhole imaging model and the light plane constraints.
设光平面在摄像机坐标系中的方程为axc+byc+czc+d=0,联立该方程和(1)式可得到:Let the equation of the light plane in the camera coordinate system be ax c +by c +cz c +d=0, and combine this equation with (1) to get:
由此可以得到(u,v)和(xc,yc,zc)之间的一一对应关系,点 P在摄像机坐标系下坐标(xc,yc,zc)和世界坐标系下坐标( xw,yw,zw)之间的关系如下:From this, the one-to-one correspondence between (u, v) and (x c , y c , z c ) can be obtained, and the coordinates of point P in the camera coordinate system (x c , y c , z c ) and the world coordinate system The relationship between the lower coordinates ( x w , y w , z w ) is as follows:
R和T分别为摄像机坐标系转换到世界坐标系时的旋转矩阵和平移矩阵,这样就可以由(u,v)直接计算出该点在世界坐标系下的坐标值(xw,yw,zw)。R and T are the rotation matrix and translation matrix respectively when the camera coordinate system is converted to the world coordinate system, so that the coordinate value of the point in the world coordinate system (x w , y w , z w ).
二、本实用新型的具体操作方法如图5所示,下面就所使用的具体方法结合图5进行详细说明:Two, the concrete method of operation of the present utility model is as shown in Figure 5, below with regard to the specific method used in conjunction with Figure 5, describe in detail:
1、基于线结构光的圆柱体直径测量系统,设计主要采用斜入式激光三角法,根据所用方法以及结合圆柱体测量的便捷性、实用性和可操作性,搭建上述测量系统;1. The cylinder diameter measurement system based on line structured light is mainly designed by oblique laser triangulation method. According to the method used and the convenience, practicability and operability of cylinder measurement, the above measurement system is built;
2、利用滑轨4和滑块5机构,使滑动小车6能够沿滑轨4水平移动,以测量待测圆柱体工件不同截面的直径大小;2. Using the slide rail 4 and slider 5 mechanism, the sliding trolley 6 can move horizontally along the slide rail 4 to measure the diameters of different sections of the cylindrical workpiece to be measured;
3、为使采集到的光条的边缘完整、精确,采用滤波及形态学处理的方法进行预处理,然后根据亚像素级边缘检测算法(本方法基于灰度重心法改进的方法)对光条中心进行拟合。3. In order to make the edges of the collected light strips complete and accurate, filter and morphological processing methods are used for preprocessing, and then the light strips are processed according to the sub-pixel edge detection algorithm (this method is based on the improved method of the gray center of gravity method). center fit.
该方法将光条灰度重心作为光条中心点,使用加权平均的思想。设在图像第i列提取的光条中心像素坐标为(uid,vid),第i 列第j行上光条点灰度值为G(j,i),则存在以下关系:This method regards the gray barycenter of the light bar as the center point of the light bar and uses the idea of weighted average. Assuming that the pixel coordinates of the center pixel of the light strip extracted in the i-th column of the image are (u id , v id ), and the gray value of the light-strip point on the i-th column and row j is G(j, i), the following relationship exists:
但是由于弧形光条亮度分布不均,用灰度重心法提取的光条中心效果不理想,本实用新型针对上述情况进行改进,先对图像采取开运算,去除光条周围的毛刺,平滑图像的边界,再使用Zhang并行快速细化算法对图像进行细化,最后对细化后的图像继续使用灰度重心法进行处理,得到精度相对高的光条中心。However, due to the uneven brightness distribution of the arc-shaped light strip, the effect of the center of the light strip extracted by the gray-scale center of gravity method is not ideal. The utility model improves the above situation. First, the image is opened to remove the burrs around the light strip and smooth the image. Then use the Zhang parallel fast thinning algorithm to thin the image, and finally continue to use the gray-scale center of gravity method to process the thinned image to obtain the center of the light bar with relatively high precision.
把得到的光条中心线进行拟合,由于线激光入射方向与待测圆柱体存在一定的夹角,使得到的光条中心线经过拟合是一个椭圆,为了解决这一问题,本实用新型提出了一种基于圆心约束的圆柱体直径测量算法,建立以O为圆心的模型,如图7所示,A,B,C,D为圆上的点,H为AC和BD的交点,根据圆的几何关系可得:Fitting the center line of the light strip obtained, because there is a certain angle between the incident direction of the line laser and the cylinder to be measured, the center line of the light strip obtained is an ellipse after fitting. In order to solve this problem, the utility model A cylinder diameter measurement algorithm based on the constraint of the center of the circle is proposed, and a model with O as the center of the circle is established. As shown in Figure 7, A, B, C, and D are points on the circle, and H is the intersection of AC and BD. According to The geometric relationship of a circle can be obtained:
AH×CH=BH×DH=r2-OH2 (5)AH×CH=BH×DH=r 2 -OH 2 (5)
其中,r为圆的半径,设圆心O点的坐标为(x0y0),A,B,C,D 点的坐标分别为(x1,y1),(x2,y2),(x3,y3),(x4,y4),利用A,B,C,D 点的坐标可以得到H点的坐标(x5,y5)。Among them, r is the radius of the circle, let the coordinates of point O of the center of the circle be (x 0 y 0 ), the coordinates of points A, B, C, and D are respectively (x 1 , y 1 ), (x 2 , y 2 ), (x 3 , y 3 ), (x 4 , y 4 ), using the coordinates of points A, B, C, and D, the coordinates (x 5 , y 5 ) of point H can be obtained.
为了提高测量精度,建立了一个与被测圆柱体轴线垂直的虚拟平面,如图8所示,其中,π2为与MN垂直的虚拟平面,Pi为圆柱体上的被测点,Qi点为Pi点在π2面上的投影,将虚拟平面上圆弧 cd上的点Qi均分为4个区域,每个区域上的点的个数为n,A,B,C,D 分别对应4个区域的点。设Ai为第i个点,则Bi为第i+n个点,Ci为第 i+2n个点,Di为第i+3n个点。将Qi点的局部坐标带入(5)式中,可以得到优化圆心点的目标函数:In order to improve the measurement accuracy, a virtual plane perpendicular to the axis of the measured cylinder is established, as shown in Figure 8 , where π2 is the virtual plane perpendicular to MN, P i is the measured point on the cylinder, Q i The point is the projection of point P i on the π 2 plane, and the point Q i on the arc cd on the virtual plane is divided into 4 areas equally, and the number of points on each area is n, A, B, C, D corresponds to the points of the 4 regions respectively. Let A i be the i-th point, then B i is the i+n-th point, C i is the i+2n-th point, and D i is the i+3n-th point. Bringing the local coordinates of point Q i into Equation (5), the objective function of the optimized circle center point can be obtained:
其中r为圆柱体半径的估计值。where r is an estimate of the radius of the cylinder.
在图7中,L为圆上的一条弦,F为弦的中点,OF⊥L,即 OF·L=0。故优化圆心点的目标函数还可以表示为:In Fig. 7, L is a chord on the circle, F is the midpoint of the chord, OF⊥L, namely OF·L=0. Therefore, the objective function of optimizing the center point can also be expressed as:
联立(6)和(7)式,得到优化圆心点的优化函数为:Combining equations (6) and (7), the optimization function of the optimized circle center point is obtained as:
求(8)式的最小值是一个非线性优化问题,求出目标函数的最优解,得到优化后的圆心Oc,设Oc的坐标为(xc,yc),将Oc和Qi点的局部坐标代入(9)式,得到被测圆柱体直径:Finding the minimum value of formula (8) is a nonlinear optimization problem. Find the optimal solution of the objective function and get the optimized center of circle O c . Let the coordinates of O c be (x c , y c ), and combine O c and The local coordinates of point Q i are substituted into formula (9) to obtain the diameter of the measured cylinder:
其中N=4×n。where N=4×n.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本实用新型。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本实用新型的精神或范围的情况下,在其它实施例中实现。因此,本实用新型将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to realize or use the utility model. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to these embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920274676.8U CN209877895U (en) | 2019-03-05 | 2019-03-05 | A Cylinder Diameter Measurement System Based on Line Structured Light |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201920274676.8U CN209877895U (en) | 2019-03-05 | 2019-03-05 | A Cylinder Diameter Measurement System Based on Line Structured Light |
Publications (1)
Publication Number | Publication Date |
---|---|
CN209877895U true CN209877895U (en) | 2019-12-31 |
Family
ID=68953907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201920274676.8U Active CN209877895U (en) | 2019-03-05 | 2019-03-05 | A Cylinder Diameter Measurement System Based on Line Structured Light |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN209877895U (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109708583A (en) * | 2019-03-05 | 2019-05-03 | 洛阳德晶智能科技有限公司 | A cylinder diameter measurement system and measurement method based on line structured light |
CN113029017A (en) * | 2021-01-22 | 2021-06-25 | 中铁大桥局集团有限公司 | Acceptance equipment and acceptance method for columnar reinforcement cage |
CN114322802A (en) * | 2021-12-30 | 2022-04-12 | 苏州中科行智智能科技有限公司 | A Wire Diameter Measurement Method Based on 3D Line Laser Camera |
CN115077423A (en) * | 2022-06-16 | 2022-09-20 | 西南交通大学 | Portable high-speed turnout detection trolley and method based on line laser technology |
CN115541598A (en) * | 2022-08-24 | 2022-12-30 | 深圳市二郎神视觉科技有限公司 | Automobile appearance detection method, device and system |
-
2019
- 2019-03-05 CN CN201920274676.8U patent/CN209877895U/en active Active
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109708583A (en) * | 2019-03-05 | 2019-05-03 | 洛阳德晶智能科技有限公司 | A cylinder diameter measurement system and measurement method based on line structured light |
CN113029017A (en) * | 2021-01-22 | 2021-06-25 | 中铁大桥局集团有限公司 | Acceptance equipment and acceptance method for columnar reinforcement cage |
CN114322802A (en) * | 2021-12-30 | 2022-04-12 | 苏州中科行智智能科技有限公司 | A Wire Diameter Measurement Method Based on 3D Line Laser Camera |
CN115077423A (en) * | 2022-06-16 | 2022-09-20 | 西南交通大学 | Portable high-speed turnout detection trolley and method based on line laser technology |
CN115077423B (en) * | 2022-06-16 | 2023-03-14 | 西南交通大学 | Portable high-speed turnout detection trolley and method based on line laser technology |
CN115541598A (en) * | 2022-08-24 | 2022-12-30 | 深圳市二郎神视觉科技有限公司 | Automobile appearance detection method, device and system |
CN115541598B (en) * | 2022-08-24 | 2024-05-14 | 深圳市二郎神视觉科技有限公司 | Automobile appearance detection method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN209877895U (en) | A Cylinder Diameter Measurement System Based on Line Structured Light | |
CN103499302B (en) | The camshaft diameter dimension On-line Measuring Method of structure based light Vision imaging system | |
CN102012217B (en) | Binocular vision-based three-dimensional geometric shape measurement method for large-shape object | |
CN102589453B (en) | Shaft workpiece outer diameter image measuring device and measuring method thereof | |
CN102607977B (en) | Wear in-situ measurement device and method based on digital image processing | |
CN106553086B (en) | The complex-curved drilling point law vector measuring method of quick high accuracy | |
CN104677301B (en) | A kind of spiral welded pipe pipeline external diameter measuring device of view-based access control model detection and method | |
CN101576375B (en) | A rapid processing method for laser vision images of rail wear | |
CN103615980B (en) | Method and system for measuring parameters of round holes in plate | |
WO2015055060A1 (en) | Online detecting method for continuous casting slab surface quality | |
CN106382886B (en) | One kind is for indexable insert tip, throw away tip processing on-line measuring device and method | |
Duan et al. | High precision edge detection algorithm for mechanical parts | |
CN206944946U (en) | High-speed cutting deformation measuring device based on DIC technologies and infrared camera technology | |
CN108303045A (en) | A kind of surface roughness measuring method and device | |
CN107121061B (en) | A kind of drilling point law vector method for solving based on elliptic cone constraint | |
CN109751964B (en) | High-precision non-contact pipe diameter measuring method and device | |
CN105571523A (en) | Tooth error vision measurement method for involute of straight toothed spur gear | |
CN102645171A (en) | Device and method for measuring size and roundness of tiny round hole at same time | |
CN104215178A (en) | Object volume non-contact measuring method and device based on reflection mirror secondary imaging | |
CN108765495A (en) | A kind of quick calibrating method and system based on binocular vision detection technology | |
CN113776462B (en) | Three-dimensional shape detection method for high-speed rail ballastless track bearing platform based on digital image | |
CN109489581B (en) | Large-pitch conical external thread detection device and method | |
CN211042086U (en) | Contact net geometric parameters dynamic detector based on binocular 3D vision | |
CN108489830A (en) | Crack propagation measuring system | |
CN107330886A (en) | A kind of high-precision quantization method of surface microlesion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |