检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.137.169.218