Method for reliably improving time synchronization precision based on IEEE1588 protocol

An IEEE1588, time synchronization accuracy technology, applied in the field of network communication, can solve the problems of long synchronization interval, complexity, limited network bandwidth, etc., achieve high synchronization accuracy, small calculation amount, and improve the effect of synchronization accuracy

Inactive Publication Date: 2014-03-19
SHANGHAI UNIV
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to achieve the above object, the idea of ​​the present invention is: for the problem that the network bandwidth is limited and the IEEE1588 protocol

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for reliably improving time synchronization precision based on IEEE1588 protocol
  • Method for reliably improving time synchronization precision based on IEEE1588 protocol
  • Method for reliably improving time synchronization precision based on IEEE1588 protocol

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0035] Example 1:

[0036] see Figure 1~Figure 4 , The method based on the IEEE1588 protocol to reliably improve the accuracy of time synchronization is as follows: the master clock sends an IEEE1588 synchronization message every two seconds, and the slave clocks synchronize according to the content of the protocol. Within a two-second interval, the master clock sends a simplified synchronization message every 100 milliseconds. This message only contains the start synchronization flag to reduce network overhead. The slave clock will regard the time difference between the arrival of two simplified synchronization packets as one hundred milliseconds. Set up a memory and a counter in the slave device. A value N is stored in memory. Its value is the number of times the counter accumulates in 100 milliseconds under the theoretical operating frequency. When the next simplified synchronization message arrives, the slave clock compares the real value of N and the counter, and adj...

Example Embodiment

[0037] Embodiment 2:

[0038] The method for reliably improving the accuracy of time synchronization based on the IEEE1588 protocol is described in detail as follows with reference to the accompanying drawings:

[0039] like figure 1 , an industrial Ethernet-based network, there are N (N>1) devices, one of which is used as the master device, its system time is used as the master clock of the entire network, and the remaining N-1 devices are used as slave devices. The system time is used as a slave clock. Our purpose is to target the specific devices in this sub-network so that the time of all slave devices in the network domain can be synchronized with the time of the most accurate master device through a certain method.

[0040] like figure 2 , the method of the present invention comprises the following steps for the specific implementation of the IEEE1588 synchronization protocol:

[0041] 201. The master clock periodically sends a Sync synchronization message and a Foll...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for reliably improving time synchronization precision based on an IEEE1588 protocol. The method comprises a master clock sends an IEEE1588 synchronization message every two seconds, and a slave clock, based on the content of the protocol, carries out synchronization; within the two second interval, the master clock sends a precision synchronization message every 100 milliseconds, wherein the message only comprises starting synchronization identification so as to reduce network overhead; the slave clock regards the time difference of the arrival of the two precision synchronization messages being 100 milliseconds; a slave clock device is provided with a storage device and a counter, wherein the storage device saves a value N, and the value is the accumulation times of the counter in the 100 milliseconds under the theoretical work frequency; when the next precision synchronization message arrives, the slave clock compares the N and the true value of the counter, and the time of the slave clock is adjusted based on the difference value of between; and thus the problem of generation of master clock and slave clock drift due to no synchronization measure within 2 seconds is solved, and the time synchronization precision is further improved.

Description

technical field [0001] The invention belongs to the technical field of network communication, and specifically relates to a method for reliably improving time synchronization accuracy based on the IEEE1588 protocol. The method is based on the IEEE1588 standard, utilizes synchronization gaps, and adopts a simplified protocol synchronization method. Background technique [0002] Time has always been an important concept in measurement and industrial control systems. Time is relative in the execution of a closed electronic circuit or computer program. As sensors, repeaters, or distributed computers are added to industrial systems, accurate time recording is important for system robustness. [0003] The full name of IEEE1588 is "Precise Clock Synchronization Protocol Standard for Network Measurement and Control Systems". Its appearance provides an effective and feasible method for solving time synchronization problems in the system. The IEEE1588 clock protocol can achieve sub-m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04J3/06H04L29/06
Inventor 冯玉田丁润杰严佩敏李继飞王康晏
Owner SHANGHAI UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products