Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

IEEE1588 protocol time calibration method based on proportional integral algorithm

A proportional-integral algorithm and time calibration technology, which is applied in time-division multiplexing systems, electrical components, multiplexing communications, etc., can solve the problems of no time calibration method, poor time synchronization accuracy, large clock jitter, etc. problem, to achieve the effect of small jitter, small clock jitter, and efficient time calibration

Active Publication Date: 2021-04-09
西安云维智联科技有限公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the IEEE1588 protocol does not give a specific time calibration method, usually directly subtracting the offset value from the system time to calibrate
The accuracy of this method is poor, and the clock jitter is large, which eventually makes the time synchronization accuracy worse

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
  • IEEE1588 protocol time calibration method based on proportional integral algorithm
  • IEEE1588 protocol time calibration method based on proportional integral algorithm
  • IEEE1588 protocol time calibration method based on proportional integral algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Following the above-mentioned design idea of ​​the present invention, the IEEE1588 protocol time calibration method based on the proportional integral algorithm of the present embodiment specifically includes the following steps:

[0050] Step 1, use the IEEE1588 protocol to calculate the time offset value t b ; Subtract t from the system timestamp register system_time b , get the updated system time stamp register system_time;

[0051] Since the frequency compensation value is compensation for the system for 1 second, the compensation value cannot be greater than 1 second. This step can reduce the system time deviation to within 1ms.

[0052]Step 2, use the IEEE1588 protocol to calculate the current time offset value t b , and store it in the current time offset value table, and use the following formula to calculate the integral value:

[0053] ki_sum=KI*∑t b

[0054] Among them, KI is the integral coefficient; ∑t b It is the accumulation of all values ​​in the ...

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 an IEEE1588 protocol time calibration method based on a proportional integral algorithm. The IEEE1588 protocol time calibration method comprises the following steps: 1, calculating to obtain a time deviation value, and subtracting the system timestamp register (system_time) by the deviation value; 2, calculating a current time deviation value tb, storing the current time deviation value tb into a current time deviation value table, and calculating an integral value; 3, calculating a frequency compensation value; 4, setting an addend storage frequency compensation value of a register; 5, when the hardware crystal oscillator generates time counting, adding the updated value of the system timestamp register system time obtained in the step 1 to the counting period duration of the hardware crystal oscillator, and adding the value in the register address in the step 4 to obtain the current value of the system timestamp register system time, i.e., completing calibration of the system time. 7, receiving, by the system, the new IEEE1588 protocol and repeatedly executing the steps 2 to 5.

Description

technical field [0001] The invention belongs to the field of computer network communication, and in particular relates to an IEEE1588 protocol time calibration method based on a proportional integral algorithm. Background technique [0002] In the field of modern industrial manufacturing, a large system is often divided into multiple subsystems and sub-nodes, and all nodes work together, which requires the time of each node device to be consistent. Most of the hardware timekeeping is based on the counting method of the crystal oscillator. Since the frequency of each crystal oscillator cannot be exactly the same, this leads to inconsistencies in the time of different hardware devices. Therefore, this requires a certain mechanism to synchronize the time of the hardware devices on the network at regular intervals, and provide basic time synchronization services for the entire network. [0003] The Ethernet standard IEEE1588-2008 (version 2) stipulates an Ethernet-based time sy...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04J3/06
CPCH04J3/0667
Inventor 王红春金星王国栋营志远邓熙玺王国建
Owner 西安云维智联科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products