研究生: |
高智仁 Chih-Jen Kao |
---|---|
論文名稱: |
實現以USB為基礎的高速資料擷取裝置 Implementing high-speed data acquisition equipment base on USB |
指導教授: |
許孟超
Mon-Chau Shie |
口試委員: |
梁文耀
Wen-Yew Liang 阮聖彰 Shanq-Jang Ruan |
學位類別: |
碩士 Master |
系所名稱: |
電資學院 - 電子工程系 Department of Electronic and Computer Engineering |
論文出版年: | 2009 |
畢業學年度: | 97 |
語文別: | 中文 |
論文頁數: | 67 |
中文關鍵詞: | 資料擷取 、通訊協定 、端點 、重新列舉 |
外文關鍵詞: | NRZI, EZ-USB FX2, Slave FIFO, SDCC |
相關次數: | 點閱:185 下載:4 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
從1999年USB 2.0標準發佈後,憑藉著方便性和高速的傳輸,至今USB 2.0幾乎已成為PC與周邊溝通必備的標準介面。目前以PC為架構之USB介面的資料擷取裝置,大多有高成本與低彈性的缺點,如果可以藉由USB的普及性和高速傳輸的優點,自主開發以USB通訊介面為基礎的資料擷取裝置,相信可以解決高成本與低彈性的缺點。
本論文將使用Cypress半導體公司之EZ-USB FX2晶片為主的USB開發板作為與PC之間的通訊介面,而利用Altera公司的CPLD 為核心的AD/IO擴充電路產生出所要擷取的波形資料,實作出具備高速傳輸的資料擷取裝置。軟體方面著重在EZ-USB FX2韌體的自主開發,將發展出一組基礎函式庫以供撰寫各種韌體所需,並在Linux平台下完成所有韌體的開發程序,最後於Windows下將撰寫圖形化的應用程式以展示EZ-USB FX2所擷取到的波形資料。
在整篇論文中,首先會概括說明USB通訊協定,EZ-USB FX2晶片特性和硬體架構平台,並且介紹如何利用EZ-USB FX2之Slave FIFO來達成與CPLD間的高速資料傳輸,最後將描述韌體的設計並展示具圖形化的視窗程式的測試結果。
USB 2.0 standard is published in 1999, with the convenience and high-speed transmission, USB 2.0 now has become an essential communication standard between PC and peripheral interface. Currently, PC-based data acquisition equipments are almost high-cost and low flexibility. If we take the advantage of the popularity and high-speed transmission and develop the firmware of USB Soc by self, it is believed that can solve the shortcomings.
This thesis will adopt USB 2.0 development board, base on EZ-USB FX2 Soc, use the CPLD AD/IO board for generate the datum of waveform and implement of high-speed data acquisition equipment.
We will focus on the self-developed EZ-USB FX2 firmware. First, make a basic library for building variety of different types of firmware use. All the making firmware procedures are using free/open source software on linux platform and demonstrate the research result using GUI program on Windows platform.
The thesis will briefly first describe the USB protocol, architecture of EZ-USB FX2 Soc and how to use the Slave FIFO mode of EZ-USB FX2 to transmission with CPLD.
[1] Universal Serial Bus Revision 2.0 specification,
http://www.usb.org/developers/docs/
[2] USB Wiki, http://en.wikipedia.org/wiki/USB
[3] CY7C68013A Datasheets, http://www.cypress.com/?rID=14181
[4] EZ-USB Technical Reference Manual,
http://www.cypress.com/?rID=14667
[5] Cypress Knowledge Base,
http://www.cypress.com/?id=4&rtID=118&source=header
[6] 許永和,USB2.0高速週邊裝置設計之實務應用,全華科技圖書公司,95年12月
[7] Bi Bo, Sun Shuying and Wang Chunping,“Design of Data Acquisition Equipment Based on USB”, Electronic Measurement and Instruments, ICEMI '07. 8th International Conference. pp.1-866 - 1-869, 2007
[8] USB in a NutShell, http://www.beyondlogic.org/usbnutshell/usb1.htm
[9] SDCC Manual, http://sdcc.sourceforge.net/doc/sdccman.pdf
[10] 8051 Microcontroller Instruction Set,
http://www.atmel.com/dyn/resources/prod_documents/doc0509.pdf
[11] 8051 Microcontrollers Hardware Manual,
http://www.atmel.com/dyn/resources/prod_documents/doc4316.pdf
[12] C51 Application Notes, http://www.keil.com/appnotes/list/c51.htm
[13] Open OpenUSB project, http://sourceforge.net/projects/openusb/
[14] Linux USB Project, http://www.linux-usb.org/
[15] Programming Guide for Linux USB Device Drivers,
http://www.lrr.in.tum.de/Par/arch/usb/usbdoc/
[16] Jan Axelson,“USB Complete: Everything You Need to Develop Custom USB Peripherals”,
http://books.google.com.tw/books?id=OSnynlQrvVcC&printsec=frontcover
[17] D. Delorie,“Easy R8C/M16C/M32C Flash Programming”, 2008,
http://people.redhat.com/dj/m32c/flash-guide.pdf
[18] D. Delorie,“USB GPIO Project Page”,
www.delorie.com/electronics/usb-gpio
[19] D. Delorie,“Construct a USB GPIO Pod (Part 1)”, Circuit Cellar Maagzine, pp.16-23, April.2009
[20] D. Delorie,“Construct a USB GPIO Pod (Part 2)”, Circuit Cellar Maagzine, pp.24-45, May.2009
[21] FIFO memory chip, IDT7205 datasheets
http://www.idt.com/products/getDoc.cfm?docID=18694116