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

📄 varactor_test.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  SampleTime		  "1/(2.56*BW)"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "sampler1"
	  Position		  [215, 126, 250, 164]
	  SampleTime		  "1/(2.56*BW)"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Excitation"
	  Position		  [300, 233, 330, 247]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Mag"
	  Position		  [475, 63, 505, 77]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Phase"
	  Position		  [480, 123, 510, 137]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Transfer Function"
	  SrcPort		  2
	  DstBlock		  "Phase"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Function"
	  SrcPort		  1
	  DstBlock		  "Mag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "sampler1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -15]
	  DstBlock		  "Transfer Function"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "sampler"
	  SrcPort		  1
	  Points		  [15, 0; 0, 10]
	  DstBlock		  "Transfer Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias2"
	  SrcPort		  1
	  DstBlock		  "Excitation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Uniform Random\nNumber"
	  SrcPort		  1
	  DstBlock		  "anti alias2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Response"
	  SrcPort		  1
	  DstBlock		  "anti alias1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias1"
	  SrcPort		  1
	  DstBlock		  "sampler1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reference "
	  SrcPort		  1
	  DstBlock		  "anti alias"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "anti alias"
	  SrcPort		  1
	  DstBlock		  "sampler"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Bandlimited Excitation"
	  Position		  [216, 199]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "C"
      Ports		      [1, 1]
      Position		      [385, 354, 450, 386]
      SourceBlock	      "simulink/Math\nOperations/Slider\nGain"
      SourceType	      "Slider Gain"
      ShowPortLabels	      on
      low		      "0"
      gain		      "2.5e-011"
      high		      "1e-010"
    }
    Block {
      BlockType		      Gain
      Name		      "C_to_Pf"
      Position		      [845, 225, 875, 255]
      Gain		      "1e12"
    }
    Block {
      BlockType		      Reference
      Name		      "G"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [424, 260, 446, 285]
      Orientation	      "down"
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Ground"
      SourceType	      "Ground"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
    }
    Block {
      BlockType		      Reference
      Name		      "G1"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [729, 520, 751, 545]
      Orientation	      "down"
      ShowName		      off
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Ground"
      SourceType	      "Ground"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
    }
    Block {
      BlockType		      Reference
      Name		      "L \n10 uH"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [848, 125, 872, 170]
      Orientation	      "down"
      NamePlacement	      "alternate"
      FontSize		      10
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "10e-6"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "L \n10 uH1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [728, 420, 752, 465]
      Orientation	      "down"
      NamePlacement	      "alternate"
      FontSize		      10
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "10e-6"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Gain
      Name		      "Level"
      Position		      [280, 170, 310, 200]
      Gain		      "0.1"
    }
    Block {
      BlockType		      Display
      Name		      "MHz"
      Ports		      [1]
      Position		      [915, 300, 1005, 330]
      FontSize		      10
      Decimation	      "100"
    }
    Block {
      BlockType		      Reference
      Name		      "Magnitude dB"
      Ports		      [1]
      Position		      [310, 210, 345, 260]
      SourceBlock	      "dspsnks4/Vector\nScope"
      SourceType	      "Vector Scope"
      ScopeProperties	      on
      Domain		      "Frequency"
      HorizSpan		      "1"
      DisplayProperties	      off
      AxisGrid		      on
      Memory		      off
      FrameNumber	      on
      AxisLegend	      off
      AxisZoom		      off
      OpenScopeAtSimStart     on
      OpenScopeImmediately    off
      FigPos		      "[15 321 372 236]"
      AxisProperties	      off
      XUnits		      "Hertz"
      XRange		      "[0...Fs/2]"
      InheritXIncr	      on
      XIncr		      "2*Fs"
      XLabel		      "Time"
      YUnits		      "dB"
      YMin		      "-72.383011667713"
      YMax		      "44.0940488527939"
      YLabel		      "dB"
      LineProperties	      off
      LineColors	      "[1 0 0]|[1 0 0]"
      ShowPortLabels	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Manual Switch"
      Ports		      [2, 1]
      Position		      [925, 412, 955, 448]
      SourceBlock	      "simulink/Signal\nRouting/Manual Switch"
      SourceType	      "Manual Switch"
      ShowPortLabels	      on
      sw		      "1"
      action		      "0"
    }
    Block {
      BlockType		      Display
      Name		      "Pico Farads"
      Ports		      [1]
      Position		      [910, 225, 1000, 255]
      FontSize		      10
      Decimation	      "100"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Predicted Resonant Frequency"
      Ports		      [1, 1]
      Position		      [830, 284, 900, 346]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Predicted Resonant Frequency"
	Location		[290, 586, 890, 794]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Cin"
	  Position		  [40, 28, 70, 42]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [325, 30, 355, 60]
	  Gain			  "1e-6/(2*pi)  % display units of MHz"
	}
	Block {
	  BlockType		  Constant
	  Name			  "L_val"
	  Position		  [30, 95, 60, 125]
	  Value			  "10e-6"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction"
	  Ports			  [1, 1]
	  Position		  [265, 30, 295, 60]
	  Operator		  "reciprocal"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction1"
	  Ports			  [1, 1]
	  Position		  [180, 30, 210, 60]
	  Operator		  "sqrt"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [105, 26, 150, 59]
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Fout"
	  Position		  [390, 38, 420, 52]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "L_val"
	  SrcPort		  1
	  Points		  [10, 0; 0, -60]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction1"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Cin"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Fout"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Rs\n"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [450, 51, 520, 79]
      FontSize		      10
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "10"
      Inductance	      "0"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Rs\n1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [510, 386, 580, 414]
      FontSize		      10
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "10"
      Inductance	      "0"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [355, 175, 375, 195]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [270, 250, 290, 270]
    }
    Block {
      BlockType		      SubSystem
      Name		      "Varactor \n(voltage variable capacitor)"
      Ports		      [0, 1, 0, 0, 0, 1, 1]
      Position		      [555, 43, 755, 87]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Capacitance Vr==0 (Cjo)|Junction Potential (Vj)"
"|Grading Coefficient (M)|Package Capacitance (Cp)"
      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	      "Cjo=@1;Vj=@2;M=@3;Cp=@4;"
      MaskDisplay	      "disp('C = Cp + Cjo/((1+Vr/Vj)^M)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "100e-12|0.7|0.5|5e-12"
      MaskTabNameString	      ",,,"
      System {
	Name			"Varactor \n(voltage variable capacitor)"
	Location		[33, 100, 835, 392]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "C vs V "
	  Ports			  [1, 1]
	  Pos

⌨️ 快捷键说明

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