Model { Name "rudderRate2" Version 3.00 SimParamPage "Solver" SampleTimeColors on InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "10.0" SolverMode "SingleTasking" Solver "ode45" RelTol "1e-3" AbsTol "1e-6" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off Created "Wed Jun 2 10:18:12 1999" Creator "rob" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "rob" ModifiedDateFormat "%" LastModifiedDate "Wed Jun 2 10:49:33 1999" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "rudderRate2" Location [4, 52, 1099, 490] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Abs Name "Abs" Position [550, 351, 605, 409] } Block { BlockType DeadZone Name "Dead Zone" Position [185, 142, 235, 198] LowerValue "-deltaRDead" UpperValue "deltaRDead" } Block { BlockType From Name "From" Position [700, 305, 730, 335] Orientation "left" CloseFcn "tagdialog Close" GotoTag "U" } Block { BlockType From Name "From1" Position [810, 220, 840, 250] Orientation "left" CloseFcn "tagdialog Close" GotoTag "U" } Block { BlockType Gain Name "Gain" Position [370, 140, 500, 200] Gain "maxDeltaRDot" SaturateOnIntegerOverflow on } Block { BlockType Goto Name "Goto" Position [105, 80, 135, 110] GotoTag "U" TagVisibility "local" } Block { BlockType Saturate Name "Saturation" Position [620, 158, 675, 212] UpperLimit "maxDeltaR" LowerLimit "-maxDeltaR" Port { PortNumber 1 Name "deltaR" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Signum Name "Sign" Position [270, 139, 340, 201] } Block { BlockType Sin Name "Sine Wave" Position [15, 140, 45, 170] Amplitude "10*pi/180" Frequency ".5*2*pi" Phase "0" SampleTime "tdb(2)-tdb(1)" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [105, 142, 140, 198] IconShape "rectangular" Inputs "+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [550, 157, 585, 213] IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType Switch Name "Switch" Position [805, 144, 850, 196] Threshold ".5" } Block { BlockType Switch Name "Switch1" Position [625, 254, 670, 306] Orientation "left" Threshold ".5" } Block { BlockType ToWorkspace Name "To Workspace" Position [1025, 155, 1085, 185] VariableName "ydb" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Structure" } Block { BlockType ToWorkspace Name "To Workspace1" Position [90, 25, 150, 55] VariableName "udb" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Structure" } Block { BlockType UnitDelay Name "Unit Delay" Position [550, 254, 605, 306] Orientation "left" X0 "0" SampleTime "Ts" } Block { BlockType ZeroOrderHold Name "Zero-Order\nHold" Position [945, 155, 975, 185] SampleTime "Ts" Port { PortNumber 1 Name "deltaR" TestPoint off RTWStorageClass "Auto" } } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Dead Zone" DstPort 1 } Line { SrcBlock "Dead Zone" SrcPort 1 DstBlock "Sign" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0] DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Sign" SrcPort 1 Points [5, 0] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 210] DstBlock "Abs" DstPort 1 } } Line { SrcBlock "Sine Wave" SrcPort 1 Points [15, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { Points [0, -60] Branch { DstBlock "Goto" DstPort 1 } Branch { Points [0, -55] DstBlock "To Workspace1" DstPort 1 } } } Line { SrcBlock "Switch1" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } Line { Name "deltaR" SrcBlock "Saturation" SrcPort 1 Points [15, 0] Branch { Points [0, 80] DstBlock "Switch1" DstPort 1 } Branch { Points [55, 0; 0, -30] DstBlock "Switch" DstPort 1 } } Line { SrcBlock "From" SrcPort 1 Points [-10, 0] DstBlock "Switch1" DstPort 3 } Line { SrcBlock "From1" SrcPort 1 Points [-15, 0] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Abs" SrcPort 1 Points [160, 0; 0, -100] Branch { Points [0, -110] DstBlock "Switch" DstPort 2 } Branch { DstBlock "Switch1" DstPort 2 } } Line { Name "deltaR" Labels [0, 0] SrcBlock "Zero-Order\nHold" SrcPort 1 DstBlock "To Workspace" DstPort 1 } Line { Labels [0, 0] SrcBlock "Switch" SrcPort 1 DstBlock "Zero-Order\nHold" DstPort 1 } Line { SrcBlock "Unit Delay" SrcPort 1 Points [-10, 0] Branch { DstBlock "Sum1" DstPort 2 } Branch { Points [-445, 0] DstBlock "Sum" DstPort 2 } } Annotation { Position [609, 142] Text "This is a limited, resettable accumulator. " } Annotation { Position [837, 110] Text "This switch is necessary to prevent a delay in " "the \nforward path. Otherwise, the output could just\nbe taken from the Uni" "t Delay" } } }