📄 onepath.mdl
字号:
Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType ToWorkspace VariableName "simulink_output" MaxDataPoints "1000" Decimation "1" SampleTime "0" FixptAsFi off } Block { BlockType UnitDelay X0 "0" SampleTime "1" StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } Block { BlockType ZeroOrderHold SampleTime "1" } } 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 "OnePath" Location [614, 441, 1224, 641] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Sum Name "Add" Ports [2, 1] Position [195, 57, 225, 88] InputSameDT off OutDataTypeMode "Inherit via internal rule" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Jittered SineWave" Ports [0, 1] Position [45, 44, 85, 86] SourceBlock "SDtoolbox/Jittered SineWave" SourceType "" ShowPortLabels on Ampl "Ampl" Bias "0" Freq "finrad" Phase "0" SampJ "delta" Ts "Ts" seed "floor(100*sum(clock))" } Block { BlockType ToWorkspace Name "Output" Position [410, 15, 470, 45] VariableName "Output" MaxDataPoints "inf" SampleTime "4*Ts" SaveFormat "Array" } Block { BlockType Reference Name "Power Spectral Density" Ports [1] Position [450, 113, 490, 157] SourceBlock "SDtoolbox/Power Spectral Density" SourceType "" ShowPortLabels on SN "5" Fs "Fs" fBL "1" fBH "Fs/(R)" Fin "Fin" N "N/8" Ntransient "Ntransient" VW off savename "savemat" Scale_type "linear" } Block { BlockType SubSystem Name "SDPath" Ports [1, 1] Position [255, 57, 355, 93] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "SDPath" Location [225, 284, 1205, 715] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In" Position [20, 38, 55, 72] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Reference Name "ADC-DAC" Ports [1, 2] Position [505, 320, 615, 380] Orientation "left" SourceBlock "SDtoolbox/ADC-DAC" SourceType "Unknown" ShowPortLabels "on" k "NCOMPARATORI" MM "on" match "match" CST "ctot" VVG "off" argo "argo(:,3)" LF "on" NF "retA.log" } Block { BlockType Gain Name "Gain" Position [240, 40, 270, 70] Gain "B1i" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [295, 95, 325, 125] Gain "B1f" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "H1" Ports [1, 2] Position [385, 80, 450, 115] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "H1" Location [234, 291, 1271, 823] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In" Position [55, 250, 85, 280] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain" Position [175, 310, 205, 340] Orientation "up" Gain "B1lf" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [505, 260, 535, 290] Gain "B2i" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "REAL Integrator\n(no delay)" Ports [1, 1] Position [305, 254, 360, 296] SourceBlock "SDtoolbox/REAL Integrator\n(no Delay)" SourceType "Unknown" ShowPortLabels "on" Ts "4*Ts" alfa "alfa1a" Amax "Sat1a" sr "SR1a" GBW "GBW1a" } Block { BlockType Reference Name "REAL Integrator\n(with delay)" Ports [1, 1] Position [685, 255, 740, 295] SourceBlock "SDtoolbox/REAL Integrator\n(with Delay)" SourceType "Unknown" ShowPortLabels "on" Ts "4*Ts" alfa "alfa1b" Amax "Sat1b" sr "SR1b" GBW "GBW1b" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [610, 257, 630, 293] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum Name "Sum2" Ports [3, 1] Position [250, 256, 270, 314] ShowName off Inputs "+-+" } Block { BlockType Reference Name "White noise" Ports [0, 1] Position [100, 288, 155, 322] SourceBlock "SDtoolbox/White noise" SourceType "Unknown" ShowPortLabels "on" seed "floor(sum(clock)^1/111)" Ts "Ts" noise "noise1" } Block { BlockType Reference Name "White noise1" Ports [0, 1] Position [470, 303, 525, 337] SourceBlock "SDtoolbox/White noise" SourceType "Unknown" ShowPortLabels "on" seed "floor(sum(clock)^1/111+172727)" Ts "Ts" noise "noise1" } Block { BlockType Reference Name "kT/C noise1" Ports [1, 1] Position [425, 253, 485, 297] NamePlacement "alternate" SourceBlock "SDtoolbox/kT//C noise" SourceType "Unknown" ShowPortLabels "on" Ts "Ts" C "ctot" Temp "Temp1" k "k" seed "floor(10*sum(clock))" } Block { BlockType Reference Name "kT/C noise2" Ports [1, 1] Position [168, 355, 212, 415] Orientation "up" SourceBlock "SDtoolbox/kT//C noise" SourceType "Unknown" ShowPortLabels "on" Ts "Ts" C "ctot" Temp "Temp1" k "k" seed "floor(sum(clock)+6540)" } Block { BlockType ToWorkspace Name "y11" Position [325, 15, 385, 45] VariableName "y11" MaxDataPoints "inf" SampleTime "4*Ts" SaveFormat "Array" } Block { BlockType ToWorkspace Name "y12" Position [655, 180, 715, 210] VariableName "y12" MaxDataPoints "inf" SampleTime "4*Ts" SaveFormat "Array" } Block { BlockType Outport Name "Out1" Position [800, 262, 830, 288] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Out2" Position [360, 90, 390, 120] Orientation "up" Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "REAL Integrator\n(no delay)" SrcPort 1 Points [10, 0; 0, 0] Branch { Points [0, -80] Branch { DstBlock "Out2" DstPort 1 } Branch { DstBlock "y12" DstPort 1 } } Branch { DstBlock "kT/C noise1" DstPort 1 } } Line { SrcBlock "Sum2" SrcPort 1 Points [5, 0; 0, -10] Branch { Points [0, -245] DstBlock "y11" DstPort 1 } Branch { DstBlock "REAL Integrator\n(no delay)" DstPort 1 } } Line { SrcBlock "REAL Integrator\n(with delay)" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "Out1" DstPort 1 } Branch { Points [0, 155] DstBlock "kT/C noise2" DstPort 1 } } Line { SrcBlock "In" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "kT/C noise2" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "White noise" SrcPort 1 DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "REAL Integrator\n(with delay)" DstPort 1 } Line { SrcBlock "White noise1" SrcPort 1 Points [30, 0; 0, -35] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain" SrcPort 1 Points [0, -20] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "kT/C noise1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [20, 0; 0, -10] DstBlock "Sum" DstPort 1 } } } Block { BlockType SubSystem Name "H2" Ports [1, 2] Position [550, 72, 620, 108] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" System { Name "H2" Location [638, 175, 1349, 549] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" ZoomFactor "100" Block { BlockType Inport Name "In" Position [25, 133, 55, 147] Port "1" IconDisplay "Port number" LatchInput off } Block { BlockType Gain Name "Gain1" Position [165, 125, 195, 155] NamePlacement "alternate" Gain "B3i" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" Position [420, 150, 450, 180] Gain "B4i" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain3" Position [175, 290, 205, 320] Orientation "left" Gain "B4lf" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "REAL Integrator\n(no delay)" Ports [1, 1] Position [255, 134, 310, 176] SourceBlock "SDtoolbox/REAL Integrator\n(no Delay)" SourceType "Unknown" ShowPortLabels "on" Ts "4*Ts" alfa "alfa2a" Amax "Sat2a" sr "SR2a" GBW "GBW2a" } Block { BlockType Reference Name "REAL Integrator\n(with delay)" Ports [1, 1] Position [540, 135, 595, 175] SourceBlock "SDtoolbox/REAL Integrator\n(with Delay)" SourceType "Unknown" ShowPortLabels "on" Ts "4*Ts" alfa "alfa2b" Amax "Sat2b" sr "SR2b" GBW "GBW2b" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [475, 137, 495, 173] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" } Block { BlockType Sum
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -