【正文】
序中所使用的控制算法進(jìn)行詳細(xì)的介紹。實(shí)驗(yàn)證明,以 PLC 作為控制核心,在通過 PLC 編程控制溫度對(duì)象,這種設(shè)計(jì)方式可以方便快捷的設(shè)計(jì)出符合要求的溫度控制系統(tǒng)。 通過本設(shè)計(jì)可以熟悉并掌握西門子 S7200PLC 的原理與功能及它的編程語(yǔ)言,以自動(dòng)控制理論為指導(dǎo)思想,解決工業(yè)生產(chǎn)及生活中溫度控制問題。 關(guān)鍵字 : S7200PLC; EM235;溫度控制 系統(tǒng) 9 Abstract With the continuous development of the industrial automatization, people’s requirements for automatics bee higher and higher. In recent years, rapid growing puter technology has been widely used, but in the meantime, traditional industrial control software has critical shortings such as long development cycle, low reusability, high price and costly modifications. As more and more automatic equipments are applied and the requirements for industrial control software are higher and higher, the traditional industrial control software can not meet the demand of consumers any more. How to design a flexible and effective automatic control system speedily and conveniently by using industrial control software has bee a very important task. PLC (programmable logic controller) is a kind of wildly used automatic control device, and it bines traditional relay control technology, puter technique and munication technology, and it characterized by strong control ability, flexible operation, high reliability and suitable for continuous working. This thesis introduces the principles, design and application of each module from the selection, design, and application of hardware, and selection, pile of software in details. Experiments prove that use PLC as the control centre and control temperature object through programming by PLC, we can design desirable temperature control system conveniently and flexiblely. Key words: S7200PLC。 EM235。 temperature control system. 10 目 錄 第一章緒論 ...................................................................................................................... 1 系統(tǒng)設(shè)計(jì)背景 ...................................................................................................... 1 溫度控制系統(tǒng)的發(fā)展?fàn)顩r .................................................................................... 1 本文的研究?jī)?nèi)容 ................................................................................................... 3 第二章 設(shè)計(jì)總體方案及控制算法描述 .............................................................................. 4 系 統(tǒng)總體方 案 ...................................................................................................... 4 硬件方案設(shè)計(jì) ............................................................................................. 4 軟件方案設(shè)計(jì) ............................................................................................. 5 PID 控制算法 ....................................................................................................... 6 PID 算法 .................................................................................................... 7 在 PLC 中的回路指令 .......................................................................... 8 PID 參數(shù)整定 ........................................................................................... 10 第三章 系統(tǒng)硬件設(shè)計(jì) ................................................................................................... 12 系統(tǒng)的硬件組成 ................................................................................................ 12 系統(tǒng)結(jié)構(gòu)組成 ........................................................................................... 12 統(tǒng)各個(gè)組成部分完成的任務(wù) ...................................................................... 12 可編程控制器 ................................................................................................... 12 的特點(diǎn) ............................................................................................... 12 的選型 ............................................................................................... 13 西門子 S7200 主要功能模塊介紹 ............................................................. 14 系統(tǒng)其他硬件選型及配置 ................................................................................... 17 顯示模塊 .................................................................................................. 17 溫度傳感器 .............................................................................................. 18 調(diào)功器 ..................................................................................................... 20 系統(tǒng)硬件連接 .................................................................................................... 23 第四章 系統(tǒng)軟件設(shè)計(jì) ................................................................................................... 24 系統(tǒng)設(shè)計(jì)軟件 .................................................................................................... 24 方案設(shè)計(jì)思路 .................................................................................................... 25 主程序部分 ........................................................................................................ 26 標(biāo)度變換子程序 ................................................................................................. 29 顯示模塊子程序 ................................................................................................. 31 初始化子程序及中斷程序 ............................................................................. 35 第五章 總結(jié) ............................................................................................................. 42 致 謝 ........................................................................................................................... 43 參考文獻(xiàn) ........................................................................................................................ 44 附錄 ............................................................................................................................... 45 11 江西理工大學(xué) 20xx 屆本科生畢業(yè)設(shè)計(jì)(論文) 1 第一章 緒論 系統(tǒng)設(shè)計(jì)背景 溫度與人們的生存生活生產(chǎn)息息相關(guān)。從古人類的燒火取暖