版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
®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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2021-2022学年湖南省邵东县创新实验学校高一物理第二学期期末检测试题含解析
- 2021-2022学年河北省大名县第一中学物理高一下期末复习检测模拟试题含解析
- 职业教育资源共享课程建设申报书(附空白模板)
- 七年级下学期期末语文试卷-2
- 八年级上学期语文期中测试卷
- 小学数学苏教版二年级平均分的理解
- 2024网络代理合同
- 2024劳动合同试用期的规定
- 2024劳务工程分包合同(个人)
- 安徽省黄山市2023-2024学年度第二学期期末质量检测+物理试卷(含答案)
- 2024年重庆市消防操作员《中级技能-监控方向》科目真题冲刺卷3月份B卷
- 六年级 第一课 走进神奇的GOC世界(教学设计)六年级下册信息技术粤教版(B版)
- 专题02地球的运动(专项练习)(原卷版+解析)
- 2024-2025 学年度武汉市部分学校高三九月调研考试 英语试卷(含答案)
- 期中测试卷(1-4单元)(试题)-2024-2025学年六年级上册数学
- 2023-2024学年北京市朝阳外国语学校九年级(上)期中数学试卷【含解析】
- 2024年典型事故案例警示教育手册15例
- 员工赔偿金保密协议书
- 广东省深圳市实验中学小升初分班英语试卷有答案
- 兽医检验模拟试题含参考答案
- 《政治经济学》(全套课件)
评论
0/150
提交评论