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

📄 vco_2.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 4 页
字号:
		  SrcBlock		  "Complex to\nReal-Imag"
		  SrcPort		  2
		  DstBlock		  "Mux2"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Complex to\nMagnitude-Angle"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "Complex to\nMagnitude-Angle"
		  SrcPort		  2
		  DstBlock		  "180/pi"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "180/pi"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  5
		}
		Line {
		  SrcBlock		  "Selector"
		  SrcPort		  1
		  DstBlock		  "options"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector"
	      Ports		      [1, 1]
	      Position		      [305, 128, 370, 172]
	      Elements		      "SelectionMode"
	      InputPortWidth	      "length(OutputSelection)+1"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Simulation method"
	      Position		      [140, 85, 250, 105]
	      Orientation	      "down"
	      BackgroundColor	      "magenta"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Value		      "PhasorSimulation"
	    }
	    Block {
	      BlockType		      PMComponent
	      Name		      "VoltageMeasurement"
	      Ports		      [0, 0, 0, 0, 0, 1, 1]
	      Position		      [80, 21, 145, 49]
	      PhysicalDomain	      "powersysdomain"
	      LeftPortType	      "p1"
	      RightPortType	      "p1"
	      LConnTagsString	      "+"
	      RConnTagsString	      "-"
	      MaskType		      "InnerPowersysBlock"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      From
	      Name		      "source"
	      Position		      [25, 124, 95, 146]
	      DialogController	      "Simulink.DDGSource"
	      GotoTag		      "tp255973"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "+"
	      Position		      [15, 28, 45, 42]
	      Port		      "1"
	      Side		      "Left"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "-"
	      Position		      [190, 24, 215, 46]
	      Orientation	      "left"
	      Port		      "2"
	      Side		      "Left"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "v"
	      Position		      [405, 139, 425, 161]
	      FontSize		      16
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "-"
	      SrcPort		      RConn1
	      Points		      [0, 0]
	      DstBlock		      "VoltageMeasurement"
	      DstPort		      RConn1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "+"
	      SrcPort		      RConn1
	      Points		      [0, 0]
	      DstBlock		      "VoltageMeasurement"
	      DstPort		      LConn1
	    }
	    Line {
	      SrcBlock		      "Simulation method"
	      SrcPort		      1
	      DstBlock		      "Phasor Measurements"
	      DstPort		      enable
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Selector"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Phasor Measurements"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector"
	      SrcPort		      1
	      DstBlock		      "v"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "source"
	      SrcPort		      1
	      Points		      [0, 0; 10, 0]
	      Branch {
		DstBlock		"Phasor Measurements"
		DstPort			1
	      }
	      Branch {
		Points			[0, 30]
		DstBlock		"Mux"
		DstPort			2
	      }
	    }
	  }
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "Vin"
	  Position		  [50, 78, 80, 92]
	  Port			  "1"
	  Side			  "Left"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "Iout"
	  Position		  [420, 160, 450, 175]
	  Orientation		  "up"
	  Port			  "2"
	  Side			  "Right"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "common"
	  Position		  [195, 265, 225, 280]
	  Orientation		  "up"
	  Port			  "3"
	  Side			  "Right"
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Vsense"
	  SrcPort		  LConn2
	  Points		  [0, 90]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "common"
	    DstPort		    RConn1
	  }
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "Gm*Vsense"
	    SrcPort		    RConn1
	    Points		    [10, 0; 0, 75; -325, 0]
	  }
	}
	Line {
	  SrcBlock		  "Vsense"
	  SrcPort		  1
	  DstBlock		  "Product of Gm \nand \nVsense"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Vin"
	  SrcPort		  RConn1
	  DstBlock		  "Vsense"
	  DstPort		  LConn1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "Iout"
	  SrcPort		  RConn1
	  Points		  [0, -15]
	  DstBlock		  "Gm*Vsense"
	  DstPort		  LConn1
	}
	Line {
	  SrcBlock		  "Product of Gm \nand \nVsense"
	  SrcPort		  1
	  DstBlock		  "Gm*Vsense"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gm Control"
	  SrcPort		  1
	  Points		  [230, 0; 0, -45]
	  DstBlock		  "Product of Gm \nand \nVsense"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "diode"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [150, 339, 200, 381]
      SourceBlock	      "simpower_extensions_1/diode"
      SourceType	      ""
      ShowPortLabels	      on
      Is		      "1e-6"
    }
    Line {
      LineType		      "Connection"
      Points		      [445, 310; 0, -125; -5, 0]
      DstBlock		      "Variable Gm \nDevice"
      DstPort		      RConn2
      Branch {
	ConnectType		"SRC_SRC"
	Points			[-115, 0]
	Branch {
	  ConnectType		  "DEST_DEST"
	  SrcBlock		  "C1"
	  SrcPort		  LConn1
	  Points		  [0, 0; 0, -30]
	}
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "C2"
	  DstPort		  RConn1
	}
      }
      Branch {
	ConnectType		"SRC_SRC"
	DstBlock		"L2"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [110, 435; 0, -75; 25, 0]
      DstBlock		      "diode"
      DstPort		      LConn1
      Branch {
	ConnectType		"SRC_DEST"
	Points			[275, 435; -165, 0]
	Branch {
	  ConnectType		  "SRC_DEST"
	  Points		  [330, 435; -55, 0]
	  Branch {
	    ConnectType		    "SRC_SRC"
	    Points		    [115, 0]
	    Branch {
	      ConnectType	      "DEST_SRC"
	      Points		      [35, 0; 0, -295]
	      Branch {
		ConnectType		"DEST_DEST"
		SrcBlock		"Variable Gm \nDevice"
		SrcPort			RConn1
		Points			[0, 0; 40, 0]
	      }
	      Branch {
		ConnectType		"DEST_SRC"
		DstBlock		"VM2"
		DstPort			LConn2
	      }
	    }
	    Branch {
	      ConnectType	      "DEST_DEST"
	      SrcBlock		      "L2"
	      SrcPort		      RConn1
	      Points		      [0, 0; 0, 5]
	    }
	  }
	  Branch {
	    ConnectType		    "SRC_DEST"
	    SrcBlock		    "C1"
	    SrcPort		    RConn1
	    Points		    [0, 0; 0, 25]
	  }
	  Branch {
	    ConnectType		    "SRC_SRC"
	    Points		    [0, 30]
	    DstBlock		    "Ground"
	    DstPort		    LConn1
	  }
	}
	Branch {
	  ConnectType		  "SRC_DEST"
	  SrcBlock		  "R1"
	  SrcPort		  RConn1
	  Points		  [0, 0; 0, 90]
	}
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[-65, 0]
	DstBlock		"CVS"
	DstPort			LConn1
      }
    }
    Line {
      SrcBlock		      "Freq Set"
      SrcPort		      1
      Points		      [-65, 0]
      DstBlock		      "CVS"
      DstPort		      1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Varactor \n(voltage variable capacitor)"
      SrcPort		      LConn1
      Points		      [-40, 0]
      DstBlock		      "CVS"
      DstPort		      RConn1
    }
    Line {
      SrcBlock		      "Saturation"
      SrcPort		      1
      DstBlock		      "Variable Gm \nDevice"
      DstPort		      1
    }
    Line {
      SrcBlock		      "VM2"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Abs"
	DstPort			1
      }
      Branch {
	Points			[0, 115]
	Branch {
	  DstBlock		  "RF Spectum Analyzer (Image Reject)"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 70]
	  DstBlock		  "VCO Output Scope"
	  DstPort		  1
	}
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "diode"
      SrcPort		      RConn1
      Points		      [20, 0; 0, -60]
      Branch {
	ConnectType		"DEST_DEST"
	SrcBlock		"L1"
	SrcPort			RConn1
	Points			[0, 0; 0, 15]
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Varactor \n(voltage variable capacitor)"
	DstPort			RConn1
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [235, 185; 40, 0]
      Branch {
	ConnectType		"SRC_SRC"
	DstBlock		"L1"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"VM2"
	SrcPort			LConn1
	Points			[-245, 0; 0, 105]
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[55, 0]
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "Variable Gm \nDevice"
	  DstPort		  LConn1
	}
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "C2"
	  DstPort		  LConn1
	}
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"R1"
	DstPort			LConn1
      }
    }
    Line {
      SrcBlock		      "Abs"
      SrcPort		      1
      DstBlock		      "RC LPF"
      DstPort		      1
    }
    Line {
      SrcBlock		      "RC LPF"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	Points			[0, 115]
	DstBlock		"Output Level"
	DstPort			1
      }
      Branch {
	DstBlock		"Sum1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [-10, 0; 25, 0]
      Branch {
	DstBlock		"I Gain"
	DstPort			1
      }
      Branch {
	Points			[0, 60]
	DstBlock		"P gain"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Level Set"
      SrcPort		      1
      Points		      [10, 0]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "I Gain"
      SrcPort		      1
      DstBlock		      "Integrator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "P gain"
      SrcPort		      1
      Points		      [45, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [15, 0; 0, -40; -795, 0; 0, 95]
      Branch {
	DstBlock		"Saturation"
	DstPort			1
      }
      Branch {
	DstBlock		"Transconductance (Mhos)"
	DstPort			1
      }
    }
    Annotation {
      Name		      "Voltage Controlled Oscillator with P+I Amplitud"
"e Control"
      Position		      [468, 25]
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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