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

📄 bluetooth_lib2.mdl

📁 关于蓝牙的很好的仿真程序(simulink加matlab)
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      SrcPort		      1
	      Points		      [0, 5]
	      DstBlock		      "If rate set to 999\nturn-on always"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mode2"
	      SrcPort		      1
	      Points		      [0, -5]
	      DstBlock		      "If rate set to 999\nturn-on always"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Square pulse with\nPoisson process"
	  Ports			  [0, 1]
	  Position		  [35, 75, 100, 115]
	  TreatAsAtomicUnit	  off
	  MaskType		  "Poisson process"
	  MaskPromptString	  "Average Rate (1/sec)|Mean Length|Length Var"
"iance|Seed"
	  MaskStyleString	  "edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on"
	  MaskCallbackString	  "|||"
	  MaskEnableString	  "on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on"
	  MaskToolTipString	  "on,on,on,on"
	  MaskVarAliasString	  ",,,"
	  MaskVariables		  "rate=@1;m=@2;v=@3;seed=@4;"
	  MaskDisplay		  "plot(exp(-(0:.4:3)))"
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "adjusted_rate|m|v|rate_seed"
	  System {
	    Name		    "Square pulse with\nPoisson process"
	    Location		    [371, 166, 721, 291]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [0, 1]
	      Position		      [85, 51, 190, 79]
	      FunctionName	      "poiss_gaus_prc"
	      Parameters	      "adjusted_rate,m,v,seed"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "hit"
	      Position		      [215, 58, 245, 72]
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "S-Function"
	      SrcPort		      1
	      DstBlock		      "hit"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [500, 178, 530, 192]
	}
	Line {
	  SrcBlock		  "Buffer to same\nframe-size\nas channel"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Enable control"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "22MHz noise in\n100MHz signal"
	  DstPort		  enable
	}
	Line {
	  SrcBlock		  "Square pulse with\nPoisson process"
	  SrcPort		  1
	  DstBlock		  "1/110packet\nresolution"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1/110packet\nresolution"
	  SrcPort		  1
	  DstBlock		  "Enable control"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "22MHz noise in\n100MHz signal"
	  SrcPort		  1
	  DstBlock		  "Buffer to same\nframe-size\nas channel"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "AWGN"
      Ports		      [3, 3]
      Position		      [280, 215, 375, 275]
      TreatAsAtomicUnit	      off
      System {
	Name			"AWGN"
	Location		[168, 133, 869, 665]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tx1"
	  Position		  [50, 73, 80, 87]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tx2"
	  Position		  [55, 428, 85, 442]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Interferer"
	  Position		  [55, 528, 85, 542]
	  Port			  "3"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel1"
	  Ports			  [1, 1]
	  Position		  [165, 59, 245, 101]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "awgn_channel_seed"
	  noiseMode		  "Signal to noise ratio  (Es/No)"
	  EsNodB		  "EsNo"
	  SNRdB			  "10"
	  Ps			  "0.001"
	  Tsym			  "1e-6"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel2"
	  Ports			  [1, 1]
	  Position		  [165, 414, 245, 456]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "awgn_channel_seed"
	  noiseMode		  "Signal to noise ratio  (Es/No)"
	  EsNodB		  "EsNo"
	  SNRdB			  "10"
	  Ps			  "0.001"
	  Tsym			  "1e-6"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss1"
	  Ports			  [1, 1]
	  Position		  [325, 415, 385, 455]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.001"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss2"
	  Ports			  [1, 1]
	  Position		  [330, 280, 390, 320]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.0005"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss3"
	  Ports			  [1, 1]
	  Position		  [325, 185, 385, 225]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.0005"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss4"
	  Ports			  [1, 1]
	  Position		  [320, 60, 380, 100]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.001"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [430, 240, 450, 260]
	  ShowName		  off
	  IconShape		  "round"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [150, 525, 170, 545]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Rx2"
	  Position		  [540, 73, 570, 87]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Rx1"
	  Position		  [550, 428, 580, 442]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Probe"
	  Position		  [535, 243, 565, 257]
	  Port			  "3"
	}
	Line {
	  SrcBlock		  "AWGN\nChannel1"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 125]
	    DstBlock		    "BT Path Loss3"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "BT Path Loss4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Tx1"
	  SrcPort		  1
	  DstBlock		  "AWGN\nChannel1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Interferer"
	  SrcPort		  1
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tx2"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "AWGN\nChannel2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -135]
	    DstBlock		    "BT Path Loss2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "AWGN\nChannel2"
	  SrcPort		  1
	  DstBlock		  "BT Path Loss1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "BT Path Loss4"
	  SrcPort		  1
	  DstBlock		  "Rx2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "BT Path Loss1"
	  SrcPort		  1
	  DstBlock		  "Rx1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Probe"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "BT Path Loss3"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "BT Path Loss2"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "AWGN and 802"
      Ports		      [3, 3]
      Position		      [280, 315, 375, 375]
      TreatAsAtomicUnit	      off
      System {
	Name			"AWGN and 802"
	Location		[127, 98, 965, 704]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tx1"
	  Position		  [55, 63, 85, 77]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tx2"
	  Position		  [55, 473, 85, 487]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Interferer"
	  Position		  [60, 548, 90, 562]
	  Port			  "3"
	}
	Block {
	  BlockType		  Reference
	  Name			  "802 Path Loss1"
	  Ports			  [1, 1]
	  Position		  [470, 115, 530, 155]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.001"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "802 Path Loss2"
	  Ports			  [1, 1]
	  Position		  [200, 255, 260, 295]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.0005"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "802 Path Loss5"
	  Ports			  [1, 1]
	  Position		  [470, 395, 530, 435]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.001"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel1"
	  Ports			  [1, 1]
	  Position		  [170, 49, 250, 91]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "awgn_channel_seed"
	  noiseMode		  "Signal to noise ratio  (Es/No)"
	  EsNodB		  "EsNo"
	  SNRdB			  "10"
	  Ps			  "0.001"
	  Tsym			  "1e-6"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel2"
	  Ports			  [1, 1]
	  Position		  [170, 459, 250, 501]
	  ShowName		  off
	  SourceBlock		  "commchan2/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  seed			  "awgn_channel_seed"
	  noiseMode		  "Signal to noise ratio  (Es/No)"
	  EsNodB		  "EsNo"
	  SNRdB			  "10"
	  Ps			  "0.001"
	  Tsym			  "1e-6"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss1"
	  Ports			  [1, 1]
	  Position		  [345, 460, 405, 500]
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.001"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss2"
	  Ports			  [1, 1]
	  Position		  [350, 305, 410, 345]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.0005"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss3"
	  Ports			  [1, 1]
	  Position		  [345, 210, 405, 250]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"
	  SourceBlock		  "commrflib2/Free Space\nPath Loss"
	  SourceType		  "Free Space Path Loss"
	  mode			  "Distance and Frequency"
	  dB			  "10"
	  d			  "0.0005"
	  fc			  "2400"
	}
	Block {
	  BlockType		  Reference
	  Name			  "BT Path Loss4"
	  Ports			  [1, 1]
	  Position		  [350, 50, 410, 90]
	  ShowName		  off
	  AttributesFormatString  "Distance: %<d>km"

⌨️ 快捷键说明

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