




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
®H83BCETutorial(DrM.R.® ®formodellingandisanextensionto thatallowsengineerstorapidlyandaccuraybuildcomputermodelsofdynamicsystems,usingblockdiagramnotation.Amodelcanproducegraphicalanimationsthatshowtheprogressofasimulationvisually,significantlyenhancingunderstandingofthesystem’sbehaviour.The“program”isablockdiagramitself. ®,andclick ®Asyousee,thereis®LibraryBrowser,whereyoucanfindmostoftheitemsyouneedsuchasgains,summationblocksandintegrals.BlockLibraryListofsub-StaticGain(theoutputofthegainblockismultipliedbya Product(multiplyordivide Product,Sum(addorsubtract ,Scope(disysitsinputwithrespecttosimulation To Constant(outputtheconstantspecifiedwiththe‘constantvalue’Step(outputa Linear(outputa SineWave(outputasine SineDynamic1sIntegrator(1/s)-Continuoustimeintegrationoftheinput Derivative(du/dt)-Numericalderivative: DerivaUser-DefinedFunction(f(u))-Generalexpressionblock.Use‘u’astheinputvariableSignalsMultiplexscalarorvector
Ports&Sub-
11ProvideanInputoranOutputportforasub-systemora OutBlockContinuouslinearGainblockrepresentsthefollowingalgebraicequation(y=k*x)ortheoutputofthesystemistheinputmultipliedbyaconstant(k):(i)y= Sumblock–permitstoaddtwoormore()d=a+b+a c(i)c=a–
bDerivativeblockcomputesthetimerateofchangeofitsinput.Theblockrepresentsthefollowingdifferentialequation: Integratorblockcomputesthetimeintegralofitsinputfromthestartingtime.Weuse(.)notationtorepresentthetimederivative,e.g..(iv’)x= x1s ConnectingYoucancommandtoconnectblocksSelectthesourceHolddownCtrlandleft-clickthedestinationblock.connectsthesourceblocktothedestinationblock.lyConnectingallowsyoutodrawlineslybetweenblocksorbetweenlinesandblocks.Positionthecursoroverthefirstblock'soutputPressandholddownthemousebutton.Dragthepointertothesecondblock'sinputReleasethemousebutton.recestheportsymbolsbyaconnectinglinewithanarrowshowingthedirectionofthesignalflow.Youcancreaineseitherfromoutputtoinput,orfrominputtooutput.DrawingaBranchAbranchlineisalhatstartsfromanexistinglineandcarriesitssignaltotheinputportofablock.Boththeexistinglineandthebranchlinerepresentthesamesignal.Usingbranchlinesenablesyoutoconneignaltomorethanoneblock.ToaddabranchPositionthepointeronthelinewhereyouwantthebranch oWhileholdingdowntheCtrlkey,pressandholddowntheleftmouseDragthepointertotheinputportofthetargetblock,thenreleasethemousebuttonandtheCtrlkey.YoucsousetherightmousebuttoninsteadofholdingdowntheleftmousebuttonandtheCtrlkey. ampleconnectstheoutputoftheProductblocktoboththeScopeblockandtheToWorkspaceblock.ModelBuildingElementsofamodel modelconsistsofthreetypesofelements:sources,thesystembeingmodelledandsinks.Thecentralelement,thesystem,istherepresentationofablockdiagramofthedynamicalsystembeingmodeled.Thesourcesaretheinputstothedynamicalsystem.Sources ludeconstants,functiongeneratorssuchassinewavesandstepfunctions,andcustomsignalsyoucreatein .SourceblocksarefoundintheSourcesblocklibrary.Theoutputofthesystemisreceivedbysinks.Examplesofsinksaregraphs,oscilloscopes,andoutputfiles.SinkblocksarefoundintheSinksblocklibrary.\\Let’ssolvethefollowingdifferentialequation.x=Startinenvironmentbyclicking“File,New,Model”,andyoushouldhaveablocktreeontheleftandablankwhiteareaontheright.ClicktheSourcesoptionunderthe ®treeanddraganddropthesinewavefunction.NowintroduceanintegratorandascopefromtheCommonlyUsedBlocks.Connectthesinewaveblockwiththeintegratorblockandwiththescopeasshownbelow.1sSine
ClicktheSimulation:Startbutton,thesimulationwillexecute,thenDouble-clickonScopeandthenAutoscaletoviewtheresultsshownbelow.Start:Openm.file(initialvals.m),whichcontainsinitialvaluesofInitialise:Openmdl.file,whichcontainsblockSimulation:ViewClickonScopewindowAdjustscale(Autoscale)WritePlotinthecommandwindowasfollowsforthebatchfermentationexample:使用。用于建模和仿真是的扩展,允许工程师使用框图表示法快运行。加载,然后单击。图标如您所见,有一个。库浏览器,您可以在其中找到您需要的大部分项目,例如增益、求常数(输出‘constantvalue’参数指定的常数)SineWave(输出正弦波)连续积分器(1/s)(du/dt)Function(f(u“u”系统增益模块表示以下代数方程(y=k*x)或者系统的输出是输入乘以常数(k):我y=k*xx(t)Sum块–允许添加两个或多个输入d=a+b+ci)c=a–b微分块计算其输入的时间变化率。该块代表以下微分方程iv’)xdx/dt连接模块您可以命令自动连接模块按住Ctrl并左键单击目标块。将源模块连接到目标模块。
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 通讯行业会计的工作计划
- 建立互助养老服务网络的计划
- 水务产业发展战略计划
- 促进学校与家长的紧密合作的学期工作计划
- 2025年合成橡胶型胶粘剂项目建议书
- 强化供需监测机制保障市场秩序
- 2025年人造岗石树脂项目建议书
- 2025年硅粉系列合作协议书
- 国有土地使用权租赁合同
- 第二季度部门工作计划表
- 快手申诉文本
- 现金调拨系统操作手册教学课件
- 学校物业管理宿舍管理方案995
- 荔枝依旧年年红
- SMT贴片线项目可行性研究报告
- 小学语文必备文学常识常考100题汇总(含答案)
- 第五版-FMEA-新版FMEA【第五版】
- 英语人教版高中必修三(2019新编)第一单元教案
- 口腔修复学第三章牙体缺损的修复
- 建设部环卫劳动定额
- 美容心理学概述(美容心理学课件)
评论
0/150
提交评论