


技术领域technical field
本发明涉及一种在以太网链状网络结构中实现各网络节点间精确同步动作的方法和装置,尤其涉及一种在高性能集中式控制网络系统中,控制器采用标准网卡,即可实现以太网链状网络节点间同步的装置和方法。The present invention relates to a method and a device for realizing precise synchronous actions among network nodes in an Ethernet chain network structure, in particular to a high-performance centralized control network system, where the controller adopts a standard network card to realize Ethernet A device and method for synchronizing between nodes of a mesh chain network.
背景技术Background technique
在现场级通信中,有的系统对通信节点间的同步性有严格的要求,比如在运动控制中,各轴的同步性就是一个非常重要的因素。在某一时刻,各轴必须同时锁存当前的状态,控制器根据当前各轴的状态作规划、插补运算,在下一个周期时各轴根据规划数据作同步控制运动,各轴的运动是严格同步的。In field-level communication, some systems have strict requirements on the synchronization between communication nodes. For example, in motion control, the synchronization of each axis is a very important factor. At a certain moment, each axis must lock the current state at the same time. The controller performs planning and interpolation calculation according to the current state of each axis. In the next cycle, each axis performs synchronous control movement according to the planning data. The movement of each axis is strictly Synchronous.
现有的解决方案为网络上的所有站点必须通过精确的时钟同步以实现同步以太网。例如:Internet网络时间协议NTP(Network Time Protocal)、简单时间网络协议SNTP(SimpleNetwork Time Protocal)、IEEE1588标准精确时间协议PTP(Precision Time Protocal),周期性的通过发送带有时间戳协议的同步数据包实现通信循环的同步。Internet网络时间协议NTP、简单时间网络协议SNTP精度较低,只能达到几十ms的精度要求。The existing solution is that all stations on the network must be synchronized by precise clocks to realize synchronous Ethernet. For example: Internet Network Time Protocol NTP (Network Time Protocol), Simple Time Network Protocol SNTP (Simple Network Time Protocol), IEEE1588 Standard Precision Time Protocol PTP (Precision Time Protocol), periodically send synchronization packets with time stamp protocols Synchronization of the communication loop is achieved. The Internet Network Time Protocol NTP and the Simple Time Network Protocol SNTP have low precision and can only meet the precision requirements of tens of milliseconds.
IEEE1588将整个网络内的时钟分为普通时钟OC和边界时钟BC,只有一个PTP通信端口上的时钟为普通时钟,每个PTP端口提供独立的PTP通信。其中边界时钟通常用在确定性较差的网络设备如交换机和路由器上。从通信关系上又把时钟分为主时钟和从时钟,理论上任何时钟都能实现主时钟和从时钟的功能,但一个PTP通信子网内只能有一个主时钟。整个系统中的最优时钟为最高级时钟GMC,有着最好的稳定性、精确性、确定性等。根据各节点上时钟的精度和级别以及UTC(通用协调时间)的可追溯性等特性,由最佳主时钟算法来自动选择各子网内的主时钟。在只有一个子网的系统中,主时钟就是GMC。每个系统只有一个GMC,且每个子网内只有一个主时钟,从时钟与主时钟保持同步。PTP通信中的报文包括同步报文,跟随报文,延迟请求报文,延迟应答报文和管理报文等。PTP协议基于同步数据包被传播和接收时的最精确的匹配时间,每个从时钟通过与主时钟达到同步。这个同步过程分为两个阶段:偏移测量阶段和延迟测量阶段。第一阶段修正主时钟与从时钟之间的时间偏差,称为偏移测量。在修正偏移量的过程中,主时钟按照定义的间隔时间周期性地向相应的从时钟发出唯一的同步报文。这个同步报文包括该报文离开主时钟的时间估计值,主时钟测量传递的精确时间TM1,从时钟测量接收的准确时间TS1。之后主时钟发出第二条报文一跟随报文(Follow_Up Message),此报文与同步报文相关联,且包含同步报文放到PTP通信路径上得更为精确的估计值。这样,对传递和接收的测量与标准时间戳的传播可以分离开来。从时钟根据同步报文和跟随报文中的信息来计算偏移量,然后按照偏移量来修正从时钟的时间,如果在传输路径中没有延迟,那么两个时钟就会同步。为了提高修正精度,可以把主时钟到从时钟的报文传输延迟等待时间考虑进来,即延迟测量,这是同步过程的第二阶段,从时钟向主时钟发送一个“延迟请求”数据包,在这个过程中决定该报文传输准确时间TS3。主时钟对接收数据包打上一个时间戳TM3送回到从时钟。根据传递时间戳TS3和主时钟提供的接收时间戳TM3,从时钟计算与主时钟之间的延迟时间。与偏移测量不同,延迟测量是不规则进行的,其测量间隔时间(缺省4到60秒之间的随机值)比偏移值测量间隔时间大。这样使得网络尤其是设备终端的负荷不会太大。采用这种同步过程,消减PTP协议栈中的时间波动和主从时钟间的等待时间。在要求同步精度为微秒级的场合,想要获得如此高的同步定时,单纯靠软件是无法实现的,必须依靠网络第二层(数据链路层)中硬件的支持,即等时实时ASIC芯片。这种方式在周期性实时通信中,将严重增加传输的负担,依靠等时实时ASIC芯片,又增加了系统成本。IEEE1588 divides the clocks in the entire network into ordinary clocks OC and boundary clocks BC. Only the clock on one PTP communication port is an ordinary clock, and each PTP port provides independent PTP communication. Boundary clocks are usually used in network devices with poor determinism, such as switches and routers. From the communication relationship, the clock is divided into master clock and slave clock. In theory, any clock can realize the functions of master clock and slave clock, but there can only be one master clock in a PTP communication subnet. The optimal clock in the entire system is the highest-level clock GMC, which has the best stability, accuracy, and certainty. According to the accuracy and level of the clock on each node and the traceability of UTC (Universal Coordinated Time), the best master clock algorithm is used to automatically select the master clock in each subnet. In systems with only one subnet, the master clock is the GMC. Each system has only one GMC, and each subnet has only one master clock, and the slave clock is synchronized with the master clock. Messages in PTP communication include synchronization messages, following messages, delay request messages, delay response messages, and management messages. The PTP protocol is based on the most accurate matching time when synchronization packets are transmitted and received, and each slave clock is synchronized with the master clock. This synchronization process is divided into two phases: an offset measurement phase and a delay measurement phase. The first stage corrects for the time offset between the master and slave clocks, known as skew measurement. In the process of correcting the offset, the master clock periodically sends a unique synchronization message to the corresponding slave clock according to the defined interval time. This synchronization message includes an estimate of the time at which the message left the master clock, the master clock measuring the exact time of transfer TM1, and the slave clock measuring the exact time of reception TS1. Afterwards, the master clock sends a second message, a Follow_Up Message, which is associated with the synchronization message and contains a more accurate estimation value for the synchronization message to be placed on the PTP communication path. In this way, the measurement of delivery and reception can be separated from the propagation of standard timestamps. The slave clock calculates the offset according to the information in the synchronization message and the following message, and then corrects the time of the slave clock according to the offset. If there is no delay in the transmission path, the two clocks will be synchronized. In order to improve the correction accuracy, the delay waiting time of the message transmission from the master clock to the slave clock can be taken into account, that is, the delay measurement, which is the second stage of the synchronization process. The slave clock sends a "delay request" data packet to the master clock. In this process, the exact time TS3 of the packet transmission is determined. The master clock stamps a time stamp TM3 on the received data packet and sends it back to the slave clock. According to the transfer time stamp TS3 and the reception time stamp TM3 provided by the master clock, the slave clock calculates the delay time with the master clock. Unlike offset measurement, delay measurement is performed irregularly, and its measurement interval (default random value between 4 and 60 seconds) is greater than the offset measurement interval. In this way, the load on the network, especially the device terminal, will not be too large. Adopting this synchronization process reduces the time fluctuation in the PTP protocol stack and the waiting time between master and slave clocks. In the case where the synchronization accuracy is required to be at the microsecond level, it is impossible to achieve such a high synchronization timing by software alone, and it must rely on the support of hardware in the second layer of the network (data link layer), that is, isochronous real-time ASIC chip. This method will seriously increase the burden of transmission in periodic real-time communication, and rely on isochronous real-time ASIC chips, which will increase the system cost.
美国专利“Reduced pin-count 10Base-T MAC to transceiver interface”,专利号为5953345,提供了一种以太网中实现时钟同步的技术,该技术利用一个公共时钟信号和同步脉冲,利用单独的线来连接到网络节点的PHY收发器和MAC控制器中。在实际应用中,该方法不适用,因为采用单独的线增加了系统成本。The US patent "Reduced pin-count 10Base-T MAC to transceiver interface", the patent number is 5953345, provides a technology for clock synchronization in Ethernet, which uses a common clock signal and synchronization pulse, and uses a separate line to Connected to the PHY transceiver and MAC controller of the network node. In practical applications, this method is not suitable, because the use of separate wires increases the system cost.
美国专利‘CLOCK SYNCHRONIZING METHOD OVER FAULT-TOLERANT ETHERNET’,公开号为:US 2003/235216A1,公开了一种在控制系统中同步各网络节点的方法,每个网络节点包括一个主计算机和一个收发器。方法为监视一个包含时间戳信息的主时间数据包。在主模式下,主计算机提供一个数据报到收发器,在监听模式下,收发器保存一个带时间戳的数据包并通知到主计算机,在主时间模式时,用当地计时器中的值替代监视到的时间戳的值,主计算机把已替换时间戳的数据包发送到接收器。该方案提供了在PHY收发器和MAC控制层间增加一个处理时间戳的电路,以实现时钟的同步性。The US patent 'CLOCK SYNCHRONIZING METHOD OVER FAULT-TOLERANT ETHERNET', publication number: US 2003/235216A1, discloses a method for synchronizing network nodes in a control system, each network node includes a host computer and a transceiver. This is done by monitoring a master time packet that contains timestamp information. In master mode, the host computer provides a datagram to the transceiver. In listen mode, the transceiver saves a time-stamped packet and notifies the host computer. In master time mode, the value in the local timer is used instead of watch When the value of the time stamp is received, the host computer sends the data packet with the time stamp replaced to the receiver. This solution provides a circuit for processing time stamps between the PHY transceiver and the MAC control layer, so as to realize clock synchronization.
在SERCOS iii中,提供了一种在环形网络结构中实现节点间时钟同步的方式,控制器发送一个特定的同步报文,第一个节点收到该报文后修正自己的定时器,并转发该同步报文到下一个节点,这样每个节点都收到转发的同步报文,并修正自己的定时器。时钟同步的整个过程是以最后一个节点收到该同步报文并修正定时器为结束的,这样,由于在报文传输过程中的延时,使得各节点的定时器不够准确。In SERCOS iii, a way to achieve clock synchronization between nodes in a ring network structure is provided. The controller sends a specific synchronization message, and the first node corrects its own timer after receiving the message and forwards it. The synchronization message is sent to the next node, so that each node receives the forwarded synchronization message and corrects its own timer. The whole process of clock synchronization ends with the last node receiving the synchronization message and correcting the timer. In this way, due to the delay in the message transmission process, the timers of each node are not accurate enough.
美国专利“System for motion control,method of using the system for motion control,and computer readable instructions for use with the system for motion control”,专利号为7024257,提供了每个网络节点上有存储器,用来配置保存控制器与节点间相应的传输延迟,主控制器发送一个时间信息给各节点,各节点利用延迟修正电路,实现接收数据和动作的同步性。这种方法要求控制器具有严格的定时功能,但仅靠标准网卡是做不到的,必须靠专用设备,这就造成了控制器的封闭性,不能兼容别的厂家的产品,并提高了成本。The US patent "System for motion control, method of using the system for motion control, and computer readable instructions for use with the system for motion control", the patent number is 7024257, provides a memory on each network node for configuration storage The corresponding transmission delay between the controller and the nodes, the main controller sends a time information to each node, and each node uses the delay correction circuit to realize the synchronization of received data and actions. This method requires the controller to have a strict timing function, but it cannot be achieved only by standard network cards, and special equipment must be used, which results in the closed nature of the controller, which cannot be compatible with other manufacturers' products, and increases the cost. .
发明内容Contents of the invention
本发明的目的就是为了解决目前在以太网链状网络结构中实现各网络节点间精确同步动作时成本较高,不能兼容不同厂家产品,增加使用成本等问题,提供一种实现以太网链状网络节点间同步的装置和方法,它具有结构简单,使用方便等优点,解决了目前以太网链状网络结构中网络节点间同步依赖主控制器,造成各厂家控制系统封闭、不兼容的问题。The purpose of the present invention is to solve the problems of high cost, incompatibility with products from different manufacturers, and increased use costs in the current Ethernet chain network structure to achieve precise synchronization between network nodes, and to provide a method for realizing Ethernet chain network The device and method for synchronization between nodes has the advantages of simple structure and convenient use, and solves the problem that the synchronization between network nodes in the current Ethernet chain network structure depends on the main controller, which causes the control systems of various manufacturers to be closed and incompatible.
为实现上述目的,本发明采用如下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
一种实现以太网链状网络节点间同步的装置,它包括至少一个控制器和若干个网络节点,控制器能枚举和配置各网络节点,控制器分配给各网络节点一个单独的节点号,所述控制器具有至少一个通信接口,各节点具有至少两个通信接口,控制器的通信接口通过数据线连接到某节点的一个通信接口上,然后该节点的另一个通信接口通过数据线连接到下一个节点的一个通信接口上,这样彼此连接下去,形成一个链状网络结构;在各节点上还设有定时器。A device for realizing synchronization between Ethernet chain network nodes, which includes at least one controller and several network nodes, the controller can enumerate and configure each network node, and the controller assigns a separate node number to each network node, The controller has at least one communication interface, and each node has at least two communication interfaces. The communication interface of the controller is connected to a communication interface of a certain node through a data line, and then another communication interface of the node is connected to the communication interface through a data line. On a communication interface of the next node, they are connected to each other in this way to form a chain network structure; timers are also set on each node.
所述控制器为标准网卡,其发送的控制报文为IEEE802.3协议规范的报文结构;各节点采用dual PHY和带MAC IP核的FPGA作为网络通信接口;在各网络节点中均设有一个PLL电路,各晶振信号经过该PLL电路后再产生时钟信号,以消除各网络节点间的时钟信号抖动的影响。Described controller is a standard network card, and the control message that it sends is the message structure of IEEE802.3 agreement specification; Each node adopts dual PHY and FPGA with MAC IP core as network communication interface; A PLL circuit, each crystal oscillator signal passes through the PLL circuit to generate a clock signal, so as to eliminate the influence of clock signal jitter between network nodes.
一种实现以太网链状网络节点间同步的方法,它的方法为,A method for realizing synchronization between nodes of an Ethernet chain network, the method is,
(1)系统上电后,控制器对各网络节点进行自检,控制器发送一个查询报文,第一个网络节点首先接收到此查询报文,然后转发此查询报文,并发送自己的应答报文,将自己的设备号初始化为0;各网络节点在收到查询报文后依次转发此查询报文,并发送自己的应答报文和将自己的设备号初始化为0,直到最后一个网络节点;最后一个网络节点可以通过拨码开关或者其他的装置来确定,该最后一个网络节点收到此查询报文后,发送自己的应答报文,包含为最后一个网络节点的信息,并将自己的设备号初始化为0,控制器收到最后一个网络节点的应答报文后,说明系统连接可靠和各设备正常工作;若控制器在发送完查询报文后,在设定时间内收不到最后一个网络节点的应答报文,将报告错误,说明有故障;(1) After the system is powered on, the controller performs self-test on each network node, the controller sends a query message, the first network node first receives the query message, then forwards the query message, and sends its own Response message, initialize its own device number to 0; each network node forwards the query message in turn after receiving the query message, and sends its own response message and initializes its own device number to 0, until the last Network node; the last network node can be determined by a dial switch or other devices. After receiving the query message, the last network node sends its own response message, which contains the information of the last network node, and sends The own device number is initialized to 0. After the controller receives the response message from the last network node, it indicates that the system connection is reliable and all devices are working normally; if the controller fails to receive the query message within the set time The response message to the last network node will report an error, indicating that there is a fault;
(2)自检通过后,控制器对各网络节点进行枚举和配置;(2) After passing the self-test, the controller enumerates and configures each network node;
(3)然后,控制器发送一个测量网络时间延迟的控制报文通知各网络节点,第一个网络节点发送一个特定的报文,各网络节点转发该特定报文,测量自己与最后一个网络节点间的网络时间延迟;(3) Then, the controller sends a control message to measure the network time delay to notify each network node, the first network node sends a specific message, each network node forwards the specific message, and measures the time between itself and the last network node The network time delay between;
(4)进入网络周期性工作阶段,第一个网络节点周期性地发送一个同步报文,各网络节点在接收到该同步报文后将转发此同步报文到下一个网络节点,各网络节点收到该同步报文后,延迟一定的时间以补偿网络时间延迟,然后动作,实现网络节点间动作同步性;(4) Entering the network periodic working stage, the first network node periodically sends a synchronization message, each network node will forward the synchronization message to the next network node after receiving the synchronization message, each network node After receiving the synchronization message, delay for a certain time to compensate for the network time delay, and then act to realize the synchronization of actions between network nodes;
(5)其他的各网络节点的定时器也设定初始参数值,该初始参数为测量网络节点间网络时间延迟中测得的该网络节点相对于最后一个网络节点的网络时间延迟;各网络节点在收到同步报文后,触发定时器,该定时器在时钟信号的驱动下,开始计时,到设定的初时参数后,产生一个中断信号,网络节点根据该中断信号锁存当前的状态并按照控制报文的命令动作,并将当前的状态信息以报文的形式发送到控制器;控制器收到各网络节点的状态信息后,然后作数据规划,并将规划的数据以数据报文的形式在该周期发送到各网络节点;各网络节点在收到数据报文后,在下一周期按照同样的方式动作;这样周期往复下去,实现系统正常的周期数据交换和同步动作。(5) The timers of other network nodes also set initial parameter values, and this initial parameter is the network time delay of the network node measured in the network time delay between network nodes relative to the last network node; each network node After receiving the synchronization message, the timer is triggered. Driven by the clock signal, the timer starts counting. After reaching the set initial parameters, an interrupt signal is generated. The network node latches the current state according to the interrupt signal and Act according to the command of the control message, and send the current status information to the controller in the form of a message; after the controller receives the status information of each network node, it then makes a data plan and sends the planned data in a data message The form is sent to each network node in this cycle; each network node acts in the same way in the next cycle after receiving the data message; in this way, the cycle goes on and on, realizing the normal cycle data exchange and synchronous action of the system.
所述步骤3)中测量网络时间延迟的控制报文结构为IEEE802.3协议规范,其组成包括前导符7bytes、分割符1byte、目的地址6bytes、源地址6bytes、长度/类型字段2bytes、数据段46-1500bytes、帧校验序列域4bytes,其中数据段又分为两个bytes的控制器报文标志,紧跟着的一个byte用来区分控制报文的不同控制信息的控制类型标志,其余为控制报文的数据信息。The control message structure for measuring network time delay in the step 3) is the IEEE802.3 protocol specification, and its composition includes leading character 7bytes, separator 1byte, destination address 6bytes, source address 6bytes, length/type field 2bytes, data segment 46 -1500bytes, frame check sequence field 4bytes, in which the data segment is divided into two bytes of the controller message flag, followed by a byte used to distinguish the control type flag of different control information of the control message, and the rest are control The data information of the message.
所述步骤3)中测量网络节点间网络时间延迟方法为,各节点收到控制报文后,将定时器清零,第一个网络节点向下一个网络节点发送一个特定的报文,并触发自己的定时器开始计时;第二个网络节点收到该特定报文后向下一个网络节点转发此报文,并触发自己的定时器开始计时;这样向下转发下去,直到最后一个网络节点;最后一个网络节点收到该特定报文后将向上一个网络节点转发该特定报文,上一个网络节点收到该特定报文后再向上转发该特定报文,并触发自己的定时器停止计时,这样向上转发并触发自己的定时器停止计时,直到第一个网络节点;第一个网络节点收到该特定报文后将触发自己的定时器停止计时,并不再转发该特定报文;这样,每个网络节点即可获得自己与最后一个网络节点间的网络时间延迟,即定时器计时的一半,该定时器的计时将以寄存器参数的形式保存在各网络节点上,最后一个网络节点该参数设为0。The method for measuring the network time delay between network nodes in the step 3) is that after each node receives the control message, the timer is cleared, and the first network node sends a specific message to the next network node, and triggers Its own timer starts counting; the second network node forwards the message to the next network node after receiving the specific message, and triggers its own timer to start counting; in this way, it forwards down until the last network node; After the last network node receives the specific message, it will forward the specific message to the previous network node, and the previous network node will forward the specific message after receiving the specific message, and trigger its own timer to stop counting. In this way, it forwards upwards and triggers its own timer to stop counting until the first network node; after the first network node receives the specific message, it will trigger its own timer to stop counting and no longer forward the specific message; thus , each network node can obtain the network time delay between itself and the last network node, which is half of the timing of the timer, and the timing of the timer will be saved on each network node in the form of register parameters. The parameter is set to 0.
所述步骤4)的周期性工作阶段中,各网络节点在动作的同时锁存当前网络节点的当前状态,并按照上一个周期收到的控制器的命令报文同时动作,将该节点的状态信息以报文的形式发送到控制器,控制器分析各节点的状态信息,并统一规划下一周期各节点的动作,并将该动作信息以命令报文的形式在该周期传送到各网络节点上,实现各网络节点动作的同步性。In the periodic working stage of step 4), each network node latches the current state of the current network node while acting, and acts simultaneously according to the command message of the controller received in the previous cycle, and the state of the node The information is sent to the controller in the form of a message, the controller analyzes the status information of each node, and uniformly plans the actions of each node in the next cycle, and transmits the action information to each network node in the form of a command message in this cycle In this way, the synchronization of the actions of each network node is realized.
所述步骤4)中,周期性的发送一个同步报文是指第一个节点的定时器设定初始参数后,该初始参数就是周期性通信的通信周期,定时器在第一个网络节点时钟信号的驱动下,开始计时,当计时值到达设定的初始参数时,该定时器产生一个中断信号并将定时器清零并重新开始计时,第一个网络节点收到该中断信号,将向下发送一个特定的同步报文,这样周期往复,实现了周期性发送同步报文的方法。In described step 4), sending a synchronous message periodically means that after the timer of the first node sets the initial parameter, the initial parameter is exactly the communication period of the periodic communication, and the timer starts at the first network node clock Driven by the signal, the timing starts. When the timing value reaches the set initial parameter, the timer generates an interrupt signal and clears the timer and restarts timing. The first network node receives the interrupt signal and sends Next, send a specific synchronization message, so that the cycle is repeated, and the method of periodically sending the synchronization message is realized.
所述步骤4)中网络节点延迟一定的时间,然后动作的方法为各网络节点中都包括一个定时器,各定时器可设定初始参数值,该初始参数该网络节点相对于最后一个网络节点的网络时间延迟,各网络节点在收到同步报文后,触发定时器,该定时器在时钟信号的驱动下,开始定时,到设定的初始参数后,产生一个中断信号,网络节点根据该中断信号锁存当前的状态并按照控制报文的命令动作,并将当前的状态信息以报文的形式发送到控制器。In said step 4), the network node delays for a certain time, and then the method of action is that each network node includes a timer, and each timer can set an initial parameter value, and the initial parameter value of this network node is relative to the last network node The network time delay, each network node triggers the timer after receiving the synchronization message, the timer starts timing under the drive of the clock signal, and generates an interrupt signal after the initial parameter is set, and the network node according to the The interrupt signal latches the current state and acts according to the command of the control message, and sends the current state information to the controller in the form of a message.
所述步骤4)中,同步报文在各网络节点间传送,用两个字节0XAA55来表示。In the step 4), the synchronization message is transmitted between each network node, which is represented by two bytes 0XAA55.
本发明结合FPGA(现场可编程门阵列)技术实现了一种在以太网链状网络结构中实现各网络节点间精确同步动作的方法,尤其是在高性能的集中式控制网络系统中,控制器不采用专用设备,实现各网络节点精确同步动作的方法与装置。该方法解决了目前以太网链状网络结构中网络节点间同步依赖主控制器,造成各厂家控制系统封闭、不兼容的问题。The present invention combines FPGA (Field Programmable Gate Array) technology to realize a method for realizing precise synchronous actions between network nodes in an Ethernet chain network structure, especially in a high-performance centralized control network system, the controller A method and device for realizing precise synchronous actions of network nodes without using special equipment. The method solves the problem that the synchronization between network nodes in the current Ethernet chain network structure depends on the main controller, which causes the control systems of various manufacturers to be closed and incompatible.
本发明的有益效果:Beneficial effects of the present invention:
(1)本发明提出一种实现以太网链状网络节点间同步的方法与装置,尤其适用于集成式控制网络系统中,控制器采用普通标准网卡,与以太网完全兼容,实现了工厂控制网络的一致性,实现了一网到底,避免了控制器采用专用设备时不兼容的局限性。(1) The present invention proposes a method and device for realizing synchronization between nodes of an Ethernet chain network, especially suitable for an integrated control network system. The controller adopts a common standard network card, which is fully compatible with Ethernet, and realizes a factory control network Consistency, realize one network to the end, and avoid the limitation of incompatibility when the controller adopts special equipment.
(2)本发明提出一种实现以太网链状网络节点间同步的方法与装置,相比Internet网络时间协议NTP(Network Time Protocal)、简单时间网络协议SNTP(SimpleNetwork Time Protocal)、IEEE1588标准精确时间协议协议PTP(Precision TimeProtocal)等方法,减轻了网络负担。在实现高精度同步时,避免每个从设备站点必须自带精确时钟芯片(即等时实时ASIC),节约了成本。(2) The present invention proposes a method and device for realizing synchronization between Ethernet chain network nodes, compared with Internet Network Time Protocol NTP (Network Time Protocol), Simple Time Network Protocol SNTP (Simple Network Time Protocol), IEEE1588 standard accurate time Protocol Protocol PTP (Precision Time Protocol) and other methods reduce the burden on the network. When realizing high-precision synchronization, it is avoided that each slave device site must have its own precise clock chip (that is, an isochronous real-time ASIC), which saves costs.
附图说明:Description of drawings:
图1为实施例1的系统的内部结构图;Fig. 1 is the internal structural diagram of the system of
图2为控制器的控制报文结构;Fig. 2 is the control message structure of controller;
图3为系统的工作流程图。Figure 3 is the working flow chart of the system.
其中,1、控制器,2、网络节点,3、标准网卡,4、变压器,5、dual PHY,6、带MAC IP核的FPGA,7、定时器。Among them, 1. Controller, 2. Network node, 3. Standard network card, 4. Transformer, 5. Dual PHY, 6. FPGA with MAC IP core, 7. Timer.
具体实施方式Detailed ways
下面结合附图与实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
本发明采用了以太网链状网络,它包括控制器1和若干个网络节点2,控制器1能枚举和配置各网络节点2,控制器1分配给各网络节点2一个单独的节点号。控制器1发送一个测量网络节点间时间延迟的控制报文后,各网络节点2测量自己与最后一个网络节点2间的网络时间延迟。在网络周期性工作阶段,第一个网络节点2周期性地发送一个同步报文,各网络节点2在接收到该同步报文后将转发此同步报文到下一个网络节点2,各网络节点2收到该同步报文后,延迟一定的时间以补偿网络时间延迟,然后动作,这样实现了网络节点2间动作同步性。The present invention adopts an Ethernet chain network, which includes a
控制器1选用标准网卡3作为网络通信接口,各节点采用dual PHY5和带MAC IP核的FPGA6作为网络通信接口,这样,控制器1具有一个通信接口,而各节点具有两个通信接口,控制器1的通信接口通过数据线连接到节点的一个通信接口上,节点的另一个通信接口通过数据线连接到下一个节点的一个通信接口上,这样彼此连接下去,形成一个链状网络结构。
控制器1发送的控制报文结构符合IEEE802.3报文结构协议规范,为了与控制器1所发的TCP/IP等报文格式区别,在IEEE802.3报文结构数据区域中前两个字节用0X55AA表示为控制报文的格式,紧跟着的一个字节用来区分控制报文的不同控制信息,例如0X11表示测量网络节点间时间延迟的控制报文,剩下的为控制报文的数据区域。整个报文组成包括前导符7bytes、分割符1byte、目的地址6bytes、源地址6bytes、长度/类型字段2bytes、数据段46-1500bytes、帧校验序列域4bytes,其中数据段又分为两个bytes的控制器报文标志,紧跟着的一个byte用来区分控制报文的不同控制信息的控制类型标志,其余为控制报文的数据信息。The control message structure sent by
第一个网络节点2周期性发送的同步报文,该同步报文是在各网络节点2间传送,其结构协议不必符合IEEE802.3这种长的报文结构协议规范,由于同步报文关系到同步的精度,因此该同步报文应尽量短。该同步报文的用两个字节0XAA55来表示。The synchronization message sent periodically by the
由于各晶振在制造时都有一定的偏差,这也是允许的,为了消除各网络节点间的时钟信号抖动,各网络节点中都设有一个PLL电路,各晶振信号经过该PLL电路后再产生时钟信号,该相位锁定回路电路消除了各网络节点间的时钟信号抖动的影响。Since each crystal oscillator has a certain deviation during manufacture, this is also allowed. In order to eliminate the clock signal jitter between each network node, each network node is equipped with a PLL circuit, and each crystal oscillator signal passes through the PLL circuit to generate a clock. signal, the phase-locked loop circuit eliminates the influence of clock signal jitter among network nodes.
一种实现以太网链状网络节点间同步的方法,其工作方法为:A method for realizing synchronization between nodes of an Ethernet chain network, the working method of which is as follows:
(1)系统上电后,控制器对各网络节点进行自检,控制器发送一个查询报文,第一个网络节点首先接收到此查询报文,第一个网络节点将转发此查询报文,并发送自己的应答报文和将自己的设备号初始化为0,各网络节点在收到查询报文后依次转发此查询报文,并发送自己的应答报文和将自己的设备号初始化为0,直到最后一个网络节点,最后一个网络节点可以通过拨码开关或者其他的装置来确定,该最后一个网络节点收到此查询报文后,发送自己的应答报文,包含为最后一个网络节点的信息,并将自己的设备号初始化为0,控制器收到最后一个网络节点的应答报文后,说明系统连接可靠和各设备正常工作;若控制器在发送完查询报文后,等待一段时间,此时间为正常情况下枚举最大网络节点数的最长时间的2倍,仍然收不到最后一个网络节点的应答报文,将报告错误,说明有故障;(1) After the system is powered on, the controller performs self-test on each network node, the controller sends a query message, the first network node receives the query message first, and the first network node will forward the query message , and send its own response message and initialize its own device number to 0, each network node forwards the query message in turn after receiving the query message, and sends its own response message and initializes its own device number to 0, until the last network node. The last network node can be determined by a dial switch or other devices. After receiving the query message, the last network node sends its own response message, including the last network node information, and initialize its own device number to 0, after the controller receives the response message from the last network node, it indicates that the system connection is reliable and all devices are working normally; if the controller waits for a period of time after sending the query message Time, this time is twice the longest time for enumerating the maximum number of network nodes under normal circumstances, if the response message from the last network node is still not received, an error will be reported, indicating that there is a fault;
(2)自检通过后,控制器对各网络节点进行枚举和配置,即从控制器收到最后一个网络节点的应答报文后,开始发送配置报文,跟控制器相连的第一个网络节点,此时设备号为0,将先收到配置报文,收到此配置报文后,将不转发此配置报文到下一个网络节点,第一个网络节点将自己的设备号设置为1,同时发送一个应答报文,包含自己的设备号、该网络节点的功能、作用等,控制器在配置完第一个网络节点后,将再发个下一个配置报文,第一个网络节点(此时设备号为0)将转发此配置报文到第二个网络节点,第二个网络节点在收到此配置报文后将不转发此配置报文到下一个网络节点,第二个网络节点将自己的设备号设置为2,同时发送一个应答报文,包含自己的设备号、该从设备的功能、作用等;这样依次类推,直到配置到最后一个网络节点;这样每个网络节点都有自己唯一的设备标号,控制器也建立一个设备表,包含各网络节点的设备号、各网络节点的功能和作用等;(2) After the self-test is passed, the controller enumerates and configures each network node, that is, after receiving the response message from the last network node from the controller, it starts to send the configuration message, and the first node connected to the controller The network node, whose device number is 0 at this time, will receive the configuration message first. After receiving the configuration message, it will not forward the configuration message to the next network node. The first network node will set its own device number to It is 1, and at the same time send a response message, including its own device number, the function and role of the network node, etc. After the controller configures the first network node, it will send the next configuration message, the first The network node (the device number is 0 at this time) will forward this configuration message to the second network node, and the second network node will not forward this configuration message to the next network node after receiving the configuration message. The two network nodes set their device number to 2, and send a response message at the same time, including their own device number, the function and function of the slave device, etc.; and so on until the last network node is configured; Each network node has its own unique device label, and the controller also creates a device table, including the device number of each network node, the function and role of each network node, etc.;
(3)然后,控制器发送一个测量网络时间延迟的控制报文,各网络节点上包括一个定时器,第一个网络节点在收到测量网络时间延迟的控制报文后,将自己的定时器清零,并转发该测量网络时间延迟的控制报文,各网络节点收到此控制报文后,将定时器清零。第一个网络节点向第二个网络节点发送一个特定的控制报文,并触发自己的定时器开始计时,第二个网络节点收到该特定报文后向第三个网络节点转发此报文,并触发自己的定时器开始计时,这样向下转发下去,直到最后一个网络节点,最后一个网络节点收到该特定报文后将向上一个网络节点转发该特定报文,上一个网络节点收到该特定报文后将上转发该特定报文后,并触发自己的定时器停止计时,这样各网络节点向上转发下去并触发自己的定时器停止定时,直到第一个网络节点,第一个网络节点收到该特定报文后将触发自己的定时器停止定时,并不再转发该特定报文。这样,每个网络节点就能知道自己跟最后一个网络节点间的网络时间延迟,即定时器计时的一半,该定时器的计时将以寄存器参数的形式保存在各网络节点上,最后一个网络节点该参数设为0。(3) Then, the controller sends a control message for measuring network time delay, each network node includes a timer, and the first network node sets its own timer after receiving the control message for measuring network time delay. Clear the timer and forward the control message for measuring the network time delay. After receiving the control message, each network node clears the timer. The first network node sends a specific control message to the second network node, and triggers its own timer to start timing, and the second network node forwards the message to the third network node after receiving the specific message , and trigger its own timer to start counting, and forward it down until the last network node. After the last network node receives the specific message, it will forward the specific message to the previous network node. The previous network node receives the specific message. After forwarding the specific message, it will trigger its own timer to stop timing, so that each network node will forward it upwards and trigger its own timer to stop timing until the first network node, the first network node After receiving the specific message, the node will trigger its own timer to stop timing, and will no longer forward the specific message. In this way, each network node can know the network time delay between itself and the last network node, which is half of the timing of the timer. The timing of the timer will be saved on each network node in the form of register parameters. The last network node This parameter is set to 0.
(4)系统进入周期性通信阶段,第一个网络节点周期性地发送一个同步报文,第一个节点中包括一个定时器,该定时器可设定初始参数,该初始参数就是周期性通信的通信周期,定时器在第一个网络节点时钟信号的驱动下,开始计数,当计数值到达设定的初始参数时,该定时器产生一个中断信号并将定时器清零,第一个网络节点收到该中断信号,将向下发送一个特定的同步报文。定时器在时钟信号的驱动下,开始计数,到达初始参数值后,产生一个中断信号并将计时器清零。这样周期往复,实现了周期性发送同步报文的方法。(4) The system enters the periodic communication stage, the first network node periodically sends a synchronization message, the first node includes a timer, the timer can set the initial parameters, the initial parameters are periodic communication The communication cycle of the timer starts counting driven by the clock signal of the first network node. When the count value reaches the set initial parameter, the timer generates an interrupt signal and clears the timer. The first network When the node receives the interrupt signal, it will send down a specific synchronization message. Driven by the clock signal, the timer starts counting, and when it reaches the initial parameter value, an interrupt signal is generated and the timer is cleared. In this way, the cycle is reciprocated, and the method of periodically sending the synchronization message is realized.
(5)其他的各网络节点中都包括一个定时器,该定时器可设定初始参数值,该初始参数为测量网络节点间网络时间延迟中测得的该网络节点相对于最后一个网络节点的网络时间延迟。各网络节点在收到同步报文后,触发定时器,该定时器在时钟信号的驱动下,开始计数,到设定的初时参数后,产生一个中断信号,网络节点根据该中断信号锁存当前的状态并按照控制报文的命令动作,并将当前的状态信息以报文的形式发送到控制器。控制器收到各网络节点的状态信息后,然后作数据规划,并将规划的数据以数据报文的形式在该周期发送到各网络节点。各网络节点在收到数据报文后,在下一周期按照同样的方式动作。这样周期往复下去,实现系统正常的周期数据交换和同步动作。(5) Each other network node includes a timer, and the timer can set an initial parameter value. The initial parameter is the measured value of the network node relative to the last network node in measuring the network time delay between network nodes. Network time delay. Each network node triggers the timer after receiving the synchronization message, and the timer starts counting under the drive of the clock signal, and generates an interrupt signal after reaching the set initial parameters, and the network node latches the current timer according to the interrupt signal. state and act according to the command of the control message, and send the current state information to the controller in the form of a message. After receiving the status information of each network node, the controller makes data planning, and sends the planned data to each network node in the form of a data message in the period. Each network node acts in the same way in the next cycle after receiving the data message. In this way, the cycle goes back and forth to realize the normal cycle data exchange and synchronous action of the system.
步骤4)中,网络周期性通信阶段是指,第一个网络节点周期性的发送一个同步报文,各网络节点收到该同步报文后,延迟一定时间以补偿报文传输过程中的网络时间延迟,同时动作,锁存当前网络节点上传感器的当前状态,并按照上一个周期收到的控制器的命令报文同时动作,将该节点的状态信息以报文的形式发送到控制器,控制器分析各节点的状态信息,并统一规划下一周期各节点的动作,并将该动作信息以命令报文的形式在该周期传送到各网络节点上,实现了各网络节点动作的同步性。In step 4), the periodical network communication phase refers to that the first network node periodically sends a synchronization message, and after receiving the synchronization message, each network node delays for a certain period of time to compensate for the network delay in the message transmission process. Time delay, act at the same time, latch the current state of the sensor on the current network node, and act simultaneously according to the command message received from the controller in the previous cycle, and send the state information of the node to the controller in the form of a message, The controller analyzes the status information of each node, and uniformly plans the actions of each node in the next cycle, and transmits the action information to each network node in the form of a command message in this cycle, realizing the synchronization of the actions of each network node .
各网络节点延迟一定的时间,然后动作的方法为,各网络节点中的定时器可设定初始参数值,该初始参数为该网络节点相对于最后一个网络节点的网络时间延迟。各网络节点在收到同步报文后,触发定时器,该定时器在时钟信号的驱动下,开始计时,到设定的初时参数后,产生一个中断信号,网络节点根据该中断信号锁存当前的状态并按照控制报文的命令动作,并将当前的状态信息以报文的形式发送到控制器。Each network node delays for a certain time, and then the method of action is that the timer in each network node can set an initial parameter value, and the initial parameter is the network time delay of this network node relative to the last network node. Each network node triggers the timer after receiving the synchronization message, and the timer starts timing under the drive of the clock signal, and generates an interrupt signal after reaching the set initial parameters, and the network node latches the current timer according to the interrupt signal. state and act according to the command of the control message, and send the current state information to the controller in the form of a message.
下面以一个控制器1和3个网络节点2组成的链状网络结构来说明。其中控制器1包括标准网卡3,网络节点2则包括变压器4、dual PHY5、带MAC IP核的FPGA6和定时器7。The chain network structure composed of one
其工作过程为:Its working process is:
(1)系统上电后,控制器1对各网络节点2进行自检,控制器1发送一个查询报文,第一个网络节点2首先接收到此查询报文,第一个网络节点2将转发此查询报文,并发送自己的应答报文和将自己的设备号初始化为0,第二个网络节点2收到此查询报文将转发此查询报文,并发送自己的应答报文和将自己的设备号初始化为0,直到最后一个网络节点2,最后一个网络节点2可以通过拨码开关或者其他的装置来确定,该最后一个网络节点2收到此查询报文后,发送自己的应答报文,包含为最后一个网络节点的信息,并将自己的设备号初始化为0,控制器1收到最后一个网络节点2的应答报文后,说明系统连接可靠和各设备正常工作;若控制器1在发送完查询报文后,等待一段时间,此时间为正常情况下枚举最大网络节点数的最长时间的2倍,仍然收不到最后一个网络节点2的应答报文,将报告错误,说明有故障;(1) After the system is powered on, the
(2)自检通过后,控制器1对各网络节点2进行枚举和配置,即控制器1收到最后一个网络节点2的应答报文后,开始发送配置报文,跟控制器1相连的第一个网络节点2,此时设备号为0,将先收到配置报文,收到此配置报文后,将不转发此配置报文到下一个网络节点2,第一个网络节点2将自己的设备号设置为1,同时发送一个应答报文,包含自己的设备号、该网络节点的功能、作用等,控制器1在配置完第一个网络节点后,将再发个下一个配置报文,第一个网络节点2(此时设备号不为0)将转发此配置报文到第二个网络节点2,第二个网络节点2在收到此配置报文后将不转发此配置报文到下一个网络节点2,第二个网络节点2将自己的设备号设置为2,同时发送一个应答报文,包含自己的设备号、该网络节点的功能、作用等;这样依次类推,直到配置到最后一个网络节点2;这样每个网络节点2都有自己唯一的设备标号,控制器1也建立一个设备表,包含各网络节点的设备号、各网络节点的功能和作用等;(2) After the self-test is passed, the
(3)控制器1然后发送一个测量网络时间延迟的控制报文,各网络节点上2包括一个定时器7,第一个网络节点2在收到测量网络时间延迟的控制报文后,将自己的定时器7清零,并转发该测量网络时间延迟的控制报文,各网络节点收到此控制报文后,也将自己的定时器7清零。(3) The
(4)第一个网络节点2向第二个网络节点2发送一个特定的控制报文,并触发自己的定时器7开始计时,第二个网络节点2收到该特定报文后向第三个网络节点2转发此报文,并触发自己的定时器7开始计时,最后一个网络节点2收到该特定报文后将向上一个网络节点2转发该特定报文,上一个网络节点2收到该特定报文后将上转发该特定报文后,并触发自己的定时器7停止计时,直到第一个网络节点,第一个网络节点2收到该特定报文后将触发自己的定时器7停止定时,并不再转发该特定报文。这样,每个网络节点2就能知道自己跟最后一个网络节点2间的网络时间延迟,即定时器7计时的一半,该定时器的计时将以寄存器参数的形式保存在各网络节点上,最后一个网络节点该寄存器参数设为0。(4) The
(5)系统进入周期性通信阶段,第一个网络节点2周期性地发送一个同步报文,第一个节点2中包括一个定时器7,该定时器可设定初始参数,该初始参数就是周期性通信的通信周期,定时器7在第一个网络节点2时钟信号的驱动下,开始计数,当定时期的值到达设定的初始参数时,该定时器7产生一个中断信号并将定时器7清零,并再开始定时,第一个网络节点2收到该中断信号,将向下发送一个特定的同步报文,各网络节点将转发此同步报文。这样周期往复,实现了周期性发送同步报文的方法。(5) The system enters the periodical communication stage, the
(6)各网络节点2中都包括一个定时器7,该定时器7可设定初始参数值,该初始参数为测量网络节点间网络时间延迟中测得的该网络节点相对于最后一个网络节点的网络时间延迟。网络节点2发送该同步报文、网络节点3转发完同步报文和网络节点4收到同步报文后,触发定时器7,该定时器7在时钟信号的驱动下,开始定时,到设定的初时参数后,产生一个中断信号,网络节点2根据该中断信号锁存当前的状态并按照控制报文的命令动作,并将当前的状态信息以报文的形式发送到控制器1。控制器1收到各网络节点的状态信息后,然后作数据规划,并将规划的数据以数据报文的形式在该周期发送到各网络节点2。这样周期往复下去,实现系统正常的周期数据交换和同步动作。(6) Each
各节点2包括变压器4、DUAL PHY5和带MAC IP核的FPGA6、两个定时器7。Each
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2007100144192ACN100561904C (en) | 2007-04-29 | 2007-04-29 | Device and method for realizing synchronization between nodes of Ethernet chain network |
| PCT/CN2008/000268WO2008101394A1 (en) | 2007-02-13 | 2008-02-02 | Real-time synchronous method and synchronous network based on the standard ethernet |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2007100144192ACN100561904C (en) | 2007-04-29 | 2007-04-29 | Device and method for realizing synchronization between nodes of Ethernet chain network |
| Publication Number | Publication Date |
|---|---|
| CN101039173Atrue CN101039173A (en) | 2007-09-19 |
| CN100561904C CN100561904C (en) | 2009-11-18 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2007100144192AExpired - Fee RelatedCN100561904C (en) | 2007-02-13 | 2007-04-29 | Device and method for realizing synchronization between nodes of Ethernet chain network |
| Country | Link |
|---|---|
| CN (1) | CN100561904C (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008101394A1 (en)* | 2007-02-13 | 2008-08-28 | Shan Dong University | Real-time synchronous method and synchronous network based on the standard ethernet |
| CN101232457B (en)* | 2008-02-22 | 2011-04-27 | 浙江大学 | A high-precision real-time synchronization method based on IEEE1588 protocol |
| CN102237997A (en)* | 2011-07-08 | 2011-11-09 | 山东大学 | Method for real-time synchronization and dynamic compensation between chain Ethernet nodes |
| CN102332973A (en)* | 2011-09-07 | 2012-01-25 | 上海交通大学 | A Real-time Communication and Clock Synchronization Method of Chain Network |
| CN102447553A (en)* | 2010-10-12 | 2012-05-09 | 研祥智能科技股份有限公司 | Realizing device of accurate time synchronization protocol |
| CN102638845A (en)* | 2011-02-12 | 2012-08-15 | 苏州达联信息科技有限公司 | Railway track monitoring sensing network controller communication protocol and implementation device thereof |
| CN102710484A (en)* | 2012-05-26 | 2012-10-03 | 济南凌康数控技术有限公司 | Ring redundant real-time Ethernet communication method |
| CN103441810A (en)* | 2013-07-11 | 2013-12-11 | 盛科网络(苏州)有限公司 | Ethernet frequency synchronization method and device for multiple time domains |
| CN103607270A (en)* | 2013-11-28 | 2014-02-26 | 上海新时达电气股份有限公司 | Method for improving synchronous performance of Powerlink Ethernet |
| CN104025483A (en)* | 2011-11-02 | 2014-09-03 | 马维尔国际贸易有限公司 | Services, systems and methods for precisely estimating a delay within a network |
| CN104365043A (en)* | 2012-04-20 | 2015-02-18 | 瑞典爱立信有限公司 | Ring based precise time data network clock phase adjustments |
| CN104850526A (en)* | 2015-06-10 | 2015-08-19 | 首都师范大学 | Method for time synchronization in dynamically reconfigurable high-speed serial bus |
| CN105704150A (en)* | 2016-03-25 | 2016-06-22 | 山东超越数控电子有限公司 | Industrial process data transmission method |
| CN105763278A (en)* | 2016-01-06 | 2016-07-13 | 杭州华三通信技术有限公司 | Method and device for time backtracking |
| CN110009206A (en)* | 2019-03-21 | 2019-07-12 | 五邑大学 | A timed speech scoring method, device, equipment and storage medium |
| CN110324213A (en)* | 2018-03-31 | 2019-10-11 | 神盾网络安全信息化中心股份有限公司 | A kind of data transmission method of smart home |
| CN112381348A (en)* | 2020-10-13 | 2021-02-19 | 广州赛意信息科技股份有限公司 | Production data real-time clock synchronization method and system based on API gateway |
| CN112968822A (en)* | 2021-03-15 | 2021-06-15 | 广州铁路职业技术学院(广州铁路机械学校) | One-master multi-slave real-time communication system and method based on Ethernet PHY |
| CN114362874A (en)* | 2022-03-21 | 2022-04-15 | 北京国科天迅科技有限公司 | Master clock equipment determining method and device, electronic equipment and storage medium |
| CN116719758A (en)* | 2023-06-14 | 2023-09-08 | 欧瑞传动电气股份有限公司 | PROFINET distributed IO synchronization method |
| CN117221041A (en)* | 2023-09-26 | 2023-12-12 | 浙江国利信安科技有限公司 | EPA network-based multi-target synchronous control system, method and medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7024257B2 (en)* | 2001-02-09 | 2006-04-04 | Motion Engineering, Inc. | System for motion control, method of using the system for motion control, and computer-readable instructions for use with the system for motion control |
| US7200158B2 (en)* | 2002-06-24 | 2007-04-03 | Honeywell International | Clock synchronizing method over fault-tolerant Ethernet |
| CN1866803B (en)* | 2005-09-13 | 2012-05-30 | 华为技术有限公司 | Method for solving clock synchronization in total Ethernet |
| CN201054597Y (en)* | 2007-04-29 | 2008-04-30 | 山东大学 | A device for realizing the Ethernet link network node synchronization |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008101394A1 (en)* | 2007-02-13 | 2008-08-28 | Shan Dong University | Real-time synchronous method and synchronous network based on the standard ethernet |
| CN101232457B (en)* | 2008-02-22 | 2011-04-27 | 浙江大学 | A high-precision real-time synchronization method based on IEEE1588 protocol |
| CN102447553A (en)* | 2010-10-12 | 2012-05-09 | 研祥智能科技股份有限公司 | Realizing device of accurate time synchronization protocol |
| CN102638845A (en)* | 2011-02-12 | 2012-08-15 | 苏州达联信息科技有限公司 | Railway track monitoring sensing network controller communication protocol and implementation device thereof |
| CN102237997B (en)* | 2011-07-08 | 2014-05-28 | 山东大学 | Method for real-time synchronization and dynamic compensation between chain Ethernet nodes |
| CN102237997A (en)* | 2011-07-08 | 2011-11-09 | 山东大学 | Method for real-time synchronization and dynamic compensation between chain Ethernet nodes |
| CN102332973B (en)* | 2011-09-07 | 2014-07-09 | 上海交通大学 | Real-time communication and clock synchronization method of chain network |
| CN102332973A (en)* | 2011-09-07 | 2012-01-25 | 上海交通大学 | A Real-time Communication and Clock Synchronization Method of Chain Network |
| CN104025483A (en)* | 2011-11-02 | 2014-09-03 | 马维尔国际贸易有限公司 | Services, systems and methods for precisely estimating a delay within a network |
| CN104025483B (en)* | 2011-11-02 | 2017-06-20 | 马维尔国际贸易有限公司 | Service, system and method for accurately estimating the delay in network |
| CN104365043A (en)* | 2012-04-20 | 2015-02-18 | 瑞典爱立信有限公司 | Ring based precise time data network clock phase adjustments |
| CN102710484B (en)* | 2012-05-26 | 2015-03-04 | 济南凌康数控技术有限公司 | Ring redundant real-time Ethernet communication method |
| CN102710484A (en)* | 2012-05-26 | 2012-10-03 | 济南凌康数控技术有限公司 | Ring redundant real-time Ethernet communication method |
| CN103441810A (en)* | 2013-07-11 | 2013-12-11 | 盛科网络(苏州)有限公司 | Ethernet frequency synchronization method and device for multiple time domains |
| CN103441810B (en)* | 2013-07-11 | 2016-03-16 | 盛科网络(苏州)有限公司 | The Ethernet frequency synchronization method of many time-domains and device |
| CN103607270B (en)* | 2013-11-28 | 2017-01-11 | 上海新时达电气股份有限公司 | Method for improving synchronous performance of Powerlink Ethernet |
| CN103607270A (en)* | 2013-11-28 | 2014-02-26 | 上海新时达电气股份有限公司 | Method for improving synchronous performance of Powerlink Ethernet |
| CN104850526A (en)* | 2015-06-10 | 2015-08-19 | 首都师范大学 | Method for time synchronization in dynamically reconfigurable high-speed serial bus |
| CN105763278B (en)* | 2016-01-06 | 2018-02-09 | 新华三技术有限公司 | A kind of method and apparatus of time backtracking |
| CN105763278A (en)* | 2016-01-06 | 2016-07-13 | 杭州华三通信技术有限公司 | Method and device for time backtracking |
| CN105704150A (en)* | 2016-03-25 | 2016-06-22 | 山东超越数控电子有限公司 | Industrial process data transmission method |
| CN110324213A (en)* | 2018-03-31 | 2019-10-11 | 神盾网络安全信息化中心股份有限公司 | A kind of data transmission method of smart home |
| CN110324213B (en)* | 2018-03-31 | 2021-04-09 | 神盾网络安全信息化中心股份有限公司 | Data transmission method for smart home |
| CN110009206A (en)* | 2019-03-21 | 2019-07-12 | 五邑大学 | A timed speech scoring method, device, equipment and storage medium |
| CN112381348A (en)* | 2020-10-13 | 2021-02-19 | 广州赛意信息科技股份有限公司 | Production data real-time clock synchronization method and system based on API gateway |
| CN112968822A (en)* | 2021-03-15 | 2021-06-15 | 广州铁路职业技术学院(广州铁路机械学校) | One-master multi-slave real-time communication system and method based on Ethernet PHY |
| CN114362874A (en)* | 2022-03-21 | 2022-04-15 | 北京国科天迅科技有限公司 | Master clock equipment determining method and device, electronic equipment and storage medium |
| CN114362874B (en)* | 2022-03-21 | 2022-08-12 | 北京国科天迅科技有限公司 | Master clock equipment determining method and device, electronic equipment and storage medium |
| CN116719758A (en)* | 2023-06-14 | 2023-09-08 | 欧瑞传动电气股份有限公司 | PROFINET distributed IO synchronization method |
| CN116719758B (en)* | 2023-06-14 | 2025-01-17 | 欧瑞传动电气股份有限公司 | PROFINET distributed IO synchronization method |
| CN117221041A (en)* | 2023-09-26 | 2023-12-12 | 浙江国利信安科技有限公司 | EPA network-based multi-target synchronous control system, method and medium |
| CN117221041B (en)* | 2023-09-26 | 2024-08-27 | 浙江国利信安科技有限公司 | EPA network-based multi-target synchronous control system, method and medium |
| Publication number | Publication date |
|---|---|
| CN100561904C (en) | 2009-11-18 |
| Publication | Publication Date | Title |
|---|---|---|
| CN101039173A (en) | Apparatus and method for realizing synchronization between Ethernet chain-like network nodes | |
| CN102104475B (en) | IEEE 1588-based synchronization system and synchronization method thereof | |
| CN101977104B (en) | IEEE1588 based accurate clock synchronization protocol system and synchronization method thereof | |
| US11588568B2 (en) | Packet processing method and network device | |
| CN102332973B (en) | Real-time communication and clock synchronization method of chain network | |
| JP5811794B2 (en) | Communication device | |
| CN102013931B (en) | Time synchronization method and system, salve timing device and main timing device | |
| CN110493744A (en) | A kind of synchronous data sampling method and system of master-slave radio sensor | |
| CN111147176A (en) | High-precision time synchronization system based on IEEE1588 protocol | |
| WO2001089121A2 (en) | Synchronization of asynchronous networks using media access control (mac) layer synchronization symbols | |
| WO2015117501A1 (en) | Time synchronization method, programmable logic device, single board and network element | |
| EP3163786B1 (en) | Clock synchronization method and apparatus | |
| CN108650051A (en) | The clock synchronization apparatus and method of general devices at full hardware single step 1588 | |
| JP5127482B2 (en) | Timing synchronization method, synchronization apparatus, synchronization system, and synchronization program | |
| CN101753578B (en) | ETHERNET/EI protocol conversion method and protocol converter | |
| CN104754722B (en) | A kind of method for synchronizing time towards stratification heterogeneous network | |
| WO2012009987A1 (en) | Device, system and method for frame delay measurement | |
| WO2012003746A1 (en) | Method and device for realizing boundary clock | |
| CN114337895A (en) | Clock synchronization system based on linear daisy chain Ethernet topology | |
| CN103475461A (en) | System and method for achieving 1588 clock synchronization function | |
| CN113014515B (en) | Method and switch for supporting heterogeneous network time synchronization delay compensation | |
| CN1819579A (en) | Open loop time delivering method | |
| CN103117829A (en) | Method or device for time synchronization and compensation between asymmetrical networks | |
| WO2008145053A1 (en) | A network clock synchronization method of short range wireless communication network | |
| CN201054597Y (en) | A device for realizing the Ethernet link network node synchronization |
| 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 | ||
| EE01 | Entry into force of recordation of patent licensing contract | Assignee:JINAN LINKON CNC TECHNOLOGY Co.,Ltd. Assignor:Shandong University Contract record no.:2010370000229 Denomination of invention:Apparatus and method for realizing synchronization between Ethernet chain-like network nodes Granted publication date:20091118 License type:Exclusive License Open date:20070919 Record date:20100512 | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20170720 Address after:Xinluo Avenue high tech Zone of Ji'nan City, Shandong province 250101 No. 786 room 507 Patentee after:SHANDONG EZCODE INTELLIGENT TECHNOLOGY CO.,LTD. Address before:250061, No. ten, No. 73, Ji'nan, Shandong Patentee before:Shandong University | |
| EC01 | Cancellation of recordation of patent licensing contract | Assignee:JINAN LINKON CNC TECHNOLOGY Co.,Ltd. Assignor:SHANDONG University Contract record no.:2010370000229 Date of cancellation:20200509 | |
| EC01 | Cancellation of recordation of patent licensing contract | ||
| EE01 | Entry into force of recordation of patent licensing contract | Application publication date:20070919 Assignee:SHANDONG RIFA TEXTILE MACHINERY Co.,Ltd. Assignor:SHANDONG EZCODE INTELLIGENT TECHNOLOGY Co.,Ltd. Contract record no.:X2020980002489 Denomination of invention:Apparatus and method for realizing synchronization between Ethernet chain-like network nodes Granted publication date:20091118 License type:Exclusive License Record date:20200526 | |
| EE01 | Entry into force of recordation of patent licensing contract | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20091118 | |
| CF01 | Termination of patent right due to non-payment of annual fee |