版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
®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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024全新房地产租赁合同正式生效3篇
- 2024年度体育赛事赞助合同标的为赛事推广3篇
- 2024年标准版离婚子女抚养费具体合同范本一
- 2024年商铺转租合同范本协议品牌连锁商业合作项目3篇
- 2024年城乡一体化绿化工程树苗供应合同3篇
- 2024年度国际货物运输与保险合同(机械设备)2篇
- 2024版商业建筑粉刷承包服务合同3篇
- 2024版个体工商户合伙经营合作协议范本3篇
- 2024年二零二四年度林业用地租赁与保护合作协议3篇
- 2024全新智能家居系统授权合作协议3篇
- 安全自护我能行
- 带教老师评价模板
- 中国古代文学史_袁行霈_隋唐五代文学
- 教师专业成长(课堂PPT)
- 五位一体协同机制建设知识
- 特种设备法律法规以及标准培训课件
- 绘本PPT:可怕的大妖怪
- 【打印版】2021年上海市浦东新区中考一模数学试卷及解析
- EN1779-欧洲无损检测标准
- 【数据结构】A类停车场管理系统
- 生态保护红线划定.ppt
评论
0/150
提交评论