1、 I 摘 要 本设计介绍了以 S7-200PLC 为核心的管网压力控制系统的组成及工作原 理,阐明了变速积分 PID 控制算法在管网压力控制系统中的应用,并给出了系 统的硬件与软件设计的实现方法。在 A/D 转换中,使用了模拟量输入模块 EM231。在 D/A 转换中用了模拟量输出模块 EM232,可以实现输出 05V 的输 出电压。硬件设计由主电路和控制电路两部分完成,软件设计中对 A/D 转换过 来的数字信号进行变速积分 PID 控制。这种控制方法特点是,当偏差大时积分 累积速度慢,积分作用减弱;偏差小时,积分累积速度快,积分作用增强。这 样能满足系统准确性的要求。 关键词: 变速积分;压
2、力控制系统;S7-200PLC;PID 控制 II Abstract The paper introduces the composition and work principles of pipe network control system ,based on S7-200PLC. It illustrates the application of PID with variable integral action in air pipe network pressure control system.The design of hardware and software are intr
3、oduced too. It uses analog input module EM231 in A/D transition and analog output EM232 in D/A transition. In D/A transition this module can be output 05 voltage. Hardware introduces the design of main circuit and control circuit. In design of software, it finishes PID control for digital signals pr
4、oduceing in A/D transition. The characteristic of this control method is, when the warp is big the integral rate will be slow, and the integral effect would be weaken; but when the warp is small the integral rate will fast, and the integral effect would be toned up. In this way it can satisfy the ve
5、racity of this system. Key words: Variable Integral action; Pressure control system; S7-200PLC; PID control. III 目录 摘摘 要要 I Abstract II 第一章第一章 绪论绪论 . 1 1.1 变频器技术的发展 1 1.2 空气压缩机系统控制 1 1.3 供气系统压力控制 2 1.3.1 加卸载供气控制 2 1.3.2 转速控制. 2 1.4 本设计的目的和意义 2 第二章第二章 设计任务、要求及参数设计任务、要求及参数 . 4 2.1 毕业设计的技术背景和设计依据 4 2.2
6、 毕业设计的任务 4 2.3 毕业设计的主要内容、功能及技术指标 5 第三章第三章 系统方案设计系统方案设计 . 6 3.1 系统工作原理 6 3.2 方案的比较 6 3.3 方案的确定 7 3.3.1 设计思想. 7 3.3.2 工作原理. 8 第四章第四章 硬件设计硬件设计 9 4.1 可编程控制器介绍 9 4.1.1 可编程控制器的工作原理 . 9 4.1.2 可编程控制器的主要性能指标 . 11 4.1.3 可编程控制器的设计原则 11 4.1.4 S7-200PLC 介绍 12 4.2 主电路设计 . 14 4.2.1 变频器部分 . 14 4.2.2 软起动部分 . 21 4.3 控制电路设计 . 27 IV 4.3.1 模拟量控制系统设计 27 4.3.2 PLC 控制部分 28 4.4 S7-200PLC 与计算机的通信 31 4.5 变频器与 PLC 的通信. 31 4.6 压力传感器的介绍 . 32 4.6.1 力/压力敏传感器 32 4.6.2 CYB20S 普通型压力传感器 33 4.7 压缩机的主要种类 . 35 4.7.1 M