Log in

Vision-based Pythagorean hodograph spline command generation and adaptive disturbance compensation for planar contour tracking

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

Abstract

Many control problems encountered in industrial applications such as deburring, cutting, and polishing are required to simultaneously perform force control and contour following. If the mathematical model of the contour to be followed is known, then the control problem is straightforward, and many existing approaches can be used to tackle this problem. In contrast, if the mathematical model is not available, the control problem will become much more challenging. Among all possible solutions to circumvent the aforementioned difficulties, using a vision system to obtain the mathematical model of the contour to be followed is one of the best options. To this end, this paper proposes a vision-based approach, in which a vision system is employed to provide the exterior contour information of the object for machining. Subsequently, coordinate transformation between the image plane and the robot frame is performed. Based on the exterior contour information after coordinate transformation, a Pythagorean hodograph quintic spline interpolator based on S curve acceleration/deceleration is developed to generate motion commands. The fact that the arc length of a Pythagorean hodograph curve can be easily computed makes it particularly useful when performing motion planning for high-precision motion control systems. Moreover, in order to improve contour following accuracy, an integrated motion control structure consisting of an adaptive disturbance compensator, a sliding mode controller, and a friction compensator is also developed. Finally, several contour following experiments are conducted by a planar two-link robot manipulator to verify the effectiveness of the proposed approach.

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

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Cheng MY, Tsai MC, Kuo JC (2002) Real-time NURBS command generators for CNC servo controllers. Int J Mach Tools Manuf 42:801–813

    Article  Google Scholar 

  2. Cheng MY, Lee CC (2007) Motion controller design for contour-following tasks based on real-time contour error estimation. IEEE Trans Ind Electron 54:1686–1695

    Article  Google Scholar 

  3. Su KH, Cheng MY (2008) Contouring accuracy improvement using cross-coupled control and position error compensator. Int J Mach Tools Manuf 48(12–13):1444–1453

    Article  Google Scholar 

  4. Cheng MY, Su KH (2009) Contouring accuracy improvement using a tangential contouring controller with a fuzzy logic based feed rate regulator. Int J Adv Manuf Technol 41(1–2):75–85

    Article  Google Scholar 

  5. Huang WS, Liu CW, Hsu PL, Yeh SS (2010) Precision control and compensation of servomotors and machine tools via the disturbance observer. IEEE Trans Ind Electron 57:420–429

    Article  Google Scholar 

  6. Jahanpour J, Tsai MC, Cheng MY (2010) High speed contouring control with NURBS-based C 2 PH spline curves. Int J Adv Manuf Technol 49(5–8):663–674

    Article  Google Scholar 

  7. Wang X, Liu N, Wang M (2011) Research and implementation of high-precision biaxial tracking control system based on NURBS interpolator. Int J Adv Manuf Technol 52:255–262

    Article  Google Scholar 

  8. Lee J, Dixon WE, Ziegert JC (2012) Adaptive nonlinear contour coupling control for a machine tool system. Int J Adv Manuf Technol. doi:10.1007/s00170-011-3760-1

  9. Ziliani G, Visioli A, Legnani GA (2007) A mechatronic approach for robotic deburring. Mechatronics 17:431–441

    Article  Google Scholar 

  10. Nagata F, Hase T, Haga Z, Omoto M, Watanabe K (2007) CAD/CAM-based position/force controller for a mold polishing robot. Mechatronics 17:207–216

    Article  Google Scholar 

  11. Osypiuk R, Finkemeyer B (2006) Hybrid model-based force/position control: theory and experimental verification. Robotica 24:775–783

    Article  Google Scholar 

  12. Jung S, Jeon P, Hsia TC (2007) Contour tracking of an unknown planar object by regulating force for mobile robot navigation. Robotica 25:297–305

    Article  Google Scholar 

  13. Baeten J, Schutter JD (2002) Hybrid vision/force control at corners in planar robotic contour following. IEEE Trans Mechatron 7:143–151

    Article  Google Scholar 

  14. Dean-Leon EC, Parra-Vega V, Espinosa-Romero A (2006) Visual servoing for constrained planar robots subject to complex friction. IEEE Trans Mechatron 11:389–400

    Article  Google Scholar 

  15. Chang WC (2006) Hybrid force and vision-based contour following of planar robots. J Intell Robot Syst 47:215–237

    Article  Google Scholar 

  16. Tsai RY (1987) A versatile camera calibration technique for high-accuracy 3D machine vision metrology using off-the-shelf TV cameras and lenses. IEEE Robot Autom Mag 3:323–344

    Article  Google Scholar 

  17. Zhang Z (2000) A flexible new technique for camera calibration. IEEE Trans Pattern Anal Mach Intell 22:1330–1334

    Article  Google Scholar 

  18. Stoyanov D (2007) Camera calibration tools. At: http://ubimon.doc.ic.ac.uk/dvs/m581.html

  19. Liu X, Ahmad F, Yamazaki K, Mori M (2005) Adaptive interpolation scheme for NURBS curves with the integration of machining dynamics. Int J Mach Tools Manuf 45:433–444

    Article  Google Scholar 

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

    Article  Google Scholar 

  21. Tsai MS, Nien HW, Yau HT (2011) Development of integrated acceleration/deceleration look-ahead interpolation technique for multi-blocks NURBS curves. Int J Adv Manuf Technol 56:601–618

    Article  Google Scholar 

  22. 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:1323–1345

    Article  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

  24. Farouki RT (2008) Pythagorean-hodograph curves: algebra and geometry inseparable. Springer, Berlin

    Book  MATH  Google Scholar 

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

    Article  MATH  Google Scholar 

  26. Farouki RT, Kuspa BK, Manni C, Sestini A (2001) Efficient solution of the complex quadratic tridiagonal system for C 2 PH quintic splines. Numer Algorithms 90:35–60

    Article  MathSciNet  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  28. Pigg S, Bodson M (2010) Adaptive algorithms for the rejection of sinusoidal disturbances acting on unknown plant. IEEE Trans Control Syst Technol 18(4):822–836

    Article  Google Scholar 

  29. Panteley E, Ortega R, Gäfvert M (1998) An adaptive friction compensator for global tracking in robot manipulators. Syst Control Lett 33(5):307–313

    Article  MATH  Google Scholar 

  30. Liu CS, Peng H (2000) Disturbance observer based tracking control. ASME J Dyn Syst Meas Control 122(2):332–335

    Article  Google Scholar 

  31. Yang ZJ, Hara S, Kanae S, Wada K, Su CY (2010) An adaptive robust nonlinear motion controller combined with disturbance observer. IEEE Trans Control Syst Technol 18(2):454–462

    Article  Google Scholar 

  32. Gonzalez RC, Woods RE (2002) Digital image processing. Prentice Hall, Englewood Cliffs

    Google Scholar 

  33. Davies E (1997) Machine vision: theory, algorithms and practicalities. Academic, New York

    Google Scholar 

  34. Sonka M, Hlavac V, Boyle R (1999) Image processing, analysis, and machine vision. PWS, Pacific Grove

    Google Scholar 

  35. Canny J (1986) A computational approach to edge detection. IEEE Trans Pattern Anal Mach Intell 8:679–714

    Article  Google Scholar 

  36. Kass M, Witkin A, Terzopoulos D (1987) Snake: active contour models. Int J Comput Vis 1:321–331

    Article  Google Scholar 

  37. Williams DJ, Shah M (1992) A fast algorithm for active contours and curvature estimation. CVGIP-Imag Underst 55:14–26

    Article  MATH  Google Scholar 

  38. Sciavicco L, Siciliano B (1996) Modeling and control of robot manipulators. McGraw-Hill, New York

    Google Scholar 

  39. de Wit CC, Olsson H, Astrom K, Lischinsky P (1995) A new model for control of systems with friction. IEEE Trans Autom Control 40(3):419–425

    Article  MATH  Google Scholar 

  40. Tao G (2003) Adaptive control design and analysis. Wiley-Interscience, New York

    Book  MATH  Google Scholar 

  41. Kermani MR, Patel RV, Moallem M (2007) Friction identification and compensation in robotic manipulators. IEEE Trans Instrum Meas 56(6):2346–2353

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ming-Yang Cheng.

Appendix

Appendix

Fig. 12
figure 12

S curve ACC/DEC motion planning; T A acceleration (deceleration) duration, T B maximum acceleration duration, T S maximum speed duration, A max maximum acceleration, V max maximum velocity, L max total moving distance. T A  = V max/A avg, T B  = 2V max/A max − T A , T C  = (T A  − T B )/2, T S  = (L max − V max T A )/V max. By giving the values of A max, V max, L max, and the average acceleration A avg, one can determine the values of T A , T B , T C , and T S

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chen, CY., Shieh, SS., Cheng, MY. et al. Vision-based Pythagorean hodograph spline command generation and adaptive disturbance compensation for planar contour tracking. Int J Adv Manuf Technol 65, 1185–1199 (2013). https://doi.org/10.1007/s00170-012-4250-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00170-012-4250-9

Keywords

Navigation