⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sd2mod.mdl

📁 toolbox of sdt implementation
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      SamplingMode	      "auto"      OutputWhenDisabled      "held"      InitialOutput	      "[]"    }    Block {      BlockType		      Product      Inputs		      "2"      Multiplication	      "Element-wise(.*)"      InputSameDT	      on      OutDataTypeMode	      "Same as first input"      OutDataType	      "sfix(16)"      OutScaling	      "2^0"      LockScale		      off      RndMeth		      "Zero"      SaturateOnIntegerOverflow	on      SampleTime	      "-1"    }    Block {      BlockType		      RandomNumber      Mean		      "0"      Variance		      "1"      Seed		      "0"      SampleTime	      "-1"      VectorParams1D	      on    }    Block {      BlockType		      Reference    }    Block {      BlockType		      Saturate      UpperLimit	      "0.5"      LowerLimit	      "-0.5"      LinearizeAsGain	      on      ZeroCross		      on      SampleTime	      "-1"    }    Block {      BlockType		      Scope      ModelBased	      off      TickLabels	      "OneTimeTick"      ZoomMode		      "on"      Grid		      "on"      TimeRange		      "auto"      YMin		      "-5"      YMax		      "5"      SaveToWorkspace	      off      SaveName		      "ScopeData"      LimitDataPoints	      on      MaxDataPoints	      "5000"      Decimation	      "1"      SampleInput	      off      SampleTime	      "-1"    }    Block {      BlockType		      Selector      InputType		      "Vector"      IndexMode		      "One-based"      ElementSrc	      "Internal"      Elements		      "1"      RowSrc		      "Internal"      Rows		      "1"      ColumnSrc		      "Internal"      Columns		      "1"      InputPortWidth	      "-1"      IndexIsStartValue	      off      OutputPortSize	      "1"    }    Block {      BlockType		      SubSystem      ShowPortLabels	      on      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		    "SD2mod"    Location		    [275, 259, 1177, 689]    Open		    on    ModelBrowserVisibility  off    ModelBrowserWidth	    200    ScreenColor		    "white"    PaperOrientation	    "landscape"    PaperPositionMode	    "auto"    PaperType		    "usletter"    PaperUnits		    "inches"    ZoomFactor		    "100"    ReportName		    "simulink-default.rpt"    Block {      BlockType		      Reference      Name		      " ADC-DAC"      Ports		      [1, 2]      Position		      [550, 180, 660, 240]      SourceBlock	      "SDtoolbox/ADC-DAC"      SourceType	      ""      ShowPortLabels	      on      k			      "NCOMPARATORI"      MM		      on      match		      "match"      CST		      "Cs"      VVG		      off      argo		      "argo(:,3)"      LF		      off      NF		      "retA.log"    }    Block {      BlockType		      Reference      Name		      "IDEAL\nIntegrator (with delay)"      Ports		      [1, 1]      Position		      [460, 192, 515, 228]      SourceBlock	      "SDtoolbox/IDEAL Integrator\n(with Delay)"      SourceType	      ""      ShowPortLabels	      on      Amax		      "Amax"      Ts		      "Ts"    }    Block {      BlockType		      Reference      Name		      "Jittered SineWave"      Ports		      [0, 1]      Position		      [290, 42, 330, 78]      Orientation	      "left"      SourceBlock	      "SDtoolbox/Jittered SineWave"      SourceType	      ""      ShowPortLabels	      on      Ampl		      "Ampl"      Bias		      "0"      Freq		      "finrad"      Phase		      "0"      SampJ		      "delta*0"      Ts		      "Ts"      seed		      "floor(100*sum(clock))"    }    Block {      BlockType		      Reference      Name		      "Power Spectral Density"      Ports		      [1]      Position		      [780, 173, 820, 217]      SourceBlock	      "SDtoolbox/Power Spectral Density"      SourceType	      ""      ShowPortLabels	      on      SN		      "7"      Fs		      "Fs"      fBL		      "1"      fBH		      "Fs/(2*R)"      Fin		      "Fin"      N			      "N"      Ntransient	      "Ntransient"      VW		      off      savename		      "savemat"      Scale_type	      "logarithmic"    }    Block {      BlockType		      Reference      Name		      "REAL Integrator\n(with Delay)"      Ports		      [1, 1]      Position		      [290, 185, 345, 225]      SourceBlock	      "SDtoolbox/REAL Integrator\n(with Delay)"      SourceType	      ""      ShowPortLabels	      on      Ts		      "Ts"      alfa		      "alfa"      Amax		      "Amax"      sr		      "sr"      GBW		      "GBW"    }    Block {      BlockType		      Scope      Name		      "Scope1"      Ports		      [1]      Position		      [780, 284, 820, 326]      Floating		      off      Location		      [-21, 147, 1379, 1110]      Open		      off      NumInputPorts	      "1"      ZoomMode		      "xonly"      List {	ListType		AxesTitles	axes1			"%<SignalLabel>"      }      YMin		      "-1"      YMax		      "1"      SaveName		      "ScopeData1"      DataFormat	      "StructureWithTime"      SampleTime	      "0"    }    Block {      BlockType		      Sum      Name		      "Sum1"      Ports		      [2, 1]      Position		      [250, 195, 270, 215]      ShowName		      off    }    Block {      BlockType		      Sum      Name		      "Sum3"      Ports		      [2, 1]      Position		      [145, 190, 165, 210]      ShowName		      off      Inputs		      "+-"    }    Block {      BlockType		      Sum      Name		      "Sum4"      Ports		      [2, 1]      Position		      [390, 200, 410, 220]      ShowName		      off      Inputs		      "+-"    }    Block {      BlockType		      Reference      Name		      "Switch Non-Linearity"      Ports		      [1, 1]      Position		      [180, 36, 235, 84]      Orientation	      "left"      SourceBlock	      "SDtoolbox/Switch Non-Linearity"      SourceType	      ""      ShowPortLabels	      on      Ts		      "Ts"      CS		      "Cs"      VsupplyP		      "2"      VsupplyN		      "-2"      Size		      "20"      KPN		      "175e-6"      KPP		      "60e-6"      VTN		      "0.5"      VTP		      "-0.5"      BS		      "0"    }    Block {      BlockType		      Reference      Name		      "White noise"      Ports		      [0, 1]      Position		      [170, 248, 225, 282]      SourceBlock	      "SDtoolbox/White noise"      SourceType	      ""      ShowPortLabels	      on      seed		      "floor(sum(clock)^1/111)"      Ts		      "Ts"      noise		      "noise1"    }    Block {      BlockType		      Gain      Name		      "c1"      Position		      [185, 185, 215, 215]      ShowName		      off      Gain		      "b"    }    Block {      BlockType		      Gain      Name		      "c2"      Position		      [95, 155, 125, 180]      Orientation	      "down"      NamePlacement	      "alternate"      ShowName		      off      Gain		      "b"    }    Block {      BlockType		      Gain      Name		      "c3"      Position		      [85, 210, 115, 240]      Orientation	      "up"      ShowName		      off      Gain		      "b"    }    Block {      BlockType		      Reference      Name		      "kT/C noise"      Ports		      [1, 1]      Position		      [86, 95, 134, 135]      Orientation	      "down"      NamePlacement	      "alternate"      SourceBlock	      "SDtoolbox/kT//C noise"      SourceType	      ""      ShowPortLabels	      on      Ts		      "Ts"      C			      "Cs"      Temp		      "Temp"      k			      "k"      seed		      "floor(sum(clock))"    }    Block {      BlockType		      Reference      Name		      "kT/C noise1"      Ports		      [1, 1]      Position		      [76, 255, 124, 295]      Orientation	      "up"      NamePlacement	      "alternate"      SourceBlock	      "SDtoolbox/kT//C noise"      SourceType	      ""      ShowPortLabels	      on      Ts		      "Ts"      C			      "Cs"      Temp		      "Temp"      k			      "k"      seed		      "floor(sum(clock))"    }    Block {      BlockType		      ToWorkspace      Name		      "y1"      Position		      [410, 131, 445, 159]      VariableName	      "y1"      MaxDataPoints	      "inf"      SampleTime	      "-1"      SaveFormat	      "Array"    }    Block {      BlockType		      ToWorkspace      Name		      "y2"      Position		      [610, 131, 645, 159]      VariableName	      "y2"      MaxDataPoints	      "inf"      SampleTime	      "-1"      SaveFormat	      "Array"    }    Block {      BlockType		      ToWorkspace      Name		      "yout"      Position		      [780, 126, 815, 154]      VariableName	      "yout"      MaxDataPoints	      "inf"      SampleTime	      "-1"      SaveFormat	      "Array"    }    Line {      SrcBlock		      "Sum4"      SrcPort		      1      DstBlock		      "IDEAL\nIntegrator (with delay)"      DstPort		      1    }    Line {      SrcBlock		      "Sum3"      SrcPort		      1      DstBlock		      "c1"      DstPort		      1    }    Line {      SrcBlock		      " ADC-DAC"      SrcPort		      2      Points		      [45, 0; 0, 80]      Branch {	DstBlock		"Scope1"	DstPort			1      }      Branch {	Points			[0, 15; -350, 0]	Branch {	  Points		  [0, -105]	  DstBlock		  "Sum4"	  DstPort		  2	}	Branch {	  Points		  [-260, 0]	  DstBlock		  "kT/C noise1"	  DstPort		  1	}      }    }    Line {      SrcBlock		      "c1"      SrcPort		      1      DstBlock		      "Sum1"      DstPort		      1    }    Line {      SrcBlock		      "kT/C noise"      SrcPort		      1      DstBlock		      "c2"      DstPort		      1    }    Line {      SrcBlock		      "White noise"      SrcPort		      1      Points		      [5, 0]      DstBlock		      "Sum1"      DstPort		      2    }    Line {      SrcBlock		      " ADC-DAC"      SrcPort		      1      Points		      [0, 0; 80, 0]      Branch {	DstBlock		"Power Spectral Density"	DstPort			1      }      Branch {	Points			[0, -55]	DstBlock		"yout"	DstPort			1      }    }    Line {      SrcBlock		      "IDEAL\nIntegrator (with delay)"      SrcPort		      1      Points		      [0, 0; 10, 0]      Branch {	Points			[0, -65]	DstBlock		"y2"	DstPort			1      }      Branch {	DstBlock		" ADC-DAC"	DstPort			1      }    }    Line {      SrcBlock		      "Jittered SineWave"      SrcPort		      1      DstBlock		      "Switch Non-Linearity"      DstPort		      1    }    Line {      SrcBlock		      "c2"      SrcPort		      1      Points		      [0, 10]      DstBlock		      "Sum3"      DstPort		      1    }    Line {      SrcBlock		      "c3"      SrcPort		      1      DstBlock		      "Sum3"      DstPort		      2    }    Line {      SrcBlock		      "kT/C noise1"      SrcPort		      1      DstBlock		      "c3"      DstPort		      1    }    Line {      SrcBlock		      "Sum1"      SrcPort		      1      DstBlock		      "REAL Integrator\n(with Delay)"      DstPort		      1    }    Line {      SrcBlock		      "REAL Integrator\n(with Delay)"      SrcPort		      1      Points		      [0, 0; 15, 0]      Branch {	DstBlock		"Sum4"	DstPort			1      }      Branch {	Points			[0, -60]	DstBlock		"y1"	DstPort			1      }    }    Line {      SrcBlock		      "Switch Non-Linearity"      SrcPort		      1      Points		      [-65, 0]      DstBlock		      "kT/C noise"      DstPort		      1    }  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -