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

📄 uwbsignaldetection.mdl

📁 该程序仿真超宽带的脉冲位置调制。是在MATLAB下实现的。
💻 MDL
字号:
Model {
  Name			  "uwbSignalDetection"
  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 09:47:31 2002"
  ModelVersionFormat	  "1.%<AutoIncrement:24>"
  ConfigurationManager	  "None"
  SimParamPage		  "Solver"
  StartTime		  "0.0"
  StopTime		  "0.1*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  on
  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		    "uwbSignalDetection"
    Location		    [194, 291, 830, 571]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "automatic"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      "S-Function"
      Name		      "Channel 1"
      Ports		      [1, 1]
      Position		      [315, 111, 385, 149]
      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		      [235, 115, 295, 145]
      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		      Constant
      Name		      "Constant"
      Position		      [60, 115, 90, 145]
      Value		      "0"
      VectorParams1D	      on
    }
    Block {
      BlockType		      "S-Function"
      Name		      "Detection 1"
      Ports		      [1]
      Position		      [402, 160, 498, 210]
      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		      "Modulation 1"
      Ports		      [1, 1]
      Position		      [115, 106, 205, 154]
      FunctionName	      "UWBmod"
      Parameters	      "modType,pulseType,sigPower,tau,Tf,Tc,delta,M,li"
"nk,xini,bitsPerHop,Ts"
      PortCounts	      "[]"
      SFunctionModules	      "''"
      MaskDescription	      "UWB Modulation"
      MaskPromptString	      "Modulation Type|Monocycle Pulse Type|Signal Pow"
"er [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 Symbol M (in case of PAM)|Link S"
"elector Number (Pilot=0)|Initial state of the register (# of the register = 5"
")|Length of PN segment per hop k ((2^k-1)*Tc < Tf)|Sampling Time [s]"
      MaskStyleString	      "popup(PAM|PPM),popup(Gaussian|Gaussian 1st Deri"
"vative|Gaussian 2nd Derivative|Manchester|Sine|Rectangle),edit,edit,edit,edit"
",edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "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"
      MaskVisibilityString    "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"
      MaskVariables	      "modType=&1;pulseType=&2;sigPower=@3;tau=@4;Tf=@"
"5;Tc=@6;delta=@7;M=@8;link=@9;xini=@10;bitsPerHop=@11;Ts=@12;"
      MaskDisplay	      "disp('Time Hopping\\nUWB modulation');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "PPM|Gaussian 2nd Derivative|uwb.MOD.sigPower|uw"
"b.MOD.tau|uwb.MOD.Tf|uwb.MOD.Tc|uwb.MOD.delta|uwb.SRC.M|0|uwb.MOD.xini|uwb.MO"
"D.bitsPerHop|uwb.Ts"
      MaskVariableAliases     ",,,,,,,,,,,"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [525, 114, 555, 146]
      Floating		      off
      Location		      [264, 416, 635, 584]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "2e-008          "
      YMin		      "-0.0015"
      YMax		      "0.0035"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Line {
      SrcBlock		      "Channel 2"
      SrcPort		      1
      DstBlock		      "Channel 1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Modulation 1"
      SrcPort		      1
      DstBlock		      "Channel 2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "Modulation 1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Channel 1"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
      Branch {
	DstBlock		"Detection 1"
	DstPort			1
      }
    }
  }
}

⌨️ 快捷键说明

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