簡易檢索 / 詳目顯示

研究生: 梁勝昌
Sheng-Chang Liang
論文名稱: 應用立體視覺結合機械手臂於移動式載具電池抽換之研究
Battery Exchange of Mobile Vehicles Using a Stereo Vision Based Robotic Arm System
指導教授: 林紀穎
Chi-Ying Lin
口試委員: 林其禹
Chyi-Yeu Lin
郭重顯
Chung-Hsien Kuo
學位類別: 碩士
Master
系所名稱: 工程學院 - 機械工程系
Department of Mechanical Engineering
論文出版年: 2010
畢業學年度: 98
語文別: 中文
論文頁數: 114
中文關鍵詞: 立體視覺影像處理機械手臂嵌入式系統電池交換系統
外文關鍵詞: Stereo vision, Image Processing, Robot Arm, Embedded System, Battery
相關次數: 點閱:135下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本研究旨在應用立體視覺結合機械手臂於移動式載具電池抽換之研究。由於一般在電動載具使用上都有電源持續問題,因此使得載具在沒電時只能以充電或更換電池方式來補充能源,而以充電方式其最大缺點在於充電時電動載具無法持續使用,若以手動更換方式對於使用者在使用上非常不便。近幾年來有產業研發了自動電池交換站解決載具續航問題,但定位電動載具電池位置的方式是使用固定軌道機構加以定位,如此一來只能在特定款式下的車種才能使用。有鑑於此,我們應用立體視覺特性並結合機械手臂來達成電池定位與抽換,其技術是先透過攝影機所擷取圖像經影像處理方式得到電池特徵在影像中的位置,接著由立體視覺演算法定位出電池在空間中的三維座標,並將電池座標傳送於機器手臂系統,經由運動學計算出手臂所需轉動的角度,使得手臂末端到達電池插槽中心位置進行新舊電池抽換動作。因此本文在影像處理上對於使用辨識電池特徵的演算法進行探討;在立體視覺上我們介紹攝影機成像模型以及對於鏡頭產生畸變的補償方法,並建立一個雙眼立體視覺的模型;在抽換電池上我們使用三個自由度的機械手臂來達成目的,並對於機械手臂運動學、軌跡規劃及控制方式進行探討;在系統實現上我們分別以TMS320DMDK642嵌入式平台實現影像及立體視覺相關演算法,以及使用TMS320C6713DSK 嵌入式平台實現機械手臂控制演算法,並完成整合視覺及手臂控制二個系統。最後針對立體視覺定位及機械手臂軌跡追蹤實驗結果進行探討,實驗結果證明本研究以立體視覺結合機械手臂方法達成載具電池的定位及更換是可行的。


    This thesis presents battery exchange of mobile vehicles using a stereo vision based robotic arm system. As widely recognized, power source and maintain is always an important issue in electronic power vehicles such as intelligent wheelchairs or autonomous vehicles. One common solution is exchanging and charging the battery artificially. However, the biggest problem of battery charging is that the mobile vehicle can not be used continuously during the charging process. On the other hand, it is very inconvenient for users such as elderly or disabled people to exchange the battery. Motivated by these facts, establishing an automatic battery exchange station becomes an attractive solution and starts showing up in the market recent years. Nevertheless, there still exist several problems if using the battery exchange station. For example, the vehicle has to be guided on a fixed track to finish the task, increasing the complexity of the whole system. Moreover, the station is usually limited to specific type vehicles. Because of these problems, we apply the stereo vision technique on a robot arm to achieve battery exchange tasks. At first, the characteristic representing the position of the battery in the image captured by the camera is recognized by using image processing algorithms. Second, the three-dimensional coordinate of the battery is determined by using the stereo vision algorithm and sent to the self-designed three degree-of-freedom robot arm. Next, the kinematics is applied to calculate the required rotation angle of the motors. The robot arm finally reaches the center of the battery for battery exchanging task. This study introduces the pinhole camera model and the lens distortion compensation method to build the stereo vision model. The applied kinematics, trajectory planning and control approach are provided with details. For system implementation, this research uses TMS320DMDK642 and TMS320C6713DSK embedded platforms to realize the stereo vision and the robot arm control algorithms, respectively. Experimental results demonstrate that the battery exchange using stereo vision integrated with a robot arm is feasible.

    摘要 I Abstract II 致謝 IV 目錄 V 圖目錄 VIII 表目錄 XII 1 緒論 1 1.1 前言. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 研究動機與目的. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 文獻回顧. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 論文架構. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 系統設備架構 8 2.1 攝影機. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2 機械手臂. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.3 筆記型電腦. . . . . . . . . . . . . . . . . . . . . . .. . . . . . . 15 2.4 DSP開發平台. . . . . . . . . . . . . . . . . . . . . .. . . . . . . . 15 2.4.1 TMS320C6713DSK架構. . . . . . . . . . . . . . . . . . . . . . . . . 18 2.4.2 UART介面轉換卡與擴充卡. . . . . . . . . . . . . . . . . . . . . . . 21 2.4.3 TMS320DMDK642架構. . . . . . . . . . . . . . . . . . . . . . . . . 22 3 機械手臂運動分析與控制 27 3.1 機械手臂運動分析. . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.1.1 機械手臂座標系統. . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.1.2 直接運動學(Direct Kinematics) . . . . . . . . . . . . . . . . . . . 30 3.1.3 反向運動學(Inverse Kinematics) . . . . . . . . . . .. . . . . . . . 35 3.1.4 微分運動學(Differential Kinematics) . . . . . . . . . . . . . . . . 36 3.1.5 軌跡規劃(Trajectory Planning) . . . . . . . . . . . . . . . . . . . 43 3.2 影像伺服控制. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.2.1 影像伺服控制迴路. . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.2.2 攝影機架設型態. . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.2.3 穩定性分析. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 4 數位影像處理 52 4.1 電池特徵與形心計算. . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.1.1 電池特徵. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.1.2 電池形心計算. . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.2 數位影像格式. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 4.3 影像處理演算法. . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 4.3.1 顏色濾波. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.3.2 影像二值化(Binary Image) . . . . . . . . . . . . . . . . . . . . . 56 4.3.3 形態學(Morphology) . . . . . . . . . . . . . . . . . . . . . . . . 57 4.3.4 標誌形心計算. . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 5 攝影機模型與立體視覺建立 60 5.1 立體視覺特性. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 5.2 攝影機模型. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 5.2.1 攝影機成像原理. . . . . . . . . . . . . . . . . . . . . . . . . . . 61 5.2.2 畸變現象(Distortion) . . . . . . . . . . . . . . . . . . . . . . . 63 5.2.3 目標物三維座標重建. . . . . . . . . . . . . . . . . . . . . . . . . 66 5.3 攝影機校正. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6 實驗結果與討論 73 6.1 機械手臂軌跡運動實驗. . . . . . . . . . . . . . . . . . . . . . . . . 73 6.1.1 微分運動學架構. . . . . . . . . . . . . . . . . . . . . . . . . . . 73 6.1.2 分解速度法. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.1.3 機械手臂軌跡追蹤之實驗結果討論. . . . . . . . . . . . . . . . . . . 85 6.2 影像處理與立體視覺定位實驗. . . . . . . . . . . . . . . . . . . . . . 86 6.3 抽取電池盒實驗. . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 7 結論與未來研究目標 91 7.1 結論. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 7.2 未來研究目標. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

    [1] C. H. Kuo, H. L. Huang and M. Y. Lee. Development of agent-based autonomous
    robotic wheelchair control systems. Biomedical Engineering Applications
    Basis Communications, vol. 15, no. 6, pp 223-234, 2003.
    [2] C. Hofner and G. Schmidt. Path planning and guidance techniques for an
    autonomous mobile cleaning robot. Robotics and Autonomous Systems, vol.
    14, no. 2-3, pp 199-212, 1995.
    [3] 吳威德. 具自我保護功能之機器人設計與實現. 南台科技大學電機工程系,
    2005.
    [4] R. Cassinis, F. Tampalini, P. Bartolini and R. Fedrigotti. Docking and charging
    system for autonomous mobile robots. Department of Electronics for
    Automation, University of Brescia, Italy, 2005.
    [5] M. C. Silverman, D. Nies, B. Jung and G. S. Sukhatme. A docking station
    for autonomous robot recharging. Proceedings of IEEE International Conference
    on Robotics and Automation, vol. 1, pp 1050-1055, 2002.
    [6] R. C. Luo, C. T. Liao, K. L. Suand and K. C. Lin. Automatic docking and
    recharging system for autonomous security robot. 2005 IEEE/RSJ International
    Conference on Intelligent Robots and Systems, 2005.(IROS 2005),pp
    2953-2958, 2005.
    [7] Inskey Energy Technology Co.. Ltd.. Ev battery exchange. 2009.
    [8] Better Place. Battery switch stations. 2009.
    94
    [9] Y. C.Wu,M. C. Teng and Y. J. Tsai. Robot docking station for automatic battery
    exchanging and charging. Proceedings of the 2008 IEEE International
    Conference on Robotics and Biomimetics, pp 1043-1046, 2009.
    [10] HONDA. ASIMO. 2000.
    [11] C. Y. Tsai and K. T. Song. Dynamic visual tracking control of a mobile
    robot with image noise and occlusion robustness. Image Vision Comput, vol.
    27, no. 8, pp 1007-1022, 2009.
    [12] R. C. Luo, T. Y. Lin and K. L. Su. Multisensor based security robot system
    for intelligent building. Robotics and Autonomous Systems, vol. 57, no. 3,
    pp 330-338, 2009.
    [13] R. C. Luo, C. H. Tsai, C. C. Lai and C. M. Chang. Autonomous security
    robot services using eye-in-hand visual servo system. IEEE Workshop on
    Advanced robotics and Its Social Impacts, 2008. ARSO 2008, pp 1-6, 2008.
    [14] C. H. Chao, B. Y. Hsueh, M. Y. Hsiao, S. H. Tsai and T. H. S. Li. Fuzzy
    Target Tracking and Obstacle Avoidance of Mobile Robots with a Stereo
    Vision System. International Journal of Fuzzy Systems, vol. 11, no. 3, pp
    183–191, 2009.
    [15] N. Vahrenkamp, S. Wieland, P. Azad, D. Gonzalez, T. Asfour and R. Dillmann.
    Visual servoing for humanoid grasping and manipulation tasks. Humanoid
    Robots, pp 406-412, 2008.
    [16] C. Ott, O. Eiberger, W. Friedl, B. Bauml, U. Hillenbrand, C. Borst, A. Albu-
    Schaffer, B. Brunner, H. Hirschmuller, S. Kielhofer and others. A humanoid
    two-arm system for dexterous manipulation. 2006 6th IEEE-RAS International
    Conference on Humanoid Robots, pp 276-283, 2006.
    95
    [17] K. Okada, M. Kojima, S. Tokutsu, T. Maki, Y. Mori and M. Inaba. Multicue
    3D object recognition in knowledge-based vision-guided humanoid robot
    system. IEEE/RSJ International Conference on Intelligent Robots and Systems
    (IROS), pp 3217-3222, 2007.
    [18] T. Asfour, P. Azad, N. Vahrenkamp, K. Regenstein, A. Bierbaum, K. Welke,
    J. Schroder and R. Dillmann. Toward humanoid manipulation in humancentred
    environments. Robotics and Autonomous Systems, vol. 56, no. 1,
    pp 54-65, 2008.
    [19] PFMGroup. Robot confezionamento ortofrutta. 2002.
    [20] SENTECH. STC-630 user’s manual.
    [21] KOWA. LM6NCL user’s manual.
    [22] Robotis. RX-64 user’s manual.
    [23] Texas Instruments Inc. TMS320C6713DSK technical reference. 2001.
    [24] Tony You. UART cards technical reference. 2008.
    [25] ATEME. DMDK642 user’s manual. 2004.
    [26] Texas Instruments Inc. TMS320DM642 technical reference. 2001.
    [27] M. W. Spong, S. Hutchinson and M. Vidyasagar. Robot modeling and control.
    Wiley New Jersey, 2006.
    [28] J. J. Craig. Introduction to robotics: mechanics and control. Addison-Wesley
    Reading, MA, 1986.
    [29] C. L. Shih. Lecture of Robotics. 2008.
    96
    [30] R. H. Bartels, J. C. Beatty and B. A. Barsky. An introduction to splines for
    use in computer graphics and geometric modeling. Morgan Kaufmann Pub,
    1987.
    [31] S. Hutchinson, G. D. Hager and P. I. Corke. A tutorial on visual servo control.
    IEEE transactions on robotics and automation, vol. 12, no. 5, pp 651-
    670, 1996.
    [32] D. E. Whitney. Resolved motion rate control of manipulators and human
    prostheses. IEEE Transactions on Man-Machine Systems, vol. 10, no. 2, pp
    47-53, 1969.
    [33] Samus. HSV diagram for wikipedia HSV color model page. 2006.
    [34] Brianski. YUV colorspace for wikipedia. 2007.
    [35] 鍾國亮. 影像處理與電腦視覺. 東華書局, 2006.
    [36] R. Tsai. A versatile camera calibration technique for high-accuracy 3D machine
    vision metrology using off-the-shelf TV cameras and lenses. IEEE
    Journal of robotics and Automation, vol. 3, no. 4, pp 323–344, 1987.
    [37] Z. Zhang. A flexible new technique for camera calibration. IEEE Transactions
    on pattern analysis and machine intelligence, vol. 22, no. 11, pp
    1330-1334, 2000.
    [38] J. Weng, P. Cohen and M. Herniou. Camera calibration with distortion models
    and accuracy evaluation. IEEE Transactions on Pattern Analysis and
    Machine Intelligence, vol. 14, no. 10, pp 965-980, 1992.
    [39] Jean-Yves. Complete camera calibration toolbox for matlab. 2008.
    97
    [40] K. Hashimoto. A review on vision-based control of robot manipulators. Advanced
    Robotics, vol. 17, no. 10, pp 969-991, 2003.

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