首页 | 本学科首页   官方微博 | 高级检索  
     检索      

定时器串口通信在准实时半实物仿真中的应用
引用本文:赵奇峰,闵涛,杨黔龙,吴江.定时器串口通信在准实时半实物仿真中的应用[J].航空计算技术,2012(2):123-125.
作者姓名:赵奇峰  闵涛  杨黔龙  吴江
作者单位:西北核技术研究所,陕西西安710024
基金项目:国防预研基金项目资助(22110707)
摘    要:在准实时半实物仿真试验中,要求操作系统必须具有精确的时间和可预测性,在普通的Windows环境下多串口通信的可靠性和稳定性很难达到试验要求。为了满足仿真信息的实时性要求,介绍了在Windows环境下基于定时器和串口卡的多线程串口通信技术,重点说明了设计方案的实现方法和编程要点,给出了串口在准实时半实物仿真中与远程终端进行精确定时通信方法。结果证明,可以满足实时性和数据同步可靠性的要求,并在相关领域具有重要的参考价值。

关 键 词:多线程  串口通信  定时  仿真

Application of Serial Communication Based on Timer in Quasi Real-time Hardware-in-the-loop Simulation
ZHAO Qi-feng,MIN Tao,YANG Qian-long,WU Jiang.Application of Serial Communication Based on Timer in Quasi Real-time Hardware-in-the-loop Simulation[J].Aeronautical Computer Technique,2012(2):123-125.
Authors:ZHAO Qi-feng  MIN Tao  YANG Qian-long  WU Jiang
Institution:(Northwest Institute of Nuclear Technology,Xi′an 710024,China)
Abstract:The precise timing and divinable capability is needed in hardware-in-the-loop simulation.The reliability and stability in multi-serial port communication are hard to up to par.To meet the real-time need of the simulation information multithread serial communication technology based on timer card and serial communication card on Windows is introduced,especially the implemental method and the programme of the scheme,and the method of precise timing communication between serial port and remote terminals in quasi real-time hardware-in-the-loop simulation is presented.In the experiment,the real-time and reliability is improved.
Keywords:multithread  serial communication  timing  simulation
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号