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

📄 tes1b.mdl

📁 使用ppt对扩频通信的原理进行详细介绍,然后对其原理利用matlab7.0版本软件进行simulink仿真框图设计
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Relay
      OnSwitchValue	      "eps"
      OffSwitchValue	      "eps"
      OnOutputValue	      "1"
      OffOutputValue	      "0"
      OutputDataTypeScalingMode	"All ports same datatype"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      ConRadixGroup	      "Use specified scaling"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      PortCounts	      "[]"
      SFunctionModules	      "''"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      ZeroOrderHold
      SampleTime	      "1"
    }
  }
  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		    "tes1b"
    Location		    [2, 82, 1270, 753]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "112"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Delay"
      Ports		      [1, 1]
      Position		      [360, 480, 415, 520]
      SourceBlock	      "dspsigops/Delay"
      SourceType	      "Delay"
      dly_unit		      "Samples"
      delay		      "3"
      ic_detail		      off
      dif_ic_for_ch	      off
      dif_ic_for_dly	      off
      ic		      "0"
      reset_popup	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Delay1"
      Ports		      [1, 1]
      Position		      [370, 348, 415, 382]
      SourceBlock	      "dspsigops/Delay"
      SourceType	      "Delay"
      dly_unit		      "Samples"
      delay		      "15"
      ic_detail		      off
      dif_ic_for_ch	      off
      dif_ic_for_dly	      off
      ic		      "0"
      reset_popup	      "None"
    }
    Block {
      BlockType		      DiscreteIntegrator
      Name		      "Discrete-Time\nIntegrator"
      Ports		      [2, 1]
      Position		      [715, 314, 775, 381]
      IntegratorMethod	      "Integration: Forward Euler"
      ExternalReset	      "either"
      InitialConditionSource  "internal"
      ICPrevOutput	      "DiscIntNeverNeededParam"
      ICPrevScaledInput	      "DiscIntNeverNeededParam"
    }
    Block {
      BlockType		      DiscreteIntegrator
      Name		      "Discrete-Time\nIntegrator1"
      Ports		      [2, 1]
      Position		      [725, 488, 785, 557]
      IntegratorMethod	      "Integration: Forward Euler"
      ExternalReset	      "either"
      InitialConditionSource  "internal"
      ICPrevOutput	      "DiscIntNeverNeededParam"
      ICPrevScaledInput	      "DiscIntNeverNeededParam"
    }
    Block {
      BlockType		      Logic
      Name		      "NOT"
      Ports		      [1, 1]
      Position		      [365, 265, 405, 305]
      Operator		      "NOT"
      Inputs		      "1"
      AllPortsSameDT	      off
      LogicDataType	      "unit(8)"
    }
    Block {
      BlockType		      Logic
      Name		      "NOT1"
      Ports		      [1, 1]
      Position		      [365, 414, 405, 446]
      ShowName		      off
      Operator		      "NOT"
      Inputs		      "1"
      AllPortsSameDT	      off
      LogicDataType	      "sint(32)"
    }
    Block {
      BlockType		      Reference
      Name		      "PN Sequence\nGenerator"
      Ports		      [0, 1]
      Position		      [150, 393, 230, 437]
      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
      SourceType	      "PN Sequence Generator"
      poly		      "[1 1 0 0 1]"
      ini_sta		      "[0 1 0 0]"
      shift		      "0"
      Ts		      "1"
      frameBased	      off
      sampPerFrame	      "1"
      reset		      off
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse\nGenerator"
      Ports		      [0, 1]
      Position		      [550, 523, 595, 557]
      PulseType		      "Time based"
      Period		      "30"
      PulseWidth	      "50"
    }
    Block {
      BlockType		      Relay
      Name		      "Relay"
      Position		      [565, 180, 595, 210]
      OnSwitchValue	      "0.9"
      OffSwitchValue	      "0.1"
      OffOutputValue	      "-1"
      OutputDataTypeScalingMode	"Specify via dialog"
      OutDataType	      "float('double')"
    }
    Block {
      BlockType		      Relay
      Name		      "Relay1"
      Position		      [565, 335, 595, 365]
      OnSwitchValue	      "0.9"
      OffSwitchValue	      "0.1"
      OffOutputValue	      "-1"
      OutputDataTypeScalingMode	"Specify via dialog"
      OutDataType	      "float('double')"
    }
    Block {
      BlockType		      Relay
      Name		      "Relay2"
      Position		      [565, 250, 595, 280]
      OnSwitchValue	      "0.9"
      OffSwitchValue	      "0.1"
      OffOutputValue	      "-1"
      OutputDataTypeScalingMode	"Specify via dialog"
      OutDataType	      "float('double')"
    }
    Block {
      BlockType		      Relay
      Name		      "Relay3"
      Position		      [565, 425, 595, 455]
      OnSwitchValue	      "0.9"
      OffSwitchValue	      "0.1"
      OffOutputValue	      "-1"
      OutputDataTypeScalingMode	"Specify via dialog"
      OutDataType	      "float('double')"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [5]
      Position		      [825, 117, 890, 243]
      Location		      [364, 135, 994, 744]
      Open		      off
      NumInputPorts	      "5"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
      }
      TimeRange		      "60"
      YMin		      "-1.2~-1.2~-1.2~-5~-16"
      YMax		      "1.2~1.2~1.2~5~2"
      DataFormat	      "StructureWithTime"
      SampleInput	      on
      SampleTime	      "0.25"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [475, 50, 510, 100]
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      off
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "512"
      Overlap		      "256"
      inpFftLenInherit	      on
      FFTlength		      "512"
      numAvg		      "4"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "get(0,'defaultfigureposition')"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      InheritXIncr	      off
      XIncr		      "0.2"
      XLabel		      "Samples"
      YUnits		      "dB"
      YMin		      "-30"
      YMax		      "10"
      YLabel		      "Magnitude, dB"
      LineProperties	      off
    }
    Block {
      BlockType		      Logic
      Name		      "XOR\nExclusive OR"
      Ports		      [2, 1]
      Position		      [405, 175, 445, 215]
      Operator		      "XOR"
      AllPortsSameDT	      off
      LogicDataType	      "double"
    }
    Block {
      BlockType		      Logic
      Name		      "XOR\nExclusive OR1"
      Ports		      [2, 1]
      Position		      [460, 330, 500, 370]
      Operator		      "XOR"
      AllPortsSameDT	      off
    }
    Block {
      BlockType		      Logic
      Name		      "XOR\nExclusive OR2"
      Ports		      [2, 1]
      Position		      [460, 245, 500, 285]
      Operator		      "XOR"
      AllPortsSameDT	      off
    }
    Block {
      BlockType		      Logic
      Name		      "XOR\nExclusive OR3"
      Ports		      [2, 1]
      Position		      [460, 420, 500, 460]
      Operator		      "XOR"
      AllPortsSameDT	      off
    }
    Block {
      BlockType		      ZeroOrderHold
      Name		      "Zero-Order\nHold"
      Position		      [375, 56, 410, 94]
      SampleTime	      "0.2"
    }
    Line {
      SrcBlock		      "XOR\nExclusive OR"
      SrcPort		      1
      DstBlock		      "Relay"
      DstPort		      1
    }
    Line {
      SrcBlock		      "XOR\nExclusive OR2"
      SrcPort		      1
      DstBlock		      "Relay2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "XOR\nExclusive OR1"
      SrcPort		      1
      DstBlock		      "Relay1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "XOR\nExclusive OR3"
      SrcPort		      1
      DstBlock		      "Relay3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "NOT1"
      SrcPort		      1
      DstBlock		      "XOR\nExclusive OR3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Delay"
      SrcPort		      1
      Points		      [10, 0; 0, -50]
      DstBlock		      "XOR\nExclusive OR3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Delay1"
      SrcPort		      1
      Points		      [0, -5]
      DstBlock		      "XOR\nExclusive OR1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Relay"
      SrcPort		      1
      Points		      [35, 0; 0, -65]
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Relay2"
      SrcPort		      1
      Points		      [90, 0; 0, -110]
      DstBlock		      "Scope"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      Points		      [0, 0; 95, 0]
      Branch {
	Points			[0, -175]
	DstBlock		"Discrete-Time\nIntegrator"
	DstPort			2
      }
      Branch {
	DstBlock		"Discrete-Time\nIntegrator1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Discrete-Time\nIntegrator1"
      SrcPort		      1
      Points		      [20, 0]
      DstBlock		      "Scope"
      DstPort		      5
    }
    Line {
      SrcBlock		      "Relay3"
      SrcPort		      1
      Points		      [55, 0; 0, -110]
      Branch {
	DstBlock		"Discrete-Time\nIntegrator"
	DstPort			1
      }
      Branch {
	Points			[0, -150]
	DstBlock		"Scope"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Discrete-Time\nIntegrator"
      SrcPort		      1
      Points		      [10, 0; 0, -145]
      DstBlock		      "Scope"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Zero-Order\nHold"
      SrcPort		      1
      DstBlock		      "Spectrum\nScope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "NOT"
      SrcPort		      1
      Points		      [20, 0; 0, -10]
      DstBlock		      "XOR\nExclusive OR2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Relay1"
      SrcPort		      1
      Points		      [35, 0; 0, 155]
      DstBlock		      "Discrete-Time\nIntegrator1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "PN Sequence\nGenerator"
      SrcPort		      1
      Points		      [0, 0; 35, 0]
      Branch {
	Points			[45, 0]
	Branch {
	  Points		  [0, 10]
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Delay"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [35, 0]
	    DstBlock		    "NOT1"
	    DstPort		    1
	  }
	}
	Branch {
	  Points		  [0, -50]
	  Branch {
	    DstBlock		    "Delay1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -25]
	    Branch {
	      Points		      [0, -55]
	      Branch {
		DstBlock		"NOT"
		DstPort			1
	      }
	      Branch {
		Points			[0, -30]
		DstBlock		"XOR\nExclusive OR2"
		DstPort			1
	      }
	    }
	    Branch {
	      DstBlock		      "XOR\nExclusive OR1"
	      DstPort		      1
	    }
	  }
	}
      }
      Branch {
	Points			[0, -230]
	Branch {
	  Points		  [0, -110]
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Branch {
	  Points		  [40, 0]
	  Branch {
	    DstBlock		    "XOR\nExclusive OR"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "XOR\nExclusive OR"
	    DstPort		    2
	  }
	}
      }
    }
  }
}

⌨️ 快捷键说明

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