导 师: 李军
学科专业: 081102
授予学位: 硕士
作 者: ;
机构地区: 广东工业大学
摘 要: 随着企业生产自动化程度不断提高,现场总线技术在工业生产中得到十分广泛的应用;与此同时,以太网技术在企业信息化过程中扮演越来越重要的角色。随着企业信息化程度进一步提高,实现企业信息网与现场总线网络互联具有非常重要的现实意思和推广价值,并且已经成为当前研究的一大热点。 企业信息网络标准单一,以以太网为主。但是现场总线标准种类繁多。本文在认真分析当前国内总线技术发展现状,并参照了国家标准的基础上,选择了can总线,以arm处理器为嵌入式平台,实现了以太网到can总线之间的信息互联,并在此基础上提出一种以太网和can总线网络信息交互的方法:利用在嵌入式平台上构建动态web页面实现对can网络中各控制器的监控。 本文详细阐述了系统的硬件、软件设计思路和实现方法。硬件平台,选用了基于arm7内核的lpc2129处理器,该处理器是专为can总线应用而设计,集成can总线控制器和先进的接收验收滤波器;以太网接口选用了rtl8019as,同时硬件设计上采用了线路隔离与屏蔽、cpu监控和软硬看门狗等多项措施,以保证系统的抗干扰能力。软件设计上采用了μc/os-Ⅱ嵌入式实时操作系统,保证系统的实时性。在μc/os-Ⅱ平台上实现can总线底层驱动和裁减后的tcp/ip协议栈,对标准tcp/ip协议进行了针对性的裁减和优化。 最后,本文介绍了在tcp/ip协议栈之上的了web服务器的构建,通过web页面和动态显示现场数据的,通过简化的cgi程序实现一定权限的控制功能。 As the automation degree of the corporation becomes higher, Field Bus technique was widespread availability in Industrial process;At the meantime , Ethernet technique play a more and more important role during the corporation informational process. Along with the informational degree of the corporation increasing, the related research have very important actual means and extension value to carry out that the corporation information intranet interconnects with the Field Bus, and already becoming a large investigation hotspot now.Corporation information intranet has singularity standard, take Ethernet as main block. But Field Bus has a great variety of standards. Based on analyzed the present status of the Field Bus technic seriously, and refer to the national standards. In this article we choose CAN Bus. ARM processor was chosen as embedded platform, realized the information connection between Ethernet and CAN Bus. In this basic, we also present a way to connect the information between Ethernet and CAN Bus: Using construct a dynamic Web page on embedded platform to monitor the Field data in CAN Bus.In this paper, the design and realize method of the hardware and software are presented. About hardware platform, LPC2129 which is based on a 16//32 bit ARM7TDMI-S~/(TM/) CPU core was selected. In LPC2129, two interconnected CAN interfaces with advanced acceptance filters are intergrated, it is designed for CAN Bus application.RTL8019AS was chosen as Ethernet controller. To achieve high EMC perfomence,many methods were applied, such as optoelectronic isolation, shield, CPU supervisory and WDT. About software platform, the Real-time embedded OS--μC//OS-Ⅱ was chosen. CAN bus drivers and embedded TCP//IP stack were realized based on MC//os-n.At last, embedded Web server was designed based on TCP//IP stack. Dynamic Web page was realized to present Field data, and control function could be achieved by embedded CGI software.
分 类 号: [TP273 TN915.05]