CN114273681B - Toroidal worm helical surface machining system and method based on tandem manipulator - Google Patents

Toroidal worm helical surface machining system and method based on tandem manipulator Download PDF

Info

Publication number
CN114273681B
CN114273681B CN202111514060.1A CN202111514060A CN114273681B CN 114273681 B CN114273681 B CN 114273681B CN 202111514060 A CN202111514060 A CN 202111514060A CN 114273681 B CN114273681 B CN 114273681B
Authority
CN
China
Prior art keywords
worm
processing
mechanical arm
machining
toroidal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111514060.1A
Other languages
Chinese (zh)
Other versions
CN114273681A (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.)
Shanghai University of Engineering Science
Original Assignee
Shanghai University of Engineering Science
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 Shanghai University of Engineering Science filed Critical Shanghai University of Engineering Science
Priority to CN202111514060.1A priority Critical patent/CN114273681B/en
Publication of CN114273681A publication Critical patent/CN114273681A/en
Application granted granted Critical
Publication of CN114273681B publication Critical patent/CN114273681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

本发明涉及一种基于串联机械臂的环面蜗杆螺旋面加工系统及其方法,该系统包括加工平台和机械臂,加工平台上夹持安装有待加工环面蜗杆,机械臂的末端通过电主轴连接有加工刀具,环面蜗杆在加工平台上按照设定转速发生转动,机械臂根据设定的加工轨迹和指令控制加工刀具的工作位置和加工力,以完成对环面蜗杆的加工。与现有技术相比,本发明实现了环面蜗杆的高效自动化加工,同时保证了加工精度,能够有效提高加工效率和批量生产的一致性、降低生产成本,尤其适用于加工大尺寸的环面蜗杆。

Figure 202111514060

The invention relates to a helical surface processing system and method of a toroidal worm based on a series mechanical arm. The system includes a processing platform and a mechanical arm. The toroidal worm to be processed is clamped and installed on the processing platform, and the end of the mechanical arm is connected by an electric spindle. There is a processing tool, and the toroidal worm rotates on the processing platform according to the set speed. The mechanical arm controls the working position and processing force of the processing tool according to the set processing trajectory and instructions to complete the processing of the toroidal worm. Compared with the prior art, the present invention realizes high-efficiency automatic processing of toroidal worms while ensuring machining accuracy, can effectively improve processing efficiency and batch production consistency, and reduce production costs, and is especially suitable for processing large-sized torus worm.

Figure 202111514060

Description

基于串联机械臂的环面蜗杆螺旋面加工系统及其方法Toroidal worm helical surface machining system and method based on tandem manipulator

技术领域technical field

本发明涉及环面蜗杆加工技术领域,尤其是涉及一种基于串联机械臂的环面蜗杆螺旋面加工系统及其方法。The invention relates to the technical field of toroidal worm machining, in particular to a toroidal worm helical surface machining system and method thereof based on tandem mechanical arms.

背景技术Background technique

与圆柱蜗杆传动相比,环面蜗杆传动具有承载能力强、体积小、传动效率高、使用寿命长的优点,已经被广泛用于矿冶、石化、起重运输、船舶、动力和轻工机械的传动装置,尤其是平面、双锥面等二次包络环面蜗杆传动,比直廓环面蜗杆传动具有更优越的性能。Compared with the cylindrical worm drive, the toroidal worm drive has the advantages of strong load capacity, small size, high transmission efficiency and long service life, and has been widely used in mining and metallurgy, petrochemical, lifting and transportation, ships, power and light industrial machinery The transmission device, especially the secondary enveloping toroidal worm drive such as plane and double cone, has more superior performance than the straight profile toroidal worm drive.

目前,环面蜗杆螺旋面的加工步骤包括粗加工和精加工两部分,其中,粗加工是由车削或铣削方式完成,精加工则由磨削的方式完成,传统的磨削方式是在具有回转台的专用机床上进行的,加工时通过沿蜗杆径向移动回转台来调节中心距,通过配挂轮来调整传动比,即使是采用数控机床加工,也需要配置结构复杂的专用磨头,对刀过程需要借助特殊工装。At present, the processing steps of the helical surface of the toroidal worm include rough machining and finishing. Among them, the rough machining is completed by turning or milling, and the finishing is completed by grinding. The traditional grinding method is to The center distance is adjusted by moving the rotary table along the radial direction of the worm during processing, and the transmission ratio is adjusted by matching the hanger wheel. Even if the CNC machine tool is used for processing, it is necessary to configure a special grinding head with a complex structure. The knife process requires special tooling.

对于平面包络环面蜗杆螺旋面的加工,需要将专用磨头安装在机床的B轴转盘,并且B轴和C轴联动实现一侧螺旋面的磨削,当加工另外一侧螺旋面时,还需要将蜗杆调头安装,或者将磨头绕B轴旋转360°反向加工,而二次装卡和反向加工必然会导致重复定位误差增大、并且效率较低;For the machining of the plane enveloping toroidal worm helicoid, a special grinding head needs to be installed on the B-axis turntable of the machine tool, and the B-axis and the C-axis are linked to realize the grinding of one side of the helicoid. When processing the other side of the helicoid, It is also necessary to reverse the installation of the worm, or rotate the grinding head 360° around the B axis for reverse processing, and the secondary clamping and reverse processing will inevitably lead to increased repeat positioning errors and low efficiency;

对于锥面包络环面蜗杆螺旋面的加工,虽然左右两侧螺旋面可以同时成型,但是专用磨头结构复杂,机床调整烦琐、加工周期长、成本高,而且加工范围受回转台直径的限制,以上这些都不利于环面蜗杆的高效自动化加工,难以满足当前环面蜗杆的发展应用需求。For the processing of the helical surface of the cone, torus, and worm, although the left and right helicoids can be formed at the same time, the structure of the special grinding head is complicated, the adjustment of the machine tool is cumbersome, the processing cycle is long, and the cost is high, and the processing range is limited by the diameter of the rotary table. , all of the above are not conducive to the efficient automatic processing of toroidal worms, and it is difficult to meet the current development and application requirements of toroidal worms.

发明内容Contents of the invention

本发明的目的就是为了克服上述现有技术存在的缺陷而提供一种基于串联机械臂的环面蜗杆螺旋面加工系统及其方法,以实现环面蜗杆的高效自动化加工,同时保证加工精度。The object of the present invention is to provide a helical surface processing system and method for toroidal worms based on tandem mechanical arms in order to overcome the defects of the above-mentioned prior art, so as to realize efficient automatic processing of toroidal worms while ensuring machining accuracy.

本发明的目的可以通过以下技术方案来实现:一种基于串联机械臂的环面蜗杆螺旋面加工系统,包括加工平台和机械臂,所述加工平台上夹持安装有待加工环面蜗杆,所述机械臂的末端通过电主轴连接有加工刀具,所述环面蜗杆在加工平台上按照设定转速发生转动,所述机械臂根据设定的加工轨迹和指令控制加工刀具的工作位置和加工力,以完成对环面蜗杆的加工。The purpose of the present invention can be achieved through the following technical solutions: a toroidal worm helical surface processing system based on series mechanical arms, including a processing platform and a mechanical arm, the toroidal worm to be processed is clamped and installed on the processing platform, the The end of the mechanical arm is connected with a processing tool through the electric spindle, and the toroidal worm rotates on the processing platform according to the set speed. The mechanical arm controls the working position and processing force of the processing tool according to the set processing trajectory and instructions. To complete the processing of the toroidal worm.

进一步地,所述加工平台上设置有电动机,所述电动机的输出轴与待加工环面蜗杆相连接。Further, an electric motor is arranged on the processing platform, and the output shaft of the electric motor is connected with the toroidal worm to be processed.

进一步地,所述加工刀具为磨削刀具或车刀。Further, the processing tool is a grinding tool or a turning tool.

一种基于串联机械臂的环面蜗杆螺旋面加工方法,包括以下步骤:A method for machining the helical surface of a toroidal worm based on a tandem mechanical arm, comprising the following steps:

S1、建立加工系统运动学模型,并进行基坐标系标定;S1. Establish the kinematics model of the processing system and calibrate the base coordinate system;

S2、生成环面蜗杆螺旋面加工路径;S2, generate the helical surface processing path of the toroidal worm;

S3、规划环面蜗杆螺旋面轨迹;S3, planning the trajectory of the helical surface of the toroidal worm;

S4、初步确定机械臂的加工轨迹以及控制指令;S4. Preliminarily determine the processing trajectory and control instructions of the mechanical arm;

S5、针对待加工环面蜗杆螺旋面,建立机械臂加工仿真模型,并根据仿真结果对机械臂的加工轨迹以及控制指令进行调整;S5. For the helical surface of the toroidal worm to be processed, establish a machining simulation model of the manipulator, and adjust the machining trajectory and control instructions of the manipulator according to the simulation results;

S6、根据调整后机械臂的加工轨迹以及控制指令,离线生成机械臂加工环面蜗杆螺旋面的控制程序;S6. According to the adjusted machining trajectory and control instructions of the mechanical arm, a control program for machining the helical surface of the toroidal worm with the mechanical arm is generated offline;

S7、将待加工环面蜗杆安装至加工平台、在机械臂末端通过电主轴安装加工刀具;S7. Install the toroidal worm to be processed on the processing platform, and install the processing tool at the end of the mechanical arm through the electric spindle;

使待加工环面蜗杆按照设定转速发生转动,同时机械臂按照控制程序相应控制加工刀具完成对待加工环面蜗杆螺旋面的加工。Make the toroidal worm to be processed rotate according to the set speed, and at the same time, the mechanical arm controls the processing tool according to the control program to complete the processing of the helical surface of the toroidal worm to be processed.

进一步地,所述步骤S1的具体过程为:建立机械臂、加工刀具与加工平台之间的闭链运动学关系,即机械臂基座-机械臂末端-加工刀具-加工位置点-加工平台基座;Further, the specific process of the step S1 is: establish the closed-chain kinematic relationship between the robotic arm, the processing tool and the processing platform, that is, the base of the robotic arm - the end of the mechanical arm - the processing tool - the processing position point - the base of the processing platform seat;

之后使用激光跟踪仪标定加工系统,其中,激光跟踪仪坐标系为固定的测量坐标系,分别标定出机械臂、加工平台的基坐标系相对于测量坐标系的变换矩阵,基于相对坐标变换原理,计算得到机械臂与加工平台的基坐标系之间的相对变换矩阵。Then use the laser tracker to calibrate the processing system. The laser tracker coordinate system is a fixed measurement coordinate system, and the transformation matrix of the base coordinate system of the manipulator and the processing platform relative to the measurement coordinate system is calibrated respectively. Based on the principle of relative coordinate transformation, The relative transformation matrix between the base coordinate system of the manipulator and the processing platform is calculated.

进一步地,所述步骤S2的具体过程为:首先选取一条螺旋线上的若干特征点,基于三角函数法拟合得到加工轨迹方程;Further, the specific process of the step S2 is as follows: first select a number of feature points on a helix, and obtain the processing trajectory equation based on trigonometric function fitting;

然后将加工轨迹方程离散化,得到相应离散点的单位切线矢量和单位内法线矢量,由此确定机械臂末端的加工位姿信息,其中,加工轨迹上的路径点包括单位切线矢量和单位内法线矢量两个方向,根据这两个矢量方向确定机械臂末端加工刀具的姿态;Then the processing trajectory equation is discretized to obtain the unit tangent vector and the unit normal vector of the corresponding discrete points, thereby determining the processing pose information at the end of the manipulator, where the path points on the processing trajectory include the unit tangent vector and the unit internal normal vector The two directions of the normal vector, according to these two vector directions, determine the attitude of the machining tool at the end of the robotic arm;

根据环面蜗杆螺旋面加工工艺要求,对机械臂末端加工刀具的姿态规定如下:在加工作业过程中,加工轨迹上路径点的法线矢量f与磨削工具TCP坐标系的Xt方向重合,同时也是机械臂末端加工刀具进行恒力控制的方向,TCP坐标系的Yt方向为路径点的切线矢量τ且指向下一个加工点,同时也是加工刀具移动的方向,加工刀具TCP坐标系的Zt方向与路径点的法线矢量f与切线矢量τ的叉乘方向w=f×τ重合,且符合右手定则。According to the processing requirements of the helical surface of the toroidal worm, the posture of the machining tool at the end of the mechanical arm is specified as follows: During the processing operation, the normal vector f of the path point on the machining track coincides with the Xt direction of the TCP coordinate system of the grinding tool, At the same time, it is also the direction of the constant force control of the machining tool at the end of the mechanical arm. The Y t direction of the TCP coordinate system is the tangent vector τ of the path point and points to the next processing point. It is also the moving direction of the machining tool. The Z of the TCP coordinate system of the machining tool is The t direction coincides with the cross product direction w=f×τ of the normal vector f of the path point and the tangent vector τ, and conforms to the right-hand rule.

进一步地,所述步骤S3的具体过程为:给定蜗杆的转动速度ω1及蜗杆副的传动比i,根据i=ω12计算得到磨削刀具末端的转动速度ω2Further, the specific process of the step S3 is: given the rotational speed ω1 of the worm and the transmission ratio i of the worm pair, the rotational speed ω2 of the end of the grinding tool is calculated according to i= ω1 / ω2 ;

加工刀具从初始位置开始随机械臂逆时针转动至终止位置时,蜗杆绕其轴线正向旋转、速度方向沿纸面向外;加工刀具从初始位置开始随机械臂顺时针转动至终止位置时,蜗杆绕其轴线反向旋转、速度方向沿纸面向里,在机械臂转动过程中,加工刀具的加工面始终和蜗轮主基圆相切。When the processing tool rotates counterclockwise with the mechanical arm to the end position from the initial position, the worm rotates positively around its axis, and the speed direction is outward along the paper surface; when the processing tool rotates clockwise with the mechanical arm to the end position from the initial position, the worm Rotate in reverse around its axis, and the speed direction is inward along the paper surface. During the rotation of the mechanical arm, the processing surface of the processing tool is always tangent to the main base circle of the worm wheel.

进一步地,所述步骤S3中,对于平面二次包络环面蜗杆,加工刀具随机械臂逆时针转动加工出蜗杆的左侧螺旋面,加工刀具随机械臂顺时针转动加工出蜗杆的右侧螺旋面;Further, in the step S3, for a planar quadratic enveloping toroidal worm, the machining tool rotates counterclockwise with the mechanical arm to process the left helicoid of the worm, and the processing tool rotates clockwise with the mechanical arm to process the right side of the worm. Helicoid;

对于锥面二次包络环面蜗杆,加工刀具随机械臂逆时针和顺时针转动过程中都同时加工出蜗杆的左右两侧螺旋面;For the conical surface secondary enveloping toroidal worm, the machining tool simultaneously processes the left and right helical surfaces of the worm during the counterclockwise and clockwise rotation of the mechanical arm;

对于多头环面蜗杆,加工刀具随机械臂转动加工出蜗杆第一个头的螺旋面以后,需要将蜗杆的初始安装位置绕其旋转轴线转动360/z1角度,其中,z1为蜗杆的头数,然后继续加工出第二个头的螺旋面,不断更新加工轨迹,直至完成多头环面蜗杆螺旋面的加工。For the multi-head toroidal worm, after the machining tool rotates with the mechanical arm to process the helical surface of the first head of the worm, it is necessary to rotate the initial installation position of the worm around its rotation axis by an angle of 360/z 1 , where z 1 is the head of the worm number, and then continue to process the helicoid of the second head, and continuously update the machining track until the processing of the helicoid of the multi-head toroidal worm is completed.

进一步地,所述步骤S4的具体过程为:机械臂基于位置控制方式,以精确跟踪加工轨迹,通过机械臂末端安装的六维力传感器,以实时采集加工接触力,并基于阻抗控制算法进行加工刀具末端Xt方向的恒定加工力控制。Further, the specific process of step S4 is: the mechanical arm is based on the position control method to accurately track the processing trajectory, and the six-dimensional force sensor installed at the end of the mechanical arm is used to collect the processing contact force in real time, and the processing is performed based on the impedance control algorithm Constant machining force control in the X t direction of the tool tip.

进一步地,所述步骤S5的具体过程为:搭建与实物物理平台比例为1:1的仿真平台,采用Solidworks与Matlab/Simulink模块联合搭建串联机械臂加工环面蜗杆螺旋面系统仿真平台;Further, the specific process of the step S5 is: build a simulation platform with a ratio of 1:1 to the real physical platform, and use Solidworks and Matlab/Simulink modules to jointly build a series manipulator to process the torus worm helical surface system simulation platform;

仿真结束后生成串联机械臂各关节的转动角度序列图、关节角轨迹跟踪图、关节角轨迹跟踪误差图、期望轨迹与实际轨迹对比图;After the simulation is completed, the rotation angle sequence diagram of each joint of the serial manipulator, the joint angle trajectory tracking diagram, the joint angle trajectory tracking error diagram, and the comparison diagram between the expected trajectory and the actual trajectory are generated;

由各关节转角角度序列图确定串联机械臂是否平稳连续地运动,并根据关节角轨迹跟踪图、关节角轨迹跟踪误差图、期望轨迹与实际轨迹对比图,以确定加工轨迹、控制指令的准确性,从而对机械臂的加工轨迹以及控制指令进行调整。Determine whether the tandem manipulator moves smoothly and continuously from the angle sequence diagram of each joint, and determine the accuracy of the processing trajectory and control instructions according to the joint angle trajectory tracking diagram, joint angle trajectory tracking error diagram, and the comparison diagram between the expected trajectory and the actual trajectory , so as to adjust the machining trajectory and control instructions of the robotic arm.

与现有技术相比,本发明通过设置加工平台和机械臂,利用加工平台夹持安装有待加工环面蜗杆,使得环面蜗杆在加工平台上按照设定转速发生转动;并在机械臂的末端通过电主轴连接有加工刀具,利用机械臂根据设定的加工轨迹和指令控制加工刀具的工作位置和加工力,从而完成对环面蜗杆的加工,由此实现对环面蜗杆的自动化加工,且无需进行重复定位操作,既提高了加工效率,同时保证了加工精度。Compared with the prior art, the present invention sets the processing platform and the mechanical arm, and uses the processing platform to clamp and install the toroidal worm to be processed, so that the toroidal worm rotates on the processing platform according to the set speed; and at the end of the mechanical arm The machining tool is connected to the electric spindle, and the mechanical arm is used to control the working position and processing force of the machining tool according to the set machining trajectory and instructions, so as to complete the machining of the toroidal worm, thereby realizing the automatic processing of the toroidal worm, and There is no need to perform repeated positioning operations, which not only improves the processing efficiency, but also ensures the processing accuracy.

本发明首先建立机械臂、加工工具以及加工平台的闭链运动学模型,通过生成环面蜗杆螺旋面加工路径、规划加工轨迹,并结合仿真模型调整确定出机械臂的加工轨迹以及控制指令,由此保证设定的加工轨迹以及控制指令的准确性,能够有效提高加工环面蜗杆的精度。The present invention first establishes the closed-chain kinematics model of the mechanical arm, the processing tool and the processing platform, generates the processing path of the helical surface of the torus worm, plans the processing trajectory, and adjusts the simulation model to determine the processing trajectory and control instructions of the mechanical arm. This ensures the accuracy of the set machining trajectory and control instructions, and can effectively improve the accuracy of machining the toroidal worm.

附图说明Description of drawings

图1为本发明的系统结构示意图;Fig. 1 is a schematic diagram of the system structure of the present invention;

图2为实施例中磨削系统的坐标系示意图;Fig. 2 is the coordinate system schematic diagram of grinding system in the embodiment;

图3为实施例中磨削轨迹示意图;Fig. 3 is the schematic diagram of grinding track in the embodiment;

图4为实施例中路径点法向量与切向量示意图;Fig. 4 is the schematic diagram of path point normal vector and tangent vector in the embodiment;

图5为实施例中机械臂磨削工作原理示意图;Fig. 5 is a schematic diagram of the working principle of mechanical arm grinding in the embodiment;

图6为实施例中位姿约束关系示意图;Fig. 6 is a schematic diagram of pose constraint relationship in the embodiment;

图7为实施例中机械臂的控制架构示意图;7 is a schematic diagram of the control architecture of the robotic arm in the embodiment;

图中标记说明:1、机械臂,2、加工平台,3、环面蜗杆,4、电主轴,5、加工刀具。Explanation of marks in the figure: 1. Mechanical arm, 2. Processing platform, 3. Toroidal worm, 4. Electric spindle, 5. Processing tool.

具体实施方式detailed description

下面结合附图和具体实施例对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

实施例Example

如图1所示,一种基于串联机械臂的环面蜗杆螺旋面加工系统,包括加工平台2和机械臂1,加工平台2上夹持安装有待加工环面蜗杆3,机械臂1的末端通过电主轴4连接有加工刀具5,环面蜗杆3在加工平台2上按照设定转速发生转动,机械臂1根据设定的加工轨迹和指令控制加工刀具5的工作位置,以完成对环面蜗杆3的加工。As shown in Figure 1, a toroidal worm helical surface processing system based on series mechanical arms includes a processing platform 2 and a mechanical arm 1. The toroidal worm 3 to be processed is clamped and installed on the processing platform 2, and the end of the mechanical arm 1 passes through the The electric spindle 4 is connected with a processing tool 5, the toroidal worm 3 rotates on the processing platform 2 according to the set speed, and the mechanical arm 1 controls the working position of the processing tool 5 according to the set processing trajectory and instructions to complete the toroidal worm 3 processing.

其中,加工平台2上设置有电动机,电动机的输出轴与待加工环面蜗杆3相连接,以带动环面蜗杆3发生转动。Wherein, the processing platform 2 is provided with a motor, and the output shaft of the motor is connected with the toroidal worm 3 to be processed to drive the toroidal worm 3 to rotate.

根据加工需求,加工刀具5可选用磨削刀具或车刀。According to processing requirements, the processing tool 5 can be a grinding tool or a turning tool.

将上述系统应用于实际中,以实现一种基于串联机械臂的环面蜗杆螺旋面加工方法,包括以下步骤:The above system is applied in practice to realize a method of machining the helical surface of the toroidal worm based on the tandem manipulator, including the following steps:

S1、建立加工系统运动学模型,并进行基坐标系标定,具体的:S1. Establish the kinematics model of the processing system and calibrate the base coordinate system, specifically:

建立机械臂、加工刀具与加工平台之间的闭链运动学关系,即机械臂基座-机械臂末端-加工刀具-加工位置点-加工平台基座;Establish the closed-chain kinematics relationship between the robotic arm, the processing tool and the processing platform, that is, the base of the robotic arm - the end of the mechanical arm - the processing tool - the processing position point - the base of the processing platform;

之后使用激光跟踪仪标定加工系统,其中,激光跟踪仪坐标系为固定的测量坐标系,分别标定出机械臂、加工平台的基坐标系相对于测量坐标系的变换矩阵,基于相对坐标变换原理,计算得到机械臂与加工平台的基坐标系之间的相对变换矩阵;Then use the laser tracker to calibrate the processing system. The laser tracker coordinate system is a fixed measurement coordinate system, and the transformation matrix of the base coordinate system of the manipulator and the processing platform relative to the measurement coordinate system is calibrated respectively. Based on the principle of relative coordinate transformation, Calculate the relative transformation matrix between the base coordinate system of the manipulator and the processing platform;

S2、生成环面蜗杆螺旋面加工路径,具体的:S2. Generate the machining path of the helical surface of the torus worm, specifically:

首先选取一条螺旋线上的若干特征点,基于三角函数法拟合得到加工轨迹方程;First select several feature points on a helical line, and obtain the machining trajectory equation based on trigonometric function fitting;

然后将加工轨迹方程离散化,得到相应离散点的单位切线矢量和单位内法线矢量,由此确定机械臂末端的加工位姿信息,其中,加工轨迹上的路径点包括单位切线矢量和单位内法线矢量两个方向,根据这两个矢量方向确定机械臂末端加工刀具的姿态;Then the processing trajectory equation is discretized to obtain the unit tangent vector and the unit normal vector of the corresponding discrete points, thereby determining the processing pose information at the end of the manipulator, where the path points on the processing trajectory include the unit tangent vector and the unit internal normal vector The two directions of the normal vector, according to these two vector directions, determine the attitude of the machining tool at the end of the robotic arm;

根据环面蜗杆螺旋面加工工艺要求,对机械臂末端加工刀具的姿态规定如下:在加工作业过程中,加工轨迹上路径点的法线矢量f与磨削工具TCP坐标系的Xt方向重合,同时也是机械臂末端加工刀具进行恒力控制的方向,TCP坐标系的Yt方向为路径点的切线矢量τ且指向下一个加工点,同时也是加工刀具移动的方向,加工刀具TCP坐标系的Zt方向与路径点的法线矢量f与切线矢量τ的叉乘方向w=f×τ重合,且符合右手定则;According to the processing requirements of the helical surface of the toroidal worm, the posture of the machining tool at the end of the mechanical arm is specified as follows: During the processing operation, the normal vector f of the path point on the machining track coincides with the Xt direction of the TCP coordinate system of the grinding tool, At the same time, it is also the direction of the constant force control of the machining tool at the end of the mechanical arm. The Y t direction of the TCP coordinate system is the tangent vector τ of the path point and points to the next processing point. It is also the moving direction of the machining tool. The Z of the TCP coordinate system of the machining tool is The t direction coincides with the cross product direction w=f×τ of the normal vector f of the path point and the tangent vector τ, and conforms to the right-hand rule;

S3、规划环面蜗杆螺旋面轨迹,具体的:S3. Planning the trajectory of the helical surface of the torus worm, specifically:

给定蜗杆的转动速度ω1及蜗杆副的传动比i,根据i=ω12计算得到磨削刀具末端的转动速度ω2Given the rotational speed ω 1 of the worm and the transmission ratio i of the worm pair, calculate the rotational speed ω 2 of the end of the grinding tool according to i=ω 12 ;

加工刀具从初始位置开始随机械臂逆时针转动至终止位置时,蜗杆绕其轴线正向旋转、速度方向沿纸面向外;加工刀具从初始位置开始随机械臂顺时针转动至终止位置时,蜗杆绕其轴线反向旋转、速度方向沿纸面向里,在机械臂转动过程中,加工刀具的加工面始终和蜗轮主基圆相切;When the processing tool rotates counterclockwise with the mechanical arm to the end position from the initial position, the worm rotates positively around its axis, and the speed direction is outward along the paper surface; when the processing tool rotates clockwise with the mechanical arm to the end position from the initial position, the worm Rotate in reverse around its axis, and the speed direction is inward along the paper surface. During the rotation of the mechanical arm, the processing surface of the processing tool is always tangent to the main base circle of the worm wheel;

其中,对于平面二次包络环面蜗杆,加工刀具随机械臂逆时针转动加工出蜗杆的左侧螺旋面,加工刀具随机械臂顺时针转动加工出蜗杆的右侧螺旋面;Wherein, for the planar quadratic enveloping toroidal worm, the processing tool rotates counterclockwise with the mechanical arm to process the left helicoid of the worm, and the processing tool rotates clockwise with the mechanical arm to process the right helicoid of the worm;

对于锥面二次包络环面蜗杆,加工刀具随机械臂逆时针和顺时针转动过程中都同时加工出蜗杆的左右两侧螺旋面;For the conical surface secondary enveloping toroidal worm, the machining tool simultaneously processes the left and right helical surfaces of the worm during the counterclockwise and clockwise rotation of the mechanical arm;

对于多头环面蜗杆,加工刀具随机械臂转动加工出蜗杆第一个头的螺旋面以后,需要将蜗杆的初始安装位置绕其旋转轴线转动360/z1角度,其中,z1为蜗杆的头数,然后继续加工出第二个头的螺旋面,不断更新加工轨迹,直至完成多头环面蜗杆螺旋面的加工;For the multi-head toroidal worm, after the machining tool rotates with the mechanical arm to process the helical surface of the first head of the worm, it is necessary to rotate the initial installation position of the worm around its rotation axis by an angle of 360/z 1 , where z 1 is the head of the worm number, and then continue to process the helicoid of the second head, and continuously update the processing track until the processing of the helicoid of the multi-head toroidal worm is completed;

S4、初步确定机械臂的加工轨迹以及控制指令,具体的:S4. Preliminarily determine the processing trajectory and control instructions of the robotic arm, specifically:

机械臂基于位置控制方式,以精确跟踪加工轨迹,通过机械臂末端安装的六维力传感器,以实时采集加工接触力,并基于阻抗控制算法进行加工刀具末端Xt方向的恒定加工力控制;The mechanical arm is based on the position control method to accurately track the processing trajectory, and the six-dimensional force sensor installed at the end of the mechanical arm is used to collect the processing contact force in real time, and based on the impedance control algorithm to control the constant processing force in the X t direction of the end of the processing tool;

S5、针对待加工环面蜗杆螺旋面,建立机械臂加工仿真模型,并根据仿真结果对机械臂的加工轨迹以及控制指令进行调整,具体的:S5. For the helical surface of the toroidal worm to be processed, establish a machining simulation model of the manipulator, and adjust the machining trajectory and control instructions of the manipulator according to the simulation results, specifically:

搭建与实物物理平台比例为1:1的仿真平台,采用Solidworks与Matlab/Simulink模块联合搭建串联机械臂加工环面蜗杆螺旋面系统仿真平台;Build a simulation platform with a ratio of 1:1 to the actual physical platform, and use Solidworks and Matlab/Simulink modules to jointly build a simulation platform for the tandem mechanical arm processing torus worm helical surface system;

仿真结束后生成串联机械臂各关节的转动角度序列图、关节角轨迹跟踪图、关节角轨迹跟踪误差图、期望轨迹与实际轨迹对比图;After the simulation is completed, the rotation angle sequence diagram of each joint of the serial manipulator, the joint angle trajectory tracking diagram, the joint angle trajectory tracking error diagram, and the comparison diagram between the expected trajectory and the actual trajectory are generated;

由各关节转角角度序列图确定串联机械臂是否平稳连续地运动,并根据关节角轨迹跟踪图、关节角轨迹跟踪误差图、期望轨迹与实际轨迹对比图,以确定加工轨迹、控制指令的准确性,从而对机械臂的加工轨迹以及控制指令进行调整;Determine whether the tandem manipulator moves smoothly and continuously from the angle sequence diagram of each joint, and determine the accuracy of the processing trajectory and control instructions according to the joint angle trajectory tracking diagram, joint angle trajectory tracking error diagram, and the comparison diagram between the expected trajectory and the actual trajectory , so as to adjust the machining trajectory and control instructions of the robotic arm;

S6、根据调整后机械臂的加工轨迹以及控制指令,离线生成机械臂加工环面蜗杆螺旋面的控制程序;S6. According to the adjusted machining trajectory and control instructions of the mechanical arm, a control program for machining the helical surface of the toroidal worm with the mechanical arm is generated offline;

S7、将待加工环面蜗杆安装至加工平台、在机械臂末端通过电主轴安装加工刀具;S7. Install the toroidal worm to be processed on the processing platform, and install the processing tool at the end of the mechanical arm through the electric spindle;

使待加工环面蜗杆按照设定转速发生转动,同时机械臂按照控制程序相应控制加工刀具完成对待加工环面蜗杆螺旋面的加工。Make the toroidal worm to be processed rotate according to the set speed, and at the same time, the mechanical arm controls the processing tool according to the control program to complete the processing of the helical surface of the toroidal worm to be processed.

本实施例是对环面蜗杆螺旋面进行精加工,因此选用磨削刀具安装在机械臂的末端。本实施例以修形的环面蜗杆副为例,相关参数为:环面蜗杆头数z1=4、蜗轮齿数z2=40,啮合中心距a=160mm、传动比i=10,蜗杆齿顶圆直径da=267mm,蜗杆齿根圆直径df=250mm,蜗轮端面模数mt=10.45mm、主基圆直径db=95mm,蜗杆工作长度Lw=90mm、机械臂转角

Figure BDA0003406224310000071
的取值范围0~0.8rad。In this embodiment, the helical surface of the toroidal worm is finished, so the grinding tool is selected to be installed at the end of the mechanical arm. This embodiment takes the modified toroidal worm pair as an example, and the relevant parameters are: the number of toroidal worm heads z 1 =4, the number of worm gear teeth z 2 =40, the meshing center distance a=160mm, the transmission ratio i=10, the worm gear Top circle diameter d a = 267mm, worm root circle diameter d f = 250mm, worm wheel end face modulus m t = 10.45mm, main base circle diameter d b = 95mm, worm working length L w = 90mm, mechanical arm rotation angle
Figure BDA0003406224310000071
The value range of 0~0.8rad.

采用一台型号为ER20-C10的机械臂,其载重为20Kg、自重为220Kg、臂展为1722mm,基于串联机械臂磨削系统的机床包括机械臂、磨削平台、环面蜗杆、电主轴、磨削刀具。磨削平台主要用来夹持环面蜗杆,根据所加工环面蜗杆的技术要求,设定磨削时环面蜗杆的转速;电主轴与磨削刀具安装在机械臂的末端,机械臂夹持磨削刀具,根据磨削轨迹和控制方法对环面蜗杆进行加工。A mechanical arm with a model of ER20-C10 is used, with a load of 20Kg, a self-weight of 220Kg, and an arm span of 1722mm. The machine tool based on the tandem mechanical arm grinding system includes a mechanical arm, a grinding platform, a toroidal worm, an electric spindle, Grinding knives. The grinding platform is mainly used to hold the toroidal worm. According to the technical requirements of the toroidal worm to be processed, the speed of the toroidal worm during grinding is set; the electric spindle and the grinding tool are installed at the end of the mechanical arm, and the mechanical arm holds the Grinding tools, according to the grinding trajectory and control method, the toroidal worm is processed.

基于本技术方案提出的方法过程,本实施例的应用过程包括:Based on the method process proposed by this technical solution, the application process of this embodiment includes:

一、建立采用串联机械臂磨削环面蜗杆螺旋面的坐标系系统,如图2所示。其中Tw表示世界坐标系,Tb1表示串联机械臂的基坐标系,Tf1表示机械臂末端坐标系,Tt表示磨削刀具末端坐标系,Tb2表示磨削平台中心坐标系,Tj表示环面蜗杆螺旋面磨削路径上任意离散点坐标系,Tw与Tb1重合。串联机械臂与磨削平台形成闭链运动学关系,“机械臂1基座-机械臂1末端-磨削刀具-磨削点-磨削平台2基座”其表达式为:b1Tf1 f1Tt tTj jTb2b1Tb2jtb2根据具体磨削轨迹要求确定,是一个已知的矩阵,b1Tb2由基坐标系标定确定,f1Tt根据安装方式经TCP工具标定确定,ttTj为单位矩阵,所以由公式b1Tf1b1Tb2(jTb2)-1(tTj)-1(f1T)-1可求得b1Tf1,由此确定机械臂磨削刀具末端坐标系,然后根据运动学逆解求得各个关节的运动角度。通过激光跟踪仪标定系统,其中激光跟踪仪坐标系为固定的测量坐标系,分别标定出串联机械臂、磨削平台的基坐标系相对于测量坐标系的变换矩阵T1,T2。基于相对坐标变换原理,由公式b1Tb2=T2 -1T1计算得到串联机械臂与磨削平台的基坐标系之间的相对位姿齐次矩阵b2Tb11. Establish a coordinate system for grinding the helical surface of the toroidal worm by using the tandem mechanical arm, as shown in Figure 2. Among them, T w represents the world coordinate system, T b1 represents the base coordinate system of the series manipulator, T f1 represents the end coordinate system of the manipulator, T t represents the end coordinate system of the grinding tool, T b2 represents the center coordinate system of the grinding platform, and T j Represents the coordinate system of any discrete point on the grinding path of the helical surface of the toroidal worm, and T w coincides with T b1 . A closed-chain kinematic relationship is formed between the mechanical arm and the grinding platform in series, and the expression of "the base of the mechanical arm 1 - the end of the mechanical arm 1 - the grinding tool - the grinding point - the base of the grinding platform 2" is: b1 T f1 f1 T t t T j j T b2 = b1 T b2 , j t b2 is determined according to the specific grinding trajectory requirements, it is a known matrix, b1 T b2 is determined by the calibration of the base coordinate system, f1 T t is determined by the TCP tool according to the installation method The calibration is confirmed, tt T j is the identity matrix, so b1 T f1 can be obtained from the formula b1 T f1 = b1 T b2 ( j T b2 ) -1 ( t T j ) -1 ( f1 T) -1 , and thus determined The mechanical arm grinds the tool end coordinate system, and then obtains the motion angle of each joint according to the inverse kinematics solution. Calibrate the system through the laser tracker, where the coordinate system of the laser tracker is a fixed measurement coordinate system, and calibrate the transformation matrices T 1 , T 2 of the base coordinate system of the serial manipulator and the grinding platform relative to the measurement coordinate system. Based on the principle of relative coordinate transformation, the relative pose homogeneous matrix b2 T b1 between the series manipulator and the base coordinate system of the grinding platform is calculated by the formula b1 T b2 =T 2 -1 T 1 .

二、取4头环面蜗杆分度环面螺旋线上的20个特征点,基于三角函数法对这些点进行拟合,生成一条螺旋线,得到磨削轨迹方程,如图3所示,然后将轨迹方程进行离散化,得到相应离散点的表面法向量,由此确定串联机械臂末端的磨削位姿信息;磨削轨迹上的路径点包括单位切线矢量τ和单位内法线矢量f两个方向,如图4所示,然后进一步根据这两个矢量方向确定串联机器人末端磨削刀具的姿态,根据环面蜗杆加工工艺要求,对串联机械臂末端磨削刀具的姿态规定如下:在加工作业过程中,磨削轨迹上路径点的法线矢量f与磨削工具TCP坐标系的Xt方向重合,同时也是串联机械臂磨削刀具末端进行恒力控制方向,TCP坐标系的Yt方向为路径点的切线矢量τ且指向下一个磨削点,同时也是磨削工具移动的方向。磨削工具的TCP坐标系的Zt方向与路径点的法线矢量f与切线矢量τ的叉乘方向w=f×τ重合,且符合右手定则。2. Take 20 characteristic points on the indexing torus helix of the 4-head torus worm, and fit these points based on the trigonometric function method to generate a helix and obtain the grinding trajectory equation, as shown in Figure 3, and then The trajectory equation is discretized to obtain the surface normal vector of the corresponding discrete point, thereby determining the grinding pose information at the end of the series manipulator; the path point on the grinding trajectory includes the unit tangent vector τ and the unit normal vector f direction, as shown in Fig. 4, and then further determine the posture of the grinding tool at the end of the tandem robot according to the two vector directions. During the operation process, the normal vector f of the path point on the grinding track coincides with the X t direction of the TCP coordinate system of the grinding tool . is the tangent vector τ of the path point and points to the next grinding point, and is also the moving direction of the grinding tool. The Z t direction of the TCP coordinate system of the grinding tool coincides with the cross product direction w=f×τ of the normal vector f of the path point and the tangent vector τ, and conforms to the right-hand rule.

三、给定蜗杆的转动速度ω1=1400r/min及蜗杆副的传动比i=10,根据i=ω12计算得到磨削刀具末端的转动速度ω2=140r/min。如图5所示,磨削刀具从初始位置A开始随机械臂逆时针转动至终止位置B时,蜗杆绕其轴线正向旋转(速度方向沿纸面向外),磨削刀具从初始位置B开始随机械臂顺时针转动至终止位置A时,蜗杆绕其轴线反向旋转(速度方向沿纸面向里),机械臂转动过程中,磨削刀具的加工面始终和半径为rb的蜗轮主基圆相切,机械臂回转中心为Od,转动角度为

Figure BDA0003406224310000081
蜗杆副的中心距OdO1=160mm,蜗杆齿顶圆半径Ra=133.5mm。对于平面二次包络环面蜗杆,磨削刀具随机械臂逆时针转动加工出蜗杆的左侧螺旋面,磨削刀具随机械臂顺时针转动加工出蜗杆的右侧螺旋面;对于锥面二次包络环面蜗杆,磨削刀具随机械臂逆时针和顺时针转动过程中都同时加工出蜗杆的左右两侧螺旋面;对于多头环面蜗杆,磨削刀具随机械臂转动加工出蜗杆第一个头的螺旋面以后,需要将蜗杆的初始安装位置绕其旋转轴线转动360/4=90°,然后依照上述方法加工出第二个头的螺旋面,不断更新磨削轨迹,直至完成多头环面蜗杆螺旋面的加工。3. Given the rotational speed of the worm ω 1 =1400r/min and the transmission ratio of the worm pair i=10, the rotational speed of the end of the grinding tool ω 2 =140r/min is calculated according to i=ω 12 . As shown in Figure 5, when the grinding tool starts from the initial position A and rotates counterclockwise with the mechanical arm to the end position B, the worm rotates positively around its axis (the speed direction is outward along the paper surface), and the grinding tool starts from the initial position B When the mechanical arm rotates clockwise to the end position A, the worm rotates in the opposite direction around its axis (the speed direction is along the paper surface inward). During the rotation of the mechanical arm, the processing surface of the grinding tool is always aligned with the main base of the worm wheel with a radius of r b The circle is tangent, the center of rotation of the manipulator is O d , and the rotation angle is
Figure BDA0003406224310000081
The center distance of the worm pair O d O 1 =160mm, the radius of the worm addendum circle R a =133.5mm. For the planar quadratic enveloping torus worm, the grinding tool rotates counterclockwise with the mechanical arm to process the left helicoid of the worm, and the grinding tool rotates clockwise with the mechanical arm to process the right helicoid of the worm; For the sub-enveloping toroidal worm, the grinding tool rotates counterclockwise and clockwise with the mechanical arm to process the helical surfaces on the left and right sides of the worm at the same time; for the multi-head toroidal worm, the grinding tool rotates with the mechanical arm to process the first After the helical surface of the first head, it is necessary to rotate the initial installation position of the worm 360/4=90° around its rotation axis, and then process the helicoid surface of the second head according to the above method, and continuously update the grinding track until the multi-head toroidal surface is completed Machining of worm helical surfaces.

根据加工工艺要求,串联机械臂在沿磨削轨迹工作的同时,需要进行恒定的磨削力控制,因此在机械臂的笛卡尔操作空间中,对机械臂进行力/位操作空间分解,即在Xt方向进行恒力控制,Yt、Zt方向进行位置控制,位姿约束关系如图6所示。在磨削过程中,串联机械臂夹持磨削刀具,同时保持恒力控制方向与路径点的法向方向f重合,因此在串联机械臂磨削刀具坐标系的Xt方向进行恒力控制,且始终保持水平,即磨削姿态为b1RT=[1 0 0]T,在Yt,Zt方向进行位置控制跟随磨削轨迹。由运动学模型,计算得到磨削刀具末端的位置b1PT=[xt yt zt]Tb1Tb2(jTb2)-1(tTj)-1[xj yj zj 1]T。最后由运动学逆解可得各关节的运动角度。变换矩阵T中包含位置向量P和旋转矩阵R,其中:According to the requirements of the processing technology, the tandem manipulator needs to control the constant grinding force while working along the grinding track. Therefore, in the Cartesian operation space of the manipulator, the force/position operation space of the manipulator is decomposed, that is, in The constant force control is performed in the X t direction, and the position control is performed in the Y t and Z t directions. The pose constraint relationship is shown in Figure 6. During the grinding process, the tandem manipulator holds the grinding tool while keeping the constant force control direction coincident with the normal direction f of the path point, so the constant force control is performed in the Xt direction of the tandem manipulator grinding tool coordinate system, And keep it horizontal all the time, that is, the grinding posture is b1 R T =[1 0 0] T , and the position control is performed in the Y t and Z t directions to follow the grinding trajectory. From the kinematics model, the position of the end of the grinding tool b1 P T =[x t y t z t ] T = b1 T b2 ( j T b2 ) -1 ( t T j ) -1 [x j y j z j 1] T . Finally, the motion angle of each joint can be obtained by kinematics inverse solution. The transformation matrix T contains the position vector P and the rotation matrix R, where:

P=[px py pz]T P=[p x p y p z ] T

Figure BDA0003406224310000091
Figure BDA0003406224310000091

Figure BDA0003406224310000092
Figure BDA0003406224310000092

四、串联机械臂基于位置控制方式精确跟踪磨削轨迹,控制架构如图7所示。由于本发明所搭建控制系统的控制周期较短,因此不考虑积分的特性,串联机械臂采用单关节PD控制方式。各关节期望位置θti通过逆运动学计算得到,关节位置θi、关节速度

Figure BDA0003406224310000093
通过六维力传感器实时采集获得,则机械臂各关节驱动量
Figure BDA0003406224310000094
Figure BDA0003406224310000095
其中kpi为比例系数,kvi为微分系数。4. The tandem robotic arm accurately tracks the grinding trajectory based on the position control method, and the control architecture is shown in Figure 7. Since the control period of the control system built by the present invention is short, the characteristics of the integral are not considered, and the serial manipulator adopts the single-joint PD control mode. The expected position θ ti of each joint is calculated by inverse kinematics, the joint position θ i , joint velocity
Figure BDA0003406224310000093
Obtained by real-time acquisition by the six-dimensional force sensor, the driving force of each joint of the manipulator is
Figure BDA0003406224310000094
Figure BDA0003406224310000095
Among them, k pi is a proportional coefficient, and k vi is a differential coefficient.

针对各关节伺服控制系统中控制参数kpi、kvi的调节,先根据偏差震荡幅度的大小不断调节比例系数以快速减小误差,然后调节微分系数降低偏差的震荡频率,迅速准确地跟踪轨迹的变化,保证整个串联机械臂运动被控过程是稳定的。将关节伺服控制系统中的每个关节视作单输入单输出系统,每个关节进行单独控制,然后通过驱动器的周期同步插补模式完成各关节同步联动控制,实现串联机械臂精确的运动控制。For the adjustment of the control parameters k pi and k vi in the servo control system of each joint, the proportional coefficient is continuously adjusted according to the magnitude of the deviation oscillation to quickly reduce the error, and then the differential coefficient is adjusted to reduce the oscillation frequency of the deviation, so as to quickly and accurately track the trajectory Changes to ensure the stability of the entire series manipulator movement controlled process. Each joint in the joint servo control system is regarded as a single-input single-output system, and each joint is controlled independently, and then the synchronous linkage control of each joint is completed through the periodic synchronous interpolation mode of the driver, so as to realize the precise motion control of the serial manipulator.

串联机械臂通过末端安装的六维力传感器实时采集与环面蜗杆的接触力信息,经滤波、力传感器重力补偿后得到Xt方向的实际磨削力F,其与期望接触力Fd的偏差fe作为一个二阶低通滤波器的输入,输出Xt方向的位置修正值Δx,通过选择矩阵S、S’将修正值反馈给机器人笛卡尔操作空间X方向的参考运动轨迹,更新机械臂运动轨迹,经机械臂运动学计算得到各关节角度,当机械臂进入下一个磨削周期时,机械臂末端的六维力传感器继续采集磨削力接触信息,重复执行上述步骤,不断更新磨削轨迹,直至完成磨削环面蜗杆螺旋面的任务。The tandem manipulator collects the contact force information with the toroidal worm in real time through the six-dimensional force sensor installed at the end, and obtains the actual grinding force F in the X t direction after filtering and gravity compensation of the force sensor, and its deviation from the expected contact force F d f e is used as the input of a second-order low-pass filter to output the position correction value Δx in the direction of X t , and the correction value is fed back to the reference motion trajectory in the X direction of the Cartesian operation space of the robot through the selection matrix S, S', and the mechanical arm is updated The movement trajectory is calculated by the kinematics of the manipulator to obtain the angles of each joint. When the manipulator enters the next grinding cycle, the six-dimensional force sensor at the end of the manipulator continues to collect the contact information of the grinding force, and repeats the above steps to continuously update the grinding process. trajectory until the task of grinding the helicoid of the toroidal worm is completed.

五、搭建仿真环境,首先利用MATLAB/Simulink中的M文件与S函数,进行串联机械臂磨削系统的运动学、轨迹规划及控制算法开发。利用SolidWorks三维软件建立磨削系统CAD模型,然后通过Simscape Multibody Link插件将系统CAD模型导出成MATLAB可以读取的XML格式文件和STEP模型,最后通过读取XML格式文件将系统STEP模型加载到MATLAB/Simulink中,并结合运动学、轨迹规划等算法生成磨削系统的Simscape仿真模型。一般导入Simulink的原始系统仿真模型无法进行直接控制,需要进一步对模型进行优化和相关控制参数配置,包括STEP模型路径修改、Rotation输入输出量配置、机械臂初始姿态关节角配置及关节旋转正方向设定等,最后封装成一个独立的模块。然后利用MATLAB/Simulink中的M文件与S函数,进行磨削系统的运动学、轨迹规划及控制算法开发,基于仿真平台进行相关算法仿真,通过搭建的仿真环境动态验证算法的可行性,并利用Scope组件、To Workspace组件保存数据进一步分析算法性能。5. To build a simulation environment, first use the M file and S function in MATLAB/Simulink to develop the kinematics, trajectory planning and control algorithm of the series manipulator grinding system. Use the SolidWorks 3D software to build the CAD model of the grinding system, and then export the system CAD model into an XML format file and STEP model that MATLAB can read through the Simscape Multibody Link plug-in, and finally load the system STEP model into MATLAB/ In Simulink, combined with kinematics, trajectory planning and other algorithms to generate a Simscape simulation model of the grinding system. Generally, the original system simulation model imported into Simulink cannot be directly controlled, and further optimization of the model and configuration of related control parameters are required, including STEP model path modification, Rotation input and output configuration, initial attitude joint angle configuration of the manipulator, and joint rotation positive direction setting. Wait, and finally package it into an independent module. Then use the M-file and S-function in MATLAB/Simulink to develop the kinematics, trajectory planning and control algorithm of the grinding system, carry out relevant algorithm simulation based on the simulation platform, and dynamically verify the feasibility of the algorithm through the built simulation environment, and use Scope component and To Workspace component save data to further analyze algorithm performance.

生成机械臂各关节角、速度及加速度变化图,如果变化图中曲线平稳连续,则步骤一中建立的串联机械臂磨削环面蜗杆螺旋面系统的运动学模型正确。其次生成实际轨迹与期望轨迹对比图与关节角轨迹跟踪误差图,如果实际轨迹可以按照期望轨迹运动且误差较小,则串联机械臂基于PD位置控制方式正确;对机械臂末端Xt方向施加一个外力,观察轨迹图是否会适应外力进行调整重新回到磨削路径上,如果机械臂可以适应外力的变化进行运动轨迹调整,并且当干扰力为零时,串联机械臂可以快速稳定地继续跟踪期望轨迹,则基于位置阻抗控制算法对串联机械臂的磨削恒力控制可行。Generate the change diagram of the joint angle, velocity and acceleration of the manipulator. If the curve in the change diagram is smooth and continuous, the kinematics model of the tandem manipulator grinding toroidal worm helicoid system established in step 1 is correct. Secondly, generate the actual trajectory and expected trajectory comparison diagram and the joint angle trajectory tracking error diagram. If the actual trajectory can move according to the expected trajectory and the error is small, the serial manipulator based on the PD position control method is correct; apply a External force, observe whether the trajectory map will adapt to the external force to adjust and return to the grinding path. If the mechanical arm can adapt to the change of external force and adjust the trajectory, and when the interference force is zero, the serial mechanical arm can continue to track quickly and stably. Trajectory, then based on the position impedance control algorithm, it is feasible to control the grinding constant force of the series manipulator.

六、针对仿真结果,对串联机械臂磨削环面蜗杆螺旋面过程进行调整,综合调整后离线生成机械臂磨削环面蜗杆螺旋面的程序。6. According to the simulation results, the process of grinding the helical surface of the toroidal worm with the tandem manipulator is adjusted, and after comprehensive adjustment, the program for grinding the helicoid of the torus and worm with the manipulator is generated offline.

本实施例是针对环面蜗杆进行精加工,若实际应用中只需进行粗加工,则将本实施例的磨削刀具更换为车刀即可。This embodiment is for the finishing machining of the toroidal worm. If only rough machining is required in practical applications, the grinding tool in this embodiment can be replaced with a turning tool.

综上可知,采用本发明提出的技术方案,能够实现环面蜗杆的自动化加工,避免重复定位,有效保证批量生产环面蜗杆精度的一致性,同时提高加工效率、降低生产成本,尤其适用于加工大尺寸的环面蜗杆。In summary, the technical solution proposed by the present invention can realize the automatic processing of toroidal worms, avoid repeated positioning, effectively ensure the consistency of mass production of toroidal worms, improve processing efficiency and reduce production costs, and is especially suitable for processing Large size toroidal worm.

Claims (8)

1. The toroidal worm helicoid processing system based on the serial mechanical arm is characterized by comprising a processing platform (2) and a mechanical arm (1), wherein a toroidal worm (3) to be processed is clamped and mounted on the processing platform (2), the tail end of the mechanical arm (1) is connected with a processing tool (5) through an electric spindle (4), the toroidal worm (3) rotates on the processing platform (2) according to a set rotating speed, and the mechanical arm (1) controls the working position and the processing force of the processing tool (5) according to a set processing track and a set instruction so as to complete the processing of the toroidal worm (3);
the toroidal worm helicoid processing system is applied to realize a toroidal worm helicoid processing method based on a series mechanical arm, and comprises the following steps:
s1, establishing a kinematic model of a machining system, and calibrating a base coordinate system;
s2, generating a spiral surface processing path of the enveloping worm;
s3, planning the spiral surface track of the enveloping worm;
s4, preliminarily determining a machining track and a control instruction of the mechanical arm;
s5, aiming at the helicoid of the toroidal worm to be machined, establishing a mechanical arm machining simulation model, and adjusting the machining track and the control instruction of the mechanical arm according to the simulation result;
s6, according to the adjusted machining track and the control instruction of the mechanical arm, a control program for machining the spiral surface of the ring surface worm by the mechanical arm is generated in an off-line mode;
s7, mounting the enveloping worm to be machined to a machining platform, and mounting a machining tool at the tail end of the mechanical arm through an electric spindle;
the enveloping worm to be processed rotates according to the set rotating speed, and the mechanical arm correspondingly controls the processing cutter according to the control program to complete the processing of the helicoid of the enveloping worm to be processed;
the specific process of the step S2 is as follows: firstly, selecting a plurality of characteristic points on a spiral line, and fitting based on a trigonometric function method to obtain a processing track equation;
then discretizing a machining track equation to obtain a unit tangent vector and a unit internal normal vector of a corresponding discrete point, and determining the machining pose information of the tail end of the mechanical arm, wherein path points on the machining track comprise the unit tangent vector and the unit internal normal vector, and the posture of a machining tool at the tail end of the mechanical arm is determined according to the two vector directions;
according to the processing technological requirements of the helicoid of the enveloping worm, the attitude of the processing tool at the tail end of the mechanical arm is specified as follows: during the machining operation, the normal vector f of the path point on the machining path and the X of the grinding tool TCP coordinate system t The directions are overlapped and are the directions of constant force control of the machining tool at the tail end of the mechanical arm and the Y of a TCP coordinate system t The direction is the tangent vector tau of the path point and points to the next processing point, and is also the moving direction of the processing tool, Z of the processing tool TCP coordinate system t The direction w = f × τ is coincident with the direction w = f × τ of the cross product of the normal vector f of the direction and the path point and the tangent vector τ, and conforms to the right-hand rule.
2. The toroidal worm helicoidal machining system based on serial mechanical arms according to claim 1, characterized in that the machining platform (2) is provided with an electric motor, the output shaft of which is connected with the toroidal worm (3) to be machined.
3. The toroidal worm helicoidal machining system based on serial mechanical arms according to claim 1, characterized in that the machining tool (5) is a grinding tool or a turning tool.
4. The toroidal worm helicoid processing system based on serial mechanical arm according to claim 1, wherein the specific process of step S1 is: establishing a closed-chain kinematic relationship among the mechanical arm, the processing tool and the processing platform, namely a mechanical arm base, the tail end of the mechanical arm, the processing tool, a processing position point and a processing platform base;
and then calibrating the processing system by using a laser tracker, wherein the coordinate system of the laser tracker is a fixed measurement coordinate system, respectively calibrating transformation matrixes of the base coordinate systems of the mechanical arm and the processing platform relative to the measurement coordinate system, and calculating to obtain a relative transformation matrix between the base coordinate systems of the mechanical arm and the processing platform based on a relative coordinate transformation principle.
5. The toroidal worm helicoid processing system based on serial mechanical arms as claimed in claim 1, wherein the specific process of step S3 is: given the speed of rotation omega of the worm 1 And the transmission ratio i of the worm gear pair according to i = omega 12 Calculating to obtain the rotation speed omega of the tail end of the grinding tool 2
When the machining tool starts from the initial position and rotates anticlockwise to the final position along the mechanical arm, the worm rotates around the axis of the worm in the positive direction, and the speed direction of the worm is outward along the paper surface; when the machining tool rotates clockwise from the initial position to the final position along with the mechanical arm, the worm rotates reversely around the axis of the worm, the speed direction of the worm is inward along the paper surface, and the machining surface of the machining tool is always tangent to the main base circle of the worm wheel in the rotation process of the mechanical arm.
6. The toroidal worm helicoid processing system based on serial mechanical arms as claimed in claim 5, wherein in step S3, for a planar double-enveloping toroidal worm, the processing tool rotates clockwise with the mechanical arm to process the left helicoid of the worm, and the processing tool rotates clockwise with the mechanical arm to process the right helicoid of the worm;
for the conical surface double-enveloping ring surface worm, the machining tool machines the helicoids on the left side and the right side of the worm simultaneously in the anticlockwise and clockwise rotation processes of the mechanical arm;
for a multi-start ring surface worm, after a processing tool rotates along with a mechanical arm to process a spiral surface of a first head of the worm, the initial installation position of the worm needs to rotate 360/z around the rotation axis of the worm 1 Angle, wherein z 1 And (4) counting the number of the heads of the worm, continuously processing the helicoid of the second head, and continuously updating the processing track until the helicoid of the multi-head ring surface worm is processed.
7. The toroidal worm helicoid processing system based on serial mechanical arm according to claim 1, wherein the specific process of step S4 is: the mechanical arm is based on a position control mode to accurately track a processing trackThe six-dimensional force sensor arranged at the tail end of the mechanical arm is used for acquiring the machining contact force in real time and machining the tail end X of the cutter based on an impedance control algorithm t Constant machining force control of direction.
8. The toroidal worm helicoid processing system based on serial mechanical arms as claimed in claim 1, wherein the specific process of step S5 is: the proportion of the built physical platform to the physical platform is 1:1, adopting a Solidworks and Matlab/Simulink module to jointly build a spiral surface system simulation platform of the processing ring surface worm of the serial mechanical arm;
after the simulation is finished, a rotation angle sequence diagram, a joint angle track tracking error diagram and an expected track and actual track comparison diagram of each joint of the serial mechanical arm are generated;
and determining whether the series mechanical arm stably and continuously moves according to the joint angle sequence diagram, the joint angle track tracking error diagram and the expected track and actual track comparison diagram to determine the accuracy of the processing track and the control instruction, so as to adjust the processing track and the control instruction of the mechanical arm.
CN202111514060.1A 2021-12-13 2021-12-13 Toroidal worm helical surface machining system and method based on tandem manipulator Active CN114273681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111514060.1A CN114273681B (en) 2021-12-13 2021-12-13 Toroidal worm helical surface machining system and method based on tandem manipulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111514060.1A CN114273681B (en) 2021-12-13 2021-12-13 Toroidal worm helical surface machining system and method based on tandem manipulator

Publications (2)

Publication Number Publication Date
CN114273681A CN114273681A (en) 2022-04-05
CN114273681B true CN114273681B (en) 2022-12-16

Family

ID=80872132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111514060.1A Active CN114273681B (en) 2021-12-13 2021-12-13 Toroidal worm helical surface machining system and method based on tandem manipulator

Country Status (1)

Country Link
CN (1) CN114273681B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119536138A (en) * 2023-08-31 2025-02-28 苏州汇川控制技术有限公司 Electromechanical system and control method and device thereof, electromechanical module, motion controller, trajectory planner and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103692320A (en) * 2013-12-31 2014-04-02 深圳先进技术研究院 Method and device for implementing offline programming on six-axis polishing mechanical arms
CN104875203A (en) * 2014-02-27 2015-09-02 发那科株式会社 Robot simulation device for generating motion path of robot
CN105269565A (en) * 2015-10-30 2016-01-27 福建长江工业有限公司 Offline programming and modifying method of six-axis grinding and polishing industrial robot
CN106182018A (en) * 2016-07-30 2016-12-07 福州大学 A kind of grinding and polishing industrial robot off-line programing method based on workpiece three-dimensional graph
CN110497423A (en) * 2019-08-22 2019-11-26 泉州装备制造研究所 A method for self-adaptive machining of manipulators
CN111922786A (en) * 2020-08-28 2020-11-13 山东理工大学 A multi-degree-of-freedom intelligent integrated processing system for complex profiles

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103692320A (en) * 2013-12-31 2014-04-02 深圳先进技术研究院 Method and device for implementing offline programming on six-axis polishing mechanical arms
CN104875203A (en) * 2014-02-27 2015-09-02 发那科株式会社 Robot simulation device for generating motion path of robot
CN105269565A (en) * 2015-10-30 2016-01-27 福建长江工业有限公司 Offline programming and modifying method of six-axis grinding and polishing industrial robot
CN106182018A (en) * 2016-07-30 2016-12-07 福州大学 A kind of grinding and polishing industrial robot off-line programing method based on workpiece three-dimensional graph
CN110497423A (en) * 2019-08-22 2019-11-26 泉州装备制造研究所 A method for self-adaptive machining of manipulators
CN111922786A (en) * 2020-08-28 2020-11-13 山东理工大学 A multi-degree-of-freedom intelligent integrated processing system for complex profiles

Also Published As

Publication number Publication date
CN114273681A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN103063213B (en) The scaling method of a kind of welding robot and positioner position orientation relation
EP1631423B1 (en) A method for fine tuning of a robot program
CN114290147B (en) Automobile hub polishing system and method based on cooperation of duplex robot
EP1274546B1 (en) Pathcorrection for an industrial robot
CN112698625B (en) A five-axis machine tool digital twin modeling method for linkage trajectory error prediction
CN111426270B (en) Industrial robot pose measurement target device and joint position sensitive error calibration method
CN103659806B (en) A kind of industrial robot zero-position scaling method
US20100228384A1 (en) Method and device for generating transformed control data for controlling a tool on a machine tool
JPS61173311A (en) Method and apparatus for controlling manipulator
CN102662351B (en) Three-axis linkage contour error compensation control method for cylinder cam machining
CN102566500B (en) Straight line segment approximation node-based numerical control system contour error control method
JPH01206406A (en) Numerical controller for non-cylindrical work machining
Yin et al. Research on machining error prediction and compensation technology for a stone-carving robotic manipulator
Ding et al. Geometric error modeling and compensation of horizontal CNC turning center for TI worm turning
Sun et al. An on-line tool path smoothing algorithm for 6R robot manipulator with geometric and dynamic constraints
CN104615092A (en) Work machine control system and method thereof
CN114273681B (en) Toroidal worm helical surface machining system and method based on tandem manipulator
Bhatt et al. Optimizing part placement for improving accuracy of robot-based additive manufacturing
Xu et al. Tool orientation and redundancy integrated planning method constrained by stiffness for robotic machining of freeform surfaces
Zhang et al. A new contouring error estimation for the high form accuracy of a multi-axis CNC machine tool
CN114713890B (en) Double-arm cooperation-based annular worm hob front cutter surface machining system and method
Zhao et al. An adaptive impedance control method for blade polishing based on the Kalman filter
CN110161966A (en) A kind of real-time detection method of multi-shaft interlocked profile errors
CN118237734B (en) Multi-axis linkage rotation laser processing method and control device
Wang et al. New linkage control methods based on the trajectory distribution of galvanometer and mechanical servo system for large-range high-feedrate laser processing

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