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

📄 mix_1.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      SourceType	      "Controlled Voltage Source"
      ShowPortLabels	      on
      Initialize	      off
      SourceType	      "AC"
      Amplitude		      "0"
      Phase		      "0"
      Frequency		      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Diode Ring IF Spectrum"
      Description	      "Spectrum Analyzer"
      Ports		      [1]
      Position		      [670, 98, 835, 152]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Bandwidth"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "BW=@1;"
      MaskDisplay	      "fprintf('Baseband Spectrum Analyzer \\n  BW=%7."
"2f MHz', BW/1e6)"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "50e6"
      System {
	Name			"Diode Ring IF Spectrum"
	Location		[0, 74, 383, 252]
	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		  [50, 52, 90, 68]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Spectrum\nScope"
	  Ports			  [1]
	  Position		  [280, 35, 315, 85]
	  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		  "1"
	  DisplayProperties	  off
	  AxisGrid		  on
	  Memory		  off
	  FrameNumber		  on
	  AxisLegend		  off
	  AxisZoom		  off
	  OpenScopeAtSimStart	  on
	  OpenScopeImmediately	  off
	  FigPos		  "[699 38 338 192]"
	  AxisProperties	  off
	  XUnits		  "Hertz"
	  XRange		  "[0...Fs/2]"
	  InheritXIncr		  on
	  XIncr			  "1.0"
	  XLabel		  "Samples"
	  YUnits		  "dB"
	  YMin			  "-90"
	  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		  [115, 32, 180, 88]
	  SourceBlock		  "dsparch4/Analog\nFilter Design"
	  SourceType		  "Analog Filter Design"
	  method		  "Elliptic"
	  filttype		  "Lowpass"
	  N			  "8"
	  Wlo			  "BW*2*pi"
	  Whi			  "80"
	  Rp			  "0.11"
	  Rs			  "100"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "sampler"
	  Position		  [210, 41, 245, 79]
	  SampleTime		  "1/(2.56*BW)"
	}
	Line {
	  SrcBlock		  "sampler"
	  SrcPort		  1
	  DstBlock		  "Spectrum\nScope"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias"
	  SrcPort		  1
	  DstBlock		  "sampler"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Input Signal"
	  SrcPort		  1
	  DstBlock		  "anti alias"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Diode Ring Mixer"
      Ports		      [0, 0, 0, 0, 0, 2, 1]
      Position		      [400, 44, 460, 111]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Diode Ring Mixer"
	Location		[11, 86, 813, 508]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "G4"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [269, 395, 291, 420]
	  Orientation		  "down"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Ground"
	  SourceType		  "Ground"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	}
	Block {
	  BlockType		  Reference
	  Name			  "G5"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [559, 380, 581, 405]
	  Orientation		  "down"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Ground"
	  SourceType		  "Ground"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	}
	Block {
	  BlockType		  Reference
	  Name			  "G6"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [759, 235, 781, 260]
	  Orientation		  "down"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Ground"
	  SourceType		  "Ground"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Ground"
	  Ports			  [0, 0, 0, 0, 0, 1]
	  Position		  [169, 185, 191, 210]
	  Orientation		  "down"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Ground"
	  SourceType		  "Ground"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mutual Inductance"
	  Ports			  [0, 0, 0, 0, 0, 3, 3]
	  Position		  [80, 105, 140, 175]
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Mutual Inductance"
	  SourceType		  "Mutual Inductance"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a|b|c"
	  RConnTagsString	  "A|B|C"
	  SelfImpedance1	  "[1.0 1e-03]"
	  SelfImpedance2	  "[ 1.0 1e-03]"
	  ThreeWindings		  on
	  SelfImpedance3	  "[ 1.0 1e-03]"
	  MutualImpedance	  "[0  0.9999e-03]"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Mutual Inductance1"
	  Ports			  [0, 0, 0, 0, 0, 3, 3]
	  Position		  [695, 100, 755, 170]
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Mutual Inductance"
	  SourceType		  "Mutual Inductance"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a|b|c"
	  RConnTagsString	  "A|B|C"
	  SelfImpedance1	  "[1.0 1e-03]"
	  SelfImpedance2	  "[ 1.0 1e-03]"
	  ThreeWindings		  on
	  SelfImpedance3	  "[ 1.0 1e-03]"
	  MutualImpedance	  "[0  0.99999e-03]"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "R3"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [259, 290, 301, 345]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Parallel RLC Branch"
	  SourceType		  "Parallel RLC Branch"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	  RConnTagsString	  "__new0"
	  Resistance		  "5000"
	  Inductance		  "inf"
	  Capacitance		  "0"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "R4"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [224, 290, 266, 345]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Parallel RLC Branch"
	  SourceType		  "Parallel RLC Branch"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	  RConnTagsString	  "__new0"
	  Resistance		  "5000"
	  Inductance		  "inf"
	  Capacitance		  "0"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "R5"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [549, 285, 591, 340]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Parallel RLC Branch"
	  SourceType		  "Parallel RLC Branch"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	  RConnTagsString	  "__new0"
	  Resistance		  "5000"
	  Inductance		  "inf"
	  Capacitance		  "0"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "R6"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [514, 285, 556, 340]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  AttributesFormatString  "\\n"
	  SourceBlock		  "powerlib/Elements/Parallel RLC Branch"
	  SourceType		  "Parallel RLC Branch"
	  PhysicalDomain	  "powersysdomain"
	  SubClassName		  "unknown"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	  RConnTagsString	  "__new0"
	  Resistance		  "5000"
	  Inductance		  "inf"
	  Capacitance		  "0"
	  Measurements		  "None"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "diode1"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [355, 64, 405, 106]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskPromptString	  "Saturation Current"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "Is=@1;"
	  MaskDisplay		  "plot(-140,-140,150,140,2*[30,30,59,30,30,0]"
"-75,(2*[71,50,72,92,71,71]-92),2*[59,59]-75,(2*[50,93]-92),[116,59]-16,(2*[71"
",71]-90));"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "1e-8"
	  System {
	    Name		    "diode1"
	    Location		    [350, 253, 928, 400]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Fcn
	      Name		      "Diode Equation"
	      Position		      [260, 20, 320, 50]
	      Expr		      "Is* (exp(u /.025)  -1  );  % ideal diod"
"e equation @ room temp"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Vf\n"
	      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
	      Ports		      [0, 1, 0, 0, 0, 2]
	      Position		      [170, 23, 195, 47]
	      AttributesFormatString  "\\n"
	      AncestorBlock	      "powerlib/Measurements/Voltage Measureme"
"nt"
	      CopyFcn		      "powericon('psbloadfunction',gcbh,'Measu"
"rement Block','VerifyPhasor');"
	      LoadFcn		      "powericon('psbloadfunction',gcbh,'Measu"
"rement Block','');"
	      PreSaveFcn	      "powericon('psbloadfunction',gcbh,'Model"
"CloseFcn','');"
	      InitFcn		      "powericon('psbloadfunction',gcbh,'InitF"
"cnOfSPSBlocks','Measurement Block');"
	      CloseFcn		      "powericon('psbloadfunction',gcbh,'Close"
"Fcn','');"
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskType		      "Voltage Measurement"
	      MaskDescription	      "Ideal voltage measurement."
	      MaskHelp		      "web(psbhelp);"
	      MaskPromptString	      "Phasor simulation|Output signal :|Equiv"
"alent circuit"
	      MaskStyleString	      "checkbox,popup(Complex|Real-Imag|Magnit"
"ude-Angle|Magnitude),edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "off,off,off"
	      MaskVisibilityString    "off,on,off"
	      MaskToolTipString	      "on,on,on"
	      MaskVarAliasString      ",,"
	      MaskVariables	      "PhasorSimulation=@1;OutputType=@2;PSBeq"
"uivalent=@3;"
	      MaskInitialization      "switch OutputType\ncase 1\n    OutputSe"
"lection = 1;\n    NormalMode = 2;\n    PhasorMode = 1;\ncase 2\n    OutputSel"
"ection =[2,3];\n    NormalMode = 3;\n    PhasorMode = [1,2];\ncase 3\n    Out"
"putSelection =[4,5];\n    NormalMode = 3;\n    PhasorMode = [1,2];\ncase 4\n "
"   OutputSelection =[4];\n    NormalMode = 2;\n    PhasorMode = 1;\nend\n%\ni"
"f PhasorSimulation\n    SelectionMode = PhasorMode;\nelse\n    SelectionMode "
"= NormalMode;\nend\n"
	      MaskSelfModifiable      on
	      MaskIconFrame	      on
	      MaskIconOpaque	      off
	      MaskIconRotate	      "port"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "off|Magnitude|0"
	      MaskTabNameString	      ",,"
	      System {
		Name			"Vf\n"
		Location		[206, 474, 665, 687]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [2, 1]
		  Position		  [275, 121, 280, 179]
		  ShowName		  off
		  Inputs		  "2"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Phasor Measurements"
		  Ports			  [1, 1, 1]
		  Position		  [145, 123, 250, 147]
		  BackgroundColor	  "green"
		  TreatAsAtomicUnit	  on
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "Phasor Measurements"
		    Location		    [255, 525, 861, 796]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"

⌨️ 快捷键说明

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