CN105458372B - A kind of side milling error tool path scheduling method based on non-extended straight-line surface - Google Patents

A kind of side milling error tool path scheduling method based on non-extended straight-line surface Download PDF

Info

Publication number
CN105458372B
CN105458372B CN201511016335.3A CN201511016335A CN105458372B CN 105458372 B CN105458372 B CN 105458372B CN 201511016335 A CN201511016335 A CN 201511016335A CN 105458372 B CN105458372 B CN 105458372B
Authority
CN
China
Prior art keywords
tool
tool position
lead screw
side milling
servo motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201511016335.3A
Other languages
Chinese (zh)
Other versions
CN105458372A (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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN201511016335.3A priority Critical patent/CN105458372B/en
Publication of CN105458372A publication Critical patent/CN105458372A/en
Application granted granted Critical
Publication of CN105458372B publication Critical patent/CN105458372B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23CMILLING
    • B23C3/00Milling particular work; Special milling operations; Machines therefor
    • B23C3/16Working surfaces curved in two directions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/007Automatic control or regulation of feed movement, cutting velocity or position of tool or work while the tool acts upon the workpiece
    • B23Q15/12Adaptive control, i.e. adjusting itself to have a performance which is optimum according to a preassigned criterion

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)

Abstract

本发明涉及机械加工领域,具体涉及一种基于非可展直纹面的侧铣误差补偿装置及其刀位规划方法,包括装夹盘、工件以及设置在工件上方用于侧铣加工的铣刀,所述工件设置在装夹盘上,其特征在于:还包括三维扫描仪、微机、立柱以及刀位补偿机构,所述刀位补偿机构设置在装夹盘下方,本发明采用四点偏置的方式对非可展直纹面五轴侧铣刀具路径进行规划,并对其是否有干涉进行在线实时判断,根据判断的结果进行在线调整,在减小加工误差的同时避免了加工过程中的碰撞,实现快速、高效加工的目的;本发明对生成的刀位进一步优化,并由误差补偿装置配合完成,进一步降低了误差。

The invention relates to the field of mechanical processing, in particular to a side milling error compensation device based on a non-developable ruled surface and a tool position planning method thereof, including a chucking plate, a workpiece, and a milling cutter arranged above the workpiece for side milling , the workpiece is arranged on the clamping disc, and it is characterized in that: it also includes a three-dimensional scanner, a microcomputer, a column and a tool position compensation mechanism, and the tool position compensation mechanism is arranged below the clamping disc, and the present invention adopts four-point offset Plan the five-axis side milling tool path for the non-developable ruled surface in a new way, and judge whether there is interference in real time online, and adjust online according to the judgment result, which reduces the processing error and avoids the collision, to achieve the purpose of fast and efficient processing; the invention further optimizes the generated tool position, and is completed by the cooperation of the error compensation device, which further reduces the error.

Description

一种基于非可展直纹面的侧铣误差刀位规划方法A Tool Position Planning Method for Side Milling Errors Based on Non-Developable Ruled Surfaces

技术领域technical field

本发明涉及机械加工领域,具体涉及一种基于非可展直纹面的侧铣误差刀位规划方法。The invention relates to the field of mechanical processing, in particular to a method for planning a side milling error tool position based on a non-developable ruled surface.

背景技术Background technique

非可展直纹面由直母线沿导线扫掠形成,是非可展的,将曲面离散可以得到曲面上多条方向各不相同的直线。由于其直母线上各点的法矢方向不同,只要使用半径不为零的刀具侧铣,必定会产生过切和欠切误差,而且在加工过程中由于机床-工件组成的工艺系统产生振动、传动链存在间隙以及执行机构磨损,会使刀具运动偏离理想轨迹,造成加工误差,对于非可展直纹面来说,这些误差是致命性的,不但不能达到最终的加工要求,甚至会使加工零件报废。A non-developable ruled surface is formed by sweeping a straight generatrix along a wire, and is non-developable. Discrete the surface can obtain multiple straight lines with different directions on the surface. Due to the different directions of the normal vectors of the points on the straight generatrix, as long as a tool with a non-zero radius is used for side milling, overcut and undercut errors will inevitably occur, and during the machining process, due to the vibration, vibration, and There is a gap in the drive chain and the wear of the actuator will cause the tool movement to deviate from the ideal trajectory, resulting in machining errors. For non-developable ruled surfaces, these errors are fatal. Part scrapped.

发明内容Contents of the invention

本发明所要解决的技术问题是提供一种在线监测、实时调整、减小误差、提高加工效率且能有效提升加工质量的一种基于非可展直纹面的侧铣误差刀位规划方法。The technical problem to be solved by the present invention is to provide a side milling error tool position planning method based on non-developable ruled surface, which can monitor online, adjust in real time, reduce errors, improve processing efficiency and effectively improve processing quality.

为解决以上技术问题,本发明采用如下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:

技术方案一:Technical solution one:

一种基于非可展直纹面的侧铣误差补偿装置,包括装夹盘、工件以及设置在工件上方用于侧铣加工的铣刀,所述工件设置在装夹盘上,还包括三维扫描仪、微机、立柱以及刀位补偿机构,所述刀位补偿机构设置在装夹盘下方;所述刀位补偿机构包括:第一平移台、第二平移台、第一螺母副、第一丝杠、第二螺母副、第二丝杠、第一伺服电机以及第二伺服电机;所述第一螺母副设置在第一平移台下方,所述第一丝杠通过滚珠与第一螺母副相配合,所述第一丝杠与第一伺服电机输出端连接,所述第二螺母副设置在第二平移台下方,所述第二丝杠通过滚珠与第二螺母副相配合,所述第二丝杠与第二伺服电机输出端连接;所述三维扫描仪设置在立柱上,所述立柱设置在第一平移台上,所述三维扫描仪与微机相连,所述第一伺服电机与第二伺服电机通过逻辑控制板与微机连接,所述微机通过伺服驱动器与铣刀的主轴相连。所述第一丝杠与第一螺母副的个数为2个,并平行设置在第一平移台下方;所述第二丝杠与第二螺母副的个数为2个,并平行设置在第二平移台下方。所述第一丝杠与第二丝杠的轴线相互垂直。A side milling error compensation device based on a non-developable ruled surface, comprising a chuck, a workpiece, and a milling cutter arranged above the workpiece for side milling, the workpiece is arranged on the chuck, and a three-dimensional scanning Instrument, microcomputer, column and tool position compensation mechanism, the tool position compensation mechanism is arranged under the chucking plate; the tool position compensation mechanism includes: the first translation stage, the second translation stage, the first nut pair, the first wire rod, the second nut pair, the second lead screw, the first servo motor and the second servo motor; Cooperate, the first lead screw is connected with the output end of the first servo motor, the second nut pair is arranged under the second translation platform, the second lead screw cooperates with the second nut pair through balls, the first The second lead screw is connected to the output end of the second servo motor; the three-dimensional scanner is arranged on the column, the column is arranged on the first translation platform, the three-dimensional scanner is connected to the microcomputer, and the first servo motor is connected to the second servo motor. The second servo motor is connected with the microcomputer through the logic control board, and the microcomputer is connected with the main shaft of the milling cutter through the servo driver. The number of the first lead screw and the first nut pair is 2, and they are arranged in parallel under the first translation table; the number of the second lead screw and the second nut pair is 2, and they are arranged in parallel on the Below the second translation stage. The axes of the first lead screw and the second lead screw are perpendicular to each other.

技术方案二:Technical solution two:

本发明的刀位规划方法步骤如下(利用基于非可展直纹面的侧铣误差补偿装置):The steps of the tool position planning method of the present invention are as follows (using the side milling error compensation device based on non-developable ruled surface):

①通过三维扫描仪测得实时加工零件三维模型图的数据;① Measure the data of the real-time 3D model diagram of the processed part through the 3D scanner;

②将测得模型数据与设计曲面进行比对,利用四点偏置法生成初始刀位:②Compare the measured model data with the design surface, and use the four-point offset method to generate the initial tool position:

201对设计曲面和等距面进行定义,设计曲面方程为S(u,v)=(1-v)B0(u)+vB1(u),u,v∈[0,1],其中u,v为曲面的曲线坐标,其等距曲面定义为Sˊ(u,v)=S(u,v)+R·n(u,v),其中R为柱刀刀具半径,B0(u)和B1(u)为两条曲线的矢径,n(u,v)为曲面单位法矢,以等距面和刀轴轨迹面之间的极差表示曲面加工误差;201 defines the design surface and equidistant surface, the design surface equation is S(u,v)=(1-v)B 0 (u)+vB 1 (u), u,v∈[0,1], where u, v are the curve coordinates of the surface, and its equidistant surface is defined as Sˊ(u,v)=S(u,v)+R n(u,v), where R is the radius of the column cutter, B 0 (u ) and B 1 (u) are the vector diameters of the two curves, n(u, v) is the unit normal vector of the surface, and the machining error of the surface is represented by the extreme difference between the equidistant surface and the tool axis trajectory surface;

202选取设计曲面一直母线两端点,提取其等距面上对应的点P0、P3,偏置距离为刀具半径;203引入λ,分别以v=λ和v=1-λ选定中间两点P1、P2的位置,其中v∈[0,1],其数值表示点在刀轴的位置,分别用E1和E2表示两点与设计曲面等距面之间的极差;202 Select the two ends of the busbar on the design surface, extract the corresponding points P 0 and P 3 on the equidistant surface, and the offset distance is the tool radius; The positions of points P 1 and P 2 , where v∈[0,1], its value indicates the position of the point on the tool axis, and E 1 and E 2 represent the extreme difference between the two points and the equidistant surface of the design surface;

204固定P0点,令P3点在B1”(u)上滑动,可以得到一族P0P3,各刀位P3点滑动范围设定为[u0-0.5h,u0+0.5h],其中u0为201中u的初始坐标值,h为走刀步长与准线长度之比,设定标准值ε,分别计算每一步中E=E1 2+E2 2,当满足E<ε时,P0P3即确定为初始刀位;204 Fix point P 0 , let point P 3 slide on B 1 ”(u), and a family of P 0 P 3 can be obtained, and the sliding range of point P 3 in each tool position is set as [u 0 -0.5h, u 0 +0.5 h], where u 0 is the initial coordinate value of u in 201, h is the ratio of the cutting step length to the directrix length, set the standard value ε, and calculate E=E 1 2 +E 2 2 in each step respectively, when When E<ε is satisfied, P 0 P 3 is determined as the initial tool position;

205选取设计曲面下一条直母线上两点并重复上述步骤,计算出所有初始刀位;205 Select two points on a straight generatrix under the design surface and repeat the above steps to calculate all initial tool positions;

③利用最小二乘法生成优化刀位:③Using the least squares method to generate optimized tool positions:

301将初始刀位拟合成曲面,初始刀轴轨迹面表示为:301 fits the initial tool position into a curved surface, and the initial tool axis trajectory surface is expressed as:

其中v为直母线方向参数,Ni,k(u)为B样条基函数,bi和di为两准线控制顶点; Where v is the direction parameter of the straight generatrix, N i,k (u) is the B-spline basis function, b i and d i are the control vertices of the two directrixes;

302在设计曲面的等距面上取M个数据点Ps(s=0,1,...,M-1),将其在刀轴轨迹面上的对应点(us,vs),代入步骤301的表达式, 302 Take M data points P s (s=0,1,...,M-1) on the equidistant surface of the design surface, and compare their corresponding points (u s ,v s ) on the tool axis trajectory plane , into the expression in step 301,

303将bi和di当做未知量,利用最小二乘法对步骤302的式子进行计算,得到优化后的刀位信息;303 regard b i and d i as unknown quantities, and use the least square method to calculate the formula in step 302 to obtain optimized tool location information;

④针对生成的优化刀位进行检测,如果存在干涉,计算偏转角度θ,通过微机调控伺服驱动器完成对铣刀的刀轴调整;如果不存在干涉,采用优化刀位进行加工。④ Check the generated optimized tool position. If there is interference, calculate the deflection angle θ, and adjust the cutter axis of the milling cutter through the microcomputer control servo driver; if there is no interference, use the optimized tool position for processing.

所述步骤④中对铣刀的刀轴进行调整时,微机通过逻辑控制板控制第一伺服电机、第二伺服电机驱动第一平移台、第二平移台完成辅助定位。When adjusting the cutter shaft of the milling cutter in the step ④, the microcomputer controls the first servo motor and the second servo motor to drive the first translation platform and the second translation platform through the logic control board to complete auxiliary positioning.

所述步骤④通过二次搜索法确定该刀位最大过切点;然后沿该刀位最大过切点法线方向偏转角度θ。In the step ④, the maximum tangent point of the tool position is determined by the secondary search method; and then the deflection angle θ is deflected along the normal direction of the maximum tangent point of the tool position.

所述最大过切点法线方向偏转角度θ利用确定,即通过x,y的正切比值确定θ。The maximum deflection angle θ in the normal direction of the tangent point is used and Determine, that is, through the tangent ratio of x, y Determine θ.

本发明的积极效果如下:本发明通过三维扫描仪对加工的非可展直纹面的三维模型数据进行采集,这就保证了工序中在线实时监测,极大地减小了加工误差;本发明采用四点偏置的方式对非可展直纹面五轴侧铣刀具路径进行规划,并对其是否有干涉进行在线实时判断,根据判断的结果进行在线调整,在减小加工误差的同时避免了加工过程中的碰撞,实现快速、高效加工的目的;本发明对生成的刀位进一步优化,并由误差补偿装置配合完成,进一步降低了误差;本发明通过微机控制刀轴、第一平移台与第二平移台协同完成刀位生成与刀轴调整,更加贴近非可展直纹面的表面轮廓,使加工过程更加平稳,有效保证了加工精度。The positive effects of the present invention are as follows: the present invention collects the three-dimensional model data of the processed non-extensible ruled surface through a three-dimensional scanner, which ensures online real-time monitoring in the process and greatly reduces processing errors; the present invention adopts The four-point offset method plans the five-axis side milling tool path for non-extensible ruled surfaces, and judges whether there is interference in real time online, and adjusts online according to the judgment results to reduce machining errors while avoiding The collision in the processing process is eliminated, and the purpose of fast and efficient processing is realized; the present invention further optimizes the generated tool position, and the error compensation device cooperates to further reduce the error; the present invention controls the cutter shaft and the first translation stage through a microcomputer Cooperating with the second translation stage to complete tool position generation and tool axis adjustment, it is closer to the surface contour of the non-developable ruled surface, making the machining process more stable and effectively ensuring the machining accuracy.

附图说明Description of drawings

图1为本发明结构示意图;Fig. 1 is a structural representation of the present invention;

图2为本发明曲面关系示意图;Fig. 2 is a schematic diagram of the relationship between curved surfaces of the present invention;

图3为本发明方法的流程图;Fig. 3 is the flowchart of the inventive method;

图4为本发明四点偏置法模型示意图;Fig. 4 is a schematic diagram of a four-point offset method model of the present invention;

图5为本发明刀轴矢量偏转模型示意图;Fig. 5 is a schematic diagram of the tool axis vector deflection model of the present invention;

图6为本发明刀轴偏转角度示意图;Fig. 6 is a schematic diagram of the deflection angle of the cutter shaft of the present invention;

图7为本发明刀具过切误差示意图;Fig. 7 is a schematic diagram of the tool overcut error of the present invention;

图8为本发明非可展直纹面五轴侧铣加工方法的流程图;Fig. 8 is a flow chart of the non-developable ruled surface five-axis side milling method of the present invention;

图9为本发明设计曲面生成等距面示意图;Fig. 9 is a schematic diagram of generating an isometric surface from a designed curved surface in the present invention;

图10为本发明初始刀位加工误差分布示意图;Fig. 10 is a schematic diagram of the distribution of initial tool position machining errors in the present invention;

图11为本发明优化后刀位加工误差分布示意图。Fig. 11 is a schematic diagram of the distribution of tool position machining errors after optimization in the present invention.

在图中:1工件、2铣刀、3三维扫描仪、4装夹盘、5第一平移台、6第二平移台、7螺母副、8丝杠、9第二伺服电机、10第一伺服电机、11微机,S1为设计曲面,S2为刀具包络面,S3为设计曲面的等距面,S4为刀轴轨迹面,R为刀具半径,O为刀心点,O'为旋转后的刀心点。In the figure: 1 workpiece, 2 milling cutter, 3 three-dimensional scanner, 4 chucking plate, 5 first translation stage, 6 second translation stage, 7 nut pair, 8 lead screw, 9 second servo motor, 10 first Servo motor, 11 microcomputer, S1 is the design surface, S2 is the tool envelope surface, S3 is the equidistant surface of the design surface, S4 is the tool axis track surface, R is the tool radius, O is the tool center point, O' is the rotation The heart of the knife.

具体实施方式Detailed ways

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

实施例1Example 1

如图1所示,一种基于非可展直纹面的侧铣误差补偿装置,包括装夹盘4、工件1以及设置在工件1上方用于侧铣加工的铣刀2,所述工件1设置在装夹盘4上,还包括三维扫描仪3、微机11、立柱12以及刀位补偿机构,所述刀位补偿机构设置在装夹盘4下方;As shown in Figure 1, a side milling error compensation device based on a non-developable ruled surface includes a clamping plate 4, a workpiece 1 and a milling cutter 2 arranged above the workpiece 1 for side milling, the workpiece 1 It is arranged on the chucking disk 4, and also includes a three-dimensional scanner 3, a microcomputer 11, a column 12 and a tool position compensation mechanism, and the knife position compensation mechanism is arranged under the chucking disk 4;

所述刀位补偿机构包括:第一平移台5、第二平移台6、第一螺母副7-1、第一丝杠8-1、第二螺母副7-2、第二丝杠8-2、第一伺服电机10以及第二伺服电机9;所述第一螺母副7-1设置在第一平移台5下方,所述第一丝杠8-1通过滚珠与第一螺母副7-1相配合,所述第一丝杠8-1与第一伺服电机10输出端连接,所述第二螺母副7-2设置在第二平移台6下方,所述第二丝杠8-2通过滚珠与第二螺母副7-2相配合,所述第二丝杠8-2与第二伺服电机9输出端连接;The tool position compensation mechanism includes: a first translation platform 5, a second translation platform 6, a first nut pair 7-1, a first lead screw 8-1, a second nut pair 7-2, a second lead screw 8- 2. The first servo motor 10 and the second servo motor 9; the first nut pair 7-1 is arranged under the first translation table 5, and the first lead screw 8-1 connects with the first nut pair 7-1 through balls. 1, the first lead screw 8-1 is connected to the output end of the first servo motor 10, the second nut pair 7-2 is arranged under the second translation table 6, and the second lead screw 8-2 The ball is matched with the second nut pair 7-2, and the second lead screw 8-2 is connected to the output end of the second servo motor 9;

所述三维扫描仪3设置在立柱12上,所述立柱12设置在第一平移台5上,所述三维扫描仪3与微机11相连,所述第一伺服电机10与第二伺服电机9通过逻辑控制板与微机11连接,所述微机11通过伺服驱动器与铣刀2的主轴相连。The three-dimensional scanner 3 is arranged on the column 12, the column 12 is arranged on the first translation platform 5, the three-dimensional scanner 3 is connected to the microcomputer 11, and the first servo motor 10 and the second servo motor 9 pass through The logic control board is connected with the microcomputer 11, and the microcomputer 11 is connected with the main shaft of the milling cutter 2 through a servo driver.

所述第一丝杠8-1与第一螺母副7-1的个数为2个,并平行设置在第一平移台(5)下方;所述第二丝杠(8-2)与第二螺母副7-2的个数为2个,并平行设置在第二平移台6下方。所述第一丝杠8-1与第二丝杠8-2的轴线相互垂直。本发明中微机11是PC机或笔记本电脑。The number of the first lead screw 8-1 and the first nut pair 7-1 is 2, and they are arranged in parallel under the first translation platform (5); the second lead screw (8-2) and the second The number of the two nut pairs 7-2 is 2, and they are arranged below the second translation platform 6 in parallel. The axes of the first lead screw 8-1 and the second lead screw 8-2 are perpendicular to each other. Microcomputer 11 among the present invention is PC or notebook computer.

实施例2:Example 2:

因非可展直纹面的特点是直母线上各点的法矢方向不同,任何半径不为零的刀具对其进行侧铣都存在理论误差,刀具包络面不能与设计曲面完全相切,对于这种曲面的侧铣加工采用曲面逼近加工,如图2所示,在侧铣非可展直纹面刀位规划主要有:设计曲面S1,刀具包络面S2,设计曲面的等距面S3,刀轴轨迹面S4,铣刀包络面和刀轴轨迹面是一对等距面,由微分几何中等距映射下的极差不变性可知,刀具包络面和设计曲面的极差与刀轴轨迹面和设计曲面等距面之间的极差相等,因此可以将刀位的优化问题转变为如何尽可能减小刀轴轨迹面和设计曲面等距面的误差。刀轴轨迹面包含了刀具空间运动的全部信息,因此刀位规划实质上是构造出一个刀轴轨迹面,使刀具包络面尽可能逼近设计曲面,从而减小加工误差。四点偏置法是在两点偏置法的基础上对刀轴进行滑移,以刀轴上四点与设计曲面等距面之间的误差为限定条件确定刀位的方法。刀轴两端点由设计曲面上的点直接法向偏置而来,故加工误差为零,另外两点的位置以引入的λ来表示,该两点与等距面之间的极差满足约定条件时,初始刀位确定。四点偏置法的实质是在设计曲面四条曲线上寻求四点,让其沿着曲面法矢偏移一个刀具半径R得到对应四点,使之精确逼近一条直线,这条直线的方向即为刀轴方向。Because the non-developable ruled surface is characterized by the different normal vector directions of points on the straight generatrix, any tool with a non-zero radius will have a theoretical error in side milling, and the tool envelope cannot be completely tangent to the design surface. For the side milling of this kind of curved surface, surface approximation is used. As shown in Figure 2, the tool position planning for side milling non-developable ruled surface mainly includes: design surface S1, tool envelope surface S2, and equidistant surface of design surface S3, the tool axis trajectory surface S4, the milling cutter envelope surface and the tool axis trajectory surface are a pair of equidistant surfaces. According to the range invariance under equidistant mapping in differential geometry, the range and The range between the tool axis trajectory surface and the isometric surface of the design surface is equal, so the optimization problem of the tool position can be transformed into how to minimize the error between the tool axis trajectory surface and the isometric surface of the design surface. The tool axis trajectory surface contains all the information of the tool space movement, so the tool position planning is essentially to construct a tool axis trajectory surface, so that the tool envelope surface is as close as possible to the design surface, thereby reducing the machining error. The four-point offset method is based on the two-point offset method to slide the tool axis, and the error between the four points on the tool axis and the equidistant surface of the design surface is used as a limiting condition to determine the tool position. The two ends of the tool axis are directly offset from the normal direction of the points on the design surface, so the machining error is zero, and the positions of the other two points are represented by the introduced λ, and the extreme difference between the two points and the equidistant surface meets the agreement condition, the initial tool position is determined. The essence of the four-point offset method is to find four points on the four curves of the design surface, and let them offset a tool radius R along the normal vector of the surface to obtain the corresponding four points, so that they can accurately approach a straight line. The direction of this straight line is Tool axis direction.

如图3所示,利用实施例1所述的装置进行刀位规划方法,其特征在于步骤如下:As shown in Figure 3, using the device described in Embodiment 1 to carry out the tool position planning method is characterized in that the steps are as follows:

①通过三维扫描仪3测得实时加工零件三维模型图的数据;① Measure the data of the three-dimensional model diagram of the real-time processed part through the three-dimensional scanner 3;

②将测得模型数据与设计曲面进行比对,如图4所示,利用四点偏置法生成初始刀位,:② Compare the measured model data with the design surface, as shown in Figure 4, use the four-point offset method to generate the initial tool position:

201对设计曲面和等距面进行定义,设计曲面方程为S(u,v)=(1-v)B0(u)+vB1(u),u,v∈[0,1],其中u,v为曲面的曲线坐标,其等距曲面定义为Sˊ(u,v)=S(u,v)+R·n(u,v),其中R为柱刀刀具半径,B0(u)和B1(u)为两条曲线的矢径,n(u,v)为曲面单位法矢,以等距面和刀轴轨迹面之间的极差表示曲面加工误差;201 defines the design surface and equidistant surface, the design surface equation is S(u,v)=(1-v)B 0 (u)+vB 1 (u), u,v∈[0,1], where u, v are the curve coordinates of the surface, and its equidistant surface is defined as Sˊ(u,v)=S(u,v)+R n(u,v), where R is the radius of the column cutter, B 0 (u ) and B 1 (u) are the vector diameters of the two curves, n(u, v) is the unit normal vector of the surface, and the machining error of the surface is represented by the extreme difference between the equidistant surface and the tool axis trajectory surface;

202选取设计曲面一直母线两端点,提取其等距面上对应的点P0、P3,偏置距离为刀具半径;202 Select the two ends of the generatrix on the design surface, extract the corresponding points P 0 and P 3 on the equidistant surface, and the offset distance is the tool radius;

203引入λ,分别以v=λ和v=1-λ选定中间两点P1、P2的位置,其中v∈[0,1],其数值表示点在刀轴的位置,分别用E1和E2表示两点与设计曲面等距面之间的极差;203 introduces λ, selects the positions of the middle two points P 1 and P 2 with v=λ and v=1-λ respectively, where v∈[0,1], its value indicates the position of the point on the tool axis, and respectively uses E 1 and E 2 represent the extreme difference between two points and the equidistant surface of the design surface;

204固定P0点,令P3点在B1”(u)上滑动,可以得到一族P0P3,各刀位P3点滑动范围设定为[u0-0.5h,u0+0.5h],其中u0为201中u的初始坐标值,h为走刀步长与准线长度之比,设定标准值ε,分别计算每一步中E=E1 2+E2 2,当满足E<ε时,P0P3即确定为初始刀位,其计算流程图如图8所示;204 Fix point P 0 , let point P 3 slide on B 1 ”(u), and a family of P 0 P 3 can be obtained, and the sliding range of point P 3 in each tool position is set as [u 0 -0.5h, u 0 +0.5 h], where u 0 is the initial coordinate value of u in 201, h is the ratio of the cutting step length to the directrix length, set the standard value ε, and calculate E=E 1 2 +E 2 2 in each step respectively, when When E<ε is satisfied, P 0 P 3 is determined as the initial tool position, and its calculation flow chart is shown in Figure 8;

205选取设计曲面下一条直母线上两点并重复上述步骤,计算出所有初始刀位;205 Select two points on a straight generatrix under the design surface and repeat the above steps to calculate all initial tool positions;

③利用最小二乘法生成优化刀位:③Using the least squares method to generate optimized tool positions:

301如图9所示,将初始刀位拟合成曲面,初始刀轴轨迹面表示为:301 As shown in Figure 9, the initial tool position is fitted into a curved surface, and the initial tool axis trajectory surface is expressed as:

其中v为直母线方向参数,为B样条基函数,bi和di为两准线控制顶点; Where v is the direction parameter of the straight generatrix, is the B-spline basis function, and b i and d i are the control vertices of the two directrixes;

302在设计曲面的等距面上取M个数据点Ps(s=0,1,...,M-1),将其在刀轴轨迹面上的对应点(us,vs),代入步骤301的表达式,303将bi和di当做未知量,利用最小二乘法对步骤302的式子进行计算,得到优化后的刀位信息;302 Take M data points P s (s=0,1,...,M-1) on the equidistant surface of the design surface, and compare their corresponding points (u s ,v s ) on the tool axis trajectory plane , into the expression in step 301, 303 regard b i and d i as unknown quantities, and use the least square method to calculate the formula in step 302 to obtain optimized tool location information;

④针对生成的优化刀位进行检测,如图5、6、7所示,如果存在干涉,计算偏转角度θ,通过微机11调控伺服驱动器完成对铣刀2的刀轴调整;如果不存在干涉,采用优化刀位进行加工。④ Check the generated optimized tool positions, as shown in Figures 5, 6, and 7, if there is interference, calculate the deflection angle θ, and adjust the servo driver through the microcomputer 11 to complete the adjustment of the cutter axis of the milling cutter 2; if there is no interference, Machining with optimized tool positions.

所述步骤④中对铣刀2的刀轴进行调整时,微机11通过逻辑控制板控制第一伺服电机10、第二伺服电机9驱动第一平移台5、第二平移台6完成辅助定位。When adjusting the cutter shaft of the milling cutter 2 in the step ④, the microcomputer 11 controls the first servo motor 10 and the second servo motor 9 to drive the first translation platform 5 and the second translation platform 6 through the logic control board to complete auxiliary positioning.

所述步骤④通过二次搜索法确定该刀位最大过切点;然后沿该刀位最大过切点法线方向偏转角度θ。所述最大过切点法线方向偏转角度θ利用确定,即通过x,y的正切比值确定θ。In the step ④, the maximum tangent point of the tool position is determined by the secondary search method; and then the deflection angle θ is deflected along the normal direction of the maximum tangent point of the tool position. The maximum deflection angle θ in the normal direction of the tangent point is used and Determine, that is, through the tangent ratio of x, y Determine θ.

如图10、11(其中负值表示过切,正值表示欠切)所示,利用上述方法以及误差补偿装置,并进行刀位优化后的过切误差值明显变小,欠切误差可以通过下次切削减小,相较于优化前进一步提高了加工精度。As shown in Figures 10 and 11 (the negative value indicates overcutting, and the positive value indicates undercutting), using the above method and error compensation device, the overcutting error value after the tool position optimization is significantly smaller, and the undercutting error can be obtained by The next cutting is reduced, and the machining accuracy is further improved compared with before optimization.

以上所述实施方式仅为本发明的优选实施例,而并非本发明可行实施的穷举。对于本领域一般技术人员而言,在不背离本发明原理和精神的前提下对其所作出的任何显而易见的改动,都应当被认为包含在本发明的权利要求保护范围之内。The implementation manners described above are only preferred embodiments of the present invention, rather than an exhaustive list of feasible implementations of the present invention. For those skilled in the art, any obvious changes made without departing from the principle and spirit of the present invention should be considered to be included in the protection scope of the claims of the present invention.

Claims (6)

1.一种基于非可展直纹面的侧铣误差刀位规划方法,其特征在于步骤如下:1. a side milling error tool position planning method based on non-extensible ruled surface, it is characterized in that the steps are as follows: ①测得实时加工零件三维模型图的数据;① Measure the data of the three-dimensional model diagram of the real-time processed parts; 所述三维模型图的数据依靠补偿装置获得,所述补偿装置包括装夹盘(4)、工件(1)以及设置在工件(1)上方用于侧铣加工的铣刀(2),所述工件(1)设置在装夹盘(4)上;还包括三维扫描仪(3)、微机(11)、立柱(12)以及刀位补偿机构,所述刀位补偿机构设置在装夹盘(4)下方;所述刀位补偿机构包括:第一平移台(5)、第二平移台(6)、第一螺母副(7-1)、第一丝杠(8-1)、第二螺母副(7-2)、第二丝杠(8-2)、第一伺服电机(10)以及第二伺服电机(9);所述第一螺母副(7-1)设置在第一平移台(5)下方,所述第一丝杠(8-1)通过滚珠与第一螺母副(7-1)相配合,所述第一丝杠(8-1)与第一伺服电机(10)输出端连接,所述第二螺母副(7-2)设置在第二平移台(6)下方,所述第二丝杠(8-2)通过滚珠与第二螺母副(7-2)相配合,所述第二丝杠(8-2)与第二伺服电机(9)输出端连接;所述三维扫描仪(3)设置在立柱(12)上,所述立柱(12)设置在第一平移台(5)上,所述三维扫描仪(3)与微机(11)相连,所述第一伺服电机(10)与第二伺服电机(9)通过逻辑控制板与微机(11)连接,所述微机(11)通过伺服驱动器与铣刀(2)的主轴相连;通过三维扫描仪(3)测得实时加工零件三维模型图的数据;The data of the three-dimensional model map is obtained by means of a compensation device, which includes a chucking disc (4), a workpiece (1) and a milling cutter (2) arranged above the workpiece (1) for side milling, the The workpiece (1) is set on the clamping disc (4); it also includes a three-dimensional scanner (3), a microcomputer (11), a column (12) and a tool position compensation mechanism, and the tool position compensation mechanism is arranged on the clamping disc ( 4) Below; the tool position compensation mechanism includes: the first translation platform (5), the second translation platform (6), the first nut pair (7-1), the first lead screw (8-1), the second A nut pair (7-2), a second lead screw (8-2), a first servo motor (10) and a second servo motor (9); the first nut pair (7-1) is arranged in the first translation Below the platform (5), the first lead screw (8-1) cooperates with the first nut pair (7-1) through balls, and the first lead screw (8-1) is connected with the first servo motor (10 ) output end connection, the second nut pair (7-2) is arranged below the second translation platform (6), and the second lead screw (8-2) is connected to the second nut pair (7-2) through the ball In cooperation, the second lead screw (8-2) is connected to the output end of the second servo motor (9); the three-dimensional scanner (3) is arranged on the column (12), and the column (12) is arranged on On the first translation platform (5), the three-dimensional scanner (3) is connected to the microcomputer (11), and the first servo motor (10) and the second servo motor (9) are connected to the microcomputer (11) through a logic control board. Connect, described microcomputer (11) is connected with the main shaft of milling cutter (2) by servo driver; Measure the data of real-time processing part three-dimensional model figure by three-dimensional scanner (3); ②将测得模型数据与设计曲面进行比对,利用四点偏置法生成初始刀位:②Compare the measured model data with the design surface, and use the four-point offset method to generate the initial tool position: 201对设计曲面和等距面进行定义,设计曲面方程为S(u,v)=(1-v)B0(u)+vB1(u),u,v∈[0,1],其中u,v为曲面的曲线坐标,其等距曲面定义为Sˊ(u,v)=S(u,v)+R·n(u,v),其中R为柱刀刀具半径,B0(u)和B1(u)为两条曲线的矢径,n(u,v)为曲面单位法矢,以等距面和刀轴轨迹面之间的极差表示曲面加工误差;201 defines the design surface and equidistant surface, the design surface equation is S(u,v)=(1-v)B 0 (u)+vB 1 (u), u,v∈[0,1], where u, v are the curve coordinates of the surface, and its equidistant surface is defined as Sˊ(u,v)=S(u,v)+R n(u,v), where R is the radius of the column cutter, B 0 (u ) and B 1 (u) are the vector diameters of the two curves, n(u, v) is the unit normal vector of the surface, and the machining error of the surface is represented by the extreme difference between the equidistant surface and the tool axis trajectory surface; 202选取设计曲面一直母线两端点,提取其等距面上对应的点P0、P3,偏置距离为刀具半径;203引入λ,分别以v=λ和v=1-λ选定中间两点P1、P2的位置,其中v∈[0,1],其数值表示点在刀轴的位置,分别用E1和E2表示两点与设计曲面等距面之间的极差;202 Select the two ends of the busbar on the design surface, extract the corresponding points P 0 and P 3 on the equidistant surface, and the offset distance is the tool radius; The positions of points P 1 and P 2 , where v∈[0,1], its value indicates the position of the point on the tool axis, and E 1 and E 2 represent the extreme difference between the two points and the equidistant surface of the design surface; 204固定P0点,令P3点在B1”(u)上滑动,可以得到一族P0P3,各刀位P3点滑动范围设定为[u0-0.5h,u0+0.5h],其中u0为201中u的初始坐标值,h为走刀步长与准线长度之比,设定标准值ε,分别计算每一步中E=E1 2+E2 2,当满足E<ε时,P0P3即确定为初始刀位;204 Fix point P 0 , let point P 3 slide on B 1 ”(u), and a family of P 0 P 3 can be obtained, and the sliding range of point P 3 in each tool position is set as [u 0 -0.5h, u 0 +0.5 h], where u 0 is the initial coordinate value of u in 201, h is the ratio of the cutting step length to the directrix length, set the standard value ε, and calculate E=E 1 2 +E 2 2 in each step respectively, when When E<ε is satisfied, P 0 P 3 is determined as the initial tool position; 205选取设计曲面下一条直母线上两点并重复上述步骤,计算出所有初始刀位;205 Select two points on a straight generatrix under the design surface and repeat the above steps to calculate all initial tool positions; ③利用最小二乘法生成优化刀位:③Using the least squares method to generate optimized tool positions: 301将初始刀位拟合成曲面,初始刀轴轨迹面表示为:301 fits the initial tool position into a curved surface, and the initial tool axis trajectory surface is expressed as: u∈[0,1],v∈[0,1],其中v为直母线方向参数,Ni,k(u)为B样条基函数,bi和di为两准线控制顶点; u∈[0,1],v∈[0,1], where v is the direction parameter of the straight generatrix, N i,k (u) is the B-spline basis function, b i and d i are the two directrix control vertices; 302在设计曲面的等距面上取M个数据点Ps(s=0,1,...,M-1),将其在刀轴轨迹面上的对应点(us,vs),代入步骤301的表达式,s=0,1,...,M-1;302 Take M data points P s (s=0,1,...,M-1) on the equidistant surface of the design surface, and compare their corresponding points (u s ,v s ) on the tool axis trajectory plane , into the expression in step 301, s=0,1,...,M-1; 303将bi和di当做未知量,利用最小二乘法对步骤302的式子进行计算,得到优化后的刀位信息;303 regard b i and d i as unknown quantities, and use the least square method to calculate the formula in step 302 to obtain optimized tool location information; ④针对生成的优化刀位进行检测,如果存在干涉,计算偏转角度θ,通过微机(11)调控伺服驱动器完成对铣刀(2)的刀轴调整;如果不存在干涉,采用优化刀位进行加工。④ Check the generated optimized tool position, if there is interference, calculate the deflection angle θ, and adjust the cutter axis of the milling cutter (2) through the microcomputer (11) to control the servo drive; if there is no interference, use the optimized tool position for processing . 2.根据权利要求1所述的一种基于非可展直纹面的侧铣误差刀位规划方法,其特征在于:所述第一丝杠(8-1)与第一螺母副(7-1)的个数为2个,并平行设置在第一平移台(5)下方;所述第二丝杠(8-2)与第二螺母副(7-2)的个数为2个,并平行设置在第二平移台(6)下方。2. A method for planning a side milling error tool position based on a non-developable ruled surface according to claim 1, characterized in that: the first lead screw (8-1) and the first nut pair (7- 1) The number is 2, and it is arranged in parallel under the first translation platform (5); the number of the second lead screw (8-2) and the second nut pair (7-2) is 2, And it is arranged below the second translation stage (6) in parallel. 3.根据权利要求2所述的一种基于非可展直纹面的侧铣误差刀位规划方法,其特征在于:所述第一丝杠(8-1)与第二丝杠(8-2)的轴线相互垂直。3. A method for planning a side milling error tool position based on a non-developable ruled surface according to claim 2, characterized in that: the first lead screw (8-1) and the second lead screw (8-1) 2) The axes are perpendicular to each other. 4.根据权利要求1所述的一种基于非可展直纹面的侧铣误差刀位规划方法,其特征在于:所述步骤④中对铣刀(2)的刀轴进行调整时,微机(11)通过逻辑控制板控制第一伺服电机(10)、第二伺服电机(9)驱动第一平移台(5)、第二平移台(6)完成辅助定位。4. A kind of side milling error tool location planning method based on non-developable ruled surface according to claim 1, characterized in that: when the cutter axis of the milling cutter (2) is adjusted in the step ④, the microcomputer (11) Control the first servo motor (10) and the second servo motor (9) through the logic control board to drive the first translation platform (5) and the second translation platform (6) to complete auxiliary positioning. 5.根据权利要求1所述的一种基于非可展直纹面的侧铣误差刀位规划方法,其特征在于:所述步骤④通过二次搜索法确定该刀位最大过切点;然后沿该刀位最大过切点法线方向偏转角度θ。5. A kind of side milling error tool position planning method based on non-developable ruled surface according to claim 1, characterized in that: said step ④ determines the maximum overcut point of the tool position by the secondary search method; and then The deflection angle θ along the normal direction of the maximum tangent point of the tool position. 6.根据权利要求5所述的一种基于非可展直纹面的侧铣误差刀位规划方法,其特征在于:所述最大过切点法线方向偏转角度θ利用确定,即通过x,y的正切比值确定θ。6. A side milling error tool position planning method based on non-developable ruled surface according to claim 5, characterized in that: the maximum deflection angle θ of the normal direction of the tangential point is used and Determine, that is, through the tangent ratio of x, y Determine θ.
CN201511016335.3A 2015-12-29 2015-12-29 A kind of side milling error tool path scheduling method based on non-extended straight-line surface Expired - Fee Related CN105458372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511016335.3A CN105458372B (en) 2015-12-29 2015-12-29 A kind of side milling error tool path scheduling method based on non-extended straight-line surface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511016335.3A CN105458372B (en) 2015-12-29 2015-12-29 A kind of side milling error tool path scheduling method based on non-extended straight-line surface

Publications (2)

Publication Number Publication Date
CN105458372A CN105458372A (en) 2016-04-06
CN105458372B true CN105458372B (en) 2018-03-09

Family

ID=55596774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511016335.3A Expired - Fee Related CN105458372B (en) 2015-12-29 2015-12-29 A kind of side milling error tool path scheduling method based on non-extended straight-line surface

Country Status (1)

Country Link
CN (1) CN105458372B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227153B (en) * 2016-09-30 2019-01-04 清华大学 A kind of cutter positioning method suitable for the non-extended straight-line surface of Flank machining
CN106424877A (en) * 2016-10-15 2017-02-22 中国计量大学 Generating method for milling tool path of novel robot
CN108067939B (en) * 2016-11-18 2021-08-03 成都飞机工业(集团)有限责任公司 An error compensation method for spatial point measurement datum
KR102202250B1 (en) * 2017-03-31 2021-01-12 가부시키가이샤 마키노 후라이스 세이사쿠쇼 Tool path generation method and device
CN109213083B (en) 2017-07-05 2020-05-08 上海狮迈科技有限公司 Ruled surface processing path generation method, device and equipment
CN111736526B (en) * 2020-07-02 2021-12-14 无锡航亚科技股份有限公司 Compensation method for over-cutting of straight-grained impeller blade
CN114535672B (en) * 2022-03-25 2023-03-28 北京精雕科技集团有限公司 Method for generating non-developable ruled surface impeller side milling machining path
CN114995281B (en) * 2022-05-10 2024-07-09 清华大学 Optimal tool position planning method and device for non-expandable straight line curved surface

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6144522A (en) * 1984-08-03 1986-03-04 Mitsubishi Heavy Ind Ltd Method of manufacturing propeller
CN103084637A (en) * 2013-02-04 2013-05-08 西北工业大学 Blisk composite numerical-control milling folded-structured machine tool
CN103100744A (en) * 2013-02-04 2013-05-15 西北工业大学 Composite numerical control milling composite-structure machine tool for blisk
CN103111674A (en) * 2013-02-04 2013-05-22 西北工业大学 Composite numerical control milling parallel-structure machine tool for blisk machining
CN103878425A (en) * 2014-03-04 2014-06-25 深圳西龙同辉技术股份有限公司 Precise milling method and structure thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5611379B2 (en) * 2013-01-23 2014-10-22 株式会社豊田自動織機 Impeller for turbocharger, method for manufacturing impeller for turbocharger, turbocharger, and turbo unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6144522A (en) * 1984-08-03 1986-03-04 Mitsubishi Heavy Ind Ltd Method of manufacturing propeller
CN103084637A (en) * 2013-02-04 2013-05-08 西北工业大学 Blisk composite numerical-control milling folded-structured machine tool
CN103100744A (en) * 2013-02-04 2013-05-15 西北工业大学 Composite numerical control milling composite-structure machine tool for blisk
CN103111674A (en) * 2013-02-04 2013-05-22 西北工业大学 Composite numerical control milling parallel-structure machine tool for blisk machining
CN103878425A (en) * 2014-03-04 2014-06-25 深圳西龙同辉技术股份有限公司 Precise milling method and structure thereof

Also Published As

Publication number Publication date
CN105458372A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN105458372B (en) A kind of side milling error tool path scheduling method based on non-extended straight-line surface
CN111913438B (en) Control method for nonlinear error between tool nose point and tool axis direction in five-axis machining
CN105425727B (en) Five axis Flank machining cutter path method for fairing
Tsay et al. Accurate 5-axis machining of twisted ruled surfaces
CN103176428B (en) CNC (computerized numerical control) system interpolating algorithm based on spherical coordinates and device for realizing same
CN103592893B (en) A kind of method of auto-compensation position and attitude error in optical element processing
CN105108215A (en) Method for predicting and compensating cutter back-off error in free-form surface micro milling
CN113325802B (en) Geometric error compensation method for five-axis machine tool
CN109343468B (en) A method for generating multi-axis trajectory of blade based on projection offset
CN104985482B (en) A kind of Five-axis NC Machining Center On-machine Test complex profile method
CN111679629B (en) A non-interference trajectory planning method for idle travel in multi-spindle head machining
CN110286650A (en) A Method for Fast Alignment of Blanks on Machine Based on NC Macro Program
CN102430961A (en) Free-form surface part processing system based on multi-sensor integrated measurement technology
CN110989490B (en) A method for obtaining the optimal installation position of workpiece based on contour error
CN110989503A (en) A Control Method for Constraining the Feed Rate of Complex Surface Milling by Tool Error
CN114782513A (en) A method for calibrating the installation position and attitude of a point laser sensor based on a plane
CN116400646A (en) Universal post-processing method for five-axis numerical control machine tool based on singular compensation
Zhang et al. A new contouring error estimation for the high form accuracy of a multi-axis CNC machine tool
CN105785913A (en) Cutter path cutting direction optimization method based on machine tool speed limitation
CN108339995A (en) A kind of the end effector of robot installing mechanism and its method of adjustment of angle adjustable
CN110045682B (en) Five-axis machining cutter deformation error off-line compensation method based on least square method
CN110193708A (en) Super-large diameter multisection type ring gear machining method
Yu et al. Post-processing algorithm of a five-axis machine tool with dual rotary tables based on the TCS method
CN110161966A (en) A kind of real-time detection method of multi-shaft interlocked profile errors
Lu et al. Smooth flank milling tool path generation for blade surfaces considering geometric constraints

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180309

Termination date: 20211229