摘要
提出了一种基于加权最小二乘法的从时钟频率自补偿算法。该算法采用从时钟频率自补偿算法解决了每两次PTP同步之间时钟漂移偏差逐步扩大的问题,并引入加权最小二乘法来求取频率自补偿算法中的动态补偿值。该算法在以Altera Cyclone Ⅱ FPGA为主控芯片的开发平台上通过了验证,测试结果表明,算法的引入显著提高了PTP的同步精度,同步精度达到1μs。
A frequency compensate algorithm based on the weighted least-squares algorithm is proposed. This algorithm adopts the frequency compensate algorithm to adjust the time drift between PTP synchronizations, and the weighted least-squares algorithm is introduced to calculate the dynamic compensate value. This algorithm is validated on a platform that uses Altera Cyclone II FPGA as main controller. Test results show that the algorithm has greatly improved the synchronization accuracy of PTP, and the accuracy reaches 1 μs
出处
《传感技术学报》
CAS
CSCD
北大核心
2008年第9期1556-1560,共5页
Chinese Journal of Sensors and Actuators
基金
国家创新群体基金资助项目(NCRGSFC60721062)
国家高技术研究发展计划资助(863计划2006AA040301)