METHOD FOR GENERATING MACHINING CUTTER PATH FOR CURVED DEEP CAVITY SURFACE

20230121919 · 2023-04-20

    Inventors

    Cpc classification

    International classification

    Abstract

    A method for generating a machining cutter path for a curved deep cavity surface is provided, which relates to the technical field of generation of machining cutter paths for curved deep cavity surface to solve the problems of low machining efficiency and high rejection rate of thin-walled parts with curved deep cavity surface due to complex cutter paths in the prior art. The method includes the following steps: extracting a boundary contour of a curved deep cavity surface and generating an initial cutter path; considering a machine tool limitation constraint; considering a non-interference constraint; considering a non-chattering constraint, and determining a feasible region of the cutter axis vector with the consideration of the non-chattering constraint; determining feasible region of the cutter axis vector for each cutter location point; and outputting an optimized cutter path.

    Claims

    1. A method for generating a machining cutter path for a curved deep cavity surface, comprising 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; 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; 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 cutter holder clamping the cutter as a whole, and determining a feasible region of cutter axis vector with consideration of the non-interference constraint; 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; 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.

    2. The method for generating a machining cutter path for a curved deep cavity surface according to claim 1, wherein extracting a boundary contour of a curved deep cavity surface and generating an initial cutter path comprises 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 upper left of a cutter track, moving the cutter along the offset line, judging whether the offset line is connected with boundary, and if not, breaking a disconnected line segment to obtain the initial cutter path.

    3. The method for generating a machining cutter path for a curved deep cavity surface according to claim 2, further comprising: 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 R.sub.e and an isometric cutting width as CW, and if R.sub.e>CW, directly connecting a 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, wherein the cutter location file comprises 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 a 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 the machine tool limitation constraint, the non-interference constraint and the non-chattering constraint.

    4. The method for generating a machining cutter path for a curved deep cavity surface according to claim 1, wherein considering a machine tool limitation constraint comprises 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 O.sub.W−X.sub.WY.sub.WZ.sub.W, a feeding coordinate system as O.sub.F−FCN, and a cutter coordinate system as O.sub.T−X.sub.TY.sub.TZ.sub.T, 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: T T - F = [ 1 0 0 0 cost - sint 0 sint cost ] [ cosl 0 sinl 0 1 0 - sinl 0 cosl ] ; 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.sub.W-ta=(sin B,−cos B sin A,cos B cos A).sup.T, wherein 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 T.sub.W-ta represents a matrix of transformation from a rotation angle of the machine tool to the cutter axis vector; an equation of the feeding coordinate system is: { F ( i , k ) = CC ( i + 1 , k ) - CC ( i , k ) .Math. "\[LeftBracketingBar]" CC ( i + 1 , k ) - CC ( i , k ) .Math. "\[RightBracketingBar]" N ( i , k ) = ( n i , n j , n k ) C ( i , k ) = N ( i , k ) × F ( i , k ) O F ( i , k ) = CC ( i , k ) + R * N ( i , k ) wherein CC.sub.(i+1,k) and CC.sub.(i,k) represent two successive cutter contact points in a k-th cutter path, while N.sub.(i,k) represents a surface normal vector of the tool at current cutter location point; C.sub.(i,k) represents an intersecting feeding direction at the current cutter location point CL.sub.(i,k); O.sub.F.sub.(i,k) represents an origin of the feeding coordinate system; F.sub.(i,k) represents a feeding direction at an i-th cutter location point in the k-th cutter path, R represents a radius of a ball-end milling cutter, and n.sub.i, n.sub.j and n.sub.k represent coordinate values of the surface normal vector; defining feeding coordinates in the workpiece coordinate system, and a transformational relation between the feeding coordinates and the workpiece coordinate system is:
    T.sub.F.fwdarw.W=[F.sub.(i,k)|C.sub.(i,k)|N.sub.(i,k)].sub.3×3 wherein [ ].sub.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.sub.W-ta=T.sub.W-F(T.sub.T-F).sup.T, wherein T.sub.W-F represents a matrix of transformation from the workpiece coordinate system to the feeding coordinate system, while T.sub.T-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.

    5. The method for generating a machining cutter path for a curved deep cavity surface according to claim 1, wherein considering a non-interference constraint comprises 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 a formula of radius variation of the cutter along the cutter axis in a cutting plane of axis Z of the cutter coordinate system O.sub.T−X.sub.TY.sub.TZ.sub.T is: r ( z ) = { R 1 + R 2 2 - z 2 , - R 2 z 0 R 1 + R 2 , 0 < z < L 1 R 4 ( L 1 + L 2 - z ) + R 3 ( z - L 1 ) L 2 , L 1 < z < L 1 + L 2 R 4 , L 1 + L 2 < z < L 1 + L 2 + L 3 R 5 , L 1 + L 2 + L 3 < z < L 1 + L 2 + L 3 + L 4 wherein r(z) is a radius at a different height along the cutter axis, while L.sub.1 represents a length of the cutter holder, L.sub.2, L.sub.3, L.sub.4 represent lengths of different portions of a heat-shrinkable tool holder, R.sub.1 and R.sub.2 represent a bottom face corner radius and a cutter radius of an annular milling cutter, and R.sub.3, R.sub.4, R.sub.5 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 P in 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.sub.T+λ.Math.ta wherein ta is the cutter axis vector, while λ is a coefficient of a distance from P′ to the origin O.sub.T 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.

    6. The method for generating a machining cutter path for a curved deep cavity surface according to claim 1, wherein considering a non-chattering constraint comprises 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 ϕ b = arc tan ( x P b y P b ) , 0 ϕ b 2 π , wherein ϕ.sub.b represents an immersion angle, while xp.sub.b represents x coordinate value of any point P.sub.b, and yp.sub.b represents y coordinate value of any point P.sub.b; 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.

    7. The method for generating a machining cutter path for a curved deep cavity surface according to claim 1, wherein optimizing a shortest path and outputting an optimized cutter path comprise 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 cutter axis vector corresponding to each cutter location point based on the Dijkstra shortest path fairing method, and outputting the optimized cutter location file; selecting corresponding post-processing according to the actual machine tool and outputting the final optimized cutter path.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0054] FIG. 1 is a flowchart according to the present disclosure.

    [0055] FIG. 2 is a schematic diagram illustrating extraction of a boundary contour of a curved deep cavity surface according to the present disclosure.

    [0056] FIG. 3 is a schematic diagram illustrating generation of an initial cutter path according to the present disclosure.

    [0057] FIG. 4 is a schematic diagram illustrating coordinate system establishment according to the present disclosure.

    [0058] FIG. 5 is a schematic diagram illustrating relations of a workpiece coordinate system, a cutter coordinate system and a feeding coordinate system according to the present disclosure.

    [0059] FIG. 6 is a schematic diagram illustrating a geometric model of the universal milling cutter according to the present disclosure.

    [0060] FIG. 7 is a schematic diagram illustrating point cloud discretizing interference detection of a curved deep cavity surface according to the present disclosure.

    [0061] FIG. 8 is a schematic diagram illustrating conditions of a cutter geometry and a workpiece geometry at a cutter location point during machining driven by a numerical control (NC) program according to the present disclosure.

    [0062] FIG. 9 is a schematic diagram illustrating two-dimensional contact of an extracted intersection and a ball-end cutter according to the present disclosure.

    [0063] FIG. 10 is a schematic diagram illustrating finding an intersection of a discrete layer and the boundaries of an intersecting area according to the present disclosure.

    [0064] FIG. 11 is a schematic diagram illustrating a resulting intersection point set and deriving of coordinates of the point set according to the present disclosure.

    [0065] FIG. 12 is a schematic diagram illustrating a feasible region cone at a cutter location point in a cutter path according to the present disclosure.

    [0066] FIG. 13 is a schematic diagram illustrating an output cutter path according to the present disclosure.

    DETAILED DESCRIPTION OF THE EMBODIMENTS

    [0067] 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.

    Embodiment 1

    [0068] As shown in FIG. 1, a method for generating a machining cutter path for a curved deep cavity surface includes the following steps:

    [0069] 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.

    [0070] The step of extracting a boundary contour of a curved deep cavity surface and generating an initial cutter path specifically includes the following steps:

    [0071] based on NX12.0 secondary development function, as shown in FIG. 2, selecting a curved deep cavity surface, and extracting the boundary contour of the curved deep cavity surface by the NX12.0 secondary development function to create the premise for generating the initial cutter path;

    [0072] in FIG. 3, (a) is a schematic diagram of an initial offset cutter path; as shown in FIG. 3(a), extracting a specific boundary according to the boundary contour and generating an offset line based on an isometric offset of the boundary contour; and

    [0073] determining a preferential machining direction and a preferential feeding direction, as shown in FIG. 3(b) which is a schematic diagram of an initial simplified cutter path, starting feeding from the upper left of a cutter track, moving 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.

    [0074] Optimize the initial cutter path according to a selected cutter, performing judgment on an irregular cutter track segment in FIG. 3(b), setting an effective cutting radius of the cutter as R.sub.e and an isometric cutting width as CW, and if R.sub.e>CW.sup.R.sup.e.sup.>CW, directly connecting the tail of an anterior cutter track to the next cutter track to reduce repeated milling, with the optimization result shown in FIG. 3(c); and

    [0075] 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 FIG. 1); 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 the machine tool limitation constraint, the non-interference constraint and the non-chattering constraint.

    [0076] Table 1 shows the cutter location file.

    TABLE-US-00001 x y z i j k GOTO/ −5.7731, 100.5000, 16.6260, −0.1187550, 0.2474177, 0.9616037 GOTO/ −5.7099, 100.5000, 16.6459, −0.1187836, 0.2475348, 0.9615700 GOTO/ −5.2045, 100.5000, 16.8054, −0.1189380, 0.2484731, 0.9613090 GOTO/ −3.1828, 100.5000, 17.4453, −0.1182368, 0.2522425, 0.9604133 GOTO/ 0.8607, 100.5000, 18.7187, −0.1094127, 0.2597913, 0.9594464 GOTO/ 6.4609, 100.5000, 20.3862, −0.0835989, 0.2703594, 0.9591230

    [0077] 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.

    [0078] The step of considering a machine tool limitation constraint specifically includes the following steps:

    [0079] 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°;

    [0080] as shown in FIG. 4 and FIG. 5, pass (k), pass (k−1) and pass (k+1) represent respectively k-th, (k−1)-th and (k+1)-th cutter paths in FIG. 4, setting a workpiece coordinate system as O.sub.W−X.sub.WY.sub.WZ.sub.W, a feeding coordinate system as O.sub.F−FCN, and a cutter coordinate system as O.sub.T−X.sub.TY.sub.TZ.sub.T, where 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:

    [00005] T T - F = [ 1 0 0 0 cost - sint 0 sint cost ] [ cosl 0 sinl 0 1 0 - sinl 0 cosl ] ;

    [0081] 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.sub.W-ta=(sin B,−cos B sin A,cos B cos A).sup.T,

    [0082] 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 T.sub.W-ta represents a matrix of transformation from a rotation angle of the machine tool to a cutter axis vector;

    [0083] similarly, establishing an equation of the feeding coordinate system:

    [00006] { F ( i , k ) = CC ( i + 1 , k ) - CC ( i , k ) .Math. "\[LeftBracketingBar]" CC ( i + 1 , k ) - CC ( i , k ) .Math. "\[RightBracketingBar]" N ( i , k ) = ( n i , n j , n k ) C ( i , k ) = N ( i , k ) × F ( i , k ) O F ( i , k ) = CC ( i , k ) + R * N ( i , k )

    [0084] where CC.sub.(i+1,k) and CC.sub.(i,k) represent two successive cutter contact points in the k-th cutter path, while N.sub.(i,k) represents a surface normal vector of the tool at the current cutter location point, C.sub.(i,k) represents an intersecting feeding direction at the current cutter location point CL.sub.(i,k), O.sub.F.sub.(i,k) represents an origin of the feeding coordinate system, F.sub.(i,k) represents a feeding direction at the i-th cutter location point in the k-th cutter path, R represents a radius of a ball-end milling cutter, and n.sub.i, n.sub.j and n.sub.k represent coordinate values of the surface normal vector;

    [0085] defining feeding coordinates in the workpiece coordinate system, and determining a transformational relation between the feeding coordinates and the workpiece coordinate system as:


    T.sub.F.fwdarw.W=[F.sub.(i,k)|C.sub.(i,k)|N.sub.(i,k)].sub.3×3

    [0086] where [ ].sub.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;

    [0087] the relational equation of the cutter axis vector with the shaft A and the shaft B of the machine tool is:


    T.sub.W-ta=T.sub.W-F(T.sub.T-F).sup.T,

    [0088] where T.sub.W-F represents a matrix of transformation from the workpiece coordinate system to the feeding coordinate system, while T.sub.T-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

    [0089] 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.

    [0090] 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.

    [0091] The step of considering a non-interference constraint specifically includes the following steps:

    [0092] 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 FIG. 6.

    [0093] 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 FIG. 6, a formula of radius variation of the cutter along the cutter axis in a cutting plane of axis Z of the cutter coordinate system O.sub.T−X.sub.TY.sub.TZ.sub.T is:

    [00007] r ( z ) = { R 1 + R 2 2 - z 2 , - R 2 z 0 R 1 + R 2 , 0 < z < L 1 R 4 ( L 1 + L 2 - z ) + R 3 ( z - L 1 ) L 2 , L 1 < z < L 1 + L 2 R 4 , L 1 + L 2 < z < L 1 + L 2 + L 3 R 5 , L 1 + L 2 + L 3 < z < L 1 + L 2 + L 3 + L 4

    [0094] where r(z) is a radius at a different height along the cutter axis, while L.sub.1 represents a length of the cutter holder, L.sub.2, L.sub.3, L.sub.4 represent lengths of different portions of a heat-shrinkable tool holder, R.sub.1 and R.sub.2 represent a bottom face corner radius and a cutter radius of an annular milling cutter, and R.sub.3, R.sub.4, R.sub.5 represent radius values of different portions of the heat-shrinkable cutter holder;

    [0095] 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;

    [0096] as shown in FIG. 7, for any point P in 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.sub.T+λ.Math.ta

    [0097] where ta is the cutter axis vector, while is a coefficient of a distance from P′ to the origin O.sub.T of the cutter coordinate system;

    [0098] 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

    [0099] 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.

    [0100] 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.

    [0101] The step of considering a non-chattering constraint specifically includes the following steps:

    [0102] 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;

    [0103] as shown in FIG. 8 to FIG. 11, for the convenience of calculation and integration into NX12.0, 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

    [00008] ϕ b = arc tan ( x P b y P b ) , 0 ϕ b 2 π ,

    wherein ϕ.sub.b represents an immersion angle, while xp.sub.b represents x coordinate value of any point P.sub.b, and yp.sub.b represents y coordinate value of any point P.sub.b;

    [0104] 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

    [0105] 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.

    [0106] 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

    [0107] 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.

    [0108] The step of optimizing a shortest path and outputting an optimized cutter path specifically includes the following steps:

    [0109] 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;

    [0110] with reference to FIG. 12 which shows the final feasible region at each cutter location point in a cutter path, determining the cutter axis vector corresponding to each cutter location point based on the Dijkstra shortest path fairing method, and outputting the optimized cutter location file; and

    [0111] as shown in FIG. 13, selecting corresponding post-processing according to the actual machine tool and outputting the final optimized cutter path.