【正文】
c controller(PLC) is Reliable、not easily to be jamming and easily to be learned and used , weled by workers and widely used in industry.Programmable controller (PLC) is a digital electronic puting operating system, designed for applications in industrial environments designed. It uses a programmable memory for storage in its internal implementation of logic operations, sequence control, timing, calculation and arithmetic operations, such as operating instructions, and through digital and analog input and output, control of various types of machinery or the production process.Configuration is to use application software to provide the tools, methods, and to plete the works in the course of a specific task. Configuration software applications is broad, it can be applied to power systems, water supply systems, petroleum, chemical and other fields of data acquisition and supervisory control and process control and many other fields. Before the concept of the configuration, in order to achieve a particular task, using the preparation process is achieved. Programming is not only a heavy workload, long and easy to make mistakes, can not guarantee period. The emergence of the configuration software can solve the problem. The Kingview can help plete the task in a few days.This thesis mainly introduces a design of temperature control system with SIMATIC programmable logic controller (PLC) S7200 and the Kingview configuration soft .We use the PLC s7200 with cup 22the K type thermocouple IIand temperature module EM231 as the hardware, and use the STEP 7 Micro WIN to programming . The thermocouple can measure the temperature of the stove, and translate the temperature signal to the voltage signal. And then the EM235 will transmit it to the PLC after disposing the signal .This system use positional type PID arithmetic and PulseWidth Modulation methodology .And the procedure use idea of coarse adjustment algorithm and the fine adjustment algorithm. The procedure will run with different PID parameter in different condition.We have designed Human Machine Interface(HMI)with the Kingview configuration soft which is developed by domestic pany . The Kingview can monitor and control the PLC on line. We also have designed several menu ,including the historical curve screen 、the real time curve screen、the data report forms screen、the alarm screen and parameter monitoring screen. Users can easily query the operation of PLC, data acquisition and online control.The experimental results show that,the plc can work reliably, stably. The system using coarse adjustment algorithm and the fine adjustment algorithm can get a better result. That is fast response, small overshoot, rapid adjustment, high accuracy. The Kingview is powerful, easy to operate. We can speculate that configuration software will have a good prospect for development.Keywords:Temperature Control;PLC;PID;KingViewIII目 錄第一章 前 言 ...................................................................1 課題研究背景 ....................................................1 溫度控制系統(tǒng)的發(fā)展狀況 ..........................................2 本文的研究內(nèi)容 ..................................................4第二章 可編程控制器的概述 ........................................................5 可編程控制器的產(chǎn)生 ..............................................5 可編程控制器的基本組成 ..........................................5第三章 硬件配置和軟件環(huán)境 .......................................................8 實驗配置 ........................................................8 西門子 S7200...........................................8 傳感器 .................................................8 EM 231 模擬量輸入模塊 ...................................9 STEP 7 MICRO/WIN32 軟件介紹 .....................................10 安裝 STEP 7MWIN32 ................................10 系統(tǒng)參數(shù)設(shè)置 ..........................................12第四章 控制算法描述 .............................................................14 PWM 技術(shù) .......................................................14 PID 控制程序設(shè)計 ...............................................14 PID 控制算法 ...........................................15 PID 在 PLC 中的回路指令 .................................16 PID 參數(shù)整定 ...........................................19第五章 程序設(shè)計 .................................................................21 方案設(shè)計思路 ...................................................21 程序流程圖 .....................................................23 助記符語言表 ...................................................24 梯形圖 .........................................................29第六章 組態(tài)畫面設(shè)計 .............................................................35 組態(tài)軟件概述 ...................................................35 組態(tài)王的介紹 ...................................................35 組態(tài)畫面的建立 .................................................35 創(chuàng)建項目 ...............................................36 建立主畫面 .............................................38 建立趨勢曲線畫面 .......................................39IV 建立數(shù)據(jù)報表 ...........................................41 建立報警窗口 ...........................................43 建立參數(shù)監(jiān)控畫面 .......................................45第七章 系統(tǒng)測試 .................................................................46 啟動組態(tài)王 .....................................................46 參數(shù)監(jiān)控和設(shè)定 .................................................47 報警信息提示 ...................................................48 報表系統(tǒng)查詢 ...................................................49 趨勢曲線監(jiān)控 ...................................................50 實時趨勢曲線 ...........................................50 分析歷史趨勢曲線 ......................................51第八章 結(jié) 論 ....................................................................54參考文獻 ......................................................................55致 謝 ......................................................................560第一章 前 言 課題研