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

📄 sparam_filter_rab.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      PMComponent
      SubClassName	      "unknown"
    }
    Block {
      BlockType		      PMIOPort
    }
    Block {
      BlockType		      Probe
      ProbeWidth	      on
      ProbeSampleTime	      on
      ProbeComplexSignal      on
      ProbeSignalDimensions   off
      ProbeFramedSignal	      off
      ProbeWidthDataType      "double"
      ProbeSampleTimeDataType "double"
      ProbeComplexityDataType "double"
      ProbeDimensionsDataType "double"
      ProbeFrameDataType      "double"
    }
    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		      RateTransition
      Integrity		      on
      Deterministic	      on
      X0		      "0"
      OutPortSampleTime	      "-1"
    }
    Block {
      BlockType		      Sensor
      SubClassName	      "unknown"
      PortType		      "blob"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    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		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
  }
  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		    "sparam_filter_rab"
    Location		    [32, 114, 863, 372]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      " "
      Ports		      []
      Position		      [100, 165, 160, 205]
      BackgroundColor	      "cyan"
      DropShadow	      on
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Interpolation filter info block"
      MaskDisplay	      "disp('Info')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			" "
	Location		[6, 166, 521, 564]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "Touchstone Data File for 2-Port Passive Net"
"works\n\nThe Black Box Elements library has blocks to handle \nS, Y, and Z pa"
"rameters of the passive networks. \nThe library also has 'General Passive Net"
"work' block \nthat can be used for the Touchstone data file.\n\nThe data file"
": 'passive.s2p' has \nthe S-parameters of a 2-port passive network\nover the "
"frequency range 315KHz to 6GHz.\nThe spectrum plot shows frequency ranging fr"
"om \n0Hz to 2GHz centered at 1GHz.\n\n\nIf you want to see the frequency resp"
"onse centered at other RF frequency, \nyou need to change the Center frequenc"
"y parameter in the \n'Input Port' block.\n\nIf you want to change the range o"
"f frequency response that is determined by \nthe Sample time parameter specif"
"ied in the 'Input Port' and 'White Noise' blocks,\nyou need to change the Sam"
"ple time parameter in both blocks.\n"
	  Position		  [255, 199]
	  FontName		  "MS Sans Serif"
	  FontSize		  14
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Complex Filter Magnitude in dB"
      Ports		      [1]
      Position		      [695, 45, 730, 95]
      SourceBlock	      "dspsnks4/Vector\nScope"
      SourceType	      "Vector Scope"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[22 454 372 232]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "2*Fs"
      XLabel		      "Time"
      YUnits		      "dB"
      YMin		      "-30"
      YMax		      "-10"
      YLabel		      "dB"
      LineProperties	      off
      LineColors	      "[0 0 0]|[1 0 0]"
      ShowPortLabels	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Complex Filter Phase in Degrees"
      Ports		      [1]
      Position		      [715, 125, 750, 175]
      SourceBlock	      "dspsnks4/Vector\nScope"
      SourceType	      "Vector Scope"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[403 451 372 236]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      on
      XIncr		      "1"
      XLabel		      "Frequency"
      YUnits		      "Magnitude"
      YMin		      "-12540.2136509701"
      YMax		      "12378.9930792327"
      YLabel		      "Phase in Degrees"
      LineProperties	      off
      ShowPortLabels	      off
    }
    Block {
      BlockType		      Reference
      Name		      "General\nPassive Network"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [290, 106, 380, 154]
      SourceBlock	      "rfblackbox1/General\nPassive Network"
      SourceType	      "General Passive Network"
      PhysicalDomain	      "rfsystemsdomain"
      SubClassName	      "general-passive-network"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__newl0"
      RConnTagsString	      "__newr0"
      RFDATA		      "read(rfdata.data, 'passive.s2p')"
      InterpMethod	      "Linear"
      DisplayData	      off
      PlotFreq		      "Derived from Input Port parameters"
      PlotFreqNoSim	      "Extracted from RFDATA object"
      Freq		      "[0.3e6:0.1e6:6e9]"
      AllPlotType	      "Composite data"
      NetworkData	      "S21"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Input  Port"
      Description	      "source block"
      Ports		      [1, 0, 0, 0, 0, 0, 1]
      Position		      [210, 100, 255, 160]
      SourceBlock	      "rfports1/Input Port"
      SourceType	      "Input Port"
      ShowPortLabels	      on
      MaxLength		      "128"
      Fc		      "1e9"
      Ts		      "0.5e-9"
      Zs		      "50"
      NoiseFlag		      off
      seed		      "67987"
      GoToTag		      "ACCBGAFQQLCICJWLUPHEIUK"
    }
    Block {
      BlockType		      Reference
      Name		      "Output Port"
      Ports		      [0, 1, 0, 0, 0, 1]
      Position		      [415, 100, 460, 160]
      SourceBlock	      "rfports1/Output Port"
      SourceType	      "Output Port"
      ShowPortLabels	      on
      Zl		      "50"
      num_Models	      "1"
      GoToTag		      "ACCBGAFQQLCICJWLUPHEIUK"
      DisplayData	      off
      PlotFreq		      "Derived from Input Port parameters"
      Freq		      "1e9:1e8:3e9"
      AllPlotType	      "Composite data"
      NoBudgetPlot	      "Composite data"
      NetworkData	      "S11"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      DBMFormat		      "dBm"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Transfer Function "
      Ports		      [2, 2]
      Position		      [545, 39, 640, 161]
      BackgroundColor	      "gray"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "FFT length (power of 2):|Spectral Averaging Fac"
"tor (>=1):|Percentage of  Alias Free Data  (<=100)|Unwrap Phase"
      MaskStyleString	      "edit,edit,edit,checkbox"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "NFFT=@1;Navg=@2;pcnt=@3;unwrap_flag=@4;"
      MaskDisplay	      "disp('Transfer Function \\n Estimation')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1024|100|100|on"
      MaskTabNameString	      ",,,"
      System {
	Name			"Transfer Function "
	Location		[10, 78, 1247, 418]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Reference"
	  Position		  [15, 48, 45, 62]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Response"
	  Position		  [15, 128, 45, 142]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer"
	  Ports			  [1, 1]
	  Position		  [70, 30, 120, 80]
	  ShowName		  off
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "NFFT"
	  V			  "NFFT/2"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer1"
	  Ports			  [1, 1]
	  Position		  [75, 110, 125, 160]
	  ShowName		  off
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "NFFT"
	  V			  "NFFT/2"
	  ic			  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Complex Range"
	  Position		  [270, 175, 300, 205]
	  Value			  "[1:round(NFFT*pcnt/200),round(1+NFFT-NFFT*p"
"cnt/200):NFFT];"
	}
	Block {
	  BlockType		  ComplexToMagnitudeAngle
	  Name			  "Complex to\nMagnitude-Angle"
	  Ports			  [1, 1]
	  Position		  [870, 120, 900, 150]
	  Output		  "Angle"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Downsample1"
	  Ports			  [1, 1]
	  Position		  [325, 38, 360, 72]
	  ShowName		  off
	  SourceBlock		  "dspsigops/Downsample"
	  SourceType		  "Downsample"
	  N			  "2"
	  phase			  "0"
	  ic			  "0"
	  smode			  "Allow multirate"
	  fmode			  "Maintain input frame rate"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Downsample2"
	  Ports			  [1, 1]
	  Position		  [325, 118, 360, 152]
	  ShowName		  off
	  SourceBlock		  "dspsigops/Downsample"
	  SourceType		  "Downsample"
	  N			  "2"
	  phase			  "0"
	  ic			  "0"
	  smode			  "Allow multirate"
	  fmode			  "Maintain input frame rate"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FFT"
	  Ports			  [1, 1]
	  Position		  [265, 38, 305, 72]
	  ShowName		  off
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag0"
	  SourceBlock		  "dspxfrm3/FFT"
	  SourceType		  "FFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  additionalParams	  off
	  SkipNorm		  off
	  allowOverrides	  on
	  firstCoeffMode	  "Specify word length"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as input"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "FFT1"
	  Ports			  [1, 1]
	  Position		  [265, 118, 305, 152]
	  ShowName		  off
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag1"
	  SourceBlock		  "dspxfrm3/FFT"
	  SourceType		  "FFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  additionalParams	  off
	  SkipNorm		  off
	  allowOverrides	  on
	  firstCoeffMode	  "User-defined"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as input"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Filter1"
	  Ports			  [1, 1]
	  Position		  [675, 43, 745, 87]
	  ShowName		  off
	  SourceBlock		  "dsparch3/Direct-Form II\nTranspose Filter"
	  SourceType		  "Direct-Form II Transpose Filter"
	  num			  "1"
	  den			  "[Navg -(Navg-1)]"
	  ic			  "eps"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Filter2"
	  Ports			  [1, 1]
	  Position		  [675, 118, 745, 162]
	  ShowName		  off
	  SourceBlock		  "dsparch3/Direct-Form II\nTranspose Filter"
	  SourceType		  "Direct-Form II Transpose Filter"
	  num			  "1"
	  den			  "[Navg -(Navg-1)]"
	  ic			  "eps"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [1105, 185, 1135, 215]

⌨️ 快捷键说明

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