[go: up one dir, main page]

CN115178909B - Welding quality detection method and device, terminal equipment and medium - Google Patents

Welding quality detection method and device, terminal equipment and medium Download PDF

Info

Publication number
CN115178909B
CN115178909B CN202210808539.4A CN202210808539A CN115178909B CN 115178909 B CN115178909 B CN 115178909B CN 202210808539 A CN202210808539 A CN 202210808539A CN 115178909 B CN115178909 B CN 115178909B
Authority
CN
China
Prior art keywords
solder
volume
target
filling
welding quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210808539.4A
Other languages
Chinese (zh)
Other versions
CN115178909A (en
Inventor
赵恒�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inovance Control Technology Co Ltd
Original Assignee
Suzhou Inovance Control Technology Co Ltd
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 Suzhou Inovance Control Technology Co Ltd filed Critical Suzhou Inovance Control Technology Co Ltd
Priority to CN202210808539.4A priority Critical patent/CN115178909B/en
Publication of CN115178909A publication Critical patent/CN115178909A/en
Application granted granted Critical
Publication of CN115178909B publication Critical patent/CN115178909B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K31/00Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups
    • B23K31/12Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups relating to investigating the properties, e.g. the weldability, of materials
    • B23K31/125Weld quality monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/0006Industrial image inspection using a design-rule based approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30152Solder

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Geometry (AREA)
  • Electric Connection Of Electric Components To Printed Circuits (AREA)

Abstract

The invention discloses a welding quality detection method, a device, terminal equipment and a medium, wherein the method comprises the following steps: the method comprises the steps of obtaining the solder usage volume of a target welding spot and the solder overflow volume corresponding to the target welding spot, calculating the solder filling volume based on the solder usage volume and the solder overflow volume, judging the welding quality of the target welding spot based on the solder filling volume and the target filling volume, and reducing the detection difficulty and improving the detection coverage rate on the premise of ensuring the validity of a detection result.

Description

焊接质量的检测方法、装置、终端设备与介质Welding quality testing methods, devices, terminal equipment and media

技术领域Technical field

本发明涉及焊接领域,尤其涉及一种焊接质量的检测方法、装置、终端设备与介质。The invention relates to the field of welding, and in particular to a welding quality detection method, device, terminal equipment and medium.

背景技术Background technique

钎焊,是采用比母材熔化温度低的钎料,加热温度采取低于母材固相线而高于钎料液相线的一种连接方法,电子装联使用锡合金作为钎焊材料,达到连接强度及电气导通。Brazing is a connection method that uses solder with a lower melting temperature than the base metal. The heating temperature is lower than the solidus line of the base metal and higher than the liquidus line of the solder. Electronic assembly uses tin alloy as the soldering material. Achieve connection strength and electrical conduction.

例如变频器、伺服驱动器、电梯柜等产品,IGBT(Insulated Gate BipolarTransistor,绝缘栅双极型晶体管)均在整机装配线完成焊接,钎焊的方式通常为自动点焊,即通过控制自动化设备的焊接时间进行工艺管控,钎焊焊接完成后采用人工目检的方式进行焊点外观检测,对焊点质量进行审核。同时会对产品进行抽检,即从焊接完成的整机产品中拆解取出PCBA(Printed Circuit Board Assembly,印刷电路板)主板,将PCBA主板放入x-ray射线机进行x-ray射线检测,根据检测结果审核焊点质量,审核后再将PCBA主板装回整机产品。For example, in frequency converters, servo drives, elevator cabinets and other products, IGBT (Insulated Gate Bipolar Transistor) are all welded on the entire machine assembly line. The brazing method is usually automatic spot welding, that is, by controlling the welding of automated equipment. Process control is carried out over time. After brazing and welding are completed, manual visual inspection is used to inspect the appearance of the solder joints and audit the quality of the solder joints. At the same time, the products will be randomly inspected, that is, the PCBA (Printed Circuit Board Assembly, printed circuit board) motherboard will be disassembled from the complete welded product, and the PCBA motherboard will be placed into an x-ray machine for x-ray inspection. The test results review the solder joint quality, and then the PCBA motherboard is installed back into the complete product after review.

通过控制焊接时间的方式对焊点质量没有保证,这种方式可能存在仅焊点表面存在少量的锡合金,焊点的通孔中没有足够的锡合金与引脚接触,造成该焊点的电气特性不稳定,即使焊接后的由人工进行目检,人工目检只能对焊点外观进行检测,无法判断通孔中的填锡情况,即无法检测焊点通孔内的填锡高度,因而无法保证焊点质量;使用x-ray射线检测可以检测出焊点通孔内的锡合金的填充情况,但该检测的步骤繁琐,且由于成本高,该检测的抽检频率通常为1%,抽检的样本一定程度上不能代表整体产品。The quality of the solder joints is not guaranteed by controlling the welding time. In this method, there may be only a small amount of tin alloy on the surface of the solder joints, and there is not enough tin alloy in the through holes of the solder joints to contact the pins, resulting in electrical failure of the solder joints. The characteristics are unstable. Even if manual visual inspection is performed after welding, manual visual inspection can only detect the appearance of the solder joints and cannot judge the tin filling situation in the through holes, that is, it cannot detect the tin filling height in the solder joint through holes. Therefore, The quality of solder joints cannot be guaranteed; the filling of tin alloy in the solder joint through holes can be detected using The sample cannot represent the entire product to a certain extent.

综上所述,目前所有的焊点质量检测方式要么检测不出实际焊点质量,要么由于成本过高导致检测覆盖率低,检测结果代表性不高。To sum up, all current solder joint quality inspection methods either cannot detect the actual solder joint quality, or the detection coverage is low due to high cost, and the detection results are not highly representative.

发明内容Contents of the invention

本发明的主要目的在于提供一种焊接质量的检测方法、装置、终端设备与介质,旨在解决如何在整机焊接过程中,保证检测结果的有效性的前提下,降低检测难度,从而提高检测覆盖率的技术问题。The main purpose of the present invention is to provide a welding quality detection method, device, terminal equipment and medium, aiming to solve the problem of how to reduce the difficulty of detection while ensuring the validity of the detection results during the whole machine welding process, thereby improving detection Technical issues with coverage.

为实现上述目的,本发明提供一种焊接质量的检测方法,所述焊接质量的检测方法包括以下步骤:In order to achieve the above object, the present invention provides a method for detecting welding quality. The method for detecting welding quality includes the following steps:

获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;Obtain the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume;

基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量。Based on the solder filling volume and the target filling volume, the welding quality of the target solder joint is determined.

可选地,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤之前还包括:Optionally, the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint also includes:

获取所述目标焊点的焊接时间;Obtain the welding time of the target solder joint;

若所述目标焊接时间大于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积。If the target welding time is greater than the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and the solder overflow volume, Calculate solder fill volume.

可选地,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤包括:Optionally, the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint includes:

通过摄像头监测所述目标焊点对应的焊料与焊接头接触过程中形成的焊接球的体积变化;Use a camera to monitor the volume change of the solder ball formed during the contact between the solder corresponding to the target solder joint and the soldering head;

将所述焊接球的最大体积作为所述焊料使用体积,将所述焊接球在所述目标焊点对应的通孔外的体积作为所述焊料溢出体积。The maximum volume of the solder ball is used as the solder usage volume, and the volume of the solder ball outside the through hole corresponding to the target solder point is used as the solder overflow volume.

可选地,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤之前还包括:Optionally, the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint also includes:

获取所述目标焊点的焊接时间;Obtain the welding time of the target solder joint;

若所述目标焊接时间小于或等于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积。If the target welding time is less than or equal to the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and solder overflow Volume, calculate the solder fill volume.

可选地,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤包括:Optionally, the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint includes:

获取所述焊点对应的焊料的横截面积,以及所述焊料的使用长度,并基于所述横截面积及所述使用长度,计算当前的焊料使用体积;Obtain the cross-sectional area of the solder corresponding to the solder joint and the usage length of the solder, and calculate the current solder usage volume based on the cross-sectional area and the usage length;

在所述目标焊点焊接完成后,获取所述目标焊点对应的焊料溢出体积。After the target solder point is welded, the solder overflow volume corresponding to the target solder point is obtained.

可选地,所述基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量的步骤之前还包括:Optionally, the step of judging the welding quality of the target solder joint based on the solder filling volume and the target filling volume also includes:

获取所述目标焊点对应的补充系数;Obtain the supplementary coefficient corresponding to the target solder joint;

所述基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量的步骤包括:The step of judging the welding quality of the target solder joint based on the solder filling volume and the target filling volume includes:

基于所述焊点对应的焊料填充体积,所述目标填充体积以及所述补充系数,计算当前的填充高度,并基于所述当前的填充高度,判断所述目标焊点的焊接质量。Based on the solder filling volume corresponding to the solder joint, the target filling volume and the supplementary coefficient, the current filling height is calculated, and based on the current filling height, the welding quality of the target solder joint is judged.

可选地,所述基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积的步骤包括:Optionally, the step of calculating the solder filling volume based on the solder usage volume and the solder overflow volume includes:

获取所述目标焊点对应的焊料质量分数;Obtain the solder quality fraction corresponding to the target solder joint;

基于所述焊料使用体积、所述焊料溢出体积以及所述焊料质量分数,计算当前的焊料填充体积。Based on the solder usage volume, the solder overflow volume and the solder mass fraction, the current solder filling volume is calculated.

此外,为实现上述目的,本发明还提供一种焊接质量的检测装置,所述焊接质量的检测的装置包括:In addition, to achieve the above object, the present invention also provides a device for detecting welding quality. The device for detecting welding quality includes:

获取模块,用于获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;The acquisition module is used to obtain the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume;

计算模块,用于基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量。A calculation module configured to determine the welding quality of the target solder joint based on the solder filling volume and the target filling volume.

此外,为实现上述目的,本发明还提供一种终端设备,所述终端设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的焊接质量的检测程序,所述焊接质量的检测程序被所述处理器执行时实现如上所述的焊接质量的检测方法的步骤。In addition, in order to achieve the above object, the present invention also provides a terminal device, which includes a memory, a processor, and a welding quality detection program stored in the memory and executable on the processor. When the welding quality detection program is executed by the processor, the steps of the welding quality detection method as described above are implemented.

此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有焊接质量的检测程序,所述焊接质量的检测被处理器执行时实现如上所述的焊接质量的检测方法的步骤。In addition, to achieve the above object, the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a welding quality detection program, and when the welding quality detection is executed by the processor, the above-mentioned The steps of welding quality detection method.

本发明提供了一种焊接质量的检测方法、装置、终端设备与介质,通过获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积,基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量,解决了人工目检检测不到目标焊点的填充高度的问题,且本申请对填充高度的检测成本相比X-Ray射线机的检测成本大大降低,可以应用于大规模的产品检测,提高了检测的覆盖率。The present invention provides a welding quality detection method, device, terminal equipment and medium. By obtaining the solder usage volume of a target solder joint and the solder overflow volume corresponding to the target solder joint, and based on the solder usage volume and the solder The overflow volume is used to calculate the solder filling volume, and based on the solder filling volume and the target filling volume, the welding quality of the target solder joint is judged, which solves the problem that manual visual inspection cannot detect the filling height of the target solder joint, and this application The cost of filling height detection is greatly reduced compared to the detection cost of X-Ray machines. It can be applied to large-scale product inspection and improves the detection coverage.

附图说明Description of the drawings

图1为本申请焊接质量的检测装置所属终端设备的功能模块示意图;Figure 1 is a schematic diagram of the functional modules of the terminal equipment belonging to the welding quality detection device of this application;

图2为本申请焊接质量的检测方法一示例性实施例的流程示意图;Figure 2 is a schematic flow chart of an exemplary embodiment of the welding quality detection method of the present application;

图3为本申请焊接质量的检测方法另一示例性实施例的流程示意图;Figure 3 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application;

图4为本申请焊接质量的检测方法另一示例性实施例的流程示意图;Figure 4 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application;

图5为本申请焊接质量的检测方法另一示例性实施例的流程示意图;Figure 5 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application;

图6为本申请焊接质量的检测方法另一示例性实施例的流程示意图;Figure 6 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application;

图7为本申请焊接质量的检测方法另一示例性实施例的流程示意图;Figure 7 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application;

图8为本申请焊接质量的检测方法另一示例性实施例的流程示意图;Figure 8 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application;

图9为本申请焊接质量的检测方法涉及到的自动点焊机的部分机构的示意图;Figure 9 is a schematic diagram of part of the mechanism of the automatic spot welding machine involved in the welding quality detection method of this application;

图10为本申请焊接质量的检测方法涉及到的焊接前后的示意图。Figure 10 is a schematic diagram before and after welding involved in the welding quality detection method of this application.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further described with reference to the embodiments and the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.

本发明实施例的主要解决方案是:通过获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积,基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量。基于本申请方案,从目前整机检测难度大且成本高的角度出发,结合视觉捕捉计算技术,提供一种有效的整机检测方法,且该检测方法相比现有检测方法,大大降低了检测成本,从而可以应用于检测大规模量的产品,提高检测的覆盖率。The main solution of the embodiment of the present invention is to obtain the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume. The solder filling volume and the target filling volume are used to determine the welding quality of the target solder joint. Based on this application plan, from the perspective of current difficulty and high cost of complete machine detection, combined with visual capture computing technology, an effective complete machine detection method is provided. Compared with existing detection methods, this detection method greatly reduces the detection time. cost, so that it can be applied to detect large-scale products and improve detection coverage.

本申请实施例涉及的相关背景Relevant background involved in the embodiments of this application

参照图9,图9为本申请焊接质量的检测方法涉及到的自动点焊机的部分机构示意图,自动点焊机包括:挂具夹具10,焊接机柄20,工业相机30,送锡管道40,主板PCBA 50,产品整机60。Referring to Figure 9, Figure 9 is a partial structural diagram of an automatic spot welding machine involved in the welding quality detection method of the present application. The automatic spot welding machine includes: a hanging fixture 10, a welding machine handle 20, an industrial camera 30, and a tin feeding pipe 40 , the motherboard PCBA is 50, and the product is 60.

参照图10,图10为本申请焊接质量的检测方法涉及到的焊接前(a图所示)后(b图所示)的示意图,其中,1为锡丝,2为输入的焊料,3为烙铁头,4为主板PCBA,5为通孔,6为零件脚,7为焊接后的焊料。Referring to Figure 10, Figure 10 is a schematic diagram before and after welding (shown in Figure a) and after (shown in Figure B) involved in the welding quality detection method of the present application, in which 1 is the tin wire, 2 is the input solder, and 3 is For the soldering iron tip, 4 is the main board PCBA, 5 is the through hole, 6 is the component pin, and 7 is the solder after welding.

随着机器人在工业自动化领域的大量应用,视觉系统也被大量地开发,用作自动化设备的「眼睛」。视觉系统结合了视觉检测技术和工业机器人运动学原理,旨在为机器人安装「眼睛」,突破机器人只能单纯地重复示教轨迹的限制,使其能根据被操作工件的变化实时调整工作轨迹,促进生产效率、提升生产质量。With the extensive application of robots in the field of industrial automation, visual systems have also been extensively developed and used as the "eyes" of automation equipment. The vision system combines visual inspection technology and industrial robot kinematics principles, aiming to install "eyes" on the robot, breaking through the limitation that the robot can only repeat the teaching trajectory, so that it can adjust the working trajectory in real time according to changes in the workpiece being operated. Promote production efficiency and improve production quality.

具体地,参照图1,图1为本申请焊接质量的检测装置所属终端设备的功能模块示意图。该焊接质量检测的装置可以为独立于终端设备的、能获取焊料使用体积、能获取焊料溢出体积、能计算焊料填充体积、能计算填充高度、能判断焊点质量的装置,其可以通过硬件或软件的形式承载于终端设备上。该终端设备可以为手机、平板电脑等具有数据处理功能的智能移动终端,还可以为具有数据处理功能的固定终端设备或服务器等。Specifically, refer to FIG. 1 , which is a schematic diagram of the functional modules of the terminal equipment to which the welding quality detection device of the present application belongs. The welding quality inspection device can be a device that is independent of the terminal equipment and can obtain the solder usage volume, obtain the solder overflow volume, calculate the solder filling volume, calculate the filling height, and judge the solder joint quality. It can be done through hardware or The form of software is carried on the terminal device. The terminal device can be a smart mobile terminal with data processing functions such as a mobile phone or a tablet computer, or a fixed terminal device or server with data processing functions.

在本实施例中,该焊接质量检测的装置所属终端设备至少包括输出模块110、处理器120、存储器130以及通信模块140。In this embodiment, the terminal equipment to which the welding quality detection device belongs includes at least an output module 110, a processor 120, a memory 130 and a communication module 140.

存储器130中存储有操作系统以及焊接质量检测的程序,焊接质量检测的装置可以将焊料使用体积、焊料溢出体积、焊料填充体积、目标填充体积、填充高度等信息存储于该存储器130中;输出模块110可为显示屏等。通信模块140可以包括WIFI模块、移动通信模块以及蓝牙模块等,通过通信模块140与外部设备或服务器进行通信。The memory 130 stores an operating system and a program for welding quality inspection. The device for welding quality inspection can store information such as solder usage volume, solder overflow volume, solder filling volume, target filling volume, filling height, etc. in the memory 130; the output module 110 can be a display screen, etc. The communication module 140 may include a WIFI module, a mobile communication module, a Bluetooth module, etc., and communicates with external devices or servers through the communication module 140 .

其中,存储器130中的焊接质量的检测程序被处理器执行时实现以下步骤:Wherein, when the welding quality detection program in the memory 130 is executed by the processor, the following steps are implemented:

获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;Obtain the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume;

基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量。Based on the solder filling volume and the target filling volume, the welding quality of the target solder joint is determined.

进一步地,存储器130中的焊接质量的检测程序被处理器执行时还实现以下步骤:Further, when the welding quality detection program in the memory 130 is executed by the processor, the following steps are also implemented:

获取所述目标焊点的焊接时间;Obtain the welding time of the target solder joint;

若所述目标焊接时间大于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积。If the target welding time is greater than the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and the solder overflow volume, Calculate solder fill volume.

进一步地,存储器130中的焊接质量的检测程序被处理器执行时还实现以下步骤:Further, when the welding quality detection program in the memory 130 is executed by the processor, the following steps are also implemented:

通过摄像头监测所述目标焊点对应的焊料与焊接头接触过程中形成的焊接球的体积变化;Use a camera to monitor the volume change of the solder ball formed during the contact between the solder corresponding to the target solder joint and the soldering head;

将所述焊接球的最大体积作为所述焊料使用体积,将所述焊接球在所述目标焊点对应的通孔外的体积作为所述焊料溢出体积。The maximum volume of the solder ball is used as the solder usage volume, and the volume of the solder ball outside the through hole corresponding to the target solder point is used as the solder overflow volume.

进一步地,存储器130中的焊接质量的检测程序被处理器执行时还实现以下步骤:Further, when the welding quality detection program in the memory 130 is executed by the processor, the following steps are also implemented:

获取所述目标焊点的焊接时间;Obtain the welding time of the target solder joint;

若所述目标焊接时间小于或等于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积。If the target welding time is less than or equal to the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and solder overflow Volume, calculate the solder fill volume.

进一步地,存储器130中的焊接质量的检测程序被处理器执行时还实现以下步骤:Further, when the welding quality detection program in the memory 130 is executed by the processor, the following steps are also implemented:

获取所述焊点对应的焊料的横截面积,以及所述焊料的使用长度,并基于所述横截面积及所述使用长度,计算当前的焊料使用体积;Obtain the cross-sectional area of the solder corresponding to the solder joint and the usage length of the solder, and calculate the current solder usage volume based on the cross-sectional area and the usage length;

在所述目标焊点焊接完成后,获取所述目标焊点对应的焊料溢出体积。After the target solder point is welded, the solder overflow volume corresponding to the target solder point is obtained.

进一步地,存储器130中的焊接质量的检测程序被处理器执行时还实现以下步骤:Further, when the welding quality detection program in the memory 130 is executed by the processor, the following steps are also implemented:

获取所述目标焊点对应的补充系数;Obtain the supplementary coefficient corresponding to the target solder joint;

基于所述焊点对应的焊料填充体积,所述目标填充体积以及所述补充系数,计算当前的填充高度,并基于所述当前的填充高度,判断所述目标焊点的焊接质量。Based on the solder filling volume corresponding to the solder joint, the target filling volume and the supplementary coefficient, the current filling height is calculated, and based on the current filling height, the welding quality of the target solder joint is judged.

进一步地,存储器130中的焊接质量的检测程序被处理器执行时还实现以下步骤:Further, when the welding quality detection program in the memory 130 is executed by the processor, the following steps are also implemented:

获取所述目标焊点对应的焊料质量分数;Obtain the solder quality fraction corresponding to the target solder joint;

基于所述焊料使用体积、所述焊料溢出体积以及所述焊料质量分数,计算当前的焊料填充体积。Based on the solder usage volume, the solder overflow volume and the solder mass fraction, the current solder filling volume is calculated.

本发明提供了一种焊接质量的检测方法、装置、终端设备与介质,通过获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积,基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量,通过结合工业视觉的方式,由此,保证整机检测的焊接质量,并提供了一种对焊接质量有效的检测方法,且该检测方法相较于现有检测检测方法,操作简便,检测过程安全、成本更低,最终达到了保证检测结果的有效性的前提下,提高了检测覆盖率的效果。The present invention provides a welding quality detection method, device, terminal equipment and medium. By obtaining the solder usage volume of a target solder joint and the solder overflow volume corresponding to the target solder joint, and based on the solder usage volume and the solder The overflow volume is used to calculate the solder filling volume. Based on the solder filling volume and the target filling volume, the welding quality of the target solder joint is judged. By combining industrial vision, the welding quality of the whole machine is ensured and the welding quality is provided. An effective detection method for welding quality. Compared with existing detection methods, this detection method is simple to operate, safe in the detection process, and lower in cost. Ultimately, it improves the detection efficiency while ensuring the validity of the detection results. coverage effect.

基于上述终端设备架构但不限于上述架构,提出本申请方法实施例。Based on the above terminal device architecture but not limited to the above architecture, method embodiments of the present application are proposed.

参照图2,图2为本申请焊接质量的检测方法一示例性实施例的流程示意图,所述焊接质量的检测方法包括:Referring to Figure 2, Figure 2 is a schematic flow chart of an exemplary embodiment of the welding quality detection method of the present application. The welding quality detection method includes:

步骤S1001,获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;Step S1001, obtain the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume;

本实施例方案应用于自动点焊机,实现对产品的焊接质量检测。The solution of this embodiment is applied to the automatic spot welding machine to realize the welding quality detection of the product.

具体地,焊料使用体积,是指产品上的目标焊点实际使用的焊料体积,可以体现焊点的实际焊料用量,参照图10,标号2为焊料使用体积。Specifically, the solder usage volume refers to the solder volume actually used by the target solder joint on the product, which can reflect the actual solder usage of the solder joint. Refer to Figure 10, label 2 is the solder usage volume.

焊料溢出体积,是指该目标焊点完成焊焊接后,目标焊点的通孔之外的焊料的体积。通过将焊料使用体积减去焊料溢出体积,即可得到焊接完成后,通孔范围内,填充的焊料的体积,即焊料填充体积,参照图10,标号7为焊料溢出体积。The solder overflow volume refers to the volume of solder outside the through hole of the target solder joint after the target solder joint is soldered. By subtracting the solder overflow volume from the solder usage volume, we can obtain the volume of solder filled within the through hole after welding is completed, that is, the solder filling volume. Refer to Figure 10, number 7 is the solder overflow volume.

示例1,对目标焊点的焊接开始后,通过机械臂将焊料,即钎料送至目标焊点,通过加热升温达到熔点,进行熔化,本实施例中以锡基钎料作为焊料示例,焊接用锡的熔点通常为183-227℃,以下示例将以220℃作为锡丝的熔点进行说明,经过加热后锡丝变成液体后,由于液体的张力汇聚成球形,形成锡球。Example 1: After the welding of the target solder joint is started, the solder, that is, the solder is sent to the target solder joint through the robot arm, and the temperature is raised to the melting point by heating, and then melted. In this embodiment, a tin-based solder is used as an example of the solder. The melting point of tin is usually 183-227°C. The following example will use 220°C as the melting point of tin wire. After heating, the tin wire becomes liquid and converges into a spherical shape due to the tension of the liquid, forming a tin ball.

由于持续加热,因此形成的锡球越来越大,且因为PCBA主板的温度还未达到220℃,锡球在体积增大至最大之前,都不会有锡落入目标焊点的通孔中,其中,锡球体积即为实际焊料体积。锡球体积达到最大后,PCBA主板的目标焊点的温度也达到220℃,即达到锡的熔点,未达到PCBA主板的熔点,此时锡球落入通孔中。Due to continuous heating, the solder balls formed become larger and larger, and because the temperature of the PCBA motherboard has not yet reached 220°C, no tin will fall into the through holes of the target solder joints until the volume of the solder balls increases to the maximum. , where the solder ball volume is the actual solder volume. After the solder ball volume reaches the maximum, the temperature of the target solder joint of the PCBA motherboard also reaches 220°C, that is, it reaches the melting point of tin, but does not reach the melting point of the PCBA motherboard. At this time, the solder ball falls into the through hole.

其中,当锡球体积小于通孔体积时,通孔内的锡填充高度小于通孔高度,即小于PCBA主板厚度,通孔处于未填满的状态;当锡球体积大于通孔体积时,通孔内填满了锡,且多余部分溢出在焊点上,多出部分即为焊料溢出体积。Among them, when the volume of the solder ball is less than the volume of the through hole, the tin filling height in the through hole is less than the height of the through hole, that is, less than the thickness of the PCBA motherboard, and the through hole is in an unfilled state; when the volume of the solder ball is greater than the volume of the through hole, the through hole is in an unfilled state. The hole is filled with tin, and the excess overflows on the solder joint. The excess is the solder overflow volume.

通过工业相机对焊料使用体积及焊料溢出体积进行捕获,生成对应的像素画面,再通过视觉计算,可以获得焊料使用体积的数值及焊料溢出体积的数值,最后将得焊料使用体积的数值减去焊料溢出体积的数值,得到的数值即为焊料填充体积的数值。The solder usage volume and solder overflow volume are captured through industrial cameras, and corresponding pixel images are generated. Then through visual calculation, the values of the solder usage volume and the solder overflow volume can be obtained. Finally, the solder usage volume value is subtracted from the solder. The value of the overflow volume is the value of the solder filling volume.

示例2,本示例以锡基钎料作为焊料进行说明,通过工业相机对焊接过程进行捕获抓取,得到实时的焊接过程对应的像素图像,在锡球增加至最大时,获取像素图像上锡球的直径所占用的像素点个数,结合视觉计算中的像素比例尺,即可得到锡球最大体积时,对应的体积数值,即焊料使用体积。在锡球部分落入通孔后,通孔外的锡的体积逐渐减小,直至填满通孔,通孔外的锡的体积缩至最小,通过获取对应的像素图像上,通孔外的锡处于最小体积时所占的像素点面积,进行折算,即可得到焊料溢出体积。Example 2. This example uses tin-based solder as the solder. The welding process is captured by an industrial camera to obtain a pixel image corresponding to the real-time welding process. When the solder ball increases to the maximum, the solder ball on the pixel image is obtained. The number of pixels occupied by the diameter, combined with the pixel scale in visual calculations, can be used to obtain the corresponding volume value of the maximum volume of the solder ball, that is, the solder usage volume. After the solder ball partially falls into the through hole, the volume of the tin outside the through hole gradually decreases until it fills the through hole. The volume of the tin outside the through hole shrinks to the minimum. By acquiring the corresponding pixel image, the volume outside the through hole is The solder overflow volume can be obtained by converting the pixel area occupied by tin when it is at its minimum volume.

示例3,本示例以锡基钎料作为焊料进行说明,对目标焊点的焊接结束后,计算锡丝使用的体积,具体通过计算锡丝的横截面积,将横截面积与使用的长度相乘,得到锡丝使用的体积的数值,即焊料使用体积的数值。然后通过工业相机,获取通孔外的锡的体积缩至最小时,对应的像素图像上,通孔外的锡所占的像素点面积,进行折算,即可得到焊料溢出体积的数值。最后将焊料使用体积的数值减去焊料溢出体积的数值,得到的数值即为焊料填充体积的数值。Example 3: This example uses tin-based solder as the solder. After welding the target solder joint, calculate the volume of the tin wire used. Specifically, calculate the cross-sectional area of the tin wire and compare the cross-sectional area with the length used. Multiply to get the value of the volume used by the tin wire, that is, the value of the volume used by the solder. Then use an industrial camera to obtain the pixel area occupied by the tin outside the through-hole on the corresponding pixel image when the volume of the tin outside the through-hole shrinks to the minimum. After conversion, the value of the solder overflow volume can be obtained. Finally, subtract the value of the solder overflow volume from the value of the solder usage volume, and the obtained value is the value of the solder filling volume.

上述示例2和示例3中,获取焊料溢出体积的方式相同,焊料使用体积的获取方式不同,其中,示例2采用动态法获取,即通过工业相机实时监测目标焊点的焊接全程。示例3采用静态法获取,即目标焊点的焊接结束后,通过计算送锡管道中锡丝的减少体积,作为焊料使用体积。In the above Example 2 and Example 3, the method of obtaining the solder overflow volume is the same, but the method of obtaining the solder usage volume is different. Among them, Example 2 is obtained using the dynamic method, that is, the entire welding process of the target solder joint is monitored in real time through an industrial camera. Example 3 is obtained using the static method, that is, after the welding of the target solder joint is completed, the reduced volume of the tin wire in the tin feeding pipe is calculated as the solder usage volume.

步骤S1002,基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量。Step S1002: Determine the welding quality of the target solder joint based on the solder filling volume and the target filling volume.

首先,预先输入的目标填充体积,是指目标焊点的通孔焊入零件脚后,通孔内的剩余体积,即将通孔体积减去焊入零件脚对应的体积,即为目标填充体积,其中,目标填充体积的数学公式表达为:First of all, the pre-entered target filling volume refers to the remaining volume in the through hole after the through hole of the target soldering point is welded into the part foot, that is, the through hole volume minus the volume corresponding to the welded part foot is the target filling volume. Among them, the mathematical formula of the target filling volume is expressed as:

其中,T表示PCBA主板的厚度,即目标焊点通孔的高度,表示目标焊点的通孔直径,/>表示焊入零件脚直径。由于通孔焊入零件脚后,剩余体积为一个空心圆柱,通过计算出通孔的表面积/>减去引脚的表面积/>得到空心圆柱的底面表面积再将空心圆柱的底面表面积与空心圆柱的高度,即PCBA主板的厚度T相乘,得到空心圆柱的体积,即目标填充体积。Among them, T represents the thickness of the PCBA motherboard, that is, the height of the target solder joint through hole, Indicates the through hole diameter of the target solder joint,/> Indicates the diameter of the foot of the welded part. Since the remaining volume after the through hole is welded into the part foot is a hollow cylinder, the surface area of the through hole is calculated/> Subtract the surface area of the pin/> Find the base surface area of the hollow cylinder Then multiply the bottom surface area of the hollow cylinder by the height of the hollow cylinder, that is, the thickness T of the PCBA motherboard, to obtain the volume of the hollow cylinder, which is the target filling volume.

具体地,通过步骤S1001得到焊料填充体积后,结合预先输入的目标填充体积,具体计算为将焊料填充体积除以目标填充体积,得到一个占比百分数,该占比百分数表示,通孔焊入零件脚后,通孔内的焊料的填充程度,通过将该占比百分数与通孔高度T相乘,得到填充高度的数值,将填充高度的数值与目标填充高度的数值进行比较,若该填充高度的数值小于目标填充高度的数值,则焊接质量的检测结果为不合格,若该填充高度的数值大于或等于目标填充高度的数值,则焊接质量的检测结果为合格,其中,填充高度的数值大于目标填充高度的数值时,大于的部分不能超过预设范围,通常,预设范围为目标填充高度的10%。Specifically, after the solder filling volume is obtained through step S1001, combined with the pre-input target filling volume, the specific calculation is to divide the solder filling volume by the target filling volume to obtain a percentage. The percentage represents that the through hole is soldered into the part. After the foot, the filling degree of the solder in the through hole is obtained by multiplying the percentage and the through hole height T to obtain the value of the filling height. The value of the filling height is compared with the value of the target filling height. If the filling height If the value is less than the target filling height, the welding quality test result is unqualified. If the filling height value is greater than or equal to the target filling height value, the welding quality test result is qualified. Among them, the filling height value is greater than When setting the value of the target filling height, the larger part cannot exceed the preset range. Usually, the preset range is 10% of the target filling height.

进一步地,由于通孔焊入零件脚后,剩余体积为一个空心圆柱体对应的体积,通过将焊料填充体积除以空心圆柱的底面积,可得到填充高度,数学表达式为提供无需获取PCBA主板厚度T,即可得到填充高度的另一种算法。Furthermore, since the remaining volume after the through hole is soldered into the part foot is the volume corresponding to a hollow cylinder, the filling height can be obtained by dividing the solder filling volume by the bottom area of the hollow cylinder. The mathematical expression is: Provide another algorithm that can obtain the fill height without obtaining the thickness T of the PCBA motherboard.

本实施例通过上述方案,具体通过获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积,获取所述目标焊点对应的目标填充体积,基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量,通过获取对应的数值,并进行相应的计算,最终得到填充高度的具体数值,作为判断焊接质量的标准之一,提供了一种有效的整机检测方法,且该检测方法相比现有检测方法,大大降低了检测成本,从而可以应用于检测大规模量的产品,提高检测的覆盖率。In this embodiment, through the above solution, specifically, the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point are obtained, and based on the solder usage volume and the solder overflow volume, the solder filling volume is calculated, and the solder filling volume is obtained. The target filling volume corresponding to the target solder joint, based on the solder filling volume and the target filling volume, determines the welding quality of the target soldering point, obtains the corresponding numerical value, and performs corresponding calculations to finally obtain the specific numerical value of the filling height, As one of the standards for judging welding quality, it provides an effective whole-machine inspection method. Compared with existing inspection methods, this inspection method greatly reduces the inspection cost, so it can be applied to inspect large-scale products and improve inspection. coverage.

参照图3,图3为本申请焊接质量的检测方法另一示例性实施例的流程示意图。在步骤S1001,获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤之前还包括:Referring to Figure 3, Figure 3 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application. In step S1001, the step of obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point also includes:

步骤A100,获取所述目标焊点的焊接时间;Step A100, obtain the welding time of the target solder joint;

本实施例对动态法获取焊料使用体积的方式,进行说明。This embodiment explains the dynamic method for obtaining the solder usage volume.

具体地,焊接时间是指焊接目标焊点的时间,时间的长短根据焊料的厚度、材质等等进行选定。根据不同产品的不同焊接时间,对不同产品的焊料使用体积采用不同的获取方式,例如,焊接时间较长的产品,通常焊料使用体积较大,而焊接时间较短的产品,通常侧重于焊接的精准性,根据不同产品的不同焊接时间,对不同产品的焊料使用体积采用不同的获取方式,由此提高了获取效率,进而提高了焊点质量的检测效率。Specifically, the welding time refers to the time for welding the target solder joint, and the length of time is selected according to the thickness, material, etc. of the solder. According to the different welding times of different products, different methods are used to obtain the solder volume of different products. For example, products with a longer welding time usually use a larger solder volume, while products with a shorter welding time usually focus on the welding volume. Accuracy: According to the different welding times of different products, different acquisition methods are used for the solder volume of different products, thereby improving the acquisition efficiency and thus improving the detection efficiency of solder joint quality.

步骤A200,若所述目标焊接时间大于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;Step A200, if the target welding time is greater than the preset welding time threshold, perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and solder Overflow volume, calculate solder filling volume;

具体地,A产品的焊接时间大于预设焊接时间阈值时,对A产品的焊料使用体积及焊料溢出体积,采用动态法进行获取,即通过工业相机实时监测目标焊点的焊接全程,在对应帧的像素图像中,根据焊料所占的像素面积,得到焊料使用体积及焊料溢出体积。Specifically, when the welding time of product A is greater than the preset welding time threshold, the solder usage volume and solder overflow volume of product A are obtained using a dynamic method, that is, the entire welding process of the target solder joint is monitored in real time through an industrial camera, and in the corresponding frame In the pixel image, according to the pixel area occupied by the solder, the solder usage volume and solder overflow volume are obtained.

本实施例通过上述方案,具体通过获取所述目标焊点的焊接时间,若所述目标焊接时间大于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积,针对不同焊接时间对应的不同产品,采用不同的实际填充体积计算方式,因为焊接时间较长的电子产品更倾向于保证用锡量,焊接时间较短的电子产品更倾向于焊接的准度,根据该不同点对实际填充体积采用不同的计算方式,提高了计算的效率,从而提高了焊接质量的检测效率。This embodiment adopts the above solution, specifically by obtaining the welding time of the target solder point. If the target welding time is greater than the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point, and the target solder joint. Point corresponding solder overflow volume, and calculate the solder filling volume based on the solder usage volume and solder overflow volume. Different actual filling volume calculation methods are used for different products corresponding to different welding times, because electronic products with longer welding times Electronic products that are more inclined to ensure the amount of tin used and have shorter welding times are more inclined to ensure the accuracy of welding. According to these different points, different calculation methods are used for the actual filling volume, which improves the calculation efficiency and thus improves the detection of welding quality. efficiency.

参照图4,图4为本申请焊接质量的检测方法另一示例性实施例的流程示意图。步骤S1001,获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤包括:Referring to Figure 4, Figure 4 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application. Step S1001, the steps of obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point include:

本实施例是对图3对应的实施例中的动态法进行进一步的说明。This embodiment further explains the dynamic method in the embodiment corresponding to FIG. 3 .

步骤A201,通过摄像头监测所述目标焊点对应的焊料与焊接头接触过程中形成的焊接球的体积变化;Step A201, monitor the volume change of the solder ball formed during the contact between the solder corresponding to the target solder point and the soldering head through a camera;

具体地,本实施例中,以3秒作为预设焊接时间,当A产品的焊接时间大于3秒时,对A产品的焊料使用体积,采用动态获取的方式进行获取,动态获取是指,通过工业相机,实时动态捕捉获取焊接A产品的目标焊点的全程,即目标焊点对应的焊料与焊接头接触过程中形成的焊接球的体积变化的过程,并将捕获到的过程转化为一帧帧图像信息,根据焊接球的体积在在对应帧的图像中所占的像素面积,结合像素比例尺,通过视觉算法可以得到A产品的焊料使用体积以及焊料溢出体积。Specifically, in this embodiment, 3 seconds is used as the preset welding time. When the welding time of product A is greater than 3 seconds, the solder usage volume of product A is obtained by dynamic acquisition. Dynamic acquisition means that through The industrial camera dynamically captures the entire process of welding the target solder point of Product A in real time, that is, the volume change process of the solder ball formed during the contact between the solder corresponding to the target solder point and the welding head, and converts the captured process into a frame. Frame image information, based on the pixel area occupied by the volume of the solder ball in the image of the corresponding frame, combined with the pixel scale, the solder usage volume and solder overflow volume of product A can be obtained through a visual algorithm.

其中,焊料使用体积是指,焊接球未落入目标焊点的通孔前,最大的锡球体积,焊料溢出体积是指,焊接球落入目标焊点的通孔后,填满通孔的过程中,通孔外的焊料体积持续减小时,减至最小时的体积。Among them, the solder usage volume refers to the largest solder ball volume before the solder ball falls into the through hole of the target solder point. The solder overflow volume refers to the solder ball filling the through hole after falling into the target solder point through hole. During the process, when the volume of solder outside the through hole continues to decrease, it reaches the minimum volume.

更为具体地,首先,工业相机获取标准尺在预设距离时,生成的像素图像,其中,预设距离为工业相机距离目标焊点的距离,通过将标准尺长度除以标准尺在像素图像中所占的像素个数,得到该预设距离下的像素比例尺,即得到每一像素点代表的实际长度。More specifically, first, the industrial camera obtains the pixel image generated when the standard ruler is at a preset distance, where the preset distance is the distance between the industrial camera and the target solder joint. By dividing the length of the standard ruler by the pixel image of the standard ruler The number of pixels occupied in the distance is obtained to obtain the pixel scale at the preset distance, that is, the actual length represented by each pixel is obtained.

然后,以锡基钎料为焊料进行说明,焊料与焊接头接触过程中形成的焊接球的体积变化过程为,锡丝状的锡基钎料熔化后形成锡球,即焊接球,由于持续加热,锡丝在达到预设使用值前不断熔化,因此形成的锡球越来越大,由于PCBA主板的温度还未达到220℃,因此锡球在体积增大至最大之前,不会有部分锡落入目标焊点的通孔中,锡球体积达到最大后,PCBA主板的目标焊点的温度也达到220℃,此时锡球落入通孔中,当锡球体积大于通孔体积时,锡球注满通孔,且多余部分溢出在焊点上。Then, using tin-based solder as the solder, the volume change process of the solder ball formed during the contact between the solder and the soldering head is as follows. The tin-wire-shaped tin-based solder melts to form a tin ball, that is, a solder ball. Due to continuous heating , the tin wire continues to melt before reaching the preset usage value, so the solder ball formed becomes larger and larger. Since the temperature of the PCBA motherboard has not yet reached 220°C, there will be no part of the tin ball before the volume increases to the maximum. After falling into the through hole of the target solder joint, the solder ball volume reaches the maximum, and the temperature of the target solder joint on the PCBA motherboard also reaches 220°C. At this time, the solder ball falls into the through hole. When the solder ball volume is larger than the through hole volume, The solder balls fill the through holes and the excess overflows on the solder joints.

其中,通过工业相机中的红外温度感应功能,采集固定区域内的体积面积,精准地获取焊料与焊接头接触过程中形成的焊接球的体积变化,通过发射红外辐射能量,红外辐射能力接触到物体后反射地原理,根据接收到反射的红外辐射能量生成对应的红外图像,能实现更精准地捕获,提高了焊接质量检测的准确性。Among them, through the infrared temperature sensing function in the industrial camera, the volume area in a fixed area is collected, and the volume change of the solder ball formed during the contact between the solder and the soldering head is accurately obtained. By emitting infrared radiation energy, the infrared radiation ability touches the object. The principle of back-reflection generates corresponding infrared images based on the received reflected infrared radiation energy, which can achieve more accurate capture and improve the accuracy of welding quality detection.

步骤A202,将所述焊接球的最大体积作为所述焊料使用体积,将所述焊接球在所述目标焊点对应的通孔外的体积作为所述焊料溢出体积。Step A202: Use the maximum volume of the solder ball as the solder usage volume, and use the volume of the solder ball outside the through hole corresponding to the target solder point as the solder overflow volume.

具体地,将焊接球未落入目标焊点的通孔前,最大的锡球体积,作为焊料使用体积Va;将焊接球落入目标焊点的通孔后,填满通孔的过程中,通孔外的焊料体积持续减小时,减至最小时的体积,作为焊料溢出体积Vb。以计算(Va-Vb),即为目标焊点的通孔内,焊料的实际填充体积,即焊料填充体积,然后将焊料填充体积(Va-Vb),除以预先输入的目标填充体积得到目标焊点的填充百分比/>再将该填充百分比乘以PCBA主板厚度,即通孔高度T,得到填充高度的数值/>然后将填充高度与目标填充高度进行比对,若填充高度大于或等于目标填充高度,则判断填充高度对应的目标焊点的焊接质量为合格,若填充高度小于目标填充高度,则判断填充高度对应的目标焊点的焊接质量为不合格,其中,T表示PCBA主板的厚度,即目标焊点通孔的高度,/>表示目标焊点的通孔直径,/>表示焊入零件脚直径,由于通孔焊入零件脚后,剩余体积为一个空心圆柱,通过计算出通孔的表面积,减去引脚的表面积,得到空心圆柱的底面表面积,再将空心圆柱的底面表面积与空心圆柱的高度,即PCBA主板的厚度T相乘,得到空心圆柱的体积,即目标填充体积。Specifically, before the solder ball falls into the through hole of the target solder point, the largest solder ball volume is used as the solder volume V a ; after the solder ball falls into the through hole of the target solder point, the process of filling the through hole , when the volume of solder outside the through hole continues to decrease, the volume when it is reduced to the minimum is regarded as the solder overflow volume V b . Calculate (V a -V b ), which is the actual filling volume of solder in the through hole of the target solder joint, that is, the solder filling volume, and then divide the solder filling volume (V a -V b ) by the pre-entered target filling volume Get the fill percentage of the target solder joint/> Then multiply the filling percentage by the thickness of the PCBA motherboard, that is, the through hole height T, to get the value of the filling height/> Then compare the filling height with the target filling height. If the filling height is greater than or equal to the target filling height, it is judged that the welding quality of the target solder joint corresponding to the filling height is qualified. If the filling height is less than the target filling height, it is judged that the filling height corresponds to The welding quality of the target solder joint is unqualified, where T represents the thickness of the PCBA motherboard, that is, the height of the target solder joint through hole,/> Indicates the through hole diameter of the target solder joint,/> Indicates the diameter of the leg of the soldered part. Since after the through hole is welded into the leg of the part, the remaining volume is a hollow cylinder. By calculating the surface area of the through hole and subtracting the surface area of the pin, the bottom surface area of the hollow cylinder is obtained, and then the hollow cylinder is The bottom surface area is multiplied by the height of the hollow cylinder, that is, the thickness T of the PCBA motherboard, to obtain the volume of the hollow cylinder, which is the target filling volume.

进一步地,当填充高度小于目标填充高度时,判断该目标焊点的焊接质量为不合格。Further, when the filling height is less than the target filling height, the welding quality of the target solder joint is judged to be unqualified.

更进一步地,当填充高度小于目标填充高度时,判断该目标焊点的焊接质量为不合格的步骤可以包括:Furthermore, when the filling height is less than the target filling height, the step of determining that the welding quality of the target solder joint is unqualified may include:

当填充高度小于目标填充高度时,对该填充高度对应的目标焊点进行再次焊接,再次焊接后的目标焊点的填充高度还是小于目标填充高度,则记录该目标焊点的位置,最后判断该目标焊点的焊接质量为不合格。When the filling height is less than the target filling height, the target soldering point corresponding to the filling height is welded again. If the filling height of the target soldering point after re-welding is still less than the target filling height, the position of the target soldering point is recorded, and finally the position of the target soldering point is judged. The welding quality of the target solder joint is unqualified.

本实施例通过上述方案,具体通过摄像头监测所述目标焊点对应的焊料与焊接头接触过程中形成的焊接球的体积变化,将所述焊接球的最大体积作为所述焊料使用体积,将所述焊接球在所述目标焊点对应的通孔外的体积作为所述焊料溢出体积,实现对焊接时间长的目标焊点进行实时动态捕获,且通过摄像头的红外温度感应功能,采集固定区域内的体积面积,获取更精准的体积捕获,进而提高了焊接质量的检测准确性。In this embodiment, through the above solution, a camera is specifically used to monitor the volume change of the solder ball formed during the contact between the solder corresponding to the target solder point and the soldering head, and the maximum volume of the solder ball is used as the solder usage volume. The volume of the solder ball outside the through hole corresponding to the target solder point is used as the solder overflow volume to realize real-time dynamic capture of the target solder joint with a long welding time, and through the infrared temperature sensing function of the camera, the captured area is The volume area is obtained to obtain more accurate volume capture, thereby improving the accuracy of welding quality detection.

参照图5,图5为本申请焊接质量的检测方法另一示例性实施例的流程示意图。步骤S1001,获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤之前包括:Referring to Figure 5, Figure 5 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application. Step S1001, the step of obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point includes:

步骤B100,获取所述目标焊点的焊接时间;Step B100, obtain the welding time of the target solder joint;

本实施例对静态法获取焊料使用体积的方式,进行说明。This embodiment explains the method of obtaining the solder usage volume using the static method.

具体地,焊接时间是指焊接目标焊点的时间,时间的长短根据焊料的厚度、材质等等进行选定。根据不同产品的不同焊接时间,对不同产品的焊料使用体积采用不同的获取方式,例如,焊接时间较长的产品,通常焊料使用体积较大,而焊接时间较短的产品,通常侧重于焊接的精准性,根据不同产品的不同焊接时间,对不同产品的焊料使用体积采用不同的获取方式,由此提高了获取效率,进而提高了焊点质量的检测效率。Specifically, the welding time refers to the time for welding the target solder joint, and the length of time is selected according to the thickness, material, etc. of the solder. According to the different welding times of different products, different methods are used to obtain the solder volume of different products. For example, products with a longer welding time usually use a larger solder volume, while products with a shorter welding time usually focus on the welding volume. Accuracy: According to the different welding times of different products, different acquisition methods are used for the solder volume of different products, thereby improving the acquisition efficiency and thus improving the detection efficiency of solder joint quality.

步骤B200,若所述目标焊接时间小于或等于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积。Step B200, if the target welding time is less than or equal to the preset welding time threshold, perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and the solder overflow volume to calculate the solder filling volume.

具体地,B产品的焊接时间小于或等于预设焊接时间阈值时,对B产品的焊料使用体积及焊料溢出体积,采用静态法进行获取,即目标焊点的焊接结束后,通过计算送锡管道中锡丝的减少体积,作为焊料使用体积,焊接后目标焊点的通孔外的焊料体积,作为焊料溢出体积。Specifically, when the welding time of product B is less than or equal to the preset welding time threshold, the solder usage volume and solder overflow volume of product B are obtained using the static method, that is, after the welding of the target solder joint is completed, the tin delivery pipe is calculated The reduced volume of the tin wire is used as the solder volume, and the solder volume outside the through hole of the target solder joint after welding is used as the solder overflow volume.

本实施例通过上述方案,具体通过获取所述目标焊点的焊接时间,若所述目标焊接时间小于或等于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积,针对不同焊接时间对应的不同产品,采用不同的实际填充体积计算方式,因为焊接时间较长的电子产品更倾向于保证用锡量,焊接时间较短的电子产品更倾向于焊接的准度,根据该不同点对实际填充体积采用不同的计算方式,提高了计算的效率,从而提高了焊接质量的检测效率。This embodiment adopts the above solution, specifically by obtaining the welding time of the target solder point. If the target welding time is less than or equal to the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point, and the The solder overflow volume corresponding to the target solder joint, and based on the solder usage volume and solder overflow volume, the solder filling volume is calculated. For different products corresponding to different welding times, different actual filling volume calculation methods are used, because the welding time is longer Electronic products are more inclined to ensure the amount of tin used, and electronic products with shorter welding time are more inclined to the accuracy of welding. According to these different points, different calculation methods are used for the actual filling volume, which improves the calculation efficiency and thus improves the welding quality. detection efficiency.

参照图6,图6为本申请焊接质量的检测方法另一示例性实施例的流程示意图。步骤S1001,获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤包括:Referring to Figure 6, Figure 6 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application. Step S1001, the steps of obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point include:

本实施例是对图5对应的实施例中的静态法进行进一步的说明。This embodiment further explains the static method in the embodiment corresponding to FIG. 5 .

步骤B201,获取所述焊点对应的焊料的横截面积,以及所述焊料的使用长度,并基于所述横截面积及所述使用长度,计算当前的焊料使用体积;Step B201: Obtain the cross-sectional area of the solder corresponding to the solder joint and the usage length of the solder, and calculate the current solder usage volume based on the cross-sectional area and the usage length;

具体地,静态法是指,目标焊点的焊接结束后,通过计算送锡管道中锡丝的减少体积,作为焊料使用体积,焊接后目标焊点的通孔外的焊料体积,作为焊料溢出体积。更为具体地,以锡丝为焊料进行说明,锡丝通常为圆柱体,通过圆柱体积公式,计算锡丝的焊料使用体积,具体计算公式为:其中,v表示送锡速度,t表示送锡时间,/>表示锡丝直径,得到当前的焊料使用体积。Specifically, the static method means that after the welding of the target solder joint is completed, the reduced volume of the tin wire in the tin feeding pipe is calculated as the solder usage volume, and the solder volume outside the through hole of the target solder joint after welding is used as the solder overflow volume. . More specifically, let's take tin wire as the solder. Tin wire is usually a cylinder. The solder volume of the tin wire is calculated through the cylinder volume formula. The specific calculation formula is: Among them, v represents the tin feeding speed, t represents the tin feeding time,/> Indicates the tin wire diameter and obtains the current solder usage volume.

步骤B202,在所述目标焊点焊接完成后,获取所述目标焊点对应的焊料溢出体积。Step B202: After the target solder point is welded, the solder overflow volume corresponding to the target solder point is obtained.

具体地,目标焊点焊接完成后,通过工业相机,获取目标焊点对应的通孔外,锡的溢出部分的体积,作为焊料溢出体积,由于静态法适用的产品,在焊接时,侧重于焊接的精度,焊料使用体积相比动态法适用的产品较少,通常不会产生溢出,因此,本实施例中以焊料溢出体积为0进行说明,当静态法适用的产品焊接有焊料溢出体积时,也可以通过工业相机捕获溢出体积的像素面积,结合视觉算法得到焊料溢出体积的数值。通过静态法得到焊料使用体积后,将焊料使用体积除以预先输入的目标填充体积/>得到目标焊点的填充百分比/>再将该填充百分比乘以PCBA主板厚度,即通孔高度T,得到填充高度的数值/>然后将填充高度与目标填充高度进行比对,若填充高度大于或等于目标填充高度,则判断填充高度对应的目标焊点的焊接质量为合格,若填充高度小于目标填充高度,则判断填充高度对应的目标焊点的焊接质量为不合格,其中,T表示PCBA主板的厚度,即目标焊点通孔的高度,表示目标焊点的通孔直径,/>表示焊入零件脚直径,由于通孔焊入零件脚后,剩余体积为一个空心圆柱,通过计算出通孔的表面积,减去引脚的表面积,得到空心圆柱的底面表面积,再将空心圆柱的底面表面积与空心圆柱的高度,即PCBA主板的厚度T相乘,得到空心圆柱的体积,即目标填充体积。Specifically, after the target solder point is welded, an industrial camera is used to obtain the volume of the tin overflow outside the through hole corresponding to the target solder point as the solder overflow volume. Since the static method is applicable to products, during welding, the focus is on welding. Accuracy, the solder usage volume is smaller than the products applicable to the dynamic method, and usually no overflow will occur. Therefore, in this embodiment, the solder overflow volume is 0 for explanation. When the solder overflow volume is welded on the products applicable to the static method, The pixel area of the overflow volume can also be captured by an industrial camera and combined with a visual algorithm to obtain the value of the solder overflow volume. Obtain solder usage volume through static method Then, divide the solder usage volume by the pre-entered target fill volume/> Get the fill percentage of the target solder joint/> Then multiply the filling percentage by the thickness of the PCBA motherboard, that is, the through hole height T, to get the value of the filling height/> Then compare the filling height with the target filling height. If the filling height is greater than or equal to the target filling height, it is judged that the welding quality of the target solder joint corresponding to the filling height is qualified. If the filling height is less than the target filling height, it is judged that the filling height corresponds to The welding quality of the target solder joint is unqualified, where T represents the thickness of the PCBA motherboard, that is, the height of the target solder joint through hole, Indicates the through hole diameter of the target solder joint,/> Indicates the diameter of the leg of the soldered part. Since after the through hole is welded into the leg of the part, the remaining volume is a hollow cylinder. By calculating the surface area of the through hole and subtracting the surface area of the pin, the bottom surface area of the hollow cylinder is obtained, and then the hollow cylinder is The bottom surface area is multiplied by the height of the hollow cylinder, that is, the thickness T of the PCBA motherboard, to obtain the volume of the hollow cylinder, which is the target filling volume.

本实施例通过上述方案,具体通过获取所述焊点对应的焊料的横截面积,以及所述焊料的使用长度,并基于所述横截面积及所述使用长度,计算当前的焊料使用体积,在所述目标焊点焊接完成后,获取所述目标焊点对应的焊料溢出体积,以基于焊料使用体积及焊料溢出体积,通过计算得到填充高度,根据填充高度,对焊接质量进行检测,通过静态法对焊接时间较短的产品的焊料使用体积,采用不同的计算方式,提高了焊接质量的检测效率。In this embodiment, through the above solution, specifically by obtaining the cross-sectional area of the solder corresponding to the solder point and the usage length of the solder, and calculating the current solder usage volume based on the cross-sectional area and the usage length, After the target solder point is welded, the solder overflow volume corresponding to the target solder point is obtained, and the filling height is calculated based on the solder usage volume and the solder overflow volume. According to the filling height, the welding quality is detected, and the welding quality is detected through static This method uses different calculation methods for the solder volume of products with short welding time, which improves the efficiency of welding quality detection.

参照图7,图7为本申请焊接质量的检测方法另一示例性实施例的流程示意图。步骤S1001,基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积的步骤包括:Referring to Figure 7, Figure 7 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application. Step S1001, based on the solder usage volume and the solder overflow volume, the steps of calculating the solder filling volume include:

步骤C100,获取所述目标焊点对应的补充系数;Step C100, obtain the supplementary coefficient corresponding to the target solder joint;

具体地,示例1,由于不同产品具有的通孔的大小不同,对于较小的通孔,目标填充高度需要尽可能高,否则会出现通孔对应的焊点不通的情况,对于较大的通孔,目标填充高度可以不等于PCBA主板厚度,通常大通孔中焊料未填充满的情况下,对应的焊点也能正常导通,因此,对不同通孔采用不同标准的目标填充高度。Specifically, in Example 1, since different products have different sizes of through holes, for smaller through holes, the target filling height needs to be as high as possible, otherwise the solder joints corresponding to the through holes will be blocked. For larger through holes, the solder joints corresponding to the through holes will be blocked. For holes, the target filling height may not be equal to the thickness of the PCBA motherboard. Usually, when the solder in a large through hole is not fully filled, the corresponding solder joint can conduct normally. Therefore, different standards of target filling height are used for different through holes.

步骤C200,基于所述焊料填充体积,所述目标填充体积以及所述补充系数,计算当前的填充高度,并基于所述当前的填充高度,判断所述目标焊点的焊接质量。Step C200: Calculate the current filling height based on the solder filling volume, the target filling volume and the supplement coefficient, and determine the welding quality of the target solder joint based on the current filling height.

具体地,补充系数k是用于修正焊料填充体积,即通孔内的实际焊料用料,与预先输入的目标填充体积,即通孔焊接零件脚后,通孔内的剩余体积的比值,从而调整填充高度的系数。以动态法作为示例进行说明,采用动态法时,填充高度的计算公式为当填充高度低于目标填充高度时,通过乘以补充系数k,对焊料使用体积进行调整,进而对填充高度进行调整,调整后的填充高度为若调整后的填充高度达到目标填充高度时,判断该目标焊点的焊接质量为合格,并记录该补充系数k,并对在下一个直径相同的通孔进行焊接时使用该补充系数k进行调整。Specifically, the supplement coefficient k is used to correct the ratio of the solder filling volume, that is, the actual solder material in the through hole, to the pre-input target filling volume, that is, the remaining volume in the through hole after the through hole is soldered to the part foot, so that Factor to adjust fill height. Taking the dynamic method as an example to illustrate, when using the dynamic method, the calculation formula for the filling height is: When the filling height is lower than the target filling height, the volume of solder used is adjusted by multiplying the supplementing coefficient k, and then the filling height is adjusted. The adjusted filling height is If the adjusted filling height reaches the target filling height, the welding quality of the target solder joint is judged to be qualified, the supplementary coefficient k is recorded, and the supplementary coefficient k is used to adjust when welding the next through hole with the same diameter.

本实施例通过上述方案,具体通过获取所述目标焊点对应的补充系数,基于所述焊料填充体积,所述目标填充体积以及所述补充系数,计算当前的填充高度,并基于所述当前的填充高度,判断所述目标焊点的焊接质量,通过补充系数对焊料使用体积进行调整,基于调整后的焊料使用体积及目标填充体积,使调整后的填充高度趋向目标填充高度,即目标焊点的焊接质量趋向合格,提供了一种令使用者根据实际需求,调整焊接质量判断标准的方法。In this embodiment, through the above solution, specifically by obtaining the supplementary coefficient corresponding to the target solder point, based on the solder filling volume, the target filling volume and the supplementary coefficient, the current filling height is calculated, and based on the current The filling height determines the welding quality of the target solder joint, and adjusts the solder usage volume through the supplementary coefficient. Based on the adjusted solder usage volume and the target filling volume, the adjusted filling height tends to the target filling height, that is, the target solder joint. The welding quality tends to be qualified, which provides a method for users to adjust the welding quality judgment standards according to actual needs.

参照图8,图,8为本申请焊接质量的检测方法另一示例性实施例的流程示意图。步骤S1001,基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积的步骤包括:Referring to Figure 8, Figure 8 is a schematic flow chart of another exemplary embodiment of the welding quality detection method of the present application. Step S1001, based on the solder usage volume and the solder overflow volume, the steps of calculating the solder filling volume include:

步骤D100,获取所述目标焊点对应的焊料质量分数;Step D100, obtain the solder mass fraction corresponding to the target solder joint;

具体地,以锡基钎料为例,由于呈锡丝状的锡基钎料会由于老化或制造时工艺不到位等因素,造成锡丝的实际含锡量下降,当目标焊点对应的通孔内,虽然填充高度达到目标填充高度,但由于锡丝质量分数下降,导致通孔内实际含锡量达不到目标含锡量,可能会引起该目标焊点电气特性不稳定的情况,因此,在实际检测中,有必要在计算产品对应的焊料使用体积时,将焊料质量分数w纳入考虑范围。Specifically, taking tin-based solder as an example, the actual tin content of the tin-based solder in the shape of a tin wire will decrease due to factors such as aging or inadequate manufacturing processes. When the target solder joint corresponds to the In the hole, although the filling height reaches the target filling height, due to the decrease in the tin wire mass fraction, the actual tin content in the through hole does not reach the target tin content, which may cause the electrical characteristics of the target solder joint to be unstable. Therefore, , in actual testing, it is necessary to take the solder mass fraction w into consideration when calculating the solder volume corresponding to the product.

步骤D200,基于所述焊料使用体积、所述焊料溢出体积以及所述焊料质量分数,计算当前的焊料填充体积。Step D200: Calculate the current solder filling volume based on the solder usage volume, the solder overflow volume and the solder mass fraction.

具体地,以动态法作为示例进行说明,采用动态法时,焊料填充体积的计算公式为(Va-Vb),当通孔内由于含锡量低于目标含锡量时,通孔对应的焊点不导通,通过将焊料填充体积除以锡丝质量分数w,得到当前的焊料填充体积,计算公式为((Va-Vb)/w),然后基于当前的焊料填充体积进行焊接。Specifically, the dynamic method is used as an example to illustrate. When using the dynamic method, the calculation formula of the solder filling volume is (V a -V b ). When the tin content in the through hole is lower than the target tin content, the through hole corresponds to If the solder joint is not conductive, the current solder filling volume is obtained by dividing the solder filling volume by the tin wire mass fraction w. The calculation formula is ((V a -V b )/w), and then based on the current solder filling volume welding.

本实施例通过上述方案,具体通过获取所述目标焊点对应的焊料质量分数,基于所述焊料使用体积、所述焊料溢出体积以及所述焊料质量分数,计算焊料填充体积,从填充物杂质过多会导致填充的目标焊点不能正常导通的角度出发,将含锡量作为检测焊接质量的标准之一,提供对焊接质量的多元化判断方式,保证了焊接质量判断的可靠性。This embodiment adopts the above solution, specifically by obtaining the solder mass fraction corresponding to the target solder joint, calculating the solder filling volume based on the solder usage volume, the solder overflow volume and the solder mass fraction, and calculating the solder filling volume from the filler impurities. From the perspective that the filled target solder joints may not conduct normally, the tin content is used as one of the standards for detecting welding quality, providing a diversified judgment method for welding quality and ensuring the reliability of welding quality judgment.

本发明实施例提供一种焊接质量的检测装置,所述焊接质量的检测装置包括:An embodiment of the present invention provides a welding quality detection device. The welding quality detection device includes:

获取模块,用于获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;The acquisition module is used to obtain the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume;

计算模块,用于基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量。A calculation module configured to determine the welding quality of the target solder joint based on the solder filling volume and the target filling volume.

本实施例实现焊接质量的检测的原理及实施过程,请参照上述各实施例,在此不再赘述。For the principle and implementation process of detecting welding quality in this embodiment, please refer to the above embodiments and will not be described again here.

此外,本发明实施例还提出一种终端设备,所述终端设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的焊接质量的检测程序,所述焊接质量的检测程序被所述处理器执行时实现如上述实施例所述的焊接质量的检测方法。In addition, an embodiment of the present invention also proposes a terminal device. The terminal device includes a memory, a processor, and a welding quality detection program stored in the memory and executable on the processor. The welding quality detection program When the detection program is executed by the processor, the welding quality detection method as described in the above embodiment is implemented.

由于本焊接质量的检测检测程序被处理器执行时,采用了前述所有实施例的全部技术方案,因此至少具有前述所有实施例的全部技术方案所带来的所有有益效果,在此不再赘述。Since this welding quality inspection program uses all the technical solutions of all the foregoing embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments, which will not be described again here.

此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有焊接质量的检测程序,所述焊接质量的检测程序被处理器执行时实现如上述实施例所述的焊接质量的检测方法。In addition, embodiments of the present invention also provide a computer-readable storage medium. The computer-readable storage medium stores a welding quality detection program. When the welding quality detection program is executed by a processor, the welding quality detection program is implemented as described in the above embodiments. Welding quality detection method described above.

由于焊接质量的检测程序被处理器执行时,采用了前述所有实施例的全部技术方案,因此至少具有前述所有实施例的全部技术方案所带来的所有有益效果,在此不再一一赘述。Since the welding quality detection program uses all the technical solutions of all the foregoing embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the foregoing embodiments, which will not be described again here.

相比于现有技术,自动化设备通过控制焊接时间的做法对焊接质量无法保证,可能存在焊料少的不良焊点,这种不良焊点在人工进行目检的环节不容易被发现,只能通过将整机拆开,取出PCBA主板,将主板放置于X-Ray射线机上进行检测才能发现。但X-Ray射线机本身价格高昂,中小加工厂难以负担,其次,若每台整机检测都使用X-Ray,会产生高昂的检测成本,所以,X-Ray仅适用于抽样检测,通常行业的抽样频率为1%,因此导致抽样样品的代表性不高。本申请发明基于自动点焊设备,结合工业视觉,设计了一种同时兼容焊接及检测操作的方法,通过本申请,能在有效地对焊接质量进行判断的前提下,自动点焊设备相较于X-Ray射线机大大降低了成本,可以实现高覆盖率,且相较于X-Ray射线机,操作更为简单、安全、快捷。Compared with the existing technology, automated equipment cannot guarantee the welding quality by controlling the welding time. There may be bad solder joints with less solder. Such bad solder joints are not easy to be found during manual visual inspection and can only be detected through It can be discovered by disassembling the whole machine, taking out the PCBA motherboard, and placing the motherboard on an X-Ray machine for inspection. However, the X-Ray machine itself is expensive and difficult for small and medium-sized processing plants to afford. Secondly, if X-Ray is used for every complete machine inspection, high inspection costs will be incurred. Therefore, X-Ray is only suitable for sampling inspection, and is generally used in industries. The sampling frequency is 1%, thus resulting in a sample that is not highly representative. The invention of this application is based on automatic spot welding equipment and combined with industrial vision, and designs a method that is compatible with welding and detection operations at the same time. Through this application, the automatic spot welding equipment can effectively judge the welding quality. X-Ray ray machines greatly reduce costs and can achieve high coverage. Compared with X-Ray ray machines, the operation is simpler, safer and faster.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, as used herein, the terms "include", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or system that includes a list of elements not only includes those elements, but It also includes other elements not expressly listed or that are inherent to the process, method, article or system. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,被控终端,或者网络设备等)执行本发明每个实施例的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic disc, optical disk), including several instructions to cause a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the description and drawings of the present invention may be directly or indirectly used in other related technical fields. , are all similarly included in the scope of patent protection of the present invention.

Claims (10)

1.一种焊接质量的检测方法,其特征在于,所述焊接质量的检测方法包括以下步骤:1. A method for detecting welding quality, characterized in that the method for detecting welding quality includes the following steps: 获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;Obtain the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume; 基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量;Based on the solder filling volume and the target filling volume, determine the welding quality of the target solder joint; 其中,所述基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量包括:将所述焊料填充体积除以所述目标填充体积,得到占比百分数;将所述占比百分数与通孔高度相乘,得到填充高度;将所述填充高度与目标填充高度进行比较,若所述填充高度小于所述目标填充高度,则判定焊接质量的检测结果为不合格,若所述填充高度大于或等于所述目标填充高度,则判定焊接质量的检测结果为合格,其中,所述填充高度大于所述目标填充高度时,大于的部分不能超过预设范围。Wherein, judging the welding quality of the target solder joint based on the solder filling volume and the target filling volume includes: dividing the solder filling volume by the target filling volume to obtain a percentage; dividing the proportion The percentage is multiplied by the through hole height to obtain the filling height; the filling height is compared with the target filling height. If the filling height is less than the target filling height, the detection result of the welding quality is determined to be unqualified. If the filling height is If the filling height is greater than or equal to the target filling height, the detection result of the welding quality is determined to be qualified. When the filling height is greater than the target filling height, the greater part cannot exceed the preset range. 2.如权利要求1所述的焊接质量的检测方法,其特征在于,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤之前还包括:2. The method for detecting welding quality according to claim 1, wherein the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint further includes: 获取所述目标焊点的焊接时间;Obtain the welding time of the target solder joint; 若所述目标焊接时间大于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积。If the target welding time is greater than the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and the solder overflow volume, Calculate solder fill volume. 3.如权利要求2所述的焊接质量的检测方法,其特征在于,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤包括:3. The method for detecting welding quality according to claim 2, wherein the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint includes: 通过摄像头监测所述目标焊点对应的焊料与焊接头接触过程中形成的焊接球的体积变化;Use a camera to monitor the volume change of the solder ball formed during the contact between the solder corresponding to the target solder joint and the soldering head; 将所述焊接球的最大体积作为所述焊料使用体积,将所述焊接球在所述目标焊点对应的通孔外的体积作为所述焊料溢出体积。The maximum volume of the solder ball is used as the solder usage volume, and the volume of the solder ball outside the through hole corresponding to the target solder point is used as the solder overflow volume. 4.如权利要求1所述的焊接质量的检测方法,其特征在于,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤之前还包括:4. The method for detecting welding quality according to claim 1, wherein the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint further includes: 获取所述目标焊点的焊接时间;Obtain the welding time of the target solder joint; 若所述目标焊接时间小于或等于预设焊接时间阈值,则执行步骤:获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积。If the target welding time is less than or equal to the preset welding time threshold, then perform the steps of: obtaining the solder usage volume of the target solder point and the solder overflow volume corresponding to the target solder point, and based on the solder usage volume and solder overflow Volume, calculate the solder fill volume. 5.如权利要求4所述的焊接质量的检测方法,其特征在于,所述获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积的步骤包括:5. The method for detecting welding quality according to claim 4, wherein the step of obtaining the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint includes: 获取所述焊点对应的焊料的横截面积,以及所述焊料的使用长度,并基于所述横截面积及所述使用长度,计算当前的焊料使用体积;Obtain the cross-sectional area of the solder corresponding to the solder joint and the usage length of the solder, and calculate the current solder usage volume based on the cross-sectional area and the usage length; 在所述目标焊点焊接完成后,获取所述目标焊点对应的焊料溢出体积。After the target solder point is welded, the solder overflow volume corresponding to the target solder point is obtained. 6.如权利要求1所述的焊接质量的检测方法,其特征在于,所述基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量的步骤之前还包括:6. The method for detecting welding quality according to claim 1, wherein the step of judging the welding quality of the target solder joint based on the solder filling volume and the target filling volume further includes: 获取所述目标焊点对应的补充系数;Obtain the supplementary coefficient corresponding to the target solder joint; 所述基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量的步骤包括:The step of judging the welding quality of the target solder joint based on the solder filling volume and the target filling volume includes: 基于所述目标焊点对应的焊料填充体积、所述目标填充体积以及所述补充系数,计算当前的填充高度,并基于所述当前的填充高度,判断所述目标焊点的焊接质量。Based on the solder filling volume corresponding to the target solder joint, the target filling volume and the supplement coefficient, the current filling height is calculated, and based on the current filling height, the welding quality of the target solder joint is judged. 7.如权利要求1所述的焊接质量的检测方法,其特征在于,所述基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积的步骤包括:7. The method for detecting welding quality according to claim 1, wherein the step of calculating the solder filling volume based on the solder usage volume and the solder overflow volume includes: 获取所述目标焊点对应的焊料质量分数;Obtain the solder quality fraction corresponding to the target solder joint; 基于所述焊料使用体积、所述焊料溢出体积以及所述焊料质量分数,计算当前的焊料填充体积。Based on the solder usage volume, the solder overflow volume and the solder mass fraction, the current solder filling volume is calculated. 8.一种焊接质量的检测装置,其特征在于,所述焊接质量的检测装置包括:8. A device for detecting welding quality, characterized in that the device for detecting welding quality includes: 获取模块,用于获取目标焊点的焊料使用体积,以及所述目标焊点对应的焊料溢出体积,并基于所述焊料使用体积及焊料溢出体积,计算焊料填充体积;The acquisition module is used to obtain the solder usage volume of the target solder joint and the solder overflow volume corresponding to the target solder joint, and calculate the solder filling volume based on the solder usage volume and the solder overflow volume; 计算模块,用于基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量;其中,所述基于所述焊料填充体积及目标填充体积,判断所述目标焊点的焊接质量包括:将所述焊料填充体积除以所述目标填充体积,得到占比百分数;将所述占比百分数与通孔高度相乘,得到填充高度;将所述填充高度与目标填充高度进行比较,若所述填充高度小于所述目标填充高度,则判定焊接质量的检测结果为不合格,若所述填充高度大于或等于所述目标填充高度,则判定焊接质量的检测结果为合格,其中,所述填充高度大于所述目标填充高度时,大于的部分不能超过预设范围。A calculation module configured to determine the welding quality of the target solder joint based on the solder filling volume and the target filling volume; wherein the welding quality of the target solder joint is judged based on the solder filling volume and the target filling volume. The method includes: dividing the solder filling volume by the target filling volume to obtain a percentage; multiplying the percentage and the through hole height to obtain a filling height; comparing the filling height with the target filling height, If the filling height is less than the target filling height, the detection result of the welding quality is determined to be unqualified; if the filling height is greater than or equal to the target filling height, the detection result of the welding quality is determined to be qualified, where, When the filling height is greater than the target filling height, the greater part cannot exceed the preset range. 9.一种终端设备,其特征在于,所述终端设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的焊接质量的检测程序,所述焊接质量的检测程序被所述处理器执行时实现如权利要求1-7中任一项所述的方法的步骤。9. A terminal device, characterized in that the terminal device includes a memory, a processor, and a welding quality detection program stored on the memory and executable on the processor, and the welding quality detection program When executed by the processor, the steps of the method according to any one of claims 1-7 are implemented. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有焊接质量的检测程序,所述焊接质量的检测程序被处理器执行时实现如权利要求1-7中任一项所述的方法的步骤。10. A computer-readable storage medium, characterized in that a welding quality detection program is stored on the computer-readable storage medium, and when the welding quality detection program is executed by a processor, the welding quality detection program is implemented as claimed in claims 1-7 The steps of any of the methods described.
CN202210808539.4A 2022-07-11 2022-07-11 Welding quality detection method and device, terminal equipment and medium Active CN115178909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210808539.4A CN115178909B (en) 2022-07-11 2022-07-11 Welding quality detection method and device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210808539.4A CN115178909B (en) 2022-07-11 2022-07-11 Welding quality detection method and device, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN115178909A CN115178909A (en) 2022-10-14
CN115178909B true CN115178909B (en) 2023-10-27

Family

ID=83517599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210808539.4A Active CN115178909B (en) 2022-07-11 2022-07-11 Welding quality detection method and device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN115178909B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117072873A (en) * 2023-08-07 2023-11-17 国家石油天然气管网集团有限公司 Oil and gas pipeline monitoring system and method based on Internet of things, electronic equipment and medium
CN118287880B (en) * 2024-03-14 2024-11-29 哈尔滨电机厂(镇江)有限责任公司 A method for monitoring welding quality of steam turbine generator stator assembly

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4434351A (en) * 1980-06-02 1984-02-28 Nissan Motor Company, Limited Method and system for determining weld quality in resistance welding
US5234151A (en) * 1992-08-28 1993-08-10 Spigarelli Donald J Sensing of solder melting and solidification
JP2001284789A (en) * 2000-03-29 2001-10-12 Nagoya Electric Works Co Ltd Inspection method of solder shape
CN1480713A (en) * 2003-07-23 2004-03-10 天津大学 Method of Determining the Nugget Area of Resistance Spot Welding of Aluminum Alloy Sheets Using Multi-Information Fusion Technology
WO2017005469A1 (en) * 2015-07-07 2017-01-12 Robert Bosch Gmbh System and method for checking soldering points
CN112935442A (en) * 2021-02-03 2021-06-11 中国科学院深圳先进技术研究院 Method, device, equipment and medium for determining parameters of automatic welding process
CN112986261A (en) * 2021-02-20 2021-06-18 南京柏王智能装备科技有限公司 Steel structure building quality supervision acceptance detection analysis method based on machine vision and image processing technology
WO2021169335A1 (en) * 2020-02-25 2021-09-02 华南理工大学 Visual online detection method for laser welding point of lithium battery tab
CN113344929A (en) * 2021-08-09 2021-09-03 深圳智检慧通科技有限公司 Welding spot visual detection and identification method, readable storage medium and equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4434351A (en) * 1980-06-02 1984-02-28 Nissan Motor Company, Limited Method and system for determining weld quality in resistance welding
US5234151A (en) * 1992-08-28 1993-08-10 Spigarelli Donald J Sensing of solder melting and solidification
JP2001284789A (en) * 2000-03-29 2001-10-12 Nagoya Electric Works Co Ltd Inspection method of solder shape
CN1480713A (en) * 2003-07-23 2004-03-10 天津大学 Method of Determining the Nugget Area of Resistance Spot Welding of Aluminum Alloy Sheets Using Multi-Information Fusion Technology
WO2017005469A1 (en) * 2015-07-07 2017-01-12 Robert Bosch Gmbh System and method for checking soldering points
WO2021169335A1 (en) * 2020-02-25 2021-09-02 华南理工大学 Visual online detection method for laser welding point of lithium battery tab
CN112935442A (en) * 2021-02-03 2021-06-11 中国科学院深圳先进技术研究院 Method, device, equipment and medium for determining parameters of automatic welding process
CN112986261A (en) * 2021-02-20 2021-06-18 南京柏王智能装备科技有限公司 Steel structure building quality supervision acceptance detection analysis method based on machine vision and image processing technology
CN113344929A (en) * 2021-08-09 2021-09-03 深圳智检慧通科技有限公司 Welding spot visual detection and identification method, readable storage medium and equipment

Also Published As

Publication number Publication date
CN115178909A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN115178909B (en) Welding quality detection method and device, terminal equipment and medium
CN107665869B (en) A kind of gull wing type packaging body lead automation tinning device and its ward off tin method
JP6166315B2 (en) Soldering iron with automatic soldering connection inspection
US6360935B1 (en) Apparatus and method for assessing solderability
CN109396584B (en) Intelligent welding method, system and device and storage medium
CN112163693A (en) Control and optimization method, device, equipment and medium for reflow soldering process
JP6277754B2 (en) Quality control system and internal inspection device
CN112935442A (en) Method, device, equipment and medium for determining parameters of automatic welding process
JP5328707B2 (en) Quality control method and quality control apparatus for solder joints
CN104853539A (en) A method for testing the placement accuracy of electronic components
CN113012154A (en) PCB pad size inspection method and device, computer equipment and storage medium
CN112621033A (en) Welding gun positioning method, device, equipment and storage medium
CN117381105B (en) Robot welding current control method and device, electronic equipment and storage medium
JP2011216682A (en) Method of removing part having bottom electrode
JP2016221570A (en) Solder immersion method and device for electronic component
CN112822868A (en) SMT (surface mount technology) chip mounting method for reducing reliability failure of lithium battery control board
CN114643434B (en) Method, device and equipment for detecting welding quality of busbar
JP6387620B2 (en) Quality control system
US20210105920A1 (en) Electronic apparatus and method for determining cause of mounting failure for component mounted on substrate
Fidan CAPP for electronics manufacturing case study: Fine pitch SMT laser soldering
CN115229297A (en) Welding spot quality detection method and system for automatic tin soldering machine
CN112621034A (en) Welding gun positioning method, device, equipment and storage medium
US20240319703A1 (en) Inspection management system, inspection management device, inspection management method, and program
CN104198659B (en) Capillary soldering resistance automatic detection device
Kedari Comparison of Process Development of a Large Package BGA Using a High-Temperature and a Low-Temperature Solder Paste

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
GR01 Patent grant
GR01 Patent grant