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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 



