变电站监控系统NTP对时精度的提高策略Strategy for Improving NTP Timing Accuracy of Substation Monitoring System
李照国,潘洪湘,张婷
LI Zhaoguo,PAN Hongxiang,ZHANG Ting
摘要(Abstract):
NTP(网络时间协议)在电力系统中应用广泛,具有应用成本低廉等优点,但对时精度一直相对较低。为进一步提高变电站监控系统NTP对时精度,在研究计算机时钟模型和时钟误差因素的基础上,对时间同步过程中的各个影响环节进行逐项分析,给出了时间采样流程,并对时间采样样本进行回归分析,计算出相差和频差,进而调用内核时间调整功能,实现了NTP对时精度的提高。
The NTP(network time protocol) has been widely used in power system, the cost of which is low but the timing accuracy is not ideal. In order to improve the timing accuracy of the substation monitoring system and on the basis of combing the computer clock model and the clock error factor, the various influencing factors in the time synchronization process are analyzed item by item, and the time sampling process is given and subjected to regression analysis to calculate the phase difference and frequency difference, and then the kernel time adjustment function is adopted to improve NTP timing precision.
关键词(KeyWords):
网络时间协议;时钟模型;时间采样;回归分析;对时精度
network time protocol;clock model;time sampling;regression analysis;timing precision
基金项目(Foundation):
作者(Author):
李照国,潘洪湘,张婷
LI Zhaoguo,PAN Hongxiang,ZHANG Ting
DOI: 10.19585/j.zjdl.201901014
参考文献(References):
- [1]庄晓燕,王厚军.基于卡尔曼滤波器的IEEE 1588时钟同步算法[J].电子测量与仪器学报,2012,26(9):747-751.
- [2]任丰原,董思颖,何滔,等.基于锁相环的时间同步机制与算法[J].软件学报,2007,18(2):372-380.
- [3]田贤忠,陈长军,胡同森.无线传感器网络时间同步概率误差研究[J].计算机应用研究,2009,26(6):2199-2201.
- [4]于跃海,张道农,胡永辉,等.电力系统时间同步方案[J].电力系统自动化,2008,32(7):82-86.
- [5]STEVENS W R,范建华.TCP/IP祥解卷1:协议[M].北京:机械工业出版社,2000.
- [6]张明,仲崇霞,张升康,等.标准秒脉冲信号高精度相位微跃技术研究[J].宇航计测技术,2011,31(5):15-19.
- [7]张英静,何锋,卢广山,等.基于稳健回归的TTE时钟补偿算法[J].系统工程与电子技术,2017,39(10):2165-2170.
- [8]刘明雍,张兵宇,张立川.多AUV协作时钟同步控制算法设计与实现[J].西北工业大学学报,2013(6):848-852.
- [9]李志坚,姜利华,陈丽红,等.数字化保护装置时钟同步的实现[J].电力系统保护与控制,2011,39(7):105-109.
- [10]MILLS D L.Computer Network Time Synchronization:the Network Time Protocol on Earth and in Space[M].Second Edition.Boca Raton:CRC Press,2011.
- [11]MOON S B,SKELLY P,TOWSLEY D.Estimation and removal of clock skew from network delay measurements[C]//IEEE INFOCOM′99.New York:1999:227-234.
- [12]刘应琪.异于NTP协议的诊断机时钟同步方案[J].铁道运营技术,2014,20(3):12-15.
- [13]陈希,滕玲,高强,等.NTP和PTP协议的时间同步误差分析[J].宇航计测技术,2016,36(3):35-40.
- [14]杨锦涛,单庆晓,肖昌炎,等.电网卫星驯服时钟的网络时间同步服务器设计[J].计算机系统应用,2011,20(3):94-97.
- [15]吴宝明,李声飞.基于最优线性拟合的WSN时间同步算法研究[J].传感技术学报,2010,23(12):1787-1791.
- [16]高志远,徐美强,吴罡明.一个高精度网络对时软件的设计和实现[J].电力系统自动化,2010,34(12):76-80.
- [17]惠卫华.网络时间协议的研究与实现[D].北京:中国科学院研究生院(国家授时中心),2002.
- [18]刘冬梅.网络时钟同步数学模型的研究[D].北京:北京化工大学,2007.