过程控制,2010,37(10):29~32ControlandInstrumentsinChemicalIndustry王春晓,刘海,杜清府(,264209):反应釜是一种典型的大惯性滞后性系统,控制起来非常困难以反应温度作为被控参数,采用上下位机结合的整体方案和动态PID温度控制算法介绍了基于VB6.0的上位机监控界面开发和基于C8051F020单片机的下位机控制器的设计,包括控制器软硬件设计上下位机串口通讯数据存取与实时数据显示等并应用到实验室反应釜进行温度控制,结果验证了软硬件设计和控制算法的可行性和有效性:反应釜;温度控制器;动态PID;串口通信;UI:TP273:A:10003932(2010)100029041,,,,[1],,[2],,,,VB6.0,,;C8051F020,Pt100[3],PID,,*2,1,LCDA/DD/A;,Pt100C8051F020C8051F020,SiliconLabsCIP51,,,,PC,PCVB6.0,,,,,RS485,13PIDPID,,(P)(I)(D),,,:PID:u(t)=kP[e(t)+1TIt0e(t)dt+TDde(t)dt](1)*:20100727():kP;TI;TD;e(t);u(t)t!kT,T,PID:u(k)=kPe(k)+TTI∀kj=0e(j)+TDe(k)-e(k-1)T=kPe(k)+kI∀kj=0e(j)+kD[e(k)-e(k-1)](2):kI=kPT/TI;kD=kPTD/TPID,,,,,[4]PID:u(k)=PkPe(k)+IkI∀kj=0e(j)+DkD[e(k)-e(k-1)](3)PID0~1,eec,,,e,P,ID,,e,P,I,ecD,,,ZN[5],PIDPID,PID,PID,4,,LCD4.1Pt100Header2,C8051F02012ADCAINPt1000~600#,0.1#224.2ADC,Pt100,PID4.3,10DAC,220V334.4,4A/D,,∃30∃3745,LEDLCD,VB6.0VB6.0MicrosoftWindows,,,Data5.1:%,;&,,;∋555.2VBMSComm,11,RThreshold=11,form_load()[6]WithMSComm1.CommPort=1//1.InpuMtode=comInpuMtodeBinary//.Settings=9600,n,8,1//9600,,8.InputLen=0//.InBufferSize=1024.OutBufferSize=512.RThreshold=11//11oncomm.SThreshold=0//.PortOpen=True//End:%,ASC(128,,,,;&,11,11,;∋,9600bps,1KB,1000)8/9600!0.83s,,,,,∗A5FF01FFFFFFFFFE5A+,,66,,∗+,,5.3,Data,Access[7],,:(1)VBvbdata,vbdata,(2)DataData,Data.database=vbdata,Data.Recordset=vbdata(3),MSComm_oncomm()indata(),AddNewUpdate:Form1.Data1.Recordse.tAddNew∃31∃10.Form1.Data1.Recordse.tFields()=tmie(num)Form1.Data1.Recordse.tUpdate,6PID,,,PID,,PID,PID,100#,EPID,P=0.3,I=0.5,D=3,77PID,,,PID,:|E|,15,P=0.5,I=0,D=63|E|15,P=0.2,I=0.62,D=2|E|−3,P=0.25,I=0.462,D=0.5:E15,600,6008,,,,99.6~100.4#PID,PID,,P,,PID,8PID7,,,,PID,PID,;,,,:[1]MIKLESJ,FIKARM.ProcessModelling,Identification,andControl[M].German:Springer,2007.[2].[D].:,2005.[3],.[J].,2004,31(1):66-69.[4]RAMLINM,BAWADIA.ModelingandControlofaReactor[C]//InternationalConferenceonIntelligentandAdvancedSystems.2007:181-187.[5]Vega,Prada,Aleixandre.SelftunePredictPIDController[J].IEEEProceedings-D,1991,138(3):304-310.[6].VisualBasics[M].:,2006.[7],.VisualBasic6.0[M].:,2002.ResearchandRealizationonReactorControlSystemWANGChunxiao,LIUHa,iDUQingfu(ShandongUniversityatWeihai,Weihai264209,China)Abstract:Takingthetemperatureofinnerreactorasmainlycontrolledparameter,thecontrolsystemcombinesthePCandtheMCU,usingdynamicPIDcontrolalgorithmwasdesigned.ThedevelopmentofHMIbasedonVB6.0andthedesignofregulatorbasedonC8051F020MCUwereintroduced,includinghardwarestructureofregulator,softwaredesign,serialcommunication,dataaccess,dynamicdatagraphdisplayandsoon.Theexpermientonthereactorinlabshowsthatthedesignofsoftware,hardwareandcontrolalgorithmarefeasibleandeffective.Keywords:reactor;temperaturecontroller;dynamicPID;serialcommunication;UI∃32∃37