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

Milling contour error control using multilevel fuzzy controller


Machining contour error plays important roles in product quality. This paper presents an implementation of multilevel fuzzy controller in controlling contour errors while maintaining the desired feed rate of milling processes. The orthogonal global task frame was used to transform the tool positions from the Cartesian coordinate system to the curvilinear coordinate system. Contour error and tracking lag error calculated from the curvilinear coordinate system were used by the multilevel fuzzy controller to drive the machining axis on the Mazak VQC-15/40 vertical machining center. The contour error of the machined work piece measured by the coordinate measuring machine showed that the contour error were significantly reduced and the feed rate were regulated at the desired speed.

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


  1. 1.

    Habibi M, Arezoo B, Nojedeh MV (2011) Tool deflection and geometrical error compensation by tool path modification. Int J Mach Tool Manuf 51(6):439–449

  2. 2.

    Law KMY, Geddam A (2003) Error compensation in the end milling of pockets: a methodology. J Mater Process Technol 139(1–3):21–27

  3. 3.

    Kline WA, DeVor RE, Shareef IA (1982) The prediction of surface accuracy in end milling. J Eng Ind 104(3):272

  4. 4.

    Ramesh R, Mannan MA, Poo AN (2000) Error compensation in machine tools—a review part I: geometric, cutting-force induced and fixture-dependent errors. Int J Mach Tool Manuf 40(9):1235–1256

  5. 5.

    Tomizuka M (1987) Zero phase error tracking algorithm for digital control. J Dyn Syst Meas Control 109(1):65–68

  6. 6.

    Tsao T-C, Tomizuka M (1987) Adaptive zero phase error tracking algorithm for digital control. Control 109:349–354

  7. 7.

    Xi X-C, Hong G-S, Poo A-N (2010) Improving CNC contouring accuracy by integral sliding mode control. Mechatronics 20(4):442–452

  8. 8.

    Koren Y (1980) Cross-coupled biaxial computer control for manufacturing systems. Dyn Syst, Meas Control 102(4):265–272

  9. 9.

    Ramesh R, Mannan M, Poo A (2005) Tracking and contour error control in CNC servo systems. Int J Mach Tool Manuf 45(3):301–326

  10. 10.

    Xi X-C, Poo A-N, Hong G-S (2009) Improving contouring accuracy by tuning gains for a bi-axial CNC machine. Int J Mach Tool Manuf 49(5):395–406

  11. 11.

    Chiu GT-C, Tomizuka M (2001) Contouring control of machine tool feed drive systems: a task coordinate frame approach. IEEE Trans Control Syst Technol 9(1):130–139

  12. 12.

    Yao B, Hu C, Wang Q (2011) An orthogonal global task coordinate frame for contouring control of biaxial systems. Mechatron IEEE/ASME Trans 99:1–13

  13. 13.

    Hu C, Yao B, Wang Q (2011) Global task coordinate frame based contouring control of linear-motor-driven biaxial systems with accurate parameter estimations. Ind Electron IEEE Trans 58(99):1–1

  14. 14.

    Zadeh LA (1988) Fuzzy logic. Computer 21(4):83–93

  15. 15.

    Tarng Y, Cheng S (1993) Fuzzy control of feed rate in end milling operations. Int J Mach Tool Manuf 33(4):643–650

  16. 16.

    Kim M, Cho M, Kim K (1994) Application of the fuzzy control strategy to adaptive force control of non-minimum phase end milling operations. Int J Mach Tool Manuf 34(5):677–696

  17. 17.

    Tarng YS, Chuang HY, Hsu WT (1999) Intelligent cross-coupled fuzzy feedrate controller design for CNC machine tools based on genetic algorithms. Int J Mach Tool Manuf 39(10):1673–1692

  18. 18.

    Zuperl U, Cus F, Milfelner M (2005) Fuzzy control strategy for an adaptive force control in end-milling. J Mater Process Technol 164–165:1472–1478

  19. 19.

    Jee S, Koren Y (2004) Adaptive fuzzy logic controller for feed drives of a CNC machine tool. Mechatronics 14(3):299–326

  20. 20.

    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

  21. 21.

    Haber RE, Peres CR, Alique A, Ros S, Gonzalez C, Alique JR (1998) Toward intelligent machining: hierarchical fuzzy control for the end milling process. IEEE Trans Control Syst Technol 6(2):188–199

  22. 22.

    Xu C, Shin YC (2005) Design of a multilevel fuzzy controller for nonlinear systems and stability analysis. IEEE Trans Fuzzy Syst 13(6):761–778

  23. 23.

    Xu C, Shin YC (2007) Control of cutting force for creep-feed grinding processes using a multi-level fuzzy controller. Trans ASME, J Dyn Syst Meas Control 129(4):480

  24. 24.

    Davis TA, Ngo PD, Shin YC (2012) Multi-level fuzzy control of friction stir welding power. Int J Adv Manuf Technol 59(5-8):559–567

  25. 25.

    Shin YC, Xu C (2009) Intelligent systems, 1st edn. CRC Press, New York

  26. 26.

    Rober SJ, Shin YC (1995) Modeling and control of CNC machines using a PC-based open architecture controller. Mechatronics 5(4):401–420

Download references

Author information

Correspondence to Yung C. Shin.

Rights and permissions

Reprints and Permissions

About this article

Cite this article

Ngo, P.D., Shin, Y.C. Milling contour error control using multilevel fuzzy controller. Int J Adv Manuf Technol 66, 1641–1655 (2013).

Download citation


  • Contouring error
  • Computer control
  • Machining error
  • Fuzzy adaptive control