基于POWERLINK工业实时以太网多接口智能网关的设计与实现
发布时间:2018-08-16 08:14
【摘要】:工业现场总线由来已久,主要实现自动化装置之间数字式、串行式、多点式的数据通信,较早出现的典型代表是RS-485/RS-422总线和CAN总线。伴随着工业自动化由低速向高速、低精度向高精度、集中式控制向分布式控制的发展,对工业总线的传输速度和数据量都提出了更高的要求,传统总线以难以满足这种需求。工业领域从设备的稳定性和成本考虑,不像消费领域经常更换设备,所以目前国内工业控制领域存在多种总线标准,且不同类型的网络之间很难实现数据的通信和共享。随着生产规模的扩大,工业现场很可能并存多种总线。为了实现不同总线间的互联互通,需要多种协议栈转换器,如CAN-RS485协议转换器。短距离无线通信因其功耗低,安装方便,传输速度适中等优点,在工业现场的应用越来越广泛。目前工业上较多应用的是Zigbee、Wi-Fi和433MHz频段通信。以太网凭借低廉的成本、较高的通信速率、全球普及的标准,已成为工业总线下一步发展实践的方向。为了克服传统以太网通信行为非实时的缺点,出现了各种改良方案。其中Ethernet POWERLINK以标准以太网的MAC层和硬件层为基础,放弃经典的CSMA/CD协议,创新性的采用CANopen作为应用层协议,为Ethernet POWERLINK的数据通信和网络管理提供了极大便利,为不同的设备和特定应用提供统一的接口。论文介绍了工业实时以太网的概念及国内外发展概况,对POWERLINK原理做了详尽的阐述,针对目前工业现场多协议并存的情况以及工业总线向以太网发展的趋势,设计出基于POWERLINK协议的多接口智能网关系统的总体方案。系统总体由POWERLINK通信单元以及其他通信接口组成,POWERLINK通信单元使用FPGA实现,其他通信接口使用AM3358实现。软件设计上,AM3358运行POWERLINK主站的用户层代码以及其他接口的通信控制软件,FPGA运行运行POWERLINK主站内核层代码。接口间通信使用简单高效的缓冲转发机制保证数据的安全送达。系统使用Cortex-A8+FPGA硬件构架,实现了Ethernet POWERLINK主站,并且集成了目前工业上常用的有线和无线通信方式,实现各种通信方式之间的互联互通。通过以太网或者GPRS方式并将现场数据和状态发送到远端服务器或者接收转发服务器的命令,完成网关功能。
[Abstract]:Industrial fieldbus has a long history. It mainly realizes digital, serial and multi-point data communication between automation devices. The typical representative of industrial fieldbus is RS-485/RS-422 bus and CAN bus. With the development of industrial automation from low speed to high speed, low precision to high precision and centralized control to distributed control, the transmission speed and data quantity of industrial bus are required higher. Traditional bus is difficult to meet this demand. Considering the stability and cost of the equipment, the industrial field does not often replace the equipment, so there are many bus standards in the domestic industrial control field, and it is difficult to realize the data communication and sharing between different types of networks. With the expansion of production scale, industrial field is likely to coexist with a variety of buses. Various protocol stack converters, such as CAN-RS485 protocol converters, are needed to interconnect different buses. Because of its advantages of low power consumption, convenient installation and moderate transmission speed, short distance wireless communication is more and more widely used in industrial field. At present, Zigbeeau Wi-Fi and 433MHz band communication are widely used in industry. Ethernet, with its low cost, high communication rate and universal standard, has become the future development direction of industrial bus. In order to overcome the shortcomings of non-real-time communication behavior in traditional Ethernet, various improved schemes have emerged. Based on the MAC layer and hardware layer of standard Ethernet, Ethernet POWERLINK gives up the classical CSMA/CD protocol and innovatively adopts CANopen as the application layer protocol, which provides great convenience for the data communication and network management of Ethernet POWERLINK. Provides uniform interfaces for different devices and specific applications. This paper introduces the concept of industrial real time Ethernet and its development at home and abroad, and expounds the principle of POWERLINK in detail, aiming at the coexistence of multi-protocol in industry field and the development trend of industrial bus to Ethernet. The general scheme of multi-interface intelligent gateway system based on POWERLINK protocol is designed. The system is composed of POWERLINK communication unit and other communication interfaces. The power link communication unit is implemented by FPGA, and other communication interfaces are implemented by AM3358. In software design, AM3358 runs the user layer code of POWERLINK master station and the communication control software of other interfaces runs POWERLINK master station kernel layer code. Communication between interfaces uses a simple and efficient buffer and forwarding mechanism to ensure the safe delivery of data. The system uses the Cortex-A8 FPGA hardware framework to realize the Ethernet POWERLINK master station, and integrates the wired and wireless communication modes commonly used in industry at present, and realizes the interconnection and interworking between various communication modes. The gateway function is accomplished by Ethernet or GPRS and sending the data and status to the remote server or receiving the command of the forwarding server.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN915.05
本文编号:2185414
[Abstract]:Industrial fieldbus has a long history. It mainly realizes digital, serial and multi-point data communication between automation devices. The typical representative of industrial fieldbus is RS-485/RS-422 bus and CAN bus. With the development of industrial automation from low speed to high speed, low precision to high precision and centralized control to distributed control, the transmission speed and data quantity of industrial bus are required higher. Traditional bus is difficult to meet this demand. Considering the stability and cost of the equipment, the industrial field does not often replace the equipment, so there are many bus standards in the domestic industrial control field, and it is difficult to realize the data communication and sharing between different types of networks. With the expansion of production scale, industrial field is likely to coexist with a variety of buses. Various protocol stack converters, such as CAN-RS485 protocol converters, are needed to interconnect different buses. Because of its advantages of low power consumption, convenient installation and moderate transmission speed, short distance wireless communication is more and more widely used in industrial field. At present, Zigbeeau Wi-Fi and 433MHz band communication are widely used in industry. Ethernet, with its low cost, high communication rate and universal standard, has become the future development direction of industrial bus. In order to overcome the shortcomings of non-real-time communication behavior in traditional Ethernet, various improved schemes have emerged. Based on the MAC layer and hardware layer of standard Ethernet, Ethernet POWERLINK gives up the classical CSMA/CD protocol and innovatively adopts CANopen as the application layer protocol, which provides great convenience for the data communication and network management of Ethernet POWERLINK. Provides uniform interfaces for different devices and specific applications. This paper introduces the concept of industrial real time Ethernet and its development at home and abroad, and expounds the principle of POWERLINK in detail, aiming at the coexistence of multi-protocol in industry field and the development trend of industrial bus to Ethernet. The general scheme of multi-interface intelligent gateway system based on POWERLINK protocol is designed. The system is composed of POWERLINK communication unit and other communication interfaces. The power link communication unit is implemented by FPGA, and other communication interfaces are implemented by AM3358. In software design, AM3358 runs the user layer code of POWERLINK master station and the communication control software of other interfaces runs POWERLINK master station kernel layer code. Communication between interfaces uses a simple and efficient buffer and forwarding mechanism to ensure the safe delivery of data. The system uses the Cortex-A8 FPGA hardware framework to realize the Ethernet POWERLINK master station, and integrates the wired and wireless communication modes commonly used in industry at present, and realizes the interconnection and interworking between various communication modes. The gateway function is accomplished by Ethernet or GPRS and sending the data and status to the remote server or receiving the command of the forwarding server.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN915.05
【参考文献】
相关期刊论文 前1条
1 李磊;刘日良;张承瑞;;基于工业以太网冗余舞台控制系统研究[J];计算机测量与控制;2012年09期
,本文编号:2185414
本文链接:https://www.wllwen.com/kejilunwen/wltx/2185414.html