摘要本设计以JBS-GK04型过程控制实验装置为基础,对双容水箱进行对象特性测试及液位控制。通过对双容水箱液位控制系统的分析建模,针对其对象特性,采用PID控制方式,构成了以上水箱液位为副调节参数、下水箱液位为主调节参数的液位控制系统,有效地克服了二次干扰以及双容水箱的容量滞后等问题,从而缩短了调节时间。利用北京亚控公司生产的组态王软件实施上位机界面组态,对系统进行实时地操作、监控。在控制过程中不需要下位机,通过在组太王软件工程浏览器中的命令语言编辑对话框里面输入PID控制源程序,实现计算机直接控制的方式,实现计算机与现场设备之间的数据交换。利用变频器使抽水泵工作在恒压供水的状态下,通过电动调节阀来实现控制目标。在对双容水箱液位控制系统进行参数整定时,以使调节过程稳、准、快为原则,从而得到适合的调节器参数。实验结果表明,系统实现了对过程参数的无稳态误差控制,具有良好的稳态性能和动态性能。关键词:液位;PID控制;组态软件;参数整定1AbstractThedesignisbasedontheJBS-GK04typeofprocesscontroldeviceforthetestingobjectpropertiesandlevelcontrolonthetwo-tank.Throughanalysisandmodelingforthetwo-tankwaterlevelcontrolsystem,useofcascadePIDcontrolforitsobjectpropertiesandconstituteawaterlevelcontrolsystem,itsdeputyadjustableparameterispreviouswaterlevelandthemainadjustableparametersisunderthetank'sliquidlevelcascadecontrolsystem.Itovercomestheproblemseffectivelyaboutthesecondtwo-tankandcapacitylaggedbehindandreducestheadjustmenttime.UseConfigurationsoftwarewhichisgeneratedbyBeijingAsia'sPCtoimplementtheinterfaceconfiguration,operatewaterlevelreal-timeandmonitorthesystem.Inthecontrolprocessdoesnotrequirethenextcrew,editdialogboxtoenterthePIDcontrolinsidesourcethroughthesoftwareengineeringgroupinthebrowsercommandlanguagetoachievedirectcontrolofthecomputer,Andusethedrivetoworkintheconstantpressurewatersupplypumpsinthestate,throughtheelectriccontrolvalvetoachievethecontrolobjectives.Intwo-tankwaterlevelcontrolsystemparametersadjustment,followtheprincipleofsteady,accurate,fastinadjustmentprocesstogetappropriateparameters.Theexperimentalresultsshowthatthesystemofprocessparameterstoachievesteady-stateerror-freecontrol,withgoodsteadystateperformanceanddynamicperformance.Keywords:LevelPIDcontrol;configurationsoftware;parametertuning2目录摘要.........................................................................................................................................................................0Abstract....................................................................................................................................................................1目录.........................................................................................................................................................................2第一章绪论...........................................................................................................................................................31.1课题研究背景及意义...............................................................................................................................31.2本文主要研究的内容...............................................................................................................................3第二章JBS-GK04型过程控制实验装置.......................................................................................................42.1系统组成...................................................................................................................................................42.2系统特点...................................................................................................................................................42.3.工艺流程...................................................................................................................................................52.4技术规格...................................................................................................................................................62.5、JBS-GK04过程控制实验装置上位机操作说明..................................................................................7第三章双容水箱液位控制系统方案设计.........................................................................................................113.1双容水箱液位控制系统分析.................................................................................................................113.2双容水箱液位控制系统方案设计........................................................................................................123.2.1控制方案的选定..................................................................................................................................123.2.2串级控制系统的特点..........................................................................................................................133.2.3串级控制系统的设计..........................................................................................................................133.2.4计算机串级控制算法实施..................................................................................................................163.2.5液位串级控制系统工作过程..............................................................................................................173.3液位控制系统参数整定.........................................................................................................................183.3.1Kp、Ti、Td对控制质量的影响..........................................................................................................193.3.2几种工程整定方法介绍......................................................................................................................1