CN101660894B - Device and method for multi-vision visual detection based on parallel light illumination - Google Patents

Device and method for multi-vision visual detection based on parallel light illumination Download PDF

Info

Publication number
CN101660894B
CN101660894B CN200910070423XA CN200910070423A CN101660894B CN 101660894 B CN101660894 B CN 101660894B CN 200910070423X A CN200910070423X A CN 200910070423XA CN 200910070423 A CN200910070423 A CN 200910070423A CN 101660894 B CN101660894 B CN 101660894B
Authority
CN
China
Prior art keywords
camera
pixels
lens
light source
station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200910070423XA
Other languages
Chinese (zh)
Other versions
CN101660894A (en
Inventor
曲兴华
赵阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN200910070423XA priority Critical patent/CN101660894B/en
Publication of CN101660894A publication Critical patent/CN101660894A/en
Application granted granted Critical
Publication of CN101660894B publication Critical patent/CN101660894B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明公开了一种基于平行光照明的多目视觉检测装置及方法,属于智能机器视觉技术领域。所述测量装置包括多自由度调整定位机构、平行扩束光学机构。多自由度调整定位机构主要由底座、螺纹圆柱、支撑螺母和导轨横梁所组成的龙门框架,并在其中安装固定存在角度关系三个工位相机及平行扩束光源。平行扩束光学机构主要由LED芯片、透镜组和机械结构组成,目的将LED点光源的发散光束准直并扩束输出。测量方法包括:整体机构定位调整;平行扩束光源机构内透镜组位置调整;平行扩束光源光强调节;计算三个位置相机图像的匹配参数;通过图像差分规则获得不同差分图像。本发明装置具有性能可靠,检测过程自动化程度高,抗共模干扰能力较强,精度高等特点,为在线生产检测提供稳定可靠的检测与测量方法。

Figure 200910070423

The invention discloses a multi-eye vision detection device and method based on parallel light illumination, belonging to the technical field of intelligent machine vision. The measuring device includes a multi-degree-of-freedom adjustment and positioning mechanism and a parallel beam expanding optical mechanism. The multi-degree-of-freedom adjustment and positioning mechanism is mainly a gantry frame composed of a base, a threaded cylinder, a support nut and a guide rail beam, and three cameras and a parallel beam expanding light source are installed and fixed in it. The parallel beam expander optical mechanism is mainly composed of LED chip, lens group and mechanical structure, the purpose is to collimate and expand the divergent beam of LED point light source. The measurement method includes: positioning adjustment of the overall mechanism; position adjustment of the lens group in the parallel beam expander light source mechanism; light intensity adjustment of the parallel beam expander light source; calculation of matching parameters of camera images at three positions; and obtaining different differential images through image difference rules. The device of the invention has the characteristics of reliable performance, high degree of automation in the detection process, strong ability to resist common mode interference, high precision, etc., and provides a stable and reliable detection and measurement method for online production detection.

Figure 200910070423

Description

基于平行光照明的多目视觉检测装置及方法 Multi-eye visual inspection device and method based on parallel light illumination

技术领域technical field

本发明涉及一种基于平行光照明的多目视觉检测装置及方法,广泛用于机械制造,在线生产,航空航天,汽车车身测量等诸多领域的机器视觉检测装置及方法。The invention relates to a multi-eye vision detection device and method based on parallel light illumination, which are widely used in machine vision detection devices and methods in many fields such as machine manufacturing, on-line production, aerospace, and automobile body measurement.

背景技术Background technique

智能机器视觉技术是近几年发展起来的一个新型自动化分支学科,是一项新兴的检测技术。它以机器视觉为基础,融光电子学、计算机技术、激光技术、图像处理技术等现代科学技术为一体,组成光、机、电、算综合的检测系统,具有非接触、全视场检测、高精度和自动化程度高的特点,可以克服人类自身能力的局限性,在现代化工业生产中辅助或代替人类完成在线、自动、连续的测量和检测任务,极大地提高了控制系统的准确性、实时性和可靠性,使产品质量得到有效保证。Intelligent machine vision technology is a new branch of automation developed in recent years, and it is an emerging detection technology. Based on machine vision, it integrates modern science and technology such as optoelectronics, computer technology, laser technology, and image processing technology to form a comprehensive detection system of light, machinery, electricity, and calculation. It has non-contact, full-field detection, high-speed The characteristics of high precision and high degree of automation can overcome the limitations of human capabilities, assist or replace humans in modern industrial production to complete online, automatic, continuous measurement and detection tasks, greatly improving the accuracy and real-time performance of the control system And reliability, so that product quality is effectively guaranteed.

在现代化生产中,视觉检测往往是不可缺少的环节,机器视觉技术的发展一定程度上可以取代人工视觉上的一些工作,特别是高速、连续、批量生产中的质量检测、对象辨识、缺陷提取、轮廓获取、尺寸测量等人工难以完成的任务In modern production, visual inspection is often an indispensable link. The development of machine vision technology can replace some tasks in artificial vision to a certain extent, especially in high-speed, continuous, mass production quality inspection, object recognition, defect extraction, Tasks that are difficult to complete manually such as contour acquisition and dimension measurement

目前比较常见的视觉检测方法多为单目视觉技术的基础上发展而来,但由于环境因素的复杂多变,单幅图像中往往会混杂噪声或者杂光等干扰源的影响,如此得到的图像很难从中准确提取出被测物的光学信息。综合考虑以上因素,本发明提出一种能一定程度上抑制环境干扰,消除干扰源的共模噪声,提高检测系统稳定性和鲁棒性的多目视觉检测装置,并且从多目视觉系统中搜集的视觉信息是丰富且多角度的,如此通过基于多幅图像的算法的研究与应用,能够准确的计算被测物表面或者三维形貌特征,通过对相机系统的标定,更可以获得静态实物的相关几何量。At present, the common visual inspection methods are mostly developed on the basis of monocular vision technology. However, due to the complex and changeable environmental factors, a single image is often mixed with the influence of interference sources such as noise or stray light. It is difficult to accurately extract the optical information of the measured object. Taking the above factors into consideration, the present invention proposes a multi-eye vision detection device that can suppress environmental interference to a certain extent, eliminate common-mode noise of interference sources, and improve the stability and robustness of the detection system, and collect data from the multi-eye vision system The visual information of the camera is rich and multi-angle, so through the research and application of the algorithm based on multiple images, it can accurately calculate the surface or three-dimensional shape characteristics of the measured object, and through the calibration of the camera system, it is possible to obtain the image of the static object. related geometry.

发明内容Contents of the invention

本发明的目的在于提供一种基于平行光照明的多目视觉检测装置及方法,本发明装置具有性能可靠,检测过程自动化程度高,抗共模干扰能力较强,精度高等特点,为在线生产检测,实物三维形貌测量以及航空航天领域提供稳定可靠的检测与测量方法。The purpose of the present invention is to provide a multi-eye visual detection device and method based on parallel light illumination. The device of the present invention has the characteristics of reliable performance, high degree of automation in the detection process, strong anti-common-mode interference ability, and high precision. , physical three-dimensional shape measurement and aerospace field to provide stable and reliable detection and measurement methods.

本发明提供的一种基于平行光照明的多目视觉检测装置包括:A multi-eye visual detection device based on parallel light illumination provided by the present invention includes:

多自由度调整定位机构,用于定位三部相机,又可以任意调节平面内相机的三个方向自由度。The multi-degree-of-freedom adjustment positioning mechanism is used for positioning the three cameras, and can arbitrarily adjust the three-direction degrees of freedom of the cameras in the plane.

平行扩束光学机构,用于将大功率LED点光源的发散光束准直并扩束输出。The parallel beam expander optical mechanism is used to collimate and expand the divergent beam of the high-power LED point light source.

所述的多自由度调整定位机构包括:底座、螺纹圆柱、支撑螺母和导轨横梁所组成的龙门框架,第一螺纹圆柱固定于底座上,并与第一支撑螺母配合。第一支撑螺母承载导轨横梁。导轨横梁布置了可以滑动并定位紧固的第一支撑滑块、第二支撑滑块和第三支撑滑块,每个支撑滑块下面都有由第二螺纹圆柱和第二支撑螺母组成的结构。按图1从左至右的顺序说明,左侧第一滑块下面的第二支撑螺母支撑了一个槽型定位调整外壳,定位调整外壳中用螺钉固定了平行扩束白光光源,位于垂直平行扩束白光光源的方向将第二槽型调整定位外壳装配于第一槽型调整定位外壳的底部,通过定位调整平板和定位螺钉将第一工位相机安放到第一光源的垂直方向,分度旋钮用来调节平行扩束白光光源在机构平面内角度。中间第二滑块下面的第二支撑螺母支撑槽型定位外壳,将第二工位相机也固定于槽型定位外壳上,并保证第二工位相机在机构平面内竖直朝下。右侧第三滑块下的第二支撑螺母也支撑第三槽型调整定位外壳,在支撑第三槽型调整定位外壳中安放第三工位相机,第三工位相机也可以通过分度旋钮调节其在平面内的角度。位于第二工位相机12正下方的大理石底座上安放一个升降调整台,被测工件放置于升降调整台上。The multi-degree-of-freedom adjustment and positioning mechanism includes: a gantry frame composed of a base, threaded cylinders, support nuts and rail beams. The first threaded cylinder is fixed on the base and cooperates with the first support nuts. The first support nut carries the rail beam. The guide rail crossbeam is arranged with a first support slider, a second support slider and a third support slider that can slide and be fastened in position, each support slider has a structure composed of a second threaded cylinder and a second support nut . According to the order from left to right in Figure 1, the second support nut under the first slider on the left side supports a slot-shaped positioning adjustment housing, in which a parallel beam expanding white light source is fixed with screws, located in the vertical parallel expanding The direction of the beam of white light source Assemble the second trough-shaped adjustment and positioning shell on the bottom of the first trough-shaped adjustment and positioning shell, and place the first station camera in the vertical direction of the first light source through the positioning adjustment plate and positioning screws, and the indexing knob It is used to adjust the angle of the parallel beam expander white light source in the plane of the mechanism. The second supporting nut below the second slide block in the middle supports the groove-shaped positioning shell, and the second station camera is also fixed on the groove-shaped positioning casing, and ensures that the second station camera is vertically downward in the mechanism plane. The second support nut under the third slider on the right side also supports the third slot-shaped adjustment and positioning shell, and the third-station camera is placed in the support third slot-shaped adjustment and positioning shell, and the third-station camera can also be adjusted by the indexing knob Adjust its angle in the plane. A lifting adjustment table is placed on the marble base directly below the second station camera 12, and the workpiece to be measured is placed on the lifting adjustment table.

所述的平行扩束光学机构由LED芯片、透镜组和机械结构组成,如图2。此机构保证机械轴心与光学轴心重合,芯片和透镜组中心位于光轴上,且芯片和透镜组垂直光轴。将高亮度LED芯片放置于专用LED聚光透镜后侧,聚光透镜将LED光源的发散角变小,聚光透镜在第一透镜套筒中由定位螺钉固定锁紧。透镜L1被夹持于第二透镜套筒内,第二套筒可以在第一透镜套筒中沿轴向移动,最后由定位螺钉锁紧固定。第三透镜套筒用来夹持孔径光阑,并且可以在第二透镜套筒中沿光轴向移动,最后由定位螺钉定位锁紧。第三透镜套筒的末端夹持住透镜L2,并通过螺钉固定于半透半反镜的方形固定架的侧面。半透半反镜片沿固定架侧面对角线方向被固定。The parallel beam expander optical mechanism is composed of LED chip, lens group and mechanical structure, as shown in Fig. 2 . This mechanism ensures that the mechanical axis coincides with the optical axis, the center of the chip and the lens group is located on the optical axis, and the chip and the lens group are perpendicular to the optical axis. The high-brightness LED chip is placed on the rear side of the special LED condenser lens, the condenser lens reduces the divergence angle of the LED light source, and the condenser lens is fixed and locked in the first lens sleeve by a set screw. The lens L 1 is clamped in the second lens sleeve, and the second sleeve can move axially in the first lens sleeve, and finally locked and fixed by a set screw. The third lens sleeve is used to clamp the aperture diaphragm, and can move along the optical axis in the second lens sleeve, and finally is positioned and locked by the positioning screw. The end of the third lens sleeve clamps the lens L 2 and is fixed to the side of the square fixing frame of the half-mirror by screws. The semi-transparent and semi-reflective sheet is fixed along the diagonal direction of the side of the fixing frame.

本发明提供的一种基于平行光照明的多目视觉检测方法包括的步骤:A kind of multi-eye visual detection method based on parallel light illumination provided by the present invention includes the steps:

整体机构定位调整Overall organization positioning adjustment

根据系统设计原理,为保证装置能正常工作,需要调节系统内三部相机的位置和角度。According to the system design principle, in order to ensure the normal operation of the device, it is necessary to adjust the positions and angles of the three cameras in the system.

在龙门架构内,如图1,通过两个螺柱上的支撑螺母的调节,将导轨横梁调节到适当高度,也可以配合升降台一起运动。滑动位于横梁上的3个滑块,调整它们在x方向的位置,尽量保持滑块间隔相同。每个滑块下的螺母都可以调节,能够使其下面承载部分沿y向移动。第一工位相机可以在槽型调整定位外壳中沿光源的垂直方向上下调节位置,而第二工位相机可以在槽型调整定位外壳中沿竖直方向上下调节位置。第一工位相机和第三工位相机可以通过分度旋钮调节角度。为了能够得到理想图像效果,应调节光源的光轴方向与第三工位相机的光轴方向关于被测工件的中心法线成对称角度。In the gantry structure, as shown in Figure 1, through the adjustment of the support nuts on the two studs, the guide rail beam can be adjusted to an appropriate height, and it can also move together with the lifting platform. Slide the 3 sliders on the beam, adjust their positions in the x direction, and try to keep the sliders at the same interval. The nuts under each slider can be adjusted to allow the load-bearing part below to move along the y direction. The camera at the first station can adjust its position up and down along the vertical direction of the light source in the trough-shaped adjustment and positioning housing, while the camera at the second station can adjust its position up and down in the vertical direction in the trough-shaped adjustment and positioning housing. The angle of the first station camera and the third station camera can be adjusted by the indexing knob. In order to obtain an ideal image effect, the optical axis direction of the light source and the optical axis direction of the third station camera should be adjusted to form a symmetrical angle with respect to the center normal of the measured workpiece.

平行扩束光源机构内透镜组位置调整Adjustment of Lens Group Position in Parallel Beam Expander Light Source Mechanism

根据光束平行扩束原理,为得到准直度好的平行光,需要调整透镜组及LED芯片的相对位置。图2中,芯片LED通过前置聚光透镜后,光束发散角更小,沿此光束的反方向得到一个虚交点,此点即为代表LED芯片的点光源。通过定位螺钉调节透镜套筒使透镜L1到虚交点的距离为透镜L1两倍焦距处。通过定位螺钉调节透镜套筒使孔径光圈至透镜L1的距离为透镜L1两倍焦距处。透镜L2的位置应距孔径光阑为自身的一倍焦距处。According to the principle of parallel beam expansion, in order to obtain parallel light with good collimation, it is necessary to adjust the relative positions of the lens group and the LED chip. In Figure 2, after the chip LED passes through the front condenser lens, the divergence angle of the beam is smaller, and a virtual intersection point is obtained along the opposite direction of the beam, which is the point light source representing the LED chip. Adjust the lens sleeve with the set screw so that the distance from lens L 1 to the virtual intersection point is twice the focal length of lens L 1 . Adjust the lens sleeve by the set screw so that the distance from the aperture diaphragm to the lens L1 is twice the focal length of the lens L1 . The position of lens L2 should be one focal length away from the aperture stop.

平行扩束光源光强调节Light Intensity Adjustment of Parallel Expanded Beam Light Source

高亮度LED驱动电路选择HV9910作为主芯片,此芯片基于buck-boost恒流控制原理,结合PWM脉宽调制精确控制方法,可实现对LED电流在0~1A范围内的连续调节,保证光源光强的连续稳定的变化。在系统运行中,调节LED驱动电路的输入脉冲占空比,间接调节LED的发光强度,使三工位相机在相应光强档位下实时采集图像,得到的图像组可以为后续模板提取、图像差分算法提供数据。The high-brightness LED drive circuit chooses HV9910 as the main chip. This chip is based on the buck-boost constant current control principle, combined with the precise control method of PWM pulse width modulation, it can realize the continuous adjustment of the LED current in the range of 0-1A, and ensure the light intensity of the light source. continuous and stable change. During the operation of the system, adjust the input pulse duty cycle of the LED drive circuit, indirectly adjust the luminous intensity of the LED, so that the three-station camera can collect images in real time under the corresponding light intensity gear, and the obtained image group can be used for subsequent template extraction, image The difference algorithm provides the data.

计算三个位置相机图像的匹配参数Compute the matching parameters for the three location camera images

由于受到机械定位架的定位及调整精度的限制,在对多幅图像差分处理前,需要首先获得各幅图像的匹配参数,包括偏心位移参数、平面转角参数及成像缩放比例参数。本发明提出基于二维Radon算法的匹配参数判定方法,并结合相机标定技术获得相机外部参数,以便多幅图像匹配差分处理。Due to the limitation of the positioning and adjustment accuracy of the mechanical positioning frame, before differential processing of multiple images, the matching parameters of each image need to be obtained first, including eccentric displacement parameters, plane rotation angle parameters and imaging scaling parameters. The present invention proposes a matching parameter determination method based on a two-dimensional Radon algorithm, and combines camera calibration technology to obtain camera external parameters for multiple image matching and differential processing.

通过图像差分规则获得不同差分图像Obtain different difference images through image difference rules

通过步骤4能够获得三幅图像的匹配参数,由此参数就可以将被测物图像调整到其形心与图像尺寸中心重合,并旋转被测椭圆形图像长短轴分别与x、y轴重合。将图像匹配好之后,再根据不同的图像差分规则来完成对匹配后图像的差分处理。Through step 4, the matching parameters of the three images can be obtained, and the parameters can be used to adjust the image of the measured object so that its centroid coincides with the center of the image size, and rotate the long and short axes of the measured ellipse image to coincide with the x and y axes respectively. After the images are matched, the differential processing of the matched images is completed according to different image differential rules.

为得到不同匹配差分效果,将不同亮度下第一工位和第二工位相机得到图像按照一定的准则组合运算,组合运算准则设计如下:In order to obtain different matching and differential effects, the images obtained by the cameras of the first station and the second station under different brightnesses are combined and calculated according to certain criteria. The combination calculation criteria are designed as follows:

1.Pixels(Rule1)=Pixels(Adding)-Pixels(750mA of Camera 2);1.Pixels(Rule1)=Pixels(Adding)-Pixels(750mA of Camera 2);

2.Pixels(Rule2)=Pixels(Differential)-Pixels(750mA of Camera 2)*0.15;2.Pixels(Rule2)=Pixels(Differential)-Pixels(750mA of Camera 2)*0.15;

3.Pixels(Rule3)=Pixels(Adding)-Pixels(112mA of Camera 2)*0.58;3.Pixels(Rule3)=Pixels(Adding)-Pixels(112mA of Camera 2)*0.58;

4.Pixels(Rule4)=Pixels(Differential)*2.4-Pixels(112mA of Camera 2)*0.3;4.Pixels(Rule4)=Pixels(Differential)*2.4-Pixels(112mA of Camera 2)*0.3;

5.Pixels(Rule5)=Pixels(750mA of Camera 2)-Pixels(Differential);5.Pixels(Rule5)=Pixels(750mA of Camera 2)-Pixels(Differential);

6.Pixels(Rule6)=Pixels(750mA of Camera 2)-Pixels(Adding)*0.5;6.Pixels(Rule6)=Pixels(750mA of Camera 2)-Pixels(Adding)*0.5;

7.Pixels(Rule7)=Pixels(112mA of Camera 2)-Pixels(Differential)*4.5;7.Pixels(Rule7)=Pixels(112mA of Camera 2)-Pixels(Differential)*4.5;

8.Pixels(Rule8)=Pixels(112mA of Camera 2)-Pixels(Adding)*1.35。8. Pixels(Rule8)=Pixels(112mA of Camera 2)-Pixels(Adding)*1.35.

本发明与现有技术相比具有以下优点:Compared with the prior art, the present invention has the following advantages:

采用大功率LED作为照明光源将平行光照射被测物体,同时利用位于不同位置的三个摄像机来获取图像,通过多幅图像的匹配差分运算法则获得物体轮廓尺寸信息,达到二维化平面几何量测量的目的。该测量技术与单目视觉相比较,通过差分算法得到的处理结果图像轮廓及缺陷信息更加完整,共模干扰抑制能力也更明显,更易于分析出几何量尺寸,比起传统的单目视觉图像处理方法自适应性更强,精度也更高。High-power LED is used as the illumination source to irradiate the measured object with parallel light. At the same time, three cameras located at different positions are used to obtain images. The contour size information of the object is obtained through the matching and difference algorithm of multiple images to achieve two-dimensional plane geometry. purpose of measurement. Compared with monocular vision, this measurement technology obtains more complete image outline and defect information through difference algorithm, and the ability to suppress common mode interference is also more obvious, and it is easier to analyze geometric quantities. Compared with traditional monocular vision images The processing method is more adaptive and has higher precision.

附图说明Description of drawings

图1为本发明的系统整体机械结构图。Fig. 1 is the overall mechanical structure diagram of the system of the present invention.

图2为本发明的平行准直扩束光学系统结构图。Fig. 2 is a structural diagram of the parallel collimated beam expander optical system of the present invention.

图3为本发明的系统工作原理图。Fig. 3 is a working principle diagram of the system of the present invention.

图4为本发明的系统控制结构图。Fig. 4 is a system control structure diagram of the present invention.

图5为本发明的系统工作流程图。Fig. 5 is a system work flowchart of the present invention.

图6为本发明的匹配差分效果图。Fig. 6 is an effect diagram of matching difference in the present invention.

1-底座,2-螺纹圆柱,3-第一支撑螺母,4-导轨横梁,5-支撑滑块(第一,第二和第三),6-第二支撑螺母,7-螺纹圆柱,8-大理石底座,9-升降调整台,10-被测工件,11-第一工位相机,12-第二工位相机,13-第三工位相机,14-平行扩束白光光源,15-第一槽型调整定位外壳,16-分度旋钮,17-第二槽型调整定位外壳,18-定位调整平板,19-定位螺钉,20-第三槽型调整定位外壳。1-base, 2-threaded cylinder, 3-first support nut, 4-rail beam, 5-support slider (first, second and third), 6-second support nut, 7-threaded cylinder, 8 -Marble base, 9-lifting adjustment table, 10-workpiece under test, 11-first station camera, 12-second station camera, 13-third station camera, 14-parallel expanded beam white light source, 15- The first groove type adjustment positioning shell, 16-graduation knob, 17-the second groove type adjustment positioning shell, 18-positioning adjustment plate, 19-positioning screw, 20-the third groove type adjustment positioning shell.

21-高亮LED,22-LED前置聚光透镜,23-定位螺钉,24-第一透镜套筒,25-透镜L1,26-定位螺钉,27-第二透镜套筒,28-定位螺钉,29-孔径光阑,30-第三透镜套筒,31-透镜L2,32-半透射半反射平面镜,33-半透半反镜方形固定架,34-反射物。21-high brightness LED, 22-LED front condenser lens, 23-positioning screw, 24-first lens sleeve, 25-lens L 1 , 26-positioning screw, 27-second lens sleeve, 28-positioning Screw, 29-aperture stop, 30-the third lens sleeve, 31-lens L 2 , 32-semi-transmissive and semi-reflective flat mirror, 33-square fixing frame for the semi-transmissive and semi-reflective mirror, 34-reflector.

具体实施方式Detailed ways

下面结合附图和具体实例进一步详述本发明技术方案:The technical solution of the present invention is further described in detail below in conjunction with accompanying drawings and specific examples:

本发明提供的一种基于平行光照明的多目视觉检测装置包括:A multi-eye visual detection device based on parallel light illumination provided by the present invention includes:

多自由度调整定位机构,用于定位三部相机,又可以任意调节平面内相机的三个方向自由度。The multi-degree-of-freedom adjustment positioning mechanism is used for positioning the three cameras, and can arbitrarily adjust the three-direction degrees of freedom of the cameras in the plane.

平行扩束光学机构,用于将大功率LED点光源的发散光束准直并扩束输出。The parallel beam expander optical mechanism is used to collimate and expand the divergent beam of the high-power LED point light source.

所述的多自由度调整定位机构包括:由底座1、螺纹圆柱2、支撑螺母3和导轨横梁4所组成的龙门框架,如图1。螺纹圆柱2固定于底座1上,并与支撑螺母3配合。支撑螺母3承载导轨横梁4。导轨横梁4布置了可以滑动并定位紧固的3个支撑滑块5,每个支撑滑块5下面都有由螺纹圆柱7和支撑螺母6组成的结构。按图1从左至右的顺序说明,左侧滑块5下面的螺母6支撑了一个槽型定位调整外壳15,外壳15中用螺钉固定了平行扩束白光光源14,位于垂直光源14的方向将槽型调整定位外壳17装配于外壳15的底部,通过定位调整平板18和定位螺钉19将第一工位相机11安放到光源14的垂直方向,分度旋钮16用来调节光源14在机构平面内角度。中间滑块5下面的螺母6支撑槽型定位外壳20,将第二工位相机12也固定于外壳20上,并保证相机12在机构平面内竖直朝下。右侧滑块5下的螺母6也支撑槽型调整定位外壳,在外壳中安放第三工位相机13,相机13也可以通过分度旋钮调节其在平面内的角度。位于第二工位相机12正下方的大理石底座8上安放一个升降调整台9,被测工件10放置于调整台9上。The multi-degree-of-freedom adjustment and positioning mechanism includes: a gantry frame composed of a base 1, a threaded cylinder 2, a support nut 3 and a rail beam 4, as shown in FIG. 1 . The threaded cylinder 2 is fixed on the base 1 and cooperates with the support nut 3 . The support nut 3 carries the rail beam 4 . The guide rail beam 4 is arranged with three support sliders 5 that can slide and be fastened in position, and each support slider 5 has a structure composed of a threaded cylinder 7 and a support nut 6 below. According to the order from left to right in Fig. 1, the nut 6 under the left slider 5 supports a groove-shaped positioning adjustment housing 15, and the parallel beam expanding white light source 14 is fixed with screws in the housing 15, which is located in the direction of the vertical light source 14 Assemble the groove-shaped adjustment and positioning shell 17 on the bottom of the shell 15, place the first station camera 11 in the vertical direction of the light source 14 through the positioning adjustment plate 18 and the positioning screw 19, and the indexing knob 16 is used to adjust the light source 14 on the mechanism plane inner angle. The nut 6 below the middle slider 5 supports the groove-shaped positioning housing 20, and the second station camera 12 is also fixed on the housing 20, and ensures that the camera 12 is vertically downward in the plane of the mechanism. The nut 6 under the right slide block 5 also supports the slot-type adjustment and positioning housing, and the third station camera 13 is placed in the housing, and the camera 13 can also adjust its angle in the plane by the indexing knob. A lifting adjustment table 9 is placed on the marble base 8 directly below the camera 12 at the second station, and the workpiece 10 to be measured is placed on the adjustment table 9 .

所述的平行扩束光学机构由LED芯片、透镜组和机械结构组成,如图2。此机构保证机械轴心与光学轴心重合,芯片和透镜组中心位于光轴上,且芯片和透镜组垂直光轴。将高亮度LED芯片21放置于专用LED聚光透镜22后侧,透镜22将LED光源21的发散角变小,聚光透镜22在透镜套筒24中由定位螺钉23固定锁紧。透镜L125被夹持于透镜套筒27内,套筒27可以在套筒24中沿轴向移动,最后由定位螺钉26锁紧固定。透镜套筒30用来夹持孔径光阑29,并且可以在套筒27中沿光轴向移动,最后由定位螺钉28定位锁紧。套筒30的末端夹持住透镜L231,并通过螺钉固定于半透半反镜的方形固定架33的侧面。半透半反镜片32沿固定架33侧面对角线方向被固定。The parallel beam expander optical mechanism is composed of LED chip, lens group and mechanical structure, as shown in Fig. 2 . This mechanism ensures that the mechanical axis coincides with the optical axis, the center of the chip and the lens group is located on the optical axis, and the chip and the lens group are perpendicular to the optical axis. The high-brightness LED chip 21 is placed on the rear side of the special LED condenser lens 22 , the lens 22 reduces the divergence angle of the LED light source 21 , and the condenser lens 22 is fixed and locked in the lens sleeve 24 by a set screw 23 . The lens L 1 25 is clamped in the lens sleeve 27 , the sleeve 27 can move axially in the sleeve 24 , and is locked and fixed by the set screw 26 finally. The lens sleeve 30 is used to clamp the aperture stop 29 , and can move along the optical axis in the sleeve 27 , and is finally positioned and locked by the positioning screw 28 . The end of the sleeve 30 clamps the lens L 2 31 and is fixed to the side of the square fixing frame 33 of the half mirror by screws. The semi-transparent and semi-reflective sheet 32 is fixed along the diagonal direction of the side of the fixing frame 33 .

本发明提供的一种基于平行光照明的多目视觉检测方法包括的步骤:A kind of multi-eye visual detection method based on parallel light illumination provided by the present invention includes the steps:

1)整体机构定位调整1) Overall mechanism positioning adjustment

根据系统设计原理,为保证装置能正常工作,需要调节系统内三部相机的位置和角度。在龙门架构内,如图1,通过两个螺柱2上的支撑螺母3的调节,将导轨横梁4调节到适当高度,也可以配合升降台9一起运动。滑动位于横梁4上的3个滑块5,调整它们在x方向的位置,尽量保持滑块间隔相同。每个滑块下的螺母6都可以调节,能够使其下面承载部分沿y向移动。第一工位相机11可以在槽型调整定位外壳17中沿光源的垂直方向上下调节位置,而第二工位相机12可以在槽型调整定位外壳20中沿竖直方向上下调节位置。第一工位相机11和第三工位相机13可以通过分度旋钮16调节角度。为了能够得到理想图像效果,应调节光源14的光轴方向与第三工位相机13的光轴方向关于被测工件10的中心法线成对称角度。According to the system design principle, in order to ensure the normal operation of the device, it is necessary to adjust the positions and angles of the three cameras in the system. In the gantry structure, as shown in FIG. 1 , the guide rail crossbeam 4 can be adjusted to an appropriate height through the adjustment of the support nuts 3 on the two studs 2 , and it can also move together with the lifting platform 9 . Slide the three sliders 5 on the beam 4, adjust their positions in the x direction, and try to keep the sliders at the same interval. The nut 6 under each slide block can be adjusted so that the bearing part below it can move along the y direction. The first station camera 11 can adjust its position up and down along the vertical direction of the light source in the groove-shaped adjustment and positioning housing 17 , while the second station camera 12 can adjust its position up and down in the groove-shaped adjustment and positioning housing 20 along the vertical direction. The angles of the first station camera 11 and the third station camera 13 can be adjusted through the indexing knob 16 . In order to obtain an ideal image effect, the optical axis direction of the light source 14 and the optical axis direction of the third station camera 13 should be adjusted to form a symmetrical angle with respect to the center normal of the workpiece 10 to be measured.

2)平行扩束光源机构内透镜组位置调整2) Position adjustment of the lens group in the parallel beam expander light source mechanism

根据光束平行扩束原理,为得到准直度好的平行光,需要调整透镜组及LED芯片的相对位置。图2中,芯片LED21通过前置聚光透镜22后,光束发散角更小,沿此光束的反方向得到一个虚交点,此点即为代表LED芯片的点光源。通过定位螺钉26调节透镜套筒27使透镜L1到虚交点的距离为透镜L1两倍焦距处。通过定位螺钉28调节透镜套筒30使孔径光圈29至透镜L1的距离为透镜L1两倍焦距处。透镜L2的位置应距孔径光阑29为自身的一倍焦距处。According to the principle of parallel beam expansion, in order to obtain parallel light with good collimation, it is necessary to adjust the relative positions of the lens group and the LED chip. In Fig. 2, after the chip LED 21 passes through the front condenser lens 22, the divergence angle of the light beam is smaller, and a virtual intersection point is obtained along the opposite direction of the light beam, which is the point light source representing the LED chip. The lens sleeve 27 is adjusted by the set screw 26 so that the distance from the lens L 1 to the imaginary intersection is twice the focal length of the lens L 1 . The lens sleeve 30 is adjusted by the set screw 28 so that the distance from the aperture stop 29 to the lens L 1 is twice the focal length of the lens L 1 . The position of the lens L 2 should be one focal length away from the aperture stop 29 .

3)平行扩束光源光强调节3) Light intensity adjustment of parallel beam expander light source

高亮度LED驱动电路选择HV9910作为主芯片,此芯片基于buck-boost恒流控制原理,结合PWM脉宽调制精确控制方法,可实现对LED电流在0~1A范围内的连续调节,保证光源光强的连续稳定的变化。在系统运行中,调节LED驱动电路的输入脉冲占空比,间接调节LED的发光强度,使三工位相机在相应光强档位下实时采集图像,得到的图像组可以为后续模板提取、图像差分算法提供数据。The high-brightness LED drive circuit chooses HV9910 as the main chip. This chip is based on the buck-boost constant current control principle, combined with the precise control method of PWM pulse width modulation, it can realize the continuous adjustment of the LED current in the range of 0-1A, and ensure the light intensity of the light source. continuous and stable change. During the operation of the system, adjust the input pulse duty cycle of the LED drive circuit, indirectly adjust the luminous intensity of the LED, so that the three-station camera can collect images in real time under the corresponding light intensity gear, and the obtained image group can be used for subsequent template extraction, image The difference algorithm provides the data.

4)计算三个位置相机图像的匹配参数4) Calculate the matching parameters of the three position camera images

由于受到机械定位架的定位及调整精度的限制,在对多幅图像差分处理前,需要首先获得各幅图像的匹配参数,包括偏心位移参数、平面转角参数及成像缩放比例参数。本发明提出基于二维Radon算法的匹配参数判定方法,并结合相机标定技术获得相机外部参数,以便多幅图像匹配差分处理。Due to the limitation of the positioning and adjustment accuracy of the mechanical positioning frame, before differential processing of multiple images, the matching parameters of each image need to be obtained first, including eccentric displacement parameters, plane rotation angle parameters and imaging scaling parameters. The present invention proposes a matching parameter determination method based on a two-dimensional Radon algorithm, and combines camera calibration technology to obtain camera external parameters for multiple image matching and differential processing.

5)通过图像差分规则获得不同差分图像5) Obtain different differential images through image differential rules

通过步骤4能够获得三幅图像的匹配参数,由此参数就可以将被测物图像调整到其形心与图像尺寸中心重合,并旋转被测椭圆形图像长短轴分别与x、y轴重合。将图像匹配好之后,再根据不同的图像差分规则来完成对匹配后图像的差分处理。Through step 4, the matching parameters of the three images can be obtained, and the parameters can be used to adjust the image of the measured object so that its centroid coincides with the center of the image size, and rotate the long and short axes of the measured ellipse image to coincide with the x and y axes respectively. After the images are matched, the differential processing of the matched images is completed according to different image differential rules.

多目视觉检测装置由位于同一个平面内、不同采集方向的三个相机和平行扩束光源机构组成如图3所示。The multi-eye visual detection device is composed of three cameras located in the same plane and with different acquisition directions and a parallel beam expanding light source mechanism, as shown in Figure 3.

在机构平面内,平行光源与相机3始终保持光轴垂直,光源光束入射角为光源光轴与水平线夹角;相机1则位于被测物正上方垂直采集被测物图像;相机2光轴与水平线夹角为出射角。分别调整三个相机位置使被测物的图像进入相机视野并位于视野中心附近,且保证相机3的入射角与相机2的出射角相等。由于相机3与光源保持垂直关系,则光源的光束通过45°半透半反镜片将经被测物反射进入光源的光束折返进入相机3。调整相机沿自身法线方向的距离,从而达到调整成像大小的目的,确保视野中图像尺寸相近,尽管相机2和3最终得到的图像是被测实物向光轴垂直面上的投影,即被测物表面与竖直面的相交线段投影后会有sinθ比例的缩短,但在另一个垂直方向上尺寸是没有变化的。所以可以通过几何量的粗略估计,调整相机的光程,最终将三幅图像大小调整大概一致。然后利用光源亮度的稳定调节能力,在一定光强范围内调节光源。选择控制电流范围,应保证相机2不曝光过度,且相机3不曝光不足,也可协调使用相机2、3的光圈调节已达到较好的曝光度。当相机调整并固定位置后,在PWM控制的LED光源的不同光照强度下,通过由图像采集卡和PC机组成的采集系统来完成对三个位置相机图像的同步采集。In the plane of the mechanism, the parallel light source and camera 3 always keep the optical axis perpendicular, and the incident angle of the light beam is the angle between the optical axis of the light source and the horizontal line; camera 1 is located directly above the measured object to collect the image of the measured object vertically; the optical axis of camera 2 and The angle between the horizontal lines is the exit angle. Adjust the positions of the three cameras respectively so that the image of the measured object enters the camera field of view and is located near the center of the field of view, and ensure that the incident angle of camera 3 is equal to the exit angle of camera 2. Since the camera 3 maintains a vertical relationship with the light source, the light beam of the light source passes through the 45° semi-transparent and half-reflective mirror, and the light beam reflected by the measured object enters the light source and returns to the camera 3 . Adjust the distance of the camera along its own normal direction, so as to achieve the purpose of adjusting the imaging size and ensure that the image size in the field of view is similar, although the final image obtained by cameras 2 and 3 is the projection of the measured object onto the vertical plane of the optical axis, that is, the measured After projecting the intersecting line segment between the object surface and the vertical plane, the sinθ ratio will be shortened, but the size in the other vertical direction will not change. Therefore, the optical path of the camera can be adjusted through a rough estimation of the geometric quantity, and finally the size of the three images can be roughly adjusted to the same size. Then use the stable adjustment ability of the light source brightness to adjust the light source within a certain range of light intensity. When selecting the control current range, it should be ensured that camera 2 is not overexposed and camera 3 is not underexposed, and the aperture adjustment of cameras 2 and 3 can also be used in coordination to achieve a better exposure. After the camera is adjusted and fixed, under the different light intensity of the LED light source controlled by PWM, the synchronous acquisition of the images of the three cameras is completed through the acquisition system composed of the image acquisition card and the PC.

系统控制流程如图4所示。通过PC机上软件输出占空比参数来控制PWM调光器,使光源的亮度在一定范围连续可调。在每次调光系统稳定后,通过PC机软件将图像拍摄指令传送至图像采集卡中,由其控制三工位相机的同一时域图像采集。System control flow shown in Figure 4 . The PWM dimmer is controlled by outputting the duty ratio parameter through the software on the PC, so that the brightness of the light source can be continuously adjusted within a certain range. After the dimming system is stable each time, the image capture command is sent to the image acquisition card through the PC software, which controls the same time-domain image acquisition of the three-station camera.

系统工作流程如图5所示。根据流程图中所示,PC机中通过通信获得三工位相机图像。假设被测对象是平面圆形,则如图3所示,相机1中得到的图像为直径是D*β的圆形,β为相机的缩放比例因子;相机2和相机3中得到的是椭圆形图像,且长轴和短轴长度分别为D*β和D*β*sinθ,θ为相机2,3光滑与平面内水平线夹角。通过该被测图像轮廓特征的分析并结合Radon算法,就可以计算出图形的形心位置及旋转角度等参数。缩放比例因子也可以通过轮廓特征的几何量与实物大小的比例能够计算得到,但是考虑θ角越小,被测物各点成像平面是距离越大,所以会使被测物所成的像部分清晰,部分模糊。为获得相机精确的标定参数,可使用标靶,并根据标靶上精准的图形和尺寸计算出相机对该位置被测物的缩放比例和景深。The workflow of the system is shown in Figure 5. As shown in the flow chart, the PC obtains the image of the three-station camera through communication. Assuming that the measured object is a flat circle, as shown in Figure 3, the image obtained by camera 1 is a circle with a diameter of D*β, and β is the scaling factor of the camera; the images obtained by camera 2 and camera 3 are ellipses Shaped image, and the lengths of the major axis and the minor axis are D*β and D*β*sinθ respectively, and θ is the angle between the camera 2, 3 smooth and the horizontal line in the plane. Through the analysis of the profile features of the measured image and combined with the Radon algorithm, parameters such as the centroid position and rotation angle of the graphic can be calculated. The scaling factor can also be calculated by the ratio of the geometric quantity of the contour feature to the actual size, but considering that the smaller the θ angle is, the distance between the imaging planes of each point of the measured object is greater, so the image part of the measured object will be Clear, partially blurred. In order to obtain accurate calibration parameters of the camera, a target can be used, and the zoom ratio and depth of field of the camera at the position of the measured object can be calculated according to the precise graphics and size on the target.

根据在实验过程中,通过调节LED驱动电流可以获得不同照明亮度,在此可调节亮度的环境中被测物在三个位置和角度的相机中成像是有很大区别的,在相机2处接收到了由被测物光滑平面镜面反射后得到的光源的大部分光束,其中包含了除去被测物非光滑平面漫反射后的光束,也就是说相机2通过高灰度值显现了被测物光滑平面部分,而低灰度值显现了被测物缺陷平面或者自由曲面部分,此处称相机2得到图像为明域图像。相机3位置和相机2角度对称,所以接收到的图像和相机2是成互补关系,即相机3通过高灰度显现了被测物缺陷平面或者自由曲面部分,此处称相机3得到的图像为暗域图像。According to the fact that different illumination brightness can be obtained by adjusting the LED drive current during the experiment, in this environment where the brightness can be adjusted, the image of the measured object in the cameras at three positions and angles is very different. Most of the beam of the light source obtained by the mirror reflection of the smooth plane of the measured object includes the light beam after removing the diffuse reflection of the non-smooth plane of the measured object, that is to say, the camera 2 shows the smooth surface of the measured object through high gray value The flat part, and the low gray value shows the defect plane or free-form surface part of the measured object. Here, the image obtained by camera 2 is called a bright field image. The position of camera 3 is symmetrical to the angle of camera 2, so the received image is in a complementary relationship with camera 2, that is, camera 3 shows the defect plane or free-form surface part of the measured object through high grayscale. Here, the image obtained by camera 3 is called Dark field image.

为得到不同匹配差分效果,将不同亮度下相机2,3得到图像按照一定的准则组合运算,组合运算准则设计如下:In order to obtain different matching difference effects, the images obtained by cameras 2 and 3 under different brightnesses are combined and calculated according to certain criteria. The combined calculation criteria are designed as follows:

1.Pixels(Rule1)=Pixels(Adding)-Pixels(750mA of Camera 2);1.Pixels(Rule1)=Pixels(Adding)-Pixels(750mA of Camera 2);

2.Pixels(Rule2)=Pixels(Differential)-Pixels(750mA of Camera 2)*0.15;2.Pixels(Rule2)=Pixels(Differential)-Pixels(750mA of Camera 2)*0.15;

3.Pixels(Rule3)=Pixels(Adding)-Pixels(112mA of Camera 2)*0.58;3.Pixels(Rule3)=Pixels(Adding)-Pixels(112mA of Camera 2)*0.58;

4.Pixels(Rule4)=Pixels(Differential)*2.4-Pixels(112mA of Camera 2)*0.3;4.Pixels(Rule4)=Pixels(Differential)*2.4-Pixels(112mA of Camera 2)*0.3;

5.Pixels(Rule5)=Pixels(750mA of Camera 2)-Pixels(Differential);5.Pixels(Rule5)=Pixels(750mA of Camera 2)-Pixels(Differential);

6.Pixels(Rule6)=Pixels(750mA of Camera 2)-Pixels(Adding)*0.5;6.Pixels(Rule6)=Pixels(750mA of Camera 2)-Pixels(Adding)*0.5;

7.Pixels(Rule7)=Pixels(112mA of Camera 2)-Pixels(Differential)*4.5;7.Pixels(Rule7)=Pixels(112mA of Camera 2)-Pixels(Differential)*4.5;

8.Pixels(Rule8)=Pixels(112mA of Camera 2)-Pixels(Adding)*1.35;8.Pixels(Rule8)=Pixels(112mA of Camera 2)-Pixels(Adding)*1.35;

以准则1为例,该条准则表示将相机2,3图像灰度值按照适当的匹配系数相加后再与750mA下相机2的灰度值相减。Taking criterion 1 as an example, this criterion means adding the grayscale values of cameras 2 and 3 according to the appropriate matching coefficient and then subtracting it from the grayscale value of camera 2 at 750mA.

应用实施例Application example

以带裂纹缺陷的表面光滑的金属圆环片为例,通过多目视觉检测装置获取三个工位相机拍摄的图像,经Radon算法获取被测物轮廓信息,再经裁减、平移、缩放和匹配等方法处理待差分图像。最后根据以上8条差分规则的顺序处理后,得到图6结果。由图中可以看出不同准则得到的差分效果的完全不同,且轮廓都非常清晰可见,比单目视觉得到的图像包含信息量更丰富,且可以消除工件纹理的不均匀带来的缺陷误判。图6中(1)、(2)除了裂纹缺陷突显之外,纹理的不平滑也给结果带来了干扰。但是在(3)、(4)中,这种干扰被掩盖下去,说明这两幅图较前两幅图缩小了频率范围,使高频信息低频信息都向频率范围中心压缩,抑制了无效的纹理信息干扰。(5)和(7)边缘信息较明显,高频信息突出,低频信息受到抑制。通过此些差分规则的组合运算,可以得到满足要求的图像有效信息,比起单目视觉图像处理算法,自适应性更强,得到的轮廓、缺陷信息更加明显。Taking a metal ring piece with a smooth surface with crack defects as an example, the images taken by the three-station cameras are obtained through the multi-eye visual inspection device, and the contour information of the measured object is obtained by the Radon algorithm, and then cut, translated, zoomed and matched and other methods to process the image to be differentiated. Finally, after processing according to the order of the above eight difference rules, the result in Figure 6 is obtained. It can be seen from the figure that the difference effects obtained by different criteria are completely different, and the contours are very clearly visible, which contains more information than the image obtained by monocular vision, and can eliminate the defect misjudgment caused by the uneven texture of the workpiece . In (1) and (2) in Figure 6, in addition to the prominent crack defects, the unevenness of the texture also interferes with the results. But in (3) and (4), this kind of interference is covered up, which shows that the frequency range of these two pictures is narrowed compared with the previous two pictures, so that the high-frequency information and low-frequency information are all compressed to the center of the frequency range, and the invalid Texture information interference. (5) and (7) The edge information is more obvious, the high-frequency information is prominent, and the low-frequency information is suppressed. Through the combined operation of these difference rules, effective image information that meets the requirements can be obtained. Compared with the monocular vision image processing algorithm, it is more adaptable, and the obtained contour and defect information are more obvious.

Claims (2)

1. used for multi-vision visual pick-up unit based on parallel light is characterized in that it comprises:
Multiple degrees of freedom is adjusted detent mechanism, is used to locate three cameras, and is used to regulate three direction degree of freedom of camera in the plane;
Parallel expanded beam optics mechanism is used for the divergent beams collimation of great power LED pointolite and expands bundle output;
Described multiple degrees of freedom is adjusted detent mechanism and is comprised: the gantry frame that base, thread cylinder, holding nut and guide rail beam are formed, and first thread cylinder is fixed on the base, and cooperates with first holding nut; The first holding nut bearing guide rail crossbeam, guide rail beam has can slide and locate the first fastening support slipper, second support slipper and the 3rd support slipper, below each support slipper by the structure of forming by second thread cylinder and second holding nut, second holding nut below first support slipper of left side supports first grooved location and adjusts shell, first grooved location is adjusted in the shell and has been screwed parallel expansion bundle white light source, be positioned at vertical parallel and expand the bottom that the direction of restrainting white light source is assemblied in second grooved adjustment location shell on first grooved adjustment location shell, the first station camera is placed to the vertical direction of first light source by location adjustment flat board and dog screw, the calibration knob is used for regulating parallel expansion bundle white light source angle in the mechanism plane, second holding nut below middle second support slipper supports second grooved adjustment location shell, the second station camera also is fixed on the shell of second grooved adjustment location, and guarantee the second station camera in the mechanism plane vertically down, second holding nut under the 3rd support slipper of right side also supports the 3rd grooved adjustment location shell, lay the 3rd station camera in supporting the 3rd grooved adjustment location shell, the 3rd station camera is regulated its angle planar by the calibration knob; Be positioned on the marble base under the second station camera (12) and lay a lift adjustment platform, measured workpiece is positioned on the lift adjustment platform;
Described parallel expanded beam optics mechanism is made up of led chip, lens combination and physical construction, and this mechanism guarantees that mechanical axle center overlaps with optical axis, and described chip and lens combination are centered close on the optical axis, and described chip and lens combination vertical optical axis; Described chip is positioned over special-purpose LED collector lens rear side, and collector lens diminishes the angle of divergence of led light source, collector lens in first lens sleeve by the dog screw fixing and locking, lens L 1Be held in second lens sleeve, second sleeve can move in first lens sleeve vertically, is locked by dog screw at last; The 3rd lens sleeve is used for the clamping aperture diaphragm, and moves along optical axis direction in second lens sleeve, at last by the dog screw positioning and locking; The end of the 3rd lens sleeve clamps lens L 2, and by the side of screw retention in the square fixed mount of semi-transparent semi-reflecting lens, semi-transparent semi-reflecting eyeglass is fixed along fixed mount side diagonal.
2. used for multi-vision visual detection method based on parallel light is characterized in that the step that comprises:
1) whole mechanism location adjustment, the position and the angle of three cameras in the regulating system
In the framework of gantry, the adjusting by the holding nut on two double-screw bolts is adjusted to suitable height with guide rail beam, and cooperate lifting table to move together, slip is positioned at three slide blocks on the crossbeam, adjusts their positions in the x direction, keeps slide block identical at interval as far as possible; Regulate the nut under each slide block, make below the slide block bearing part along y to moving, the first station camera in the shell of first grooved adjustment location along the vertical direction up-down adjustment position of light source, and second station camera up-down adjustment position vertically in the shell of second grooved adjustment location, the first station camera and the 3rd station camera be by calibration knob adjusting angle, and the optical axis direction of regulating light source and the optical axis direction of the 3rd station camera become symmetry angle about the centre normal of measured workpiece;
2) the lens combination position is adjusted in the parallel expansion light source beam mechanism
Adjust the relative position of lens combination and led chip, make chip LED pass through preposition collector lens after, beam divergence angle is littler, obtains an imaginary intersection point along the opposite direction of this light beam, this point is the pointolite of representing led chip; Regulate lens sleeve by dog screw and make lens L 1Distance to imaginary intersection point is lens L 1The two focus length place regulates lens sleeve by dog screw and makes aperture diaphragm to lens L 1Distance be lens L 1The two focus length place, lens L 2The position should be the one times of focal length place of self apart from aperture diaphragm;
3) parallel expansion light source beam light intensity regulating
The high-brightness LED driving circuit selects HV9910 as master chip, in conjunction with PWM width modulation accuracy control method, realizes the continuous adjusting of LED electric current in 0~1A scope guaranteed the variation of the continous-stable of light source intensity; Regulate the input pulse dutycycle of led drive circuit, the luminous intensity of indirect regulation LED makes three station cameras real-time images acquired under corresponding light prime time position, and the image sets that obtains provides data for follow-up template extraction, image difference algorithm;
4) matching parameter of three position camera images of calculating
Before to the multiple image difference processing, at first obtain the matching parameter of each width of cloth image, comprise center displacement parameter, plane corner parameter and imaging scaling parameter, use the matching parameter decision method of two-dimentional Radon algorithm, and combining camera calibration technique acquisition camera external parameter, so that multiple image coupling difference processing;
5) obtain different difference images by the image difference rule
Can obtain the matching parameter of three width of cloth images by step 4, parameter is just adjusted to the measured object image its centre of form and is overlapped with the picture size center thus, and rotate tested oval image major and minor axis and overlap with x, y axle respectively, with images match well after, again according to different image difference rules finish to mate the back image difference processing; The camera (3) of first station under the different brightness and the camera (2) of the 3rd station are obtained image according to the combination of criteria computing, and the combination of criteria computing is to handle by following eight difference rule orderings:
(1)Pixels(Rule1)=Pixels(Adding)-Pixels(750mA?of?Camera?2);
(2)Pixels(Rule2)=Pixels(Differential)-Pixels(750mAofCamera2)*0.15;
(3)Pixels(Rule3)=Pixels(Adding)-Pixels(112mA?of?Camera?2)*0.58;
(4)Pixels(Rule4)=Pixels(Differential)*2.4-Pixels(112mA?of?Camera?2)*0.3;
(5)Pixels(Rule5)=Pixels(750mA?of?Camera?2)-Pixels(Differential);
(6)Pixels(Rule6)=Pixels(750mA?of?Camera?2)-Pixels(Adding)*0.5;
(7)Pixels(Rule7)=Pixels(112mA?of?Camera?2)-Pixels(Differential)*4.5;
(8)Pixels(Rule8)=Pixels(112mA?of?Camera?2)-Pixels(Adding)*1.35;
Wherein, the camera (3) of Pixels (Adding) expression first station and camera (2) the gradation of image value of the 3rd station are according to the matching factor addition, and Pixels (750mA of Camera 2) represents the gray-scale value of the camera (2) of the 3rd station.
CN200910070423XA 2009-09-11 2009-09-11 Device and method for multi-vision visual detection based on parallel light illumination Expired - Fee Related CN101660894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910070423XA CN101660894B (en) 2009-09-11 2009-09-11 Device and method for multi-vision visual detection based on parallel light illumination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910070423XA CN101660894B (en) 2009-09-11 2009-09-11 Device and method for multi-vision visual detection based on parallel light illumination

Publications (2)

Publication Number Publication Date
CN101660894A CN101660894A (en) 2010-03-03
CN101660894B true CN101660894B (en) 2011-05-11

Family

ID=41789046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910070423XA Expired - Fee Related CN101660894B (en) 2009-09-11 2009-09-11 Device and method for multi-vision visual detection based on parallel light illumination

Country Status (1)

Country Link
CN (1) CN101660894B (en)

Families Citing this family (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455302B (en) * 2010-10-27 2013-05-15 中国科学院沈阳自动化研究所 A reversing device for on-line visual inspection equipment for ham sausage appearance
CN102620651B (en) * 2011-01-28 2015-11-25 鸿富锦精密工业(深圳)有限公司 Image measurer
CN102589432A (en) * 2012-02-17 2012-07-18 华北水利水电学院 Field calibration device of high-temperature forging structure light photography measurement system
CN102902149B (en) * 2012-10-30 2015-06-10 何炎权 Device for stereo image photographing and stereo image photographing equipment
CN103822656B (en) * 2014-02-19 2017-11-14 浙江田中精机股份有限公司 A kind of optical detection unit in electronic coil test machine
CN104792788B (en) * 2015-03-18 2017-12-22 浙江野马电池有限公司 A kind of gluing visible detection method and its device
CN104913721B (en) * 2015-06-17 2018-06-26 上海工程技术大学 A kind of experimental provision of industrial vision sensor detection
CN105004275A (en) * 2015-07-21 2015-10-28 苏州佳祺仕信息科技有限公司 Threaded hole three-CCD camera detection mechanism
CN105066890A (en) * 2015-07-21 2015-11-18 苏州佳祺仕信息科技有限公司 Threaded hole detection device
CN106706476A (en) * 2015-07-22 2017-05-24 天津同阳科技发展有限公司 Mechanical installation and adjustment mechanism of open type fugitive dust on-line monitoring system
TWI586976B (en) * 2015-08-19 2017-06-11 創意電子股份有限公司 Optical detection device and its optical detector fixture
CN105954856A (en) * 2016-06-27 2016-09-21 苏州艾微视图像科技有限公司 Apparatus for debugging wide-angle shooting module by use of target light tube
CN106323987A (en) * 2016-09-30 2017-01-11 厦门威芯泰科技有限公司 Lighting source for detecting high-reflectivity surface defects
CN106855390B (en) * 2016-11-15 2020-07-14 天津大学 Adaptive lighting adjustment method for infrared LED light source light pen measurement system
CN108109173B (en) * 2016-11-25 2022-06-28 宁波舜宇光电信息有限公司 Visual positioning method, camera system and automation equipment
CN106595634A (en) * 2016-11-30 2017-04-26 深圳市有光图像科技有限公司 Method for recognizing mobile robot by comparing images and mobile robot
CN106970034B (en) * 2017-03-27 2019-07-26 青岛宏瑞特食品有限公司 Food pesticide residue detection device and its detection method
CN107175215B (en) * 2017-06-08 2019-04-16 泉州华中科技大学智能制造研究院 A kind of pulling-on piece sorting feed device
CN107255548A (en) * 2017-06-09 2017-10-17 镇江四联机电科技有限公司 A kind of many mesh setting screw oar static balance testing devices based on machine vision
CN107560569A (en) * 2017-09-22 2018-01-09 江门市力泰科技有限公司 A kind of tools for measurement of axle external diameter
CN107876269B (en) * 2017-12-25 2023-06-16 厦门大学嘉庚学院 Tri-vision visual spraying track extraction system for automatic spraying of shoe mold and working method thereof
CN108518609B (en) * 2018-04-09 2024-07-30 深圳市赛思特机械有限公司 A variable-direction light source structure and a machine vision system equipped with the structure
CN108731882A (en) * 2018-04-25 2018-11-02 南京大雷科技有限公司 A kind of gas leak detection device of new energy car battery box cover
CN108732184A (en) * 2018-05-22 2018-11-02 丹阳市精通眼镜技术创新服务中心有限公司 A kind of apparatus and method of resin lens leakage film defects detection
CN108801924B (en) * 2018-08-21 2024-04-05 歌尔股份有限公司 Optical test equipment
CN109342427A (en) * 2018-11-16 2019-02-15 厦门理工学院 A double-station machine vision inspection machine
CN109490314B (en) * 2018-11-22 2022-12-23 南通科技职业学院 Industrial machine vision system based on improved sensing detection device
CN109387524A (en) * 2018-12-12 2019-02-26 长安大学 Thread defect detection method and device based on linearly polarized photon
CN110031470A (en) * 2019-05-16 2019-07-19 武汉精立电子技术有限公司 Optical detection apparatus
CN110118783A (en) * 2019-05-18 2019-08-13 福建福顺半导体制造有限公司 A kind of chip appearance inspection device
CN110434811A (en) * 2019-07-10 2019-11-12 广东华中科技大学工业技术研究院 Visual detection is with examining test table with carry out multi-angle detection to object
CN110486666B (en) * 2019-07-12 2022-06-24 深圳市海洋王绿色照明技术有限公司 Auxiliary lighting lamp for airplane
CN110470241B (en) * 2019-08-19 2021-01-26 天津大学 System and method for detecting curvature of refractory brick based on structured light vision
CN111024706B (en) * 2019-11-22 2022-08-12 北京航天控制仪器研究所 Nondestructive testing device and method for multi-degree-of-freedom ferrite element
CN110879230A (en) * 2019-12-13 2020-03-13 江苏海洋大学 Intelligent detection system for automobile defects
CN113028983B (en) * 2019-12-24 2023-05-16 深圳市富泰通国际物流有限公司 Measuring device, measuring system, measuring method and computer
CN111113879B (en) * 2019-12-30 2025-01-24 苏州富强科技有限公司 A visual positioning mechanism for positioning cylindrical materials
CN111272770A (en) * 2020-02-18 2020-06-12 长沙师范学院 Product detection device based on machine vision
CN111323425A (en) * 2020-03-30 2020-06-23 上海应用技术大学 A multi-camera visual inspection device and method
CN111425696B (en) * 2020-03-31 2021-12-10 北京博清科技有限公司 Camera positioning system and camera positioning method
CN111649675A (en) * 2020-04-28 2020-09-11 苏州领裕电子科技有限公司 Integrated form visual detection device with adjustable height
CN111678923A (en) * 2020-06-11 2020-09-18 浙江汉振智能技术有限公司 Roller appearance comprehensive inspection equipment based on machine vision
CN111721205A (en) * 2020-06-30 2020-09-29 苏州天准科技股份有限公司 Non-contact size detection equipment
CN111795974A (en) * 2020-07-24 2020-10-20 广东银宝山新科技有限公司 A multi-format metal shell detection device
US11743403B2 (en) * 2020-10-21 2023-08-29 Ricoh Company, Ltd. Image reading device and image forming apparatus configured to determine measurements of an object-to-be scanned
CN112797956B (en) * 2020-12-04 2022-08-26 上海理工大学 Method and device for measuring movement of light path reflecting mechanism based on computer vision
CN112598688A (en) * 2020-12-21 2021-04-02 中国农业大学 Platform for positioning densely arranged goods and center positioning method thereof
CN112598754B (en) * 2020-12-29 2023-09-15 北京大华旺达科技有限公司 Calibration device of binocular vision camera
CN112945094B (en) * 2021-01-31 2022-03-18 荣旗工业科技(苏州)股份有限公司 Camera automatic tracking monitoring visual detection system and method
CN113173457A (en) * 2021-04-15 2021-07-27 沈阳化工大学 Visual identification alarm system for pultrusion or winding process of composite yarn woven material
CN114235831B (en) * 2022-02-28 2022-08-23 广东省科学院智能制造研究所 Method and device for detecting sink marks of injection molding workpiece based on image detection
CN115591997A (en) * 2022-09-30 2023-01-13 重庆首键药用包装材料有限公司(Cn) Detection counting equipment for production of liquid medicine bottle caps
CN115628809B (en) * 2022-12-21 2023-03-28 聚时科技(深圳)有限公司 Light source adjusting device and imaging system
TWI844280B (en) * 2023-02-22 2024-06-01 精湛光學科技股份有限公司 Device for full-angle image detection of the object's circumference
CN116754570B (en) * 2023-06-20 2024-01-12 苏州光世半导体科技有限公司 3D visual detection device and detection method based on high-speed camera shooting
CN118031887B (en) * 2024-04-15 2024-06-18 江苏顺源航空零部件有限公司 Automatic roundness detection device and method for landing gear side stay bar

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892292A (en) * 2005-06-27 2007-01-10 索尼株式会社 Three-dimensional image display apparatus
WO2007074403A2 (en) * 2005-11-18 2007-07-05 Accenture Global Services Gmbh Multiple target detection and application state navigation system
CN101509762A (en) * 2009-03-02 2009-08-19 上海电机学院 Product dimensional measurement method based on machine vision

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892292A (en) * 2005-06-27 2007-01-10 索尼株式会社 Three-dimensional image display apparatus
WO2007074403A2 (en) * 2005-11-18 2007-07-05 Accenture Global Services Gmbh Multiple target detection and application state navigation system
CN101509762A (en) * 2009-03-02 2009-08-19 上海电机学院 Product dimensional measurement method based on machine vision

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
晏彧等.视觉为基的复杂工件自动检测设备的研制.《现代制造工程》.2008,(第10期), *

Also Published As

Publication number Publication date
CN101660894A (en) 2010-03-03

Similar Documents

Publication Publication Date Title
CN101660894B (en) Device and method for multi-vision visual detection based on parallel light illumination
CN108180851B (en) Five-axis image measuring device for measuring shape and position parameters of air film hole
CN102564347B (en) Object three-dimensional outline measuring device and method based on Dammann grating
CN105424008A (en) Laser marking galvanometer scanning system based on machine vision
CN105466889B (en) The acquisition method of complex organization's body surface face illuminance in a kind of spatial frequency domain imaging
CN103453849A (en) Method and device for three-dimensionally measuring complex curved surface parts through multi-optical-sensor cooperation
JP6236721B2 (en) Shape measuring apparatus and shape measuring method
CN111922510B (en) Laser visual processing method and system
CN103438832A (en) Three-dimensional image measuring method based on line-structured light
CN105674912A (en) Dammann grating combined multi-light-knife colored 3D measuring device and method
CN111928930A (en) 3D visual detection system based on structured light imaging
CN107764204A (en) Based on the microscopical three-dimensional surface topography instrument of mating plate and 3-D view joining method
Wang et al. Highly reflective surface measurement based on dual stereo monocular structured light system fusion
CN111207682A (en) Trapezoidal lead screw parameter automatic measuring device and method based on machine vision
CN101539406A (en) Method and device for measuring shape and size of workpiece with high-temperature end and low-temperature end on line
CN106441104B (en) A kind of Size Measuring System
CN112213331A (en) Surface wave long-level point defect characterization device and method based on machine vision
CN110657750B (en) Detection system and method for passivation of cutting edge of cutter
CN113932710B (en) A compound vision tool geometric parameter measurement system and method
CN115984530A (en) Large-size shaft part image acquisition device and acquisition method
CN108662980B (en) Welding stud position detection device and method based on silhouette technology
CN109561248A (en) A kind of infant industry camera vision laser lighting imaging device
Hong et al. An AFM-based methodology for planar size and local 3D parameters of large workpieces
CN209170519U (en) A kind of infant industry camera vision laser lighting imaging device
CN208155271U (en) The adjustable Shadow Moir é measuring system of sensitivity

Legal Events

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

Granted publication date: 20110511

Termination date: 20110911