文档详情

基于S7_300 PLC的Simulink在线带进水纯滞后单容水箱液位控制——控制程序设计 毕业论文.doc

发布:2018-08-07约1.4万字共10页下载文档
文本预览下载声明
PAGE PAGE 基于SIEMENS S7-300 PLC的带进水纯滞后的单容水箱液位控制系统设计——控制程序设计 南 阳 理 工 学 院 本科生毕业设计(论文) 学院(系): 电子与电气工程系 专 业: 自动化 学 生: 指导教师: 完成日期 2011 年 5 月 南阳理工学院本科生毕业设计(论文) 基于S7-300 PLC的Simulink在线带进水纯滞后单容水箱液位控制——控制程序设计 Tank Level Control Design Based on Simulink on-line Water of S7-300 PLC with Pure Delay—Control Program Design 总 计:毕业设计(论文)28页 表 格: 0 个 插 图: 17 幅 PAGE 南 阳 理 工 学 院 本 科 毕 业 设 计(论文) 基于S7-300 PLC的Simulink在线带进水纯滞后单容水箱液位控制——控制程序设计 Tank Level Control Design Based on Simulink on-line Water of S7-300 PLC with Pure Delay—Control Program Design 学 院(系): 电子与电气工程系 专 业: 自动化 学 生 姓 名: 学 号: 指 导 教 师(职称): 评 阅 教 师: 完 成 日 期: 南阳理工学院 Nanyang Institute of Technology PAGE II 基于S7-300 PLC的Simulink在线带进水纯滞后单容水箱液位控制——控制程序设计 自动化专业 [摘 要]根据S7-300PLC模块化编程的特点,设计了OB1、OB35、OB100三个组织块来实现控制功效。将FB41 PID调节模块放在OB1模块中,并进行参数设定及调节。设置500ms定时中断,在定时中断服务程序OB35中进行滞后补偿算法的计算,而后利用得出的结果进行系统滞后补偿。由于滞后补偿是在不断进行中的,采集的数据就要不断的存储再采集,设计了一个队列数据结构。队列的操作也放在OB35中进行,具体的队列操作封装在FB1模块中。利用OB100模块清除上一次运行时存储的数据。利用力控软件完成系统实时监控。本设计完成了设计要求但还有待改进。 [关键词]纯滞后;程序设计;补偿;控制 Tank Level Control Design Based on Simulink on-line Water of S7-300 PLC with Pure Delay—Control Program Design Automation Specialty ZHANG Qing Abstract: According to S7-300PLC modular programming features, three organization blocks OB1, OB35, OB100 are designed to achieve control efficacy. The parameters of FB41 PID regulator module placed in OB1 module are set and adjusted. Then, 500ms timer interrupt is set and the compensation for delay algorithm calculated in the timer interrupt service routine OB35, then the results of calculation are used to compensate the delay system. Because of delay compensation is constantly on going, collection of data have to storage and re-collect.
显示全部
相似文档