期刊文献+

基于S-Function的xPC目标环境下I/O板卡驱动开发

Driver Development for I/O Board in xPC Target Environment Based on S-Function
在线阅读 下载PDF
导出
摘要 提出了xPC目标环境下采用C MEX S函数实现I/O板卡驱动的开发方法;采用xPC建立实时环境,通过反射内存卡组成实时网络,来实现控制系统的快速原型化和硬件在回路仿真测试,与传统的半物理仿真相比要快捷很多;与硬件设备实时通讯的I/O板卡是实现半物理实时仿真的基础;详细介绍了S-Function的编写、PCI总线的基本概念以及xPC环境下编写驱动的关键问题,在此基础上实现了ADLINK多功能DAQ板卡在xPC环境下的驱动开发;驱动测试结果表明,AD板卡和DA板卡都能稳定工作,通讯稳定,数据误差小,该方法具有较强的移植性和参考性。 The driver design for I/O board in xPC target environment based on C MEX S is developed, xPC and VMIC are used to build a real--time environment and network respectively for rapid prototyping of a control system and hardware simulation and testing in the cir- cuit. It' s more convenient than the traditional semi--physical simulation. The real-time communication with hardware by I/O boards is the basic to achive semi--physical simulation. Recounting the preparation of S--Function, the basic concepts of PCI bus, and the key issues of writing driven in xPC environment, according to these theory, achived the driver design for the ADLINK muhifunction DAQ boards in xPC environment. Drive test results show that, AD and DA boards can perform stability, stable communications, data error is small, the method has strong portability and reference.
出处 《计算机测量与控制》 CSCD 北大核心 2012年第4期1101-1104,共4页 Computer Measurement &Control
关键词 XPC目标 驱动开发 PCI总线 S--Function xPC target driver development PCI--bus S--function
  • 相关文献

参考文献5

二级参考文献19

共引文献29

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部