摘要
为实现多帧异步数据的实时发送,结合某分布式火控系统的性能检测要求,提出一种PC104平台下串口数据精确实时发送的控制方法。介绍了实时钟及PC104串口通信的基本原理,设计了合理的中断控制方案。其通信软件的设计主要包括实时钟中断挂接及中断处理、串口中断挂接及中断处理、检测数据生成等关键部分。该方法已在某火控系统中得到实际应用,能将各节点的检测数据在时间上严格对齐,提高了火控系统的分析精度。
To transmit several frames of asynchronous data immediately,combined with the requirements of performance testing of a distributed fire control system.This paper proposes a method of transmitting serial data immediately with accurate time control for PC104 platform.The basic principles of real-time clock and serial communication on PC104 are discussed,and a reasonable interrupt control scheme was designed.The design of communication software includes real-time clock interrupt installation and handling,serial port interrupt installation and handling,and generation of testing data.The method has been applied to a fire control system in which testing data of each node can be aligned strictly on time line,and the precision of performance analysis was improved.
出处
《兵工自动化》
2011年第3期59-61,共3页
Ordnance Industry Automation
关键词
火控系统
实时钟
PC104
串行通信
fire control system
real-time clock
PC104
serial communication