cascaded_system_rab.mdl

来自「PLLmatlab for simulink」· MDL 代码 · 共 2,272 行 · 第 1/5 页

MDL
2,272 行
字号
	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 {
	  SrcBlock		  "FFT1"
	  SrcPort		  1
	  DstBlock		  "Downsample2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Filter2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reference"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Response"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, 95]
	    DstBlock		    "Probe for a complex signal"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Buffer1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "TF Angle"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nMagnitude-Angle"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Phase Unwrap"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Switch1"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Probe for a complex signal"
	  SrcPort		  1
	  DstBlock		  "Rate Transition"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Real Range"
	  SrcPort		  1
	  Points		  [30, 0; 0, -25]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Complex Range"
	  SrcPort		  1
	  Points		  [20, 0; 0, 30]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Select alias free data."
	  Position		  [482, 207]
	}
	Annotation {
	  Name			  "Single Pole LPF for spectral  averaging."
	  Position		  [715, 29]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Transmission Line"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [295, 126, 385, 174]
      SourceBlock	      "rftxlines1/Transmission Line"
      SourceType	      "Transmission Line"
      PhysicalDomain	      "rfsystemsdomain"
      SubClassName	      "txline"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__newl0"
      RConnTagsString	      "__newr0"
      Z0		      "50"
      PV		      "299792458"
      Loss		      "5"
      LineLength	      "1"
      StubMode		      "Not a stub"
      Termination	      "Open"
      DisplayData	      off
      PlotFreq		      "Derived from Input Port parameters"
      PlotFreqNoSim	      "User-specified"
      Freq		      "[1.85e9:1e8:2.35e9]"
      AllPlotType	      "X-Y plane"
      NetworkData	      "S21"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Transmission Line1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [525, 126, 615, 174]
      SourceBlock	      "rftxlines1/Transmission Line"
      SourceType	      "Transmission Line"
      PhysicalDomain	      "rfsystemsdomain"
      SubClassName	      "txline"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__newl0"
      RConnTagsString	      "__newr0"
      Z0		      "50"
      PV		      "299792458"
      Loss		      "5"
      LineLength	      "1"
      StubMode		      "Not a stub"
      Termination	      "Open"
      DisplayData	      off
      PlotFreq		      "Derived from Input Port parameters"
      PlotFreqNoSim	      "User-specified"
      Freq		      "[1.85e9:1e8:2.35e9]"
      AllPlotType	      "X-Y plane"
      NetworkData	      "S12"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Two-Wire\nTransmission Line"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [295, 321, 385, 369]
      SourceBlock	      "rftxlines1/Two-Wire\nTransmission Line"
      SourceType	      "Two-Wire Transmission Line"
      PhysicalDomain	      "rfsystemsdomain"
      SubClassName	      "twowire"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__newl0"
      RConnTagsString	      "__newr0"
      Radius		      "2.0574e-3"
      Separation	      "4.966e-3"
      MuR		      "1"
      EpsilonR		      "2.3"
      SigmaCond		      "6.55e6"
      SigmaDiel		      "0.002"
      LineLength	      "1"
      StubMode		      "Not a stub"
      Termination	      "Open"
      DisplayData	      off
      PlotFreq		      "Derived from Input Port parameters"
      PlotFreqNoSim	      "User-specified"
      Freq		      "1.85e9:1e8:2.35e9"
      AllPlotType	      "X-Y plane"
      NetworkData	      "S21"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Two-Wire\nTransmission Line1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [525, 321, 615, 369]
      SourceBlock	      "rftxlines1/Two-Wire\nTransmission Line"
      SourceType	      "Two-Wire Transmission Line"
      PhysicalDomain	      "rfsystemsdomain"
      SubClassName	      "twowire"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__newl0"
      RConnTagsString	      "__newr0"
      Radius		      "2.0574e-3"
      Separation	      "4.966e-3"
      MuR		      "1"
      EpsilonR		      "2.3"
      SigmaCond		      "6.55e6"
      SigmaDiel		      "0.002"
      LineLength	      "1"
      StubMode		      "Not a stub"
      Termination	      "Open"
      DisplayData	      off
      PlotFreq		      "Derived from Input Port parameters"
      PlotFreqNoSim	      "User-specified"
      Freq		      "1.85e9:1e8:2.35e9"
      AllPlotType	      "X-Y plane"
      NetworkData	      "S21"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "White Noise"
      Ports		      [0, 1]
      Position		      [40, 131, 75, 169]
      UserDataPersistent      on
      UserData		      "DataTag4"
      Diagnostics	      "AllowInheritedTsInSrc"
      SourceBlock	      "dspsrcs4/Random\nSource"
      SourceType	      "Random Source"
      SrcType		      "Gaussian"
      NormMethod	      "Ziggurat"
      CltLength		      "12"
      MinVal		      "-1"
      MaxVal		      "1"
      MeanVal		      "0"
      VarVal		      "1"
      RepMode		      "Not repeatable"
      rawSeed		      "1"
      IsInherit		      off
      SampMode		      "Discrete"
      SampTime		      "2e-9"
      SampFrame		      "256"
      DataType		      "Double"
      OutComplex	      "Complex"
    }
    Block {
      BlockType		      SubSystem
      Name		 

⌨️ 快捷键说明

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