CN109918807B - Local tool path smoothing method for optimizing curvature - Google Patents

Local tool path smoothing method for optimizing curvature Download PDF

Info

Publication number
CN109918807B
CN109918807B CN201910189683.2A CN201910189683A CN109918807B CN 109918807 B CN109918807 B CN 109918807B CN 201910189683 A CN201910189683 A CN 201910189683A CN 109918807 B CN109918807 B CN 109918807B
Authority
CN
China
Prior art keywords
control
vertex
spline
curvature
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910189683.2A
Other languages
Chinese (zh)
Other versions
CN109918807A (en
Inventor
张卫红
万敏
邢婉静
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201910189683.2A priority Critical patent/CN109918807B/en
Publication of CN109918807A publication Critical patent/CN109918807A/en
Application granted granted Critical
Publication of CN109918807B publication Critical patent/CN109918807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a local tool path fairing method for optimizing curvature, which comprises the steps of firstly establishing a quintic quasi-uniform B spline which is provided with 7 control vertexes and symmetrically distributed on the control vertexes to realize G3 continuity at the joint of a straight line and a curve, and optimizing the curvature of the curve by minimizing the strain energy and the jump energy of the curve to obtain a fairing path with the optimal curvature. The analytical solution of the fairing track of the local corner is realized by establishing a fitting function relation between the corner angle value and the control vertex distribution proportion, the analytical solution of the fairing track of the local corner is realized, the curvature peak value is greatly reduced, and the stability in the processing process is improved.

Description

Local tool path smoothing method for optimizing curvature
Technical Field
The invention relates to a local tool path smoothing method, in particular to a G3 continuous local tool path smoothing method with optimized curvature.
Background
Document 1 "s.tulssan, y.altitas, Local pitch smoothing for five-axis Machine Tools, International Journal of Machine Tools and manufacturing, 2015,96: 15-26" discloses a G3 continuous Local tool path smoothing method, which realizes G3 continuity by inserting five quasi-uniform B splines between corners formed by two adjacent straight line segments during smoothing of straight line path tracks formed by tool nose position points, and can realize precision control of smooth rear tracks. However, when solving the distribution of the control vertexes satisfying the G3 continuity, only one group of feasible solutions which are convenient to calculate is selected, and the curve curvature is not optimized.
Document 2 "X.Beudaert, S.Lavernhe, C.Tournier,5-axis local burner rounding of linear tool path discontinuities, International Journal of Machine Tools and manufacturing, 2013,73: 9-16" discloses a continuous local path smoothing method of G2. In the method, a straight line segment track formed by the position points of the cutter point is smoothened by adopting a cubic quasi-uniform B-spline, and a group of empirical values are directly selected when the distribution proportion of control vertex points is determined. Although G2 continuity of the smooth trajectory and precision control can be realized, the continuous acceleration in the machining process cannot be ensured, and curvature optimization is not carried out.
Typical features of the above documents are: the tool path smoothed by the literature method meets the precision requirement and a certain continuity requirement, but the curvature is not optimized, the optimal smoothing path cannot be achieved, the peak values of acceleration and acceleration in the machining process are large, and the machining efficiency is influenced.
Disclosure of Invention
Technical problem to be solved
In order to overcome the defects that the curvature is not optimized, the curvature peak value is large, the feeding speed is reduced, the machining efficiency is influenced, and the acceleration peak value are large in the machining process in the conventional G3 continuous local tool path smoothing method, the invention provides a G3 continuous local tool path smoothing method with the optimal curvature. The method comprises the steps of firstly establishing a quintic quasi-uniform B spline which is provided with 7 control vertexes and symmetrically distributed on the control vertexes to realize G3 continuity of a joint of a straight line and a curve, and optimizing the curvature of the curve by adopting a minimum energy method. In order to solve the control vertex by analysis, the invention establishes a fitting function of the corner angle value and the control vertex distribution ratio, and realizes the analysis and the solution of the local corner fairing track.
Technical scheme
A local tool path smoothing method for optimizing curvature is characterized by comprising the following steps:
step 1: in the form of two adjacent straight line segments pk-1pkAnd pkpk+1Five quasi-uniform B-splines with symmetrically distributed control vertices inserted on the local corners, wherein the point pk-1、pkIs a straight line segment pk-1pkEnd point of (1), point pkAnd pk+1Is a straight line segment pkpk+1The endpoint of (1); it controls the vertex Pk,iCalculated using the following formula, i ═ 0,1, 2.
Pk,3=pk
Pk,0=pk-(dk,1+dk,2+dk,3)mk
Pk,1=pk-(dk,2+dk,3)mk
Pk,2=pk-dk,3mk
Pk,4=pk-dk,3nk
Pk,5=pk-(dk,2+dk,3)nk
Pk,6=pk-(dk,1+dk,2+dk,3)nk
Wherein
Figure BDA0001994010410000021
Figure BDA0001994010410000022
In the formula (d)k,1To control the vertex Pk,0And Pk,1Distance between dk,2To control the vertex Pk,1And Pk,2Distance between dk,3To control the vertex Pk,2And Pk,3The distance between them;
step 2: the node vector of the B spline is U ═ 0000000.5111111;
and step 3: establishing an inserted B spline P according to the B spline control vertex solved in the step 1 and the node vector selected in the step 2k(u):
Figure BDA0001994010410000031
Wherein
Figure BDA0001994010410000032
Figure BDA0001994010410000033
Definition of
Figure BDA0001994010410000034
In the formula, n is the number of B control vertexes minus one, i represents the sequence number of the basis function, and p represents the number of the basis function is 5;
and 4, step 4: since the control vertexes of the inserted B-splines are symmetrically distributed, the maximum error occurs at the midpoint P of the splinek(0.5), substituting the parameter u to 0.5 in step 3 may result in:
Figure BDA0001994010410000035
tolerance constraint of inserting B-spline as emax=‖Pk,3-Pk(0.5)‖≤εwIn which epsilonwRepresenting a given tolerance value;
and 5: the control vertex P obtained in the step 1k,iI is 0,1,2, 6, the tolerance constraint expression of step 4 is substituted into
Figure BDA0001994010410000036
In the formula
Figure BDA0001994010410000037
Is a straight line segment pk-1pkAnd pkpk+1The formed corner angle value;
step 6: the length of the straight line segment inserted into the B-spline is constrained to
Figure BDA0001994010410000038
In the formula Ik=‖pk-1pk‖,lk+1=‖pk pk+1‖;
And 7: let xk=[dk,1dk,2dk,3]Establishing an objective function of the curvature optimization by an energy method, and solving xk=[dk,1dk, 2dk,3];
minEk(xk)
s.t.
C(xk)≤O
Wherein
Figure BDA0001994010410000041
Figure BDA0001994010410000042
In the formula betakIs a proportionality coefficient for balancing strain energy of curve
Figure BDA0001994010410000043
Energy of harmonious degree
Figure BDA0001994010410000044
And 8: calculating x according to steps 1-7k=[dk,1dk,2dk,3]Let control vertex distribution ratio μ be dk,1/dk,3,ν=dk,2/dk,3Establishing thetakAnd a fitting function of μ, ν:
Figure BDA0001994010410000045
Figure BDA0001994010410000046
in the formula CA,iAnd CB,iIs a fitting coefficient, i ═ 1, 2.., 6;
and step 9: and (3) resolving the local smooth track:
1) calculating a corner angle value θk
2) Determining control vertex distribution proportion coefficients mu and v according to the step 8;
3) computing
Figure BDA0001994010410000047
4) Calculating dk,1=μdk,3、dk,1=μdk,3
5) Calculating a control vertex P according to step 1k,iObtaining a locally smoothed trajectory, i ═ 0,1,2,. 6:
Figure BDA0001994010410000048
advantageous effects
The invention provides a local tool path fairing method for optimizing curvature, which comprises the steps of firstly establishing a quintic quasi-uniform B spline which is provided with 7 control vertexes and symmetrically distributed on the control vertexes to realize G3 continuity at the joint of a straight line and a curve, and optimizing the curvature of the curve by minimizing the strain energy and the jump energy of the curve to obtain a fairing path with the optimal curvature. The analytical solution of the fairing track of the local corner is realized by establishing a fitting function relation between the corner angle value and the control vertex distribution proportion, the analytical solution of the fairing track of the local corner is realized, the curvature peak value is greatly reduced, and the stability in the processing process is improved.
Drawings
FIG. 1 is a schematic diagram of a spline curve inserted in a local tool path smoothing process by using the present invention.
FIGS. 2 and 3 are graphs of the results of fitting functions between the corner angles and the control vertex distribution ratios established by the present invention.
FIGS. 4, 5, 6 and 7 are graphs showing the comparison of the distribution of the curvature of the track after smoothing of example 1 by the method of the present invention and the method of reference [1 ].
Fig. 8 and 9 are graphs showing the comparison of the acceleration during processing of the trajectory after smoothing of example 2 by the method of the present invention and the method of document [1 ].
FIGS. 10 and 11 are graphs showing a comparison of the jerk during processing of the trajectory after smoothing of example 2 by the method of the present invention and the method of reference [1 ].
Detailed Description
The invention will now be further described with reference to the following examples and drawings:
example 1 was used to demonstrate the advantage of the invention in terms of curvature of the smooth trail. Example 2 was used to demonstrate the advantages of the present invention during processing.
Example 1:
(1) the selected angles are theta respectively in the experimentk=15°、θk=30°、θk=45°、θk60 ° corner, taking l 10mm, the coordinates of the points making up the corner are [ p ]k-1;pk;pk+1]=[00;l 0;l+lcos(π-θ)lsin(π-θ)]Selecting a tolerance value epsilonw=0.1mm。
(2) Passing the corner angle value θ according to step (8)kAnd determining the control vertex distribution proportion coefficients mu and v.
(3) Computing a control vertex Pk,2And Pk,3A distance d betweenk,3
Figure BDA0001994010410000061
(4) Calculating dk,1And dk,2The value of (c): dk,1=μdk,3、dk,1=μdk,3
(5) Calculating the control peak P of the smooth trajectoryk,i(i=0,1,2,...,6),
Pk,3=pk
Pk,0=pk-(dk,1+dk,2+dk,3)mk
Pk,1=pk-(dk,2+dk,3)mk
Pk,2=pk-dk,3mk
Pk,4=pk-dk,3nk
Pk,5=pk-(dk,2+dk,3)nk
Pk,6=pk-(dk,1+dk,2+dk,3)nk
Wherein the content of the first and second substances,
Figure BDA0001994010410000062
Figure BDA0001994010410000063
will control the vertex Pk,iAnd substituting the expression of the B spline to obtain the track after the local fairing.
Figure BDA0001994010410000064
(6) The distribution of the curvature of the trajectory after fairing in the interval of the spline parameter u ═ 0,1 is calculated, and the specific results are shown in fig. 4, 5, 6 and 7. It can be seen that the method smoothed trace has a significantly reduced peak curvature compared to the typical G3 continuous local method smoothed trace.
Example 2:
(1) verification test selection of the starting Point [ p ]k-1;pk;pk+1]=[00;100;10+10cos(π-30°)10sin(π-30°)]And (4) forming a track for smoothing, wherein the unit length of a coordinate axis is 1 mm. Selected tolerance value epsilonwThe feed rate was 3mm/s at 0.1 mm.
(2) Calculating a corner angle value
Figure BDA0001994010410000071
(3) Root of herbaceous plantPassing the corner angle value theta according to step (8)kAnd determining the control vertex distribution proportion coefficients mu and v.
(4) Calculating the distance dk,3
(5) Calculating dk,1And dk,2The value of (c): dk,1=μdk,3、dk,1=μdk,3
(6) Calculating the control peak P of the smooth trajectoryk,i(i=0,1,2,...,6)
Pk,3=pk
Pk,0=pk-(dk,1+dk,2+dk,3)mk
Pk,1=pk-(dk,2+dk,3)mk
Pk,2=pk-dk,3mk
Pk,4=pk-dk,3nk
Pk,5=pk-(dk,2+dk,3)nk
Pk,6=pk-(dk,1+dk,2+dk,3)nk
Wherein the content of the first and second substances,
Figure BDA0001994010410000072
Figure BDA0001994010410000073
and substituting the control vertex into an expression of a B spline to obtain a track subjected to local fairing.
Figure BDA0001994010410000074
(7) The smooth track is processed at a constant feed speed of 3mm/s, and the acceleration in the processing process is shown in the attached figures 8 and 9, so that the acceleration peak value in each axis motion of the smooth track is smaller under the same processing condition. The x-axis can be reduced by 9.03 percent, and the y-axis can be reduced by 13.37 percent.
(8) The jerk during the machining process is compared with that shown in fig. 10 and 11, and it can be seen that under the same machining conditions, the jerk peak value in each axis motion of the smooth track of the invention is smaller. The x-axis can be reduced by 10.79 percent, and the y-axis can be reduced by 12.17 percent.

Claims (1)

1. A local tool path smoothing method for optimizing curvature is characterized by comprising the following steps:
step 1: in the form of two adjacent straight line segments pk-1pkAnd pkpk+1Five quasi-uniform B-splines with symmetrically distributed control vertices inserted on the local corners, wherein the point pk-1、pkIs a straight line segment pk-1pkEnd point of (1), point pkAnd pk+1Is a straight line segment pkpk+1The endpoint of (1); it controls the vertex Pk,iCalculated using the following formula, i ═ 0,1, 2.
Pk,3=pk
Pk,0=pk-(dk,1+dk,2+dk,3)mk
Pk,1=pk-(dk,2+dk,3)mk
Pk,2=pk-dk,3mk
Pk,4=pk-dk,3nk
Pk,5=pk-(dk,2+dk,3)nk
Pk,6=pk-(dk,1+dk,2+dk,3)nk
Wherein
Figure FDA0001994010400000011
Figure FDA0001994010400000012
In the formula (d)k,1To control the vertex Pk,0And Pk,1Distance between dk,2To control the vertex Pk,1And Pk,2Distance between dk,3To control the vertex Pk,2And Pk,3The distance between them;
step 2: the node vector of the B spline is U ═ 0000000.5111111;
and step 3: establishing an inserted B spline P according to the B spline control vertex solved in the step 1 and the node vector selected in the step 2k(u):
Figure FDA0001994010400000013
Wherein
Figure FDA0001994010400000014
Figure FDA0001994010400000015
Definition of
Figure FDA0001994010400000016
In the formula, n is the number of B control vertexes minus one, i represents the sequence number of the basis function, and p represents the number of the basis function is 5;
and 4, step 4: since the control vertexes of the inserted B-splines are symmetrically distributed, the maximum error occurs at the midpoint P of the splinek(0.5), substituting the parameter u to 0.5 in step 3 may result in:
Figure FDA0001994010400000021
tolerance constraint of inserting B-spline as emax=‖Pk,3-Pk(0.5)‖≤εwIn which epsilonwRepresenting a given tolerance value;
and 5: the control vertex P obtained in the step 1k,iI is 0,1,2, 6, the tolerance constraint expression of step 4 is substituted into
Figure FDA0001994010400000022
In the formula
Figure FDA0001994010400000023
Is a straight line segment pk-1pkAnd pkpk+1The formed corner angle value;
step 6: the length of the straight line segment inserted into the B-spline is constrained to
Figure FDA0001994010400000024
In the formula Ik=‖pk-1pk‖,lk+1=‖pk pk+1‖;
And 7: let xk=[dk,1 dk,2 dk,3]Establishing an objective function of the curvature optimization by an energy method, and solving xk=[dk,1 dk,2dk,3];
minEk(xk)
s.t.
C(xk)≤O
Wherein
Figure FDA0001994010400000025
Figure FDA0001994010400000026
In the formula betakIs a proportionality coefficient for balancing strain energy of curve
Figure FDA0001994010400000027
Energy of harmonious degree
Figure FDA0001994010400000031
And 8: calculating x according to steps 1-7k=[dk,1 dk,2 dk,3]Let control vertex distribution ratio μ be dk,1/dk,3,ν=dk,2/dk,3Establishing thetakAnd a fitting function of μ, ν:
Figure FDA0001994010400000032
Figure FDA0001994010400000033
in the formula CA,iAnd CB,iIs a fitting coefficient, i ═ 1, 2.., 6;
and step 9: and (3) resolving the local smooth track:
1) calculating a corner angle value θk
2) Determining control vertex distribution proportion coefficients mu and v according to the step 8;
3) computing
Figure FDA0001994010400000034
4) Calculating dk,1=μdk,3、dk,1=μdk,3
5) Calculating a control vertex P according to step 1k,iAfter obtaining local fairingI-0, 1,2, 6:
Figure FDA0001994010400000035
CN201910189683.2A 2019-03-13 2019-03-13 Local tool path smoothing method for optimizing curvature Active CN109918807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910189683.2A CN109918807B (en) 2019-03-13 2019-03-13 Local tool path smoothing method for optimizing curvature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910189683.2A CN109918807B (en) 2019-03-13 2019-03-13 Local tool path smoothing method for optimizing curvature

Publications (2)

Publication Number Publication Date
CN109918807A CN109918807A (en) 2019-06-21
CN109918807B true CN109918807B (en) 2022-03-11

Family

ID=66964644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910189683.2A Active CN109918807B (en) 2019-03-13 2019-03-13 Local tool path smoothing method for optimizing curvature

Country Status (1)

Country Link
CN (1) CN109918807B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112859734B (en) * 2019-11-27 2022-01-25 西安交通大学 Airthoid curve and motion planning smoothing method based on same
CN111230864B (en) * 2020-01-15 2021-03-23 清华大学 Tool path planning method for five-axis parallel machining robot
CN112346406B (en) * 2020-11-03 2022-03-01 西北工业大学 Smoothing method for tool path of five-axis numerical control machine tool
CN113791576B (en) * 2021-08-19 2023-10-17 五邑大学 Method, device, equipment and storage medium for local fairing transition between tracks

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482979A (en) * 2008-12-30 2009-07-15 清华大学 Fairing-optimized CAD method for NURBS space curve curvature continuous split joint
JP2013045332A (en) * 2011-08-25 2013-03-04 Fanuc Ltd Tool locus display device with display part of acceleration or jerk at tool tip point
CN103631198A (en) * 2013-11-04 2014-03-12 上海交通大学 Cutter track compression method based on G2 continuous Bezier curve
CN103676786A (en) * 2013-12-23 2014-03-26 北京航空航天大学 Curve fairing method based on accelerated speed principle
CN105425725A (en) * 2015-12-09 2016-03-23 华中科技大学 Curve fitting method for discrete cutter path
CN105700466A (en) * 2015-11-23 2016-06-22 上海交通大学 Curvature fairing method for high-speed numerical control processing track
CN108132645A (en) * 2016-12-01 2018-06-08 华中科技大学 A kind of guarantee continuous curve-fitting methods of cutter path entirety G2
CN108415367A (en) * 2018-03-13 2018-08-17 南京航空航天大学 A kind of automatic fiber placement track overall situation curvature Smoothing Algorithm

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011096077A (en) * 2009-10-30 2011-05-12 Makino Milling Mach Co Ltd Method and device for generating tool path

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482979A (en) * 2008-12-30 2009-07-15 清华大学 Fairing-optimized CAD method for NURBS space curve curvature continuous split joint
JP2013045332A (en) * 2011-08-25 2013-03-04 Fanuc Ltd Tool locus display device with display part of acceleration or jerk at tool tip point
CN103631198A (en) * 2013-11-04 2014-03-12 上海交通大学 Cutter track compression method based on G2 continuous Bezier curve
CN103676786A (en) * 2013-12-23 2014-03-26 北京航空航天大学 Curve fairing method based on accelerated speed principle
CN105700466A (en) * 2015-11-23 2016-06-22 上海交通大学 Curvature fairing method for high-speed numerical control processing track
CN105425725A (en) * 2015-12-09 2016-03-23 华中科技大学 Curve fitting method for discrete cutter path
CN108132645A (en) * 2016-12-01 2018-06-08 华中科技大学 A kind of guarantee continuous curve-fitting methods of cutter path entirety G2
CN108415367A (en) * 2018-03-13 2018-08-17 南京航空航天大学 A kind of automatic fiber placement track overall situation curvature Smoothing Algorithm

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Effect of cutter runout on chatter stability of milling process;Yingchao Ma等;《Procedia CIRP》;20161231;第56卷;第115-118页 *
G2连续的A级曲面精确重构及光顺技术研究;蔡玉俊等;《现代制造工程》;20171231(第4期);第60-66页 *
五轴线性刀路的转接光顺及轨迹生成算法;赵欢等;《机械工程学报》;20180228;第54卷(第3期);第108-116页 *

Also Published As

Publication number Publication date
CN109918807A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN109918807B (en) Local tool path smoothing method for optimizing curvature
CN109571473B (en) Error-controllable small line segment trajectory fairing method
CN110716493B (en) Five-axis micro-line segment machining path fairing method
CN109664303B (en) Error-controllable B-spline transition type smooth trajectory generation method for four-axis industrial robot
CN110355614B (en) Grinding wheel track solving method for integral end mill cutter body gap grinding process
CN110399681B (en) Parametric modeling method for edge curve of arc-head end mill
CN105261065B (en) A kind of blade part front and rear edge profile towards adaptability processing redesigns method
CN108073138B (en) Elliptical arc smooth compression interpolation algorithm suitable for high-speed high-precision machining
CN107491034B (en) Cutter axis vector optimization method based on covariant field functional
CN112847364B (en) Robot milling tool path C 3 Continuous online real-time analysis fairing method
US9827617B2 (en) Drill and method of manufacturing drill
CN113759827B (en) High-speed high-precision five-axis cutter path corner smoothing method
CN112506139B (en) Partial corner fairing method for five-axis short straight line segment track
CN108021093B (en) Web broken line feed parameter optimization method based on NC program
CN106774154A (en) A kind of space curve interpolating method theoretical based on osculating plane
CN113589754B (en) Groove grinding processing method of variable helix angle micro drill bit
Li et al. Tool path optimization in postprocessor of five-axis machine tools
CN109521731B (en) G2 continuous Bezier tool path smoothing algorithm based on tolerance zone
CN112486094B (en) Cutter optimization and processing track generation method for complex curved surface side milling
CN108098515B (en) Method for machining drill groove type by using multiple formed grinding wheels
CN113504764A (en) Continuous line segment numerical control machining path smoothing method based on position vector weighted integral
CN103454977B (en) The straight burr system of aircraft structure curved surface in small, broken bits
CN111708327B (en) PH spline transition linear path processing method with G2 continuity
CN111026035B (en) Method for solving cyclone milling blade tool location point based on curvature change
CN113515091B (en) Real-time track interpolation method and device for corner smoothing spline

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant