节点文献
定时器串口通信在准实时半实物仿真中的应用
Application of Serial Communication Based on Timer in Quasi Real-time Hardware-in-the-loop Simulation
【摘要】 在准实时半实物仿真试验中,要求操作系统必须具有精确的时间和可预测性,在普通的Windows环境下多串口通信的可靠性和稳定性很难达到试验要求。为了满足仿真信息的实时性要求,介绍了在Windows环境下基于定时器和串口卡的多线程串口通信技术,重点说明了设计方案的实现方法和编程要点,给出了串口在准实时半实物仿真中与远程终端进行精确定时通信方法。结果证明,可以满足实时性和数据同步可靠性的要求,并在相关领域具有重要的参考价值。
【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.
- 【文献出处】 航空计算技术 ,Aeronautical Computing Technique , 编辑部邮箱 ,2012年02期
- 【分类号】TP391.9
- 【被引频次】3
- 【下载频次】64