此论文为收费论文服务。具体请咨询QQ:75931341,优惠提供毕业论文。
半物理仿真实验系统的开发
摘要:本文主要利用MATLAB的xPC实时开发环境Simulink/RTW理论体系和技术框架,采用宿主机与目标机的双机模式,开发出一套脱离MATLAB平台而运行与目标机上的实时控制系统。本课题主要做了以下相关设计:利用RS232实现宿主机与目标机之间通信连接及对PC机串口的检测、制作目标机启动盘、设计目标机界面及在xPC技术框架下针对远端数据采集与控制系统ADAM5000开发了设备驱动程序模块,并以一个实际水箱液位为背景,在已有的PID液位过程控制系统算法框图中应用该设备驱动程序模块实现对现场设备的数据采集和控制,所生成的实时控制程序在现场调试中获得了预期的控制效果。因此我们的设计一方面验证了xPC技术应用于实时控制的可行性,同时也验证了该技术在硬件设备支持上的可扩展性。
关键词:xPC技术;实时控制;设备驱动程序模块;ADAM
The development of experiment system within half-physical-simulation
Abstract: According to xPC real-time development environment Simulink / RTW, a real-time control system which divorced from MATLAB platforms and operated on the host computer has been developed in this paper. The system works on the mode of host computer and target-machine. The main related design are on the following: Using RS232 to realize the target of communication links between host computer and target machines, and to test the PC serial; to make target machine startup disk; to design the Interface of target Machine ; to develop a device driver program module against remote data acquisition and control system ADAM5000 using the technical framework of xPC; and to realize Data Acquisition and controlling according to using ADAM5000 device driver program module against an actual water level in the block diagram of PID processing control system, the generation of real-time control procedures at the scene Debugging was expected to controlling effect. Therefore, the design Certificate that the xPC technology is OK for real-time controlling and the technology is support of the extension of hardware.
Key words: xPC technology, Real-time control, Device driver module, ADAM