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

📄 uwbcom.mdl

📁 该程序仿真超宽带的脉冲位置调制。是在MATLAB下实现的。
💻 MDL
📖 第 1 页 / 共 2 页
字号:
Model {
  Name			  "uwbCom"
  Version		  4.00
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  off
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  ShowStorageClass	  off
  ExecutionOrder	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "dw"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockNameDataTip	  off
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Thu Aug 22 17:07:50 2002"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "Youngjae Kim"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Tue Aug 27 17:30:39 2002"
  ModelVersionFormat	  "1.%<AutoIncrement:54>"
  ConfigurationManager	  "None"
  SimParamPage		  "Solver"
  StartTime		  "0.0"
  StopTime		  "100*uwb.SRC.T"
  SolverMode		  "Auto"
  Solver		  "FixedStepDiscrete"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "uwb.Ts"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Array"
  LimitDataPoints	  on
  MaxDataPoints		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  SingleTaskRateTransMsg  "none"
  MultiTaskRateTransMsg	  "error"
  IntegerOverflowMsg	  "warning"
  CheckForMatrixSingularity "none"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  InvalidFcnCallConnMsg	  "error"
  SignalLabelMismatchMsg  "none"
  LinearizationMsg	  "none"
  VectorMatrixConversionMsg "none"
  SfunCompatibilityCheckMsg "none"
  BlockPriorityViolationMsg "warning"
  ArrayBoundsChecking	  "none"
  ConsistencyChecking	  "none"
  ZeroCross		  on
  Profile		  off
  SimulationMode	  "normal"
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "normal"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  on
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock on
  OptimizeBlockIOStorage  off
  BufferReuse		  on
  ParameterPooling	  on
  BlockReductionOpt	  on
  RTWExpressionDepthLimit 5
  BooleanDataType	  off
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  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		    "uwbCom"
    Location		    [44, 96, 974, 547]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "automatic"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "98"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      "S-Function"
      Name		      "Acquisition 1"
      Ports		      [1]
      Position		      [605, 160, 665, 190]
      FunctionName	      "acquisition"
      Parameters	      "threshold,numPulse2Observe,falseAlarm,Np,tau,Ts"
",Ep"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Threshold (%) (Perfect=100%)|Number of Pulses t"
"o observe|False Alarm Threshold (%)|PN Code Period Np|Impulse width tau [s]|S"
"ampling Time [s]|Monocycle Signal Energy Ep (J)"
      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	      "threshold=@1;numPulse2Observe=@2;falseAlarm=@3;"
"Np=@4;tau=@5;Ts=@6;Ep=@7;"
      MaskDisplay	      "disp('Acquisition');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "uwb.RCV.acquisitionThreshold|uwb.MOD.Ns|uwb.RCV"
".falseAlarmThreshold|uwb.MOD.Np|uwb.MOD.tau|uwb.Ts|uwb.MOD.Ep"
      MaskVariableAliases     ",,,,,,"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Channel 1"
      Ports		      [1, 1]
      Position		      [350, 221, 420, 259]
      FunctionName	      "AWGNchan"
      Parameters	      "noisePower"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Noise Power (dBm)"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "noisePower=@1;"
      MaskDisplay	      "disp('AWGN');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "uwb.CHN.noisePower"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Channel 2"
      Ports		      [1, 1]
      Position		      [270, 225, 330, 255]
      FunctionName	      "chanDelay"
      Parameters	      "delay, Ts"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Channel Delay [s]|Sampling Time [s]"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVariables	      "delay=@1;Ts=@2;"
      MaskDisplay	      "disp('Delay');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "uwb.CHN.delay|uwb.Ts"
      MaskVariableAliases     ","
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Data Source"
      Ports		      [0, 1]
      Position		      [35, 205, 105, 255]
      FunctionName	      "UWBPPMDataSource"
      Parameters	      "sigPower,tau,Tf,Tc,delta,M,link,xini,dataOnStat"
"e,bitsPerHop,Ns,Np,Ts"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Signal Power [dBm]|Impulse width tau [s]|Frame "
"Time Tf [s]|Time Hopping Unit Time Tc [s]|Time Shift delta[s] (In case of PPM"
")|M-ary (power of 2)|Link Selector Number (Pilot=0)|Initial state of the regi"
"ster (# of the register = 5)|Source Data on State|Length of PN segment per ho"
"p k ((2^k-1)*Tc < Tf)|Symbol Time in multiples of Tf (Ns)|PN Code Period Np|S"
"ampling Time [s]"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit,edit,edit,ed"
"it,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskCallbackString      "||||||||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on,on,on,on"
      MaskVariables	      "sigPower=@1;tau=@2;Tf=@3;Tc=@4;delta=@5;M=@6;li"
"nk=@7;xini=@8;dataOnState=@9;bitsPerHop=@10;Ns=@11;Np=@12;Ts=@13;"
      MaskDisplay	      "disp('M-ary\\nData\\nSource');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "uwb.MOD.sigPower|uwb.MOD.tau|uwb.MOD.Tf|uwb.MOD"
".Tc|uwb.MOD.delta|uwb.SRC.M|uwb.SRC.link|uwb.MOD.xini|uwb.SRC.dataOnState|uwb"
".MOD.bitsPerHop|uwb.MOD.Ns|uwb.MOD.Np|uwb.Ts"
      MaskVariableAliases     ",,,,,,,,,,,,"
    }
    Block {
      BlockType		      Scope
      Name		      "Demodulated"
      Ports		      [1]
      Position		      [875, 240, 905, 270]
      Floating		      off
      Location		      [6, 559, 737, 733]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "1e-006"
      YMin		      "0"
      YMax		      "3"
      SaveToWorkspace	      off
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "20*uwb.SRC.T/uwb.Ts"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Demodulator 1"
      Ports		      [1, 1]
      Position		      [765, 232, 835, 278]
      FunctionName	      "IntegrateDemod"
      Parameters	      "Tf,M,Ns,Np,Ts"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Frame Time Tf [s]|M-ary (power of 2)|Symbol Tim"
"e in multiples of Tf (Ns)|PN Code Period Np|Sampling Time [s]"
      MaskStyleString	      "edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on"
      MaskCallbackString      "||||"
      MaskEnableString	      "on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on"
      MaskVariables	      "Tf=@1;M=@2;Ns=@3;Np=@4;Ts=@5;"
      MaskDisplay	      "disp('Integrate&\\nDemodulator');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "uwb.MOD.Tf|uwb.SRC.M|uwb.MOD.Ns|uwb.MOD.Np|uwb."
"Ts"
      MaskVariableAliases     ",,,,"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 2]
      Position		      [125, 211, 130, 249]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "2"
      BusSelectionMode	      off
    }
    Block {
      BlockType		      Demux
      Name		      "Demux1"
      Ports		      [1, 2]
      Position		      [675, 245, 680, 280]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "uwb.SRC.M"
      BusSelectionMode	      off
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Detection 1"
      Ports		      [1]
      Position		      [497, 325, 593, 375]
      Orientation	      "down"
      NamePlacement	      "alternate"
      FunctionName	      "uwbDetection"
      Parameters	      "threshold,tau,Ts,Ep"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Threshold (%) (Perfect=100%)|Impulse width tau "
"[s]|Sampling Time [s]|Monocycle Signal Energy Ep (J)"
      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"
      MaskVariables	      "threshold=@1;tau=@2;Ts=@3;Ep=@4;"
      MaskDisplay	      "disp('Correlation-Based\\nUWB Signal\\nDetectio"
"n');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "uwb.RCV.detectThreshold|uwb.MOD.tau|uwb.Ts|uwb."
"MOD.Ep"
      MaskVariableAliases     ",,,"
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Local Pilot"
      Ports		      [0, 1]
      Position		      [505, 75, 585, 115]
      Orientation	      "down"
      NamePlacement	      "alternate"
      FunctionName	      "PilotTemplateGen"
      Parameters	      "tau,Tf,Tc,xini,bitsPerHop,Np,Ts"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskPromptString	      "Impulse width parameter tau [s]|Frame Time Tf ["

⌨️ 快捷键说明

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