1、 MCGS 组态软件课程设计组态软件课程设计 题题 目:目: 自动供水系统自动供水系统 姓姓 名:名: 学学 号:号: 学学 院:院: 电气工程学院电气工程学院 专业班级:专业班级: 08 级电气(级电气(1)班)班 指导教师:指导教师: 同同 组组 人:人: 2011 年年 6 6 月月 21 日日 目目 录录 1.1 课题背景. 3 1.2 设计目的. 3 1.3 设计思路. 4 2.1 建立主窗口文件. 5 2.1.1 建立用户窗口 . 5 2.1.2 确定实时数据库 . 6 2.1.3 系统界面设计 . 7 2.2 运行策略. 9 2.2.1 PID 定义 . 9 2.2.2 达下限时
2、开关的动作 . 9 2.2.3 水箱 1 的水位 . 9 2.2.4 水箱 2 的水位 10 2.2.5 水箱 3 的水位 10 2.2.6 水箱 4 的水位 11 2.3 调节曲线 11 2.4 数据显示和报警 13 2.5 历史记录 15 组态图 . 19 控制窗口 19 运行情况 20 运行程序 . 21 PID 程序 21 水位控制 21 致 谢 25 1 自动供水系统 摘摘 要要 随建筑物高层智能化技术进步,社会经济的迅速发展,人们 对供水质量和供水系统可靠性的要求不断提高; 再加上目前能源紧缺, 低碳生活成为一种生活时尚,采用先进的自动化技术、控制技术以及 通讯技术,使得不同领域的
3、恒压供水系统达到高性能、高节能成为技 术的发展趋势。 本文针对这个问题,运用 MCGS 设计了一套恒压供水 系统。MCGS 页面直观,可直观显示系统运行的情况。本设计可广泛 应用于生活供水。 关键词关键词 恒压供水 PID 调节 自动供水 MCGS ABSTRACT Building intelligent technology progress with the top of the rapid development of economy, society, people on the water quality and water supply system reliability re
4、quirements are improving; Plus the current energy shortages, low carbon life become a kind of life style, and the use of advanced automation technology, control technology and communication technology, makes the different areas of constant pressure water supply system to achieve high performance, hi
5、gh energy saving become the development trends of the technology. In this paper, by using the problem MCGS designed a set of constant pressure water supply system. MCGS page, intuitive, and the operation of the system can be 2 visual display. This design can be widely used in life water supply. Key
6、Words: Constant Pressure Water Supply PID Control Automatic Water Supply MCGS 3 1.1.绪论绪论 1.11.1 课题背景课题背景 随建筑物高层智能化技术进步,社会经济的迅速发展,人们对供 水质量和供水系统可靠性的要求不断提高;再加上目前能源紧缺,低 碳生活成为一种生活时尚,采用先进的自动化技术、控制技术以及通 讯技术,使得不同领域的恒压供水系统达到高性能、高节能成为技术 的发展趋势。 本设计是针对学校生活用水而设计的。 应用 MCGS 组态 软件,由压力传感器、PID 调节器组成控制系统,调节水泵的输出流 量。设计中用到六台水泵、一个压力传感器,根据供水系统出口水压 和流量来控制,使系统运行在最合理状态,保证按需供水。 本文经过 PID 运算,调节出水量和流量,实现闭环自动调节恒压变量供水。运行 结果表明,该系统具有