检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:苗立东[1]
机构地区:[1]山东理工大学特种车辆设计与控制研究所,山东淄博255091
出 处:《计算机工程与应用》2009年第34期56-58,62,共4页Computer Engineering and Applications
基 金:山东省自然科学基金项目 No.2003ZX15;山东理工大学科研基金项目 No.2006KJM32;江苏省汽车工程重点实验室开放基金资助项目 No.QC200704~~
摘 要:MATLAB下的实时视窗目标工具箱能够在一台运行Windows操作系统的微机上执行实时任务,可用于对自动控制系统进行实时仿真分析,但是此功能受限于其驱动程序。针对此问题,讨论了开发实时视窗目标工具箱驱动程序的关键问题,包括寄存器的访问和程序调试,提出了两种方法:(1)在实时视窗目标环境下借助于驱动程序的输出函数mdlOutputs;(2)利用xPC目标工具箱环境。在三台计算机上进行了不同的实验,实验结果表明所提出的方法能够正确地显示中间结果;采用开发的PCI-8360A模拟量输入驱动程序采集15路模拟量信号,结果表明实时视窗目标驱动程序在一定条件下可以和xPC目标驱动程序兼容,实时视窗目标的采样时间为0.18ms要小于xPC目标的采样时间0.3ms,这为实时视窗目标的扩展应用提供了新的思路。The Real-Time Windows Target(RTWT) toolbox in MATLAB can make task run in real time on a single PC with Windows operating system,which can be used for real time simulation of control system,but such function is limited by its driver.Targeting this problem,key issues about development of RTWT driver is discussed,which includes register access and the debug of the driver.Two methods are put out,and the first one is to use the mdlOutputs function in the RTWT and the second one is to use the xPC environment.Different tests are conducted on three computers, and results show that the two methods can output debug results correctly.Test results for 15 channels analog input with developed PCI-8360A board driver show that RTWT driver is compatible with xPC one under certain conditions,and the sample time is 0.18 ms for RTWT and 0.3 ms for xPC target,which indicates that the RTWT target can run faster than the xPC one,and provides new idea for the use of RTWT.
关 键 词:实时仿真 实时视窗目标 XPC目标 驱动程序 系统函数
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.17.71.93