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

📄 amp_qam16_ver3.mdl

📁 RF amplifier matlab-simulink files. Requires RF toolbox to run.
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  NumDelays		  "16"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [510, 47, 540, 78]
	  Inputs		  "*/"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "RMS"
	  Ports			  [1, 1]
	  Position		  [370, 97, 445, 133]
	  SourceBlock		  "dspstat3/RMS"
	  SourceType		  "RMS"
	  run			  off
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "RMS1"
	  Ports			  [1, 1]
	  Position		  [370, 37, 445, 73]
	  SourceBlock		  "dspstat3/RMS"
	  SourceType		  "RMS"
	  run			  off
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [300, 27, 315, 83]
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "EVM"
	  Position		  [660, 58, 690, 72]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Integer Delay"
	  SrcPort		  1
	  Points		  [0, 0; 50, 0]
	  Branch {
	    DstBlock		    "Sum"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "RMS"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "RMS1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "RMS1"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "RMS"
	  SrcPort		  1
	  Points		  [15, 0; 0, -45]
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  Name			  "Z"
	  Labels		  [0, 0]
	  SrcBlock		  "Measurement vector"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "EVM"
	  DstPort		  1
	}
	Line {
	  Name			  "R"
	  Labels		  [0, 0]
	  SrcBlock		  "Reference vector"
	  SrcPort		  1
	  DstBlock		  "Integer Delay"
	  DstPort		  1
	}
	Annotation {
	  Name			  "EVM(%)=100*RMS(Z-R) / RMS(R)\nRMS(x) = sqrt"
"(mean( | x |^2 ))"
	  Position		  [602, 123]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Double click\nto change gain"
      Ports		      [1, 1]
      Position		      [530, 69, 575, 131]
      BackgroundColor	      "lightBlue"
      SourceBlock	      "simulink/Math\nOperations/Slider\nGain"
      SourceType	      "Slider Gain"
      ShowPortLabels	      on
      low		      "0.1"
      gain		      "3.9323"
      high		      "10"
      Port {
	PortNumber		1
	Name			"Transmitted"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Display
      Name		      "EVM (%)"
      Ports		      [1]
      Position		      [500, 235, 590, 265]
      BackgroundColor	      "green"
      FontName		      "Arial"
      FontSize		      11
      FontWeight	      "bold"
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [125, 225, 195, 280]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "16"
      st_delay		      "16*1024"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Reference
      Name		      "General Amplifier"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [725, 73, 840, 127]
      FontName		      "Arial"
      FontSize		      11
      FontWeight	      "bold"
      SourceBlock	      "rfamplifiers1/General Amplifier"
      SourceType	      "General Amplifier"
      PhysicalDomain	      "rfsystemsdomain"
      SubClassName	      "general-amplifier"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__newl0"
      RConnTagsString	      "__newr0"
      RFDATA		      "read(rfdata.data, 'default.amp')"
      InterpMethod	      "Spline"
      IP3Type		      "OIP3"
      IIP3		      "Inf"
      OIP3		      "Inf"
      NF		      "0"
      DisplayData	      on
      PlotFreq		      "Derived from Input Port parameters"
      PlotFreqNoSim	      "Extracted from RFDATA object"
      Freq		      "[1e9:1e8:2.9e9]"
      AllPlotType	      "Composite data"
      NetworkData	      "S21"
      PowerData		      "VSWRIn"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Angle (degrees)"
      DBFormat		      "Magnitude (decibels)"
      PowerFormat	      "dBm"
      PhaseFormat	      "Angle (degrees)"
      NoneFormat	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Input  Port"
      Description	      "source block"
      Ports		      [1, 0, 0, 0, 0, 0, 1]
      Position		      [655, 70, 700, 130]
      FontName		      "Arial"
      FontSize		      11
      FontWeight	      "bold"
      SourceBlock	      "rfports1/Input Port"
      SourceType	      "Input Port"
      ShowPortLabels	      on
      MaxLength		      "128"
      Fc		      "2.1e9"
      Ts		      "2.5e-9"
      Zs		      "50"
      NoiseFlag		      on
      seed		      "randseed"
      GoToTag		      "ABABHFGEBCBCZCJDVYEWZWR"
    }
    Block {
      BlockType		      Reference
      Name		      "Matrix\nConcatenation"
      Ports		      [2, 1]
      Position		      [669, 255, 776, 260]
      Orientation	      "down"
      BackgroundColor	      "black"
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Matrix\nConcatenation"
      SourceType	      "Matrix Concatenation"
      numInports	      "2"
      catMethod		      "Horizontal"
    }
    Block {
      BlockType		      Reference
      Name		      "Measurement Constellation"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [405, 309, 455, 361]
      BackgroundColor	      "green"
      Diagnostics	      "AllowInheritedTsInSrc"
      FontName		      "Arial"
      FontSize		      11
      FontWeight	      "bold"
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      ShowPortLabels	      on
      sampPerSymb	      "8"
      offsetEye		      "0"
      numTraces		      "800"
      numNewFrames	      "800"
      LineMarkers	      "."
      LineColors	      "[1 0 0]"
      fading		      on
      render		      on
      AxisGrid		      on
      xMin		      "-1.54318163861981"
      xMax		      "1.55695676278622"
      yMin		      "-1.54272562409615"
      yMax		      "1.55741277730988"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      FrameNumber	      off
      FigPos		      "[768 139 328 328]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      Reference
      Name		      "Output Port"
      Ports		      [0, 1, 0, 0, 0, 1]
      Position		      [865, 70, 910, 130]
      FontName		      "Arial"
      FontSize		      11
      FontWeight	      "bold"
      SourceBlock	      "rfports1/Output Port"
      SourceType	      "Output Port"
      ShowPortLabels	      on
      Zl		      "50"
      Flag		      "1"
      num_Models	      "3"
      GoToTag		      "ABABHFGEBCBCZCJDVYEWZWR"
      DisplayData	      on
      PlotFreq		      "Derived from Input Port parameters"
      Freq		      "1e9:1e8:3e9"
      AllPlotType	      "Composite data"
      NoBudgetPlot	      "X-Y plane"
      NetworkData	      "OIP3"
      SmithData		      "S11"
      PolarData		      "S11"
      ComplexFormat	      "Magnitude (decibels)"
      DBFormat		      "Magnitude (decibels)"
      DBMFormat		      "dBm"
      NoneFormat	      "None"
      Port {
	PortNumber		1
	Name			"Received"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Raised Cosine\nReceive Filter"
      Ports		      [1, 1]
      Position		      [810, 350, 880, 410]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag1"
      SourceBlock	      "commfilt2/Raised Cosine\nReceive Filter"
      SourceType	      "Raised Cosine Receive Filter"
      ShowPortLabels	      on
      filtType		      "Square root"
      N			      "8"
      D			      "4"
      R			      "0.2"
      sampMode		      "Frame-based"
      rateMode		      "Downsampling"
      downFactor	      "8"
      downOffset	      "0"
      checkGain		      "Normalized"
      filterGain	      "1"
      checkCoeff	      off
      variableName	      "rcRxFilt"
      launchFVT		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Raised Cosine\nTransmit Filter"
      Ports		      [1, 1]
      Position		      [405, 72, 475, 128]
      ShowName		      off
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag2"
      SourceBlock	      "commfilt2/Raised Cosine\nTransmit Filter"
      SourceType	      "Raised Cosine Transmit Filter"
      ShowPortLabels	      on
      filtType		      "Square root"
      D			      "4"
      R			      "0.2"
      sampMode		      "Frame-based"
      N			      "8"
      checkGain		      "Normalized"
      filterGain	      "1"
      checkCoeff	      off
      variableName	      "rcTxFilt"
      launchFVT		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Random Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [15, 78, 95, 122]
      ShowName		      off
      FontName		      "Arial"
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      ShowPortLabels	      on
      mul		      "16"
      seed		      "37"
      Ts		      "2e-8"
      frameBased	      on
      sampPerFrame	      "1024"
      orient		      off
      outDataType	      "double"
    }
    Block {
      BlockType		      Reference
      Name		      "Rectangular QAM\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [185, 354, 260, 406]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "commdigbbndam2/Rectangular QAM\nDemodulator\nBa"
"seband"
      SourceType	      "Rectangular QAM Demodulator Baseband"
      M			      "16"
      OutType		      "Integer"
      Dec		      "Binary"
      PowType		      "Peak Power"
      MinDist		      "2"
      AvgPow		      "1"
      PeakPow		      "2"
      Ph		      "0"
      numSamp		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Rectangular QAM\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [185, 74, 260, 126]
      ShowName		      off
      SourceBlock	      "commdigbbndam2/Rectangular QAM\nModulator\nBase"
"band"
      SourceType	      "Rectangular QAM Modulator Baseband"
      M			      "16"
      InType		      "Integer"
      Enc		      "Binary"
      PowType		      "Peak Power"
      MinDist		      "2"
      AvgPow		      "1"
      PeakPow		      "2"
      Ph		      "0"
      numSamp		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Reference Constellation"
      Tag		      "ScatterPlot"
      Ports		      [1]
      Position		      [405, 144, 455, 196]
      BackgroundColor	      "green"
      Diagnostics	      "AllowInheritedTsInSrc"
      FontName		      "Arial"
      FontSize		      11
      FontWeight	      "bold"
      SourceBlock	      "commsink2/Discrete-Time\nScatter Plot\nScope"
      SourceType	      "Discrete-Time Scatter Plot Scope"
      ShowPortLabels	      on
      sampPerSymb	      "8"
      offsetEye		      "0"
      numTraces		      "800"
      numNewFrames	      "800"
      LineMarkers	      "."
      LineColors	      "[1 0 0]"
      fading		      on
      render		      on
      AxisGrid		      on
      xMin		      "-1.54318163861981"
      xMax		      "1.55695676278622"
      yMin		      "-1.54272562409615"
      yMax		      "1.55741277730988"
      inphaseLabel	      "In-phase Amplitude"
      quadratureLabel	      "Quadrature Amplitude"
      openScopeAtSimStart     on
      FrameNumber	      off
      FigPos		      "[430 140 330 330]"
      figTitle		      "Scatter Plot"
      numLinesMax	      "8"
      block_type_	      "scatter"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem2"
      Ports		      [1, 1]
      Position		      [570, 355, 655, 405]
      Orientation	      "left"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskDisplay	      "disp('Phase Recovery')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem2"
	Location		[220, 445, 535, 575]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"

⌨️ 快捷键说明

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