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

📄 wifi.mdl

📁 wifi 802.11b的matlab模型构造
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    Line {
	      Name		      "Header"
	      Labels		      [0, 0]
	      SrcBlock		      "Demux1"
	      SrcPort		      2
	      DstBlock		      "Demux3"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Preamble"
	      Labels		      [0, 0]
	      SrcBlock		      "Demux1"
	      SrcPort		      1
	      DstBlock		      "Demux2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "PLCP"
	      Labels		      [0, 0]
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      DstBlock		      "Demux1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "PSDU"
	      Labels		      [0, 0]
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      DstBlock		      "PSDU"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Demodulate and despread"
	  Ports			  [1, 1]
	  Position		  [650, 102, 745, 178]
	  AttributesFormatString  "%<BlockChoice> "
	  LinkData {
	    BlockName		    "11Mbps demod"
	    DialogParameters {
	      Short_preamble	      "off"
	    }
	    BlockName		    "11Mbps demod/PLCP demod"
	    DialogParameters {
	      BlockChoice	      "PLCP demod for long preamble"
	    }
	    BlockName		    "1Mbps demod/PLCP demod"
	    DialogParameters {
	      BlockChoice	      "PLCP demod for short preamble"
	    }
	    BlockName		    "2Mbps demod"
	    DialogParameters {
	      Short_preamble	      "off"
	    }
	    BlockName		    "2Mbps demod/PLCP demod"
	    DialogParameters {
	      BlockChoice	      "PLCP demod for long preamble"
	    }
	    BlockName		    "5.5Mbps demod"
	    DialogParameters {
	      Short_preamble	      "off"
	    }
	    BlockName		    "5.5Mbps demod/PLCP demod"
	    DialogParameters {
	      BlockChoice	      "PLCP demod for long preamble"
	    }
	  }
	  BlockChoice		  "11Mbps demod"
	  TemplateBlock		  "WiFi_lib/Demodulate and despread"
	  MemberBlocks		  "11Mbps demod,1Mbps demod,2Mbps demod,5.5Mbp"
"s demod"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  Port {
	    PortNumber		    1
	    Name		    "PPDU"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	    ShowSigGenPortName	    on
	  }
	  System {
	    Name		    "Demodulate and despread"
	    Location		    [148, 182, 646, 482]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Chips"
	      Position		      [20, 40, 40, 60]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "11Mbps demod"
	      Ports		      [1, 1]
	      Position		      [100, 40, 140, 80]
	      SourceBlock	      "WiFi_lib/11Mbps demod"
	      SourceType	      ""
	      ShowPortLabels	      on
	      Short_preamble	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "PPDU"
	      Position		      [200, 40, 220, 60]
	      IconDisplay	      "Port number"
	    }
	    Line {
	      SrcBlock		      "Chips"
	      SrcPort		      1
	      DstBlock		      "11Mbps demod"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "11Mbps demod"
	      SrcPort		      1
	      DstBlock		      "PPDU"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Move to frame\nboundary\n"
	  Ports			  [1, 1]
	  Position		  [525, 122, 595, 158]
	  SourceBlock		  "dspobslib/Integer Delay"
	  SourceType		  "Integer Delay"
	  delay			  "PPDU_size_chips-11"
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Move to symbol\nboundary\n"
	  Ports			  [1, 1]
	  Position		  [440, 121, 470, 159]
	  SourceBlock		  "dspobslib/Integer Delay"
	  SourceType		  "Integer Delay"
	  delay			  "Filter_delay_chips_correction"
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Rx Front"
	  Ports			  [1, 1]
	  Position		  [145, 110, 220, 170]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Rx Front"
	    Location		    [64, 344, 810, 512]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Signal"
	      Position		      [120, 73, 150, 87]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [585, 65, 615, 95]
	      ShowName		      off
	      Gain		      "1/Samples_per_chips"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Mix from"
	      Ports		      [1, 1]
	      Position		      [295, 56, 340, 104]
	      ShowName		      off
	      AttributesFormatString  "%<BlockChoice>"
	      LinkData {
		BlockName		"Mix from\ncenter frequency/Vector\nSc"
"ope"
		DialogParameters {
		  OpenScopeImmediately	  "off"
		  LineColors		  "[1 0 0]"
		  YMin			  "-1.35082863252636"
		  YMax			  "1.35082863252639"
		  LineStyles		  "--|--"
		  FigPos		  "[75 73 830 420]"
		}
	      }
	      ShowPortLabels	      off
	      BlockChoice	      "No mix from center frequency"
	      TemplateBlock	      "WiFi_lib/Mix from"
	      MemberBlocks	      "Mix from center frequency,No mix from c"
"enter frequency"
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"Mix from"
		Location		[148, 182, 646, 482]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In"
		  Position		  [20, 40, 40, 60]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Reference
		  Name			  "No mix from\ncenter frequency"
		  Ports			  [1, 1]
		  Position		  [100, 40, 140, 80]
		  SourceBlock		  "WiFi_lib/No mix from\ncenter freque"
"ncy"
		  SourceType		  "SubSystem"
		  ShowPortLabels	  on
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out"
		  Position		  [200, 40, 220, 60]
		  IconDisplay		  "Port number"
		}
		Line {
		  SrcBlock		  "In"
		  SrcPort		  1
		  DstBlock		  "No mix from\ncenter frequency"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "No mix from\ncenter frequency"
		  SrcPort		  1
		  DstBlock		  "Out"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Rx Pulse Shaping Filter"
	      Ports		      [1, 1]
	      Position		      [440, 51, 505, 109]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskType		      "Tx FIR Pulse Shaping Filter"
	      MaskDescription	      "The pulse shaping filter consits of a R"
"RC (Root Raised Cosinus) with roll-off factor of 0.22. The length of the FIR "
"filter is 96 coeffcients. "
	      MaskPromptString	      "Number of Filter Taps:|RRC Roll-off Fac"
"tor:|Oversampling Factor:"
	      MaskStyleString	      "edit,edit,edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipString	      "on,on,on"
	      MaskVarAliasString      ",,"
	      MaskVariables	      "numTaps=@1;beta=@2;N=@3;"
	      MaskInitialization      "h=N*firrcos(numTaps,5e6,beta,88e6,'roll"
"off','sqrt',numTaps/2,kaiser(numTaps+1,1));\nassignin('base','h',h );\n\n"
	      MaskDisplay	      "plot( 1:prod( size( h)), h);"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "Filter_order|.3|Samples_per_chips"
	      MaskTabNameString	      ",,"
	      System {
		Name			"Rx Pulse Shaping Filter"
		Location		[463, 223, 875, 455]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "   "
		  Position		  [40, 48, 70, 62]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Reference
		  Name			  "Direct-Form II\nTranspose Filter"
		  Ports			  [1, 1]
		  Position		  [160, 33, 230, 77]
		  ShowName		  off
		  SourceBlock		  "dsparch3/Direct-Form II\nTranspose "
"Filter"
		  SourceType		  "Direct-Form II Transpose Filter"
		  num			  "h"
		  den			  "1"
		  ic			  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  " "
		  Position		  [310, 48, 340, 62]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "   "
		  SrcPort		  1
		  DstBlock		  "Direct-Form II\nTranspose Filter"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Direct-Form II\nTranspose Filter"
		  SrcPort		  1
		  DstBlock		  " "
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Filtered"
	      Position		      [675, 73, 705, 87]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Signal"
	      SrcPort		      1
	      DstBlock		      "Mix from"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mix from"
	      SrcPort		      1
	      DstBlock		      "Rx Pulse Shaping Filter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Rx Pulse Shaping Filter"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Filtered"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "This subsystem is configured\nby the sy"
"stem parameters block"
	      Position		      [318, 148]
	      BackgroundColor	      "yellow"
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Sync to Chip"
	  Ports			  [1, 2]
	  Position		  [265, 102, 360, 178]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Sync to Chip"
	    Location		    [288, 282, 792, 536]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Rx Signal"
	      Position		      [65, 128, 95, 142]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Move to chip\nboundary"
	      Ports		      [1, 1]
	      Position		      [175, 116, 205, 154]
	      SourceBlock	      "dspobslib/Integer Delay"
	      SourceType	      "Integer Delay"
	      delay		      "Filter_delay_samples_correction"
	      ic		      "0"
	      reset_popup	      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Sample \nChip"
	      Ports		      [1, 1]
	      Position		      [285, 118, 320, 152]
	      SourceBlock	      "dspsigops/Downsample"
	      SourceType	      "Downsample"
	      N			      "Samples_per_chips"
	      phase		      "0"
	      ic		      "0"
	      smode		      "Allow multirate"
	      fmode		      "Maintain input frame size"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Chips"
	      Position		      [440, 128, 470, 142]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Rx Signal Aligned"
	      Position		      [440, 183, 470, 197]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Move to chip\nboundary"
	      SrcPort		      1
	      Points		      [30, 0]
	      Branch {
		DstBlock		"Sample \nChip"
		DstPort			1
	      }
	      Branch {
		Points			[0, 55]
		DstBlock		"Rx Signal Aligned"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sample \nChip"
	      SrcPort		      1
	      DstBlock		      "Chips"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Rx Signal"
	      SrcPort		      1
	      DstBlock		      "Move to chip\nboundary"
	      DstPort		      1

⌨️ 快捷键说明

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