摘要
为了推进时钟同步在分布式仿真系统中的实际应用,识别了时钟同步系统的具体要求,在对比多种时钟同步方案后,选择NTP方案并进行优化;在介绍NTP时钟同步的基本原理基础上,进行了时钟同步精度影响因子分析,创造性的提出了构建高精度逻辑时钟、不等式法优化网络回路往返时延的不对称性、时钟晶振频率在线补偿3种优化方法,并建立了时钟同步系统;实验结果表明,设计的时钟同步系统的同步精度优于1 ms,且平均校准周期达到5 h左右;该时钟同步系统能封装为DLL,可灵活集成到具体项目中。
In order to promote the practical application of clock synchronization in distributed simulation system,the specific requirements of clock synchronization system are identified.After comparing various clock synchronization schemes,NTP scheme is selected and optimized.On the basis of introducing the basic principle of NTP clock synchronization,this paper analyzes the influence factors of clock synchronization accuracy,creatively puts forward three optimization methods:constructing high-precision logic clock,optimizing the asymmetry of network loop round-trip delay by inequality method,and on-line compensation of clock crystal frequency,and establishes the clock synchronization system.The experimental results show that the synchronization accuracy of the designed clock synchronization system is better than 1ms,and the average calibration period is about 5h.The clock synchronization system can be encapsulated as a DLL,which can be flexibly integrated into specific projects.
作者
黄学进
崔鑫
余婷
Huang Xuejin;Cui Xin;Yu Ting(AECC Aeroengine Control System Institute,Wuxi 214063,China)
出处
《计算机测量与控制》
2021年第6期212-218,共7页
Computer Measurement &Control
关键词
时钟同步
NTP
逻辑时钟
不等式法优化
时钟晶振频率补偿
分布式仿真
clock synchronization
NTP
logic clock
inequality optimization method
compensation of crystal oscillator frequency
distributed simulation