计算机应用 ›› 2015, Vol. 35 ›› Issue (3): 624-628.DOI: 10.11772/j.issn.1001-9081.2015.03.624

• 网络与通信 • 上一篇    下一篇

半实物网络测试系统从时钟频率漂移影响分析

孙磊刚, 张明清, 孔红山, 刘小虎   

  1. 信息工程大学 密码工程学院, 郑州 450000
  • 收稿日期:2014-09-28 修回日期:2014-11-16 出版日期:2015-03-10 发布日期:2015-03-13
  • 通讯作者: 孙磊刚
  • 作者简介:孙磊刚(1990-),男,陕西咸阳人,硕士研究生,CCF会员,主要研究方向:半实物网络仿真;张明清(1961-),男,湖北孝感人,副教授,主要研究方向:系统建模与仿真;孔红山(1981-),男,河南濮阳人,讲师,博士研究生,主要研究方向:系统建模与仿真;刘小虎(1989-),男,河南周口人,助教,硕士,主要研究方向:网络安全建模仿真

Influence of slave clock frequency drift on hanwave-in-the-loop network testing system

SUN Leigang, ZHANG Mingqing, KONG Hongshan, LIU Xiaohu   

  1. Institute of Cryptographic Engineering, Information Engineering University, Zhengzhou Henan 450000, China
  • Received:2014-09-28 Revised:2014-11-16 Online:2015-03-10 Published:2015-03-13

摘要:

针对精确时钟协议(PTP)用于半实物网络仿真测试时难以实现精确系统同步的问题,研究从时钟频率漂移对PTP仿真系统同步性能的影响。建立了半实物网络环境下PTP系统模型和时钟模型,解析性推导出单向传输链路中Slaven对主时钟的时延误差估计,得出从时钟模型时延误差表达式具有一致的加权结构,且各误差项都将累积并渗透到传输线路中,影响整个网络的同步精度。基于此,设计多种半实物网络仿真场景进行验证、分析和测试。仿真结果表明:单个从时钟频率漂移对系统同步精度影响甚微,但系统内从时钟均存在漂移或主时钟存在时间抖动的情况下,造成的同步误差是单个从时钟频率漂移时的10倍,会对系统同步精度产生严重的影响,研究成果能为半实物网络测试环境时钟部署策略提供重要参考。

关键词: 半实物网络仿真, 精确时钟协议, 频率漂移, 时钟同步, 时延估计

Abstract:

For the difficulties of achieving accurate clock synchronization in hanwave-in-the-loop network simulation testing using Precise Time Protocol (PTP), the performance of the simulation system of PTP in the face of slave clock frequency drift was studied. The system model and clock model of PTP under hanwave-in-the-loop network environment were established, the time delay estimation error for the master clock estimated by Slaven in unidirectional transmission line was analytically derived. It turned out that each drifting slave led to an additive error of identical structure, these error terms got added both in the drifting slave and its successor, and were then percolated down the line together with the previous accumulated error. Based on this, various network simulation scenarios were designed for verification, analysis and testing. The simulation results show that if only one slave clock drifts, the error at the end of the line is slight; but when all the slave clocks drift, synchronization error is more than 10 times larger, and the same relationship holds for the master versus all slaves drifting, which makes a serious impact on the system synchronization accuracy. The research provides an important reference for the clock deployment strategy in hanwave-in-the-loop network simulation.

Key words: hanwave-in-the-loop network simulation, Precision Time Protocol (PTP), frequency drift, clock synchronization, time delay estimation

中图分类号: