[go: up one dir, main page]

CN110549338B - A robot automatic assembly method for round-rectangular compound hole parts - Google Patents

A robot automatic assembly method for round-rectangular compound hole parts Download PDF

Info

Publication number
CN110549338B
CN110549338B CN201910853702.7A CN201910853702A CN110549338B CN 110549338 B CN110549338 B CN 110549338B CN 201910853702 A CN201910853702 A CN 201910853702A CN 110549338 B CN110549338 B CN 110549338B
Authority
CN
China
Prior art keywords
assembly
contact
force
hole
stage
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.)
Expired - Fee Related
Application number
CN201910853702.7A
Other languages
Chinese (zh)
Other versions
CN110549338A (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.)
Harbin Institute of Technology Shenzhen
Original Assignee
Harbin Institute of Technology Shenzhen
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 Harbin Institute of Technology Shenzhen filed Critical Harbin Institute of Technology Shenzhen
Priority to CN201910853702.7A priority Critical patent/CN110549338B/en
Publication of CN110549338A publication Critical patent/CN110549338A/en
Application granted granted Critical
Publication of CN110549338B publication Critical patent/CN110549338B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1628Programme controls characterised by the control loop
    • B25J9/1633Programme controls characterised by the control loop compliant, force, torque control, e.g. combined with position control
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1679Programme controls characterised by the tasks executed
    • B25J9/1687Assembly, peg and hole, palletising, straight line, weaving pattern movement

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)

Abstract

一种圆‑长方形复合孔类零件的机器人自动装配方法,涉及机器人装配控制技术领域。本发明为了解决圆‑长方复合孔类零件类零件的自动装配面临接触状态繁多、装配策略难于确定的问题,本发明公开了一种根据力反馈信息进行接触状态判别,并针对不同接触状态进行相应调整的圆‑长方复合孔类零件自动装配方法。所述装配过程被分为接近阶段、搜孔阶段和插入阶段,接近阶段使用5次样条轨迹规划的方法使装配件快速接近被装配件,搜孔阶段共有4种接触状态,插入阶段的接触状态按接触点数量和相对位置共分为7大类41种,对每种接触状态均进行了受力分析并提出了相应的搜孔或插入装配策略。进行了圆‑长方复合孔类零件的装配仿真,结果表明所提出的装配方法能在防止接触力过大的前提下完成装配。

Figure 201910853702

A robot automatic assembly method for round-rectangular compound hole parts relates to the technical field of robot assembly control. In order to solve the problems that the automatic assembly of circular-rectangular compound hole parts is faced with many contact states and the assembly strategy is difficult to determine, the invention discloses a method of contact state discrimination based on force feedback information, and a method for different contact states. Correspondingly adjusted round-rectangular compound hole parts automatic assembly method. The assembly process is divided into an approaching stage, a hole searching stage and an insertion stage. The approaching stage uses the 5-order spline trajectory planning method to make the assembly quickly approach the assembled part. There are four contact states in the hole searching stage. The states are divided into 7 categories and 41 types according to the number of contact points and their relative positions. The force analysis is carried out for each contact state, and the corresponding hole search or insert assembly strategy is proposed. The assembly simulation of the round-rectangular compound hole parts is carried out, and the results show that the proposed assembly method can complete the assembly under the premise of preventing excessive contact force.

Figure 201910853702

Description

一种圆-长方形复合孔类零件的机器人自动装配方法A robot automatic assembly method for round-rectangular compound hole parts

技术领域technical field

本发明涉及一种不规则形状(圆-长方形复合孔类)零件的机器人自动装配策略与方法,涉及机器人装配控制技术领域。The invention relates to a robot automatic assembly strategy and method for parts with irregular shapes (circle-rectangular compound holes), and relates to the technical field of robot assembly control.

背景技术Background technique

装配是产品制造流程中的重要环节,装配质量往往直接影响最终的产品质量。目前工业生产过程中仍有大量装配任务仍需要采用手工装配作业的方式来完成。但是,手工装配存在很多问题,例如,工作强度大、工作效率低、出错率高、费用高昂等。面对这些问题,制造业对于利用机器人代替人工完成装配作业有着越来越迫切的需求。机器人装配不仅能够提高生产效率,其应用的范围也更加广泛,如高温、辐射和真空等危险的环境中。Assembly is an important link in the product manufacturing process, and the assembly quality often directly affects the final product quality. At present, there are still a large number of assembly tasks in the industrial production process that still need to be completed by manual assembly operations. However, manual assembly has many problems, such as high work intensity, low work efficiency, high error rate, and high cost. Faced with these problems, the manufacturing industry has an increasingly urgent need to use robots to replace manual assembly operations. Robotic assembly can not only improve production efficiency, but also has a wider range of applications, such as high temperature, radiation and vacuum and other dangerous environments.

圆-长方形复合孔类零件的全称为圆柱形——长方形复合型轴孔类零件,它是由圆柱形的几何特征和长方形的几何特征组合而成的一类复合孔类的零件,这类零件的装配在制造业中非常常见,如平键的装配、花键的装配以及带键圆轴零件的装配等。The full name of round-rectangular composite hole parts is cylindrical-rectangular composite shaft hole parts, which are a type of composite hole parts composed of cylindrical geometric features and rectangular geometric features. The assembly of the shaft is very common in the manufacturing industry, such as the assembly of flat keys, the assembly of splines, and the assembly of keyed round shaft parts.

目前对于只有圆孔或只有方孔的零件的自动装配问题已公开发表了很多专利和学术论文,例如公开号为CN109382828A,专利号为ZL201811275792.8的发明专利提供了一种用于圆形孔和轴类零件装配的示教学习装配方法,机器人使用RCC柔性手腕补偿装配过程中误差,示教得到的调整运动用于减小轴件与孔件间位姿误差使其保持在RCC手腕可补偿的范围内;公开号为CN109531560A,专利号为ZL201910018179.6的发明专利提供了一种用于小间隙圆形轴孔配合的自动装配方法,通过微位移测量装置精确测定轴件相对于孔件的位姿误差,然后一次性动作完成装配。对于方孔零件的装配目前还没有专利公开,在Park等人于2012年发表的学术论文中将方形轴孔装配过程划分为六个阶段,并对每个阶段的接触情况进行了分析,最后在此基础上制定装配策略逐步实现装配操作;Kim等人在其2018年发表的学术论文中针对方形轴孔零件装配设计了一种带有角度测量系统的夹具,多次实验表明夹具配合六维力传感器可以准确感知方柱和孔件之间的位姿误差。At present, many patents and academic papers have been published for the automatic assembly of parts with only round holes or only square holes. The teaching and learning assembly method for the assembly of shaft parts. The robot uses the RCC flexible wrist to compensate for errors in the assembly process. The adjustment motion obtained by teaching is used to reduce the posture error between the shaft and the hole so that it can be kept within the range that can be compensated by the RCC wrist. The invention patent with the publication number of CN109531560A and the patent number of ZL201910018179.6 provides an automatic assembly method for small-gap circular shaft-hole fitting, and the position of the shaft piece relative to the hole piece is accurately determined by a micro-displacement measuring device. posture error, and then complete the assembly in one action. There is no patent disclosure for the assembly of square hole parts. In the academic paper published by Park et al. in 2012, the square shaft hole assembly process is divided into six stages, and the contact situation of each stage is analyzed. On this basis, an assembly strategy is formulated to gradually realize the assembly operation; Kim et al. designed a fixture with an angle measurement system for the assembly of square shaft hole parts in their academic paper published in 2018. Many experiments have shown that the fixture cooperates with six-dimensional force The sensor can accurately perceive the pose error between the square column and the hole.

不同于圆孔装配中接触点均在圆柱部分和方孔装配中接触点均在方柱部分的情况,在圆-长方复合孔类零件的装配中,孔类零件和与之相配合的轴类零件之间的接触点可能同时分布于圆柱和方柱以及二者的交线上,因此接触状态将比圆孔装配或方孔装配的情况更为复杂,与接触状态相对应的力学平衡方程也将截然不同。由此分析可知,若只简单套用上述专利和学术论文中关于圆孔装配和方孔装配的方法,将无法完成圆-长方复合孔类零件的装配作业。Different from the case where the contact points in the round hole assembly are all in the cylindrical part and in the square hole assembly, the contact points are in the square column part, in the assembly of the round-rectangular compound hole type parts, the hole type parts and the matching shaft The contact points between the similar parts may be distributed on the cylinder and the square column and the intersection of the two at the same time, so the contact state will be more complicated than the case of the round hole assembly or the square hole assembly. The mechanical equilibrium equation corresponding to the contact state will also be very different. From this analysis, it can be seen that if the above-mentioned patents and academic papers on the round hole assembly and the square hole assembly method are simply applied, the assembly of the round-rectangular compound hole parts will not be completed.

综上所述,对于圆-长方形复合孔类零件的机器人自动装配问题,现有已公开的专利和学术研究中尚无完整的接触状态分析结果,也没有给出接触状态判别和与之对应的装配策略以及具体实施的控制方法。To sum up, for the automatic robot assembly of circular-rectangular composite hole parts, there is no complete contact state analysis result in the existing published patents and academic research, and no contact state discrimination and corresponding Assembly strategies and specific implementation control methods.

发明内容SUMMARY OF THE INVENTION

本发明所述装配方法面向解决几何元素中既有圆弧又有矩形的直边和直角的孔类零件的自动装配问题,避免装配过程中因轴孔间的位姿不当导致装配接触力过大而对装配件和机器人造成损坏。即本发明为了解决圆-长方复合孔类零件类零件的自动装配面临接触状态繁多、装配策略难于确定的问题,本发明将此种孔类零件其称之为圆-长方复合孔类零件,与之相配的轴类零件被称为圆-长方复合轴类零件,此类零件的几种常见形式包括:平键轮毂、花键轮毂、A型平键孔、C型平键孔、特型圆-长方孔等等。The assembly method of the invention is oriented to solve the problem of automatic assembly of hole parts with arcs, rectangles, straight sides and right angles in geometric elements, and avoids excessive assembly contact force due to improper posture between shaft holes during assembly. damage to assemblies and robots. That is, in order to solve the problems that the automatic assembly of the round-rectangular compound hole parts is faced with many contact states and the assembly strategy is difficult to determine, the present invention refers to such hole parts as round-rectangular composite hole parts. , The matching shaft parts are called round-rectangular composite shaft parts. Several common forms of such parts include: flat key hub, spline hub, A-type flat key hole, C-type flat key hole, Special type round - rectangular hole and so on.

本发明为解决上述技术问题采取的技术方案是:The technical scheme that the present invention takes for solving the above-mentioned technical problems is:

一种圆-长方形复合孔类零件的机器人自动装配方法,所述装配方法的装配对象是几何要素中既有圆又有矩形的直边和直角的孔类零件和轴类零件,其中具有复合的圆孔和方孔的零件被称为圆-长方复合孔类零件,具有复合的圆柱和方柱的零件被称为圆-长方复合轴类零件(工程实际的常见零件中属于圆-长方复合孔/轴类零件的有:花键、A型平键、C型平键等等),A robot automatic assembling method for circular-rectangular compound hole parts, the assembly objects of the assembling method are hole parts and shaft parts that have both circles and rectangles, straight sides and right angles in geometric elements, wherein there are compound parts. Parts with round holes and square holes are called round-rectangular composite hole parts, and parts with composite cylinders and square columns are called round-rectangular composite shaft parts (common parts in engineering practice belong to round-long Square compound hole/shaft parts include: splines, A-type flat keys, C-type flat keys, etc.),

应用所述装配方法的圆-长方复合孔类零件自动装配系统由:上位机、基座、六自由度机器人、六维力/力矩传感器、装配件(与孔类零件适配的轴类零件)、夹持固定座、被装配件(圆-长方复合孔类零件)组成。其中六自由度机器人是指任意的能实现空间六自由度运动且位置控制精度满足装配作业的机器人,并不局限于关节型的串联六自由度操作臂;上位机与六自由度机器人的个伺服驱动/控制器以及六维力/力矩传感器通过总线通讯,使用的总线可以是以太网(Ethernet)、RS485网络、CAN总线等。The automatic assembly system for circular-rectangular compound hole parts using the assembly method is composed of: a host computer, a base, a six-degree-of-freedom robot, a six-dimensional force/torque sensor, and an assembly (shaft parts adapted to the hole parts) ), clamping and fixing base, and assembled parts (round-rectangular compound hole parts). Among them, a six-degree-of-freedom robot refers to any robot that can realize six-degree-of-freedom motion in space and whose position control accuracy meets assembly operations, and is not limited to an articulated serial six-degree-of-freedom manipulator; The drive/controller and the six-dimensional force/torque sensor communicate through the bus, and the bus used can be Ethernet (Ethernet), RS485 network, CAN bus, etc.

装配件被夹持在六维力/力矩传感器的工具侧接口上,六维力/力矩传感器的机器人侧接口与六自由度机器人的末端接口固连,带有圆-长方复合孔的被装配件固定于夹持固定座的接口内,夹持固定座和六自由度机器人均固定于基座上。坐标系ΣO-xyz为原点固定于基座的机器人接口中心的基坐标系,坐标系ΣOP-xyz和ΣOS-xyz的原点分别位于装配件的下表面圆心和六维力/力矩传感器的测力中心,这两个坐标系在装配作业中始终保持相对静止。在ΣOP系中,z轴方向平行于装配件装入被装配件的插入方向,x轴方向平行于装配件的几何轮廓对称面且与z轴垂直,y轴方向由z轴的单位矢量叉乘x轴的单位矢量所得到的矢量方向确定。The assembly is clamped on the tool side interface of the 6D force/torque sensor, the robot side interface of the 6D force/torque sensor is fixedly connected with the end interface of the 6DOF robot, and the round-rectangular compound hole is mounted. The accessories are fixed in the interface of the clamping fixture, and the clamping fixture and the six-degree-of-freedom robot are both fixed on the base. The coordinate system ΣO-xyz is the base coordinate system whose origin is fixed at the center of the robot interface of the base. The origins of the coordinate systems ΣO P -xyz and ΣO S -xyz are respectively located at the center of the lower surface of the assembly and the measurement of the six-dimensional force/torque sensor. The center of force, these two coordinate systems always remain relatively stationary during assembly operations. In the ΣO P system, the z-axis direction is parallel to the insertion direction of the assembly into the assembled part, the x-axis direction is parallel to the geometric profile symmetry plane of the assembly and perpendicular to the z-axis, and the y-axis direction is crossed by the unit vector of the z-axis. The direction of the vector obtained by multiplying the unit vector of the x-axis is determined.

根据基座、夹持固定座、被装配件的设计图纸尺寸,或根据系统组装好后的实际测量结果,可算出被装配件的圆-长方复合孔相对于六自由度机器人的相对位置,该相对位置被定义为被装配件的推定位置,受加工制造误差、测量误差等不确定因素的影响,此推定位置不等于被装配件的实际位置,因此在装配过程中若直接按着被装配件的推定位置控制装配件的运动,容易在被装配件和装配件间产生干涉,需要根据六维力/力矩传感器的反馈对装配件进行调整。The relative position of the circular-rectangular compound hole of the assembled part relative to the six-degree-of-freedom robot can be calculated according to the size of the design drawings of the base, the clamping fixture, and the assembled part, or according to the actual measurement results after the system is assembled. The relative position is defined as the estimated position of the assembled part, which is affected by uncertain factors such as manufacturing errors and measurement errors, and this estimated position is not equal to the actual position of the assembled part. The estimated position of the fitting controls the movement of the fitting, which is prone to interference between the fitting and the fitting. It is necessary to adjust the fitting according to the feedback of the six-dimensional force/torque sensor.

在所述圆-长方复合孔类零件的装配方法中,六自由度机器人需根据六维力/力矩传感器测得的力反馈信息,对装配件的位姿进行调整,使其最终装入被装配件的圆-长方复合孔中。上述装配过程被分为三个阶段:接近阶段、搜孔阶段、插入阶段。In the assembly method of the circular-rectangular compound hole parts, the six-degree-of-freedom robot needs to adjust the pose of the assembly according to the force feedback information measured by the six-dimensional force/torque sensor, so that it is finally installed in the workpiece. In the round-rectangular compound hole of the assembly. The above assembly process is divided into three stages: approach stage, hole search stage, and insertion stage.

装配作业开始时首先进入接近阶段,装配件需要在六自由度机器人的控制下从初始位置快速接近被装配件,到达位于被装配件推定位置上方的装配准备位置,此准备位置可由推定位置加上增量矢量[0,0,Δz]T算得。上述运动的轨迹规划应用次样条法,其中起点(装配件的初始位置)和终点(装配准备位置)处的速度和加速度均为0。At the beginning of the assembly operation, it first enters the approach stage. The assembly needs to quickly approach the assembled part from the initial position under the control of the six-degree-of-freedom robot to reach the assembly preparation position located above the estimated position of the assembled part. This preparation position can be added by the estimated position. The incremental vector [0,0,Δz] T is calculated. The trajectory planning of the above motion applies the sub-spline method, where the velocity and acceleration at the starting point (the initial position of the assembly) and the end point (the assembly preparation position) are both zero.

装配件4到达装配准备位置后进入搜孔阶段,此阶段开始后六自由度机器人2将使装配件4向被装配件6缓慢运动,进行试探,当z轴方向的接触力大于阈值Fmax,装配作业的控制系统将根据后若六维力/力矩传感器3的反馈判断装配件4与被装配件6之间的接触状态,然后将装配件4抬起一段距离并根据之前的接触状态调整其位姿,调整完成后将重复装配件4向被装配件6的试探过程,直到满足条件:After the assembly part 4 reaches the assembly preparation position, it enters the hole search stage. After this stage, the six-degree-of-freedom robot 2 will slowly move the assembly part 4 to the assembled part 6 for testing. When the contact force in the z-axis direction is greater than the threshold F max , The control system of the assembly operation will judge the contact state between the assembly part 4 and the assembled part 6 according to the feedback of the six-dimensional force/torque sensor 3, and then lift the assembly part 4 a certain distance and adjust it according to the previous contact state. Pose, after the adjustment is completed, the trial process of the assembly 4 to the assembled part 6 will be repeated until the conditions are met:

Fz<Fmax&h≥hd (1)F z <F max &h≥h d (1)

其中Fz表示六维力/力矩传感器测得的z轴力分量(变换到ΣOP系内),h表示装配件沿z轴插入被装配件的距离,hd是搜孔完成的插入深度判别阈值,Fmax是接触力的阈值。Among them, F z represents the z-axis force component measured by the six-dimensional force/torque sensor (transformed into the ΣOP system), h represents the distance that the assembly is inserted into the assembled part along the z-axis, and h d is the insertion depth judgment threshold after hole search. , Fmax is the contact force threshold.

当式(1)中条件满足时,装配件的末端已插入被装配件的圆-长方复合孔内,且插入深度达到hd,认为搜孔已完成,可切换到插入阶段。插入阶段内装配件不断沿z轴负方向前进,每当Fz(相当于插入的阻力)达到阈值Fmax时,认为插入过程可能发生卡阻,此时需要对插入的接触状态进行判断,之后根据接触状态调整装配件在孔内的位姿,并继续插入,直到满足条件:When the conditions in formula (1) are satisfied, the end of the assembly has been inserted into the circular-rectangular compound hole of the assembled part, and the insertion depth reaches h d , it is considered that the hole search has been completed, and the insertion stage can be switched. In the insertion stage, the assembly continues to advance in the negative direction of the z-axis. Whenever F z (equivalent to the insertion resistance) reaches the threshold F max , it is considered that the insertion process may be blocked. At this time, it is necessary to judge the contact state of the insertion, and then according to The contact state adjusts the pose of the assembly in the hole and continues to insert until the conditions are met:

Fz<Fmax&h≥hmax (2)F z <F max &h≥h max (2)

其中hmax是装配完成的插入深度判别阈值。当式(2)中条件满足时,装配件插入被装配件的深度达到hmax,认为装配件已成功装入被装配件,装配作业结束。where hmax is the insertion depth discrimination threshold for assembly completion. When the condition in formula (2) is satisfied, the depth of the assembly part inserted into the assembled part reaches h max , it is considered that the assembly part has been successfully inserted into the assembled part, and the assembly operation ends.

应用所述圆-长方复合孔类零件装配方法的自动装配系统中,需要使用力/位混合控制系统进行控制,定义X=[x,y,z,θP1P2P3]T为装配件的位姿矢量,其中x、y、z分别是ΣOP系在基坐标系ΣO内的位置坐标,θP1、θP2、θP3分别是ΣOP系相对于ΣO系的3个欧拉角;θ=[θ123456]T和τ=[τ123456]T分别被定义为六自由度机器人的关节角和关节驱动力矩矢量,其中θi和τi(i=1,2,…,6)分别表示第i个关节的关节角和驱动力矩;SFe是六维力/力矩传感器3在ΣOS系内测得的力旋量(包含三个力分量和三个力矩分量)原始数据,PFe是将SFe变换到ΣOP系内的力旋量;Xd、Fd、θd分别是控制过程中X、F、θ的目标值,δX、δF分别是控制过程中X的调整量和F理论值与实际值的偏差。In the automatic assembly system applying the circular-rectangular compound hole type parts assembly method, it is necessary to use a force/position hybrid control system for control, and define X=[x,y,z,θ P1P2P3 ] T is the pose vector of the assembly, where x, y, and z are the position coordinates of the ΣO P system in the base coordinate system ΣO, respectively, and θ P1 , θ P2 , and θ P3 are the three ohms of the ΣO P system relative to the ΣO system, respectively. pull angle; θ=[θ 123456 ] T and τ=[τ 123456 ] T are respectively Defined as the joint angle and joint driving torque vector of the six-degree-of-freedom robot, where θ i and τ i (i=1, 2,..., 6) represent the joint angle and driving torque of the ith joint, respectively; S F e is the six The original data of the force screw (including three force components and three torque components) measured by the force/torque sensor 3 in the ΣO S system, P F e is the force screw converted from S F e to the ΣO P system ; X d , F d , θ d are the target values of X, F, θ in the control process, respectively, δX, δF are the adjustment of X in the control process and the deviation of the theoretical value of F from the actual value.

对于上述力位混合控制系统,每个控制周期内的控制流程分为以下几步:For the above force-position hybrid control system, the control process in each control cycle is divided into the following steps:

步骤一、反馈采样。对六自由度机器人的伺服电动机编码器和六维力/力矩传感器进行读数,分别得到机器人的关节角矢量θ和ΣOS系内的力旋量SFe,根据六自由度机器人的正运动学仿真可由θ求得装配件的位姿矢量X,ΣOP系内的力旋量PFe可按式(3)计算。Step 1: Feedback sampling. Read the servo motor encoder and the six-dimensional force/torque sensor of the six-degree-of-freedom robot, and obtain the joint angle vector θ of the robot and the force screw S F e in the ΣO S system, respectively. According to the positive kinematics of the six-degree-of-freedom robot In the simulation, the pose vector X of the assembly can be obtained from θ, and the force screw P Fe in the ΣO P system can be calculated according to formula (3).

Figure GDA0002236976670000041
Figure GDA0002236976670000041

式(3)中R是ΣOS系到ΣOP系的旋转变换矩阵,PS是OS点在ΣOP系内的位置矢量,03×3是3阶全零方阵。In formula (3), R is the rotation transformation matrix from the ΣO S system to the ΣO P system, P S is the position vector of the OS point in the ΣO P system, and 0 3 × 3 is a third-order all-zero square matrix.

步骤二、轨迹规划。按照装配流程进行装配件的位姿规划,若装配过程处于接近阶段,按5次样条函数计算当前时刻装配件的目标位姿Xd;若装配过程处于搜孔阶段或是插入阶段,需首先判断接触力的z轴分量Fz是否达到阈值Fmax,若Fz<Fmax则按使装配件继续接近或插入被装配件生成Xd,否则根据接触状态得出装配件的位姿调整量,然后根据此调整量生成XdThe second step is trajectory planning. The pose planning of the assembly is carried out according to the assembly process. If the assembly process is in the approaching stage, the target pose X d of the assembly at the current moment is calculated by the 5th-order spline function; if the assembly process is in the hole searching stage or the insertion stage, it is necessary to Determine whether the z-axis component F z of the contact force reaches the threshold F max , if F z < F max , press the assembly to continue approaching or insert the assembled part to generate X d , otherwise, the pose adjustment amount of the assembly is obtained according to the contact state , and then generate X d based on this adjustment.

步骤三、阻抗控制。根据目标力旋量Fd和力反馈PFe的偏差δF计算装配件位姿X的调整量δX,使用的阻抗控制模型如式(4)所示。Step 3: Impedance control. According to the deviation δF of the target force screw F d and the force feedback P F e , the adjustment amount δX of the pose X of the assembly is calculated, and the impedance control model used is shown in formula (4).

Figure GDA0002236976670000042
Figure GDA0002236976670000042

其中M、B、K分别是装配件与被装配件间虚拟阻抗模型的惯性阵、阻尼阵和刚度阵。对于式(4)中的模型,则由δF到δX的传函如式(5)所示,实际控制时δX也可根据δF和此传递函数进行计算。Among them, M, B, and K are the inertia matrix, damping matrix and stiffness matrix of the virtual impedance model between the assembly and the assembled part, respectively. For the model in formula (4), the transfer function from δF to δX is shown in formula (5). During actual control, δX can also be calculated according to δF and this transfer function.

Figure GDA0002236976670000043
Figure GDA0002236976670000043

其中s表示传递函数中的拉普拉斯变量。where s represents the Laplace variable in the transfer function.

步骤四、位置控制。将轨迹规划得到的目标位姿Xd与阻抗控制得到的调整量δX叠加,按六自由度机器人的逆运动学方程计算得出关节角目标矢量θd,之后按式(6)的前馈+PD反馈控制律计算关节驱动力矩τ,并将其发送给机器人各关节的伺服驱动/控制器,完成当前控制周期的指令输出。Step four, position control. The target pose X d obtained by trajectory planning and the adjustment amount δX obtained by impedance control are superimposed, and the joint angle target vector θ d is calculated according to the inverse kinematics equation of the six-degree-of-freedom robot, and then the feedforward + The PD feedback control law calculates the joint driving torque τ, and sends it to the servo drive/controller of each joint of the robot to complete the command output of the current control cycle.

Figure GDA0002236976670000051
Figure GDA0002236976670000051

其中MR是六自由度机器人的广义惯性阵推定值,CR和GR分别是离心力/科氏力项的推定值和重力项的推定值,Kv和Kp分别是PD反馈控制中的微分项系数矩阵和比例项系数矩阵。where MR is the estimated value of the generalized inertial matrix of the six-degree-of-freedom robot, CR and GR are the estimated value of the centrifugal force/Coriolis force term and the estimated value of the gravity term, respectively, and K v and K p are the PD feedback control. Differential term coefficient matrix and proportional term coefficient matrix.

所述圆-长方复合孔类零件装配方法的搜孔阶段内,装配件的搜孔运动按每次与被装配件接触时的接触状态进行规划,所述接触状态按接触点的数量和在装配件底面(搜孔阶段与被装配件接触的平面)上的位置,共被分为4种。定义l和θC分别表示接触点在ΣOP系的xOPy平面内的相角和矢径长度,a、b、c、r均是装配件底面轮廓的几何尺寸,r为圆弧半径,a为长方部分的宽度,b是圆弧部分与长方部分交线到OP点的距离,c是长方部分的长度。In the hole search stage of the circular-rectangular composite hole type part assembly method, the hole search movement of the assembly is planned according to the contact state every time it contacts with the assembled part, and the contact state is determined according to the number of contact points and the The position on the bottom surface of the assembly (the plane in contact with the assembly in the hole search stage) is divided into four types. Definition l and θ C respectively represent the phase angle and radial length of the contact point in the xO P y plane of the ΣO P system, a, b, c, r are the geometric dimensions of the bottom surface of the assembly, r is the arc radius, a is the width of the rectangular part, b is the distance from the intersection of the arc part and the rectangular part to the OP point, and c is the length of the rectangular part.

搜孔阶段的第一种接触状态中,单个接触点位于装配件底面轮廓的不完整圆弧内部,说明装配件底面轮廓内的一点与被装配件圆-长方复合孔的边缘发生干涉,装配件应向远离接触点的方向运动。In the first contact state in the hole search stage, a single contact point is located inside the incomplete arc of the bottom contour of the assembly, which means that a point in the bottom contour of the assembly interferes with the edge of the circular-rectangular compound hole of the assembly. The accessory should move away from the point of contact.

搜孔阶段的第二种接触状态中,单个接触点位于装配件底面轮廓的不完整圆弧边界上,说明装配件与被装配件处于边缘的尖角接触状态,此状态是搜孔完成前的临界状态,装配件应向远离接触点的方向运动较小的距离。In the second contact state in the hole search stage, a single contact point is located on the incomplete arc boundary of the bottom surface of the assembly, indicating that the assembly and the assembled part are in a state of sharp-corner contact at the edge. This state is before the hole search is completed. Critical state, the assembly should move a small distance away from the contact point.

搜孔阶段的第三种接触状态中,两个接触点位于装配件底面轮廓的不完整圆弧边界上,说明两个接触点确定的猎狐段悬出被装配件的圆-长方复合孔边界,因此装配件应向远离接触点连线的方向运动,此种接触状态可等效为第一种接触状态,将两个接触点看作是连线中点处的一个接触点,这样调整策略完全相同。In the third contact state of the hole searching stage, the two contact points are located on the incomplete arc boundary of the bottom surface of the assembly, indicating that the fox hunting segment determined by the two contact points is suspended from the circular-rectangular compound hole of the assembly. Therefore, the assembly should move away from the line connecting the contact points. This contact state can be equivalent to the first contact state. The two contact points are regarded as a contact point at the midpoint of the line. The strategy is exactly the same.

搜孔阶段的第四种接触状态中,单个接触点位于装配件底面轮廓的长方部分内,说明装配件与被装配件由于对称面不平行产生了长方形部分的干涉,应绕z轴将装配件进行旋转,使接触点被旋出方形部分。In the fourth contact state of the hole search stage, a single contact point is located in the rectangular part of the bottom surface contour of the assembly, indicating that the assembly and the assembled part interfere with the rectangular part due to the non-parallel symmetry plane, and the assembly should be placed around the z-axis. The fitting is rotated so that the contact point is screwed out of the square section.

上述四种接触状态下,ΣOP系内的力平衡方程均可被统一地写作:Under the above four contact states, the force balance equation in the ΣO P system can be written uniformly:

Figure GDA0002236976670000061
Figure GDA0002236976670000061

其中Fx、Fy、Fz分别是将六维力/力矩传感器3测得的力反馈变换到ΣOP系内的三个力分量,Mx、My、Mz分别将六维力/力矩传感器3测得的力反馈变换到ΣOP系内的三个力分量,f是搜孔阶段接触点(对于第三种接触状态是指等效后的接触点)处的法向力的大小。对式(7)进行求解,可得:Among them, F x , F y , and F z are respectively the three force components that transform the force feedback measured by the six-dimensional force/torque sensor 3 into the ΣO P system, and M x , My y , and M z respectively convert the six-dimensional force/torque The force feedback measured by the torque sensor 3 is transformed into three force components in the ΣO P system, and f is the normal force at the contact point (for the third contact state, the equivalent contact point) in the hole search stage. . Solving equation (7), we can get:

Figure GDA0002236976670000062
Figure GDA0002236976670000062

根据各类接触状态的定义以及式(8)中的求解结果,可在表1中汇总给出搜孔阶段内的接触状态判别式及各接触状态对应装配件调整策略。According to the definitions of various contact states and the solution results in equation (8), the contact state discriminants in the hole search stage and the corresponding assembly adjustment strategies for each contact state can be summarized in Table 1.

表1搜孔阶段内的接触状态判别式及各接触状态对应装配件调整策略Table 1 The contact state discriminant in the hole search stage and the corresponding assembly adjustment strategy for each contact state

Figure GDA0002236976670000063
Figure GDA0002236976670000063

在自动装配作业的搜孔阶段内,每次装配件4与被装配件6进行试探接触后的搜孔轨迹可按以下步骤规划:In the hole-searching stage of the automatic assembly operation, the hole-searching trajectories after the tentative contact between the assembly part 4 and the assembled part 6 can be planned according to the following steps:

步骤一、根据力反馈变换得到的力旋量PFe,按式(8)求解表1第2列中的力平衡方程式,得到f、l、θCStep 1. According to the force screw P F e obtained by the force feedback transformation, solve the force balance equation in the second column of Table 1 according to formula (8) to obtain f, l, θ C ;

步骤二、根据表1第3列中的判别式确定搜孔阶段的接触状态种类;Step 2: Determine the contact state type in the hole search stage according to the discriminant in the third column of Table 1;

步骤三、由表1第4列的调整策略,得到装配件在下一次试探中的位姿调整量,将其叠加到正常的调整运动轨迹中,得到下一次试探中装配件4的搜孔运动轨迹。Step 3: From the adjustment strategy in the fourth column of Table 1, obtain the pose adjustment amount of the assembly in the next trial, and superimpose it on the normal adjustment motion trajectory to obtain the hole search trajectory of the assembly 4 in the next trial. .

所述圆-长方复合孔类零件装配方法的插入阶段内,每当六维力/力矩传感器3测得的z轴力反馈Fz达到阈值Fmax时,需要根据当前接触状态调整装配件4的位姿,使装配过程可以继续进行下去而不至于陷入卡死的情况。插入阶段内装配件4的侧面和底面棱边可能与被装配件6接触,为对接触状态进行识别,按接触点在装配件4上所处位置的区别,定义了四种基本接触点,分别是:In the insertion stage of the circular-rectangular composite hole component assembly method, whenever the z-axis force feedback F z measured by the six-dimensional force/torque sensor 3 reaches the threshold value F max , the assembly part 4 needs to be adjusted according to the current contact state. , so that the assembly process can continue without getting stuck. In the insertion stage, the side and bottom edges of the assembly 4 may be in contact with the assembled part 6. In order to identify the contact state, four basic contact points are defined according to the position of the contact point on the assembly 4, respectively. :

第一类接触点位于装配件4的圆柱部分侧面,其力学平衡方程如式(9)所示,μ为装配件4与被装配件6之间的摩擦系数。The first type of contact point is located on the side of the cylindrical part of the fitting 4 , and its mechanical balance equation is shown in equation (9), where μ is the friction coefficient between the fitting 4 and the fitted part 6 .

Figure GDA0002236976670000071
Figure GDA0002236976670000071

第二类接触点位于圆柱部分底面棱边,其力学平衡方程如式(10)所示。The second type of contact point is located at the edge of the bottom surface of the cylindrical part, and its mechanical equilibrium equation is shown in equation (10).

Figure GDA0002236976670000072
Figure GDA0002236976670000072

第三类接触点位于方柱部分的侧面,其力学平衡方程如式(11)所示。The third type of contact point is located on the side of the square column, and its mechanical equilibrium equation is shown in equation (11).

Figure GDA0002236976670000073
Figure GDA0002236976670000073

第三类接触点位于方柱部分的底面棱边上,其力学平衡方程如式(12)所示。The third type of contact point is located on the edge of the bottom surface of the square column part, and its mechanical equilibrium equation is shown in formula (12).

Figure GDA0002236976670000074
Figure GDA0002236976670000074

根据实际接触状态中接触点的数量、所属基本接触点类型、相对位置,将插入阶段的接触状态分为了7大类41种,所分的七个大类分别是:含有一个第一或第二类基本接触点的单点第一类接触(图8)、含有一个第三或第四类基本接触点的单点第二类接触(图9)、含有一个第一类基本接触点和一个第二类基本接触点的两点第一类接触(图10)、含有一个第一或第二类基本接触点以及一个第三或第四类基本接触点的两点第二类接触(图11)、含有一个第三类基本接触点以及一个第四类基本接触点的两点第三类接触(图12)、含有一个第一或第二类基本接触点以及两个第三或第四类基本接触点的三点第一类接触(图13)、含有两个第一或第二类基本接触点以及一个第三或第四类基本接触点的三点第二类接触(图14)。上述7个大类中分别含有2、8、1、16、4、2、8种接触状态,为方便后面的表示,以P-i-j作为插入阶段接触大类的代号,其中i表示接触点的数量,j表示接触点数量确定后接触大类的序号;以P-i-j-k作为插入阶段隶属于P-i-j大类的接触状态代号,k表示P-i-j大类中的接触状态序号,例如两点第二类接触以P2-2表示,其中的第10种接触状态将被写作P2-2-10。According to the number of contact points in the actual contact state, the basic contact point type, and the relative position, the contact states in the insertion stage are divided into 7 categories and 41 types. The seven categories are: containing a first or second Single-point contact of the first type with a basic contact point of the first type (Fig. 8), single-point contact of the second type with a third or fourth basic contact point (Fig. 9), with a basic contact point of the first type and a Two-point first-type contact with a second-type basic contact point (Figure 10), two-point second-type contact with one first or second type of basic contact point and a third or fourth type of basic contact point (Figure 11) , a two-point contact of the third type with one basic contact point of the third type and one basic contact point of the fourth type (Fig. 12), containing one basic contact point of the first or second type and two basic contact points of the third or fourth type A three-point first-type contact (Fig. 13) of the contact points, a three-point second-type contact (Fig. 14) with two first or second basic contact points and one third or fourth basic contact point. The above 7 categories contain 2, 8, 1, 16, 4, 2, and 8 contact states, respectively. For the convenience of later presentation, P-i-j is used as the code of the contact category in the insertion stage, where i represents the number of contact points, j represents the serial number of the contact category after the number of contact points is determined; P-i-j-k is used as the contact state code belonging to the P-i-j category in the insertion stage, and k represents the contact state number in the P-i-j category. For example, the second type of contact with two points is P2-2 means that the 10th contact state will be written as P2-2-10.

对于图8~图14中的接触状态,其力学平衡方程根据式(9)~式(12)中基本接触点的力学方程组合得到,接触状态大类的判别条件可依照各大类的力学方程特点分类给出,上述力学平衡方程和判别条件的推导结果在表2中给出,其中ci和si(i=1,2,3)分别是cosθCi和sinθCi的简写,θCi和fi分别是第i个接触点在ΣOP系内的极角和法向接触力,kmn(m=1,2,…,7;n=1,2,3,4)是第m个接触状态大类的第n个判别参数,用于对大类内的具体接触状态进行判别,kmn的取值均在闭区间[-1,1]内。For the contact states in Figures 8 to 14, the mechanical equilibrium equations are obtained by combining the mechanical equations of the basic contact points in equations (9) to (12). The characteristic classification is given, and the derivation results of the above-mentioned mechanical equilibrium equation and discriminant conditions are given in Table 2, where c i and s i (i=1, 2, 3) are the abbreviations for cosθ Ci and sinθ Ci , respectively, θ Ci and f i are the polar angle and normal contact force of the i-th contact point in the ΣO P system, respectively, and k mn (m=1, 2,..., 7; n=1, 2, 3, 4) is the m-th contact force The nth discriminant parameter of the contact state category is used to discriminate the specific contact state within the category, and the values of k mn are all within the closed interval [-1, 1].

表2插入阶段接触状态大类的力学平衡方程及判别条件Table 2 Mechanical equilibrium equations and discriminant conditions for the categories of contact states in the insertion stage

Figure GDA0002236976670000081
Figure GDA0002236976670000081

Figure GDA0002236976670000091
Figure GDA0002236976670000091

对于表2内的接触状态大类,表3中给出了各大类内每种接触状态的判别条件和对应的调整运动,其中装配件的调整运动共有5种,即为在ΣOP系内沿x轴、y轴的两个平动和绕x轴、y轴、z轴的三个转动,以x、y、θx、θy、θz分别表示上述5种调整运动;每种调整运动都有正向和负向两个方向,分别以“+”和“-”表示;则调整运动被简写成变量符号和正负号复合的形式,例如使装配件4绕x轴负向转动在表3中被简写“θx-”。由于一些接触状态对应相同的装配件调整运动,在插入阶段的控制中不必对其进行区分,因此将对应相同调整运动的接触状态的判别条件取并集后,这些接触状态在表3中被合并写作一行。For the contact state categories in Table 2, Table 3 gives the discriminant conditions and corresponding adjustment motions of each contact state in each category, among which there are 5 kinds of adjustment motions of the assembly, namely the inner edge of the ΣOP system. The two translations of the x-axis and the y-axis and the three rotations around the x-axis, the y-axis and the z-axis are represented by x, y, θ x , θ y , and θ z to represent the above-mentioned five adjustment movements; each adjustment movement There are both positive and negative directions, which are represented by "+" and "-"respectively; then the adjustment motion is abbreviated as the compound form of the variable sign and the positive and negative sign, for example, the assembly 4 rotates in the negative direction around the x-axis at It is abbreviated as "θ x -" in Table 3. Since some contact states correspond to the same adjustment motion of the assembly, it is not necessary to distinguish them in the control of the insertion stage. Therefore, after taking the union of the discrimination conditions of the contact states corresponding to the same adjustment motion, these contact states are merged in Table 3. Write a line.

表3插入阶段接触状态种类的判别条件及装配件位姿调整策略Table 3 Discrimination conditions of contact state types in the insertion stage and the pose adjustment strategy of the assembly

Figure GDA0002236976670000092
Figure GDA0002236976670000092

Figure GDA0002236976670000101
Figure GDA0002236976670000101

在自动装配作业的插入阶段内,每次装配件向下装配的装配力Fz达到阈值Fmax时,装配件的调整运动可按以下步骤规划:In the insertion phase of the automatic assembly job, each time the assembly force F z of the downward assembly of the assembly reaches the threshold value F max , the adjustment movement of the assembly can be planned as follows:

步骤一、根据力反馈变换得到的力旋量PFe中的力和力矩分量,按表2中第四列的大类判别条件判断当前接触状态所属的接触大类;Step 1. According to the force and moment components in the force screw P Fe obtained by the force feedback transformation, judge the contact category to which the current contact state belongs according to the category discrimination conditions in the fourth column of Table 2;

步骤二、对表2中第三列的力学平衡方程进行求解,得出反应接触点位置的θC1和基础种类判别参数kmnStep 2, solve the mechanical equilibrium equation of the third row in table 2, obtain the θ C1 and the basic species discrimination parameter k mn of the reaction contact point position;

步骤三、根据表3第三列的判别条件确定具体的接触状态,并在表3第四列中查得对应于当前接触状态的调整运动。Step 3: Determine the specific contact state according to the discrimination conditions in the third column of Table 3, and find the adjustment motion corresponding to the current contact state in the fourth column of Table 3.

本发明的有益效果是:The beneficial effects of the present invention are:

本发明的圆-长方形复合孔类零件的装配理论与方法将装配运动过程划分为接近、搜索和插入三个阶段,在接近阶段采用了在动力学前馈基础上的PD反馈控制,使机械臂可以快速接近孔件,提高了机械臂的动态控制性能;在搜索阶段采用了基于六维力传感器的平面搜孔方法,根据接触状态制定了搜孔策略,适合复合孔类零件搜孔作业任务;在插入阶段利用传感器反馈的力信息和关节角信息,识别极端插入过程中的接触状态,控制系统的轨迹规划器在接触状态识别的基础上生成相应的位姿调整方案,并结合柔顺控制策略实现圆—长方形复合孔类零件的机器人装配任务,填补了国内外在针对复合孔类零件机器人装配的装配理论和方法方面的空白。The assembly theory and method of the round-rectangular composite hole parts of the present invention divides the assembly movement process into three stages: approach, search and insertion. In the approach stage, PD feedback control based on dynamic feedforward is adopted, so that the robotic arm can Fast approach to hole parts improves the dynamic control performance of the manipulator; in the search stage, a plane hole search method based on a six-dimensional force sensor is adopted, and a hole search strategy is formulated according to the contact state, which is suitable for the hole search task of compound hole parts; In the insertion stage, the force information and joint angle information fed back by the sensor are used to identify the contact state during the extreme insertion process. The trajectory planner of the control system generates the corresponding pose adjustment scheme based on the contact state identification, and combines the compliance control strategy to realize the circle. -The robot assembly task of rectangular compound hole parts fills the gap in the assembly theory and method of robot assembly for compound hole parts at home and abroad.

圆-长方复合孔类零件是一种常见零件,但因同时具有圆孔和方孔的特点,此类零件的自动装配面临接触状态繁多、装配策略难于确定的问题,本发明完全解决了上述问题。Round-rectangular composite hole parts are common parts, but because they have the characteristics of round holes and square holes at the same time, the automatic assembly of such parts faces the problems of many contact states and difficult to determine the assembly strategy. The present invention completely solves the above-mentioned problems. question.

本发明根据力反馈信息进行接触状态判别,并针对不同接触状态进行相应调整的圆-长方复合孔类零件自动装配方法。所述装配过程被分为接近阶段、搜孔阶段和插入阶段,接近阶段使用5次样条轨迹规划的方法使装配件快速接近被装配件,搜孔阶段共有4种接触状态,插入阶段的接触状态按接触点数量和相对位置共分为7大类41种,对每种接触状态均进行了受力分析并提出了相应的搜孔或插入装配策略。进行了圆-长方复合孔类零件的装配仿真,结果表明所提出的装配方法能在防止接触力过大的前提下完成装配。According to the invention, the contact state is judged according to the force feedback information, and the automatic assembly method of the circle-rectangular compound hole parts is adjusted correspondingly according to different contact states. The assembly process is divided into an approaching stage, a hole searching stage and an insertion stage. The approaching stage uses the 5-order spline trajectory planning method to make the assembly quickly approach the assembled part. There are four contact states in the hole searching stage. The states are divided into 7 categories and 41 types according to the number of contact points and their relative positions. The force analysis is carried out for each contact state, and the corresponding hole search or insert assembly strategy is proposed. The assembly simulation of the round-rectangular compound hole parts is carried out, and the results show that the proposed assembly method can complete the assembly under the premise of preventing the contact force from being too large.

附图说明Description of drawings

图1是所述装配方法的装配对象(圆-长方复合孔类零件)的几何造型示意图,图中:a)特形圆长方复合孔,b)开放式的特形圆长方复合孔,c)带键轮毂,d)c型平键槽,e)a型平键槽,f)花键轮毂;Fig. 1 is the geometrical modeling schematic diagram of the assembly object (circle-rectangular compound hole type part) of the assembling method, in the figure: a) special-shaped circular rectangular compound hole, b) open special-shaped circular rectangular compound hole , c) keyed hub, d) c-type flat keyway, e) a-type flat keyway, f) splined hub;

图2是应用本发明提出的装配方法的自动装配系统构成图;图3是所述自动装配系统的虚拟样机三维实体;图4是本发明提出的圆-长方复合孔类零件装配流程图;图5是所述自动装配系统的控制系统框图;图6是搜孔阶段四种接触状态的示意图;Fig. 2 is the composition diagram of the automatic assembly system applying the assembly method proposed by the present invention; Fig. 3 is the virtual prototype three-dimensional entity of the automatic assembly system; Fig. 4 is the assembly flow chart of the circle-rectangular compound hole class parts proposed by the present invention; Fig. 5 is the control system block diagram of described automatic assembly system; Fig. 6 is the schematic diagram of four kinds of contact states in the search hole stage;

图7是插入阶段四种基本接触点的示意图;图8是插入阶段的单点第一类接触状态示意图;图9是插入阶段的单点第二类接触状态示意图;图10是插入阶段的两点第一类接触状态示意图(两点第一类接触状态P-2-1-1);图11是插入阶段的两点第二类接触状态示意图;图12是插入阶段的两点第三类接触状态示意图;图13是插入阶段的三点第一类接触状态示意图;图14是插入阶段的三点第二类接触状态示意图;Figure 7 is a schematic diagram of four basic contact points in the insertion stage; Figure 8 is a schematic diagram of the first type of contact state of a single point in the insertion stage; Figure 9 is a schematic diagram of the second type of contact state of a single point in the insertion stage; Schematic diagram of the contact state of the first type of point (two points of the first type of contact state P-2-1-1); Figure 11 is a schematic diagram of the two-point contact state of the second type in the insertion stage; Figure 12 is the two-point contact state of the third type in the insertion stage Schematic diagram of the contact state; Figure 13 is a schematic diagram of the three-point first-type contact state in the insertion stage; Figure 14 is a schematic diagram of the three-point second-type contact state in the insertion stage;

图15是圆-长方复合孔类零件装配仿真中的装配对象尺寸参数图(图中:左上是装配件主视图,左下是俯视图;右上是被装配件主视图,右下是俯视图);Figure 15 is the assembly object size parameter diagram in the assembly simulation of the round-rectangular compound hole type parts (in the figure: the upper left is the main view of the assembly part, the lower left is the top view; the upper right is the main view of the assembled part, and the bottom right is the top view);

图16是搜孔仿真的接触力及其产生的力矩以及位姿误差曲线图;图17是插入阶段的接触状态识别仿真的接触力曲线;图18是圆-长方复合孔类零件装配仿真的录像截图;图19是圆-长方复合孔类零件装配仿真的接触力及位姿误差曲线图。Fig. 16 is the contact force of the hole search simulation and the generated moment and the pose error curve; Fig. 17 is the contact force curve of the contact state identification simulation in the insertion stage; Fig. 18 is the assembly simulation of the circle-rectangular compound hole type parts Screenshot of the video; Figure 19 is the contact force and pose error curve diagram of the circle-rectangular compound hole assembly simulation.

具体实施方式Detailed ways

具体实施方式一:所述装配方法面向解决几何元素中既有圆弧又有矩形的直边和直角的孔类零件的自动装配问题,避免装配过程中因轴孔间的位姿不当导致装配接触力过大而对装配件和机器人造成损坏。将此种孔类零件其称之为圆-长方复合孔类零件,与之相配的轴类零件被称为圆-长方复合轴类零件,图1给出了此类零件的几种常见形式,其中包括平键轮毂、花键轮毂、A型平键孔、C型平键孔、特型圆-长方孔等等。Embodiment 1: The assembly method is oriented to solve the problem of automatic assembly of hole-like parts with arcs, rectangles, straight sides and right angles in geometric elements, and avoid assembly contact due to improper posture between shaft holes during assembly. Excessive force can cause damage to the assembly and the robot. Such hole-type parts are called round-rectangular composite hole-type parts, and the matching shaft parts are called circular-rectangular composite shaft-type parts. Figure 1 shows several common types of such parts. Forms, including flat key hub, spline hub, A-type flat key hole, C-type flat key hole, special round-oblong hole and so on.

工程实际的常见零件中属于圆-长方复合孔/轴类零件的有:花键、A型平键、C型平键等等。The common parts in engineering practice belong to the round-rectangular compound hole/shaft parts: splines, A-type flat keys, C-type flat keys and so on.

如图2所示,应用所述装配方法的圆-长方复合孔类零件自动装配系统由:上位机、基座1、六自由度机器人2、六维力/力矩传感器3、装配件4(与孔类零件适配的轴类零件)、夹持固定座5、被装配件6(圆-长方复合孔类零件)组成。其中六自由度机器人2是指任意的能实现空间六自由度运动且位置控制精度满足装配作业的机器人,并不局限于关节型的串联六自由度操作臂;上位机与六自由度机器人2的6个伺服驱动/控制器以及六维力/力矩传感器3通过总线通讯,使用的总线可以是以太网(Ethernet)、RS485网络、CAN总线等。As shown in Figure 2, the automatic assembly system for circular-rectangular compound hole parts using the assembly method consists of: a host computer, a base 1, a six-degree-of-freedom robot 2, a six-dimensional force/torque sensor 3, and an assembly 4 ( It is composed of shaft parts adapted to hole parts), clamping and fixing base 5, and assembled parts 6 (round-rectangular compound hole parts). Among them, the six-degree-of-freedom robot 2 refers to any robot that can realize the six-degree-of-freedom motion in space and the position control accuracy meets the assembly operation, and is not limited to the articulated serial six-degree-of-freedom manipulator arm; The 6 servo drives/controllers and the six-dimensional force/torque sensor 3 communicate through the bus, and the bus used can be Ethernet (Ethernet), RS485 network, CAN bus, etc.

图3给出了上述自动装配系统的虚拟样机图片,其中装配件4被夹持在六维力/力矩传感器3的工具侧接口上,六维力/力矩传感器3的机器人侧接口与六自由度机器人2的末端接口固连,带有圆-长方复合孔的被装配件6固定于夹持固定座5的接口内,夹持固定座5和六自由度机器人2均固定于基座1上。Figure 3 shows a picture of the virtual prototype of the above automatic assembly system, in which the assembly 4 is clamped on the tool-side interface of the six-dimensional force/torque sensor 3, and the robot-side interface of the six-dimensional force/torque sensor 3 is connected with the six degrees of freedom. The end interface of the robot 2 is fixed, and the assembled part 6 with the round-rectangular compound hole is fixed in the interface of the clamping and fixing base 5. The clamping and fixing base 5 and the six-degree-of-freedom robot 2 are both fixed on the base 1. .

图3中坐标系ΣO-xyz为原点固定于基座1的机器人接口中心的基坐标系,坐标系ΣOP-xyz和ΣOS-xyz的原点分别位于装配件4的下表面圆心和六维力/力矩传感器3的测力中心,这两个坐标系在装配作业中始终保持相对静止。在ΣOP系中,z轴方向平行于装配件4装入被装配件6的插入方向,x轴方向平行于装配件4的几何轮廓对称面且与z轴垂直,y轴方向由z轴的单位矢量叉乘x轴的单位矢量所得到的矢量方向确定。In Fig. 3, the coordinate system ΣO-xyz is the base coordinate system whose origin is fixed at the center of the robot interface of the base 1, and the origins of the coordinate systems ΣO P -xyz and ΣO S -xyz are respectively located at the center of the lower surface of the assembly 4 and the six-dimensional force /The force measuring center of the torque sensor 3, these two coordinate systems always remain relatively static during the assembly operation. In the ΣO P system, the z-axis direction is parallel to the insertion direction of the assembly 4 into the assembled part 6, the x-axis direction is parallel to the geometric profile symmetry plane of the assembly 4 and perpendicular to the z-axis, and the y-axis direction is determined by the z-axis. The direction of the vector obtained by multiplying the unit vector by the unit vector of the x-axis is determined.

根据基座1、夹持固定座5、被装配件6的设计图纸尺寸,或根据系统组装好后的实际测量结果,可算出被装配件6的圆-长方复合孔相对于六自由度机器人2的相对位置,该相对位置被定义为被装配件6的推定位置,受加工制造误差、测量误差等不确定因素的影响,此推定位置不等于被装配件6的实际位置,因此在装配过程中若直接按着被装配件6的推定位置控制装配件4的运动,容易在被装配件6和装配件4间产生干涉,需要根据六维力/力矩传感器3的反馈对装配件4进行调整。According to the size of the design drawings of the base 1, the clamping base 5, and the assembled part 6, or according to the actual measurement results after the system is assembled, it can be calculated that the circular-rectangular compound hole of the assembled part 6 is relative to the six-degree-of-freedom robot. The relative position of 2 is defined as the estimated position of the assembled part 6, which is affected by uncertain factors such as manufacturing errors and measurement errors. This estimated position is not equal to the actual position of the assembled part 6. Therefore, in the assembly process If the movement of the fitting 4 is controlled directly according to the estimated position of the fitting 6 , interference between the fitting 6 and the fitting 4 is likely to occur, and the fitting 4 needs to be adjusted according to the feedback of the six-dimensional force/torque sensor 3 .

具体实施方式二:在所述圆-长方复合孔类零件的装配方法中,六自由度机器人2需根据六维力/力矩传感器3测得的力反馈信息,对装配件4的位姿进行调整,使其最终装入被装配件6的圆-长方复合孔中。上述装配过程被分为三个阶段:接近阶段、搜孔阶段、插入阶段,装配的流程图如图4所示,其中Fz表示六维力/力矩传感器3测得的z轴力分量(变换到ΣOP系内),h表示装配件4沿z轴插入被装配件6的距离,hd和hmax分别是搜孔完成和装配完成的插入深度判别阈值,Fmax是接触力的阈值。Specific embodiment 2: In the assembling method of the circular-rectangular compound hole type parts, the six-degree-of-freedom robot 2 needs to perform the position and orientation of the assembly part 4 according to the force feedback information measured by the six-dimensional force/torque sensor 3. Adjust so that it finally fits into the round-rectangular compound hole of the assembled part 6 . The above assembly process is divided into three stages: approach stage, hole search stage, and insertion stage. The flow chart of the assembly is shown in Figure 4, where F z represents the z-axis force component (transformation) measured by the six-dimensional force/torque sensor 3. to the ΣOP system), h represents the distance that the assembly 4 is inserted into the assembled part 6 along the z-axis, h d and h max are the insertion depth judgment thresholds for hole search and assembly completion, respectively, and F max is the contact force threshold.

装配作业开始时首先进入接近阶段,装配件4需要在六自由度机器人2的控制下从初始位置快速接近被装配件6,到达位于被装配件6推定位置上方的装配准备位置,此准备位置可由推定位置加上增量矢量[0,0,Δz]T算得。上述运动的轨迹规划应用5次样条法,其中起点(装配件4的初始位置)和终点(装配准备位置)处的速度和加速度均为0。At the beginning of the assembly operation, it first enters the approach stage. The assembly part 4 needs to quickly approach the assembled part 6 from the initial position under the control of the six-degree-of-freedom robot 2 to reach the assembly preparation position located above the estimated position of the assembled part 6. This preparation position can be set by Calculated by adding the incremental vector [0,0,Δz] T to the estimated position. The trajectory planning of the above motion applies the 5th-order spline method, in which the velocity and acceleration at the start point (initial position of assembly 4) and the end point (assembly preparation position) are both zero.

装配件4到达装配准备位置后进入搜孔阶段,此阶段开始后六自由度机器人2将使装配件4向被装配件6缓慢运动,进行试探,当z轴方向的接触力大于阈值Fmax,装配作业的控制系统将根据后若六维力/力矩传感器3的反馈判断装配件4与被装配件6之间的接触状态,然后将装配件4抬起一段距离并根据之前的接触状态调整其位姿,调整完成后将重复装配件4向被装配件6的试探过程,直到满足条件:After the assembly part 4 reaches the assembly preparation position, it enters the hole search stage. After this stage, the six-degree-of-freedom robot 2 will slowly move the assembly part 4 to the assembled part 6 for testing. When the contact force in the z-axis direction is greater than the threshold F max , The control system of the assembly operation will judge the contact state between the assembly part 4 and the assembled part 6 according to the feedback of the six-dimensional force/torque sensor 3, and then lift the assembly part 4 a certain distance and adjust it according to the previous contact state. Pose, after the adjustment is completed, the trial process of the assembly 4 to the assembled part 6 will be repeated until the conditions are met:

Fz<Fmax&h≥hd (1)F z <F max &h≥h d (1)

当式(1)中条件满足时,装配件4的末端已插入被装配件6的圆-长方复合孔内,且插入深度达到hd,认为搜孔已完成,可切换到插入阶段。插入阶段内装配件4不断沿z轴负方向前进,每当Fz(相当于插入的阻力)达到阈值Fmax时,认为插入过程可能发生卡阻,此时需要对插入的接触状态进行判断,之后根据接触状态调整装配件4在孔内的位姿,并继续插入,直到满足条件:When the conditions in formula (1) are satisfied, the end of the assembly 4 has been inserted into the circular-rectangular composite hole of the assembled part 6, and the insertion depth reaches h d , the hole search is considered to be completed, and the insertion stage can be switched. In the insertion stage, the assembly 4 continues to advance in the negative direction of the z -axis. Whenever Fz (equivalent to the resistance of insertion) reaches the threshold value Fmax , it is considered that the insertion process may be blocked. At this time, it is necessary to judge the contact state of the insertion, and then Adjust the pose of assembly 4 in the hole according to the contact state, and continue to insert until the conditions are met:

Fz<Fmax&h≥hmax (2)F z <F max &h≥h max (2)

当式(2)中条件满足时,装配件4插入被装配件6的深度达到hmax,认为装配件4已成功装入被装配件6,装配作业结束。其它步骤与具体实施方式一相同。When the condition in formula (2) is satisfied, the depth of the fitting 4 inserted into the fitting 6 reaches h max , it is considered that the fitting 4 has been inserted into the fitting 6 successfully, and the assembling operation ends. Other steps are the same as in the first embodiment.

具体实施方式三:应用所述圆-长方复合孔类零件装配方法的自动装配系统中,需要构建如图5所示的力/位混合控制系统,定义X=[x,y,z,θP1P2P3]T为装配件4的位姿矢量,其中x、y、z分别是ΣOP系在基坐标系ΣO内的位置坐标,θP1、θP2、θP3分别是ΣOP系相对于ΣO系的3个欧拉角;θ=[θ123456]T和τ=[τ123456]T分别被定义为六自由度机器人2的关节角和关节驱动力矩矢量,其中θi和τi(i=1,2,…,6)分别表示第i个关节的关节角和驱动力矩;SFe是六维力/力矩传感器3在ΣOS系内测得的力旋量(包含三个力分量和三个力矩分量)原始数据,PFe是将SFe变换到ΣOP系内的力旋量;Xd、Fd、θd分别是控制过程中X、F、θ的目标值,δX、δF分别是控制过程中X的调整量和F理论值与实际值的偏差。Specific embodiment 3: In the automatic assembly system applying the circular-rectangular composite hole type parts assembly method, it is necessary to build a force/position hybrid control system as shown in Figure 5, and define X=[x, y, z, θ P1 , θ P2 , θ P3 ] T is the pose vector of assembly 4, where x, y, z are the position coordinates of the ΣO P system in the base coordinate system ΣO, respectively, θ P1 , θ P2 , θ P3 are ΣO The 3 Euler angles of the P system with respect to the ΣO system ;56 ] T are defined as the joint angle and joint driving torque vector of the six-degree-of-freedom robot 2, respectively, where θ i and τ i (i=1,2,...,6) represent the ith joint's Joint angle and driving torque; S F e is the original data of the force screw (including three force components and three torque components) measured by the six-dimensional force/torque sensor 3 in the ΣO S system, P F e is the S F e transformed into force screw in ΣO P system; X d , F d , θ d are the target values of X, F, θ in the control process, respectively, δX, δF are the adjustment of X and the theoretical value of F in the control process, respectively Deviation from the actual value.

对于上述力位混合控制系统,每个控制周期内的控制流程分为以下几步:For the above force-position hybrid control system, the control process in each control cycle is divided into the following steps:

步骤一、反馈采样。对六自由度机器人2的伺服电动机编码器和六维力/力矩传感器3进行读数,分别得到机器人的关节角矢量θ和ΣOS系内的力旋量SFe,根据六自由度机器人2的正运动学仿真可由θ求得装配件的位姿矢量X,ΣOP系内的力旋量PFe可按式(3)计算。Step 1: Feedback sampling. Read the servo motor encoder and the six-dimensional force/torque sensor 3 of the six-degree-of-freedom robot 2 to obtain the joint angle vector θ of the robot and the force screw S F e in the ΣO S system, respectively. In the forward kinematics simulation, the pose vector X of the assembly can be obtained from θ, and the force screw P F e in the ΣO P system can be calculated according to formula (3).

Figure GDA0002236976670000141
Figure GDA0002236976670000141

式(3)中R是ΣOS系到ΣOP系的旋转变换矩阵,PS是OS点在ΣOP系内的位置矢量,03×3是3阶全零方阵。In formula (3), R is the rotation transformation matrix from the ΣO S system to the ΣO P system, P S is the position vector of the OS point in the ΣO P system, and 0 3 × 3 is a third-order all-zero square matrix.

步骤二、轨迹规划。按照已介绍的装配流程(图4)进行装配件4的位姿规划,若装配过程处于接近阶段,按5次样条函数计算当前时刻装配件4的目标位姿Xd;若装配过程处于搜孔阶段或是插入阶段,需首先判断接触力的z轴分量Fz是否达到阈值Fmax,若Fz<Fmax则按使装配件4继续接近或插入被装配件6生成Xd,否则根据接触状态得出装配件4的位姿调整量,然后根据此调整量生成XdThe second step is trajectory planning. Carry out the pose planning of the assembly part 4 according to the introduced assembly process (Fig. 4). If the assembly process is in the approaching stage, calculate the target pose X d of the assembly part 4 at the current moment according to the 5th order spline function; In the hole stage or the insertion stage, it is necessary to first judge whether the z-axis component F z of the contact force reaches the threshold value F max , if F z < F max , press the assembly part 4 to continue approaching or insert the assembled part 6 to generate X d , otherwise, according to The contact state obtains the pose adjustment amount of the assembly 4, and then generates X d according to this adjustment amount.

步骤三、阻抗控制。根据目标力旋量Fd和力反馈PFe的偏差δF计算装配件位姿X的调整量δX,使用的阻抗控制模型如式(4)所示。Step 3: Impedance control. According to the deviation δF of the target force screw F d and the force feedback P F e , the adjustment amount δX of the pose X of the assembly is calculated, and the impedance control model used is shown in formula (4).

Figure GDA0002236976670000142
Figure GDA0002236976670000142

其中M、B、K分别是装配件4与被装配件6间虚拟阻抗模型的惯性阵、阻尼阵和刚度阵。对于式(4)中的模型,则由δF到δX的传函如式(5)所示,实际控制时δX也可根据δF和此传递函数进行计算。Among them, M, B, and K are the inertial matrix, damping matrix and stiffness matrix of the virtual impedance model between assembly part 4 and assembled part 6, respectively. For the model in formula (4), the transfer function from δF to δX is shown in formula (5). During actual control, δX can also be calculated according to δF and this transfer function.

Figure GDA0002236976670000143
Figure GDA0002236976670000143

其中s表示传递函数中的拉普拉斯变量。where s represents the Laplace variable in the transfer function.

步骤四、位置控制。将轨迹规划得到的目标位姿Xd与阻抗控制得到的调整量δX叠加,按六自由度机器人2的逆运动学方程计算得出关节角目标矢量θd,之后按式(6)的前馈+PD反馈控制律计算关节驱动力矩τ,并将其发送给机器人各关节的伺服驱动/控制器,完成当前控制周期的指令输出。Step four, position control. The target pose X d obtained by trajectory planning and the adjustment amount δX obtained by impedance control are superimposed, and the joint angle target vector θ d is calculated according to the inverse kinematics equation of the six-degree-of-freedom robot 2, and then the feedforward of formula (6) is used. The +PD feedback control law calculates the joint driving torque τ, and sends it to the servo drive/controller of each joint of the robot to complete the command output of the current control cycle.

Figure GDA0002236976670000151
Figure GDA0002236976670000151

其中MR是六自由度机器人2的广义惯性阵推定值,CR和GR分别是离心力/科氏力项的推定值和重力项的推定值,Kv和Kp分别是PD反馈控制中的微分项系数矩阵和比例项系数矩阵。其它步骤与具体实施方式二相同。where MR is the estimated value of the generalized inertial matrix of the six-degree-of-freedom robot 2, CR and GR are the estimated value of the centrifugal force/Coriolis force term and the estimated value of the gravity term, respectively, and K v and K p are the PD feedback control. The differential term coefficient matrix and the proportional term coefficient matrix of . Other steps are the same as in the second embodiment.

具体实施方式四:所述圆-长方复合孔类零件装配方法的搜孔阶段内,装配件4的搜孔运动按每次与被装配件6接触时的接触状态进行规划,所述接触状态按接触点的数量和在装配件底面(搜孔阶段与被装配件接触的平面)上的位置,共被分为如图6所示的4种,其中接触点以红色圆点表示,l和θC分别表示接触点在ΣOP系的xOPy平面内的相角和矢径长度,a、b、c、r均是装配件底面轮廓的几何尺寸,r为圆弧半径,a为长方部分的宽度,b是圆弧部分与长方部分交线到OP点的距离,c是长方部分的长度。Embodiment 4: In the hole search stage of the circular-rectangular composite hole type part assembly method, the hole search movement of the assembly part 4 is planned according to the contact state every time it contacts with the assembled part 6, and the contact state According to the number of contact points and their positions on the bottom surface of the assembly (the plane in contact with the assembly in the hole search stage), they are divided into 4 types as shown in Figure 6, where the contact points are represented by red circles, l and θ C represents the phase angle and the radial length of the contact point in the xO P y plane of the ΣO P system, respectively, a, b, c, and r are the geometric dimensions of the bottom surface of the assembly, r is the arc radius, and a is the length. The width of the square part, b is the distance from the intersection of the arc part and the rectangular part to the OP point, and c is the length of the rectangular part.

图6a)中为搜孔阶段的第一种接触状态,单个接触点位于装配件底面轮廓的不完整圆弧内部,说明装配件底面轮廓内的一点与被装配件圆-长方复合孔的边缘发生干涉,装配件应向远离接触点的方向运动。Figure 6a) shows the first contact state in the hole search stage. A single contact point is located inside the incomplete arc of the bottom contour of the assembly, indicating that a point within the contour of the bottom of the assembly is connected to the edge of the circular-rectangular compound hole of the assembly. Interference occurs and the assembly should move away from the point of contact.

图6b)中为搜孔阶段的第二种接触状态,单个接触点位于装配件底面轮廓的不完整圆弧边界上,说明装配件4与被装配件6处于边缘的尖角接触状态,此状态是搜孔完成前的临界状态,装配件应向远离接触点的方向运动较小的距离。Fig. 6b) is the second contact state in the hole searching stage. A single contact point is located on the incomplete arc boundary of the bottom surface of the assembly part, indicating that the assembly part 4 and the assembled part 6 are in a state of sharp corner contact on the edge. This state is the critical state before the hole search is completed, and the assembly should move a small distance away from the contact point.

图6c)中为搜孔阶段的第三种接触状态,两个接触点位于装配件底面轮廓的不完整圆弧边界上,说明两个接触点确定的猎狐段悬出被装配件6的圆-长方复合孔边界,因此装配件应向远离接触点连线的方向运动,此种接触状态可等效为图6a)中的第一种接触状态,将两个接触点看作是连线中点处的一个接触点,这样调整策略完全相同。Figure 6c) shows the third contact state in the hole search stage. The two contact points are located on the incomplete circular arc boundary of the bottom contour of the assembly, indicating that the fox hunting segment determined by the two contact points hangs out of the circle of the assembly 6. - The boundary of the rectangular compound hole, so the assembly should move away from the connection line of the contact points. This contact state can be equivalent to the first contact state in Figure 6a), and the two contact points are regarded as a connection line A touch point at the midpoint so that the adjustment strategy is exactly the same.

图6d)中为搜孔阶段的第四种接触状态,单个接触点位于装配件底面轮廓的长方部分内,说明装配件4与被装配件6由于对称面不平行产生了长方形部分的干涉,应绕z轴(图5中的垂直于纸面向外的轴线方向)将装配件进行旋转,使接触点被旋出方形部分。Fig. 6d) is the fourth contact state in the hole searching stage. A single contact point is located in the rectangular part of the bottom surface contour of the assembly part, indicating that the assembly part 4 and the assembled part 6 interfere with the rectangular part due to the non-parallel symmetry plane. The assembly should be rotated about the z-axis (direction of the axis perpendicular to the outward face of the paper in Figure 5) so that the contact points are unscrewed out of the square.

上述四种接触状态下,ΣOP系内的力平衡方程均可被统一地写作:Under the above four contact states, the force balance equation in the ΣO P system can be written uniformly:

Figure GDA0002236976670000152
Figure GDA0002236976670000152

其中Fx、Fy、Fz分别是将六维力/力矩传感器3测得的力反馈变换到ΣOP系内的三个力分量(此处的Fz与图3中的Fz定义相同),Mx、My、Mz分别将六维力/力矩传感器3测得的力反馈变换到ΣOP系内的三个力分量,f是搜孔阶段接触点(对于第三种接触状态是指等效后的接触点)处的法向力的大小。对式(7)进行求解,可得:Among them, F x , F y , and F z are respectively the three force components that transform the force feedback measured by the six-dimensional force/torque sensor 3 into the ΣO P system (the F z here is the same as the definition of F z in Fig. 3 ). ), M x , My , and M z respectively transform the force feedback measured by the six-dimensional force/torque sensor 3 into three force components in the ΣO P system, f is the contact point in the hole search stage (for the third contact state refers to the magnitude of the normal force at the equivalent contact point). Solving equation (7), we can get:

Figure GDA0002236976670000161
Figure GDA0002236976670000161

根据各类接触状态的定义以及式(8)中的求解结果,可在表1中汇总给出搜孔阶段内的接触状态判别式及各接触状态对应装配件调整策略。According to the definitions of various contact states and the solution results in equation (8), the contact state discriminants in the hole search stage and the corresponding assembly adjustment strategies for each contact state can be summarized in Table 1.

表1搜孔阶段内的接触状态判别式及各接触状态对应装配件调整策略Table 1 The contact state discriminant in the hole search stage and the corresponding assembly adjustment strategy for each contact state

Figure GDA0002236976670000162
Figure GDA0002236976670000162

在自动装配作业的搜孔阶段内,每次装配件4与被装配件6进行试探接触后的搜孔轨迹可按以下步骤规划:In the hole-searching stage of the automatic assembly operation, the hole-searching trajectories after the tentative contact between the assembly part 4 and the assembled part 6 can be planned according to the following steps:

步骤一、根据力反馈变换得到的力旋量PFe,按式(8)求解表1第2列中的力平衡方程式,得到f、l、θCStep 1. According to the force screw P F e obtained by the force feedback transformation, solve the force balance equation in the second column of Table 1 according to formula (8) to obtain f, l, θ C ;

步骤二、根据表1第3列中的判别式确定搜孔阶段的接触状态种类;Step 2: Determine the contact state type in the hole search stage according to the discriminant in the third column of Table 1;

步骤三、由表1第4列的调整策略,得到装配件在下一次试探中的位姿调整量,将其叠加到正常的调整运动轨迹中,得到下一次试探中装配件4的搜孔运动轨迹。其它步骤与具体实施方式三相同。Step 3: From the adjustment strategy in the fourth column of Table 1, obtain the pose adjustment amount of the assembly in the next trial, and superimpose it on the normal adjustment motion trajectory to obtain the hole search trajectory of the assembly 4 in the next trial. . Other steps are the same as in the third embodiment.

具体实施方式五:所述圆-长方复合孔类零件装配方法的插入阶段内,每当六维力/力矩传感器3测得的z轴力反馈Fz达到阈值Fmax时,需要根据当前接触状态调整装配件4的位姿,使装配过程可以继续进行下去而不至于陷入卡死的情况。插入阶段内装配件4的侧面和底面棱边可能与被装配件6接触,为对接触状态进行识别,按接触点在装配件4上所处位置的区别,定义了如图7所示的四种基本接触点。Embodiment 5: In the insertion stage of the circular-rectangular composite hole component assembly method, whenever the z-axis force feedback F z measured by the six-dimensional force/torque sensor 3 reaches the threshold value F max , the current contact The state adjusts the pose of the assembly 4 so that the assembly process can continue without being stuck. In the insertion stage, the side and bottom edges of the assembly 4 may be in contact with the assembled part 6. In order to identify the contact state, according to the difference in the position of the contact point on the assembly 4, four types as shown in Figure 7 are defined. Basic touchpoints.

按图7a)~d)的顺序,所定义的4种基本接触点分别是:In the order of Figure 7a) ~ d), the four basic contact points defined are:

第一类接触点位于装配件4的圆柱部分侧面,其力学平衡方程如式(9)所示,μ为装配件4与被装配件6之间的摩擦系数。The first type of contact point is located on the side of the cylindrical part of the fitting 4 , and its mechanical balance equation is shown in equation (9), where μ is the friction coefficient between the fitting 4 and the fitted part 6 .

Figure GDA0002236976670000171
Figure GDA0002236976670000171

第二类接触点位于圆柱部分底面棱边,其力学平衡方程如式(10)所示。The second type of contact point is located at the edge of the bottom surface of the cylindrical part, and its mechanical equilibrium equation is shown in equation (10).

Figure GDA0002236976670000172
Figure GDA0002236976670000172

第三类接触点位于方柱部分的侧面,其力学平衡方程如式(11)所示。The third type of contact point is located on the side of the square column, and its mechanical equilibrium equation is shown in equation (11).

Figure GDA0002236976670000173
Figure GDA0002236976670000173

第三类接触点位于方柱部分的底面棱边上,其力学平衡方程如式(12)所示。The third type of contact point is located on the edge of the bottom surface of the square column part, and its mechanical equilibrium equation is shown in formula (12).

Figure GDA0002236976670000174
Figure GDA0002236976670000174

根据实际接触状态中接触点的数量、所属基本接触点类型、相对位置,将插入阶段的接触状态分为了7大类41种,所分的七个大类分别是:含有一个第一或第二类基本接触点的单点第一类接触(图8)、含有一个第三或第四类基本接触点的单点第二类接触(图9)、含有一个第一类基本接触点和一个第二类基本接触点的两点第一类接触(图10)、含有一个第一或第二类基本接触点以及一个第三或第四类基本接触点的两点第二类接触(图11)、含有一个第三类基本接触点以及一个第四类基本接触点的两点第三类接触(图12)、含有一个第一或第二类基本接触点以及两个第三或第四类基本接触点的三点第一类接触(图13)、含有两个第一或第二类基本接触点以及一个第三或第四类基本接触点的三点第二类接触(图14)。上述7个大类中分别含有2、8、1、16、4、2、8种接触状态,为方便后面的表示,以P-i-j作为插入阶段接触大类的代号,其中i表示接触点的数量,j表示接触点数量确定后接触大类的序号;以P-i-j-k作为插入阶段隶属于P-i-j大类的接触状态代号,k表示P-i-j大类中的接触状态序号,例如两点第二类接触以P2-2表示,其中的第10种接触状态将被写作P2-2-10。According to the number of contact points in the actual contact state, the basic contact point type, and the relative position, the contact states in the insertion stage are divided into 7 categories and 41 types. The seven categories are: containing a first or second Single-point contact of the first type with a basic contact point of the first type (Fig. 8), single-point contact of the second type with a third or fourth basic contact point (Fig. 9), with a basic contact point of the first type and a Two-point first-type contact with a second-type basic contact point (Figure 10), two-point second-type contact with one first or second type of basic contact point and a third or fourth type of basic contact point (Figure 11) , a two-point contact of the third type with one basic contact point of the third type and one basic contact point of the fourth type (Fig. 12), containing one basic contact point of the first or second type and two basic contact points of the third or fourth type A three-point first-type contact (Fig. 13) of the contact points, a three-point second-type contact (Fig. 14) with two first or second basic contact points and one third or fourth basic contact point. The above 7 categories contain 2, 8, 1, 16, 4, 2, and 8 contact states, respectively. For the convenience of later presentation, P-i-j is used as the code of the contact category in the insertion stage, where i represents the number of contact points, j represents the serial number of the contact category after the number of contact points is determined; P-i-j-k is used as the contact state code belonging to the P-i-j category in the insertion stage, and k represents the contact state number in the P-i-j category. For example, the second type of contact with two points is P2-2 means that the 10th contact state will be written as P2-2-10.

对于图8~图14中的接触状态,其力学平衡方程根据式(9)~式(12)中基本接触点的力学方程组合得到,接触状态大类的判别条件可依照各大类的力学方程特点分类给出,上述力学平衡方程和判别条件的推导结果在表2中给出,其中ci和si(i=1,2,3)分别是cosθCi和sinθCi的简写,θCi和fi分别是第i个接触点在ΣOP系内的极角和法向接触力,kmn(m=1,2,…,7;n=1,2,3,4)是第m个接触状态大类的第n个判别参数,用于对大类内的具体接触状态进行判别,kmn的取值均在闭区间[-1,1]内。For the contact states in Figures 8 to 14, the mechanical equilibrium equations are obtained by combining the mechanical equations of the basic contact points in equations (9) to (12). The characteristic classification is given, and the derivation results of the above-mentioned mechanical equilibrium equation and discriminant conditions are given in Table 2, where c i and s i (i=1, 2, 3) are the abbreviations for cosθ Ci and sinθ Ci , respectively, θ Ci and f i are the polar angle and normal contact force of the i-th contact point in the ΣO P system, respectively, and k mn (m=1, 2,..., 7; n=1, 2, 3, 4) is the m-th contact force The nth discriminant parameter of the contact state category is used to discriminate the specific contact state within the category, and the values of k mn are all within the closed interval [-1, 1].

表2插入阶段接触状态大类的力学平衡方程及判别条件Table 2 Mechanical equilibrium equations and discriminant conditions for the categories of contact states in the insertion stage

Figure GDA0002236976670000181
Figure GDA0002236976670000181

Figure GDA0002236976670000191
Figure GDA0002236976670000191

对于表2内的接触状态大类,表3中给出了各大类内每种接触状态的判别条件和对应的调整运动,其中装配件的调整运动共有5种,即为在ΣOP系内沿x轴、y轴的两个平动和绕x轴、y轴、z轴的三个转动,以x、y、θx、θy、θz分别表示上述5种调整运动;每种调整运动都有正向和负向两个方向,分别以“+”和“-”表示;则调整运动被简写成变量符号和正负号复合的形式,例如使装配件4绕x轴负向转动在表3中被简写“θx-”。由于一些接触状态对应相同的装配件调整运动,在插入阶段的控制中不必对其进行区分,因此将对应相同调整运动的接触状态的判别条件取并集后,这些接触状态在表3中被合并写作一行。For the contact state categories in Table 2, Table 3 gives the discriminant conditions and corresponding adjustment motions of each contact state in each category, among which there are 5 kinds of adjustment motions of the assembly, namely the inner edge of the ΣOP system. The two translations of the x-axis and the y-axis and the three rotations around the x-axis, the y-axis and the z-axis are represented by x, y, θ x , θ y , and θ z to represent the above-mentioned five adjustment movements; each adjustment movement There are both positive and negative directions, which are represented by "+" and "-"respectively; then the adjustment motion is abbreviated as the compound form of the variable sign and the positive and negative sign, for example, the assembly 4 rotates in the negative direction around the x-axis at It is abbreviated as "θ x -" in Table 3. Since some contact states correspond to the same adjustment motion of the assembly, it is not necessary to distinguish them in the control of the insertion stage. Therefore, after taking the union of the discrimination conditions of the contact states corresponding to the same adjustment motion, these contact states are merged in Table 3. Write a line.

表3插入阶段接触状态种类的判别条件及装配件位姿调整策略Table 3 Discrimination conditions of contact state types in the insertion stage and the pose adjustment strategy of the assembly

Figure GDA0002236976670000192
Figure GDA0002236976670000192

Figure GDA0002236976670000201
Figure GDA0002236976670000201

Figure GDA0002236976670000211
Figure GDA0002236976670000211

在自动装配作业的插入阶段内,每次装配件4向下装配的装配力Fz达到阈值Fmax时,装配件的调整运动可按以下步骤规划:In the insertion phase of the automatic assembly operation, every time the assembly force F z of the downward assembly of the assembly 4 reaches the threshold value F max , the adjustment movement of the assembly can be planned as follows:

步骤一、根据力反馈变换得到的力旋量PFe中的力和力矩分量,按表2中第四列的大类判别条件判断当前接触状态所属的接触大类;Step 1. According to the force and moment components in the force screw P Fe obtained by the force feedback transformation, judge the contact category to which the current contact state belongs according to the category discrimination conditions in the fourth column of Table 2;

步骤二、对表2中第三列的力学平衡方程进行求解,得出反应接触点位置的θC1和基础种类判别参数kmnStep 2, solve the mechanical equilibrium equation of the third row in table 2, obtain the θ C1 and the basic species discrimination parameter k mn of the reaction contact point position;

步骤三、根据表3第三列的判别条件确定具体的接触状态,并在表3第四列中查得对应于当前接触状态的调整运动。其它步骤与具体实施方式四相同。Step 3: Determine the specific contact state according to the discrimination conditions in the third column of Table 3, and find the adjustment motion corresponding to the current contact state in the fourth column of Table 3. Other steps are the same as in the fourth embodiment.

具体实施方式六:作为对本发明中提出的搜孔阶段、插入阶段、以及整体的自动装配控制方法的可行性验证,进行了圆-长方复合孔类零件的自动装配仿真。在此仿真中,自动装配系统使用图3中的虚拟样机系统,装配件和被装配件选择了一种用于核工业的间隙配合圆-长方形复合孔类零件,其具体的尺寸参数如图15所示,圆柱部分的半径为1.5mm,方柱部分的长和宽分别为28mm和1.8mm,装配件中圆柱和方柱的厚度为30mm,装配件与被装配件的轴孔间隙为0.03mm。Embodiment 6: As the feasibility verification of the hole search stage, the insertion stage, and the overall automatic assembly control method proposed in the present invention, the automatic assembly simulation of the circular-rectangular compound hole parts is carried out. In this simulation, the automatic assembly system uses the virtual prototype system in Figure 3, and the assembly and the assembled part select a clearance-fit circular-rectangular compound hole type part used in the nuclear industry, and its specific size parameters are shown in Figure 15 As shown, the radius of the cylindrical part is 1.5mm, the length and width of the square column part are 28mm and 1.8mm respectively, the thickness of the cylinder and the square column in the assembly is 30mm, and the gap between the shaft hole of the assembly and the assembled part is 0.03mm .

所进行的自动装配仿真共分为3个部分:搜孔仿真、插入阶段接触状态判别的仿真和整体的自动装配仿真。搜孔仿真的目的是为对所提出的搜孔方法进行验证,初始状态下,自动装配控制系统中只存有被装配件6的推定位姿,此位姿与被装配件6位姿真值的偏差被称为搜孔误差,其中沿x轴、y轴平移的搜孔误差被称为搜孔的位置误差,初始的搜孔位置误差为±1mm范围内的随机数;绕z轴转动的搜孔误差被称为搜孔的角度误差,初始的搜孔角度误差为±4°范围内的随机数(沿z轴平动、绕x轴和y轴转动方向上未设置搜孔误差)。对于上述范围内的不同初始搜孔误差,进行了多组搜孔仿真,如图16所示是其中一组搜孔仿真的接触力曲线和搜孔误差曲线。The automatic assembly simulation carried out is divided into three parts: hole search simulation, the simulation of the contact state discrimination in the insertion stage and the overall automatic assembly simulation. The purpose of the hole search simulation is to verify the proposed hole search method. In the initial state, only the estimated pose of the assembled part 6 exists in the automatic assembly control system, and this pose and the true value of the assembled part 6 pose. The deviation is called the hole search error, and the search hole error along the x-axis and y-axis is called the position error of the search hole. The initial search hole position error is a random number within the range of ±1mm; the rotation around the z-axis The hole search error is called the angle error of the hole search, and the initial angle error of the hole search is a random number within the range of ±4° (the hole search error is not set in the translational direction along the z-axis, and the rotation around the x-axis and the y-axis). For different initial hole search errors within the above range, multiple groups of hole search simulations were carried out. Figure 16 shows the contact force curve and hole search error curve of one of the group of hole search simulations.

在图16所示的仿真过程中,为简化装配件位姿的调节运动,对三个方向(沿x轴和y轴平移、绕z轴转动)的搜孔误差分别单独进行补偿,因此在搜孔过程中搜孔的位置误差和角度误差呈现出一定的波动。在搜孔结束的时刻,位置均小于0.1mm,角度误差小于0.3°,同时整个搜孔过程中接触力小于10N,接触力产生的力矩不到0.1Nm,由此可知所提出的搜孔方法能在不损坏装配件与被装配件(接触力和力矩较小)的前提下,将搜孔误差减小到可开始进行插入的程度,证明了所提出方法的有效性。In the simulation process shown in Figure 16, in order to simplify the adjustment movement of the pose of the assembly, the hole search errors in the three directions (translation along the x-axis and y-axis, and rotation around the z-axis) are separately compensated. During the hole searching process, the position error and angle error of hole search show a certain fluctuation. At the end of the hole search, the positions are all less than 0.1mm, and the angle error is less than 0.3°. At the same time, the contact force is less than 10N and the moment generated by the contact force is less than 0.1Nm during the entire hole search process. It can be seen that the proposed hole search method can Under the premise of not damaging the assembly and the assembled parts (the contact force and moment are small), the hole search error is reduced to the level where the insertion can be started, which proves the effectiveness of the proposed method.

为验证所提出的插入阶段内接触状态判别方法,所进行的第二部分仿真为插入阶段的接触状态判别仿真,仿真过程中从每大类接触中随机选择一种接触状态,每个接触状态持续300个采样周期,然后切换到下一大类的接触状态,如此可以得到对应于7个接触状态的2100点采样序列,对此序列中的每个点根据表2和表3中的判别条件进行判别,即可得到接触状态的判别结果。In order to verify the proposed method for discriminating the contact state in the insertion stage, the second part of the simulation is the simulation of the contact state discrimination in the insertion stage. During the simulation process, a contact state is randomly selected from each type of contact, and each contact state lasts for 300 sampling cycles, and then switch to the next category of contact states, so that a 2100-point sampling sequence corresponding to 7 contact states can be obtained. The judgment result of the contact state can be obtained.

按上述方法,进行了多组接触状态的判别仿真,其中的一组仿真中预设的7个接触状态分别是P-1-1-1、P-1-2-2、P-2-1-1、P-2-2-9、P-2-3-3、P-3-1-2、P-3-2-7,图17给出了仿真过程得到的判别结果(图上方的接触状态示意图和代号)和接触力曲线(其中

Figure GDA0002236976670000221
),可以看出识别结果的正确率为100%。According to the above method, multiple sets of contact state discrimination simulations are carried out, and the preset 7 contact states in one set of simulations are P-1-1-1, P-1-2-2, and P-2-1 respectively. -1, P-2-2-9, P-2-3-3, P-3-1-2, P-3-2-7, Figure 17 shows the discrimination results obtained in the simulation process (the upper part of the figure contact state schematic diagram and code) and contact force curve (among which
Figure GDA0002236976670000221
), it can be seen that the accuracy of the recognition results is 100%.

为对所提出的自动装配方法进行完整的可行性验证,进行了包含接近阶段、搜孔阶段、插入阶段的连贯的装配仿真,仿真得到的录像截图如图18所示,其中0~6s为接近阶段的远景录像截图;6s后主要是装配件4在被装配件6附近的微调,因此切换到近景录像,可以看到在20s左右搜孔过程结束,此时装配件4已基本对正被装配件6;20s后开始插入阶段,至45s装配件4已完全装入被装配件6,完成了装配作业。In order to verify the complete feasibility of the proposed automatic assembly method, a coherent assembly simulation including the approach stage, the hole search stage, and the insertion stage is carried out. Screenshot of the long-range video at the stage; after 6s, it is mainly the fine-tuning of the assembly 4 near the assembled part 6, so switch to the close-up video, you can see that the hole search process ends around 20s, and the assembly 4 is basically aligned with the assembled part. 6; The insertion stage begins after 20s. By 45s, the assembly 4 has been completely loaded into the assembled part 6, and the assembly operation is completed.

图19给出了装配过程中装配力和装配件4距离装配完成位置的误差曲线,可以看到整个装配过程中的装配力受力小于16N,力矩小于0.04Nm,由此可知所提出的圆-长方复合孔类零件装配方法能够在保证装配柔顺的前提下,完成圆-长方复合孔类零件的自动装配作业。Figure 19 shows the error curve of the assembly force and the distance between the assembly part 4 and the assembly completion position during the assembly process. It can be seen that the assembly force in the entire assembly process is less than 16N and the torque is less than 0.04Nm. It can be seen that the proposed circle-length The assembly method of the square compound hole type parts can complete the automatic assembly operation of the round-rectangular compound hole type parts under the premise of ensuring the assembly flexibility.

Claims (3)

1. A robot automatic assembly method for round-rectangular composite hole parts is characterized in that the assembly objects of the assembly method are hole parts and shaft parts which have round and rectangular straight sides and right angles in geometric elements, wherein the parts with the composite round holes and square holes are called round-rectangular composite hole parts, the parts with the composite round columns and square columns are called round-rectangular composite shaft parts,
the automatic assembly system for the round-rectangular composite hole type parts, which is applied to the assembly method, is characterized by comprising the following steps: the robot comprises an upper computer, a base (1), a six-degree-of-freedom robot (2), a six-dimensional force/torque sensor (3), an assembly part (4), a clamping fixing seat (5) and an assembled part (6); wherein the six-degree-of-freedom robot 2 is any robot which can realize spatial six-degree-of-freedom motion and has position control precision meeting assembly operation, the upper computer is communicated with 6 servo driving/controllers and a six-dimensional force/torque sensor (3) of the six-degree-of-freedom robot (2) through a bus, the assembly part (4) is a round-rectangular composite shaft part, the assembled part (6) is a round-rectangular composite hole part,
the assembly part (4) is clamped on a tool side interface of the six-dimensional force/torque sensor (3), a robot side interface of the six-dimensional force/torque sensor (3) is fixedly connected with a tail end interface of the six-degree-of-freedom robot (2), the assembly part (6) with a round-rectangular composite hole is fixed in an interface of the clamping fixed seat (5), and the clamping fixed seat (5) and the six-degree-of-freedom robot (2) are both fixed on the base (1);
according to the design drawing sizes of the base (1), the clamping fixed seat (5) and the assembled part (6) or the actual measurement result after the system is assembled, the relative position of the round-rectangular composite hole of the assembled part (6) relative to the six-degree-of-freedom robot (2) can be calculated, the relative position is defined as the estimated position of the assembled part (6), and the estimated position is not equal to the actual position of the assembled part (6), so if the motion of the assembled part (4) is directly pressed against the estimated position of the assembled part (6) in the assembling process, the interference between the assembled part (6) and the assembled part (4) is easy to generate, and the assembled part (4) needs to be adjusted according to the feedback of the six-dimensional force/torque sensor (3);
the assembling process is divided into three stages, namely an approaching stage, a hole searching stage and an inserting stage;
the assembling operation is started by entering an approaching stage, the assembling part (4) needs to rapidly approach the assembled part (6) from an initial position under the control of the six-freedom-degree robot (2) to an assembling preparation position above the estimated position of the assembled part (6), and the preparation position can be added with an increment vector [0,0, delta z ] from the estimated position]TCalculating to obtain delta z as position increment in the vertical direction; trajectory planning for the above described motion applies a 5-th order spline, where the velocity and acceleration at the start and end points are both0, the starting point refers to the initial position of the assembly (4), and the end point refers to the assembly preparation position;
after the assembly part (4) reaches the assembly preparation position, the hole searching stage is started, after the stage is started, the six-degree-of-freedom robot (2) enables the assembly part (4) to slowly move towards the assembled part (6) for trial, and when the contact force in the vertical direction is larger than a threshold value FmaxThe control system of the assembly operation judges the contact state between the assembly part (4) and the assembled part (6) according to the feedback of the later six-dimensional force/torque sensor (3), then lifts the assembly part (4) for a distance and adjusts the pose of the assembly part according to the previous contact state, and the trial process of the assembly part (4) to the assembled part (6) is repeated after the adjustment is completed until the conditions are met:
Fz<Fmax&h≥hd (1)
wherein FzRepresents the vertical force component, F, measured by a six-dimensional force/moment sensor (3)maxIs a threshold value of the contact force, h represents the depth of the assembly part (4) inserted into the assembled part (6), hdJudging a threshold value of the insertion depth after hole searching is completed;
the contact states of the assembly parts (4) and the assembled parts (6) in the hole searching stage are 4, and the hole searching movement of the assembly parts (4) can be determined according to the contact state after each trial;
in the first contact state of the hole searching stage, a single contact point is positioned inside an incomplete arc of the bottom surface contour of the assembly part, which indicates that one point in the bottom surface contour of the assembly part interferes with the edge of the round-rectangular composite hole of the assembled part, and the assembly part moves in a direction away from the contact point;
in the second contact state of the hole searching stage, a single contact point is positioned on the incomplete arc boundary of the bottom surface outline of the assembly part, which indicates that the assembly part (4) and the assembled part (6) are in a sharp-angle contact state of the edge, the state is a critical state before the hole searching is finished, and the assembly part moves a small distance in a direction away from the contact point;
in the third contact state of the hole searching stage, two contact points are positioned on the incomplete arc boundary of the bottom surface outline of the assembly part, which indicates that the fox hunting section determined by the two contact points is suspended out of the circle-rectangle composite hole boundary of the assembled part (6), so that the assembly part should move towards the direction far away from the connecting line of the contact points, the contact state can be equivalent to the first contact state of the hole searching stage, and the two contact points are regarded as one contact point at the middle point of the connecting line, so that the adjustment strategies are completely the same;
in the fourth contact state of the hole searching stage, a single contact point is positioned in a rectangular part of the bottom surface outline of the assembly part, the interference of the rectangular part is generated by the fact that the symmetry plane of the assembly part (4) and the assembled part (6) is not parallel, and the assembly part is rotated around the z axis to enable the contact point to be screwed out of the rectangular part;
in the above four contact states, Sigma OPThe force balance equations within the system can all be written uniformly as:
Figure FDA0003607847680000021
wherein Fx、Fy、FzRespectively, the force feedback measured by the six-dimensional force/torque sensor (3) is converted into sigma-delta OPThree force components within the system;
Mx、My、Mzrespectively converting the force feedback measured by the six-dimensional force/torque sensor (3) into sigma-delta OPThree force components in the system, wherein f is the size of the normal force at the contact point in the hole searching stage; solving equation (7) can obtain:
Figure FDA0003607847680000031
according to the definitions of various contact states and the solving result in the formula (8), the contact state discriminant and the assembly adjustment strategy corresponding to each contact state in the hole searching stage are summarized in table 1:
TABLE 1 discriminant of contact status in hole-searching stage and adjustment strategy for each assembly corresponding to contact status
Figure FDA0003607847680000032
In the hole searching stage of the automatic assembly operation, the hole searching track after the assembly part (4) and the assembled part (6) are in trial contact each time can be planned according to the following steps:
step one, according to the force feedback transformation, the force rotation quantity is obtainedPFeThe force balance equation in column 2 of Table 1 was solved according to equation (8) to obtain f, l, and θC
Step two, determining the contact state type of the hole searching stage according to the discriminant in the 3 rd column of the table 1;
step three, obtaining the pose adjustment amount of the assembly part in the next trial by the adjustment strategy in the 4 th column of the table 1, and superposing the pose adjustment amount to the normal adjustment motion track to obtain the hole searching motion track of the assembly part (4) in the next trial;
when the condition in the formula (1) is met, the tail end of the assembly part (4) is inserted into the round-rectangular composite hole of the assembled part (6), and the insertion depth reaches hdWhen the hole searching is finished, switching to an insertion stage; during the insertion phase the insert (4) is continuously advanced in the negative z-axis direction, i.e. in the direction in which the insert is inserted vertically downwards into the component to be assembled, whenever FzReaches the threshold value FmaxAnd when the plugging process is considered to be possibly blocked, judging the inserted contact state, adjusting the position of the assembly part (4) in the hole according to the contact state, and continuing to insert until the conditions are met:
Fz<Fmax&h≥hmax(2) wherein h ismaxIs an insertion depth discrimination threshold for completion of assembly;
when the condition in the formula (2) is met, the depth of the assembly part (4) inserted into the assembled part (6) reaches hmaxThe assembly member (4) is considered to be successfully assembled into the assembled member (6), and the assembly operation is finished.
2. The method for the robotic automatic assembly of circular-rectangular composite hole parts as claimed in claim 1, wherein the six-degree-of-freedom robot (2) during the assembly operation is controlled by a force/position hybrid control system,
firstly, a coordinate system is defined, the origin of a base coordinate system sigma-xyz is fixed at the center of a robot interface of a base (1), and an assembly coordinate system sigma-OP-xyz sum of measurements Σ OS-the origin of xyz is located at the centre of the circle of the lower surface of the fitting (4) and the force measuring center of the six-dimensional force/torque sensor (3), respectively; in sigma OPIn the system, the z-axis direction is parallel to the insertion direction of the assembly part (4) into the assembled part (6), the x-axis direction is parallel to the symmetry plane of the geometric outline of the assembly part (4) and is vertical to the z-axis, and the y-axis direction is determined by the vector direction obtained by multiplying the unit vector of the z-axis by the unit vector of the x-axis;
the variables of the control system are defined as follows: x ═ X, y, z, θP1P2P3]TIs the pose vector of the assembly member (4), wherein x, y and z are respectively sigma OPAt a position coordinate, theta, within a base coordinate system sigma OP1、θP2、θP3Are respectively sigma OP3 Euler angles relative to the Σ O system; theta is ═ theta123456]TAnd τ ═ τ [ τ ]123456]TAre respectively defined as a joint angle and a joint driving moment vector of the six-degree-of-freedom robot (2), wherein thetaiAnd τi(i-1, 2, …,6) represents the joint angle and drive torque of the ith joint, respectively; SFeIs a six-dimensional force/torque sensor (3) in sigma-delta OSRaw data of the torque measured in the system, PFeIs to beSFeConversion to Σ OPThe amount of internal rotation of the system; xd、Fd、θdX, F and theta target values in the control process respectively, and δ X and δ F are the adjustment quantity of X and the deviation of F theoretical value and actual value in the control process respectively;
for a force/position hybrid control system for automatically assembling circular-rectangular composite hole parts, the control flow in each control period comprises the following steps:
step one, feedback sampling: servo motor encoder and six-dimensional force/torque transmission for six-degree-of-freedom robot (2)The sensors 3 read the data to respectively obtain the joint angle vectors theta and Sigma O of the robotSAmount of rotation of force in the systemSFeThe pose vector X, Sigma O of the assembly part can be obtained from theta according to the positive kinematic simulation of the six-degree-of-freedom robot 2PIntrinsic torque PFeCan be calculated according to the formula (3);
Figure FDA0003607847680000041
in formula (3), R is Σ OSIs tied to sigma OPRotational transformation matrix of the system, PSIs OSPoint-in-Sigma OPPosition vector within the system, 03×3Is a 3-order all-zero square matrix;
step two, planning a track: planning the pose track of the assembly part (4) according to the assembly flow, and if the assembly process is in an approaching stage, calculating the target pose X of the assembly part (4) at the current moment according to a 5-time spline functiond(ii) a If the assembly process is in the hole searching stage or the inserting stage, the z-axis component F of the contact force needs to be judged firstlyzWhether or not the threshold value F is reachedmaxIf F isz<FmaxX is generated by the assembly part (4) continuously approaching or inserting the assembly part (6)dOtherwise, the pose adjustment amount of the assembly part 4 is obtained according to the contact state, and then X is generated according to the adjustment amountd
Step three, impedance control: according to the target force screw quantity FdAnd force feedback PFeThe deviation delta F of the assembly part calculates the adjustment quantity delta X of the pose X of the assembly part, the used impedance control model is shown as a formula (4),
Figure FDA0003607847680000051
m, B, K are respectively an inertia array, a damping array and a rigidity array of the virtual impedance model between the assembly part (4) and the assembled part (6); for the model in the formula (4), the transfer function from δ F to δ X is shown in the formula (5), δ X is calculated according to δ F and the transfer function during actual control,
Figure FDA0003607847680000052
wherein s represents the laplace variable in the transfer function;
step four, position control: planning the track to obtain the target pose XdSuperposed with the adjustment delta X obtained by impedance control, and calculated according to the inverse kinematics equation of the six-freedom-degree robot (2) to obtain a joint angle target vector thetadThen calculating the joint driving torque tau according to the feedforward + PD feedback control law of the formula (6), sending the joint driving torque tau to a servo driving/controlling device of each joint of the robot, finishing the instruction output of the current control period,
Figure FDA0003607847680000053
wherein M isRIs a generalized inertial array estimation value, C, of a six-degree-of-freedom robot 2RAnd GRRespectively an estimate of the centrifugal/Coriolis force term and an estimate of the gravity term, KvAnd KpThe coefficient matrix of differential terms and the coefficient matrix of proportional terms in the PD feedback control are respectively.
3. The method for robotic assembly of circular-rectangular composite hole-like parts according to claim 2, wherein there are four main types of 41 contact states in the insertion stage, and each contact state corresponds to an independent assembly adjustment strategy,
z-axis force feedback F measured by the six-dimensional force/torque sensor (3) every time during the insertion phasezReaches the threshold value FmaxIn the process, the pose of the assembly part (4) needs to be adjusted according to the current contact state, so that the assembly process can be continued without being stuck; the lateral and bottom edges of the interior fitting (4) may come into contact with the fitting part (6) during the insertion phase, and for the purpose of identifying the contact state, four basic contact points are defined, differing from the positions of the contact points on the fitting part (4), in each case:
the first type of contact point is positioned on the side surface of the cylindrical part of the assembly part (4), the mechanical balance equation is shown as a formula (9), mu is the friction coefficient between the assembly part (4) and the assembled part (6),
Figure FDA0003607847680000061
the second type of contact point is positioned at the edge of the bottom surface of the cylindrical part, the mechanical balance equation of the second type of contact point is shown as a formula (10),
Figure FDA0003607847680000062
the third type of contact point is positioned on the side surface of the square column part, the mechanical balance equation of the third type of contact point is shown as the formula (11),
Figure FDA0003607847680000063
the third type of contact point is positioned on the edge of the bottom surface of the square column part, the mechanical balance equation is shown as the formula (12),
Figure FDA0003607847680000064
according to the number of contact points in the actual contact state, the types of the basic contact points and the relative positions, the contact states in the insertion stage are divided into 7 types of 41 types, and the seven types are respectively: a single point first type contact comprising a first or second type of base contact point, a single point second type contact comprising a third or fourth type of base contact point, a two point first type contact comprising a first type of base contact point and a second type of base contact point, a two point second type contact comprising a first or second type of base contact point and a third or fourth type of base contact point, a two point third type contact comprising a third type of base contact point and a fourth type of base contact point, a three point first type contact comprising a first or second type of base contact point and two third or fourth type of base contact point, a three point second type contact comprising two first or second type of base contact point and a third or fourth type of base contact point; the 7 major categories respectively contain 2, 8, 1, 16, 4, 2 and 8 contact states, and for the convenience of later representation, P-i-j is taken as the code of the contact major category in the insertion stage, wherein i represents the number of the contact points, and j represents the serial number of the contact major category after the number of the contact points is determined; p-i-j-k is taken as the contact state number belonging to the P-i-j large class in the insertion stage, k represents the contact state serial number in the P-i-j large class, for example, the second-class contact with two points is taken as P2-2, wherein the 10 th contact state is written as P2-2-10;
for the above 7 types of contact states, the mechanical balance equations are obtained according to the combination of the mechanical equations of the basic contact points in the equations (9) to (12), the mechanical balance equations and the corresponding judgment conditions for the types of contact states are given in table 2,
TABLE 2 mechanical equilibrium equation and discrimination condition for large class of contact state at insertion stage
Figure FDA0003607847680000071
Figure FDA0003607847680000081
C in Table 2iAnd si(i ═ 1,2,3) are cos θ, respectivelyCiAnd sin θCiAbbreviation of (a), thetaCiAnd fiRespectively, the ith contact point is at Sigma OPPolar angle and normal contact force in the system, kmn(m is 1,2, …, 7; n is 1,2,3,4) is the nth discrimination parameter for the mth major category of contact states for discriminating the specific contact state within the major category, k ismnAll values of (A) are in a closed range of [ -1,1 [ ]]Internal;
for the broad categories of contact conditions in Table 2, the criteria and correspondence for each contact condition in each broad category are given in Table 3Wherein the adjusting movement of the assembly member has a total of 5, namely two translation movements along the x-axis and the y-axis and three rotation movements around the x-axis, the y-axis and the z-axis in the Σ OP system, and the two translation movements are equal to each other in x, y and θx、θy、θzRespectively showing the above 5 adjustment movements; each adjustment movement has a positive direction and a negative direction, which are respectively indicated by a plus sign and a minus sign; the adjustment movement is abbreviated to a combination of the sign of the variables and the sign, so that a negative rotation of the assembly 4 about the x-axis is abbreviated in table 3 to "θx- "; after the judgment conditions of the contact states corresponding to the same adjustment motion are merged together, these contact states are merged and written as one row in table 3,
TABLE 3 Distinguishing Condition for contact State type in insertion phase and Assembly pose adjustment strategy
Figure FDA0003607847680000082
Figure FDA0003607847680000091
Assembly force F for each downward assembly of the assembly part (4) during the insertion phase of an automatic assembly operationzReaches the threshold value FmaxThe adjustment movement of the fitting can then be planned as follows:
step one, according to the force feedback transformation, the force rotation quantity is obtainedPFeJudging the contact large class to which the current contact state belongs according to the large class judgment conditions in the fourth column in the table 2 by the force and moment components in the table;
step two, solving the mechanical equilibrium equation of the third column in the table 2 to obtain the position theta of the reaction contact pointC1And a base class discrimination parameter kmn
And step three, determining a specific contact state according to the judgment conditions in the third column of the table 3, and checking the adjustment motion corresponding to the current contact state in the fourth column of the table 3.
CN201910853702.7A 2019-09-10 2019-09-10 A robot automatic assembly method for round-rectangular compound hole parts Expired - Fee Related CN110549338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910853702.7A CN110549338B (en) 2019-09-10 2019-09-10 A robot automatic assembly method for round-rectangular compound hole parts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910853702.7A CN110549338B (en) 2019-09-10 2019-09-10 A robot automatic assembly method for round-rectangular compound hole parts

Publications (2)

Publication Number Publication Date
CN110549338A CN110549338A (en) 2019-12-10
CN110549338B true CN110549338B (en) 2022-06-21

Family

ID=68739508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910853702.7A Expired - Fee Related CN110549338B (en) 2019-09-10 2019-09-10 A robot automatic assembly method for round-rectangular compound hole parts

Country Status (1)

Country Link
CN (1) CN110549338B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI721895B (en) * 2020-05-27 2021-03-11 新代科技股份有限公司 Robot arm adjustment method and the adjustment system thereof
CN111702766B (en) * 2020-07-07 2021-10-22 西南科技大学 An adaptive door-opening and twisting method for robotic arms based on force sense guidance
CN112631201B (en) * 2020-12-28 2022-03-25 佛山科学技术学院 Hole searching control method and system for shaft hole assembly
CN113478507B (en) * 2021-07-09 2025-08-12 华中科技大学 Robot experiment platform based on serial six-dimensional force sensor and operation method
CN114750153B (en) * 2022-04-13 2024-03-19 上海电气集团股份有限公司 Motion control system for robot arm, cooperative robot and storage medium
CN114918651B (en) * 2022-06-23 2023-08-08 清华大学 A method and device for assembling a shaft hole of a task-condition self-adaptive robot
CN116713996A (en) * 2023-06-29 2023-09-08 太原理工大学 A high-speed digging system and control method based on a ground tank fermentation robot
CN116900690A (en) * 2023-07-31 2023-10-20 卡奥斯工业智能研究院(青岛)有限公司 Flexible manufacturing automatic assembly method
CN118664600B (en) * 2024-07-19 2025-09-16 哈尔滨工业大学 Speed-changing cross searching method aiming at alignment of assembly center shaft hole gesture
CN119635635A (en) * 2024-12-16 2025-03-18 浙江钱江机器人有限公司 A force control method, system and storage medium based on industrial robot practical operation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19744006A1 (en) * 1997-09-26 1999-04-01 Berliner Wasser Betriebe Inserting, positioning, and fastening of components in cavities of different cross-section
CN101041220A (en) * 2006-03-22 2007-09-26 中国科学院自动化研究所 Method for realizing the assembly of shaft hole having high-precision by using robot having low precision
CN101273197A (en) * 2005-10-04 2008-09-24 三洋机工株式会社 Sloping plate type fluid machine assembly method and assembly device
CN101428655A (en) * 2008-12-19 2009-05-13 哈尔滨工业大学 Wheeled mobile device for foot for humanoid robot, polypodia walking vehicle
CN104625676A (en) * 2013-11-14 2015-05-20 沈阳新松机器人自动化股份有限公司 Shaft hole assembly industrial robot system and working method thereof
CN105082114A (en) * 2015-09-18 2015-11-25 哈尔滨博实自动化股份有限公司 Robot
CN107186460A (en) * 2017-07-10 2017-09-22 上海新时达电气股份有限公司 Industrial robot carries out the method and its system of peg-in-hole assembly

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8147414B2 (en) * 2006-10-12 2012-04-03 Innoscion, Llc Image guided catheter having remotely controlled surfaces-mounted and internal ultrasound transducers
US10582785B2 (en) * 2016-08-20 2020-03-10 Marat Purliyev Infusion package mover

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19744006A1 (en) * 1997-09-26 1999-04-01 Berliner Wasser Betriebe Inserting, positioning, and fastening of components in cavities of different cross-section
CN101273197A (en) * 2005-10-04 2008-09-24 三洋机工株式会社 Sloping plate type fluid machine assembly method and assembly device
CN101041220A (en) * 2006-03-22 2007-09-26 中国科学院自动化研究所 Method for realizing the assembly of shaft hole having high-precision by using robot having low precision
CN101428655A (en) * 2008-12-19 2009-05-13 哈尔滨工业大学 Wheeled mobile device for foot for humanoid robot, polypodia walking vehicle
CN104625676A (en) * 2013-11-14 2015-05-20 沈阳新松机器人自动化股份有限公司 Shaft hole assembly industrial robot system and working method thereof
CN105082114A (en) * 2015-09-18 2015-11-25 哈尔滨博实自动化股份有限公司 Robot
CN107186460A (en) * 2017-07-10 2017-09-22 上海新时达电气股份有限公司 Industrial robot carries out the method and its system of peg-in-hole assembly

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
圆—长方形复合孔件机器人装配技术研究;宋健伟;《圆—长方形复合孔件机器人装配技术研究》;中国优秀硕士学位论文全文数据库 信息科技辑;20180215(第2(2018)期);第I140-934页 *

Also Published As

Publication number Publication date
CN110549338A (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN110549338B (en) A robot automatic assembly method for round-rectangular compound hole parts
Bartoš et al. An overview of robot applications in automotive industry
Mohammed et al. Minimizing energy consumption for robot arm movement
Chen et al. Robotic grinding of a blisk with two degrees of freedom contact force control
Božek Robot path optimization for spot welding applications in automotive industry
Abele et al. Modeling and identification of an industrial robot for machining applications
Dumas et al. Joint stiffness identification of six-revolute industrial serial robots
JP6351293B2 (en) Robot system and article manufacturing method
Lee et al. Posture optimization in robotic drilling using a deformation energy model
CN106272416A (en) Feel based on power and the robot slender axles Fine Boring system and method for vision
Shen et al. Asymptotic trajectory tracking of manipulators using uncalibrated visual feedback
Lehmann et al. Robot joint modeling and parameter identification using the clamping method
Schnoes et al. Model-based planning of machining operations for industrial robots
Liu et al. An efficient insertion control method for precision assembly of cylindrical components
Schneider et al. Automatic pose optimization for robotic processes
Wang et al. An experimental study on the dynamics calibration of a 3-DOF parallel tool head
Theissen et al. Quasi-static compliance calibration of serial articulated industrial manipulators
Becker et al. Automation of post-processing in additive manufacturing with industrial robots
CN110450165A (en) A kind of robot calibration method based on zero-force control
Bruzzone et al. Modelling and control of peg-in-hole assembly performed by a translational robot
CN118417857A (en) Low vortex shaft-oriented parallel platform flexible assembly system
Tian et al. Research on robotic automatic machining for welding groove of complex integral impeller
Falco et al. Advances in robot technology supporting low-volume/high-mix small part assembly operations
Liao et al. Error Compensation for Industrial Robots
Zhang et al. Stiffness identification for serial robot manipulator based on uncertainty approach

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220621