| 研究生: |
張晏仁 Chang, Yan-Ren |
|---|---|
| 論文名稱: |
嵌入式系統之通用序列匯流排控制器排程最佳化演算法 The USB Host Controller Scheduling Optimization on Embedded System |
| 指導教授: |
楊中平
Young, Chung-Ping |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 資訊工程學系 Department of Computer Science and Information Engineering |
| 論文出版年: | 2005 |
| 畢業學年度: | 93 |
| 語文別: | 英文 |
| 論文頁數: | 79 |
| 中文關鍵詞: | 即時排程 、嵌入式系統 、通用序列匯流排 、EHCI 、通用序列匯流排控制器 |
| 外文關鍵詞: | EHCI, USB, Embedded System, Real-time Scheduling, USB Host controller |
| 相關次數: | 點閱:85 下載:2 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
隨著USB介面日益地受到重視與應用,幾乎所有的PC主機週邊設備,以及消費性電子產品已逐漸將USB介面列為必備甚至是唯一的介面。由於USB2.0的擴充,傳輸的速率可以高達480Mb/s。USB簡化了主機硬體與周邊設備的聯結,且支援不同型態的資料傳輸,像是即時性、非即時性的資料交換。然而USB標準中只簡略的定義資料傳輸容量的限制,對於保證不同USB周邊的傳輸品質卻是比較少討論,也沒有一個有效的機制來加強傳輸頻寬的保留。在本篇論文中,將提出一個USB頻寬保留的演算法,針對同步傳輸以及中斷傳輸做排程,透過事先將USB頻寬有效的分配,可以提高USB周邊頻寬要求的接受率,且降低每一次傳輸系統需要尋找傳輸點的延遲性,進而達到即時性的傳輸。排程演算法實做在Linux上,最後利用USB喇叭以及USB螢幕來測試整體的效能。
As the USB interface has been paid much attention to and been put to use day by day, almost all the peripheral equipments of personal computer and the consuming electronic products have gradually considered USB interface as indispensable or even the only interface for computer systems. With the extension of USB2.0, the transferring speed now can be up to 480MB/s. USB not only simplized the connections between host and peripherals, but also supported transferring for various types of data, such as real-time and non-real-time data communication. However, the USB specification defines approximately the limitations for the data transfer capacity. Little work has done to QoS for different peripherals and it also lack for an efficient mechanism to enforce transfer bandwidth guarantees. In this paper, I will propose an algorithm for USB bandwidth guarantee, and schedule the isochronous and interrupt transfers. Through effective allocation for USB bandwidth, we may raise the acceptance ratio of bandwidth demands of USB peripherals, lower the latency caused by the system finding nodes every transmission, and then achieve the real-time transfer. The scheduling algorithm will be implemented on Linux, and we will use USB speaker and USB LCD to evaluate the performance.
[1] C. L. Liu and J. W. Layland, “Scheduling Algorithms for Multiprogramming in a Hard Real-Time Environment” JACM, Vol. 20, No. 1, pp. 46-61, January 1973
[2] Chih-Yuan Huang,Li-Pin Chang, and Tei-Wei Kuo. "A Cyclic-Executive-Based QoS Guarantee over USB." In IEEE 9th Real-Time and Embedded Technology and Applications Symposium, pp. 88 – 95, 2003
[3] Chih-Yuan Huang,Li-Pin Chang, and Tei-Wei Kuo . “QoS Support for USB 2.0 Periodic and Sporadic Device Requests.” In 25th Real-Time Systems Symposium, pp. 395 – 404, 2004.
[4] “Universal Serial Bus Specification, Revision 1.1” ,http://www.usb.org/
[5] “Universal Serial Bus Specification, Revision 2.0” ,http://www.usb.org/
[6] “Universal Host Controller Interface (UHCI) Design Guide, Revision 1.0” ,Intel,http://www.intel.com/
[7] “OpenHCI Open Host Controller Interface Specification for USB , Revision 1.0” , Compaq, Microsoft, and National Semiconductor,
[8] “Enhanced Host Controller Interface Specification for Universal Serial Bus, Revision 1.0” ,Intel,http://www.intel.com/
[9] “Universal Serial Bus Device Class Definition for Audio Devices, Revision 1.0” ,http://www.usb.org/
[10] “Universal Serial Bus Device Class Definition for Terminal Types, Revision 1.0” , http://www.usb.org/
[11] “Universal Serial Bus Device Class Definition for Audio Data Formats, Revision 1.0” , http://www.usb.org/
[12] “EZ-USB FX Technical Reference Manual” , Cypress Semiconductor , http://www.cypress.com/
[13] “EZ-USB FX2 Technical Reference Manual”, Cypress Semiconductor , http://www.cypress.com/
[14] “Anchor EZ-USB Frameworks” , Cypress Semiconductor , http://www.cypress.com/
[15] “EZ-USB General Purpose Driver Specification” , Cypress Semiconductor , http://www.cypress.com/
[16] “Nios Development Board Reference Manual, Stratix Edition” , ALTERA , http://www.altera.com/
[17] “Stratix II EP2S60 DSP Development Board” , ALTERA , http://www.altera.com/
[18] “3.3V CMOS Static RAM 4 Meg (256K x 16-Bit) IDT71V416S Data Sheet” , IDT , http://www.idt.com/
[19] “FMS3818 Triple Video D/A Converters” , FAIRCHILD SEMICONDUCTOR , http://www.fairchildsemi.com/