【正文】
同時給出采用 PLC 控制程序?qū)崿F(xiàn)的此水位控制。 水位 PID 控制系統(tǒng) 集 PLC 控制技術(shù)、 PID 技術(shù)、 電子電力技術(shù)、微電子技術(shù)和計算機(jī)技術(shù) 、 測試技術(shù) 于一體。 本論文側(cè)重介紹 “水塔 水位 PID 控制系統(tǒng) ”的軟件設(shè)計及 相關(guān)內(nèi)容,使 水塔 水塔 維持一定的水位。因此如何設(shè)計一個精度高、穩(wěn)定性好的水位控制系統(tǒng)就顯得日益重要。但其原理都大同小異。比如自動控制水 塔 、水池、水槽、鍋爐等容器中的蓄水量,生活中抽水馬桶的自動補(bǔ)水控制、自動電熱水器、電開水機(jī)的自動進(jìn)水控制等。同時,又有 PID 控制技術(shù)的發(fā)展,因此,如何建立一個可靠安全、又易于維護(hù)的給水系統(tǒng)是值得我們研究 的課題??删幊炭刂破鳎?PLC)是根據(jù)順序邏輯控制的需要而發(fā)展起來的,是專門為工業(yè)環(huán)境應(yīng)用而設(shè)計的數(shù)字運(yùn)算操作的電子裝置。就目前而言,多數(shù)工業(yè)、生活供水系統(tǒng)都采用水塔、層頂水箱等作為基本儲水設(shè)備,由一級或二級水泵從地下市政水管補(bǔ)給。因此給水工程往往成為高層建筑或工礦企業(yè)中最重要的基 礎(chǔ)設(shè)施之一。在社會經(jīng)濟(jì)飛速發(fā)展的今天,水在人們正常生活和生產(chǎn)中起著越來越重要的作用。 外文資料翻譯 .......................................................................................... 46 1 前 言 在工業(yè)生產(chǎn)中,電流、電壓、溫度、壓力、液位、流量、和開關(guān)量等都是常用的主要被控參數(shù)。s livelihood. With the social development and people39。在設(shè)計中大量運(yùn)用 PLC 中 PID 來實現(xiàn)水塔水位的控制,為了精確地實現(xiàn)對水位的控制 ,建立成閉環(huán)控制系統(tǒng),實現(xiàn)了水塔中的進(jìn)、出水的水位自動控制。這就需要有一個輸入控制液體閥以不同的速度給水 塔供水,以維持水位的變化,這樣才能使 水 塔 不斷水。I .水塔 水位 PID 控制系統(tǒng) 設(shè)計 摘 要 供水是一個關(guān)系國計民生的重要產(chǎn)業(yè)。隨著社會的發(fā)展和人民生活水平的提高,對城市供水提出了更高的要求, 有一個水箱需要維持一定的水位,該水 塔 里的水以變化的速度流出。 研究設(shè)計的基于 PLC 控制的水塔水位 PID 供水系統(tǒng) ,以西門子公司的 S7200系列中 PLCCPU226 為基礎(chǔ),結(jié)合模擬量模塊 EM23液位傳感器、輸入控制液壓閥、輸出控制液壓閥等,組成一個基于 S7200 系列中 PCLCPU226 的水塔水位控制系統(tǒng),能 完成邏輯控制、水位調(diào)節(jié)和數(shù)據(jù)采樣等功能 ,實現(xiàn) 對水塔的水位進(jìn)行控制及檢測。 關(guān)鍵詞: 可編程控制器 PLC, 水塔水位 , PID 控制 II WATER TOWERS PID CONTROL SYSTEM DESIGN ABSTRACT Water supply is an important industry of the people39。s living standards, urban water supply to a higher demand, there is a need to maintain a certain water tank water level, the water towers in order to change the speed of the outflow. This requires a liquid input control valve to the different speeds of water towers in order to maintain the water level changes, so that continuous water towers. In the system, only the use of proportion and integral control, the loop gain and time constant can be calculated through the preliminary engineering, but also the need for further adjustments to achieve optimal control. System startup, shut down the outlet for moving the liquid control valve control input, so that the water level reached 75% of full water level, and then open the outlet, while the liquid input control valve to switch from manual to automatic mode. This switch from a digital control input. The design of Siemens S7200 series PLCCPU226based light simulation module E235, liquid level sensors, type of hydraulic control valves, hydraulic valves, such as output control, based on the formation of a S7200 series PCL CPU226 water level control system of the towers, the water level of the towers to monitor and control. Keywords: Programmable Logic Controller PLC, Water Towers, PID Control III 目 錄 前 言 ....................................................................................................... 1 第 1 章 水塔水位自動控制系統(tǒng)的概述 ................................................. 2 水位控制系統(tǒng)現(xiàn)狀與發(fā)展 .......................................................... 2 水塔水位自動控制系統(tǒng)的組成 .................................................. 2 水位控制系統(tǒng)效率及運(yùn)行模式分析 .......................................... 3 第 2 章 PLC 結(jié)構(gòu)和工作原理 ................................................................ 4 PLC 組成與基本結(jié)構(gòu) ................................................................. 4 PLC 的系統(tǒng)結(jié)構(gòu) ................................................................ 4 PLC 的基本工作原理 ........................................................ 5 PLC 的主要應(yīng)用 ......................................................................... 6 S7200 系列可編程控制器 ........................................................ 6 S7200 PLC 系統(tǒng)組成 ........................................................ 7 S7200 系列 PLC 元件功能 ............................................... 7 PID 控制器簡介 .......................................................................... 9 PID 控制器的結(jié)構(gòu)及原理 .................................................. 9 數(shù)字式 PID 控制 .............................................................. 10 數(shù)字式 PID 控制的實現(xiàn) .................................................. 12 第 3 章 水塔水位控制系統(tǒng)方案設(shè)計 ................................................... 14 系統(tǒng)的工作原理 ....................................................................... 14 設(shè)計分析 .......................................................................... 14 可行性試驗 ...................................................................... 15 可行性分析 ...................................................................... 16 水位閉環(huán)控制系統(tǒng) ................................................................... 16 PLC 的選擇 ...................................................................... 17 供水的控制方法 ............................................................... 18 第 4 章 PLC 中 PID 控制器的實現(xiàn) ...................................................... 20 PID 算法 ................................................................................... 20 PID 應(yīng)用 ................................................................................... 21 PLC 實現(xiàn) PID 控制的方式 ....................................................... 21 PLC PID 控制器的實現(xiàn) ............................................................ 22 IV PID 指令及回路表 .................................................................... 24 第 5 章 系統(tǒng)硬件開發(fā)設(shè)計 .................................................................. 26 可編程控制器的選型 ................................................................ 26 EM235 模擬量模塊 .................................................................. 28 EM235 的安裝使用 .......................................................... 29 EM235 的工作程序編制 .................................................. 29 硬件連接圖 ............................................................................... 30 控制系統(tǒng) I/O 地址分配 ............................................................ 30 第 6 章 系統(tǒng)軟件 應(yīng)用 設(shè)計 ............................................