Model { Name "phase_shifter_2" 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 Apr 30 11:32:24 2010" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Administrator" ModifiedDateFormat "%" LastModifiedDate "Sun May 02 09:23:49 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 "ode4" SolverMode "Auto" StartTime "0.0" StopTime "10" MaxOrder 5 MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "0.01" 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 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 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 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 "phase_shifter_2" Location [480, 93, 1255, 486] 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 [35, 30, 65, 60] } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [140, 30, 170, 60] } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [340, 305, 370, 335] } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [125, 116, 130, 154] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [3, 1] Position [540, 271, 545, 309] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" Ports [2, 1] Position [630, 211, 635, 249] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType MATLABFcn Name "Pembangkit Snus 1" Position [175, 120, 235, 150] MATLABFcn "gel_sinus" } Block { BlockType MATLABFcn Name "Pembangkit Snus 2" Position [580, 275, 640, 305] MATLABFcn "gel_sinus" } Block { BlockType MATLABFcn Name "Peng_XOR" Position [675, 215, 735, 245] MATLABFcn "peng_xor" } Block { BlockType Saturate Name "Saturation" Position [395, 305, 425, 335] UpperLimit "pi/2" LowerLimit "-pi/2" } Block { BlockType Step Name "Step" Position [40, 265, 70, 295] Time "2" After "-0.2" SampleTime "0" } Block { BlockType Step Name "Step1" Position [40, 315, 70, 345] Time "8.25" After "-0.2" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [3, 1] Position [125, 270, 145, 290] ShowName off IconShape "round" Inputs "++-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [185, 220, 205, 240] ShowName off IconShape "round" Inputs "|-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [495, 170, 515, 190] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType TransferFcn Name "Transfer Fcn1" Position [255, 302, 315, 338] Numerator "[2*pi]" Denominator "[100]" } Block { BlockType TransferFcn Name "Transfer Fcn2" Position [535, 162, 595, 198] Numerator "[180]" Denominator "[pi]" } Block { BlockType ToWorkspace Name "Waktu" Position [235, 30, 295, 60] VariableName "time" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "frekuensi" Position [40, 110, 70, 140] } Block { BlockType Constant Name "frekuensi1" Position [40, 215, 70, 245] } Block { BlockType ToWorkspace Name "gelombang 1" Position [670, 120, 730, 150] VariableName "sinus_1" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "gelombang 2" Position [675, 272, 740, 308] VariableName "sinus_2" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType ToWorkspace Name "glombang 3" Position [845, 215, 905, 245] ShowName off VariableName "hasil_xor" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Block { BlockType Constant Name "phase" Position [40, 165, 70, 195] Value "pi/4" } Block { BlockType ToWorkspace Name "selisih fasa" Position [670, 165, 730, 195] VariableName "phase" MaxDataPoints "inf" SampleTime "-1" SaveFormat "Array" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [25, 0] Branch { DstBlock "Waktu" DstPort 1 } Branch { Points [0, 50; 240, 0; 0, 100] Branch { Points [-330, 0] DstBlock "Mux" DstPort 3 } Branch { Points [0, 105] DstBlock "Mux1" DstPort 3 } } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Pembangkit Snus 1" DstPort 1 } Line { SrcBlock "frekuensi" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "phase" SrcPort 1 Points [15, 0] Branch { Points [0, -45] DstBlock "Mux" DstPort 2 } Branch { DstBlock "Sum2" DstPort 1 } } Line { SrcBlock "Pembangkit Snus 1" SrcPort 1 Points [370, 0] Branch { DstBlock "gelombang 1" DstPort 1 } Branch { Points [0, 85] DstBlock "Mux2" DstPort 1 } } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Pembangkit Snus 2" DstPort 1 } Line { SrcBlock "Pembangkit Snus 2" SrcPort 1 Points [20, 0] Branch { DstBlock "gelombang 2" DstPort 1 } Branch { Points [-10, 0; 0, -30; -40, 0] DstBlock "Mux2" DstPort 2 } } Line { SrcBlock "frekuensi1" SrcPort 1 Points [60, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { DstBlock "Sum1" DstPort 1 } } Line { SrcBlock "Step" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Step1" SrcPort 1 Points [60, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Sum" SrcPort 1 Points [45, 0] Branch { DstBlock "Mux1" DstPort 1 } Branch { DstBlock "Sum1" DstPort 2 } } Line { SrcBlock "Transfer Fcn1" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 Points [75, 0; 0, -30] Branch { DstBlock "Mux1" DstPort 2 } Branch { DstBlock "Sum2" DstPort 2 } } Line { SrcBlock "Sum1" SrcPort 1 Points [20, 0; 0, 90] DstBlock "Transfer Fcn1" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Transfer Fcn2" DstPort 1 } Line { SrcBlock "Transfer Fcn2" SrcPort 1 DstBlock "selisih fasa" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "Peng_XOR" DstPort 1 } Line { SrcBlock "Peng_XOR" SrcPort 1 DstBlock "glombang 3" DstPort 1 } } }