CN114002996B - A smoothing method for continuous five-axis path transfer of hybrid robot C3 - Google Patents

A smoothing method for continuous five-axis path transfer of hybrid robot C3 Download PDF

Info

Publication number
CN114002996B
CN114002996B CN202111266995.2A CN202111266995A CN114002996B CN 114002996 B CN114002996 B CN 114002996B CN 202111266995 A CN202111266995 A CN 202111266995A CN 114002996 B CN114002996 B CN 114002996B
Authority
CN
China
Prior art keywords
path
point
smoothing
tool
tool axis
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
CN202111266995.2A
Other languages
Chinese (zh)
Other versions
CN114002996A (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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN202111266995.2A priority Critical patent/CN114002996B/en
Publication of CN114002996A publication Critical patent/CN114002996A/en
Application granted granted Critical
Publication of CN114002996B publication Critical patent/CN114002996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35349Display part, programmed locus and tool path, traject, dynamic locus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

本发明公开了一种混联机器人C3连续五轴路径转接光顺方法,包括如下步骤:刀尖点位置路径在笛卡尔坐标系中定义;刀轴方向路径在单位球表面上定义;刀尖点位置路径和刀轴方向路径,两者均采用样条曲线段进行转接光顺,光顺后的路径均由插入的样条曲线段和余留路径段组成;分别推导两者在转接点处曲率微分连续的充要条件,进而建立刀尖点位置路径光顺长度以及刀轴方向路径光顺角度与各自光顺误差的关系函数;结合参数同步引入的约束条件,确定刀尖点位置路径和刀轴方向路径的光顺曲线;引入参数同步曲线,确保几何光顺后的五轴路径关于时间的三阶导数连续。本发明能实现对光顺误差的精确预测及控制,同时提高光顺方法的计算效率。

The invention discloses a continuous five-axis path smoothing method for hybrid robot C3, which includes the following steps: the tool tip point position path is defined in the Cartesian coordinate system; the tool axis direction path is defined on the surface of the unit sphere; the tool tip The point position path and the tool axis direction path both use spline curve segments for smoothing. The smoothed paths are composed of inserted spline curve segments and remaining path segments. The transfer between the two is deduced respectively. The necessary and sufficient conditions for the continuous differential curvature at the point are established, and then the relationship functions between the path smoothing length at the tool tip point position, the path smoothing angle in the tool axis direction and the respective smoothing errors are established; combined with the constraints introduced by parameter synchronization, the tool tip point position is determined The smoothing curve of the path and the tool axis direction path; the parameter synchronization curve is introduced to ensure that the third-order derivative of the geometrically smoothed five-axis path with respect to time is continuous. The invention can realize accurate prediction and control of smoothing errors, and at the same time improve the calculation efficiency of the smoothing method.

Description

一种混联机器人C3连续五轴路径转接光顺方法A smoothing method for continuous five-axis path transfer of hybrid robot C3

技术领域Technical Field

本发明涉及一种涉及机器人数控加工领域,特别涉及一种混联机器人C3连续五轴路径转接光顺方法。The present invention relates to the field of robot numerical control machining, and in particular to a hybrid robot C3 continuous five-axis path switching and smoothing method.

背景技术Background Art

目前,随着航空、航天、铁路和航运等领域的快速发展,对大尺寸复杂零件的加工需求日益增加。制造具有串行行程的超大型机床是实现大尺寸零件加工的常用方案。然而,加工特征分散在大型零件上不同区域时,如飞机机翼蒙皮制孔,上述加工方案并不是一个经济高效的选择。将五自由度混联机器人视作“即插即用”模块,结合长行程导轨,可实现大尺寸零件原位加工。机器人加工技术是数控加工技术和机器人运动控制技术的结合。其中,加工路径通常在操作空间中进行度量,高阶连续路径规划技术是实现机器人运动控制的重要保障。为解决加工路径在连接点处非高阶连续现象引发的机器人频繁加减速问题,提高加工效率及改善精度,需要对混联机器人线性路径进行转接光顺处理,通过插入样条曲线替换原始路径拐角,保证光顺后的路径达到曲率微分连续(G3连续)。At present, with the rapid development of aviation, aerospace, railway and shipping, the demand for processing large-sized complex parts is increasing. Manufacturing super-large machine tools with serial stroke is a common solution for processing large-sized parts. However, when the processing features are scattered in different areas on large parts, such as hole making on aircraft wing skin, the above processing solution is not an economical and efficient choice. Considering the five-degree-of-freedom hybrid robot as a "plug-and-play" module, combined with a long-stroke guide rail, large-sized parts can be processed in situ. Robot processing technology is a combination of CNC processing technology and robot motion control technology. Among them, the processing path is usually measured in the operating space, and high-order continuous path planning technology is an important guarantee for realizing robot motion control. In order to solve the problem of frequent acceleration and deceleration of the robot caused by the non-high-order continuity of the processing path at the connection point, improve processing efficiency and improve accuracy, it is necessary to transfer and smooth the linear path of the hybrid robot. By inserting spline curves to replace the corners of the original path, the smoothed path is guaranteed to achieve curvature differential continuity (G3 continuity).

专利CN111230864公开的“一种混联机器人并联机器人刀具路径规划”将原始路径分为多个长直线段和多个短直线段,分别对断点进行转接光顺,对段直线段组进行拟合光顺。此方法虽然关注路径转接光顺,并采用直接光顺方法处理刀具方向路径,但未提供光顺曲线控制点的具体构造方法,同时未建立光顺误差限制下光顺曲线求解模型。Patent CN111230864 discloses a "Hybrid Robot Parallel Robot Tool Path Planning" that divides the original path into multiple long straight line segments and multiple short straight line segments, performs transition smoothing on the breakpoints, and performs fitting smoothing on the straight line segment groups. Although this method focuses on path transition smoothing and uses a direct smoothing method to process the tool direction path, it does not provide a specific construction method for the control points of the smoothing curve, and does not establish a smoothing curve solution model under the smoothing error limit.

专利CN112506139公开的“一种混联机器人短直线段轨迹的局部拐角光顺方法”提供了一种基于非对称PH曲线的三阶连续的实时拐角光顺方法。此方法虽然关注混联机器人线性路径转接光顺,但并未涉及刀尖点位置路径包含圆弧段的情形。此外,此方法将刀轴方向路径映射成线性路径,难以改善连接点附近的刀轴运动性能。Patent CN112506139 discloses a method for smoothing local corners of short straight line segments of hybrid robots. It provides a real-time corner smoothing method based on asymmetric PH curves and third-order continuity. Although this method focuses on the smoothing of linear path transitions of hybrid robots, it does not involve the case where the tool tip position path contains arc segments. In addition, this method maps the tool axis direction path into a linear path, which makes it difficult to improve the tool axis motion performance near the connection point.

混联机器人路径转接光顺需要解决两类问题:(1)光顺误差控制;(2)位置和方向路径的参数同步。在方向误差控制方面,已有方法可分为两类。一是采用数值迭代方法直接控制方向误差,这将大幅增加计算量;二是将样条曲线中点处的方向偏差作为预测值间接控制方向误差,但在特定情况下实际值与预测值会出现较大偏差,恶化误差控制能力。因此,亟需一种既能改善计算效率,又精确预测及控制光顺误差的方向路径光顺方法。There are two types of problems that need to be solved for path smoothing of hybrid robots: (1) smoothing error control; (2) parameter synchronization of position and directional paths. In terms of directional error control, existing methods can be divided into two categories. One is to directly control the directional error using a numerical iteration method, which will greatly increase the amount of calculation; the other is to indirectly control the directional error by using the directional deviation at the midpoint of the spline curve as a predicted value. However, in certain circumstances, there will be a large deviation between the actual value and the predicted value, which will deteriorate the error control ability. Therefore, there is an urgent need for a directional path smoothing method that can not only improve the computational efficiency but also accurately predict and control the smoothing error.

在参数同步方面,有两种解决方案。一是通过余留路径再参数化实现参数同步,该方法由于忽视位置和方向路径的几何特性,在路径转接点附近将导致较大的刀轴角加速度及角跃度。二是通过建立位置路径光顺长度和方向路径光顺角度的约束关系保证参数同步,但该方法需要将方向路径映射成一系列由直线段组成的中间路径,且会降低误差控制能力。因此,亟需一种既适用于单位球表面的方向路径光顺、又能改善刀轴运动光顺程度的参数同步方法。There are two solutions for parameter synchronization. One is to achieve parameter synchronization by re-parameterizing the residual path. This method ignores the geometric characteristics of the position and direction paths, which will lead to large tool axis angular acceleration and angular jump near the path transition point. The second is to ensure parameter synchronization by establishing a constraint relationship between the smoothing length of the position path and the smoothing angle of the direction path. However, this method requires mapping the direction path into a series of intermediate paths composed of straight line segments, and will reduce the error control capability. Therefore, there is an urgent need for a parameter synchronization method that is suitable for the direction path smoothing of the unit sphere surface and can improve the smoothness of the tool axis motion.

考虑到混联机器人多支链耦合特性,为避免机器人的惯性强迫振动,通常要求运动轨迹满足C3连续。此外,为避免间接光顺方法引起的奇异现象,应采取直接光顺方法在单位球表面处理刀轴方向路径。Considering the multi-branch coupling characteristics of the hybrid robot, in order to avoid the inertial forced vibration of the robot, the motion trajectory is usually required to meet C3 continuity. In addition, in order to avoid the singularity caused by the indirect smoothing method, the direct smoothing method should be used to process the tool axis direction path on the unit sphere surface.

发明内容Summary of the invention

本发明为解决公知技术中存在的技术问题而提供一种混联机器人C3连续五轴路径转接光顺方法。The present invention provides a hybrid robot C3 continuous five-axis path transition smoothing method to solve the technical problems existing in the known technology.

本发明为解决公知技术中存在的技术问题所采取的技术方案是:一种混联机器人C3连续五轴路径转接光顺方法,该方法包括如下步骤:设刀具轴线单位矢量的终点轨迹为刀轴方向路径;设刀尖点位置轨迹为刀尖点位置路径;刀尖点位置路径在笛卡尔坐标系中定义;刀轴方向路径在单位球表面上定义;刀尖点位置路径和刀轴方向路径,两者均采用样条曲线段进行转接光顺,两者光顺后的路径均由插入的样条曲线段和余留路径段组成,其中插入的样条曲线段均包含奇数个控制点,并假定插入样条曲线的中间控制点处与原始路径之间偏差最大;分别推导刀尖点位置路径和刀轴方向路径在转接点处曲率微分连续的充要条件,进而分别建立刀尖点位置路径光顺长度以及刀轴方向路径光顺角度与各自光顺误差的关系函数;基于工艺要求,确定刀尖点位置路径和刀轴方向路径各自对应的光顺误差限制值,结合参数同步引入的约束条件,确定刀尖点位置路径的光顺长度及刀轴方向路径的光顺角度,进而确定刀尖点位置路径和刀轴方向路径的光顺曲线。The technical solution adopted by the present invention to solve the technical problems existing in the known technology is: a hybrid robot C3 continuous five-axis path transition smoothing method, the method comprising the following steps: setting the end point trajectory of the tool axis unit vector as the tool axis direction path; setting the tool tip point position trajectory as the tool tip point position path; the tool tip point position path is defined in a Cartesian coordinate system; the tool axis direction path is defined on the surface of a unit sphere; both the tool tip point position path and the tool axis direction path are transition smoothed using spline curve segments, and the smoothed paths of both are composed of inserted spline curve segments and remaining path segments, wherein the inserted spline curve segments each contain an odd number of control The control point is set, and it is assumed that the deviation between the middle control point of the inserted spline curve and the original path is the largest; the necessary and sufficient conditions for the continuity of the curvature differential of the tool tip point position path and the tool axis direction path at the transition point are derived respectively, and then the relationship functions between the smoothing length of the tool tip point position path and the smoothing angle of the tool axis direction path and their respective smoothing errors are established respectively; based on the process requirements, the corresponding smoothing error limit values of the tool tip point position path and the tool axis direction path are determined, and combined with the constraints introduced by parameter synchronization, the smoothing length of the tool tip point position path and the smoothing angle of the tool axis direction path are determined, and then the smoothing curves of the tool tip point position path and the tool axis direction path are determined.

进一步地,该方法还包括如下步骤:引入参数同步曲线,重新构造刀尖点位置路径和刀轴方向路径解析表达式;选取含八个控制点的七阶B样条作为参数同步曲线,节点矢量设为(0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1)T;其中,参数同步曲线第一个控制点=0和第八个控制点=1;从光顺后的刀尖点位置路径中获取第h-1段路径Ch-1(u),第h段路径Ch(u),第h+1段路径Ch+1(u);从光顺后的刀轴方向路径中获取第h-1段路径Qh-1(u),第h段路径Qh(u),第h+1段路径Qh+1(u);则两段路径连接点处C3连续的充要条件如下:Furthermore, the method also includes the following steps: introducing a parameter synchronization curve, reconstructing the analytical expressions of the tool tip position path and the tool axis direction path; selecting a seventh-order B-spline with eight control points as the parameter synchronization curve, and setting the node vector to (0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1) T ; wherein, the first control point of the parameter synchronization curve = 0 and the eighth control point = 1; obtaining the h-1th path C h-1 (u), the hth path C h (u), and the h+1th path C h+1 (u) from the smoothed tool tip position path; obtaining the h-1th path Q h-1 (u), the hth path Q h (u), and the h+1th path Q h+1 (u) from the smoothed tool axis direction path; then the necessary and sufficient conditions for C3 continuity at the connection point of the two paths are as follows:

C′h(u)|u=1=C′h+1(u)|u=0;C″h(u)|u=1=C″h+1(u)|u=0;C″′h(u)|u=1=C″′h+1(u)|u=0C′ h (u)| u=1 =C′ h+1 (u)| u=0 ;C″ h (u)| u=1 =C″ h+1 (u)| u=0 ;C″ ′ h (u)| u=1 =C″′ h+1 (u)| u=0 ;

Q′h(u)|u=1=Q′h+1(u)|u=0;Q″h(u)|u=1=Q″h+1(u)|u=0;Q″′h(u)|u=1=Q″′h+1(u)|u=0Q′ h (u)| u=1 =Q′ h+1 (u)| u=0 ;Q″ h (u)| u=1 =Q″ h+1 (u)| u=0 ;Q″ ′ h (u)| u=1 =Q″′ h+1 (u)| u=0 ;

式中,u表示B样条曲线参数;h表示光顺后的刀尖点位置路径及刀轴方向路径的路径段编号;“′”、“″”和“″′”分别表示曲线关于参数u的一阶、二阶和三阶导数;根据刀轴角速度连续的充要条件,确定参数同步曲线的第二个控制点和第七个控制点取值;根据刀轴角加速度连续的充要条件,确定第三个控制点和第六个控制点取值;根据刀轴角跃度连续的充要条件,确定第四个控制点和第五个控制点取值。Wherein, u represents the B-spline curve parameter; h represents the path segment number of the tool tip position path and the tool axis direction path after smoothing; “′”, “″” and “″′” represent the first-order, second-order and third-order derivatives of the curve with respect to parameter u, respectively; according to the necessary and sufficient conditions for the continuity of the tool axis angular velocity, the values of the second and seventh control points of the parameter synchronization curve are determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular acceleration, the values of the third and sixth control points are determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular jump, the values of the fourth and fifth control points are determined.

进一步地,该方法还包括如下步骤:完成刀尖点位置路径和刀轴方向路径的光顺后,通过修正S加减速运动中的跃度曲线,生成跃度连续的刀尖点速度曲线;根据刀尖点速度曲线,结合预估-校正法进行参数插补,生成机器人加工过程中所需要的插补点序列。Furthermore, the method also includes the following steps: after completing the smoothing of the tool tip position path and the tool axis direction path, a tool tip velocity curve with continuous jumps is generated by correcting the jump curve in the S acceleration and deceleration motion; according to the tool tip velocity curve, parameter interpolation is performed in combination with the estimation-correction method to generate the interpolation point sequence required in the robot machining process.

进一步地,该方法还包括如下步骤:根据插补点序列,基于混联机器人运动学模型,确定每一时刻机器人各驱动关节的关节变量;根据每一时刻机器人各驱动关节的关节变量,控制混联机器人运动;基于PMAC运动控制卡,实时采集机器人运动过程中各关节的跟随误差,评价刀尖点位置路径和刀轴方向路径的光顺有效性。Furthermore, the method also includes the following steps: determining the joint variables of each driving joint of the robot at each moment according to the interpolation point sequence and based on the kinematic model of the hybrid robot; controlling the movement of the hybrid robot according to the joint variables of each driving joint of the robot at each moment; and collecting the following errors of each joint during the robot movement in real time based on the PMAC motion control card, and evaluating the smoothness effectiveness of the tool tip position path and the tool axis direction path.

进一步地,插入的样条曲线段为五次B样条。Furthermore, the inserted spline curve segment is a quintic B-spline.

进一步地,建立刀尖点位置路径光顺长度与其光顺误差的关系函数的具体步骤包括:Furthermore, the specific steps of establishing the relationship function between the smoothing length of the tool tip position path and its smoothing error include:

步骤A1,设第i-1个刀尖点Pi-1、第i个刀尖点Pi以及第i+1个刀尖点Pi+1是原始刀尖点位置路径中的三个依次相连的刀尖点;采用具有七个控制点的五次B样条曲线作为这三个刀尖点转接光顺时插入的样条曲线段;插入的样条曲线段表达式如下:Step A1, assuming that the i-1th tool tip point Pi -1 , the i-th tool tip point Pi and the i+1th tool tip point Pi+1 are three tool tip points connected in sequence in the original tool tip point position path; a quintic B-spline curve with seven control points is used as a spline curve segment inserted when the three tool tip points are transferred and smoothed; the expression of the inserted spline curve segment is as follows:

式中,Ci(u)表示在点Pi处插入的样条曲线;Bj,i表示样条曲线Ci(u)的控制点,其中,i表示原始刀位点的编号,j=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Nj,5(u)表示五阶B样条基函数;Where, Ci (u) represents the spline curve inserted at point Pi ; Bj ,i represents the control point of the spline curve Ci (u), where i represents the number of the original tool position point, j=0,1,…,6 represents the number of the control point; u∈[0,1] represents the spline curve parameter; Nj ,5 (u) represents the fifth-order B-spline basis function;

步骤A2,建立刀尖点位置路径在连接点处曲率微分连续的充要条件如下:Step A2, the necessary and sufficient conditions for establishing the curvature differential continuity of the tool tip position path at the connection point are as follows:

式中,me,i表示由点Pi指向点Pi+1的单位方向矢量,其中,“e”为标志位;s表示刀尖点位置路径累积弧长;In the formula, m e,i represents the unit direction vector from point Pi to point Pi+1 , where “e” is the sign bit; s represents the cumulative arc length of the tool tip position path;

步骤A3,假定路径段的长度满足||B0,iB1,i||=c1||B0,iB3,i||,其中,c1∈(0,1)为预先设定的常数;假定路径段的长度满足||B1,iB2,i||=c2||B0,iB3,i||,其中,c2∈(0,1)为预先设定的常数;为避免曲线自身交叉,应保证0<c1+c2<1;根据上述假定,建立位置样条曲线Ci(u)各控制点与刀尖点Pi的函数关系;Step A3, assuming that the path segment The length of satisfies ||B 0,i B 1,i ||=c 1 ||B 0,i B 3,i ||, where c 1 ∈(0,1) is a preset constant; assuming that the path segment The length of satisfies ||B 1,i B 2,i ||=c 2 ||B 0,i B 3,i ||, where c 2 ∈(0,1) is a preset constant; to avoid the curve from crossing itself, it should be ensured that 0<c 1 +c 2 <1; based on the above assumptions, the functional relationship between each control point of the position spline curve Ci (u) and the tool tip point Pi is established;

步骤A4,根据余留路径段的弧长随曲线参数单调递增,确定余留路径段长度的下限值;基于刀尖点位置路径曲线各控制点间的函数关系,建立刀尖点位置路径光顺长度与其光顺误差的关系函数如下:Step A4, according to the fact that the arc length of the remaining path segment monotonically increases with the curve parameter, the lower limit of the length of the remaining path segment is determined; based on the functional relationship between the control points of the tool tip position path curve, the relationship function between the smoothing length of the tool tip position path and its smoothing error is established as follows:

||B0,iB3,i||=||B3,iB6,i||;||B 0,i B 3,i ||=||B 3,i B 6,i ||;

式中,In the formula,

εpos,max表示设定的刀尖点位置路径的光顺误差限制值;ε pos,max represents the smoothing error limit value of the set tool tip position path;

φi表示单位矢量ms,i和me,i的夹角,其中,ms,i表示由点Pi指向点Pi-1的单位矢量,me,i表示由点Pi指向点Pi+1的单位矢量;φ i represents the angle between the unit vectors m s,i and m e,i , where m s,i represents the unit vector from point P i to point P i-1 , and m e,i represents the unit vector from point P i to point P i+1 ;

Li表示原始路径段的长度; Li represents the original path segment Length;

Li+1表示原始路径段的长度;Li +1 represents the original path segment Length;

表示由参数同步确定的余留位置路径长度的下限值,其中,B6,i-1表示在点Pi-1处插入的样条曲线的最后一个控制点; Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 6,i-1 represents the last control point of the spline curve inserted at point Pi -1 ;

表示由参数同步确定的余留位置路径长度的下限值,其中,B0,i+1表示在点Pi+1处插入的样条曲线的第一个控制点。 Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 0,i+1 represents the first control point of the spline curve inserted at point Pi +1 .

进一步地,建立刀轴方向路径光顺角度与其光顺误差的关系函数的具体步骤包括:Furthermore, the specific steps of establishing the relationship function between the smoothing angle of the tool axis path and its smoothing error include:

步骤B1,原始刀轴方向路径由单位球表面上一系列同心圆弧组成,设单位球的球心为W;设第i-1个刀具轴线单位矢量终点Oi-1、第i个刀具轴线单位矢量终点Oi以及第i+1个刀具轴线单位矢量终点Oi+1为原始刀轴方向路径中的三个依次相连的刀具轴线单位矢量终点;基于刀具轴线单位矢量的模恒为1,采用包括七个控制点的五次B样条曲线作为刀轴方向路径转接光顺时插入的样条曲线段;设Qi(u)为在点Oi处插入的刀轴方向路径的样条曲线:Qi(u)的表达式如下:Step B1, the original tool axis direction path is composed of a series of concentric arcs on the surface of a unit sphere, and the center of the unit sphere is set to W; the i-1th tool axis unit vector endpoint O i-1 , the i-th tool axis unit vector endpoint O i and the i+1th tool axis unit vector endpoint O i+1 are set as three consecutive tool axis unit vector endpoints in the original tool axis direction path; based on the constant modulus of the tool axis unit vector being 1, a quintic B-spline curve including seven control points is used as the spline curve segment inserted when the tool axis direction path is converted and smoothed; Qi (u) is set as the spline curve of the tool axis direction path inserted at point O i : the expression of Qi (u) is as follows:

式中,Φi(u)表示根据刀轴方向路径曲率微分连续条件,在点Oi处构造的初始样条曲线;“||WΦi(u)||”表示点W到曲线Φi(u)上参数u对应的点的距离;Dk,i表示样条曲线Qi(u)的控制点,其中,i表示原始刀位点的编号,k=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Wherein, Φ i (u) represents the initial spline curve constructed at point O i according to the differential continuity condition of the path curvature in the tool axis direction; “||WΦ i (u)||” represents the distance from point W to the point corresponding to parameter u on the curve Φ i (u); D k,i represents the control point of the spline curve Qi (u), where i represents the number of the original tool position point, k = 0, 1, ..., 6 represents the number of the control point; u∈[0,1] represents the spline curve parameter;

步骤B2,建立刀轴方向路径在连接点处曲率微分连续的充要条件:Step B2, establish the necessary and sufficient conditions for the continuity of the curvature differential of the tool axis path at the connection point:

式中,so表示刀轴方向路径累积弧长;表示圆弧上D6,i处的单位切矢量,其中,“e”为标志位;d6,i表示由单位球的球心W指向点D6,i的矢量;In the formula, s o represents the cumulative arc length of the path in the tool axis direction; Represents an arc The unit tangent vector at D 6,i on the upper right corner, where “e” is the sign; d 6,i represents the vector from the center W of the unit sphere to the point D 6,i ;

步骤B3,根据曲率微分连续的充要条件以及B样条曲线的导数特性,建立曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数关系;假定曲线Qi(u)控制点满足如下关系:线段与线段的长度比为1:h,2≤h≤8;根据刀轴方向路径曲率微分连续的充要条件,确定光顺曲线Qi(u)的控制点D3,i;根据刀轴方向路径曲率连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定曲线Qi(u)的控制点D2,i和D4,i;根据刀轴方向路径切向连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定曲线Qi(u)的控制点D1,i和D5,iStep B3, based on the necessary and sufficient conditions for the continuity of curvature differential and the derivative characteristics of the B-spline curve, establish the functional relationship between each control point of the curve Qi (u) and the end point of the unit vector of the original tool axis; assume that the control points of the curve Qi (u) satisfy the following relationship: With line segment The length ratio is 1:h, 2≤h≤8; according to the necessary and sufficient conditions for the differential continuity of the curvature of the path in the tool axis direction, determine the control point D 3,i of the smoothing curve Qi (u); according to the necessary and sufficient conditions for the continuity of the curvature of the path in the tool axis direction and the center angles ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the transition segment, determine the control points D 2,i and D 4,i of the curve Qi (u); according to the necessary and sufficient conditions for the tangential continuity of the path in the tool axis direction and the center angles ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the transition segment, determine the control points D 1,i and D 5,i of the curve Qi (u);

设{Rs,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,设表示圆弧段在点Oi处的单位切矢量,设表示圆弧段在点Oi处的主法向单位矢量,设表示圆弧段在点Oi处的副法向单位矢量;Let {R s,i } represent the arc segment The Frenet coordinate system is constructed at the upper point O i. Represents an arc segment The unit tangent vector at point O i is Represents an arc segment The principal normal unit vector at point O i is Represents an arc segment The binormal unit vector at point O i ;

设{Re,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,设表示圆弧段在点Oi处的单位切矢量,设表示圆弧段在点Oi处的主法向单位矢量,设表示圆弧段在点Oi处的副法向单位矢量;Let {R e,i } represent the arc segment The Frenet coordinate system is constructed at the upper point O i. Represents an arc segment The unit tangent vector at point O i is Represents an arc segment The principal normal unit vector at point O i is Represents an arc segment The binormal unit vector at point O i ;

设d3,i=oi;则有:Assume d 3,i = o i ; then:

式中,In the formula,

oi表示第i个刀位点对应的刀具轴线单位矢量;o i represents the unit vector of the tool axis corresponding to the i-th tool position point;

表示表示圆弧上D0,i处的单位切矢量,其中,“s”为标志位; Represents an arc The unit tangent vector at D 0,i , where "s" is the sign bit;

表示角度∠D0,iWD3,i,其中,“s”表示标志位; represents the angle ∠D 0,i WD 3,i , where “s” represents the sign bit;

表示角度∠D3,iWD6,i,其中,“e”表示标志位; represents the angle ∠D 3,i WD 6,i , where “e” represents the sign bit;

d0,i表示由点W指向点D0,i的矢量;d 0,i represents the vector from point W to point D 0,i ;

d1,i表示由点W指向点D1,i的矢量;d 1,i represents the vector from point W to point D 1,i ;

d2,i表示由点W指向点D2,i的矢量;d 2,i represents the vector from point W to point D 2,i ;

d3,i表示由点W指向点D3,i的矢量;d 3,i represents the vector from point W to point D 3,i ;

d4,i表示由点W指向点D4,i的矢量;d 4,i represents the vector from point W to point D 4,i ;

d5,i表示由点W指向点D5,i的矢量;d 5,i represents the vector from point W to point D 5,i ;

d6,i表示由点W指向点D6,i的矢量;d 6,i represents the vector from point W to point D 6,i ;

步骤B4,根据曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数关系,推导刀轴方向路径光顺误差与光顺角度的解析表达式;将刀轴方向路径光顺误差表示成和θn,i的显式函数,其中,θn,i表示单位矢量的夹角;通过绘制刀轴方向路径光顺误差全域变化趋势图,得到刀轴方向路径光顺误差随光顺角度单调递增;基于刀轴方向路径光顺误差以及参数同步的限制条件,采用数值方法求解光顺角度 Step B4, according to the functional relationship between each control point of the curve Qi (u) and the end point of the original tool axis unit vector, derive the analytical expression of the tool axis direction path smoothing error and the smoothing angle; the tool axis direction path smoothing error is expressed as and θ n,i, where θ n,i represents the unit vector and By drawing the global variation trend diagram of the smoothing error in the tool axis direction, the smoothing error in the tool axis direction is obtained as a function of the smoothing angle. Monotonically increasing; Based on the smoothing error of the tool axis path and the constraints of parameter synchronization, a numerical method is used to solve the smoothing angle and

进一步地,步骤B4包括如下分步骤:Further, step B4 includes the following sub-steps:

步骤B4-1,考虑如下限制条件确定光顺角度的上限值:Step B4-1, determine the smoothing angle considering the following constraints Upper limit value:

1)为避免相邻刀尖点位置路径曲线相交,光顺角度不应超过原始圆心角的一半;1) To avoid the intersection of path curves at adjacent tool tip points, the smoothing angle should not exceed half of the original center angle;

2)根据余留路径段的弧长随曲线参数单调递增,确定余留路径段圆心角∠D0, iWD3,i和∠D3,iWD6,i的下限值;2) according to the fact that the arc length of the remaining path segment increases monotonically with the curve parameter, determine the lower limit values of the central angles ∠D 0, i WD 3,i and ∠D 3,i WD 6,i of the remaining path segment;

则有:Then we have:

式中,表示光顺角度的上限值;δi表示圆弧段的圆心角;δi+1表示圆弧段的圆心角;表示余留路径段圆心角∠D6,i-1WD0,i的下限值;表示余留路径段圆心角∠D6,iWD0,i+1的下限值;In the formula, Indicates the smoothing angle The upper limit value of δ i represents the arc segment The central angle of the circle; δ i+1 represents the arc segment The central angle of a circle; Indicates the lower limit of the center angle ∠D 6,i-1 WD 0,i of the remaining path segment; Indicates the lower limit of the center angle ∠D 6,i WD 0,i+1 of the remaining path segment;

步骤B4-2,根据光顺角度的上限值,计算刀轴方向路径的光顺误差;判断刀轴方向路径光顺误差是否满足下述条件:Step B4-2, according to the smoothing angle The upper limit value of the tool axis path is calculated to calculate the smoothing error of the tool axis path; determine whether the smoothing error of the tool axis path meets the following conditions:

(1-εtori,max≤εori,i≤εori,max(1-ε tori,max ≤ε ori,i ≤ε ori,max ;

式中,εt表示刀轴方向路径光顺误差的控制精度,εori,i表示刀轴方向路径在点Oi处的光顺误差;εori,max为预先定义的刀轴方向路径光顺误差限制值;Where, ε t represents the control accuracy of the smoothing error of the tool axis path, ε ori,i represents the smoothing error of the tool axis path at point O i ; ε ori,max is the predefined limit value of the smoothing error of the tool axis path;

若刀轴方向路径光顺误差满足条件,则令 If the path smoothing error in the tool axis direction meets the condition, then

若刀轴方向路径光顺误差不满足条件,则采用二分法求解光顺角度;根据二分法求解策略,不断更新光顺角度的取值,直至满足约束条件;If the path smoothing error in the tool axis direction does not meet the conditions, the smoothing angle is solved by the binary search method. According to the binary search strategy, the value of the smoothing angle is continuously updated until the constraint conditions are met.

步骤B4-3,根据计算得到的光顺角度,进一步完全确定刀轴方向路径光顺曲线。Step B4-3, further completely determine the smoothing curve of the tool axis direction path based on the calculated smoothing angle.

进一步地,通过调整刀尖点位置路径光顺长度和刀轴方向路径光顺角度来改善混联机器人刀轴运动性能,调整刀尖点位置路径光顺长度和刀轴方向路径光顺角度的方法包括:Furthermore, the tool axis motion performance of the hybrid robot is improved by adjusting the smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path. The method for adjusting the smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path includes:

步骤D1,根据规划后的混联机器人加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: Step D1, based on the planned hybrid robot machining path, determine whether the path smoothing length of the tool tip position and the path smoothing angle of the tool axis direction meet the following conditions:

若满足条件,则令 If the conditions are met, then

若不满足条件,则令 If the condition is not met, then

步骤D2,根据规划后的加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: Step D2, based on the planned machining path, determine whether the path smoothing length of the tool tip position and the path smoothing angle of the tool axis direction meet the following conditions:

若满足条件,则令 If the conditions are met, then

若不满足条件,则令 If the condition is not met, then

步骤D3,完成刀尖点位置路径光顺长度和刀轴方向路径光顺角度调整后,根据更新后的刀尖点位置路径光顺长度和刀轴方向路径光顺角度,重新计算刀尖点位置路径光顺曲线Ci(u)和刀轴方向路径光顺曲线Qi(u);Step D3, after the smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path are adjusted, the tool tip position path smoothing curve Ci (u) and the tool axis direction path smoothing curve Qi (u) are recalculated according to the updated smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path;

步骤D4,由C3连续刀尖点位置路径和C3连续刀轴方向路径构成刀具规划后的全局C3连续的混联机器人加工路径。Step D4, a global C3 continuous hybrid robot machining path after tool planning is formed by the C3 continuous tool tip point position path and the C3 continuous tool axis direction path.

本发明具有的优点和积极效果是:本发明根据曲率微分连续的约束条件,提出了直线段和圆弧段转接光顺曲线控制点的解析构造方法。The advantages and positive effects of the present invention are as follows: according to the constraint condition of curvature differential continuity, the present invention proposes an analytical construction method for control points of a smooth curve for transition between a straight line segment and an arc segment.

本发明在单位球表面上实现了方向路径的直接光顺,无需将方向路径映射成线性路径,避免了间接方法引起的奇异现象,保证了方向光顺误差的精确预测及控制,提高了光顺方法的计算效率,进而改善了混联机器人的运动性能。The present invention realizes direct smoothing of directional paths on the surface of a unit sphere without mapping the directional paths into linear paths, thus avoiding the singularity caused by indirect methods, ensuring accurate prediction and control of directional smoothing errors, improving the computational efficiency of the smoothing method, and further improving the motion performance of the hybrid robot.

本发明通过再参数化余留路径段实现几何光顺路径参数同步,无需迭代计算便能确定同步曲线的控制点以及余留路径段的长度或角度裕值。为改善刀轴运动性能,本发明提出了一种光顺长度或角度的调整方法。The present invention realizes geometric smooth path parameter synchronization by re-parameterizing the remaining path segment, and can determine the control points of the synchronization curve and the length or angle margin of the remaining path segment without iterative calculation. In order to improve the motion performance of the tool axis, the present invention proposes a method for adjusting the smooth length or angle.

本发明所提光顺方法不仅适用于五轴线性路径,同时适用于包含圆弧段的刀尖点位置路径。因此,基于本发明可进一步得到一种通用五轴路径光顺方法,相关算法可作为独立于机器人数控系统的前置处理模块。The smoothing method proposed in the present invention is not only applicable to five-axis linear paths, but also to tool tip position paths containing arc segments. Therefore, based on the present invention, a universal five-axis path smoothing method can be further obtained, and the relevant algorithm can be used as a pre-processing module independent of the robot numerical control system.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1:混联机器人加工路径C3连续转接光顺流程图。Figure 1: Flow chart of continuous transfer and smoothing of hybrid robot processing path C3.

图2:刀尖点位置路径转接光顺示意图。Figure 2: Schematic diagram of tool tip position path transition and smoothing.

图3:刀轴方向路径转接光顺示意图。Figure 3: Schematic diagram of path smoothing in tool axis direction.

图4:方向误差变化趋势图。Figure 4: Direction error change trend graph.

图5:采用二分法计算方向路径光顺角度流程图。Figure 5: Flowchart of calculating the directional path smoothing angle using the binary method.

图6:S形路径C3连续转接光顺结果。Figure 6: S-shaped path C3 continuous transition smoothing result.

图7:基于本发明的S形测试件加工结果。FIG. 7 : Processing results of an S-shaped test piece according to the present invention.

图1中:In Figure 1:

C3连续表示参数曲线关于时间的三阶导数连续;C3 continuity means that the third-order derivative of the parameter curve with respect to time is continuous;

G3连续表示参数曲线关于曲线弧长的三阶导数连续,即曲率微分连续;G3 continuity means that the third-order derivative of the parametric curve with respect to the arc length of the curve is continuous, that is, the curvature differential is continuous;

CAD表示ComputerAided Design,即计算机辅助设计;CAD stands for Computer Aided Design, which means computer-aided design;

CAM表示Computer Aided Manufacturing,即计算机辅助制造;CAM stands for Computer Aided Manufacturing.

图2中:In Figure 2:

Pi表示第i个刀位点对应的刀尖点位置; Pi represents the tool tip position corresponding to the i-th tool position point;

Pi-1表示第i-1个刀位点对应的刀尖点位置;P i-1 represents the position of the tool tip corresponding to the i-1th tool position point;

Pi+1表示第i+1个刀位点对应的刀尖点位置;Pi +1 represents the position of the tool tip corresponding to the i+1th tool position point;

Ci(u)表示在点Pi处插入的位置光顺曲线; Ci (u) represents the position smoothing curve inserted at point Pi ;

B6,i-1表示位置光顺曲线Ci-1(u)的第七个控制点,其中,Ci-1(u)表示在点Pi-1处插入的位置光顺曲线;B 6,i-1 represents the seventh control point of the position smoothing curve Ci -1 (u), where Ci -1 (u) represents the position smoothing curve inserted at the point Pi-1 ;

B0,i表示位置光顺曲线Ci(u)的第一个控制点;B 0,i represents the first control point of the position smoothing curve C i (u);

B3,i表示位置光顺曲线Ci(u)的第四个控制点;B 3,i represents the fourth control point of the position smoothing curve C i (u);

B6,i表示位置光顺曲线Ci(u)的第七个控制点;B 6,i represents the seventh control point of the position smoothing curve C i (u);

B0,i+1表示位置光顺曲线Ci+1(u)的第一个控制点,其中,Ci+1(u)表示在点Pi+1处插入的位置光顺曲线;B 0,i+1 represents the first control point of the position smoothing curve Ci +1 (u), where Ci +1 (u) represents the position smoothing curve inserted at the point Pi+1 ;

Li表示原始位置路径段的长度; Li represents the original location path segment Length;

Li+1表示原始位置路径段的长度;Li +1 represents the original position path segment Length;

lr,i表示余留位置路径段的长度,其中,下标“r”为标志位;l r,i represents the remaining position path segment The length of , where the subscript "r" is the sign bit;

lr,i+1表示余留位置路径段的长度,其中,下标“r”为标志位;l r,i+1 represents the remaining position path segment The length of , where the subscript "r" is the sign bit;

φi表示矢量ms,i和me,i的夹角,其中,ms,i表示由Pi指向Pi-1的单位矢量,下标“s”为标志位,me,i表示由Pi指向Pi+1的单位矢量,下标“e”为标志位;φ i represents the angle between vectors m s,i and m e,i , where m s,i represents the unit vector from P i to P i-1 , with the subscript "s" being the sign, and m e,i represents the unit vector from P i to P i+1 , with the subscript "e" being the sign;

图3中:In Figure 3:

W表示工件坐标系原点;W represents the origin of the workpiece coordinate system;

Oi表示第i个刀位点对应的刀具轴线单位矢量终点;O i represents the end point of the unit vector of the tool axis corresponding to the i-th tool position point;

Oi-1表示第i-1个刀位点对应的刀具轴线单位矢量终点;O i-1 represents the end point of the tool axis unit vector corresponding to the i-1th tool position point;

Oi+1表示第i+1个刀位点对应的刀具轴线单位矢量终点;O i+1 represents the end point of the tool axis unit vector corresponding to the i+1th tool position point;

Qi(u)表示在点Oi处插入的方向光顺曲线; Qi (u) represents the directional smoothing curve inserted at point Oi ;

D6,i-1表示方向光顺曲线Qi-1(u)的第七个控制点,其中,Qi-1(u)表示在点Oi-1处插入的方向光顺曲线;D 6,i-1 represents the seventh control point of the directional smoothing curve Qi -1 (u), wherein Qi -1 (u) represents the directional smoothing curve inserted at the point O i-1 ;

D0,i表示方向光顺曲线Qi(u)的第一个控制点;D 0,i represents the first control point of the directional smoothing curve Qi (u);

D3,i表示方向光顺曲线Qi(u)的第四个控制点;D 3,i represents the fourth control point of the directional smoothing curve Qi (u);

D6,i表示方向光顺曲线Qi(u)的第七个控制点;D 6,i represents the seventh control point of the directional smoothing curve Qi (u);

D0,i+1表示方向光顺曲线Qi+1(u)的第一个控制点,其中,Qi+1(u)表示在点Oi+1处插入的方向光顺曲线;D 0,i+1 represents the first control point of the directional smoothing curve Qi +1 (u), where Qi +1 (u) represents the directional smoothing curve inserted at point O i+1 ;

{Rs,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,下标“s”为标志位,其中,表示单位切矢量,表示主法向矢量,表示副法向矢量;{R s,i } represents the arc segment The Frenet coordinate system constructed at the upper point O i , the subscript "s" is the sign, where represents the unit tangent vector, represents the principal normal vector, represents the binormal vector;

{Re,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,下标“e”为标志位,其中,表示单位切矢量,表示主法向矢量,表示副法向矢量;{R e,i } represents the arc segment The Frenet coordinate system constructed at the upper point O i , the subscript "e" is the sign, where represents the unit tangent vector, represents the principal normal vector, represents the binormal vector;

θn,i表示两个副法向矢量的夹角,其中,下标“n”为标志位;θ n,i represents two binormal vectors and The angle of , where the subscript "n" is a sign;

δi表示圆弧段的圆心角;δ i represents the arc segment The central angle of a circle;

δi+1表示圆弧段的圆心角;δ i+1 represents an arc segment The central angle of a circle;

表示圆弧上D0,i处的单位切矢量,其中,下标“s”为标志位; Represents an arc The unit tangent vector at D 0,i , where the subscript "s" is a flag;

表示圆弧上D6,i处的单位切矢量,其中,下标“e”为标志位,; Represents an arc The unit tangent vector at D 6,i , where the subscript "e" is a flag;

图4中Figure 4

εori,i表示点Oi处的方向光顺误差;ε ori,i represents the directional smoothing error at point O i ;

图5中:In Figure 5:

表示考虑方向光顺曲线自身不相交及参数同步等限制条件确定的角度的上限值,其中,表示角度∠D3,iWD6,i,i表示刀位点的索引值; Indicates the angle determined by considering constraints such as non-intersection of the directional smoothing curve itself and parameter synchronization The upper limit value of Represents the angle ∠D 3,i WD 6,i , where i represents the index value of the tool position point;

εt表示方向光顺误差控制精度,其中,下标“t”为标志位,例如取εt=0.1%;ε t represents the control accuracy of directional smoothing error, where the subscript "t" is a flag, for example, ε t = 0.1%;

bs表示迭代算法中使用中间变量,其中,下标“s”为标志位;b s indicates the use of intermediate variables in the iterative algorithm, where the subscript "s" is a flag bit;

be表示迭代算法中使用中间变量,其中,下标“e”为标志位;b e indicates the use of intermediate variables in the iterative algorithm, where the subscript "e" is a flag;

具体实施方式DETAILED DESCRIPTION

为能进一步了解本发明的发明内容、特点及功效,兹列举以下实施例,并配合附图详细说明如下:In order to further understand the content, features and effects of the present invention, the following embodiments are listed and described in detail with reference to the accompanying drawings:

请参见图1至图7,一种混联机器人C3连续五轴路径转接光顺方法,该方法包括如下步骤:设刀具轴线单位矢量的终点轨迹为刀轴方向路径;设刀尖点位置轨迹为刀尖点位置路径;刀尖点位置路径在笛卡尔坐标系中定义;刀轴方向路径在单位球表面上定义;刀尖点位置路径和刀轴方向路径,两者均采用样条曲线段进行转接光顺,两者光顺后的路径均由插入的样条曲线段和余留路径段组成,其中插入的样条曲线段均包含奇数个控制点,并假定插入样条曲线的中间控制点处与原始路径之间偏差最大;分别推导刀尖点位置路径和刀轴方向路径在转接点处曲率微分连续的充要条件,进而分别建立刀尖点位置路径光顺长度以及刀轴方向路径光顺角度与各自光顺误差的关系函数;基于工艺要求,确定刀尖点位置路径和刀轴方向路径各自对应的光顺误差限制值,结合参数同步引入的约束条件,确定刀尖点位置路径的光顺长度及刀轴方向路径的光顺角度,进而确定刀尖点位置路径和刀轴方向路径的光顺曲线。Please refer to Figures 1 to 7, a hybrid robot C3 continuous five-axis path transition smoothing method, the method includes the following steps: set the end point trajectory of the tool axis unit vector as the tool axis direction path; set the tool tip point position trajectory as the tool tip point position path; the tool tip point position path is defined in the Cartesian coordinate system; the tool axis direction path is defined on the unit sphere surface; both the tool tip point position path and the tool axis direction path are transition smoothed using spline curve segments, and the smoothed paths of both are composed of inserted spline curve segments and remaining path segments, wherein the inserted spline curve segments contain an odd number of control points, and it is assumed that the inserted spline curve segments have an odd number of control points. The deviation between the middle control point of the curve and the original path is the largest; the necessary and sufficient conditions for the continuity of the curvature differential of the tool tip point position path and the tool axis direction path at the transition point are derived respectively, and then the relationship functions between the smoothing length of the tool tip point position path and the smoothing angle of the tool axis direction path and their respective smoothing errors are established respectively; based on the process requirements, the corresponding smoothing error limit values of the tool tip point position path and the tool axis direction path are determined, and combined with the constraints introduced by parameter synchronization, the smoothing length of the tool tip point position path and the smoothing angle of the tool axis direction path are determined, and then the smoothing curves of the tool tip point position path and the tool axis direction path are determined.

刀具轴线单位矢量的起点为工件坐标系原点。The starting point of the tool axis unit vector is the origin of the workpiece coordinate system.

刀尖点位置路径的光顺长度:刀尖点位置路径上被样条曲线替代部分对应的长度。Smoothing length of tool tip location path: the length of the part of the tool tip location path that is replaced by the spline curve.

刀轴方向路径的光顺角度:刀轴方向路径上被样条曲线替代部分对应的圆心角。Smoothing angle of the tool axis path: the center angle of the part of the tool axis path that is replaced by the spline curve.

光顺误差是指:样条曲线与原始路径之间的最大偏差,例如位置光顺误差是指样条曲线与原始路径之间的豪斯道夫距离。The smoothing error refers to the maximum deviation between the spline curve and the original path. For example, the position smoothing error refers to the Hausdorff distance between the spline curve and the original path.

优选地,该方法还可包括如下步骤:引入参数同步曲线,重新构造刀尖点位置路径和刀轴方向路径解析表达式;选取含八个控制点的七阶B样条作为参数同步曲线,节点矢量设为(0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1)T;其中,参数同步曲线第一个控制点=0和第八个控制点=1;从光顺后的刀尖点位置路径中获取第h-1段路径Ch-1(u),第h段路径Ch(u),第h+1段路径Ch+1(u);从光顺后的刀轴方向路径中获取第h-1段路径Qh-1(u),第h段路径Qh(u),第h+1段路径Qh+1(u);则两段路径连接点处C3连续的充要条件如下:C′h(u)|u=1=C′h+1(u)|u=0;C″h(u)|u=1=C″h+1(u)|u=0;C″′h(u)|u=1=C″′h+1(u)|u=0Preferably, the method may further include the following steps: introducing a parameter synchronization curve, reconstructing the analytical expressions of the tool tip position path and the tool axis direction path; selecting a seventh-order B-spline with eight control points as the parameter synchronization curve, and setting the node vector to (0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1) T ; wherein, the first control point of the parameter synchronization curve = 0 and the eighth control point = 1; obtaining the h-1th path C h-1 (u), the hth path C h (u), and the h+1th path C h+1 (u) from the smoothed tool tip position path; obtaining the h-1th path Q h-1 (u), the hth path Q h (u), and the h+1th path Q h+1 (u) from the smoothed tool axis direction path; then the necessary and sufficient conditions for the continuity of C3 at the connection point of the two paths are as follows: C′ h (u)| u=1 =C′ h+1 (u)| u=0 ;C″ h (u)| u=1 =C″ h+1 (u)| u=0 ;C″′ h (u)| u=1 =C″′ h+1 (u)| u=0 ;

Q′h(u)|u=1=Q′h+1(u)|u=0;Q″h(u)|u=1=Q″h+1(u)|u=0;Q″′h(u)|u=1=Q″′h+1(u)|u=0Q′ h (u)| u=1 =Q′ h+1 (u)| u=0 ;Q″ h (u)| u=1 =Q″ h+1 (u)| u=0 ;Q″ ′ h (u)| u=1 =Q″′ h+1 (u)| u=0 ;

式中,u表示B样条曲线参数;h表示光顺后的刀尖点位置路径及刀轴方向路径的路径段编号;“′”、“″”和“″′”分别表示曲线关于参数u的一阶、二阶和三阶导数;根据刀轴角速度连续的充要条件,确定参数同步曲线的第二个控制点和第七个控制点取值;根据刀轴角加速度连续的充要条件,确定第三个控制点和第六个控制点取值;根据刀轴角跃度连续的充要条件,确定第四个控制点和第五个控制点取值。Wherein, u represents the B-spline curve parameter; h represents the path segment number of the tool tip position path and the tool axis direction path after smoothing; “′”, “″” and “″′” represent the first-order, second-order and third-order derivatives of the curve with respect to parameter u, respectively; according to the necessary and sufficient conditions for the continuity of the tool axis angular velocity, the values of the second and seventh control points of the parameter synchronization curve are determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular acceleration, the values of the third and sixth control points are determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular jump, the values of the fourth and fifth control points are determined.

参数同步曲线是指:实现刀尖点位置路径和刀轴方向路径参数同步采用的曲线。The parameter synchronization curve refers to the curve used to achieve synchronization of tool tip position path and tool axis direction path parameters.

优选地,该方法还可包括如下步骤:完成刀尖点位置路径和刀轴方向路径的光顺后,通过修正S加减速运动中的跃度曲线,生成跃度连续的刀尖点速度曲线;根据刀尖点速度曲线,结合预估-校正法进行参数插补,生成机器人加工过程中所需要的插补点序列。Preferably, the method may also include the following steps: after completing the smoothing of the tool tip position path and the tool axis direction path, generating a tool tip velocity curve with continuous jumps by correcting the jump curve in the S acceleration and deceleration motion; performing parameter interpolation based on the tool tip velocity curve in combination with the estimation-correction method to generate the interpolation point sequence required in the robot machining process.

优选地,该方法还可包括如下步骤:根据插补点序列,基于混联机器人运动学模型,确定每一时刻机器人各驱动关节的关节变量;根据每一时刻机器人各驱动关节的关节变量,控制混联机器人运动;基于PMAC运动控制卡,实时采集机器人运动过程中各关节的跟随误差,评价刀尖点位置路径和刀轴方向路径的光顺有效性。Preferably, the method may also include the following steps: determining the joint variables of each driving joint of the robot at each moment according to the interpolation point sequence and based on the kinematic model of the hybrid robot; controlling the movement of the hybrid robot according to the joint variables of each driving joint of the robot at each moment; and collecting the following errors of each joint during the movement of the robot in real time based on the PMAC motion control card, and evaluating the smoothness effectiveness of the tool tip position path and the tool axis direction path.

优选地,插入的样条曲线段可为五次B样条。Preferably, the inserted spline curve segment may be a quintic B-spline.

优选地,建立刀尖点位置路径光顺长度与其光顺误差的关系函数的具体步骤可包括:Preferably, the specific steps of establishing the relationship function between the smoothing length of the tool tip position path and its smoothing error may include:

步骤A1,可设第i-1个刀尖点Pi-1、第i个刀尖点Pi以及第i+1个刀尖点Pi+1是原始刀尖点位置路径中的三个依次相连的刀尖点;可采用具有七个控制点的五次B样条曲线作为这三个刀尖点转接光顺时插入的样条曲线段;插入的样条曲线段表达式如下:In step A1, the i-1th tool tip point Pi -1 , the i-th tool tip point Pi and the i+1th tool tip point Pi+1 are three tool tip points connected in sequence in the original tool tip point position path; a quintic B-spline curve with seven control points can be used as the spline curve segment inserted when the three tool tip points are smoothed; the expression of the inserted spline curve segment is as follows:

式中,Ci(u)表示在点Pi处插入的样条曲线;Bj,i表示样条曲线Ci(u)的控制点,其中,i表示原始刀位点的编号,j=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Nj,5(u)表示五阶B样条基函数;Where, Ci (u) represents the spline curve inserted at point Pi ; Bj ,i represents the control point of the spline curve Ci (u), where i represents the number of the original tool position point, j=0,1,…,6 represents the number of the control point; u∈[0,1] represents the spline curve parameter; Nj ,5 (u) represents the fifth-order B-spline basis function;

步骤A2,可建立刀尖点位置路径在连接点处曲率微分连续的充要条件如下:Step A2, the necessary and sufficient conditions for the continuity of the curvature differential of the tool tip position path at the connection point can be established as follows:

式中,me,i表示由点Pi指向点Pi+1的单位方向矢量,其中,“e”为标志位;s表示刀尖点位置路径累积弧长;In the formula, m e,i represents the unit direction vector from point Pi to point Pi+1 , where “e” is the sign bit; s represents the cumulative arc length of the tool tip position path;

步骤A3,可假定路径段的长度满足||B0,iB1,i||=c1||B0,iB3,i||,其中,c1∈(0,1)为预先设定的常数;假定路径段的长度满足||B1,iB2,i||=c2||B0,iB3,i||,其中,c2∈(0,1)为预先设定的常数;为避免曲线自身交叉,应保证0<c1+c2<1;根据上述假定,建立位置样条曲线Ci(u)各控制点与刀尖点Pi的函数关系;Step A3, it can be assumed that the path segment The length of satisfies ||B 0,i B 1,i ||=c 1 ||B 0,i B 3,i ||, where c 1 ∈(0,1) is a preset constant; assuming that the path segment The length of satisfies ||B 1,i B 2,i ||=c 2 ||B 0,i B 3,i ||, where c 2 ∈(0,1) is a preset constant; to avoid the curve from crossing itself, it should be ensured that 0<c 1 +c 2 <1; based on the above assumptions, the functional relationship between each control point of the position spline curve Ci (u) and the tool tip point Pi is established;

步骤A4,可根据余留路径段的弧长随曲线参数单调递增,确定余留路径段长度的下限值;基于刀尖点位置路径曲线各控制点间的函数关系,建立刀尖点位置路径光顺长度与其光顺误差的关系函数如下:In step A4, the lower limit of the length of the remaining path segment can be determined according to the fact that the arc length of the remaining path segment increases monotonically with the curve parameter; based on the functional relationship between the control points of the tool tip position path curve, the relationship function between the smoothing length of the tool tip position path and its smoothing error is established as follows:

||B0,iB3,i||=||B3,iB6,i||;||B 0,i B 3,i ||=||B 3,i B 6,i ||;

式中,In the formula,

εpos,max表示设定的刀尖点位置路径的光顺误差限制值;ε pos,max represents the smoothing error limit value of the set tool tip position path;

φi表示单位矢量ms,i和me,i的夹角,其中,ms,i表示由点Pi指向点Pi-1的单位矢量,me,i表示由点Pi指向点Pi+1的单位矢量;φ i represents the angle between the unit vectors m s,i and m e,i , where m s,i represents the unit vector from point P i to point P i-1 , and m e,i represents the unit vector from point P i to point P i+1 ;

Li表示原始路径段的长度; Li represents the original path segment Length;

Li+1表示原始路径段的长度;Li +1 represents the original path segment Length;

表示由参数同步确定的余留位置路径长度的下限值,其中,B6,i-1表示在点Pi-1处插入的样条曲线的最后一个控制点; Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 6,i-1 represents the last control point of the spline curve inserted at point Pi -1 ;

表示由参数同步确定的余留位置路径长度的下限值,其中,B0,i+1表示在点Pi+1处插入的样条曲线的第一个控制点。 Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 0,i+1 represents the first control point of the spline curve inserted at point Pi +1 .

优选地,建立刀轴方向路径光顺角度与其光顺误差的关系函数的具体步骤可包括:Preferably, the specific steps of establishing the relationship function between the smoothing angle of the tool axis path and its smoothing error may include:

步骤B1,原始刀轴方向路径由单位球表面上一系列同心圆弧组成,刀轴方向路径,是混联机器人加工过程中,刀具轴线单位矢量终点在单位球表面形成的一条三维路径。Step B1, the original tool axis direction path is composed of a series of concentric arcs on the surface of the unit sphere. The tool axis direction path is a three-dimensional path formed by the end point of the tool axis unit vector on the surface of the unit sphere during the hybrid robot machining process.

可设单位球的球心为W;可设第i-1个刀具轴线单位矢量终点Oi-1、第i个刀具轴线单位矢量终点Oi以及第i+1个刀具轴线单位矢量终点Oi+1为原始刀轴方向路径中的三个依次相连的刀具轴线单位矢量终点;基于刀具轴线单位矢量的模恒为1,可采用包括七个控制点的五次B样条曲线作为刀轴方向路径转接光顺时插入的样条曲线段;设Qi(u)为在点Oi处插入的刀轴方向路径的样条曲线:Qi(u)的表达式可如下:The center of the unit sphere can be set as W; the i-1th tool axis unit vector endpoint O i-1 , the i-th tool axis unit vector endpoint O i and the i+1th tool axis unit vector endpoint O i+1 can be set as three consecutive tool axis unit vector endpoints in the original tool axis direction path; based on the constant modulus of the tool axis unit vector being 1, a quintic B-spline curve including seven control points can be used as the spline curve segment inserted when the tool axis direction path is converted and smoothed; let Qi (u) be the spline curve of the tool axis direction path inserted at point O i : the expression of Qi (u) can be as follows:

式中,Φi(u)表示根据刀轴方向路径曲率微分连续条件,在点Oi处构造的初始样条曲线;“||WΦi(u)||”表示点W到曲线Φi(u)上参数u对应的点的距离;Dk,i表示样条曲线Qi(u)的控制点,其中,i表示原始刀位点的编号,k=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Wherein, Φ i (u) represents the initial spline curve constructed at point O i according to the differential continuity condition of the path curvature in the tool axis direction; “||WΦ i (u)||” represents the distance from point W to the point corresponding to parameter u on the curve Φ i (u); D k,i represents the control point of the spline curve Qi (u), where i represents the number of the original tool position point, k = 0, 1, ..., 6 represents the number of the control point; u∈[0,1] represents the spline curve parameter;

步骤B2,可建立如下刀轴方向路径在连接点处曲率微分连续的充要条件:Step B2, the following necessary and sufficient conditions for the continuity of the curvature differential of the tool axis path at the connection point can be established:

式中,so表示刀轴方向路径累积弧长;表示圆弧上D6,i处的单位切矢量,其中,“e”为标志位;d6,i表示由单位球的球心W指向点D6,i的矢量;In the formula, s o represents the cumulative arc length of the path in the tool axis direction; Represents an arc The unit tangent vector at D 6,i on the upper right corner, where “e” is the sign; d 6,i represents the vector from the center W of the unit sphere to the point D 6,i ;

步骤B3,可根据曲率微分连续的充要条件以及B样条曲线的导数特性,建立曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数关系;可假定曲线Qi(u)控制点满足如下关系:线段与线段的长度比为1:h,2≤h≤8;可根据刀轴方向路径曲率微分连续的充要条件,确定光顺曲线Qi(u)的控制点D3,i;可根据刀轴方向路径曲率连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定曲线Qi(u)的控制点D2,i和D4,i;可根据刀轴方向路径切向连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定曲线Qi(u)的控制点D1,i和D5,iStep B3, according to the necessary and sufficient conditions for the continuity of curvature differential and the derivative characteristics of the B-spline curve, the functional relationship between each control point of the curve Qi (u) and the end point of the original tool axis unit vector can be established; it can be assumed that the control points of the curve Qi (u) satisfy the following relationship: With line segment The length ratio is 1:h, 2≤h≤8; the control point D 3,i of the smoothing curve Qi (u) can be determined according to the necessary and sufficient conditions for the differential continuity of the curvature of the path in the tool axis direction; the control points D 2,i and D 4,i of the curve Qi (u) can be determined according to the necessary and sufficient conditions for the continuity of the curvature of the path in the tool axis direction and the center angles ∠D 0,i WD 3,i and ∠D 3 ,i WD 6,i of the transition segment; the control points D 1 ,i and D 5 ,i of the curve Qi (u) can be determined according to the necessary and sufficient conditions for the tangential continuity of the path in the tool axis direction and the center angles ∠D 0,i WD 3 ,i and ∠D 3,i WD 6,i of the transition segment;

可设{Rs,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,设表示圆弧段在点Oi处的单位切矢量,设表示圆弧段在点Oi处的主法向单位矢量,设表示圆弧段在点Oi处的副法向单位矢量;{R s,i } can be set to represent the arc segment The Frenet coordinate system is constructed at the upper point O i. Represents an arc segment The unit tangent vector at point O i is Represents an arc segment The principal normal unit vector at point O i is Represents an arc segment The binormal unit vector at point O i ;

可设{Re,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,设表示圆弧段在点Oi处的单位切矢量,设表示圆弧段在点Oi处的主法向单位矢量,设表示圆弧段在点Oi处的副法向单位矢量;{R e,i } can be set to represent the arc segment The Frenet coordinate system is constructed at the upper point O i. Represents an arc segment The unit tangent vector at point O i is Represents an arc segment The principal normal unit vector at point O i is Represents an arc segment The binormal unit vector at point O i ;

可设d3,i=oi;则有:We can assume d 3,i = o i ; then we have:

式中,In the formula,

oi表示第i个刀位点对应的刀具轴线单位矢量;o i represents the unit vector of the tool axis corresponding to the i-th tool position point;

表示表示圆弧上D0,i处的单位切矢量,其中,“s”为标志位; Represents an arc The unit tangent vector at D 0,i , where "s" is the sign bit;

表示角度∠D0,iWD3,i,其中,“s”表示标志位; represents the angle ∠D 0,i WD 3,i , where “s” represents the sign bit;

表示角度∠D3,iWD6,i,其中,“e”表示标志位; represents the angle ∠D 3,i WD 6,i , where “e” represents the sign bit;

d0,i表示由点W指向点D0,i的矢量;d 0,i represents the vector from point W to point D 0,i ;

d1,i表示由点W指向点D1,i的矢量;d 1,i represents the vector from point W to point D 1,i ;

d2,i表示由点W指向点D2,i的矢量;d 2,i represents the vector from point W to point D 2,i ;

d3,i表示由点W指向点D3,i的矢量;d 3,i represents the vector from point W to point D 3,i ;

d4,i表示由点W指向点D4,i的矢量;d 4,i represents the vector from point W to point D 4,i ;

d5,i表示由点W指向点D5,i的矢量;d 5,i represents the vector from point W to point D 5,i ;

d6,i表示由点W指向点D6,i的矢量;d 6,i represents the vector from point W to point D 6,i ;

步骤B4,根据曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数关系,推导刀轴方向路径光顺误差与光顺角度的解析表达式;将刀轴方向路径光顺误差表示成和θn,i的显式函数,其中,θn,i表示单位矢量的夹角;通过绘制刀轴方向路径光顺误差全域变化趋势图,得到刀轴方向路径光顺误差随光顺角度单调递增;基于刀轴方向路径光顺误差以及参数同步的限制条件,采用数值方法求解光顺角度 Step B4, according to the functional relationship between each control point of the curve Qi (u) and the end point of the original tool axis unit vector, derive the analytical expression of the tool axis direction path smoothing error and the smoothing angle; the tool axis direction path smoothing error is expressed as and θ n,i, where θ n,i represents the unit vector and By drawing the global variation trend diagram of the smoothing error in the tool axis direction, the smoothing error in the tool axis direction is obtained as a function of the smoothing angle. Monotonically increasing; Based on the smoothing error of the tool axis path and the constraints of parameter synchronization, a numerical method is used to solve the smoothing angle and

Frenet坐标系是指:由空间曲线上一点处定义的三个彼此正交的单位矢量组成的坐标系。The Frenet coordinate system refers to a coordinate system consisting of three mutually orthogonal unit vectors defined at a point on a space curve.

优选地,步骤B4可包括如下分步骤:Preferably, step B4 may include the following sub-steps:

步骤B4-1,可考虑如下限制条件确定光顺角度的上限值:Step B4-1, the following constraints can be considered to determine the smoothing angle Upper limit value:

1)为避免相邻刀尖点位置路径曲线相交,光顺角度不应超过原始圆心角的一半;1) To avoid the intersection of path curves at adjacent tool tip points, the smoothing angle should not exceed half of the original center angle;

2)根据余留路径段的弧长随曲线参数单调递增,确定余留路径段圆心角∠D0, iWD3,i 2) According to the fact that the arc length of the remaining path segment increases monotonically with the curve parameters, determine the center angle ∠D 0, i WD 3, i of the remaining path segment

和∠D3,iWD6,i的下限值;and the lower limit of ∠D 3,i WD 6,i ;

则有:Then we have:

式中,表示光顺角度的上限值;δi表示圆弧段的圆心角;δi+1表示圆弧段的圆心角;表示余留路径段圆心角∠D6,i-1WD0,i的下限值;表示余留路径段圆心角∠D6,iWD0,i+1的下限值;In the formula, Indicates the smoothing angle The upper limit value of δ i represents the arc segment The central angle of the circle; δ i+1 represents the arc segment The central angle of a circle; Indicates the lower limit of the center angle ∠D 6,i-1 WD 0,i of the remaining path segment; Indicates the lower limit of the center angle ∠D 6,i WD 0,i+1 of the remaining path segment;

步骤B4-2,可根据光顺角度的上限值,计算刀轴方向路径的光顺误差;判断刀轴方向路径光顺误差是否满足下述条件:Step B4-2, according to the smoothing angle The upper limit value of the tool axis path is calculated to calculate the smoothing error of the tool axis path; determine whether the smoothing error of the tool axis path meets the following conditions:

(1-εtori,max≤εori,i≤εori,max(1-ε tori,max ≤ε ori,i ≤ε ori,max ;

式中,εt表示刀轴方向路径光顺误差的控制精度,εori,i表示刀轴方向路径在点Oi处的光顺误差;εori,max为预先定义的刀轴方向路径光顺误差限制值;Where, ε t represents the control accuracy of the smoothing error of the tool axis path, ε ori,i represents the smoothing error of the tool axis path at point O i ; ε ori,max is the predefined limit value of the smoothing error of the tool axis path;

若刀轴方向路径光顺误差满足条件,则可令 If the path smoothing error in the tool axis direction meets the conditions, then

若刀轴方向路径光顺误差不满足条件,则可采用二分法求解光顺角度;根据二分法求解策略,不断更新光顺角度的取值,直至满足约束条件;If the path smoothing error in the tool axis direction does not meet the conditions, the smoothing angle can be solved by the binary method. According to the binary method solution strategy, the value of the smoothing angle is continuously updated until the constraint conditions are met.

步骤B4-3,可根据计算得到的光顺角度,进一步完全确定刀轴方向路径光顺曲线。In step B4-3, the smoothing curve of the tool axis path can be further completely determined based on the calculated smoothing angle.

优选地,可通过调整位置段光顺长度和方向段光顺角度来改善混联机器人刀轴运动性能,调整位置段光顺长度和方向段光顺角度的方法可包括:Preferably, the motion performance of the tool axis of the hybrid robot can be improved by adjusting the smoothing length of the position segment and the smoothing angle of the direction segment. The method of adjusting the smoothing length of the position segment and the smoothing angle of the direction segment may include:

步骤D1,可根据规划后的混联机器人加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: Step D1, based on the planned hybrid robot machining path, determines whether the path smoothing length of the tool tip position and the path smoothing angle of the tool axis direction meet the following conditions:

若满足条件,则可令 If the conditions are met, then

若不满足条件,则可令 If the conditions are not met,

步骤D2,可根据规划后的加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: Step D2, based on the planned machining path, determines whether the path smoothing length of the tool tip position and the path smoothing angle of the tool axis direction meet the following conditions:

若满足条件,则可令 If the conditions are met, then

若不满足条件,则可令 If the conditions are not met,

步骤D3,完成刀尖点位置路径光顺长度和刀轴方向路径光顺角度调整后,可根据更新后的刀尖点位置路径光顺长度和刀轴方向路径光顺角度,重新计算刀尖点位置路径光顺曲线Ci(u)和刀轴方向路径光顺曲线Qi(u);Step D3, after the smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path are adjusted, the tool tip position path smoothing curve Ci (u) and the tool axis direction path smoothing curve Qi (u) can be recalculated according to the updated tool tip position path smoothing length and tool axis direction path smoothing angle;

步骤D4,可由C3连续刀尖点位置路径和C3连续刀轴方向路径构成刀具规划后的全局C3连续的混联机器人加工路径。In step D4, a global C3 continuous hybrid robot machining path after tool planning may be formed by the C3 continuous tool tip point position path and the C3 continuous tool axis direction path.

下面以本发明的一个优选实施例来进一步说明本发明的工作流程及原理:The working process and principle of the present invention are further described below with a preferred embodiment of the present invention:

步骤1,从刀位文件中获取刀具的原始位姿信息,包括刀尖点位置信息和刀轴方向信息;由刀具的原始位姿确定原始加工路径;刀尖点位置定义在在笛卡尔坐标系中,给定相邻两刀尖点位置矢量,分别采用直线和圆弧插补两种方式生成中间位置矢量;刀轴方向定义在在单位球表面,给定相邻两刀具轴线单位矢量,采用球面线性插值法生成中间方向矢量;Step 1, obtain the original posture information of the tool from the tool location file, including the tool tip position information and the tool axis direction information; determine the original processing path according to the original posture of the tool; the tool tip position is defined in the Cartesian coordinate system, given the position vectors of two adjacent tool tip points, the intermediate position vector is generated by linear and circular interpolation respectively; the tool axis direction is defined on the surface of the unit sphere, given the unit vectors of two adjacent tool axes, the intermediate direction vector is generated by spherical linear interpolation;

步骤2,通过直线插补方式生成的原始线性刀尖点位置路径,仅达到位置连续或切向连续;通过在原始刀尖点位置路径拐角处插入五阶B样条曲线等参数曲线,实现刀尖点位置路径曲率微分连续,即G3连续;通过限制刀尖点位置路径光顺误差,保证光顺后的刀尖点位置路径满足实际加工需求;通过构造刀尖点位置路径光顺曲线各控制点间的函数关系,在刀尖点位置路径光顺误差以及参数同步等限制条件下,实现刀尖点位置路径光顺曲线的高效求解。Step 2, the original linear tool tip point position path generated by linear interpolation only achieves position continuity or tangential continuity; by inserting parametric curves such as fifth-order B-spline curves at the corners of the original tool tip point position path, the curvature differential continuity of the tool tip point position path, that is, G3 continuity, is achieved; by limiting the smoothing error of the tool tip point position path, it is ensured that the smoothed tool tip point position path meets the actual processing requirements; by constructing the functional relationship between the control points of the tool tip point position path smoothing curve, under the restriction conditions of tool tip point position path smoothing error and parameter synchronization, the efficient solution of the tool tip point position path smoothing curve is achieved.

由曲率连续的充要条件以及五阶B样条曲线的导数特性,建立刀尖点位置路径曲线各控制点间的函数关系,具体包括如下分步骤:Based on the necessary and sufficient conditions for curvature continuity and the derivative characteristics of the fifth-order B-spline curve, the functional relationship between the control points of the tool tip position path curve is established, which specifically includes the following steps:

步骤2.1,设第i-1个刀尖点Pi-1、第i个刀尖点Pi以及第i+1个刀尖点Pi+1是原始刀尖点位置路径中的三个依次相连的刀尖点;采用包括七个控制点的五次B样条曲线作为这三个刀尖点转接光顺时插入的样条曲线段;Step 2.1, assuming that the i-1th tool tip point P i-1 , the i-th tool tip point P i and the i+1th tool tip point P i+1 are three tool tip points connected in sequence in the original tool tip point position path; a quintic B-spline curve including seven control points is used as a spline curve segment inserted when the three tool tip points are transferred and smoothed;

式中,Ci(u)表示在点Pi处插入的样条曲线;Bj,i表示样条曲线Ci(u)的控制点,其中,i表示原始刀位点的编号,j=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Nj,5(u)表示五阶B样条基函数;Where, Ci (u) represents the spline curve inserted at point Pi ; Bj ,i represents the control point of the spline curve Ci (u), where i represents the number of the original tool position point, j=0,1,…,6 represents the number of the control point; u∈[0,1] represents the spline curve parameter; Nj ,5 (u) represents the fifth-order B-spline basis function;

步骤2.2,根据第i-1个刀尖点Pi-1、第i个刀尖点Pi和第i+1个刀尖点Pi+1,推导余留路径段和样条曲线段在连接点处曲率微分连续的充要条件。为保证刀尖点位置路径连续性,刀尖点位置路径光顺曲线的控制点B0,i应位于直线段上;为保证刀尖点位置路径连续性,刀尖点位置路径的光顺曲线控制点B6,i应位于直线段进一步,刀尖点位置路径的余留路径段可由控制点B6,i和控制点B0,i+1进行描述,其中B0,i+1表示在点Pi+1处插入的刀尖点位置路径光顺曲线的控制点。进一步,余留路径段可由控制点B6,i-1和控制点B0,i进行描述,其中B6,i-1表示在点Pi-1处插入的刀尖点位置路径光顺曲线的控制点。Step 2.2, based on the i-1th tool tip point Pi-1 , the i-th tool tip point Pi and the i+1th tool tip point Pi+1 , derive the necessary and sufficient conditions for the continuity of the curvature differential of the remaining path segment and the spline curve segment at the connection point. To ensure the continuity of the tool tip position path, the control point B0,i of the tool tip position path smoothing curve should be located on the straight line segment To ensure the continuity of the tool tip position path, the smoothing curve control point B 6,i of the tool tip position path should be located on the straight line segment Furthermore, the remaining path segment of the tool tip position path It can be described by control point B 6,i and control point B 0,i+1 , where B 0,i+1 represents the control point of the tool tip position path smoothing curve inserted at point Pi +1 . It can be described by control point B 6,i-1 and control point B 0,i , where B 6,i-1 represents the control point of the tool tip position path smoothing curve inserted at point P i-1 .

建立出刀尖点位置路径在连接点处曲率微分连续的充要条件如下:The necessary and sufficient conditions for establishing the curvature differential continuity of the tool tip position path at the connection point are as follows:

式中,me,i表示由点Pi指向点Pi+1的单位方向矢量;s表示曲线累积弧长;Where, m e,i represents the unit direction vector from point Pi to point Pi+1 ; s represents the cumulative arc length of the curve;

步骤2.3,假定路径段的长度满足||B0,iB1,i||=c1||B0,iB3,i||,其中,c1∈(0,1)为预先设定的常数;假定路径段的长度满足||B1,iB2,i||=c2||B0,iB3,i||,其中,c2∈(0,1)为预先设定的常数;为避免曲线自身交叉,应保证0<c1+c2<1;Step 2.3, assuming the path segment The length of satisfies ||B 0,i B 1,i ||=c 1 ||B 0,i B 3,i ||, where c 1 ∈(0,1) is a preset constant; assuming that the path segment The length of satisfies ||B 1,i B 2,i ||=c 2 ||B 0,i B 3,i ||, where c 2 ∈(0,1) is a preset constant. To avoid the curve from crossing itself, it should be ensured that 0<c 1 +c 2 <1;

根据上述曲率连续的充要条件以及五阶B样条曲线的导数特性,建立刀尖点位置路径光顺曲线各控制点间的函数关系。具体来说,根据曲率微分连续的充要条件,可确定光顺曲线Ci(u)的控制点B3,i;根据曲率连续的充要条件以及光顺长度||B0,iB3,i||和||B3,iB6,i||,可确定光顺曲线Ci(u)的控制点B2,i和B4,i;根据切向连续的充要条件以及光顺长度||B0,iB3,i||和||B3,iB6,i||,可确定光顺曲线Ci(u)的控制点B1,i和B5,iAccording to the above necessary and sufficient conditions for curvature continuity and the derivative characteristics of the fifth-order B-spline curve, the functional relationship between the control points of the smoothing curve of the tool tip position path is established. Specifically, according to the necessary and sufficient conditions for curvature differential continuity, the control point B 3,i of the smoothing curve C i (u) can be determined; according to the necessary and sufficient conditions for curvature continuity and the smoothing lengths ||B 0,i B 3,i || and ||B 3,i B 6,i ||, the control points B 2,i and B 4,i of the smoothing curve C i (u) can be determined; according to the necessary and sufficient conditions for tangential continuity and the smoothing lengths ||B 0,i B 3,i || and ||B 3,i B 6,i ||, the control points B 1,i and B 5,i of the smoothing curve C i (u) can be determined;

步骤3,基于刀尖点位置路径光顺曲线各控制点间的函数关系,考虑刀尖点位置路径光顺误差及参数同步限制条件,确定光顺长度||B0,iB3,i||和||B3,iB6,i||。为保证刀尖点位置路径光顺误差位于参数u=0.5处,可假定||B0,iB3,i||=||B3,iB6,i||,进而根据豪斯道夫距离可推导出刀尖点位置路径光顺误差表达式。刀尖点位置路径光顺误差可由光顺长度的解析表达。进一步,可从以下三个方面确定光顺长度的取值:(1)为避免相邻位置光顺曲线相交,光顺长度不应超过原始路径长度的一半;(2)刀尖点位置路径光顺误差应小于预先定义的误差限制值;(3)余留路径段长度||B6,i-1B0,i||和||B6,iB0,i+1||应满足后续参数同步需求。Step 3, based on the functional relationship between the control points of the tool tip position path smoothing curve, considering the tool tip position path smoothing error and parameter synchronization constraints, determine the smoothing lengths ||B 0,i B 3,i || and ||B 3,i B 6,i ||. To ensure that the tool tip position path smoothing error is located at parameter u = 0.5, it can be assumed that ||B 0,i B 3,i || = ||B 3,i B 6,i ||, and then the tool tip position path smoothing error expression can be derived based on the Hausdorff distance. The tool tip position path smoothing error can be expressed analytically by the smoothing length. Furthermore, the value of the smoothing length can be determined from the following three aspects: (1) To avoid the intersection of smoothing curves at adjacent positions, the smoothing length should not exceed half of the original path length; (2) the path smoothing error at the tool tip position should be less than the predefined error limit; (3) the remaining path segment lengths ||B 6,i-1 B 0,i || and ||B 6,i B 0,i+1 || should meet the subsequent parameter synchronization requirements.

基于刀尖点位置路径曲线各控制点间的函数关系,基于刀尖点位置路径光顺误差及参数同步限制条件,确定如下光顺长度:Based on the functional relationship between the control points of the tool tip position path curve, the tool tip position path smoothing error and parameter synchronization constraints, the following smoothing length is determined:

||B0,iB3,i||=||B3,iB6,i||;||B 0,i B 3,i ||=||B 3,i B 6,i ||;

式中,In the formula,

εpos,max表示设定的刀尖点位置路径的光顺误差限制值;ε pos,max represents the smoothing error limit value of the set tool tip position path;

φi表示单位矢量ms,i和me,i的夹角,其中,ms,i表示由点Pi指向点Pi-1的单位矢量,me,i表示由点Pi指向点Pi+1的单位矢量;φ i represents the angle between the unit vectors m s,i and m e,i , where m s,i represents the unit vector from point P i to point P i-1 , and m e,i represents the unit vector from point P i to point P i+1 ;

Li表示原始路径段的长度; Li represents the original path segment Length;

Li+1表示原始路径段的长度;Li +1 represents the original path segment Length;

表示由参数同步确定的余留位置路径长度的下限值,其中,B6,i-1表示在点Pi-1处插入的样条曲线的最后一个控制点; Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 6,i-1 represents the last control point of the spline curve inserted at point Pi -1 ;

表示由参数同步确定的余留位置路径长度的下限值,其中,B0,i+1表示在点Pi+1处插入的样条曲线的第一个控制点; Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 0,i+1 represents the first control point of the spline curve inserted at point Pi +1 ;

步骤4,原始刀轴方向路径由单位球表面上一系列同心圆弧组成,通过圆弧插补方式生成的原始方向路径仅达到位置连续或切向连续;通过在单位球表面上对原始刀轴方向路径进行转接光顺,实现刀轴方向路径曲率微分连续;通过推导方向路径曲率微分连续的充要条件,解析构造方向光顺曲线各控制点与原始刀具轴线单位矢量终点的数学关系。Step 4: The original tool axis direction path is composed of a series of concentric arcs on the surface of the unit sphere. The original direction path generated by arc interpolation only achieves position continuity or tangential continuity. The original tool axis direction path is smoothed on the surface of the unit sphere to achieve differential continuity of the curvature of the tool axis direction path. The necessary and sufficient conditions for differential continuity of the curvature of the direction path are derived to analytically construct the mathematical relationship between each control point of the direction smoothing curve and the end point of the unit vector of the original tool axis.

设单位球的球心为W;设第i-1个刀具轴线单位矢量终点Oi-1、第i个刀具轴线单位矢量终点Oi以及第i+1个刀具轴线单位矢量终点Oi+1为原始刀轴方向路径中的三个依次相连的刀具轴线单位矢量终点;基于刀轴方向路径曲率微分连续的充要条件,解析构造刀轴方向路径的插入的样条曲线各控制点与原始刀具轴线单位矢量终点的函数关系;具体包括如下分步骤:Assume that the center of the unit sphere is W; Assume that the i-1th tool axis unit vector endpoint O i-1 , the i-th tool axis unit vector endpoint O i and the i+1th tool axis unit vector endpoint O i+1 are three successively connected tool axis unit vector endpoints in the original tool axis direction path; Based on the necessary and sufficient conditions for the differential continuity of the curvature of the tool axis direction path, the functional relationship between each control point of the inserted spline curve of the tool axis direction path and the original tool axis unit vector endpoint is analytically constructed; Specifically, the following steps are included:

步骤4.1,根据第i-1个刀具轴线单位矢量终点,第i个刀具轴线单位矢量终点,以及第i+1个刀具轴线单位矢量终点,推导方向路径曲率微分连续的充要条件。为保证刀轴方向路径连续性,刀轴方向路径光顺曲线的控制点D0,i应位于圆弧段上;为保证刀轴方向路径连续性,刀轴方向路径光顺曲线的控制点D6,i应位于圆弧段进一步,刀轴方向路径余留路径段可由控制点D6,i和控制点D0,i+1进行描述,其中D0,i+1表示在点Oi+1处插入的光顺曲线的控制点。进一步,刀轴方向路径余留路径段可由控制点D6,i和控制点D0,i+1进行描述,其中D0,i+1表示在点Oi+1处插入的光顺曲线的控制点。Step 4.1, based on the i-1th tool axis unit vector endpoint, the i-th tool axis unit vector endpoint, and the i+1th tool axis unit vector endpoint, derive the necessary and sufficient conditions for the continuity of the directional path curvature differential. To ensure the continuity of the tool axis directional path, the control point D 0,i of the tool axis directional path smoothing curve should be located on the arc segment To ensure the continuity of the tool axis path, the control point D 6,i of the tool axis path smoothing curve should be located on the arc segment Furthermore, the remaining path segments in the tool axis direction It can be described by the control point D 6,i and the control point D 0,i+1 , where D 0,i+1 represents the control point of the smoothing curve inserted at point O i+1 . It can be described by control point D 6,i and control point D 0,i+1 , where D 0,i+1 represents the control point of the smoothing curve inserted at point O i+1 .

基于刀轴方向单位矢量的模恒为1,采用包括七个控制点的标准化五次B样条曲线Qi(u)作为转接光顺曲线;Based on the constant modulus of the unit vector in the tool axis direction being 1, a standardized quintic B-spline curve Qi (u) including seven control points is used as the transition smoothing curve;

式中,Φi(u)表示根据刀轴方向路径曲率微分连续条件,在点Oi处构造的初始样条曲线;“||WΦi(u)||”表示点W到曲线Φi(u)上参数u对应的点的距离;Dk,i表示样条曲线Qi(u)的控制点,其中,i表示原始刀位点的编号,k=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Wherein, Φ i (u) represents the initial spline curve constructed at point O i according to the differential continuity condition of the path curvature in the tool axis direction; “||WΦ i (u)||” represents the distance from point W to the point corresponding to parameter u on the curve Φ i (u); D k,i represents the control point of the spline curve Qi (u), where i represents the number of the original tool position point, k = 0, 1, ..., 6 represents the number of the control point; u∈[0,1] represents the spline curve parameter;

步骤4.2,建立刀轴方向路径在连接点处曲率微分连续的充要条件:Step 4.2, establish the necessary and sufficient conditions for the continuity of the curvature differential of the tool axis path at the connection point:

式中,so表示刀轴方向路径累积弧长;表示圆弧上D6,i处的单位切矢量;d6,i表示由单位球的球心指向点D6,i的矢量;In the formula, s o represents the cumulative arc length of the path in the tool axis direction; Represents an arc The unit tangent vector at D 6,i on the sphere; d 6,i represents the vector from the center of the unit sphere to the point D 6,i ;

步骤4.2,根据曲率微分连续的充要条件以及B样条曲线的导数特性,建立曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数;假定曲线Qi(u)控制点满足如下关系:线段与线段的长度比为1:5;根据曲率微分连续的充要条件,确定曲线Qi(u)的控制点D3,i;根据曲率连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定曲线Qi(u)的控制点D2,i和D4,i;根据切向连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定方向光顺曲线Qi(u)的控制点D1,i和D5,i;设d3,i=oi;则有:Step 4.2, according to the necessary and sufficient conditions for the continuity of curvature differential and the derivative characteristics of the B-spline curve, establish the function of each control point of the curve Qi (u) and the end point of the unit vector of the original tool axis; assume that the control points of the curve Qi (u) satisfy the following relationship: With line segment The length ratio is 1:5; according to the necessary and sufficient conditions for curvature differential continuity, the control point D 3,i of the curve Qi (u) is determined; according to the necessary and sufficient conditions for curvature continuity and the center angles ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the transition segment, the control points D 2,i and D 4,i of the curve Qi (u) are determined; according to the necessary and sufficient conditions for tangential continuity and the center angles ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the transition segment, the control points D 1,i and D 5,i of the directionally smooth curve Qi (u) are determined; let d 3,i =o i ; then:

式中,In the formula,

oi表示第i个刀位点对应的刀轴方向单位矢量;o i represents the unit vector of the tool axis direction corresponding to the i-th tool position point;

表示表示圆弧上D0,i处的单位切矢量,其中,“s”为标志位; Represents an arc The unit tangent vector at D 0,i , where "s" is the sign bit;

表示角度∠D0,iWD3,i,其中,“s”表示标志位; represents the angle ∠D 0,i WD 3,i , where “s” represents the sign bit;

表示角度∠D3,iWD6,i,其中,“e”表示标志位; represents the angle ∠D 3,i WD 6,i , where “e” represents the sign bit;

d0,i表示由点W指向点D0,i的矢量;d 0,i represents the vector from point W to point D 0,i ;

d1,i表示由点W指向点D1,i的矢量;d 1,i represents the vector from point W to point D 1,i ;

d2,i表示由点W指向点D2,i的矢量;d 2,i represents the vector from point W to point D 2,i ;

d3,i表示由点W指向点D3,i的矢量;d 3,i represents the vector from point W to point D 3,i ;

d4,i表示由点W指向点D4,i的矢量;d 4,i represents the vector from point W to point D 4,i ;

d5,i表示由点W指向点D5,i的矢量;d 5,i represents the vector from point W to point D 5,i ;

d6,i表示由点W指向点D6,i的矢量;d 6,i represents the vector from point W to point D 6,i ;

{Rs,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,其中,表示圆弧段在点Oi处的单位切矢量,表示圆弧段在点Oi处的主法向矢量,表示圆弧段在点Oi处的副法向矢量;{R s,i } represents the arc segment The Frenet coordinate system constructed at the upper point O i , where Represents an arc segment The unit tangent vector at point O i , Represents an arc segment The principal normal vector at point O i is, Represents an arc segment The binormal vector at point O i ;

{Re,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,其中,表示圆弧段在点Oi处的单位切矢量,表示圆弧段在点Oi处的主法向矢量,表示圆弧段在点Oi处的副法向矢量;{R e,i } represents the arc segment The Frenet coordinate system constructed at the upper point O i , where Represents an arc segment The unit tangent vector at point O i , Represents an arc segment The principal normal vector at point O i is, Represents an arc segment The binormal vector at point O i ;

步骤5,通过限制刀轴方向路径光顺误差,保证光顺后的方向路径满足加工需求;根据刀轴方向路径光顺曲线各控制点与方向矢量终点的数学关系,在光顺误差以及参数同步等限制条件下,实现方向光顺曲线的高效求解;Step 5: By limiting the smoothing error of the tool axis direction path, ensure that the smoothed direction path meets the processing requirements; according to the mathematical relationship between each control point of the tool axis direction path smoothing curve and the end point of the direction vector, under the constraints of smoothing error and parameter synchronization, realize the efficient solution of the direction smoothing curve;

步骤5.1,根据曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数,推导刀轴方向路径光顺误差与光顺角度的解析表达式;设刀轴方向路径光顺最大误差对应的参数u取值为u=0.5,则进而得到刀轴方向路径光顺误差的解析表达式;将刀轴方向路径光顺误差表示成和θn,i的显式函数,其中,θn,i表示单位矢量的夹角;通过绘制刀轴方向路径光顺误差全域变化趋势图,发现刀轴方向路径光顺误差随光顺角度单调递增;进而实现光顺误差限制下光顺角度求解;Step 5.1, according to the function of each control point of the curve Qi (u) and the end point of the original tool axis unit vector, derive the analytical expression of the tool axis path smoothing error and the smoothing angle; suppose the parameter u corresponding to the maximum tool axis path smoothing error is u=0.5, then Then the analytical expression of the path smoothing error in the tool axis direction is obtained; the path smoothing error in the tool axis direction is expressed as and θ n,i, where θ n,i represents the unit vector and By drawing the global variation trend diagram of the smoothing error in the tool axis direction, it is found that the smoothing error in the tool axis direction changes with the smoothing angle. Monotonically increasing; thus achieving the solution of the smoothing angle under the smoothing error limit;

步骤5.2,基于刀轴方向路径光顺误差以及参数同步的限制条件,采用数值方法快速求解光顺角度 Step 5.2: Based on the smoothing error of the tool axis path and the constraints of parameter synchronization, a numerical method is used to quickly solve the smoothing angle. and

(1)确定光顺角度的上限值,作为误差限制下光顺角度求解的基础。为确定光顺角度上限值,考虑如下限制条件:1)为避免相邻刀尖点位置路径曲线相交,光顺角度不应超过原始圆心角的一半;2)刀轴方向路径的余留路径段圆心角∠D0,iWD3,i和∠D3,iWD6,i应满足后续参数同步需求;(1) Determine the smoothing angle The upper limit value of the smoothing angle is used as the basis for solving the smoothing angle under error constraints. To determine the upper limit value of the smoothing angle, the following constraints are considered: 1) To avoid the intersection of the path curves of adjacent tool tip points, the smoothing angle should not exceed half of the original center angle; 2) The center angles of the remaining path segments ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the tool axis path should meet the subsequent parameter synchronization requirements;

式中,表示光顺角度的上限值;δi表示圆弧段的圆心角;δi+1表示圆弧段的圆心角;表示余留方向段圆心角∠D6,i-1WD0,i的下限值;表示余留方向段圆心角∠D6,iWD0,i+1的下限值;In the formula, Indicates the smoothing angle The upper limit value of δ i represents the arc segment The central angle of the circle; δ i+1 represents the arc segment The central angle of a circle; It represents the lower limit of the center angle ∠D 6,i-1 WD 0,i of the remaining direction segment; Indicates the lower limit of the center angle ∠D 6,i WD 0,i+1 of the remaining direction segment;

(2)根据光顺角度上限值,实现误差限制下光顺角度求解;令计算刀轴方向路径的方向光顺误差;判断刀轴方向路径光顺误差是否满足下述条件:(2) According to the upper limit of the smoothing angle, the smoothing angle solution under error limit is realized; Calculate the directional smoothing error of the tool axis path; determine whether the directional smoothing error of the tool axis path meets the following conditions:

(1-εtori,max≤εori,i≤εori,max(1-ε tori,max ≤ε ori,i ≤ε ori,max ;

式中,εt表示刀轴方向路径光顺误差的控制精度,例如取εt=0.1%;εori,i表示方向矢量终点Oi处的方向光顺误差;εori,max为预先定义的方向光顺误差限制值。Wherein, ε t represents the control accuracy of the smoothing error of the tool axis direction path, for example, ε t = 0.1%; ε ori,i represents the directional smoothing error at the end point O i of the directional vector; ε ori,max is the predefined directional smoothing error limit value.

若方向光顺误差满足条件,则令 If the directional smoothing error satisfies the condition, then let

若方向光顺误差不满足条件,则采用二分法求解光顺角度。根据二分法求解策略,不断更新光顺长度的取值,直至满足约束条件。If the directional smoothing error does not meet the conditions, the bisection method is used to solve the smoothing angle. According to the bisection solution strategy, the value of the smoothing length is continuously updated until the constraint conditions are met.

根据光顺角度,进一步完全确定方向光顺曲线。According to the smoothing angle, the directional smoothing curve is further fully determined.

步骤6进一步,为改善混联机器人刀轴运动性能,刀尖点位置路径光顺长度和刀轴方向路径光顺角度需要满足特定的数学关系。为实现特定数学关系,需要调整位置段光顺长度和方向段光顺角度。具体包括:Step 6: To improve the motion performance of the tool axis of the hybrid robot, the smooth length of the tool tip position path and the smooth angle of the tool axis direction path need to satisfy a specific mathematical relationship. To achieve a specific mathematical relationship, the smooth length of the position segment and the smooth angle of the direction segment need to be adjusted. Specifically, it includes:

(1)根据规划后的混联机器人加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: (1) According to the planned hybrid robot machining path, determine whether the path smoothing length of the tool tip position and the path smoothing angle in the tool axis direction meet the following conditions:

若满足条件,则令 If the conditions are met, then

若不满足条件,则令 If the condition is not met, then

(2)根据规划后的加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: (2) Based on the planned machining path, determine whether the path smoothing length at the tool tip position and the path smoothing angle in the tool axis direction meet the following conditions:

若满足条件,则令 If the conditions are met, then

若不满足条件,则令 If the condition is not met, then

完成刀尖点位置路径光顺长度和刀轴方向路径光顺角度调整后,根据更新后的刀尖点位置路径光顺长度和刀轴方向路径光顺角度,重新计算刀尖点位置路径光顺曲线Ci(u)和刀轴方向路径光顺曲线Qi(u)。由G3连续刀尖点位置路径和G3连续刀轴方向路径构成刀具规划后的全局G3连续的混联机器人加工路径。After the smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path are adjusted, the tool tip position path smoothing curve Ci (u) and the tool axis direction path smoothing curve Qi (u) are recalculated according to the updated tool tip position path smoothing length and tool axis direction path smoothing angle. The G3 continuous tool tip position path and the G3 continuous tool axis direction path constitute the global G3 continuous hybrid robot machining path after tool planning.

步骤7对于插入的光顺曲线,假定刀尖点位置路径和刀轴方向路径共享同一个参数;对于余留路径段,若刀尖点位置路径和刀轴方向路径共享同一个参数,则规划后的刀轴方向路径关于时间的三阶导数并不连续;为实现规划后的混联机器人加工路径C3连续,即刀轴方向路径关于时间三阶导数连续,采用余留路径段再参数化策略。余留路径段再参数化策略是指,通过引入参数同步曲线,重新构造刀尖点位置路径余留路径段和刀轴方向路径余留路径段的解析表达式。Step 7: For the inserted smoothing curve, it is assumed that the tool tip position path and the tool axis direction path share the same parameter; for the remaining path segment, if the tool tip position path and the tool axis direction path share the same parameter, the third-order derivative of the planned tool axis direction path with respect to time is not continuous; in order to achieve the C3 continuity of the planned hybrid robot machining path, that is, the continuity of the third-order derivative of the tool axis direction path with respect to time, the remaining path segment re-parameterization strategy is adopted. The remaining path segment re-parameterization strategy refers to reconstructing the analytical expressions of the remaining path segment of the tool tip position path and the remaining path segment of the tool axis direction path by introducing a parameter synchronization curve.

选取含八个控制点的七阶B样条作为参数同步曲线,节点矢量设为(0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1)T。其中,为保证参数同步后光顺曲线段和余留路径段在连接点处位置连续,控制点应满足第一个控制点=0和第八个控制点=1。A seventh-order B-spline with eight control points is selected as the parameter synchronization curve, and the node vector is set to (0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1) T. In order to ensure the continuity of the smooth curve segment and the remaining path segment at the connection point after parameter synchronization, the control points should satisfy the first control point = 0 and the eighth control point = 1.

步骤7.1设刀尖点位置路径和刀轴方向路径两者光顺后的路径由插入的B样条光顺曲线和余留路径交替组成。从光顺后的刀尖点位置路径中获取第h-1段路径Ch-1(u),第h段路径Ch(u),第h+1段路径Ch+1(u);从光顺后的刀轴方向路径中获取第h-1段路径Qh-1(u),第h段路径Qh(u),第h+1段路径Qh+1(u);根据规划后的混联机器人加工路径C3连续需求,进一步可推导出连接点处的C3连续的充要条件如下:Step 7.1 Assume that the smoothed paths of the tool tip position path and the tool axis direction path are composed of the inserted B-spline smoothing curve and the remaining path alternately. Obtain the h-1th path segment C h-1 (u), the hth path segment C h (u), and the h+1th path segment C h+1 (u) from the smoothed tool tip position path; obtain the h-1th path segment Q h-1 (u), the hth path segment Q h (u), and the h+1th path segment Q h+1 (u) from the smoothed tool axis direction path; according to the C3 continuity requirements of the planned hybrid robot processing path, the necessary and sufficient conditions for C3 continuity at the connection point can be further derived as follows:

C′h(u)|u=1=C′h+1(u)|u=0,C″h(u)|u=1=C″h+1(u)|u=0,C″′h(u)|u=1=C″′h+1(u)|u=0 C′ h (u)| u=1 =C′ h+1 (u)| u=0 , C″ h (u)| u=1 =C″ h+1 (u)| u=0 , C″ ′ h (u)| u=1 =C″′ h+1 (u)| u=0

Q′h(u)|u=1=Q′h+1(u)|u=0,Q″h(u)|u=1=Q″h+1(u)|u=0,Q″′h(u)|u=1=Q″′h+1(u)|u=0 Q′ h (u)| u=1 =Q′ h+1 (u)| u=0 ,Q″ h (u)| u=1 =Q″ h+1 (u)| u=0 ,Q″ ′ h (u)| u=1 =Q″′ h+1 (u)| u=0

式中,u表示曲线参数;h表示光顺后的刀尖点位置路径及刀轴方向路径中的路径段编号;为实现刀尖点位置路径及刀轴方向路径参数同步,对其路径段的划分及编号一致;“′”、“″”和“″′”分别表示曲线关于参数u的一阶、二阶和三阶导数。Where u represents the curve parameter; h represents the path segment number in the tool tip position path and the tool axis direction path after smoothing; in order to achieve the synchronization of the tool tip position path and the tool axis direction path parameters, the division and numbering of their path segments are consistent; “′”, “″” and “″′” respectively represent the first-order, second-order and third-order derivatives of the curve with respect to the parameter u.

步骤7.2对于刀尖点位置路径余留路径段,根据C3连续的充要条件,确定同步曲线v(u)各控制点。注意,求解过程无需应用迭代求解算法。根据刀轴角速度连续的充要条件,可确定第二个控制点取值和第七个控制点取值;根据刀轴角加速度连续的充要条件,可确定第三个控制点取值和第六个控制点取值;根据刀轴角跃度连续的充要条件,可确定第四个控制点取值和第五个控制点取值,请参见下式:Step 7.2 For the remaining path segment of the tool tip position path, determine the control points of the synchronization curve v(u) according to the necessary and sufficient conditions for C3 continuity. Note that the solution process does not require the use of an iterative solution algorithm. According to the necessary and sufficient conditions for the continuity of the tool axis angular velocity, the values of the second control point and the seventh control point can be determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular acceleration, the values of the third control point and the sixth control point can be determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular jump, the values of the fourth control point and the fifth control point can be determined, see the following formula:

式中,{v1,v2,v3,v4,v5,v6}表示参数同步曲线v(u)的第二个控制点至第七个控制点的取值。v1表示参数同步曲线v(u)的第二个控制点取值;v2表示参数同步曲线v(u)的第三个控制点取值;依次类推。Where {v 1 ,v 2 ,v 3 ,v 4 ,v 5 ,v 6 } represents the values of the second to seventh control points of the parameter synchronization curve v(u). v 1 represents the value of the second control point of the parameter synchronization curve v(u); v 2 represents the value of the third control point of the parameter synchronization curve v(u); and so on.

进一步,为保证再参数曲线的弧长随曲线参数单调递增,同步曲线v(u)关于曲线参数u的一阶导数应恒大于0。进而可推导出刀尖点位置路径余留路径段长度的下限值如下:Furthermore, in order to ensure that the arc length of the re-parameterized curve increases monotonically with the curve parameter, the first-order derivative of the synchronous curve v(u) with respect to the curve parameter u should be always greater than 0. Then, the length of the remaining path segment of the tool tip position path can be derived. The lower limit of is as follows:

式中,表示刀尖点位置路径余留路径段长度的下限值,下标“r”为标志位;Li+1表示原始路径段的长度;In the formula, Indicates the remaining path segment length of the tool tip position path The lower limit value of the path segment, the subscript "r" is the flag bit; Li +1 represents the original path segment Length;

根据刀尖点位置路径余留路径段长度的下限值,结合步骤2和步骤3,进一步可完全确定点Pi处插入的刀尖点位置路径光顺曲线。The remaining path segment length according to the tool tip position path The lower limit value of , combined with step 2 and step 3, can further completely determine the smoothing curve of the tool tip position path inserted at point Pi .

步骤7.3对于刀轴方向路径余留路径段,根据C3连续的充要条件,确定同步曲线w(u)各控制点。注意,求解过程无需应用迭代求解算法。根据刀轴角速度连续的充要条件,可确定第二个控制点取值和第七个控制点取值;根据刀轴角加速度连续的充要条件,可确定第三个控制点取值和第六个控制点取值;根据刀轴角跃度连续的充要条件,可确定第四个控制点取值和第五个控制点取值,请参见下式:Step 7.3 For the remaining path segments in the tool axis direction, determine the control points of the synchronization curve w(u) according to the necessary and sufficient conditions for C3 continuity. Note that the solution process does not require the use of an iterative solution algorithm. According to the necessary and sufficient conditions for the continuity of the tool axis angular velocity, the values of the second control point and the seventh control point can be determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular acceleration, the values of the third control point and the sixth control point can be determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular jump, the values of the fourth control point and the fifth control point can be determined, see the following formula:

表示角度∠D3,iWD6,i Represents the angle ∠D 3,i WD 6,i ;

表示角度∠D0,i+1WOi+1,其中,D0,i+1表示在点Oi+1处插入的方向光顺曲线的第一个控制点; represents the angle ∠D 0,i+1 WO i+1 , where D 0,i+1 represents the first control point of the directional smoothing curve inserted at point O i+1 ;

表示角度∠D6,iWD0,i+1 Indicates the angle ∠D 6,i WD 0,i+1 ;

{w1,w2,w3,w4,w5,w6}表示参数同步曲线w(u)的第二个控制点至第七个控制点的取值。w1表示参数同步曲线w(u)的第二个控制点取值;w2表示参数同步曲线w(u)的第三个控制点取值;依次类推。{w 1 ,w 2 ,w 3 ,w 4 ,w 5 ,w 6 } represents the values of the second control point to the seventh control point of the parameter synchronization curve w(u). w 1 represents the value of the second control point of the parameter synchronization curve w(u); w 2 represents the value of the third control point of the parameter synchronization curve w(u); and so on.

为保证再参数曲线的弧长随曲线参数单调递增,同步曲线关于曲线w(u)参数的一阶导数应恒大于0。进而可推导出余留方向路径圆心角∠D6,iWD0,i+1的下限值;To ensure that the arc length of the re-parameterized curve increases monotonically with the curve parameter, the first-order derivative of the synchronous curve with respect to the curve parameter w(u) should always be greater than 0. Then, the lower limit of the center angle ∠D 6,i WD 0,i+1 of the residual direction path can be derived;

式中,表示刀轴方向路径余留路径段圆心角∠D6,iWD0,i+1的下限值,下标“r”为标志位;δi+1表示圆弧段的圆心角;In the formula, Indicates the lower limit of the center angle ∠D 6,i WD 0,i+1 of the remaining path segment in the tool axis direction. The subscript "r" is a flag; δ i+1 indicates an arc segment The central angle of a circle;

根据刀轴方向路径余留路径段圆心角∠D6,iWD0,i+1的下限值,结合步骤4和步骤5进一步可完全确定点Oi处插入的刀轴方向路径光顺曲线。According to the lower limit value of the center angle ∠D 6,i WD 0,i+1 of the remaining path segment in the tool axis direction, the tool axis direction path smoothing curve inserted at point O i can be further fully determined in combination with step 4 and step 5.

步骤8根据规划后的C3连续混联机器人加工路径,通过修正S加减速运动规律中的跃度曲线规划出一条跃度连续的刀尖点速度曲线。根据刀尖点速度曲线,结合预估-校正法开展参数插补,生成机器人加工过程中所需要的插补点序列。Step 8: Based on the planned C3 continuous hybrid robot processing path, a tool tip velocity curve with continuous jumps is planned by correcting the jump curve in the S acceleration and deceleration motion law. According to the tool tip velocity curve, parameter interpolation is carried out in combination with the estimation-correction method to generate the interpolation point sequence required in the robot processing process.

步骤9根据插补点序列,基于混联机器人运动学模型,确定每一时刻机器人各驱动关节的关节变量;根据每一时刻机器人各驱动关节的关节变量,控制混联机器人运动;基于PMAC运动控制卡,实时采集机器人运动过程中各关节的跟随误差,验证刀尖点位置路径和刀轴方向路径的光顺的有效性。Step 9: According to the interpolation point sequence and the kinematic model of the hybrid robot, determine the joint variables of each driving joint of the robot at each moment; control the movement of the hybrid robot according to the joint variables of each driving joint of the robot at each moment; based on the PMAC motion control card, collect the following errors of each joint during the robot movement in real time to verify the effectiveness of the smoothness of the tool tip position path and the tool axis direction path.

以上刀尖点位置路径的实施例仅用于说明本发明的技术思想及特点,其目的在于使本领域内的技术人员能够理解本发明的内容并据以实施,不能仅以本实施例来限定本发明的专利范围,即凡本发明所揭示的精神所作的同等变化或修饰,仍落在本发明的专利范围内。The above embodiments of the tool tip point position path are only used to illustrate the technical ideas and features of the present invention, and their purpose is to enable technicians in this field to understand the contents of the present invention and implement them accordingly. The patent scope of the present invention cannot be limited only by this embodiment, that is, any equivalent changes or modifications made to the spirit disclosed by the present invention still fall within the patent scope of the present invention.

Claims (9)

1.一种混联机器人C3连续五轴路径转接光顺方法,其特征在于,该方法包括如下步骤:设刀具轴线单位矢量的终点轨迹为刀轴方向路径;设刀尖点位置轨迹为刀尖点位置路径;刀尖点位置路径在笛卡尔坐标系中定义;刀轴方向路径在单位球表面上定义;刀尖点位置路径和刀轴方向路径,两者均采用样条曲线段进行转接光顺,两者光顺后的路径均由插入的样条曲线段和余留路径段组成,其中插入的样条曲线段均包含奇数个控制点,并假定插入样条曲线的中间控制点处与原始路径之间偏差最大;分别推导刀尖点位置路径和刀轴方向路径在转接点处曲率微分连续的充要条件,进而分别建立刀尖点位置路径光顺长度以及刀轴方向路径光顺角度与各自光顺误差的关系函数;基于工艺要求,确定刀尖点位置路径和刀轴方向路径各自对应的光顺误差限制值,结合参数同步引入的约束条件,确定刀尖点位置路径的光顺长度及刀轴方向路径的光顺角度,进而确定刀尖点位置路径和刀轴方向路径的光顺曲线。1. A hybrid robot C3 continuous five-axis path transition smoothing method, characterized in that the method comprises the following steps: setting the end point trajectory of the tool axis unit vector as the tool axis direction path; setting the tool tip point position trajectory as the tool tip point position path; the tool tip point position path is defined in a Cartesian coordinate system; the tool axis direction path is defined on a unit sphere surface; both the tool tip point position path and the tool axis direction path are transition smoothed using spline curve segments, and both smoothed paths are composed of inserted spline curve segments and remaining path segments, wherein the inserted spline curve segments contain an odd number of control points, and it is assumed that the inserted spline curve segments have an odd number of control points. The deviation between the middle control point of the curve and the original path is the largest; the necessary and sufficient conditions for the continuity of the curvature differential of the tool tip point position path and the tool axis direction path at the transition point are derived respectively, and then the relationship functions between the smoothing length of the tool tip point position path and the smoothing angle of the tool axis direction path and their respective smoothing errors are established respectively; based on the process requirements, the corresponding smoothing error limit values of the tool tip point position path and the tool axis direction path are determined, and combined with the constraints introduced by parameter synchronization, the smoothing length of the tool tip point position path and the smoothing angle of the tool axis direction path are determined, and then the smoothing curves of the tool tip point position path and the tool axis direction path are determined. 2.根据权利要求1所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,该方法还包括如下步骤:引入参数同步曲线,重新构造刀尖点位置路径和刀轴方向路径解析表达式;选取含八个控制点的七阶B样条作为参数同步曲线,节点矢量设为(0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1)T;其中,参数同步曲线第一个控制点=0和第八个控制点=1;从光顺后的刀尖点位置路径中获取第h-1段路径Ch-1(u),第h段路径Ch(u),第h+1段路径Ch+1(u);从光顺后的刀轴方向路径中获取第h-1段路径Qh-1(u),第h段路径Qh(u),第h+1段路径Qh+1(u);则两段路径连接点处C3连续的充要条件如下:2. The hybrid robot C3 continuous five-axis path transition and smoothing method according to claim 1 is characterized in that the method further comprises the following steps: introducing a parameter synchronization curve to reconstruct the analytical expressions of the tool tip point position path and the tool axis direction path; selecting a seventh-order B-spline with eight control points as the parameter synchronization curve, and setting the node vector to (0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1) T ; wherein, the first control point of the parameter synchronization curve = 0 and the eighth control point = 1; obtaining the h-1th path C h-1 (u), the hth path C h (u), and the h+1th path C h+1 (u) from the tool tip point position path after smoothing; obtaining the h-1th path Q h-1 (u), the hth path Q h (u), and the h+1th path Q h+1 (u) from the tool axis direction path after smoothing; then the necessary and sufficient conditions for C3 continuity at the connection point of the two paths are as follows: C′h(u)|u=1=C′h+1(u)|u=0;C″h(u)|u=1=C″h+1(u)|u=0;C″′h(u)|u=1=C″′h+1(u)|u=0C′ h (u)| u=1 =C′ h+1 (u)| u=0 ;C″ h (u)| u=1 =C″ h+1 (u)| u=0 ;C″ ′ h (u)| u=1 =C″′ h+1 (u)| u=0 ; Q′h(u)|u=1=Q′h+1(u)|u=0;Q″h(u)|u=1=Q″h+1(u)|u=0;Q″′h(u)|u=1=Q″′h+1(u)|u=0Q′ h (u)| u=1 =Q′ h+1 (u)| u=0 ;Q″ h (u)| u=1 =Q″ h+1 (u)| u=0 ;Q″ ′ h (u)| u=1 =Q″′ h+1 (u)| u=0 ; 式中,u表示B样条曲线参数;h表示光顺后的刀尖点位置路径及刀轴方向路径的路径段编号;“'”、“””和“”'”分别表示曲线关于参数u的一阶、二阶和三阶导数;根据刀轴角速度连续的充要条件,确定参数同步曲线的第二个控制点和第七个控制点取值;根据刀轴角加速度连续的充要条件,确定第三个控制点和第六个控制点取值;根据刀轴角跃度连续的充要条件,确定第四个控制点和第五个控制点取值。Wherein, u represents the B-spline curve parameter; h represents the path segment number of the tool tip position path and the tool axis direction path after smoothing; "'", """ and ""'" respectively represent the first-order, second-order and third-order derivatives of the curve with respect to parameter u; according to the necessary and sufficient conditions for the continuity of the tool axis angular velocity, the values of the second and seventh control points of the parameter synchronization curve are determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular acceleration, the values of the third and sixth control points are determined; according to the necessary and sufficient conditions for the continuity of the tool axis angular jump, the values of the fourth and fifth control points are determined. 3.根据权利要求1所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,该方法还包括如下步骤:完成刀尖点位置路径和刀轴方向路径的光顺后,通过修正S加减速运动中的跃度曲线,生成跃度连续的刀尖点速度曲线;根据刀尖点速度曲线,结合预估-校正法进行参数插补,生成机器人加工过程中所需要的插补点序列。3. The hybrid robot C3 continuous five-axis path transition smoothing method according to claim 1 is characterized in that the method also includes the following steps: after completing the smoothing of the tool tip position path and the tool axis direction path, by correcting the jump curve in the S acceleration and deceleration motion, a tool tip velocity curve with continuous jump is generated; according to the tool tip velocity curve, parameter interpolation is performed in combination with the estimation-correction method to generate the interpolation point sequence required in the robot processing process. 4.根据权利要求3所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,该方法还包括如下步骤:根据插补点序列,基于混联机器人运动学模型,确定每一时刻机器人各驱动关节的关节变量;根据每一时刻机器人各驱动关节的关节变量,控制混联机器人运动;基于PMAC运动控制卡,实时采集机器人运动过程中各关节的跟随误差,评价刀尖点位置路径和刀轴方向路径的光顺有效性。4. The hybrid robot C3 continuous five-axis path transition smoothing method according to claim 3 is characterized in that the method also includes the following steps: determining the joint variables of each driving joint of the robot at each moment based on the interpolation point sequence and the kinematic model of the hybrid robot; controlling the movement of the hybrid robot based on the joint variables of each driving joint of the robot at each moment; and based on the PMAC motion control card, collecting the following errors of each joint during the robot movement in real time to evaluate the smoothing effectiveness of the tool tip position path and the tool axis direction path. 5.根据权利要求1所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,插入的样条曲线段为五次B样条。5. The hybrid robot C3 continuous five-axis path transition and smoothing method according to claim 1 is characterized in that the inserted spline curve segment is a quintic B-spline. 6.根据权利要求1所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,建立刀尖点位置路径光顺长度与其光顺误差的关系函数的具体步骤包括:6. The hybrid robot C3 continuous five-axis path transition smoothing method according to claim 1 is characterized in that the specific steps of establishing the relationship function between the smoothing length of the tool tip position path and its smoothing error include: 步骤A1,设第i-1个刀尖点Pi-1、第i个刀尖点Pi以及第i+1个刀尖点Pi+1是原始刀尖点位置路径中的三个依次相连的刀尖点;采用具有七个控制点的五次B样条曲线作为这三个刀尖点转接光顺时插入的样条曲线段;插入的样条曲线段表达式如下:Step A1, assuming that the i-1th tool tip point Pi -1 , the i-th tool tip point Pi and the i+1th tool tip point Pi+1 are three tool tip points connected in sequence in the original tool tip point position path; a quintic B-spline curve with seven control points is used as a spline curve segment inserted when the three tool tip points are transferred and smoothed; the expression of the inserted spline curve segment is as follows: 式中,Ci(u)表示在点Pi处插入的样条曲线;Bj,i表示样条曲线Ci(u)的控制点,其中,i表示原始刀位点的编号,j=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Nj,5(u)表示五阶B样条基函数;Where, Ci (u) represents the spline curve inserted at point Pi ; Bj ,i represents the control point of the spline curve Ci (u), where i represents the number of the original tool position point, j=0,1,…,6 represents the number of the control point; u∈[0,1] represents the spline curve parameter; Nj ,5 (u) represents the fifth-order B-spline basis function; 步骤A2,建立刀尖点位置路径在连接点处曲率微分连续的充要条件如下:Step A2, the necessary and sufficient conditions for establishing the curvature differential continuity of the tool tip position path at the connection point are as follows: 式中,me,i表示由点Pi指向点Pi+1的单位方向矢量,其中,“e”为标志位;s表示刀尖点位置路径累积弧长;In the formula, m e,i represents the unit direction vector from point Pi to point Pi+1 , where “e” is the sign bit; s represents the cumulative arc length of the tool tip position path; 步骤A3,假定路径段的长度满足||B0,iB1,i||=c1||B0,iB3,i||,其中,c1∈(0,1)为预先设定的常数;假定路径段的长度满足||B1,iB2,i||=c2||B0,iB3,i||,其中,c2∈(0,1)为预先设定的常数;为避免曲线自身交叉,应保证0<c1+c2<1;根据上述假定,建立位置样条曲线Ci(u)各控制点与刀尖点Pi的函数关系;Step A3, assuming that the path segment The length of satisfies ||B 0,i B 1,i ||=c 1 ||B 0,i B 3,i ||, where c 1 ∈(0,1) is a preset constant; assuming that the path segment The length of satisfies ||B 1,i B 2,i ||=c 2 ||B 0,i B 3,i ||, where c 2 ∈(0,1) is a preset constant; to avoid the curve from crossing itself, it should be ensured that 0<c 1 +c 2 <1; based on the above assumptions, the functional relationship between each control point of the position spline curve Ci (u) and the tool tip point Pi is established; 步骤A4,根据余留路径段的弧长随曲线参数单调递增,确定余留路径段长度的下限值;基于刀尖点位置路径曲线各控制点间的函数关系,建立刀尖点位置路径光顺长度与其光顺误差的关系函数如下:Step A4, according to the fact that the arc length of the remaining path segment monotonically increases with the curve parameter, the lower limit of the length of the remaining path segment is determined; based on the functional relationship between the control points of the tool tip position path curve, the relationship function between the smoothing length of the tool tip position path and its smoothing error is established as follows: ||B0,iB3,i||=||B3,iB6,i||;||B 0,i B 3,i ||=||B 3,i B 6,i ||; 式中,In the formula, εpos,max表示设定的刀尖点位置路径的光顺误差限制值;ε pos,max represents the smoothing error limit value of the set tool tip position path; φi表示单位矢量ms,i和me,i的夹角,其中,ms,i表示由点Pi指向点Pi-1的单位矢量,me,i表示由点Pi指向点Pi+1的单位矢量;φ i represents the angle between the unit vectors m s,i and m e,i , where m s,i represents the unit vector from point P i to point P i-1 , and m e,i represents the unit vector from point P i to point P i+1 ; Li表示原始路径段的长度; Li represents the original path segment Length; Li+1表示原始路径段的长度;Li +1 represents the original path segment Length; 表示由参数同步确定的余留位置路径长度的下限值,其中,B6,i-1表示在点Pi-1处插入的样条曲线的最后一个控制点; Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 6,i-1 represents the last control point of the spline curve inserted at point Pi -1 ; 表示由参数同步确定的余留位置路径长度的下限值,其中,B0,i+1表示在点Pi+1处插入的样条曲线的第一个控制点。 Indicates the remaining position path length determined by parameter synchronization The lower limit value of , where B 0,i+1 represents the first control point of the spline curve inserted at point Pi +1 . 7.根据权利要求6所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,建立刀轴方向路径光顺角度与其光顺误差的关系函数的具体步骤包括:7. The hybrid robot C3 continuous five-axis path transition smoothing method according to claim 6 is characterized in that the specific steps of establishing the relationship function between the tool axis direction path smoothing angle and its smoothing error include: 步骤B1,原始刀轴方向路径由单位球表面上一系列同心圆弧组成,设单位球的球心为W;设第i-1个刀具轴线单位矢量终点Oi-1、第i个刀具轴线单位矢量终点Oi以及第i+1个刀具轴线单位矢量终点Oi+1为原始刀轴方向路径中的三个依次相连的刀具轴线单位矢量终点;基于刀具轴线单位矢量的模恒为1,采用包括七个控制点的五次B样条曲线作为刀轴方向路径转接光顺时插入的样条曲线段;设Qi(u)为在点Oi处插入的刀轴方向路径的样条曲线:Qi(u)的表达式如下:Step B1, the original tool axis direction path is composed of a series of concentric arcs on the surface of a unit sphere, and the center of the unit sphere is set to W; the i-1th tool axis unit vector endpoint O i-1 , the i-th tool axis unit vector endpoint O i and the i+1th tool axis unit vector endpoint O i+1 are set as three consecutive tool axis unit vector endpoints in the original tool axis direction path; based on the constant modulus of the tool axis unit vector being 1, a quintic B-spline curve including seven control points is used as the spline curve segment inserted when the tool axis direction path is converted and smoothed; Qi (u) is set as the spline curve of the tool axis direction path inserted at point O i : the expression of Qi (u) is as follows: 式中,Φi(u)表示根据刀轴方向路径曲率微分连续条件,在点Oi处构造的初始样条曲线;“||WΦi(u)||”表示点W到曲线Φi(u)上参数u对应的点的距离;Dk,i表示样条曲线Qi(u)的控制点,其中,i表示原始刀位点的编号,k=0,1,…,6表示控制点的编号;u∈[0,1]表示样条曲线参数;Wherein, Φ i (u) represents the initial spline curve constructed at point O i according to the differential continuity condition of the path curvature in the tool axis direction; “||WΦ i (u)||” represents the distance from point W to the point corresponding to parameter u on the curve Φ i (u); D k,i represents the control point of the spline curve Qi (u), where i represents the number of the original tool position point, k = 0, 1, ..., 6 represents the number of the control point; u∈[0,1] represents the spline curve parameter; 步骤B2,建立刀轴方向路径在连接点处曲率微分连续的充要条件:Step B2, establish the necessary and sufficient conditions for the continuity of the curvature differential of the tool axis path at the connection point: 式中,so表示刀轴方向路径累积弧长;表示圆弧上D6,i处的单位切矢量,其中,“e”为标志位;d6,i表示由单位球的球心W指向点D6,i的矢量;In the formula, s o represents the cumulative arc length of the path in the tool axis direction; Represents an arc The unit tangent vector at D 6,i on the upper right corner, where “e” is the sign; d 6,i represents the vector from the center W of the unit sphere to the point D 6,i ; 步骤B3,根据曲率微分连续的充要条件以及B样条曲线的导数特性,建立曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数关系;假定曲线Qi(u)控制点满足如下关系:线段与线段的长度比为1:h,2≤h≤8;根据刀轴方向路径曲率微分连续的充要条件,确定光顺曲线Qi(u)的控制点D3,i;根据刀轴方向路径曲率连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定曲线Qi(u)的控制点D2,i和D4,i;根据刀轴方向路径切向连续的充要条件以及转接段圆心角∠D0,iWD3,i和∠D3,iWD6,i,确定曲线Qi(u)的控制点D1,i和D5,iStep B3, based on the necessary and sufficient conditions for the continuity of curvature differential and the derivative characteristics of the B-spline curve, establish the functional relationship between each control point of the curve Qi (u) and the end point of the unit vector of the original tool axis; assume that the control points of the curve Qi (u) satisfy the following relationship: With line segment The length ratio is 1:h, 2≤h≤8; according to the necessary and sufficient conditions for the differential continuity of the curvature of the path in the tool axis direction, determine the control point D 3,i of the smoothing curve Qi (u); according to the necessary and sufficient conditions for the continuity of the curvature of the path in the tool axis direction and the center angles ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the transition segment, determine the control points D 2,i and D 4,i of the curve Qi (u); according to the necessary and sufficient conditions for the tangential continuity of the path in the tool axis direction and the center angles ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the transition segment, determine the control points D 1,i and D 5,i of the curve Qi (u); 设{Rs,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,设表示圆弧段在点Oi处的单位切矢量,设表示圆弧段在点Oi处的主法向单位矢量,设表示圆弧段在点Oi处的副法向单位矢量;Let {R s,i } represent the arc segment The Frenet coordinate system is constructed at the upper point O i. Represents an arc segment The unit tangent vector at point O i is Represents an arc segment The principal normal unit vector at point O i is Represents an arc segment The binormal unit vector at point O i ; 设{Re,i}表示在圆弧段上点Oi处搭建的Frenet坐标系,设表示圆弧段在点Oi处的单位切矢量,设表示圆弧段在点Oi处的主法向单位矢量,设表示圆弧段在点Oi处的副法向单位矢量;Let {R e,i } represent the arc segment The Frenet coordinate system is constructed at the upper point O i. Represents an arc segment The unit tangent vector at point O i is Represents an arc segment The principal normal unit vector at point O i is Represents an arc segment The binormal unit vector at point O i ; 设d3,i=oi;则有:Assume d 3,i = o i ; then: 式中,In the formula, oi表示第i个刀位点对应的刀具轴线单位矢量;o i represents the unit vector of the tool axis corresponding to the i-th tool position point; 表示表示圆弧上D0,i处的单位切矢量,其中,“s”为标志位; Represents an arc The unit tangent vector at D 0,i , where "s" is the sign bit; 表示角度∠D0,iWD3,i,其中,“s”表示标志位; represents the angle ∠D 0,i WD 3,i , where “s” represents the sign bit; 表示角度∠D3,iWD6,i,其中,“e”表示标志位; represents the angle ∠D 3,i WD 6,i , where “e” represents the sign bit; d0,i表示由点W指向点D0,i的矢量;d 0,i represents the vector from point W to point D 0,i ; d1,i表示由点W指向点D1,i的矢量;d 1,i represents the vector from point W to point D 1,i ; d2,i表示由点W指向点D2,i的矢量;d 2,i represents the vector from point W to point D 2,i ; d3,i表示由点W指向点D3,i的矢量;d 3,i represents the vector from point W to point D 3,i ; d4,i表示由点W指向点D4,i的矢量;d 4,i represents the vector from point W to point D 4,i ; d5,i表示由点W指向点D5,i的矢量;d 5,i represents the vector from point W to point D 5,i ; d6,i表示由点W指向点D6,i的矢量;d 6,i represents the vector from point W to point D 6,i ; 步骤B4,根据曲线Qi(u)的各控制点与原始刀具轴线单位矢量终点的函数关系,推导刀轴方向路径光顺误差与光顺角度的解析表达式;将刀轴方向路径光顺误差表示成和θn,i的显式函数,其中,θn,i表示单位矢量的夹角;通过绘制刀轴方向路径光顺误差全域变化趋势图,得到刀轴方向路径光顺误差随光顺角度单调递增;基于刀轴方向路径光顺误差以及参数同步的限制条件,采用数值方法求解光顺角度 Step B4, according to the functional relationship between each control point of the curve Qi (u) and the end point of the original tool axis unit vector, derive the analytical expression of the tool axis direction path smoothing error and the smoothing angle; the tool axis direction path smoothing error is expressed as and θ n,i, where θ n,i represents the unit vector and By drawing the global variation trend diagram of the smoothing error in the tool axis direction, the smoothing error in the tool axis direction is obtained as a function of the smoothing angle. Monotonically increasing; Based on the smoothing error of the tool axis path and the constraints of parameter synchronization, a numerical method is used to solve the smoothing angle and 8.根据权利要求7所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,步骤B4包括如下分步骤:8. The hybrid robot C3 continuous five-axis path transition and smoothing method according to claim 7, characterized in that step B4 includes the following sub-steps: 步骤B4-1,考虑如下限制条件确定光顺角度的上限值:Step B4-1, determine the smoothing angle considering the following constraints Upper limit value: 1)为避免相邻刀尖点位置路径曲线相交,光顺角度不应超过原始圆心角的一半;1) To avoid the intersection of path curves at adjacent tool tip points, the smoothing angle should not exceed half of the original center angle; 2)根据余留路径段的弧长随曲线参数单调递增,确定余留路径段圆心角∠D0,iWD3,i和∠D3,iWD6,i的下限值;2) According to the fact that the arc length of the remaining path segment increases monotonically with the curve parameter, the lower limit values of the central angles ∠D 0,i WD 3,i and ∠D 3,i WD 6,i of the remaining path segment are determined; 则有:Then we have: 式中,表示光顺角度的上限值;δi表示圆弧段的圆心角;δi+1表示圆弧段的圆心角;表示余留路径段圆心角∠D6,i-1WD0,i的下限值;表示余留路径段圆心角∠D6,iWD0,i+1的下限值;In the formula, Indicates the smoothing angle The upper limit value of δ i represents the arc segment The central angle of the circle; δ i+1 represents the arc segment The central angle of a circle; Indicates the lower limit of the center angle ∠D 6,i-1 WD 0,i of the remaining path segment; Indicates the lower limit of the center angle ∠D 6,i WD 0,i+1 of the remaining path segment; 步骤B4-2,根据光顺角度的上限值,计算刀轴方向路径的光顺误差;判断刀轴方向路径光顺误差是否满足下述条件:Step B4-2, according to the smoothing angle The upper limit value of the tool axis path is calculated to calculate the smoothing error of the tool axis path; determine whether the smoothing error of the tool axis path meets the following conditions: (1-εtori,max≤εori,i≤εori,max(1-ε tori,max ≤ε ori,i ≤ε ori,max ; 式中,εt表示刀轴方向路径光顺误差的控制精度,εori,i表示刀轴方向路径在点Oi处的光顺误差;εori,max为预先定义的刀轴方向路径光顺误差限制值;Where, ε t represents the control accuracy of the smoothing error of the tool axis path, ε ori,i represents the smoothing error of the tool axis path at point O i ; ε ori,max is the predefined limit value of the smoothing error of the tool axis path; 若刀轴方向路径光顺误差满足条件,则令 If the path smoothing error in the tool axis direction meets the condition, then 若刀轴方向路径光顺误差不满足条件,则采用二分法求解光顺角度;根据二分法求解策略,不断更新光顺角度的取值,直至满足约束条件;If the path smoothing error in the tool axis direction does not meet the conditions, the smoothing angle is solved by the binary search method. According to the binary search strategy, the value of the smoothing angle is continuously updated until the constraint conditions are met. 步骤B4-3,根据计算得到的光顺角度,进一步完全确定刀轴方向路径光顺曲线。Step B4-3, further completely determine the smoothing curve of the tool axis direction path based on the calculated smoothing angle. 9.根据权利要求7所述的混联机器人C3连续五轴路径转接光顺方法,其特征在于,通过调整刀尖点位置路径光顺长度和刀轴方向路径光顺角度来改善混联机器人刀轴运动性能,调整刀尖点位置路径光顺长度和刀轴方向路径光顺角度的方法包括:9. The hybrid robot C3 continuous five-axis path transition smoothing method according to claim 7 is characterized in that the tool axis motion performance of the hybrid robot is improved by adjusting the tool tip point path smoothing length and the tool axis direction path smoothing angle, and the method for adjusting the tool tip point path smoothing length and the tool axis direction path smoothing angle comprises: 步骤D1,根据规划后的混联机器人加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: Step D1, based on the planned hybrid robot machining path, determine whether the path smoothing length of the tool tip position and the path smoothing angle of the tool axis direction meet the following conditions: 若满足条件,则令 If the conditions are met, then 若不满足条件,则令 If the condition is not met, then 步骤D2,根据规划后的加工路径,判断刀尖点位置路径光顺长度和刀轴方向路径光顺角度是否满足下述条件: Step D2, based on the planned machining path, determine whether the path smoothing length of the tool tip position and the path smoothing angle of the tool axis direction meet the following conditions: 若满足条件,则令 If the conditions are met, then 若不满足条件,则令 If the condition is not met, then 步骤D3,完成刀尖点位置路径光顺长度和刀轴方向路径光顺角度调整后,根据更新后的刀尖点位置路径光顺长度和刀轴方向路径光顺角度,重新计算刀尖点位置路径光顺曲线Ci(u)和刀轴方向路径光顺曲线Qi(u);Step D3, after the smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path are adjusted, the tool tip position path smoothing curve Ci (u) and the tool axis direction path smoothing curve Qi (u) are recalculated according to the updated smoothing length of the tool tip position path and the smoothing angle of the tool axis direction path; 步骤D4,由C3连续刀尖点位置路径和C3连续刀轴方向路径构成刀具规划后的全局C3连续的混联机器人加工路径。Step D4, a global C3 continuous hybrid robot machining path after tool planning is formed by the C3 continuous tool tip point position path and the C3 continuous tool axis direction path.
CN202111266995.2A 2021-10-28 2021-10-28 A smoothing method for continuous five-axis path transfer of hybrid robot C3 Active CN114002996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111266995.2A CN114002996B (en) 2021-10-28 2021-10-28 A smoothing method for continuous five-axis path transfer of hybrid robot C3

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111266995.2A CN114002996B (en) 2021-10-28 2021-10-28 A smoothing method for continuous five-axis path transfer of hybrid robot C3

Publications (2)

Publication Number Publication Date
CN114002996A CN114002996A (en) 2022-02-01
CN114002996B true CN114002996B (en) 2023-09-22

Family

ID=79924780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111266995.2A Active CN114002996B (en) 2021-10-28 2021-10-28 A smoothing method for continuous five-axis path transfer of hybrid robot C3

Country Status (1)

Country Link
CN (1) CN114002996B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116551457B (en) * 2023-07-11 2023-10-27 济南邦德激光股份有限公司 Method and equipment for connecting and processing straight line segment and circular arc segment through spline curve
CN118550249B (en) * 2024-07-30 2025-01-07 杭州芯控智能科技有限公司 Five-axis mechanism trajectory planning method, system and medium based on glue coating process

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047458A1 (en) * 2017-09-11 2019-03-14 大连理工大学 Five-axis double spline curves interpolation speed planning method
CN110716493A (en) * 2019-09-10 2020-01-21 天津大学 A five-axis micro-segment machining path smoothing method
CN111230864A (en) * 2020-01-15 2020-06-05 清华大学 Tool path planning method for five-axis parallel machining robot
CN111730488A (en) * 2020-06-30 2020-10-02 天津大学 A five-degree-of-freedom hybrid robot mold polishing system and method
CN112346406A (en) * 2020-11-03 2021-02-09 西北工业大学 Smoothing method of tool path of five-axis CNC machine tool
CN112506139A (en) * 2020-11-23 2021-03-16 西北工业大学 Partial corner fairing method for five-axis short straight line segment track
CN112847364A (en) * 2021-01-06 2021-05-28 南京航空航天大学 Robot milling tool path C3Continuous online real-time analysis fairing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047458A1 (en) * 2017-09-11 2019-03-14 大连理工大学 Five-axis double spline curves interpolation speed planning method
CN110716493A (en) * 2019-09-10 2020-01-21 天津大学 A five-axis micro-segment machining path smoothing method
CN111230864A (en) * 2020-01-15 2020-06-05 清华大学 Tool path planning method for five-axis parallel machining robot
CN111730488A (en) * 2020-06-30 2020-10-02 天津大学 A five-degree-of-freedom hybrid robot mold polishing system and method
CN112346406A (en) * 2020-11-03 2021-02-09 西北工业大学 Smoothing method of tool path of five-axis CNC machine tool
CN112506139A (en) * 2020-11-23 2021-03-16 西北工业大学 Partial corner fairing method for five-axis short straight line segment track
CN112847364A (en) * 2021-01-06 2021-05-28 南京航空航天大学 Robot milling tool path C3Continuous online real-time analysis fairing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
五轴线性刀路的转接光顺及轨迹生成算法;赵欢;张永红;丁汉;;机械工程学报(第03期);122-130 *
铣削加工用混联机器人参数曲线插补方法;黎广喜;刘海涛;徐青山;肖聚亮;秦旭达;;航空制造技术(第16期);39-46 *

Also Published As

Publication number Publication date
CN114002996A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN111061213B (en) Processing method based on Bezier curve corner smooth transition algorithm
Li et al. Trajectory smoothing method using reinforcement learning for computer numerical control machine tools
CN107263484B (en) Robot joint space point-to-point motion trajectory planning method
CN101539769B (en) Method for fitting and interpolating G01 code based on quadratic B spline curve
CN103699056B (en) The little line segment real-time smooth transition interpolation method of high-speed, high precision digital control processing
CN101556472B (en) Small straight-line section interpolation method of numerical control system on basis of multicycle optimal corner
Du et al. An error-bounded B-spline curve approximation scheme using dominant points for CNC interpolation of micro-line toolpath
CN114002996B (en) A smoothing method for continuous five-axis path transfer of hybrid robot C3
Zhang et al. Curve fitting and optimal interpolation on CNC machines based on quadratic B-splines
CN102023613A (en) Five-axis linkage numerical control (NC) machining post processor and processing method thereof
CN109976262B (en) A global curvature continuous smoothing method for micro-segment processing
CN106054817A (en) Real-time look-ahead interpolation method and system for local optimum small line segment path analysis fairing
CN112975992B (en) Error-controllable robot track synchronous optimization method
CN108508848A (en) A kind of appraisal procedure of the Milling Process profile errors based on interpolation data
CN111679629B (en) A non-interference trajectory planning method for idle travel in multi-spindle head machining
CN115179306A (en) Milling and control method for complex wood pattern industrial robot
CN114296398A (en) High-speed high-precision interpolation method for laser cutting
CN105785913A (en) Cutter path cutting direction optimization method based on machine tool speed limitation
CN112231901B (en) Offset calculation method of T spline surface
Yan et al. Asymmetrical transition-based corner rounding method driven by overlap elimination for CNC machining of short-segmented tool path
CN114721327B (en) Numerical control machining tool path track optimization method based on asymmetric PH curve
CN111610751B (en) Interpolation error multi-subdivision iterative calculation method for cross point set NURBS interpolation curve
Li et al. Error constraint optimization for corner smoothing algorithms in high-speed CNC machine tools
CN113835397A (en) Linear NC machining path smoothing method based on B-spline curve and path integral
CN113608496B (en) Spatial path G 2 Transfer fairing method, apparatus and computer readable storage medium

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