基于PLC和组态王的温度控制系统设计_自动化专业论文
发布时间:
2015-01-22
来源:
人大经济论坛
自动化专业论文范文
目 录
第一章前言1
1.1项目背景、意义1
1.2温控系统的现状2
1.3项目研究内容3
第二章PLC和HMI基础5
2.1可编程控制器基础5
2.1.1可编程控制器的产生和应用5
2.1.2可编程控制器的组成和工作原理5
2.1.3可编程控制器的分类及特点8
2.2人机界面基础8
2.2.1人机界面的定义8
2.2.2人机界面产品的组成及工作原理9
2.2.3人机界面产品的特点9
第三章PLC控制系统硬件设计10
3.1PLC控制系统设计的基本原则和步骤10
3.1.1PLC控制系统设计的基本原则10
3.1.2PLC控制系统设计的一般步骤11
3.2PLC的选型与硬件配置13
3.2.1PLC型号的选择13
3.2.2S7-200 CPU的选择14
3.2.3EM231模拟量输入模块14
3.2.4热电式传感器16
3.3I/O点分配及电气连接图17
3.4PLC控制器的设计17
3.4.1控制系统数学模型的建立17
3.4.2PID控制及参数整定19
第四章PLC控制系统软件设计22
4.1PLC程序设计方法22
4.2编程软件STEP7--Micro/WIN概述23
4.2.1STEP7-Micro/WIN简单介绍23
4.2.2梯形图语言特点24
4.2.3STEP7-Micro/WIN参数设置(通讯设置)25
4.3程序设计27
4.3.1设计思路27
4.3.2控制程序流程图27
4.3.3梯形图程序28
4.3.4PID指令向导的运用31
4.3.5语句表(STL)程序35
第五章基于组态王的HMI设计37
5.1人机界面(HMI)设计37
5.1.1监控主界面38
5.1.2实时趋势曲线39
5.1.3历史趋势曲线40
5.1.4报警窗口40
5.1.5设定画面42
5.2变量设置42
5.3动画连接44
第六章系统运行结果及分析46
6.1系统运行46
6.2运行结果分析47
6.2.1温度趋势曲线分析47
6.2.2报警信息分析49
第七章 总结50
参考文献51
致 谢52
摘 要
可编程控制器是一种应用很广泛的自动控制装置,它将传统的继电器控制技术、计算机技术和通讯技术融为一体,具有控制能力强、操作灵活方便、可靠性高、适宜长期连续工作的特点,非常适合温度控制的要求。
在工业领域,随着自动化程度的迅速提高,用户对控制系统的过程监控要求越来越高,人机界面的出现正好满足了用户这一需求。人机界面可以对控制系统进行全面监控,包括过程监测、报警提示、数据记录等功能,从而使控制系统变得操作人性化、过程可视化,在自动控制领域的作用日益显著。
本文主要介绍了基于西门子公司S7-200系列的可编程控制器和亚控公司的组态软件组态王的炉温控制系统的设计方案。编程时调用了编程软件STEP 7 -Micro WIN中自带的PID控制模块,使得程序更为简洁,运行速度更为理想。利用组态软件组态王设计人机界面,实现控制系统的实时监控、数据的实时采样与处理。实验证明,此系统具有快、准、稳等优点,在工业温度控制领域能够广泛应用。
关键词:温度控制 可编程控制器 人机界面 组态王
Abstract
Programmable Logic Controller (PLC) is a kind of automatic control equipment which is widely used in the industrial manufacture. It merges the traditional control technology, computer and communication technologies with a strong ability to control, flexible operation, high reliability and suitable for long-term characteristics of continuous work. It is very suitable for temperature control requirements.
In the industrial field, with the rapid increase in the degree of automation, it is more and more important to monitor the process of control system for the users. The emergence of human-machine interface meets the needs of users. Man-machine interface can comprehensively monitor the control system, including process monitoring, alarm, data logging and other functions, so that the control systems have become user-friendly operation, the process of visualization and it will play more and more important part in the field of automatic control.
This essay mainly introduces a design of temperature control system with SIMATIC programmable logic controller (PLC) and configuration software Kingview which is developed by Beijing Yakong Company. When programming, we use the PID control arithmetic software module which is contained in the program software STEP 7 -Micro WIN so that the program looks easier and operates more quickly. In order to monitor the control system and process data in actual time, we designed Human Machine Interface(HMI)with the configuration software Kingview. The result of experiment proves that this temperature control system could run quickly, accurately and have good stability, which is the advantage of the control system. This control system has been widely used in the industrial temperature control field. With the continuous development of automatic science and technology, high-precision, intelligent, user-friendly temperature control system is the inevitable trend of development at home and abroad.
Keywords: Temperature Control PLC HMI Kingview