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

📄 ofdm_16qam.mdl

📁 使用matlab里面的simulink仿真OFDM系统搭建的结构图
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      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"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "OFDM_16QAM"
    Location		    [2, 82, 1014, 721]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    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	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      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
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('Data Source');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Data From MAC"
	Location		[2, 82, 1014, 743]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	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			  "4"
	}
	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	  on
	  mul			  "16"
	  seed			  "37"
	  Ts			  "1/192"
	  frameBased		  on
	  sampPerFrame		  "192"
	  orient		  off
	}
	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		      [25, 208, 80, 252]
      Orientation	      "left"
      ShowName		      off
      FontSize		      8
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      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"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "in1"
	  Position		  [15, 28, 45, 42]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	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			  "4"
	}
	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"
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [15, 295, 65, 305]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "IQ_RX"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      From
      Name		      "From2"
      Position		      [15, 265, 65, 275]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_TX"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      From
      Name		      "From3"
      Position		      [15, 275, 65, 285]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_RX"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      From
      Name		      "From4"
      Position		      [15, 285, 65, 295]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "IQ_TX"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      From
      Name		      "From5"
      Position		      [15, 315, 65, 325]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "OFDM_RX"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      From
      Name		      "From6"
      Position		      [15, 305, 65, 315]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "OFDM_TX"
      IconDisplay	      "Signal name"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto1"
      Position		      [290, 60, 340, 70]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "IQ_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [150, 185, 200, 195]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_RX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto3"
      Position		      [150, 60, 200, 70]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      FontName		      "Arial"
      FontSize		      8
      GotoTag		      "DATA_TX"
      IconDisplay	      "Signal name"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [290, 245, 340, 255]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      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
      DialogController	      "Simulink.DDGSource"
      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
      DialogController	      "Simulink.DDGSource"
      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
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('IQ Demapper');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"IQ Demapper"
	Location		[2, 82, 1014, 743]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [15, 33, 45, 47]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	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.3162 + 0.3162i    0.3162 + 0.9487i    0."
"3162 - 0.3162i    0.3162 - 0.9487i    0.9487 + 0.3162i    0.9487 + 0.9487i   "
" 0.9487 - 0.3162i    0.9487 - 0.9487i   -0.3162 + 0.3162i   -0.3162 + 0.9487i"
"   -0.3162 - 0.3162i   -0.3162 - 0.9487i   -0.9487 + 0.3162i   -0.9487 + 0.94"
"87i   -0.9487 - 0.3162i   -0.9487 - 0.9487i]'"
	  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			  "4"
	}
	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
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('IQ Mapper');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"IQ Mapper"
	Location		[2, 82, 1014, 743]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [15, 33, 45, 47]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	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"

⌨️ 快捷键说明

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