Measuring method for positioning frog by using robot

文档序号:629609 发布日期:2021-05-11 浏览:19次 中文

阅读说明:本技术 一种利用机器人定位辙叉的测量方法 (Measuring method for positioning frog by using robot ) 是由 崔洪亮 王瑞成 李超 宋志伟 李天伟 夏武强 于 2020-12-29 设计创作,主要内容包括:本发明提供一种利用机器人定位辙叉的测量方法,所述机器人的输出端上设有测距传感器,其特征在于,包括如下步骤:基于所述测距传感器的工具坐标系生成标准向量;对所述辙叉进行第一次定位,检测所述辙叉在世界坐标系中的X轴方向的偏移量和Y轴方向的偏移量;计算所述交点在世界坐标系中的坐标位置;根据所述交点在世界坐标系中的坐标位置计算出所述辙叉的标准工件坐标系W-(obj),通过机器人可以准确测量辙叉上料后的空间位置,从而可以根据该空间位置对机器人程序进行补偿,保证能够准确对辙叉进行打磨。本发明的技术方案降低铁路辙叉的测量时间,提高工作效率,减少工作强度。(The invention provides a measuring method for positioning a frog by using a robot, wherein a distance measuring sensor is arranged on an output end of the robot, and the measuring method is characterized by comprising the following steps of: generating a standard vector based on a tool coordinate system of the ranging sensor; positioning the frog for the first time, and detecting the offset of the frog in the X-axis direction and the offset of the frog in the Y-axis direction in a world coordinate system; calculating the coordinate position of the intersection point in a world coordinate system; calculating a standard workpiece coordinate system W of the frog according to the coordinate positions of the intersection points in the world coordinate system obj The spatial position of the frog after being fed can be accurately measured through the robot, so that the robot program can be compensated according to the spatial position, and the frog can be accurately polished. The technical scheme of the invention reduces the measuring time of the railway frog, improves the working efficiency and reduces the working strength.)

1. A measuring method for positioning a frog by using a robot is characterized in that a distance measuring sensor is arranged on an output end of the robot, and the measuring method comprises the following steps:

s1: generating a standard vector based on a tool coordinate system of the ranging sensor;

s2: positioning the frog for the first time, and detecting the offset of the frog in the X-axis direction and the offset of the frog in the Y-axis direction in a world coordinate system;

s3: carrying out second positioning on the frog, selecting one end point of the frog and three measuring surfaces adjacent to the end point, measuring intersection points between the three measuring surfaces and the three measuring surfaces through the distance measuring sensor, and calculating the coordinate position of the intersection points in a world coordinate system;

s4: calculating a standard workpiece coordinate system W of the frog according to the coordinate positions of the intersection points in the world coordinate systemobj

2. A method of measuring using a robot to locate a frog according to claim 1, further comprising the steps of:

s5: repeating step S3 after the frog is machined, and calculating a compensation workpiece coordinate system of the frog according to the coordinate positions of the intersection points in the world coordinate system, calculating a difference value between the compensation workpiece coordinate system and the standard workpiece coordinate system Wobj, and supplementing the difference value into the standard workpiece coordinate system Wobj.

3. The method as claimed in claim 1, wherein the step S3 of measuring the intersection points between the three measuring surfaces and the three measuring surfaces by the distance measuring sensor comprises:

s31: measuring at least 5 measuring points on each measuring surface by the distance measuring sensor;

s32: calculating the coordinates of the measuring surface in the world coordinate system through at least 5 measured points on each measuring surface;

s33: and calculating the coordinates of the intersection point in the world coordinate system based on the position of the measuring surface in the world coordinate system.

4. The method as claimed in claim 3, wherein in step S3, the measuring surfaces include a first measuring surface, a second measuring surface and a third measuring surface, and the measuring points on the first measuring surface include: first measurement point P31A second measurement point P32And a third measurement point P33And a fourth measurement point P34And a fifth measurement point P35Said first measurement point P31The second measurement point P32And the third measurement point P33And the fourth measurement point P34And the fifth measurement point P35Average value of (2)

The first measurement point P31And the average value PaverageDifference value P between101=<P31[1]-Paverage[1]|P31[2]-Paverage[2]|P31[3]-Paverage[3]>Formula (2)

The second measurement point P32And the average value PaverageDifference value P between102=<P32[1]-Paverage[1]|P32[2]-Paverage[2]|P32[3]-Paverage1[3]>Formula (3)

The third measurement point P33And the average value PaverageBetweenDifference value P of103=<P33[1]-Paverage[1]|P33[2]-Paverage[2]|P33[3]-Paverage[3]>Formula (4)

The fourth measurement point P34And the average value PaverageDifference value P between104=<P34[1]-Paverage[1]|P34[2]-Paverage[2]|P34[3]-Paverage[3]>Formula (5)

The fifth measurement point P35And the average value PaverageDifference value P between105=<P35[1]-Paverage[1]|P35[2]-Paverage[2]|P35[3]-Paverage[3]>Formula (6)

Matrix F is A C formula (7)

Matrix C ═<<P101[1]|P101[1]|-1>,<P102[1]|P102[1]|-1>,<P103[1]|P103[1]|-1><P104[1]|P104[1]|-1>,<P105[1]|P105[1]|-1>>Formula (8)

Matrix E ═<-P101[2],-P102[2],-P103[2],-P104[2],-P105[2]>Formula (9)

Matrix a ═ CTFormula (10)

Matrix B is A.E (11)

B=<<(P101[1]·P101[1]+P102[1]·P102[1]+P103[1]·P103[1]+P104[1]·P104[1]+P105[1]·P105[1])|(P101[1]·P101[3]+P102[1]·P102[3]+P103[1]·P103[3]+P104[1]·P104[3]+P105[1]·P105[3])|P101[1]+P102[1]+P103[1]+P104[1]+P105[1]>,<(P101[3]·P101[1]+P102[3]·P102[1]+P103[3]·P103[1]+P104[3]·P104[1]+PP105[3]·P105[1])|(P101[3]·P101[3]+P102[3]·P102[3]+P103[3]·P103[3]+P104[3]·P104[3]+P105[3]·P105[3])|-(P101[3]+P102[3]+P103[3]+P104[4]+P105[5])>,<-(P101[3]+P102[3]+P103[3]+P104[4]+P105[5])|-(P101[3]+P102[3]+P103[3]+P104[3]+P105[3])|(1+1+1+1+1)>>Formula (12)

F, X ═ B formula (13)

The solver function L of X in the formula (14) is F [1] [1] (F [2] [2 ]. F [3] [3] + F [2] [3 ]. F [3] [2]) + F [1] [1] (F [2] [3 ]. F [3] [1] -F [2] [1 ]. F [3] [3]) + F [1] [3] (F [2] [1 ]. F [3] [2] -F [2 ]. F [3] [1]) formula (14)

Let B [1 ]. F [2] [2 ]. F [3] [3] + F [2] [3 ]. F [3] [2]) + F [1] [2 ]. F [2] [3 ]. B [3] -B [2 ]. F [3] [3]) + F [1] [3 ]. B [2 ]. F [3] [2] -F [2 ]. F [2] [2 ]. B [3]) h [1] formula (15)

Let F [1] [1] (B [2 ]. F [3] [3] + F [2] [3 ]. B [3]) + B [1] (F [2] [3 ]. F [3] [1] -F [2] [1 ]. F [3]) + F [1] [3] (F [2] [1 ]. B [3] -B [2 ]. F [3]) h [2] formula (16)

Let F [1] [1] (B [2 ]. F [3] [3] + F [2] [3 ]. B [3]) + F [1] [1] (B [2 ]. F [3] [1] -F [2] [1 ]. B [3]) + B [1] (F [2] [1 ]. F [3] [2] -F [2 ]. F [3] [1]) h [3] (17)

The expression of the first measuring surface is as follows: a. the1x+B1y+C1z=dyFormula (18)

Constant dy=Wy[1]·(Paverage[1])+(Paverage[2])+Wy[2]·(Paverage[3])-Wy[3]Formula (22)

The measurement point on the second measurement plane includes: sixth measurement point P11And a seventh measurement point P12And an eighth measurement point P13And a ninth measurement point P14The tenth measurement point P15Said sixth measurement point P11And the seventh measurement point P12And the eighth measurement point P13And the ninth measurement point P14And the tenth measurement point P15Average value of (2)

The sixth measurement point P11And the average value Paverage2Difference value P between1=<P11[1]-Paverage2[1]|P11[2]-Paverage2[2]|P11[3]-Paverage2[3]>Formula (24)

The seventh measurement point P12And the average value Paverage2Difference value P between2=<P12[1]-Paverage2[1]|P12[2]-Paverage2[2]|P12[3]-Paverage2[3]> Equation (25)

The eighth measurement point P13And the average value Paverage2Difference value P between3=<P13[1]-Paverage2[1]|P13[2]-Paverage2[2]|P13[3]-Paverage2[3]>Formula (26)

The ninth measurement point P14And the average value Paverage2Difference value P between4=<P14[1]-Paverage2[1]|P14[2]-Paverage2[2]|P14[3]-Paverage2[3]>Formula (27)

The tenth measurement point P15And the average value Paverage2Difference value P between5=<P15[1]-Paverage2[1]|P15[2]-Paverage2[2]|P15[3]-Paverage2[3]>Formula (28)

Matrix Cx=<<P1[1]|P1[1]|-1>,<P2[1]|P2[1]|-1>,<P3[1]|P3[1]|-1><P4[1]|P4[1]|-1>,<P5[1]|P5[1]|-1>>Formula (29)

Matrix Ex=<-P1[2],-P2[2],-P3[2],-P4[2],-P5[2]>Formula (30)

Matrix Ax=Cx TFormula (31)

Matrix Bx=Ax·ExFormula (32)

Matrix Bx=<<-(P1[1]·P1[2]+P2[1]·P2[2]+P3[1]·P3[12]+P4[1]·P4[2]+P5[1]·P5[2])>,<-(P1[2]·P1[3]+P2[2]·P2[3]+P3[2]·P3[3]+P4[2]·P4[3]+P5[2]·P5[3])>,<P1[2]+P2[2]+P3[2]+P4[2]+P5[2]>>Formula (33)

Matrix Fx=Ax·CxFormula (34)

Fx=<<(P1[1]·P1[1]+P2[1]·P2[1]+P3[1]·P3[1]+P4[1]·P4[1]+P5[1]·P5[1])|(P1[1]·P1[3]+P2[1]·P2[3]+P3[1]·P3[3]+P4[1]·P4[3]+P5[1]·P5[3])|P1[1]+P2[1]+P3[1]+P4[1]+P5[1]>,<(P1[3]·P1[1]+P1[3]·P2[1]+P3[3]·P3[1]+P4[3]·P4[1]+P5[3]·P5[1])|(P1[3]·P1[3]+P2[3]·P2[3]+P3[3]·P3[3]+P4[3]·P4[3]+P5[3]·P5[3])|-(P1[3]+P2[3]+P3[3]+P4[4]+P5[5])>,<-(P1[3]+P2[3]+P3[3]+P4[4]+P5[5])|-(P1[3]+P2[3]+P3[3]+P4[3]+P5[3])|(1+1+1+1+1)>>Formula (35)

Fx·X=BxFormula (36)

Solving function L of X in the formula (36)x=Fx[1][1]·(Fx[2][2]·Fx[3][3]+Fx[2][3]·Fx[3][2])+Fx[1][2]·(Fx[2][3]·Fx[3][1]-Fx[2][1]·Fx[3][3])+Fx[1][3]·(Fx[2][1]·Fx[3][2]-Fx[2][2]·Fx[3][1]) Formula (37)

Let Bx[1]·(Fx[2][2]·Fx[3][3]+Fx[2][3]·Fx[3][2])+Fx[1][2]·(Fx[2][3]·B[3]-Bx[2]·Fx[3][3])+Fx[1][3]·(Bx[2]·Fx[3][2]-Fx[2][2]·Fx[2][2]·Bx[3])=hx[1]Formula (38)

Let Fx[1][1]·(Bx[2]·Fx[3][3]+Fx[2][3]·Bx[3])+Bx[1]·(Fx[2][3]·Fx[3][1]-Fx[2][1]·F[3][3])+Fx[1][3]·(Fx[2][1]·Bx[3]-B[2]·Fx[3][1])=hx[2]Formula (39)

Let Fx[1][1]·(Bx[2]·Fx[3][3]+Fx[2][3]·Bx[3])+Fx[1][1]·(Bx[2]·Fx[3][1]-Fx[2][1]·Bx[3])+Bx[1]·(Fx[2][1]·Fx[3][2]-Fx[2][2]·Fx[3][1])=hx[3]Formula (40)

The expression of the second measurement surface is as follows: a. the2x+B2y+C3z=dxFormula (41)

Constant dx=Wx[1]·(Paverage2[2])+(Paverage2[1])+Wx[2]·(Paverage2[3])-Wx[3]Formula (45)

The measurement point on the third measurement plane includes: eleventh measurement point P21And a twelfth measurement point P22Thirteenth measurement Point P23Fourteenth measurement point P24And a fifteenth measurement point P25Said eleventh measurement point P21And the twelfth measurement point P22And the thirteenth measurement point P23The fourteenth measurement point P24And the fifteenth measurement point P25Average value of (2)

The eleventh measurement point P21And the average value Paverage3Difference value P between6=<P21[1]-Paverage3[1]|P21[2]-Paverage3[2]|P21[3]-Paverage3[3]>Formula (47)

The twelfth measurement point P22And the average value Paverage3Difference value P between7=<P22[1]-Paverage3[1]|P22[2]-Paverage3[2]|P22[3]-Paverage3[3]>Formula (48)

The thirteenth measurement point P23And the average value Paverage3Difference value P between8=<P23[1]-Paverage3[1]|P23[2]-Paverage3[2]|P23[3]-Paverage3[3]>Formula (49)

The fourteenth measurement point P24And the average value Paverage3Difference value P between9=<P24[1]-Paverage3[1]|P24[2]-Paverage3[2]|P24[3]-Paverage3[3]>Formula (50)

The fifteenth measurement point P25And the average value Paverage3Difference value P between10=<P25[1]-Paverage3[1]|P25[2]-Paverage3[2]|P25[3]-Paverage3[3]>Formula (51)

Matrix Cz=<<P6[1]|P6[1]|-1>,<P7[1]|P7[1]|-1>,<P8[1]|P8[1]|-1><P9[1]|P9[1]|-1>,<P10[1]|P10[1]|-1>>Formula (52)

Matrix Ez=<-P6[2],-P7[2],-P8[2],-P9[2],-P10[2]> (53)

Matrix Az=Cz TFormula (54)

Matrix Bz=Az·EzFormula (55)

Matrix Bz=<<-(P6[1]·P6[2]+P7[1]·P7[2]+P8[1]·P8[12]+P9[1]·P9[2]+P10[1]·P10[2])>,<-(P6[2]·P6[3]+P7[2]·P7[3]+P8[2]·P8[3]+P9[2]·P9[3]+P10[2]·P10[3])>,<P6[2]+P7[2]+P8[2]+P9[2]+P10[2]>>Formula (56)

Matrix Fz=Az·CzFormula (57)

Matrix Fz=<<(P6[1]·P6[1]+P7[1]·P7[1]+P8[1]·P8[1]+P9[1]·P9[1]+P10[1]·P10[1])|(P6[1]·P6[3]+P7[1]·P7[3]+P8[1]·P8[3]+P9[1]·P9[3]+P10[1]·P10[3])|P6[1]+P7[1]+P8[1]+P9[1]+P10[1]>,<(P6[3]·P6[1]+P7[3]·P7[1]+P8[3]·P8[1]+P9[3]·P9[1]+P10[3]·P10[1])|(P6[3]·P6[3]+P7[3]·P7[3]+P8[3]·P8[3]+P9[3]·P9[3]+P10[3]·P10[3])|-(P6[3]+P7[3]+P8[3]+P9[4]+P10[5])>,<-(P6[3]+P7[3]+P8[3]+P9[4]+P10[5])|-(P6[3]+P7[3]+P8[3]+P9[3]+P10[3])|(1+1+1+1+1)>>Formula (58)

Fz·X=BzFormula (59)

Solving function L of X in the formula (59)z=Fz[1][1]·(Fz[2][2]·Fz[3][3]+Fz[2][3]·Fz[3][2])+Fz[1][2]·(Fz[2][3]·Fz[3][1]-Fz[2][1]·Fz[3][3])+Fz[1][3]·(Fz[2][1]·Fz[3][2]-Fz[2][2]·Fz[3][1]) Formula (60)

Let Bz[1]·(Fz[2][2]·Fz[3][3]+Fz[2][3]·Fz[3][2])+Fz[1][2]·(Fz[2][3]·Bz[3]-Bz[2]·Fz[3][3])+Fz[1][3]·(Bz[2]·Fz[3][2]-Fz[2][2]·Fz[2][2]·Bz[3])=hz[1]Formula (61)

Let Fz[1][1]·(Bz[2]·Fz[3][3]+Fz[2][3]·Bz[3])+Bz[1]·(Fz[2][3]·Fz[3][1]-Fz[2][1]·Fz[3][3])+Fz[1][3]·(Fz[2][1]·Bz[3]-Bz[2]·Fz[3][1])=hz[2]Formula (62)

Let Fz[1][1]·(Bz[2]·Fz[3][3]+Fz[2][3]·Bz[3])+Fz[1][1]·(Bz[2]·Fz[3][1]-Fz[2][1]·Bz[3])+Bz[1]·(Fz[2][1]·Fz[3][2]-Fz[2][2]·Fz[3][1])=hz[3]Formula (63)

The expression of the third measurement surface is as follows: a. the3x+B3y+C3z=dzFormula (64)

Constant dz=Wz[1]·(Paverage3[1])+Wz[2]·(Paverage3[2])+(Paverage3[3])-Wz[3]Formula (68)

An intersection point of the first measuring surface, the second measuring surface and the third measuring surface

H:=<<dx>,<dv>,<dz>>Equation (69).

5. The measuring method of claim 4, wherein step S4 includes:

the standard workpiece coordinate system WobjZ-axis direction vector ZwobjIs the normal vector A of the second measuring surface1And a normal vector A of the third measuring surface2The direction of the vector product of (a), the normal vector of the third measuring plane (A)2In the direction of the standard workpiece coordinate system WobjOf the X-axis, the standard workpiece coordinate system WobjDirection vector of Y axis of

Ywobj=Zwobj×A2Formula (70)

The intersection point H is the standard workpiece coordinate system WobjOf the origin.

6. The method of claim 1, wherein the distance measuring sensor is a laser sensor and the distance between the distance measuring sensor and the frog is no greater than 100 mm.

7. A method of measurement using a robot to locate frog according to claim 6 wherein the direction of the standard vector is the same as the direction of the calibrated laser centre point of the ranging sensor.

8. The method of claim 1, wherein the detecting the offset of the frog in the world coordinate system in the X-axis direction and the Y-axis direction comprises:

s21: fixing the frog through a tooling clamp;

s21: selecting two adjacent planes of the frog, wherein the two planes are adjacent to the bottom surface of the frog;

s22: and measuring the offset of the two planes in the X-axis direction and the offset of the two planes in the Y-axis direction in the world coordinate system.

Technical Field

The invention relates to the technical field of industrial measurement, in particular to a measuring method for positioning a frog by using a robot.

Background

Railway frog is a rail plane crossing component that allows a railway wheel to switch from one track to another, which is a consumable part that needs to be replaced when worn to a certain extent, and therefore has a large production demand. The two ends of the railway frog are required to be accurately assembled with the steel rails, the assembling surfaces matched with the steel rails have higher dimensional precision requirements, and the traditional mode is that the dimensional requirements are realized through a manual polishing mode. The mode has higher requirement on the technical level of workers, the production efficiency is low, dust generated by polishing also has great harm to human bodies, so that the robot polishing technology is developed, but the frog is a casting part, the overall dimension is up to 4 meters at most, the weight is nearly 1 ton, the size deviation of the frog is great, and the spatial position of the frog is difficult to ensure in a robot polishing system through a clamping mode.

Disclosure of Invention

The invention aims to provide a measuring method for positioning a frog by using a robot, which is used for measuring the spatial position of the frog after manual feeding relative to an industrial robot so as to ensure that the robot can accurately polish the frog.

In order to achieve the above purpose, the invention provides the following technical scheme: a measuring method for positioning a frog by using a robot is characterized in that a distance measuring sensor is arranged on an output end of the robot, and the measuring method comprises the following steps:

s1: generating a standard vector based on a tool coordinate system of the ranging sensor;

s2: positioning the frog for the first time, and detecting the offset of the frog in the X-axis direction and the offset of the frog in the Y-axis direction in a world coordinate system;

s3: carrying out second positioning on the frog, selecting one end point of the frog and three measuring surfaces adjacent to the end point, measuring intersection points between the three measuring surfaces and the three measuring surfaces through the distance measuring sensor, and calculating the coordinate position of the intersection points in a world coordinate system;

s4: calculating a standard workpiece coordinate system W of the frog according to the coordinate positions of the intersection points in the world coordinate systemobj

Further, the method also includes step S5: repeating the step S3 after the frog is machined, calculating a compensation workpiece coordinate system of the frog according to the coordinate position of the intersection point in the world coordinate system, and calculating the compensation workpiece coordinate system and the standard workpiece coordinate system Wobj and supplementing said differences to said standard object coordinate system Wobj.

Further, in the step S3, the measuring, by the distance measuring sensor, intersection points between the three measuring surfaces and the three measuring surfaces includes:

s31: measuring at least 5 measuring points on each measuring surface by the distance measuring sensor;

s32: calculating the coordinates of the measuring surface in the world coordinate system through at least 5 measured points on each measuring surface;

s33: and calculating the coordinates of the intersection point in the world coordinate system based on the position of the measuring surface in the world coordinate system.

Further, in step S3, the measurement surfaces include a first measurement surface, a second measurement surface, and a third measurement surface, and the measurement point on the first measurement surface includes: first measurement point P31A second measurement point P32And a third measurement point P33And a fourth measurement point P34And a fifth measurement point P35Said first measurement point P31The second measurement point P32And the third measurement point P33And the fourth measurement point P34And the fifth measurement pointP35Average value of (2)

The first measurement point P31And the average value PaverageDifference value P between101=<P31[1]-Paverage[1]|P31[2]-Paverage[2]|P31[3]-Paverage[3]>Formula (2)

The second measurement point P32And the average value PaverageDifference value P between102=<P32[1]-Paverage[1]|P32[2]-Paverage[2]|P32[3]-Paverage1[3]>Formula (3)

The third measurement point P33And the average value PaverageDifference value P between103=<P33[1]-Paverage[1]|P33[2]-Paverage[2]|P33[3]-Paverage[3]>Formula (4)

The fourth measurement point P34And the average value PaverageDifference value P between104=<P34[1]-Paverage[1]|P34[2]-Paverage[2]|P34[3]-Paverage[3]>Formula (5)

The fifth measurement point P35And the average value PaverageDifference value P between105=<P35[1]-Paverage[1]|P35[2]-Paverage[2]|P35[3]-Paverage[3]>Formula (6)

Matrix F is A C formula (7)

Matrix C ═<<P101[1]|P101[1]|-1>,<P102[1]|P102[1]|-1>,<P103[1]|P103[1]|-1><P104[1]|P104[1]|-1>,<P105[1]|P105[1]|-1>>Formula (8)

Matrix E ═<-P101[2],-P102[2],-P103[2],-P104[2],-P105[2]>Formula (9)

Matrix a ═ CTFormula (10)

Matrix B is A.E (11)

B=<<(P101[1]·P101[1]+P102[1]·P102[1]+P103[1]·P103[1]+P104[1]·P104[1]+P105[1]·P105[1])|(P101[1]·P101[3]+P102[1]·P102[3]+P103[1]·P103[3]+P104[1]·P104[3]+P105[1]·P105[3])|P101[1]+P102[1]+P103[1]+P104[1]+P105[1]>,<(P101[3]·P101[1]+P102[3]·P102[1]+P103[3]·P103[1]+P104[3]·P104[1]+P105[3]·P105[1])|(P101[3]·P101[3]+P102[3]·P102[3]+P103[3]·P103[3]+P104[3]·P104[3]+P105[3]·P105[3])|-(P101[3]+P102[3]+P103[3]+P104[4]+P105[5])>,<-(P101[3]+P102[3]+P103[3]+P104[4]+P105[5])|-(P101[3]+P102[3]+P103[3]+P104[3]+P105[3])|(1+1+1+1+1)>>Formula (12)

F, X ═ B formula (13)

The solver function L of X in the formula (14) is F [1] [1] (F [2] [2 ]. F [3] [3] + F [2] [3 ]. F [3] [2]) + F [1] [1] (F [2] [3 ]. F [3] [1] -F [2] [1 ]. F [3] [3]) + F [1] [3] (F [2] [1 ]. F [3] [2] -F [2 ]. F [3] [1]) formula (14)

Let B [1 ]. F [2] [2 ]. F [3] [3] + F [2] [3 ]. F [3] [2]) + F [1] [2 ]. F [2] [3 ]. B [3] -B [2 ]. F [3] [3]) + F [1] [3 ]. B [2 ]. F [3] [2] -F [2 ]. F [2] [2 ]. B [3]) h [1] formula (15)

Let F [1] [1] (B [2 ]. F [3] [3] + F [2] [3 ]. B [3]) + B [1] (F [2] [3 ]. F [3] [1] -F [2] [1 ]. F [3]) + F [1] [3] (F [2] [1 ]. B [3] -B [2 ]. F [3]) h [2] formula (16)

Let F [1] [1] (B [2 ]. F [3] [3] + F [2] [3 ]. B [3]) + F [1] [1] (B [2 ]. F [3] [1] -F [2] [1 ]. B [3]) + B [1] (F [2] [1 ]. F [3] [2] -F [2 ]. F [3] [1]) h [3] (17)

The expression of the first measuring surface is as follows: a. the1x+B1y+C1z=dyFormula (18)

Coefficient of performance

Coefficient of performance

Coefficient of performance

Constant dy=Wy[1]·(Paverage[1])+(Paverage[2])+Wy[2]·(Paverage[3])-Wy[3]Formula (22)

The measurement point on the second measurement plane includes: sixth measurement point P11And a seventh measurement point P12And an eighth measurement point P13And a ninth measurement point P14The tenth measurement point P15Said sixth measurement point P11And the seventh measurement point P12And the eighth measurement point P13And the ninth measurement point P14And the tenth measurement point P15Average value of (2)

The sixth measurement point P11And the average value Paverage2Difference value P between1=<P11[1]-Paverage2[1]|P11[2]-Paverage2[2]|P11[3]-Paverage2[3]>Formula (24)

The seventh measurement point P12And the average value Paverage2Difference value P between2=<P12[1]-Paverage2[1]|P12[2]-Paverage2[2]|P12[3]-Paverage2[3]>Equation (25)

The eighth measurement point P13And the average value Paverage2Difference value P between3=<P13[1]-Paverage2[1]|P13[2]-Paverage2[2]|P13[3]-Paverage2[3]>Formula (26)

The ninth measurement point P14And the average value Paverage2Difference between P4 ═<P14[1]-Paverage2[1]|P14[2]-Paverage2[2]|P14[3]-Paverage2[3]>Formula (27)

The tenth measurement point P15And the average value Paverage2Difference value P between5=<P15[1]-Paverage2[1]|P15[2]-Paverage2[2]|P15[3]-Paverage2[3]>Formula (28)

Matrix Cx=<<P1[1]|P1[1]|-1>,<P2[1]|P2[1]|-1>,<P3[1]|P3[1]|-1><P4[1]|P4[1]|-1>,<P5[1]|P5[1]|-1>>Formula (29)

Matrix Ex=<-P1[2],-P2[2],-P3[2],-P4[2],-P5[2]>Formula (30)

Matrix Ax=Cx TFormula (31)

Matrix Bx=Ax·ExFormula (32)

Matrix Bx=<<-(P1[1]·P1[2]+P2[1]·P2[2]+P3[1]·P3[12]+P4[1]·P4[2]+P5[1]·P5[2])>,<-(P1[2]·P1[3]+P2[2]·P2[3]+P3[2]·P3[3]+P4[2]·P4[3]+P5[2]·P5[3])>,<P1[2]+P2[2]+P3[2]+P4[2]+P5[2]>>Formula (33)

Matrix Fx=Ax·CxFormula (34)

Fx=<<(P1[1]·P1[1]+P2[1]·P2[1]+P3[1]·P3[1]+P4[1]·P4[1]+P5[1]·P5[1])|(P1[1]·P1[3]+P2[1]·P2[3]+P3[1]·P3[3]+P4[1]·P4[3]+P5[1]·P5[3])|P1[1]+P2[1]+P3[1]+P4[1]+P5[1]>,<(P1[3]·P1[1]+P2[3]·P2[1]+P3[3]·P3[1]+P4[3]·P4[1]+P5[3]·P5[1])|(P1[3]·P1[3]+P2[3]·P2[3]+P3[3]·P3[3]+P4[3]·P4[3]+P5[3]·P5[3])|-(P1[3]+P2[3]+P3[3]+P4[4]+P5[5])>,<-(P1[3]+P2[3]+P3[3]+P4[4]+P5[5])|-(P1[3]+P2[3]+P3[3]+P4[3]+P5[3])|(1+1+1+1+1)>>Formula (35)

Fx·X=BxFormula (36)

Solving function L of X in the formula (36)x=Fx[1][1]·(Fx[2][2]·Fx[3][3]+Fx[2][3]·Fx[3][2])+Fx[1][2]·(Fx[2][3]·Fx[3][1]-Fx[2][1]·Fx[3][3])+Fx[1][3]·(Fx[2][1]·Fx[3][2]-Fx[2][2]·Fx[3][1]) Formula (37)

Let Bx[1]·(Fx[2][2]·Fx[3][3]+Fx[2][3]·Fx[3][2])+Fx[1][2]·(Fx[2][3]·B[3]-Bx[2]·Fx[3][3])+Fx[1][3]·(Bx[2]·Fx[3][2]-Fx[2][2]·Fx[2][2]·Bx[3])=hx[1]Formula (38)

Let Fx[1][1]·(Bx[2]·Fx[3][3]+Fx[2][3]·Bx[3])+Bx[1]·(Fx[2][3]·Fx[3][1]-Fx[2][1]·F[3][3])+Fx[1][3]·(Fx[2][1]·Bx[3]-B[2]·Fx[3][1])=hx[2]Formula (39)

Let Fx[1][1]·(Bx[2]·Fx[3][3]+Fx[2][3]·Bx[3])+Fx[1][1]·(Bx[2]·Fx[3][1]-Fx[2][1]·Bx[3])+Bx[1]·(Fx[2][1]·Fx[3][2]-Fx[2][2]·Fx[3][1])=hx[3]Formula (40)

The expression of the second measurement surface is as follows: a. the2x+B2y+C3z=dxFormula (41)

Coefficient of performance

Coefficient of performance

Coefficient of performanceConstant dx=Wx[1]·(Paverage2[2])+(Paverage2[1])+Wx[2]·(Paverage2[3])-Wx[3]Formula (45)

The measurement point on the third measurement plane includes: eleventh measurement point P21And a twelfth measurement point P22Thirteenth testFixed point P23Fourteenth measurement point P24And a fifteenth measurement point P25Said eleventh measurement point P21And the twelfth measurement point P22And the thirteenth measurement point P23The fourteenth measurement point P24And the fifteenth measurement point P25Average value of (2)

The eleventh measurement point P21And the average value Paverage3Difference value P between6=<P21[1]-Paverage3[1]|P21[2]-Paverage3[2]|P21[3]-Paverage3[3]>Formula (47)

The twelfth measurement point P22And the average value Paverage3Difference value P between7=<P22[1]-Paverage3[1]|P12[2]-Paverage3[2]|P22[3]-Paverage3[3]>Formula (48)

The thirteenth measurement point P23And the average value Paverage3Difference value P between8=<P23[1]-Paverage3[1]|P23[2]-Paverage3[2]|P23[3]-Paverage3[3]>Formula (49)

The fourteenth measurement point P24And the average value Paverage3Difference value P between9=<P24[1]-Paverage3[1]|P24[2]-Paverage3[2]|P24[3]-Paverage3[3]>Formula (50)

The fifteenth measurement point P25And the average value Paverage3Difference value P between10=<P25[1]-Paverage3[1]|P25[2]-Paverage3[2]|P25[3]-Paverage3[3]>Formula (51)

Matrix Cz=<<P6[1]|P6[1]|-1>,<P7[1]|P7[1]|-1>,<P8[1]|P8[1]|-1><P9[1]|P9[1]|-1>,<P10[1]|P10[1]|-1>>Formula (52)

Matrix Ez=<-P6[2],-P7[2],-P8[2],-P9[2],-P10[2]>(53)

Matrix Az=Cz TFormula (54)

Matrix Bz=Az·EzFormula (55)

Matrix Bz=<<-(P6[1]·P5[2]+P7[1]·P7[2]+P8[1]·P8[12]+P9[1]·P9[2]+P10[1]·P10[2])>,<-(P6[2]·P6[3]+P7[2]·P7[3]+P8[2]·P8[3]+P9[2]·P9[3]+P10[2]·P10[3])>,<P6[2]+P7[2]+P8[2]+P9[2]+P10[2]>>Formula (56)

Matrix Fz=Az·CzFormula (57)

Matrix Fz=<<(P6[1]·P6[1]+P7[1]·P7[1]+P8[1]·P8[1]+P9[1]·P9[1]+P10[1]·P10[1])|(P6[1]·P6[3]+P7[1]·P7[3]+P8[1]·P8[3]+P9[1]·P9[3]+P10[1]·P10[3])|P6[1]+P7[1]+P8[1]+P9[1]+P10[1]>,<(P6[3]·P6[1]+P7[3]·P7[1]+P8[3]·P8[1]+P9[3]·P9[1]+P10[3]·P10[1])|(P6[3]·P6[3]+P7[3]·P7[3]+P8[3]·P8[3]+P9[3]·P9[3]+P10[3]·P10[3])|-(P6[3]+P7[3]+P8[3]+P9[4]+P10[5])>,<-(P6[3]+P7[3]+P8[3]+P9[4]+P10[5])|-(P6[3]+P7[3]+P8[3]+P9[3]+P10[3])|(1+1+1+1+1)>>Formula (58)

Fz·X=BzFormula (59)

Solving function L of X in the formula (59)z=Fz[1][1]·(Fz[2][2]·Fz[3][3]+Fz[2][3]·Fz[3][2])+Fz[1][2]·(Fz[2][3]·Fz[3][1]-Fz[2][1]·Fz[3][3])+Fz[1][3]·(Fz[2][1]·Fz[3][2]-Fz[2][2]·Fz[3][1]) Formula (60)

Let Bz[1]·(Fz[2][2]·Fz[3][3]+Fz[2][3]·Fz[3][2])+Fz[1][2]·(Fz[2][3]·Bz[3]-Bz[2]·Fz[3][3])+Fz[1][3]·(Bz[2]·Fz[3][2]-Fz[2][2]·Fz[2][2]·Bz[3])=hz[1]Formula (61)

Let Fz[1][1]·(Bz[2]·Fz[3][3]+Fz[2][3]·Bz[3])+Bz[1]·(Fz[2][3]·Fz[3][1]-Fz[2][1]·Fz[3][3])+Fz[1][3]·(Fz[2][1]·Bz[3]-Bz[2]·Fz[3][1])hz[2]Formula (62)

Let hz[3]=Fz[1][1]·(Bz[2]·Fz[3][3]+Fz[2][3]·Bz[3])+Fz[1][1]·(Bz[2]·Fz[3][1]-Fz[2][1]·Bz[3])+Bz[1]·(Fz[2][1]·Fz[3][2]-Fz[2][2]·Fz[3][1]) Formula (63)

The expression of the third measurement surface is as follows: a. the3x+B3y+C3z=dzFormula (64)

Coefficient of performance

Coefficient of performance

Coefficient of performance

Constant dz=Wz[1]·(Paverage3[1])+Wz[2]·(Paverage3[2])+(Paverage3[3])-Wz[3]Formula (68)

An intersection point of the first measuring surface, the second measuring surface and the third measuring surface

H:=<<dx>,<dy>,<dz>>Equation (69).

Further, step S4 includes: the standard workpiece coordinate system WobjZ-axis direction vector ZwobjIs the normal vector A of the second measuring surface1And a normal vector A of the third measuring surface2The direction of the vector product of (a), the normal vector of the third measuring plane (A)2In the direction of the standard workpiece coordinate system WobjOf the X-axis, the standard workpiece coordinate system WobjDirection vector of Y axis of

Ywobj=Zwobj×A2Formula (70)

The intersection point H is the standard workpiece coordinate system WobjOf the origin.

Further, the distance measuring sensor is a laser sensor, and the distance between the distance measuring sensor and the frog is not more than 100 mm.

Further, the direction of the standard vector is the same as the direction of the calibration laser center point of the ranging sensor.

Further, the detecting the offset of the frog in the world coordinate system in the X-axis direction and the offset in the Y-axis direction includes:

s21: fixing the frog through a tooling clamp;

s21: selecting two adjacent planes of the frog, wherein the two planes are adjacent to the bottom surface of the frog;

s22: and measuring the offset of the two planes in the X-axis direction and the offset of the two planes in the Y-axis direction in the world coordinate system.

The robot can accurately measure the spatial position of the frog after the frog is fed, so that the robot program can be compensated according to the spatial position, and the frog can be accurately polished. The technical scheme of the invention reduces the measuring time of the railway frog, improves the working efficiency and reduces the working strength.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. Wherein:

fig. 1 is a schematic view of a second positioning of a measuring method for positioning a frog by a robot according to an embodiment of the present invention.

Fig. 2 is a schematic view of a first positioning of a measuring method for positioning a frog by a robot according to an embodiment of the present invention.

Fig. 3 is a schematic position diagram of a standard workpiece coordinate system for a measurement method using a robot to locate a frog according to an embodiment of the present invention.

FIG. 4 is a flow chart of a measurement method for locating a frog using a robot in accordance with one embodiment of the present invention

Description of reference numerals: 1-frog; 2-a second measuring surface; 3-a first measuring surface; 4-third measuring surface; 5-plane.

Detailed Description

The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings. The various examples are provided by way of explanation of the invention, and not limitation of the invention. In fact, it will be apparent to those skilled in the art that modifications and variations can be made in the present invention without departing from the scope or spirit thereof. For instance, features illustrated or described as part of one embodiment, can be used with another embodiment to yield a still further embodiment. It is therefore intended that the present invention encompass such modifications and variations as fall within the scope of the appended claims and equivalents thereof.

In the description of the present invention, the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, which are for convenience of description of the present invention only and do not require that the present invention must be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. The terms "connected," "connected," and "disposed" as used herein are intended to be broadly construed, and may include, for example, fixed and removable connections; can be directly connected or indirectly connected through intermediate components; the connection may be a wired electrical connection, a wireless electrical connection, or a wireless communication signal connection, and a person skilled in the art can understand the specific meaning of the above terms according to specific situations.

One or more examples of the invention are illustrated in the accompanying drawings. The detailed description uses numerical and letter designations to refer to features in the drawings. Like or similar designations in the drawings and description have been used to refer to like or similar parts of the invention. As used herein, the terms "first," "second," "third," and "fourth" may be used interchangeably to distinguish one component from another and are not intended to denote the position or importance of the individual components.

As shown in fig. 1 to 4, according to an embodiment of the present invention, there is provided a measuring method for positioning a frog by using a robot, wherein a distance measuring sensor is disposed on an output end of the robot, and the frog 1 is fixed by a tooling fixture, including:

s1: generating a standard vector based on a tool coordinate system of the distance measuring sensor, wherein the direction of the standard vector is the same as the direction of a calibration laser central point of the distance measuring sensor;

s2: the method comprises the following steps of carrying out first positioning on a frog 1, wherein the first positioning is rough positioning, and the bottom of the railway frog 1 is subjected to finish machining, so that the offset of the railway frog 1 in the X direction and the Y direction in a world coordinate system can be detected only by detecting the offset of the railway frog 1 in the X axis direction and the offset of the railway frog 1 in the Y axis direction in the world coordinate system, a distance measuring sensor is a laser sensor, and the distance between the distance measuring sensor and the frog 1 is not more than 100 mm;

detecting the offset amount of the frog 1 in the X-axis direction and the offset amount in the Y-axis direction in the world coordinate system includes:

s21: fixing the frog 1 through a tooling clamp;

s21: selecting two adjacent planes 5 of the frog 1, wherein the two planes 5 are adjacent to the bottom surface of the frog 1;

s22: the amount of offset in the X-axis direction and the amount of offset in the Y-axis direction in the world coordinate system of the two planes 5 are measured.

S3: carrying out second positioning on the frog 1, wherein the second positioning is fine positioning, transmitting the positioned data to a controller of an industrial robot, selecting one end point of the frog 1 and three measuring surfaces adjacent to the end point, measuring intersection points between the three measuring surfaces through a distance measuring sensor, and calculating the coordinate position of the intersection point in a world coordinate system;

measuring the three measuring surfaces and the intersection points between the three measuring surfaces by the distance measuring sensor comprises:

s31: measuring at least 5 measuring points on each measuring surface by a distance measuring sensor;

s32: calculating the coordinates of the measuring surface in a world coordinate system through at least 5 measured points on each measuring surface;

s33: and calculating the coordinates of the intersection point in the world coordinate system based on the position of the measuring plane in the world coordinate system.

S4: calculating the standard workpiece coordinate system W of the frog 1 according to the coordinate positions of the intersection points in the world coordinate systemobj

Standard workpiece coordinate system WobjZ-axis direction vector ZwobjIs the normal vector A of the second measuring surface 21And the normal vector A of the third measuring surface 42Direction of the vector product of (1), normal vector a of the third measuring surface 42In the direction of a standard workpiece coordinate system WobjDirection vector of the X-axis, standard workpiece coordinate system WobjDirection vector of Y axis of

Ywobj=Zwobj×A2Formula (70)

The intersection point H is a standard workpiece coordinate system WobjOf the origin.

S5: repeating S3 after the frog 1 has been machined, calculating a compensation workpiece coordinate system of the frog 1 from the coordinate positions of the intersection points in the world coordinate system, calculating the difference between the compensation workpiece coordinate system and the standard workpiece coordinate system Wobj, and supplementing the difference to the standard workpiece coordinate system Wobj

Preferably, the measuring surface comprises a first measuring surface 3, a second measuring surface 2 and a third measuring surface 4, and the measuring points on the first measuring surface 3 comprise: first measurement point P31A second measurement point P32And a third measurement point P33And a fourth measurement point P34And a fifth measurement pointP35First measurement point P31A second measurement point P32And a third measurement point P33And a fourth measurement point P34And a fifth measurement point P35Average value of (2)

The first measurement point P31And the average value PaverageDifference value P between101=<P31[1]-Paverage[1]|P31[2]-Paverage[2]|P31[3]-Paverage[3]>Formula (2)

The second measurement point P32And the average value PaverageDifference value P between102=<P32[1]-Paverage[1]|P32[2]-Paverage[2]|P32[3]-Paverage1[3]>Formula (3)

The third measurement point P33And the average value PaverageDifference value P between103=<P33[1]-Paverage[1]|P33[2]-Paverage[2]|P33[3]-Paverage[3]>Formula (4)

The fourth measurement point P34And the average value PaverageDifference value P between104=<P34[1]-Paverage[1]|P34[2]-Paverage[2]|P34[3]-Paverage[3]>Formula (5)

The fifth measurement point P35And the average value PaverageDifference value P between105=<P35[1]-Paverage[1]|P35[2]-Paverage[2]|P35[3]-Paverage[3]>Formula (6)

Matrix F is A C formula (7)

Matrix C ═<<P101[1]|P101[1]|-1>,<P102[1]|P102[1]|-1>,

<P103[1]|P103[1]|-1><P104[1]|P104[1]|-1>,<P105[1]|P105[1]|-1>>Formula (8)

Matrix E ═<-P101[2],-P102[2],-P103[2],-P104[2],-P105[2]>Formula (9)

Matrix a ═ CTFormula (10)

Matrix B is A.E (11)

B=<<(P101[1]·P101[1]+P102[1]·P102[1]+P103[1]·P103[1]+P104[1]·P104[1]+P105[1]·P105[1])|(P101[1]·P101[3]+P102[1]·P102[3]+P103[1]·P103[3]+P104[1]·P104[3]+P105[1]·P105[3])|P101[1]+P102[1]+P103[1]+P104[1]+P105[1]>,<(P101[3]·P101[1]+P102[3]·P102[1]+P103[3]·P103[1]+P104[3]·P104[1]+P105[3]·P105[1])|(P101[3]·P101[3]+P102[3]·P102[3]+P103[3]·P103[3]+P104[3]·P104[3]+P105[3]·P105[3])|-(P101[3]+P102[3]+P103[3]+P104[4]+P105[5])>,<-(P101[3]+P102[3]+P103[3]+P104[4]+P105[5])|-(P101[3]+P102[3]+P103[3]+P104[3]+P105[3])|(1+1+1+1+1)>>Formula (12)

F, X ═ B formula (13)

The solver function L of X in the formula (14) is F [1] [1] (F [2] [2 ]. F [3] [3] + F [2] [3 ]. F [3] [2]) + F [1] [1] (F [2] [3 ]. F [3] [1] -F [2] [1 ]. F [3] [3]) + F [1] [3] (F [2] [1 ]. F [3] [2] -F [2 ]. F [3] [1]) formula (14)

Let B [1 ]. F [2] [2 ]. F [3] [3] + F [2] [3 ]. F [3] [2]) + F [1] [2 ]. F [2] [3 ]. B [3] -B [2 ]. F [3] [3]) + F [1] [3 ]. B [2 ]. F [3] [2] -F [2 ]. F [2] [2 ]. B [3]) h [1] formula (15)

Let F [1] [1] (B [2 ]. F [3] [3] + F [2] [3 ]. B [3]) + B [1] (F [2] [3 ]. F [3] [1] -F [2] [1 ]. F [3]) + F [1] [3] (F [2] [1 ]. B [3] -B [2 ]. F [3]) h [2] formula (16)

Let F [1] [1] (B [2 ]. F [3] [3] + F [2] [3 ]. B [3]) + F [1] [1] (B [2 ]. F [3] [1] -F [2] [1 ]. B [3]) + B [1] (F [2] [1 ]. F [3] [2] -F [2 ]. F [3] [1]) h [3] (17)

The expression of the first measuring surface is as follows: a. the1x+B1y+C1z=dyFormula (18)

Coefficient of performance

Coefficient of performance

Coefficient of performance

Constant dy=Wy[1]·(Paverage[1])+(Paverage[2])+Wy[2]·(Paverage[3])-Wy[3]Formula (22)

The measurement point on the second measurement plane includes: sixth measurement point P11And a seventh measurement point P12And an eighth measurement point P13And a ninth measurement point P14The tenth measurement point P15Said sixth measurement point P11And the seventh measurement point P12And the eighth measurement point P13And the ninth measurement point P14And the tenth measurement point P15Average value of (2)

The sixth measurement point P11And the average value Paverage2Difference value P between1=<P11[1]-Paverage2[1]|P11[2]-Paverage2[2]|P11[3]-Paverage2[3]>Formula (24)

The seventh measurement point P12And the average value Paverage2Difference value P between2=<P12[1]-Paverage2[1]|P12[2]-Paverage2[2]|P12[3]-Paverage2[3]>Equation (25)

The eighth measurement point P13And the average value Paverage2Difference value P between3=<P13[1]-Paverage2[1]|P13[2]-Paverage2[2]|P13[3]-Paverage2[3]>Formula (26)

The ninth measurement point P14And the average value Paverage2Difference value P between4=<P14[1]-Paverage2[1]|P14[2]-Paverage2[2]|P14[3]-Paverage2[3]>Formula (27)

The tenth measurement point P15And the average value Paverage2Difference value P between5=<P15[1]-Paverage2[1]|P15[2]-Paverage2[2]|P15[3]-Paverage2[3]>Formula (28)

Matrix Cx=<<P1[1]|P1[1]|-1>,<P2[1]|P2[1]|-1>,<P3[1]|P3[1]|-1><P4[1]|P4[1]|-1>,<P5[1]|P5[1]|-1>>Formula (29)

Matrix Ex=<-P1[2],-P2[2],-P3[2],-P4[2],-P5[2]>Formula (30)

Matrix Ax=Cx TFormula (31)

Matrix Bx=Ax·ExFormula (32)

Matrix Bx=<<-(P1[1]·P1[2]+P2[1]·P2[2]+P3[1]·P3[12]+P4[1]·P4[2]+P5[1]·P5[2])>,<-(P1[2]·P1[3]+P2[2]·P2[3]+P3[2]·P3[3]+P4[2]·P4[3]+P5[2]·P5[3])>,<P1[2]+P2[2]+P3[2]+P4[2]+P5[2]>>Formula (33)

Matrix Fx=Ax·CxFormula (34)

Fx=<<(P1[1]·P1[1]+P2[1]·P2[1]+P3[1]·P3[1]+P4[1]·P4[1]+P5[1]·P5[1])|(P1[1]·P1[3]+P2[1]·P2[3]+P3[1]·P3[3]+P4[1]·P4[3]+P5[1]·P5[3])|P1[1]+P2[1]+P3[1]+P4[1]+P5[1]>,<(P1[3]·P1[1]+P2[3]·P2[1]+P3[3]·P3[1]+P4[3]·P4[1]+P5[3]·P5[1])|(P1[3]·P1[3]+P2[3]·P2[3]+P3[3]·P3[3]+P4[3]·P4[3]+P5[3]·P5[3])|-(P1[3]+P2[3]+P3[3]+P4[4]+P5[5])>,<-(P1[3]+P2[3]+P3[3]+P4[4]+P5[5])|-(P1[3]+P2[3]+P3[3]+P4[3]+P5[3])|(1+1+1+1+1)>>Formula (35)

Fx·X=BxFormula (36)

Solving function L of X in the formula (36)x=Fx[1][1]·(Fx[2][2]·Fx[3][3]+Fx[2][3]·Fx[3][2])+Fx[1][2]·(Fx[2][3]·Fx[3][1]-Fx[2][1]·Fx[3][3])+Fx[1][3]·(Fx[2][1]·Fx[3][2]-Fx[2][2]·Fx[3][1]) Formula (37)

Let Bx[1]·(Fx[2][2]·Fx[3][3]+Fx[2][3]·Fx[3][2])+Fx[1][2]·(Fx[2][3]·B[3]-Bx[2]·Fx[3][3])+Fx[1][3]·(Bx[2]·Fx[3][2]-Fx[2][2]·Fx[2][2]·Bx[3])=hx[1]Formula (38)

Let Fx[1][1]·(Bx[2]·Fx[3][3]+Fx[2][3]·Bx[3])+Bx[1]·(Fx[2][3]·Fx[3][1]-Fx[2][1]·F[3][3])+Fx[1][3]·(Fx[2][1]·Bx[3]-B[2]·Fx[3][1])=hx[2]Formula (39)

Let Fx[1][1]·(Bx[2]·Fx[3][3]+Fx[2][3]·Bx[3])+Fx[1][1]·(Bx[2]·Fx[3][1]-Fx[2][1]·Bx[3])+Bx[1]·(Fx[2][1]·Fx[3][2]-Fx[2][2]·Fx[3][1])=hx[3]Formula (40)

The expression of the second measurement surface is as follows: a. the2x+B2y+C3z=dxFormula (41)

Coefficient of performance

Coefficient of performance

Coefficient of performance

Constant dx=Wx[1]·(Paverage2[2])+(Paverage2[1])+Wx[2]·(Paverage2[3])-Wx[3]Formula (45)

The measurement point on the third measurement plane includes: eleventh measurement point P21[1]And a twelfth measurement point P22[1]Thirteenth measurement Point P23[1]Fourteenth measurement point P24[1]And a fifteenth measurement point P25[1]Said eleventh measurement point P21[1]And the twelfth measurement point P22[1]And the thirteenth measurement point P23[1]The fourteenth measurement point P24[1]And the fifteenth measurement point P25[1]Average value of (2)

The eleventh measurement point P21[1]And the average value Paverage3Difference value P between6=<P21[1]-Paverage3[1]|P21[2]-Paverage3[2]|P21[3]-Paverage3[3]>Formula (47)

The twelfth measurement point P22[1]And the average value Paverage3Difference value P between7=<P22[1]-Paverage3[1]|P22[2]-Paverage3[2]|P22[3]-Paverage3[3]>Formula (48)

The thirteenth measurement point P23[1]And the average value Paverage3Difference value P between8=<P23[1]-Paverage3[1]|P23[2]-Paverage3[2]|P23[3]-Paverage3[3]>Formula (49)

The fourteenth measurement point P24[1]And the average value Paverage3Difference value P between9=<P24[1]-Paverage3[1]|P24[2]-Paverage3[2]|P24[3]-Paverage3[3]>Formula (50)

The fifteenth measurement point P25[1]And the average value Paverage3Difference value P between10=<P25[1]-Paverage3[1]|P25[2]-Paverage3[2]|P25[3]-Paverage3[3]>Formula (51)

Matrix Cz=<<P6[1]|P6[1]|-1>,<P7[1]|P7[1]|-1>,<P8[1]|P8[1]|-1><P9[1]|P9[1]|-1>,<P10[1]|P10[1]|-1>>Formula (52)

Matrix Ez=<-P6[2],-P7[2],-P8[2],-P9[2],-P10[2]> (53)

Matrix Az=Cz TFormula (54)

Matrix Bz=Az·EzFormula (55)

Matrix Bz=<<-(P6[1]·P6[2]+P7[1]·P7[2]+P8[1]·P8[12]+P9[1]·P9[2]+P10[1]·P10[2])>,<-(P6[2]·P6[3]+P7[2]·P7[3]+P8[2]·P8[3]+P9[2]·P9[3]+P10[2]·P10[3])>,<P6[2]+P7[2]+P8[2]+P9[2]+P10[2]>>Formula (56)

Matrix Fz=Az·CzFormula (57)

Matrix Fz=<<(P6[1]·P6[1]+P7[1]·P7[1]+P8[1]·P8[1]+P9[1]·P9[1]+P10[1]·P10[1])|(P6[1]·P6[3]+P7[1]·P7[3]+P8[1]·P8[3]+P9[1]·P9[3]+P10[1]·P10[3])|P6[1]+P7[1]+P8[1]+P9[1]+P10[1]>,<(P6[3]·P6[1]+P7[3]·P7[1]+P8[3]·P8[1]+P9[3]·P9[1]+P10[3]·P10[1])|(P6[3]·P6[3]+P7[3]·P7[3]+P8[3]·P8[3]+P9[3]·P9[3]+P10[3]·P10[3])|-(P6[3]+P7[3]+P8[3]+P9[4]+P10[5])>,<-(P6[3]+P7[3]+P8[3]+P9[4]+P10[5])|-(P6[3]+P7[3]+P8[3]+P9[3]+P10[3])|(1+1+1+1+1)>>Formula (58)

Fz·X=BzFormula (59)

Solving function L of X in the formula (59)z=Fz[1][1]·(Fz[2][2]·Fz[3][3]+Fz[2][3]·Fz[3][2])+Fz[1][2]·(Fz[2][3]·Fz[3][1]-Fz[2][1]·Fz[3][3])+Fz[1][3]·(Fz[2][1]·Fz[3][2]-Fz[2][2]·Fz[3][1]) Formula (60)

Let Bz[1]·(Fz[2][2]·Fz[3][3]+Fz[2][3]·Fz[3][2])+Fz[1][2]·(Fz[2][3]·Bz[3]-Bz[2]·Fz[3][3])+Fz[1][3]·(Bz[2]·Fz[3][2]-Fz[2][2]·Fz[2][2]·Bz[3])=hz[1]Formula (61)

Let Fz[1][1]·(Bz[2]·Fz[3][3]+Fz[2][3]·Bz[3])+Bz[1]·(Fz[2][3]·Fz[3][1]-Fz[2][1]·Fz[3][3])+Fz[1][3]·(Fz[2][1]·Bz[3]-Bz[2]·Fz[3][1])=hz[2]Formula (62)

Let Fz[1][1]·(Bz[2]·Fz[3][3]+Fz[2][3]·Bz[3])+Fz[1][1]·(Bz[2]·Fz[3][1]-Fz[2][1]·Bz[3])+Bz[1]·(Fz[2][1]·Fz[3][2]-Fz[2][2]·Fz[3][1])=hz[3]Formula (63)

The expression of the third measurement surface is as follows: a. the3x+B3y+C3z=dzFormula (64)

Coefficient of performance

Coefficient of performance

Tying ticket

Constant dz=Wz[1]·(Paverage3[1])+Wz[2]·(Paverage3[2])+(Paverage3[3])-Wz[3]Formula (68)

An intersection point of the first measuring surface, the second measuring surface and the third measuring surface

H:=<<dx>,<dy>,<dz>>Equation (69).

The actual verification is as follows, the difference of the first measuring surface 3 is first verified, and the results are as follows:

Wy[1]·x+y+Wy[2]·z-dy=0

Wy[1]·P31[1]+P31[2]+Wy[2]·P31[3]-dy=0.0577568133091404

Wy[1]·P32[1]+P32[2]+Wy[2]·P32[3]-dy=-0.0687316767096604

Wy[1]·P33[1]+P33[2]+Wy[2]·P33[3]-dy=0.225713130039082

Wy[1]·P34[1]+P34[2]+Wy[2]·P34[3]-dy=-0.0690957233220786

Wy[1]·P35[1]+P35[2]+Wy[2]·P35[3]-dy=0.057498705137255

next, the difference of the second measuring surface 2 is verified, with the following results:

x+Wx[1]·y+Wx[2]·z-dx=0

P11[1]+Wx[1]·P11[2]+Wx[2]·P11[3]-dx=0.116537297318473

P12[1]+Wx[1]·P12[2]+Wx[2]·P12[3]-dx=0.155312333241000

P13[1]+Wx[1]·P13[2]+Wx[2]·P13[3]-dx=-0.462872419254609

P14[1]+W1[1]·P14[2]+Wx[2]·P14[3]-dx=0.147472809564761

P15[1]+Wx[1]·P15[2]+Wx[2]·P15[3]-dx=0.0435518592230437

finally, the difference of the third measuring plane 4 is verified, with the following results:

Wz[1]·x+Wz[2]·y+z-dz=0

Wz[1]·P21[1]+P21[2]·Wz[2]+P21[3]-dz=-0.252114583240200

Wz[1]·P22[1]+P22[2]·Wz[2]+P22[3]-dz=-0.0267218586602667

Wz[1]·P23[1]+P23[2]·Wz[2]+P23[3]-dz=0.0567166752875892

Wz[1]·P24[1]+P24[2]·Wz[2]+P24[3]-dz=-0.0297226693094217

Wz[1]·P25[1]+P25[2]·Wz[2]+P25[3]-dz=0.251842419044124

from the above description, it can be seen that the above-described embodiments of the present invention achieve the following technical effects: the industrial robot is used for carrying out multi-surface detection by adopting a distance detection sensor, the position relation of different surfaces of the frog in a robot world coordinate system is detected, and a special algorithm is adopted for calculation so as to finally determine the spatial position of the frog. The robot can accurately measure the spatial position of the frog after feeding, so that the robot program can be compensated according to the spatial position, and the frog can be accurately polished. Compared with the prior art, the frog measuring device has the advantages that the frog measuring speed is higher, the frog measuring operation is simpler, the working efficiency is improved, and the working strength is reduced.

The above is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种多功能轨道检测车

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!