导弹半物理仿真系统中精确定时方法研究  被引量:1

Precise Timing for Hardware-in-the-loop Simulation of Missile

在线阅读下载全文

作  者:张钊[1] 周军[1] 

机构地区:[1]西北工业大学,陕西西安710072

出  处:《计算机仿真》2007年第2期53-56,共4页Computer Simulation

摘  要:针对导弹半物理仿真系统高精度定时问题,设计了在Windows操作系统下基于软件定时的解决方案。应用VisualStudio2003开发了微秒至毫秒级定时应用程序,并通过提高定时线程优先级的方法,改善程序定时精度。为了实际测得软件定时器的定时偏差,利用示波器测量软件定时器发出的周期性方波信号,结果显示每次定时周期的误差量在1微秒以下。与正常优先级的定时线程相比,高优先级的定时精度更高。基于Windows操作系统的软件定时器可以达到半物理仿真系统对定时周期及精度的要求,同时这种软件定时方法具有比硬件定时方法简单、灵活、有效的特点,十分便于实际中应用。For the issue of high accuracy timing of hardware - in - the - loop simulation for missiles, the software timing solution based on Windows OS has been presented in this paper. An application, in which timers from microseconds to milliseconds are included, is developed by Visual Studio 2003. Meanwhile, the accuracy of the soft - timer is improved by boosting the priority of the thread. To obtain the deviation of the timers, the oscillograph is used to measure the periodic square wave produced by timers. The results of the tests show that the deviation is less than 1 μs. And compared with the normal priority threads, the higher ones have higher accuracy. The soft - timer based on Windows OS can meet the requirements of the simulant system on timing. The simplicity, flexibility and efficiency of the software timers make them more convenient for use in practice than the hardware timers.

关 键 词:半物理仿真 多媒体定时器 高分辨率计数器 

分 类 号:TP39[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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