用户名: 密码: 验证码:
基于SOPC以太网技术的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着21世纪网络化、信息化时代的来临,互联网已经渗透到人们工作和生活的各个角落。嵌入式系统作为计算机领域的一个重要组成部分,因其结构紧凑、低功耗、性能稳定可靠、成本低廉等众多优势,不仅成为研究的热点,而且广泛的应用于人们的生产和生活中,尤其适合应用于对实时性要求较高的监控领域。由于信息交互的迫切性,嵌入式系统接入Internet逐步成为未来的一个发展趋势。
     嵌入式系统与TCIP/IP协议栈的结合是嵌入式系统接入网络的基础,而SOPC是嵌入式系统发展的趋势。基于以上研究,选用Xilinx公司的Spartan-3E XC3S500E FPGA芯片,利用了开发工具ISE 8.2和XPS 8.2,构建了SOPC系统。在分析嵌入式实时操作系统μC/OS-Ⅱ的内核原理基础上,在SOPC系统中实现其任务管理、任务调度、时间管理、中断处理、内存管理和通信机制等功能,经测试运行正常。在对TCP/IP网络协议进行深入研究的基础上,针对嵌入式系统的特点,对TCP/IP协议进行合理的简化,在μC/OS-Ⅱ中实现了嵌入式TCP/IP协议栈LwIP,成功实现了IP、ARP、ICMP和TCP通信协议。至此,基于SOPC的嵌入式网络平台构建完毕。并建立了嵌入式Web服务器,可以通过浏览器访问服务器上的网页,实现了对基于SOPC以太网技术的扩展。
     此课题成功地实现了嵌入式系统的Internet接入,有效地解决了当前嵌入式系统由于资源有限而无法充分满足实时网络应用需求的难题。同时,提出了一个嵌入式WebServer的设计思路,为今后嵌入式系统在网络监控方面的扩展,实现工业现场嵌入式设备网络互连,以及进行远程网络监测、远程控制、远程诊断和远程维护等提供了有力的技术支持。
With the advent of 21st century which is the era of network and information, Internet has penetrated into people's work and life in all aspects. As an important part in computer field, embedded system is famous for its compact structure, low power consumption, reliable performance and low-cost. So it has not only become hotsopt of research, but also been widely used in people's production and life, especially suited for monitoring with higher real-time requirements. Because of the urgency of information interaction, it is a trend for embedded system to access Internet.
     The combination of embedded system and TCP/IP protocol stack is the basis of accessing network for embedded system. SOPC is the developing trend of embedded system. Based on the research, Xilinx Spartan-3E XC3S500E FPGA chip is selected and development tools ISE 8.2 and XPS 8.2 are utilized to establish SOPC system. Based on the analysis of principles of core in embedded RTOSμC/OS-II, its functions of task management, task scheduling, time management, interrupt processing, memory management and communication mechanism and some others are implemented in SOPC system. It operates normally through testing. Based on in-depth research of TCP/IP protocol and the characteristics of embedded system, embedded TCP/IP protocol stack LwIP is simplified reasonably and implemented inμC/OS-II. IP, ARP, ICMP and TCP communication protocol are implemented successfully. At this point, the construction of embedded network platform based on SOPC is finished. And embedded Web Server is established. Web pages can be visited through browser. The expansion of Ethernet technology based on SOPC is implemented.
     The subject is effective in solving the problem that embedded system can not adequately meet the demand for real-time network application due to limited resources. At the same time, a kind of design ideas for embedded Web Server is proposed. It provides a powerful technical support in the following aspects: the expansion of embedded applications in network monitoring system, network interconnection of embedded equipments in industrial scene, as well as remote network monitoring, remote control, remote diagnosis and remote maintenance.
引文
[1]赵海.嵌入式Internet-21世纪的一场信息技术革命.北京:清华大学出版社,2001.
    [2]李鹏宇,何熙文.嵌入式Internet的实现及其应用.微处理机,2003,(4):32-34.
    [3]Benthazn J.TCP/IP Lean Web Servers for Embedded Systems.Beijing:Chna Machine Press,2003.
    [4]李艳红,李国.嵌入式Internet的实现方法浅析与应用.计算机工程,2005,(S1):184-186.
    [5]张炜,于振生.TCP/IP协议栈开发.电子测量技术,2005,1:77-78.
    [6]吴国伟,毕玲,陈庆.嵌入式操作系统原理及应用开发.北京:北京航空航天大学出版社,2007.
    [7]Lubomir F B,Alan C S.操作系统原理.北京:清华大学出版社,2005.
    [8]周海涛.嵌入式实时系统及其在烟机中的应用.单片机与嵌入式系统应用,2002,(2):67-68.
    [9]李宏,马晓军.LwIP协议在μC/OS—II操作系统中的实现.信息工程大学学报,2005,6(2):81-83.
    [10]郭兵,沈艳,林永宏.SoC技术原理与应用.北京:清华大学出版社,2006.
    [11]牛凤举,刘元成,朱明程.基于IP复用的数字IC设计技术.北京:电子工业出版社,2003.
    [12]马光胜,冯刚.SoC设计与IP核重用技术.北京:国防工业出版社,2006.
    [13]吴浩涵,徐志军,徐光辉.基于SOPC技术的嵌入式系统设计.军事通信技术,2006,27(2):32-34,58.
    [14]潘松,黄继业,曾毓.SOPC技术实用教程.北京:清华大学出版社,2005.
    [15]谭积洲,郭滨.MicroBlaze软核处理器在遥测数据采集中的应用.信息与电子工程,2006,4(4):309-312.
    [16]Xilinx Inc. MicroBlaze Processor Reference Guide. USA:Xilinx Inc, 2005.
    [17]田泽,张怡浩,于敦山等.SoC片上总线综述.半导体技术,2003,26(11):11-15.
    [18]孙航.Xilinx可编程逻辑器件的高级应用与设计技巧.北京:电子工业出版社,2004.
    [19]SMSC Inc.LAN83C185 Datasheet.USA:SMSC Inc,2004.
    [20]Xilinx Inc.Embedded System Tools Reference Manual EDK 8.1i.USA:Xilinx Inc,2005.
    [21]赵泽才,常青.基于MicroBlaze的嵌入式系统设计.现代电子技术,2006,(10):56-57,64.
    [22]符学进,鲍可进.基于μC/OS-II的TCP协议的约简与改进.计算机应用,2005,25(7):1520-1522.
    [23]邵贝贝等译.嵌入式实时操作系统μC/OS-II.北京:北京航空航天大学出版社,2003.
    [24]陈嫒,黄贤英,李卫东.μC/0S—II中任务调度与中断处理的实现机理.自动化与仪器仪表,2004,(1):46-47.
    [25]Labrosse J J.μC/OS-IIThe Real-Time Kernel. Lawrence, Kansas'Rg&D publications, 2003.
    [26]赵宁,陈明.嵌入式操作系统μC/0S-II在ARM上的移植与应用.计算机应用与技术,2004,24(4):29-34.
    [27]谢希仁.计算机网络.北京:电子工业出版社,2003.
    [28]林瑶,蒋慧等译.用TCP/IP进行网际互连.第1卷.原理、协议和体系结构.北京:电子工业出版社,1998.
    [29]章智慧,白瑞林,沈宪明.LwIP协议栈在SoPC系统中的实现.计算机工程与设计,2007,28(6):1378-1380.
    [30]Swedish Institute of Computer Science. Design and Implementation of the LwIPTCP/IP Stack. Sweden:Swedish Institute of Computer Science, 2001.
    [31]佳旭.LWIP协议栈的设计中文手册.北京:机械工业出版社2002.
    [32]刘鹅,张翔等.基于μC/OS-II的嵌入式TCP/IP协议研究.杭州电子工业学院学报,2004,24(1):60-63.
    [33]胡友水.基于ARM的嵌入式TCP/IP协议栈的实现.计算机应用,2003,(12):23-26.
    [34]周海瑞.嵌入式TCP/IP协议栈的设计与实现:[硕士学位论文].西安:西北工业大学,2007.
    [35]翟东海.mbuf的实现原理剖析及其在网络编程中的应用.计算机工程于应用2004,(8):35-37.
    [36]方怀东,陈启美.基于TMS320Dg642的嵌入式TCP/IP协议栈的实现.电子技术应用,2006,(9):70-72.
    [37]姚鹰,蒋健,魏德骄.基于μC/OS-II的嵌入式系统的网络通讯实现.工业控制计算机,2004,(12):32-34.
    [38]曾碧,蔡治,吕毅恒.基于ARM的嵌入式Web Server的构建技术.工业控制计算机,2007,20(7):11-12.
    [39]Lin T, Zhao H, Wang J Yet al. An embedded Web server for equipment. Tth International Symposium on Parallel Architectures, Algorithms and Networks, Hong Kong, China, 2004: 345-350.
    [40]叶强.超文本传输协议.科技情报开发与经济,2004,14(8):266-271.
    [41]卢虎,李勇.嵌入式Web Server技术及其实现.单片机与嵌入式系统,2003,(5):9-13.
    [42]王田苗.嵌入式系统设计与实例开发.北京:清华大学出版社,2003.
    [43]Yon Hoff T P, Crevatin M. HTTP digest authentication in embedded automation systems. 9th IEEE International Conference on Emerging Technologies and Factory Automation (EZFA),Lisbon, Portugal, 2003:390-397.
    [44]Kang Q M, He H, Wang H R. Study on Embedded Web Server and Realization. lst International Symposium on Pervasive Computing and Applications, Urumchi, Xinjiang, P.R. China, 2006: 675-678.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700