Abstract
Interpolators play a core and important role in CNC systems, and the scheduling of feedrate is a main task of CNC interpolators. It is routine to schedule the feedrate of linear/circular toolpaths because of their regular geometry; however, the feedrate scheduling of spline toolpaths remains challenging due to the freely and unpredictable geometric shape. Most of the existing methods require looking ahead or pre-processing to acquire sufficient toolpath information for generating drive-bounded smooth feedrate profile, which limits the integral machining efficiency. This paper presents a FIR (finite impulse response) filtering-based interpolation algorithm for spline toolpath, thus realizing the fully real-time capability without using time-consuming optimization such as looking ahead or pre-processing. The presented method merely utilizes the curvature radius information of the current interpolation point on the spline toolpath, and the scheduled feedrate can be generated within one step. Furthermore, the global tangential smoothness of the feedrate profile is guaranteed by directly applying convolution with a chain of two cascaded FIR filters. However, the FIR filtering induces interpolation error which plays as a negative cost during the one-step feedrate scheduling. To solve this issue, the principle of the filtering induced error is analyzed, so that it is computed by feed parameters and curvature radius, and the maximum error is added as an extra constraint beyond the commonly considered axial kinematic constraints. Effectiveness of the presented approach is demonstrated by both numerical illustration and experimental tests.
Similar content being viewed by others
Data availability
Data and materials will be available upon reasonable requests.
References
Yang J, Ai W, Liu Y, Chen B (2018) Kinematics model and trajectory interpolation algorithm for CNC turning of non-circular profiles. Precis Eng 54:212–221
Jia ZY, Song DN, Ma JW, Hu GQ, Su WW (2017) A NURBS interpolator with constant speed at feedrate-sensitive regions under drive and contour-error constraints. Int J Mach Tools Manuf 116:1–17
Du X, Huang J, Zhu LM (2020) An error-bounded B-spline curve approximation scheme using dominant points for CNC interpolation of micro-line toolpath. Robot Comput Integr Manuf 64:101930
Ma JW, Jia ZY, Qin FZ, Song DN, Jiang WW, Chen SY (2019) A five-axis dual nurbs interpolator with constant speed at feedrate-sensitive regions under axial drive constraints. J Manuf Sci Eng Trans ASME 141:061002
Hu Q, Chen Y, Yang J (2020) On-line contour error estimation and control for corner smoothed five-axis tool paths. Int J Mech Sci 171:105377
Yang J, Altintas Y (2015) A generalized on-line estimation and control of five-axis contouring errors of CNC machine tools. Int J Mach Tools Manuf 88:9–23
Song DN, Ma JW (2019) Interval partition-based feedrate scheduling with axial drive constraints for five-axis spline toolpaths. Int J Adv Manuf Technol 105(11):4701–4714
Wu SK, Tsai MS, Lin MT, Huang HW (2018) Development of novel tool center point velocity planning algorithm for five axis machine tool. Int J Precis Eng Manuf 19(8):1187–1199
Fan W, Gao XS, Yan W, Yuan CM (2012) Interpolation of parametric CNC machining path under confined jounce. Int J Adv Manuf Technol 62(5-8):719–739
Wang Y, Yang D, Gai R, Wang S, Sun S (2015) Design of trigonometric velocity scheduling algorithm based on pre-interpolation and look-ahead interpolation. Int J Mach Tools Manuf 96:94–105
Ni H, Zhang C, Ji S, Hu T, Chen Q, Liu Y, Wang G (2018) A bidirectional adaptive feedrate scheduling method of NURBS interpolation based on S-shaped ACC/DEC algorithm. IEEE Access 6:63794–63812
Dong J, Ferreiraa PM, Stori JA (2007) Feed-rate optimization with jerk constraints for generating minimum-time trajectories. Int J Mach Tools Manuf 47(12-13):1941–1955
Fan W, Gao XS, Lee CH, Zhang K, Zhang Q (2013) Time-optimal interpolation for five-axis CNC machining along parametric tool path based on linear programming. Int J Adv Manuf Technol 69(5-8):1373–1388
Debrouwere F, Loock WV, Pipeleers G, Dinh QT, Diehl M, Schutter JD, Swevers J (2013) Time-optimal path following for robots with convex–concave constraints using sequential convex programming. IEEE Trans Robot 29(6):1485–1495
Erkorkmaz K, Chen QG, Zhao MY, Beudaert X, Gao XS (2017) Linear programming and windowing based feedrate optimization for spline toolpaths. CIRP Ann Manuf Technol 66(1):393–396
Chen M, Sun Y (2019) Contour error–bounded parametric interpolator with minimum feedrate fluctuation for five-axis CNC machine tools. Int J Adv Manuf Technol 103(1-4):567–584
Sencer B, Altintas Y, Croft E (2008) Feed optimization for five-axis CNC machine tools with drive constraints. Int J Mach Tools Manuf 48(7-8):733–745
Beudaert X, Lavernhe S, Tournier C (2012) Feedrate interpolation with axis jerk constraints on 5-axis NURBS and G1 toolpath. Int J Mach Tools Manuf 57:73–82
Sun Y, Zhao Y, Bao Y, Guo D (2014) A novel adaptive-feedrate interpolation method for NURBS toolpath with drive constraints. Int J Mach Tools Manuf 77:74–81
Chen M, Sun Y (2018) A moving knot sequence-based feedrate scheduling method of parametric interpolator for CNC machining with contour error and drive constraints. Int J Adv Manuf Technol 98:487–504
Liang F, Zhao J, Ji S (2017) An iterative feed rate scheduling method with confined high-order constraints in parametric interpolation. Int J Adv Manuf Technol 92(5-8):2001–2015
Tajima S, Sencer B, Shamoto E (2018) Accurate interpolation of machining tool-paths based on FIR filtering. Precis Eng 52:332–344
Sencer B, Kakinuma Y, Yamada Y (2020) Linear Interpolation of machining tool-paths with robust vibration avoidance and contouring error control. Precis Eng 66:269-281
Liu Y, Wan M, Qin XB, Xiao QB, Zhang WH (2020) FIR filter-based continuous interpolation of G01 commands with bounded axial and tangential kinematics in industrial five-axis machine tools. Int J Mech Sci 169:105325
Song DN, Ma JW, Zhong YG, Yao JJ (2020) Definition and estimation of joint-space contour error based on generalized curve for five-axis contour following control. Precis Eng 65:32–43
Song DN, Zhong YG, Ma JW (2019) Third-order contour-error estimation for arbitrary free-form paths in contour-following tasks. Precis Eng 60:85–92
Funding
This research is supported by the National Nature Science Foundation of China (52005121), the China Postdoctoral Science Foundation (2020M681076), the Postdoctoral Science Foundation of Heilongjiang Province (LBH-Z20048), and the Fundamental Research Funds for the Central Universities (3072020CF0701).
Author information
Authors and Affiliations
Contributions
Methodology, investigation, verification tests, writing—original draft: De-Ning Song; investigation, writing—reviewing, supervision: Jian-Wei Ma, Yu-Guang Zhong, Jian-Jun Yao; experimental setup hardware: Dan Xiao; writing—reviewing and format editing: Chao Zhou.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no conflict of interest.
Ethical approval
This chapter does not contain any studies with human participants or animals performed by any of the authors.
Consent to participate
Not applicable. The article involves no studies on humans.
Consent for publication
All authors have read and agreed to the published version of the manuscript.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Song, DN., Ma, JW., Zhong, YG. et al. A fully real-time spline interpolation algorithm with axial jerk constraint based on FIR filtering. Int J Adv Manuf Technol 113, 1873–1886 (2021). https://doi.org/10.1007/s00170-021-06738-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00170-021-06738-8