基于RTC的实时串口通信  

Real-Time Serial Communication Based on RTC

在线阅读下载全文

作  者:樊鹏[1] 董琦昕[1] 

机构地区:[1]中国兵器工业第58研究所军品部,四川绵阳621000

出  处:《兵工自动化》2011年第3期59-61,共3页Ordnance Industry Automation

摘  要:为实现多帧异步数据的实时发送,结合某分布式火控系统的性能检测要求,提出一种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.

关 键 词:火控系统 实时钟 PC104 串行通信 

分 类 号:TP206[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象