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

📄 diode_3.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "electrical sources"
	      Ports		      [0, 1]
	      Position		      [50, 102, 75, 128]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"electrical sources"
		Location		[49, 463, 473, 721]
		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		  [170, 98, 175, 187]
		  Inputs		  "2"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  From
		  Name			  "from1"
		  Position		  [20, 30, 75, 60]
		  DialogController	  "Simulink.DDGSource"
		  GotoTag		  "tp170368"
		}
		Block {
		  BlockType		  From
		  Name			  "from2"
		  Position		  [20, 65, 75, 95]
		  DialogController	  "Simulink.DDGSource"
		  GotoTag		  "tp170692"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out"
		  Position		  [200, 128, 225, 152]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  Points		  [0, -5]
		  DstBlock		  "Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "from1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "from2"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  2
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "transit"
	      Ports		      [1, 1]
	      Position		      [525, 107, 575, 143]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"transit"
		Location		[475, 381, 915, 821]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In"
		  Position		  [30, 150, 50, 170]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux"
		  Ports			  [1, 3]
		  Position		  [145, 62, 180, 258]
		  Outputs		  "[1 1 1]"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto2"
		  Position		  [330, 115, 360, 145]
		  DialogController	  "Simulink.DDGSource"
		  GotoTag		  "tp170370"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto3"
		  Position		  [330, 160, 360, 190]
		  DialogController	  "Simulink.DDGSource"
		  GotoTag		  "tp170690"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Selector
		  Name			  "Selector"
		  Ports			  [1, 1]
		  Position		  [75, 145, 105, 175]
		  Elements		  "[2 3 4]"
		  InputPortWidth	  "4"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out"
		  Position		  [150, 15, 170, 35]
		  Orientation		  "left"
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Selector"
		  SrcPort		  1
		  DstBlock		  "Demux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "In"
		  SrcPort		  1
		  DstBlock		  "Selector"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  1
		  DstBlock		  "Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  2
		  DstBlock		  "Goto2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  3
		  DstBlock		  "Goto3"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [595, 113, 620, 137]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "SelectorVf"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[-15, 0]
		DstBlock		"T"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Mux"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "MuxVf"
	      SrcPort		      1
	      DstBlock		      "SelectorVf"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "MasterMux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "MuxSwitch"
	      SrcPort		      1
	      Points		      [15, 0; 0, -35]
	      DstBlock		      "MasterMux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "MasterMux"
	      SrcPort		      1
	      DstBlock		      "State-Space"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "State-Space"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		DstBlock		"transit"
		DstPort			1
	      }
	      Branch {
		DstBlock		"diode (logical)"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "transit"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "diode (logical)"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "diode (logical)"
	      SrcPort		      2
	      DstBlock		      "MuxSwitch"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "diode (logical)"
	      SrcPort		      3
	      DstBlock		      "MuxVf"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "electrical sources"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	  }
	}
	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		      Reference
      Name		      "Vs1"
      Description	      "source block"
      Ports		      [1, 0, 0, 0, 0, 1, 1]
      Position		      [137, 90, 173, 135]
      Orientation	      "up"
      AttributesFormatString  "\\n"
      FontSize		      10
      SourceBlock	      "powerlib/Electrical\nSources/Controlled Voltage"
" Source"
      SourceType	      "Controlled Voltage Source"
      ShowPortLabels	      on
      Initialize	      off
      SourceType	      "AC"
      Amplitude		      "0"
      Phase		      "0"
      Frequency		      "0"
      Measurements	      "None"
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [45, 0]
      DstBlock		      "Vs1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Vm2"
      SrcPort		      1
      Points		      [20, 0; 0, -45]
      DstBlock		      "Bus\nCreator"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Bus\nCreator"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      LineType		      "Connection"
      Points		      [485, 275; -30, 0]
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"R3\n"
	SrcPort			RConn1
	Points			[0, 130]
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[30, 0]
	Branch {
	  ConnectType		  "DEST_SRC"
	  Points		  [0, -165]
	  DstBlock		  "Vm1"
	  DstPort		  LConn2
	}
	Branch {
	  ConnectType		  "DEST_SRC"
	  Points		  [25, 0; 0, -100]
	  DstBlock		  "Vm2"
	  DstPort		  LConn2
	}
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[-290, 0]
	Branch {
	  ConnectType		  "DEST_DEST"
	  SrcBlock		  "Ground"
	  SrcPort		  LConn1
	  Points		  [0, 0; 0, -15]
	}
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "Vs1"
	  DstPort		  LConn1
	}
      }
      Branch {
	ConnectType		"DEST_DEST"
	SrcBlock		"R4"
	SrcPort			RConn1
	Points			[0, 15]
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Vs1"
      SrcPort		      RConn1
      Points		      [0, -25; 70, 0]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"R1\n"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, 115]
	DstBlock		"R2\n"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "R2\n"
      SrcPort		      RConn1
      DstBlock		      "Non Stock Diode"
      DstPort		      LConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "R3\n"
      SrcPort		      LConn1
      Points		      [0, 0; 0, -20]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Stock Diode"
	DstPort			RConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[30, 0; 0, 50]
	DstBlock		"Vm1"
	DstPort			LConn1
      }
    }
    Line {
      SrcBlock		      "Vm1"
      SrcPort		      1
      DstBlock		      "Bus\nCreator"
      DstPort		      1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Non Stock Diode"
      SrcPort		      RConn1
      Points		      [35, 0]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"R4"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Vm2"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Stock Diode"
      SrcPort		      LConn1
      DstBlock		      "R1\n"
      DstPort		      RConn1
    }
    Annotation {
      Name		      "Yellow = Stock Diode\nViolet = Non Stock Diode "
      Position		      [633, 223]
    }
    Annotation {
      Name		      "The stock diode has a discontinuity between non"
" conduction and conduction. \nThis can sometimes cause simulation issues. "
      Position		      [427, 307]
    }
  }
}

⌨️ 快捷键说明

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