Model { Name "pengatur_suhu" 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 Nov 12 08:48:29 2010" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Administrator" ModifiedDateFormat "%" LastModifiedDate "Fri Nov 26 09:12:03 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 "300" 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 Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } 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 Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Relay OnSwitchValue "eps" OffSwitchValue "eps" OnOutputValue "1" OffOutputValue "0" ShowAdditionalParam off OutputDataTypeScalingMode "All ports same datatype" OutDataType "sfix(16)" OutScaling "2^0" ConRadixGroup "Use specified scaling" 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 "pengatur_suhu" Location [119, 96, 699, 389] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType ToWorkspace Name "Acuan Waktu" Position [210, 30, 270, 60] VariableName "time" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "Constant" Position [55, 30, 85, 60] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [130, 30, 160, 60] } Block { BlockType SubSystem Name "Kendalian (Plant)" Ports [1, 1] Position [180, 120, 375, 220] TreatAsAtomicUnit off System { Name "Kendalian (Plant)" Location [214, 105, 1085, 477] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "156" Block { BlockType Inport Name "Suhu Acuan\nyang diinginkan" Position [40, 103, 70, 117] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [345, 95, 375, 125] InitialCondition "30" } Block { BlockType Gain Name "LM35 temp sensor\n10 mV/Celcius" Position [245, 173, 290, 217] Orientation "left" Gain "0.01" } Block { BlockType Gain Name "Potensiometer" Position [115, 88, 160, 132] Gain "0.01" } Block { BlockType Relay Name "Relay" Position [260, 95, 290, 125] OnSwitchValue "0.03" OffSwitchValue "-0.03" OnOutputValue "((10/38)+(6/28)+(6/28))/2.8" OffOutputValue "-((6/213)+(6/200)+(6/192))/2.8" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [195, 100, 215, 120] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType SubSystem Name "Tanggapan\nSensor" Ports [1, 1] Position [315, 173, 395, 217] Orientation "left" FontSize 10 TreatAsAtomicUnit off System { Name "Tanggapan\nSensor" Location [433, 403, 931, 703] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [110, 103, 140, 117] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [290, 95, 320, 125] InitialCondition "30" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [165, 100, 185, 120] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType TransferFcn Name "Transfer Fcn" Position [205, 92, 265, 128] Denominator "[2]" } Block { BlockType Outport Name "Out1" Position [390, 103, 420, 117] } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [15, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 65; -165, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Transfer Fcn" DstPort 1 } Line { SrcBlock "Transfer Fcn" SrcPort 1 DstBlock "Integrator" DstPort 1 } } } Block { BlockType SubSystem Name "Tanggapan\nTermometer" Ports [1, 1] Position [430, 88, 510, 132] FontSize 10 TreatAsAtomicUnit off System { Name "Tanggapan\nTermometer" Location [433, 403, 931, 703] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In1" Position [110, 103, 140, 117] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [290, 95, 320, 125] InitialCondition "30" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [165, 100, 185, 120] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType TransferFcn Name "Transfer Fcn" Position [205, 92, 265, 128] Denominator "[5]" } Block { BlockType Outport Name "Out1" Position [390, 103, 420, 117] } Line { SrcBlock "In1" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [15, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 65; -165, 0] DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Transfer Fcn" DstPort 1 } Line { SrcBlock "Transfer Fcn" SrcPort 1 DstBlock "Integrator" DstPort 1 } } } Block { BlockType Outport Name "Suhu Ruang" Position [530, 103, 560, 117] } Line { SrcBlock "Suhu Acuan\nyang diinginkan" SrcPort 1 DstBlock "Potensiometer" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Relay" DstPort 1 } Line { SrcBlock "Relay" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [30, 0] Branch { DstBlock "Tanggapan\nTermometer" DstPort 1 } Branch { Points [0, 0] DstBlock "Tanggapan\nSensor" DstPort 1 } } Line { SrcBlock "Potensiometer" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "LM35 temp sensor\n10 mV/Celcius" SrcPort 1 Points [-35, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Tanggapan\nSensor" SrcPort 1 DstBlock "LM35 temp sensor\n10 mV/Celcius" DstPort 1 } Line { SrcBlock "Tanggapan\nTermometer" SrcPort 1 DstBlock "Suhu Ruang" DstPort 1 } Annotation { Name "Tegangan" Position [165, 91] } } } Block { BlockType Constant Name "Suhu Acuan" Position [105, 155, 135, 185] Value "37" } Block { BlockType ToWorkspace Name "Suhu Ruang" Position [460, 155, 520, 185] VariableName "suhu" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Acuan Waktu" DstPort 1 } Line { SrcBlock "Kendalian (Plant)" SrcPort 1 DstBlock "Suhu Ruang" DstPort 1 } Line { SrcBlock "Suhu Acuan" SrcPort 1 DstBlock "Kendalian (Plant)" DstPort 1 } } } 1 DstBlock "Suhu Ruang\nyang terukur" DstPort 1 } Line { SrcBlock "Suhu Acuan\nyang diinginkan" SrcPort 1 DstBlock "Kendalian (Plant)" DstPort 1 } } } [0, 70] DstBlock "SENSOR SUHU\nLM35" DstPort 1 } } Line { SrcBlock "Potensiometer" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Tanggapan\nTermometer" SrcPort 1 DstBlock "Suhu Ruang\nTerukur oleh\nThermometer" DstPort 1 } Line { SrcBlock "SENSOR SUHU\nLM35" SrcPort 1 Points [-50, 0] DstBlock "Sum" DstPort 2 } Annotation { Name "Tegangan" Position [165, 91] } Annotation { Name "Suhu [C]" Position [400, 99] } Annotation { Name "Data Pengamatan:\nI. Pemanas ON 30 C s/d 45" " C dalam 85 second\nKipas ON 45 C s/d 35 C dalam 198 seconds\nII. Pemanas ON " "35 C s/d 44 C dalam 47 sec\nKipas ON 44 C s/d 35 C dalam 301 second\n" Position [148, 271] } Annotation { Name "Ambang kerja relay +/- 0.05 Volt" Position [267, 76] } } } Block { BlockType ToWorkspace Name "ON/OFF\nRelay" Position [485, 200, 545, 230] VariableName "relay" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "Suhu Acuan\nyang diinginkan" Position [45, 155, 75, 185] Value "37" } Block { BlockType ToWorkspace Name "Suhu Ruang\nyang terukur" Position [480, 130, 540, 160] VariableName "suhu" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Acuan Waktu" DstPort 1 } Line { SrcBlock "Kendalian (Plant)" SrcPort 1 DstBlock "Suhu Ruang\nyang terukur" DstPort 1 } Line { SrcBlock "Suhu Acuan\nyang diinginkan" SrcPort 1 DstBlock "Kendalian (Plant)" DstPort 1 } Line { SrcBlock "Kendalian (Plant)" SrcPort 2 Points [15, 0; 0, 20] DstBlock "ON/OFF\nRelay" DstPort 1 } } }