簡易檢索 / 詳目顯示

研究生: 陳智盛
Chih-sheng Chen
論文名稱: 自動對焦與視覺伺服控制應用於氣壓YZ定位控制之研究
The Autofocus and Visual Servo Control for the Pneumatic YZ Servo System
指導教授: 江茂雄
Mao-hsiung Chiang
郭中豐
Chung-Feng Kuo
口試委員: 郭振華
Jen-hwa Guo
學位類別: 碩士
Master
系所名稱: 工程學院 - 自動化及控制研究所
Graduate Institute of Automation and Control
論文出版年: 2007
畢業學年度: 95
語文別: 中文
論文頁數: 92
中文關鍵詞: 自動對焦視覺伺服控制離散餘弦轉換滑動模式適應控制氣壓系統隨機式測圓視覺追蹤
外文關鍵詞: Autofocus, Sliding mode adaptive control, Pneumatic system
相關次數: 點閱:436下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本研究分為自動對焦系統及視覺伺服控制系統等兩大部份,於氣壓YZ雙軸平台實現(1)對焦值演算法、(2)最佳焦距搜尋演算法、(3)結合隨機式測圓及SAD(Sum of absolute differences)之視覺追蹤演算法、(4)結合滑動模式適應控制器及視覺追蹤演算法之視覺伺服控制系統。
    在自動對焦系統中,(1)對焦值演算法:以128×128大小之影像利用離散餘弦轉換後的中頻總和作為對焦的依據,(2)最佳焦距之搜尋演算法:以對焦值演算法得到之數值,判斷出最佳焦距並移動至此位置。最後,自動對焦系統於實際系統上測試不同類型之影像,結果證明都能獲得對焦曲線且能移動至最佳焦距。
    在視覺伺服控制系統中,(3)視覺追蹤演算法:先以隨機式測圓測得目標圓後,爾後SAD演算法以面板匹配方式,持續追蹤目標圓。(4)視覺伺服控制系統:以視覺追蹤演算法所得到之目標圓座標,並結合滑動模式適應控制器,完成閉迴路之控制。最後,視覺伺服控制系統於氣壓YZ雙軸平台實現YZ軸視覺伺服控制定位。


    This thesis aims to develop an autofocus system and a visual servo control system. In the autofocus system, a focus-measured method calculated by the terms of the middle frequency after the discrete cosine transform and an autofocus search algorithm are proposed. In the visual servo control system, the servo position control for pneumatic YZ axes system is realized by combining the visual tracking algorithm and the sliding mode adaptive controller. The visual tracking algorithm consists of the random circle detection (RCD) and sum of absolute differences (SAD). The target can be tracked by SAD, after it has been found by RCD. Finally, the proposed auto-focus system and the visual servo control system are verified experimentally.

    摘要 Abstract 誌謝 目錄 圖目錄 表目錄 符號索引 第一章緒論 1 1.1 前言 1 1.2 文獻回顧 1 1.2.1 氣壓系統之回顧 1 1.2.2 影像對焦之回顧 2 1.2.3 影像處理之回顧 4 1.2.4 控制理論之回顧 5 1.3 研究動機 6 1.4 本文架構 7 第二章視覺伺服系統架構與建立 9 2.1 系統架構 9 2.1.1 自動對焦之系統架構 9 2.1.2 視覺伺服之系統架構 11 2.2 PC-based 控制系統 13 2.3 硬體設備 14 2.3.1 單桿氣壓缸及無桿氣壓缸 16 2.3.2 氣壓流量比例伺服閥 18 2.3.3 鏡頭及其成像原理 19 2.3.4 攝影機 22 2.3.5 影像擷取卡 24 2.3.6 步進馬達及其驅動電路 25 第三章自動對焦與視覺追蹤 27 3.1 數位影像之前處理 27 3.1.1 邊點偵測 27 3.1.2 影像濾波器 30 3.2 影像清晰程度數值化 32 3.2.1 Tenengrad法 32 3.2.2 本文之對焦法 33 3.3 最佳對焦值搜尋36 3.3.1 全域搜尋法 37 3.3.2 爬山法 37 3.3.3 本文之搜尋法 37 3.4 視覺追蹤 40 3.4.1 目標圓偵測 40 3.4.2 目標追蹤 43 3.5 即時視覺之探討 44 3.5.1 以硬體觀點探討 44 3.5.2 以軟體觀點探討 45 第四章控制器設計 46 4.1 傅利葉級數 46 4.1.1 傅利葉級數之型式 46 4.1.2 傅利葉係數及其頻譜 47 4.2 滑動模式控制 50 4.2.1 滑動模式之控制原理 50 4.2.2 滑動模式之滑動條件 51 4.2.3 滑動模式之逼近條件 51 4.3 滑動模式適應控制器設計 52 4.3.1 氣壓系統描述 52 4.3.2 控制器設計 53 第五章實驗結果與討論 56 5.1 對焦曲線實驗 56 5.1.1 複雜影像對焦曲線實驗 56 5.1.2 單調影像對焦曲線實驗 58 5.1.3 低對比影像對焦曲線實驗 61 5.1.4 氣壓平台對焦曲線實驗 63 5.2 自動對焦搜尋實驗 66 5.2.1 複雜影像最佳焦距搜尋實驗 66 5.2.2 單調影像最佳焦距搜尋實驗 68 5.2.3 低對比影像最佳焦距搜尋實驗 69 5.2.4 氣壓平台 71 5.3 視覺追蹤實驗 72 5.3.1 目標圓偵測實驗 72 5.3.2 目標追蹤實驗 73 5.4 視覺伺服控制實驗結果 75 5.4.1 Y軸視覺伺服定位控制系統 75 5.4.2 Z軸視覺伺服定位控制系統 78 5.4.3 YZ雙軸同動視覺伺服定位控制系統 81 第六章結論與未來展望 84 6.1 結論 84 6.2 未來展望 85 參考文獻 86 附錄一 91 作者簡介 92

    [1]F. Chaumette, and S. Hutchinson, “Visual servo control. I. Basic approaches,” IEEE Robotics and Automation Magazine 13 (4), pp. 82-90, 2006.
    [2]J. J. Shearer, “Continuous Control of Motion with Compressed Air,” ScD, Thesis, Massachusetts Institute of Technology, 1954.
    [3]J. J. Shearer, “The Study of Pneumatic Process in the Continuous Control of Motion with Compressed Air-I,” ASME Trans., pp. 233-242, 1956.
    [4]C. R. Burrows, “Effect of Position on the Stability of Pneumatic Servo Mechanisms,” J. Mech. Engrs. Sci., Vol. 11, No. 6, pp. 615-616, 1969.
    [5]E. Pachnicke, “Entwicklung von Methoden zur Verbesserung des Positionierverhaltens servopneumatisches Zylinderantriebe durch Mikroprozessoreinsatz,” Dissertation der RWTH Aachen, 1986.
    [6]Zuwen Wang, and Qingjun Yang, “Developments and Prospects of Pneumatic Position System,” Chinese Journal of Mechanical Engineering, Vol. 39, No. 12 , 2003.
    [7]Jihong Wang, Junsheng Pu, and Philip Moore, “Accurate Position Control of Pneumatic Actuator System: an Application to Food Packing,” Control Engineering Practice, 1999.
    [8]羅年良, “氣壓缸位置與壓力伺服控制系統之研究,” 國立成功大學機械工程研究所碩士論文, 1999.
    [9]K. R. Pai, and M. C. Shih, “Nanoaccuracy Position Control of A Pneumatic Cylinder Driven Table,” International Journal of JSME, Series C, Vol. 46,.No. 3, pp. 1062-1068, 2003.
    [10]施文凱, “應用基因-模糊控制於氣壓-壓電精密定位伺服系統之研究,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2001.
    [11]鄒丹妮, “應用適應性可變結構控制於氣壓-壓電精密定位伺服系統之研究,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2001.
    [12]張瑛淑, “智慧型長行程次微米之氣壓-壓電定位系統設計及控制,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2002.
    [13]郭倉旻, “智慧型長行程次微米精度之氣壓-壓電混合精密伺服定位X-Y平台設計及控制,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2003.
    [14]侯人豪, “解耦合自組織滑動平面調變控制於氣壓-壓電混合力量控制之研究,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2003.
    [15]陳俊毓, “長行程奈米精度氣壓-壓電混何精密伺服定位XY平台設計與智慧型控制,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2004.
    [16]李明隆, “改良式距離基礎之模糊滑動模式控制應用於長行程次微米之氣壓-壓電混何精密伺服定位平台模擬與控制,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2004.
    [17]陳心怡, “模糊滑動平面調變控制應用於氣壓-壓電整合速度之研究,” 國立台灣科技大學工程技術所自動化及控制學程碩士論文, 2004.
    [18]吳佳勳, “智慧型長行程奈米精度氣壓-壓電混合精密伺服YZ定位控制,” 國立臺灣科技大學自動化及控制研究所碩士論文, 2005.
    [19]楊文賢, “長行程奈米精度之氣壓-壓電混合精密伺服XYZ三軸定位系統設計與智慧型控制,” 國立臺灣科技大學自動化及控制研究所碩士論文, 2006.
    [20]J. M. Tenenbaum, ‘‘Accommodation in computer vision,’’ PhD Dissertation, Stanford Univ., 1970.
    [21]M. Charfi, A. Nyeck, A. Tosser, “Focusing criterion,” IEE Electronics Letters, vol. 27, issue 14, pp. 1233-1235, July 1991.
    [22]N. Ahmed, T. Natarajan, and K. R. RAO, “Discrete Cosine Transform,” IEEE Transaction on Computer, Vol. C-23, Jan. 1974, pp.90-93.
    [23]Zhongde Wang, “Fast Algorithms for the Discrete W Transform and for the Discrete Fourier Transform,” IEEE Transactions on Acoustics, Speech, and Signal Processing, Vol. ASSP-32, No. 4, August 1984.
    [24]Z. Wang ,and B. R. Hunt, “The discrete cosine transform-A new version,” in Proc. Int, Conf. Acoust., Speech, Sinal Processing, 1983.
    [25]A. K. Jain, “A sinusoidal family of unitary transform,” IEEE Transaction Pattern Anal. Mach. Intell., vol. PAMI-1, pp. 356-365, 1979.
    [26]Vladimir Britanak, Patrick C. Yip, and K. R. Rao, “Discrete Cosine and Sine Transforms,” ELSEVIER, Great Britain, 2007.
    [27]J. Baina, and J. Dublet, “Automatic Focus and Iris Control for Video Cameras,” IEEE Fifth International Conference on Image Processing and its Application, pp.232-235, 4-6 July 1995.
    [28]Kengo Konnai, and Yasushi Hoshino, “Method of Capturing Image of Object Passing through Focus Area,” Proc. of SPIE vol. 4038, pp. 86-94, 2001.
    [29]Xie Pan, Zhang Li, Kang Zongming, and Xie Shigen, “Window scale-based automatic focus algorithm using DCT transformation,” Qinghua Daxue Xuebao/Journal of Tsinghua University, 43 (1), pp. 55-58, 2003.
    [30]Li Qi, Feng Huajun, and Xu Zhihai, “Auto-focus Apparatus with Digital Signal Processor,” Proceedings of SPIE Vol. 5633, pp. 416-423, 2005.
    [31]S. Y. Lee, S. S. Park, C. S. Kim, Y. Kumar, and S. W. Kim, “Low-power Auto Focus Algorithm Using Modified DCT for The Mobile Phones,” IEEE International Conference on Consumer Electronics, art. no. 1598313, pp. 67-68, 2006.
    [32]Matej Kristan, Janez Pers, Matej Perse, and Stanislav Kovacic, “A Bayes-spectral-entropy-based measure of camera focus using a discrete cosine transform,” ELSEVIER Pattern Recognition Letters, pp. 1431-1439, 2006.
    [33]Chun-Hung Shen and Homer H. Chen, “Robust Focus Measure for Low-Contrast Images,” IEEE International Conference Consumer Electronics, pp. 69-70, 2006.
    [34]Kang-Sun Choi, and Jun-Suk Lee, and Sung-Jae Ko, “New Autofocusing Technique Using the Frequency Selective Weighted Median Filter for Video Cameras,” IEEE Transaction on Consumer Electronics, Vol. 45, No. 3, 1999.
    [35]Ng Kuang Chern, N., Poo Aun Neow, M. H. Ang Jr., “Practical Issues in Pixel-Based Autofocusing for Machine Vision,” IEEE International Conference on Robotics and Automation, 2001.
    [36]R.C. Gonzalez and R.E. Woods, “Digital Image Processing,” 2nd Edition, Prentice Hall, New York, 2002.
    [37]V. F. Leavers, “SURVEY Which Hough Transform?,” CVGIP: Image Understanding, Vol. 58, No.2, pp.250-264, 1993.
    [38]Heikki Kalviainen, Petri Hirvonen, Lei Xu, and Erkki Oja, “Probabilistic and Non-probabilistic Hough Transforms: Overview and Comparisons,” Image and Vision Computing, Vol. 13, No. 4, pp. 239-252, 1995.
    [39]R. O. Duda and P. E. Hart, “Use of The Hough Transformation to Detect Lines and Curves in Pictures,” Communications of the ACM 15 (1), pp. 11-15, 1972.
    [40]D. Ioannou, W. Huda, and A. F. Laine, “Circle recognition through a 2D Hough Transform and radius histogramming,” Image and Vision Computing 17 (1), pp. 15-26, 1999.
    [41]C. F. Olson, “Constrained Hough Transforms for Curve Detection,” Computer Vision and Image Understanding 73 (3), pp. 329-345, 1999.
    [42]Lei Xu, Erkki Oja ,and Pekka Kultanen, “A new curve detection method: Randomized Hough transform (RHT),” Pattern Recognition Letters, Vol. 11, Issue 5, pp. 305-378, 1990.
    [43]Teh-Chuan Chen ,and Kuo-Liang Chung, “An Efficient Randomized Algorithm for Detecting Circles,” Computer Vision and Image Understanding, Vol. 83, Issue 2, pp.172-191, 2001.
    [44]P. Tissainayagam ,and D. Suter, “Object Tracking in Image Sequences using Point Features,” Pattern Recognition, p.p. 105-113, 2005.
    [45]Zhi-Qiang Hou and Chong-Zhao Han, “A Survey of Visual Tracking,” ACTA Automatica SINICA, Vol. 32, No. 4, 2006.
    [46]Toshimitsu Kaneko and Osamu Hori, “Feature Selection for Reliable Tracking using Template Matching,” IEEE Computer Society Conference on CVPR, 2003.
    [47]J. F. Canny, “A Computational Approach to Edge Detection,” IEEE Transaction on Pattern Analysis and Machine Intelligence, p.p. 679-698, 1986.
    [48]S. Smith and J. Brady, “SUSAN – A New Approach to Level Image Processing,” International Journal of Computer Vision, p.p.45-78, 1997.
    [49]Benedicte Bascle and Rachid Deriche, “Region Tracking Through Image Sequences,” IEEE International Conference of Computer Vision, p.p. 302-307, 1995.
    [50]Dorin Comaniciu, Visvanathan Ramesh, and Peter Meer, “Kernel-Based Object Tracking,” IEEE Transaction on Pattern Analysis and Machine Intelligence, Vol. 25, NO.5, 2003.
    [51]Iain Matthews, Takahiro Ishikawa, and Simon Baker, “The Template Update Problem,” IEEE Transaction on Pattern Analysis and Machine Intelligence, Vol. 26 , NO. 6, 2004.
    [52]V. I. Utkin, “Variable Structure System with Sliding Modes,” IEEE Trans. Automatic Control, Vol.AC-22, No.2. pp. 212-222, 1977.
    [53]J.-J. E. Slotine, “Sliding Controller Design for Nonlinear Systems,” Int. Journal of Control, Vol.40, No.2, pp.421-433, 1984.
    [54]Guang-Chyan Hwang and Shih-Chang Lin, “A Stability Approach to Fuzzy Control Design for Nonlinear System,” Fuzzy Sets and Systems, 48 (3), pp. 279-287, 1992.
    [55]J. -J. E. Slotine and J. A. Coetsee, “Adaptive sliding controller synthesis for non-linear systems,” International Journal of Control, 43 (6), pp. 1631-1651, 1986.
    [56]P.A. Ioannou, and J. Sun, “Robust Adaptive Control,” Prentice Hall, 1996.
    [57]H. P. Whitaker, J. Yamron, and A. Kezer, “Design of Model Reference Adaptive Control Systems for Aircraft,” Report R-164, Instrumentation Laboratory, M. I. T. Press, Cambridge, Massachusetts, 1958.
    [58]A. S. Morse, “Global Stability of Parameter Adaptive Control Systems,” IEEE Transactions on Automatic Control, Vol. 25, pp. 433-439, 1980.
    [59]韓曾晉, “適應控制系統,” 科技圖書股份有限公司, 1992.
    [60]J. Chen, D. M. Dawson, W. E. Dixon, and A. Behal, “Adaptive Homography-Based Visual Servo Tracking,” IEEE International Conference on Intelligent Robots and Systems, Volume 1, pp. 230 - 235, 2003.
    [61]劉咏龍, “適應性視覺伺服控制之機械手臂應用,” 國立中央大學電機工程研究所碩士論文, 2003.
    [62]江茂雄, “液氣壓伺服控制講義,” 2005.
    [63]趙德偉, “影像伺服控制於氣壓伺服定位之研究,” 國立臺灣科技大學自動化及控制研究所碩士論文, 2006.
    [64]David Forsyth, and Jean Ponce, “Computer Vision:A Modern Approach”, Prentice Hall, 2003.
    [65]蘇彥熒, “使用於金氧半影像感測器之平行處理遞迴式12位元類比數位轉換器,” 國立成功大學電機工程學系碩士論文, 2005.
    [66]Christopher G. Relf, “Image Acquisition and Processing with Labview,” CRC Press, 2003.
    [67]“B/W CCD Camera Model CS8550Di Operation Manual,” Toshiba Teli Corporation.
    [68]“IMAQ PCI-1410 User Manual,” National Instructions, 2005.
    [69]蔡朝洋, “單晶片微電腦8051/8751原理與應用,” 全華科技圖書股份有限公司, 三板十一刷, 民國88年.
    [70]Mario A. Bueno-lbarra, “Fast AutoFocus Algorithm for Automated Microscopes,” SPIE Optical Engineering, 44(6), 2005.
    [71]沈俊宏, “數位相機上的自動對焦與自動白平衡演算法,” 國立台灣大學電信工程研究所碩士論文, 2006.
    [72]Larson Edwards, “Elementary Linear Algebra,” 4th Edition, Houghton Mifflin, 2000.
    [73]郭騰凱, “在複雜背景下以強健視覺伺服為基礎可自動調變倍率之頭部追蹤系統,” 國立台灣大學電機工程研究所碩士論文, 2002.
    [74]A. Peleg, and U. Weiser, “MMX Technology Extension to the Intel Architecture ,” IEEE Micro 16 (4), pp. 42-50, 1996.
    [75]江茂雄, “控制系統分析與設計講義,” 2005.
    [76]Charles L. Phillips, John M. Parr, and Eve A. Riskin, “Signal, Systems, and Transforms,” Prentice Hall, 3rd Edition, 2003.
    [77]J.-J. E. Slotine, and W. Li, “Applied Nonlinear Control,” Prentice-Hall, Englewood Cliffs, New Jersey, 1991.
    [78]郭有順, “不確定時變系統之適應控制研究,” 國立台灣科技大學機械工程研究所博士論文, 2001.
    [79]Mao-Hsiung Chiang, Chung-Chieh Chen, and Tan-Ni Tsou, “Large Stroke and High Precision Pneumatic-Piezoelectric Hybrid Positioning Control using Adaptive Discrete Variable Structure Control,” ELSEVIER Mechatronics, Vol. 15, pp. 523-545, 2005.

    無法下載圖示 全文公開日期 2012/07/24 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)
    全文公開日期 本全文未授權公開 (國家圖書館:臺灣博碩士論文系統)
    QR CODE