摘要
针对用实时视窗目标工具箱进行硬件在环仿真中存在输入输出设备支持的局限性,研究了编写系统函数,开发驱动程序的方法,以解决计算机输入输出设备的支持性问题。在分析驱动程序的基本原理与结构的基础上,对寄存器操作、基地址寻找等关键问题提出了解决方案,并开发了PCI-8360A的驱动程序。分别在一台IPC-610H工控机和一台方正个人计算机上进行了试验,八路A/D采样频率可以达到10kHz,信号能够实时显示,可长时间运行。实验结果表明,所提出的方法是有效的,开发的驱动程序稳定,并且具有可移植性能。
Aimed at the limitation of I/O devices in the hardware-in-the-loop simulation system with real-time windows target(RTWT),some key issues are studied about programming system function to develop driver for unsupported computer I/O devices.Firstly,the principles of the driver are analyzed.Then,solutions are put forward to the key problems of registers access and base address lookup,and driver is developed for the PCI-8360A board.Finally,tests are conducted on an IPC-610H industry computer and a founder commercial PC respectively,and results show that the driver with eight channels A/D conversion could achieve 10 kHz for long while the signals could be visualized in real time,which indicate the solutions are effective and the drivers are steady and transplantable.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第17期3907-3910,共4页
Computer Engineering and Design
基金
山东省自然科学基金项目(2003ZX15)
江苏省汽车工程重点实验室开放基金项目(QC200704)
山东理工大学科研基金项目(2006KJM32)
关键词
硬件在环仿真
实时视窗目标
驱动程序
系统函数
hardware-in-the-loop simulation
real-time windows target(RTWT)
driver
system function