《计算机仿真第四章ppt课件.ppt》由会员分享,可在线阅读,更多相关《计算机仿真第四章ppt课件.ppt(42页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、1主讲教师:朱永胜主讲教师:朱永胜2345n启动启动SimulinkSimulink67SourcesModel & Subsystem InputsSignal GeneratorsUniform RandomNumberStepSine WaveSignal 1Signal BuilderSignalGeneratorRepeatingSequenceStairRepeatingSequenceInterpolatedRepeatingSequenceRandomNumberRampPulseGeneratorGrounduntitled.matFrom FilesiminFromWork
2、space12:34Digital ClocklimCounterLimitedCounterFree-Running1ConstantClockChirp SignalBand-LimitedWhite Noise1In18ContinuousContinuous-Time Linear SystemsContinuous-Time Delays(s-1)s(s+1)Zero-PoleTiVariableTransport DelayToVariableTime DelayTransportDelay1s+1Transfer Fcnx = Ax+Bu y = Cx+DuState-Space
3、1sIntegratordu/dtDerivative9DiscreteSample & Hold DelaysDiscrete-Time Linear SystemsZero-OrderHoldWeightedMoving Averagez1Unit Delayz-0.75zTransfer FcnReal Zeroz-0.75z-0.95Transfer FcnLead or Lag0.05zz-0.95Transfer FcnFirst Order 4DelaysTapped DelayMemory -4Z Integer DelayFirst-OrderHoldK Tsz-1Discr
4、ete-TimeIntegratory(n)=Cx(n)+Du(n)x(n+1)=Ax(n)+Bu(n)Discrete State-Space1 1+0.5z -1Discrete FilterK (z-1)Ts zDiscrete Derivative(z-1)z(z-0.5)DiscreteZero-Pole1z+0.5DiscreteTransfer Fcnz-1zDifference10Look-Up Tables11Math OperationsVector/Matrix OperationsMath OperationsComplex Vector Conversionsu+Ts
5、WeightedSample TimeMath-uUnary MinussinTrigonometricFunctionSum ofElementsSumSubtract1SliderGaintSine WaveFunctionSignfloorRoundingFunctionU( : )ReshapeReImReal-Imag toComplexProduct ofElementsProductP(u)O(P) = 5PolynomialuRymin(u,y)MinMaxRunningResettableminMinMaxHoriz CatMatrixConcatenationeuMathF
6、unction|.|Magnitude-Angleto Complex1GainDot ProductDivideRe(u)Im(u)Complex toReal-Imag|u|uComplex toMagnitude-Angleu+0.0BiasU1 - YU2 - Y(E)YAssignmentf(z)zSolvef(z) = 0Algebraic ConstraintAdd|u|Abs12DiscontinuitiesDiscontinuitiesWrap To ZeroupuloySaturationDynamicSaturationRelayupuloRate LimiterDyna
7、micRate LimiterQuantizerHit CrossingupuloyDead ZoneDynamicDead ZoneCoulomb &Viscous FrictionBacklash13SinksModel & Subsystem OutputsSimulation ControlData Viewers1Out1XY GraphsimoutTo Workspaceuntitled.matTo FileTerminatorSTOPStop SimulationScopeFloatingScope0Display14Signal Routing15Port & Subsystems16171819202122232425261221221)1(xxxxxx1221) 1(xxx271221221) 1(xxxxxx2829303132BABBAAZ3334352450351024247)(23423ssssssssG3637382450351024247)(23423ssssssssG39404142
限制150内