Springer Nature is making SARS-CoV-2 and COVID-19 research free. View research | View latest news | Sign up for updates

High-speed contouring control with NURBS-based C2 PH spline curves


This paper presents a C2 Pythagorean hodograph (PH) spline curve constructed by the non-uniform rational B-spline (NURBS) curve for high-speed contouring control. With the knot vector, weights, and control points given, the C2 PH spline curve is defined to be a “good” interpolant for Hermit data obtained from a NURBS curve of degree 3 specified by the same control polygon, weights, and the knot vector. To this end, the first- and second-order derivatives are evaluated at the nodal points on the NURBS curve. These boundary conditions are imposed on the PH segments of degree 9 to preserve continuity between the connecting segments. The S-curve motion planning architecture with variable feed rate for a planar NURBS-based C2 PH spline curve is also developed in this paper. In particular, C1 cubic feed acceleration/deceleration is imposed on the first and last PH segments. Several NURBS-based C2 PH spline curve-following tasks were conducted to verify the effectiveness of the proposed interpolation algorithm. Experimental results show that the proposed interpolator is not only feasible for machining the complicated parametric curves represented in the NURBS-based C2 PH spline form but also yields satisfactory contouring performance under variable feed rate control.

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


  1. 1.

    Cheng M-Y, Tsai M-C, Kuo JC (2002) Real-time NURBS command generators for CNC servo controllers. Int J Mach Tool Manuf 42(7):801–813

  2. 2.

    Cheng C-W, Tsai M-C (2004) Real-time variable feedrate NURBS curve interpolator for CNC machining. Int J Adv Manuf Technol 23(11–12):865–873

  3. 3.

    Wang FC, Wright PK (1998) Open architecture controllers for machine tools, part 2: a real time quintic spline interpolator. ASME J Manuf Sci Eng 120(2):425–432

  4. 4.

    Erkorkmaz K, Altintas Y (2005) Quintic spline interpolation with minimal feed fluctuation. ASME J Manuf Sci Eng 127(2):339–349

  5. 5.

    Park J, Nam S, Yang M (2005) Development of a real-time trajectory generator for NURBS interpolation based on the two-stage interpolation method. Int J Adv Manuf Technol 26(4):359–365

  6. 6.

    Sekar M, Narayanan VN, Yang SH (2008) Design of jerk bounded feedrate with ripple effect for adaptive nurbs interpolator. Int J Adv Manuf Technol 37(5–6):545–552

  7. 7.

    Farouki RT, Tsai YF (2001) Exact Taylor series coefficients for variable-feedrate CNC curve interpolators. Comput Aided Geom Des 33(2):155–165

  8. 8.

    Tsai M-C, Cheng CW (2003) A real-time predictor–corrector interpolator for CNC machining. Trans ASME J Manuf Sci Eng 125(3):449–460

  9. 9.

    Farouki RT, Sakkalis T (1990) Pythagorean hodographs. IBM J Res Dev 34(5):736–752

  10. 10.

    Moon HP, Farouki RT, Choi HI (2001) Construction and shape analysis of PH quintic Hermite interpolants. Comput Aided Geom Des 18(2):93–115

  11. 11.

    Farouki RT, Sagar S (1996) Real-time CNC interpolators for Pythagorean-hodograph curves. Comput Aided Geom Des 13(7):583–600

  12. 12.

    Choi HI, Farouki RT, Kwon S-H, Moon HP (2008) Topological criterion for selection of quintic Pythagorean-hodograph Hermite interpolants. Comput Aided Geom Des 25(6):411–433

  13. 13.

    Imani B-M, Jahanpour J (2008) High speed contouring enhanced with P-H curves. Int J Adv Manuf Technol 37(7–8):747–759

  14. 14.

    Jahanpour J, Imani B-M (2008) Real-time P-H curve CNC interpolators for high speed cornering. Int J Adv Manuf Technol 39(3–4):302–316

  15. 15.

    Farouki RT, Manjunathaiah J, Yuan GF (1997) G codes for the specification of Pythagorean-hodograph tool paths and associated feedrate functions on open-architecture CNC machines. Int J Mach Tool Manuf 39(1):123–142

  16. 16.

    Farouki RT, Tsai Y-F, Yuan G-F (1999) Contour machining of free-form surfaces with real-time PH curve CNC interpolators. Comput Aided Geom Des 16(1):61–76

  17. 17.

    Tsai YF, Farouki RT, Feldman B (2001) Performance analysis of CNC interpolators for time-dependent feed rates along PH curves. Comput Aided Geom Des 18(3):245–265

  18. 18.

    Komanduri R, Subramanian K, von Turkovich BF (1984) High speed machining. PED-12. ASME, New York, pp 15–34

  19. 19.

    Smith S, Tlusty J (1997) Current trends in high-speed machining. ASME J Manuf Sci Eng 119:664–666

  20. 20.

    Tlusty J (1993) High-speed machining. CIRP Annals 42(2):733–738

  21. 21.

    Sir Z, Juttler B (2005) Constructing acceleration continuous tool paths using Pythagorean hodograph curves. Mech Mach Theory 40:1258–1272

  22. 22.

    Farouki RT, Manjunathaiah J, Jee S (1998) Design of rational cam profiles with Pythagorean-hodograph curves. Mech Mach Theory 33:669–682

  23. 23.

    Pelosi F, Sampoli ML, Farouki RT, Manni C (2007) A control polygon scheme for design of planar C2 PH quintic spline curves. Comput Aided Geom Des 24(1):28–52

  24. 24.

    Piegl L (1991) On NURBS: a survey. IEEE Comput Graph 11(1):55–71

  25. 25.

    Piegl L, Tiller W (1997) The NURBS books, 2nd edn. Springer, Berlin

  26. 26.

    Cox MG (1972) The numerical evaluation of B-splines. J Inst Maths Appl 10:134–149

  27. 27.

    de Boor C (1972) On calculating with B-splines. J Approx Theory 6:50–62

  28. 28.

    Cheng M-Y, Su K-H, Wang S-F (2009) Contour error reduction for free-form contour following tasks of biaxial motion control systems. Robot Comput Integr Manuf 25(2):323–333

  29. 29.

    Erkorkmaz K, Yeung CH, Altintas Y (2006) Virtual CNC system. Part II. High speed contouring application. Int J Mach Tool Manuf 46(10):1124–1138

Download references

Author information

Correspondence to Mi-Ching Tsai.

Rights and permissions

Reprints and Permissions

About this article

Cite this article

Jahanpour, J., Tsai, M. & Cheng, M. High-speed contouring control with NURBS-based C2 PH spline curves. Int J Adv Manuf Technol 49, 663–674 (2010).

Download citation


  • PH curves
  • NURBS curves
  • C2 Hermite data
  • Nodal points
  • Contour error