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

📄 sparam_amp_rab.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    Block {
	      BlockType		      FrameConversion
	      Name		      "Frame Conversion2"
	      Position		      [485, 70, 540, 110]
	      OutFrame		      "Sample based"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unwrap"
	      Ports		      [1, 1]
	      Position		      [410, 72, 455, 108]
	      SourceBlock	      "dspsigops/Unwrap"
	      SourceType	      "Unwrap"
	      running		      on
	      tol		      "pi"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Variable\nSelector"
	      Ports		      [2, 1]
	      Position		      [150, 68, 245, 112]
	      SourceBlock	      "dspindex/Variable\nSelector"
	      SourceType	      "Variable Selector"
	      ShowPortLabels	      on
	      rowsOrCols	      "Rows"
	      IdxMode		      "Variable"
	      Elements		      "[1 3]"
	      ZerOneIdxMode	      "One-based"
	      errmode		      "Clip Index"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Variable\nSelector2"
	      Ports		      [2, 1]
	      Position		      [755, 78, 850, 122]
	      SourceBlock	      "dspindex/Variable\nSelector"
	      SourceType	      "Variable Selector"
	      ShowPortLabels	      on
	      rowsOrCols	      "Rows"
	      IdxMode		      "Variable"
	      Elements		      "[1 3]"
	      ZerOneIdxMode	      "One-based"
	      errmode		      "Clip Index"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [940, 93, 970, 107]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Embedded\nMATLAB Function1"
	      SrcPort		      1
	      DstBlock		      "Variable\nSelector2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Variable\nSelector"
	      SrcPort		      1
	      DstBlock		      "Frame Conversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		Points			[605, 0; 0, -40]
		DstBlock		"Variable\nSelector2"
		DstPort			2
	      }
	      Branch {
		Points			[0, -50]
		DstBlock		"Variable\nSelector"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "IN"
	      SrcPort		      1
	      DstBlock		      "Variable\nSelector"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Variable\nSelector2"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unwrap"
	      SrcPort		      1
	      DstBlock		      "Frame Conversion2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Conversion"
	      SrcPort		      1
	      DstBlock		      "Unwrap"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Frame Conversion2"
	      SrcPort		      1
	      DstBlock		      "Embedded\nMATLAB Function1"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Unwrap requires frame based data"
	      Position		      [471, 48]
	    }
	    Annotation {
	      Name		      "Re-swap the data for display"
	      Position		      [802, 63]
	    }
	    Annotation {
	      Name		      "Set the DC phase value to zero"
	      Position		      [643, 48]
	    }
	    Annotation {
	      Name		      "This swaps the two halves of the data v"
"ector \nso that the unwrap works."
	      Position		      [190, 48]
	    }
	  }
	}
	Block {
	  BlockType		  Probe
	  Name			  "Probe for a complex signal"
	  Ports			  [1, 1]
	  Position		  [105, 210, 150, 250]
	  ProbeWidth		  off
	  ProbeSampleTime	  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [600, 121, 645, 154]
	  ShowName		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [805, 59, 830, 86]
	  ShowName		  off
	  Inputs		  "/*"
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  RateTransition
	  Name			  "Rate Transition"
	  Position		  [185, 209, 225, 251]
	}
	Block {
	  BlockType		  Constant
	  Name			  "Real Range"
	  Position		  [270, 250, 300, 280]
	  Value			  "1:length([1:round(NFFT*pcnt/200),round(1+NF"
"FT-NFFT*pcnt/200):NFFT]);"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [360, 215, 390, 245]
	  Threshold		  ".5"
	  InputSameDT		  off
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [1060, 185, 1090, 215]
	  Threshold		  ".5"
	  InputSameDT		  off
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Variable\nSelector"
	  Ports			  [2, 1]
	  Position		  [435, 123, 530, 167]
	  SourceBlock		  "dspindex/Variable\nSelector"
	  SourceType		  "Variable Selector"
	  ShowPortLabels	  on
	  rowsOrCols		  "Rows"
	  IdxMode		  "Variable"
	  Elements		  "[1 3]"
	  ZerOneIdxMode		  "One-based"
	  errmode		  "Clip Index"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Variable\nSelector1"
	  Ports			  [2, 1]
	  Position		  [435, 43, 530, 87]
	  SourceBlock		  "dspindex/Variable\nSelector"
	  SourceType		  "Variable Selector"
	  ShowPortLabels	  on
	  rowsOrCols		  "Rows"
	  IdxMode		  "Variable"
	  Elements		  "[1 3]"
	  ZerOneIdxMode		  "One-based"
	  errmode		  "Clip Index"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Window\nFunction"
	  Ports			  [1, 1]
	  Position		  [150, 27, 230, 83]
	  ShowName		  off
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag2"
	  SourceBlock		  "dspsigops/Window\nFunction"
	  SourceType		  "Window Function"
	  winmode		  "Apply window to input"
	  wintype		  "Hann"
	  sampmode		  "Continuous"
	  samptime		  "1"
	  N			  "64"
	  Rs			  "50"
	  beta			  "10"
	  winsamp		  "Periodic"
	  UserWindow		  "hamming"
	  OptParams		  off
	  UserParams		  "{'symmetric'}"
	  additionalParams	  off
	  allowOverrides	  on
	  dataType		  "double"
	  isSigned		  on
	  wordLen		  "16"
	  udDataType		  "sfix(16)"
	  fracBitsMode		  "Best precision"
	  numFracBits		  "15"
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "16"
	  prodOutputFracLength	  "15"
	  outputMode		  "Same as product output"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Window\nFunction1"
	  Ports			  [1, 1]
	  Position		  [160, 107, 240, 163]
	  ShowName		  off
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag3"
	  SourceBlock		  "dspsigops/Window\nFunction"
	  SourceType		  "Window Function"
	  winmode		  "Apply window to input"
	  wintype		  "Hann"
	  sampmode		  "Continuous"
	  samptime		  "1"
	  N			  "64"
	  Rs			  "50"
	  beta			  "10"
	  winsamp		  "Periodic"
	  UserWindow		  "hamming"
	  OptParams		  off
	  UserParams		  "{'symmetric'}"
	  additionalParams	  off
	  allowOverrides	  on
	  dataType		  "double"
	  isSigned		  on
	  wordLen		  "16"
	  udDataType		  "sfix(16)"
	  fracBitsMode		  "Best precision"
	  numFracBits		  "15"
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "16"
	  prodOutputFracLength	  "15"
	  outputMode		  "Same as product output"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Constant
	  Name			  "unwrap"
	  Position		  [955, 245, 985, 275]
	  Value			  "unwrap_flag"
	}
	Block {
	  BlockType		  Outport
	  Name			  "TF Mag"
	  Position		  [1150, 68, 1180, 82]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "TF Angle"
	  Position		  [1155, 193, 1185, 207]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Phase Unwrap"
	  SrcPort		  1
	  Points		  [25, 0; 0, 55]
	  DstBlock		  "Switch1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "unwrap"
	  SrcPort		  1
	  Points		  [45, 0; 0, -60]
	  DstBlock		  "Switch1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [10, 0; 0, -75]
	  Branch {
	    Points		    [0, -80]
	    DstBlock		    "Variable\nSelector1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Variable\nSelector"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Rate Transition"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Variable\nSelector1"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    DstBlock		    "Math\nFunction"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Magnitude\nSquared"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Variable\nSelector"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Downsample2"
	  SrcPort		  1
	  DstBlock		  "Variable\nSelector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Downsample1"
	  SrcPort		  1
	  DstBlock		  "Variable\nSelector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Complex to\nMagnitude-Angle"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Math\nFunction1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Buffer1"
	  SrcPort		  1
	  Points		  [-5, 0]
	  DstBlock		  "Window\nFunction1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Window\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Filter2"
	  SrcPort		  1
	  Points		  [30, 0; 0, -60]
	  DstBlock		  "Product2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Filter1"
	  SrcPort		  1
	  DstBlock		  "Product2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Window\nFunction1"
	  SrcPort		  1
	  DstBlock		  "FFT1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Window\nFunction"
	  SrcPort		  1
	  DstBlock		  "FFT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction1"
	  SrcPort		  1
	  DstBlock		  "TF Mag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "FFT"
	  SrcPort		  1
	  DstBlock		  "Downsample1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Magnitude\nSquared"
	  SrcPort		  1
	  DstBlock		  "Filter1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {

⌨️ 快捷键说明

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