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

📄 dc_2.mdl

📁 采用SIMULINK仿真一个完整的GSM通信系统
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Labels		  [3, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [5, 0; 0, 75]
	  DstBlock		  "Tx Mix 2"
	  DstPort		  1
	}
	Line {
	  Name			  "I_lo"
	  Labels		  [3, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [5, 0; 0, -70]
	  DstBlock		  "Tx Mix 1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Tx Quadrature \nSine Wave\nat Fc"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Interferer Level"
      Ports		      [1, 1]
      Position		      [270, 195, 300, 225]
      SourceBlock	      "simulink/Math\nOperations/Slider\nGain"
      SourceType	      "Slider Gain"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      low		      "0"
      gain		      "0"
      high		      "10"
    }
    Block {
      BlockType		      SubSystem
      Name		      "RF Spectrum Analyzer (Image Reject)1"
      Description	      "Spectrum Analyzer"
      Ports		      [1]
      Position		      [410, 158, 535, 212]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskPromptString	      "Bandwidth|Center Freq"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "BW=@1;Fc=@2;"
      MaskDisplay	      "fprintf('Spectrum Analyzer \\n Fc=%7.2f MHz \\n BW=%7.2f MHz',Fc/1e6,BW/1e6)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "100e6|Fc"
      MaskTabNameString	      ","
      System {
	Name			"RF Spectrum Analyzer (Image Reject)1"
	Location		[120, 123, 850, 355]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Input Signal"
	  Position		  [20, 102, 60, 118]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  RealImagToComplex
	  Name			  "Real-Imag to\nComplex"
	  Ports			  [2, 1]
	  Position		  [510, 98, 540, 127]
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave1"
	  Ports			  [0, 1]
	  Position		  [25, 35, 55, 65]
	  ShowName		  off
	  Amplitude		  "1/7.2"
	  Frequency		  "2*pi*(Fc)"
	  Phase			  "-pi/2"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave2"
	  Ports			  [0, 1]
	  Position		  [25, 160, 55, 190]
	  ShowName		  off
	  Amplitude		  "1/7.2"
	  Frequency		  "2*pi*(Fc)"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope"
	  Ports			  [1]
	  Position		  [615, 90, 650, 140]
	  DialogController	  "dspdialog.SpectrumScope"
	  DialogControllerArgs	  "DataTag2"
	  SourceBlock		  "dspsnks4/Spectrum\nScope"
	  SourceType		  "Spectrum Scope"
	  ShowPortLabels	  "none"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  ScopeProperties	  on
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "256"
	  Overlap		  "0"
	  inpFftLenInherit	  off
	  FFTlength		  "128"
	  numAvg		  "20"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "[10 31 298 242]"
	  AxisProperties	  off
	  XUnits		  "Hertz"
	  XRange		  "[-Fs/2...Fs/2]"
	  XDisplay		  "0"
	  InheritXIncr		  on
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  XLimit		  "Auto"
	  YUnits		  "dB"
	  XMax			  "1"
	  XMin			  "0"
	  YMin			  "-70"
	  YMax			  "20"
	  YLabel		  "Magnitude, dB"
	  LineProperties	  off
	  wintypeSpecScope	  "Hann"
	  RsSpecScope		  "50"
	  betaSpecScope		  "5"
	  winsampSpecScope	  "Periodic"
	}
	Block {
	  BlockType		  Reference
	  Name			  "anti alias"
	  Ports			  [1, 1]
	  Position		  [250, 32, 315, 88]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Elliptic"
	  filttype		  "Lowpass"
	  N			  "9"
	  Wlo			  "BW*pi"
	  Whi			  "80"
	  Rp			  "1.2"
	  Rs			  "100"
	}
	Block {
	  BlockType		  Reference
	  Name			  "anti alias1"
	  Ports			  [1, 1]
	  Position		  [250, 142, 315, 198]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Elliptic"
	  filttype		  "Lowpass"
	  N			  "9"
	  Wlo			  "BW*pi"
	  Whi			  "80"
	  Rp			  "1.2"
	  Rs			  "100"
	}
	Block {
	  BlockType		  Product
	  Name			  "down convert"
	  Ports			  [2, 1]
	  Position		  [150, 41, 195, 74]
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "down convert1"
	  Ports			  [2, 1]
	  Position		  [145, 151, 190, 184]
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "sampler (imag)"
	  Position		  [375, 151, 410, 189]
	  SampleTime		  "1/(1.28*BW)"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "sampler (real)"
	  Position		  [380, 41, 415, 79]
	  SampleTime		  "1/(1.28*BW)"
	}
	Line {
	  SrcBlock		  "Input Signal"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "down convert"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "down convert1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "down convert"
	  SrcPort		  1
	  DstBlock		  "anti alias"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias"
	  SrcPort		  1
	  DstBlock		  "sampler (real)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave1"
	  SrcPort		  1
	  DstBlock		  "down convert"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave2"
	  SrcPort		  1
	  DstBlock		  "down convert1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "anti alias1"
	  SrcPort		  1
	  DstBlock		  "sampler (imag)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "down convert1"
	  SrcPort		  1
	  DstBlock		  "anti alias1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "sampler (real)"
	  SrcPort		  1
	  Points		  [45, 0; 0, 45]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "sampler (imag)"
	  SrcPort		  1
	  Points		  [50, 0; 0, -50]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Real-Imag to\nComplex"
	  SrcPort		  1
	  DstBlock		  "Spectrum\nScope"
	  DstPort		  1
	}
	Annotation {
	  Name			  "cosine"
	  Position		  [47, 76]
	}
	Annotation {
	  Name			  "sine"
	  Position		  [46, 203]
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [460, 239, 490, 271]
      Floating		      off
      Location		      [25, 286, 487, 701]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "5e-007"
      YMin		      "-12.5"
      YMax		      "12.5"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Spectrum\nScope"
      Ports		      [1]
      Position		      [630, 190, 665, 240]
      DialogController	      "dspdialog.SpectrumScope"
      DialogControllerArgs    "DataTag3"
      SourceBlock	      "dspsnks4/Spectrum\nScope"
      SourceType	      "Spectrum Scope"
      ShowPortLabels	      "none"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      UseBuffer		      on
      BufferSize	      "256"
      Overlap		      "0"
      inpFftLenInherit	      off
      FFTlength		      "128"
      numAvg		      "20"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[301 38 356 231]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[-Fs/2...Fs/2]"
      XDisplay		      "0"
      InheritXIncr	      on
      XIncr		      "1.0"
      XLabel		      "Samples"
      XLimit		      "Auto"
      YUnits		      "dB"
      XMax		      "1"
      XMin		      "0"
      YMin		      "-70"
      YMax		      "20"
      YLabel		      "Magnitude-squared, dB"
      LineProperties	      off
      wintypeSpecScope	      "Hann"
      RsSpecScope	      "50"
      betaSpecScope	      "5"
      winsampSpecScope	      "Periodic"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [315, 75, 345, 105]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Tx_BaseBand 1"
      Ports		      [0, 2]
      Position		      [65, 60, 105, 120]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"Tx_BaseBand 1"
	Location		[20, 80, 969, 401]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Analog\nAI Filter I"
	  Ports			  [1, 1]
	  Position		  [770, 36, 820, 74]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Bessel"
	  filttype		  "Lowpass"
	  N			  "6"
	  Wlo			  "2*pi*2*Fsym"
	  Whi			  "80"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Analog\nAI Filter I1"
	  Ports			  [1, 1]
	  Position		  [775, 106, 825, 144]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Bessel"
	  filttype		  "Lowpass"
	  N			  "6"
	  Wlo			  "2*pi*2*Fsym"
	  Whi			  "80"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  ComplexToRealImag
	  Name			  "Complex to\nReal-Imag"
	  Ports			  [1, 2]
	  Position		  [700, 48, 730, 77]
	  Output		  "Real and imag"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "DAC"
	  Position		  [600, 48, 665, 82]
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "M-PSK\nModulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [225, 39, 300, 91]
	  SourceBlock		  "commdigbbndpm3/M-PSK\nModulator\nBaseband

⌨️ 快捷键说明

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