A five-axis corner double asymmetric transition smoothing method based on overlap classification and kinematic coordination

Through the five-axis corner double asymmetric transition smoothing method based on overlap classification and kinematic coordination, the problem of insufficient kinematic performance at the corner of the five-axis CNC machine tool is solved, and a smaller curvature transition curve and a higher feed rate are achieved. , reducing acceleration and jump, generating efficient tool paths.

CN115128994BActive Publication Date: 2024-10-22DALIAN UNIV OF TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210807947.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-11
Publication Date
2024-10-22
Estimated Expiration
2042-07-11

AI Technical Summary

Technical Problem

The kinematic performance of existing five-axis CNC machine tools at corners is limited, the curvature limit of the transition curve increases, and the feed rate decreases. Moreover, the traditional method fails to fully consider the kinematic coordination and overlap diversity between the tool tip and the tool axis on the transition. Effect of length.

Method used

A five-axis corner double asymmetric transition smoothing method based on overlap classification and kinematic coordination is used to establish a corner pre-transition model through double quintic B-spline curves, classify different overlap types, derive parameter synchronization conditions, formulate an overlap elimination strategy, and Kinematic coordination is introduced to adjust the length of the transition curve to achieve acceleration and deceleration coordination between the tool tip and the tool axis.

Benefits of technology

It alleviates the excessive constraints of the transition curve, increases the feed rate at the corner, reduces the acceleration and jump of the rotation axis, generates a tool path with no overlap in geometry and coordinated kinematics, and improves the overall processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115128994B_ABST
    Figure CN115128994B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of CNC machining tool path planning, and proposes a five-axis corner double asymmetric transition smoothing method based on overlap classification and kinematic coordination. A corner pre-transition model is established only under the constraints of user-specified approximate errors using a double quintic B-spline curve; the overlap type is classified according to whether there is overlap between adjacent transition curves in the tool tip and tool axis path; the parameter synchronization conditions between the tool tip and the tool axis under different overlap types are derived, and a targeted overlap elimination strategy is given; the transition curve is adjusted by introducing kinematic coordination between the tool tip and the tool axis path, and a method for guiding the adjustment of the transition curve length is given; finally, the transition lengths on both sides of the corner are independently adjusted to meet parameter synchronization, overlap elimination and kinematic coordination. The method of the present invention constructs a double asymmetric transition curve, while increasing the tool tip feed rate, reducing the acceleration and jump of the machine tool rotating axis, and generating a geometrically overlap-free and kinematically coordinated tool path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of CNC machining tool path planning, and in particular to a five-axis corner double asymmetric transition smoothing method based on overlapping classification and kinematic coordination. Background Art

[0002] At present, the motion of most five-axis CNC machine tools is still composed of a series of linear tool path segments, which will inevitably cause local corners at the connection of adjacent linear segments, resulting in discontinuity of curvature, tangential feed rate, acceleration and jump, causing a decrease in the kinematic performance of the machine tool. Therefore, in order to obtain continuous and stable machine tool motion, local corners need to be smoothed. Generally, for the corner smoothing of five-axis linear tool paths, most methods use a set of double transition curves to perform corner smoothing on the tool tip and tool axis respectively, among which the elimination of overlap between transition curves and the synchronization of parameters between the tool tip and tool axis are the key steps in five-axis corner smoothing, because they jointly determine the transition length of the double transition curve. For example, "Yang JX, Yuen A. An analytical local corner smoothing algorithm for five-axis CNC machining. International Journal of Machine Tools and Manufacture, 2017, 123: 22-35." discloses a method for five-axis corner smoothing using a set of symmetrical and asymmetrical B-spline curves. The smoothing of the path segment is achieved by inserting symmetrical transition curves at the corners. However, due to the introduction of symmetrical transition curves, when the transition length on either side of the corner is adjusted to eliminate overlap or ensure parameter synchronization, the transition length on both sides of the corner cannot be adjusted independently; in addition, the overlap between adjacent transition curves is potentially avoided by forcing the transition length on both sides of the corner to not exceed half of the linear path. Both of these behaviors will lead to excessive constraints on the transition length, thereby forcing the transition curve to over-approach the local corner, increasing the curvature limit of the transition curve, and causing the machine tool feed rate at the corner to decrease. At the same time, in order to ensure the synchronization of parameters between the tool tip and the tool axis, this method ensures that the tool axis change relative to the tool tip displacement is C3 continuous at the connection point between the transition curve and the remaining linear path segment. However, this method only considers the smoothness of the tool axis change at the connection point, and ignores the asynchronous acceleration and deceleration motion between the tool tip and the tool axis caused by the inconsistency of the spline parameters at the curvature extreme points on the double transition curve. Recently, double asymmetric transition curves have been gradually studied because they can realize the independent adjustment of the transition lengths on both sides of the corner of the tool tip and the tool axis in a five-axis machine tool. "Wan M, Qin XB, Xiao QB, Liu Y, Zhang WH. Asymmetrical Pythagorean-Hodograph (PH) spline-based C 3"continuous cornersmoothing algorithm for five-axis tool paths with short segments. Journal of Manufacturing Processes, 2021, 64: 1387-1411." A method for five-axis corner smoothing based on double asymmetric PH splines is disclosed, which realizes independent adjustment of the transition length by introducing two additional variables. However, the additional overlap introduced by the tool axis plus the overlap of the tool tip will make the overlap type in five-axis corner smoothing more complicated. This method also fails to fully consider the influence of the overlap diversity between the tool tip and the tool axis caused by the geometric changes of the tool path on the transition length. Although the method discusses the parameter synchronization conditions under different linear path segments, it still only considers the smoothness of the tool axis changes at the connection point, and still does not fully consider the kinematic coordination between the tool tip and the tool axis on the double transition curve.

[0003] The typical characteristics of the above five-axis corner smoothing methods are: in five-axis corner smoothing, although a set of symmetrical and asymmetrical transition curves can be used to smooth the corners on the tool tip and tool axis respectively, due to the reference of the symmetrical transition curve, when the transition length on either side of the corner is adjusted to eliminate overlap or ensure parameter synchronization, the transition length on both sides of the corner will be adjusted, thereby forcing the transition curve to be too close to the local corner, increasing the curvature limit of the transition curve, and causing the machine tool feed rate at the corner to decrease; in addition, due to the additional overlap of the tool axis part introduced in the five-axis corner smoothing, its interaction with the overlap of the tool tip will lead to more complex and diverse overlap types, but the existing disclosed methods ignore the influence of overlap diversity on the transition length, which will also cause the transition length to be over-constrained. In addition, the existing disclosed methods of using a set of symmetrical and asymmetrical transition curves for five-axis corner smoothing, and the methods using double asymmetrical transitions only consider the smoothness of the changes in the tool tip and tool axis at the connection point during parameter synchronization, and fail to fully consider the kinematic coordination between the tool tip and tool axis transition curves, resulting in reduced kinematic performance of the machine tool. Therefore, from the perspective of overlapping classification and kinematic coordination, the method of the present invention can not only alleviate the excessive constraints on the transition curve and achieve an increase in the feed rate at the corner by uniquely constructing a double asymmetric transition curve, but also coordinate the asynchronous acceleration and deceleration motions of the tool tip and the tool axis on the transition curve segment, thereby improving the kinematic performance of the machine tool rotary axis. Summary of the invention

[0004] In order to improve the machine tool feed rate and obtain lower rotation axis acceleration and jump while targeting different overlap types in the five-axis corner smoothing process, the present invention proposes a five-axis corner double asymmetric transition smoothing method based on overlap classification and kinematic coordination.

[0005] The technical solution adopted by the present invention is:

[0006] A five-axis corner double asymmetric transition smoothing method based on overlap classification and kinematic coordination is proposed. Firstly, a corner pre-transition model is established under the constraint of user-specified approximate error using double quintic B-spline curves, which is used to preliminarily construct double transition curves to facilitate the classification of overlaps in the tool tip and tool axis paths. Secondly, the overlap types in the tool tip and tool axis are classified according to whether there is overlap between adjacent transition curves in the tool tip and tool axis paths. Furthermore, the parameter synchronization conditions between the tool tip and tool axis under different overlap types are analytically derived, and a targeted overlap elimination strategy that can maintain the parameter synchronization conditions is given. On this basis, the transition curve is adjusted by further introducing the kinematic coordination between the tool tip and tool axis paths, and a method for adjusting the guiding transition curve length is given to alleviate the asynchronous acceleration and deceleration motion between the tool tip and tool axis caused by the inconsistent spline parameters of the double transition curve at the curvature extreme point. Finally, the transition lengths on both sides of the corner are independently adjusted to meet parameter synchronization, overlap elimination and kinematic coordination.

[0007] The specific steps are:

[0008] 1) Establish a corner pre-transition model that is only constrained by approximate errors in the tool tip and tool axis;

[0009] The corners in the tool tip and tool axis path are smoothed in the workpiece coordinate system and the machine tool coordinate system respectively using a quintic B-spline curve constrained only by the approximate error. The quintic B-spline curve is expressed as follows:

[0010]

[0011] Where u is the parameter of the spline curve; i is the control point number; k = 5 is the degree of the quintic B-spline curve; P i and R i Respectively represent the control points of the tool tip and tool axis transition curves, and their number is equal to 7, n = 6; N i,k (u) is the B-spline basis function defined on the knot vector U = [0,0,0,0,0,0,0.5,1,1,1,1,1,1] and is calculated by the recursive Cox-de Boor formula:

[0012]

[0013] Among them, the control points P0 to P6 of the tool tip quintic B-spline curve and the control points R0 to R6 of the tool axis quintic B-spline curve are obtained by the first-order, second-order and third-order differential continuity of the linear path segment and the transition curve at the connection points u=0 and u=1. The specific expressions of the tool tip and tool axis control points are as follows:

[0014]

[0015] Where q2 and o2 represent the end points of the tool tip and tool axis respectively; l s Indicates the transition length between the control points P2 and P3 and the transition length between the control points P3 and P4 of the tool tip transition curve; l o represents the transition length between the control points R2 and R3 of the tool axis transition curve and the transition length between the control points R3 and R4; e1 and e2 represent the unit direction vectors of the linear path segments q2q1 and q2q3 on both sides of the tool tip corner; e3 and e4 represent the unit direction vectors of the linear path segments o2o1 and o2o3 on both sides of the tool axis corner; l in the corner pre-transition model s and l o Determined by the approximation error constraint specified by the user and calculated as follows:

[0016]

[0017] Among them, ε s and ε o Respectively represent the approximate errors of the tool tip and tool axis in the workpiece coordinate system; θ and Respectively represent the angles between the tool tip and the adjacent linear path segments in the tool axis; λ represents The square root of the largest eigenvalue; and J represent the skew-symmetric matrix and Jacobian matrix of the tool axis vector;

[0018]

[0019] Among them, O oi , O oj and O ok They respectively represent the components of the tool axis in the workpiece coordinate system; and They represent the partial derivatives of the tool axis components with respect to the C axis respectively; and They represent the partial derivatives of the tool axis components with respect to the A axis respectively;

[0020] 2) Classify overlaps according to whether adjacent transition curves in the tool tip and tool axis overlap;

[0021] The overlap between adjacent transition curves is determined based on the positional relationship between the transition length and the length of the linear tool path segment:

[0022]

[0023] Among them, Ω=s and Ω=o represent the tool tip and tool axis respectively; Indicates the length of the linear path segment of the tool tip or tool axis. Combined with formula (6), by judging whether the tool tip and tool axis overlap, the overlap between the tool tip and tool axis can be divided into the following four categories:

[0024]

[0025] 3) Analyze and derive the parameter synchronization conditions between the tool tip and tool axis for different overlap types;

[0026] For different overlap types, the change in the displacement of the tool axis relative to the tool tip at the connection point satisfies C 3 The conditions for the synchronization of the consecutive parameters are different;

[0027] For type A overlap, since the tool tip and tool axis paths do not overlap, parameter synchronization is ensured at the connection point between the transition curve and the linear path segment. The parameter synchronization equation is as follows:

[0028]

[0029] in, and represents the transition length between the tool tip and tool axis at the i-th corner; and Indicates the transition length between the tool tip and tool axis at the i+1th corner; and All are determined by formula (4);

[0030] The parameter synchronization equation in equation (8) is also applied to type B overlap and type C overlap;

[0031] For type D overlap, in order to obtain the minimum curvature limit, parameter synchronization is ensured at the connection point between two adjacent transition curves. The parameter synchronization equation is as follows:

[0032]

[0033] in, and represents the transition length between the tool tip and the right side of the tool axis at the i-th corner; and Indicates the transition length between the tool tip and the left side of the tool axis at the i+1th corner;

[0034] 4) Develop targeted overlap elimination strategies to maintain the elimination of different overlap types under parameter synchronization;

[0035] First, calculate the length ratio between each transition length and the linear path segment between the tool tip and the tool axis:

[0036]

[0037] in, and It represents the ratio of the transition length on both sides of the corner in the tool tip path to the length of the linear path segment; and Indicates the ratio of the transition length on both sides of the corner in the tool axis path to the length of the linear path segment; then select the small length ratio between the tool tip and the tool axis on the same side of the corner, and recalculate the new transition length:

[0038]

[0039] in, and Respectively represent the length ratio between the tool tip and tool axis on both sides of the corner;

[0040] After adjusting the same length ratio, the D-type overlap elimination is adaptively converted to overlap elimination similar to that in the three-axis linear tool path, so the formula for determining the transition length in the D-type overlap is expressed as follows:

[0041]

[0042] in, and Respectively represent the shorter and longer sides of adjacent transition lengths; Type I overlap means: when overlap occurs, the transition lengths at both ends are less than the length of the linear path segment; Type II overlap means: when overlap occurs, one of the transition lengths at both ends is greater than the length of the linear path segment; Type III overlap means: when overlap occurs, the transition lengths at both ends are greater than the length of the linear path segment; By independently adjusting the transition lengths of the overlapping sides of the corners, the elimination of different types of overlaps and parameter synchronization can be achieved at the same time;

[0043] 5) Introduce the kinematic coordination between the tool tip and tool axis path, and provide an adjustment strategy to guide the transition length;

[0044] In order to coordinate the motion between the tool tip and the tool axis, kinematic coordination is introduced to guide the adjustment of the transition length to further improve the kinematic performance of the rotary axis;

[0045] When the spline curve parameters of the double transition curves at the extreme points of curvature are the same, kinematic coordination can be fully realized, that is, the following formula is satisfied:

[0046]

[0047] in, and They are the curvature extremes of the tool tip transition curve and the tool axis transition curve respectively; and are the spline parameters at the corresponding curvature extremes; by distinguishing whether the tool tip and tool axis angles are the same, the transition length conditions that satisfy kinematic coordination are obtained as follows:

[0048]

[0049] Formula (14) clearly states that the transition lengths on both sides of the tool tip and tool axis corner are proportional or equal to maintain the kinematic coordination between the tool tip and tool axis;

[0050] Considering that in most five-axis linear paths, the transition length after parameter synchronization and overlap elimination is still difficult to meet the conditions in equation (14). To this end, the transition length should be as proportional as possible to achieve kinematic coordination between the tool tip and the tool axis, and the proportional transition length can be characterized by the similarity between the double transition curves. Therefore, in order to further adjust the transition length to achieve kinematic coordination between the tool tip and the tool axis, the transition length proximity is used to characterize the similarity between the double transition curves, which is expressed as follows:

[0051]

[0052] Among them, Δζ i Indicates the proximity of transition lengths of each set of dual asymmetric transition curves;

[0053] In order to obtain optimized kinematic coordination and guide the adjustment of transition length, the transition length proximity of the traditional corner smoothing method using a set of symmetric and asymmetric transition curves is set as a threshold, that is, the constructed double asymmetric transition curve satisfies the following formula:

[0054]

[0055] in, Indicates the proximity of transition lengths between symmetric and asymmetric transition curves; Indicates the proximity of transition lengths of dual asymmetric transition curves; and They represent the proportional coefficients of the tool tip and tool axis transition lengths on both sides of the i-th corner, respectively, and are calculated by the parameter synchronization condition formula (8):

[0056]

[0057] Calculation formula (16) satisfies When , the transition length of the double asymmetric transition curve constructed by parameter synchronization and overlap elimination is no longer adjusted; when When the transition length in the tool tip is much larger than that in the tool axis, the transition length at the tool tip position is adjusted; in addition, in order to keep the transition length proximity as small as possible, the transition length on the longer side in the tool tip is adjusted; since the transition lengths of the tool tip and tool axis on the same side of the corner have the same proportional factor, the transition length is re-evaluated by solving the following equation:

[0058]

[0059] Formula (18) is easy to solve because there is only one unknown variable, namely: hour, is a variable, unchanged; hour, is a variable, constant.

[0060] When the solution of formula (18) satisfies the following equation:

[0061]

[0062] The new transition length or Then the kinematic coordination is satisfied, where and represent the transition lengths of a set of symmetric and asymmetric transition curves, respectively, and and They represent the transition lengths of the double asymmetric transition curves respectively; when the solution of equation (18) does not satisfy the range of (19), the transition lengths of the double asymmetric transition curves are converted into the transition lengths of a set of symmetric and asymmetric transition curves, namely:

[0063]

[0064] At this point, the transition lengths of the tool tip and tool axis transition curves can be adjusted. By substituting the new control point coordinates into equation (3), a new double asymmetric transition curve is constructed by combining the node vector and the quintic B-spline basis function expression to improve the kinematic performance of the machine tool.

[0065] Beneficial effects of the present invention: The method of the present invention can adopt targeted elimination strategies for different types of overlaps, eliminate excessive constraints on the transition length, and will not force the transition curve to be too close to the corner, thereby obtaining a transition curve with a smaller curvature; at the same time, under the conditions of satisfying overlap elimination and parameter synchronization, it alleviates the asynchronous acceleration and deceleration movement between the tool axis and the tool tip caused by the traditional method that only considers the kinematic characteristics of the machine tool at the connection point, and realizes the kinematic coordination of the tool tip and the tool axis on the double transition curve. It can also be seen from the embodiments that the method of the present invention can not only improve the feed rate of the machine tool at the corner and improve the overall processing efficiency, but also reduce the acceleration and jump of the rotating axis of the machine tool. Therefore, the method of the present invention can effectively generate a tool path that is geometrically overlap-free and kinematically coordinated. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1It is a corner pre-transition model using quintic B-spline curve, (a) schematic diagram of tool tip corner smoothing in workpiece coordinate system, (b) schematic diagram of tool axis corner smoothing in machine tool coordinate system;

[0067] Figure 2 These are the overall categories of overlap in five-axis corner smoothing: (a) the tool axis does not overlap in category A overlap, (b) the tool tip does not overlap in category A overlap, (c) the tool axis overlaps in category B overlap, (d) the tool tip does not overlap in category B overlap, (e) the tool axis does not overlap in category C overlap, (f) the tool tip overlaps in category C overlap, (g) the tool axis overlaps in category D overlap, and (h) the tool tip overlaps in category D overlap;

[0068] Figure 3 The corresponding small overlap types for each major overlap are: (a) 1 type of overlap of type I, (b) 2 types of overlap of type I, (c) 3 types of overlap of type I, (d) 1 type of overlap of type II, (e) 2 types of overlap of type II, (f) 1 type of overlap of type III, (g) 2 types of overlap of type III, and (h) 3 types of overlap of type III;

[0069] Figure 4 There are four potential results of the double transition curve after the overlap is eliminated. (a) Result 1 has two connection points in the tool axis, (b) Result 1 has two connection points in the tool tip, (c) Result 2 has two connection points in the tool axis, (d) Result 2 has one connection point in the tool tip, (e) Result 3 has one connection point in the tool axis, (f) Result 3 has two connection points in the tool tip, (g) Result 4 has one connection point in the tool axis, (h) Result 4 has one connection point in the tool tip;

[0070] Figure 5 are the parameter synchronization conditions between the tool tip and the tool axis, (a) the tool axis in the three overlapping parameter synchronization conditions of A, B, and C, (b) the tool axis in the three overlapping parameter synchronization conditions of A, B, and C, (c) the tool axis in the three overlapping parameter synchronization conditions of D, (d) the tool axis in the three overlapping parameter synchronization conditions of D;

[0071] Figure 6 The overlap elimination of different overlap types in parameter synchronization, (a) overlap elimination in parameter synchronization of type B overlap; (b) overlap elimination in parameter synchronization of type C overlap; (c) when there is a small length ratio at both ends of the adjacent transition length, type D overlap is eliminated in parameter synchronization; (d) when there is a large length ratio at both ends of the adjacent transition length, type D overlap still exists in parameter synchronization;

[0072] Figure 7Schematic diagram of the asynchronous acceleration / deceleration motion between the tool tip and the tool axis using a set of symmetrical and asymmetrical transition curve corner smoothing methods. (a) At the current interpolation point u=0.5, both the tool tip and the tool axis perform deceleration motion. (b) At the next interpolation point u=0.6, the tool tip has entered the acceleration motion while the tool axis is still in the deceleration motion.

[0073] Figure 8 There are two cases where the linear tool path has a consistent angle at the i-th corner and an inconsistent angle at the i+1 corner, (a) tool axis when there are remaining linear path segments, (b) tool tip when there are remaining linear path segments, (c) tool axis when there are no remaining linear path segments, (d) tool tip when there are no remaining linear path segments;

[0074] Fig. 9 Schematic diagram of corner smoothing using different methods, (a) tool axis with overlapping transition before parameter synchronization and overlap elimination, (b) tool tip with overlapping transition before parameter synchronization and overlap elimination, (c) tool axis after using traditional symmetric and asymmetric transition methods, (d) tool tip after using traditional symmetric and asymmetric transition methods, (e) tool axis after using dual asymmetric transition method, (f) tool tip after using dual asymmetric transition method;

[0075] Fig.10 is the transition length proximity under different conditions, (a) the tool axis under the small transition length proximity case 1, (b) the tool tip under the small transition length proximity case 1, (c) the tool axis under the small transition length proximity case 2, (d) the tool tip under the small transition length proximity case 2, (e) the tool axis under the large transition length proximity case 1, (f) the tool tip under the large transition length proximity case 1, (g) the tool axis under the large transition length proximity case 2, (h) the tool tip under the large transition length proximity case 2;

[0076] Fig.11 is a schematic diagram of a fan-shaped tool path in an embodiment of the method of the present invention;

[0077] Fig.12 1. Comparison of corner smoothing results between the method of the present invention and the existing method, (a) comparison of corner smoothing results of tool tip path, (b) partial enlarged view of tool tip path, (c) comparison of corner smoothing results of tool axis path, (d) partial enlarged view of tool axis path;

[0078] Fig.13 The figures are the transition curve curvature limit and feed rate profile result diagrams of the method of the present invention and the existing method; (a) transition curve curvature limit of different methods, (b) feed rate profiles of different methods.

[0079] Fig.14The C-axis acceleration and jump result diagrams of the method of the present invention and the existing method are as follows: (a) C-axis acceleration of different methods, (b) C-axis jump of different methods;

[0080] Fig.15 It is a schematic diagram of the transition curve.

[0081] ——is the method of the present invention; -----is the existing method. DETAILED DESCRIPTION

[0082] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings and technical solutions.

[0083] (1) Establish a corner pre-transition model that is only constrained by approximate errors in the tool tip and tool axis;

[0084] From the above analysis, it can be seen that the traditional method uses a symmetrical transition curve. When the transition length on either side of the corner is adjusted to eliminate overlap or ensure parameter synchronization, the transition length on both sides of the corner will be adjusted, forcing the transition curve to be too close to the local corner, increasing the curvature limit of the transition curve, and causing the machine tool feed rate at the corner to decrease. In order to minimize the excessive constraints on the transition length and facilitate the classification of overlaps in the tool tip and tool axis paths, a quintic B-spline curve constrained only by the approximate error is used to smooth the corners in the tool tip and tool axis paths in the workpiece coordinate system and the machine tool coordinate system, respectively, as shown in FIG. Figure 1 As shown, the B-spline curve can be expressed as follows:

[0085]

[0086] Where u is the parameter of the spline curve; i is the control point number; k = 5 is the degree of the quintic B-spline curve; P i and R i Respectively represent the control points of the tool tip and tool axis transition curves, and their number is equal to 7, so n = 6; N i,k (u) is the B-spline basis function defined on the knot vector U = [0,0,0,0,0,0,0.5,1,1,1,1,1,1] and is calculated by the recursive Cox-de Boor formula:

[0087]

[0088] Among them, the expressions of parameters i, k and u are consistent with those in equation (1.1). The control points P0 to P6 of the tool tip quintic B-spline curve and the control points R0 to R6 of the tool axis quintic B-spline curve can be obtained by the first-order, second-order and third-order differential continuity of the linear path segment and the transition curve at the connection points u=0 and u=1. Many methods have been published and will not be repeated here. The specific expressions of the tool tip and tool axis control points are as follows:

[0089]

[0090] Where q2 and o2 represent the end points of the tool tip and tool axis respectively; l s Indicates the length between the tool tip transition curve control points P2 and P3 and the transition length between the control points P3 and P4; l o represents the length between the control points R2 and R3 of the tool axis transition curve and the transition length between the control points R3 and R4; e1 and e2 represent the unit direction vectors of the linear path segments q2q1 and q2q3 on both sides of the tool tip corner; e3 and e4 represent the unit direction vectors of the linear path segments o2o1 and o2o3 on both sides of the tool axis corner. s and l o Determined by the approximate error specified by the user, it can be calculated as follows:

[0091]

[0092] Among them, ε s and ε o Respectively represent the approximate errors of the tool tip and tool axis in the workpiece coordinate system; θ and Respectively represent the angles between the tool tip and the adjacent linear path segments in the tool axis; λ represents The square root of the largest eigenvalue; and J represent the skew-symmetric matrix and Jacobian matrix of the tool axis vector;

[0093]

[0094] Among them, O oi , O oj and O ok They respectively represent the components of the tool axis in the workpiece coordinate system; and They represent the partial derivatives of the tool axis components with respect to the C axis respectively; and They respectively represent the partial derivatives of the tool axis components with respect to the A-axis.

[0095] (2) overlapping classification based on whether there is overlap between adjacent transition curves in the tool tip and tool axis;

[0096] Usually, when adjacent transition curves are only constrained by the user-specified approximation error, they tend to overlap, especially for short linear tool paths. In addition, in the corner smoothing of the five-axis tool path, the overlap problem will also occur between the adjacent transition curves of the tool axis. The additional overlap caused by the tool axis plus the overlap of the tool tip will lead to a more complex overlap type, which will aggravate the corner smoothing process of five-axis machining. Therefore, the overlap classification of five-axis machining should be fully considered.

[0097] For a linear tool path consisting of n+1 discrete paths, the overlap between adjacent transition curves can be determined based on the positional relationship between the transition length and the linear tool path segment length:

[0098]

[0099] Among them, Ω=s and Ω=o represent the tool tip and tool axis respectively; Indicates the length of the linear path segment of the tool tip or tool axis. Combined with formula (1.6), by judging whether the tool tip and tool axis overlap, the overlap between the tool tip and tool axis can be divided into the following four categories, such as Figure 2 As shown:

[0100]

[0101] In addition, each major category of overlap can be further divided into eight smaller categories based on the positional relationship between the transition length and the linear path segment, such as Figure 3 As shown. Combined Figure 2 and Figure 3 ,It can be clearly seen that there are complex overlapping types in the corner smoothing of the five-axis linear tool path.

[0102] (3) Analyze and derive the parameter synchronization conditions between the tool tip and tool axis for different overlap types;

[0103] After identifying and classifying the overlaps between adjacent transition curves in five-axis corner smoothing, overlap elimination and parameter synchronization need to be ensured to obtain a smooth tool path and tool axis change. However, for different overlap types, the potential transition curve results after overlap elimination are different, which also means that different synchronization conditions need to be met to ensure that the change of the tool axis relative to the tool tip displacement is C at the connection point. 3 Continuous. Figure 4 As shown, for the four major types of overlap, there are four potential results for the double asymmetric transition curve after eliminating the overlap. Obviously, only Figure 4 (a) and 4(d) are feasible because they have the same number of connection points on the tool tip and tool axis and will not cause abrupt changes in the tool axis. Figure 4 The result in (d) can construct a transition curve with smaller curvature because it has a longer transition length. Therefore, the parameter synchronization conditions of the four overlapping types can be as follows Figure 5 shown.

[0104] For type A overlap, since neither the tool tip nor the tool axis path overlaps, parameter synchronization needs to be ensured at the connection point between the transition curve and the linear path segment, such as Figure 5 (a) and 5(b), the parameter synchronization equation is as follows:

[0105]

[0106] Then, by using the chain rule of derivation, we can expand formula (1.8) and obtain:

[0107]

[0108] Among them, the derivative of the spline parameter u with respect to the arc length s can be expressed as follows:

[0109]

[0110] By substituting formula (1.10) into formula (1.9), it can be further simplified to the following formula:

[0111]

[0112] According to the expression of B-spline curve, the tool axis spline The results for parameters u=0 and u=1 can be calculated as follows:

[0113]

[0114] By substituting formula (1.12) into formula (1.11), the parameter synchronization condition for class A overlap can be obtained as follows:

[0115]

[0116] in, and represents the transition length between the tool tip and tool axis at the i-th corner; and It represents the transition length between the tool tip and the tool axis at the i+1th corner. Because there is no overlap, and All can be determined by formula (1.4).

[0117] According to the above analysis, the parameter synchronization condition in equation (1.13) is also applicable to overlaps of type B and type C. For overlap of type D, parameter synchronization should be ensured at the connection point between two adjacent transition curves, such as Figure 5 (c) and 5(d), the derivation of the parameter synchronization equation is similar to that of type A overlap, and the specific results are shown as follows:

[0118]

[0119] in, and represents the transition length between the tool tip and the right side of the tool axis at the i-th corner; and Indicates the transition length between the tool tip and the left side of the tool axis at the i+1th corner;

[0120] (4) Develop targeted overlap elimination strategies to maintain the elimination of different overlap types under parameter synchronization;

[0121] Although the parameter synchronization condition is obtained by eliminating overlap, it is not difficult to find from formula (1.13) that the overlap of class B and class C has been eliminated when the parameter synchronization condition is met. This is because the overlap of class B and class C needs to maintain the same length ratio to meet the parameter synchronization condition, so the overlapping pair of adjacent transition curves needs to adapt to the non-overlapping pair of adjacent transition curves, such as Figure 6 (a) and 6 (b). Therefore, for overlaps of type A, type B, and type C, only the transition length needs to be adjusted once according to the parameter synchronization condition to achieve parameter synchronization and overlap elimination at the same time. In this regard, in order to fully simplify the adjustment of the transition length, the method of the present invention places parameter synchronization before overlap elimination, so that only the elimination of type D overlap needs to be considered, as shown in FIG. Figure 6 (c) and 6(d).

[0122] In summary, in order to eliminate the D-type overlap and consider the parameter synchronization conditions at the same time, a targeted overlap elimination strategy is proposed. First, the length ratio between each transition length and the linear path segment in the tool tip and tool axis should be calculated:

[0123]

[0124] in, and It represents the ratio of the transition length on both sides of the corner in the tool tip path to the length of the linear path segment; and It indicates the ratio of the transition length on both sides of the corner to the length of the linear path segment in the tool axis path. Then select the smaller length ratio between the tool tip and the tool axis on the same side of the corner, and recalculate the new transition length:

[0125]

[0126] in, and Respectively represent the smaller length ratios of the tool tip and tool axis on both sides of the corner. So far, the parameter synchronization condition is guaranteed, and the overlaps of types B and C are also eliminated. In addition, since the same length ratio is adjusted, the overlap elimination of type D can be adaptively converted to overlap elimination similar to that in the three-axis linear tool path, and its main strategy is to adjust the transition length with a larger length ratio. Therefore, the formula for determining the transition length in type D overlap is expressed as follows:

[0127]

[0128] in, and represents the shorter and longer sides of adjacent transition lengths, which can be or It depends on the length between the two. Type I overlap means that when overlap occurs, the transition lengths at both ends are less than the length of the linear path segment. Type II overlap means that when overlap occurs, one of the transition lengths at both ends is greater than the length of the linear path segment. Type III overlap means that when overlap occurs, the transition lengths at both ends are greater than the length of the linear path segment. The three types of overlap can be referred to Figure 3 Thus, by adjusting the transition length of the corner overlap side independently, the elimination of different types of overlaps and parameter synchronization can be achieved simultaneously.

[0129] (5) Introducing the kinematic coordination between the tool tip and tool axis path, and providing an adjustment strategy to guide the transition length;

[0130] Theoretically, the reason why the double transition curve causes asynchronous acceleration / deceleration between the tool tip and the tool axis is that when the transition length is adjusted to ensure parameter synchronization and overlap elimination, the spline curve parameters of the double transition curve at the extreme points of curvature are inconsistent, such as Figure 7 As shown in the figure. The tool tip has reached the minimum speed at u=0.5, and will become an accelerated motion in the subsequent machine tool motion, while the tool axis maintains a decelerated motion at the current interpolation point. When the tool tip moves to the next interpolation point u=0.6 with an accelerated motion, the tool tip spline parameter u=0.6 generated by the accelerated motion will be directly synchronized to the spline curve of the tool axis. However, the deceleration motion of the tool axis has not been completed because u=0.6 is not the extreme curvature point of the transition curve. Therefore, the machine tool must increase the instantaneous acceleration and jump of the rotary axis to overcome such a large rotary motion.

[0131] In order to coordinate the motion between the tool tip and the tool axis, the method of the present invention introduces the concept of kinematic coordination to guide the adjustment of the transition length to further improve the kinematic performance of the rotating axis. Theoretically, if the spline curve parameters of the double transition curves at the extreme points of curvature are the same, kinematic coordination can be fully achieved, that is, the following equation should be satisfied:

[0132]

[0133] in, and They are the curvature extremes of the tool tip transition curve and the tool axis transition curve respectively; and are the spline parameters at the corresponding curvature extremes. By distinguishing whether the tool tip and tool axis angles are the same, such as Figure 8 As shown, the transition length condition that satisfies kinematic coordination is as follows:

[0134]

[0135] Formula (1.19) clearly states that the transition lengths on both sides of the tool tip and tool axis corners should be proportional or equal to maintain the kinematic coordination between the tool tip and the tool axis. Considering that in most five-axis linear paths, the transition length after parameter synchronization and overlap elimination is still difficult to meet the conditions in formula (1.14). In this regard, the transition length should be as proportional as possible to achieve kinematic coordination between the tool tip and the tool axis, and the proportional transition length can be characterized by the similarity between the dual transition curves. Therefore, in order to further adjust the transition length to achieve kinematic coordination between the tool tip and the tool axis, the method of the present invention is inspired by the Jaccard similarity coefficient and combines the conditions in equation (1.19). The linear transition length proximity between the tool tip and the tool axis defined in equation (1.20) is used to approximately characterize the similarity between the dual asymmetric transition curves. On the one hand, the linearly characterized transition length proximity can satisfy formula (1.19) as much as possible while maintaining the conditions of parameter synchronization and overlap elimination. On the other hand, the analytical solution of the transition length can be achieved without any iterative calculation.

[0136]

[0137] Among them, Δζ i In order to obtain optimized kinematic coordination and guide the adjustment of transition length, the transition length proximity of the traditional corner smoothing method using a set of symmetric and asymmetric transition curves is set as the threshold, that is, the constructed double asymmetric transition curve should satisfy the following formula:

[0138]

[0139] in, Indicates the proximity of transition lengths between symmetric and asymmetric transition curves; Indicates the transition length proximity of the double asymmetric transition curve. The double transition spline after corner smoothing by the two methods is as follows: Fig. 9 As shown; and They represent the proportional coefficients of the tool tip and tool axis transition lengths on both sides of the i-th corner, which can be calculated by the parameter synchronization condition formula (1.13):

[0140]

[0141] If equation (1.21) is satisfied, the transition length of the double asymmetric transition curve constructed by parameter synchronization and overlap elimination is no longer adjusted. However, the double asymmetric transition curve constructed by parameter synchronization and overlap elimination does not necessarily satisfy equation (1.21), that is, there is situations such as Fig.10As shown. Considering that the transition length in the tool tip is much longer than that in the tool axis, the transition length at the tool tip location is adjusted. In addition, to keep the transition length proximity as small as possible, the transition length on the longer side in the tool tip should be adjusted. Since the transition lengths on the same side of the corner have the same scale factor for the tool tip and tool axis, the transition length can be re-evaluated by solving the following equation:

[0142]

[0143] It is worth noting that equation (1.23) is easy to solve because there is only one unknown variable, namely: hour, is a variable, unchanged; hour, is a variable, If the solution of equation (1.23) satisfies the following equation:

[0144]

[0145] The new transition length is or Then the kinematic coordination is satisfied, where and represent the transition lengths of a set of symmetric and asymmetric transition curves, respectively, and and Respectively represent the transition length of the double asymmetric transition curve. If the solution of equation (1.23) does not satisfy the range of (1.24), the transition length of the double asymmetric transition curve is converted into a set of transition lengths of symmetric and asymmetric transition curves, that is:

[0146]

[0147] At this point, the transition length of the tool tip and tool axis transition curves can be adjusted. By substituting into formula (1.3), the new control point coordinates can be obtained. Combining the node vector and B-spline basis function expression, a new double asymmetric transition curve will be constructed to improve the kinematic performance of the machine tool.

[0148] To further illustrate the advantages of the double non-transition curve generated by the method of the present invention in five-axis corner optimization, Fig.11 The classic fan-shaped tool path shown is an example, and is compared with the traditional corner smoothing method based on a set of symmetric and asymmetric transition curves. In this example, the approximate error of the tool tip in the workpiece coordinate system is 50μm, and the approximate error of the tool axis in the workpiece coordinate system is 0.0025rad. The tool paths optimized by the two methods are shown in FIG. Fig.12As shown in the figure, it can be seen that the transition curve generated by the method of the present invention will not over-constrain the transition length, forcing the transition curve to approach the corner, causing the curvature to decrease. Then, the curvature of the tool tip transition curve generated by the two methods is obtained by direct calculation, and the results are shown in Fig.13 As shown in (a), it can be seen that the method of the present invention can indeed generate a transition curve with a smaller curvature limit. In order to further prove the feasibility of the method of the present invention in improving the local corner feed rate and improving the acceleration and jump of the machine tool, a simulation test was carried out on the tool path in the embodiment, and the maximum speed limit adopted was 45mm / s and the maximum acceleration limit was 2000mm / s. 2 , the maximum jump limit is 50000mm / s 3 The tool tip tangential feed rate profiles obtained by the two methods are as follows: Fig.13 As shown in (b), it can be seen that the machine tool feed rate at the local corner has been improved, which also reduces the processing time from 1.703s to 1.677s, effectively improving the overall processing efficiency. Fig.14 The figure shows a comparison of the acceleration and jerk profiles of the C-axis of the machine tool obtained by the two methods. It can be clearly seen that the acceleration and jerk of the C-axis in the corner C4 to C17 are significantly reduced. At the two peaks, the acceleration of the method of the present invention is reduced by 18.87% and 10.28% respectively compared with the existing method, and the jerk is reduced by 37.62% and 24.89% respectively. This shows that compared with the existing method, the method of the present invention can obtain lower acceleration and jerk while improving the machine tool feed rate.

Claims

1. A five-axis corner double asymmetric transition smoothing method based on overlapping classification and kinematic coordination, It is characterized in that Firstly, a corner pre-transition model is established under the constraint of user-specified approximate error using double quintic B-spline curves, which is used to preliminarily construct double transition curves so as to classify overlaps in tool tip and tool axis paths. Secondly, the overlap types in tool tip and tool axis are classified according to whether overlaps occur between adjacent transition curves in tool tip and tool axis paths. Furthermore, the parameter synchronization conditions between tool tip and tool axis under different overlap types are analytically derived, and a targeted overlap elimination strategy that can maintain parameter synchronization conditions is given. On this basis, the transition curve is adjusted by further introducing kinematic coordination between tool tip and tool axis paths, and a method for adjusting the length of the guiding transition curve is given to alleviate the asynchronous acceleration and deceleration motion between tool tip and tool axis caused by the inconsistent spline parameters of the double transition curves at the curvature extreme points. Finally, the transition lengths on both sides of the corner are independently adjusted to meet parameter synchronization, overlap elimination and kinematic coordination. The specific steps are: 1) Establish a corner pre-transition model that is only constrained by approximate errors in the tool tip and tool axis; The corners in the tool tip and tool axis path are smoothed in the workpiece coordinate system and the machine tool coordinate system respectively using a quintic B-spline curve constrained only by the approximate error. The quintic B-spline curve is expressed as follows: Where u is the parameter of the spline curve; i is the control point number; k = 5 is the degree of the quintic B-spline curve; P i and R i Respectively represent the control points of the tool tip and tool axis transition curves, and their number is equal to 7, n = 6; N i,k (u) is the B-spline basis function defined on the knot vector U = [0,0,0,0,0,0,0.5,1,1,1,1,1,1] and is calculated by the recursive Cox-de Boor formula: Among them, the control point P of the tool tip quintic B-spline curve 0 To P 6 and the control point R of the tool axis quintic B-spline curve 0 To R 6 They are obtained by the first-order, second-order and third-order differential continuity of the linear path segment and the transition curve at the connection points u=0 and u=1. The specific expressions of the tool tip and tool axis control points are as follows: Among them, q 2 and 2 Represent the tool tip and the end point of the path in the tool axis respectively; l s Indicates the tool tip transition curve control point P 2 With P 3 The transition length and control point P 3 With P 4 The transition length between o Indicates the tool axis transition curve control point R 2 With R 3 The transition length and control point R 3 With R 4 The transition length between 1 and e 2 Represents the linear path segments q on both sides of the tool tip corner 2 q 1 and q 2 q 3 The unit direction vector of 3 and e 4 Respectively represent the linear path segments o on both sides of the tool axis corner 2 o 1 and 2 o 3 The unit direction vector of the corner pre-transition model s and l o Determined by the approximation error constraint specified by the user and calculated as follows: Among them, ε s and ε o Respectively represent the approximate errors of the tool tip and tool axis in the workpiece coordinate system; θ and Respectively represent the angles between the tool tip and the adjacent linear path segments in the tool axis; λ represents The square root of the largest eigenvalue; and J represent the skew-symmetric matrix and Jacobian matrix of the tool axis vector; Among them, O oi , O oj and O ok They respectively represent the components of the tool axis in the workpiece coordinate system; and They represent the partial derivatives of the tool axis components with respect to the C axis respectively; and They represent the partial derivatives of the tool axis components with respect to the A axis respectively; 2) Classify overlaps according to whether adjacent transition curves in the tool tip and tool axis overlap; The overlap between adjacent transition curves is determined based on the positional relationship between the transition length and the length of the linear tool path segment: Among them, Ω=s and Ω=o represent the tool tip and tool axis respectively; Indicates the length of the linear path segment of the tool tip or tool axis. Combined with formula (6), by judging whether the tool tip and tool axis overlap, the overlap between the tool tip and tool axis can be divided into the following four categories: 3) Analyze and derive the parameter synchronization conditions between the tool tip and tool axis for different overlap types; For different overlap types, the change in the displacement of the tool axis relative to the tool tip at the connection point satisfies C 3 The conditions for the synchronization of the consecutive parameters are different; For type A overlap, since the tool tip and tool axis paths do not overlap, parameter synchronization is ensured at the connection point between the transition curve and the linear path segment. The parameter synchronization equation is as follows: in, and represents the transition length between the tool tip and tool axis at the i-th corner; and Indicates the transition length between the tool tip and tool axis at the i+1th corner; and All are determined by formula (4); The parameter synchronization equation in equation (8) is also applied to type B overlap and type C overlap; For type D overlap, in order to obtain the minimum curvature limit, parameter synchronization is ensured at the connection point between two adjacent transition curves. The parameter synchronization equation is as follows: in, and represents the transition length between the tool tip and the right side of the tool axis at the i-th corner; and Indicates the transition length between the tool tip and the left side of the tool axis at the i+1th corner; 4) Develop targeted overlap elimination strategies to maintain the elimination of different overlap types under parameter synchronization; First, calculate the length ratio between each transition length and the linear path segment between the tool tip and the tool axis: in, and It represents the ratio of the transition length on both sides of the corner in the tool tip path to the length of the linear path segment; and Indicates the ratio of the transition length on both sides of the corner in the tool axis path to the length of the linear path segment; then select the small length ratio between the tool tip and the tool axis on the same side of the corner, and recalculate the new transition length: in, and Respectively represent the length ratio between the tool tip and tool axis on both sides of the corner; After adjusting for the same length ratio, the formula for determining the transition length in a Class D overlap is expressed as follows: in, and Respectively represent the shorter and longer sides of adjacent transition lengths; Type I overlap means: when overlap occurs, the transition lengths at both ends are less than the length of the linear path segment; Type II overlap means: when overlap occurs, one of the transition lengths at both ends is greater than the length of the linear path segment; Type III overlap means: when overlap occurs, the transition lengths at both ends are greater than the length of the linear path segment; By independently adjusting the transition lengths of the overlapping sides of the corners, the elimination of different types of overlaps and parameter synchronization can be achieved at the same time; 5) Introduce the kinematic coordination between the tool tip and tool axis path, and provide an adjustment strategy to guide the transition length; In order to coordinate the motion between the tool tip and the tool axis, kinematic coordination is introduced to guide the adjustment of the transition length to further improve the kinematic performance of the rotary axis; When the spline curve parameters of the double transition curves at the extreme points of curvature are the same, kinematic coordination can be fully realized, that is, the following formula is satisfied: in, and They are the curvature extremes of the tool tip transition curve and the tool axis transition curve respectively; and are the spline parameters at the corresponding curvature extremes; by distinguishing whether the tool tip and tool axis angles are the same, the transition length conditions that satisfy kinematic coordination are obtained as follows: Formula (14) clearly states that the transition lengths on both sides of the tool tip and tool axis corner are proportional or equal to maintain the kinematic coordination between the tool tip and tool axis; In order to further adjust the transition length to achieve kinematic coordination between the tool tip and the tool axis, the transition length proximity is used to characterize the similarity between the double transition curves, which is expressed as follows: Among them, Δζ i Indicates the proximity of transition lengths of each set of dual asymmetric transition curves; In order to obtain optimized kinematic coordination and guide the adjustment of transition length, the transition length proximity of the traditional corner smoothing method using a set of symmetric and asymmetric transition curves is set as a threshold, that is, the constructed double asymmetric transition curve satisfies the following formula: in, Indicates the proximity of transition lengths between symmetric and asymmetric transition curves; Indicates the proximity of transition lengths of dual asymmetric transition curves; and They represent the proportional coefficients of the tool tip and tool axis transition lengths on both sides of the i-th corner, respectively, and are calculated by the parameter synchronization condition formula (8): Calculation formula (16) satisfies When , the transition length of the double asymmetric transition curve constructed by parameter synchronization and overlap elimination is no longer adjusted; when When the transition length in the tool tip is much larger than that in the tool axis, the transition length at the tool tip position is adjusted; in addition, in order to keep the transition length proximity as small as possible, the transition length on the longer side in the tool tip is adjusted; since the transition lengths of the tool tip and tool axis on the same side of the corner have the same proportional factor, the transition length is re-evaluated by solving the following equation: Formula (18) is easy to solve, and there is only one unknown variable, namely: hour, is a variable, unchanged; hour, is a variable, constant; When the solution of equation (18) satisfies the following equation: The new transition length or Then the kinematic coordination is satisfied, where and represent the transition lengths of a set of symmetric and asymmetric transition curves, respectively, and and They represent the transition lengths of the double asymmetric transition curves respectively; when the solution of formula (18) does not satisfy the range of (19), the transition lengths of the double asymmetric transition curves are converted into the transition lengths of a set of symmetric and asymmetric transition curves, that is: At this point, the transition lengths of the tool tip and tool axis transition curves can be adjusted. By substituting the new control point coordinates into equation (3), a new double asymmetric transition curve is constructed by combining the node vector and the quintic B-spline basis function expression to improve the kinematic performance of the machine tool.

Citation Information

Patent Citations

  • Interference and kinematic constrained five-axis machining tool axial linear optimization method

    CN110221576A

  • Local corner fairing method for five-axis short straight line segment track

    CN112506139A

  • High-speed and high-precision five-axis tool path corner smoothing method

    CN113759827A

  • Short linear path section corner asymmetric transition fairing method driven by overlap elimination

    CN114690708A

  • Transition method for five-axis tool path transfer smoothing, medium, and numerical control device for five-axis machine tool

    WO2022057155A1