Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2007, Vol. 33 ›› Issue (15): 241-242,. doi: 10.3969/j.issn.1000-3428.2007.15.086

• Engineer Application Technology and Realization • Previous Articles     Next Articles

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

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

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

  1. (1. 北方工业大学现场总线技术北京市重点实验室,北京 100040;2. 黑龙江大学电子工程学院,哈尔滨 150001)

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

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

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

CLC Number: