Model { Name "rob_PID" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "40.0" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" 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 "Thu Nov 07 16:31:53 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "jislp" ModifiedDateFormat "%" LastModifiedDate "Thu Nov 07 18:06:33 2002" 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 "rob_PID" Location [151, 269, 879, 603] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType DeadZone Name "Dead Zone" Position [310, 100, 340, 130] LowerValue "-0.1" UpperValue "0.1" } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn" Position [130, 97, 190, 133] Numerator "[0.42 0.15]" Denominator "[1 0]" SampleTime "1" } Block { BlockType DiscreteTransferFcn Name "Discrete\nTransfer Fcn1" Position [385, 94, 635, 136] Numerator "[0.0931 0.5552 0.1806 -0.2692 -0.03966]" Denominator "[1 -0.5404 -0.8094 -0.05273 0.7354 -0.3329]" SampleTime "1" } Block { BlockType RandomNumber Name "Random\nNumber" Position [20, 205, 50, 235] Mean "0" Variance "0.2" Seed "0" SampleTime "0" } Block { BlockType Saturate Name "Saturation" Position [230, 100, 260, 130] UpperLimit "0.5" LowerLimit "-0.5" } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [130, 14, 160, 46] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope1" Ports [1, 0, 0, 0, 0] Position [230, 14, 260, 46] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1, 0, 0, 0, 0] Position [380, 14, 410, 46] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope3" Ports [1, 0, 0, 0, 0] Position [675, 99, 705, 131] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope4" Ports [1, 0, 0, 0, 0] Position [150, 274, 180, 306] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Step Name "Step" Position [15, 100, 45, 130] Time "1" Before "0" After "1" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 105, 110, 125] ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [90, 210, 110, 230] Orientation "up" ShowName off IconShape "round" Inputs "++" SaturateOnIntegerOverflow on } Line { SrcBlock "Random\nNumber" SrcPort 1 Points [15, 0] Branch { DstBlock "Sum1" DstPort 1 } Branch { Points [0, 70] DstBlock "Scope4" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Step" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, 0] Branch { DstBlock "Discrete\nTransfer Fcn" DstPort 1 } Branch { DstBlock "Scope" DstPort 1 } } Line { SrcBlock "Saturation" SrcPort 1 DstBlock "Dead Zone" DstPort 1 } Line { SrcBlock "Discrete\nTransfer Fcn" SrcPort 1 Points [10, 0] Branch { DstBlock "Saturation" DstPort 1 } Branch { Points [0, -85] DstBlock "Scope1" DstPort 1 } } Line { SrcBlock "Dead Zone" SrcPort 1 Points [20, 0] Branch { DstBlock "Discrete\nTransfer Fcn1" DstPort 1 } Branch { DstBlock "Scope2" DstPort 1 } } Line { SrcBlock "Discrete\nTransfer Fcn1" SrcPort 1 Points [5, 0] Branch { DstBlock "Scope3" DstPort 1 } Branch { Points [0, 105] DstBlock "Sum1" DstPort 2 } } } }