CN206629078U - A kind of EtherCAT bus couplers - Google Patents

A kind of EtherCAT bus couplers Download PDF

Info

Publication number
CN206629078U
CN206629078U CN201720199293.XU CN201720199293U CN206629078U CN 206629078 U CN206629078 U CN 206629078U CN 201720199293 U CN201720199293 U CN 201720199293U CN 206629078 U CN206629078 U CN 206629078U
Authority
CN
China
Prior art keywords
bus
glink
ethercat
controller
loop
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
Application number
CN201720199293.XU
Other languages
Chinese (zh)
Inventor
刘绿山
王礡
鲁克文
夏禹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Hi Tech Intelligent Technology Co Ltd
Original Assignee
Shanghai Hi Tech Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Hi Tech Intelligent Technology Co Ltd filed Critical Shanghai Hi Tech Intelligent Technology Co Ltd
Priority to CN201720199293.XU priority Critical patent/CN206629078U/en
Application granted granted Critical
Publication of CN206629078U publication Critical patent/CN206629078U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

本实用新型公开了一种EtherCAT总线耦合器,包括依次连接的EtherCAT回路、通信管理控制回路、gLink总线回路;其中,EtherCAT回路包括从站协议控制器、网络变压器、EtherCAT网络接口;通信管理控制回路包括通信管理控制器、外部存储器;gLink总线回路包括gLink总线控制器、信号收发器、gLink总线接口;通信管理控制器分别与从站协议控制器、gLink总线控制器连接。解决了EtherCAT实时工业以太网和gLink总线通信的互联问题;采用ARM Cortex‑M3嵌入式处理器作为中央处理器,实现简单,功能全面,运行稳定,成本低廉。

The utility model discloses an EtherCAT bus coupler, which comprises an EtherCAT loop, a communication management control loop, and a gLink bus loop connected in sequence; wherein, the EtherCAT loop includes a slave station protocol controller, a network transformer, and an EtherCAT network interface; the communication management control loop It includes a communication management controller and an external memory; the gLink bus loop includes a gLink bus controller, a signal transceiver, and a gLink bus interface; the communication management controller is connected to the slave station protocol controller and the gLink bus controller respectively. It solves the interconnection problem of EtherCAT real-time industrial Ethernet and gLink bus communication; adopts ARM Cortex‑M3 embedded processor as the central processing unit, which is simple to implement, comprehensive in function, stable in operation and low in cost.

Description

一种EtherCAT总线耦合器A kind of EtherCAT bus coupler

技术领域technical field

本实用新型属于工业自动化领域,具体涉及一种EtherCAT总线耦合器。The utility model belongs to the field of industrial automation, in particular to an EtherCAT bus coupler.

背景技术Background technique

随着工业自动化的发展,对工业现场系统结构要求越来越精简,工业现场总线控制方式由于它与传统离散控制方式相比较控制性能优越,使用简单方便,可靠性更高,因此在控制领域得到迅速推广和大量的应用。With the development of industrial automation, the requirements for the industrial field system structure are becoming more and more simplified. Compared with the traditional discrete control method, the industrial fieldbus control method has superior control performance, simple and convenient use, and higher reliability, so it has been widely used in the control field. Rapid promotion and a large number of applications.

现场总线设备的多样性,导致在一个大型的自动化控制系统中设备的通信协议不同、通信速率不同、网络拓扑形式不同,给中央监控系统和这些现场设备之间的信息交互带来困扰。The diversity of fieldbus devices leads to different communication protocols, communication rates, and network topologies in a large-scale automation control system, which brings troubles to the information interaction between the central monitoring system and these field devices.

EtherCAT(Ethernet for Control Automation Technology)是开放的实时工业以太网通信协议,最初由德国倍福自动化有限公司研发。它基于标准的以太网技术,支持多种设备连接拓扑结构,具有配置简单、有效数据率高、全双工、数据传输容量大、传输速度快、时钟同步性高、成本低、开放性好等特点,是一种用于工业自动化的实时、高速以太网通信协议。EtherCAT (Ethernet for Control Automation Technology) is an open real-time industrial Ethernet communication protocol originally developed by German Beckhoff Automation Co., Ltd. It is based on standard Ethernet technology and supports multiple device connection topologies. It has the advantages of simple configuration, high effective data rate, full duplex, large data transmission capacity, fast transmission speed, high clock synchronization, low cost, and good openness. It is a real-time, high-speed Ethernet communication protocol for industrial automation.

gLink总线是固高科技公司设计的一种现场总线技术,在多种自动化行业中有大量工程应用。但是EtherCAT实时工业以太网与gLink总线不管是物理接口还是通信协议上都有明显区别。因此当自动化系统中同时存在gLink总线和EtherCAT总线时,不能直接进行互联通信,需要设计一种耦合器后来解决这个问题。The gLink bus is a field bus technology designed by Googol Technology Co., Ltd. It has a large number of engineering applications in various automation industries. However, there are obvious differences between EtherCAT real-time industrial Ethernet and gLink bus in terms of physical interface and communication protocol. Therefore, when the gLink bus and the EtherCAT bus exist in the automation system at the same time, the interconnection communication cannot be performed directly, and a coupler needs to be designed to solve this problem later.

发明内容Contents of the invention

本实用新型所要解决的技术问题是:提供一种EtherCAT总线耦合器,解决了gLink总线和EtherCAT总线时,不能直接进行互联通信的问题。The technical problem to be solved by the utility model is to provide an EtherCAT bus coupler, which solves the problem that the gLink bus and the EtherCAT bus cannot directly communicate with each other.

本实用新型为解决上述技术问题采用以下技术方案:The utility model adopts the following technical solutions for solving the above-mentioned technical problems:

一种EtherCAT总线耦合器,包括依次连接的EtherCAT回路、通信管理控制回路、gLink总线回路;其中,EtherCAT回路包括从站协议控制器、网络变压器、EtherCAT网络接口;通信管理控制回路包括通信管理控制器、外部存储器;gLink总线回路包括gLink总线控制器、信号收发器、gLink总线接口;通信管理控制器分别与从站协议控制器、gLink总线控制器连接。An EtherCAT bus coupler, comprising an EtherCAT loop, a communication management control loop, and a gLink bus loop connected in sequence; wherein, the EtherCAT loop includes a slave station protocol controller, a network transformer, and an EtherCAT network interface; the communication management control loop includes a communication management controller , external memory; the gLink bus loop includes a gLink bus controller, a signal transceiver, and a gLink bus interface; the communication management controller is connected to the slave station protocol controller and the gLink bus controller respectively.

从站协议控制器与通信管理控制器之间通过数据总线连接,通信管理控制器与gLink总线控制器之间通过PCI总线连接。The slave station protocol controller is connected to the communication management controller through a data bus, and the communication management controller is connected to the gLink bus controller through a PCI bus.

EtherCAT网络接口采用RJ45接口。The EtherCAT network interface adopts RJ45 interface.

与现有技术相比,本实用新型具有以下有益效果:Compared with the prior art, the utility model has the following beneficial effects:

1、采用ARM Cortex-M3嵌入式处理器作为中央处理器,实现简单,功能全面,运行稳定,成本低廉。1. ARM Cortex-M3 embedded processor is used as the central processing unit, which is simple to implement, has comprehensive functions, stable operation and low cost.

2、解决工业系统同时需求EtherCAT总线和gLink总线的场合,以EtherCAT作为主站,通过耦合器实现控制gLink总线上的模块,实现了工业自动化现场gLink总线设备与EtherCAT主站控制系统的互连通信。2. To solve the situation where the industrial system needs EtherCAT bus and gLink bus at the same time, EtherCAT is used as the master station, and the modules on the gLink bus are controlled through the coupler, and the interconnection and communication between the industrial automation field gLink bus device and the EtherCAT master station control system is realized. .

附图说明Description of drawings

图1为本实用新型系统总体架构图。Fig. 1 is the overall architecture diagram of the utility model system.

图2为本实用新型耦合器硬件结构框图。Fig. 2 is a block diagram of the hardware structure of the utility model coupler.

图3为本实用新型对象字典设计示意图。Fig. 3 is a schematic diagram of the design of the object dictionary of the utility model.

具体实施方式detailed description

下面结合附图对本实用新型的结构及工作过程作进一步说明。Below in conjunction with accompanying drawing, structure and working process of the present utility model are further described.

一种EtherCAT总线耦合器,包括依次连接的EtherCAT回路、通信管理控制回路、gLink总线回路;其中,EtherCAT回路包括从站协议控制器、网络变压器、EtherCAT网络接口;通信管理控制回路包括通信管理控制器、外部存储器;gLink总线回路包括gLink总线控制器、信号收发器、gLink总线接口;通信管理控制器分别与从站协议控制器、gLink总线控制器连接。An EtherCAT bus coupler, comprising an EtherCAT loop, a communication management control loop, and a gLink bus loop connected in sequence; wherein, the EtherCAT loop includes a slave station protocol controller, a network transformer, and an EtherCAT network interface; the communication management control loop includes a communication management controller , external memory; the gLink bus loop includes a gLink bus controller, a signal transceiver, and a gLink bus interface; the communication management controller is connected to the slave station protocol controller and the gLink bus controller respectively.

本实用新型系统总体架构如图1所示,说明了本实用新型耦合器的连接关系。耦合器对上通过以太网与EtherCAT主站进行数据交换;耦合器向下连接gLink总线从站设备实现通信,包括实时数据通信、故障诊断恢复和冗余切换处理等;耦合器之间通信是通过以太网接口走EtherCAT协议。The overall structure of the system of the utility model is shown in Figure 1, which illustrates the connection relationship of the coupler of the utility model. The coupler pair performs data exchange with the EtherCAT master station through Ethernet; the coupler connects downward to the gLink bus slave device to realize communication, including real-time data communication, fault diagnosis recovery and redundancy switching processing, etc.; the communication between couplers is through The Ethernet interface follows the EtherCAT protocol.

图2为耦合器硬件架构,主要由通信管理控制回路、EtherCAT回路、gLink总线回路3部分电路构成。EtherCAT回路的主芯片是EtherCAT从站协议控制器,采用Microchip公司的LAN9252(内置PHY),对上采用RJ45接口连接,从站协议控制器和RJ45接口之间设置网络变压器;通信管理控制回路主要芯片是MCU(ARM控制器),采用STM32F103VET6处理器,具有外部存储器以及用于调试的JTAG电路;gLink总线回路主要由FPGA来实现,FPGA与gLink总线接口之间具有信号收发器;从站协议控制器和通信管理控制器之间采用数据总线(DB总线)连接,通信管理控制器和gLink总线控制器之间采用SPI总线连接。Figure 2 shows the hardware architecture of the coupler, which is mainly composed of three parts: the communication management control loop, the EtherCAT loop, and the gLink bus loop. The main chip of the EtherCAT loop is the EtherCAT slave station protocol controller, which adopts Microchip's LAN9252 (built-in PHY), and connects with the RJ45 interface, and a network transformer is set between the slave station protocol controller and the RJ45 interface; the main chip of the communication management control loop It is MCU (ARM controller), adopts STM32F103VET6 processor, has external memory and JTAG circuit for debugging; gLink bus loop is mainly realized by FPGA, and there is a signal transceiver between FPGA and gLink bus interface; slave station protocol controller The data bus (DB bus) is used to connect with the communication management controller, and the SPI bus is used to connect the communication management controller and the gLink bus controller.

本新型耦合器有两个方向的外部接口,对上通过以太网与EtherCAT主站进行数据交换,通信协议符合EtherCAT实时工业以太网技术规范要求;对下与gLink总线从站设备实现通信,包括实时数据通信、故障诊断恢复和冗余切换处理等。This new coupler has external interfaces in two directions. It exchanges data with the EtherCAT master station through Ethernet on the upper side. The communication protocol meets the requirements of the EtherCAT real-time industrial Ethernet technical specification; Data communication, fault diagnosis recovery and redundancy switching processing, etc.

本新型耦合器硬件包括EtherCAT从站协议控制器(包含PHY),从站MCU(ARM控制器)、gLink总线控制器等。EtherCAT协议控制器实现EtherCAT的物理层与数据链路层的协议。从站MCU分别与EtherCAT协议控制器和gLink总线控制器双向连接,主要负责运行用户的应用程序,实现EtherCAT和gLink总线之间的协议及数据转换。gLink总线控制器实现gLink总线的物理层与数据链路层的协议。The new coupler hardware includes EtherCAT slave station protocol controller (including PHY), slave station MCU (ARM controller), gLink bus controller, etc. The EtherCAT protocol controller implements the protocols of the physical layer and data link layer of EtherCAT. The slave station MCU is bidirectionally connected with the EtherCAT protocol controller and the gLink bus controller, and is mainly responsible for running the user's application program and realizing the protocol and data conversion between EtherCAT and gLink bus. The gLink bus controller implements the protocol of the physical layer and the data link layer of the gLink bus.

本实施例中耦合器主要器件有以下几个:The main components of the coupler in this embodiment are as follows:

a.EtherCAT从站协议控制器,型号Microchip公司的LAN9252。a. EtherCAT slave station protocol controller, model LAN9252 of Microchip Company.

b.MCU为ARM Cortex-M3嵌入式处理器,型号STM32F103VET6。b. MCU is ARM Cortex-M3 embedded processor, model STM32F103VET6.

c.gLink总线控制器,由FPGA实现。c.gLink bus controller, realized by FPGA.

耦合器与EtherCAT主站通信处理:从站协议控制器LAN9252实现EtherCAT主站数据的接收、发送以及错误处理。从站MCU操作EtherCAT从站协议控制器,实现应用层协议。Communication processing between the coupler and the EtherCAT master station: the slave station protocol controller LAN9252 realizes the receiving, sending and error handling of the data of the EtherCAT master station. The slave station MCU operates the EtherCAT slave station protocol controller to implement the application layer protocol.

耦合器与gLink总线主站通信处理:gLink总线主站通信处理模块主要实现与gLink总线从站设备之间的数据交换、参数配置和故障诊断等。Communication processing between the coupler and the gLink bus master station: the communication processing module of the gLink bus master station mainly realizes data exchange, parameter configuration and fault diagnosis with the gLink bus slave station equipment.

耦合器上电初始化,配置好gLink总线通信的参数后,gLink总线主站通信处理模块首先请求下面各gLink总线从站设备的输入数据,所有输入数据扫描完成后,置输入数据扫描完成标志,EtherCAT主站接收到该标志后,耦合器切换到运行状态。此时,输出数据有效,gLink总线主站通信处理模块发送输出数据到相关gLink总线设备。所有的从站一轮扫描结束后,判断统计是否有从站出现通信故障,并进行相应的处理。After the coupler is powered on and initialized, and the parameters of the gLink bus communication are configured, the communication processing module of the gLink bus master station first requests the input data of the following gLink bus slave devices. After the master station receives this flag, the coupler switches to the running state. At this time, the output data is valid, and the communication processing module of the gLink bus master station sends the output data to the relevant gLink bus device. After a round of scanning of all slave stations is completed, it is judged and counted whether any slave stations have communication failures, and corresponding processing is carried out.

本实用新型耦合器采用对象字典设计,如图3所示:EtherCAT协议使用对象字典实现标准的参数信息配置和输入、输出数据读写操作,每个对象字典有一个主索引和多个子索引。耦合器采用协议转换网关和gLink总线从站设备的多级对象字典设计模式。The utility model coupler adopts the object dictionary design, as shown in Figure 3: the EtherCAT protocol uses the object dictionary to realize standard parameter information configuration and input and output data read and write operations, and each object dictionary has a main index and multiple sub-indexes. The coupler adopts the multi-level object dictionary design pattern of the protocol conversion gateway and the gLink bus slave device.

Claims (3)

1.一种EtherCAT总线耦合器,其特征在于:包括依次连接的EtherCAT回路、通信管理控制回路、gLink总线回路;其中,EtherCAT回路包括从站协议控制器、网络变压器、EtherCAT网络接口;通信管理控制回路包括通信管理控制器、外部存储器;gLink总线回路包括gLink总线控制器、信号收发器、gLink总线接口;通信管理控制器分别与从站协议控制器、gLink总线控制器连接。1. A kind of EtherCAT bus coupler, it is characterized in that: comprise the EtherCAT loop that connects successively, communication management control loop, gLink bus loop; Wherein, EtherCAT loop comprises slave station protocol controller, network transformer, EtherCAT network interface; Communication management control The loop includes a communication management controller and an external memory; the gLink bus loop includes a gLink bus controller, a signal transceiver, and a gLink bus interface; the communication management controller is connected to the slave station protocol controller and the gLink bus controller respectively. 2.根据权利要求1所述的EtherCAT总线耦合器,其特征在于:从站协议控制器与通信管理控制器之间通过数据总线连接,通信管理控制器与gLink总线控制器之间通过PCI总线连接。2. The EtherCAT bus coupler according to claim 1, characterized in that: the slave station protocol controller and the communication management controller are connected by a data bus, and the communication management controller and the gLink bus controller are connected by a PCI bus . 3.根据权利要求1所述的EtherCAT总线耦合器,其特征在于:EtherCAT网络接口采用RJ45接口。3. The EtherCAT bus coupler according to claim 1, characterized in that: the EtherCAT network interface adopts an RJ45 interface.
CN201720199293.XU 2017-03-02 2017-03-02 A kind of EtherCAT bus couplers Expired - Fee Related CN206629078U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720199293.XU CN206629078U (en) 2017-03-02 2017-03-02 A kind of EtherCAT bus couplers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720199293.XU CN206629078U (en) 2017-03-02 2017-03-02 A kind of EtherCAT bus couplers

Publications (1)

Publication Number Publication Date
CN206629078U true CN206629078U (en) 2017-11-10

Family

ID=60210881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720199293.XU Expired - Fee Related CN206629078U (en) 2017-03-02 2017-03-02 A kind of EtherCAT bus couplers

Country Status (1)

Country Link
CN (1) CN206629078U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039743A (en) * 2020-08-27 2020-12-04 湖南华数智能技术有限公司 A device for interconnecting ASI bus and EtherCAT bus
CN112711202A (en) * 2019-10-25 2021-04-27 中电智能科技有限公司 EtherCAT slave station module

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711202A (en) * 2019-10-25 2021-04-27 中电智能科技有限公司 EtherCAT slave station module
CN112039743A (en) * 2020-08-27 2020-12-04 湖南华数智能技术有限公司 A device for interconnecting ASI bus and EtherCAT bus
CN112039743B (en) * 2020-08-27 2022-04-12 湖南华数智能技术有限公司 Device for interconnection and intercommunication of ASI bus and EtherCAT bus

Similar Documents

Publication Publication Date Title
CN103731343B (en) MVB WTB gateway based on LPC2468 and method of work thereof
CN105573239A (en) High speed backboard bus communication control device and method
CN103049414A (en) Method for converting and transmitting data between FC (fiber channel) bus and CAN (controller area network) bus
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN102185833B (en) Fiber channel (FC) input/output (I/O) parallel processing method based on field programmable gate array (FPGA)
CN204291023U (en) A kind of RS232, RS485 and CAN based on FPGA turns Ethernet device
CN104009976B (en) A kind of real-time communication method being used between more main station systems and its equipment
CN106873541A (en) A kind of EtherCAT Distributed Servo kinetic control systems based on DSP
CN103095538A (en) Multi-class industrial Ethernet bus integrated master station
CN105117319A (en) Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA
CN102724092A (en) Profibus-DP communication protocol redundancy master station
CN106168933B (en) A method of realizing virtual dual-port shared memory based on high-speed serial communication
CN107127811A (en) Flexible material cutting robot intelligent digital controller and implementation method
CN206629078U (en) A kind of EtherCAT bus couplers
CN101106504A (en) Distributed communication system for intelligent autonomous robot based on CAN bus
CN109328449A (en) RTEX-EtherCAT protocol conversion apparatus and industrial control system
CN101753486B (en) Industrial automation field bus gateway equipment
CN208386577U (en) Communication system based on M-LVDS how main high-speed bus in real time
CN106502951A (en) PCIE interface data ferry-boat card and its method for ferry-boat data
CN201127024Y (en) Two-way CAN bus and RS-232 serial communication interface
CN201145905Y (en) scanner terminal
CN106209841A (en) A kind of CAN FD Verification for Communication Protocols system
CN110572308A (en) A distributed high real-time ring network communication system
CN210380922U (en) Protocol conversion device and system
CN204089864U (en) A gateway for connecting MVB bus and CAN bus

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171110