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

📄 fullbridgeinverter.mdl

📁 采用极点配置的电压电流双PI闭环PWM逆变器仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "G2_2"
    }
    Block {
      BlockType		      From
      Name		      "From4"
      Position		      [365, 296, 405, 314]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "G3_2"
    }
    Block {
      BlockType		      From
      Name		      "From5"
      Position		      [365, 426, 405, 444]
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "G4_2"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [897, 265, 913, 290]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      Gain		      "1/311"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [885, 103, 910, 127]
      NamePlacement	      "alternate"
      ShowName		      off
      Gain		      "-1"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [682, 240, 698, 265]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [160, 144, 205, 166]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      GotoTag		      "G1_2"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto3"
      Position		      [160, 164, 205, 186]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      GotoTag		      "G2_2"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [160, 184, 205, 206]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      GotoTag		      "G3_2"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto5"
      Position		      [160, 204, 205, 226]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      GotoTag		      "G4_2"
      TagVisibility	      "local"
    }
    Block {
      BlockType		      Reference
      Name		      "Ground2"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [235, 390, 255, 410]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Ground"
      SourceType	      "Ground"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
    }
    Block {
      BlockType		      Reference
      Name		      "I1"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [0, 1, 0, 0, 0, 1, 1]
      Position		      [620, 323, 645, 347]
      ShowName		      off
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "I2"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [0, 1, 0, 0, 0, 1, 1]
      Position		      [735, 328, 760, 352]
      ShowName		      off
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBequivalent	      "0"
      Port {
	PortNumber		1
	Name			"I load"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "IGBT1_2"
      Ports		      [1, 0, 0, 0, 0, 1, 1]
      Position		      [271, 320, 304, 365]
      Orientation	      "down"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Power\nElectronics/IGBT//Diode"
      SourceType	      "IGBT/Diode"
      ShowPortLabels	      on
      Ron		      "1e-3"
      Rs		      "1e5"
      Cs		      "inf"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "IGBT2_2"
      Ports		      [1, 0, 0, 0, 0, 1, 1]
      Position		      [265, 450, 300, 495]
      Orientation	      "down"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Power\nElectronics/IGBT//Diode"
      SourceType	      "IGBT/Diode"
      ShowPortLabels	      on
      Ron		      "1e-3"
      Rs		      "1e5"
      Cs		      "inf"
      Measurements	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "IGBT2_3"
      Ports		      [1, 0, 0, 0, 0, 1, 1]
      Position		      [420, 320, 455, 365]
      Orientation	      "down"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      AncestorBlock	      "powerlib/Power\nElectronics/IGBT//Diode"
      CopyFcn		      "powericon('power_gototags',gcb,'update',1);"
      OpenFcn		      "power_openblockproxy();"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskType		      "IGBT/Diode"
      MaskDescription	      "Implements an ideal  IGBT, Gto, or Mosfet and a"
"ntiparallel diode."
      MaskHelp		      "web(psbhelp);"
      MaskPromptString	      "Internal resistance Ron (Ohms) :|Snubber resist"
"ance Rs (Ohms) : |Snubber capacitance Cs (F) : |Show measurement port"
      MaskStyleString	      "edit,edit,edit,checkbox"
      MaskTunableValueString  "off,off,off,off"
      MaskCallbackString      "|||powericon('OutputMCback',gcb);"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "Ron=@1;Rs=@2;Cs=@3;Measurements=@4;"
      MaskInitialization      "block = gcb;\nVf=0;\npowericon('OutputMCback',b"
"lock);\npowericon('SwitchesInit','IGBT Diode',block);\npower_initmask();"
      MaskDisplay	      "plot(0,25,-100,85,-[71 28 28],[39 39 23.8],-[39"
".2 33.6 32.8 33.6 40.8 33.6 30 12.4],[44 56 49.6 56 52.8 56 61 61],-[28 71 60"
" 66.4 90],[44 44 44 61 61],-[54 42 42 54 54 54 54 66],[75 67 83 75 67 83 75 7"
"5],-[24 24 42],[61 75 75],-[66,76,76],[75 75 61])"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "1e-3|1e5|inf|on"
      MaskTabNameString	      ",,,"
      System {
	Name			"IGBT2_3"
	Location		[101, 82, 535, 554]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "g"
	  Position		  [15, 103, 45, 117]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "Bus\nSelector"
	  Ports			  [1, 2]
	  Position		  [250, 116, 255, 154]
	  ShowName		  off
	  OutputSignals		  "Switch voltage,Switch current"
	  Port {
	    PortNumber		    1
	    Name		    "<Switch voltage>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "<Switch current>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [255, 195, 330, 215]
	  GotoTag		  "tp373109"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "ISWITCH"
	  Position		  [255, 90, 330, 110]
	}
	Block {
	  BlockType		  Goto
	  Name			  "ITAIL"
	  Position		  [255, 230, 330, 250]
	  GotoTag		  "tp094010"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  PMComponent
	  Name			  "Mosfet"
	  Ports			  [0, 0, 0, 0, 0, 1, 1]
	  Position		  [80, 21, 165, 49]
	  BackgroundColor	  "yellow"
	  PhysicalDomain	  "powersysdomain"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "a"
	  RConnTagsString	  "__new0"
	  MaskType		  "InnerPowersysBlock"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope3"
	  Ports			  [2]
	  Position		  [330, 117, 355, 153]
	  BackgroundColor	  "green"
	  ShowName		  off
	  Floating		  off
	  Location		  [39, 79, 479, 458]
	  Open			  off
	  NumInputPorts		  "2"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	  }
	  TimeRange		  "0.1"
	  YMin			  "-200~-5"
	  YMax			  "200~5"
	  SaveToWorkspace	  on
	  SaveName		  "sps1phPWM2_str4"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  MaxDataPoints		  "500000"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  From
	  Name			  "Status"
	  Position		  [15, 216, 80, 244]
	  GotoTag		  "tp373110"
	}
	Block {
	  BlockType		  From
	  Name			  "Uswitch"
	  Position		  [15, 156, 80, 184]
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "tp094006"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "VF"
	  Position		  [255, 160, 275, 180]
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "model"
	  Ports			  [3, 5]
	  Position		  [100, 76, 195, 264]
	  AncestorBlock		  "powerlib_models/Continuous/IGBT Diode"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskType		  "ContinuousModel"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "model"
	    Location		    [33, 430, 909, 878]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "gate "
	      Position		      [200, 33, 230, 47]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Uswitch"
	      Position		      [25, 113, 55, 127]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "status"
	      Position		      [295, 148, 325, 162]
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "0 4"
	      Position		      [300, 180, 320, 200]
	      ShowName		      off
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/Rsw"
	      Position		      [185, 105, 215, 135]
	      NamePlacement	      "alternate"
	      Gain		      "1./Ron"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type Conversion"
	      Position		      [300, 26, 350, 54]
	      OutDataTypeMode	      "double"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Measurement list"
	      Ports		      [1, 1]
	      Position		      [590, 164, 650, 186]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskHideContents	      off
	      System {
		Name			"Measurement list"
		Location		[66, 280, 407, 404]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"cyan"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [20, 48, 50, 62]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  BusCreator
		  Name			  "Bus\nCreator1"
		  Ports			  [2, 1]
		  Position		  [180, 26, 185, 84]
		  ShowName		  off
		  Inputs		  "2"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux"
		  Ports			  [1, 2]
		  Position		  [75, 24, 80, 86]
		  ShowName		  off
		  Outputs		  "[1,1]"
		  DisplayOption		  "bar"
		  Port {
		    PortNumber		    1
		    Name		    "Switch current"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		  Port {
		    PortNumber		    2
		    Name		    "Switch voltage"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }

⌨️ 快捷键说明

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