Model { Name "mras_mitd" Version 2.20 SimParamPage Solver SampleTimeColors off InvariantConstants off WideVectorLines on ShowLineWidths on StartTime "0.0" StopTime "inf" Solver FixedStepDiscrete RelTol "1e-4" 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" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg warning MinStepSizeMsg warning UnconnectedInputMsg warning UnconnectedOutputMsg warning UnconnectedLineMsg warning ConsistencyChecking off ZeroCross on SimulationMode normal RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWPlaceOutputsASAP off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off 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 "mras_mitd" Location [58, 93, 738, 651] Open on ToolBar on StatusBar on ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Reference Name "Band-Limited\nWhite Noise" Ports [0, 1, 0, 0, 0] Position [45, 15, 75, 45] ForegroundColor blue SourceBlock "simulink/Sources/Band-Limited\nWhite Noise" SourceType "Continuous White Noise." Cov "[0.2]" Ts "Ts*4" seed "[23341]" } Block { BlockType DiscreteTransferFcn Name "Bm/Am" Position [235, 82, 295, 118] Numerator "Bm" Denominator "Am" SampleTime "Ts" } Block { BlockType Display Name "Display R" Ports [1, 0, 0, 0, 0] Position [340, 422, 430, 508] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display S" Ports [1, 0, 0, 0, 0] Position [215, 422, 305, 508] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "Display T" Ports [1, 0, 0, 0, 0] Position [95, 422, 185, 508] Format short Decimation "1" Floating off SampleTime "-1" } Block { BlockType Sum Name "E" Ports [2, 1, 0, 0, 0] Position [480, 182, 510, 213] Orientation left Inputs "-+" } Block { BlockType SubSystem Name "Flush Pulse" Ports [0, 0, 0, 0, 0] Position [470, 424, 602, 458] ForegroundColor blue ShowName off OpenFcn "Ts=0.1, Bm=[0.4] , Am=[1 -0.6], nreg=1, Q=1, " " K=0.1, As=[1 -0.4], Bs=0.6" FontName "helvetica" FontSize 12 ShowPortLabels on MaskDisplay "disp('Double Click\\nto Init Example 1!')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale System { Name "Flush Pulse" Location [62, 393, 431, 487] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches } } Block { BlockType SubSystem Name "Flush Pulse1" Ports [0, 0, 0, 0, 0] Position [470, 469, 602, 503] ForegroundColor blue ShowName off OpenFcn "Ts=0.1, Bm=[0.4] , Am=[1 -0.6], nreg=2, Q=[1 " "-0.9], K=0.1, As=[1 -0.4], Bs=0.6" FontName "helvetica" FontSize 12 ShowPortLabels on MaskDisplay "disp('Double Click\\nto Init Example 2!')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale System { Name "Flush Pulse1" Location [62, 393, 431, 487] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches } } Block { BlockType Gain Name "Kr" Position [75, 320, 105, 350] Gain "[[0 ones(1,nreg)].*K]" } Block { BlockType Gain Name "Ks" Position [75, 270, 105, 300] Gain "K" } Block { BlockType Gain Name "Kt" Position [75, 220, 105, 250] Gain "-K" } Block { BlockType Reference Name "Manual Switch" Ports [2, 1, 0, 0, 0] Position [115, 62, 145, 93] ForegroundColor blue SourceBlock "simulink/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "1" action "0" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [555, 180, 585, 215] Inputs "2" } Block { BlockType DiscreteTransferFcn Name "Plant" Position [375, 237, 435, 273] ForegroundColor blue Numerator "Bs" Denominator "As" SampleTime "Ts" } Block { BlockType SubSystem Name "S/R" Ports [3, 1, 0, 0, 0] Position [235, 257, 295, 293] ForegroundColor blue ShowPortLabels on MaskType "Discrete Var iable Transfer Function" MaskDescription "Block implements discrete transfer function wit" "h variable\npolynomials coeficients. Order of denominator must be specified." "\nFirst input is regular signal input of transfer function.\nSecond one is d" "enominator input and third one is numerator input.\nOrders of both imput poly" "nomial coeficient vectors must be exaclty\nsame as function order." MaskPromptString "Transfer Fnc Order|Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskVariables "n=@1;Ts=@2;" MaskInitialization "\n" MaskDisplay "disp('Discrete\\nVariabele\\nTrans. Fnc.')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "nreg|Ts" System { Name "S/R" Location [221, 77, 829, 482] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "WE" Position [30, 303, 60, 317] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "A" Position [30, 195, 60, 205] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "B" Position [30, 90, 60, 100] Port "3" PortWidth "-1" SampleTime "-1" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [230, 298, 260, 327] Outputs "[n 1]" } Block { BlockType Demux Name "Demux1" Ports [1, 2, 0, 0, 0] Position [105, 183, 135, 212] Outputs "[1 n]" } Block { BlockType Demux Name "Demux2" Ports [1, 2, 0, 0, 0] Position [175, 88, 205, 117] Outputs "[1 n]" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [175, 297, 205, 328] Inputs "[1 n]" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [185, 182, 215, 213] Inputs "/*" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [420, 211, 450, 244] Inputs "**" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [115, 86, 145, 119] Inputs "*/" } Block { BlockType Product Name "Product3" Ports [2, 1, 0, 0, 0] Position [390, 281, 420, 314] Inputs "**" } Block { BlockType Product Name "Product4" Ports [2, 1, 0, 0, 0] Position [260, 177, 290, 208] Inputs "**" } Block { BlockType Product Name "Product5" Ports [2, 1, 0, 0, 0] Position [175, 242, 205, 273] Orientation left Inputs "**" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [105, 287, 135, 318] Inputs "-+" } Block { BlockType Sum Name "Sum1" Ports [1, 1, 0, 0, 0] Position [445, 290, 465, 310] Inputs "+" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [500, 277, 530, 308] Inputs "++" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [125, 250, 145, 270] Orientation left Inputs "+" } Block { BlockType Sum Name "Sum4" Ports [2, 1, 0, 0, 0] Position [325, 157, 355, 208] Inputs "+-" } Block { BlockType Terminator Name "Term" Position [300, 335, 320, 355] } Block { BlockType UnitDelay Name "Unit Delay" Position [295, 290, 325, 320] X0 "0" SampleTime "Ts" } Block { BlockType Outport Name "U" Position [555, 288, 585, 302] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Demux1" SrcPort 1 Points [15, 0] Branch { Points [0, -35; -55, 0] DstBlock "Product2" DstPort 2 } Branch { DstBlock "Product" DstPort 1 } } Line { SrcBlock "B" SrcPort 1 DstBlock "Product2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 Points [25, 0] Branch { Points [170, 0] DstBlock "Product1" DstPort 1 } Branch { Points [0, 90] DstBlock "Product4" DstPort 1 } } Line { SrcBlock "Sum4" SrcPort 1 Points [15, 0] DstBlock "Product3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 25] DstBlock "Term" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "U" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [30, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Unit Delay" SrcPort 1 Points [15, 0] Branch { Points [0, 65; -190, 0; 0, -50] DstBlock "Mux1" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } Branch { Points [0, -40] DstBlock "Product5" DstPort 2 } } Line { SrcBlock "WE" SrcPort 1 Points [10, 0] Branch { Points [0, -75] DstBlock "Product1" DstPort 2 } Branch { DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Sum3" SrcPort 1 Points [-30, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 Points [50, 0; 0, 60] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Product4" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0] Branch { DstBlock "Product4" DstPort 2 } Branch { Points [0, 50] DstBlock "Product5" DstPort 1 } } Line { SrcBlock "Demux1" SrcPort 2 DstBlock "Product" DstPort 2 } Line { SrcBlock "A" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Product5" SrcPort 1 DstBlock "Sum3" DstPort 1 } Annotation { Position [250, 36] Text "Transfer Function with Variable Polynoms" FontName "helvetica" FontSize 20 } } } Block { BlockType Scope Name "Scope" Ports [1, 0, 0, 0, 0] Position [615, 185, 645, 215] Floating off Location [600, 359, 1005, 615] Open on Grid on TickLabels on ZoomMode on TimeRange "auto" YMin "-2" YMax "2" SaveToWorkspace off SaveName "ScopeData" LimitMaxRows on MaxRows "50000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope1" Ports [0, 0, 0, 0, 0] Position [615, 105, 645, 135] Floating on Location [538, 34, 943, 290] Open on Grid on TickLabels on ZoomMode on TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitMaxRows on MaxRows "50000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType SubSystem Name "Sens R" Ports [1, 1, 0, 0, 0] Position [285, 341, 340, 369] Orientation left ShowPortLabels on MaskType "MRAS MIT DFILT" MaskPromptString "Filter Denominator A|Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskVariables "A=@1;Ts=@2;" MaskInitialization "n=length(A)-1;\n" MaskDisplay "disp('MRAS MIT\\nDFILT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "conv(Am,Q)|Ts" System { Name "Sens R" Location [420, 441, 891, 715] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "X" Position [25, 118, 55, 132] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Gain Name "A" Position [215, 65, 245, 95] Orientation left Gain "A(2:end)/A(1)" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [220, 113, 250, 142] Outputs "[n 1]" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [150, 112, 180, 143] Inputs "[1 n]" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 102, 120, 133] Inputs "-+" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [160, 70, 180, 90] Orientation left Inputs "+" } Block { BlockType Terminator Name "Term" Position [285, 150, 305, 170] } Block { BlockType UnitDelay Name "Unit Delay" Position [280, 105, 310, 135] X0 "0" SampleTime "Ts" } Block { BlockType Outport Name "AX" Position [380, 178, 410, 192] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { Points [0, 55] DstBlock "AX" DstPort 1 } Branch { DstBlock "Demux" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 25] DstBlock "Term" DstPort 1 } Line { SrcBlock "Unit Delay" SrcPort 1 Points [10, 0] Branch { Points [0, 75; -195, 0; 0, -60] DstBlock "Mux1" DstPort 2 } Branch { Points [0, -40] DstBlock "A" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-80, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "A" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "X" SrcPort 1 DstBlock "Sum" DstPort 2 } } } Block { BlockType SubSystem Name "Sens S" Ports [1, 1, 0, 0, 0] Position [375, 181, 430, 209] Orientation left ShowPortLabels on MaskType "MRAS MIT DFILT" MaskPromptString "Filter Denominator A|Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskVariables "A=@1;Ts=@2;" MaskInitialization "n=length(A)-1;\n" MaskDisplay "disp('MRAS MIT\\nDFILT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "conv(Am,Q)|Ts" System { Name "Sens S" Location [281, 269, 752, 543] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "X" Position [25, 118, 55, 132] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Gain Name "A" Position [215, 65, 245, 95] Orientation left Gain "A(2:end)/A(1)" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [220, 113, 250, 142] Outputs "[n 1]" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [150, 112, 180, 143] Inputs "[1 n]" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 102, 120, 133] Inputs "-+" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [160, 70, 180, 90] Orientation left Inputs "+" } Block { BlockType Terminator Name "Term" Position [285, 150, 305, 170] } Block { BlockType UnitDelay Name "Unit Delay" Position [280, 105, 310, 135] X0 "0" SampleTime "Ts" } Block { BlockType Outport Name "AX" Position [380, 178, 410, 192] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { Points [0, 55] DstBlock "AX" DstPort 1 } Branch { DstBlock "Demux" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 25] DstBlock "Term" DstPort 1 } Line { SrcBlock "Unit Delay" SrcPort 1 Points [10, 0] Branch { Points [0, 75; -195, 0; 0, -60] DstBlock "Mux1" DstPort 2 } Branch { Points [0, -40] DstBlock "A" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-80, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "A" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "X" SrcPort 1 DstBlock "Sum" DstPort 2 } } } Block { BlockType SubSystem Name "Sens T" Ports [1, 1, 0, 0, 0] Position [125, 116, 180, 144] Orientation left ShowPortLabels on MaskType "MRAS MIT DFILT" MaskPromptString "Filter Denominator A|Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskVariables "A=@1;Ts=@2;" MaskInitialization "n=length(A)-1;\n" MaskDisplay "disp('MRAS MIT\\nDFILT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "conv(Am,Q)|Ts" System { Name "Sens T" Location [286, 292, 757, 566] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "X" Position [25, 118, 55, 132] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Gain Name "A" Position [215, 65, 245, 95] Orientation left Gain "A(2:end)/A(1)" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [220, 113, 250, 142] Outputs "[n 1]" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [150, 112, 180, 143] Inputs "[1 n]" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [90, 102, 120, 133] Inputs "-+" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [160, 70, 180, 90] Orientation left Inputs "+" } Block { BlockType Terminator Name "Term" Position [285, 150, 305, 170] } Block { BlockType UnitDelay Name "Unit Delay" Position [280, 105, 310, 135] X0 "0" SampleTime "Ts" } Block { BlockType Outport Name "AX" Position [380, 178, 410, 192] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "X" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "A" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-80, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } Line { SrcBlock "Unit Delay" SrcPort 1 Points [10, 0] Branch { Points [0, -40] DstBlock "A" DstPort 1 } Branch { Points [0, 75; -195, 0; 0, -60] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 25] DstBlock "Term" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { DstBlock "Demux" DstPort 1 } Branch { Points [0, 55] DstBlock "AX" DstPort 1 } } } } Block { BlockType SignalGenerator Name "Signal\nGenerator" Position [40, 70, 70, 100] ForegroundColor blue WaveForm sawtooth Amplitude "1" Frequency "0.3" Units Hertz } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [320, 237, 350, 268] ForegroundColor blue Inputs "+-" } Block { BlockType SubSystem Name "T/R" Ports [3, 1, 0, 0, 0] Position [235, 207, 295, 243] ForegroundColor blue ShowPortLabels on MaskType "Discrete Var iable Transfer Function" MaskDescription "Block implements discrete transfer function wit" "h variable\npolynomials coeficients. Order of denominator must be specified." "\nFirst input is regular signal input of transfer function.\nSecond one is d" "enominator input and third one is numerator input.\nOrders of both imput poly" "nomial coeficient vectors must be exaclty\nsame as function order." MaskPromptString "Transfer Fnc Order|Sample Time" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskVariables "n=@1;Ts=@2;" MaskInitialization "\n" MaskDisplay "disp('Discrete\\nVariabele\\nTrans. Fnc.')" MaskIconFrame on MaskIconOpaque on MaskIconRotate none MaskIconUnits autoscale MaskValueString "nreg|Ts" System { Name "T/R" Location [324, 45, 932, 450] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "WE" Position [30, 303, 60, 317] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "A" Position [30, 195, 60, 205] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "B" Position [30, 90, 60, 100] Port "3" PortWidth "-1" SampleTime "-1" } Block { BlockType Demux Name "Demux" Ports [1, 2, 0, 0, 0] Position [230, 298, 260, 327] Outputs "[n 1]" } Block { BlockType Demux Name "Demux1" Ports [1, 2, 0, 0, 0] Position [105, 183, 135, 212] Outputs "[1 n]" } Block { BlockType Demux Name "Demux2" Ports [1, 2, 0, 0, 0] Position [175, 88, 205, 117] Outputs "[1 n]" } Block { BlockType Mux Name "Mux1" Ports [2, 1, 0, 0, 0] Position [175, 297, 205, 328] Inputs "[1 n]" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [185, 182, 215, 213] Inputs "/*" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [420, 211, 450, 244] Inputs "**" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [115, 86, 145, 119] Inputs "*/" } Block { BlockType Product Name "Product3" Ports [2, 1, 0, 0, 0] Position [390, 281, 420, 314] Inputs "**" } Block { BlockType Product Name "Product4" Ports [2, 1, 0, 0, 0] Position [260, 177, 290, 208] Inputs "**" } Block { BlockType Product Name "Product5" Ports [2, 1, 0, 0, 0] Position [175, 242, 205, 273] Orientation left Inputs "**" } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [105, 287, 135, 318] Inputs "-+" } Block { BlockType Sum Name "Sum1" Ports [1, 1, 0, 0, 0] Position [445, 290, 465, 310] Inputs "+" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [500, 277, 530, 308] Inputs "++" } Block { BlockType Sum Name "Sum3" Ports [1, 1, 0, 0, 0] Position [125, 250, 145, 270] Orientation left Inputs "+" } Block { BlockType Sum Name "Sum4" Ports [2, 1, 0, 0, 0] Position [325, 157, 355, 208] Inputs "+-" } Block { BlockType Terminator Name "Term" Position [300, 335, 320, 355] } Block { BlockType UnitDelay Name "Unit Delay" Position [295, 290, 325, 320] X0 "0" SampleTime "Ts" } Block { BlockType Outport Name "U" Position [555, 288, 585, 302] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Product5" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "A" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 2 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0] Branch { Points [0, 50] DstBlock "Product5" DstPort 1 } Branch { DstBlock "Product4" DstPort 2 } } Line { SrcBlock "Product4" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Demux2" SrcPort 2 Points [50, 0; 0, 60] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [-30, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "WE" SrcPort 1 Points [10, 0] Branch { DstBlock "Sum" DstPort 2 } Branch { Points [0, -75] DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Unit Delay" SrcPort 1 Points [15, 0] Branch { Points [0, -40] DstBlock "Product5" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } Branch { Points [0, 65; -190, 0; 0, -50] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 Points [30, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "U" DstPort 1 } Line { SrcBlock "Product3" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Unit Delay" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 Points [10, 0; 0, 25] DstBlock "Term" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [15, 0] DstBlock "Product3" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 Points [25, 0] Branch { Points [0, 90] DstBlock "Product4" DstPort 1 } Branch { Points [170, 0] DstBlock "Product1" DstPort 1 } } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "B" SrcPort 1 DstBlock "Product2" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 1 Points [15, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, -35; -55, 0] DstBlock "Product2" DstPort 2 } } Annotation { Position [250, 36] Text "Transfer Function with Variable Polynoms" FontName "helvetica" FontSize 20 } } } Block { BlockType DiscreteIntegrator Name "par R" Ports [1, 1, 0, 0, 0] Position [125, 319, 150, 351] IntegratorMethod ForwardEuler ExternalReset none InitialConditionSource internal InitialCondition "[1 zeros(1,nreg)]" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "Ts" } Block { BlockType DiscreteIntegrator Name "par S" Ports [1, 1, 0, 0, 0] Position [125, 270, 150, 300] IntegratorMethod ForwardEuler ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "Ts" } Block { BlockType DiscreteIntegrator Name "par T" Ports [1, 1, 0, 0, 0] Position [125, 219, 145, 251] IntegratorMethod ForwardEuler ExternalReset none InitialConditionSource internal InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "Ts" } Block { BlockType SubSystem Name "par ch" Ports [2, 1, 0, 0, 0] Position [60, 135, 95, 170] Orientation left ShowPortLabels on System { Name "par ch" Location [326, 61, 704, 224] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "dE" Position [15, 53, 45, 67] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "E" Position [15, 118, 45, 132] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [265, 71, 295, 104] Inputs "/*" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [90, 36, 120, 69] Inputs "2" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [205, 101, 235, 134] Inputs "2" } Block { BlockType Sum Name "Sum1" Ports [1, 1, 0, 0, 0] Position [160, 45, 180, 65] Inputs "+" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [215, 30, 235, 65] Inputs "++" } Block { BlockType Constant Name "eps" Position [135, 16, 165, 34] Value "0.01" } Block { BlockType Outport Name "dP" Position [320, 83, 350, 97] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Product" SrcPort 1 DstBlock "dP" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "E" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 Points [10, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 Points [10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "eps" SrcPort 1 Points [20, 0; 0, 15] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "dE" SrcPort 1 Points [10, 0] Branch { Points [0, -15] DstBlock "Product1" DstPort 1 } Branch { Points [0, 0] Branch { Points [0, 50] DstBlock "Product2" DstPort 1 } Branch { DstBlock "Product1" DstPort 2 } } } } } Block { BlockType SubSystem Name "par ch1" Ports [2, 1, 0, 0, 0] Position [110, 170, 145, 205] Orientation left ShowPortLabels on System { Name "par ch1" Location [321, 38, 699, 201] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "dE" Position [15, 53, 45, 67] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "E" Position [15, 118, 45, 132] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [265, 71, 295, 104] Inputs "/*" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [90, 36, 120, 69] Inputs "2" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [205, 101, 235, 134] Inputs "2" } Block { BlockType Sum Name "Sum1" Ports [1, 1, 0, 0, 0] Position [160, 45, 180, 65] Inputs "+" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [215, 30, 235, 65] Inputs "++" } Block { BlockType Constant Name "eps" Position [135, 16, 165, 34] Value "0.01" } Block { BlockType Outport Name "dP" Position [320, 83, 350, 97] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "dE" SrcPort 1 Points [10, 0] Branch { Points [0, 0] Branch { DstBlock "Product1" DstPort 2 } Branch { Points [0, 50] DstBlock "Product2" DstPort 1 } } Branch { Points [0, -15] DstBlock "Product1" DstPort 1 } } Line { SrcBlock "eps" SrcPort 1 Points [20, 0; 0, 15] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 Points [10, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "E" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "dP" DstPort 1 } } } Block { BlockType SubSystem Name "par ch2" Ports [2, 1, 0, 0, 0] Position [95, 365, 130, 400] Orientation left ShowPortLabels on System { Name "par ch2" Location [321, 38, 699, 201] Open off ToolBar off StatusBar off ScreenColor white PaperOrientation landscape PaperPositionMode auto PaperType usletter PaperUnits inches Block { BlockType Inport Name "dE" Position [15, 53, 45, 67] Port "1" PortWidth "-1" SampleTime "-1" } Block { BlockType Inport Name "E" Position [15, 118, 45, 132] Port "2" PortWidth "-1" SampleTime "-1" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [265, 71, 295, 104] Inputs "/*" } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [90, 36, 120, 69] Inputs "2" } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [205, 101, 235, 134] Inputs "2" } Block { BlockType Sum Name "Sum1" Ports [1, 1, 0, 0, 0] Position [160, 45, 180, 65] Inputs "+" } Block { BlockType Sum Name "Sum2" Ports [2, 1, 0, 0, 0] Position [215, 30, 235, 65] Inputs "++" } Block { BlockType Constant Name "eps" Position [135, 16, 165, 34] Value "0.01" } Block { BlockType Outport Name "dP" Position [320, 83, 350, 97] Port "1" OutputWhenDisabled held InitialOutput "0" } Line { SrcBlock "Product" SrcPort 1 DstBlock "dP" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "E" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 Points [10, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 Points [10, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "eps" SrcPort 1 Points [20, 0; 0, 15] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "dE" SrcPort 1 Points [10, 0] Branch { Points [0, -15] DstBlock "Product1" DstPort 1 } Branch { Points [0, 0] Branch { Points [0, 50] DstBlock "Product2" DstPort 1 } Branch { DstBlock "Product1" DstPort 2 } } } } } Line { SrcBlock "T/R" SrcPort 1 Points [5, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "S/R" SrcPort 1 Points [5, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Plant" SrcPort 1 Points [5, 0] Branch { Points [0, 55; -225, 0] DstBlock "S/R" DstPort 1 } Branch { DstBlock "Sens S" DstPort 1 } Branch { Points [85, 0; 0, -50] Branch { DstBlock "E" DstPort 2 } Branch { DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "Sum1" SrcPort 1 Points [5, 0] Branch { DstBlock "Plant" DstPort 1 } Branch { Points [0, 100] DstBlock "Sens R" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Scope" DstPort 1 } Line { SrcBlock "Bm/Am" SrcPort 1 Points [230, 0; 0, 90] Branch { DstBlock "E" DstPort 1 } Branch { DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Manual Switch" SrcPort 1 Points [60, 0; 0, 20] Branch { DstBlock "Bm/Am" DstPort 1 } Branch { Points [0, 30] Branch { Points [0, 85] DstBlock "T/R" DstPort 1 } Branch { DstBlock "Sens T" DstPort 1 } } } Line { SrcBlock "Signal\nGenerator" SrcPort 1 DstBlock "Manual Switch" DstPort 2 } Line { SrcBlock "Band-Limited\nWhite Noise" SrcPort 1 Points [20, 0] DstBlock "Manual Switch" DstPort 1 } Line { SrcBlock "Kt" SrcPort 1 DstBlock "par T" DstPort 1 } Line { SrcBlock "Ks" SrcPort 1 DstBlock "par S" DstPort 1 } Line { SrcBlock "Kr" SrcPort 1 DstBlock "par R" DstPort 1 } Line { SrcBlock "par ch" SrcPort 1 Points [-15, 0; 0, 80] DstBlock "Kt" DstPort 1 } Line { SrcBlock "par ch2" SrcPort 1 Points [-40, 0; 0, -50] DstBlock "Kr" DstPort 1 } Line { SrcBlock "par R" SrcPort 1 Points [45, 0] Branch { Points [0, -60] Branch { DstBlock "S/R" DstPort 2 } Branch { Points [0, -50] DstBlock "T/R" DstPort 2 } } Branch { Points [0, 80; 125, 0] DstBlock "Display R" DstPort 1 } } Line { SrcBlock "par T" SrcPort 1 Points [30, 0] Branch { DstBlock "T/R" DstPort 3 } Branch { Points [0, 180; -100, 0] DstBlock "Display T" DstPort 1 } } Line { SrcBlock "par S" SrcPort 1 Points [35, 0] Branch { DstBlock "S/R" DstPort 3 } Branch { Points [0, 180] DstBlock "Display S" DstPort 1 } } Line { SrcBlock "par ch1" SrcPort 1 Points [-55, 0; 0, 95] DstBlock "Ks" DstPort 1 } Line { SrcBlock "Sens T" SrcPort 1 Points [-10, 0] DstBlock "par ch" DstPort 1 } Line { SrcBlock "E" SrcPort 1 Points [-15, 0; 0, -40; -295, 0] Branch { DstBlock "par ch" DstPort 2 } Branch { Points [0, 35] Branch { DstBlock "par ch1" DstPort 2 } Branch { Points [0, 195] DstBlock "par ch2" DstPort 2 } } } Line { SrcBlock "Sens S" SrcPort 1 Points [-80, 0; 0, -15] DstBlock "par ch1" DstPort 1 } Line { SrcBlock "Sens R" SrcPort 1 Points [-40, 0; 0, 20] DstBlock "par ch2" DstPort 1 } Annotation { Position [345, 39] Text "Model Reference Adaptive System\nMIT Rules" FontName "helvetica" FontSize 20 } } }