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

📄 dut_lib.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "measure"
		    Position		    [70, 28, 100, 42]
		    }
		    Block {
		    BlockType		    EnablePort
		    Name		    "Enable"
		    Ports		    []
		    Position		    [20, 15, 40, 35]
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "180/pi"
		    Position		    [225, 105, 245, 125]
		    Gain		    "180/pi"
		    }
		    Block {
		    BlockType		    ComplexToMagnitudeAngle
		    Name		    "Complex to\nMagnitude-Angle"
		    Ports		    [1, 2]
		    Position		    [140, 85, 195, 125]
		    ShowName		    off
		    Output		    "Magnitude and angle"
		    }
		    Block {
		    BlockType		    ComplexToRealImag
		    Name		    "Complex to\nReal-Imag"
		    Ports		    [1, 2]
		    Position		    [140, 45, 195, 85]
		    ShowName		    off
		    Output		    "Real and imag"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux2"
		    Ports		    [5, 1]
		    Position		    [275, 23, 280, 127]
		    ShowName		    off
		    Inputs		    "5"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector"
		    Ports		    [1, 1]
		    Position		    [315, 51, 350, 99]
		    Elements		    "OutputSelection"
		    InputPortWidth	    "5"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "options"
		    Position		    [380, 68, 410, 82]
		    InitialOutput	    "0"
		    }
		    Line {
		    SrcBlock		    "Mux2"
		    SrcPort		    1
		    DstBlock		    "Selector"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "measure"
		    SrcPort		    1
		    Points		    [0, 0; 5, 0]
		    Branch {
		    Points		    [0, 30]
		    Branch {
		    Points		    [0, 40]
		    DstBlock		    "Complex to\nMagnitude-Angle"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "Complex to\nReal-Imag"
		    DstPort		    1
		    }
		    }
		    Branch {
		    DstBlock		    "Mux2"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "Complex to\nReal-Imag"
		    SrcPort		    1
		    DstBlock		    "Mux2"
		    DstPort		    2
		    }
		    Line {
		    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"
		  PortType		  "p1"
		  LConnTagsString	  "+"
		  RConnTagsString	  "-"
		  MaskType		  "InnerPowersysBlock"
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  From
		  Name			  "source"
		  Position		  [25, 124, 95, 146]
		  GotoTag		  "tp004851"
		}
		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
		  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		      "P1"
	      Tag		      "PMCPort"
	      Position		      [25, 46, 55, 64]
	      Port		      "1"
	      Side		      "left"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "P2"
	      Tag		      "PMCPort"
	      Position		      [25, 136, 55, 154]
	      Port		      "2"
	      Side		      "left"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "S1"
	      Tag		      "PMCPort"
	      Position		      [550, 36, 580, 54]
	      Orientation	      "left"
	      Port		      "3"
	      Side		      "right"
	    }
	    Block {
	      BlockType		      PMIOPort
	      Name		      "S2"
	      Tag		      "PMCPort"
	      Position		      [555, 166, 585, 184]
	      Orientation	      "left"
	      Port		      "4"
	      Side		      "right"
	    }
	    Line {
	      SrcBlock		      "CM"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [-85, 0]
	      DstBlock		      "CCS"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [55, 0]
	      DstBlock		      "CVS"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "VM"
	      SrcPort		      1
	      Points		      [25, 0; 0, 80]
	      DstBlock		      "Gain1"
	      DstPort		      1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "CVS"
	      SrcPort		      LConn1
	      Points		      [0, 25]
	      DstBlock		      "S2"
	      DstPort		      RConn1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "CM"
	      SrcPort		      RConn1
	      Points		      [-30, 0]
	      DstBlock		      "CVS"
	      DstPort		      RConn1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "CM"
	      SrcPort		      LConn1
	      Points		      [0, 0]
	      DstBlock		      "S1"
	      DstPort		      RConn1
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "VM"
	      SrcPort		      LConn2
	      Points		      [-25, 0; 0, 45]
	      Branch {
		ConnectType		"DEST_SRC"
		DstBlock		"P2"
		DstPort			RConn1
	      }
	      Branch {
		ConnectType		"DEST_DEST"
		SrcBlock		"CCS"
		SrcPort			RConn1
		Points			[0, 5; -140, 0]
	      }
	    }
	    Line {
	      LineType		      "Connection"
	      SrcBlock		      "VM"
	      SrcPort		      LConn1
	      Points		      [-25, 0; 0, -35]
	      Branch {
		ConnectType		"DEST_SRC"
		DstBlock		"P1"
		DstPort			RConn1
	      }
	      Branch {
		ConnectType		"DEST_SRC"
		Points			[150, 0]
		DstBlock		"CCS"
		DstPort			LConn1
	      }
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Ideal 1:N Transformer1"
	  Ports			  [0, 0, 0, 0, 0, 2, 2]
	  Position		  [100, 188, 165, 232]
	  TreatAsAtomicUnit	  off
	  MaskPromptString	  "Turns Ratio Secondary/Primary"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "N=@1;"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "sqrt(2)"
	  System {
	    Name		    "Ideal 1:N Transformer1"
	    Location		    [404, 435, 1088, 845]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Reference
	      Name		      "CCS"
	      Description	      "source block"
	      Ports		      [1, 0, 0, 0, 0, 1, 1]
	      Position		      [207, 80, 243, 125]
	      Orientation	      "down"
	      AttributesFormatString  "\\n"
	      SourceBlock	      "powerlib/Electrical\nSources/Controlled"
" Current Source"
	      SourceType	      "Controlled Current Source"
	      Initialize	      off
	      SourceType	      "AC"
	      Amplitude		      "0"
	      Phase		      "0"
	      Frequency		      "0"
	      Measurements	      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "CM"
	      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
	      Ports		      [0, 1, 0, 0, 0, 1, 1]
	      Position		      [460, 33, 485, 57]
	      Orientation	      "left"
	      AttributesFormatString  "\\n"
	      SourceBlock	      "powerlib/Measurements/Current Measureme"
"nt"
	      SourceType	      "Current Measurement"
	      PhasorSimulation	      off
	      OutputType	      "Magnitude"
	      PSBequivalent	      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "CVS"
	      Description	      "source block"
	      Ports		      [1, 0, 0, 0, 0, 1, 1]
	      Position		      [397, 90, 433, 135]
	      Orientation	      "up"
	      AttributesFormatString  "\\n"
	      SourceBlock	      "powerlib/Electrical\nSources/Controlled"
" Voltage Source"
	      SourceType	      "Controlled Voltage Source"
	      Initialize	      off
	      SourceType	      "AC"
	      Amplitude		      "0"
	      Phase		      "0"
	      Frequency		      "0"
	      Measurements	      "None"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [305, 25, 335, 55]
	      Orientation	      "left"
	      Gain		      "-N"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [315, 160, 345, 190]
	      Gain		      "N"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "VM"
	      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
	      Ports		      [0, 1, 0, 0, 0, 2]
	      Position		      [125, 83, 150, 107]
	      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
	      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"
	      Mas

⌨️ 快捷键说明

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