基于自回归算法的测控网络时钟同步设计Design of autoregression algorithm based clock synchronization of measurement and control network
高海英,朱望纯,高志昊,薛文忠
摘要(Abstract):
为了提高测控网络的时钟同步精度,在现有IEEE 1588协议的网络时钟基础上,提出基于自回归算法的时钟同步设计。通过建立自回归时钟漂移模型,利用一阶卡尔曼滤波器对主从时钟的时钟偏差和漂移进行估计,根据估计值对时钟进行补偿和修正,并在测控网络失去最高主时钟信号的情况下,预测时钟漂移量以维持主从时钟同步。试验结果表明,该设计能有效降低时间戳获取精度对时钟同步的影响,使同步精度达到10 ns,并提高了系统在离线状态下的同步可靠性。
关键词(KeyWords): 时钟同步;IEEE 1588协议;自回归;卡尔曼滤波;时钟漂移预测;测控网络
基金项目(Foundation): 广西自然科学基金项目(2013GXNSFAA019332);; 广西自动检测技术与仪器重点实验室基金项目(YQ16111)~~
作者(Author): 高海英,朱望纯,高志昊,薛文忠
DOI: 10.16652/j.issn.1004-373x.2018.13.023
参考文献(References):
- [1]冯传跃.1588V2时钟在天津联通无线网的应用[C]//天津市电视技术研究会2016年年会论文集.天津:天津市电视技术研究会,2016:49-53.FENG Chuanyue.The application of 1588V2 clock in China Unicom Tianjin Company wireless network[C]//Proceedings of Tianjin TV Technology Research Association 2016 Annual Meeting.Tianjin,China:Tianjin TV Technology Research Association,2016:49-53.
- [2]陈希,滕玲,高强,等.NTP和PTP协议的时间同步误差分析[J].宇航计测技术,2016,36(3):35-40.CHEN Xi,TENG Ling,GAO Qiang,et al.Error analysis of time synchronization in NTP and PTP[J].Journal of astronautic metrology and measurement,2016,36(3):35-40.
- [3]崔全胜,白晓民,黄毕尧,等.P2P透明时钟驻留时间误差测试方法及其在时钟测试仪上的实现[J].电网技术,2016,41(1):322-327.CUI Quansheng,BAI Xiaomin,HUANG Biyao,et al.Test method for the resident time error of P2P transparent clock and its implementation on the clock tester[J].Power system technology,2016,41(1):322-327.
- [4]AUGUSTO Ciuffoletti.Preventing the collision of requests from slave clocks in the precision time protocol(PTP)[J].IEEE transactions on instrumentation and measurement,2011,60(6):2096-2103.
- [5]陈金凤.IEEE 1588网络时延测量研究与实现[D].西安:中国科学院国家授时中心,2013.CHEN Jinfeng.Research and implement of IEEE 1588 network delay measurement[D].Xi’an:National Time Service Center,Chinese Academy of Sciences,2013.
- [6]陈金凤,华宇,孙中尉.IEEE 1588v2透明时钟研究与实现[J].宇航计测技术,2013,33(3):11-16.CHEN Jinfeng,HUA Yu,SUN Zhongwei.Research and implement of transparent clock based on IEEE 1588v2[J].Journal of astronautic metrology and measurement,2013,33(3):11-16.
- [7]李学桥,陈园,梁爽.基于IEEE 1588协议的精确时钟同步算法改进[J].计算机工程与科学,2011,33(2):42-45.LI Xueqiao,CHEN Yuan,LIANG Shuang.Improvement of the precise time synchronization algorithm based on IEEE 1588[J].Computer engineering&science,2011,33(2):42-45.
- [8]庄晓燕,王厚军.基于卡尔曼滤波的IEEE 1588时钟同步算法[J].电子测量与仪器学报,2012,26(9):747-751.ZHUANG Xiaoyan,WANG Houjun.IEEE 1588 clock synchronization algorithm based on Kalman filter[J].Journal of electronic measurement and instrument,2012,26(9):747-751.
- [9]刘伟,彭雷,张朕滔,等.基于IEEE 1588协议电力监控系统的对时算法改进[J].重庆理工大学学报(自然科学),2016,30(10):135-140.LIU Wei,PENG Lei,ZHANG Zhentao,et al.Synchronization algorithm modification of power supervisory system based on IEEE 1588 protocol[J].Journal of Chongqing University of Technology(nature science),2016,30(10):135-140.
- [10]TOURNIER J C,YIN Xiao.Improving reliability of IEEE1588 in electric substation automation[C]//2008 International IEEE Symposium on Precision Clock.Michigan:IEEE,2008:65-70.
- [11]陈金凤,华宇,孙中尉.基于IEEE 1588频率漂移补偿算法研究与实现[J].时间频率学报,2013,36(3):141-147.CHEN Jinfeng,HUA Yu,SUN Zhongwei.Implementation and study of frequency drift compensation based on IEEE 1588[J].Journal of time and frequency,2013,36(3):141-147.