2016-07-20.2013Z1281096836105201410674222.1993-*1976-.1008-8423201701-0088-04DOI10.13501/j.cnki.42-1569/n.2017.03.020Matlab*650500Matlab.SimulinkOPCSimulink、、..TP273AMultivariateVirtualControlSystemsDesignofThree-holdingTankBasedonKingviewandMatlabWUZhongminZHENGShuaiXUGangYANGChunxi*SchoolofChemicalEngineeringKunmingUniversityofScienceandTechnologyKunming650500ChinaAbstractThevirtuallevelsimulationsystemofthree-holdingtankisconstructedbasedonKingviewandMatlabinthepaper.FirstlymonitoringscreensoflevelcontrolsystemisdesignedbyKingview.SecondlyitsmathematicalmodelisconstructedthroughmoderncontroltheoryandthenrelatedmultivariatecontrolsystemsarealsobuiltusingSimulinktoolboxofMatlab.MoreoverthecommunicationbetweenmonitoringscreensandthemultivariatecontrolsystemsislinkedviaOPCtechnology.Andthenseveralfunctionsofmultivariatecontrolsystemsarerealizedincludingdynamicmonitoringreal-timecurvetheinquiryofhis-toricaldataandalarmingetc.Finallythesimulationresultsshowthatthevirtualsimulationsystemcanbeappliedtothestudyofmultivariatecontrolalgorithmandrelatedtrainingbecauseofitssimpleoperationandvividdynamiceffects.Keywordsvirtualsimulationtechnologythree-holdingtankmultivariatecontrolsystems、、1.2-4.5.PID6PID7.8-9Matlab10.MatlabSimulinkOPC.、、11-12..351Vol.35No.120173JournalofHubeiUniversityforNationalitiesNaturalScienceEditionMar.20171Fig.1Structurediagramofthree-tanksystem2Fig.2Monitoringscreensofthree-tanklevelcontrolsystem11、、h1th2th3tQit、、Q1tQ2tQ3t..dh1tdt=1S1Qit-Q1t()dh2tdt=1S2Q1t-Q2t()dh3tdt=1S3Q2t-Q3tQ1t=h1tR1Q2t=h2tR2Q3t=h3tR3.1S1S2S3、、13..、、R1R2R3..R1R2R3.1x·t=Axt+But()yt()=Cxt{2xt=h1th2th3tΤutyt.R1=293s/m2R2=187s/m2R3=477s/m2S1=S2=0.20m2S3=0.38m2x·1x·2x·3=-5293005293-518700171.6-1181.26x1x2x3+500uy1y2y3=100010001x1x2x3314..Ah1th2t、h2th3t.PID、、.2KINGVIEW、、、、、、、1、.2.2981Matlab...、PID.PID....3MatlabSimulink.、、、.PIDPID.3.3Fig.3Configurationgraphofthree-tankmultivariatecontrolmodels4OPCOPCWindowsOPCMatlab.MathWorksMatlab7.0OPCMatlabOPCToolbox.OPCOPCOPCOPCMatlabOPCToolboxMatlab154.OPC.5.OPC、PIDSimulink09354MatlabFig.4FlowchartofcommunicationbetweenMatlabandKingView5-SimulinkFig.5JointdebuggingcurveofKingview-Simulink6Fig.6Curveaboutinputofuppertanksuffereddisturbance7Fig.7Curveaboutoutputofuppertanksuffereddisturbance.SimulinkSim-ulink.、..PID0.600.010.5PID5.580s200240s133.5660s316.1.5.PID.67.6.7..PID.PID.PID.PID.6Matlab.PID、、..、、、.96191Matlab、、、.ⅡⅠ.1.J.20072917-11.2.J.20148169-170.3.J.2013324439-446.4.、M.2015122-125.5MagurranA.E..M.201150-51.6.J.2005242113-116.7.J.2016352314-320.8.J.2004121174-181.9.J.2008S2165-170.10.J.2003253245-257.11.J.199113S41-3.12.J.1996184363-384.13.J.19945403-417.14.J.198312199-207.15.J.2011293265-271.16.J.2005242113-116.17.J.19832100-106.911.J.20092431-4.2.J.2013681-83.3.J.2007567-69.4.J.2015521-24.5.J.2011286100-104.6.J.200724132-36.7.D.2005.8.MatlabJ.201032392-95.9.LabVIEWMatlabJ.201537869-74.10.J.2004143160-163.11.OPCMatlabJ.200720326-27.12.OPCMatlabJ.2007277113-115.13.J.201635176-79.14.M.2009.15.J.201125651-55.6935