【正文】
ndustrial 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 humanmachine interface meets the needs of users. Manmachine interface can prehensively monitor the control system, including process monitoring, alarm, data logging and other functions, so that the control syste ms have bee userfriendly operation, the process of visualization and it will play more and more important part in the field of automatic control. Thesis 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, highprecision, intelligent, userfriendly temperature control system is the inevitable trend of development at home and abroad. Keywords: Temperature Control; PLC; HMI; Kingview 沈陽理工大學(xué)學(xué)士學(xué)位論文 III 目 錄 1 緒論 ..........................................................................................................................1 項目背景、意義 ................................................................................................ 1 溫控系統(tǒng)的現(xiàn)狀 ................................................................................................ 2 項目研究內(nèi)容 .................................................................................................... 3 2 PLC 和 HMI 基礎(chǔ) ....................................................................................................5 可編程控制器基礎(chǔ) ............................................................................................ 5 可編程控制器的產(chǎn)生和應(yīng)用 ..................................................................... 5 可編程控制器的組成和工作原理 ............................................................. 5 可編程控制器的分類及特點 ..................................................................... 8 人機(jī)界面基礎(chǔ) .................................................................................................... 8 人機(jī)界面的定義 ......................................................................................... 8 人機(jī)界面產(chǎn)品的組成及工作原理 ............................................................. 8 人機(jī)界面產(chǎn)品的特點 ................................................................................. 9 3 PLC 控制系統(tǒng)硬件設(shè)計 ....................................................................................10 PLC 控制系統(tǒng)設(shè)計的基本原則和步驟 .......................................................... 10 PLC 控制系統(tǒng)設(shè)計的基本原則 .............................................................. 10 PLC 控制系統(tǒng)設(shè)計的一般步驟 .............................................................. 11 PLC 的選型與硬件配置 .................................................................................. 13 PLC 型號的選擇 ...................................................................................... 13 S7200 CPU 的選擇 ................................................................................. 13 熱電式傳感器 ........................................................................................... 14 TAC16P 系列單相調(diào)功 /調(diào)壓電力調(diào)整器 ............................................... 15 I/O 點分配及電氣接線圖 ................................................................................ 16 PLC 控制器的設(shè)計 .......................................................................................... 18 控制系統(tǒng)數(shù)學(xué)模型的建立 ....................................................................... 18 PID 控制及參數(shù)整定 ............................................................................... 19 4 PLC 控制系統(tǒng)軟件設(shè)計 .......................................................................................22 PLC 程序設(shè)計方法 .......................................................................................... 22 編程軟件 STEP7MICRO/WIN 概述 .............................................................. 23 STEP7Micro/WIN 簡單介 紹 .................................................................. 23 沈陽理工大學(xué)學(xué)士學(xué)位論文 IV 梯形圖語言特點 ....................................................................................... 24 STEP7Micro/WIN 參數(shù)設(shè)置(通訊設(shè)置) .......................................... 25 程序設(shè)計 .......................................................................................................... 27 設(shè)計思路 ....................................................................................................... 27 梯形圖程序 ............................................................................................... 28 PID 指令向?qū)У倪\用 ............................................................................... 30 語句表( STL)程序 ................................................................................ 34 5 基于組態(tài)王的 HMI 設(shè)計 ......................................................................................36 人機(jī)界面( HMI)設(shè)計 .................................................................................. 36 主界面 ....................................................................................................... 37 實時趨勢曲線 ........................................................................................... 38 報警窗口 ................................................................................................... 39