簡易檢索 / 詳目顯示

研究生: 陳浥菁
Chen, Yi-Jing
論文名稱: 自走車DSP嵌入式影像系統之實現
A DSP-based Imaging System for a Mobile Robot
指導教授: 周榮華
Chou, Jung-Hua
學位類別: 碩士
Master
系所名稱: 工學院 - 工程科學系
Department of Engineering Science
論文出版年: 2006
畢業學年度: 94
語文別: 英文
論文頁數: 73
中文關鍵詞: 影像處理CMOS影像感測器數位信號處理器視覺系統嵌入式系統
外文關鍵詞: CMOS image sensor, digital image processing, DSP, embedded system, vision system
相關次數: 點閱:128下載:7
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   在現實環境中,行動機器人需要接收外界的資訊以做出相對應的決策與反應,因此機器人需裝配各式感測器及系統以接收並解讀外界資訊。其中裝載於機器人上的視覺系統可以將外界的影像資訊傳回機器人系統核心進行影像處理及解讀,可將之應用在各種不同的需求上。

      本文旨在於發展一個基於DSP處理器的嵌入式彩色影像系統,並將之整合於行動機器人上。在硬體實現方面,本系統包含以CMOS彩色影像感測器PAS202BCA及圖框緩衝器所構成之附加子板做為影像擷取之前端模組,並以TMS320C6713 DSP為核心之DSK(DSP Starter Kit)發展板做為影像處理平台。在軟體實現方面,則包含系統時序控制、介面控制和影像前處理技術以得到品質優良的彩色影像。最後並將此系統整合在行動機器人上,可辨識紅綠燈的燈號顏色,或是偵測手掌移動方向,利用手掌的揮動控制機器人的行進動作。

      A mobile robot in real world needs to obtain environment information for its actions and response. Therefore, a mobile robot generally equips specific sensors to acquire environment information. In particular, the vision system is able to capture environment images, act as the robot's eye, and is able to be applied for different applications.

      The objective of this thesis is to develop a DSP-based embedded imaging system for a mobile robot. The implementation of the system consists of hardware implementation and software implementation. For the hardware implementation, the embedded imaging system is composed of a TMS320C6713 DSK board as the image process platform and a custom plug-in image acquisition daughter card which contains a CMOS image sensor PAS202BCA and a frame buffer. The software procedure contains the timing control, interfacing between system components, and image preprocessing to improve the image quality. The imaging system is integrated with a small mobile vehicle. Testing cases show that the mobile robot is able to recognize the traffic light signals and detect the palm movement for motion control, which examine and demonstrate that the imaging system developed in this thesis is indeed a stand-alone system and easy to be integrated with a mobile robot for more applications.

    中文摘要...........................I 第一章 緒論.......................II 第二章 系統架構...................III 第三章 影像系統設計...............IV 第四章 應用程式演算法.............V 第五章 結果與討論.................VI 第六章 結論.......................VII ABSTRACT...........................VIII 誌謝...............................IX 目錄...............................X 圖目錄.............................XIII 表目錄.............................XVI Chapter 1INTRODUCTION..............1 1.1 Motivation....................1 1.2 Literature Review.............1 1.3 Outline.......................3 Chapter 2 SYSTEM ARCHITECTURE.......4 2.1 System Overview...............4 2.2 DSP-based Image System........7  2.2.1 TMS320C6713 DSK...........7  2.2.2 PAS202BCA.................10  2.2.3 AL422B....................12  2.2.4 I2C Bus...................15 2.3 Small Mobile Robot............17  2.3.1 AT89C52...................18  2.3.2 Step Motor................18  2.3.3 Hardware Circuit..........19  2.3.4 Motion Control............21 Chapter 3 DSP-BASED IMAGING SYSTEM DESIGN...24 3.1 Introduction..................24 3.2 Image Acquisition Daughter Card Design..24  3.2.1 C6713DSK McBSP as GPIO..............24  3.2.2 PAS202BCA Control Circuit...........25  3.2.3 AL422B Control Circuit..............27  3.2.4 C6713DSK McBSP as UART..............31 3.3 Image Preprocessing.....................33  3.3.1 CFA Interpolation and Image Downsampling...33  3.3.2 Companding..........................37  3.3.3 Automatic White Balance (AWB).......39 3.4 ROM Boot Procedure of C6713 DSK.........42 Chapter 4 APPLICATION ALGORITHMS..............44 4.1 Introduction............................44 4.2 The Traffic Light Recognition...........44  4.2.1 Downsampling and Thresholding.......45  4.2.2 Image Labeling and Segmentation.....45  4.2.3 Traffic Light Color Determination...47 4.3 Palm Movement Detection.................47  4.3.1 Skin Color Detection and Segmentation...48  4.3.2 Noise Elimination...................49  4.3.3 Palm Movement Determination.........50 Chapter 5 RESULTS AND DISCUSSION..............51 5.1 Hardware Implementation.................51 5.2 Software Implementation.................52  5.2.1 Initialization Procedure of PAS202BCA...53  5.2.2 Image Acquisition Procedure.........54  5.2.3 Image Preprocessing Procedure.......55 5.3 Performance Analysis....................56 5.4 Implementation of Integrating with a Mobile Robot...58  5.4.1 The Traffic Light Recognition.......59  5.4.2 Palm Movement Detection.............63 Chapter 6 CONCLUSIONS AND SUGGESTIONS.........68 6.1 Conclusions.............................68 6.2 Suggestions.............................68 REFERENCE ....................................70 自述.........................................73

    [1] Yamazaki, K., Tomono, M., Tsubouchi, T., and Yuta, S., “Object Shape Reconstruction and Pose Estimation by a Camera Mounted on a Mobile Robot,” Proc. of 2004 IEEE/RSJ Int. Conf. on Intelligent Robots and Systems, vol. 4, pp. 4019-4025, 2004.
    [2] Song, K. T. and Chen, W. J., “Face Recognition and Tracking for Human-Robot Interaction,” IEEE Int. Conf. on Systems, Man and Cybernetics, vol. 3, pp. 2877-2882, 2004.
    [3] Guan, Z. B., “DSP Embedded System for Automatic License Plate Recognition,” Master Thesis, Institute of Electrical Engineering, National Taiwan University, 2001.
    [4] Chen, J. Y., “The Development and Study of DSP-based Image Acquisition System,” Master Thesis, Department of Engineering Science, National Cheng Kung University, 2004.
    [5] Zhang, Z. Y., “Design and Implementation for a Mobile Robot Tracing a Specific Target,” Master Thesis, Department of Engineering Science, National Taiwan University of Science and Technology, 2002.
    [6] H. Andrian and Song, K. T., “Embedded CMOS Imaging System for Real-Time Robotic Vision,” Proc. of IEEE/RSJ Int. Conf. Intelligent Robots and Systems, Edmonton, Alberta, Canada, pp.3694-3699, 2005.
    [7] Spectrum Digital Inc., “TMS320C6713 DSK Technical Reference,” Spectrum Digital Inc., 2004.
    [8] Texas Instrument, “TMS320C6713 Floating-Point Digital Signal Processor,” Texas Instrument, Literature no. SPRS186L, 2005.
    [9] Fossum, E. R., “CMOS Image Sensors: Electronic Camera-On-A-Chip,” IEEE Trans. Electron Devices, vol. 44, pp. 1689-1698, 1997.
    [10] PixArt, “PAS202BCA CMOS Image Sensor IC Datasheet V 2.2,” PixArt, 2002.
    [11] Bayer, B. E., “Color Imaging Array,” U.S. Patent 3971065, 1976.
    [12] AverLogic, “AL422 Data Sheets (Revision V1.1),” AverLogic, 2001.
    [13] Philips, “The I2C-bus Specification V2.1,” Philips, 2000.
    [14] Atmel Corporation, “8-bit Microcontroller with 8K Bytes Flash - AT89C52,” 2000.
    [15] Texas Instrument, “TMS320C6000 DSP Multichannel Buffered Serial Port (McBSP) Reference Guide,” Texas Instrument, Literature no. SPRU580C, 2004.
    [16] Texas Instrument, “TMS320C6000 DSP External Memory Interface (EMIF) Reference Guide,” Texas Instrument, Literature no. SPRU266A, 2003.
    [17] Castille, K., “TMS320C6000 EMIF to External FIFO Interface,” Texas Instrument, Literature no. SPRA543, 1999.
    [18] Hiers, T., Ma, R., Malleth, P., and Chen, S., “TMS320C6000 McBSP: UART,” Texas Instrument, Literature no. SPRA633B, 2004.
    [19] Jung, Y. H., Kim, J. S., Hur, B. S., and Kang, M. G., “Design of Real-Time Image Enhancement Preprocessor for CMOS Image Sensor,” IEEE Trans. on Consumer Electronics, vol. 46, pp. 68-75, 2000.
    [20] Weng, C. C., Chen, H., and Fuh, C. S., “A Novel Automatic White Balance Method for Digital Still Cameras,” IEEE Int. Symposium on Circuits and Systems, vol. 4, pp. 3801-3804, 2005.
    [21] Barnard, K., “Practical Colour Constancy,” PhD thesis, Simon Fraser University, School of Computing, pp. 21-23, 1999.
    [22] Durg, A. V. and Rashkovskiy, O., “Global White Point Detection and White Balance for Color Images,” U.S. Patent 6069972, 2000.
    [23] Daniel, K., Gangadhar, S., Mock, G., and Campbell, A., “Creating a Second-Level Bootloader for FLASH Bootloading on TMS320C6000 Platform With Code Composer Studio,” Texas Instrument, Literature no. SPAR999A, 2004.
    [24] Haralick, R. M. and Shapiro, L. G., “Computer and Robot Vision,” Addison-Wesley, pp. 28-48, 1992.
    [25] ITU-T, “CCIR Recommendation 601-2, Encoding Parameters of Digital Television for studios,” Recommendations of the CCIR, vol. XI, pp. 95-104, 1990.
    [26] Garcia, C., Tziritas, G., “Face Detection Using Quantized Skin Color Regions Merging and Wavelet Packet Analysis,” IEEE Trans. on Multimedia, vol. 1, pp. 264-277, 1999.
    [27] Gonzalez, R. C. and Woods, R. E., “Digital Image Processing,” Prentice Hall, pp.528-531, 2002.
    [28] Texas Instrument, “TMS320C62x Image/Vedio Processing Library Programmer’s Reference,” Texas Instrument, Literature no. SPRU400, 2003.

    下載圖示 校內:立即公開
    校外:2006-08-07公開
    QR CODE