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

📄 uwb.mdl

📁 该程序仿真超宽带的脉冲位置调制。是在MATLAB下实现的。
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "1e-006"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Demodulated Data"
      Ports		      [1]
      Position		      [665, 154, 695, 186]
      Floating		      off
      Location		      [19, 645, 1001, 743]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "1e-006"
      YMin		      "0"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Modulation 1"
      Ports		      [1, 1]
      Position		      [190, 131, 280, 189]
      FunctionName	      "UWBmodulation"
      Parameters	      "A,tau,Tf,Tc,delta, xini,bitsPerHop"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Amplitude A|Impulse width parameter tau [s]|Fra"
"me Time Tf [s]|Chip Time Tc [s]|Delta d [s]|Initial state of the register (# "
"of the register = 5)|Length of PN segment per hop k ((2^k-1)*Tc < Tf)"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on,on"
      MaskCallbackString      "||||||"
      MaskEnableString	      "on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on"
      MaskVariables	      "A=@1;tau=@2;Tf=@3;Tc=@4;delta=@5;xini=@6;bitsPe"
"rHop=@7;"
      MaskDisplay	      "disp('Time Hopping\\nBPPM\\nUWB modulation');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "param.A|param.tau|param.Tf|param.Tc|param.delta"
"|param.xini|param.bitsPerHop"
      MaskVariableAliases     ",,,,,,"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [465, 151, 510, 184]
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Sample & Hold"
      Ports		      [1, 1]
      Position		      [555, 147, 625, 193]
      FunctionName	      "IntegrateSample"
      Parameters	      "SampleTime"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Sample Time Ns*Tf [s]"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "SampleTime=@1;"
      MaskDisplay	      "disp('Integrate\\nSample&Hold');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "param.T"
    }
    Block {
      BlockType		      Scope
      Name		      "Source"
      Ports		      [1]
      Position		      [215, 69, 245, 101]
      Floating		      off
      Location		      [6, 53, 992, 163]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "on"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "1e-006"
      YMin		      "-0.1"
      YMax		      "1.1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Source 1"
      Ports		      [0, 1]
      Position		      [85, 144, 150, 176]
      FunctionName	      "BPPMsource"
      Parameters	      "T"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskDescription	      "Binary Data Source"
      MaskPromptString	      "Symbol Period T=Ns*Tf (s)"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "T=@1;"
      MaskDisplay	      "disp('BPPM\\nSource');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "param.T"
    }
    Block {
      BlockType		      Scope
      Name		      "Template"
      Ports		      [1]
      Position		      [470, 219, 500, 251]
      Floating		      off
      Location		      [14, 409, 996, 510]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "1e-006"
      YMin		      "-2"
      YMax		      "2"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Template Gen."
      Ports		      [0, 1]
      Position		      [335, 215, 415, 255]
      FunctionName	      "TemplateGenerator"
      Parameters	      "tau,Tf,Tc,delta,xini,bitsPerHop"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Impulse width parameter tau [s]|Frame Time Tf ["
"s]|Chip Time Tc [s]|Delta d [s]|Initial state of the register (# of the regis"
"ter = 5)|Length of PN segment per hop k ((2^k-1)*Tc < Tf)"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on"
      MaskCallbackString      "|||||"
      MaskEnableString	      "on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on"
      MaskVariables	      "tau=@1;Tf=@2;Tc=@3;delta=@4;xini=@5;bitsPerHop="
"@6;"
      MaskDisplay	      "disp('Template\\nGenerator');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "param.tau|param.Tf|param.Tc|param.delta|param.x"
"ini|param.bitsPerHop"
      MaskVariableAliases     ",,,,,"
    }
    Block {
      BlockType		      Scope
      Name		      "Transmitted UWB"
      Ports		      [1]
      Position		      [345, 64, 375, 96]
      Floating		      off
      Location		      [9, 172, 993, 286]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "1e-006"
      YMin		      "-1"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Line {
      SrcBlock		      "Source 1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Modulation 1"
	DstPort			1
      }
      Branch {
	Points			[0, -75]
	DstBlock		"Source"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Modulation 1"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"AWGN\nChannel"
	DstPort			1
      }
      Branch {
	Points			[0, -80]
	DstBlock		"Transmitted UWB"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	DstBlock		"Product"
	DstPort			1
      }
      Branch {
	Points			[0, -50]
	DstBlock		"After Noise"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Template Gen."
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, -60]
	DstBlock		"Product"
	DstPort			2
      }
      Branch {
	DstBlock		"Template"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Sample & Hold"
	DstPort			1
      }
      Branch {
	Points			[0, -70]
	DstBlock		"After being multiplied with the template"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sample & Hold"
      SrcPort		      1
      DstBlock		      "Demodulated Data"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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