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

📄 feed_fwd_2.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	Block {
	  BlockType		  Product
	  Name			  "down convert1"
	  Ports			  [2, 1]
	  Position		  [145, 151, 190, 184]
	  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		  "Real-Imag to\nComplex"
	  SrcPort		  1
	  DstBlock		  "Spectrum\nScope"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "sampler (imag)"
	  SrcPort		  1
	  Points		  [50, 0; 0, -50]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "sampler (real)"
	  SrcPort		  1
	  Points		  [45, 0; 0, 45]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "down convert1"
	  SrcPort		  1
	  DstBlock		  "anti alias1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias1"
	  SrcPort		  1
	  DstBlock		  "sampler (imag)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave2"
	  SrcPort		  1
	  DstBlock		  "down convert1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sine Wave1"
	  SrcPort		  1
	  DstBlock		  "down convert"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias"
	  SrcPort		  1
	  DstBlock		  "sampler (real)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "down convert"
	  SrcPort		  1
	  DstBlock		  "anti alias"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Input Signal"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "down convert1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "down convert"
	    DstPort		    2
	  }
	}
	Annotation {
	  Name			  "sine"
	  Position		  [46, 203]
	}
	Annotation {
	  Name			  "cosine"
	  Position		  [47, 76]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Distortion canceled\noutput (dBm)"
      Description	      "Spectrum Analyzer"
      Ports		      [1]
      Position		      [795, 228, 950, 282]
      Orientation	      "left"
      BackgroundColor	      "cyan"
      FontName		      "Arial"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      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|2140e6"
      MaskTabNameString	      ","
      System {
	Name			"Distortion canceled\noutput (dBm)"
	Location		[261, 292, 999, 556]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Input Signal"
	  Position		  [20, 102, 60, 118]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	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
	  SineType		  "Time based"
	  Amplitude		  "1/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
	  SineType		  "Time based"
	  Amplitude		  "1/2"
	  Frequency		  "2*pi*(Fc)"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope"
	  Ports			  [1]
	  Position		  [615, 90, 650, 140]
	  FontSize		  10
	  SourceBlock		  "dspsnks4/Spectrum\nScope"
	  SourceType		  "Spectrum Scope"
	  ShowPortLabels	  off
	  ScopeProperties	  on
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "256"
	  Overlap		  "64"
	  inpFftLenInherit	  off
	  FFTlength		  "128"
	  numAvg		  "2"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "[663 351 289 183]"
	  AxisProperties	  off
	  XUnits		  "Hertz"
	  XRange		  "[-Fs/2...Fs/2]"
	  InheritXIncr		  on
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  YUnits		  "dB"
	  YMin			  "-60"
	  YMax			  "40"
	  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]
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "down convert1"
	  Ports			  [2, 1]
	  Position		  [145, 151, 190, 184]
	  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		  "Real-Imag to\nComplex"
	  SrcPort		  1
	  DstBlock		  "Spectrum\nScope"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "sampler (imag)"
	  SrcPort		  1
	  Points		  [50, 0; 0, -50]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "sampler (real)"
	  SrcPort		  1
	  Points		  [45, 0; 0, 45]
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "down convert1"
	  SrcPort		  1
	  DstBlock		  "anti alias1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias1"
	  SrcPort		  1
	  DstBlock		  "sampler (imag)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave2"
	  SrcPort		  1
	  DstBlock		  "down convert1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sine Wave1"
	  SrcPort		  1
	  DstBlock		  "down convert"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias"
	  SrcPort		  1
	  DstBlock		  "sampler (real)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "down convert"
	  SrcPort		  1
	  DstBlock		  "anti alias"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Input Signal"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "down convert1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "down convert"
	    DstPort		    2
	  }
	}
	Annotation {
	  Name			  "sine"
	  Position		  [46, 203]
	}
	Annotation {
	  Name			  "cosine"
	  Position		  [47, 76]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Error Amp"
      Ports		      [1, 1]
      Position		      [565, 116, 765, 184]
      BackgroundColor	      "green"
      FontName		      "Arial"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Gain in dB:|Fcenter (MHz):|BW (MHz): |Time Dela"
"y (ns) :"
      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"
      MaskVarAliasString      ",,,"
      MaskVariables	      "dbg=@1;Fc=@2;BW=@3;Td=@4;"
      MaskDisplay	      "fprintf(' Error Amp   Pg = %5.0f dB\\n\\n\\n ',"
"dbg);\nfprintf(' Fcenter= %8.0f      BW= %5.0f MHz ', Fc, BW);\nfprintf('\\n"
"\\n\\nTime Delay =%9.2f ns', Td);\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "12|2140|100|2"
      MaskTabNameString	      ",,,"
      System {
	Name			"Error Amp"
	Location		[337, 427, 903, 597]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 58, 45, 72]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Analog\nFilter Design"
	  Ports			  [1, 1]
	  Position		  [215, 37, 280, 93]
	  FontSize		  10
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Elliptic"
	  filttype		  "Bandpass"
	  N			  "10"
	  Wlo			  "2*pi*(Fc-BW/2)*1e6"
	  Whi			  "2*pi*(Fc+BW/2)*1e6"
	  Rp			  "2"
	  Rs			  "40"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [65, 26, 180, 104]
	  Gain			  "10^(dbg/20)"
	}
	Block {
	  BlockType		  TransportDelay
	  Name			  "Transport\nDelay1"
	  Position		  [330, 41, 385, 89]
	  NamePlacement		  "alternate"
	  DelayTime		  "Td*1e-9"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [510, 58, 540, 72]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Analog\nFilter Design"
	  SrcPort		  1
	  DstBlock		  "Transport\nDelay1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Analog\nFilter Design"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transport\nDelay1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Power Amp"
      Ports		      [1, 1]
      Position		      [230, 33, 400, 107]
      BackgroundColor	      "orange"
      FontName		      "Arial"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Gain in dB:|Fcenter (MHz):|BW (MHz): |Nonlinear"
"ity (0-1) :|Time Delay (ns) :"
      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"
      MaskVarAliasString      ",,,,"
      MaskVariables	      "dbg=@1;Fc=@2;BW=@3;alpha=@4;Td=@5;"
      MaskDisplay	      "fprintf(' RFPA     Pg = %5.0f dB\\n\\n\\n ',dbg"
");\nfprintf('Fc= %6.0f    BW= %4.0fMHz ', Fc,BW);\nfprintf('\\n\\n Nonlineari"
"ty =%9.4f', alpha);\nfprintf('\\n\\n\\n\\n Time Delay =%9.2f ns', Td);\n"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "20|2140|100|.02|5"
      MaskTabNameString	      ",,,,"
      System {

⌨️ 快捷键说明

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