CN101917316A - Communication method and device for high-speed real-time industrial Ethernet - Google Patents
Communication method and device for high-speed real-time industrial Ethernet Download PDFInfo
- Publication number
- CN101917316A CN101917316A CN2010102794515A CN201010279451A CN101917316A CN 101917316 A CN101917316 A CN 101917316A CN 2010102794515 A CN2010102794515 A CN 2010102794515A CN 201010279451 A CN201010279451 A CN 201010279451A CN 101917316 A CN101917316 A CN 101917316A
- Authority
- CN
- China
- Prior art keywords
- data
- frame
- slave station
- real
- ethernet
- 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.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
本发明公开了一种高速实时以太网总线的通信方法及装置,该方法包括:数据传输采用总帧方式,通过解析数据报文中各从站数据段的地址,地址匹配后各从站通过对帧中相应字段进行数据交换,达到无竞争数据传输的目的,以满足系统实时性。本发明具体实施是通过一般的网卡芯片及FPGA构成的高速实时总线的通信装置,其中FPGA主要是按照传输协议完成数据包接收、解析、转发的功能,所述方法及装置具有数据帧能及时到达目标端设备,达到了数据传输的实时性要求;数据传输的机制是边接收、边解析、边转发,没有竞争和抢占,实现了实时性,以通用以太网芯片为物理层,相对于传统工业总线提高了传输速度。
The invention discloses a communication method and device of a high-speed real-time Ethernet bus. The method includes: data transmission adopts the general frame mode, and by analyzing the addresses of the data segments of each slave station in the data message, each slave station passes through the pair after the addresses are matched. The corresponding fields in the frame are exchanged to achieve the purpose of non-competition data transmission to meet the real-time performance of the system. The concrete implementation of the present invention is the communication device of the high-speed real-time bus that constitutes by general network card chip and FPGA, and wherein FPGA is mainly to complete the function of data packet receiving, parsing, forwarding according to transmission protocol, and described method and device have data frame and can arrive in time The target device meets the real-time requirements of data transmission; the mechanism of data transmission is receiving, parsing, and forwarding at the same time, without competition and preemption, and real-time performance is achieved. The general Ethernet chip is used as the physical layer. Compared with traditional industrial The bus increases the transfer speed.
Description
技术领域technical field
本发明涉及高速数据传输应用及机器人控制领域,尤其涉及一种高速实时总线的通信方法及装置。The invention relates to the fields of high-speed data transmission application and robot control, in particular to a high-speed real-time bus communication method and device.
背景技术Background technique
国际先进的数控机床和工业机器人控制系统,采用现场总线连接数字伺服和IO设备,构成了现场总线计算机控制系统。数控系统队现场总线的性能要求总线传输的实时性、命令执行和状态反馈的同步性、命令发送的周期性,这些特性现有的总线(如CAN总线、以太网等)由于其实时性和通信带宽等方面的原因,并不适合应用于数控系统。Internationally advanced CNC machine tools and industrial robot control systems use fieldbus to connect digital servos and IO devices to form a fieldbus computer control system. The performance of the field bus of the CNC system team requires real-time bus transmission, synchronization of command execution and status feedback, and periodicity of command transmission. These characteristics of existing buses (such as CAN bus, Ethernet, etc.) are due to their real-time and communication capabilities. Due to bandwidth and other reasons, it is not suitable for use in numerical control systems.
传统的提供实时功能的以太网方案大多采用通过较高级的协议层禁止CSMA/CD存取过程,并使用时间片或轮询过程来取代它或者使用专用交换机,并家用精确的时间控制方式分配以太网数据包。但这些方案带宽的利用率很低,重新定向到输出或驱动控制器,以及读取数据所需的时间主要取决于执行方式,无法避免通信总线传输的延迟。Traditional Ethernet solutions that provide real-time functions mostly prohibit the CSMA/CD access process through a higher-level protocol layer, and use time slices or polling processes to replace it, or use dedicated switches, and distribute Ethernet with precise time control. network packets. However, the bandwidth utilization of these solutions is very low, and the time required to redirect to the output or drive controller and read data depends mainly on the implementation method, and the delay of communication bus transmission cannot be avoided.
发明内容Contents of the invention
本发明的目的是提供一种高速实时工业以太网的通信方法及装置,以解决数据传输实时性等问题。The purpose of the present invention is to provide a high-speed real-time industrial Ethernet communication method and device to solve the problems of real-time data transmission and the like.
本发明所述的一种高速实时工业以太网的通信方法,采用自定协议、精准的时钟同步方法、总帧传输的方式,将各从站的数据填入帧中相应字段,其通信方法包括:A high-speed real-time industrial Ethernet communication method described in the present invention uses a self-defined protocol, an accurate clock synchronization method, and a total frame transmission method to fill in the data of each slave station into the corresponding field in the frame. The communication method includes: :
数据帧到来时,从站首先进行寻址,即在总帧中找到本站的数据段;When the data frame arrives, the slave station first addresses, that is, finds the data segment of the station in the total frame;
地址匹配后,从站根据本站数据段中的命令,执行相应的读、写等操作;After the address is matched, the slave station performs corresponding read and write operations according to the commands in the data segment of the station;
从站在数据处理过程中,是边接收,边解析,边转发,每个时钟节拍传输2bit。During data processing, the slave station receives, parses, and forwards data while transmitting 2 bits per clock tick.
本发明所述的一种高速实时工业以太网的通信方法,通过修改普通以太网帧结构达到通信协议的帧结构即能满足自己的传输要求,又能够通过普通以太网芯片进行传输;此协议帧结构中普通以太网帧结构中的以太网类型字段保持不变、目的地址和源地址设为保留字,将长度、控制、数据字段按照需要,进行自定义。具体字段主要包括:保留字、以太网类型(此字段可定义两种不同以太网协议)、CASNET头(此字段包括有各从站数据字段的总长度及CASNET的类型,以此段结合以太网类型字段判断数据帧是否为CASNET帧)、子报文(为各从站的数据字段)、CRC冗余校验。The communication method of a kind of high-speed real-time industrial Ethernet described in the present invention can meet the transmission requirements of oneself by modifying the frame structure of the common Ethernet frame to reach the frame structure of the communication protocol, and can transmit through the common Ethernet chip again; the protocol frame In the structure, the Ethernet type field in the ordinary Ethernet frame structure remains unchanged, the destination address and source address are set as reserved words, and the length, control, and data fields are customized as required. The specific fields mainly include: reserved words, Ethernet type (this field can define two different Ethernet protocols), CASNET header (this field includes the total length of each slave data field and the type of CASNET, and this section combines Ethernet The type field judges whether the data frame is a CASNET frame), sub-message (which is the data field of each slave station), and CRC redundancy check.
本发明所述的一种高速实时工业以太网的通信方法,各从站在数据帧到来时,首先判断数据帧是否为本系统要传输的数据包,判断为是所需要的数据包就接收并做后续处理,否则丢弃;此过程就需要除了要判定以太网类型外,在协议帧机构头部的固定位加标示,由此以太网类型和此标示共同决定是否本协议支持的数据包。In the communication method of a high-speed real-time industrial Ethernet described in the present invention, each slave station first judges whether the data frame is a data packet to be transmitted by the system when the data frame arrives, and if it is judged to be the required data packet, it receives and sends Do follow-up processing, otherwise discard; this process requires besides judging the Ethernet type, mark the fixed bit at the head of the protocol frame mechanism, so the Ethernet type and this mark jointly determine whether the data packet supported by this protocol.
本发明所述的一种高速实时工业以太网的通信方法,各从站在存取数据过程中,首先需要有本地地址、操作命令、内部寄存器偏移地址、要进行数据处理的长度等参数;In the communication method of a high-speed real-time industrial Ethernet described in the present invention, each slave station first needs to have parameters such as local address, operation command, internal register offset address, length to be processed, etc. in the process of accessing data;
寻址,在帧中找到各自从站的数据段;Addressing, find the data segment of the respective slave station in the frame;
取本站数据段的命令字、数据位长度、命令处理相应的地址偏移量,通过这些主要字段在本站做相应的处理。Take the command word, data bit length, and address offset corresponding to the command processing of the data segment of the station, and perform corresponding processing in the station through these main fields.
本发明所述的一种高速实时工业以太网的通信方法,为达到实时性这一特征,本系统选用实时(如UCOS II)操作系统,数据传输过程中,系统一直在一实时任务下运行,能够实现数据传输的实时性。The communication method of a kind of high-speed real-time industrial ethernet of the present invention, in order to reach this characteristic of real-time, this system selects real-time (as UCOS II) operating system for use, in the data transmission process, system runs under a real-time task always, Real-time data transmission can be realized.
本发明所述的一种高速实时工业以太网的通信方法,在主站和从站利用不同时钟源时,需要一套完整的时钟同步机制,以满足系统的时钟同步要求,其关键步骤:A kind of communication method of high-speed real-time industrial Ethernet described in the present invention, when master station and slave station utilize different clock sources, need a set of complete clock synchronization mechanism, in order to satisfy the clock synchronization requirement of the system, its key steps:
线路延迟补偿,主站读取同一周期内数据帧两次经过从站的时间戳,计算传输延迟,并发送给各从站进行延迟补偿。Line delay compensation, the master station reads the time stamp of the data frame passing through the slave station twice in the same cycle, calculates the transmission delay, and sends it to each slave station for delay compensation.
时钟启动偏差补偿,系统初始化阶段,主站算出各从站与基准从站的时钟偏移,并发给各从站进行偏移补偿。Clock start offset compensation, in the system initialization stage, the master station calculates the clock offset between each slave station and the reference slave station, and sends it to each slave station for offset compensation.
漂移补偿,通过FPGA内部的加数寄存器、累加器、计数器使各站输出时钟计数器稳定在同一频率。本方法是通过发送同步数据包,调整加数寄存器的值,每次累加器值溢出时计数器加1,计数器的值即为本地时钟的值。Drift compensation, through the addend registers, accumulators, and counters inside the FPGA, the output clock counters of each station are stabilized at the same frequency. In this method, the value of the addend register is adjusted by sending a synchronous data packet, and the counter adds 1 every time the accumulator value overflows, and the value of the counter is the value of the local clock.
本发明所述的一种高速实时工业以太网的通信方法,所述漂移补偿在数据通信过程中要定期进行,即主站要在数据包传输过程中定时发送进行漂移补偿的同步包,通过发送同步包,使FPGA调整加数寄存器中的值,来调节时钟输出频率。In the communication method of a high-speed real-time industrial Ethernet described in the present invention, the drift compensation should be carried out regularly in the data communication process, that is, the master station should regularly send the synchronization packet for drift compensation in the data packet transmission process, and send The synchronous package makes the FPGA adjust the value in the addend register to adjust the clock output frequency.
本发明所述的一种高速实时工业以太网的通信装置,硬件选用普通以太网物理芯片,接口选用普通以太网口RJ45,物理层传输为RMII协议,数据链路层是在FPGA中通过verilog编程实现的;FPGA中模块包括:A kind of high-speed real-time industrial Ethernet communication device of the present invention, the hardware selects common Ethernet physical chip, the interface selects common Ethernet port RJ45, the physical layer transmission is RMII protocol, and the data link layer is programmed through verilog in FPGA Realized; the modules in the FPGA include:
用于对数据帧的类型判断、地址查询及数据处理的接收模块;A receiving module for judging the type of data frame, address query and data processing;
用于将处理过的数据帧转发到下一从站的发送模块;A sending module for forwarding the processed data frame to the next slave station;
数据帧到来时产生中断、接收FIFO满产生中断、发送FIFO满产生An interrupt is generated when a data frame arrives, an interrupt is generated when the receiving FIFO is full, and an interrupt is generated when the sending FIFO is full
中断的中断控制模块;interrupt interrupt control module;
用于完成系统时钟同步的一系列操作的同步模块单元;Synchronization module unit for completing a series of operations of system clock synchronization;
此外还有FIFO及μC接口等单元。In addition, there are units such as FIFO and μC interface.
本发明所述的一种高速实时工业以太网的通信装置,其特征在于,通过对应用层接口的改变,可以应用于不同高速数据传输领域的一套独立的总线系统,该系统主、从站都是带普通网卡芯片和FPGA的板卡。A high-speed real-time industrial Ethernet communication device according to the present invention is characterized in that, by changing the interface of the application layer, it can be applied to a set of independent bus systems in different high-speed data transmission fields, the system master and slave stations They are all boards with ordinary network card chips and FPGA.
本发明主要通过改造设计普通以太网,充分利用以太网的传输速度,来提高现场控制领域的数据传输速率。采用总帧方式,通过FPGA中的控制程序,达到无竞争机制的数据传输,保证数据实时地达到目标设备,从而提供了较好的数据传输实时性能力。此外,本发明采用软硬结合的同步方式,为系统提供了一种精准的同步时钟。The invention mainly improves the data transmission rate in the field of field control by transforming and designing the common Ethernet and making full use of the transmission speed of the Ethernet. Using the total frame method, through the control program in the FPGA, the data transmission without competition mechanism can be achieved, and the data can be guaranteed to reach the target device in real time, thus providing better real-time performance of data transmission. In addition, the present invention adopts a synchronous method combining hardware and software, which provides a precise synchronous clock for the system.
附图说明Description of drawings
图1是本发明的集总帧的帧结构示意图。FIG. 1 is a schematic diagram of a frame structure of a lumped frame in the present invention.
图2是本发明的帧中各从站数据段结构示意图。Fig. 2 is a schematic diagram of the structure of each slave station data segment in the frame of the present invention.
图3是本发明系统采用集总帧方式,主从站数据交换的过程示意图。Fig. 3 is a schematic diagram of the process of data exchange between the master and slave stations using the lumped frame method in the system of the present invention.
图4是本发明的系统初始化流程图。Fig. 4 is a flow chart of system initialization of the present invention.
图5是本发明的数据传输过程中定时进行同步包传输流程图。Fig. 5 is a flow chart of synchronous packet transmission at regular intervals during the data transmission process of the present invention.
图6是本发明的从站FPGA内部模块框图。Fig. 6 is a block diagram of the slave station FPGA internal module of the present invention.
图7是本发明的硬件原理框图。Fig. 7 is a block diagram of the hardware principle of the present invention.
图8是图2的总帧中各个从站数据段的字段组成示意图。FIG. 8 is a schematic diagram of field composition of each slave station data segment in the overall frame of FIG. 2 .
具体实施方式Detailed ways
本发明实施方式提供了一种高速实时总线的通信方法,该方法利用普通以太网的传输物理层,达到大大提高现场总线传输速度的目的。The embodiment of the present invention provides a high-speed real-time bus communication method, which utilizes the transmission physical layer of the common Ethernet to greatly increase the transmission speed of the field bus.
传统以太网采用CSMA/CD方式进行数据传输,本发明通过改进普通以太网帧结构,将各从站数据字段嵌入一个长帧内,即采用总帧的方式,在数据传输过程中不会出现竞争抢占等问题,在数据帧传输过程中,整个帧流经从站时,从站通过地址匹配及命令判定,对帧中相应字段进行读写等操作。当帧通过每一个设备时,本发明从站控制器读取对应于该设备的数据。同样,设备反馈数据可以在报文通过时插入报文中。Traditional Ethernet adopts CSMA/CD mode for data transmission. The present invention embeds the data fields of each slave station into a long frame by improving the ordinary Ethernet frame structure, that is, adopts the method of total frame, and there will be no competition in the process of data transmission. For problems such as preemption, during the transmission of data frames, when the entire frame flows through the slave station, the slave station performs operations such as reading and writing the corresponding fields in the frame through address matching and command judgment. As the frame passes through each device, the present invention reads the data corresponding to that device from the station controller. Likewise, device feedback data can be inserted into the message as it passes through.
本系统的同步方式,主要采用软硬件结合的方式,使系统同步精度达到1μs以内。数据帧在各站间传输过程中,主要是用硬件对数据包进行处理,并带有CRC校验过程,这保证了数据在传输过程中误码率很低,充分保障了数据传输的可靠性。The synchronization method of this system mainly adopts the combination of software and hardware, so that the synchronization accuracy of the system can reach within 1μs. During the transmission of data frames between stations, the data packets are mainly processed by hardware, with a CRC check process, which ensures that the bit error rate of data is very low during transmission and fully guarantees the reliability of data transmission .
为更好的说明该方法的实施方式,现结合附图对该方法进行详细说明。In order to better illustrate the implementation of the method, the method will now be described in detail with reference to the accompanying drawings.
本发明具体实施方式提供一种高速工业以太网实时总线的通信方法,通过自定义传输协议,采用总帧方式,实现快速实时的现场总线系统。图1为总帧的基本结构,图1中字段主要包括:The specific implementation mode of the present invention provides a communication method of a high-speed industrial Ethernet real-time bus, and realizes a fast real-time field bus system through a self-defined transmission protocol and a general frame mode. Figure 1 shows the basic structure of the total frame, and the fields in Figure 1 mainly include:
以太网类型,此字段可定义两种不同以太网协议。Ethernet type, this field can define two different Ethernet protocols.
CASNET头,此字段包括有各从站数据段的总长度及CASNET的类型。以此段结合以太网类型字段判断数据帧是否为CASNET帧。CASNET header, this field includes the total length of each slave data segment and the type of CASNET. Combine this segment with the Ethernet type field to judge whether the data frame is a CASNET frame.
子报文即为各从站的命令、数据字段。Sub-messages are the command and data fields of each slave station.
CRC冗余校验。CRC redundancy check.
图2中的总帧中各个从站数据段的字段组成参见图8。Refer to FIG. 8 for the field composition of each slave station data segment in the total frame in FIG. 2 .
主从站间通信,是通过总帧方式,每个周期都由主站发起,主站程序将需要发送的命令和数据按照上述帧结构打包,通过普通以太网口发送出去,即主站的主要工作是把数据打包和做相应的数据运算。数据长帧经由各从站时,从站通过查询本站找到长帧中本站的数据字段,取字段中命令字、物理地址偏移、长度等,根据这些数据对本站数据段做相应的处理。整个长帧在线性拓扑的处理流程如图3所示。The communication between the master and slave stations is through the general frame method, and each cycle is initiated by the master station. The master station program packs the commands and data that need to be sent according to the above frame structure, and sends them out through the ordinary Ethernet port, that is, the main station of the master station. The job is to pack the data and do corresponding data operations. When the long data frame passes through each slave station, the slave station finds the data field of the station in the long frame by querying the station, fetches the command word, physical address offset, length, etc. in the field, and makes corresponding adjustments to the data segment of the station according to these data. deal with. The processing flow of the whole long frame online linear topology is shown in Fig. 3 .
系统的拓扑结构如图4所示,数据帧传输过程:数据包由主站发出,沿线性拓扑依次传入到各从站,当到达最后的从站时,数据帧沿原路返回,返回的数据帧经各从站时不再做任何处理,直接转发直到数据帧返回主站。The topology structure of the system is shown in Figure 4. The data frame transmission process: the data packet is sent by the master station, and then transmitted to each slave station along the linear topology. When it reaches the last slave station, the data frame returns along the original path, and the returned When the data frame passes through each slave station, it does not do any processing, and it is forwarded directly until the data frame returns to the master station.
系统运行状态主要有系统初始化状态和数据通信状态,此两个状态都是用同一数据帧结构通过在相同字段填写不同数据,来完成系统初始化过程及数据通信过程。The system running state mainly includes system initialization state and data communication state. These two states use the same data frame structure to complete the system initialization process and data communication process by filling in different data in the same field.
系统初始化过程流程图如图5所示。系统的初始化过程,主要操作是:发送位置读命令帧,统计线状拓扑上从站数量;给各从站分配地址;选定第一从站时钟为基准数时钟,计算、补偿线路传输延迟;选定第一从站时钟为基准数时钟,计算补偿时钟偏移;多次发送同步数据包,进行初始化阶段的频率漂移补偿。The flow chart of the system initialization process is shown in Figure 5. During the initialization process of the system, the main operations are: send the position read command frame, count the number of slave stations on the linear topology; assign addresses to each slave station; select the first slave station clock as the reference number clock, calculate and compensate the line transmission delay; The clock of the first slave station is selected as the reference clock, and the compensation clock offset is calculated; the synchronization data packet is sent multiple times, and the frequency drift compensation in the initialization stage is performed.
数据通信阶段主要有数据通信包和同步包,数据通信包通信过程中要定期发送同步包。其操作流程如图6所示。The data communication phase mainly includes data communication packets and synchronization packets, and synchronization packets should be sent regularly during the communication process of data communication packets. Its operation process is shown in Figure 6.
为更好的描述本发明实施方式所述的方法,现结合具体数据帧处理实例对本发明的具体实施方式进行详细说明:In order to better describe the method described in the embodiment of the present invention, the specific embodiment of the present invention will be described in detail in conjunction with a specific data frame processing example:
实施例1:本发明的具体实施方式提供的一种高速实时总线的通信方法,本实施例的技术场景为,主站板卡,从站板卡,外加普通以太网物理接口及网线。我们以正常数据通信周期为例,系统挂有5个从站。Embodiment 1: A high-speed real-time bus communication method provided by a specific embodiment of the present invention. The technical scenario of this embodiment is a master station board, a slave station board, plus a common Ethernet physical interface and a network cable. Let's take the normal data communication cycle as an example, the system has 5 slave stations.
主站主要操作为:The main operations of the master station are:
由于此数据包为数据通信包,命令为FPRW读写命令,cmd字段为0x6,位置寻址地址各从站依次为1、2、3、4、5,物理地址偏移都为0,取应用层要传给各从站的数据写入各从站的相应数据段,并取各从站数据段长度及各个从站数据字段的总长度填入相应字段等等,即按照协议中长帧结构打包,然后将打好的数据包写入主站FPGA数据发送寄存器。Since this data packet is a data communication packet, the command is an FPRW read and write command, the cmd field is 0x6, the location addressing address of each slave station is 1, 2, 3, 4, 5 in turn, and the physical address offset is 0, which is taken as the application The data to be transmitted by the layer to each slave station is written into the corresponding data segment of each slave station, and the length of each slave station's data segment and the total length of each slave station's data field are filled into the corresponding fields, etc., that is, according to the long frame structure in the protocol Pack it, and then write the packed data packet into the FPGA data sending register of the master station.
将整个长帧的长度写如发送长度寄存器中。Write the length of the entire long frame into the send length register.
完成以上操作,向发送命令寄存器中写入ffff,数据帧即由主站网卡发送出去,按照RMII协议,每个时钟周期发送两个bit。After completing the above operations, write ffff into the sending command register, and the data frame will be sent out by the network card of the master station. According to the RMII protocol, two bits are sent every clock cycle.
当有数据返回时,主站FPGA会产生一中断,主站程序响应中断,并在中断处理函数中将一信号量置位,信号量置位后即跳转到接收数据帧过程,解析接收数据包提取有用数据。When there is data to return, the master station FPGA will generate an interrupt, the master station program will respond to the interrupt, and set a semaphore in the interrupt processing function, after the semaphore is set, it will jump to the process of receiving data frames, and analyze the received data package to extract useful data.
进入下一周期。into the next cycle.
从站数据接收和转发过程,主要靠FPGA实现,从站数据处理模块框图如图7,从站在接收数据帧过程中,需要很多状态机,不同的数据段在不同的状态机下进行相应的操作,从站部分主要状态机操作分为几大步骤如下:The slave station data receiving and forwarding process is mainly realized by FPGA. The block diagram of the slave station data processing module is shown in Figure 7. In the process of receiving data frames from the slave station, many state machines are required, and different data segments are correspondingly processed under different state machines. Operation, the main state machine operation of the slave station is divided into several major steps as follows:
步骤1:Idle状态,当来自RMII协议的信号,i_Rx_DV为0时,系统会一直工作在Idle状态。R_PRE、R_HEADER等状态机中,通过数据判断并经CRC校验后,直接转发出去。如果type段判断不为CASNET包或CRC校验错误,即返回Idle、R_PRE状态,直接丢弃该数据包。Step 1: Idle state, when the signal from the RMII protocol, i_Rx_DV is 0, the system will always work in the Idle state. In state machines such as R_PRE and R_HEADER, after the data is judged and checked by CRC, it is directly forwarded. If the type field is not judged to be a CASNET packet or a CRC check error, it will return to the Idle or R_PRE state, and discard the data packet directly.
步骤2:系统在进入R_CMD、R_ADDR、R_OFF、R_LEN等状态机时,将本状态接收的数据存入相应寄存器。Step 2: When the system enters the R_CMD, R_ADDR, R_OFF, R_LEN and other state machines, it stores the data received in this state into the corresponding registers.
步骤3:系统在进入NOP状态机时,判断CMD是否在可匹配命令范围内,本例CMD的值为6,为读写命令。Step 3: When the system enters the NOP state machine, it judges whether the CMD is within the range of matching commands. In this example, the value of CMD is 6, which is a read and write command.
步骤4:系统在进入R_DATA状态机时,将接收到的数据存入寄存器。接收长度为R_LEN状态时接收到的本站data字段长度len。于此同时,由于传输过程中,是边接收,边解析,边转发,此数据段中的命令为读写,在此过程中,FPGA会将CPU提前存入读取寄存器的值填写到本站数据段并转发出去。Step 4: When the system enters the R_DATA state machine, it stores the received data into the register. The length len of the data field of the station received when the receiving length is in the R_LEN state. At the same time, since the transmission process is receiving, parsing, and forwarding, the commands in this data segment are read and write. During this process, the FPGA will fill in the value stored in the read register by the CPU in advance to the site. data segment and forward it out.
步骤5:当CRC校验通过后,整个帧转发完成,FPGA触发中断,告诉CPU此时有数据接收,可以读步骤4中所存数据。Step 5: When the CRC check passes, the entire frame forwarding is completed, and the FPGA triggers an interrupt to tell the CPU that there is data received at this time, and the data stored in step 4 can be read.
以上传输过程简略了相关步骤,从站转发数据帧依旧是以普通以太网的物理传输介质,采用RMII协议,每个时钟周期传输两个bit。FPGA提供的时钟频率为漂移补偿调整后的时钟,稳定输出为40M,由于采用接收后即转发,即每两个bit在两个从站间除了物理线路延迟外只有25ns。整个长帧的传输周期在1ms以内。The above transmission process simplifies the relevant steps. The data frame forwarded by the slave station is still the physical transmission medium of ordinary Ethernet, using the RMII protocol, and transmitting two bits per clock cycle. The clock frequency provided by FPGA is the clock adjusted by drift compensation, and the stable output is 40M. Since it is forwarded after receiving, every two bits are only 25ns between two slave stations except for the physical line delay. The transmission cycle of the whole long frame is within 1ms.
本发明的硬件结构参见图7。在本发明技术实现中,接收以太网数据包,无需将其解码,再将过程数据复制到各个设备。系统采用主从式结构,物理层采用标准的100Base-TX或100Base-FX及标准以太网卡,主站主要由软件实现,从站采用专用芯片控制。主站控制系统传输周期,主站发出下行数据帧,一个数据帧可包含若干个子报文。数据帧遍历所有的从站设备,每个从站设备在数据帧经过时寻址到本机的报文,根据报文中的命令读入数据或写入数据到报文中指定位置,并且从站硬件把报文的工作计数器加1,表示该数据子报文被处理。整个过程会产生大约25NS的延迟。数据帧在访问位于整个系统物理位置的最后一个从站后,该从站把经过处理的数据帧作为上行数据帧直接发送给主站。主站收到此上行数据帧后,处理返回数据,一次通信结束。转发过程是在从站控制器中通过硬件是实现的,因此与协议试运行系统或处理器性能无关。Refer to FIG. 7 for the hardware structure of the present invention. In the technical implementation of the present invention, the Ethernet data packet is received without decoding it, and then the process data is copied to each device. The system adopts a master-slave structure. The physical layer adopts standard 100Base-TX or 100Base-FX and standard Ethernet card. The master station is mainly implemented by software, and the slave station is controlled by a dedicated chip. The master station controls the transmission cycle of the system, and the master station sends downlink data frames, and a data frame can contain several sub-messages. The data frame traverses all the slave devices, each slave device addresses the message of the machine when the data frame passes, reads the data or writes the data to the specified position in the message according to the command in the message, and from The station hardware adds 1 to the work counter of the message, indicating that the data sub-message is processed. The whole process will produce a delay of about 25NS. After the data frame visits the last slave station located in the physical location of the entire system, the slave station sends the processed data frame directly to the master station as an uplink data frame. After receiving the uplink data frame, the master station processes the returned data, and a communication ends. The forwarding process is implemented in hardware in the slave controller, so it has nothing to do with the protocol commissioning system or processor performance.
主要设备有主、从站硬件板卡。The main equipment includes master and slave hardware boards.
主站装置包括主要硬件模块有:The main station device includes the main hardware modules are:
发送单元将发送寄存器中的数据包发出去。The sending unit sends out the data packets in the sending register.
接收单元在数据帧传回时响应中断,接收数据包。The receiving unit responds to the interrupt when the data frame is transmitted back, and receives the data packet.
中断单元在数据帧传回时,中断响应。The interrupt unit interrupts the response when the data frame is transmitted back.
从站装置包括的只要模块有:The only modules included in the slave device are:
接收模块,用于对数据帧的类型确定、寻址及数据处理等。The receiving module is used for determining the type of the data frame, addressing and data processing, etc.
发送模块,用于将处理过的数据帧转发到下一从站。The sending module is used to forward the processed data frame to the next slave station.
中断模块,数据帧到来时响应中断,完成对本站数据段的读写。The interrupt module responds to the interrupt when the data frame arrives, and completes the reading and writing of the data segment of the station.
同步模块单元,用于完成系统时钟同步的一系列操作。The synchronization module unit is used to complete a series of operations of system clock synchronization.
此外还有FIFO及μC接口等单元。In addition, there are units such as FIFO and μC interface.
由上述的所提供的技术方案可以看出,本发明主要通过改造设计普通以太网,充分利用以太网的传输速度,来提高现场控制领域的数据传输速率。采用总帧传输方式,通过FPGA中的控制程序,达到无竞争机制的数据传输,保证数据实时地到达目标设备,提供了较好的数据传输实时性能力。此外,本发明采用软硬结合的同步方式,为系统提供了一种精准的同步时钟。It can be seen from the technical solutions provided above that the present invention mainly improves the data transmission rate in the field control field by modifying and designing the common Ethernet and making full use of the transmission speed of the Ethernet. Using the total frame transmission method, through the control program in the FPGA, the data transmission without competition mechanism is achieved, ensuring that the data reaches the target device in real time, and providing better real-time performance of data transmission. In addition, the present invention adopts a synchronous method combining hardware and software, which provides a precise synchronous clock for the system.
本领域技术人员可以理解附图只是一个优选实施例的示意图。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred embodiment.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, One or a combination of steps of the method embodiments are included.
综上所述,本发明具体实施方式提供的技术方案,数据能快速达到目标端设备,以提供较好的数据传输实时性的优点。To sum up, with the technical solution provided by the specific embodiments of the present invention, the data can quickly reach the target device, so as to provide the advantage of better real-time data transmission.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone familiar with the technical field can easily think of Changes or substitutions should fall within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102794515A CN101917316B (en) | 2010-09-13 | 2010-09-13 | Communication method and device for high-speed real-time industrial Ethernet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102794515A CN101917316B (en) | 2010-09-13 | 2010-09-13 | Communication method and device for high-speed real-time industrial Ethernet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101917316A true CN101917316A (en) | 2010-12-15 |
CN101917316B CN101917316B (en) | 2012-12-12 |
Family
ID=43324711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102794515A Expired - Fee Related CN101917316B (en) | 2010-09-13 | 2010-09-13 | Communication method and device for high-speed real-time industrial Ethernet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101917316B (en) |
Cited By (38)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611592A (en) * | 2011-11-25 | 2012-07-25 | 中国西电电气股份有限公司 | Ethernet RMII (reduced medium independent interface) based on FPGA (field programmable gate array) and realization method |
CN103117900A (en) * | 2013-02-01 | 2013-05-22 | 山东大学 | Configurable industrial Ethernet data parsing system and parsing method |
CN103607359A (en) * | 2013-06-28 | 2014-02-26 | 王健 | Method for realizing precise delay transmission control of switched type Ethernet link layer |
CN103812742A (en) * | 2014-02-21 | 2014-05-21 | 中国人民银行印制科学技术研究所 | Real-time communication method and real-time communication system |
CN103825697A (en) * | 2014-03-11 | 2014-05-28 | 武汉迈信电气技术有限公司 | Multiple master station synchronization method and multiple master station synchronization system based on PowerLink |
CN104079401A (en) * | 2014-06-19 | 2014-10-01 | 南京航空航天大学 | High-precision and short-period real-time communication procedure based on chain industry Ethernet |
CN104618208A (en) * | 2015-01-26 | 2015-05-13 | 国电南瑞科技股份有限公司 | Elastic data interaction comprehensive bus system |
CN103095607B (en) * | 2013-02-21 | 2015-07-29 | 南京磐能电力科技股份有限公司 | A kind of real-time priority ethernet controller implementation method |
CN105068481A (en) * | 2015-08-10 | 2015-11-18 | 李士祥 | Double 2-vote-2 safety redundancy control system and operation method thereof |
CN105553795A (en) * | 2015-12-24 | 2016-05-04 | 武汉华中数控股份有限公司 | Method for transmitting standard Ethernet data in industrial Ethernet |
CN105812344A (en) * | 2014-12-31 | 2016-07-27 | 航天信息股份有限公司 | Cipher service communication package organization method, device and system |
CN105847050A (en) * | 2016-03-23 | 2016-08-10 | 华中科技大学 | Method for detecting industrial Ethernet disconnection fault and recovering clock synchronization |
CN105939396A (en) * | 2015-06-17 | 2016-09-14 | 杭州迪普科技有限公司 | Message modification method and device |
CN106230541A (en) * | 2016-08-05 | 2016-12-14 | 深圳市骏龙电子有限公司 | A kind of Site synch system and method for EPA |
CN106292588A (en) * | 2016-08-19 | 2017-01-04 | 苏州新代数控设备有限公司 | Digit Control Machine Tool process data distance transmission system |
CN106789507A (en) * | 2016-12-19 | 2017-05-31 | 北京格林伟迪科技股份有限公司 | It is a kind of to realize the method and apparatus that central processing unit communicates with functional chip |
CN107070937A (en) * | 2017-04-27 | 2017-08-18 | 北京广利核系统工程有限公司 | A kind of protocol conversion apparatus based on FPGA |
CN107276711A (en) * | 2017-07-21 | 2017-10-20 | 上海新时达机器人有限公司 | EtherCAT master station devices |
CN107666371A (en) * | 2017-06-14 | 2018-02-06 | 浙江绍兴苏泊尔生活电器有限公司 | Communication method, device and system |
CN109165116A (en) * | 2018-08-15 | 2019-01-08 | 西安微电子技术研究所 | A kind of application Processing Interface circuit and method |
CN109426193A (en) * | 2017-09-05 | 2019-03-05 | 南京南瑞继保电气有限公司 | A method of it is exported based on the accurate control timing communicated between plate |
CN110191032A (en) * | 2019-05-15 | 2019-08-30 | 山东易码智能科技股份有限公司 | A method of by non-standard real-time ethernet turn-on time sensitive network |
CN110798386A (en) * | 2019-11-12 | 2020-02-14 | 中电科仪器仪表有限公司 | Configurable CAN bus protocol transceiving test method and system |
CN111262796A (en) * | 2019-12-31 | 2020-06-09 | 南昌大学 | Ethernet communication system and method based on time sensitivity |
CN111800324A (en) * | 2020-06-23 | 2020-10-20 | 广西电网有限责任公司电力科学研究院 | Intelligent substation HSR node forwarding method and device |
CN112073291A (en) * | 2019-06-11 | 2020-12-11 | 中车株洲电力机车研究所有限公司 | Jitter-free link layer message insertion device and method |
CN112720484A (en) * | 2020-12-23 | 2021-04-30 | 谙布尔(北京)科学技术有限公司 | Control device, actuator, robot arm, control system and robot |
CN113238537A (en) * | 2021-06-07 | 2021-08-10 | 宁波菲仕技术股份有限公司 | High-speed industrial field bus based on Ethernet and data transmission method thereof |
CN113342733A (en) * | 2021-06-07 | 2021-09-03 | 宁波菲仕技术股份有限公司 | EthPMC protocol processor and processing method thereof |
CN113381999A (en) * | 2021-06-08 | 2021-09-10 | 杭州昊美科技有限公司 | Communication method and device and electronic equipment |
CN113497798A (en) * | 2020-04-08 | 2021-10-12 | 北京中科网威信息技术有限公司 | FPGA-based data forwarding method for firewall |
CN114006950A (en) * | 2021-09-26 | 2022-02-01 | 北京零壹空间电子有限公司 | On-arrow communication method, system, computer device and storage medium |
CN114390042A (en) * | 2021-12-28 | 2022-04-22 | 深圳市汇川技术股份有限公司 | Industrial communication method, industrial communication system, device, and storage medium |
CN114448801A (en) * | 2021-12-23 | 2022-05-06 | 东莞市李群自动化技术有限公司 | Method, network topology, device and storage medium for creating real-time channel group |
CN114584302A (en) * | 2022-03-08 | 2022-06-03 | 中国人民解放军国防科技大学 | A data encryption communication method of real-time Ethernet bus type industrial control system |
CN114640420A (en) * | 2020-12-15 | 2022-06-17 | 北京飞利信电子技术有限公司 | A high-speed real-time streaming media bus data transmission method based on FPGA |
CN115776422A (en) * | 2021-09-08 | 2023-03-10 | 中车株洲电力机车研究所有限公司 | EtherCAT slave station and data transmission system |
CN117880004A (en) * | 2024-03-12 | 2024-04-12 | 福建时代星云科技有限公司 | Method and device for bridging wired Ethernet by WIFI module through MCU |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050114489A1 (en) * | 2003-11-24 | 2005-05-26 | Yonge Lawrence W.Iii | Medium access control layer that encapsulates data from a plurality of received data units into a plurality of independently transmittable blocks |
CN101018115A (en) * | 2007-02-13 | 2007-08-15 | 张承瑞 | Real time synchronization network based on the standard Ethernet and its operating method |
CN101072147A (en) * | 2007-06-20 | 2007-11-14 | 重庆邮电大学 | Industrial Ethernet protocol analysisand field tester |
-
2010
- 2010-09-13 CN CN2010102794515A patent/CN101917316B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050114489A1 (en) * | 2003-11-24 | 2005-05-26 | Yonge Lawrence W.Iii | Medium access control layer that encapsulates data from a plurality of received data units into a plurality of independently transmittable blocks |
CN101018115A (en) * | 2007-02-13 | 2007-08-15 | 张承瑞 | Real time synchronization network based on the standard Ethernet and its operating method |
CN101072147A (en) * | 2007-06-20 | 2007-11-14 | 重庆邮电大学 | Industrial Ethernet protocol analysisand field tester |
Cited By (56)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611592B (en) * | 2011-11-25 | 2014-10-29 | 中国西电电气股份有限公司 | Ethernet RMII (reduced medium independent interface) based on FPGA (field programmable gate array) and realization method |
CN102611592A (en) * | 2011-11-25 | 2012-07-25 | 中国西电电气股份有限公司 | Ethernet RMII (reduced medium independent interface) based on FPGA (field programmable gate array) and realization method |
CN103117900A (en) * | 2013-02-01 | 2013-05-22 | 山东大学 | Configurable industrial Ethernet data parsing system and parsing method |
CN103117900B (en) * | 2013-02-01 | 2015-07-08 | 山东大学 | Configurable industrial Ethernet data parsing system and parsing method |
CN103095607B (en) * | 2013-02-21 | 2015-07-29 | 南京磐能电力科技股份有限公司 | A kind of real-time priority ethernet controller implementation method |
CN103607359A (en) * | 2013-06-28 | 2014-02-26 | 王健 | Method for realizing precise delay transmission control of switched type Ethernet link layer |
CN103812742A (en) * | 2014-02-21 | 2014-05-21 | 中国人民银行印制科学技术研究所 | Real-time communication method and real-time communication system |
CN103812742B (en) * | 2014-02-21 | 2017-04-05 | 中国人民银行印制科学技术研究所 | Real-time communication method and real-time communication system |
CN103825697A (en) * | 2014-03-11 | 2014-05-28 | 武汉迈信电气技术有限公司 | Multiple master station synchronization method and multiple master station synchronization system based on PowerLink |
CN103825697B (en) * | 2014-03-11 | 2017-02-08 | 武汉迈信电气技术有限公司 | Multiple master station synchronization method and multiple master station synchronization system based on PowerLink |
CN104079401A (en) * | 2014-06-19 | 2014-10-01 | 南京航空航天大学 | High-precision and short-period real-time communication procedure based on chain industry Ethernet |
CN104079401B (en) * | 2014-06-19 | 2017-10-31 | 南京航空航天大学 | A kind of short-period real-time communication system of high accuracy based on chain EPA network |
CN105812344A (en) * | 2014-12-31 | 2016-07-27 | 航天信息股份有限公司 | Cipher service communication package organization method, device and system |
CN105812344B (en) * | 2014-12-31 | 2019-09-17 | 航天信息股份有限公司 | A kind of method for organizing, the apparatus and system of cryptographic service communication bag |
CN104618208A (en) * | 2015-01-26 | 2015-05-13 | 国电南瑞科技股份有限公司 | Elastic data interaction comprehensive bus system |
CN105939396A (en) * | 2015-06-17 | 2016-09-14 | 杭州迪普科技有限公司 | Message modification method and device |
CN105068481B (en) * | 2015-08-10 | 2018-03-13 | 李士祥 | Two, which multiply two, takes two Safety Redundancy control systems and its operation method |
CN105068481A (en) * | 2015-08-10 | 2015-11-18 | 李士祥 | Double 2-vote-2 safety redundancy control system and operation method thereof |
CN105553795B (en) * | 2015-12-24 | 2018-10-16 | 武汉华中数控股份有限公司 | A method of the transmission standard Ethernet data in Industrial Ethernet |
CN105553795A (en) * | 2015-12-24 | 2016-05-04 | 武汉华中数控股份有限公司 | Method for transmitting standard Ethernet data in industrial Ethernet |
CN105847050A (en) * | 2016-03-23 | 2016-08-10 | 华中科技大学 | Method for detecting industrial Ethernet disconnection fault and recovering clock synchronization |
CN106230541A (en) * | 2016-08-05 | 2016-12-14 | 深圳市骏龙电子有限公司 | A kind of Site synch system and method for EPA |
CN106292588A (en) * | 2016-08-19 | 2017-01-04 | 苏州新代数控设备有限公司 | Digit Control Machine Tool process data distance transmission system |
CN106789507A (en) * | 2016-12-19 | 2017-05-31 | 北京格林伟迪科技股份有限公司 | It is a kind of to realize the method and apparatus that central processing unit communicates with functional chip |
CN107070937A (en) * | 2017-04-27 | 2017-08-18 | 北京广利核系统工程有限公司 | A kind of protocol conversion apparatus based on FPGA |
CN107666371A (en) * | 2017-06-14 | 2018-02-06 | 浙江绍兴苏泊尔生活电器有限公司 | Communication method, device and system |
CN107666371B (en) * | 2017-06-14 | 2023-02-17 | 浙江绍兴苏泊尔生活电器有限公司 | Communication method, device and system |
CN107276711A (en) * | 2017-07-21 | 2017-10-20 | 上海新时达机器人有限公司 | EtherCAT master station devices |
CN107276711B (en) * | 2017-07-21 | 2019-02-12 | 上海新时达机器人有限公司 | EtherCAT master station device |
CN109426193A (en) * | 2017-09-05 | 2019-03-05 | 南京南瑞继保电气有限公司 | A method of it is exported based on the accurate control timing communicated between plate |
CN109165116A (en) * | 2018-08-15 | 2019-01-08 | 西安微电子技术研究所 | A kind of application Processing Interface circuit and method |
CN110191032B (en) * | 2019-05-15 | 2021-04-23 | 山东易码智能科技股份有限公司 | Method for accessing non-standard real-time Ethernet to time-sensitive network |
CN110191032A (en) * | 2019-05-15 | 2019-08-30 | 山东易码智能科技股份有限公司 | A method of by non-standard real-time ethernet turn-on time sensitive network |
CN112073291A (en) * | 2019-06-11 | 2020-12-11 | 中车株洲电力机车研究所有限公司 | Jitter-free link layer message insertion device and method |
CN110798386A (en) * | 2019-11-12 | 2020-02-14 | 中电科仪器仪表有限公司 | Configurable CAN bus protocol transceiving test method and system |
CN111262796A (en) * | 2019-12-31 | 2020-06-09 | 南昌大学 | Ethernet communication system and method based on time sensitivity |
CN113497798A (en) * | 2020-04-08 | 2021-10-12 | 北京中科网威信息技术有限公司 | FPGA-based data forwarding method for firewall |
CN111800324B (en) * | 2020-06-23 | 2022-03-11 | 广西电网有限责任公司电力科学研究院 | Intelligent substation HSR node forwarding method and device |
CN111800324A (en) * | 2020-06-23 | 2020-10-20 | 广西电网有限责任公司电力科学研究院 | Intelligent substation HSR node forwarding method and device |
CN114640420A (en) * | 2020-12-15 | 2022-06-17 | 北京飞利信电子技术有限公司 | A high-speed real-time streaming media bus data transmission method based on FPGA |
CN112720484A (en) * | 2020-12-23 | 2021-04-30 | 谙布尔(北京)科学技术有限公司 | Control device, actuator, robot arm, control system and robot |
CN112720484B (en) * | 2020-12-23 | 2022-09-09 | 谙布尔(北京)科学技术有限公司 | Control devices, actuators, robotic arms, control systems and robots |
CN113238537A (en) * | 2021-06-07 | 2021-08-10 | 宁波菲仕技术股份有限公司 | High-speed industrial field bus based on Ethernet and data transmission method thereof |
CN113342733A (en) * | 2021-06-07 | 2021-09-03 | 宁波菲仕技术股份有限公司 | EthPMC protocol processor and processing method thereof |
CN113381999B (en) * | 2021-06-08 | 2023-04-28 | 杭州昊美科技有限公司 | Communication method and device and electronic equipment |
CN113381999A (en) * | 2021-06-08 | 2021-09-10 | 杭州昊美科技有限公司 | Communication method and device and electronic equipment |
CN115776422A (en) * | 2021-09-08 | 2023-03-10 | 中车株洲电力机车研究所有限公司 | EtherCAT slave station and data transmission system |
CN115776422B (en) * | 2021-09-08 | 2024-08-27 | 中车株洲电力机车研究所有限公司 | EtherCAT slave station and data transmission system |
CN114006950A (en) * | 2021-09-26 | 2022-02-01 | 北京零壹空间电子有限公司 | On-arrow communication method, system, computer device and storage medium |
CN114006950B (en) * | 2021-09-26 | 2023-10-20 | 北京零壹空间电子有限公司 | Communication method, system, computer device and storage medium on arrow |
CN114448801A (en) * | 2021-12-23 | 2022-05-06 | 东莞市李群自动化技术有限公司 | Method, network topology, device and storage medium for creating real-time channel group |
CN114448801B (en) * | 2021-12-23 | 2024-04-12 | 东莞市李群自动化技术有限公司 | Method for creating real-time channel group, network topology, equipment and storage medium |
CN114390042A (en) * | 2021-12-28 | 2022-04-22 | 深圳市汇川技术股份有限公司 | Industrial communication method, industrial communication system, device, and storage medium |
CN114584302A (en) * | 2022-03-08 | 2022-06-03 | 中国人民解放军国防科技大学 | A data encryption communication method of real-time Ethernet bus type industrial control system |
CN114584302B (en) * | 2022-03-08 | 2023-09-19 | 中国人民解放军国防科技大学 | A data encryption communication method for real-time Ethernet bus-type industrial control system |
CN117880004A (en) * | 2024-03-12 | 2024-04-12 | 福建时代星云科技有限公司 | Method and device for bridging wired Ethernet by WIFI module through MCU |
Also Published As
Publication number | Publication date |
---|---|
CN101917316B (en) | 2012-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101917316B (en) | Communication method and device for high-speed real-time industrial Ethernet | |
JP7024047B2 (en) | EtherCAT master-slave integrated bridge controller and control method | |
CN103425106B (en) | The master/slave station control system of a kind of EtherCAT based on Linux and method | |
KR102652569B1 (en) | Implementation of PHY-level hardware timestamping and time synchronization in cost-optimized environments | |
US8065455B2 (en) | Method for data communication of bus users in an open automation system | |
CN103828305B (en) | System and method for parameterizing a field device of an automation system or a control system | |
EP4016942A1 (en) | Method and apparatus for determining sending period in deterministic ip | |
US9467309B2 (en) | Network distributor | |
US7508824B2 (en) | Method and system for transmitting data via switchable data networks | |
JP2010278897A (en) | Communication data processing circuit and communication data processing method | |
CN101083657A (en) | Numerical control system real-time synchronization network controller and communication control method | |
US11323323B2 (en) | Communication system, communication apparatus, and communication method | |
CN107147467A (en) | A system and method for internal time synchronization of a TTE terminal system | |
US20120327950A1 (en) | Method for Transmitting Data Packets | |
CN104767665B (en) | The method, apparatus and system of a kind of ring-type communication network main website redundancy | |
CN106230541B (en) | A kind of Site synch system and method for Industrial Ethernet | |
Schriegel et al. | A migration strategy for profinet toward Ethernet TSN-based field-level communication: An approach to accelerate the adoption of converged IT/OT communication | |
CN101963808A (en) | System supporting various field master protocols and implementation method thereof | |
CN105356991A (en) | Driver real-time synchronization communication device | |
KR100981461B1 (en) | Method for controlling access to data in message memory of communication chip by communication chip and message manager | |
KR20070037634A (en) | Flexray Communication Component | |
CN101895462B (en) | Serial communication gateway | |
JP2006520118A (en) | Method, interface, and network for periodically transmitting Ethernet messages | |
ES2265055T3 (en) | PROCESS FOR THE OPERATION OF A FINAL USER OF AN ISOCRON AND CYCLING COMMUNICATION SYSTEM. | |
US8824333B2 (en) | Method and apparatus for full duplex serial shifting mode and switch mode data transmission |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121212 Termination date: 20130913 |