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

📄 ofdm_original.mdl

📁 OFDM限幅类峰均比,用于仿真OFDM系统中的限幅类峰均比。
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace1"
	  Position		  [205, 155, 265, 185]
	  BackgroundColor	  "lightBlue"
	  VariableName		  "ofdm_signal"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "To Workspace"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "To Workspace1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Frame Status\nConversion"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "Abs"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nDemodulator\nBaseband"
      Ports		      [1, 1]
      Position		      [215, 410, 295, 460]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      SourceBlock	      "commdigbbndpm2/QPSK\nDemodulator\nBaseband"
      SourceType	      "QPSK Demodulator Baseband"
      OutType		      "Bit"
      Dec		      "Gray"
      Ph		      "pi/4"
      numSamp		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "QPSK\nModulator\nBaseband"
      Ports		      [1, 1]
      Position		      [215, 181, 290, 229]
      BackgroundColor	      "yellow"
      SourceBlock	      "commdigbbndpm2/QPSK\nModulator\nBaseband"
      SourceType	      "QPSK Modulator Baseband"
      InType		      "Bit"
      Enc		      "Gray"
      Ph		      "pi/4"
      numSamp		      "1"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "S-Function1"
      Ports		      [0, 1]
      Position		      [540, 115, 600, 145]
      BackgroundColor	      "cyan"
      FunctionName	      "stopwatch"
    }
    Block {
      BlockType		      Selector
      Name		      "Selector1"
      Ports		      [1, 1]
      Position		      [500, 415, 550, 455]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      Elements		      "1:64"
      Rows		      "[1:64]"
      InputPortWidth	      "256"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [730, 255, 765, 305]
      FontSize		      10
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ScopeProperties	      off
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      off
      BufferSize	      "128"
      Overlap		      "64"
      inpFftLenInherit	      on
      FFTlength		      "512"
      numAvg		      "2"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "get(0,'defaultfigureposition')"
      AxisProperties	      on
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      off
      XIncr		      "1/(128*6*150*2)"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-40"
      YMax		      "0"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      []
      Position		      [519, 99, 750, 164]
      BackgroundColor	      "[0.501961, 0.501961, 1.000000]"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem"
	Location		[232, 358, 730, 658]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem2"
      Ports		      [1, 1]
      Position		      [755, 175, 795, 235]
      BackgroundColor	      "yellow"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('P/S')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem2"
	Location		[181, 167, 734, 358]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [115, 43, 145, 57]
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unbuffer3"
	  Ports			  [1, 1]
	  Position		  [240, 26, 290, 74]
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspbuff3/Unbuffer"
	  SourceType		  "Unbuffer"
	  ic			  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [350, 43, 380, 57]
	  BackgroundColor	  "green"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Unbuffer3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unbuffer3"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem3"
      Ports		      [1, 1]
      Position		      [755, 405, 795, 465]
      Orientation	      "left"
      BackgroundColor	      "yellow"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('S/P')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Subsystem3"
	Location		[251, 278, 670, 522]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [190, 43, 220, 57]
	  Orientation		  "left"
	  BackgroundColor	  "green"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer"
	  Ports			  [1, 1]
	  Position		  [110, 25, 160, 75]
	  Orientation		  "left"
	  BackgroundColor	  "yellow"
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "256"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [25, 43, 55, 57]
	  Orientation		  "left"
	  BackgroundColor	  "green"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [410, 355, 470, 385]
      BackgroundColor	      "yellow"
      VariableName	      "ber_orig"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      Reference
      Name		      "Zero Pad"
      Ports		      [1, 1]
      Position		      [370, 187, 410, 223]
      BackgroundColor	      "yellow"
      SourceBlock	      "dspsigops/Zero Pad"
      SourceType	      "Zero Pad"
      padSigAt		      "End"
      zpadAlong		      "Columns"
      padNumOutRowsSpecMethod "User-specified"
      numOutRows	      "256"
      padNumOutColsSpecMethod "User-specified"
      numOutCols	      "256"
      trunc_flag	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "background7"
      Ports		      []
      Position		      [282, 101, 482, 162]
      BackgroundColor	      "orange"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"background7"
	Location		[209, 325, 575, 532]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
      }
    }
    Line {
      SrcBlock		      "Bernoulli Binary\nGenerator"
      SrcPort		      1
      Points		      [0, 0; 35, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"QPSK\nModulator\nBaseband"
	DstPort			1
      }
      Branch {
	Points			[0, 80]
	DstBlock		"Error Rate\nCalculation"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "QPSK\nDemodulator\nBaseband"
      SrcPort		      1
      Points		      [-55, 0; 0, -125]
      DstBlock		      "Error Rate\nCalculation"
      DstPort		      2
    }
    Line {
      SrcBlock		      "FFT"
      SrcPort		      1
      DstBlock		      "Selector1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "QPSK\nModulator\nBaseband"
      SrcPort		      1
      DstBlock		      "Zero Pad"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Zero Pad"
      SrcPort		      1
      DstBlock		      "IFFT"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Selector1"
      SrcPort		      1
      DstBlock		      "Frame Status\nConversion"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem2"
      SrcPort		      1
      Points		      [35, 0]
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Frame Status\nConversion"
      SrcPort		      1
      DstBlock		      "QPSK\nDemodulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Display"
	DstPort			1
      }
      Branch {
	Points			[0, 70]
	DstBlock		"To Workspace"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Digital Clock"
      SrcPort		      1
      DstBlock		      "Display2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [0, 95]
      DstBlock		      "Subsystem3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "IFFT"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	Points			[0, 125]
	DstBlock		"PAR"
	DstPort			1
      }
      Branch {
	Points			[85, 0]
	Branch {
	  DstBlock		  "Subsystem2"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 75]
	  DstBlock		  "Spectrum\nScope"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Subsystem3"
      SrcPort		      1
      DstBlock		      "FFT"
      DstPort		      1
    }
    Line {
      SrcBlock		      "S-Function1"
      SrcPort		      1
      DstBlock		      "Display1"
      DstPort		      1
    }
    Annotation {
      Name		      "Waktu Simulasi"
      Position		      [395, 151]
      HorizontalAlignment     "left"
      FontName		      "Arial"
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Simulation Time"
      Position		      [389, 84]
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "关于OFDM仿真系统\n本仿真系统是用于仿真不同降低O"
"FDM系统PAR的方法性能,所仿真PAR降低方案有\n(1)u律压扩(2)分段线性和非线性"
"压扩(3)PTS(4)SLM"
      Position		      [456, 37]
      ForegroundColor	      "blue"
      DropShadow	      on
      TeXMode		      on
      FontName		      "Arial"
      FontSize		      12
    }
    Annotation {
      Name		      "系统参数说明:\n(1)64个子载波\n(2)256点IFFT"
"\n(3)信息速率为150kb\n(4)帧长为128bit\n(5)AWGN信道\n(6)子载波全采用QP"
"SK调制"
      Position		      [24, 94]
      HorizontalAlignment     "left"
      ForegroundColor	      "orange"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      12
    }
    Annotation {
      Name		      "原始OFDM系统"
      Position		      [775, 45]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      12
    }
    Annotation {
      Name		      "仿真用时"
      Position		      [805, 134]
      ForegroundColor	      "blue"
      DropShadow	      on
      FontName		      "Arial"
      FontSize		      12
    }
  }
}

⌨️ 快捷键说明

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