CN108426891A - A kind of pin of optical device welding quality detection method and device - Google Patents

A kind of pin of optical device welding quality detection method and device Download PDF

Info

Publication number
CN108426891A
CN108426891A CN201810427468.7A CN201810427468A CN108426891A CN 108426891 A CN108426891 A CN 108426891A CN 201810427468 A CN201810427468 A CN 201810427468A CN 108426891 A CN108426891 A CN 108426891A
Authority
CN
China
Prior art keywords
optical device
pixel
image information
target
pin
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
CN201810427468.7A
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.)
Hubei University of Education
Original Assignee
Hubei University of Education
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 Hubei University of Education filed Critical Hubei University of Education
Priority to CN201810427468.7A priority Critical patent/CN108426891A/en
Publication of CN108426891A publication Critical patent/CN108426891A/en
Pending legal-status Critical Current

Links

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/89Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
    • G01N21/892Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles characterised by the flaw, defect or object feature examined
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties
    • B07C5/342Sorting according to other particular properties according to optical properties, e.g. colour
    • B07C5/3422Sorting according to other particular properties according to optical properties, e.g. colour using video scanning devices, e.g. TV-cameras
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • H05K13/08Monitoring manufacture of assemblages

Landscapes

  • Engineering & Computer Science (AREA)
  • Textile Engineering (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)
  • Operations Research (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Multimedia (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明涉及一种光器件引脚焊接质量检测方法,包括以下步骤:获取光器件的引脚焊接位置处的图像信息,并对图像信息进行二值化处理得到二值化图像信息;搜索二值化图像信息中的目标像素,获取由目标像素所组成的位于图像信息内的所有连通区域;获取各连通区域对应的外接矩形;根据标准焊接引脚的尺寸对外接矩形进行筛选,得到与光器件的焊接引脚一一对应的多个目标外接矩形,分别计算各目标外接矩形的中心点坐标,根据每个中心点坐标计算各中心点之间的位置关系;将位置关系与光器件各引脚之间的标准位置关系模板进行比对,当二者的比对误差在设定误差范围之内时判定光器件的引脚焊接合格。本发明提供的检测方法效率高、准确率高。

The invention relates to a method for detecting the soldering quality of optical device pins, comprising the following steps: acquiring image information at the soldering position of the optical device's pins, and performing binary processing on the image information to obtain binary image information; searching for the binary image information The target pixels in the optimized image information are obtained to obtain all the connected regions in the image information composed of the target pixels; the circumscribed rectangles corresponding to each connected region are obtained; the circumscribed rectangles are screened according to the size of the standard soldering pins to obtain the optical device The welding pins correspond to multiple target circumscribed rectangles one by one, respectively calculate the center point coordinates of each target circumscribed rectangle, and calculate the positional relationship between each center point according to the coordinates of each center point; compare the positional relationship with each pin of the optical device Compare the standard positional relationship templates between them, and when the comparison error between the two is within the set error range, it is determined that the pin welding of the optical device is qualified. The detection method provided by the invention has high efficiency and high accuracy.

Description

一种光器件引脚焊接质量检测方法及装置Method and device for detecting soldering quality of optical device pins

技术领域technical field

本发明涉及光器件检测技术领域,尤其涉及一种光器件引脚焊接质量检测方法及装置。The invention relates to the technical field of optical device detection, in particular to a method and device for detecting the soldering quality of optical device pins.

背景技术Background technique

现有技术中,光器件的引脚焊接检测,尤其是光收发一体组件的引脚焊接检测都是依靠人工来完成,处于人工或者半自动化检测状态,这一环节的成本占比较高,并且一次检测正确率偏低,检测效率低。In the prior art, the pin welding detection of optical devices, especially the pin welding detection of optical transceiver components, is done manually and is in the state of manual or semi-automatic detection. The cost of this link is relatively high, and one-time The detection accuracy rate is low and the detection efficiency is low.

发明内容Contents of the invention

本发明所要解决的技术问题是针对上述现有技术的不足,提供一种光器件引脚焊接质量检测方法及装置,利用图像识别技术智能甄选不良焊接的光器件,以减少人工检测的人力资源浪费,并提高检测效率和准确性。The technical problem to be solved by the present invention is to provide a method and device for detecting the soldering quality of optical device pins in view of the above-mentioned deficiencies in the prior art, and use image recognition technology to intelligently select poorly soldered optical devices to reduce the waste of human resources for manual inspection , and improve detection efficiency and accuracy.

本发明解决上述技术问题的技术方案如下:一种光器件引脚焊接质量检测方法,包括以下步骤:The technical solution of the present invention to solve the above-mentioned technical problems is as follows: a method for detecting the soldering quality of optical device pins, comprising the following steps:

步骤S1、获取光器件的引脚焊接位置处的图像信息,并对所述图像信息进行二值化处理得到二值化图像信息;Step S1, acquiring image information at the pin welding position of the optical device, and performing binarization processing on the image information to obtain binarized image information;

步骤S2、搜索所述二值化图像信息中的目标像素,获取由所述目标像素所组成的位于所述图像信息内的所有连通区域;Step S2, searching for target pixels in the binarized image information, and obtaining all connected regions in the image information composed of the target pixels;

步骤S3、获取各所述连通区域对应的外接矩形;Step S3. Acquiring circumscribed rectangles corresponding to each of the connected regions;

步骤S4、根据标准焊接引脚的尺寸对所述外接矩形进行筛选,得到与光器件的焊接引脚一一对应的多个目标外接矩形,分别计算各所述目标外接矩形的中心点坐标,根据每个所述中心点坐标计算各中心点之间的位置关系;Step S4: Screen the circumscribing rectangles according to the size of the standard soldering pins to obtain a plurality of target circumscribing rectangles corresponding to the soldering pins of the optical device, respectively calculate the center point coordinates of each target circumscribing rectangle, according to The coordinates of each center point calculate the positional relationship between each center point;

步骤S5、将所述位置关系与光器件各引脚之间的标准位置关系模板进行比对,当二者的比对误差在设定误差范围之内时判定光器件的引脚焊接合格。Step S5 , comparing the positional relationship with the standard positional relationship template between the pins of the optical device, and judging that the soldering of the pins of the optical device is qualified when the comparison error between the two is within the set error range.

本发明提供的光器件引脚焊接质量检测方法的有益效果:本发明提供的光器件引脚焊接质量检测方法可以自动化完成光器件引脚焊接质量的扫描以及检测,利用图像识别技术对图像信息进行分析,智能筛除焊接不良的光器件,减少人力成本,提高检测效率以及准确率。The beneficial effects of the method for detecting the soldering quality of the optical device pins provided by the present invention: the method for detecting the soldering quality of the optical device pins provided by the present invention can automatically complete the scanning and detection of the soldering quality of the optical device pins, and use image recognition technology to perform image information Analyze, intelligently screen out poorly welded optical components, reduce labor costs, and improve detection efficiency and accuracy.

在上述技术方案的基础上,本发明还可以做如下改进:On the basis of above-mentioned technical scheme, the present invention can also be improved as follows:

进一步:所述步骤S2具体包括:Further: the step S2 specifically includes:

步骤S21、逐一判断所述二值化图像信息中的像素是否为目标像素,提取相互邻接的所述目标像素,并将相互邻接的所述目标像素合并得到所述连通区域;Step S21, judging one by one whether the pixels in the binarized image information are target pixels, extracting the target pixels adjacent to each other, and merging the target pixels adjacent to each other to obtain the connected region;

步骤S22、对所述连通区域进行标记。Step S22, marking the connected regions.

上述进一步方案的有益效果是:对连通区域进行标记,便于连通区域的快速识别、提取。The beneficial effect of the above further solution is that the connected regions are marked to facilitate rapid identification and extraction of the connected regions.

进一步:判断所述二值化图像信息中的像素是否为目标像素具体包括:Further: judging whether the pixel in the binarized image information is a target pixel specifically includes:

步骤S211、判断所述二值化图像信息中的像素是否为焊点对应的像素,如果是则转步骤S212,否则判断所述像素不是目标像素;Step S211, judging whether the pixel in the binarized image information is the pixel corresponding to the solder joint, if so, go to step S212, otherwise judging that the pixel is not the target pixel;

步骤S212、判断所述像素的左边像素、上方像素以及左上方像素是否为焊点对应的像素,如果所述左边像素、上方像素以及左上方像素中至少有一个为焊点对应的像素则判断所述像素是目标像素,否则判断所述像素不是目标像素。Step S212, judging whether the left pixel, the upper pixel, and the upper left pixel of the pixel are pixels corresponding to solder joints, and if at least one of the left pixel, upper pixel, and upper left pixel is a pixel corresponding to solder joints, it is determined whether If the pixel is the target pixel, otherwise it is determined that the pixel is not the target pixel.

上述进一步方案的有益效果是:通过收缩运算对目标像素进行收缩,使得有目标像素组成的连通区域收缩至左上角,使得每个连通区域之间孤立和分离,便于后续的分析以及筛选。The beneficial effect of the above further solution is that the target pixels are shrunk through the shrinking operation, so that the connected region composed of the target pixels is shrunk to the upper left corner, so that each connected region is isolated and separated, which is convenient for subsequent analysis and screening.

进一步:所述步骤S3具体包括:Further: the step S3 specifically includes:

步骤S31、获取所述连通区域内位于最上方的目标像素、最下方的目标像素、最左边的目标像素以及最右边的目标像素;Step S31, obtaining the uppermost target pixel, the lowermost target pixel, the leftmost target pixel, and the rightmost target pixel in the connected region;

步骤S32、通过最上方的目标像素以及最下方的目标像素分别做水平直线L1,通过最左边的目标像素以及最右边的目标像素分别做竖直垂线L2,两条所述水平直线L1以及两条所述竖直垂线L2所围成的区域为所述外接矩形。Step S32, make a horizontal straight line L1 through the uppermost target pixel and the lowermost target pixel, respectively make a vertical line L2 through the leftmost target pixel and the rightmost target pixel, the two horizontal straight lines L1 and the two The area surrounded by the vertical line L2 is the circumscribed rectangle.

上述进一步方案的有益效果是:获取连通区域的外接矩形,便于与标准焊接引脚进行对比,进而便于对外接矩形的有效筛选。The beneficial effect of the above further solution is: obtaining the circumscribing rectangle of the connected area is convenient for comparison with standard soldering pins, thereby facilitating effective screening of the circumscribing rectangle.

进一步:所述位置关系包括各所述中心点之间的距离,以及各所述中心点的连线之间的夹角。Further: the positional relationship includes the distance between each of the center points, and the angle between the connecting lines of each of the center points.

上述进一步方案的有益效果是:通过中心点之间的位置关系判断焊点位置是否正确,进而判断焊点质量是否合格。The beneficial effect of the above further scheme is: judging whether the position of the solder joint is correct or not based on the positional relationship between the center points, and then judging whether the quality of the solder joint is qualified.

本发明还提供一种光器件引脚焊接质量检测装置,包括用于放置光器件的检测暗箱、第一摄像头以及处理器,所述第一摄像头设置于所述检测暗箱内,并与所述处理器电连接;The present invention also provides an optical device pin welding quality inspection device, including a detection dark box for placing optical devices, a first camera and a processor, the first camera is arranged in the detection dark box, and is connected with the processing electrical connection;

所述第一摄像头用于获取光器件的引脚焊接位置处的图像信息;The first camera is used to acquire image information at the pin welding position of the optical device;

所述处理器用于对所述图像信息进行二值化处理得到二值化图像信息;搜索所述二值化图像信息中的目标像素,获取由所述目标像素所组成的位于所述图像信息内的所有连通区域;获取各所述连通区域对应的外接矩形;根据标准焊接引脚的尺寸对所述外接矩形进行筛选,得到与光器件的焊接引脚一一对应的多个目标外接矩形,分别计算各所述目标外接矩形的中心点坐标,根据每个所述中心点坐标计算各中心点之间的位置关系;将所述位置关系与光器件各引脚之间的标准位置关系模板进行比对,当二者的比对误差在设定误差范围之内时判定光器件的引脚焊接合格。The processor is used to perform binarization processing on the image information to obtain binarized image information; search for target pixels in the binarized image information, and obtain a pixel composed of the target pixels and located in the image information All connected regions of the connected regions; obtain the circumscribed rectangles corresponding to each of the connected regions; screen the circumscribed rectangles according to the size of the standard soldering pins to obtain a plurality of target circumscribed rectangles corresponding to the soldering pins of the optical device, respectively Calculate the center point coordinates of each of the target circumscribed rectangles, and calculate the positional relationship between each center point according to each of the center point coordinates; compare the positional relationship with the standard positional relationship template between the pins of the optical device Yes, when the comparison error between the two is within the set error range, it is judged that the pin welding of the optical device is qualified.

本发明提供的光器件引脚焊接质量检测装置的有益效果是:光器件引脚焊接质量检测装置基于光器件引脚焊接质量检测方法,因此上述光器件引脚焊接质量检测方法所具备的有益效果,光器件引脚焊接质量检测装置同样具备,在此不再赘述。The beneficial effect of the optical device pin soldering quality detection device provided by the present invention is: the optical device pin soldering quality detection device is based on the optical device pin soldering quality detection method, so the above-mentioned optical device pin soldering quality detection method possesses the beneficial effect , the optical device pin soldering quality inspection device is also available, and will not be repeated here.

在上述技术方案的基础上,本发明还可以做如下改进:On the basis of above-mentioned technical scheme, the present invention can also be improved as follows:

进一步:光器件引脚焊接质量检测装置还包括送料组件,所述送料组件包括底座、滑轨、电机、物料盘以及限位传感器;Further: the optical device pin welding quality detection device also includes a feeding assembly, and the feeding assembly includes a base, a slide rail, a motor, a material tray, and a limit sensor;

所述检测暗箱以及滑轨均安装于所述底座上,所述滑轨穿设于所述检测暗箱内,且所述滑轨的两端伸出所述检测暗箱外;所述物料盘沿所述滑轨的滑动方向设置于所述滑轨上,并用于放置光器件;所述限位传感器安装于所述滑轨的侧面,并用于限制所述滑轨的滑动范围;所述电机与所述滑轨传动连接,并驱动所述滑轨滑动;所述电机以及所述限位传感器均与所述处理器电连接。Both the detection dark box and the slide rail are installed on the base, the slide rail is passed through the detection dark box, and the two ends of the slide rail extend out of the detection dark box; The sliding direction of the slide rail is set on the slide rail, and is used to place optical devices; the limit sensor is installed on the side of the slide rail, and is used to limit the sliding range of the slide rail; the motor and the The sliding rail is connected by transmission and drives the sliding rail to slide; the motor and the limit sensor are both electrically connected to the processor.

上述进一步方案的有益效果是:增加送料组件,实现光器件的自动进料以及自动出料,进而实现进料、检测以及出料全过程的自动化。The beneficial effect of the above further solution is: adding feeding components, realizing automatic feeding and automatic discharging of optical devices, and further realizing the automation of the whole process of feeding, testing and discharging.

进一步:光器件引脚焊接质量检测装置还包括设置于所述检测暗箱内用于安装所述第一摄像头的支架,所述支架为拱形,所述支架的两端均固定于所述底座上,且所述支架的两端分别设置于所述滑轨的两侧,所述第一摄像头安装于所述支架的内侧壁上。Further: the optical device pin soldering quality inspection device also includes a bracket arranged in the detection dark box for installing the first camera, the bracket is arched, and both ends of the bracket are fixed on the base , and the two ends of the bracket are respectively arranged on both sides of the slide rail, and the first camera is installed on the inner side wall of the bracket.

上述进一步方案的有益效果是:支架跨立于滑轨上,不与滑轨接触,有利于保持支架的稳定性,同时方便摄像头对滑轨上的光器件进行拍摄。The beneficial effect of the above further solution is that the bracket straddles the slide rail and does not contact the slide rail, which is beneficial to maintain the stability of the bracket, and at the same time facilitates the camera to take pictures of the optical devices on the slide rail.

进一步:光器件引脚焊接质量检测装置还包括用于识别光器件身份标识的第二摄像头,所述第二摄像头设置于所述检测暗箱内,并与所述处理器电连接。Furthermore: the optical device pin soldering quality inspection device further includes a second camera for identifying the identity of the optical device, the second camera is arranged in the detection dark box and is electrically connected to the processor.

上述进一步方案的有益效果是:通过第二摄像头识别光器件的身份标识,例如二维码、条形码等,将身份识别结果与检测结果同时反馈给用户,有利于用户对各光器件的检测结果进行辨识。The beneficial effect of the above further scheme is: the identification of the optical device is recognized by the second camera, such as a two-dimensional code, a bar code, etc., and the identification result and the detection result are fed back to the user at the same time, which is beneficial to the user for the detection results of each optical device. identify.

进一步:所述第一摄像头为两个,两个所述第一摄像头均设置于所述检测暗箱内,两个所述第一摄像头均与所述处理器电连接,且两个所述第一摄像头分别用于拍摄光器件两侧的引脚焊接图像。Further: there are two first cameras, both of which are installed in the detection dark box, both of the first cameras are electrically connected to the processor, and the two first cameras The cameras are respectively used to take images of pin welding on both sides of the optical device.

上述进一步方案的有益效果是:通过两个第一摄像头分别拍摄光器件两侧的引脚焊接图像,同时拍摄,同时识别判断,使得检测效率更高。The beneficial effect of the above further solution is that: the pin welding images on both sides of the optical device are respectively captured by the two first cameras, and the images are captured simultaneously and recognized and judged at the same time, so that the detection efficiency is higher.

附图说明Description of drawings

图1为本发明提供的一种光器件引脚焊接质量检测方法的流程图;Fig. 1 is a flow chart of a method for detecting the soldering quality of optical device pins provided by the present invention;

图2为本发明提供的一种光器件引脚焊接质量检测方法的目标像素判断的示意图;Fig. 2 is a schematic diagram of target pixel judgment of a method for detecting the soldering quality of optical device pins provided by the present invention;

图3为本发明提供的一种光器件引脚焊接质量检测方法的获取外接矩形的示意图;3 is a schematic diagram of obtaining a circumscribed rectangle in a method for detecting the soldering quality of optical device pins provided by the present invention;

图4为本发明提供的一种光器件引脚焊接质量检测装置的外部结构示意图;Fig. 4 is a schematic diagram of the external structure of an optical device pin soldering quality detection device provided by the present invention;

图5为为本发明提供的一种光器件引脚焊接质量检测装置的内部结构示意图。Fig. 5 is a schematic diagram of the internal structure of an optical device pin soldering quality detection device provided by the present invention.

附图中,各标号所代表的部件列表如下:In the accompanying drawings, the list of parts represented by each label is as follows:

1、检测暗箱,21、第一摄像头,22、第二摄像头,3、处理器,4、底座,5、滑轨,6、电机,7、物料盘,8、限位传感器,9、支架,10、光器件,L1、水平直线,L2、竖直垂线,。1. Detection black box, 21. First camera, 22. Second camera, 3. Processor, 4. Base, 5. Slide rail, 6. Motor, 7. Material tray, 8. Limit sensor, 9. Bracket, 10. Optical device, L1, horizontal line, L2, vertical line.

具体实施方式Detailed ways

以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

下面结合附图,对本发明进行说明。The present invention will be described below in conjunction with the accompanying drawings.

本发明实施例提供一种光器件引脚焊接质量检测方法,以下简称检测方法,如图1所示,包括以下步骤:An embodiment of the present invention provides a method for detecting the soldering quality of optical device pins, which is hereinafter referred to as the detection method, as shown in FIG. 1 , including the following steps:

步骤S1、获取光器件的引脚焊接位置处的图像信息,并对所述图像信息进行二值化处理得到二值化图像信息;Step S1, acquiring image information at the pin welding position of the optical device, and performing binarization processing on the image information to obtain binarized image information;

步骤S2、搜索所述二值化图像信息中的目标像素,获取由所述目标像素所组成的位于所述图像信息内的所有连通区域;Step S2, searching for target pixels in the binarized image information, and obtaining all connected regions in the image information composed of the target pixels;

步骤S3、获取各所述连通区域对应的外接矩形;Step S3. Acquiring circumscribed rectangles corresponding to each of the connected regions;

步骤S4、根据标准焊接引脚的尺寸对所述外接矩形进行筛选,得到与光器件的焊接引脚一一对应的多个目标外接矩形,分别计算各所述目标外接矩形的中心点坐标,根据每个所述中心点坐标计算各中心点之间的位置关系;Step S4: Screen the circumscribing rectangles according to the size of the standard soldering pins to obtain a plurality of target circumscribing rectangles corresponding to the soldering pins of the optical device, respectively calculate the center point coordinates of each target circumscribing rectangle, according to The coordinates of each center point calculate the positional relationship between each center point;

步骤S5、将所述位置关系与光器件各引脚之间的标准位置关系模板进行比对,当二者的比对误差在设定误差范围之内时判定光器件的引脚焊接合格。Step S5 , comparing the positional relationship with the standard positional relationship template between the pins of the optical device, and judging that the soldering of the pins of the optical device is qualified when the comparison error between the two is within the set error range.

本实施例提供的检测方法,首先拍摄引脚焊接位置处的图像,得到图像信息,对图像信息进行二值化处理得到二值化图像信息,二值化图像信息的像素种类少,便于处理器对其进行识别和处理。获取目标像素的连通区域,可以筛除散落的单个无效的目标像素。连通区域的形状各不相同,不利于对其进行识别和筛选,因此获取连通区域的外接矩形,对连通区域进行规整,便于后续的筛选以及中心点计算。通过标准焊接引脚的长宽比筛选外接矩形得到与焊接引脚形状对应的目标外接矩形,实现外接矩形的形状验证。最后计算各目标外接矩形的中心点坐标以及位置关系,对各目标外接矩形的位置关系进行验证,即对各个引脚的焊接位置进行验证,最后根据位置关系的验证结果判断引脚焊接是否合格。In the detection method provided in this embodiment, first, the image at the welding position of the pin is taken to obtain image information, and the image information is binarized to obtain binarized image information. The binarized image information has fewer pixel types, which is convenient for the processor. identify and process it. Obtaining the connected area of the target pixels can filter out scattered single invalid target pixels. The shapes of the connected regions are different, which is not conducive to its identification and screening. Therefore, the circumscribed rectangle of the connected region is obtained to regularize the connected region, which is convenient for subsequent screening and center point calculation. The circumscribing rectangle is screened by the aspect ratio of the standard soldering pin to obtain the target circumscribing rectangle corresponding to the shape of the soldering pin, and the shape verification of the circumscribing rectangle is realized. Finally, calculate the center point coordinates and positional relationship of each target circumscribing rectangle, verify the positional relationship of each target circumscribing rectangle, that is, verify the welding position of each pin, and finally judge whether the pin welding is qualified according to the verification result of the positional relationship.

具体地,标准焊接引脚是进行形状对比的标准对象,根据标准焊接引脚的尺寸,例如标准焊接引脚的长宽比,剔除噪声,得到目标外接矩形。在光收发一体组件引脚焊接的检测中,通常采用3*3或3*4的长宽比剔除不符合要求的连通区域的外接矩形。Specifically, the standard solder pin is a standard object for shape comparison, and noise is eliminated according to the size of the standard solder pin, such as the aspect ratio of the standard solder pin, to obtain a target circumscribed rectangle. In the detection of the soldering of the optical transceiver component pins, the aspect ratio of 3*3 or 3*4 is usually used to eliminate the circumscribed rectangle of the connection area that does not meet the requirements.

本实施例提供的检测方法有效的摒除了散落的无效目标像素,提取到二值化图像信息中的有效的特征,进而对特征进行双重验证,即形状验证以及位置关系验证,最后得到检测结果。因而本发明提供的检测方法不仅检测效率高,而且检测准确率高。The detection method provided by this embodiment effectively eliminates scattered invalid target pixels, extracts effective features in the binarized image information, and then performs double verification on the features, that is, shape verification and position relationship verification, and finally obtains the detection result. Therefore, the detection method provided by the present invention not only has high detection efficiency, but also has high detection accuracy.

本发明提供的检测方法,采用图像处理以及识别检测技术,能够自动完成光器件引脚焊接的质量检测,摒除了由于人工疲劳等因素造成的检测失误,检测效率和检测准确率都远远胜于人工检测。The detection method provided by the present invention adopts image processing and recognition detection technology, can automatically complete the quality detection of optical device pin soldering, eliminates detection errors caused by factors such as artificial fatigue, and the detection efficiency and detection accuracy are far better than Manual inspection.

优选的,所述步骤S2具体包括:Preferably, the step S2 specifically includes:

步骤S21、逐一判断所述二值化图像信息中的像素是否为目标像素,提取相互邻接的所述目标像素,并将相互邻接的所述目标像素合并得到所述连通区域;Step S21, judging one by one whether the pixels in the binarized image information are target pixels, extracting the target pixels adjacent to each other, and merging the target pixels adjacent to each other to obtain the connected region;

步骤S22、对所述连通区域进行标记。Step S22, marking the connected regions.

对不同的连通区域标记不同的标签,便于不同连通区域的辨识和提取,通过不同的标签,将各个连通区域孤立和分离,便于后续的筛选和计算工作。Marking different labels for different connected regions facilitates the identification and extraction of different connected regions, and isolates and separates each connected region through different labels, which facilitates subsequent screening and calculation.

优选的,判断所述二值化图像信息中的像素是否为目标像素具体包括:Preferably, judging whether the pixel in the binarized image information is a target pixel specifically includes:

步骤S211、判断所述二值化图像信息中的像素是否为焊点对应的像素,如果是则转步骤S212,否则判断所述像素不是目标像素;Step S211, judging whether the pixel in the binarized image information is the pixel corresponding to the solder joint, if so, go to step S212, otherwise judging that the pixel is not the target pixel;

步骤S212、判断所述像素的左边像素、上方像素以及左上方像素是否为焊点对应的像素,如果所述左边像素、上方像素以及左上方像素中至少有一个为焊点对应的像素则判断所述像素是目标像素,否则判断所述像素不是目标像素。Step S212, judging whether the left pixel, the upper pixel, and the upper left pixel of the pixel are pixels corresponding to solder joints, and if at least one of the left pixel, upper pixel, and upper left pixel is a pixel corresponding to solder joints, it is determined whether If the pixel is the target pixel, otherwise it is determined that the pixel is not the target pixel.

举例说明:将二值化图像信息中的白色像素用“1”表示,黑色像素用“0”表示,焊点对应的像素为白色像素,本实施例对于目标像素的判断为,对二值化图像信息进行搜索,遇到取值为“1”的像素时,判断该像素的左边像素、上方像素以及左上方像素的取值是否为“1”,当左边像素、上方像素以及左上方像素中至少一个取值为“1”时,这个像素才能判定为目标像素,并保持为“1”值。For example: the white pixel in the binarized image information is represented by "1", the black pixel is represented by "0", and the pixel corresponding to the solder joint is a white pixel. The judgment of the target pixel in this embodiment is, for the binarized Image information is searched, and when a pixel with a value of "1" is encountered, it is judged whether the value of the left pixel, upper pixel, and upper left pixel of the pixel is "1". When the left pixel, upper pixel, and upper left pixel are Only when at least one value is "1", this pixel can be determined as the target pixel and keep the value of "1".

结合图2,这种收缩运算可以用一下递归关系来描述:Combined with Figure 2, this contraction operation can be described by the following recurrence relation:

f(n,l)=h(h(f(n,l-1)+f(n,l)+f(n+1,l)-1)+h(f(n,1))+f(n+1,l-1))f(n,l)=h(h(f(n,l-1)+f(n,l)+f(n+1,l)-1)+h(f(n,1))+f (n+1,l-1))

其中,f(n,l)表示第n行第l列的像素,f(n,l-1)为f(n,l)的左边像素,f(n+1,l)为f(n,l)的上方像素,f(n+1,l-1)为f(n,l)的左上方像素。in, f(n,l) represents the pixel at row n and column l, f(n,l-1) is the left pixel of f(n,l), f(n+1,l) is f(n,l) The upper pixel of f(n+1,l-1) is the upper left pixel of f(n,l).

利用上式对二值化图像信息进行反复扫描,使得连通区域收缩至其边界的左上角。Using the above formula to scan the binarized image information repeatedly, the connected area shrinks to the upper left corner of its boundary.

优选的,如图3所示,所述步骤S3具体包括:Preferably, as shown in Figure 3, the step S3 specifically includes:

步骤S31、获取所述连通区域内位于最上方的目标像素、最下方的目标像素、最左边的目标像素以及最右边的目标像素;Step S31, obtaining the uppermost target pixel, the lowermost target pixel, the leftmost target pixel, and the rightmost target pixel in the connected region;

步骤S32、通过最上方的目标像素以及最下方的目标像素分别做水平直线L1,通过最左边的目标像素以及最右边的目标像素分别做竖直垂线L2,两条所述水平直线L1以及两条所述竖直垂线L2所围成的区域为所述外接矩形。Step S32, make a horizontal straight line L1 through the uppermost target pixel and the lowermost target pixel, respectively make a vertical line L2 through the leftmost target pixel and the rightmost target pixel, the two horizontal straight lines L1 and the two The area surrounded by the vertical line L2 is the circumscribed rectangle.

获取连通区域的外接矩形,矩形的区域的形状容易进行描述、计算以及对比,便于后续的筛选工作,同时有利于后续中心点的计算工作。Obtain the circumscribed rectangle of the connected area. The shape of the rectangular area is easy to describe, calculate, and compare, which is convenient for subsequent screening work, and is also conducive to the subsequent calculation of the center point.

优选的,所述位置关系包括各所述中心点之间的距离,以及各所述中心点的连线之间的夹角。Preferably, the positional relationship includes the distance between each of the center points, and the angle between the connecting lines of each of the center points.

通过位置关系的验证可以保证各引脚焊接点的位置精准无误,没有过大偏离。The verification of the positional relationship can ensure that the positions of the soldering points of each pin are accurate and there is no excessive deviation.

本发明实施例还提供一种光器件引脚焊接质量检测装置,以下简称检测装置,如图4所示,包括用于放置光器件10的检测暗箱1、第一摄像头21以及处理器3,所述第一摄像头21设置于所述检测暗箱1内,并与所述处理器3电连接;The embodiment of the present invention also provides an optical device lead soldering quality detection device, which is hereinafter referred to as the detection device, as shown in FIG. The first camera 21 is arranged in the detection dark box 1 and is electrically connected with the processor 3;

所述第一摄像头21用于获取光器件10的引脚焊接位置处的图像信息;The first camera 21 is used to acquire image information at the pin welding position of the optical device 10;

所述处理器3用于对所述图像信息进行二值化处理得到二值化图像信息;搜索所述二值化图像信息中的目标像素,获取由所述目标像素所组成的位于所述图像信息内的所有连通区域;获取各所述连通区域对应的外接矩形;根据标准焊接引脚的尺寸对所述外接矩形进行筛选,得到与光器件的焊接引脚一一对应的多个目标外接矩形,分别计算各所述目标外接矩形的中心点坐标,根据每个所述中心点坐标计算各中心点之间的位置关系;将所述位置关系与光器件10各引脚之间的标准位置关系模板进行比对,当二者的比对误差在设定误差范围之内时判定光器件10的引脚焊接合格。The processor 3 is used to perform binarization processing on the image information to obtain binarized image information; search for target pixels in the binarized image information, and obtain a pixel located in the image composed of the target pixels All the connected areas in the information; obtain the circumscribed rectangles corresponding to each of the connected areas; filter the circumscribed rectangles according to the size of the standard soldering pins, and obtain a plurality of target circumscribed rectangles corresponding to the soldering pins of the optical device one by one , respectively calculate the center point coordinates of each described target circumscribed rectangle, calculate the positional relationship between each center point according to each described center point coordinate; Described positional relationship and standard positional relationship between each pin of optical device 10 The templates are compared, and when the comparison error between the two is within the set error range, it is determined that the soldering of the pins of the optical device 10 is qualified.

具体地,检测暗箱1为第一摄像头21提供稳定的拍摄环境,提高引脚焊接位置处图像的拍摄质量,便于后续的图像识别和处理。Specifically, the detection obscura 1 provides a stable shooting environment for the first camera 21, improves the shooting quality of images at pin welding positions, and facilitates subsequent image recognition and processing.

本发明提供的检测装置基于上述检测方法,因此上述检测方法所具备的有益效果,检测装置同样具备,在此不再赘述。The detection device provided by the present invention is based on the above detection method, so the detection device also possesses the beneficial effects of the above detection method, which will not be repeated here.

优选的,如图4所示,检测装置还包括送料组件,所述送料组件包括底座4、滑轨5、电机6、物料盘7以及限位传感器8;Preferably, as shown in FIG. 4 , the detection device further includes a feeding assembly, which includes a base 4, a slide rail 5, a motor 6, a material tray 7 and a limit sensor 8;

所述检测暗箱1以及滑轨5均安装于所述底座4上,所述滑轨5穿设于所述检测暗箱1内,且所述滑轨5的两端伸出所述检测暗箱1外;所述物料盘7沿所述滑轨5的滑动方向设置于所述滑轨上,并用于放置光器件10;所述限位传感器8安装于所述滑轨5的侧面,并用于限制所述滑轨5的滑动范围;所述电机6与所述滑轨5传动连接,并驱动所述滑轨5滑动;所述电机6以及所述限位传感器8均与所述处理器3电连接。The detection dark box 1 and the slide rail 5 are installed on the base 4, the slide rail 5 is penetrated in the detection dark box 1, and the two ends of the slide rail 5 extend out of the detection black box 1 The material tray 7 is arranged on the slide rail along the sliding direction of the slide rail 5, and is used to place the optical device 10; the limit sensor 8 is installed on the side of the slide rail 5, and is used to limit the The sliding range of the slide rail 5; the motor 6 is connected to the slide rail 5 in transmission, and drives the slide rail 5 to slide; the motor 6 and the limit sensor 8 are electrically connected to the processor 3 .

本实施例增加了送料组件,具体地,本实施例中滑轨5的总长度为700mm,滑轨5采用铝制材料,表面阳极氧化处理,滑轨5通过安装架安装在底座4上,安装架采用铝制材料拼接而成,底座可采用碳钢封板,以便保证检测装置整体的美观性;底座的底面粘贴橡胶软件,有利于保护检测台面。滑轨5的传送带采用草绿色PVC材质防静电防滑皮带。对所有钣金件进行喷塑处理。还可设置急停按钮,急停按钮与处理器3电连接,并用于实现滑轨5的急停,将急停按钮安装在底座上或者检测工作台的侧面,方便在设备出现紧急情况下时快速按动急停按钮。处理器3、电机6以及限位传感器8均可设置与检测暗箱1内,检测暗箱1处理器3、电机6以及限位传感器8起到保护作用。In this embodiment, a feeding assembly is added. Specifically, the total length of the slide rail 5 in this embodiment is 700 mm. The slide rail 5 is made of aluminum material, and the surface is anodized. The slide rail 5 is installed on the base 4 through the mounting bracket. The frame is made of aluminum materials, and the base can be sealed with carbon steel to ensure the overall aesthetics of the detection device; the bottom of the base is pasted with rubber software, which is conducive to protecting the detection table. The conveyor belt of slide rail 5 adopts grass green PVC material anti-static anti-skid belt. All sheet metal parts are sprayed with plastic. An emergency stop button can also be set, which is electrically connected to the processor 3 and used to realize the emergency stop of the slide rail 5. The emergency stop button is installed on the base or on the side of the detection workbench to facilitate Quickly press the emergency stop button. The processor 3, the motor 6 and the limit sensor 8 can be arranged and detected in the dark box 1, and the processor 3, the motor 6 and the limit sensor 8 of the detection dark box 1 play a protective role.

增加了送料组件后,检测装置只需要安排装配工人进行放料和卸料,其余工作均可由检测装置自动完成,检测装置的操作流程如下:装配人员分别将已焊接好的一组光器件同方向整齐摆放至物料盘7上,然后将物料盘7放置在滑轨5上,接通检测设备电源并按动开始按钮启动。滑轨5自动将物料盘7送往检测暗箱1,通过第一摄像头21时自动进行图像拍摄、处理以及检测识别。完成检测后,滑轨5将物料盘7送出检测暗箱1,并及时反馈检测结果。装配工人将检测完的光器件从物料盘7中取出,按照检测结果对光器件进行筛选处理,并摆放下一组光器件。After the feeding component is added, the detection device only needs to arrange assembly workers to discharge and unload the material, and the rest of the work can be automatically completed by the detection device. Put it neatly on the material tray 7, then place the material tray 7 on the slide rail 5, turn on the power of the testing equipment and press the start button to start. The slide rail 5 automatically sends the material tray 7 to the detection black box 1, and when passing through the first camera 21, image capture, processing, detection and recognition are automatically performed. After the detection is completed, the slide rail 5 sends the material tray 7 out of the detection black box 1, and feedbacks the detection result in time. The assembler takes out the tested optical devices from the material tray 7, screens the optical devices according to the detection results, and places the next group of optical devices.

送料组件实现了光器件的自动进料以及自动出料,使得光器件的进料、检测以及出料实现全过程的自动化,减少人力成本,提高进料出料速度以及检测速度。The feeding component realizes the automatic feeding and discharging of the optical device, which makes the feeding, testing and discharging of the optical device realize the automation of the whole process, reduces labor costs, and improves the feeding and discharging speed and detection speed.

优选的,如图5所示,检测装置还包括设置于所述检测暗箱1内用于安装所述第一摄像头21的支架9,所述支架9为拱形,所述支架9的两端均固定于所述底座4上,且所述支架9的两端分别设置于所述滑轨5的两侧,所述第一摄像头21安装于所述支架9的内侧壁上。Preferably, as shown in Figure 5, the detection device also includes a bracket 9 arranged in the detection dark box 1 for installing the first camera 21, the bracket 9 is arched, and the two ends of the bracket 9 are It is fixed on the base 4 , and the two ends of the bracket 9 are respectively arranged on both sides of the slide rail 5 , and the first camera 21 is installed on the inner side wall of the bracket 9 .

支架9为摄像头提供了一个稳定的支撑,使得第一摄像头21拍摄时不会晃动,拍摄效果更好,便于后续的图像识别和处理。The bracket 9 provides a stable support for the camera, so that the first camera 21 will not shake when shooting, and the shooting effect is better, which is convenient for subsequent image recognition and processing.

优选的,如图5所示,检测装置还包括用于识别光器件10身份标识的第二摄像头22,所述第二摄像头22设置于所述检测暗箱1内,并与所述处理器3电连接。Preferably, as shown in FIG. 5 , the detection device further includes a second camera 22 for identifying the identity of the optical device 10, the second camera 22 is arranged in the detection dark box 1, and is electrically connected to the processor 3 connect.

在光器件10上贴上身份识别标签,身份识别表标签可以是二维码、条形码等,通过第二摄像头22对身份识别标签进行扫描,将光器件的检测结果以及身份识别信息同步反馈至检测员,便于光器件10的检测结果的辨识以及光器件的筛选。Paste an identification label on the optical device 10, the identification table label can be a two-dimensional code, a bar code, etc., scan the identification label through the second camera 22, and synchronously feed back the detection result of the optical device and the identification information to the detection It is convenient for the identification of the detection result of the optical device 10 and the screening of the optical device.

优选的,如图5所示,所述第一摄像头21为两个,两个所述第一摄像头21均设置于所述检测暗箱1内,两个所述第一摄像头21均与所述处理器3电连接,且两个所述第一摄像头21分别用于拍摄光器件10两侧的引脚焊接图像。Preferably, as shown in FIG. 5 , there are two first cameras 21, both of which are arranged in the detection dark box 1, and both of the first cameras 21 are compatible with the processing The device 3 is electrically connected, and the two first cameras 21 are respectively used to capture pin welding images on both sides of the optical device 10 .

利用两个第一摄像头21同时拍摄光器件10两侧的引脚焊接图像,处理器3同时进行识别处理,有利于加快识别以及检测速度。Two first cameras 21 are used to simultaneously capture pin welding images on both sides of the optical device 10, and the processor 3 simultaneously performs identification processing, which is beneficial to speed up identification and detection.

具体地,可以将两个摄像头21分别安装于支架9的两端,两个第一摄像头21均安装于支架9朝向滑轨5的一侧。第二摄像头22安装于支架9的顶端,且同样安装于支架9朝向滑轨5的一侧。通过支架9实现两个第一摄像头21和第二摄像头22的安装,简化了机械结构,实现两个第一摄像头21和第二摄像头22的同时拍摄,处理器3的同步处理,提高了检测效率。Specifically, two cameras 21 may be installed on both ends of the bracket 9 respectively, and the two first cameras 21 are both installed on the side of the bracket 9 facing the slide rail 5 . The second camera 22 is installed on the top of the bracket 9 , and is also installed on the side of the bracket 9 facing the slide rail 5 . The installation of the two first cameras 21 and the second camera 22 is realized by the bracket 9, the mechanical structure is simplified, the simultaneous shooting of the two first cameras 21 and the second camera 22 is realized, and the synchronous processing of the processor 3 improves the detection efficiency .

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (10)

1. The method for detecting the welding quality of the optical device pin is characterized by comprising the following steps of:
s1, acquiring image information at the pin welding position of the optical device, and performing binarization processing on the image information to obtain binarized image information;
step S2, searching target pixels in the binarized image information, and acquiring all connected regions which are formed by the target pixels and are positioned in the image corresponding to the image information;
step S3, acquiring a circumscribed rectangle corresponding to each connected region;
s4, screening the circumscribed rectangles according to the size of a standard welding pin to obtain a plurality of target circumscribed rectangles corresponding to the welding pin of the optical device one by one, respectively calculating the center point coordinates of each target circumscribed rectangle, and calculating the position relation between the center points according to each center point coordinate;
and step S5, comparing the position relation with a standard position relation template among the pins of the optical device, and judging that the pins of the optical device are welded qualified when the comparison error of the position relation and the standard position relation template is within a set error range.
2. The method for detecting the soldering quality of the optical device pin according to claim 1, wherein the step S2 specifically includes:
step S21, judging whether the pixels in the binarized image information are target pixels one by one, extracting the target pixels adjacent to each other, and combining the target pixels adjacent to each other to obtain the connected region;
and step S22, marking the connected region.
3. The method for detecting the welding quality of the optical device pin according to claim 2, wherein the step of judging whether the pixel in the binarized image information is a target pixel specifically comprises the steps of:
step S211, judging whether the pixel in the binarized image information is a pixel corresponding to a welding spot, if so, turning to step S212, otherwise, judging that the pixel is not a target pixel;
step S212, determining whether the left pixel, the upper pixel, and the upper left pixel of the pixel are pixels corresponding to the welding point, if at least one of the left pixel, the upper pixel, and the upper left pixel is a pixel corresponding to the welding point, determining that the pixel is the target pixel, otherwise determining that the pixel is not the target pixel.
4. The method for detecting the soldering quality of the optical device pin according to claim 1, wherein the step S3 specifically includes:
step S31, acquiring the uppermost target pixel, the lowermost target pixel, the leftmost target pixel and the rightmost target pixel in the connected region;
step S32, a horizontal straight line L1 is respectively drawn by the uppermost target pixel and the lowermost target pixel, a vertical perpendicular line L2 is respectively drawn by the leftmost target pixel and the rightmost target pixel, and an area surrounded by the two horizontal straight lines L1 and the two vertical perpendicular lines L2 is the circumscribed rectangle.
5. The method for detecting the soldering quality of an optical device pin according to any one of claims 1 to 4, wherein the positional relationship includes a distance between the central points and an angle between connecting lines of the central points.
6. The device for detecting the welding quality of the pins of the optical device is characterized by comprising a detection camera bellows (1) for placing the optical device (10), a first camera (21) and a processor (3), wherein the first camera (21) is arranged in the detection camera bellows (1) and is electrically connected with the processor (3);
the first camera (21) is used for acquiring image information at a pin welding position of the optical device (10);
the processor (3) is used for carrying out binarization processing on the image information to obtain binarized image information; searching target pixels in the binarized image information, and acquiring all connected regions which are formed by the target pixels and are located in the image information; acquiring a circumscribed rectangle corresponding to each connected region; screening the circumscribed rectangles according to the size of a standard welding pin to obtain a plurality of target circumscribed rectangles which are in one-to-one correspondence with the welding pin of the optical device, respectively calculating the coordinates of the central points of the target circumscribed rectangles, and calculating the position relation between the central points according to the coordinates of the central points; and comparing the position relation with a standard position relation template among the pins of the optical device (10), and judging that the pins of the optical device (10) are welded qualified when the comparison error of the position relation and the standard position relation template is within a set error range.
7. The device for detecting the welding quality of the pins of the optical device according to claim 6, further comprising a feeding assembly, wherein the feeding assembly comprises a base (4), a sliding rail (5), a motor (6), a material tray (7) and a limit sensor (8);
the detection camera bellows (1) and the slide rail (5) are both arranged on the base (4), the slide rail (5) penetrates through the detection camera bellows (1), and two ends of the slide rail (5) extend out of the detection camera bellows (1); the material tray (7) is arranged on the slide rail along the sliding direction of the slide rail (5) and is used for placing an optical device (10); the limiting sensor (8) is arranged on the side surface of the sliding rail (5) and is used for limiting the sliding range of the sliding rail (5); the motor (6) is in transmission connection with the sliding rail (5) and drives the sliding rail (5) to slide; the motor (6) and the limit sensor (8) are electrically connected with the processor (3).
8. The device for detecting the pin soldering quality of the optical device according to claim 7, further comprising a bracket (9) disposed in the detection camera box (1) and used for mounting the first camera (21), wherein the bracket (9) is arched, two ends of the bracket (9) are fixed on the base (4), two ends of the bracket (9) are disposed on two sides of the sliding rail (5), and the first camera (21) is mounted on an inner side wall of the bracket (9).
9. The device for detecting the welding quality of the pins of the optical devices as claimed in claim 6, further comprising a second camera (22) for identifying the identity of the optical devices (10), wherein the second camera (22) is disposed in the detection camera chamber (1) and electrically connected to the processor (3).
10. The device for detecting the pin soldering quality of an optical device according to any one of claims 6 to 9, wherein there are two first cameras (21), two first cameras (21) are disposed in the dark box (1), two first cameras (21) are electrically connected to the processor (3), and the two first cameras (21) are respectively used for capturing pin soldering images of two sides of the optical device (10).
CN201810427468.7A 2018-05-07 2018-05-07 A kind of pin of optical device welding quality detection method and device Pending CN108426891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810427468.7A CN108426891A (en) 2018-05-07 2018-05-07 A kind of pin of optical device welding quality detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810427468.7A CN108426891A (en) 2018-05-07 2018-05-07 A kind of pin of optical device welding quality detection method and device

Publications (1)

Publication Number Publication Date
CN108426891A true CN108426891A (en) 2018-08-21

Family

ID=63162471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810427468.7A Pending CN108426891A (en) 2018-05-07 2018-05-07 A kind of pin of optical device welding quality detection method and device

Country Status (1)

Country Link
CN (1) CN108426891A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109839385A (en) * 2019-03-04 2019-06-04 佛山市南海区广工大数控装备协同创新研究院 A kind of adaptive pcb board defective vision detection and localization and categorizing system
CN111054660A (en) * 2019-12-27 2020-04-24 绍兴中科通信设备有限公司 Detection device of optical device TO press-connection machine in 100G optical module and control method thereof
CN111185406A (en) * 2019-09-03 2020-05-22 北京瑞诚联众科技有限公司 Image-based welding spot detection method
CN114993964A (en) * 2022-05-31 2022-09-02 苏州浪潮智能科技有限公司 Component bottom pin welding detection method
CN115112564A (en) * 2022-05-13 2022-09-27 西安热工研究院有限公司 Film type tube panel fillet weld appearance quality detection system and working method thereof
CN116309568A (en) * 2023-05-18 2023-06-23 深圳恒邦新创科技有限公司 Chip soldering leg welding quality detection method and system
CN117274246A (en) * 2023-11-17 2023-12-22 深圳市大族封测科技股份有限公司 Bonding pad identification method, computer equipment and storage medium
CN117630041A (en) * 2023-12-06 2024-03-01 江苏科睿坦电子科技有限公司 RFID chip welding quality detection method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04309299A (en) * 1991-04-08 1992-10-30 Nippon Avionics Co Ltd Method and apparatus for collecting positioning information of electronic component
JPH08285785A (en) * 1995-04-14 1996-11-01 Seiwa Denki Kk Soldering inspection apparatus
KR101377032B1 (en) * 2013-04-11 2014-03-25 이춘식 Apparatus for eccentricity inspecting of base plate using flexible printed circuit board
CN103745475A (en) * 2014-01-22 2014-04-23 哈尔滨工业大学 Detection and positioning method used for spherical pin element
CN103761534A (en) * 2014-01-22 2014-04-30 哈尔滨工业大学 Method for detecting vision localization of QFP element
CN205175664U (en) * 2015-11-26 2016-04-20 上海维锐智能科技有限公司 Photoelectric detection system of LED charactron

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04309299A (en) * 1991-04-08 1992-10-30 Nippon Avionics Co Ltd Method and apparatus for collecting positioning information of electronic component
JPH08285785A (en) * 1995-04-14 1996-11-01 Seiwa Denki Kk Soldering inspection apparatus
KR101377032B1 (en) * 2013-04-11 2014-03-25 이춘식 Apparatus for eccentricity inspecting of base plate using flexible printed circuit board
CN103745475A (en) * 2014-01-22 2014-04-23 哈尔滨工业大学 Detection and positioning method used for spherical pin element
CN103761534A (en) * 2014-01-22 2014-04-30 哈尔滨工业大学 Method for detecting vision localization of QFP element
CN205175664U (en) * 2015-11-26 2016-04-20 上海维锐智能科技有限公司 Photoelectric detection system of LED charactron

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘禾: "《数字图像处理及应用》", 31 January 2006, 中国电力出版社, pages: 150 - 151 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109839385A (en) * 2019-03-04 2019-06-04 佛山市南海区广工大数控装备协同创新研究院 A kind of adaptive pcb board defective vision detection and localization and categorizing system
CN111185406A (en) * 2019-09-03 2020-05-22 北京瑞诚联众科技有限公司 Image-based welding spot detection method
CN111054660A (en) * 2019-12-27 2020-04-24 绍兴中科通信设备有限公司 Detection device of optical device TO press-connection machine in 100G optical module and control method thereof
CN111054660B (en) * 2019-12-27 2024-02-23 绍兴中科通信设备有限公司 Detection device of optical device TO crimping machine in 100G optical module and control method thereof
CN115112564A (en) * 2022-05-13 2022-09-27 西安热工研究院有限公司 Film type tube panel fillet weld appearance quality detection system and working method thereof
CN114993964A (en) * 2022-05-31 2022-09-02 苏州浪潮智能科技有限公司 Component bottom pin welding detection method
CN114993964B (en) * 2022-05-31 2024-01-12 苏州浪潮智能科技有限公司 Welding detection method for pins at bottom of component
CN116309568A (en) * 2023-05-18 2023-06-23 深圳恒邦新创科技有限公司 Chip soldering leg welding quality detection method and system
CN117274246A (en) * 2023-11-17 2023-12-22 深圳市大族封测科技股份有限公司 Bonding pad identification method, computer equipment and storage medium
CN117274246B (en) * 2023-11-17 2024-02-20 深圳市大族封测科技股份有限公司 Bonding pad identification method, computer equipment and storage medium
CN117630041A (en) * 2023-12-06 2024-03-01 江苏科睿坦电子科技有限公司 RFID chip welding quality detection method
CN117630041B (en) * 2023-12-06 2024-05-10 江苏科睿坦电子科技有限公司 RFID chip welding quality detection method

Similar Documents

Publication Publication Date Title
CN108426891A (en) A kind of pin of optical device welding quality detection method and device
WO2021169335A1 (en) Visual online detection method for laser welding point of lithium battery tab
CN110246122A (en) Small size bearing quality determining method, apparatus and system based on machine vision
CN114022436B (en) Detection method, device and detection equipment for printed circuit board
TWI669519B (en) Board defect filtering method and device thereof and computer-readabel recording medium
CN114723668A (en) A method and system for quality detection of cathode copper based on area scan camera
CN106442560A (en) Positioning measurement and defect detection method of display screen
CN108346592B (en) Method and device for simulating defects on back of wafer
CN117589770A (en) PCB patch board detection method, device, equipment and medium
CN119359538B (en) Image stitching method, computer readable storage medium and computer program product
CN113139399A (en) Image line frame identification method and server
CN118566248A (en) Chip patch precision visual detection method
US8139842B2 (en) Device and method for inspecting rechargeable battery connection structure
CN103308522A (en) Automatic camera chip module wire bonding quality tester
CN208224117U (en) A kind of pin of optical device Welding quality test device
CN107843601B (en) PCB positioning and identifying system and method based on image processing
CN110148141A (en) A kind of silk-screen optical filter small pieces detection method of counting and equipment
CN116563229A (en) Agricultural product defect detection method and system based on multi-view image feature fusion
TWI573098B (en) Wafer defect detection method
CN116255906A (en) Machine vision detection method and product for conductive slip ring filamentary brush array shape and position
CN115254667A (en) Device and method for defect detection of mobile phone frame accessories
CN211697573U (en) Automatic printing detection system
CN111818269A (en) A kind of identification method and identification system of vehicle certificate
CN222461302U (en) Burr detection device and pelleter
WO2022170743A1 (en) Card slot detection method and apparatus, and storage medium

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

Application publication date: 20180821

RJ01 Rejection of invention patent application after publication