一种基于FPGA的最小二乘法时钟同步精度补偿方法及系统

By implementing least-squares clock synchronization accuracy compensation through FPGA hardware, the problem of excessive network load caused by frequency drift in the IEEE 1588 protocol is solved, achieving high-precision clock synchronization and improving network efficiency.

CN120691981BActive Publication Date: 2026-07-17ZHEJIANG SUPCON RES +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG SUPCON RES
Filing Date
2025-06-26
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In the clock synchronization process of the existing IEEE 1588 protocol, frequency drift occurs due to the difference in stability of the crystal oscillators of the master and slave clock devices and the influence of external factors. Traditional methods correct clock deviation by increasing the frequency of synchronization messages, but this leads to excessive network load and affects system performance.

Method used

An FPGA-based least squares clock synchronization accuracy compensation method is adopted. By parsing the timestamp data of the master and slave clock devices, the least squares method is used to calculate the fitting curve, and the macro period is limited to compensate for clock deviation, thereby reducing the frequency of synchronization messages and improving synchronization accuracy and network efficiency.

Benefits of technology

It significantly improves clock synchronization accuracy, reduces network load, avoids network congestion, provides higher computing efficiency and real-time performance, and is scalable and maintainable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120691981B_ABST
    Figure CN120691981B_ABST
Patent Text Reader

Abstract

本发明涉及时间敏感网络技术领域,提供一种基于FPGA的最小二乘法时钟同步精度补偿方法及系统,包括响应运算使能控制器的启动信号;通过时钟数据解析模块解析主从时钟设备的时间戳数据且缓存至对应的双端口RAM中,直至缓存数量达到预设的时间戳采样阈值N后触发脉冲信号;FPGA控制处理器响应脉冲信号数据读取模块从双端口RAM中读取时间戳数据,输入至最小二乘处理模块计算主从时钟设备的时间偏差值;时钟偏差补偿修正模块根据时间偏差值对从时钟设备的时间戳进行补偿。结合最小二乘法与FPGA硬件计算实现主从时钟的动态补偿,提高时钟同步精度并且相较于传统的基于软件的方法,提供更高的计算效率和实时性,避免现有技术中因频繁同步而导致的网络拥塞问题。
Need to check novelty before this filing date? Find Prior Art