研究生: |
李佳宏 Chia-Hung Lee |
---|---|
論文名稱: |
USB-Based運動控制介面之研製 Implementation of USB-Based Motion Control Interface |
指導教授: |
莊華益
Hua-Yi Chuang |
口試委員: |
蔡明忠
Ming-Jong Tsai 吳忠霖 John-Ling Wu |
學位類別: |
碩士 Master |
系所名稱: |
工程學院 - 自動化及控制研究所 Graduate Institute of Automation and Control |
論文出版年: | 2010 |
畢業學年度: | 98 |
語文別: | 中文 |
論文頁數: | 108 |
中文關鍵詞: | 運動控制 、通用序列匯流排 、現場可規劃邏輯閘陣列 、硬體描述語言 、即時性控制 |
外文關鍵詞: | motion control, USB, FPGA, VHDL, real-time control |
相關次數: | 點閱:353 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
運動控制器和電腦連接的介面一直是以ISA或是PCI BUS為主,因此,安裝時需打開外殼才能安裝。另外,這兩種介面也愈來愈少用於主機板上,而且筆記型電腦不能使用。然而,使用通用序列匯流排USB (Universal Serial Bus)介面即可改善上述的缺點。因為大部份的電腦都有此介面且具有隨插即用的特性,增加使用上的便利性及普及性。因此,開發USB-based運動控制介面為本論文研究的目的。
研究項目包括USB控制IC韌體設計,現場可規劃邏輯閘陣列FPGA(Field Programmable Gate Array) IC內部的硬體描述語言VHDL(Very High Speed Integrated Circuit Hardware Description Language)程式設計,類比-數位轉換器(ADC)與數位-類比轉換器(DAC)電路與印刷電路板設計,以及運動控制介面的驗證。還完成設計12位元、轉換頻率為20kHz的ADC與DAC各一組,並且進行即時性控制驗證。
實驗結果包括USB介面和外部的USB存取裝置做資料存取的功能。也完成可以同時控制三軸二相式步進馬達,以半步驅動方式進行正反轉控制及轉速檢測功能驗證。同時也完成可以同時控制六軸PWM驅動訊號之正反轉控制及轉速檢測功能驗證。
A motion controller and computer interface is commonly connected with an ISA or PCI BUS. Therefore, it needs to open the computer case to install the devices. Both two interfaces are becoming increasingly less for a motherboard and not available for a notebook computer. However, an USB (Universal Serial Bus) interface can improve the shortcomings. Because most computers have such an interface which has a plug & play feature, it become convenient and popular for users. Therefore, the purpose of this study is to develop an USB-based control interface for motion control applications.
The study topics include USB control IC firmware design, FPGA (Field Programmable Gate Array) IC's internal VHDL (Very High Speed Integrated Circuit Hardware Description Language) programming, analog to digital converter (ADC) and digital to analog converter (DAC) circuit design, printed circuit board design and verification of the motion control interfaces. Both 12-bit ADC and DAC with conversion frequency of 20 kHz were implemented. A real-time control capability is also tested.
The experimental results include the data exchange of a computer and an USB accessible device through the USB interface. Three axes simultaneous control for a two-phase stepper motor with half step driving mode is also examined for reversible control and speed detection functions. Furthermore, a six axes simultaneous control with PWM driving signals is verified for both reversible control and speed detection functions.
[1] USB官方網站,http://www.usb.org/home,July 2010
[2] 許永和,“USB2.0 高速週邊裝置設計之實務應用”,台北市,全華,民95年
[3] 王成儒、李英偉,許永和校訂,“USB2.0原理與研發技術” ,台北市,全華,民95年
[4] 郭士秋,“USB 2.0 理論與規範”,台北市,儒林,民94年
[5] 菙勝源,“單晶片MCS-51與C語言入門實習”,台北市,宏友,民91年
[6] Cypress Semiconductor corporation “CY7C68013A/CY7C68014A/ CY7C68015A/ CY7C68016A EZ-USB FX2LPTM USB Microcontroller High-Speed USB Peripheral Controller”, San Jose, CA, U.S.A., Cypress, 2008.
[7] 林育廷,“FPGA電路開發日誌”,台科大機械系電機控制實驗室,民90年
[8] Xilinx, “Spartan-II 2.5v FPGA Family: Introduction and ordering Information”,Xilinx.com.tw,2003.
[9] 陳丁再編譯,“A/D轉換器入門”,台北市,全華,民84年
[10] 黃煌翔,“介面技術與週邊設備” ,台北市,全華,民92年
[11] 王俞允,“PADS PCB高速電路設計.電路板篇”,台北市,碁峰資訊,民96年
[12] National Semiconductor corporation “LM111/LM211/LM311 Voltage Comparator”, Arlington, TX, U.S.A., National Semiconductor, 1995.
[13] 陳東敏等編譯,“數位訊號處理導論”,台北市,全華,民88年
[14] 唐佩忠,“VHDL與數位邏輯設計”,台北市,高立,民88年
[15] 林灶生、劉紹漢,“VHDL晶片設計:使用ISE、MODELSIM發展系統”,台北市,全華,民93年
[16] 余明興、吳明哲、黃世陽、黃豊隆、紀旺忪、潘能煌,”Borland
C++ Builder 6程式設計經典”,台北市,文魁資訊,民93年