引用本文: | 李兴玮,张卫华,潘玉林,等.通用计算机实时仿真技术.[J].国防科技大学学报,2005,27(2):75-79.[点击复制] |
LI Xingwei,ZHANG Weihua,PAN YuLin,et al.Real-time Simulation Technology Based on the General Computer[J].Journal of National University of Defense Technology,2005,27(2):75-79[点击复制] |
|
|
|
本文已被:浏览 7017次 下载 6015次 |
通用计算机实时仿真技术 |
李兴玮, 张卫华, 潘玉林, 黄柯棣 |
(国防科技大学 机电工程与自动化学院,湖南 长沙 410073)
|
摘要: |
通用计算机由于各种相互兼容的标准硬件及丰富的应用软件支持而获得了广泛的应用,但通用计算机往往运行多任务的操作系统,这种通用操作系统一般不能满足半实物仿真的实时性要求。讨论了通用计算机半实物仿真的实时时钟获取方法,重点研究了通用操作系统的帧时间不稳定问题。提出了保证实时仿真帧时间的几种方法,并建立了一个具体的通用仿真计算机系统。试验结果表明,基于通用计算机的实时仿真是可行的。 |
关键词: 半实物仿真 实时仿真 实时 时间计数器 帧时间 线程 |
DOI: |
投稿日期:2004-10-14 |
基金项目: |
|
Real-time Simulation Technology Based on the General Computer |
LI Xingwei, ZHANG Weihua, PAN YuLin, HUANG Kedi |
(College of Mechatronics Engineering and Automation, National Univ. of Defense Technology,Changsha 410073,China)
|
Abstract: |
The general-purpose computer, supported by all kinds of compatible standard hardware and plenty of application softwares, has been most wildly used in the world. However, the operating system running on it is always the multi-tasks OSs, such as windows 9x/2000 and Linux, which cannot meet the need of the real-time simulation in a general way. Firstly ,the acquiring of high-resolution real-time clock is discussed. Secondly, the stability of frame time under the general-purpose OS environment is studied at length. Several methods used to carry out the real-time simulation on the general-purpose computer has been presented, and an actual general-purpose simulation system also established. The experiment results show that the real-time simulation based on the general computer is feasible. |
Keywords: hardware-in-the-loop real-time simulation real-time time counter frame time thread |
|
|
|
|
|