[go: up one dir, main page]

CN111307812A - Appearance inspection method of solder joints based on machine vision - Google Patents

Appearance inspection method of solder joints based on machine vision Download PDF

Info

Publication number
CN111307812A
CN111307812A CN201910165079.6A CN201910165079A CN111307812A CN 111307812 A CN111307812 A CN 111307812A CN 201910165079 A CN201910165079 A CN 201910165079A CN 111307812 A CN111307812 A CN 111307812A
Authority
CN
China
Prior art keywords
image
module
workpiece
machine vision
detection method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910165079.6A
Other languages
Chinese (zh)
Inventor
吴朝明
徐晨光
李璠
张俊
汪胜前
邓承志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Institute of Technology
Original Assignee
Nanchang Institute of Technology
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 Nanchang Institute of Technology filed Critical Nanchang Institute of Technology
Priority to CN201910165079.6A priority Critical patent/CN111307812A/en
Publication of CN111307812A publication Critical patent/CN111307812A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

本发明公开了基于机器视觉的焊点外观检测方法,属于焊点外观检测技术领域,基于机器视觉的焊点外观检测方法,包括以下步骤,首先将待检测工件固定在传送带上,技术人员调节工件和相机的位置,使高清照相机靠近工件焊点,然后高清照相机对工件进行多次曝光得到多张焊点处的高清图像并传输至计算机中,然后对图像进行处理,图像分析模块再将处理后的图像与模板图像进行对比分析,当工件图像与模板差异度较大时,图像分析模块发送给报警模块,同时图像分析模块将分析结果发送给技术人员,可以实现便于对工件的焊点图像进行采集,通过将不同尺寸的焊点图像与对应的模板进行对比分析,可以得到精确的焊点外观分析结果。The invention discloses a method for inspecting the appearance of solder joints based on machine vision, belonging to the technical field of appearance inspection of solder joints. The method for inspecting appearance of solder joints based on machine vision comprises the following steps: firstly, a workpiece to be inspected is fixed on a conveyor belt, and technicians adjust the workpiece And the position of the camera, make the high-definition camera close to the workpiece welding point, and then the high-definition camera exposes the workpiece for multiple times to obtain multiple high-definition images of the welding point and transmit it to the computer, and then process the images, and the image analysis module will process the The image of the workpiece and the template image are compared and analyzed. When the difference between the workpiece image and the template is large, the image analysis module sends the alarm module, and the image analysis module sends the analysis results to the technicians, which can facilitate the welding of the workpiece image. Accurate analysis results of the appearance of the solder joints can be obtained by comparing and analyzing the solder joint images of different sizes with the corresponding templates.

Description

基于机器视觉的焊点外观检测方法Appearance inspection method of solder joints based on machine vision

技术领域technical field

本发明涉及焊点外观检测技术领域,更具体地说,涉及基于机器视觉的焊点外观检测方法。The invention relates to the technical field of appearance inspection of solder joints, and more particularly, to a method for appearance inspection of solder joints based on machine vision.

背景技术Background technique

伴随着我国制造业、建筑业和水利、环境等行业的快速发展以及对外贸易持续增长,我国质量检验检测行业也迎来了快速发展。机器视觉系统是指通过机器视觉产品,如CCD、CMOS和光电管等,将被摄取的目标转换成图像信号,传送给专用的图像处理系统,根据像素分布和亮度、颜色等信息,转变成数字化信号;图像系统对这些信号进行各种运算来抽取目标的特征,再根据判别的结果控制现场的设备。可以提高产品质量、降低废品率,提高企业经济效益。我国居民生活水平的提高将继续推动消费品及生命科学检测需求上升,制造业快速发展及产业升级将推动工业品检测需求上升。但是传统的人工目测方法,检测效率低,且检测结果和质量与检测人员的经验有关系,检测结果不准确。With the rapid development of my country's manufacturing, construction, water conservancy, environment and other industries and the continuous growth of foreign trade, my country's quality inspection and testing industry has also ushered in rapid development. Machine vision system refers to converting the captured target into image signals through machine vision products, such as CCD, CMOS and photocells, and sending them to a dedicated image processing system. Signal; the image system performs various operations on these signals to extract the characteristics of the target, and then controls the equipment on site according to the result of the discrimination. It can improve product quality, reduce scrap rate, and improve enterprise economic benefits. The improvement of the living standards of Chinese residents will continue to drive the demand for consumer goods and life science testing to rise, and the rapid development of the manufacturing industry and industrial upgrading will boost the demand for industrial product testing. However, the traditional manual visual inspection method has low inspection efficiency, and the inspection results and quality are related to the experience of the inspectors, so the inspection results are inaccurate.

点焊机主要用于电子行业的设备上,有较高的质量需求,因此,需要对焊点的质量进行检测。由于实际工艺的不成熟,以及人工操作的失误,往往会产生一些缺陷,比如焊料过多、焊料过少、松香焊、过热焊、冷焊、虚焊、不对称、松动、拉尖、桥接、针孔等。常见的缺陷主要有虚焊和焊穿。造成虚焊的原因一般有:两侧电极的压力过小导致焊件没有很好的贴紧,电流过小等。造成焊穿的主要原因是电流过大,直接导致焊件穿孔。Spot welding machines are mainly used in equipment in the electronics industry and have high quality requirements. Therefore, the quality of solder joints needs to be tested. Due to the immaturity of the actual process and the mistakes of manual operation, there are often some defects, such as too much solder, too little solder, rosin soldering, overheating soldering, cold soldering, virtual soldering, asymmetry, looseness, sharpening, bridging, pinhole etc. Common defects are mainly virtual welding and welding through. The reasons for the virtual welding are generally: the pressure of the electrodes on both sides is too small, so that the weldment is not well attached, and the current is too small. The main reason for the weld penetration is that the current is too large, which directly leads to the perforation of the weldment.

现有技术中的提出的一些焊点缺陷检测以及分类算法大多存在检测效率低、误判率高;或算法参数需人为自主设定稳定性差,且计算复杂度较大。Most of the solder joint defect detection and classification algorithms proposed in the prior art have low detection efficiency and high misjudgment rate; or algorithm parameters need to be set manually and have poor stability, and the calculation complexity is relatively large.

发明内容SUMMARY OF THE INVENTION

1.要解决的技术问题1. Technical problems to be solved

针对现有技术中存在的问题,本发明的目的在于提供基于机器视觉的焊点外观检测方法,它可以实现使用焊点图像采集装置采集焊点图像,方便工件的焊点图像的采集,便于获得不同尺寸的焊点图像,通过将不同尺寸的焊点图像与多个模板进行对比分析,可以得到精确的焊点外观分析结果。In view of the problems existing in the prior art, the purpose of the present invention is to provide a method for detecting the appearance of solder joints based on machine vision, which can realize the acquisition of solder joint images by using a solder joint image acquisition device, which facilitates the collection of solder joint images of the workpiece and facilitates the acquisition of solder joint images. For solder joint images of different sizes, by comparing and analyzing the solder joint images of different sizes with multiple templates, accurate solder joint appearance analysis results can be obtained.

2.技术方案2. Technical solutions

为解决上述问题,本发明采用如下的技术方案。In order to solve the above problems, the present invention adopts the following technical solutions.

基于机器视觉的焊点外观检测方法,包括外观检测系统,所述外观检测系统包括控制模块,所述控制模块上连接有图像采集模块、光源控模块、相机位置调节模块、图像处理模块和图像分析模块,所述图像分析模块上连接有报警模块,所述控制模块、图像处理模块、图像分析模块和报警模块均安装在计算机内。A solder joint appearance inspection method based on machine vision includes an appearance inspection system, the appearance inspection system includes a control module, and the control module is connected with an image acquisition module, a light source control module, a camera position adjustment module, an image processing module and an image analysis module. The image analysis module is connected with an alarm module, and the control module, the image processing module, the image analysis module and the alarm module are all installed in the computer.

进一步的,所述图像采集模块为高清照相机,所述高清照相机的上端连接有无线信号传输器,所述高清照相机上连接有LED照明灯带,所述相机位置调节模块包括直线导轨和升降机,所述高清照相机与直线导轨连接,所述升降机的下端连接有底座,所述底座上连接有与高清照相机相匹配的传送带,所述传送带的一个传动轴上连接有电动机。Further, the image acquisition module is a high-definition camera, a wireless signal transmitter is connected to the upper end of the high-definition camera, an LED lighting strip is connected to the high-definition camera, and the camera position adjustment module includes a linear guide rail and a lift, so The high-definition camera is connected with the linear guide rail, the lower end of the elevator is connected with a base, the base is connected with a conveyor belt matching the high-definition camera, and a transmission shaft of the conveyor belt is connected with a motor.

进一步的,其检测方法为,包括以下步骤:Further, its detection method is, comprising the following steps:

A1.调节工件和图像采集模块的位置,使相机靠近工件焊点;A1. Adjust the position of the workpiece and the image acquisition module, so that the camera is close to the welding point of the workpiece;

A2.使用通过图像采集模块多次曝光得到焊点处的高清图像;A2. Use multiple exposures through the image acquisition module to obtain high-definition images at the solder joints;

A3.无线信号传输器将得到的高清图像传输至计算机,计算机内的图像处理模块对图像进行处理;A3. The wireless signal transmitter transmits the obtained high-definition image to the computer, and the image processing module in the computer processes the image;

A4.通过图像分析模块对上一步中处理后的图像与模板图像进行对比分析;A4. Compare and analyze the image processed in the previous step and the template image through the image analysis module;

A5.发送分析结果,技术人员对分析结果进评估。A5. Send the analysis results, and the technicians will evaluate the analysis results.

进一步的,所述A4中的模板图像的准备包括以下步骤:Further, the preparation of the template image in the A4 includes the following steps:

B1.调节标准工件和图像采集模块的位置,使相机靠近标准工件焊点;B1. Adjust the position of the standard workpiece and the image acquisition module, so that the camera is close to the welding point of the standard workpiece;

B2.使用通过图像采集模块多次曝光得到多个焊点处的高清图像;B2. Use multiple exposures through the image acquisition module to obtain high-definition images at multiple solder joints;

B3无线信号传输器将得到的高清图像传输至计算机,计算机内的图像处理模块对图像进行处理;The B3 wireless signal transmitter transmits the obtained high-definition image to the computer, and the image processing module in the computer processes the image;

B4.将处理后的图像储存至图像分析模块中。B4. Store the processed image in the image analysis module.

进一步的,所述A3和B3中的图像处理工作包括以下步骤:Further, the image processing work in A3 and B3 includes the following steps:

B201.将多次曝光所得到的图像进行融合;B201. Fusion of images obtained by multiple exposures;

B202.调节图像的对比度、饱和度和亮度,使图像更清晰;B202. Adjust the contrast, saturation and brightness of the image to make the image clearer;

B203.图像去噪,消除图像中的噪点;B203. Image denoising, remove noise in images;

B204.图像滤波;进一步消除图像中的噪点B204. Image filtering; further removal of noise in images

B205.图像分割,选择出灰度异常的区域。B205. Image segmentation, select areas with abnormal grayscale.

进一步的,所述光源控模块包括光敏传感器和LED灯带。Further, the light source control module includes a photosensitive sensor and an LED light strip.

进一步的,所述传送带上铺设有吸光层,使传送带不易反光。Further, a light absorbing layer is laid on the conveyor belt, so that the conveyor belt is not easy to reflect light.

进一步的,所述控制模块内连接有储存单元,所述储存单元与云端服务器连接。Further, a storage unit is connected in the control module, and the storage unit is connected with a cloud server.

进一步的,所述焊点图像采集装置放置在隔音暗箱内,易于减少环境光和环境噪音对检测结果的影响。Further, the solder joint image acquisition device is placed in a soundproof dark box, which is easy to reduce the influence of ambient light and ambient noise on the detection result.

3.有益效果3. Beneficial effects

相比于现有技术,本发明的优点在于:Compared with the prior art, the advantages of the present invention are:

(1)本发明使用焊点图像采集装置采集焊点图像,方便工件的焊点图像的采集,便于获得不同尺寸的焊点图像,通过将不同尺寸的焊点图像与多个模板进行对比分析,可以得到精确的焊点外观分析结果。(1) The present invention uses a solder joint image acquisition device to collect solder joint images, which facilitates the collection of solder joint images of the workpiece and facilitates the acquisition of solder joint images of different sizes. By comparing and analyzing the solder joint images of different sizes with multiple templates, Accurate solder joint appearance analysis results can be obtained.

(2)本发明根据焊点定位技术控制传送带、升降机和直线导轨进行工件和相机的位置调节,使相机正对焊点,以获得准确清晰的焊点图像,本发明的焊点图像采集装置使用无线信号控制,可以实现一台计算机控制多个焊点图像采集装置进行工作,实现多个焊点图像采集装置同时工作,对多个工件进行检查,提高工作效率。(2) The present invention controls the conveyor belt, the elevator and the linear guide rail to adjust the position of the workpiece and the camera according to the welding point positioning technology, so that the camera is directly facing the welding point, so as to obtain an accurate and clear image of the welding point. The welding point image acquisition device of the present invention uses Wireless signal control can realize that one computer controls multiple solder joint image acquisition devices to work, realizes multiple solder joint image acquisition devices to work at the same time, inspects multiple workpieces, and improves work efficiency.

(3)本发明可将分析结果上传至云端服务器,使技术人员可以随时调取来对工件进行分析和评估,出现焊点缺陷的工件会触发报警器,使技术人员可以及时发现缺陷工件。(3) The present invention can upload the analysis results to the cloud server, so that the technicians can call at any time to analyze and evaluate the workpieces, and the workpieces with solder joint defects will trigger an alarm, so that the technicians can find the defective workpieces in time.

附图说明Description of drawings

图1为本发明的外观检测系统原理图;Fig. 1 is the principle diagram of the appearance detection system of the present invention;

图2为本发明的焊点检测方法流程图;Fig. 2 is the flow chart of the solder joint detection method of the present invention;

图3为为本发明的图像处理步骤;Fig. 3 is the image processing step of the present invention;

图4为本发明的焊点图像采集装置立体图;4 is a perspective view of a solder joint image acquisition device of the present invention;

图5为本发明焊点图像采集装置的侧视图;5 is a side view of the solder joint image acquisition device of the present invention;

图6为本发明焊点图像采集装置的俯视图;Fig. 6 is the top view of the solder joint image acquisition device of the present invention;

图7为本发明焊点图像采集装置位于暗箱工作时的立体图。FIG. 7 is a perspective view of the solder joint image acquisition device of the present invention when it is located in a dark box and works.

1控制模块、2图像采集模块、3光源控制、4相机位置调节模块、401直线导轨、402升降机、5图像处理模块、6图像分析模块、7报警模块、8传送带、9无线信号传输器。1 control module, 2 image acquisition module, 3 light source control, 4 camera position adjustment module, 401 linear guide rail, 402 elevator, 5 image processing module, 6 image analysis module, 7 alarm module, 8 conveyor belt, 9 wireless signal transmitter.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图;对本发明实施例中的技术方案进行清楚、完整地描述;显然;所描述的实施例仅仅是本发明一部分实施例;而不是全部的实施例,基于本发明中的实施例;本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例;都属于本发明保护的范围。The following will combine the drawings in the embodiments of the present invention; the technical solutions in the embodiments of the present invention will be described clearly and completely; obviously; the described embodiments are only a part 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 work; all belong to the protection scope of the present invention.

在本发明的描述中,需要说明的是,术语“上”、“下”、“内”、“外”、“顶/底端”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the orientations or positional relationships indicated by the terms "upper", "lower", "inner", "outer", "top/bottom", etc. are based on the orientations shown in the accompanying drawings Or the positional relationship is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.

在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“设置有”、“套设/接”、“连接”等,应做广义理解,例如“连接”,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that, unless otherwise expressly specified and limited, the terms "installation", "provided with", "sleeve/connection", "connection", etc., should be understood in a broad sense, such as " Connection", which can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be an internal connection between two components. of connectivity. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.

实施例1:Example 1:

请参阅图1,基于机器视觉的焊点外观检测方法,包括外观检测系统,外观检测系统包括控制模块1,控制模块1上连接有图像采集模块2、光源控模块3、相机位置调节模块4、图像处理模块5和图像分析模块6,图像分析模块6上连接有报警模块7,控制模块1、图像处理模块5、图像分析模块6和报警模块7均安装在计算机内,控制模块1内连接有储存单元,储存单元与云端服务器连接。Referring to FIG. 1, a method for inspecting the appearance of solder joints based on machine vision includes an appearance inspection system. The appearance inspection system includes a control module 1. The control module 1 is connected with an image acquisition module 2, a light source control module 3, and a camera position adjustment module 4. The image processing module 5 and the image analysis module 6, the image analysis module 6 is connected with the alarm module 7, the control module 1, the image processing module 5, the image analysis module 6 and the alarm module 7 are all installed in the computer, and the control module 1 is connected with The storage unit is connected with the cloud server.

请参阅图4-7,图像采集模块2连接在焊点图像采集装置上,图像采集模块2为高清照相机,高清照相机的上端连接有无线信号传输器9,高清照相机上连接有光源控模块3,光源控模块3包括光敏传感器和LED灯带,四条LED灯带将高清照相机包围,相机位置调节模块4与无线信号传输器9信号连接,相机位置调节模块4包括直线导轨401和升降机402,高清照相机与直线导轨401上的滑块固定连接,高清照相机可沿直线导轨401运动,直线导轨401连接在升降机402上,升降机402可使直线导轨401沿垂直方向运动,升降机402的下端连接有底座,底座上连接有与高清照相机相匹配的传送带8,高清照相机的镜头与传送带8的表面平行,传送带8的一个传动轴上连接有电动机,电动机可驱动传动轴运动,从而带动传送带运动,传送带8上铺设有吸光层,使传送带8不易反光,通过吸光层的作用来减少反光,以此提升高清照相机拍摄出的照片质量,光敏传感器可检测环境亮度,当环境较暗时光敏传感器发送反馈信号给LED灯带,使LED灯带的亮度调高,当环境较亮时光敏传感器发送反馈信号给LED灯带,使LED灯带的亮度调低。Please refer to Figure 4-7, the image acquisition module 2 is connected to the solder joint image acquisition device, the image acquisition module 2 is a high-definition camera, the upper end of the high-definition camera is connected with a wireless signal transmitter 9, and the high-definition camera is connected with a light source control module 3, The light source control module 3 includes a photosensitive sensor and an LED light strip. Four LED light strips surround the high-definition camera. The camera position adjustment module 4 is signally connected to the wireless signal transmitter 9. The camera position adjustment module 4 includes a linear guide 401 and a lift 402. The high-definition camera Fixed connection with the slider on the linear guide 401, the high-definition camera can move along the linear guide 401, the linear guide 401 is connected to the elevator 402, the elevator 402 can make the linear guide 401 move in the vertical direction, the lower end of the elevator 402 is connected with a base, the base A conveyor belt 8 that matches the high-definition camera is connected to the top. The lens of the high-definition camera is parallel to the surface of the conveyor belt 8. A transmission shaft of the conveyor belt 8 is connected with a motor. The motor can drive the transmission shaft to move, thereby driving the conveyor belt to move. There is a light-absorbing layer, so that the conveyor belt 8 is not easy to reflect light, and the light-absorbing layer is used to reduce light reflection, so as to improve the quality of pictures taken by high-definition cameras. When the environment is brighter, the light sensitive sensor sends a feedback signal to the LED light strip to reduce the brightness of the LED light strip.

电动机可驱动传送带8运动,高清照相机可以沿直线导轨401运动,以此使高清照相机靠近工件上的焊点,技术人员可根据焊点定位技术来控制直线导轨401和电动机,以此来调节高清照相机和工件的位置,使工件上的焊点正对高清照相机上的镜头,技术人员还可控制升降机402调节高清照相机的高度,使高清照相机可以位于对不同的高度对工件进行拍摄,使高清照相机的高度可以适应工件大小,还可以在不同的高度拍摄不同尺寸的焊点图像,技术人员还可将装置整体放入隔音的暗箱中以此来减少环境光和环境噪音的干扰。The motor can drive the conveyor belt 8 to move, and the high-definition camera can move along the linear guide 401, so that the high-definition camera is close to the welding spot on the workpiece. The technician can control the linear guide 401 and the motor according to the welding spot positioning technology, so as to adjust the high-definition camera. and the position of the workpiece, so that the welding point on the workpiece is facing the lens on the high-definition camera, the technician can also control the lift 402 to adjust the height of the high-definition camera, so that the high-definition camera can be located at different heights to shoot the workpiece, so that the high-definition camera can be The height can be adapted to the size of the workpiece, and images of solder joints of different sizes can be taken at different heights. The technicians can also put the whole device into a soundproof obscure box to reduce the interference of ambient light and ambient noise.

请参阅图2,基于机器视觉的焊点外观检测方法,其检测方法为:首先将待检测工件固定在传送带8上,技术人员通过使用电动机控制传送带8来调节工件的位置,然后使用相机位置调节模块4调节高清照相机的位置,使高清照相机靠近工件焊点;然后高清照相机对工件进行多次曝光得到多张焊点处的高清图像;无线信号传输器9将得到的高清图像传输至计算机中,计算机内的图像处理模块5对图像进行处理;然后图像分析模块6将处理后的图像与模板图像进行对比分析;当工件图像与模板差异度较大时,图像分析模块6发送给报警模块7,使报警模块7发出警报提醒技术人员,同时图像分析模块6将分析结果发送给技术人员,让技术人员进行进一步的分析和评估,本领域技术人员可根据实际情况调节差异度的大小和范围,图像分析模块6还会将分析结果上传至储存模块中,储存模块会将接收到的分析结果上传至云端服务器进行被备份,方便技术人员调取。Please refer to Fig. 2, the inspection method for the appearance of solder joints based on machine vision, the inspection method is as follows: firstly, the workpiece to be inspected is fixed on the conveyor belt 8, the technician adjusts the position of the workpiece by using the motor to control the conveyor belt 8, and then uses the camera to adjust the position Module 4 adjusts the position of the high-definition camera, so that the high-definition camera is close to the welding spot of the workpiece; then the high-definition camera exposes the workpiece for multiple times to obtain high-definition images at multiple welding spots; the wireless signal transmitter 9 transmits the obtained high-definition images to the computer, The image processing module 5 in the computer processes the image; then the image analysis module 6 compares and analyzes the processed image and the template image; when the difference between the workpiece image and the template is larger, the image analysis module 6 sends to the alarm module 7, The alarm module 7 is made to issue an alarm to remind the technicians, and the image analysis module 6 sends the analysis results to the technicians for further analysis and evaluation. Those skilled in the art can adjust the size and scope of the difference according to the actual situation. The analysis module 6 will also upload the analysis results to the storage module, and the storage module will upload the received analysis results to the cloud server for backup, which is convenient for technicians to retrieve.

检测方法中模板图像的准备步骤为:调节标准工件和图像采集模块2的位置,使相机靠近标准工件焊点;使用通过图像采集模块2多次曝光得到多个焊点处的高清图像;无线信号传输器9将得到的高清图像传输至计算机,计算机内的图像处理模块5对图像进行处理;处理后的图像储存至图像分析模块6中。The preparation steps of the template image in the detection method are: adjusting the position of the standard workpiece and the image acquisition module 2, so that the camera is close to the welding point of the standard workpiece; using the image acquisition module 2 for multiple exposures to obtain high-definition images at multiple welding points; wireless signal The transmitter 9 transmits the obtained high-definition image to the computer, and the image processing module 5 in the computer processes the image; the processed image is stored in the image analysis module 6 .

同一种工件标准件的焊点图像可能不同,技术人员可以使用此方法向图像分析模块6中录入多个标准工件不同像素大小和尺寸的焊点图像,使图像分析模块6工作时可以将检测工件的不同像素的图像与多个模板对应像素和尺寸的图像对比分析并取平均值,以此减少分析误差,在图像分析中还可使用感知哈希算法进行图片相似度对比来分析焊点图片,图像的尺寸和大小可通过调节相机的高度和相机的放大倍率来调节。The solder joint images of the same workpiece standard part may be different. The technician can use this method to input the solder joint images of multiple standard workpieces with different pixel sizes and sizes into the image analysis module 6, so that the image analysis module 6 can detect the workpiece when it is working. The images of different pixels and the images of the corresponding pixels and sizes of multiple templates are compared and analyzed and averaged to reduce the analysis error. In the image analysis, the perceptual hash algorithm can also be used to compare the image similarity to analyze the solder joint images. The size and size of the image can be adjusted by adjusting the height of the camera and the magnification of the camera.

请参阅图3,上述检测方法中图像处理工作的步骤为:首先将多次曝光所得到的图像进行融合;然后调节图像的对比度、饱和度和亮度,使图像更清晰;再对图像进行去噪和滤波处理,消除数字图像中噪声;最后根据灰度等级使用区域生长法将图像分割为多个区域,并选择出灰度异常的区域。Referring to Figure 3, the steps of image processing in the above detection method are: first, fuse the images obtained by multiple exposures; then adjust the contrast, saturation and brightness of the image to make the image clearer; and then denoise the image and filtering to eliminate noise in digital images; finally, the image is divided into multiple regions by region growing method according to the gray level, and the region with abnormal gray level is selected.

通过多次曝光融合使图像达到HDR的效果,提高动态范围,使图像可以更加逼近真实的光线效果,由于成像系统、传输介质和记录设备等的不完善,数字图像在其形成、传输记录过程中往往会受到多种噪声的污染。另外,在图像处理的某些环节当输入的像对象并不如预想时也会在结果图像中引入噪声。这些噪声在图像上常表现为一引起较强视觉效果的孤立像素点或像素块。一般,噪声信号与要研究的对象不相关它以无用的信息形式出现,扰乱图像的可观测信息。对于数字图像信号,噪声表为或大或小的极值,这些极值通过加减作用于图像像素的真实灰度值上,对图像造成亮、暗点干扰,极大降低了图像质量,影响图像复原、分割、特征提取、图像识别等后继工作的进行,对图像进行去噪和滤波处理,可以减少数字图像中的噪点,去除目标和背景中的噪声,同时能很好地保护图像目标的形状、大小及特定的几何和拓扑结构特征。Through multiple exposure fusion, the image can achieve the effect of HDR, improve the dynamic range, and make the image more close to the real light effect. It is often polluted by a variety of noises. In addition, in some aspects of image processing, when the input image object is not as expected, noise will also be introduced into the resulting image. These noises often appear as an isolated pixel point or pixel block that causes a strong visual effect on the image. Generally, the noise signal is irrelevant to the object to be studied. It appears in the form of useless information, disturbing the observable information of the image. For digital image signals, the noise table is a large or small extreme value. These extreme values act on the real gray value of the image pixels through addition and subtraction, causing bright and dark spot interference to the image, greatly reducing the image quality and affecting the Image restoration, segmentation, feature extraction, image recognition and other follow-up work, denoising and filtering the image, can reduce the noise in the digital image, remove the noise in the target and the background, and can well protect the image target. Shape, size, and specific geometric and topological features.

本发明方便于对工件的焊点图像进行采集,以便获得不同尺寸的焊点图像,通过将不同尺寸的焊点图像与对应的模板进行对比分析,可以得到精确的焊点外观分析结果,分析结果会被上传至云端服务器,使技术人员可以随时调取来对工件进行分析和评估,出现焊点缺陷的工件会触发报警模块7,使技术人员可以及时发现缺陷工件,本发明根据焊点定位技术控制传送带8、升降机401和直线导轨402进行工件和相机的位置调节,使相机正对焊点,以获得准确清晰的焊点图像,本发明的焊点图像采集装置使用无线信号控制,可以实现一台计算机控制多个焊点图像采集装置进行工作,实现多个焊点图像采集装置同时工作,对多个工件进行检查,提高工作效率。The invention facilitates the collection of the welding spot images of the workpiece, so as to obtain the welding spot images of different sizes. It will be uploaded to the cloud server, so that the technician can call it at any time to analyze and evaluate the workpiece. The workpiece with solder joint defects will trigger the alarm module 7, so that the technician can find the defective workpiece in time. The present invention is based on the solder joint positioning technology. Control the conveyor belt 8, the elevator 401 and the linear guide 402 to adjust the position of the workpiece and the camera, so that the camera is directly facing the solder joint to obtain an accurate and clear solder joint image. The solder joint image acquisition device of the present invention uses wireless signal control, which can realize a A computer controls multiple solder point image acquisition devices to work, realizes multiple solder point image acquisition devices to work at the same time, inspects multiple workpieces, and improves work efficiency.

以上所述,仅为本发明较佳的具体实施方式;但本发明的保护范围并不局限于此。任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其改进构思加以等同替换或改变,都应涵盖在本发明的保护范围内。The above description is only a preferred embodiment of the present invention; however, the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical scope of the present invention, according to the technical solution of the present invention and its improvement concept, equivalently replaces or changes, should be covered within the protection scope of the present invention.

Claims (9)

1. The welding spot appearance detection method based on machine vision comprises an appearance detection system and is characterized in that: the appearance detection system comprises a control module (1), wherein the control module (1) is connected with an image acquisition module (2), a light source control module (3), a camera position adjusting module (4), an image processing module (5) and an image analysis module (6), the image analysis module (6) is connected with an alarm module (7), and the control module (1), the image processing module (5), the image analysis module (6) and the alarm module (7) are all installed in a computer.
2. The machine vision-based weld spot appearance detection method according to claim 1 or 2, wherein: including solder joint image acquisition device, image acquisition module (2) are connected on solder joint image acquisition device, image acquisition module (2) are the high definition camera, the upper end of high definition camera is connected with wireless signal transmitter (9), be connected with light source control module (3) on the high definition camera, camera position control module (4) include linear guide (401) and lift (402), the high definition camera is connected with linear guide (401), the lower extreme of lift (402) is connected with the base, be connected with on the base with high definition camera assorted conveyer belt (8), be connected with the motor on a transmission shaft of conveyer belt (8).
3. The machine vision-based weld spot appearance detection method according to claim 1 or 2, wherein: the detection method comprises the following steps:
A1. adjusting the positions of the workpiece and the image acquisition module (2) to enable the camera to be close to a welding point of the workpiece;
A2. obtaining a high-definition image at a welding point by using multiple exposures through the image acquisition module (2);
A3. the wireless signal transmitter (9) transmits the obtained high-definition image to a computer, and an image processing module (5) in the computer processes the image;
A4. comparing and analyzing the image processed in the previous step and the template image through an image analysis module (6);
A5. and sending the analysis result, and evaluating the analysis result by a technician.
4. The machine vision-based weld spot appearance detection method according to claim 1 or 3, wherein: the preparation of the template image in a4 comprises the following steps:
B1. adjusting the positions of the standard workpiece and the image acquisition module (2) to enable the camera to be close to the welding point of the standard workpiece;
B2. obtaining high-definition images at a plurality of welding points by using multiple exposures of the image acquisition module (2);
b3 the wireless signal transmitter (9) transmits the obtained high-definition image to the computer, and the image processing module (5) in the computer processes the image;
B4. and storing the processed image into an image analysis module (6).
5. The machine vision-based weld spot appearance detection method according to claim 1 or 3, wherein: the image processing work in A3 and B3 includes the following steps:
B201. fusing images obtained by multiple exposures;
B202. adjusting the contrast, saturation and brightness of the image to make the image clearer;
B203. denoising the image, namely eliminating noise points in the image;
B204. filtering the image to further eliminate noise in the image;
B205. and (5) image segmentation, namely selecting an area with abnormal gray scale.
6. The machine vision-based weld spot appearance detection method according to claim 1, wherein: the light source control module (3) comprises a photosensitive sensor and an LED lamp strip.
7. The machine vision-based weld spot appearance detection method according to claim 1 or 2, wherein: and a light absorption layer is paved on the conveyor belt (8).
8. The machine vision-based weld spot appearance detection method according to claim 1, wherein: the cloud server is characterized in that a storage unit is connected in the control module (1) and is connected with the cloud server.
9. The machine vision-based weld spot appearance detection method according to claim 1, wherein: the welding spot image acquisition device is placed in a sound insulation dark box.
CN201910165079.6A 2019-03-05 2019-03-05 Appearance inspection method of solder joints based on machine vision Pending CN111307812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910165079.6A CN111307812A (en) 2019-03-05 2019-03-05 Appearance inspection method of solder joints based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910165079.6A CN111307812A (en) 2019-03-05 2019-03-05 Appearance inspection method of solder joints based on machine vision

Publications (1)

Publication Number Publication Date
CN111307812A true CN111307812A (en) 2020-06-19

Family

ID=71144658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910165079.6A Pending CN111307812A (en) 2019-03-05 2019-03-05 Appearance inspection method of solder joints based on machine vision

Country Status (1)

Country Link
CN (1) CN111307812A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112108758A (en) * 2020-10-14 2020-12-22 天津津航计算技术研究所 Welding visual fault detection technical method for laser welding robot
CN112525921A (en) * 2020-11-23 2021-03-19 青岛海尔工业智能研究院有限公司 Household appliance appearance detection equipment and image transmission method implemented by same
CN113030111A (en) * 2021-03-30 2021-06-25 山东大学 Machine vision-based automotive oil cooler cold joint detection system and method
CN113850754A (en) * 2021-08-20 2021-12-28 信维通信(江苏)有限公司 Nanocrystalline material detection method and terminal
CN114646639A (en) * 2020-12-18 2022-06-21 株洲盈定自动化设备科技有限公司 Method and equipment for detecting solder joints after soldering of lead-acid battery lugs
CN117226331A (en) * 2023-11-13 2023-12-15 深圳市捷汇多科技有限公司 Welding process monitoring and analyzing method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU4143689A (en) * 1988-10-03 1990-04-05 Hughes Aircraft Company Optical inspection system for solder joints and inspection methods
AT503559B1 (en) * 2006-06-02 2007-11-15 Fronius Int Gmbh DEVICE FOR EVALUATING PICTURES OF WELDING POINTS ON A CARRIER MATERIAL
CN105510338A (en) * 2016-01-07 2016-04-20 苏州市璟硕自动化设备有限公司 Solder paste and red glue detection method
CN107610085A (en) * 2016-07-11 2018-01-19 富强 A kind of welding point defect detecting system based on computer vision
CN207742101U (en) * 2017-10-18 2018-08-17 南昌工程学院 A kind of multi-functional high spectrum image detection device
CN109001230A (en) * 2018-05-28 2018-12-14 中兵国铁(广东)科技有限公司 Welding point defect detection method based on machine vision
CN109283182A (en) * 2018-08-03 2019-01-29 江苏理工学院 A method, device and system for detecting defects in battery solder joints

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU4143689A (en) * 1988-10-03 1990-04-05 Hughes Aircraft Company Optical inspection system for solder joints and inspection methods
AT503559B1 (en) * 2006-06-02 2007-11-15 Fronius Int Gmbh DEVICE FOR EVALUATING PICTURES OF WELDING POINTS ON A CARRIER MATERIAL
CN105510338A (en) * 2016-01-07 2016-04-20 苏州市璟硕自动化设备有限公司 Solder paste and red glue detection method
CN107610085A (en) * 2016-07-11 2018-01-19 富强 A kind of welding point defect detecting system based on computer vision
CN207742101U (en) * 2017-10-18 2018-08-17 南昌工程学院 A kind of multi-functional high spectrum image detection device
CN109001230A (en) * 2018-05-28 2018-12-14 中兵国铁(广东)科技有限公司 Welding point defect detection method based on machine vision
CN109283182A (en) * 2018-08-03 2019-01-29 江苏理工学院 A method, device and system for detecting defects in battery solder joints

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112108758A (en) * 2020-10-14 2020-12-22 天津津航计算技术研究所 Welding visual fault detection technical method for laser welding robot
CN112525921A (en) * 2020-11-23 2021-03-19 青岛海尔工业智能研究院有限公司 Household appliance appearance detection equipment and image transmission method implemented by same
CN114646639A (en) * 2020-12-18 2022-06-21 株洲盈定自动化设备科技有限公司 Method and equipment for detecting solder joints after soldering of lead-acid battery lugs
CN113030111A (en) * 2021-03-30 2021-06-25 山东大学 Machine vision-based automotive oil cooler cold joint detection system and method
CN113850754A (en) * 2021-08-20 2021-12-28 信维通信(江苏)有限公司 Nanocrystalline material detection method and terminal
CN117226331A (en) * 2023-11-13 2023-12-15 深圳市捷汇多科技有限公司 Welding process monitoring and analyzing method, device and system
CN117226331B (en) * 2023-11-13 2024-01-26 深圳市捷汇多科技有限公司 Welding process monitoring and analyzing method, device and system

Similar Documents

Publication Publication Date Title
CN111307812A (en) Appearance inspection method of solder joints based on machine vision
CN110530889A (en) A kind of optical detecting method suitable for industrial production line
CN111965198B (en) Solder spot detection device and detection method
CN112033965B (en) 3D arc surface defect detection method based on differential image analysis
CN106226325A (en) A kind of seat surface defect detecting system based on machine vision and method thereof
CN113504239B (en) Quality control data analysis method
CN109142381B (en) High-speed visual detection and identification equipment
CN102680494B (en) Based on arcuation face, the polishing metal flaw real-time detection method of machine vision
CN103245671A (en) Surface defect detection device and method for stamping piece
CN119198754B (en) A visual inspection system for appearance defects of pressure sensors
KR20160108644A (en) Device for detecting defect of device
US20150051860A1 (en) Automatic optical appearance inspection by line scan apparatus
WO2023168984A1 (en) Area-array camera-based quality inspection method and system for cathode copper
CN111257343A (en) Device, system and method for detecting quality of inner surface of pipeline welding seam
CN111426693A (en) Quality defect detection system and detection method thereof
CN117092113A (en) Camera mould welding quality detection device and system thereof
CN112013799A (en) Internal thread hole detection method and device
KR20070101669A (en) Vision Inspection System and Inspection Method of Mounting Plate Assembly
KR102291166B1 (en) High-speed automatic detecting apparatus of foreign substances in film
TW201617605A (en) Defect inspection method and apparatus thereof
JP2007071661A (en) Appearance inspection device
JP2012189685A (en) Light quantity adjustment guidance device used for flat panel display assembling device
KR102021966B1 (en) Appearance inspecting apparatus for panal and inspecting method using thereof
CN114663406A (en) System, method and device for detecting external light of whole vehicle and storage medium
CN116523882B (en) Vision-based optical target area accuracy detection method and system

Legal Events

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

Application publication date: 20200619