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

📄 ofdm_4qam.mdl

📁 使用QPSK调制的正交频分复用(OFDM)系统的Simulink仿真OFDM Implementation using QPSK Modulation。
💻 MDL
📖 第 1 页 / 共 4 页
字号:
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      Selector
      NumberOfDimensions      "1"
      IndexMode		      "One-based"
      InputPortWidth	      "-1"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      "FromPortIcon"
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      TreatAsAtomicUnit	      off
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Terminator
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    UseDisplayTextAsClickCallback off
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "OFDM_4QAM"
    Location		    [5, 82, 1000, 467]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "156"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [315, 140, 395, 180]
      Orientation	      "down"
      ShowName		      off
      FontSize		      8
      SourceBlock	      "commchan3/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      seed		      "1"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "10"
      EsNodB		      "40"
      SNRdB		      "60"
      bitsPerSym	      "2"
      Ps		      "0.01"
      Tsym		      "4e-6/80"
      variance		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Data From MAC"
      Ports		      [0, 1]
      Position		      [15, 73, 70, 117]
      NamePlacement	      "alternate"
      ShowName		      off
      FontSize		      8
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Data Source');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Data From MAC"
	Location		[2, 82, 1014, 744]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Data Payload"
	  Ports			  [1, 1]
	  Position		  [120, 40, 210, 70]
	  SourceBlock		  "commutil2/Integer to Bit\nConverter"
	  SourceType		  "Integer to Bit Converter"
	  nbits			  "2"
	  outDtype		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random Integer\nGenerator"
	  Ports			  [0, 1]
	  Position		  [15, 35, 80, 75]
	  FontName		  "Arial"
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData "off"
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  mul			  "4"
	  seed			  "37"
	  Ts			  "1/192"
	  frameBased		  "on"
	  sampPerFrame		  "192"
	  orient		  "off"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [240, 48, 270, 62]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator"
	  SrcPort		  1
	  DstBlock		  "Data Payload"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Payload"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Data to MAC"
      Ports		      [1]
      Position		      [15, 198, 70, 242]
      Orientation	      "left"
      ShowName		      off
      FontSize		      8
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('Data Sink');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Data to MAC"
	Location		[210, 293, 918, 668]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "in1"
	  Position		  [15, 28, 45, 42]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bit to Integer\nConverter"
	  Ports			  [1, 1]
	  Position		  [95, 13, 175, 57]
	  SourceBlock		  "commutil2/Bit to Integer\nConverter"
	  SourceType		  "Bit to Integer Converter"
	  nbits			  "2"
	  outDtype		  "Same as input"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [225, 28, 235, 42]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  ShowName		  off
	}
	Line {
	  SrcBlock		  "in1"
	  SrcPort		  1
	  DstBlock		  "Bit to Integer\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit to Integer\nConverter"
	  SrcPort		  1
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [165, 268, 290, 322]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      Format		      "long"
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [15, 295, 65, 305]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "IQ_RX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "From2"
      Position		      [15, 265, 65, 275]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "From3"
      Position		      [15, 275, 65, 285]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_RX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "From4"
      Position		      [15, 285, 65, 295]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "IQ_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "From5"
      Position		      [15, 315, 65, 325]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "OFDM_RX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "From6"
      Position		      [15, 305, 65, 315]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "OFDM_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto1"
      Position		      [290, 60, 340, 70]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "IQ_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [150, 185, 200, 195]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_RX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto3"
      Position		      [150, 60, 200, 70]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [290, 245, 340, 255]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "IQ_RX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto5"
      Position		      [285, 119, 335, 131]
      Orientation	      "left"
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "OFDM_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto6"
      Position		      [285, 185, 335, 195]
      Orientation	      "left"
      ShowName		      off
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "OFDM_RX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      SubSystem
      Name		      "IQ Demapper"
      Ports		      [1, 1]
      Position		      [155, 198, 210, 242]
      Orientation	      "left"
      ShowName		      off
      FontSize		      8
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('IQ Demapper');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"IQ Demapper"
	Location		[2, 82, 1014, 744]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [15, 33, 45, 47]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "General QAM\nDemodulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [175, 14, 250, 66]
	  SourceBlock		  "commdigbbndam2/General QAM\nDemodulator\nBa"
"seband"
	  SourceType		  "General QAM Demodulator Baseband"
	  SigCon		  "[0.7071 + 0.7071i    0.7071 - 0.7071i   -0."
"7071 + 0.7071i   -0.7071 - 0.7071i]'"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Integer to Bit\nConverter"
	  Ports			  [1, 1]
	  Position		  [300, 18, 380, 62]
	  SourceBlock		  "commutil2/Integer to Bit\nConverter"
	  SourceType		  "Integer to Bit Converter"
	  nbits			  "2"
	  outDtype		  "Same as input"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [95, 25, 125, 55]
	  ShowName		  off
	  Operator		  "conj"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [400, 33, 430, 47]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "General QAM\nDemodulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Integer to Bit\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "General QAM\nDemodulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integer to Bit\nConverter"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "IQ Mapper"
      Ports		      [1, 1]
      Position		      [155, 73, 210, 117]
      ShowName		      off
      FontSize		      8
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskDisplay	      "disp('IQ Mapper');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"IQ Mapper"
	Location		[2, 82, 1014, 744]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [15, 33, 45, 47]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bit to Integer\nConverter"
	  Ports			  [1, 1]
	  Position		  [100, 18, 180, 62]
	  SourceBlock		  "commutil2/Bit to Integer\nConverter"
	  SourceType		  "Bit to Integer Converter"
	  nbits			  "2"
	  outDtype		  "Same as input"
	}
	Block {
	  BlockType		  Reference
	  Name			  "General QAM\nModulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [215, 14, 290, 66]
	  SourceBlock		  "commdigbbndam2/General QAM\nModulator\nBase"

⌨️ 快捷键说明

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