Optimal tool and machining path generation method for cycloidal machining of three-dimensional cavities

By automatically selecting the optimal tool shape and generating high-precision machining paths, the problem of low accuracy in trochoidal machining of three-dimensional cavities in the existing technology is solved, and high-precision machining of complex curved 3D cavities and improvement of material removal rate are achieved. promote.

CN115016387BActive Publication Date: 2024-09-17HARBIN INST OF TECH AT WEIHAI
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210612704.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-09-17
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

The existing trochoidal machining method for three-dimensional cavities uses a given cylindrical tool, which has low processing accuracy and is difficult to process 3D cavities with complex curved surfaces.

Method used

The optimal tool shape is automatically selected and the corresponding machining path is generated. The tool motion path is represented by a ruled surface, a virtual surface is introduced to eliminate overcutting, the tool shape and path are calculated using an iterative minimization objective function, and high-precision first and last half processes are generated. Half-path to ensure tool-workpiece engagement and material removal rate.

Benefits of technology

It achieves high-precision trochoidal machining of 3D cavities with complex curved surface shapes. The machining accuracy is much higher than existing methods, and the material removal rate is increased while controlling the meshing degree. It is suitable for multi-layer processing of deep 3D cavities. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115016387B
    Figure CN115016387B
Patent Text Reader

Abstract

The present invention discloses a method for generating an optimal tool and processing path for three-dimensional cycloid processing, the method comprising the following steps: step 1, calculating the shape of the tool and the two side processing paths R1 and R2 obtained when side milling two side surfaces S1 and S2; step 2, firstly giving the first half path C1, then calculating the first half path of each cycloid loop in sequence, obtaining the sequence C1, C2, ... of the first half cycloid path, forming high-precision processing of the side surface, and maximizing the material removal rate while satisfying the tool-workpiece meshing degree constraint; step 3, generating all the second half paths as the transition between two continuous first half paths, thereby generating the entire cycloid processing path. The present invention can optimize the shape of the processing tool according to the shape characteristics of the workpiece to be processed, obtain a targeted tool shape suitable for the workpiece to be processed, and can process a 3D cavity with a complex curved surface shape.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a cycloid processing method for a three-dimensional cavity, and in particular to a method for generating an optimal tool and a processing path for three-dimensional cycloid processing. Background Art

[0002] Three-dimensional cavities are a common type of industrial parts, consisting of a bottom surface and two side surfaces. Using cycloid machining technology to process the two side surfaces is conducive to the heat dissipation of the tool and improves the life of the tool. The existing cycloid machining method for three-dimensional cavities uses a given cylindrical tool type, and the machining accuracy is not high. Summary of the invention

[0003] In view of the above problems existing in the prior art, the present invention provides a method for generating an optimal tool and processing path for cycloid processing of a three-dimensional cavity. The generated processing path forms a processing cycloid for two side surfaces (left side S1 and right side S2) of the cavity. The processing path is composed of a number of loops, each of which includes a first half path and a second half path. The method can automatically select the optimal tool shape and automatically generate the corresponding processing path, thereby obtaining a higher processing accuracy than the existing cycloid processing method.

[0004] The objective of the present invention is achieved through the following technical solutions:

[0005] A method for generating an optimal tool and a machining path for three-dimensional cycloid machining comprises the following steps:

[0006] Step 1: Calculate the shape of the tool and the two side machining paths R1 and R2 obtained when side milling the two side surfaces S1 and S2. R1 and R2 are called guide paths. The specific steps are as follows:

[0007] Step 1: Use ruled surfaces to represent the tool motion paths R1 and R2, defined as:

[0008] R j (s,t)=q j T (t)·(1-s)+q j B (t)·s,s,t∈[0,1],j=1,2;

[0009] In the formula, q j T represents the upper boundary curve of the ruled surface, q j B represents the lower boundary curve, which is represented by B-spline curve, t is the surface parameter along the motion direction, and s is the surface parameter along the tool axis;

[0010] Step 1 and 2: In order to eliminate overcutting, a virtual surface is introduced as the approach target for the side surface, which is defined as follows:

[0011]

[0012] Where n j represents the surface S pointing to the inside of the cavity j The normal, α j (s, t) is the current machining error function;

[0013] Step 13: The distance function is the ruled surface R j The sampling points on (s, t), j = 1, 2 are respectively transferred to the corresponding virtual surfaces The sum of the nearest squared distances is defined as:

[0014]

[0015] Where, * = T, B; j = 1, 2 corresponds to the left side S1 or right side S2 of the cavity; R j (s k ,t l ) is the ruled surface R j (s,t) with parameter s=s k , t=t l The sampling point at j,k,l is the sampling point R j (s k ,t l ) at the fitting error; f j,k,l YesR j (s k ,t l ) on the side S j The foot point of the vertical j,k,l YesS j In f j,k,l The unit normal vector of the point points to the side that needs to be processed; r k , k = 1,…, M is the tool radius at the sampling point on the tool axis; M and N correspond to the number of samples in the s and t directions respectively;

[0016] Step 14: The smoothness function and rigidity constraint function of tool motion are defined as:

[0017]

[0018]

[0019] Where L is the length of the given tool axis;

[0020] Step 15: Calculate the tool shape and the tool path that approximates surfaces S1 and S2 by iteratively minimizing the objective function as follows:

[0021] min P,R F guide =F dist +λ1F fair +λ2F rigid ;

[0022] Where P is the set of B-spline control points of the two ruled surfaces R1 and R2, and R is the set of spherical radii uniformly sampled along the tool axis, that is, R = {r1, r2, ..., r M}, λ1 and λ2 are scalar weights set empirically;

[0023] Step 16: Use the Gauss-Newton numerical optimization method to solve the minimization problem in step 15, and obtain the guide paths R1 and R2 for processing the two side surfaces, respectively milling the side surfaces S1 and S2, and at the same time obtain the shape of the tool, represented by the radius vector r, r = (r1, ..., r M ).

[0024] Step 2: First, the first half path C1 is given, and then the first half path of each cycloid loop is calculated in turn to obtain the sequence of the first half cycloid paths C1, C2, ..., to form high-precision machining of the side surface and maximize the material removal rate (MRR) while satisfying the tool-workpiece engagement (CWE) constraint. The specific steps are as follows:

[0025] Step 21: First Half Path C i Use B-spline surface representation, defined as follows:

[0026]

[0027] In the formula, the subscript i represents the first half of the path, and the boundary curve c i T and c i B are the two boundary curves of the path ruled surface, represented by B-spline curves, and defined as:

[0028]

[0029] In the formula, is the control point, B k,d (t) is the B-spline basis function, d is the degree of the B-spline curve, and m represents the number of control points of the B-spline curve;

[0030] Step 22: From C i Calculate the next first half path C i+1 :

[0031] Calculate C i+1The method alternately executes step 221 and step 222 until there is no sampling point that violates the CWE constraint, or the number of iterations reaches the set maximum value;

[0032] Step 221: Path forward phase:

[0033] First, by setting t i+1 ,1=t i,1 and t i+1,2 =t i,2 C i The end line of is set as the initial end line, where t i,1 ,t i+1,1 is the value of parameter t on R1; t i,2 ,t i+1,2 is the value of parameter t on R2; then, with the same increment value Δt i+1 For both sides parameter t i+1,1 ,t i+1,2 Iterative increase, get a pair of line segments R1(s,t i+1,1 ) and R2(s,t i+1,2 ), as the required ruled surface C i+1 At each moment when the line segment moves, solve the following path optimization problem to generate R1(s,t i+1,1 ) and R2(s,t i+1,2 )

[0034]

[0035] Where P Inner are the control points of the boundary curve of the ruled surface except the end, β, λ1, λ2, λ3 are the weights of the corresponding function terms, because the target surface is not approached, so β=0;

[0036] F length It is a function term that penalizes the length of the path. The purpose is to obtain a shorter path and reduce the processing time. It is defined as:

[0037]

[0038] is a constraint, * = T, B, T and B represent the top and bottom curves of the ruled surface respectively;

[0039] is the position constraint between the front half path and the side path, defined as:

[0040]

[0041] It is the motion direction constraint between the first half path and the side path, indicating that the instantaneous motion vector of the tool at the end position should be proportional to the vector of the corresponding side path, expressed as:

[0042]

[0043] In the formula, α1, α2 are both positive constants, and the positive sign indicates the same direction of movement. Set α1 = α2 = 1 / 3;

[0044] Keep moving the first half of the path forward until there is a sampling point on the path that violates the CWE condition, that is, there is ε kl <ε * , where ε kl is the CWE value at the sampling point, ε * is a given CWE threshold, and the corresponding ruled surface when the path stops moving forward is expressed as The corresponding machining envelope surface is expressed as

[0045] Step 222: Path Backward Adjustment Phase:

[0046] For those who do not satisfy ε kl <ε * The sampling points of the envelope surface The contact point moves backward along the normal direction of the tangent point, updating the envelope surface Then update the ruled surface So that its envelope surface approaches This is achieved by solving the same path optimization problem as in the path advancement phase, It is used as the target surface for envelope fitting in the optimization, and the weight of the distance term in the objective function is set to β=1.

[0047] Step 3: Generate all the second half paths as the transition between two consecutive first half paths, thereby generating the entire cycloid processing path. The specific steps are as follows:

[0048] Step 31: Second half of path D i Defined as a B-spline ruled surface:

[0049]

[0050] In the formula, * = T, B is the B-spline curve; is the control point, B k,d (t) is a B-spline basis function of degree d;

[0051] Step 32: In order to make D i From C i The end contact line transitions to C i+1The initial contact line, D i (s,t) needs to be connected with two lines C i (s,1) and C i+1 (s,0) are connected, the position constraint is defined as:

[0052]

[0053] Step 3. The tool movement along the second half of the path should also be tangent to the side surface to maintain the high-precision milling error of the side surface R1 and R2. These machining normal constraints are defined as follows:

[0054]

[0055] Where *∈{T,B}, T, B represent the top and bottom curves respectively, α1, α2 are positive constants, and α1=α2=1 / 3 is set.

[0056] Step 3 and 4: The generation of the second half of the path is achieved by solving a minimization problem, which is defined as follows:

[0057]

[0058] Step 35: After calculating all the second half paths, combine all the first half paths with the second half paths to form a complete cycloid processing path.

[0059] Compared with the prior art, the present invention has the following advantages:

[0060] 1. The method of the present invention can optimize the shape of the machining tool according to the shape characteristics of the workpiece to be machined, obtain a targeted tool shape suitable for the workpiece to be machined, and can machine a 3D cavity with a complex curved surface shape. However, the existing cycloid machining method uses an artificially selected tool shape, generally a cylindrical tool, which is difficult to process a 3D cavity with a complex curved surface shape. Therefore, the existing cycloid machining method is mostly used for the machining of 2D or 2.5D cavities with relatively simple curved surface shapes, and is not used for high-precision machining of 3D cavity spaces with complex curved surface shapes.

[0061] 2. The machining path planning method of the present invention first calculates the side milling machining path for the curved surface of the 3D cavity, and can minimize overcutting. Based on the high-precision side milling machining path for the side of the cavity, the method of the present invention can give a high-precision cycloid machining path, and the machining accuracy is much greater than the existing cycloid path planning method.

[0062] 3. The cycloid machining path planning method of the present invention can not only optimize the tool, but also increase the material removal rate of the machining process under the premise of controlling the meshing degree of the workpiece tool. The traditional method can also control the meshing degree of the workpiece tool and increase the material removal rate as much as possible, but the traditional method uses a given relatively simple tool shape, so the problem is relatively simple.

[0063] 4. The method of the present invention is suitable for processing deep 3D cavities. By layering the cavity, cycloid processing paths are planned for each layer to obtain multi-layer cycloid processing paths, thereby processing the entire 3D cavity. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 For three-dimensional cavity and cycloid processing;

[0065] Figure 2 is the machining path surface represented by B-spline;

[0066] Figure 3 is the tool motion path and tool radius of the sampling point;

[0067] Figure 4 It is the ruled surface of the tool path in the first half;

[0068] Figure 5 It is the path control point for the first half of cycloid machining;

[0069] Figure 6 It is a schematic diagram of CWE;

[0070] Figure 7 is the three-dimensional cavity and the optimal tool shape obtained;

[0071] Figure 8 is the 21-round cycloid path obtained;

[0072] Fig. 9 The experimental results of tapered tool. DETAILED DESCRIPTION

[0073] The technical solution of the present invention is further described below in conjunction with the accompanying drawings, but is not limited thereto. Any modification or equivalent replacement of the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention should be included in the protection scope of the present invention.

[0074] In cycloidal machining, the tool surface only contacts the side surface at some discrete positions, and the contact area between the tool surface and the machining surface is in the form of a curve, which is called a contact line. In order to control overcutting and obtain higher milling accuracy, it is necessary to optimize the position of the contact line in the motion path. The complete cycloidal path is divided into several cycloidal cycles by the contact line. Each cycloidal cycle consists of a front half path and a rear half path, and the two paths are separated by the contact line. The contact line, as the boundary position of the tool motion space, actually controls the milling accuracy of the side surface. In order to achieve high-precision side surface milling, the present invention optimizes the shape of the tool as a variable in the path generation framework. The position of the contact line and the cycloidal path in the cavity are determined by a variational algorithm. The method for generating the optimal tool and machining path for three-dimensional cycloidal machining of the present invention mainly includes the following steps:

[0075] Step 1: Calculate the shape of the tool and the two side machining paths R1 and R2 obtained when side milling the two side surfaces S1 and S2. The two side machining paths R1 and R2 define the machining path space of the three-dimensional cycloid machining.

[0076] This step uses the envelope surface fitting method to calculate the optimal shape of the tool T and its motion path, forming Figure 1 The side milling path corresponding to the side surfaces S1 and S2 in the figure. The motion path of the tool axis is a ruled surface R j ,j=1,2, defined as:

[0077] R j (s,t)=q j T (t)·(1-s)+q j B (t)·s,s,t∈[0,1] (1)

[0078] In the formula, q j T represents the upper boundary curve of the ruled surface, q j B represents the lower boundary curve. Both curves are B-spline curves with endpoint interpolation properties. Figure 2 As shown, it is defined as:

[0079]

[0080] In the formula, is the control point, B k,d (t) is the B-spline curve basis function, d is the degree of B-spline, and m+1 is the number of control points. T and B represent the top and bottom boundaries of the ruled surface, respectively. t represents the surface parameters along the machining motion method, and s represents the surface parameters along the tool axis direction.

[0081] The shape of the tool is represented by the shortest distance from some sampling points on the axis to the tool surface, that is, these distance values ​​are the tool radius at the sampling points on the axis, such as Figure 3 As shown, it is represented by r i , i = 1, 2,…, M, where M is the number of samples.

[0082] In order to eliminate overcutting, virtual surfaces are introduced as targets for the left and right sides, which are defined as follows:

[0083]

[0084] In the formula, S j is a side, n j represents S pointing inside the cavity j The normal vector on j (s, t) is a binary function, which is the machining error obtained in the previous iteration.

[0085] Distance function: During the process of cutting the cavity, the same tool needs to be used on both sides, that is, tool paths R1 and R2 correspond to the same tool. The distance function is the sum of the nearest square distances from the sampling points on the tool path to the corresponding virtual surface, defined as:

[0086]

[0087] Where, * = T, B; subscript j = 1, 2 indicates the left or right side of the cavity; R j (s k ,t l ) is the ruled surface R j (s,t) with parameter s=s k , t=t l The sampling point at j,k,l is the sampling point R j (s k ,t l ) at the fitting error; f j,k,l YesR j (s k ,t l ) on the side surface S j The foot point of the vertical j,k,l YesS j In f j,k,l The unit normal vector at the position points to the side that needs to be processed; M and N correspond to the number of samples in the s and t directions respectively; s k is the sampling of surface parameters along the machining motion direction, t l is the parameter sampling along the tool axis.

[0088] The smoothness function of the tool motion is defined as:

[0089]

[0090] The rigid constraint function is defined as:

[0091]

[0092] Where, *=T, B, j=1, 2, corresponding to the left and right surfaces respectively, and L is the length of the given tool axis.

[0093] The tool shape and the tool path that approximates surfaces S1 and S2 are calculated by iteratively minimizing the objective function:

[0094] min P,R =F dist +λ1F fair +λ2F rigid (7)

[0095] Where P and R are optimization variables, where P is the set of control points of the two ruled surfaces R1 and R2, R is the set of spherical radii evenly distributed along the tool axis, and R = {r1, r2, ..., r M}, where r i , i = 1,…,M represents the radius of the ball at the tool sampling point, M is the number of sampling points along the tool axis; λ1 and λ2 are scalar weights set according to experience.

[0096] The Gauss-Newton method is used to solve the minimization problem in formula (7) and obtain two side paths R1 and R2, which are used to mill the side surfaces S1 and S2 respectively, and are called guide paths. At the same time, the optimal shape of the tool is also obtained, which is given by the radius vector r = (r1, r2, ..., r M ). In subsequent calculations, the tool shape (vector r) is a fixed value. In each iteration, the foot point f on the side surface j,k,l and the corresponding surface normal n j,k,l Need to recalculate.

[0097] Step 2: First, the first half path C1 is given, and then the first half path of each cycloid loop is calculated in turn to obtain the sequence of the first half cycloid paths C1, C2, ..., to form high-precision machining of the side surface and maximize the material removal rate (MRR) while satisfying the tool-workpiece engagement (CWE) constraint.

[0098] After obtaining the processing paths R1 and R2, the first half of the cycloid path is constructed, as shown in Figure 4 The first half of the path C i It is also represented by a B-spline surface, where the subscript i represents the number of the first half of the path, and C i The definition is as follows:

[0099]

[0100] In the formula, and is the boundary curve of the ruled surface, defined as:

[0101]

[0102] In the formula, is the control point, *=T, B represents the top and bottom boundaries of the ruled surface. k,d (t) is a B-spline basis function of degree d, and the boundary B-spline curve has the property of endpoint interpolation.

[0103] The machining accuracy of the first half of the path is achieved by position constraints and tool motion direction constraints, and the CWE constraints need to be met.

[0104] (1) Position constraint. i The end straight lines of (s, t) define the positions of the tool at both ends of the cycloid half-path. These end straight lines are also required to be located at certain special positions on the side paths R1(s, t) and R2(s, t). i (s, t) has the property of controlling the points, which requires C i The end control line of (s, t) connects two points on the top and bottom boundary curves of the side path with the same parameter t, such as Figure 5 As shown, the specific definition is:

[0105]

[0106] Where * = T or B, T and B represent the top curve and bottom curve of the ruled surface respectively, t i1 and t i2 They represent the corresponding sampling parameters respectively.

[0107] (2) Constraint on motion direction. The instantaneous motion vector of the tool at the end position should be proportional to the vector of the corresponding side path, which can be expressed as:

[0108]

[0109] Wherein, α1 and α2 are both positive constants, and the positive sign indicates the same direction of movement. Set α1=α2=1 / 3.

[0110] (3) CWE constraint. In addition to the machining accuracy constraint, it is also necessary to maximize the material removal rate while controlling the CWE of the entire milling path. For 3D trochoidal milling, the CWE area changes continuously over time in a complex way, such as Figure 6At a certain moment, the contact area between the tool and the material being cut is defined by two curves on the tool surface: i) the tool surface and the tool motion envelope E i ii) Envelope surface E i+1 The characteristic curve corresponding to that moment is shown above. Assuming that the tool axis is parameterized by s, the circle on the tool surface perpendicular to the tool axis is called the contact circle. The meshing area in the contact circle that contacts the material is called the meshing arc. The inner angle of the meshing arc is called the meshing angle, which usually changes along the tool axis and is represented by the function ε(s). The meshing angle of the corresponding sampling point is ε kl =ε k (s l ). During processing, all meshing angles ε kl Need to be limited to a certain threshold range, that is, to satisfy ε kl <ε * , ε * is a given threshold.

[0111] The first half of the path generation algorithm is based on a path optimization sub-algorithm. This sub-algorithm calculates the ruled surface between the two contact lines on the left and right paths respectively. In order to reduce the machining time, the length of the tool path should be as small as possible, which can be achieved by adding a length penalty function of the boundary curve, defined as:

[0112]

[0113] The path optimization algorithm for calculating the ruled surface between two side paths solves the following constrained minimization problem, which is defined as (13):

[0114]

[0115] Where P Inner is the control point of the ruled surface except the end, and is the variable in the optimization. The end of the ruled surface is fixed in the optimization. If the parameter β in the objective function (13) is set to 0, it means that there is no reference surface, and the sub-algorithm is also valid; for the case of a reference surface, β is set to 1.

[0116] The following is a specific algorithm for generating the first half of the path. This algorithm is an incremental algorithm, that is, i Calculate the next first half path C i+1 Calculate C i+1 The algorithm alternately executes two steps, namely the path forward phase and the backward adjustment phase, until there are no sampling points that violate the CWE constraint or the number of iterations reaches the set maximum value.

[0117] (1) Path advancement stage. First, by setting t i+1,1 =t i,1 and t i+1,2 =ti,2 C i The end line of is set as the initial end line, where t i,1 ,t i+1,1 is the value of parameter t on R1; t i,2 ,t i+1,2 is the value of parameter t on R2. Then, use the same increment value Δt i+1 For both sides parameter t i+1,1 ,t i+1,2 Iteration increases, and a pair of end lines R1(s,t i+1,1 ) and R2(s,t i+1,2 ) keeps moving forward. For each moment in the iterative process, in R1(s,t i+1,1 ) and R2(s,t i+1,2 ) This is achieved by solving the minimization problem defined by equation (13). There is no reference surface in this calculation, so β ​​= 0. As the iteration continues to advance the processing path, until a sampling point violates the CWE constraint, the ruled surface is represented as The corresponding machining envelope surface is expressed as

[0118] (2) Backward adjustment stage. kl <ε * The sampling points of the envelope surface The contact point moves backward along the normal direction of the tangent point, updating the envelope surface By solving the path optimization algorithm, that is, solving the minimization problem defined by formula (13), we can update Will As the target surface for envelope fitting in the optimization, β=1 is set.

[0119] Step 3: Generate all the second half paths as the transition between two consecutive first half paths, thereby generating the entire cycloid processing path.

[0120] Construct the second half path as a transition between the first half paths. i Also defined as a B-spline ruled surface:

[0121]

[0122] In the formula, *=T, B is a B-spline curve. In order to make D i From C i The end contact line transitions to C i+1 The initial contact line, D i (s,t) needs to be connected with two lines C i (s,1) and Ci+1 (s,0) are connected. The position constraint is defined as:

[0123]

[0124] The tool movement along the second half of the path should also be tangent to the side to maintain the high-precision milling error of the side R1 and R2. The constraints are defined as follows:

[0125]

[0126] Where *=T,B, T,B represent the top and bottom curves respectively, and λ1,λ2 are both positive constants.

[0127] Similar to the calculation of the first half of the path, the generation of the second half of the path is also achieved by solving a minimization problem, which is defined as follows:

[0128]

[0129] The variables in this optimization are the control points of the second half path. After all the second half paths are calculated, all the first half paths and the second half paths are combined to form a complete cycloidal machining path.

[0130] Experimental results:

[0131] To define the machining error, sampling is performed on the ruled surface to measure the error between the envelope surface generated by the tool and the target envelope surface in a discrete manner. kl is the point on the envelope surface and the target side S n ,n=1,2, the larger value, is defined as:

[0132] σ kl =max n=1,2 |dist(R n (s k ,t l ),φ kl )-r l | (18)

[0133] In the formula, R(s k ,t l ) is the sampling point on the ruled surface, φ kl is the corresponding foot point on the target surface, r l is the radius of the tool in the axial direction corresponding to the sampling parameter at position l. In the experiment, the parameter is set to λ1=1·10 -5 ,λ2=1,λ3=0.1.

[0134] Figure 7 The experimental results of a three-dimensional cavity processing are given. For a cavity with a bounding box of BB = 35 × 42 × 50, the maximum error σmax From the initial Optimize to Figure 8 The resulting 21-cycle cycloidal path is shown.

[0135] In order to compare the machining accuracy with that of traditional tapered tools, constraints are added on the basis of the above algorithm to ensure that the sampling radius function of the tool is a straight line, so that the tool maintains a conical shape. Fig. 9 The results for the tapered tool are shown. The machining error after the optimized path is Much greater than Figure 7 The machining accuracy of the optimized tool is (0.0869). If the tool optimization method of the present invention is not used, but a conical tool is selected, or a commonly used cylindrical tool is selected, the machining error must be greater than 0.6493 because the tool shape has not been optimized. This experiment shows that the machining accuracy of the optimal tool proposed by the present invention is better than the machining accuracy of the traditional fixed tool method.

Claims

1. A method for generating an optimal tool and machining path for three-dimensional cycloid machining, characterized in that The method comprises the following steps: Step 1, calculating the shape of the tool and two side processing paths R1 and R2 obtained when side milling the two side surfaces S1 and S2, R1 and R2 are called guide paths; Step 2: First, the first half path C1 is given, and then the first half path of each cycloid loop is calculated in turn to obtain the sequence of the first half cycloid paths C1, C2, ..., so as to form high-precision machining of the side surface and maximize the material removal rate MRR while satisfying the tool-workpiece engagement degree CWE constraint; Step 3: Generate all the second half paths as the transition between two consecutive first half paths, thereby generating the entire cycloid processing path.

2. The method for generating the optimal tool and processing path for three-dimensional cycloid processing according to claim 1, characterized in that The specific steps of step one are as follows: Step 1: Use ruled surfaces to represent the tool motion paths R1 and R2, defined as: R j (s,t)=q j T (t)·(1-s)+q j B (t)·s,s,t∈[0,1],j=1,2; In the formula, q j T represents the upper boundary curve of the ruled surface, q j B represents the lower boundary curve, which is represented by B-spline curve, t is the surface parameter along the motion direction, and s is the surface parameter along the tool axis; Step 1 and 2: In order to eliminate overcutting, a virtual surface is introduced as the approach target for the side surface, which is defined as follows: Where n j represents the surface S pointing to the inside of the cavity j The normal, α j (s, t) is the current machining error function; Step 13: The distance function is the ruled surface R j The sampling points on (s, t), j = 1, 2 are respectively transferred to the corresponding virtual surfaces The sum of the nearest squared distances is defined as: Where, * = T, B; j = 1, 2 corresponds to the left side S1 or right side S2 of the cavity; R j (s k ,t l ) is the ruled surface R j (s,t) with parameter s=s k , t=t l The sampling point at j,k,l is the sampling point R j (s k ,t l ) at the fitting error; f j,k,l YesR j (s k ,t l ) on the side S j The foot point of the vertical j,k,l YesS j In f j,k,l The unit normal vector of the point points to the side to be processed; rk,k=1,…,M is the tool radius at the sampling point on the tool axis; M and N correspond to the number of samples in the s and t directions respectively; Step 14: The smoothness function and rigidity constraint function of tool motion are defined as: Where L is the length of the given tool axis; Step 15: Calculate the tool shape and the tool path that approximates surfaces S1 and S2 by iteratively minimizing the objective function as follows: min P,R F guide =F dist +λ1F fair +λ2F rigid ; Where P is the set of B-spline control points of the two ruled surfaces R1 and R2, and R is the set of spherical radii uniformly sampled along the tool axis, that is, R = = {r1, r2, ..., r M }, λ1 and λ2 are scalar weights set empirically; Step 16: Use the Gauss-Newton numerical optimization method to solve the minimization problem in step 15, and obtain the guide paths R1 and R2 for processing the two side surfaces, respectively milling the side surfaces S1 and S2, and at the same time obtain the shape of the tool, represented by the radius vector r, r = (r1, ..., r M ).

3. The method for generating an optimal tool and processing path for three-dimensional cycloid processing according to claim 1, characterized in that The specific steps of step 2 are as follows: Step 21: First Half Path C i Use B-spline surface representation, defined as follows: In the formula, the subscript i represents the first half of the path, and the boundary curve c i T and c i B are the two boundary curves of the path ruled surface, represented by B-spline curves, and defined as: In the formula, is the control point, B k,d (t) is the B-spline basis function, d is the degree of the B-spline curve, and m represents the number of control points of the B-spline curve; Step 22: From C i Calculate the next first half path C i+1 : Calculate C i+1 The method alternately executes step 221 and step 222 until there is no sampling point that violates the CWE constraint, or the number of iterations reaches the set maximum value; Step 221: Path forward phase: First, by setting t i+1,1 =t i,1 and t i+1,2 =t i,2 C i The end line of is set as the initial end line, where t i,1 ,t i+1,1 is the value of parameter t on R1; t i,2 ,t i+1,2 is the value of parameter t on R2; then, with the same increment value Δt i+1 For both sides parameter t i+1,1 ,t i+1,2 Iterative increase, get a pair of line segments R1(s,t i+1,1 ) and R2(s,t i+1,2 ), as the required ruled surface C i+1 At each moment when the line segment moves, solve the following path optimization problem to generate R1(s,t i+1,1 ) and R2(s,t i+1,2 ) Where P Inner are the control points of the boundary curve of the ruled surface except the end, β, λ1, λ2, λ3 are the weights of the corresponding function terms, because the target surface is not approached, so β=0; *=T, B, T and B represent the top curve and bottom curve of the ruled surface respectively; F length It is a function term that penalizes the length of the path. The purpose is to obtain a shorter path and reduce the processing time. It is defined as: is the position constraint between the front half path and the side path, defined as: It is the motion direction constraint between the first half path and the side path, indicating that the instantaneous motion vector of the tool at the end position should be proportional to the vector of the corresponding side path, expressed as: In the formula, α1, α2 are both positive constants, and the positive sign indicates the same direction of movement. Set α1 = α2 = 1 / 3; Keep moving the first half of the path forward until there is a sampling point on the path that violates the CWE condition, that is, there is ε kl <ε * , where ε kl is the CWE value at the sampling point, ε * is a given CWE threshold, and the corresponding ruled surface when the path stops is expressed as The corresponding machining envelope surface is expressed as Step 222: Path Backward Adjustment Phase: For those who do not satisfy ε kl <ε * The sampling points of the envelope surface The contact point moves backward along the normal direction of the tangent point, updating the envelope surface Then update the ruled surface So that its envelope surface approaches This is achieved by solving the same path optimization problem as in the path advancement phase, It is used as the target surface for envelope fitting in the optimization, and the weight of the distance term in the objective function is set to β=1.

4. The method for generating an optimal tool and processing path for three-dimensional cycloid processing according to claim 1, characterized in that The specific steps of step three are as follows: Step 31: Second half of path D i Defined as a B-spline ruled surface: In the formula, is a B-spline curve; is the control point, B k,d (t) is a B-spline basis function of degree d; Step 32: In order to make D i From C i The end contact line transitions to C i+1 The initial contact line, D i (s,t) needs to be connected with two lines C i (s,1) and C i+1 (s,0) are connected, the position constraint is defined as: Step 3. The tool movement along the second half of the path should also be tangent to the side surface to maintain the high-precision milling error of the side surface R1 and R2. These machining normal constraints are defined as follows: Where *∈{T,B}, T,B represent the top and bottom curves respectively, α1,α2 are positive constants, set α1=α2=1 / 3; Step 3 and 4: The generation of the second half of the path is achieved by solving a minimization problem, which is defined as follows: Step 35: After calculating all the second half paths, combine all the first half paths with the second half paths to form a complete cycloid processing path.

Citation Information

Patent Citations

  • Side milling processing method of resembled ruled surface integral wheel curved surfaces

    CN102794488A

  • Five-axis multi-row flank milling cutter position planning method

    CN104007697A

  • A conical spline curved surface generation method close to a given curved surface model

    CN109598779A

  • Cutter optimization and machining track generation method for complex curved surface side milling machining

    CN112486094A

  • Five-axis flank milling system for machining curved surface and toolpath planning method thereof

    US20150032250A1