CN114347013A - Method for assembling printed circuit board and FPC flexible cable and related equipment - Google Patents
Method for assembling printed circuit board and FPC flexible cable and related equipment Download PDFInfo
- Publication number
- CN114347013A CN114347013A CN202111305937.6A CN202111305937A CN114347013A CN 114347013 A CN114347013 A CN 114347013A CN 202111305937 A CN202111305937 A CN 202111305937A CN 114347013 A CN114347013 A CN 114347013A
- Authority
- CN
- China
- Prior art keywords
- coordinate system
- circuit board
- printed circuit
- flexible cable
- assembly
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 4
- 239000011159 matrix material Substances 0.000 claims description 32
- 230000009466 transformation Effects 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 11
- 238000003860 storage Methods 0.000 claims description 11
- 239000000463 material Substances 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 4
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Supply And Installment Of Electrical Components (AREA)
Abstract
Description
技术领域technical field
本发明属于机械装配技术领域,尤其涉及一种印刷电路板与FPC柔性电缆线的装配方法及相关设备。The invention belongs to the technical field of mechanical assembly, and in particular relates to an assembly method and related equipment of a printed circuit board and an FPC flexible cable.
背景技术Background technique
提高效率及减少人力是社会发展的需要和趋势,尤其在工业生产中,而在工业产品的加工过程中一般都需要产品的装配这个过程,所以,装配在整个产品加工过程中起着非常重要的作用。目前的一种产品装配中,工作人员需要手动协助安装件装配的整个过程,机械手按照预定的路线完成所有装配,人员的劳动强度大,工作效率低,生产成本高,并且装配精度存在问题,机械手进行装配时的中心点与物料上的装配件之间存在坐标偏差,便会进一步导致精准度不高。Improving efficiency and reducing manpower are the needs and trends of social development, especially in industrial production, and the process of product assembly is generally required in the processing of industrial products. Therefore, assembly plays a very important role in the entire product processing process. effect. In a current product assembly, the staff needs to manually assist the whole process of the assembly of the installation parts. The manipulator completes all the assembly according to the predetermined route. The labor intensity of the personnel is high, the work efficiency is low, the production cost is high, and there are problems in the assembly accuracy. There is a coordinate deviation between the center point during assembly and the assembly on the material, which will further lead to poor accuracy.
因此,如何提供精准度高的装配是亟待解决的问题。Therefore, how to provide high-precision assembly is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种印刷电路板与FPC柔性电缆线的装配方法及相关设备,能够通过建立基础坐标系与图像坐标系之间的位姿关系,实现高效率的精准装配。The purpose of the present invention is to provide an assembly method and related equipment of a printed circuit board and an FPC flexible cable, which can realize efficient and precise assembly by establishing the pose relationship between the basic coordinate system and the image coordinate system.
为了实现上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
印刷电路板与FPC柔性电缆线的装配方法,包括:Assembly method of printed circuit board and FPC flexible cable, including:
选用机器人基座世界坐标作为基础坐标系,通过离线标定算法,得到所述基础坐标系与图像坐标系之间的位姿关系;The world coordinate of the robot base is selected as the basic coordinate system, and the pose relationship between the basic coordinate system and the image coordinate system is obtained through an offline calibration algorithm;
定位得到所述印刷电路板与所述FPC柔性电缆线上装配件的像素坐标,通过所述位姿关系将所述像素坐标转换到所述基础坐标系中,得到转换后的所述像素坐标之间的补偿差值;Obtaining the pixel coordinates of the printed circuit board and the assembly on the FPC flexible cable by positioning, converting the pixel coordinates into the basic coordinate system through the pose relationship, and obtaining the converted pixel coordinates between compensation difference;
所述机械手根据所述补偿差值移动完成所述印刷电路板与所述FPC柔性电缆线之间的装配。The manipulator moves according to the compensation difference to complete the assembly between the printed circuit board and the FPC flexible cable.
进一步地,得到所述基础坐标系与图像坐标系之间的位姿关系,包括:Further, obtain the pose relationship between the base coordinate system and the image coordinate system, including:
根据所述基础坐标系与图像坐标系进行一次标定,得到一次变换矩阵;Perform a calibration according to the basic coordinate system and the image coordinate system to obtain a transformation matrix;
对所述一次变换矩阵进行偏差补偿,更新所述基础坐标系进行二次标定,得到二次变换矩阵,作为所述基础坐标系与图像坐标系之间的位姿关系。Perform deviation compensation on the primary transformation matrix, update the basic coordinate system for secondary calibration, and obtain a secondary transformation matrix, which is used as the pose relationship between the basic coordinate system and the image coordinate system.
进一步地,对所述一次变换矩阵进行偏差补偿,更新所述基础坐标系进行二次标定,包括:Further, performing bias compensation on the primary transformation matrix, and updating the basic coordinate system for secondary calibration, including:
控制机械手转动,根据所述一次变换矩阵计算出所述机械手的旋转中心与 Mark点之间的偏差位置关系;Control the rotation of the manipulator, and calculate the deviation position relationship between the rotation center of the manipulator and the Mark point according to the primary transformation matrix;
根据所述偏差位置关系对所述一次变换矩阵进行补偿,更新所述基础坐标系进行二次标定,得到二次变换矩阵作为所述基础坐标系与图像坐标系之间的位姿关系。Compensate the primary transformation matrix according to the deviation position relationship, update the basic coordinate system to perform secondary calibration, and obtain a secondary transformation matrix as the pose relationship between the basic coordinate system and the image coordinate system.
更进一步地,所述位姿关系应用的公式为P=RQ+P0,其中P为图像坐标系,Q 为基础坐标系,P0为图像坐标系与基础坐标系之间的偏移量,R为旋转矩阵,R= Rz*Ry*Rx,具体为:Further, the formula applied to the pose relationship is P=RQ+P 0 , where P is the image coordinate system, Q is the base coordinate system, and P 0 is the offset between the image coordinate system and the base coordinate system, R is a rotation matrix, R= R z *R y *R x , specifically:
R=Rz*Ry*Rx=Rx*Ry*Rz=X1Y2Z3,其中,R=R z *R y *R x =R x *R y *R z =X 1 Y 2 Z 3 , where,
故 Therefore
其中c为cos,s为sin,Rx、Ry、Rz分别为与x、y、z轴的旋转关系。where c is cos, s is sin, and R x , R y , and R z are the rotational relationships with the x, y, and z axes, respectively.
进一步地,定位得到所述印刷电路板与所述FPC柔性电缆线上装配件的像素坐标,通过所述位姿关系将所述像素坐标转换到所述基础坐标系中,得到转换后的所述像素坐标之间的补偿差值,包括:Further, the pixel coordinates of the assembly on the printed circuit board and the FPC flexible cable are obtained by positioning, and the pixel coordinates are converted into the basic coordinate system through the pose relationship to obtain the converted pixel Compensation difference between coordinates, including:
定位识别所述印刷电路板上装配件的第一像素坐标,以及所述FPC柔性电缆线上的第二像素坐标;Locate and identify first pixel coordinates of the assembly on the printed circuit board, and second pixel coordinates on the FPC flexible cable;
根据所述位姿关系将所述第一像素坐标和所述第二像素坐标,转换为第一基础坐标和第二基础坐标;converting the first pixel coordinates and the second pixel coordinates into first basic coordinates and second basic coordinates according to the pose relationship;
进一步得到所述第一基础坐标和所述第二基础坐标之间的坐标差值,作为机械手的补偿差值。The coordinate difference between the first base coordinate and the second base coordinate is further obtained as a compensation difference of the manipulator.
进一步地,定位得到所述印刷电路板与所述FPC柔性电缆线上装配件的像素坐标之前,所述方法还包括:Further, before obtaining the pixel coordinates of the assembly on the printed circuit board and the FPC flexible cable, the method further includes:
通过所述位姿关系得到印刷电路板与FPC柔性电缆线在来料工装上的初始位置;Obtain the initial position of the printed circuit board and the FPC flexible cable on the incoming tooling through the pose relationship;
机械手根据所述初始位置抓取印刷电路板与FPC柔性电缆线,将所述印刷电路板放置到置物台上。The manipulator grabs the printed circuit board and the FPC flexible cable according to the initial position, and places the printed circuit board on the storage table.
进一步地,定位识别置物台上印刷电路板上作为装配件的插座的第一像素坐标,定位识别机械手上FPC柔性电缆线上作为装配件的插头的第二像素坐标。Further, the first pixel coordinates of the socket as an assembly on the printed circuit board on the stage are positioned and identified, and the second pixel coordinates of the plug as an assembly on the FPC flexible cable on the manipulator are positioned and identified.
更进一步地,所述方法还包括:Further, the method also includes:
在进行印刷电路板与FPC柔性电缆线之间的装配时,获取机械手的装配力度和装配深度,根据所述装配力度和所述装配深度判定装配的精准度。During the assembly between the printed circuit board and the FPC flexible cable, the assembly strength and assembly depth of the manipulator are obtained, and the assembly accuracy is determined according to the assembly strength and the assembly depth.
一种计算机设备,包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现所述的印刷电路板与FPC柔性电缆线的装配方法。A computer device includes a memory and a processor, the memory stores a computer program that can run on the processor, and when the computer program is executed by the processor, the printed circuit board and the FPC are flexible. Cable assembly method.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现所述的印刷电路板与FPC柔性电缆线的装配方法。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, realizes the method for assembling the printed circuit board and the FPC flexible cable.
由以上本申请实施方式提供的技术方案可见,本申请通过采集到的基础坐标系与图像坐标系进行二次标定得到位姿关系,一次标定得到基础坐标系与图像坐标系的一次变换矩阵,二次标定对机械手的旋转中心与mark点之间的偏差案进行补偿,得到不受机械手的抓取点与物料的装配点之间的偏差影响的二次变换矩阵,作为位姿关系,这样在定位识别出印刷电路板与FPC柔性电缆线上装配件的像素坐标之后,通过仿射变换矩阵将像素坐标转换到统一坐标系中进行差值的计算,机械手依据差值进行精准的补偿差值的运转,便不需要人工对标准位进行重复调整,并且在装配时针对相对应的装配力度和装配深度进行检测,从而实现效率高的精准装配。It can be seen from the technical solutions provided by the above embodiments of the present application that the present application obtains the pose relationship through secondary calibration of the collected basic coordinate system and the image coordinate system, and a primary transformation matrix of the basic coordinate system and the image coordinate system is obtained by one calibration. The secondary calibration compensates the deviation between the rotation center of the manipulator and the mark point, and obtains a secondary transformation matrix that is not affected by the deviation between the gripping point of the manipulator and the assembly point of the material, which is used as the pose relationship. After identifying the pixel coordinates of the printed circuit board and the FPC flexible cable assembly, the pixel coordinates are converted into a unified coordinate system through the affine transformation matrix to calculate the difference, and the manipulator can accurately compensate the difference according to the difference. There is no need to manually adjust the standard position repeatedly, and the corresponding assembly strength and assembly depth are detected during assembly, so as to achieve efficient and precise assembly.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:
图1为本发明实施例一提供的印刷电路板与FPC柔性电缆线的装配方法的方法步骤流程示意图;FIG. 1 is a schematic flowchart of method steps of a method for assembling a printed circuit board and an FPC flexible cable according to
图2为本发明实施例一提供的印刷电路板与FPC柔性电缆线的装配方法的步骤S100的流程示意图;2 is a schematic flowchart of step S100 of the method for assembling a printed circuit board and an FPC flexible cable according to
图3为本发明实施例一提供的印刷电路板与FPC柔性电缆线的装配方法的步骤S100流程示意图;3 is a schematic flowchart of step S100 of the method for assembling a printed circuit board and an FPC flexible cable according to
图4为本发明实施例一提供的印刷电路板与FPC柔性电缆线的装配方法的步骤S200流程示意图;4 is a schematic flowchart of step S200 of the method for assembling a printed circuit board and an FPC flexible cable according to
图5为本发明实施例一提供的印刷电路板与FPC柔性电缆线的装配方法的步骤流程示意图;5 is a schematic flowchart of steps of a method for assembling a printed circuit board and an FPC flexible cable according to
图6为应用本发明提供的印刷电路板与FPC柔性电缆线的装配方法的装置的立体结构示意图;6 is a schematic three-dimensional structure diagram of a device applying the assembling method of the printed circuit board and the FPC flexible cable provided by the present invention;
图7为本发明另一实施例的计算机设备的结构示意图。FIG. 7 is a schematic structural diagram of a computer device according to another embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
实施例一Example 1
本申请的该实施例提供了能够通过建立基础坐标系与图像坐标系之间的位姿关系,实现高效率的精准装配的印刷电路板与FPC柔性电缆线的装配方法,如图1所示,其方法步骤包括:This embodiment of the present application provides an assembly method of a printed circuit board and an FPC flexible cable that can achieve high-efficiency and precise assembly by establishing the pose relationship between the basic coordinate system and the image coordinate system, as shown in FIG. 1 , The method steps include:
S100,选用机器人基座世界坐标作为基础坐标系,通过离线标定算法,得到所述基础坐标系与图像坐标系之间的位姿关系;S100, selecting the world coordinate of the robot base as the basic coordinate system, and obtaining the pose relationship between the basic coordinate system and the image coordinate system through an offline calibration algorithm;
S200,定位得到所述印刷电路板与所述FPC柔性电缆线上装配件的像素坐标,通过所述位姿关系将所述像素坐标转换到所述基础坐标系中,得到转换后的所述像素坐标之间的补偿差值;S200, locate and obtain the pixel coordinates of the assembly on the printed circuit board and the FPC flexible cable, convert the pixel coordinates into the basic coordinate system through the pose relationship, and obtain the converted pixel coordinates Compensation difference between;
S300,所述机械手根据所述补偿差值移动完成所述印刷电路板与所述FPC柔性电缆线之间的装配。S300, the manipulator moves according to the compensation difference to complete the assembly between the printed circuit board and the FPC flexible cable.
通过建立基础坐标系与图像坐标系之间的位姿关系,将识别到的装配物料的像素坐标转换到统一坐标系中进行差值的计算,进而控制机械手进行精准的补偿差值的运转,解决了机械手的抓取点与物料的装配点之间的坐标偏差,也不需要人工对标准位进行重复调整,从而实现高效率的精准装配。By establishing the pose relationship between the basic coordinate system and the image coordinate system, the pixel coordinates of the identified assembly materials are converted into a unified coordinate system to calculate the difference, and then the manipulator is controlled to accurately compensate the difference. The coordinate deviation between the grasping point of the manipulator and the assembly point of the material is eliminated, and there is no need to manually adjust the standard position repeatedly, so as to achieve high-efficiency and precise assembly.
本实施例中,步骤S100中获得位姿关系具体是通过两次标定得到,如图2 所示,其具体为:In this embodiment, the pose relationship obtained in step S100 is obtained through two calibrations, as shown in FIG. 2 , which is specifically:
S101,根据所述基础坐标系与图像坐标系进行一次标定,得到一次变换矩阵;S101, perform a calibration according to the basic coordinate system and the image coordinate system to obtain a transformation matrix;
S102,对所述一次变换矩阵进行偏差补偿,更新所述基础坐标系进行二次标定,得到二次变换矩阵,作为所述基础坐标系与图像坐标系之间的位姿关系。S102: Perform deviation compensation on the primary transformation matrix, update the basic coordinate system for secondary calibration, and obtain a secondary transformation matrix, which is used as the pose relationship between the basic coordinate system and the image coordinate system.
其中,上述的以此标定是为了建立基本的基础坐标与系与图像坐标系之间的一次变换矩阵,其具体为控制机械手在相机的视野内移动,移动得到一定的点数之后便能够换算得到对应的矩阵;之后由于机械手的抓取点的坐标和物料的装配点之间是存在坐标偏差的,例如机械手的抓取点与长条形状的FPC柔性电缆线端部的插头装配件之间,便存在坐标偏差,故通过二次标定补充这一偏差,更新得到二次变换矩阵作为最终的位姿关系。Among them, the above-mentioned calibration is to establish a transformation matrix between the basic basic coordinate system and the image coordinate system, which is specifically to control the manipulator to move within the field of view of the camera, and after the movement obtains a certain number of points, the corresponding After that, because there is a coordinate deviation between the coordinates of the grasping point of the manipulator and the assembly point of the material, for example, between the grasping point of the manipulator and the plug assembly at the end of the long-shaped FPC flexible cable, the There is a coordinate deviation, so this deviation is supplemented by secondary calibration, and the secondary transformation matrix is updated as the final pose relationship.
其中步骤S102当中的二次标定,具体是通过旋转机械手实现,如图3所示,其具体可以包括:The secondary calibration in step S102 is specifically realized by rotating the manipulator, as shown in FIG. 3 , which may specifically include:
S103,控制机械手转动,根据所述一次变换矩阵计算出所述机械手的旋转中心与Mark点之间的偏差位置关系;S103, control the rotation of the manipulator, and calculate the deviation positional relationship between the rotation center of the manipulator and the Mark point according to the primary transformation matrix;
S104,根据所述偏差位置关系对所述一次变换矩阵进行补偿,更新所述基础坐标系进行二次标定,得到二次变换矩阵作为所述基础坐标系与图像坐标系之间的位姿关系。S104: Compensate the primary transformation matrix according to the deviation position relationship, update the basic coordinate system to perform secondary calibration, and obtain a secondary transformation matrix as the pose relationship between the basic coordinate system and the image coordinate system.
所述位姿关系应用的公式为P=RQ+P0,其中P为图像坐标系中的坐标,Q为基础坐标系中的坐标,P0为图像坐标系与基础坐标系之间的偏移量,R为旋转矩阵,R=Rz*Ry*Rx,具体为:The formula applied to the pose relationship is P=RQ+P 0 , where P is the coordinate in the image coordinate system, Q is the coordinate in the base coordinate system, and P 0 is the offset between the image coordinate system and the base coordinate system quantity, R is the rotation matrix, R=R z *R y *R x , specifically:
R=Rz*Ry*Rx=Rx*Ry*Rz=X1Y2Z3,其中,R=R z *R y *R x =R x *R y *R z =X 1 Y 2 Z3, where,
故 Therefore
其中c为cos,s为sin,Rx、Ry、Rz分别为与x、y、z轴的旋转关系。where c is cos, s is sin, and R x , R y , and R z are the rotational relationships with the x, y, and z axes, respectively.
上述位姿关系的计算公式中,通过机械手运动在标定板上进行多次标定,进而计算出图像坐标系与基础坐标系之间的偏移量P0(x0,y0,z0),以及与x、y、 z轴之间旋转关系R。具体为,在基础坐标系中采取足够的采样点的坐标M1、 M1……M1,由图像坐标系中的初始坐标M0分别与各个采样点之间的ΔM,基于上述计算公式和多次标定,推算出偏移量P0和旋转关系R。In the above calculation formula of the pose relationship, multiple calibrations are performed on the calibration board through the movement of the manipulator, and then the offset P 0 (x 0 , y 0 , z 0 ) between the image coordinate system and the base coordinate system is calculated, and the rotational relationship R with the x, y, and z axes. Specifically , the coordinates M1 , M1 ... After several calibrations, the offset P 0 and the rotation relationship R are calculated.
如图4所示,在本申请提供的该实施例中,步骤S200,定位得到所述印刷电路板与所述FPC柔性电缆线上装配件的像素坐标,通过所述位姿关系将所述像素坐标转换到所述基础坐标系中,得到转换后的所述像素坐标之间的补偿差值,其具体可以包括:As shown in FIG. 4 , in this embodiment provided by the present application, in step S200 , the pixel coordinates of the assembly on the printed circuit board and the FPC flexible cable are obtained by locating, and the pixel coordinates are determined by the pose relationship. Converting to the basic coordinate system to obtain the converted compensation difference between the pixel coordinates, which may specifically include:
S201,定位识别所述印刷电路板上装配件的第一像素坐标,以及所述FPC柔性电缆线上的第二像素坐标;S201, locate and identify the first pixel coordinates of the assembly on the printed circuit board, and the second pixel coordinates on the FPC flexible cable;
S202,根据所述位姿关系将所述第一像素坐标和所述第二像素坐标,转换为第一基础坐标和第二基础坐标;S202, convert the first pixel coordinates and the second pixel coordinates into first basic coordinates and second basic coordinates according to the pose relationship;
S203,得到所述第一基础坐标和所述第二基础坐标之间的坐标差值,作为机械手的补偿差值。S203, obtaining a coordinate difference between the first basic coordinate and the second basic coordinate as a compensation difference of the manipulator.
这样通过仿射变换矩阵将像素坐标转换到统一坐标系中进行差值的计算,机械手依据差值进行精准的补偿差值的运转,便不需要人工对标准位进行重复调整。In this way, the pixel coordinates are converted into a unified coordinate system through the affine transformation matrix to calculate the difference, and the manipulator can accurately compensate the difference according to the difference, so there is no need to manually adjust the standard position repeatedly.
在本申请的另一实施例即实施例二中,在步骤S200的定位得到所述印刷电路板与所述FPC柔性电缆线上装配件的像素坐标之前,如图5所示,所述方法还包括:In another embodiment of the present application, that is, the second embodiment, before obtaining the pixel coordinates of the assembly on the printed circuit board and the FPC flexible cable in the positioning in step S200, as shown in FIG. 5 , the method further includes: :
S001,通过所述位姿关系得到印刷电路板与FPC柔性电缆线在来料工装上的初始位置;S001, obtaining the initial position of the printed circuit board and the FPC flexible cable on the incoming tooling through the pose relationship;
S002,机械手根据所述初始位置抓取印刷电路板与FPC柔性电缆线,将所述印刷电路板放置到置物台上。S002 , the manipulator grabs the printed circuit board and the FPC flexible cable according to the initial position, and places the printed circuit board on the storage table.
之后步骤S200中的定位识别步骤识别的是印刷电路板的插座位置以及FPC 柔性电缆线的插头位置,其具体为:定位识别置物台上印刷电路板上作为装配件的插座的第一像素坐标,定位识别机械手上FPC柔性电缆线上作为装配件的插头的第二像素坐标,通过所述位姿关系得到第一像素坐标和第二像素坐标之间的补偿差值。The positioning and identification step in the subsequent step S200 identifies the position of the socket of the printed circuit board and the position of the plug of the FPC flexible cable, which is specifically: positioning and identifying the first pixel coordinates of the socket on the printed circuit board as an assembly on the shelf, The second pixel coordinates of the plug on the FPC flexible cable on the manipulator as an assembly part are positioned and recognized, and the compensation difference between the first pixel coordinates and the second pixel coordinates is obtained through the pose relationship.
在本申请提供的该实施例中,如图5所示,在进行装配时,所述方法还包括: S400,在进行印刷电路板与FPC柔性电缆线之间的装配时,获取机械手的装配力度和装配深度,根据所述装配力度和所述装配深度判定装配的精准度。In the embodiment provided in the present application, as shown in FIG. 5 , when assembling, the method further includes: S400 , when assembling between the printed circuit board and the FPC flexible cable, obtain the assembly force of the manipulator and assembly depth, and the assembly accuracy is determined according to the assembly force and the assembly depth.
由于在装配时,在允许的精度误差范围内,装配力度和装配的深度是相对应的,若插头和插座之间没有对准,那么装配力度便会远大于装配深度对应的力度,故获取装配力度和装配深度是能够反映印刷电路板和FPC柔性电缆线之间的装配精度的。Since during assembly, within the allowable accuracy error range, the assembly force and the assembly depth are corresponding. If the plug and socket are not aligned, the assembly force will be much greater than the force corresponding to the assembly depth. The strength and assembly depth can reflect the assembly accuracy between the printed circuit board and the FPC flexible cable.
通过上述实施例,可以看出本申请在进行物料的装配之前,通过采集到的基础坐标系与图像坐标系进行二次标定得到位姿关系,一次标定得到基础坐标系与图像坐标系的一次变换矩阵,二次标定对机械手的旋转中心与mark点之间的偏差案进行补偿,得到不受机械手的抓取点与物料的装配点之间的偏差影响的二次变换矩阵,作为位姿关系。Through the above embodiment, it can be seen that before the material is assembled in the present application, the pose relationship is obtained by performing secondary calibration on the collected basic coordinate system and the image coordinate system, and one calibration obtains a transformation between the basic coordinate system and the image coordinate system. Matrix, secondary calibration compensates the deviation between the rotation center of the manipulator and the mark point, and obtains a secondary transformation matrix that is not affected by the deviation between the gripping point of the manipulator and the assembly point of the material, as the pose relationship.
之后进行装配步骤,首先通过所述位姿关系得到印刷电路板与FPC柔性电缆线在来料工装上的初始位置,机械手根据所述初始位置抓取印刷电路板与FPC柔性电缆线,将所述印刷电路板放置到置物台上;在定位识别出印刷电路板与机械手上FPC柔性电缆线上装配件的像素坐标之后,通过仿射变换矩阵将像素坐标转换到统一坐标系中进行差值的计算,机械手依据差值进行精准的补偿差值的运转,便不需要人工对标准位进行重复调整,并且在装配时针对相对应的装配力度和装配深度进行检测,从而实现效率高的精准装配。After that, the assembly step is performed. First, the initial position of the printed circuit board and the FPC flexible cable on the incoming tooling is obtained through the posture relationship. The robot grabs the printed circuit board and the FPC flexible cable according to the initial position, and the The printed circuit board is placed on the object table; after positioning and identifying the pixel coordinates of the assembly on the printed circuit board and the FPC flexible cable on the manipulator, the pixel coordinates are converted into a unified coordinate system through the affine transformation matrix to calculate the difference. The manipulator accurately compensates the difference according to the difference, so there is no need to manually adjust the standard position repeatedly, and the corresponding assembly strength and assembly depth are detected during assembly, so as to achieve efficient and precise assembly.
如图6所示,还提供了应用本申请提供的印刷电路板与FPC柔性电缆线的装配方法的装置的立体结构示意图,其中,第一视觉单元11设于所述机械手2上,与所述机械手2同步移动即实现眼在手上的结构,不仅能够获取物料在来料工装上的初始位置,还能够跟随机械手2至置物台上方用于获取放置其上的印刷电路板的插座位置;第二视觉单元12固定设于机械手2底座所处平面的位置,自上而下获取机械手2抓取的FPC柔性电缆线的插头位置。As shown in FIG. 6 , a schematic three-dimensional structure diagram of a device for applying the method for assembling a printed circuit board and an FPC flexible cable provided by the present application is also provided, wherein the
相对应的,第一视觉单元11和第二视觉单元12分别对应有第一图像坐标系和第二图像坐标系,并通过上述实施例提供的装配方法中的方法步骤,得到两图像坐标系分别与基础坐标系之间的位姿关系,从而进行第一像素坐标和第二像素坐标的转换并得到所述像素坐标之间的补偿差值,完成印刷电路板与FPC柔性电缆线的装配。Correspondingly, the first
眼在手上的视觉单元的设置,能够避免由于视觉装置位置的单独设置,例如设于可滑动的轨道导致的多次操作之后产生位置误差的问题,并且机械手2的动线不会受到额外的装置结构影响。从而实现本申请提供的印刷电路板与FPC柔性电缆线的装配方法的实现效率高的精准装配的技术效果。The setting of the vision unit with eyes on the hand can avoid the problem of position error after multiple operations caused by the separate setting of the position of the vision device, such as being set on a slidable track, and the moving line of the
本发明公开的计算机设备的一个实施例的结构示意图如图7所示,其包括存储器201和处理器202。其中:存储器201可以是磁盘、闪存或其它任何非易失性存储介质。存储器202用于存储上述的印刷电路板与FPC柔性电缆线的装配方法的对应实施例中的指令。处理器202耦接至存储器201,可以作为一个或多个集成电路来实施,例如微处理器或微控制器。该处理器202用于执行存储器201中存储的指令,能够通过建立基础坐标系与图像坐标系之间的位姿关系,实现高效率的精准装配。A schematic structural diagram of an embodiment of the computer device disclosed in the present invention is shown in FIG. 7 , which includes a
在另一实施例中,一种计算机可读存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现所述的印刷电路板与FPC柔性电缆线的装配方法的步骤。本领域内的技术人员应明白,本发明的实施例可提供为方法、设备、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质(包括但不限于磁盘存储器、 CD-ROM、光学存储器等)上实施的计算机程序产品的形式。In another embodiment, a computer-readable storage medium has computer program instructions stored thereon, and when the instructions are executed by a processor, implement the steps of the method for assembling a printed circuit board and an FPC flexible cable. As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein .
以上仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换或改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement or improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention. Inside.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111305937.6A CN114347013A (en) | 2021-11-05 | 2021-11-05 | Method for assembling printed circuit board and FPC flexible cable and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111305937.6A CN114347013A (en) | 2021-11-05 | 2021-11-05 | Method for assembling printed circuit board and FPC flexible cable and related equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114347013A true CN114347013A (en) | 2022-04-15 |
Family
ID=81096173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111305937.6A Pending CN114347013A (en) | 2021-11-05 | 2021-11-05 | Method for assembling printed circuit board and FPC flexible cable and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114347013A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115609254A (en) * | 2022-09-29 | 2023-01-17 | 广州市斯睿特智能科技有限公司 | Automatic assembling system, method and device for flexible circuit board |
CN115922732A (en) * | 2023-01-05 | 2023-04-07 | 歌尔股份有限公司 | A FPC automatic assembly control method, device and system, and electronic equipment |
CN116141340A (en) * | 2023-04-20 | 2023-05-23 | 中国信息通信研究院 | Double-robot flexible collaborative manipulator based on circuit board assembly |
CN117283570A (en) * | 2023-11-21 | 2023-12-26 | 清华大学 | Target guiding type robot system for FPC assembly and control method and device thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1991012935A1 (en) * | 1990-02-28 | 1991-09-05 | Fanuc Ltd | Calibration system for robot |
CN104781051A (en) * | 2012-09-18 | 2015-07-15 | 瓦里安半导体设备公司 | Robot calibration method |
CN106493042A (en) * | 2016-10-18 | 2017-03-15 | 凌云光技术集团有限责任公司 | Dispensing method and dispenser system |
CN108122257A (en) * | 2016-11-28 | 2018-06-05 | 沈阳新松机器人自动化股份有限公司 | A kind of Robotic Hand-Eye Calibration method and device |
CN108766894A (en) * | 2018-06-07 | 2018-11-06 | 湖南大学 | A kind of chip attachment method and system of robot vision guiding |
CN109719734A (en) * | 2019-03-12 | 2019-05-07 | 湖南大学 | A kind of the mobile phone flashlight package system and assemble method of robot vision guidance |
CN109859277A (en) * | 2019-01-21 | 2019-06-07 | 陕西科技大学 | A kind of robotic vision system scaling method based on Halcon |
CN111300422A (en) * | 2020-03-17 | 2020-06-19 | 浙江大学 | Compensation method for robot workpiece grasping pose error based on visual image |
-
2021
- 2021-11-05 CN CN202111305937.6A patent/CN114347013A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1991012935A1 (en) * | 1990-02-28 | 1991-09-05 | Fanuc Ltd | Calibration system for robot |
CN104781051A (en) * | 2012-09-18 | 2015-07-15 | 瓦里安半导体设备公司 | Robot calibration method |
CN106493042A (en) * | 2016-10-18 | 2017-03-15 | 凌云光技术集团有限责任公司 | Dispensing method and dispenser system |
CN108122257A (en) * | 2016-11-28 | 2018-06-05 | 沈阳新松机器人自动化股份有限公司 | A kind of Robotic Hand-Eye Calibration method and device |
CN108766894A (en) * | 2018-06-07 | 2018-11-06 | 湖南大学 | A kind of chip attachment method and system of robot vision guiding |
CN109859277A (en) * | 2019-01-21 | 2019-06-07 | 陕西科技大学 | A kind of robotic vision system scaling method based on Halcon |
CN109719734A (en) * | 2019-03-12 | 2019-05-07 | 湖南大学 | A kind of the mobile phone flashlight package system and assemble method of robot vision guidance |
CN111300422A (en) * | 2020-03-17 | 2020-06-19 | 浙江大学 | Compensation method for robot workpiece grasping pose error based on visual image |
Non-Patent Citations (1)
Title |
---|
王俊峰等: "《现代传感器应用技术》", 30 September 2006, 机械工业出版社, pages: 170 - 178 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115609254A (en) * | 2022-09-29 | 2023-01-17 | 广州市斯睿特智能科技有限公司 | Automatic assembling system, method and device for flexible circuit board |
CN115609254B (en) * | 2022-09-29 | 2023-09-22 | 广州市斯睿特智能科技有限公司 | Automatic flexible circuit board assembly system, method and device |
CN115922732A (en) * | 2023-01-05 | 2023-04-07 | 歌尔股份有限公司 | A FPC automatic assembly control method, device and system, and electronic equipment |
CN116141340A (en) * | 2023-04-20 | 2023-05-23 | 中国信息通信研究院 | Double-robot flexible collaborative manipulator based on circuit board assembly |
CN116141340B (en) * | 2023-04-20 | 2023-07-14 | 中国信息通信研究院 | Double-robot flexible collaborative manipulator based on circuit board assembly |
CN117283570A (en) * | 2023-11-21 | 2023-12-26 | 清华大学 | Target guiding type robot system for FPC assembly and control method and device thereof |
CN117283570B (en) * | 2023-11-21 | 2024-03-12 | 清华大学 | Target-guided robot system for FPC assembly and its control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114347013A (en) | Method for assembling printed circuit board and FPC flexible cable and related equipment | |
CN110640745B (en) | Vision-based robot automatic calibration method, equipment and storage medium | |
JP6415190B2 (en) | ROBOT DEVICE, ROBOT CONTROL PROGRAM, RECORDING MEDIUM, AND ROBOT DEVICE CONTROL METHOD | |
JP6108860B2 (en) | Robot system and control method of robot system | |
JP2020011339A (en) | Robot system control method and robot system | |
CN108827154A (en) | A kind of robot is without teaching grasping means, device and computer readable storage medium | |
US9519736B2 (en) | Data generation device for vision sensor and detection simulation system | |
CN113379849B (en) | Robot autonomous recognition intelligent grabbing method and system based on depth camera | |
WO2018043525A1 (en) | Robot system, robot system control device, and robot system control method | |
CN108436909A (en) | A kind of hand and eye calibrating method of camera and robot based on ROS | |
CN114474056B (en) | A monocular vision high-precision target positioning method for grasping operation | |
CN105073348A (en) | Robotic system and method for calibration | |
CN110148187A (en) | A kind of the high-precision hand and eye calibrating method and system of SCARA manipulator Eye-in-Hand | |
CN112958960B (en) | Robot hand-eye calibration device based on optical target | |
CN114310880A (en) | Mechanical arm calibration method and device | |
CN112621743B (en) | Robot, hand-eye calibration method for fixing camera at tail end of robot and storage medium | |
JP2016078195A (en) | Robot system, robot, control device and control method of robot | |
CN107953333B (en) | Control method and system for calibrating tool at tail end of manipulator | |
CN116423526B (en) | Automatic calibration method and system for mechanical arm tool coordinates and storage medium | |
CN110238851B (en) | A mobile robot and its rapid calibration method and system | |
CN110405731A (en) | A Fast Calibration Method of Base Coordinate System of Dual Manipulators | |
CN111975756B (en) | Hand-eye calibration system and method of 3D vision measurement system | |
CN115741720A (en) | Zero calibration system and method for robot based on binocular vision technology and LM algorithm | |
CN114833832B (en) | Robot hand-eye calibration method, device, equipment and readable storage medium | |
CN110977950B (en) | Robot grabbing and positioning method |
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 |