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

📄 ds_uwb200msys.mdl

📁 DS-UWB的仿真框图
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  ShowName		  off
	  Value			  "WAGN"
	}
	Block {
	  BlockType		  Reference
	  Name			  "DSP\nConstant"
	  Ports			  [0, 1]
	  Position		  [125, 209, 245, 241]
	  ShowName		  off
	  SourceBlock		  "dspsrcs4/DSP\nConstant"
	  SourceType		  "DSP Constant"
	  Value			  "10.^(-0.1*Channel.SNR)"
	  SampleMode		  "Discrete"
	  discreteOutput	  "Sample-based"
	  continuousOutput	  "Sample-based"
	  sampTime		  "-1"
	  framePeriod		  "120"
	  additionalParams	  off
	  dataType		  "Inherit from 'Constant value'"
	  wordLen		  "16"
	  udDataType		  "sfix(16)"
	  fracBitsMode		  "Best precision"
	  numFracBits		  "15"
	  InterpretAs1D		  "-inf"
	  Ts			  "-inf"
	  FramebasedOutput	  "-inf"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Digital Filter"
	  Ports			  [1, 1]
	  Position		  [165, 122, 250, 178]
	  SourceBlock		  "dsparch4/Digital Filter"
	  SourceType		  "Digital Filter"
	  TypePopup		  "FIR (all zeros)"
	  IIRFiltStruct		  "Direct form II transposed"
	  AllPoleFiltStruct	  "Direct form"
	  FIRFiltStruct		  "Direct form"
	  CoeffSource		  "Specify via dialog"
	  NumCoeffs		  "Channel.h"
	  DenCoeffs		  "[1 0.1]"
	  BiQuadCoeffs		  "[1 0.3 0.4 1 0.1 0.2]"
	  LatticeCoeffs		  "[0.2 0.4]"
	  denIgnore		  on
	  FiltPerSampPopup	  "One filter per frame"
	  IC			  "0"
	  ICnum			  "0"
	  ICden			  "0"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [460, 270, 490, 300]
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [555, 278, 585, 292]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Digital Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DSP\nConstant"
	  SrcPort		  1
	  Points		  [80, 0]
	  DstBlock		  "AWGN\nChannel"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Digital Filter"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    DstBlock		    "AWGN\nChannel"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 145]
	    DstBlock		    "Switch"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "Out2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "AWGN\nChannel"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Switch"
	  DstPort		  1
	}
	Annotation {
	  Position		  [556, 346]
	}
	Annotation {
	  Position		  [566, 371]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "6RAKE"
      Ports		      [1, 1]
      Position		      [435, 254, 495, 346]
      Orientation	      "left"
      FontName		      "Arial"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MaskType		      "RAKE"
      MaskDescription	      "各径合成增益系数由合并方式决定\n"
      MaskPromptString	      "参考波形RefWave|首、末径最大时差DSample=K*Tb/Ts"
"|同步多径编号(长度为10的矢量)P.idx|分集合并方式"
      MaskStyleString	      "edit,edit,edit,popup(EG|MR|MMSE|WSMR)"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "RefWave=@1;DSample=@2;idx=@3;method=@4;"
      MaskInitialization      "Channel=evalin('base','Channel');\nif method==1"
"\n	P.Gain=Channel.CoffEG;\n	P.EquaCoff=Channel.EquaCoffEG;\nels"
"eif method==2\n	P.Gain=Channel.CoffMR/sum(Channel.CoffMR.^2);\n"
"	P.EquaCoff=Channel.EquaCoffMR;\nelseif method==3\n	P.Gain=Chan"
"nel.CoffMMSE;\n	P.EquaCoff=Channel.EquaCoffMMSE;\nelse\n	P.Gain"
"=Channel.CoffWSMR;\n	P.EquaCoff=Channel.EquaCoffWSMR;\nend\n	i="
"1:max(idx);\n    EnergyFliter(Channel.SigPath(i))=P.Gain;\nassignin('base','P"
"',P);	\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "fliplr(Plus.PnWave)|50*xtcs.Tb/xtcs.Ts|1:xtcs.T"
"aps|EG"
      System {
	Name			"6RAKE"
	Location		[179, 82, 991, 743]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	78
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Rcv"
	  Position		  [40, 117, 75, 133]
	  NamePlacement		  "alternate"
	}
	Block {
	  BlockType		  DiscretePulseGenerator
	  Name			  "\n信息码元时钟"
	  Position		  [40, 178, 85, 212]
	  NamePlacement		  "alternate"
	  Period		  "xtcs.Tb/xtcs.Ts"
	  PulseWidth		  "xtcs.Tb/xtcs.Ts-1"
	  SampleTime		  "xtcs.Ts"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Digital Filter"
	  Ports			  [1, 1]
	  Position		  [135, 97, 200, 153]
	  ShowName		  off
	  SourceBlock		  "dsparch4/Digital Filter"
	  SourceType		  "Digital Filter"
	  TypePopup		  "FIR (all zeros)"
	  IIRFiltStruct		  "Direct form II transposed"
	  AllPoleFiltStruct	  "Direct form"
	  FIRFiltStruct		  "Direct form"
	  CoeffSource		  "Specify via dialog"
	  NumCoeffs		  "RefWave"
	  DenCoeffs		  "[1 0.1]"
	  BiQuadCoeffs		  "[1 0.3 0.4 1 0.1 0.2]"
	  LatticeCoeffs		  "[0.2 0.4]"
	  denIgnore		  on
	  FiltPerSampPopup	  "One filter per frame"
	  IC			  "0"
	  ICnum			  "0"
	  ICden			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Digital Filter1"
	  Ports			  [1, 1]
	  Position		  [245, 97, 310, 153]
	  ShowName		  off
	  SourceBlock		  "dsparch4/Digital Filter"
	  SourceType		  "Digital Filter"
	  TypePopup		  "FIR (all zeros)"
	  IIRFiltStruct		  "Direct form II transposed"
	  AllPoleFiltStruct	  "Direct form"
	  FIRFiltStruct		  "Direct form"
	  CoeffSource		  "Specify via dialog"
	  NumCoeffs		  "fliplr(EnergyFliter)"
	  DenCoeffs		  "[1 0.1]"
	  BiQuadCoeffs		  "[1 0.3 0.4 1 0.1 0.2]"
	  LatticeCoeffs		  "[0.2 0.4]"
	  denIgnore		  on
	  FiltPerSampPopup	  "One filter per frame"
	  IC			  "0"
	  ICnum			  "0"
	  ICden			  "0"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Enabled\nSubsystem"
	  Ports			  [1, 1, 0, 1]
	  Position		  [355, 105, 405, 145]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  TreatAsAtomicUnit	  on
	  System {
	    Name		    "Enabled\nSubsystem"
	    Location		    [179, 82, 991, 743]
	    Open		    off
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [100, 103, 130, 117]
	    }
	    Block {
	      BlockType		      TriggerPort
	      Name		      "Trigger"
	      Ports		      []
	      Position		      [210, 25, 230, 45]
	      TriggerType	      "falling"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [415, 103, 445, 117]
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Variable\nInteger Delay2"
	  Ports			  [2, 1]
	  Position		  [270, 185, 330, 225]
	  SourceBlock		  "dspsigops/Variable\nInteger Delay"
	  SourceType		  "Variable Integer Delay"
	  dmax			  "6000"
	  ic			  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "延时信息"
	  Position		  [140, 200, 210, 230]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Value			  "max(Channel.SigPath)-length(Plus.PnWave)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "TbVa"
	  Position		  [530, 118, 560, 132]
	}
	Line {
	  SrcBlock		  "Rcv"
	  SrcPort		  1
	  DstBlock		  "Digital Filter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "\n信息码元时钟"
	  SrcPort		  1
	  DstBlock		  "Variable\nInteger Delay2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Enabled\nSubsystem"
	  SrcPort		  1
	  DstBlock		  "TbVa"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Digital Filter"
	  SrcPort		  1
	  DstBlock		  "Digital Filter1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Digital Filter1"
	  SrcPort		  1
	  DstBlock		  "Enabled\nSubsystem"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Variable\nInteger Delay2"
	  SrcPort		  1
	  Points		  [45, 0]
	  DstBlock		  "Enabled\nSubsystem"
	  DstPort		  trigger
	}
	Line {
	  SrcBlock		  "延时信息"
	  SrcPort		  1
	  DstBlock		  "Variable\nInteger Delay2"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "7Equalizer"
      Ports		      [1, 1]
      Position		      [330, 259, 390, 341]
      Orientation	      "left"
      FontSize		      12
      TreatAsAtomicUnit	      off
      MaskType		      "均衡器"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"7Equalizer"
	Location		[179, 82, 991, 743]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tbout"
	  Position		  [20, 138, 50, 152]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Downsample"
	  Ports			  [1, 1]
	  Position		  [85, 128, 120, 162]
	  ShowName		  off
	  SourceBlock		  "dspsigops/Downsample"
	  SourceType		  "Downsample"
	  N			  "64"
	  phase			  "0"
	  ic			  "0"
	  smode			  "Allow multirate"
	  fmode			  "Maintain input frame size"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [135, 200, 165, 230]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "P.EquaCoff(5)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [195, 200, 225, 230]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "P.EquaCoff(4)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [255, 200, 285, 230]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "P.EquaCoff(3)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [325, 200, 355, 230]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "P.EquaCoff(2)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [385, 200, 415, 230]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "P.EquaCoff(1)"
	}
	Block {
	  BlockType		  Memory
	  Name			  "Memory"
	  Position		  [165, 130, 195, 160]
	  ShowName		  off
	  InheritSampleTime	  on
	}
	Block {
	  BlockType		  Memory
	  Name			  "Memory1"
	  Position		  [230, 130, 260, 160]
	  ShowName		  off
	  InheritSampleTime	  on
	}
	Block {
	  BlockType		  Memory
	  Name			  "Memory2"
	  Position		  [295, 130, 325, 160]
	  ShowName		  off
	  InheritSampleTime	  on
	}
	Block {
	  BlockType		  Memory
	  Name			  "Memory3"
	  Position		  [360, 130, 390, 160]
	  ShowName		  off
	  InheritSampleTime	  on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [5, 1]
	  Position		  [380, 255, 410, 285]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+++++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Requa"
	  Position		  [485, 263, 515, 277]
	}

⌨️ 快捷键说明

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