沈阳理工大学学士学位论文I摘要目前,我国的供水事业已经由传统的塔式供水、人为管理向现代恒压供水、智能化管理转变。为了避免电力、水资源的浪费以及节省人力,建立智能给水系统。在变频供水的研究基础上,本文设计了一种以西门子S7-200系列PLC为核心的智能化给水控制系统。本智能恒压给水系统的基本控制策略是:采用触摸屏软件制作上位机控制界面,在Windows环境下实现了上位计算机与PLC的串行通信,进行优化控制,供水系统采用电动机变频调速的供水方式,通过自动运行方式对整个供水系统的运行状态进行实时监控,以达到管网内供水压力稳定和节约电能的目的。采用该方法设计的供水控制系统不但满足了现代化供水要求,还可以实现供水过程中24小时的无人值班,节省劳力,能成功的应用于生活生产供水当中。关键词:智能给水;实时监控;PLC沈阳理工大学学士学位论文IIAbstractAtpresent,ourcountry'swatersupplyenterprisealreadysuppliedwaterbythetraditionaltowersystem,theartificialmanagementtothemodernconstantpressurewatersupply,theintellectualizedmanagementtransformation。Inordertoavoidelectricity,waterwasteandsaveonlaborEstablishtheIntelligentwatersupplysystem。IntheFrequencyconversionwatersupplyresearchfoundation,thisarticlehasdesignedonekindwithSiemensS7-200seriesPLCforthecoreintellectualizedwatersupplycontrolsystem。Thisintelligentconstantpressurewatersupplysystembasiccontrolstrategyis:UsesintheTouchscreensoftwareprogrammingsoftwareProductionthepositionmachinecontrolinterface,hasrealizedonthepositioncomputerandthePLCserialcommunicationundertheWindowsenvironment,carriesontheoptimizedcontrol,thewatersupplysystemusestheelectricmotorfrequencyconversionvelocitymodulationthewatersupplyway,andcarriesonthereal-timemonitoringbytheAutomaticoperationmodetotheentirewatersupplysystemrunningstatus,achievedinthepipenetworksupplieswaterthepressuretostabilizeandtosavetheelectricalenergygoal。Notonlyusedthismethodsdesignthewatersupplycontrolsystemtosatisfythemodernizedwatersupplyrequest,butalsomightrealizeinthewatersupplyprocess24hournobodyduties,savedthelaborforce,couldsucceedapplicationmiddlelifeproductionwatersupply。Keywords:WatersupplyofIntelligent;Real-timemonitoring;PLC沈阳理工大学学士学位论文III目录1绪论......................................................................................................................................11.1课题的背景及意义...................................................................................................11.2国内外研究现状.......................................................................................................11.3基于S7-200PLC智能恒压给水系统的应用..........................................................32基于S7-200智能恒压给水系统的设计方案.....................................................................42.1系统要求实现的功能...............................................................................................42.2系统的组成...............................................................................................................52.4系统的工作原理.......................................................................................................62.5PID闭环控制系统原理............................................................................................73基于S7-200智能恒压给水系统的硬件设计.....................................................................93.1电路设计...................................................................................................................93.1.1主电路设计....................................................................................................93.1.2控制电路设计................................................................................................93.2可编程控制器的配置.............................................................................................113.2.1可编程控制器的介绍..................................................................................113.2.2PLC的特点..................................................................................................113.2.3PLC的功能..................................................................................................133.2.4PLC的选型..................................................................................................143.3变频器选型.............................................................................................................163.4水泵的选型.............................................................................................................183.5压力传感器的选型.................................................................................................183.6触摸屏.....................................................................................................................193.7隔离配电器的选型.................................................................................................194基于S7-200智能恒压给水系统的软件设计...................................................................204.1PLC程序的编译.....................................................................................................204.1.1编程软件的简介和梯形图的基本绘制规则..............................................204.1.2主程序设计..................................................................................................21沈阳理工大学学士学位论文IV4.1.3PID运算子程序设计...................................................................................244.1.4休眠子程序设计..........................................................................................254.1.5阀门开关子程序设计..................................................................................264.2触摸屏程序设计.............................................