danxiangquanqiao.mdl

来自「单相全桥逆变电路」· MDL 代码 · 共 2,176 行 · 第 1/4 页

MDL
2,176
字号
		  SrcPort		  3
		  DstBlock		  "Goto3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  4
		  DstBlock		  "Goto4"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  5
		  DstBlock		  "Goto5"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  6
		  DstBlock		  "Goto6"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  7
		  DstBlock		  "Goto7"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  8
		  DstBlock		  "Goto8"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Yout"
	      Ports		      [1]
	      Position		      [280, 53, 345, 77]
	      FontName		      "Arial"
	      FontSize		      14
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskHideContents	      off
	      System {
		Name			"Yout"
		Location		[124, 85, 631, 971]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "v,i"
		  Position		  [15, 373, 45, 387]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux"
		  Ports			  [1, 10]
		  Position		  [100, 193, 105, 572]
		  BackgroundColor	  "black"
		  ShowName		  off
		  Outputs		  "[1 1 1 1 1 1 1 1 1 1]"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto1"
		  Position		  [325, 21, 395, 49]
		  GotoTag		  "tp555850"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto10"
		  Position		  [325, 426, 395, 454]
		  GotoTag		  "tp555870"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto2"
		  Position		  [325, 66, 395, 94]
		  GotoTag		  "tp555856"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto3"
		  Position		  [325, 111, 395, 139]
		  GotoTag		  "tp572943"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto4"
		  Position		  [325, 156, 395, 184]
		  GotoTag		  "tp572950"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto5"
		  Position		  [325, 201, 395, 229]
		  GotoTag		  "tp555832"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto6"
		  Position		  [325, 246, 395, 274]
		  GotoTag		  "tp555840"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto7"
		  Position		  [325, 291, 395, 319]
		  GotoTag		  "tp572956"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto8"
		  Position		  [325, 336, 395, 364]
		  GotoTag		  "tp572964"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto9"
		  Position		  [325, 381, 395, 409]
		  GotoTag		  "tp555715"
		  TagVisibility		  "global"
		}
		Line {
		  SrcBlock		  "v,i"
		  SrcPort		  1
		  Points		  [35, 0]
		  DstBlock		  "Demux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  1
		  DstBlock		  "Goto1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  2
		  DstBlock		  "Goto2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  3
		  DstBlock		  "Goto3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  4
		  DstBlock		  "Goto4"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  5
		  DstBlock		  "Goto5"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  6
		  DstBlock		  "Goto6"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  7
		  DstBlock		  "Goto7"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  8
		  DstBlock		  "Goto8"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  9
		  DstBlock		  "Goto9"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  10
		  DstBlock		  "Goto10"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Gates"
	      SrcPort		      1
	      DstBlock		      "State-Space"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sources"
	      SrcPort		      1
	      DstBlock		      "State-Space"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "State-Space"
	      SrcPort		      2
	      DstBlock		      "Status"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "State-Space"
	      SrcPort		      1
	      DstBlock		      "Yout"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Ground
	  Name			  "Ground"
	  Position		  [315, 40, 335, 60]
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [355, 40, 375, 60]
	  ShowName		  off
	}
	Line {
	  SrcBlock		  "Ground"
	  SrcPort		  1
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Graphical user interface for the analysis o"
"f  SimPowerSystems circuits. \nPlace the Powergui block in the top-level of y"
"our model and double-click\non it to open the GUI."
	  Position		  [14, 29]
	  HorizontalAlignment	  "left"
	  ForegroundColor	  "blue"
	  UseDisplayTextAsClickCallback	off
	  FontSize		  12
	}
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Series RLC Branch3"
      SrcPort		      RConn1
      Points		      [0, 35]
      DstBlock		      "DC Voltage Source"
      DstPort		      RConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Diode"
      SrcPort		      RConn1
      Points		      [0, 0; -250, 0]
      Branch {
	ConnectType		"DEST_SRC"
	Points			[-175, 0]
	Branch {
	  ConnectType		  "DEST_SRC"
	  Points		  [0, 50]
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "Series RLC Branch3"
	    SrcPort		    LConn1
	    Points		    [0, 0]
	  }
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "IGBT"
	    DstPort		    LConn1
	  }
	}
	Branch {
	  ConnectType		  "DEST_SRC"
	  Points		  [670, 0]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "IGBT2"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "DEST_DEST"
	    SrcBlock		    "Diode2"
	    SrcPort		    RConn1
	    Points		    [-150, 0]
	  }
	}
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Series RLC Branch1"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "IGBT"
      SrcPort		      RConn1
      Points		      [0, 0; 5, 0]
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, 85]
	Branch {
	  ConnectType		  "DEST_SRC"
	  Points		  [0, 70; -100, 0; 0, 40]
	  DstBlock		  "IGBT1"
	  DstPort		  LConn1
	}
	Branch {
	  ConnectType		  "DEST_DEST"
	  Points		  [455, 250; -60, 0]
	  Branch {
	    ConnectType		    "SRC_DEST"
	    SrcBlock		    "Diode1"
	    SrcPort		    RConn1
	    Points		    [0, 0; 0, -50]
	  }
	  Branch {
	    ConnectType		    "SRC_SRC"
	    DstBlock		    "Diode"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "SRC_SRC"
	    DstBlock		    "Series RLC Branch"
	    DstPort		    LConn1
	  }
	}
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, -130]
	DstBlock		"Voltage Measurement"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [390, 390; -185, 0]
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"IGBT1"
	SrcPort			RConn1
	Points			[5, 0; 0, 30]
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[65, 0]
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "Diode1"
	  DstPort		  LConn1
	}
	Branch {
	  ConnectType		  "DEST_DEST"
	  Points		  [780, 390; -325, 0]
	  Branch {
	    ConnectType		    "SRC_SRC"
	    Points		    [70, 0]
	    DstBlock		    "Diode3"
	    DstPort		    LConn1
	  }
	  Branch {
	    ConnectType		    "SRC_DEST"
	    SrcBlock		    "IGBT3"
	    SrcPort		    RConn1
	    Points		    [0, 0; 0, 30]
	  }
	}
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[-175, 0]
	DstBlock		"DC Voltage Source"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_DEST"
	SrcBlock		"Series RLC Branch1"
	SrcPort			RConn1
	Points			[0, 100]
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "IGBT2"
      SrcPort		      RConn1
      Points		      [5, 0; 0, 80]
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, 5]
	Branch {
	  ConnectType		  "DEST_SRC"
	  Points		  [0, 70; -100, 0; 0, 40]
	  DstBlock		  "IGBT3"
	  DstPort		  LConn1
	}
	Branch {
	  ConnectType		  "DEST_DEST"
	  Points		  [850, 250; -60, 0]
	  Branch {
	    ConnectType		    "SRC_DEST"
	    SrcBlock		    "Diode3"
	    SrcPort		    RConn1
	    Points		    [0, 0; 0, -50]
	  }
	  Branch {
	    ConnectType		    "SRC_SRC"
	    DstBlock		    "Diode2"
	    DstPort		    LConn1
	  }
	}
      }
      Branch {
	ConnectType		"DEST_DEST"
	SrcBlock		"Current Measurement"
	SrcPort			RConn1
	Points			[40, 0; 0, -230; 45, 0; 0, -5]
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Current Measurement"
      SrcPort		      LConn1
      Points		      [-45, 0; 0, -165]
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, -60]
	DstBlock		"Series RLC Branch"
	DstPort			RConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[-75, 0]
	DstBlock		"Voltage Measurement"
	DstPort			LConn2
      }
    }
    Line {
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      Points		      [160, 0]
      Branch {
	Points			[0, -305]
	DstBlock		"IGBT"
	DstPort			1
      }
      Branch {
	Points			[0, 30]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Pulse\nGenerator1"
      SrcPort		      1
      Points		      [195, 0; 0, -10]
      Branch {
	Points			[0, -200]
	DstBlock		"IGBT1"
	DstPort			1
      }
      Branch {
	Points			[710, 0]
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Pulse\nGenerator2"
      SrcPort		      1
      Points		      [110, 0; 0, -5]
      Branch {
	Points			[0, -300]
	DstBlock		"IGBT2"
	DstPort			1
      }
      Branch {
	Points			[0, 105]
	DstBlock		"Scope"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Pulse\nGenerator3"
      SrcPort		      1
      Points		      [0, -80]
      Branch {
	Points			[0, -165]
	DstBlock		"IGBT3"
	DstPort			1
      }
      Branch {
	Points			[40, 0; 0, 80]
	DstBlock		"Scope"
	DstPort			4
      }
    }
    Line {
      SrcBlock		      "Voltage Measurement"
      SrcPort		      1
      Points		      [385, 0; 0, 580]
      DstBlock		      "Scope"
      DstPort		      5
    }
    Line {
      SrcBlock		      "Current Measurement"
      SrcPort		      1
      Points		      [270, 0; 0, 185]
      DstBlock		      "Scope"
      DstPort		      6
    }
  }
}

⌨️ 快捷键说明

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