This patent application claims the benefit and priority of Chinese Patent Application No. 202111200954.3, entitled “METHOD FOR GENERATING MACHINING CUTTER PATH FOR CURVED DEEP CAVITY SURFACE” filed on Oct. 14, 2021, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the technical field of generation of machining cutter paths for curved deep cavity surface, especially generation of machining tool paths for thin-walled parts with curved deep cavity surface such as connectors, and in particular, to a method for generating a machining cutter path for a curved deep cavity surface.
At present, the manufacturing industrial system is in a critical period of transforming from a manufacturer of quantity to one of quality. The most important part of the manufacturing industry includes the aerospace manufacturing industry of which the development level is often a sign indicating whether a country is advanced in science and technology. In the aerospace field, a large number of thin-walled parts are used to manufacture equipment, resulting in increasing demand for thin-walled parts with curved deep cavity surface such as aerospace connectors.
However, strict requirements are imposed on the machining process of thin-walled parts with curved deep cavity surface like connectors. In addition to one-step forming and no chatter marks, high ability of process programmers is also required. Therefore, due to different abilities between process programmers, usually the programmed cutter paths may result in low machining efficiency or may lead to a lot of chatter marks in parts to make the parts useless.
For a thin-walled part with curved deep cavity surface, solid cutout machining is adopted, which has a large machining allowance and may easily cause material deformation. Due to a deep cavity, the overhanging ratio of a cutter used in machining is generally more than 5:1 and sometimes even 15:1. Because of poor rigidity of a cutter and poor structural machinability of a workpiece itself, chattering and back-off of the cutter often take place during machining, resulting in uneven wall thickness of the workpiece. During machining of a bottom surface, the clasp-cutter phenomenon may occur even though a small helix angle of entry is adopted. This may seriously affect the surface quality of the workpiece and the machining efficiency and even make the workpiece useless. In finish milling, even though multiple feeds are performed, the cutter may chatter violently due to its small diameter and great overhanging ratio. Especially at a circular arc of the bottom surface, since the stress on the cutter increases suddenly, the cutter is often broken, resulting in useless workpiece.
To sum up, in the traditional machining method for thin-walled parts with deep cavity surface, a large-diameter solid milling cutter is used for rough milling and then a smaller-diameter end milling cutter is used for finish milling. Due to the structural constraint of deep cavity, multiple feeds are required for machining. Thus, the cutter paths for thin-walled parts with deep cavity surface may be complex, thus resulting in problems of low machining efficiency and high rejection rate. To solve the above technical problems, there is provided a method for generating a machining cutter path for a curved deep cavity surface.
The purpose of the present disclosure is: to solve the problems of low machining efficiency and high rejection rate of thin-walled parts with deep cavity surface due to multiple feeds and complex cutter paths in the prior art, the present disclosure provides a method for generating a machining cutter path for a curved deep cavity surface. By using an optimization method of a machining cutter path for a curved deep cavity surface that takes into account machine limitation, non-interference and non-chattering constraints, multiple feeds are not needed for machining of a curved deep cavity surface. Thus, the problems of useless workpieces due to the lack of experience of a technician and the like are solved, thus reducing the probability of repair, reducing the labor needed and improving the machining efficiency.
To achieve the above objective, the present disclosure specifically adopts the following technical solutions:
A method for generating a machining cutter path for a curved deep cavity surface includes the following steps:
extracting a boundary contour of a curved deep cavity surface and generating an initial cutter path: completing extraction of the boundary contour of features of the curved deep cavity surface, and generating the initial cutter path based on a method of isometric offset from the boundary contour,
where extracting a boundary contour of a curved deep cavity surface and generating an initial cutter path may include the following steps:
selecting a curved deep cavity surface and extracting the boundary contour of the curved deep cavity surface;
generating an offset line based on an isometric offset from the boundary contour according to the boundary contour; and
determining a preferential machining direction and a preferential cutter feeding direction, starting cutter feeding from the upper left of a cutter track, moving the cutter along the offset line, judging whether the offset line is connected with the boundary, and if not, breaking a disconnected line segment to obtain the initial cutter path;
optimizing the initial cutter path according to a selected cutter, performing judgment on an irregular cutter track segment, setting an effective cutting radius of the cutter as Re and an isometric cutting width as CW, and if Re>CW, directly connecting the tail of an anterior cutter track to a next cutter track to reduce repeated milling; and
generating the cutter location file according to optimized initial cutter path, where the cutter location file includes cutter information, a feeding speed, a rotating speed, a cutter location point and a cutter axis vector, with the cutter location point and the cutter axis vector for determining a position and a posture of the cutter in three-dimensional space; and the cutter location file needs to take into account whether the position and the posture of the cutter at each cutter location point are located within a range defined by a machine tool limitation constraint, the non-interference constraint and the non-chattering constraint.
Considering a machine tool limitation constraint: inversely deriving a corresponding feasible region of cutter axis vector based on a swing angle range of each corresponding rotating shaft of a machine tool selected,
where considering a machine tool limitation constraint may include the following steps:
selecting a corresponding machine tool according to a part to be machined, and setting a rotation stroke of a shaft A of the machine tool as −120° to +60° and a rotation stroke of a shaft B as −360° to +360°;
setting a workpiece coordinate system as OW−XWYWZW, a feeding coordinate system as OF−FCN, and a cutter coordinate system as OT−XTYTZT, wherein the cutter coordinate system is obtained by rotating the feeding coordinate system about an intersecting feeding shaft C by l first and then about a feeding shaft F by t; and a matrix of transformation from the cutter coordinate system to the feeding coordinate system is shown below:
establishing a relational equation of the cutter axis vector, the shaft A and the shaft B of the machine tool according to relations of a specific mechanism and a kinematic chain of the machine tool with the workpiece coordinate system, the feeding coordinate system and the cutter coordinate system:
T
W-ta=(sin B,−cos B sin A,cos B cos A)T,
where T represents a torque of the matrix, while A represents a rotation angle of the shaft A of the machine tool, B represents a rotation angle of the shaft B of the machine tool, and TW-ta represents a matrix of transformation from a rotation angle of the machine tool to a cutter axis vector;
an equation of the feeding coordinate system is:
where CC(i+1,k) and CC(i,k) represent two successive cutter contact points in the k-th cutter path, while N(i,k) represents a surface normal vector of the tool at current cutter location point, C(i,k) represents an intersecting feeding direction at the current cutter location point CL(i,k); OF
defining feeding coordinates in the workpiece coordinate system, and a transformational relation between the feeding coordinates and the workpiece coordinate system is:
T
F→W=[F(i,k)|C(i,k)|N(i,k)]3×3
where [ ]3×3 represents a third-order matrix composed of the feeding direction, the intersecting feeding direction and the surface normal vector at the i-th cutter location point in the k-th cutter path;
the relational equation of the cutter axis vector with the shaft A and the shaft B of the machine is:
T
W-ta
=T
W-F(TT-F)T,
where TW-F represents a matrix of transformation from the workpiece coordinate system to the feeding coordinate system, while TT-F represents the matrix of transformation from the cutter coordinate system to the feeding coordinate system, W represents the workpiece coordinate system, and T represents the torque of the matrix; and
determining feasible regions of a front rake angle and a side rake angle corresponding to the cutter axis vector under the machine tool limitation constraint by combining the rotation stroke of the shaft A and the rotation stroke of the shaft B of the machine tool with the relational equation of the cutter axis vector with the shaft A and the shaft B of the machine tool.
Considering a non-interference constraint: considering global interference and local interference of a cutter during machining, performing non-interference determination by considering the cutter having a tool holder clamping the cutter as a whole, and determining a feasible region of cutter axis vector with consideration of the non-interference constraint,
where considering a non-interference constraint may include the following steps:
detecting and avoiding interference at the beginning of path generation, and considering potential interference of the cutter with a curved workpiece surface;
considering interference detection performed after clamping the cutter by the cutter holder, and g a formula of radius variation of the cutter along the cutter axis in a cutting plane of axis Z of the cutter coordinate system OT−XTYTZT is:
where r(z) is a radius at a different height along the cutter axis, while L1 represents a length of the cutter holder, L2, L3, L4 represent lengths of different portions of a heat-shrinkable tool holder, R1 and R2 represent a bottom face corner radius and a cutter radius of an annular milling cutter, and R3, R4, R5 represent radius values of different portions of the heat-shrinkable cutter holder;
discretizing the curved deep cavity surface into a point cloud according to a certain accuracy requirement, judging whether each point in the point cloud falls inside the curved cutter surface, confirming that interference occurs between the cutter and the curved workpiece surface if at least one point in the point cloud is inside the cutter; otherwise, confirming no interference occurs;
for any point Pin the point cloud data of the curved deep cavity surface, setting P′ as a projection of the point P on the cutter axis, and expressing P′ as:
P′=O
T
+λ·ta
where ta is the cutter axis vector, while λ is a coefficient of a distance from P′ to the origin OT of the cutter coordinate system;
obtaining the z coordinate value of the P projection on the cutter axis after obtaining P′, substituting the z coordinate value into the formula of radius variation of the cutter along the cutter axis, confirming that the point is in space outside two ends of the cutter if the value of z is not within the range of the formula of radius variation of the cutter along the cutter axis, and in this case, confirming that the point is not within the curved cutter surface and no interference occurs; if the value of z is within the range of the formula of radius variation of the cutter along the cutter axis, substituting the value of z into the formula of radius variation of the cutter along the cutter axis for calculation, if |PP′|≥r(z) determining that the point P is located outside the curved cutter surface and no interference occurs; otherwise, determining that interference occurs;
changing the cutter axis vector, determining whether interference occurs for the cutter axis vector, and if no interference occurs, recording the posture of the cutter and constructing a feasible region of cutter posture without interference.
Considering a non-chattering constraint: obtaining an intersecting area of the cutter and workpiece, constructing a dynamic model, constructing a stability diagram by using a full-discrete method, and determining a feasible region of cutter axis vector with consideration of the non-chattering constraint;
where considering a non-chattering constraint may include the following steps:
obtaining a posture stability diagram based on a contact area of the cutter and workpiece, and determining a feasible region of cutter posture for stable machining;
based on NX12.0 secondary development, extracting the contact area of the cutter and workpiece at each cutter location point during machining, and obtaining a cut-in and cut-out angle of each cutting infinitesimal element at this cutter location point through an equation
wherein ϕb represents an immersion angle, while xpb represents x coordinate value of any point Pb, and ypb represents y coordinate value of any point Pb;
for a cutter location point, extracting the contact area once through NX12.0 secondary development application; and
after obtaining the contact area, obtaining the posture stability diagram by combining a universal cutting model of a milling cutter and the full-discrete method, thereby obtaining the feasible region of cutter posture for stable machining.
Determining a feasible region of cutter axis vector for each cutter location point: finding an intersection of the feasible region of cutter axis vector obtained with consideration of the machine tool limitation constraint, the feasible region of cutter axis vector obtained with consideration of the non-interference constraint and the feasible region of cutter axis vector obtained with consideration of the non-chattering constraint to obtain an actual feasible region of cutter axis vector for each cutter location point; and
optimizing a shortest path and outputting an optimized cutter path: determining a cutter axis vector corresponding to each cutter location point from the feasible region of cutter axis vector based on a Dijkstra shortest path fairing method, generating a cutter location file, selecting corresponding post-processing according to an actual machine tool and outputting a final optimized cutter path,
where optimizing a shortest path and outputting an optimized cutter path may include the following steps:
after obtaining the feasible regions of cutter axis vector for each cutter location point based on the machine tool limitation constraint, the non-interference constraint and the non-chattering constraint, outputting the optimized cutter path, which requires confirmation of the exact cutter axis vector corresponding to each cutter location point;
determining the cutterl axis vector corresponding to each cutter location point based on the Dijkstra shortest path fairing method, and outputting the optimized cutterl location file; and
selecting corresponding post-processing according to the actual machine tool and outputting the final optimized cutter path.
The present disclosure has the following beneficial effects:
In the present disclosure, by using an optimization method of a machining cutter path for a curved deep cavity surface that takes into account machine tool limitation, non-interference and non-chattering constraints, multiple feeds are not needed for machining of a curved deep cavity surface. Thus, the problems of useless workpieces due to the lack of experience of a technician and the like are solved, thus reducing the probability of repair, reducing the labor needed and improving the machining efficiency.
In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are some, rather than all of the embodiments of the present disclosure.
As shown in
Extracting a boundary contour of a curved deep cavity surface and generating an initial cutter path: completing extraction of the boundary contour of features of the curved deep cavity surface, and generating the initial cutter path based on a method of isometric offset from the boundary contour.
The step of extracting a boundary contour of a curved deep cavity surface and generating an initial cutter path specifically includes the following steps:
based on NX12.0 secondary development function, as shown in
in
determining a preferential machining direction and a preferential feeding direction, as shown in
Optimize the initial cutter path according to a selected cutter, performing judgment on an irregular cutter track segment in
generating the cutter location file according to the optimized initial cutter path, where the cutter location file includes cutter information, a feeding speed, a rotating speed, a cutter location point and a cutter axis vector, with the cutter location point and the cutter axis vector being most critical and used for determining a position and a posture of the cutter a in three-dimensional space (as shown in
Table 1 shows the cutter location file.
Considering a machine tool limitation constraint: inversely deriving a corresponding feasible region of cutter axis vector based on a swing angle range of each corresponding rotating shaft of a machine tool selected.
The step of considering a machine tool limitation constraint specifically includes the following steps:
selecting a corresponding machine tool according to a part to be machined (for example, for a curved deep cavity surface connector part selecting a Shanghai Tuopu five-axis equipment (vertical-horizontal conversion) HMC-ClOOP in the present disclosure), and setting a rotation stroke of a shaft A of the machine tool as −120° to +60° and a rotation stroke of a shaft B as −360° to +360°;
as shown in
establishing a relational equation of the cutter axis vector, the shaft A and the shaft B of the machine tool according to relations of a specific mechanism and a kinematic chain of the AB type five-axis machine tool with the workpiece coordinate system, the feeding coordinate system and the cutter coordinate system:
T
W-ta=(sin B,−cos B sin A,cos B cos A)T,
where T represents a torque of the matrix, while A represents a rotation angle of the shaft A of the machine tool, B represents a rotation angle of the shaft B of the machine tool, and TW-ta represents a matrix of transformation from a rotation angle of the machine tool to a cutter axis vector;
similarly, establishing an equation of the feeding coordinate system:
where CC(i+1,k) and CC(i,k) represent two successive cutter contact points in the k-th cutter path, while N(i,k) represents a surface normal vector of the tool at the current cutter location point, C(i,k) represents an intersecting feeding direction at the current cutter location point CL(i,k), OF
defining feeding coordinates in the workpiece coordinate system, and determining a transformational relation between the feeding coordinates and the workpiece coordinate system as:
T
F→W=[F(i,k)|C(i,k)|N(i,k)]3×3
where [ ]3×3 represents a third-order matrix composed of the feeding direction, the intersecting feeding direction and the surface normal vector at the i-th cutter location point in the k-th cutter path;
the relational equation of the cutter axis vector with the shaft A and the shaft B of the machine tool is:
T
W-ta
=T
W-F(TT-F)T,
where TW-F represents a matrix of transformation from the workpiece coordinate system to the feeding coordinate system, while TT-F represents the matrix of transformation from the cutter coordinate system to the feeding coordinate system, W represents the workpiece coordinate system, and T represents the torque of the matrix; and
determining feasible regions of a front rake angle and a side rake angle corresponding to the cutter axis vector under the machine tool limitation constraint by combining the rotation stroke of the shaft A and the rotation stroke of the shaft B of the machine tool with the relational equation of the cutter axis vector with the shaft A and the shaft B of the machine tool.
Considering a non-interference constraint: considering global interference and local interference of a cutter during machining, performing non-interference determination by considering a cutter having a tool holder clamping the cutter as a whole, and determining a feasible region of cutter axis vector with the consideration of the non-interference constraint.
The step of considering a non-interference constraint specifically includes the following steps:
detecting and avoiding interference at the beginning of path generation, and consider potential interference of the cutter with the curved workpiece surface. The best time to detect and avoid interference is at the five-axis paths planning stage, and a ring-like cutter is selected as a uniform cutter model for machining path planning in the present disclosure, as shown in
For machining of a curved deep cavity surface as a connector, considering interference detection performed after clamping the cutter by the tool holder because the integrated cutter may go deep into the deep cavity area, and as shown in
where r(z) is a radius at a different height along the cutter axis, while L1 represents a length of the cutter holder, L2, L3, L4 represent lengths of different portions of a heat-shrinkable tool holder, R1 and R2 represent a bottom face corner radius and a cutter radius of an annular milling cutter, and R3, R4, R5 represent radius values of different portions of the heat-shrinkable cutter holder;
discretizing the curved deep cavity surface into a point cloud according to a certain accuracy requirement, judging whether each point in the point cloud falls inside the curved cutter surface, confirming that interference occurs between the cutter and the curved workpiece surface if at least one point in the point cloud is inside the cutter; otherwise, confirm no interference;
as shown in
P′=O
T
+λ·ta
where ta is the cutter axis vector, while is a coefficient of a distance from P′ to the origin OT of the cutter coordinate system;
obtaining the z coordinate value of the P projection on the cutter axis after obtaining P′, substitute the z coordinate value into the formula of radius variation of the cutter along the cutter axis, confirming that the point is in space outside two ends of the cutter if the value of z is not within the range of the formula of radius variation of the cutter along the cutter axis, and in this case, confirming that the point is not within the curved tool surface and no interference occurs; if the value of z is within the range of the formula of radius variation of the cutter along the cutter axis, substitute the value of z into the formula of radius variation of the cutter along the cutter axis for calculation, if |PP′|≥r(z), determining that the point P is located outside the curved cutter surface and no interference occurs; otherwise, determining that interference occurs; and
changing the cutter axis vector, determining whether interference occurs for the cutter axis vector, and if no interference occurs, record the posture of the cutter and constructing a feasible region of cutter posture without interference.
Considering a non-chattering constraint: obtaining an intersecting area of a cutter and workpiece, constructing a dynamic model, constructing a stability diagram by using a full-discrete method, and determining a feasible region of cutter axis vector with consideration of the non-chattering constraint.
The step of considering a non-chattering constraint specifically includes the following steps:
to solve the urgent problem of the non-chattering constraint in machining of a curved deep cavity surface as a connector, obtaining a posture stability diagram based on a contact area of the cutter and workpiece, and determining a feasible region of cutter posture for stable machining;
as shown in
wherein ϕb represents an immersion angle, while xpb represents x coordinate value of any point Pb, and ypb represents y coordinate value of any point Pb;
for a cutter location point, extracting the contact area once through NX12.0 secondary development application, i.e., obtaining a contact area under any cutter posture at this cutter location point so as to significantly improve the extraction efficiency; and
after obtaining the contact area, obtaining the posture stability diagram by combining a universal cutting model of a milling cutter and the full-discrete method, thereby obtaining the feasible region of cutter posture for stable machining.
Determining a feasible region of cutter axis vector for each cutter location point: finding an intersection of the feasible regions of cutter axis vector obtained with the consideration of the machine tool limitation constraint, the non-interference constraint and the non-chattering constraint to obtain an actual feasible region of cutter axis vector for each cutter location point; and
optimizing a shortest path and outputting an optimized cutter path: determining a cutter axis vector corresponding to each cutterl location point from the feasible region of cutter axis vector based on a Dijkstra shortest path fairing method, generating a cutter location file, selecting corresponding post-processing according to an actual machine tool and outputting a final optimized cutter path.
The step of optimizing a shortest path and outputting an optimized cutter path specifically includes the following steps:
after obtaining the feasible region of cutter axis vector for each cutter location point based on the machine tool limitation constraint, the non-interference constraint and the non-chattering constraint, outputting the optimized cutter path, which requires confirmation of the exact cutter axis vector corresponding to each cutter location point;
with reference to
as shown in
Number | Date | Country | Kind |
---|---|---|---|
202111200954.3 | Oct 2021 | CN | national |