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

📄 m5_5_15a.mdl

📁 电力电子仿真程序电力电子仿电力电子仿真程序真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    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		  "tp163210"
	}
	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		      Reference
      Name		      "Universal Bridge"
      Ports		      [0, 0, 0, 0, 0, 2, 2]
      Position		      [150, 147, 205, 223]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Power\nElectronics/Universal Bridge"
      SourceType	      "Universal Bridge"
      Arms		      "2"
      SnubberResistance	      "1e5"
      SnubberCapacitance      "inf"
      Device		      "Diodes"
      Ron		      "1e-3"
      Lon		      "0"
      ForwardVoltages	      "[  0  0  ]"
      ForwardVoltage	      "0"
      GTOparameters	      "[ 10e-6 , 20e-6 ]"
      IGBTparameters	      "[ 1e-6 , 2e-6 ]"
      Measurements	      "None"
    }
    Block {
      BlockType		      SubSystem
      Name		      "pwm"
      Ports		      [0, 2]
      Position		      [240, 48, 295, 92]
      TreatAsAtomicUnit	      off
      System {
	Name			"pwm"
	Location		[183, 272, 681, 572]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [170, 120, 200, 150]
	  Gain			  "-1"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [170, 170, 200, 200]
	  Gain			  "-1"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [270, 221, 275, 259]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [180, 57, 210, 88]
	  Operator		  ">"
	  InputSameDT		  off
	  ZeroCross		  off
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator1"
	  Position		  [230, 127, 260, 158]
	  Operator		  ">"
	  InputSameDT		  off
	  ZeroCross		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Repeating\nSequence"
	  Ports			  [0, 1]
	  Position		  [80, 50, 110, 80]
	  SourceBlock		  "simulink/Sources/Repeating\nSequence"
	  SourceType		  "Repeating table"
	  rep_seq_t		  "[-0.3 0.3]"
	  rep_seq_y		  "[-1.5 2]"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [3]
	  Position		  [375, 192, 405, 248]
	  Location		  [203, 91, 527, 416]
	  Open			  off
	  NumInputPorts		  "3"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	    axes3		    "%<SignalLabel>"
	  }
	  List {
	    ListType		    SelectedSignals
	    axes1		    ""
	    axes2		    ""
	    axes3		    ""
	  }
	  TimeRange		  "20"
	  YMin			  "-0.1~-0.1~-2"
	  YMax			  "1.5~1.5~2"
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave"
	  Position		  [80, 115, 110, 145]
	  SineType		  "Time based"
	  Amplitude		  "0.5"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "触发信号1"
	  Position		  [370, 68, 400, 82]
	}
	Block {
	  BlockType		  Outport
	  Name			  "触发信号2"
	  Position		  [370, 138, 400, 152]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Sine Wave"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "Relational\nOperator"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 55]
	    Branch {
	      DstBlock		      "Gain1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 65]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Relational\nOperator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Repeating\nSequence"
	  SrcPort		  1
	  Points		  [0, 0; 35, 0]
	  Branch {
	    DstBlock		    "Relational\nOperator"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 70]
	    Branch {
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 95]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [0, -35]
	  DstBlock		  "Relational\nOperator1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  Points		  [115, 0]
	  Branch {
	    DstBlock		    "触发信号1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 125]
	    DstBlock		    "Scope"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Relational\nOperator1"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "触发信号2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 75]
	    DstBlock		    "Scope"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Scope"
	  DstPort		  3
	}
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [285, 100; 15, 0]
      Branch {
	ConnectType		"SRC_DEST"
	Points			[250, 100; 35, 0]
	Branch {
	  ConnectType		  "SRC_DEST"
	  SrcBlock		  "Universal Bridge"
	  SrcPort		  RConn1
	  Points		  [10, 0; 0, -65; 20, 0]
	}
	Branch {
	  ConnectType		  "SRC_SRC"
	  DstBlock		  "C\n "
	  DstPort		  LConn1
	}
      }
      Branch {
	ConnectType		"SRC_SRC"
	DstBlock		"R\n "
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[105, 0]
	Branch {
	  ConnectType		  "DEST_DEST"
	  Points		  [460, 100; -55, 0]
	  Branch {
	    ConnectType		    "SRC_DEST"
	    Points		    [605, 100; -145, 0]
	    Branch {
	      ConnectType	      "SRC_DEST"
	      SrcBlock		      "Diode1"
	      SrcPort		      RConn1
	      Points		      [0, -25; -60, 0]
	    }
	    Branch {
	      ConnectType	      "SRC_SRC"
	      DstBlock		      "IGBT3"
	      DstPort		      LConn1
	    }
	  }
	  Branch {
	    ConnectType		    "SRC_DEST"
	    SrcBlock		    "Diode"
	  

⌨️ 快捷键说明

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