研究生: |
蔡嘉育 CHIA-YU TSAI |
---|---|
論文名稱: |
應用Ethernet虛擬化RS-232序列埠之系統設計 Application of Ethernet for Virtual Serial Port RS-232 System Design |
指導教授: |
許孟超
Mon‐Chau Shie |
口試委員: |
阮聖彰
none 林昌鴻 none 吳晉賢 none |
學位類別: |
碩士 Master |
系所名稱: |
電資學院 - 電子工程系 Department of Electronic and Computer Engineering |
論文出版年: | 2010 |
畢業學年度: | 98 |
語文別: | 中文 |
論文頁數: | 69 |
中文關鍵詞: | 序列埠 、網路 、作業系統 、視窗驅動程式 、嵌入式硬體 |
外文關鍵詞: | RS-232, Windows Device Driver |
相關次數: | 點閱:213 下載:2 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
RS-232是美國電子工業聯盟(EIA)於1969年制定的序列資料通訊的介面標準,從過往數十年間至今仍扮演極為重要之通訊控制角色,舉凡各式自動控制設備或監控裝置,幾乎皆有其介面存在,並且是個人電腦PC與通訊控制工業應用上頗為廣泛的一種序列介面,然而受限於電器特性,RS-232介面被定義為一種在低速率序列通訊中增加通訊距離的單端標準,其應用多半使用於本地端 (Local)控制。
在網際網路興起後,遠端控制之應用與需求愈來愈普遍,工業界存在為數甚廣以RS-232介面為主之控制系統必須變更其原有軟硬體設計(甚至重新設計)方可銜接網際網路達成遠端控制之應用,對於某些既已存在的控制系統而言,相當於要替換掉整套系統,在實務上不符合成本效益,並非最佳策略。
因此本論文在視窗作業系統下實做一虛擬RS-232埠驅動程式,並以ARM-9平台實現Ethernet轉RS-232之嵌入式硬體,兩者組合成一無縫轉接系統(seamless adapter system),將RS-232埠通訊資料與Ethernet封包相互轉換傳遞,透過此一轉接系統可使過去原本使用RS-232介面之控制軟體及硬體裝置再利用,在無需變更任何原始設計的情況下,即可連結現代網路系統完成遠端監控之目的,使用者就如同過去在本地端使用實體RS-232介面控制硬體裝置一般便利。
The U.S. Electronic Industries Association (EIA) standard, RS-232, established in 1969 for serial data communication interface, from the past few decades, still plays an important role in the communication control covered the various types of automatic control equipment or monitoring devices. Furthermore, it is the most widely used as a serial interface in personal computer and communications industry. Limited by electrical properties, this interface is defined as a low-speed serial communication to increase distance single-ended standard applied mostly in a local control.
The rise of the Internet, the demands of remote control applications are more and more common in the industry. There is a wide number of RS-232 interface to the control system must be based changes to its original software and hardware design (or redesign) before convergence of the Internet to reach remote control application. For some already existing control system, to do this is the equivalent asked to replace the entire system. In practice, it is not cost-effective and not the best strategy.
Therefore, this thesis develops a virtual RS-232 port device driver under the Windows OS, and utilizes ARM-9 platform for conversion of between Ethernet and RS-232 embedded hardware, combined both into a seamless adapt system. Through this system can re-use the past original RS-232 interface control software and equipment. That means without the need to change any original design of the case can link modern network system to complete the purpose of remote control, the user just as in the past using local physical RS-232 interface to control hardware devices in convenient.
[1] 許永和,USB2.0高速週邊裝置設計之實務應用(修訂版),全華科技,2008.
[2] 許永和,USB規格與理論剖析: 含無線USB與USB 3.0,全華科技,2009.
[3] Walter Oney, Programming the Windows Driver Model, Second Edition,
Microsoft Press, 2002.
[4] Chris Cant, Writing Windows WDM Device Drivers, R&D Books, 1999.
[5] Art Baker, Jerry Lozano, The Windows 2000 device driver book:
a guide for programmers, Prentice Hall, 2001.
[6] Jeff Prosise, Programming Windows with MFC, Second Edition,
Microsoft Press, 1999.
[7] 探矽工作室,ARM 原理與實作-以Soc 為例,宏友圖書,2003.
[8] 探矽工作室,嵌入式系統導論, 3e,學貫行銷,2004.
[9] 蔡孟哲,WDM Driver 程式設計實務,碁峰資訊,2004.
[10] 張帆、史彩成,Windows Device Driver Programming 驅動程式設計,
博碩文化,2009.
[11] ATMEL, AT91SAM9M10-EKES User Guide, ATMEL, 2010.
[12] ATMEL, AT91 ARM Thumb-based Microcontrollers, ATMEL, 2010.
[13] Philippe Gerum, Karim Yaghmour, Jon Masters, Gilad Ben-Yossef,
Building Embedded Linux Systems, Second Edition, O’REILLY, 2004
[14] Benjamin Mako Hill, Corey Burger, Jonathan Jesse, Jono Bacon,
The Official Ubuntu Book, Third Edition, Prentice Hall, 2008.
[15] Christopher Hallinan, Embedded Linux Primer: A Practical Real-World
Approach, Prentice Hall, 2006.
[16] 粘添壽著,Internet 網路原理與實務,旗標出版社,2003.
[17] Craig Hollabaugh, Embedded Linux - Hardware, Software, and Interfacing,Addison Wesley, 2002.
[18] Daniel P. Bovet, Marco Cesati, Understanding the Linux Kernel, Third
Edition, O’REILLY, 2005.
[19] Robert Love, Linux System Programming, O’REILLY, 2007.
[20] Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman,
Linux Device Drivers, Third Edition, O’REILLY, 2005.
[21] 平田豐,Linux Device Driver Programming 驅動程式設計,
博碩文化,2009.
[22] S.Rodriguez、Fischer、Smolski,The Linux Kernel Primer,
上奇出版社,2006.
[23] Michael J. Donahoo, Kenneth L. Calvert, TCP/IP Sockets in C: Practical
Guide for Programmers, Elsevier Science Ltd, 2009.
[24] W. Richard Stevens, TCP/IP Illustrated, Vol. 1: The Protocols,
Addison-Wesley, 1994.
[25] Sameer Seth, M. Ajakumar Venkatesulu, TCP/IP Architecture, Design and
Implementation in Linux, John Wiley & Sons Inc., 2008.
[26] Mark E. Russinovich and David A. Solomon with Alex Ionescu,
Windows Internals, Fifth Edition, Microsoft Press, 2009.