可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx

上传人:b****2 文档编号:4969684 上传时间:2023-05-04 格式:DOCX 页数:11 大小:24.07KB
下载 相关 举报
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第1页
第1页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第2页
第2页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第3页
第3页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第4页
第4页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第5页
第5页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第6页
第6页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第7页
第7页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第8页
第8页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第9页
第9页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第10页
第10页 / 共11页
可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx_第11页
第11页 / 共11页
亲,该文档总共11页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx

《可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx》由会员分享,可在线阅读,更多相关《可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx(11页珍藏版)》请在冰点文库上搜索。

可编程控制器的数据库系统中英文翻译资料 大学论文Word文件下载.docx

smachinery-therunningexampleusedinthispaper.ThispaperisapositionpaperthatproposesaPLCdatabasesystemanddiscussesitsfeatures.Indoingso,wetouchbaseswithanumberofbasicdatabasetopics,and,thus,frequentlyrefertootherworkfordetails.

PLCsaremostlyusedinmanufacturingenvironments-hence,thechoiceofourrunningexample.However,PLCsarealsousedinscientificapplicationsforsignaldatagatheringandpreliminarydataprocessing.Thus,wethinkthatforsomescientificapplications,aPLCdatabasemayalsoserveasalocal/transientpartofalargerscientificdatabase.

Withtherapidadvancesincomputerhardwareandfallingmemoryprices,inrecentyears,thecapabilitiesofthenewPLCsinthemarketplacehavebeenincreasingdramatically.ThispaperisapositionpaperthatarguesthataPLCsoftwarecannowcontainadatabasesystemtogreatlyincreaseitsfunctionality.WeproposethearchitectureinFigure1asthearchitectureofanenvironmentwherereal-timedatagathering(frommultiplesensors)andreal-timedatamanipulationtakesplace.

WenowlisttheadvantagesofhavingadatabasesystemdirectlyinsideaPLC.

(1)DataModelingTechniques:

Theinputandoutputbuffersrepresentaratherunorganizedtransientmodeloftherealworld,andhence,carlbemodeledbetterusingthetraditionaldatamodelingtechniquesofdatabases.

(2)HistoricalDatabases:

PLCsroutinelydealwithdifferentversionsofdataovertime.Therefore,historicaldatamodelingtechniquesaswellashistoricaldatamanipulationtechniquescanreplacetheadhocwaysofmanipulatinghistoricaldatainPLCs.

(3)User-FriendlyInterfaces:

Presentlyinthemarketplace,thePLCsoftwareandindustrialterminalsallowalimiteddisplayofmessagesandvariable-datainformationinmemory.Forexample,thecontacthistogramfunctiondisplaystheon/offhistoryofaspecificmainmemory.

(4)HandlingLargeVolumesofData:

Withtheaddedcapabilitiesofadatabaseandaquerylanguage,thePLCmayanalyzemuchlargervolumesofdata.

(5)DataReductionandCompactionatthePLCLevel:

Presently,forfurtheranalysisorsimplyduetovariousregulations,datacollectedbyPLCsgettransmittedandstoredintoahostcomputerfileusinganarchitectureshown..

SincethepresentPLCscannotsatisfactorilyanalyzemostdata,theysimplytransmitdatatothehostcomputer.Insomescientificexperimentsandapplications,thedatagatheredissolargethatargumentshavebeenraisedfor"

processingthedataon-the-fly"

duringtheexecutionofanexperiment/transaction[SSDB86]

(a)Real-TimeDatabase:

Thedataintheinputbuffermustbescannedwithinreasonablyshort"

real-time"

intervalsrangingfrommicrosecondstoseconds.Therefore,responsestoqueriesmustbeguaranteedtobelessthanacertain"

realtime"

timebound,almostalwayslessthan5to10seconds.

(b)MainMemoryDatabase:

Microseconds/secondsqueryresponserestrictionsnecessitatemain-memory-onlydatabases.

(c)ScalableDatabase:

OncetheenvironmentofaPLCandtherequirementsoftheassociatedapplicationprogramaredetermined,thepossiblequerytypestothedatabasestayfixedforareasonablylongperiodoftime.Sincetheresponsetimeofqueriesisofutmostimportance,theDBMSshouldbescaledsothatonlytheneededroutines/functions(e.g.,accessmethods,datastructures,etc.)areincorporated.

Insection2,wediscussthegeneralcharacteristicsPLCs,andbrieflypresenttheladderlogiclanguage.Section3discussesthefeaturesoftheproposeddatabasesystemforPLCs.

Ingeneral,thePLChardwareismostlycustom-builtwithoccasionaloff-the-shelfhardware,andconsistsofaCPU(ormultipleCPUs),mainmemory,an"

industrialterminal"

andhigh-andmedium-speeddatacommunicationshardware.Thesizeofthemainmemoryrangesfrom16Kbytes(of5to10yearsago)to8Mbytes(ofthepresenttime).AlthoughtheCPUhasaninstructionsetsimilartothosefoundinCPUsof16-bitand32-bitmachines,itisespeciallyequippedwithfastbitmanipulationinstructions.TheindustrialterminalcomeswithaspecialkeyboardtomaketheprogrammingofthePLCeasierand/ortointervenewiththeapplicationprogram.

ThePLCsoftwareconsistsofanoperatingsystem(rangingfromaverysimplisticmonitor(oftenyearsago)toasophisticatedreal-timeoperatingsystem(oftherecenttime)),high-speedcommunicationssoftwareforcommunicatingwithI/Oprocessors,medium-speedcommunicationssoftwaretotheindustrialterminalandtoother"

intelligent"

devices.

Bothgeneral-purposecomputersandPLCsareusedforindustrialcontrol[Star87].However,theydifferintheprogramminglanguagesthattheyuse,environmentalspecifications,andtheirusertypes.PLCsarerugged,andworkinhostileenvironmentswithnospecialclimatecontrols,toleratingextremesoftemperature(60°

C),humidity(95%)andaircontamination.UsersofPLCsincludetheoriginalprogrammersoftheapplicationprograms,aswellasplantelectriciansandmaintenancepersonnel,whoareaccustomedtorelay-typecontrollingenvironments.

ArungisanorderedsetofPLCinstructionsdrawnonasingleline.Instructionsonarungareclassifiedasinputinstructions(thosethatmonitortheinputbuffer)andoutputinstructions(thosethatsettheoutputbuffer),andareexecutedfromlefttoright,sequentially(Pleaseseefigure4).APLCapplicationprogramconsistsofamainprogramandasetofsubroutines,eachofwhichcontaininganorderedsetofrungs。

Tosummarize,theapplicationprogrammerdealswithactual(realtime)clocktimes,andneedstohavepreciseestimatesforprogramscantimesandI/Oscantimes.Fortimeestimations,thePLCmanufacturerssupplyinformationsuchas4msecondsfor1000ladderlogicinstructions,and1msecondsforcopying256wordsintoaninputbufferduringtheI/Oscan.Inmostapplications,theprocessorscantimeiskeptbelow10seconds.Thus,databasemanipulationinstructionsalsoneedtohaveprecisetimelimitsavailableto(orsetby)users.

2.Architecture

Weproposeatwo-level,single-userdatabasesystemarchitectureasshowninfigure6.WehaveomittedfromourarchitecturetheexternalmodelofthetraditionaldatabasearchitecturenotbecausePLCsarenotpowerful,butbecauseconcurrentlyrunningapplicationprogramsusingdifferentviewscreateproblemsinaccuratelyestimatingtheapplicationprogramscantimes.Thatis,inamultitaskingenvironmentwheretaskscompetefortheresourcessuchasdatabaserelationsandcommunicationlines,decidingasingletop-tobottomexecutiontimeofataskinactualtimeisratherdifficult(ifatallpossible).Asfarasthehardwarecomputingpowerisconcerned,thepresentdayPLCsareaspowerfulaspersonalcomputers(and,indeed,insomerecentproducts,PLCsarepersonalcomputers),andcancertainlysupportmultipleindustrialterminalsanddatasharingamongtheapplicationprograms.

3.DataModelingIssues

ThetraditionaldatamodelingtechniquesdirectlyapplytoPLCdatabases.Thereisnoreasonwhy,say,theEntity-RelationshipModel[Chen76]ofthedatainthePLCdatabasecannotbedesigned.Allthewell-knownadvantagesofdatamodeling[ToeF82]directlycarryovertothePLCdatabaseenvironment,andwillnotbeelaboratedhere.Asfortheconceptualmodelofourprototypeeffort,wehavechosentherelationalmodel.ThePLCenvironmentnaturallydealswithhistoricaldata,e.g.,thelastreadingofagrindingmachinesensor,itsvalueyesterday,etc..Again,therearevarioushistoricaldatamodelingapproaches[SnoA85]intheliteratureand,theoretically,anyoneofthemisacceptable.

Example.Considerasetoffurnacesthatproducehigh-precisionairplaneparts.Therearetwoentityrelations,FURNACEandPART,andonetime-varyingrelationshiprelationPRODUCESasdescribedinfigure7.PleasenotethatPRODUCESrelationhastupletimestampingwithBEGIN-TIMEandEND-TIMEattributes.

4.DBMSIssues

Thereareanumberofissuesthatneedtoberesolvedinatime-constrained,singleuserDBMSenvironment.Theseare

(a)DataArchival.

(b)DatabaseBackup.

(c)DatabaseIntegrityenforcement.

5.QueryProcessingIssues

Theconventionaldatabasemanagementsystems(DBMS)donothavethecapabilityofdynamicallymeetingthetimeconstraintswhentheamountofdataistoolargetoprocesswithinagiventimequota.Ourapproachis,foragiventimequota,totakeanappropriateamountofsampledatasuchthatthesetofsampleddataisguaranteedtobeprocessiblebytheDBMSwithinthegiven.

SomebasicPLCinstructionshavealsobeenextendedtoincreasetheirfunctionality.Forexample,wehaveextendedthe"

examinelogicswi

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 党团工作 > 入党转正申请

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2