簡易檢索 / 詳目顯示

研究生: 謝尚勳
Shie, Shang-Shiun
論文名稱: 基於視覺之PH雲形線平面運動軌跡插值器之研究
A Study on Vision-based Pythagorean Hodograph Spline Interpolator for Planar Motion Trajectory
指導教授: 鄭銘揚
Cheng, Ming-Yang
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2010
畢業學年度: 98
語文別: 中文
論文頁數: 134
中文關鍵詞: 循跡控制參數式曲線PH 曲線PH 五次雲形線攝影機校正
外文關鍵詞: contour following task, parametric curves, PH curves, PH quintic curves, camera calibration
相關次數: 點閱:98下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 如何產生運動軌跡命令是循跡控制問題中之重要課題。一般而言,運動軌跡是以參數式曲線表示,然而因軌跡產生式中存在著無理數項,僅能求得其近似解,導致所產生的位置軌跡可能較不精確。有鑑於此,基於PH 曲線計算弧長具精確解之優點,本論文應用PH 五次雲形線並結合視覺系統以即時提供目標加工物件之輪廓資訊,進而規劃出雙軸機械手臂之平面運動軌跡,並產生適當之輪廓追隨位置命令。
    為提供雙軸機械手臂之座標系定位資訊,本論文應用攝影機校正之技術,解決影像平面與機械手臂座標系之間資訊轉換的問題。最後,本論文進行雙軸機械手臂之循跡控制實驗,以驗證本論文所提方法之可行性。

    In contour following tasks, how to generate motion trajectories is an important issue of much concern. In general, the motion trajectory is commonly represented by a parametric curve. However, because of the irrational terms existing in the trajectory generation formula, only an approximate solution can be obtained with the result the generated command trajectory may be inaccurate. In order to deal with the aforementioned difficulty, the attractive feature of an exact solution in arc length calculation for the PH curve is exploited in this thesis to generate suitable motion commands for a planar contour following task. In the novel approach proposed in this thesis, a visual system is incorporated to provide the contour information of the object for machining, while PH quintic splines are used to generate motion commands of the contour following tasks based on the contour information provided by the vision system.

    In order to provide the localization information of the two-link robot coordinate system, a well known camera calibration approach is employed to solve the coordinate transformation problem between the image plane and the two-link robot coordinate system. Finally, several contour following experiments by the planar two-link robot manipulator are conducted to verify the feasibility of the proposed approach.

    中文摘要................................................................................................................................I ABSTRACT..........................................................................................................................II 誌謝.......................................................................................................................................III 目錄......................................................................................................................................IV 表目錄................................................................................................................................VIII 圖目錄..................................................................................................................................IX 第一章 緒論.........................................................................................................................1 1.1 研究動機與目的............................................................................................................1 1.2 文獻回顧........................................................................................................................2 1.3 本文架構........................................................................................................................3 第二章 參數式曲線............................................................................................................5 2.1 前言.................................................................................................................................5 2.2 多項式曲線....................................................................................................................5 2.3 埃爾米特基底之曲線...................................................................................................8 2.4 C2 三次埃爾米特雲形線...........................................................................................10 2.5 貝茲曲線......................................................................................................................15 2.6 B 雲形線.......................................................................................................................20 2.6.1 B 雲形線基底特性...................................................................................................20 2.6.2 節點向量結構...........................................................................................................21 2.6.3 B 雲形線與貝茲曲線比較......................................................................................26 2.7 小結...............................................................................................................................26 第三章 PH 雲形線............................................................................................................27 3.1 前言...............................................................................................................................27 3.2 PH 曲線.........................................................................................................................27 3.2.1 PH 曲線之自由度.....................................................................................................28 3.2.2 PH 曲線之建構.........................................................................................................29 3.2.3 PH 曲線弧長、單位導數向量與曲率計算............................................................32 3.3 PH 雲形線.....................................................................................................................33 3.3.1 C2 PH 五次雲形線...................................................................................................34 3.3.2 端點條件...................................................................................................................36 3.3.3 牛頓法求解...............................................................................................................41 3.3.4 直覺式設計PH 雲形線...........................................................................................49 第四章 目標物件輪廓偵測之視覺演算法....................................................................53 4.1 前言...............................................................................................................................53 4.2 目標物件初始位置偵測.............................................................................................54 4.2.1 背景相減法...............................................................................................................54 4.2.2 影像型態學處理.......................................................................................................56 4.2.3 物件標示...................................................................................................................57 4.3 目標物件輪廓擷取.....................................................................................................58 4.3.1 邊界描繪...................................................................................................................58 4.3.2 Canny 邊緣偵測........................................................................................................59 4.3.3 蛇輪廓模型...............................................................................................................62 第五章 座標變換與 PH 雲形線平面軌跡插值器.......................................................69 5.1 前言...............................................................................................................................69 5.2 雙軸機械手臂座標系.................................................................................................70 5.3 機械手臂位置偵測與追蹤.........................................................................................72 5.3.1 機械手臂初始位置偵測..........................................................................................72 5.3.2 機械手臂位置追蹤..................................................................................................74 5.3.2.1 機械手臂輪廓之曲線表示法..............................................................................74 5.3.2.2 機械手臂之輪廓追蹤...........................................................................................76 5.3.2.3 機械手臂標記點定位...........................................................................................79 5.4 座標軸變換..................................................................................................................79 5.4.1 攝影機校正...............................................................................................................80 5.4.1.1 攝影機內部參數....................................................................................................80 5.4.1.2 攝影機外部參數....................................................................................................83 5.4.1.3 攝影機校正............................................................................................................84 5.4.2 攝影機校正應用於雙軸機械手臂系統................................................................88 5.5 PH 五次雲形線插值器...............................................................................................92 5.5.1 輪廓軌跡參數式曲線化..........................................................................................92 5.5.2 PH 五次雲形線插值器............................................................................................95 第六章 實驗設備與實驗結果.......................................................................................100 6.1 實驗設備....................................................................................................................100 6.1.1 雙軸機械手臂工作平台........................................................................................100 6.1.2 目標加工物件.........................................................................................................100 6.1.3 攝影機與鏡頭.........................................................................................................101 6.2 實驗結果....................................................................................................................102 6.2.1 攝影機校正.............................................................................................................102 6.2.2 目標物件輪廓參數式曲線化誤差計算..............................................................104 6.2.3 雙軸機械手臂視覺追蹤定位及循跡控制..........................................................109 6.2.4 PH 五次雲形線位置命令插值方式探討.............................................................126 第七章 結論與建議........................................................................................................129 7.1 結論.............................................................................................................................129 7.2 未來展望與建議........................................................................................................130 參考文獻............................................................................................................................131

    [1] X. Liu, F. Ahmad, K. Yamazaki, and M. Mori, “Adaptive interpolation scheme for NURBS curves with the integration of machining dynamics,” Int. J. Mach. Tools Manuf., vol. 45, pp. 433-444, Apr. 2005.

    [2] M. Y. Cheng, M. C. Tsai, and J. C. Kuo, “Real-time NURBS command generators for CNC servo controllers,” Int. J. Mach. Tools Manuf., vol.42, pp. 801-813, May 2002.

    [3] K. Erkorkmaz and Y Altintas, “Quintic Spline Interpolation With Minimal Feed Fluctuation,” J. Manuf. Sci. Eng., vol.127, pp. 339-349, May 2005.

    [4] R. T. Farouki and T. Sakkalis, “Pythagorean Hodographs,” IBM J. Res.
    Dev., vol. 34, pp. 736-752, Sept. 1990.

    [5] R. T. Farouki, Pythagorean-Hodograph Curves: Algebra and Geometry Inseparable, Springer, 2008.

    [6] F. Pelosi, M. L. Sampoli, R. T. Farouki, and C. Manni, “A control polygon scheme for design of planar C2 PH quintic spline curves,” Comput. Aided Geom. Des., vol. 24, pp. 28-52, Jan. 2007.

    [7] R. T. Farouki, B. K. Kuspa, C. Manni, and A. Sestini, “Efficient solution of the complex quadratic tridiagonal system for C2 PH quintic splines,” Numer. Algorithms, vol. 90, pp. 35-60, 2001.

    [8] R. T. Farouki and S. Shah, “Real-time CNC interpolators for Pythagorean-hodograph curves,” Comput. Aided Geom. Des., vol. 13,pp. 583-600, Oct. 1996.

    [9] M. Kass, A. Witkin and D. Terzopoulos, “Snake: Active contour models,” Int. J. Comput. Vis., vol. 1, pp. 321-331, 1987.

    [10] D. J. Williams and M. Shah, “A fast algorithm for active contours and curvature estimation,” CVGIP-Imag Understan., vol. 55, pp. 14-26, Jan. 1992.

    [11] A. Blake and M. Isard, Active contours, Springer Press, 1998.

    [12] R. Y. Tsai. “A versatile camera calibration technique for high-accuracy 3D machine vision metrology using off-the-shelf tv cameras and lenses,” IEEE Robot. Automat. Mag., vol. 3, pp. 323-344, Aug. 1987.

    [13] Z. Zhang, “A flexible new technique for camera calibration,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 22, pp. 1330-1334, Nov. 2000.

    [14] D. Stoyanov, Camera Calibration Tools, Available:
    http://www.doc.ic.ac.uk/~dvs/calib/main.html

    [15] W. T. Lei, M. P. Sung, L. Y. Lin, and J. J. Huang, “Fast real-time NURBS path interpolation for CNC machine tools,” Int. J. Mach. Tools Manuf., vol. 47, pp. 1530-1541, Aug. 2007.

    [16] G. Ziliani, A. Visioli and G. Legnani, “A mechatronic approach for robotic deburring,” Mechatronics, vol. 17, pp. 431-441, Oct. 2007.

    [17] F. Nagata, T. Hase, Z. Haga, M. Omoto and K. Watanabe,
    “CAD/CAM-based position/force controller for a mold polishing robot,” Mechatronics, vol. 17, pp. 207-216, May-June 2007.

    [18] R. Osypiuk and B. Finkemeyer, “Hybrid model-based force/position control: theory and experimental verification,” Robotica, vol. 24, pp.775-783, Nov. 2006.

    [19] S. Jung, P. Jeon and T. C. Hsia, “Contour tracking of an unknown planar object by regulating force for mobile robot navigation,” Robotica, vol. 25, pp. 297-305, May 2007.

    [20] J. Baeten and J. D. Schutter, “Hybrid vision/force control at corners in planar robotic contour following,” IEEE Trans. Mechatron., vol. 7, pp.143-151, June 2002.

    [21] E. C. Dean-Leon, V. Parra-Vega and A. Espinosa-Romero, “Visual servoing for constrained planar robots subject to complex friction,” IEEE Trans. Mechatron., vol. 11, pp.389-400, Aug. 2006.

    [22] G. Farin, Curves and Surfaces for CACD:A Practical Guide, 5th ed., Academic Press, 2002.

    [23] L. Piegl and W. Tiller, The NURBS Book, 2nd ed., Springer, 1997.

    [24] S. Biswas, B. C. Lovell, Bézier and Splines in Image Processing and Machine Vision, Springer, 2008.

    [25] 蔡聖歆,使用控制端點設計基本平面PH曲線,碩士論文,私立東吳
    大學資訊科學系,2008。

    [26] R. C. Gonzalez and R. E. Woods, Digital Image processing, 2nd ed.,Prentice Hall, 2002.

    [27] J. Canny, “A Computational Approach to Edge Detection,” IEEE Trans.Pattern Anal. Mach. Intell., vol. 8, pp. 679-714, Nov. 1986.

    [28] E. Davies, Machine Vision: Theory, Algorithms and Practicalities, Academic Press, 1997.

    [29] M. Sonka, V. Hlavac and R. Boyle, Image Processing, Analysis, and Machine Vision. Pacific Grove: PWS, 1999.

    [30] L. Lam, S. W. Lee, and C. Y. Suen, “Thinning Methodologies-A Comprehensive Survey,” IEEE Trans. Pattern Anal. Mach. Intell., vol.14, pp. 869-885, Sept. 1992.

    [31] R. G. N. Meegama and J. C. Rajapakse, “NURBS snakes,” Image Vision Comput., Vol. 21, pp. 551-562, June 2003.

    [32] R. Hartley and A. Zisserman, Multiple View Geometry in Computer Vision, 2nd ed., Cambridge, U.K.: Cambredge University Press, 2003.

    [33] 求是科技,Visual C++ 數位影像處理技術大全,文魁資訊,2008。

    無法下載圖示 校內:2015-08-26公開
    校外:不公開
    電子論文尚未授權公開,紙本請查館藏目錄
    QR CODE