Real-Time Interpolator of CNC Parametric Curves with Chord-Error and Feed-rate Constraints

Authors

  • Wan Ruslan W. Yusoff Faculty of Mechanical and Automotive Engineering Technology, Universiti Malaysia Pahang Al-Sultan Abdullah, 26600 Pahang, Malaysia
  • Fadhlur Rahman Mohd Romlay Faculty of Mechanical and Automotive Engineering Technology, Universiti Malaysia Pahang Al-Sultan Abdullah, 26600 Pahang, Malaysia
  • Ismayuzri Ishak Faculty of Manufacturing and Mechatronic Engineering Technology, Universiti Malaysia Pahang Al-Sultan Abdullah, 26600 Pahang, Malaysia

DOI:

https://doi.org/10.15282/ijame.22.3.2025.10.0967

Keywords:

Interpolator, NURBS Curve, CNC Machining

Abstract

Acknowledging that the core in computer numerical control (CNC) machining is the interpolator of the controller, the work presents a real-time interpolator of a class of non-uniform rational basis splines, NURBS curve, which is inherently parametric. Teardrop 2-dimensional NURBS curve was selected based on varying features, shapes and dimensions. The curve characteristics cover variations of dimensional geometry, origin position, closed or open-ended curves, varying loop count, segment type, either convex or concave, turning profile smoothness and different reflection symmetry about the x and y axes. The real-time interpolator algorithm, when applied to all the selected curves exclusively and simultaneously, satisfies both of its designed constraints, which cover its feed-rate and its chord-error tolerance. The resulting feed-rate profiles throughout the entire path of the curves are continuous and smooth. The feed-rate constraints comprise dynamic equations for allowable CNC machine parameters like the maximum and minimum axial velocities and the maximum and minimum axial accelerations. The chord-error constraints comprise geometric and kinematic properties of different parametric curves, covering bends and sharp turns. The resulting algorithm was executed both in real-time, online mode by driving the CNC machine directly, and in an offline mode by using a stored RS274/NGC G-code file. The plot conclusively shows that the chord-error (u) at every u-point in the full range of 0.00 ≤ u ≤ 1.00 lies below the chord-error tolerance, which was set at 1x10-6 mm.

References

[1] S. H. Suh, S. K. Kang, D. H. Chung, and I. Stroud, Theory and design of CNC systems. London: Springer London, 2008.

[2] W. Zhong, X. Luo, W. Chang, F. Ding, and Y. Cai, “A real-time interpolator for parametric curves,” International Journal of Machine Tools and Manufacture, vol. 125, pp. 133-145, 2018.

[3] N. H. Quang and B. T. Long, “A method of real-time nurbs interpolation with confined chord error for CNC Systems,” Vietnam Journal of Science and Technology, vol. 55, no. 5, pp. 650-657, 2017.

[4] L. Gao, L. Chen, and H. Xie, “Collision detection for multi-axis CNC machining based on geometric modeling and kinematic simulation,” Journal of Materials Processing Technology, vol. 209, no. 6, pp. 2870–2878, 2009.

[5] S. Jia, S. Wang, N. Zhang, W. Cai, Y. Liu, J. Hao, et al., “Multi-objective parameter optimization of CNC plane milling for sustainable manufacturing,” Environmental Science and Pollution Research, pp. 1-22, 2022.

[6] X. Zhu, Y. Chen, and J. Wang, “A real-time look-ahead control and feedrate optimization strategy for CNC machining,” Journal of Manufacturing Processes, vol. 50, pp. 123-134, 2020.

[7] L. Chen, H. Xu, Q. Huang, and P. Wang, “An integrated method for compensating and correcting nonlinear error in five-axis machining utilizing cutter contacting point data,” Scientific Reports, vol. 14, p. 8763, 2024.

[8] R. Jamuna and U. Natarajan, “Measurement of error in computer numerical control machines and optimization using teaching–learning-based optimization algorithm,” Measurement and Control, vol. 52, no. 7-8, pp. 929-937, 2019.

[9] X. Zhang, and M. Chen, “Adaptive parametric interpolation for CNC machining,” International Journal of Advanced Manufacturing Technology, vol. 82, no. 5-8, pp. 1029-1039, 2016.

[10] Z. Li, Q. Yan, and K. Tang, ”Multi-pass adaptive tool path generation for flank milling of thin-walled workpieces based on the deflection constraints,” Journal of Manufacturing Process, vol. 68, pp. 690–705, 2021.

[11] L. Zhang, and H. Li, “Parallel processing for enhanced CNC interpolation performance,” International Journal of Advanced Manufacturing Technology, vol. 112, no. 5-6, pp. 1487-1502, 2021.

[12] Z. Wenbin, L. Xichun, C. Wenlong, D. Fei, and C. Yukui, “A real-time interpolator for parametric curves,” International Journal of Machine Tools and Manufacture, vol. 125, pp. 133-145, 2018.

[13] W. Zhong, “Novel Control Approaches for the Next Generation Computer Numerical Control (CNC) System for Hybrid Micro-machines,” PhD Thesis, Centre for Precision Manufacturing, Department of Design, Manufacture and Engineering Management, University of Strathclyde, 2018.

[14] Y. Xiao, Z. Jiang, Q. Gu, W. Yan, and R. Wang, “A novel approach to CNC machining center processing parameters optimization considering energy-saving and low-cost,” Journal of Manufacturing Systems, vol. 59, pp. 535–548, 2021.

[15] S. Sun, D. Yu, C. Wang, and C. Xie, “A smooth tool path generation and real-time interpolation algorithm based on B-spline curves,” Advances in Mechanical Engineering, vol. 10, no.1, p. 1687814017750281, 2018.

[16] R. Ward, “Smooth trajectory generation for 5-axis CNC machine tools,” PhD Thesis, University of Sheffield, 2022.

[17] S. S. Yeh, “Feed rate determination method for tool path interpolation considering piecewise-continued machining segments with cornering errors and kinematic constraints,” International Journal of Mechanical Engineering and Robotics Research, vol. 8, no. 3, pp. 354-360, 2019.

[18] B. F. Yu, and J. S. Chen, “Development of an analyzing and tuning methodology for the CNC parameters based on machining performance,” Applied Sciences, vol. 10, no. 8, p. 2702, 2020.

[19] H. Li, X. Jiang, and G. Huo, ”A novel feedrate scheduling method based on Sigmoid function with chord error and kinematic constraints,” International Journal of Advanced Manufacturing Technology, vol.119, pp. 1531–1552, 2022.

[20] C. C. Chen and J. Sun, “Real-time NURBS interpolator for CNC machining with axis jerk constraints,” The International Journal of Advanced Manufacturing Technology, vol. 89, no. 9, pp. 3335–3344, 2017.

[21] S. Wenbin and D. Li, “Real-time interpolation of CNC machining with enhanced precision and stability,” Sensors, vol. 23, no. 8, p. 3789, 2022.

[22] T. Wang, X. Qiao, and Y. Zhang, “Iterative feedrate compensation for high-accuracy CNC interpolators using arc-length correction,” Micromachines, vol. 16, no. 4, p. 402, 2023.

[23] H. Huang and M. Chen, “Real-time CNC interpolator with prediction-correction and geometric smoothness control,” Machines, vol. 13, no. 11, p. 456, 2024.

[24] S. Han, R. Liu, and Y. Wang, “Efficient arc-length parameter refinement in NURBS interpolation using hash-based search,” Journal of Mechanical Science and Technology, vol. 38, no. 4, pp. 987–996, 2024.

[25] X. Ji, L. Wang, and F. Zhao, “Adaptive real-time NURBS interpolator for a 4-axis CNC polishing machine,” The International Journal of Advanced Manufacturing Technology, vol. 117, pp. 1145–1158, 2021.

[26] T. Zhang, R. Ma, and J. Qiu, “A generalized NURBS interpolator using nonlinear feedrate adaptation and interpolation-error correction,” The International Journal of Advanced Manufacturing Technology, vol. 120, no. 1, pp. 253–263, 2022.

[27] J. Sun and Y. Lin, “A real-time interpolator for NURBS curve considering velocity, acceleration, and jerk constraints,” Journal of Intelligent Manufacturing, vol. 25, no. 2, pp. 345–356, 2014.

[28] C. C. Chen and J. Sun, “Real-time NURBS interpolator for CNC machining with axis jerk constraints,” The International Journal of Advanced Manufacturing Technology, vol. 89, no. 9, pp. 3335–3344, 2017.

[29] R. Song, L. Zhang, and M. Wu, “Look-ahead window interval adaptive feedrate scheduling under axis constraints,” Electronics, vol. 12, no. 14, p. 3150, 2020.

[30] S. Bai, C. Han, X. Sun, H. Zhang, and J. Jiang, “Teardrop hovering formation for elliptical orbit considering J2 perturbation,” Aerospace Science and Technology, vol. 106, p. 106098, 2020.

[31] B. Bhattacharjee, A. Azeem, S. M. Ali, and S. K. Paul, “Development of a CNC interpolation scheme for CNC controller based on Runge-Kutta method,” International Journal of Computer Aided. 2012.

Downloads

Published

2025-09-07

Issue

Section

Articles

How to Cite

[1]
W. R. W. Yusoff, F. R. Mohd Romlay, and I. . Ishak, “Real-Time Interpolator of CNC Parametric Curves with Chord-Error and Feed-rate Constraints”, Int. J. Automot. Mech. Eng., vol. 22, no. 3, pp. 12665–12674, Sep. 2025, doi: 10.15282/ijame.22.3.2025.10.0967.

Similar Articles

11-20 of 95

You may also start an advanced similarity search for this article.