Model { Name "pendulum_terbalik_2010" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Fri Dec 10 10:08:03 2010" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Administrator" ModifiedDateFormat "%" LastModifiedDate "Sat Dec 25 19:01:36 2010" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" 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 on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "20.0" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-6" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on ShowAdditionalParam off OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType MATLABFcn MATLABFcn "sin" OutputDimensions "-1" OutputSignalType "auto" Output1D on } Block { BlockType Mux Inputs "4" DisplayOption "none" } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" Realization "auto" } } 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 "pendulum_terbalik_2010" Location [176, 98, 739, 391] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant" Position [40, 15, 70, 45] } Block { BlockType ToWorkspace Name "Gaya Masukan [Newton]" Position [45, 100, 105, 130] Orientation "left" VariableName "gaya" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType SubSystem Name "Gaya Pada Kereta\n[Newton]" Ports [0, 1] Position [15, 179, 115, 221] TreatAsAtomicUnit off System { Name "Gaya Pada Kereta\n[Newton]" Location [208, 208, 706, 508] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Step Name "Step" Position [125, 20, 155, 50] After "2" SampleTime "0" } Block { BlockType Step Name "Step1" Position [125, 75, 155, 105] Time "3" After "-2" SampleTime "0" } Block { BlockType Step Name "Step2" Position [125, 155, 155, 185] Time "5" After "-20" SampleTime "0" } Block { BlockType Step Name "Step3" Position [130, 240, 160, 270] Time "7" After "20" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [290, 100, 320, 130] ShowName off IconShape "round" Inputs "++++" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Outport Name "F(t)" Position [415, 108, 445, 122] } Line { SrcBlock "Sum" SrcPort 1 DstBlock "F(t)" DstPort 1 } Line { SrcBlock "Step" SrcPort 1 Points [145, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Step1" SrcPort 1 Points [119, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Step2" SrcPort 1 Points [55, 0; 0, -36; 64, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Step3" SrcPort 1 Points [140, 0] DstBlock "Sum" DstPort 4 } } } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [115, 15, 145, 45] } Block { BlockType ToWorkspace Name "Kecepatan Kereta [m/sec]" Position [430, 155, 490, 185] VariableName "kecepatan" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "KecepatanSudut \nPendulum [rad/sec]" Position [435, 265, 495, 295] VariableName "teta_dot" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType SubSystem Name "PENDULUM TERBALIK" Ports [1, 4] Position [160, 90, 380, 305] TreatAsAtomicUnit off System { Name "PENDULUM TERBALIK" Location [2, 82, 781, 554] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Gaya Linier F(t) [N]" Position [55, 153, 85, 167] } Block { BlockType TransferFcn Name "DEG_to_RAD" Position [80, 417, 140, 453] Numerator "[pi]" Denominator "[180]" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [455, 95, 485, 125] } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [455, 165, 485, 195] } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [455, 330, 485, 360] } Block { BlockType Integrator Name "Integrator3" Ports [1, 1] Position [455, 410, 485, 440] } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [220, 153, 225, 207] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1] Position [235, 406, 240, 444] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" Ports [2, 1] Position [435, 221, 440, 259] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" Ports [2, 1] Position [475, 531, 480, 569] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Product Name "Product" Ports [2, 1] Position [575, 216, 620, 249] InputSameDT off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [610, 526, 655, 559] InputSameDT off } Block { BlockType TransferFcn Name "RAD_to_DEG" Position [505, 327, 565, 363] Numerator "[180]" Denominator "[pi]" } Block { BlockType MATLABFcn Name "STOP KERETA" Position [475, 225, 535, 255] MATLABFcn "stop_kec" } Block { BlockType MATLABFcn Name "STOP PENDULUM" Position [515, 535, 575, 565] MATLABFcn "stop_teta" } Block { BlockType Saturate Name "Saturation" Position [575, 95, 605, 125] UpperLimit "0.25" LowerLimit "-0.25" } Block { BlockType Saturate Name "Saturation1" Position [585, 330, 615, 360] UpperLimit "30" LowerLimit "-30" } Block { BlockType MATLABFcn Name "x2_dot" Position [305, 165, 365, 195] MATLABFcn "x2_dot" } Block { BlockType MATLABFcn Name "x4_dot" Position [310, 410, 370, 440] MATLABFcn "x4_dot" } Block { BlockType Outport Name "x(t) [m]" Position [670, 103, 700, 117] } Block { BlockType Outport Name "dx(t)/dt [m/sec]" Position [675, 173, 705, 187] Port "2" } Block { BlockType Outport Name "teta(t) [derajat]" Position [680, 338, 710, 352] Port "3" } Block { BlockType Outport Name "dteta(t)/dt [rad/sec]" Position [690, 418, 720, 432] Port "4" } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 Points [35, 0] Branch { DstBlock "x(t) [m]" DstPort 1 } Branch { Points [0, -35; -250, 0; 0, 155] DstBlock "Mux2" DstPort 1 } } Line { SrcBlock "Integrator1" SrcPort 1 Points [25, 0] Branch { Points [35, 0; 0, 45] DstBlock "Product" DstPort 1 } Branch { Points [0, 30; -105, 0; 0, 40] DstBlock "Mux2" DstPort 2 } } Line { SrcBlock "Saturation1" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "teta(t) [derajat]" DstPort 1 } Branch { Points [0, 155; -180, 0] Branch { Points [-390, 0] DstBlock "DEG_to_RAD" DstPort 1 } Branch { Points [0, 40] DstBlock "Mux3" DstPort 1 } } } Line { SrcBlock "Integrator2" SrcPort 1 DstBlock "RAD_to_DEG" DstPort 1 } Line { SrcBlock "RAD_to_DEG" SrcPort 1 DstBlock "Saturation1" DstPort 1 } Line { SrcBlock "x2_dot" SrcPort 1 Points [10, 0] Branch { DstBlock "Integrator1" DstPort 1 } Branch { Points [0, 90; -190, 0; 0, 145] DstBlock "Mux1" DstPort 1 } } Line { SrcBlock "x4_dot" SrcPort 1 DstBlock "Integrator3" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "x2_dot" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "x4_dot" DstPort 1 } Line { SrcBlock "Gaya Linier F(t) [N]" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "DEG_to_RAD" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "Mux1" DstPort 2 } Branch { Points [0, -255] DstBlock "Mux" DstPort 2 } } Line { SrcBlock "STOP KERETA" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0; 0, -55] Branch { DstBlock "dx(t)/dt [m/sec]" DstPort 1 } Branch { Points [0, -25; -215, 0; 0, -45] DstBlock "Integrator" DstPort 1 } } Line { SrcBlock "Integrator3" SrcPort 1 Points [50, 0] Branch { Points [50, 0; 0, 110] DstBlock "Product1" DstPort 1 } Branch { Points [0, 40; -120, 0; 0, 95] DstBlock "Mux3" DstPort 2 } } Line { SrcBlock "STOP PENDULUM" SrcPort 1 DstBlock "Product1" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 Points [20, 0; 0, -95; -35, 0; 0, -25] Branch { DstBlock "dteta(t)/dt [rad/sec]" DstPort 1 } Branch { Points [0, -35; -225, 0] Branch { Points [-215, 0] DstBlock "Mux" DstPort 3 } Branch { Points [0, -45] DstBlock "Integrator2" DstPort 1 } } } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "STOP KERETA" DstPort 1 } Line { SrcBlock "Mux3" SrcPort 1 DstBlock "STOP PENDULUM" DstPort 1 } Annotation { Name "x1" Position [626, 99] } Annotation { Name "x2" Position [626, 170] } Annotation { Name "x3_deg" Position [643, 338] } Annotation { Name "x4" Position [648, 414] } Annotation { Name "x1_dot" Position [409, 98] } Annotation { Name "x3_dot" Position [417, 335] } Annotation { Name "x2_dot" Position [214, 401] } Annotation { Name "x3" Position [208, 445] } Annotation { Name "u" Position [193, 144] } Annotation { Name "x3" Position [192, 186] } Annotation { Name "x4" Position [194, 206] } Annotation { Name "x2_dot" Position [409, 190] } Annotation { Name "x4_dot" Position [405, 415] } } } Block { BlockType ToWorkspace Name "Posisi Kereta [m]" Position [425, 100, 485, 130] VariableName "posisi" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "Sudut Pendulum [derajat]" Position [435, 210, 495, 240] VariableName "teta" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "WAKTU [sec]" Position [190, 15, 250, 45] VariableName "time" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "WAKTU [sec]" DstPort 1 } Line { SrcBlock "PENDULUM TERBALIK" SrcPort 1 DstBlock "Posisi Kereta [m]" DstPort 1 } Line { SrcBlock "PENDULUM TERBALIK" SrcPort 2 DstBlock "Kecepatan Kereta [m/sec]" DstPort 1 } Line { SrcBlock "PENDULUM TERBALIK" SrcPort 3 DstBlock "Sudut Pendulum [derajat]" DstPort 1 } Line { SrcBlock "PENDULUM TERBALIK" SrcPort 4 DstBlock "KecepatanSudut \nPendulum [rad/sec]" DstPort 1 } Line { SrcBlock "Gaya Pada Kereta\n[Newton]" SrcPort 1 Points [15, 0] Branch { DstBlock "PENDULUM TERBALIK" DstPort 1 } Branch { Points [0, -85] DstBlock "Gaya Masukan [Newton]" DstPort 1 } } Annotation { Name "PROJECT 5 revisi 25/12/2010\nPENDULUM TERBAL" "IK TANPA PENGENDALI" Position [398, 44] } } }