摘要
为了实现采用硬件冗余的嵌入式综合电子信息系统时间同步,文中提出一种稳定时间同步模型,搭建了多节点时间同步框架。采用主端竞争的方式生成主节点时间服务器,利用模式控制法动态检测同步节点状态,服务器与各节点之间经过两次握手完成一次可靠同步流程,包括手动和自动同步两种方式,基于软件的实现方式可以部署在系统中的任意节点,无需单独的时间服务器,满足多总线的数据传输接口。经实验验证,在局域网内系统同步精度小于1ms,相比NTP同步可靠性提升了10%,单位时间内同步数量减小一半,适应CAN、以太网和串口等数据传输方式,可完成多时间类型的同步任务,实现了综合电子信息系统的可靠时间同步。
In order to realize the time synchronization of the hardware redundancy embedded integrated electronic information system,a stable time synchronization model and a multi-node time synchronization framework are proposed in this paper.The master node time server is generated by the master-end competition,and the mode control method is used to dynamically detect the state of the working node.The server and each node complete a reliable synchronization process after two handshakes,including manual and automatic synchronization methods.The software-based implementation method can be deployed at any node in the system without the need for a separate time server,and meet the multi-bus data transmission interface.The test results have verified that the system synchronization accuracy in the LAN is less than 1 ms,which is 10%higher than NTP synchronization reliability,as well as reduce the amount of synchronized data per unit time by half.It adapts to data transmission methods such as CAN,Ethernet and serial ports,and can complete synchronization of multiple time types.The method has achieve reliable time synchronization of the integrated electronic information system.
作者
卢永超
王斌翊
胡江峰
穆阳
任俊龙
LU Yong-chao;WANG Bin-yi;HU Jiang-feng;MU Yang;REN Jun-long(Northwest Institute of Mechanical and Electrical Engineering,Xianyang,Shaanxi 721099,China)
出处
《计算机科学》
CSCD
北大核心
2021年第S01期629-632,共4页
Computer Science
基金
装备预研领域基金项目(61403120205)。
关键词
时间同步
综合电子
嵌入式分布系统
主端竞争
模式控制
Time synchronization
Integrated electronics
Embedded distributed system
Master-end competition
Mode control