作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (15): 241-242,. doi: 10.3969/j.issn.1000-3428.2007.15.086

• 工程应用技术与实现 • 上一篇    下一篇

RTW技术在网络远程闭环控制系统中的应用

孙德辉1,李天宇1,王 超2   

  1. (1. 北方工业大学现场总线技术北京市重点实验室,北京 100040;2. 黑龙江大学电子工程学院,哈尔滨 150001)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-08-05 发布日期:2007-08-05

Application of RTW Technology in Remote Network Closed Loop Control System

SUN De-hui1, LI Tian-yu1, WANG Chao2   

  1. (1. Field Bus Tech. & Automation Lab, Key Lab of Beijing, North China University of Technology, Beijing 100040; 2. Academy of Electronic Engineering, Heilongjiang University, Harbin 150001)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-08-05 Published:2007-08-05

摘要: 针对Matlab/RTW对硬件编程能力的不足,基于网络远程闭环控制系统,采用C-MEX函数编写硬件驱动程序,经过编译后生成DLL文件,在Simulink中使用S函数调用DLL文件,达到扩展Matlab对硬件编程的能力,使用RTW工具箱生成的C代码并下载到基于ARM 技术的网络远程控制器和现场控制器中实现实时远程在线控制,取得了预期的控制效果。

关键词: RTW, C-MEX文件, 网络远程闭环控制

Abstract: In order to improve Matlab/RTW ’s deficiency in hardware programming, C-MEX function is used to make the hardware driver. Based on remote network closed loop control system, the purpose of expanding the capacity of Matlab for hardware programming can be reached as the following: translate and edit to generate DLL file, use the S function of Simulink to transfer DLL file, and use RTW to generate C code, then download the created C code to remote network controller and field controller based on ARM technology. Thus, expected results of online remote control in real time can be achieved.

Key words: real time workshop (RTW), C-MEX file, remote network closed loop control

中图分类号: