WO2023185550A1 - Visual measurement guiding device, method and system for cylinder nested assembly centering - Google Patents

Visual measurement guiding device, method and system for cylinder nested assembly centering Download PDF

Info

Publication number
WO2023185550A1
WO2023185550A1 PCT/CN2023/082806 CN2023082806W WO2023185550A1 WO 2023185550 A1 WO2023185550 A1 WO 2023185550A1 CN 2023082806 W CN2023082806 W CN 2023082806W WO 2023185550 A1 WO2023185550 A1 WO 2023185550A1
Authority
WO
WIPO (PCT)
Prior art keywords
cylinder
deviation
measured
coordinate system
pixel
Prior art date
Application number
PCT/CN2023/082806
Other languages
French (fr)
Chinese (zh)
Inventor
张东升
杨达
王硕
丁柯
Original Assignee
上海大学绍兴研究院
上海大学
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 上海大学绍兴研究院, 上海大学 filed Critical 上海大学绍兴研究院
Publication of WO2023185550A1 publication Critical patent/WO2023185550A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • G01B11/27Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes for testing the alignment of axes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Definitions

  • the present invention relates to the technical field of optical measurement, and in particular to a visual measurement guidance device, method and system for cylinder nesting and pairing.
  • Cylindrical structural parts are widely used in pipeline engineering, metallurgy, aerospace manufacturing and other industries. Both ends of cylindrical structural parts often require complex connection, assembly or sealing work, especially in the special equipment manufacturing industry.
  • the coaxial butt assembly process of segmented cylindrical structural parts is directly related to the quality of the overall equipment.
  • the traditional docking assembly mode is to place the two cabin sections to be docked on the brackets of the docking assembly truck. Observe with the human eye and manually adjust the height of the bracket and the angle of the cabin to ensure that the screws, positioning pins and positioning pin holes on the docking surfaces of the two cabins match accurately.
  • This assembly mode requires the participation of multiple people, and the docking efficiency depends on the experience and level of the operator.
  • LTS laser tracker
  • 3-DOF positioner or a 6-DOF symmetrical parallel mechanism Stewart platform to adjust the pose of the workpiece. This method is used in some small cabin sections.
  • each assembly requires repeating the process of placing the cabin sections on the parallel platform, installing the target ball, adjusting the attitude for docking, disassembling the target ball, and moving the cabin sections. This is obviously more tedious than manual assembly and consumes the operator's physical strength. Therefore, the above technology is not suitable for continuous assembly on a production line.
  • the purpose of the present invention is to provide a visual measurement guidance device, method and system for cylinder nesting and pairing, which has the advantages of non-contact, low cost, fast speed, precision and high degree of automation.
  • the present invention provides the following solutions:
  • an embodiment of the present invention provides a visual measurement guidance device for cylinder nesting and pairing, including: multiple measurement units and an integrated processor;
  • the measurement unit is used to obtain a target image when a preset condition is met;
  • the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder;
  • the preset condition is a plurality of
  • the measurement units are distributed around the periphery of the reference cylinder, and a plurality of the measurement units are located on a plane perpendicular to the measured cylinder; the plane is where the cross section of the butt end of the reference cylinder is located. flat;
  • the integrated processor is configured to process target images obtained by multiple measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and A posture adjustment instruction is output based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder.
  • the visual measurement guidance device includes at least three measurement units, and each measurement unit includes an image sensor and a light source.
  • the image sensor in the measurement unit is a camera;
  • the light source in the measurement unit is a linear light source;
  • the integrated processor used for:
  • the pixel-level vertical distance and the pixel-level lateral distance are calculated;
  • the pixel-level vertical distance is The axial movement distance of the measured cylinder under the image coordinate system, and the pixel-level lateral distance is the radial height difference between the measured cylinder and the reference cylinder;
  • the reference coordinate system takes the center of the circle of the end surface of the reference cylinder as the origin, the longitudinal axis of the reference cylinder as the Z axis, the horizontal axis of the reference cylinder as the X axis, and the vertical axis of the reference cylinder as the X axis.
  • the direct axis is the three-dimensional coordinate system established by the Y axis;
  • the first circle center coordinate is the The center coordinate of the cross section of the butt end of the reference cylinder
  • the second center coordinate is the center coordinate of the cross section of the butt end of the measured cylinder
  • the deviation between the butt end of the reference cylinder and the butt end of the measured cylinder includes center deviation and axial deviation.
  • the image sensor is provided with an imaging lens; based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, it is determined that the reference cylinder and the reference cylinder are in a reference coordinate system.
  • the integrated processor is used to:
  • ⁇ D represents the actual vertical distance
  • ⁇ d represents the pixel-level lateral distance
  • L represents the working distance of each measurement unit
  • l represents the image distance of each measurement unit
  • represents the reference value of the light emitted by the light source.
  • the incident angle of the cylinder surface, ⁇ is the angle between the optical axis of the camera and the imaging lens;
  • ⁇ S represents the actual lateral distance
  • ⁇ s represents the pixel-level vertical distance
  • k represents the ratio between the image pixel distance determined when calibrating the camera and the actual distance.
  • the integrated processor is configured to:
  • the deviation condition includes: the axial deviation is less than the vector detection threshold and the circle center deviation is less than the circle center detection threshold;
  • the pose adjustment instruction is output and the target image is updated.
  • the posture adjustment instruction includes a first adjustment instruction and a second adjustment instruction; in terms of outputting the posture adjustment instruction based on the deviation, the integrated processor is configured to:
  • the first judgment result indicates that the axial deviation is less than the vector detection threshold, then it is judged whether the circle center deviation is less than the circle center detection threshold, and a second judgment result is obtained;
  • a first adjustment instruction is output and the target image is updated; the first adjustment instruction is used to adjust the position of the target image in the reference coordinate system. Move the cylinder under test in the direction of the X axis;
  • a second adjustment instruction is output, and the target image is updated; the second adjustment instruction is used to adjust the center point of the circle in the reference coordinate system. Move the measured cylinder in the X-axis direction and the Y-axis direction.
  • a mobile component is also included;
  • the cylinder under test is placed on the moving component, and the moving component is used to move the cylinder under test according to the received posture adjustment instruction.
  • embodiments of the present invention provide a visual measurement guidance method in cylinder nesting and pairing, including:
  • the target image is obtained when the preset conditions are met;
  • the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder;
  • the preset condition is that multiple measurement units are distributed in the reference cylinder
  • the periphery of the body, and the plurality of measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross section of the butt end of the reference cylinder is located;
  • the posture adjustment instruction is an instruction to move the measured cylinder.
  • embodiments of the present invention provide a visual measurement guidance system for cylinder nesting and pairing, including:
  • a target image acquisition unit is used to acquire a target image when a preset condition is met;
  • the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder;
  • the preset condition is a plurality of measurements Units are distributed around the periphery of the reference cylinder, and a plurality of the measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross-section of the butt end of the reference cylinder is located;
  • a pose adjustment instruction determination unit is configured to process multiple target images acquired by the measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and A posture adjustment instruction is output based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder.
  • the present invention discloses the following technical effects:
  • the present invention provides a visual measurement guidance device, method and system for cylinder nesting and pairing. Compared with the traditional visual method, the present invention does not require markers to be pasted on the cylinder to be measured, and the measurement unit is simple to install and Small size enables contactless measurement.
  • the invention can accurately output adjustment instructions through image processing technology and triangulation method to achieve efficient and precise alignment of the reference cylinder and the measured cylinder. Therefore, the present invention has the advantages of high speed, high precision, high degree of automation, etc., and is suitable for continuous assembly on the production line.
  • the present invention is simple to operate, has high precision and is very economical. Therefore, it is very suitable for the centering measurement and guidance of various circular cross-section cylindrical objects.
  • Figure 1 is a structural block diagram of the visual measurement guidance device in the barrel nesting assembly provided by the embodiment of the present invention
  • Figure 2 is a schematic diagram of the selection of the reference coordinate system and the layout of the measurement units provided by the embodiment of the present invention
  • Figure 3 is a schematic diagram of the triangulation method provided by the embodiment of the present invention.
  • Figure 4 is a schematic structural diagram of a mobile component provided by an embodiment of the present invention.
  • Figure 5 is a schematic diagram of posture adjustment logic provided by an embodiment of the present invention.
  • Figure 6 is a physical diagram of the measurement unit provided by the embodiment of the present invention.
  • Figure 7 is a test result diagram provided by the embodiment of the present invention.
  • Figure 8 is a flow chart of the visual measurement guidance method in cylinder nesting and pairing provided by an embodiment of the present invention.
  • Figure 9 is a structural diagram of the visual measurement guidance system in the cylinder nesting assembly provided by the embodiment of the present invention.
  • Triangulation is a non-contact measurement method that utilizes triangulation principles and is widely used in industrial production sites. Its main advantages are simple optical path design, high precision, fast speed, strong real-time processing capabilities, flexible use, and wide application. .
  • the distance measurement principle of the triangulation method is to use the structured light emitted by the light source to project on the surface of the cylinder to be measured, forming a light spot.
  • the imaging position of the light spot on the photodetector will also change relatively.
  • the displacement of the measured cylinder can be obtained by obtaining the displacement of the photodetector spot position.
  • the present invention proposes a brand-new measurement and guidance system, that is, a visual measurement guidance device, method and system for cylinder nesting and pairing, which has the characteristics of non-contact, low cost, speed It has the advantages of speed, precision and high degree of automation.
  • the purpose of the embodiments of the present invention is to propose a multi-camera visual measurement guidance device based on triangulation method in view of the existing technical defects and equipment limitations, as well as the urgent need for circular cross-section cylinder nesting and matching technology. , that is, a visual measurement guidance device for cylinder nesting and pairing.
  • This device is a non-contact optical measuring device that can be applied to the alignment measurement of various cylindrical or cylindrical-like structures.
  • an embodiment of the present invention provides a visual measurement guidance device for cylinder nesting and pairing, including Includes: multiple measurement units and an integrated processor;
  • the measurement unit is used to obtain a target image when a preset condition is met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is a plurality of The measurement units are distributed around the periphery of the reference cylinder, and a plurality of the measurement units are located on a plane perpendicular to the measured cylinder; the plane is where the cross section of the butt end of the reference cylinder is located. flat.
  • the integrated processor is configured to process target images obtained by multiple measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and A posture adjustment instruction is output based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder, that is, the measured cylinder reaches the designated position through the posture adjustment instruction, thereby realizing the reference cylinder and the measured cylinder.
  • the measuring cylinder nesting set is being matched.
  • the visual measurement guidance device includes at least three measurement units, and each measurement unit includes an image sensor and a light source, and in the working state, the three measurement units The measuring units are distributed in the circumferential direction of the reference cylinder.
  • the image sensor in the measurement unit is a camera; the light source in the measurement unit is a linear light source.
  • the target image includes a first circle (A in Figure 2) and a second circle (B in Figure 2); the first circle is used to represent the docking end position of the reference cylinder. , the second circle is used to represent the position of the butt end of the measured cylinder.
  • the integrated processor is used for:
  • the target images obtained by multiple measurement units are processed to determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder.
  • the integrated processor is used to:
  • the pixel-level vertical distance and the pixel-level lateral distance are calculated; the pixel-level vertical distance is The axial movement distance of the measured cylinder under the image coordinate system, and the pixel-level lateral distance is the radial height difference between the measured cylinder and the reference cylinder.
  • the reference coordinate system takes the center of the circle of the end surface of the reference cylinder as the origin, the longitudinal axis of the reference cylinder as the Z axis, the horizontal axis of the reference cylinder as the X axis, and the vertical axis of the reference cylinder as the X axis.
  • the direct axis is the three-dimensional coordinate system established by the Y axis.
  • the first circle center coordinate is the The coordinates of the circle center of the cross section of the butt end of the reference cylinder
  • the second circle center coordinate is the center coordinate of the cross section of the butt end of the measured cylinder.
  • the deviation between the butt end of the reference cylinder and the butt end of the measured cylinder includes center deviation and axial deviation.
  • the image sensor is provided with an imaging lens; based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, determine the distance between the reference cylinder and the measured cylinder in the reference coordinate system Between the actual vertical distance and the actual lateral distance, the integrated processor is used to:
  • ⁇ D represents the actual vertical distance
  • ⁇ d represents the pixel-level lateral distance
  • L represents the working distance of each measurement unit
  • l represents the image distance of each measurement unit
  • represents the reference value of the light emitted by the light source.
  • the incident angle of the cylinder surface, ⁇ is the angle between the optical axis of the camera and the imaging lens.
  • ⁇ S represents the actual lateral distance
  • ⁇ s represents the pixel-level vertical distance
  • k represents the ratio between the image pixel distance determined when calibrating the camera and the actual distance.
  • ⁇ i is the angle between the camera axis and the X-axis of the reference coordinate system
  • R A is the radius of the cross section of the docking end of the reference cylinder
  • i is the point on the docking end.
  • the second circle center coordinate is determined.
  • the coordinates of the center of the circle of the measured cylinder are obtained, that is, the coordinates of the second center of the circle are (x A , y A , z A ).
  • any three measurement units can be selected from the n measurement units to calculate the corresponding circle center coordinates of the measured cylinder. After multiple measurements, the least squares method is used to fit the accurate circle center coordinates.
  • the central axis of the reference cylinder is the normal equation passing through the center of the circle on the surface of the reference cylinder, so the axis equation is:
  • any three measurement units can be selected from the n measurement units to calculate the corresponding axis equation of the measured cylinder. After multiple measurements, the least squares method is used to fit the accurate axis equation.
  • the integrated processor outputs a posture adjustment instruction, and the integrated processor is used to:
  • the deviation condition includes: the axial deviation is less than the vector detection threshold and the circle center deviation is less than the circle center detection threshold; if not, output the posture adjustment instruction and update the target image; if yes, then stop working.
  • the posture adjustment instruction includes a first adjustment instruction and a second adjustment instruction; outputting the posture adjustment instruction based on the deviation, the integrated processor is used to:
  • a second adjustment instruction is output, and the target image is updated; the second adjustment instruction is used to adjust the center point of the circle in the reference coordinate system. Move the measured cylinder in the X-axis direction and Y-axis direction. If the second judgment result indicates that the circle center deviation is less than the circle center detection threshold, the operation is stopped.
  • the visual measurement guidance device in the barrel nesting set provided by the embodiment of the present invention also includes a moving component as shown in Figure 4.
  • the cylinder under test is placed on the moving component, and the moving component is used to move the cylinder under test according to the received posture adjustment instruction.
  • appropriate vector detection threshold ⁇ n and circle center detection threshold ⁇ c are set according to the measurement accuracy requirements.
  • the datum plane as the XOY plane according to the measured point coordinates of the end circle of the butt end of the cylinder under test, calculate the normal vector of the end surface passing through the center of the circle and use it as the axis vector of the cylinder under test until The components of the axis vector in each coordinate axis are smaller than the preset vector detection threshold ⁇ n . Then compare the center positions of the reference cylinder and the measured cylinder.
  • the coordinate difference between the center of the end surface circle and the center of the reference plane is calculated, and the motor in the moving assembly is driven to adjust the cylinder under test in parallel. Until the axis vector and circle center deviation of the measured cylinder are less than the threshold, the adjustment is completed.
  • a datum coordinate system Oxyz is set on the datum cylinder.
  • the longitudinal axis of the datum cylinder is the Z axis
  • the vertical axis is the Y axis
  • the horizontal axis is the X axis.
  • each measuring unit respectively, measure the relative docking position of the reference cylinder and the end of the measured cylinder, and measure the vertical distance ⁇ d and lateral distance ⁇ s of the two line segments.
  • Use triangulation method to obtain the true vertical distance ⁇ D between the measured cylinder and the reference cylinder.
  • the real lateral distance ⁇ S is calculated based on the proportional relationship between the image pixel distance and the actual distance. Then calculate the coordinates of the corresponding point on the end of the measured cylinder based on the coordinates of the corresponding point on the end of the reference cylinder in step 5 and ⁇ D and ⁇ S.
  • an embodiment of the present invention provides a method for visual measurement guidance in cylinder nesting and pairing, including:
  • Step 100 Obtain a target image when the preset conditions are met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is that multiple measurement units are distributed at all locations.
  • the periphery of the reference cylinder, and the plurality of measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross section of the butt end of the reference cylinder is located.
  • Step 200 Process the target images acquired by multiple measurement units based on the triangulation method, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and output a bit based on the deviation.
  • Posture adjustment instruction is an instruction to move the measured cylinder.
  • an embodiment of the present invention provides a visual measurement guidance system for cylinder nesting and pairing, including:
  • the target image acquisition unit 300 is used to acquire a target image when a preset condition is met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is a plurality of Measuring units are distributed around the periphery of the reference cylinder, and multiple measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross-section of the butt end of the reference cylinder is located. .
  • the posture adjustment instruction determination unit 400 is configured to process a plurality of target images obtained by the measurement units based on the triangulation method, and determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, And output a posture adjustment instruction based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

A visual measurement guiding device for cylinder nested assembly centering, relating to the technical field of optical measurement. The device comprises a plurality of measuring units and an integrated processor; the measuring units are used for obtaining target images when a preset condition is satisfied; the target image is an image of the position of a butt joint end of a reference cylinder and the position of a butt joint end of a measured cylinder; the preset condition is that the plurality of measuring units are distributed on the periphery of the reference cylinder and are all located on a plane perpendicular to the measured cylinder; the plane is a plane where the cross section of the butt joint end of the reference cylinder is located; the integrated processor is used for processing the target images obtained by the plurality of measuring units on the basis of a triangulation method, determining a deviation between the butt joint end of the reference cylinder and the butt joint end of the measured cylinder, and outputting a pose adjusting instruction on the basis of the deviation; the pose adjusting instruction is an instruction for moving the measured cylinder. The present invention has the advantages of non-contact, low cost, high speed, high precision, high automation degree, etc. Further disclosed is a visual measurement guiding method for cylinder nested assembly centering.

Description

一种筒体嵌套装配对中的视觉测量引导装置、方法及系统A visual measurement guidance device, method and system for cylinder nesting and pairing 技术领域Technical field
本发明涉及光学测量技术领域,特别是涉及一种筒体嵌套装配对中的视觉测量引导装置、方法及系统。The present invention relates to the technical field of optical measurement, and in particular to a visual measurement guidance device, method and system for cylinder nesting and pairing.
背景技术Background technique
筒柱状结构件被广泛地应用在管道工程、冶金、航空航天制造业等行业。筒柱状结构件两端往往需要复杂的连接、装配或密封等工作,特别是特种装备制造行业,筒柱状结构件分段的同轴对接装配工艺直接关系到整体装备的质量。为满足工厂自动化生产线对对接精度和生产效率的需求,急需开发一种引导筒柱状结构件实现高精度同轴对接的技术方法。Cylindrical structural parts are widely used in pipeline engineering, metallurgy, aerospace manufacturing and other industries. Both ends of cylindrical structural parts often require complex connection, assembly or sealing work, especially in the special equipment manufacturing industry. The coaxial butt assembly process of segmented cylindrical structural parts is directly related to the quality of the overall equipment. In order to meet the needs of factory automation production lines for docking accuracy and production efficiency, there is an urgent need to develop a technical method for guiding cylindrical structural parts to achieve high-precision coaxial docking.
在航空航天制造业的总装环节中,现有的装配方法一般有两种:(1)传统的对接装配模式是将待对接的两个舱段分别放置到对接装配架车的托架上,通过人眼观察,手动调节托架高度和舱段角度,使两个舱段对接面上的螺钉、定位销及定位销孔准确配合。这种装配模式需要多人参与,对接效率取决于操作人员的经验和水平。(2)采用激光跟踪仪(LTS)作为测量手段,采用3自由度定位器(3-DOF positioner)或6自由度对称并联机构Stewart平台对工件位姿进行调整,此类方法在一些小型舱段的对接装配时,每次装配均需要重复舱段放置在并联台上、安装靶球、调姿对接、拆卸靶球以及移动舱段的过程。这显然要比人工装配更为繁琐且消耗操作人员的体力。因此,上述技术不适宜在生产流水线上的连续装配。In the final assembly process of the aerospace manufacturing industry, there are generally two existing assembly methods: (1) The traditional docking assembly mode is to place the two cabin sections to be docked on the brackets of the docking assembly truck. Observe with the human eye and manually adjust the height of the bracket and the angle of the cabin to ensure that the screws, positioning pins and positioning pin holes on the docking surfaces of the two cabins match accurately. This assembly mode requires the participation of multiple people, and the docking efficiency depends on the experience and level of the operator. (2) Use a laser tracker (LTS) as a measurement method, and use a 3-DOF positioner or a 6-DOF symmetrical parallel mechanism Stewart platform to adjust the pose of the workpiece. This method is used in some small cabin sections. During docking and assembly, each assembly requires repeating the process of placing the cabin sections on the parallel platform, installing the target ball, adjusting the attitude for docking, disassembling the target ball, and moving the cabin sections. This is obviously more tedious than manual assembly and consumes the operator's physical strength. Therefore, the above technology is not suitable for continuous assembly on a production line.
发明内容Contents of the invention
本发明的目的是提供一种筒体嵌套装配对中的视觉测量引导装置、方法及系统,具有非接触、成本低、速度快、精度以及自动化程度高等优点。The purpose of the present invention is to provide a visual measurement guidance device, method and system for cylinder nesting and pairing, which has the advantages of non-contact, low cost, fast speed, precision and high degree of automation.
为实现上述目的,本发明提供了如下方案:In order to achieve the above objects, the present invention provides the following solutions:
第一方面,本发明实施例提供的一种筒体嵌套装配对中的视觉测量引导装置,包括:多个测量单元和一个集成化处理器;In a first aspect, an embodiment of the present invention provides a visual measurement guidance device for cylinder nesting and pairing, including: multiple measurement units and an integrated processor;
所述测量单元,用于在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个所述测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面;The measurement unit is used to obtain a target image when a preset condition is met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is a plurality of The measurement units are distributed around the periphery of the reference cylinder, and a plurality of the measurement units are located on a plane perpendicular to the measured cylinder; the plane is where the cross section of the butt end of the reference cylinder is located. flat;
所述集成化处理器,用于基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令。The integrated processor is configured to process target images obtained by multiple measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and A posture adjustment instruction is output based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder.
可选地,所述视觉测量引导装置至少包括3个所述测量单元,且每个所述测量单元均包括图像传感器和光源。Optionally, the visual measurement guidance device includes at least three measurement units, and each measurement unit includes an image sensor and a light source.
可选地,所述测量单元中的图像传感器为相机;所述测量单元中的光源为线光源; 在所述基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差方面,所述集成化处理器,用于:Optionally, the image sensor in the measurement unit is a camera; the light source in the measurement unit is a linear light source; In terms of processing the target images acquired by multiple measurement units based on triangulation and determining the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, the integrated processor , used for:
在图像坐标系下,基于所述线光源在所述基准筒体和所述被测圆筒上的像素坐标,计算像素级竖向距离和像素级横向距离;所述像素级竖向距离为在所述图像坐标系下的被测圆筒轴向移动距离,所述像素级横向距离为所述被测圆筒与所述基准圆筒之间的径向高度差;In the image coordinate system, based on the pixel coordinates of the line light source on the reference cylinder and the measured cylinder, the pixel-level vertical distance and the pixel-level lateral distance are calculated; the pixel-level vertical distance is The axial movement distance of the measured cylinder under the image coordinate system, and the pixel-level lateral distance is the radial height difference between the measured cylinder and the reference cylinder;
基于所述像素级竖向距离、所述像素级横向距离以及三角测量法,确定在基准坐标系下所述基准圆筒与所述被测圆筒之间的实际竖向距离和实际横向距离;所述基准坐标系是以基准筒体端面的圆心为原点,以所述基准筒体的纵轴为Z轴,以所述基准筒体的水平轴为X轴,以所述基准筒体的竖直轴为Y轴建立的三维坐标系;Based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, determine the actual vertical distance and the actual lateral distance between the reference cylinder and the measured cylinder in the reference coordinate system; The reference coordinate system takes the center of the circle of the end surface of the reference cylinder as the origin, the longitudinal axis of the reference cylinder as the Z axis, the horizontal axis of the reference cylinder as the X axis, and the vertical axis of the reference cylinder as the X axis. The direct axis is the three-dimensional coordinate system established by the Y axis;
以所述基准坐标系的原点为第一圆心坐标,基于所述实际竖向距离和所述实际横向距离,计算所述基准坐标系下的第二圆心坐标;所述第一圆心坐标为所述基准筒体的对接端的横截面的圆心坐标;所述第二圆心坐标为所述被测筒体的对接端的横截面的圆心坐标;Taking the origin of the reference coordinate system as the first circle center coordinate, and based on the actual vertical distance and the actual lateral distance, calculate the second circle center coordinate under the reference coordinate system; the first circle center coordinate is the The center coordinate of the cross section of the butt end of the reference cylinder; the second center coordinate is the center coordinate of the cross section of the butt end of the measured cylinder;
根据所述第一圆心坐标和所述第二圆心坐标,计算圆心偏差;Calculate the circle center deviation according to the first circle center coordinate and the second circle center coordinate;
以所述基准坐标系的Z轴方向为所述基准筒体的轴向向量,根据所述第二圆心坐标,计算所述基准坐标系下所述被测筒体的轴向向量,并基于所述基准筒体的轴向向量和所述被测筒体的轴向向量,计算轴向偏差;Taking the Z-axis direction of the reference coordinate system as the axial vector of the reference cylinder, calculate the axial vector of the measured cylinder in the reference coordinate system based on the second circle center coordinate, and based on the The axial vector of the reference cylinder and the axial vector of the measured cylinder are used to calculate the axial deviation;
其中,所述基准筒体的对接端与所述被测筒体的对接端之间的偏差包括圆心偏差和轴向偏差。Wherein, the deviation between the butt end of the reference cylinder and the butt end of the measured cylinder includes center deviation and axial deviation.
可选地,所述图像传感器设置有成像透镜;在所述基于所述像素级竖向距离、所述像素级横向距离以及三角测量法,确定在基准坐标系下所述基准圆筒与所述被测圆筒之间的实际竖向距离和实际横向距离方面,所述集成化处理器,用于:Optionally, the image sensor is provided with an imaging lens; based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, it is determined that the reference cylinder and the reference cylinder are in a reference coordinate system. In terms of the actual vertical distance and actual lateral distance between the measured cylinders, the integrated processor is used to:
根据公式计算各个所述测量单元位置处所述基准圆筒与被测圆筒之间的实际竖向距离;According to the formula Calculate the actual vertical distance between the reference cylinder and the measured cylinder at each of the measurement unit positions;
根据公式ΔS=k·Δs计算各个所述测量单元位置处所述基准圆筒与所述被测圆筒之间的实际横向距离;Calculate the actual lateral distance between the reference cylinder and the measured cylinder at each measurement unit position according to the formula ΔS=k·Δs;
其中,ΔD表示实际竖向距离,Δd表示像素级横向距离,L表示每个所述测量单元的工作距离,l表示每个所述测量单元的像距,θ表示所述光源发射的光在基准筒体表面的入射角,α为所述相机和成像透镜光轴之间的角度;Among them, ΔD represents the actual vertical distance, Δd represents the pixel-level lateral distance, L represents the working distance of each measurement unit, l represents the image distance of each measurement unit, and θ represents the reference value of the light emitted by the light source. The incident angle of the cylinder surface, α is the angle between the optical axis of the camera and the imaging lens;
ΔS表示实际横向距离,Δs表示像素级竖向距离,k表示在对所述相机标定时确定的图像像素距离与实际距离之间的比例值。ΔS represents the actual lateral distance, Δs represents the pixel-level vertical distance, and k represents the ratio between the image pixel distance determined when calibrating the camera and the actual distance.
可选地,在所述基于所述偏差输出位姿调节指令方面,所述集成化处理器,用于:Optionally, in terms of outputting posture adjustment instructions based on the deviation, the integrated processor is configured to:
判断是否满足偏差条件;所述偏差条件包括:所述轴向偏差小于向量检测阈值且所述圆心偏差小于圆心检测阈值;Determine whether the deviation condition is met; the deviation condition includes: the axial deviation is less than the vector detection threshold and the circle center deviation is less than the circle center detection threshold;
若否,则输出位姿调节指令,并更新所述目标图像。If not, the pose adjustment instruction is output and the target image is updated.
可选地,所述位姿调节指令包括第一调节指令和第二调节指令;在所述基于所述偏差输出位姿调节指令方面,所述集成化处理器,用于: Optionally, the posture adjustment instruction includes a first adjustment instruction and a second adjustment instruction; in terms of outputting the posture adjustment instruction based on the deviation, the integrated processor is configured to:
判断所述轴向偏差是否小于向量检测阈值,得到第一判断结果;Determine whether the axial deviation is less than the vector detection threshold, and obtain the first judgment result;
若所述第一判断结果表示所述轴向偏差小于所述向量检测阈值,则判断所述圆心偏差是否小于圆心检测阈值,得到第二判断结果;If the first judgment result indicates that the axial deviation is less than the vector detection threshold, then it is judged whether the circle center deviation is less than the circle center detection threshold, and a second judgment result is obtained;
若所述第一判断结果表示所述轴向偏差大于或者等于所述向量检测阈值,则输出第一调节指令,并更新所述目标图像;所述第一调节指令用于在所述基准坐标系的X轴方向上,移动所述被测筒体;If the first judgment result indicates that the axial deviation is greater than or equal to the vector detection threshold, a first adjustment instruction is output and the target image is updated; the first adjustment instruction is used to adjust the position of the target image in the reference coordinate system. Move the cylinder under test in the direction of the X axis;
若所述第二判断结果表示所述圆心偏差大于或者等于所述圆心检测阈值,则输出第二调节指令,并更新所述目标图像;所述第二调节指令用于在所述基准坐标系的X轴方向上和Y轴方向上,移动所述被测筒体。If the second judgment result indicates that the circle center deviation is greater than or equal to the circle center detection threshold, a second adjustment instruction is output, and the target image is updated; the second adjustment instruction is used to adjust the center point of the circle in the reference coordinate system. Move the measured cylinder in the X-axis direction and the Y-axis direction.
可选地,还包括移动组件;Optionally, a mobile component is also included;
在工作状态下,将所述被测筒体放置在所述移动组件上,所述移动组件,用于:根据接收到的所述位姿调节指令移动所述被测筒体。In the working state, the cylinder under test is placed on the moving component, and the moving component is used to move the cylinder under test according to the received posture adjustment instruction.
第二方面,本发明实施例提供了一种筒体嵌套装配对中的视觉测量引导方法,包括:In a second aspect, embodiments of the present invention provide a visual measurement guidance method in cylinder nesting and pairing, including:
在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面;The target image is obtained when the preset conditions are met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is that multiple measurement units are distributed in the reference cylinder The periphery of the body, and the plurality of measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross section of the butt end of the reference cylinder is located;
基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令。Process the target images acquired by multiple measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and output pose adjustment instructions based on the deviation ; The posture adjustment instruction is an instruction to move the measured cylinder.
第三方面,本发明实施例提供了一种筒体嵌套装配对中的视觉测量引导系统,包括:In a third aspect, embodiments of the present invention provide a visual measurement guidance system for cylinder nesting and pairing, including:
目标图像获取单元,用于在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面;A target image acquisition unit is used to acquire a target image when a preset condition is met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is a plurality of measurements Units are distributed around the periphery of the reference cylinder, and a plurality of the measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross-section of the butt end of the reference cylinder is located;
位姿调节指令确定单元,用于基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令。A pose adjustment instruction determination unit is configured to process multiple target images acquired by the measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and A posture adjustment instruction is output based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder.
根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
本发明提供了一种筒体嵌套装配对中的视觉测量引导装置、方法及系统,相比于传统的视觉方法,本发明不需要在被测筒体上粘贴标记物,测量单元安装简单且体积小,实现了无接触测量。本发明通过图像处理技术和三角测量法能够准确的输出调节指令,实现基准筒体和被测筒体的高效、精确对中。因此,本发明具有高速度、高精度、自动化程度高等优势,适宜在生产流水线上的连续装配。且本发明作为一种非接触的光学测量技术,该发明操作简单,精度高且非常的经济,因此非常适合各种圆截面筒状物体的对中测量和引导。 The present invention provides a visual measurement guidance device, method and system for cylinder nesting and pairing. Compared with the traditional visual method, the present invention does not require markers to be pasted on the cylinder to be measured, and the measurement unit is simple to install and Small size enables contactless measurement. The invention can accurately output adjustment instructions through image processing technology and triangulation method to achieve efficient and precise alignment of the reference cylinder and the measured cylinder. Therefore, the present invention has the advantages of high speed, high precision, high degree of automation, etc., and is suitable for continuous assembly on the production line. As a non-contact optical measurement technology, the present invention is simple to operate, has high precision and is very economical. Therefore, it is very suitable for the centering measurement and guidance of various circular cross-section cylindrical objects.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some of the drawings of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1为本发明实施例提供的筒体嵌套装配对中的视觉测量引导装置结构框图;Figure 1 is a structural block diagram of the visual measurement guidance device in the barrel nesting assembly provided by the embodiment of the present invention;
图2为本发明实施例提供的基准坐标系的选取以及测量单元布置示意图;Figure 2 is a schematic diagram of the selection of the reference coordinate system and the layout of the measurement units provided by the embodiment of the present invention;
图3为本发明实施例提供的三角测量法的原理图;Figure 3 is a schematic diagram of the triangulation method provided by the embodiment of the present invention;
图4为本发明实施例提供的移动组件结构示意图;Figure 4 is a schematic structural diagram of a mobile component provided by an embodiment of the present invention;
图5为本发明实施例提供的位姿调整逻辑示意图;Figure 5 is a schematic diagram of posture adjustment logic provided by an embodiment of the present invention;
图6为本发明实施例提供的测量单元实物图;Figure 6 is a physical diagram of the measurement unit provided by the embodiment of the present invention;
图7为本发明实施例提供的测试结果图;Figure 7 is a test result diagram provided by the embodiment of the present invention;
图8为本发明实施例提供的筒体嵌套装配对中的视觉测量引导方法的流程图;Figure 8 is a flow chart of the visual measurement guidance method in cylinder nesting and pairing provided by an embodiment of the present invention;
图9为本发明实施例提供的筒体嵌套装配对中的视觉测量引导系统的结构图。Figure 9 is a structural diagram of the visual measurement guidance system in the cylinder nesting assembly provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
随着科技的不断进步,采用激光或图像等计算机测量方法已成为自动化研究领域的热点之一。随着各应用领域的迅速发展,适用于漫反射表面的三角测量法逐渐成为一种广泛使用的非接触测量手段。三角测量法是一种利用三角原理的非接触式测量方法,被广泛应用于工业生产现场,其主要优点是光路设计简单、精度高、速度快、实时处理能力强、使用灵活、适用面广等。三角测量法的测距原理是利用光源发射出的结构光投射在被测筒体表面,形成光斑,在另一角度放置一个透镜,光斑通过透镜成像到光电探测器上,当被测筒体相对测距仪发生位移时,光电探测器上的光斑成像位置也会发生相对变化,获取光电探测器光斑位置位移量即可得到被测筒体的位移。With the continuous advancement of science and technology, the use of computer measurement methods such as laser or image has become one of the hot spots in the field of automation research. With the rapid development of various application fields, triangulation method suitable for diffuse reflective surfaces has gradually become a widely used non-contact measurement method. Triangulation is a non-contact measurement method that utilizes triangulation principles and is widely used in industrial production sites. Its main advantages are simple optical path design, high precision, fast speed, strong real-time processing capabilities, flexible use, and wide application. . The distance measurement principle of the triangulation method is to use the structured light emitted by the light source to project on the surface of the cylinder to be measured, forming a light spot. Place a lens at another angle, and the light spot is imaged onto the photodetector through the lens. When the cylinder to be measured faces each other, When the rangefinder is displaced, the imaging position of the light spot on the photodetector will also change relatively. The displacement of the measured cylinder can be obtained by obtaining the displacement of the photodetector spot position.
本发明基于三角测量法的测距原理,提出了一种全新的测量与引导系统,即一种筒体嵌套装配对中的视觉测量引导装置、方法及系统,具有非接触、成本低、速度快、精度以及自动化程度高等优点。Based on the distance measurement principle of triangulation, the present invention proposes a brand-new measurement and guidance system, that is, a visual measurement guidance device, method and system for cylinder nesting and pairing, which has the characteristics of non-contact, low cost, speed It has the advantages of speed, precision and high degree of automation.
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
实施例一Embodiment 1
本发明实施例的目的是针对现有的技术缺陷和设备的局限性,以及圆截面筒体嵌套装配对中技术的迫切的需求,提出了一种基于三角测量法的多相机视觉测量引导装置,即一种筒体嵌套装配对中的视觉测量引导装置。该装置是一种非接触式的光学测量装置,可以应用于各种圆筒或者类圆筒状结构的对中测量。The purpose of the embodiments of the present invention is to propose a multi-camera visual measurement guidance device based on triangulation method in view of the existing technical defects and equipment limitations, as well as the urgent need for circular cross-section cylinder nesting and matching technology. , that is, a visual measurement guidance device for cylinder nesting and pairing. This device is a non-contact optical measuring device that can be applied to the alignment measurement of various cylindrical or cylindrical-like structures.
如图1所示,本发明实施例提供的一种筒体嵌套装配对中的视觉测量引导装置,包 括:多个测量单元和一个集成化处理器;As shown in Figure 1, an embodiment of the present invention provides a visual measurement guidance device for cylinder nesting and pairing, including Includes: multiple measurement units and an integrated processor;
所述测量单元,用于在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个所述测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面。The measurement unit is used to obtain a target image when a preset condition is met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is a plurality of The measurement units are distributed around the periphery of the reference cylinder, and a plurality of the measurement units are located on a plane perpendicular to the measured cylinder; the plane is where the cross section of the butt end of the reference cylinder is located. flat.
所述集成化处理器,用于基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令,即通过位姿调节指令使所述被测筒体到达指定位置,实现基准筒体和被测筒体的嵌套装配对中。The integrated processor is configured to process target images obtained by multiple measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and A posture adjustment instruction is output based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder, that is, the measured cylinder reaches the designated position through the posture adjustment instruction, thereby realizing the reference cylinder and the measured cylinder. The measuring cylinder nesting set is being matched.
作为一种优选的实施方式,本发明实施例提供的所述视觉测量引导装置至少包括3个所述测量单元,且每个所述测量单元均包括图像传感器和光源,并在工作状态下3个测量单元在基准筒体周向上分布。As a preferred implementation, the visual measurement guidance device provided by the embodiment of the present invention includes at least three measurement units, and each measurement unit includes an image sensor and a light source, and in the working state, the three measurement units The measuring units are distributed in the circumferential direction of the reference cylinder.
作为一种优选的实施方式,本发明实施例所述的测量单元中的图像传感器为相机;所述测量单元中的光源为线光源。As a preferred implementation manner, the image sensor in the measurement unit according to the embodiment of the present invention is a camera; the light source in the measurement unit is a linear light source.
如图2所示,所述目标图像包括第一圆(图2中的A)和第二圆(图2中的B);所述第一圆用于表征所述基准筒体的对接端位置,所述第二圆用于表征所述被测筒体的对接端位置。As shown in Figure 2, the target image includes a first circle (A in Figure 2) and a second circle (B in Figure 2); the first circle is used to represent the docking end position of the reference cylinder. , the second circle is used to represent the position of the butt end of the measured cylinder.
在控制测量单元和相机标定方面,所述集成化处理器,用于:In terms of controlling the measurement unit and camera calibration, the integrated processor is used for:
依次打开n个测量单元,使目标图像实时显示在显示屏上。调节相机位姿及光圈并对焦,使基准筒体和被测筒体在视场中清晰成像。对各相机进行标定,得到图像像素距离与真实距离之间的比例关系k。Open n measurement units in sequence so that the target image is displayed on the display screen in real time. Adjust the camera posture, aperture and focus so that the reference cylinder and the measured cylinder are clearly imaged in the field of view. Calibrate each camera to obtain the proportional relationship k between the image pixel distance and the real distance.
基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,所述集成化处理器,用于:Based on the triangulation method, the target images obtained by multiple measurement units are processed to determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder. The integrated processor is used to:
在图像坐标系下,基于所述线光源在所述基准筒体和所述被测圆筒上的像素坐标,计算像素级竖向距离和像素级横向距离;所述像素级竖向距离为在所述图像坐标系下的被测圆筒轴向移动距离,所述像素级横向距离为所述被测圆筒与所述基准圆筒之间的径向高度差。In the image coordinate system, based on the pixel coordinates of the line light source on the reference cylinder and the measured cylinder, the pixel-level vertical distance and the pixel-level lateral distance are calculated; the pixel-level vertical distance is The axial movement distance of the measured cylinder under the image coordinate system, and the pixel-level lateral distance is the radial height difference between the measured cylinder and the reference cylinder.
基于所述像素级竖向距离、所述像素级横向距离以及三角测量法,确定在基准坐标系下所述基准圆筒与所述被测圆筒之间的实际竖向距离和实际横向距离;所述基准坐标系是以基准筒体端面的圆心为原点,以所述基准筒体的纵轴为Z轴,以所述基准筒体的水平轴为X轴,以所述基准筒体的竖直轴为Y轴建立的三维坐标系。Based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, determine the actual vertical distance and the actual lateral distance between the reference cylinder and the measured cylinder in the reference coordinate system; The reference coordinate system takes the center of the circle of the end surface of the reference cylinder as the origin, the longitudinal axis of the reference cylinder as the Z axis, the horizontal axis of the reference cylinder as the X axis, and the vertical axis of the reference cylinder as the X axis. The direct axis is the three-dimensional coordinate system established by the Y axis.
以所述基准坐标系的原点为第一圆心坐标,基于所述实际竖向距离和所述实际横向距离,计算所述基准坐标系下的第二圆心坐标;所述第一圆心坐标为所述基准筒体的对接端的横截面的圆心坐标;所述第二圆心坐标为所述被测筒体的对接端的横截面的圆心坐标。Taking the origin of the reference coordinate system as the first circle center coordinate, and based on the actual vertical distance and the actual lateral distance, calculate the second circle center coordinate under the reference coordinate system; the first circle center coordinate is the The coordinates of the circle center of the cross section of the butt end of the reference cylinder; the second circle center coordinate is the center coordinate of the cross section of the butt end of the measured cylinder.
根据所述第一圆心坐标和所述第二圆心坐标,计算圆心偏差。Calculate the circle center deviation according to the first circle center coordinate and the second circle center coordinate.
以所述基准坐标系的Z轴方向为所述基准筒体的轴向向量,根据所述第二圆心坐标,计算所述基准坐标系下所述被测筒体的轴向向量,并基于所述基准筒体的轴向向量和所述被测筒体的轴向向量,计算轴向偏差。 Taking the Z-axis direction of the reference coordinate system as the axial vector of the reference cylinder, calculate the axial vector of the measured cylinder in the reference coordinate system based on the second circle center coordinate, and based on the The axial vector of the reference cylinder and the axial vector of the measured cylinder are used to calculate the axial deviation.
其中,所述基准筒体的对接端与所述被测筒体的对接端之间的偏差包括圆心偏差和轴向偏差。Wherein, the deviation between the butt end of the reference cylinder and the butt end of the measured cylinder includes center deviation and axial deviation.
进一步地,所述图像传感器设置有成像透镜;基于所述像素级竖向距离、所述像素级横向距离以及三角测量法,确定在基准坐标系下所述基准圆筒与所述被测圆筒之间的实际竖向距离和实际横向距离,所述集成化处理器,用于:Further, the image sensor is provided with an imaging lens; based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, determine the distance between the reference cylinder and the measured cylinder in the reference coordinate system Between the actual vertical distance and the actual lateral distance, the integrated processor is used to:
根据公式计算各个所述测量单元位置处所述基准圆筒与被测圆筒之间的实际竖向距离,如图3所示。According to the formula Calculate the actual vertical distance between the reference cylinder and the measured cylinder at each measurement unit position, as shown in Figure 3.
根据公式ΔS=k·Δs(2)计算各个所述测量单元位置处所述基准圆筒与所述被测圆筒之间的实际横向距离。The actual lateral distance between the reference cylinder and the measured cylinder at each measurement unit position is calculated according to the formula ΔS=k·Δs(2).
其中,ΔD表示实际竖向距离,Δd表示像素级横向距离,L表示每个所述测量单元的工作距离,l表示每个所述测量单元的像距,θ表示所述光源发射的光在基准筒体表面的入射角,α为所述相机和成像透镜光轴之间的角度。Among them, ΔD represents the actual vertical distance, Δd represents the pixel-level lateral distance, L represents the working distance of each measurement unit, l represents the image distance of each measurement unit, and θ represents the reference value of the light emitted by the light source. The incident angle of the cylinder surface, α, is the angle between the optical axis of the camera and the imaging lens.
ΔS表示实际横向距离,Δs表示像素级竖向距离,k表示在对所述相机标定时确定的图像像素距离与实际距离之间的比例值。ΔS represents the actual lateral distance, Δs represents the pixel-level vertical distance, and k represents the ratio between the image pixel distance determined when calibrating the camera and the actual distance.
进一步地,基于所述实际竖向距离和所述实际横向距离,计算所述基准坐标系下第二圆心坐标,所述集成化处理器,用于:Further, based on the actual vertical distance and the actual lateral distance, calculate the second circle center coordinate in the reference coordinate system, and the integrated processor is used to:
确定在所述基准坐标系下所述基准筒体的对接端的坐标值,即由测量单元的相对位置可得到基准筒体靠近被测筒体一端圆上的坐标,为:
(RA·cosγi,RA·sinγi,0)(i=1,2,3…)(3)
Determine the coordinate value of the docking end of the reference cylinder in the reference coordinate system, that is, the coordinates on the circle of one end of the reference cylinder close to the measured cylinder can be obtained from the relative position of the measurement unit, as:
( RA ·cosγ i , RA ·sinγ i ,0)(i=1,2,3...)(3)
其中,γi为相机轴线与所述基准坐标系的X轴的夹角,RA为所述基准筒体的对接端的横截面的半径,i为对接端上的点。Among them, γ i is the angle between the camera axis and the X-axis of the reference coordinate system, R A is the radius of the cross section of the docking end of the reference cylinder, and i is the point on the docking end.
基于所述实际竖向距离、所述实际横向距离以及确定的所述基准筒体的对接端的坐标值,计算在所述基准坐标系下所述被测筒体的对接端的坐标值,即:
((RA-ΔDi)·cosγi,(RA-ΔDi)·sinγi,ΔSi)(i=1,2,3…)(4)。
Based on the actual vertical distance, the actual lateral distance and the determined coordinate value of the docking end of the reference cylinder, calculate the coordinate value of the docking end of the measured cylinder in the reference coordinate system, that is:
(( RA -ΔD i )·cosγ i , ( RA -ΔD i )·sinγ i ,ΔS i )(i=1,2,3...) (4).
基于计算得到的所述被测筒体的对接端的坐标值,确定第二圆心坐标。Based on the calculated coordinate value of the butt end of the measured cylinder, the second circle center coordinate is determined.
以三个均匀分布的测量单元为例,设定被测筒体的对接端上的坐标为(xi,yi,zi)(i=1,2,3)。由三点到空间圆心坐标的距离相等可得:
Taking three evenly distributed measurement units as an example, set the coordinates on the butt end of the measured cylinder to (x i , y i , z i ) (i=1, 2, 3). From the equal distances from the three points to the coordinates of the center of the space circle, we can get:
将三个方程联立,同时消去RA得到:
By combining the three equations and eliminating R A at the same time, we get:
将上述三个方程分别表示为:
Express the above three equations as:
由式(7)可得关于圆心空间坐标的线性代数方程组,解得圆心坐标为:
From equation (7), we can get a system of linear algebraic equations about the spatial coordinates of the center of the circle. The solution of the coordinates of the center of the circle is:
从而得到被测筒体的圆心坐标,即第二圆心坐标为(xA,yA,zA)。Thus, the coordinates of the center of the circle of the measured cylinder are obtained, that is, the coordinates of the second center of the circle are (x A , y A , z A ).
当测量单元n大于三个时,可在n个测量单元中选择任意三个测量单元计算出对应的被测筒体的圆心坐标,多次测量后采用最小二乘法拟合出准确的圆心坐标。When the measurement unit n is greater than three, any three measurement units can be selected from the n measurement units to calculate the corresponding circle center coordinates of the measured cylinder. After multiple measurements, the least squares method is used to fit the accurate circle center coordinates.
进一步地,根据所述第二圆心坐标,计算所述基准坐标系下所述被测筒体的轴向向量,所述集成化处理器,用于:Further, according to the second circle center coordinate, calculate the axial vector of the measured cylinder in the reference coordinate system, and the integrated processor is used to:
以三个均匀分布的测量单元为例,设定测得的被测筒体靠近基准筒体端头上坐标,即被测筒体对接端上的坐标为(xi,yi,zi)(i=1,2,3)。设被测筒体对接端横截面的法向量为(a,b,c),则
(a,b,c)=((x2-x1,y2-y1,z2-z1)×(x3-x1,y3-y1,z3-z1))(9);
Taking three evenly distributed measurement units as an example, set the measured coordinates on the end of the measured cylinder close to the reference cylinder, that is, the coordinates on the butt end of the measured cylinder are (x i , y i , z i ) (i=1,2,3). Suppose the normal vector of the cross-section of the butt end of the cylinder under test is (a, b, c), then
(a,b,c)=((x 2 -x 1 ,y 2 -y 1 ,z 2 -z 1 )×(x 3 -x 1 ,y 3 -y 1 ,z 3 -z 1 ))( 9);
由式(9)计算可得:
It can be calculated from equation (9):
基准筒体的中心轴即为过基准筒体表面圆圆心的法线方程,因此轴线方程为:
The central axis of the reference cylinder is the normal equation passing through the center of the circle on the surface of the reference cylinder, so the axis equation is:
当测量单元n大于三个时,可在n个测量单元中选择任意三个测量单元计算出对应的被测筒体轴线方程,多次测量后采用最小二乘法拟合出准确的轴线方程。When the measurement unit n is greater than three, any three measurement units can be selected from the n measurement units to calculate the corresponding axis equation of the measured cylinder. After multiple measurements, the least squares method is used to fit the accurate axis equation.
进一步地,基于所述偏差输出位姿调节指令,所述集成化处理器,用于:Further, based on the deviation, the integrated processor outputs a posture adjustment instruction, and the integrated processor is used to:
判断是否满足偏差条件;所述偏差条件包括:所述轴向偏差小于向量检测阈值且所述圆心偏差小于圆心检测阈值;若否,则输出位姿调节指令,并更新所述目标图像;若是,则停止工作。Determine whether the deviation condition is met; the deviation condition includes: the axial deviation is less than the vector detection threshold and the circle center deviation is less than the circle center detection threshold; if not, output the posture adjustment instruction and update the target image; if yes, then stop working.
或者,所述位姿调节指令包括第一调节指令和第二调节指令;基于所述偏差输出位姿调节指令,所述集成化处理器,用于:Alternatively, the posture adjustment instruction includes a first adjustment instruction and a second adjustment instruction; outputting the posture adjustment instruction based on the deviation, the integrated processor is used to:
判断所述轴向偏差是否小于向量检测阈值,得到第一判断结果;若所述第一判断结果表示所述轴向偏差小于所述向量检测阈值,则判断所述圆心偏差是否小于圆心检测阈值,得到第二判断结果;若所述第一判断结果表示所述轴向偏差大于或者等于所述向量检测阈值,则输出第一调节指令,并更新所述目标图像;所述第一调节指令用于在所述基准坐标系的X轴方向上,移动所述被测筒体。 Determine whether the axial deviation is less than the vector detection threshold, and obtain a first judgment result; if the first judgment result indicates that the axial deviation is less than the vector detection threshold, then determine whether the circle center deviation is less than the circle center detection threshold, Obtain a second judgment result; if the first judgment result indicates that the axial deviation is greater than or equal to the vector detection threshold, then output a first adjustment instruction and update the target image; the first adjustment instruction is used to Move the measured cylinder in the X-axis direction of the reference coordinate system.
若所述第二判断结果表示所述圆心偏差大于或者等于所述圆心检测阈值,则输出第二调节指令,并更新所述目标图像;所述第二调节指令用于在所述基准坐标系的X轴方向和Y轴方向上,移动所述被测筒体。若所述第二判断结果表示所述圆心偏差小于所述圆心检测阈值,则停止工作。If the second judgment result indicates that the circle center deviation is greater than or equal to the circle center detection threshold, a second adjustment instruction is output, and the target image is updated; the second adjustment instruction is used to adjust the center point of the circle in the reference coordinate system. Move the measured cylinder in the X-axis direction and Y-axis direction. If the second judgment result indicates that the circle center deviation is less than the circle center detection threshold, the operation is stopped.
作为一种优选的实施方式,本发明实施例提供的筒体嵌套装配对中的视觉测量引导装置还包括如图4所示的移动组件。As a preferred implementation, the visual measurement guidance device in the barrel nesting set provided by the embodiment of the present invention also includes a moving component as shown in Figure 4.
在工作状态下,将所述被测筒体放置在所述移动组件上,所述移动组件,用于:根据接收到的所述位姿调节指令移动所述被测筒体。In the working state, the cylinder under test is placed on the moving component, and the moving component is used to move the cylinder under test according to the received posture adjustment instruction.
如图6所示,根据测量的精度要求设定合适的向量检测阈值θn和圆心检测阈值θc。首先调节被测筒体的轴线向量。在以基准面为XOY平面的三维直角坐标系中,根据测量出的被测筒体的对接端的端面圆的点坐标,计算此端面过该圆心的法向量并作为被测筒体轴线向量,直到轴线向量在各坐标轴的分量均小于预先设定的向量检测阈值θn。然后再比较基准筒体和被测筒体的圆心位置。根据测量出的被测筒体对接端的端面圆的点坐标,计算该端面圆心和基准面圆心的坐标差,驱动移动组件中的电机平行调整被测筒体。直到被测筒体的轴线向量和圆心偏差都小于阈值,调整完成。As shown in Figure 6, appropriate vector detection threshold θ n and circle center detection threshold θ c are set according to the measurement accuracy requirements. First adjust the axis vector of the cylinder being measured. In the three-dimensional rectangular coordinate system with the datum plane as the XOY plane, according to the measured point coordinates of the end circle of the butt end of the cylinder under test, calculate the normal vector of the end surface passing through the center of the circle and use it as the axis vector of the cylinder under test until The components of the axis vector in each coordinate axis are smaller than the preset vector detection threshold θ n . Then compare the center positions of the reference cylinder and the measured cylinder. According to the measured point coordinates of the end circle at the butt end of the cylinder under test, the coordinate difference between the center of the end surface circle and the center of the reference plane is calculated, and the motor in the moving assembly is driven to adjust the cylinder under test in parallel. Until the axis vector and circle center deviation of the measured cylinder are less than the threshold, the adjustment is completed.
现在以圆截面筒体为例,来说明一种圆截面筒体嵌套装配对中的视觉测量引导装置的操作过程为:Now, taking a circular cross-section cylinder as an example, we will illustrate the operation process of a visual measurement guidance device in nested matching of circular cross-section cylinders as follows:
1、以两个圆截面筒体中的一个圆截面筒体为基准筒体,另一个圆截面筒体为被测筒体。在基准筒体上设置基准坐标系Oxyz,基准筒体的纵轴为Z轴,竖直轴为Y轴,水平轴为X轴。1. Take one of the two circular cross-section cylinders as the reference cylinder, and the other circular cross-section cylinder as the measured cylinder. A datum coordinate system Oxyz is set on the datum cylinder. The longitudinal axis of the datum cylinder is the Z axis, the vertical axis is the Y axis, and the horizontal axis is the X axis.
2、在与基准筒体的对接端的横截面垂直的平面内布置3个测量单元,其实物如图6所示,即将3个测量单元固定在基准筒体外围的钢架上,3个测量单元彼此之间的夹角均为120°,如图2所示。2. Arrange 3 measuring units in a plane perpendicular to the cross section of the butt end of the reference cylinder. The actual object is as shown in Figure 6. That is, the 3 measuring units are fixed on the steel frame around the reference cylinder. The angles between them are all 120°, as shown in Figure 2.
3、先调整测量单元与基准筒体之间的工作距离,然后调节测量单元中相机的焦距,接着对相机进行标定,具体为:首先打开光源,然后调节相机光圈并对焦使被测筒体和基准筒体在视场内清晰成像,以在光源照射基准筒体的对接端位置与被测筒体的对接端时,能够获取表征基准筒体的对接端位置与被测筒体的对接端位置的图像;接着通过基准筒体表面部分工件的已知尺寸对相机进行标定,以获得图像像素距离与实际距离之间的比例关系。3. First adjust the working distance between the measurement unit and the reference cylinder, then adjust the focal length of the camera in the measurement unit, and then calibrate the camera. Specifically: first turn on the light source, then adjust the camera aperture and focus so that the measured cylinder and The reference cylinder is clearly imaged in the field of view, so that when the light source illuminates the docking end position of the reference cylinder and the docking end of the measured cylinder, the position of the docking end of the reference cylinder and the docking end position of the measured cylinder can be obtained. image; then calibrate the camera through the known size of the workpiece on the surface of the reference cylinder to obtain the proportional relationship between the image pixel distance and the actual distance.
4、与电机建立通讯联系。4. Establish communication with the motor.
5、把各测量单元得出的基准筒体端部坐标统一在步骤1设置的坐标系下,并计算基准筒体端部对应点的坐标。5. Unify the coordinates of the end of the reference cylinder obtained by each measurement unit under the coordinate system set in step 1, and calculate the coordinates of the corresponding points at the end of the reference cylinder.
6、分别启动各个测量单元,对基准筒体和被测筒体端部的相对对接位置进行测量,测得两个线段的竖向距离Δd和横向距离Δs。利用三角测量法得到被测筒体与基准筒体的真实竖向距离ΔD。根据图像像素距离与实际距离之间的比例关系计算出真实横向距离ΔS。再根据步骤5中的基准筒体端部对应点的坐标和ΔD和ΔS计算被测筒体端部上对应点的坐标。6. Start each measuring unit respectively, measure the relative docking position of the reference cylinder and the end of the measured cylinder, and measure the vertical distance Δd and lateral distance Δs of the two line segments. Use triangulation method to obtain the true vertical distance ΔD between the measured cylinder and the reference cylinder. The real lateral distance ΔS is calculated based on the proportional relationship between the image pixel distance and the actual distance. Then calculate the coordinates of the corresponding point on the end of the measured cylinder based on the coordinates of the corresponding point on the end of the reference cylinder in step 5 and ΔD and ΔS.
7、根据测量单元测得的被测筒体端面n个点坐标分别计算出被测筒体的轴线方程和圆心,并根据轴线方程和圆心计算偏差;接着根据这个偏差调节对应的电机,电机驱动两 个托架不断调整被测筒体的位姿,使被测筒体的轴线以及圆心与基准筒体一致,完成一次测量和对中引导。7. Calculate the axis equation and circle center of the measured cylinder based on the n point coordinates of the end face of the measured cylinder measured by the measuring unit, and calculate the deviation based on the axis equation and the circle center; then adjust the corresponding motor and motor drive based on this deviation two Each bracket continuously adjusts the posture of the cylinder under test so that the axis and center of the cylinder under test are consistent with the reference cylinder, completing one measurement and alignment guidance.
8、重复步骤6-7,当测量所得的基准筒体和被测筒体的同轴度小于装配误差时,完成视觉对中引导。测量结束。电机驱动被测筒体前进,完成两个基准筒体和被测筒体对接,对接结果如图7所示。8. Repeat steps 6-7. When the measured coaxiality between the reference cylinder and the measured cylinder is less than the assembly error, complete the visual alignment guidance. The measurement is finished. The motor drives the cylinder under test to move forward, completing the docking between the two reference cylinders and the cylinder under test. The docking results are shown in Figure 7.
实施例二Embodiment 2
如图8所示,本发明实施例提供的一种筒体嵌套装配对中的视觉测量引导方法,包括:As shown in Figure 8, an embodiment of the present invention provides a method for visual measurement guidance in cylinder nesting and pairing, including:
步骤100:在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面。Step 100: Obtain a target image when the preset conditions are met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is that multiple measurement units are distributed at all locations. The periphery of the reference cylinder, and the plurality of measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross section of the butt end of the reference cylinder is located.
步骤200:基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令。Step 200: Process the target images acquired by multiple measurement units based on the triangulation method, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and output a bit based on the deviation. Posture adjustment instruction; the posture adjustment instruction is an instruction to move the measured cylinder.
实施例三Embodiment 3
如图9所示,本发明实施例提供的一种筒体嵌套装配对中的视觉测量引导系统,包括:As shown in Figure 9, an embodiment of the present invention provides a visual measurement guidance system for cylinder nesting and pairing, including:
目标图像获取单元300,用于在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面。The target image acquisition unit 300 is used to acquire a target image when a preset condition is met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is a plurality of Measuring units are distributed around the periphery of the reference cylinder, and multiple measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross-section of the butt end of the reference cylinder is located. .
位姿调节指令确定单元400,用于基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令。The posture adjustment instruction determination unit 400 is configured to process a plurality of target images obtained by the measurement units based on the triangulation method, and determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, And output a posture adjustment instruction based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的方法、系统而言,由于其与实施例公开的装置相对应,所以描述的比较简单,相关之处参见装置部分说明即可。Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on its differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. As for the methods and systems disclosed in the embodiments, since they correspond to the devices disclosed in the embodiments, the description is relatively simple. For relevant details, please refer to the device description.
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。 This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and the core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the present invention There will be changes in the specific implementation methods and application scope of the ideas. In summary, the contents of this description should not be construed as limitations of the present invention.

Claims (7)

  1. 一种筒体嵌套装配对中的视觉测量引导装置,其特征在于,包括:多个测量单元和一个集成化处理器;A visual measurement guidance device for cylinder nesting and pairing, which is characterized in that it includes: multiple measurement units and an integrated processor;
    所述测量单元,用于在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个所述测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面;The measurement unit is used to obtain a target image when a preset condition is met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is a plurality of The measurement units are distributed around the periphery of the reference cylinder, and a plurality of the measurement units are located on a plane perpendicular to the measured cylinder; the plane is where the cross section of the butt end of the reference cylinder is located. flat;
    所述集成化处理器,用于基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令;The integrated processor is configured to process target images obtained by multiple measurement units based on triangulation, determine the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and Output a posture adjustment instruction based on the deviation; the posture adjustment instruction is an instruction to move the measured cylinder;
    所述测量单元中的图像传感器为相机;所述测量单元中的光源为线光源;在所述基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差方面,所述集成化处理器,用于:The image sensor in the measurement unit is a camera; the light source in the measurement unit is a line light source; after processing the target images obtained by multiple measurement units based on the triangulation method, the docking end of the reference cylinder is determined In terms of the deviation from the docking end of the cylinder being measured, the integrated processor is used for:
    在图像坐标系下,基于所述线光源在所述基准筒体和所述被测筒体上的像素坐标,计算像素级竖向距离和像素级横向距离;所述像素级竖向距离为在所述图像坐标系下的被测筒体轴向移动距离,所述像素级横向距离为所述被测筒体与所述基准筒体之间的径向高度差;In the image coordinate system, based on the pixel coordinates of the line light source on the reference cylinder and the measured cylinder, the pixel-level vertical distance and the pixel-level lateral distance are calculated; the pixel-level vertical distance is The axial movement distance of the measured cylinder under the image coordinate system, and the pixel-level lateral distance is the radial height difference between the measured cylinder and the reference cylinder;
    基于所述像素级竖向距离、所述像素级横向距离以及三角测量法,确定在基准坐标系下所述基准筒体与所述被测筒体之间的实际竖向距离和实际横向距离;所述基准坐标系是以基准筒体端面的圆心为原点,以所述基准筒体的纵轴为Z轴,以所述基准筒体的水平轴为X轴,以所述基准筒体的竖直轴为Y轴建立的三维坐标系;Based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, determine the actual vertical distance and the actual lateral distance between the reference cylinder and the measured cylinder in the reference coordinate system; The reference coordinate system takes the center of the circle of the end surface of the reference cylinder as the origin, the longitudinal axis of the reference cylinder as the Z axis, the horizontal axis of the reference cylinder as the X axis, and the vertical axis of the reference cylinder as the X axis. The direct axis is the three-dimensional coordinate system established by the Y axis;
    以所述基准坐标系的原点为第一圆心坐标,基于所述实际竖向距离和所述实际横向距离,计算所述基准坐标系下的第二圆心坐标;所述第一圆心坐标为所述基准筒体的对接端的横截面的圆心坐标;所述第二圆心坐标为所述被测筒体的对接端的横截面的圆心坐标;Taking the origin of the reference coordinate system as the first circle center coordinate, and based on the actual vertical distance and the actual lateral distance, calculate the second circle center coordinate under the reference coordinate system; the first circle center coordinate is the The center coordinate of the cross section of the butt end of the reference cylinder; the second center coordinate is the center coordinate of the cross section of the butt end of the measured cylinder;
    根据所述第一圆心坐标和所述第二圆心坐标,计算圆心偏差;Calculate the circle center deviation according to the first circle center coordinate and the second circle center coordinate;
    以所述基准坐标系的Z轴方向为所述基准筒体的轴向向量,根据所述第二圆心坐标,计算所述基准坐标系下所述被测筒体的轴向向量,并基于所述基准筒体的轴向向量和所述被测筒体的轴向向量,计算轴向偏差;Taking the Z-axis direction of the reference coordinate system as the axial vector of the reference cylinder, calculate the axial vector of the measured cylinder in the reference coordinate system based on the second circle center coordinate, and based on the The axial vector of the reference cylinder and the axial vector of the measured cylinder are used to calculate the axial deviation;
    其中,所述基准筒体的对接端与所述被测筒体的对接端之间的偏差包括圆心偏差和轴向偏差。Wherein, the deviation between the butt end of the reference cylinder and the butt end of the measured cylinder includes center deviation and axial deviation.
  2. 根据权利要求1所述的一种筒体嵌套装配对中的视觉测量引导装置,其特征在于,所述视觉测量引导装置至少包括3个所述测量单元,且每个所述测量单元均包括图像传感器和光源。A visual measurement guidance device in a barrel nesting set according to claim 1, characterized in that the visual measurement guidance device includes at least three measurement units, and each measurement unit includes Image sensor and light source.
  3. 根据权利要求1所述的一种筒体嵌套装配对中的视觉测量引导装置,其特征在于,所述图像传感器设置有成像透镜;在所述基于所述像素级竖向距离、所述像素级横向距离以及三角测量法,确定在基准坐标系下所述基准筒体与所述被测筒体之间的实际竖向距离和实际横向距离方面,所述集成化处理器,用于:A visual measurement guidance device for cylinder nesting and pairing according to claim 1, wherein the image sensor is provided with an imaging lens; based on the pixel-level vertical distance, the pixel level lateral distance and triangulation method to determine the actual vertical distance and actual lateral distance between the reference cylinder and the measured cylinder in the reference coordinate system, the integrated processor is used to:
    根据公式计算各个所述测量单元位置处所述基准筒 体与被测筒体之间的实际竖向距离;According to the formula Calculate the reference cylinder at each measurement unit position The actual vertical distance between the body and the measured cylinder;
    根据公式ΔS=k·Δs计算各个所述测量单元位置处所述基准筒体与所述被测筒体之间的实际横向距离;Calculate the actual lateral distance between the reference cylinder and the measured cylinder at each measurement unit position according to the formula ΔS=k·Δs;
    其中,ΔD表示实际竖向距离,Δd表示像素级横向距离,L表示每个所述测量单元的工作距离,l表示每个所述测量单元的像距,θ表示所述光源发射的光在基准筒体表面的入射角,α为所述相机和成像透镜光轴之间的角度;Among them, ΔD represents the actual vertical distance, Δd represents the pixel-level lateral distance, L represents the working distance of each measurement unit, l represents the image distance of each measurement unit, and θ represents the reference value of the light emitted by the light source. The incident angle of the cylinder surface, α is the angle between the optical axis of the camera and the imaging lens;
    ΔS表示实际横向距离,Δs表示像素级竖向距离,k表示在对所述相机标定时确定的图像像素距离与实际距离之间的比例值。ΔS represents the actual lateral distance, Δs represents the pixel-level vertical distance, and k represents the ratio between the image pixel distance determined when calibrating the camera and the actual distance.
  4. 根据权利要求1所述的一种筒体嵌套装配对中的视觉测量引导装置,其特征在于,在所述基于所述偏差输出位姿调节指令方面,所述集成化处理器,用于:A visual measurement guidance device for cylinder nesting and pairing according to claim 1, characterized in that, in terms of outputting posture adjustment instructions based on the deviation, the integrated processor is used to:
    判断是否满足偏差条件;所述偏差条件包括:所述轴向偏差小于向量检测阈值且所述圆心偏差小于圆心检测阈值;Determine whether the deviation condition is met; the deviation condition includes: the axial deviation is less than the vector detection threshold and the circle center deviation is less than the circle center detection threshold;
    若否,则输出位姿调节指令,并更新所述目标图像。If not, the pose adjustment instruction is output and the target image is updated.
  5. 根据权利要求1所述的一种筒体嵌套装配对中的视觉测量引导装置,其特征在于,所述位姿调节指令包括第一调节指令和第二调节指令;在所述基于所述偏差输出位姿调节指令方面,所述集成化处理器,用于:A visual measurement guidance device for cylinder nesting and pairing according to claim 1, wherein the posture adjustment instruction includes a first adjustment instruction and a second adjustment instruction; In terms of outputting posture adjustment instructions, the integrated processor is used to:
    判断所述轴向偏差是否小于向量检测阈值,得到第一判断结果;Determine whether the axial deviation is less than the vector detection threshold, and obtain the first judgment result;
    若所述第一判断结果表示所述轴向偏差小于所述向量检测阈值,则判断所述圆心偏差是否小于圆心检测阈值,得到第二判断结果;If the first judgment result indicates that the axial deviation is less than the vector detection threshold, then it is judged whether the circle center deviation is less than the circle center detection threshold, and a second judgment result is obtained;
    若所述第一判断结果表示所述轴向偏差大于或者等于所述向量检测阈值,则输出第一调节指令,并更新所述目标图像;所述第一调节指令用于在所述基准坐标系的X轴方向上,移动所述被测筒体;If the first judgment result indicates that the axial deviation is greater than or equal to the vector detection threshold, a first adjustment instruction is output and the target image is updated; the first adjustment instruction is used to adjust the position of the target image in the reference coordinate system. Move the cylinder under test in the direction of the X axis;
    若所述第二判断结果表示所述圆心偏差大于或者等于所述圆心检测阈值,则输出第二调节指令,并更新所述目标图像;所述第二调节指令用于在所述基准坐标系的X轴方向上和Y轴方向上,移动所述被测筒体。If the second judgment result indicates that the circle center deviation is greater than or equal to the circle center detection threshold, a second adjustment instruction is output, and the target image is updated; the second adjustment instruction is used to adjust the center point of the circle in the reference coordinate system. Move the measured cylinder in the X-axis direction and the Y-axis direction.
  6. 根据权利要求1、4或5所述的一种筒体嵌套装配对中的视觉测量引导装置,其特征在于,还包括移动组件;A visual measurement guidance device for cylinder nesting and pairing according to claim 1, 4 or 5, characterized in that it also includes a moving component;
    在工作状态下,将所述被测筒体放置在所述移动组件上,所述移动组件,用于:根据接收到的所述位姿调节指令移动所述被测筒体。In the working state, the cylinder under test is placed on the moving component, and the moving component is used to move the cylinder under test according to the received posture adjustment instruction.
  7. 一种筒体嵌套装配对中的视觉测量引导方法,其特征在于,包括:A visual measurement guidance method in cylinder nesting and pairing, which is characterized by including:
    测量单元在满足预设条件时获取目标图像;所述目标图像为基准筒体的对接端位置与被测筒体的对接端位置的图像;所述预设条件为多个测量单元分布在所述基准筒体的外围,且多个所述测量单元均位于与所述被测筒体垂直的平面上;所述平面为所述基准筒体的对接端的横截面所在的平面;The measurement unit obtains a target image when the preset conditions are met; the target image is an image of the docking end position of the reference cylinder and the docking end position of the measured cylinder; the preset condition is that multiple measurement units are distributed in the The periphery of the reference cylinder, and the plurality of measurement units are located on a plane perpendicular to the measured cylinder; the plane is the plane where the cross section of the butt end of the reference cylinder is located;
    集成化处理器基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测筒体的对接端之间的偏差,并基于所述偏差输出位姿调节指令;所述位姿调节指令为移动所述被测筒体的指令;The integrated processor processes the target images obtained by multiple measurement units based on triangulation, determines the deviation between the docking end of the reference cylinder and the docking end of the measured cylinder, and outputs based on the deviation Posture adjustment instructions; the posture adjustment instructions are instructions for moving the measured cylinder;
    所述测量单元中的图像传感器为相机;所述测量单元中的光源为线光源;所述基于三角测量法处理多个所述测量单元获取的目标图像,确定所述基准筒体的对接端与所述被测 筒体的对接端之间的偏差,具体包括:The image sensor in the measurement unit is a camera; the light source in the measurement unit is a line light source; the target images obtained by multiple measurement units are processed based on the triangulation method to determine the connection end of the reference cylinder and The tested The deviation between the butt ends of the cylinder specifically includes:
    在图像坐标系下,基于所述线光源在所述基准筒体和所述被测筒体上的像素坐标,计算像素级竖向距离和像素级横向距离;所述像素级竖向距离为在所述图像坐标系下的被测筒体轴向移动距离,所述像素级横向距离为所述被测筒体与所述基准筒体之间的径向高度差;In the image coordinate system, based on the pixel coordinates of the line light source on the reference cylinder and the measured cylinder, the pixel-level vertical distance and the pixel-level lateral distance are calculated; the pixel-level vertical distance is The axial movement distance of the measured cylinder under the image coordinate system, and the pixel-level lateral distance is the radial height difference between the measured cylinder and the reference cylinder;
    基于所述像素级竖向距离、所述像素级横向距离以及三角测量法,确定在基准坐标系下所述基准筒体与所述被测筒体之间的实际竖向距离和实际横向距离;所述基准坐标系是以基准筒体端面的圆心为原点,以所述基准筒体的纵轴为Z轴,以所述基准筒体的水平轴为X轴,以所述基准筒体的竖直轴为Y轴建立的三维坐标系;Based on the pixel-level vertical distance, the pixel-level lateral distance and the triangulation method, determine the actual vertical distance and the actual lateral distance between the reference cylinder and the measured cylinder in the reference coordinate system; The reference coordinate system takes the center of the circle of the end surface of the reference cylinder as the origin, the longitudinal axis of the reference cylinder as the Z axis, the horizontal axis of the reference cylinder as the X axis, and the vertical axis of the reference cylinder as the X axis. The direct axis is the three-dimensional coordinate system established by the Y axis;
    以所述基准坐标系的原点为第一圆心坐标,基于所述实际竖向距离和所述实际横向距离,计算所述基准坐标系下的第二圆心坐标;所述第一圆心坐标为所述基准筒体的对接端的横截面的圆心坐标;所述第二圆心坐标为所述被测筒体的对接端的横截面的圆心坐标;Taking the origin of the reference coordinate system as the first circle center coordinate, and based on the actual vertical distance and the actual lateral distance, calculate the second circle center coordinate under the reference coordinate system; the first circle center coordinate is the The center coordinate of the cross section of the butt end of the reference cylinder; the second center coordinate is the center coordinate of the cross section of the butt end of the measured cylinder;
    根据所述第一圆心坐标和所述第二圆心坐标,计算圆心偏差;Calculate the circle center deviation according to the first circle center coordinate and the second circle center coordinate;
    以所述基准坐标系的Z轴方向为所述基准筒体的轴向向量,根据所述第二圆心坐标,计算所述基准坐标系下所述被测筒体的轴向向量,并基于所述基准筒体的轴向向量和所述被测筒体的轴向向量,计算轴向偏差;Taking the Z-axis direction of the reference coordinate system as the axial vector of the reference cylinder, calculate the axial vector of the measured cylinder in the reference coordinate system based on the second circle center coordinate, and based on the The axial vector of the reference cylinder and the axial vector of the measured cylinder are used to calculate the axial deviation;
    其中,所述基准筒体的对接端与所述被测筒体的对接端之间的偏差包括圆心偏差和轴向偏差。 Wherein, the deviation between the butt end of the reference cylinder and the butt end of the measured cylinder includes center deviation and axial deviation.
PCT/CN2023/082806 2022-03-28 2023-03-21 Visual measurement guiding device, method and system for cylinder nested assembly centering WO2023185550A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210310727.4 2022-03-28
CN202210310727.4A CN114674249B (en) 2022-03-28 2022-03-28 Visual measurement guiding device, method and system for barrel nesting assembly centering

Publications (1)

Publication Number Publication Date
WO2023185550A1 true WO2023185550A1 (en) 2023-10-05

Family

ID=82076515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/082806 WO2023185550A1 (en) 2022-03-28 2023-03-21 Visual measurement guiding device, method and system for cylinder nested assembly centering

Country Status (2)

Country Link
CN (1) CN114674249B (en)
WO (1) WO2023185550A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118106800A (en) * 2024-04-28 2024-05-31 山东豪迈机械制造有限公司 Automatic adjustment saddle for barrel posture and implementation method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114674249B (en) * 2022-03-28 2023-02-07 上海大学 Visual measurement guiding device, method and system for barrel nesting assembly centering
CN115447694B (en) * 2022-09-22 2023-06-30 东风汽车集团股份有限公司 Combined method, storage medium, electronic equipment and system for automobile battery pack
CN117020246B (en) * 2023-10-09 2023-12-15 中北大学 Large cylinder posture adjusting method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294364A1 (en) * 2007-05-23 2008-11-27 Mitutoyo Corporation Two-dimensional lattice calibrating device, two-dimensional lattice calibrating method, two-dimensional lattice calibrating program and recording medium
CN110006402A (en) * 2019-04-25 2019-07-12 北京航空航天大学 A kind of vision measurement system and measurement method of large component Butt Assembling relative pose
US20200320296A1 (en) * 2017-12-22 2020-10-08 Hangzhou Ezviz Software Co., Ltd. Target detection method and apparatus
CN114119456A (en) * 2021-09-02 2022-03-01 中国化学工程第六建设有限公司 Automatic pipeline centering method based on machine vision
CN114674249A (en) * 2022-03-28 2022-06-28 上海大学 Visual measurement guiding device, method and system for barrel nesting assembly centering

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302151B (en) * 2014-08-01 2018-07-13 深圳中集天达空港设备有限公司 A kind of system and method for aircraft docking guiding and plane type recognition
CN107971831B (en) * 2017-11-07 2019-05-28 大连理工大学 Numerically-controlled machine tool high dynamic any profile errors monocular 6 DOF measurement method on a large scale

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294364A1 (en) * 2007-05-23 2008-11-27 Mitutoyo Corporation Two-dimensional lattice calibrating device, two-dimensional lattice calibrating method, two-dimensional lattice calibrating program and recording medium
US20200320296A1 (en) * 2017-12-22 2020-10-08 Hangzhou Ezviz Software Co., Ltd. Target detection method and apparatus
CN110006402A (en) * 2019-04-25 2019-07-12 北京航空航天大学 A kind of vision measurement system and measurement method of large component Butt Assembling relative pose
CN114119456A (en) * 2021-09-02 2022-03-01 中国化学工程第六建设有限公司 Automatic pipeline centering method based on machine vision
CN114674249A (en) * 2022-03-28 2022-06-28 上海大学 Visual measurement guiding device, method and system for barrel nesting assembly centering

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIU XING; ZHANG AI-JUN; CAO XIAO-BING: "Visual Alignment Technology based on Laser Rangefinder", JIDIAN GONGCHENG = MECHANICAL & ELECTRICAL ENGINEERING MAGAZINE, CN, vol. 37, no. 10, 20 October 2020 (2020-10-20), CN , pages 1244 - 1250, XP009550229, ISSN: 1001-4551, DOI: 10.3969/j.issn.1001-4551.2020.10.021 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118106800A (en) * 2024-04-28 2024-05-31 山东豪迈机械制造有限公司 Automatic adjustment saddle for barrel posture and implementation method

Also Published As

Publication number Publication date
CN114674249B (en) 2023-02-07
CN114674249A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
WO2023185550A1 (en) Visual measurement guiding device, method and system for cylinder nested assembly centering
Wang et al. A mobile robotic measurement system for large-scale complex components based on optical scanning and visual tracking
CN112833786B (en) Cabin attitude and pose measuring and aligning system, control method and application
CN101909828B (en) Method and system for the high-precision positioning of at least one object in a final location in space
US8803055B2 (en) Volumetric error compensation system with laser tracker and active target
US20170054954A1 (en) System and method for visually displaying information on real objects
Qiao et al. Quick health assessment for industrial robot health degradation and the supporting advanced sensing development
US20140160115A1 (en) System And Method For Visually Displaying Information On Real Objects
EP1607194A2 (en) Robot system comprising a plurality of robots provided with means for calibrating their relative position
WO2009119713A1 (en) Device for measuring screw element at pipe end, system for measuring screw element and method for measuring screw element
CN102015221A (en) A method and a system for determining the relation between a robot coordinate system and a local coordinate system located in the working range of the robot
Liu et al. Binocular-vision-based error detection system and identification method for PIGEs of rotary axis in five-axis machine tool
CN112959364B (en) Industrial robot assembly error compensation system and method
CN111707189A (en) Laser displacement sensor light beam direction calibration method based on binocular vision
CN114459345B (en) Aircraft fuselage position and posture detection system and method based on visual space positioning
CN110211175B (en) Method for calibrating space pose of collimated laser beam
CN115179323A (en) Machine end pose measuring device based on telecentric vision constraint and precision improving method
CN109759953B (en) Contour detection device and method for large-caliber plane mirror
CN109773589B (en) Method, device and equipment for online measurement and machining guidance of workpiece surface
Zhang et al. A novel accurate positioning method of reference hole for complex surface in aircraft assembly
Qiao Advanced sensor and target development to support robot accuracy degradation assessment
CN110428471B (en) Accurate self-positioning method for optical free-form surface sub-aperture deflection measurement
CN109916392B (en) Mechanical equipment position detection device based on encoder and system and method thereof
Chen et al. Workpiece positioning and error decoupling in the single-point diamond turning of freeform mirrors based on the monoscopic deflectometry
Qiao Advanced sensing development to support robot accuracy assessment and improvement

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23777923

Country of ref document: EP

Kind code of ref document: A1