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

📄 rf_bp_1.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	}
	Line {
	  SrcBlock		  "anti alias"
	  SrcPort		  1
	  Points		  [15, 0; 0, 50]
	  DstBlock		  "Real-Imag to\nComplex2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Function"
	  SrcPort		  2
	  DstBlock		  "Phase"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Function"
	  SrcPort		  1
	  DstBlock		  "Mag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "up convert"
	  SrcPort		  1
	  DstBlock		  "Excitation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Uniform Random\nNumber"
	  SrcPort		  1
	  DstBlock		  "anti image"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Real-Imag to\nComplex1"
	  SrcPort		  1
	  DstBlock		  "sampler 1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "down convert3"
	  SrcPort		  1
	  DstBlock		  "anti alias3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias3"
	  SrcPort		  1
	  Points		  [30, 0; 0, -55]
	  DstBlock		  "Real-Imag to\nComplex1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "anti alias2"
	  SrcPort		  1
	  Points		  [30, 0; 0, 40]
	  DstBlock		  "Real-Imag to\nComplex1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "down convert2"
	  SrcPort		  1
	  DstBlock		  "anti alias2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Response"
	  SrcPort		  1
	  Points		  [55, 0]
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "down convert2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "down convert3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sine Wave2"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    Points		    [0, 205]
	    DstBlock		    "down convert3"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "down convert1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Sine Wave1"
	  SrcPort		  1
	  Points		  [40, 0]
	  Branch {
	    Points		    [0, 205]
	    Branch {
	      Points		      [0, 185; 205, 0; 0, 35]
	      DstBlock		      "up convert"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "down convert2"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "down convert"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "down convert"
	  SrcPort		  1
	  DstBlock		  "anti alias"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reference"
	  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		      "RF Spectum Analyzer (Image Reject)"
      Description	      "Spectrum Analyzer"
      Ports		      [1]
      Position		      [170, 198, 295, 252]
      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	      "10e6|20e6"
      MaskTabNameString	      ","
      System {
	Name			"RF Spectum Analyzer (Image Reject)"
	Location		[109, 154, 839, 386]
	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]
	  Input			  "Real and imag"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave1"
	  Ports			  [0, 1]
	  Position		  [25, 35, 55, 65]
	  ShowName		  off
	  SineType		  "Time based"
	  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
	  SineType		  "Time based"
	  Amplitude		  "1/7.2"
	  Frequency		  "2*pi*(Fc)"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope"
	  Ports			  [1]
	  Position		  [605, 90, 640, 140]
	  SourceBlock		  "dspsnks4/Spectrum\nScope"
	  SourceType		  "Spectrum Scope"
	  ShowPortLabels	  off
	  ScopeProperties	  on
	  Domain		  "Frequency"
	  HorizSpan		  "1"
	  UseBuffer		  on
	  BufferSize		  "512"
	  Overlap		  "0"
	  inpFftLenInherit	  off
	  FFTlength		  "128"
	  numAvg		  "10"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "[415 345 386 234]"
	  AxisProperties	  off
	  XUnits		  "Hertz"
	  XRange		  "[-Fs/2...Fs/2]"
	  InheritXIncr		  on
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  YUnits		  "dB"
	  YMin			  "-100"
	  YMax			  "10"
	  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		  "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]
	}
      }
    }
    Line {
      SrcBlock		      "Band Pass\nFilter Design"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"BandPass Transfer Function"
	DstPort			2
      }
      Branch {
	Points			[0, 75]
	DstBlock		"RF Spectum Analyzer (Image Reject)"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "BandPass Transfer Function"
      SrcPort		      2
      DstBlock		      "BPF Magnitude dB"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BandPass Transfer Function"
      SrcPort		      3
      DstBlock		      "BPF Phase in Degrees"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BandPass Transfer Function"
      SrcPort		      1
      Points		      [55, 0; 0, -55; -250, 0]
      Branch {
	Points			[0, 65]
	DstBlock		"BandPass Transfer Function"
	DstPort			1
      }
      Branch {
	Points			[-110, 0; 0, 105]
	DstBlock		"Band Pass\nFilter Design"
	DstPort			1
      }
    }
    Annotation {
      Name		      "Transfer Function Estimate of a Continuous Time"
" Band Pass  Filter. "
      Position		      [260, 17]
    }
  }
}
MatData {
  NumRecords		  4
  DataRecord {
    Tag			    DataTag3
    Data		    "  %)30     .    :     8    (     0         %    "
"\"     $    !     0         .    .     8    (    !          %    \"     $    "
"&     0         0    !@   %=I;F1O=P  "
  }
  DataRecord {
    Tag			    DataTag2
    Data		    "  %)30     .    :     8    (     0         %    "
"\"     $    !     0         .    .     8    (    !          %    \"     $    "
"&     0         0    !@   %=I;F1O=P  "
  }
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 1D94  "
  }
}

# Finite State Machines
#
#    Stateflow Version 6.1 (R14SP1) dated Sep  7 2004, 18:52:26
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"rf_bp_1"
		created              		"16-Jan-2006 1

⌨️ 快捷键说明

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