Skip to main content
Log in

Real-time smooth trajectory generation for 3-axis blending tool-paths based on FIR filtering

  • ORIGINAL ARTICLE
  • Published:
The International Journal of Advanced Manufacturing Technology Aims and scope Submit manuscript

Abstract

Three-axis machining tool-paths are generated using computer-aided manufacturing (CAM) systems and programmed by a series of G01 codes mixed with long and short segments. The computer numerical control (CNC) system needs to analyze path information according to the G-codes through path smoothing, speed planning, and interpolation process; generate smooth trajectory; and ensure the high-order continuity of velocity. This study proposes a real-time smooth trajectory generation algorithm with a simple structure and low calculation for 3-axis blending machining tool-paths. Finite impulse response filters are used to generate a smooth trajectory with bounded acceleration in real-time. Due to the delayed response of the filter, it will inevitably bring contour error. The feed rate is adjusted by considering the influence of the adjacent segments on the contour error in the case of long segments. This idea is then extended to continuous micro-segments. Finally, a direct one-step smooth trajectory generation algorithm for the blending tool-paths is realized through pre-discretization with certain rules. The algorithm can effectively control the contour error but also is suitable for blending tool-paths. Consequently, the effectiveness of the proposed algorithms is validated in simulations and also experimented on a 5-axis machine tool.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

Data availability

The data sets supporting the results of this article are available from the corresponding author on reasonable request.

Code availability

The code used during the current study are available from the corresponding author on reasonable request.

References

  1. Altintas Y, Verl A, Brecher C, Uriarte L, Pritschow G (2011) Machine tool feed drives. CIRP Ann - Manuf Technol 60:779–796

    Article  Google Scholar 

  2. Li BR, Zhang H, Ye PQ, Wang JS (2020) Trajectory smoothing method using reinforcement learning for computer numerical control machine tools. Robot Comput Integr Manuf 61:101847

    Article  Google Scholar 

  3. Sencer B, Altintas Y, Croft E (2008) Feed optimization for five-axis CNC machine tools with drive constraints. Int J Mach Tool Manufact 48:733–745

    Article  Google Scholar 

  4. Beudaert X, Lavernhe S, Tournier C (2013) 5-Axis local corner rounding of linear tool path discontinuities. Int J Mach Tool Manufact 73:9–16

    Article  Google Scholar 

  5. Zhang Y, Ye PQ, Wu JQ, Zhang H (2018) An optimal curvature-smooth transition algorithm with axis jerk limitations along linear segments. Int J Adv Manuf Technol 95:875–888

    Article  Google Scholar 

  6. Zhao H, Zhu LM, 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 Tool Manufact 65:88–98

    Article  Google Scholar 

  7. Yau HT, Wang JB (2007) Fast Bezier interpolator with real-time lookahead function for high-accuracy machining. Int J Mach Tool Manufact 47:1518–1529

    Article  Google Scholar 

  8. Park H (2011) B-spline surface fitting based on adaptive knot placement using dominant columns. Comput-Aided Des 43:258–264

    Article  Google Scholar 

  9. Tsai MS, Nien HW, Yau HT (2010) Development of a real-time look-ahead interpolation methodology with spline-fitting technique for high-speed machining. Int J Adv Manuf Technol 47:621–638

    Article  Google Scholar 

  10. Erkorkmaz K, Altintas Y (2001) High speed CNC system design. Part I: jerk limited trajectory generation and quintic spline interpolation. Int J Mach Tool Manufact 41:1323–1345

    Article  Google Scholar 

  11. Ha CW, Rew KH, Kim KS (2008) A complete solution to asymmetric S-curve motion profile: Theory & experiments. Int Conf Control Autom Syst 2845–2849

  12. Nam SH, Yang MY (2004) A study on a generalized parametric interpolator with real-time jerk-limited acceleration. Comput-Aided Des 36:27–36

    Article  Google Scholar 

  13. Lee AH, Choi Y (2015) Smooth trajectory planning methods using physical limits. Proc Inst Mech Eng Part C 229:2127–2143

    Article  Google Scholar 

  14. Huang J, Zhu LM (2016) Feedrate scheduling for interpolation of parametric tool path using the sine series representation of jerk profile. Proc Inst Mech Eng Part B 231:2359–2371

    Article  Google Scholar 

  15. Wang YS, Yang DS, Gai RL, Wang SH, Sun SJ (2015) Design of trigonometric velocity scheduling algorithm based on pre-interpolation and look-ahead interpolation. Int J Mach Tool Manufact 96:94–105

    Article  Google Scholar 

  16. Song F, Hao SH, Hao MH, Yang ZM (2008) Research on acceleration and deceleration control algorithm of NC instruction interpretations with high-order smooth. Intell Robot Appl 5315

  17. 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:369–372

    Article  Google Scholar 

  18. 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

  19. Besset P, Béarée R (2017) FIR filter-based online jerk-constrained trajectory generation. Control Eng Pract 66:169–180

    Article  Google Scholar 

  20. Li DD, Zhang LQ, Yang L, Mao J (2020) Accurate interpolation and contouring control algorithm based on FIR filters for the corner transition. Int J Adv Manuf Technol 109:1775–1788

    Article  Google Scholar 

  21. Tajima J, Sencer B (2019) Accurate real-time interpolation of 5-axis tool-paths with local corner smoothing. Int J Mach Tool Manufact 142:1–15

    Article  Google Scholar 

  22. Hayasaka T, Minoura K, Ishizaki K, Shamoto E, Sencer B (2019) A lightweight interpolation algorithm for short-segmented machining tool paths to realize vibration avoidance, high accuracy, and short machining time. Precis Eng 59:1–17

    Article  Google Scholar 

  23. Tajima S, Sencer B (2020) Real-time trajectory generation for 5-axis machine tools with singularity avoidance. CIRP Ann - Manuf Technol 69:349–352

    Article  Google Scholar 

  24. Tajima S, Sencer B (2020) Online interpolation of 5-axis machining toolpaths with global blending. Int J Mach Tool Manufact 175

  25. Tajima S, Sencer B, Shamoto E (2018) Accurate interpolation of machining tool-paths based on FIR filtering. Precis Eng 52:332–344

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study conception and design; material preparation; data collection and analysis; draft of the manuscript and the final manuscript.

Corresponding author

Correspondence to Bingran Li.

Ethics declarations

Ethics approval

Not applicable.

Consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Fang, J., Li, B., Zhang, H. et al. Real-time smooth trajectory generation for 3-axis blending tool-paths based on FIR filtering. Int J Adv Manuf Technol 126, 3401–3416 (2023). https://doi.org/10.1007/s00170-023-11308-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00170-023-11308-1

Keywords

Navigation