CN101425948B - Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method - Google Patents
Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method Download PDFInfo
- Publication number
- CN101425948B CN101425948B CN2008102015788A CN200810201578A CN101425948B CN 101425948 B CN101425948 B CN 101425948B CN 2008102015788 A CN2008102015788 A CN 2008102015788A CN 200810201578 A CN200810201578 A CN 200810201578A CN 101425948 B CN101425948 B CN 101425948B
- Authority
- CN
- China
- Prior art keywords
- master station
- modbus
- tcp
- profibus
- protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明涉及一种基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关及协议转换方法。本多协议网关包括微处理器、MODBUS/TCP主站、IEEE802.15.4a无线主站、PROFIBUS-DP从站、外扩SDRAM存储器和FLASH存储器、RJ45网口、485物理层接口、USB接口;电路的连接方式是以微处理器为中心,通过MDIO接口外扩DM9161EP以太网物理层接口芯片,通过内部总线连接PROFIBUS-DP协议芯片SPC3,通过SPI总线连接NA1TR8无线协议芯片,外扩USB接口。本多协议网关的协议转换方法是由微处理器控制实现三种网络之间的协议转换。本发明考虑了以当前有线现场总线/工业以太网为主的现状,又兼顾了与无线网络前沿技术的无缝连接,实现一种符合工业实时要求和开放数据通信的有线/无线异构控制网络网关。
The invention relates to a multi-protocol gateway and a protocol conversion method for an IEEE802.15.4a-based industrial wireless network accessing MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus. This multi-protocol gateway includes microprocessor, MODBUS/TCP master station, IEEE802.15.4a wireless master station, PROFIBUS-DP slave station, externally expanded SDRAM memory and FLASH memory, RJ45 network port, 485 physical layer interface, USB interface; The connection method is centered on the microprocessor, the DM9161EP Ethernet physical layer interface chip is expanded through the MDIO interface, the PROFIBUS-DP protocol chip SPC3 is connected through the internal bus, the NA1TR8 wireless protocol chip is connected through the SPI bus, and the USB interface is expanded externally. The protocol conversion method of the multi-protocol gateway is controlled by a microprocessor to realize the protocol conversion between the three networks. The present invention considers the current situation of the current wired field bus/industrial Ethernet as the mainstay, and also takes into account the seamless connection with the wireless network frontier technology, and realizes a wired/wireless heterogeneous control network that meets industrial real-time requirements and open data communication gateway.
Description
技术领域technical field
本发明涉及一种将基于IEEE802.15.4a的工业无线网络引入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关及协议转换方法,涉及到多种通讯协议的转换,属于现场总线控制技术领域。The invention relates to a multi-protocol gateway and a protocol conversion method that introduces an industrial wireless network based on IEEE802.15.4a into MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus, involves conversion of various communication protocols, and belongs to field bus control technology field.
技术背景technical background
现场总线是用于生产制造现场的底层通信网络,它实现了微机化的现场测量控制仪器或设备之间的双向串行多节点数字通信,具有实时性、稳定性高的特点。自从2000年国际电工委员会(IEC)公布通过了IEC61158现场总线标准,现在已有十多种现场总线标准。The field bus is the underlying communication network used in the production and manufacturing sites. It realizes the bidirectional serial multi-node digital communication between computerized on-site measurement and control instruments or equipment, and has the characteristics of real-time and high stability. Since the International Electrotechnical Commission (IEC) announced and passed the IEC61158 fieldbus standard in 2000, there are now more than ten fieldbus standards.
以太网是商业领域里普遍采用的局域网络,结合TCP/IP协议构成了Internet的基础,成为网络应用中事实上的标准,这也使得现场总线控制系统通过以太网与企业信息网集成实现工厂监控一体化成为大势所趋。Ethernet is a local area network commonly used in the commercial field. Combining with the TCP/IP protocol, it forms the basis of the Internet and becomes the de facto standard in network applications. This also enables the fieldbus control system to realize factory monitoring through the integration of Ethernet and enterprise information networks. Integration has become the general trend.
当前现场总线、工业以太网技术在工业生产中得到广泛应用,然而流程工业的复杂性,有线网络无法满足恶劣环境下的测控需求,而无线网络技术为此提供了良好的解决途径。所以将无线网络与有线网络的相互融合的异构网络控制系统是解决复杂流程工业测控的必然趋势。Currently, fieldbus and industrial Ethernet technologies are widely used in industrial production. However, due to the complexity of the process industry, wired networks cannot meet the measurement and control requirements in harsh environments, and wireless network technology provides a good solution for this. Therefore, the heterogeneous network control system that integrates wireless network and wired network is an inevitable trend to solve complex process industrial measurement and control.
工业无线技术的概念由美国能源部在2002年首次提出。工业无线技术是一种新兴的面向设备间信息交互的无线通信技术,适合在恶劣的工业现场环境使用,具有抗干扰能力强、能耗低、通信实时性好等技术特征。The concept of industrial wireless technology was first proposed by the US Department of Energy in 2002. Industrial wireless technology is an emerging wireless communication technology for information interaction between devices. It is suitable for use in harsh industrial field environments. It has technical characteristics such as strong anti-interference ability, low energy consumption, and good real-time communication.
目前工业自动化领域运用的无线技术主要集中在WLAN/IEEE802.11、BlueTooth/IEEE802.15.1和ZigBee/IEEE802.15.4三种上。在研究中发现传统的IEEE802.11无线通信网络是面向办公环境而设计的,其物理层的传输机制,如WLAN的DSSS(直接序列扩频)技术传送速率高,适合于高速大数据吞吐量的网络应用,耗能也高,抗干扰性不好,不适于许多工业控制应用节点的使用,必须在物理层、MAC层以及协议模型方面改进,以提供可靠的实时服务。Bluetooth的FSSS(调频扩频)机制对上述问题改进不明显,且每一cell中的节点数量仅为7个,只能适合于某些特殊的工业应用。IEEE 802.15.4技术在短距离、小数据量的无线传感网络应用中具有很好的优势和发展前景,但在苛刻的流程工业环境应用中,网络协议需要作一定改进,以降低空间反射、频率干扰等带来的延迟和丢包问题。At present, the wireless technologies used in the field of industrial automation mainly focus on WLAN/IEEE802.11, BlueTooth/IEEE802.15.1 and ZigBee/IEEE802.15.4. In the research, it is found that the traditional IEEE802.11 wireless communication network is designed for the office environment, and its physical layer transmission mechanism, such as WLAN's DSSS (Direct Sequence Spread Spectrum) technology, has a high transmission rate and is suitable for high-speed large data throughput. Network applications have high energy consumption and poor anti-interference performance. They are not suitable for many industrial control application nodes. They must be improved in the physical layer, MAC layer, and protocol model to provide reliable real-time services. The FSSS (frequency modulation spread spectrum) mechanism of Bluetooth does not improve the above problems obviously, and the number of nodes in each cell is only 7, which is only suitable for some special industrial applications. IEEE 802.15.4 technology has good advantages and development prospects in short-distance, small-volume wireless sensor network applications, but in harsh process industrial environment applications, the network protocol needs to be improved to reduce spatial reflection, Delay and packet loss problems caused by frequency interference, etc.
目前新一代短距离无线数字传输技术是CSS(Chirp Spread Spectrum,宽带线性调频扩频,又简称为切普扩频),该调制方法综合了FSK、PSK和ASK三种方法的优点,能十分有效地抑制工业环境中各种噪音和多径干扰。其每一位传输所需功耗是IEEE802.11b的1/6,Bluetooth的1/60。其数据传送速率最高可达到2Mbps,室外传播损耗距离达900m,接收灵敏度为-92dBm/Mbps。因此,基于CSS的IEEE802.15.4a已经在2006年10月份经过投票被批准为IEEE的面向工业无线控制的最新的一个国际通信标准(正式颁布定于2007年7月)。简单的说,CSS技术加上IEEE802.15.4的MAC协议和组网规则就构成了改进的IEEE802.15.4a,特别适合在工业自动化现场设备层控制网络使用,具有低成本、高速率、低功耗的优越性。At present, the new generation of short-distance wireless digital transmission technology is CSS (Chirp Spread Spectrum, broadband chirp spread spectrum, also referred to as Chirp spread spectrum), this modulation method combines the advantages of FSK, PSK and ASK three methods, which can be very effective It can effectively suppress various noise and multipath interference in the industrial environment. The power consumption required for each bit transmission is 1/6 of IEEE802.11b and 1/60 of Bluetooth. Its data transmission rate can reach up to 2Mbps, the outdoor propagation loss distance can reach 900m, and the receiving sensitivity is -92dBm/Mbps. Therefore, CSS-based IEEE802.15.4a has been voted and approved as IEEE's latest international communication standard for industrial wireless control in October 2006 (officially promulgated in July 2007). Simply put, CSS technology plus IEEE802.15.4 MAC protocol and networking rules constitute an improved IEEE802.15.4a, which is especially suitable for use in industrial automation field equipment layer control networks, with low cost, high speed, and low power consumption. superiority.
王平等人在2006年提交的实用新型专利“基于EPA标准的无线手持终端”(申请号200620110844.2)结合无线技术和EPA标准,设计了一种基于EPA标准的无线手持终端,将802.11b无线网络引入了工业现场。刘健等人在2008年提交的发明专利“多协议工业以太网适配器”(申请号200710171777.4)提供了一种多协议工业以太网适配器,作为一种独立的接口产品,适用于通讯节点、协议转换器和协议网关方面。但在已公布的专利文献中尚未有涉及到关于将802.15.4a工业无线网络引入到MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的方法和装置。The utility model patent "EPA standard-based wireless handheld terminal" (application number 200620110844.2) submitted by Wang Ping and others in 2006 combined wireless technology and EPA standards, designed a wireless handheld terminal based on EPA standards, and introduced 802.11b wireless networks into the industrial site. The invention patent "multi-protocol industrial Ethernet adapter" (application number 200710171777.4) submitted by Liu Jian and others in 2008 provides a multi-protocol industrial Ethernet adapter as an independent interface product, suitable for communication nodes, protocol conversion device and protocol gateway aspects. However, in the published patent literature, there is no method and device related to introducing the 802.15.4a industrial wireless network to the MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus.
发明内容Contents of the invention
本发明的目的在于针对已有技术存在的缺陷,提供一种基于IEEE802.15.4a的工业无线网络引入MODBUS/TCP工业以太网和FROFIBUS-DP现场总线的多协议网关及协议转换方法。The object of the present invention is to provide a multi-protocol gateway and a protocol conversion method for introducing MODBUS/TCP industrial Ethernet and FROFIBUS-DP field bus into an IEEE802.15.4a-based industrial wireless network for the defects in the prior art.
本发明既考虑了当前有线现场总线/工业以太网为主的现状,又兼顾了与无线网络前沿技术的无缝连接。旨在实现一种符合工业实时要求和开放数据通信的有线/无线异构控制网络网关,构建具有通用性的协议转换机制,使得现场带有线或无线网络接口的传感器、变送器和执行器等智能设备能够接入统一的系统协议构架内,从而为实现包括最底层实时信息的企业综合自动化奠定基础。The present invention not only considers the present situation that the current wired field bus/industrial Ethernet is the mainstay, but also takes into account the seamless connection with the frontier technology of the wireless network. It aims to realize a wired/wireless heterogeneous control network gateway that meets industrial real-time requirements and open data communication, builds a universal protocol conversion mechanism, and enables sensors, transmitters, and actuators with wired or wireless network interfaces on site Smart devices can be connected to a unified system protocol framework, thus laying the foundation for the realization of enterprise comprehensive automation including the bottom real-time information.
本发明涉及的IEEE802.15.4a是一种新型工业无线局域网标准,特性上可以将这种新型无线网络描述为ZigBee和RFID的混合体,属于超宽带无线技术(Ultra Wide Band,UWB)的一种。超宽带无线技术是一种短距离、使用1GHz以上带宽且信号功率谱密度低的最先进的无线通信技术。The IEEE802.15.4a involved in the present invention is a new type of industrial wireless local area network standard. In terms of characteristics, this new type of wireless network can be described as a mixture of ZigBee and RFID, and belongs to a kind of ultra wide band wireless technology (Ultra Wide Band, UWB) . UWB wireless technology is the most advanced wireless communication technology with short distance, bandwidth above 1GHz and low signal power spectral density.
PROFIBUS-DP符合EN50170欧洲标准且符合IEC1158-2标准,专为自动化系统和设备级分散I/O之间的通信而设计,主要用于分布式控制系统的高速数据传输。它采用OSI模型中的物理层,数据链路层包含了ROFIBUS-DP基本功能与行规的用户接口。PROFIBUS-DP complies with EN50170 European standard and complies with IEC1158-2 standard. It is specially designed for communication between automation system and equipment-level distributed I/O, and is mainly used for high-speed data transmission of distributed control system. It adopts the physical layer in the OSI model, and the data link layer includes the basic functions of ROFIBUS-DP and the user interface of the profile.
MODBUS/TCP是MODBUS的延伸,协议的物理层和数据链路层是基于以太网和标准TCP/IP协议,而应用层的定义与MODBUS协议家族的其他协议通用。它定义了一个结构简单的、开放和广泛应用的传输协议,用于主从式通信。MODBUS/TCP is an extension of MODBUS. The physical layer and data link layer of the protocol are based on Ethernet and standard TCP/IP protocol, while the definition of the application layer is common to other protocols in the MODBUS protocol family. It defines a simple, open and widely used transport protocol for master-slave communication.
IEEE802.15.4a工业无线网络标准、PROFIBUS-DP现场总线协议和MODBUS/TCP工业以太网协议在物理层采用不同的规范,在数据链路层采用不同的介质访问方式。为了实现在这三种网络之间的互通,多协议网关既要满足三种协议物理层和数据链路层的要求,又能够对不同的应用层定义分别做出解释。IEEE802.15.4a industrial wireless network standard, PROFIBUS-DP field bus protocol and MODBUS/TCP industrial Ethernet protocol adopt different specifications in the physical layer, and use different media access methods in the data link layer. In order to realize the intercommunication between these three networks, the multi-protocol gateway must not only meet the requirements of the physical layer and data link layer of the three protocols, but also be able to explain the definitions of different application layers.
为了实现上述目的,本发明的构思是:In order to achieve the above object, design of the present invention is:
本发明实现基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关及协议转换方法是:它采用AT91RM9200微处理器作为核心控制芯片,该芯片集成了以太网控制器,USB控制器;通过外扩DM9161EP以太网物理层接口芯片,并编写了MODBUS/TCP主站程序,从而实现一个MODBUS/TCP主站模块。微处理器通过内部总线与西门子SPC3协议芯片连接,实现一个PROFIBUS-DP从站模块。SPC3协议芯片集成了PROFIBUS-DP的全部协议,可以极大减轻相连微处理器的负荷。微处理器通过SPI总线与NA1TR8无线芯片连接,并编写了无线主站程序,从而实现一个无线主站模块,顺利将IEEE802.15.4a无线网络接入。并且通过整个系统通过统一协议转换模型,实现“两主一从站”之间的协议转换。The present invention realizes the multi-protocol gateway and protocol conversion method based on IEEE802.15.4a industrial wireless network access MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus: it adopts AT91RM9200 microprocessor as the core control chip, and the chip integrates Ethernet controller, USB controller; by expanding the DM9161EP Ethernet physical layer interface chip, and writing the MODBUS/TCP master station program, so as to realize a MODBUS/TCP master station module. The microprocessor is connected with the Siemens SPC3 protocol chip through the internal bus to realize a PROFIBUS-DP slave station module. The SPC3 protocol chip integrates all protocols of PROFIBUS-DP, which can greatly reduce the load of the connected microprocessor. The microprocessor is connected with the NA1TR8 wireless chip through the SPI bus, and the wireless master station program is written, so as to realize a wireless master station module and successfully connect the IEEE802.15.4a wireless network. And through the whole system through the unified protocol conversion model, the protocol conversion between "two masters and one slave" is realized.
在此协议转换模型中,IEEE802.15.4a无线网络和MODBUS/TCP工业以太网各有一个主站,两者同时存在,它们能独立完成相应功能,且两者之间相互对等。每个主站都有自己的轮询周期,系统为各主站建立了一个数据副本区,对于需要转换的从节点的数据信息,都在这个数据副本区中储存并一一对应。各主站在轮询该类站点时,把获取的数据或将写入的数据映射到对应的副本区中。通过数据副本区和地址转换技术,使主站可以访问对方从站的数据,且两主站之间可以互相访问对方的数据。对PROFIBUS从站点,两个主站都可以访问其数据区。In this protocol conversion model, IEEE802.15.4a wireless network and MODBUS/TCP industrial Ethernet each have a master station, both exist at the same time, they can independently complete the corresponding functions, and the two are equal to each other. Each master station has its own polling cycle. The system establishes a data copy area for each master station. The data information of the slave nodes that need to be converted is stored in this data copy area and corresponds one by one. When each master station polls this type of site, it maps the acquired data or the data to be written into the corresponding copy area. Through the data copy area and address conversion technology, the master station can access the data of the other slave station, and the two master stations can access each other's data. For PROFIBUS slave stations, both master stations can access its data area.
为了使系统中的两个主站(A网络与B网络)可以独立地对所有的子节点进行访问,首先需要对报文进行地址转换,即利用网关将B网络中的子节点地址转换成A网络地址。在网关的内存中开辟地址转换映射区,预先储存各子节点与其他网络主站通信时地址的对应关系。当收到需要转换的报文时,在地址转换映射区内比对查找,根据此映射关系将目标地址转换为对应的B网络地址。对于从站(C网络)同样操作。具体步骤如下:In order to enable the two master stations (A network and B network) in the system to independently access all sub-nodes, it is first necessary to convert the address of the message, that is, use the gateway to convert the address of the sub-node in the B network to A website address. An address conversion mapping area is opened in the memory of the gateway, and the corresponding relationship between the addresses of each sub-node and other network master stations is stored in advance. When receiving a message that needs to be converted, it compares and searches in the address conversion mapping area, and converts the target address into the corresponding B network address according to the mapping relationship. Do the same for the slave station (C network). Specific steps are as follows:
(1)在微处理内存中开辟一片内存区作为地址转换映射区。(1) Open up a memory area in the microprocessor memory as an address translation mapping area.
(2)根据IEEE802.15.4a网络与MODBUS/TCP网络分别建立一个结构体数组。(2) Establish a structure array according to IEEE802.15.4a network and MODBUS/TCP network respectively.
(3)根据网络配置参数,初始化结构体数组,建立各个网络之间节点的对应关系。(3) According to the network configuration parameters, initialize the structure array, and establish the corresponding relationship between the nodes of each network.
(4)根据当前报文的地址,在地址转换映射区内比对查找。(4) According to the address of the current message, compare and search in the address translation mapping area.
(5)根据映射关系,重新封装新的目标地址。(5) Repackage the new target address according to the mapping relationship.
系统在的主程序流程为:系统上电后微处理器初始化,读入配置参数,对无线主站模块、MODBUS/TCP主站模块和PROFIBUS-DP从站模块初始化,地址转换映射区初始化,数据副本区初始化,进入数据交互与协议转换流程。此后,若不发生异常情况,系统将始终处于数据交互与协议转换状态中。The main program flow of the system is: after the system is powered on, the microprocessor is initialized, the configuration parameters are read in, the wireless master module, the MODBUS/TCP master module and the PROFIBUS-DP slave module are initialized, the address conversion mapping area is initialized, the data The replica area is initialized and enters the process of data interaction and protocol conversion. After that, if no abnormal situation occurs, the system will always be in the state of data interaction and protocol conversion.
协议转换的流程为:The protocol conversion process is as follows:
首先主站对MODBUS/TCP网络进行轮询,若报文属于自身网络,则可直接下发报文进行操作。First, the master station polls the MODBUS/TCP network. If the message belongs to its own network, it can directly send the message for operation.
若报文属于无线协议站点,则进行地址转换。若是普通报文转发,分析报文所需执行的操作。若是读操作,则直接读取该协议数据输出副本区内的数据,返回报文响应,子节点将在该协议的轮询周期时更新输出区的数据;若是写操作,则将数据写入数据输入副本区,返回报文相应,该部分数据将在该协议的轮询周期写入到对应子节点中。若是紧急报文转发,在完成地址转换后,对该协议的相应的子节点进行直接操作后返回,并更新该协议的数据副本区。If the packet belongs to a wireless protocol station, perform address translation. If it is normal message forwarding, the operation to be performed to analyze the message. If it is a read operation, it will directly read the data in the data output copy area of the protocol, and return a message response, and the child node will update the data in the output area during the polling cycle of the protocol; if it is a write operation, it will write the data into the data Enter the copy area, return the corresponding message, and this part of the data will be written to the corresponding child node in the polling cycle of the protocol. If the urgent message is forwarded, after the address conversion is completed, the corresponding child node of the protocol is directly operated and returned, and the data copy area of the protocol is updated.
若报文属于PROFIBUS-DP从站,则进行地址转换,直接对从站模块中的双口RAM进行读写操作,其数据更新取决于PROFIBUS主站对其的轮询周期。If the message belongs to the PROFIBUS-DP slave station, the address conversion is performed, and the dual-port RAM in the slave station module is directly read and written, and its data update depends on the polling cycle of the PROFIBUS master station.
上述协议转换的流程假定当时为MODBUS/TCP主站轮询其他节点的状态,若是无线主站轮询其他节点的状态,也遵从相对应的流程,只需将两主站的位置对换即可。而PROFIBUS-DP从站只作为上述两主站的从站站点,不做轮询。The above protocol conversion process assumes that the MODBUS/TCP master station polled the status of other nodes at that time. If the wireless master station polls the status of other nodes, it also follows the corresponding process, just swap the positions of the two master stations. . The PROFIBUS-DP slave station only serves as the slave station station of the above two master stations, and does not perform polling.
根据上述发明构思,本发明采用下述技术方案:According to above-mentioned inventive concept, the present invention adopts following technical scheme:
一种基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关,包括微处理器、MODBUS/TCP主站、IEEE802.15.4a无线主站、PROFIBUS-DP从站、外扩SDRAM存储器和FLASH存储器、RJ45网口、485物理层接口、USB接口;其特征在于电路的连接方式是以所述微处理器为中心,通过MDIO接口连接所述MODBUS/TCP主站的DM9161 EP以太网物理层接口芯片,通过内部总线连接所述PROFIBUS-DP从站的协议芯片SPC3、所述SDRAM存储器和所述FLASH存储器,通过SPI总线连接所述IEEE802.15.4a无线主站的NA1TR8协议芯片,外扩USB接口。A multi-protocol gateway based on IEEE802.15.4a industrial wireless network accessing MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus, including microprocessor, MODBUS/TCP master station, IEEE802.15.4a wireless master station, PROFIBUS -DP slave station, externally expanded SDRAM memory and FLASH memory, RJ45 network port, 485 physical layer interface, USB interface; it is characterized in that the connection mode of the circuit is centered on the microprocessor, and the MODBUS/MODBUS is connected through the MDIO interface The DM9161 EP Ethernet physical layer interface chip of the TCP master station is connected to the protocol chip SPC3 of the PROFIBUS-DP slave station, the SDRAM memory and the FLASH memory through an internal bus, and connected to the IEEE802.15.4a wireless The NA1TR8 protocol chip of the master station, with an externally expanded USB interface.
基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议转换方法,采用上述的基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关进行协议转换,由IEEE802.15.4a无线主站实现IEEE802.15.4a无线协议,由MODBUS/TCP主站实现MODBUS/TCP协议,由PROFIBUS-DP从站实现PROFIBUS-DP协议,由微处理器实现所述三种网络之间的协议转换,其具体步骤如下:The multi-protocol conversion method based on IEEE802.15.4a industrial wireless network access MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus, using the above-mentioned IEEE802.15.4a-based industrial wireless network access MODBUS/TCP industrial Ethernet and The multi-protocol gateway of the PROFIBUS-DP field bus performs protocol conversion, the IEEE802.15.4a wireless protocol is realized by the IEEE802.15.4a wireless master station, the MODBUS/TCP protocol is realized by the MODBUS/TCP master station, and the PROFIBUS-DP slave station is realized by the PROFIBUS-DP DP protocol, the microprocessor realizes the protocol conversion among the three kinds of networks, and its specific steps are as follows:
1)微处理器初始化;1) Microprocessor initialization;
2)将程序代码从FLASH存储器复制到SDRAM存储器中运行;2) Copy the program code from the FLASH memory to the SDRAM memory to run;
3)微处理器通过USB读入网络配置参数;3) The microprocessor reads in the network configuration parameters through USB;
4)MODBUS/TCP主站模块初始化;4) MODBUS/TCP master module initialization;
5)IEEE802.15.4a无线主站模块初始化;5) IEEE802.15.4a wireless master station module initialization;
6)PROFIBUS-DP从站模块初始化;6) PROFIBUS-DP slave module initialization;
7)为地址转换开辟结构体数组,根据网络参数的指示,对地址转换映射区初始化;7) Open up a structure array for address translation, and initialize the address translation mapping area according to the instructions of the network parameters;
8)MODBUS/TCP主站与无线主站内数据副本区初始化;8) Initialize the data copy area in the MODBUS/TCP master station and the wireless master station;
9)MODBUS/TCP主站轮询与协议转换;9) MODBUS/TCP master station polling and protocol conversion;
10)基于IEEE802.15.4a的无线主站轮询与协议转换;10) Wireless master station polling and protocol conversion based on IEEE802.15.4a;
11)PROFIBUS-DP从站轮询与协议转换;11) PROFIBUS-DP slave station polling and protocol conversion;
12)返回步骤9),循环运行。12) Return to step 9), and run in a loop.
本发明与现有的技术相比,具有以下的突出特点和显著进步:Compared with the prior art, the present invention has the following outstanding features and significant progress:
1.微处理器的SPI接口与NA1TR8协议芯片连接,实现了将IEEE802.15.4a工业无线网络引入到MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的系统结构中。1. The SPI interface of the microprocessor is connected with the NA1TR8 protocol chip, realizing the introduction of IEEE802.15.4a industrial wireless network into the system structure of MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus.
2.系统中存在两个主站,既可以同时作为主站独立并行工作,又可以配置为主从关系,系统在上述两种情况下均能够稳定运行。2. There are two master stations in the system, which can work independently and in parallel as master stations at the same time, and can also be configured as a master-slave relationship. The system can run stably in the above two cases.
3.基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关基于映射关系实现了地址转换技术,使两主站之间能够对等地访问对方的从节点。3. The multi-protocol gateway based on IEEE802.15.4a industrial wireless network accessing MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus realizes the address conversion technology based on the mapping relationship, so that the two master stations can access each other equally of slave nodes.
附图说明:Description of drawings:
图1是本发明实施例的硬件平台示意图。FIG. 1 is a schematic diagram of a hardware platform of an embodiment of the present invention.
图2是本发明实施例的多协议网关主程序流程图。Fig. 2 is a flow chart of the main program of the multi-protocol gateway in the embodiment of the present invention.
图3是本发明实施例的MODBUS/TCP以太网初始化配置子程序流程图。Fig. 3 is a flow chart of the MODBUS/TCP Ethernet initialization configuration subroutine of the embodiment of the present invention.
图4是本发明实施例的无线网络初始化配置子程序流程图。Fig. 4 is a flow chart of the wireless network initialization configuration subroutine of the embodiment of the present invention.
图5是本发明实施例的PROFIBUS-DP初始化配置子程序流程图。Fig. 5 is a flow chart of the PROFIBUS-DP initialization configuration subroutine of the embodiment of the present invention.
图6是本发明实施例的地址转换的结构示意图。FIG. 6 is a schematic structural diagram of address translation according to an embodiment of the present invention.
图7是本发明实施例的统一报文模型图Fig. 7 is a unified message model diagram of the embodiment of the present invention
图8是本发明实施例的MODBUS/TCP主站轮询流程图。Fig. 8 is a polling flowchart of the MODBUS/TCP master station according to the embodiment of the present invention.
图9是本发明实施例的IEEE802.15.4a无线主站轮询流程图。FIG. 9 is a polling flowchart of an IEEE802.15.4a wireless master station according to an embodiment of the present invention.
具体实施方式:Detailed ways:
下面结合附图对本发明的一个优选实施例进行说明:A preferred embodiment of the present invention is described below in conjunction with accompanying drawing:
参见图1,本基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关,包括微处理器①、MODBUS/TCP主站、IEEE802.15.4a无线主站、PROFIBUS-DP从站、外扩SDRAM存储器⑦和FLASH存储器⑧、RJ45网口④、485物理层接口⑥、USB接口其电路的连接方式是以微处理器①为中心,通过MDIO接口⑩外扩DM9161 EP以太网物理层接口芯片③,通过内部总线⑨连接PROFIBUS-DP协议芯片SPC35,通过SPI总线连接NA1TR8无线协议芯片②,外扩USB接口 See Figure 1, this multi-protocol gateway for accessing MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus based on IEEE802.15.4a industrial wireless network, including microprocessor①, MODBUS/TCP master station, IEEE802.15.4a wireless Master station, PROFIBUS-DP slave station, externally expanded
采用AT91RM9200微处理器①作为系统的核心控制芯片。微处理器①通过SPI总线与NA1TR8无线协议芯片②连接,形成一个无线主站模块,无线网络与无线子节点互联。无线协议芯片采用了宽带线性调频扩频(Chirp Spread Spectrum)技术作为实现工业无线网络协议IEEE802.15.4a的基准物理层标准。此外,无线协议芯片含有ISM通带滤波器以提高抗干扰性,用户可以在500kbps、1Mbps和2Mbps中选择适合的数据传输率。Adopt AT91RM9200 microprocessor ① as the core control chip of the system. Microprocessor ① via SPI bus Connect with NA1TR8
AT91RM9200微处理器①集成了以太网控制器,通过MDIO接口⑩外扩DM9161EP以太网物理层接口芯片③。它的功能包括物理编码子层、物理媒体附件、双绞线物理媒体子层、1OBASE-TX编码/解码器和双绞线媒体访问单元等。接口芯片对外通过RJ45网口④与其他的MODBUS子节点进行通信,形成一个MODBUS/TCP主站模块。The AT91RM9200 microprocessor ① integrates the Ethernet controller, and expands the DM9161EP Ethernet physical
AT91RM9200微处理器①通过内部总线⑨与PROFIBUS协议芯片SPC3⑤连接,并加上485物理层接口⑥形成一个PROFIBUS-DP从站模块。SPC3芯片包括全部的DP协议,可独立完成全部通信协议,最高可用于12Mbps总线,微处理器操作SPC3芯片就像操作其内部RAM。AT91RM9200 microprocessor ① connects with PROFIBUS
AT91RM9200微处理器①外扩SDRAM存储器⑦和FLASH存储器⑧,前者存放程序运行的代码,而后者储存现场采集到的数据。当任务运行时,程序代码将从FLASH存储器复制到SDRAM存储器中进行运行,提高系统速度。微处理器①还与USB接口连接,用于基于PC机的软件配置。AT91RM9200 microprocessor ① externally expands
参见图2,本基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议转换方法,采用上述的基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关进行协议转换,IEEE802.15.4a无线主站实现IEEE802.15.4a无线协议,由MODBUS/TCP主站实现MODBUS/TCP协议,由PROFIBUS-DP从站实现PROFIBUS-DP协议,由微处理器实现所述三种网络之间的协议转换,其具体步骤如下:Referring to Figure 2, this multi-protocol conversion method based on IEEE802.15.4a industrial wireless network access to MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus adopts the above-mentioned IEEE802.15.4a-based industrial wireless network access to MODBUS/TCP The multi-protocol gateway of TCP industrial Ethernet and PROFIBUS-DP field bus performs protocol conversion, the IEEE802.15.4a wireless master station implements the IEEE802.15.4a wireless protocol, the MODBUS/TCP master station implements the MODBUS/TCP protocol, and the PROFIBUS-DP slave The station implements the PROFIBUS-DP protocol, and the microprocessor realizes the protocol conversion between the three networks, and the specific steps are as follows:
1)微处理器①初始化;1) Microprocessor ① initialization;
2)将程序代码从FLASH存储器⑧复制到SDRAM存储器⑦中运行;2) Copy the program code from the
3)微处理器①通过USB接口读入网络配置参数;3) The microprocessor ① reads in the network configuration parameters through the USB interface;
4)MODBUS/TCP主站模块初始化;4) MODBUS/TCP master module initialization;
5)IEEE802.15.4a无线主站模块初始化;5) IEEE802.15.4a wireless master station module initialization;
6)PROFIBUS-DP从站模块初始化;6) PROFIBUS-DP slave module initialization;
7)为地址转换开辟结构体数组,根据网络参数的指示,对地址转换映射区初始化;7) Open up a structure array for address translation, and initialize the address translation mapping area according to the instructions of the network parameters;
8)MODBUS/TCP主站与无线主站内数据副本区初始化;8) Initialize the data copy area in the MODBUS/TCP master station and the wireless master station;
9)MODBUS/TCP主站轮询与协议转换;9) MODBUS/TCP master station polling and protocol conversion;
10)基于IEEE802.15.4a的无线主站轮询与协议转换;10) Wireless master station polling and protocol conversion based on IEEE802.15.4a;
11)PROFIBUS-DP从站轮询与协议转换;11) PROFIBUS-DP slave station polling and protocol conversion;
12)返回步骤9),循环运行。12) Return to step 9), and run in a loop.
参见图3,在MODBUS/TCP以太网主站模块正常工作前,需要对其进行初始化,包括初始化AT91RM9200微处理器①的EMAC接口,然后复位DM9161EP以太网物理接口芯片③。通过AT91RM9200微处理器①的MDIO接口初始化DM9161EP以太网物理接口芯片③,配置模式控制寄存器,使能EMAC的接收/发送中断。最后进入协议主程序,使MODBUS/TCP主站模块正常工作。具体初始化的步骤如下:Referring to Figure 3, before the MODBUS/TCP Ethernet master module works normally, it needs to be initialized, including initializing the EMAC interface of the AT91RM9200 microprocessor ①, and then resetting the DM9161EP Ethernet
(1)初始化AT91RM9200微处理器①中的EMAC接口;(1) Initialize the EMAC interface in the AT91RM9200 microprocessor ①;
(2)通过微处理器①复位DM9161EP以太网物理层接口芯片③;(2) Reset the DM9161EP Ethernet physical
(3)通过微处理器①的MDIO接口初始化DM9161EP以太网物理层接口芯片③,配置以太网物理层接口芯片以太网物理层接口芯片中的模式控制寄存器;(3) Initialize the DM9161EP Ethernet physical
(4)通过微处理器①使能EMAC的接收/发送中断;(4) Enable the receiving/sending interrupt of EMAC by the microprocessor ①;
(5)进入MODBUS/TCP协议入口程序,使MODBUS/TCP主站进入正常运行状态。(5) Enter the MODBUS/TCP protocol entry program, so that the MODBUS/TCP master station enters the normal operation state.
参见图4,在无线主站模块正常工作前,需要对NA1TR8协议芯片②进行初始化,包括初始化AT91RM9200微处理器①的SPI接口,然后复位NA1TR8无线协议芯片②。发送大小端同步字,同时使能芯片内部时钟,配置寄存器的访问方式,设定数据的重发机制,使能接收/发送中断等。最后启动无线芯片,使主站开始正常运行。具体初始化的步骤如下:Referring to Figure 4, before the wireless master module works normally, it is necessary to initialize the
(1)初始化AT91RM9200微处理器①中的SPI接口;(1) Initialize the SPI interface in the AT91RM9200 microprocessor ①;
(2)通过微处理器①复位NA1TR8无线协议芯片②;(2) Reset the NA1TR8
(3)微处理器①发送同步字,使无线协议芯片②和微处理器①的数据大小端同步;(3) The microprocessor 1. sends a synchronization word, so that the
(4)通过微处理器①使能无线协议芯片内部时钟,配置无线协议芯片内寄存器的访问方式,设定数据的重发机制,使能接收/发送中断等;(4) Enable the internal clock of the wireless protocol chip through the microprocessor ①, configure the access mode of the registers in the wireless protocol chip, set the data retransmission mechanism, enable receiving/sending interrupts, etc.;
(5)由程序配置无线主站各参数;(5) The parameters of the wireless master station are configured by the program;
(6)启动NA1TR8无线协议芯片②,无线主站进入正常运行状态。(6) Start the NA1TR8
参见图5,PROFIBUS-DP从站接口在上电之后还处于离线状态,不能接收任何报文,为此必须对SPC3协议芯片⑤进行初始化,需要完成从站基本信息及功能相关寄存器的配置,SPC3协议芯片⑤内部数据缓冲区指针的计算以及外部中断相关的各种定义。在通电后,SPC3协议芯片⑤上会获得一个复位脉冲,从而进入复位模式。随后进行初始化,以设置允许中断、写入从站识别号和地址、片内方式寄存器、诊断缓冲区、参数缓冲区、配置缓冲区、地址缓冲区、初始长度,并根据以上初始值求出各个缓冲区的指针及辅助缓冲区的指针,根据传输的数据长度,确定输入/输出缓冲区及指针,开启中断等,然后对SPC3协议芯片⑤发送一个启动命令。具体的初始化步骤如下:Referring to Figure 5, the PROFIBUS-DP slave interface is still offline after power-on and cannot receive any messages. For this reason, the
(1)初始化AT91RM9200微处理器①的内部总线接口;(1) Initialize the internal bus interface of the AT91RM9200 microprocessor ①;
(2)由程序设置SPC3协议芯片⑤的中断允许,写入从站识别号和地址;(2) The interrupt permission of the
(3)由程序设置SPC3协议芯片⑤的方式寄存器,设置诊断缓冲区、参数缓冲区、配置缓冲区、地址缓冲区的长度及其他参数;(3) the mode register of the
(4)根据以上初始值得出各个缓冲区的指针和辅助缓冲区的指针;(4) get the pointer of each buffer zone and the pointer of auxiliary buffer zone according to above initial value;
(5)进入PROFIBUS-DP从站主程序,从站进入正常运行状态。(5) Enter the main program of the PROFIBUS-DP slave station, and the slave station enters the normal operation state.
参见图6,为地址转换开辟的结构体数组的具体实现:首先为不同的网络开辟一个结构体数组。其中结构体数组中结构体第一个数据是当前网络的从站地址,第二个数据为一指针,根据网络的配置参数,指向另一网络相应的从站地址的结构体地址,如该网络无对应的从站,就直接指向空。Referring to FIG. 6 , the specific implementation of the structure array opened for address translation: first, a structure array is opened for different networks. Among them, the first data of the structure in the structure array is the slave station address of the current network, and the second data is a pointer. According to the configuration parameters of the network, it points to the structure address of the corresponding slave station address of another network, such as the network If there is no corresponding slave station, it will directly point to empty.
参见图7,本基于IEEE802.15.4a的工业无线网络接入MODBUS/TCP工业以太网和PROFIBUS-DP现场总线的多协议网关的统一报文模型为:首先前两个字节为该报文所涉及的从站地址;第3个字节为该报文的状态,00为普通报文,01为紧急报文;后面为报文,根据报文的不同,字节长度不同,最后两字节为报文结束符,为FE,FD。Referring to Fig. 7, the unified message model of the multi-protocol gateway based on the IEEE802.15.4a industrial wireless network accessing MODBUS/TCP industrial Ethernet and PROFIBUS-DP field bus is: firstly, the first two bytes are defined by the message The address of the slave station involved; the third byte is the state of the message, 00 is an ordinary message, 01 is an emergency message; the latter is a message, and the byte length is different according to the message, and the last two bytes It is the end character of the message, which is FE, FD.
参见图8,在AT91RM9200微处理器①中写有协议转换程序实现不同网络间的协议转换。整个系统的轮询周期由三部分组成:由MODBUS/TCP主站轮询自身网络中的子节点,然后轮询无线主站,最后轮询PROFIBUS-DP从站。Referring to Figure 8, there is a protocol conversion program written in the AT91RM9200 microprocessor ① to realize the protocol conversion between different networks. The polling cycle of the whole system consists of three parts: the MODBUS/TCP master station polls the child nodes in its own network, then polls the wireless master station, and finally polls the PROFIBUS-DP slave station.
由MODBUS/TCP主站轮询与协议转换步骤为:The polling and protocol conversion steps by the MODBUS/TCP master station are:
1.MODBUS/TCP主站收到报文,判断报文的目标地址是否在同一网络中,若是,直接下发报文进行操作;若否,MODBUS/TCP主站则轮询MODBUS/TCP网络子节点,更新数据副本区;1. The MODBUS/TCP master station receives the message, and judges whether the target address of the message is in the same network, and if so, sends the message directly for operation; if not, the MODBUS/TCP master station polls the Node, update the data copy area;
2.MODBUS/TCP主站轮询无线主站,若无线主站未收到报文,则轮询无线子节点,更新数据副本区,转到步骤(5)继续;若无线主站收到报文,获取网络源地址与目标地址,等待地址转换;2. The MODBUS/TCP master station polls the wireless master station. If the wireless master station does not receive the message, it polls the wireless sub-node, updates the data copy area, and goes to step (5) to continue; if the wireless master station receives the message file, obtain the network source address and destination address, and wait for address translation;
3.读微处理器中地址转换映射区内的结构体数组,根据数组内容进行对应的转换;3. Read the structure array in the address conversion mapping area of the microprocessor, and perform corresponding conversion according to the content of the array;
4.地址转换完成后,MODBUS/TCP主站判断报文性质:4. After the address conversion is completed, the MODBUS/TCP master judges the nature of the message:
A.若是普通报文:对无线主站的输入/输出数据副本区进行操作,返回报文响应。在下一个轮询周期内,无线主站输入区内数据将被写入子节点,无线主站输出区内数据将被更新;A. If it is a normal message: Operate the input/output data copy area of the wireless master station and return a message response. In the next polling cycle, the data in the input area of the wireless master station will be written to the child nodes, and the data in the output area of the wireless master station will be updated;
B.若是紧急报文:无线主站直接对子节点进行相应操作,返回报文响应;B. If it is an emergency message: the wireless master station directly performs corresponding operations on the child nodes and returns a message response;
5.MODBUS/TCP主站轮询PROFIBUS-DP从站,若PROFIBUS-DP从站未收到报文,不进行任何操作;若PROFIBUS-DP从站收到报文,根据报文内容对双口RAM进行相应操作。双口RAM中的数据将根据PROFIBUS主站对从站的轮询时间进行随时更新;5. The MODBUS/TCP master station polls the PROFIBUS-DP slave station. If the PROFIBUS-DP slave station does not receive the message, it does not perform any operations; RAM operates accordingly. The data in the dual-port RAM will be updated at any time according to the polling time of the slave station by the PROFIBUS master station;
6.MODBUS/TCP主站轮询结束,进入无线主站轮询各子节点状态。6. After the polling of the MODBUS/TCP master station is over, enter the status of the wireless master station to poll each child node.
参见图9,由无线主站轮询与协议转换步骤为:Referring to Figure 9, the steps of polling and protocol conversion by the wireless master station are:
(1)无线主站收到报文,判断报文目标地址是否在同一网络中,若是,直接下发报文进行操作;若否,无线主站则轮询无线网络子节点,更新数据副本区;(1) The wireless master station receives the message, and judges whether the target address of the message is in the same network, and if so, sends the message directly for operation; if not, the wireless master station polls the wireless network child nodes and updates the data copy area ;
(2)无线主站轮询MODBUS/TCP主站,若MODBUS/TCP主站未收到报文,轮询MODBUS/TCP子节点,更新数据副本区,转到步骤(5)继续;若MODBUS/TCP主站收到报文,获取网络源地址与目标地址,等待地址转换;(2) The wireless master station polls the MODBUS/TCP master station. If the MODBUS/TCP master station does not receive the message, it polls the MODBUS/TCP sub-node, updates the data copy area, and goes to step (5) to continue; if the MODBUS/TCP master station The TCP master station receives the message, obtains the network source address and destination address, and waits for address translation;
(3)读微处理器中地址转换映射区内的结构体数组,根据数组内容进行对应的转换;(3) read the structure array in the address conversion mapping area in the microprocessor, and carry out corresponding conversion according to the array content;
(4)地址转换完成后,无线主站判断报文性质:(4) After the address conversion is completed, the wireless master station judges the nature of the message:
A.若是普通报文:对MODBUS/TCP主站的输入/输出数据副本区进行操作,返回报文响应。在下一个轮询周期内,MODBUS/TCP主站输入区内数据将被写入子节点,MODBUS/TCP主站输出区内数据将被更新;A. If it is an ordinary message: Operate the input/output data copy area of the MODBUS/TCP master station, and return a message response. In the next polling cycle, the data in the input area of the MODBUS/TCP master station will be written to the child nodes, and the data in the output area of the MODBUS/TCP master station will be updated;
B.若是紧急报文:MODBUS/TCP主站直接对子节点进行相应操作,返回报文响应;B. If it is an urgent message: the MODBUS/TCP master station directly performs corresponding operations on the child nodes and returns a message response;
(5)MODBUS/TCP主站轮询PROFIBUS-DP从站,若PROFIBUS-DP从站未收到报文,不进行任何操作;若PROFIBUS-DP从站收到报文,根据报文内容对双口RAM进行相应操作。双口RAM中的数据将根据PROFIBUS主站对从站的轮询时间进行随时更新;(5) The MODBUS/TCP master station polls the PROFIBUS-DP slave station. If the PROFIBUS-DP slave station does not receive the message, no operation is performed; if the PROFIBUS-DP slave station receives the message, it port RAM for corresponding operations. The data in the dual-port RAM will be updated at any time according to the polling time of the slave station by the PROFIBUS master station;
(6)无线主站轮询结束,进入MODBUS/TCP主站轮询各子节点状态。(6) The polling of the wireless master station ends, and the MODBUS/TCP master station polls the status of each child node.
例如,MODBUS/TCP主站收到如下的报文:For example, the MODBUS/TCP master station receives the following message:
MODBUS/TCP主站在地址转换映射区内查询结构体数组,指针指向无线主站的从站地址,完成地址转换。分析报文内容,其中00 00代表节点编号,03功能号代表读操作,00 00代表起始地址,01代表字节长度,报文状态00属于普通报文。直接读取无线从站的副本区的数据。如报文状态为01,为紧急报文,则将把报文重新转换为无线报文:00 04 01 01,00代表节点编号,04功能号代表读操作,01代表字节长度,01代表起始地址。直接通过无线获取该无线从站的数据,并更新相应的数据副本区。The MODBUS/TCP master station queries the structure array in the address conversion mapping area, and the pointer points to the slave station address of the wireless master station to complete the address conversion. Analyze the content of the message, where 00 00 represents the node number, 03 the function number represents the read operation, 00 00 represents the starting address, 01 represents the byte length, and the message status 00 is an ordinary message. Directly read the data in the copy area of the wireless slave station. If the status of the message is 01, which is an urgent message, the message will be reconverted into a wireless message: 00 04 01 01, 00 represents the node number, 04 the function number represents the read operation, 01 represents the byte length, and 01 represents the start start address. Obtain the data of the wireless slave station directly through wireless, and update the corresponding data copy area.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102015788A CN101425948B (en) | 2008-10-23 | 2008-10-23 | Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102015788A CN101425948B (en) | 2008-10-23 | 2008-10-23 | Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101425948A CN101425948A (en) | 2009-05-06 |
CN101425948B true CN101425948B (en) | 2011-10-26 |
Family
ID=40616296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008102015788A Expired - Fee Related CN101425948B (en) | 2008-10-23 | 2008-10-23 | Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101425948B (en) |
Families Citing this family (53)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101718985B (en) * | 2009-11-12 | 2011-07-20 | 中环天仪股份有限公司 | EPA bus and Profibus-DP bus conversion adapter |
CN101729572B (en) * | 2009-11-20 | 2012-09-05 | 上海交通大学 | Protocol conversion device between MODBUS industrial field bus and wireless ZIGBEE and method thereof |
JP5626334B2 (en) | 2010-03-17 | 2014-11-19 | 日本電気株式会社 | Storage system |
CN101977167B (en) * | 2010-10-25 | 2012-08-22 | 深圳市兆讯达科技实业有限公司 | Gateway communication protocol conversion method for wireless sensor network access Modbus bus |
CN102291337B (en) * | 2011-08-23 | 2014-04-02 | 国电南京自动化股份有限公司 | Gateway for switching communication based on EtherCAT (Ethernet for Control and Automation Technology) protocol and Profibus-DP (Process Field Bus-Decentralized Periphery) protocol and communication method thereof |
CN103001839B (en) * | 2011-09-19 | 2015-09-16 | 四零四科技股份有限公司 | System, gateway and method for learning commands to configure settings automatically |
CN102540874A (en) * | 2012-02-03 | 2012-07-04 | 台达电子企业管理(上海)有限公司 | Equipment control system and redundant control method thereof |
CN102638380A (en) * | 2012-03-22 | 2012-08-15 | 上海大学 | Dual-mode wireless sensor network access method for monitoring equipment state |
CN103546921B (en) * | 2012-07-13 | 2017-11-28 | 中兴通讯股份有限公司 | A kind of compatible device and method of protocol stack fusion and system |
CN102932222B (en) * | 2012-10-15 | 2016-05-04 | 南京富岛信息工程有限公司 | Support the communication converter of many main websites of RS485&Modbus data acquisition |
CN103095538B (en) * | 2012-12-28 | 2015-05-20 | 武汉华中数控股份有限公司 | Multi-class industrial Ethernet bus integrated master station |
CN103095537B (en) * | 2012-12-28 | 2015-05-20 | 武汉华中数控股份有限公司 | Numerical control device capable of concurrently controlling two-class industrial Ethernet bus slave station equipment |
CN103391329B (en) * | 2013-07-12 | 2017-06-20 | 青岛海信宽带多媒体技术有限公司 | A kind of interface module and its method for supporting multiplex roles standard |
CN104331028B (en) * | 2013-07-22 | 2017-11-28 | 上海联影医疗科技有限公司 | Control device and bus system |
CN103457814A (en) * | 2013-09-11 | 2013-12-18 | 昆山奥德鲁自动化技术有限公司 | Communication router of field bus and SPI bus and communication method thereof |
CN103825883A (en) * | 2014-01-16 | 2014-05-28 | 燕山大学 | Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof |
CN104811422B (en) * | 2014-01-24 | 2019-06-04 | 维谛技术有限公司 | Data transmission method and device in a kind of Industrial Ethernet |
CN103941680A (en) * | 2014-03-31 | 2014-07-23 | 中海油工业自控(天津)有限公司 | DCS data communication system of heterogeneous communication network |
CN103929377B (en) * | 2014-04-30 | 2017-04-26 | 浙江大学 | Wired network and wireless network combined dispatching method and system and related devices |
CN104394069B (en) * | 2014-11-11 | 2017-07-11 | 东北大学 | Micro-capacitance sensor data gateway device and data transfer device |
CN104503390B (en) * | 2014-11-30 | 2017-05-24 | 天津理工大学 | Method for achieving automatic recognition of main station through industrial Ethernet integrated slave station |
CN104486783B (en) * | 2014-12-17 | 2018-03-27 | 广州中国科学院沈阳自动化研究所分所 | Polymorphic wireless gateway system and control method for polymorphic wireless monitor network |
CN104506516A (en) * | 2014-12-19 | 2015-04-08 | 平顶山中选自控系统有限公司 | Gateway for conversion between Modbus RTU/ASCII (remote terminal unit/American standard code for information interchange) communication protocol and Modbus TCP (transmission control protocol) communication protocol and implementation method for gateway |
CN104506401A (en) * | 2015-01-06 | 2015-04-08 | 西安航天自动化股份有限公司 | Method for achieving Modbus protocol transmission based on ISA100.11a industrial sensor network |
CN104618230A (en) * | 2015-02-11 | 2015-05-13 | 成都福立盟科技有限公司 | Data gateway communication system on industrial field |
CN104780624B (en) * | 2015-03-31 | 2019-05-21 | 北京理工大学 | For the new Protocol Design Method of IEEE802.15.4 of fast acting control system |
CN104852960A (en) * | 2015-04-08 | 2015-08-19 | 南京东邦科技有限公司 | Intelligent Internet of things cloud terminal system |
CN106302338A (en) * | 2015-05-26 | 2017-01-04 | 机械工业仪器仪表综合技术经济研究所 | A kind of KNX-Modbus Transmission Control Protocol transfer gateway based on Cortex-M processor |
US10732804B2 (en) * | 2015-05-27 | 2020-08-04 | Rockwell Automation Technologies, Inc. | Device-to-device communication in an industrial automation environment |
CN105554794B (en) * | 2015-12-24 | 2018-12-07 | 燕山大学 | A kind of wireless ZigBee-network configuration method of portable |
CN109756288B (en) * | 2017-11-02 | 2020-01-10 | 中国科学院沈阳自动化研究所 | Wide-area measurement time synchronization system for power distribution network |
CN107968738A (en) * | 2018-01-12 | 2018-04-27 | 深圳市英威腾电气股份有限公司 | A kind of slave, communication expansion card and group network system |
CN108494648B (en) * | 2018-01-26 | 2020-08-25 | 扬州海通电子科技有限公司 | Profibus signal wireless transmission system |
KR102475542B1 (en) * | 2018-03-21 | 2022-12-07 | 엘에스일렉트릭(주) | Gateway system for heterogeneous fieldbus network |
CN108574694A (en) * | 2018-04-20 | 2018-09-25 | 浙江中控技术股份有限公司 | A kind of Modbus TCP safety protecting methods and device |
CN108449250B (en) * | 2018-05-22 | 2023-08-04 | 三明学院 | IO-LINK master station device and method supporting multiple buses |
CN108965083B (en) * | 2018-06-13 | 2020-09-18 | 四川川润液压润滑设备有限公司 | Active interference resistant Modbus-RS485 communication program method |
CN108848169B (en) * | 2018-06-21 | 2019-11-05 | 科芃智能科技(苏州)有限公司 | A kind of data high-speed acquisition method based on industry internet platform |
CN110568806B (en) * | 2019-10-25 | 2022-05-06 | 上海电气集团股份有限公司 | Servo driver and servo driving system |
CN111030924B (en) * | 2019-11-26 | 2022-03-08 | 浙江吉城云创科技有限公司 | A gateway device, configuration method and working method |
CN111198841B (en) * | 2019-12-31 | 2024-05-31 | 上海华元创信软件有限公司 | Profibus_DP slave station based on reworks system |
CN111142454A (en) * | 2020-01-26 | 2020-05-12 | 长庆石油勘探局有限公司水电厂 | Industrial master controller |
CN113839902B (en) * | 2020-06-08 | 2023-05-02 | 腾讯科技(深圳)有限公司 | Communication protocol adaptation method, device, computer equipment and storage medium |
CN112039743B (en) * | 2020-08-27 | 2022-04-12 | 湖南华数智能技术有限公司 | A device for interconnecting ASI bus and EtherCAT bus |
CN112769689B (en) * | 2020-12-30 | 2023-04-07 | 上海汇珏智能通讯科技有限公司 | Reconfigurable intelligent integrated gateway system and reconfiguration method |
CN113242248B (en) * | 2021-05-10 | 2022-03-25 | 重庆邮电大学 | High-speed protocol conversion device of industrial heterogeneous network and parallel processing unit |
CN113385807B (en) * | 2021-06-10 | 2022-10-14 | 山东大学 | A laser galvanometer control system and method for an Ethernet gateway |
CN113775936B (en) * | 2021-08-18 | 2023-10-24 | 国家管网集团大连液化天然气有限公司 | Multi-main acquisition method for LNG receiving station auxiliary system |
CN113612801B (en) * | 2021-09-30 | 2022-01-04 | 浙江国利信安科技有限公司 | EPA gateway equipment and EPA cross-network communication method |
CN114500148B (en) * | 2021-12-30 | 2024-03-08 | 浙江中控技术股份有限公司 | Conversion device, access method, electronic equipment and storage medium of PA equipment |
CN115277313A (en) * | 2022-07-29 | 2022-11-01 | 深圳市英威腾电气股份有限公司 | 5G industrial intelligent gateway and communication method thereof |
CN116744141B (en) * | 2023-06-01 | 2024-03-19 | 杭州研智科技有限公司 | Internet of things gateway unifying multiple protocols |
CN118368346B (en) * | 2024-06-14 | 2024-08-30 | 深圳三铭电气有限公司 | Bus multi-protocol conversion control method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1645852A (en) * | 2004-12-15 | 2005-07-27 | 上海大学 | Agreement converting method and device between MODBUS/TCP industrial Ethernet and PROFIBUS-DP bus on-the-spot |
CN1697448A (en) * | 2005-04-21 | 2005-11-16 | 上海大学 | Multi-protocol conversion method and device between MODBUS/TCP industrial Ethernet, equipment network field bus and Profibus DP field bus |
EP1906601A1 (en) * | 2006-09-29 | 2008-04-02 | Rockwell Automation Technologies, Inc. | Industrial ethernet communications adapter |
-
2008
- 2008-10-23 CN CN2008102015788A patent/CN101425948B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1645852A (en) * | 2004-12-15 | 2005-07-27 | 上海大学 | Agreement converting method and device between MODBUS/TCP industrial Ethernet and PROFIBUS-DP bus on-the-spot |
CN1697448A (en) * | 2005-04-21 | 2005-11-16 | 上海大学 | Multi-protocol conversion method and device between MODBUS/TCP industrial Ethernet, equipment network field bus and Profibus DP field bus |
EP1906601A1 (en) * | 2006-09-29 | 2008-04-02 | Rockwell Automation Technologies, Inc. | Industrial ethernet communications adapter |
Also Published As
Publication number | Publication date |
---|---|
CN101425948A (en) | 2009-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101425948B (en) | Industrial wireless network access industrial Ethernet, multi-protocol gateway of field bus and protocol conversion method | |
CN103825883A (en) | Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof | |
CN101620771B (en) | Remote wireless environment real-time data acquisition method and device | |
CN101582895B (en) | EPA-based embedded industrial wireless WIA-PA gateway | |
CN101719922B (en) | Device and method of protocol conversion between PROFIBUS-DP industrial fieldbus and wireless ZIGBEE | |
CN103616927B (en) | A kind of data communication server | |
CN102149225A (en) | Bullet train state monitoring system and multifunctional hybrid gateway thereof | |
CN204291023U (en) | A kind of RS232, RS485 and CAN based on FPGA turns Ethernet device | |
CN103036892A (en) | Industrial ethernet protocol converter | |
WO2011130939A1 (en) | Method and system for interconnection between sensor network and mobile terminal, and network connectiondevice | |
CN102571795B (en) | Based on the automatic building control system of BACnet and EIB agreement | |
CN202872834U (en) | Ship calling system based on CAN-to-Modbus/TCP-conversion | |
CN102946447A (en) | Long-distance data transmission system and long-distance data transmission method of commercial plant | |
CN111447084B (en) | A method and system for interconnection and fusion of heterogeneous industrial networks | |
Ni et al. | Implementation of wireless gateway for smart home | |
CN104486783B (en) | Polymorphic wireless gateway system and control method for polymorphic wireless monitor network | |
CN202929470U (en) | A remote data transmission system for industrial equipment | |
CN1953378A (en) | A communication device for wireless sensor network communication base station | |
CN101729572A (en) | Protocol conversion device between MODBUS industrial field bus and wireless ZIGBEE and method thereof | |
CN101178837A (en) | A wireless sensor network controller | |
CN111478799A (en) | Heterogeneous industrial network interconnection method based on dynamic reconfiguration and wireless module | |
CN103973677A (en) | Protocol conversion device from IPv6 to PROFIBUS | |
CN201054613Y (en) | Intelligent multi-sensor integrated measurement and control device based on IPv6 | |
Guohuan et al. | Research on designing method of CAN bus and Modbus protocol conversion interface | |
CN207995122U (en) | A kind of multi-protocols intelligent gateway based on narrowband Internet of Things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111026 |
|
CF01 | Termination of patent right due to non-payment of annual fee |