Error constraint optimization for corner smoothing algorithms in high-speed CNC machine tools

  • Bingran LiEmail author
  • Hui Zhang
  • Peiqing Ye


As corner smoothing algorithm is crucial to high-speed CNC machining, a new error constraint optimization method for corner smoothing algorithm is proposed in this paper. Traditional corner smoothing algorithms are all based on a toolpath to generate motion trajectory, and the same allowable error is used for all smoothed corners. However, in using this method, the contour error of workpiece will be invalidated because of the cutting tool radius in real cutting processing, thereby resulting in over-cutting or inefficiency. In this study, the tool offset and corner smoothing algorithm are combined in order to optimize the error constraint. Besides, a cutting process geometry model was established to analyze the error relationship. On the basis of this model, the smoothing error constraints of each corner can be solved according to the allowable contour error of the workpiece. Finally, motion trajectory is planned through a multi-constraint planning strategy, which can balance the contour error in workpiece at each corner and can guarantee the cutting accuracy, compared with the traditional corner smoothing algorithm. Moreover, a test workpiece is designed to verify the correctness of the proposed algorithm through simulation and actual experiments. The experimental outcome proves that the proposed method improves the workpiece cutting accuracy in high-speed CNC machine tool.


Numerical control Trajectory planning Corner smoothing Contour error Tool radius compensation 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


Funding information

The authors are grateful to the China Launch Vehicle Technology Research Fund and the National Natural Science Foundation of China under the grant 2017ZX04010001 for supporting this research.


  1. 1.
    Langeron JM, Duc E, Lartigue C, Bourdet P (2004) A new format for 5-axis tool path computation, using B-spline curves. Comput Aided Des 36(12):1219–1229CrossRefGoogle Scholar
  2. 2.
    Zhou X, Liu X, Li M, Wang Z, Meng X (2017) Post-processor development of a five-axis machine tool with optimization tool radius compensation. Int J Adv Manuf Technol 88(5–8):1505–1522CrossRefGoogle Scholar
  3. 3.
    Farouki RT, Srinathu J (2017) A real-time CNC interpolator algorithm for trimming and filling planar offset curves. Comput Aided Des 86:1–11CrossRefGoogle Scholar
  4. 4.
    Tajima S, Sencer B (2016) Kinematic corner smoothing for high speed machine tools. Int J Mach Tools Manuf 108:27–43CrossRefGoogle Scholar
  5. 5.
    Yang KM, Shi C, Ye PQ, Lv Q (2007) Smooth transfer control algorithm for cont inuous segment trajectory in computer numerical control systems. J Tsinghua Univ (Sci Tech) (08):1295-1299Google Scholar
  6. 6.
    Pessoles X, Landon Y, Rubio W (2010) Kinematic modelling of a 3-axis NC machine tool in linear and circular interpolation. Int J Adv Manuf Technol 47(5–8):639–655CrossRefGoogle Scholar
  7. 7.
    Zhao H, Zhu L, Ding H (2013) A real-time look-ahead interpolation methodology with curvature-continuous B-spline transition scheme for CNC machining of short line segments. Int J Mach Tools Manuf 65:88–98CrossRefGoogle Scholar
  8. 8.
    Ernesto CA, Farouki RT (2012) High-speed cornering by CNC machines under prescribed bounds on axis accelerations and toolpath contour error. Int J Adv Manuf Technol 58(1–4):327–338CrossRefGoogle Scholar
  9. 9.
    Tulsyan S, Altintas Y (2015) Local toolpath smoothing for five-axis machine tools. Int J Mach Tools Manuf 96:15–26CrossRefGoogle Scholar
  10. 10.
    Zhang LB, You YP, He J, Yang XF (2011) The transition algorithm based on parametric spline curve for high-speed machining of continuous short line segments. Int J Adv Manuf Technol 52(1–4):245–254CrossRefGoogle Scholar
  11. 11.
    Li H, Gao X, Zhang L, Sun R (2012) Discrete interpolation of G01 codes in 2D machining under bounded accelerations. Math Comput Sci 6(3):327–344MathSciNetCrossRefGoogle Scholar
  12. 12.
    Biagiotti L, Melchiorri C (2012) FIR filters for online trajectory planning with time- and frequency-domain specifications. Control Eng Pract 20(12):1385–1399CrossRefGoogle Scholar
  13. 13.
    Sencer B, Ishizaki K, Shamoto E (2015) High speed cornering strategy with confined contour error and vibration suppression for CNC machine tools. CIRP Ann-Manuf Technol 64(1):369–372CrossRefGoogle Scholar
  14. 14.
    Tajima S, Sencer B (2017) Global tool-path smoothing for CNC machine tools with uninterrupted acceleration. Int J Mach Tools Manuf 121:81–95CrossRefGoogle Scholar
  15. 15.
    Fan W, Lee C, Chen J (2015) A realtime curvature-smooth interpolation scheme and motion planning for CNC machining of short line segments. Int J Mach Tools Manuf 96:27–46CrossRefGoogle Scholar
  16. 16.
    Zhang L, Sun R, Gao X, Li H (2011) High speed interpolation for micro-line trajectory and adaptive real-time look-ahead scheme in CNC machining. Sci China Technol Sci 54(6):1481–1495CrossRefGoogle Scholar
  17. 17.
    Zhang Q, Gao X, Li H, Zhao M (2017) Minimum time corner transition algorithm with confined feedrate and axial acceleration for nc machining along linear tool path. Int J Adv Manuf Technol 89(1–4):941–956CrossRefGoogle Scholar
  18. 18.
    Tsai M, Huang Y (2016) A novel integrated dynamic acceleration/deceleration interpolation algorithm for a CNC controller. Int J Adv Manuf Technol 87(1–4):279–292CrossRefGoogle Scholar
  19. 19.
    Duan M, Okwudire C (2016) Minimum-time cornering for CNC machines using an optimal control method with NURBS parameterization. Int J Adv Manuf Technol 85(5–8):1405–1418CrossRefGoogle Scholar
  20. 20.
    Cao H, Zhang X, Chen X (2016) The concept and progress of intelligent spindles: a review. Int J Mach Tools Manuf 112:21–52CrossRefGoogle Scholar
  21. 21.
    Chang K (2015) Virtual machining e-design. In: e-design. Academic Press, Boston, pp 599-646CrossRefGoogle Scholar
  22. 22.
    Chen Y, Wang T (2013) Three-dimensional tool radius compensation for multi-axis peripheral milling. Chin J Mech Eng 26(3):547–554CrossRefGoogle Scholar
  23. 23.
    Erkorkmaz K, Altintas Y (2001) High speed CNC system design. Part I: jerk limited trajectory generation and quintic spline interpolation. Int J Mach Tools Manuf 41(9):1323–1345CrossRefGoogle Scholar
  24. 24.
    Zhang QG, Bryan Greenway R (1998) Development and implementation of a NURBS curve motion interpolator. Robot Comput Integr Manuf 14(1):27–36CrossRefGoogle Scholar
  25. 25.
    Erkorkmaz K, Yeung C, Altintas Y (2006) Virtual CNC system. Part II. High speed contouring application. Int J Mach Tools Manuf 46(10):1124–1138CrossRefGoogle Scholar
  26. 26.
    Lin M, Tsai M, Yau H (2007) Development of a dynamics-based NURBS interpolator with real-time look-ahead algorithm. Int J Mach Tools Manuf 47(15):2246–2262CrossRefGoogle Scholar

Copyright information

© Springer-Verlag London Ltd., part of Springer Nature 2018

Authors and Affiliations

  1. 1.Department of Mechanical EngineeringTsinghua UniversityBeijingChina

Personalised recommendations