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

📄 buck.mdl

📁 Buck conveter used in power electronics to buck the output voltage
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  System {
	    Name		    "source"
	    Location		    [447, 248, 1089, 654]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Mux
	      Name		      "MasterMux"
	      Ports		      [2, 1]
	      Position		      [315, 106, 340, 144]
	      NamePlacement	      "alternate"
	      Inputs		      "[-1 2]"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [4, 1]
	      Position		      [140, 69, 170, 166]
	      Inputs		      "[1 1 1 1]"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "MuxSwitch"
	      Ports		      [2, 1]
	      Position		      [235, 128, 265, 217]
	      Inputs		      "2"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "MuxVf"
	      Ports		      [1, 1]
	      Position		      [265, 256, 295, 344]
	      Orientation	      "left"
	      Inputs		      "1"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "SelectorVf"
	      Ports		      [1, 1]
	      Position		      [225, 287, 245, 313]
	      Orientation	      "left"
	      InputPortWidth	      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "State-Space"
	      Ports		      [1, 1]
	      Position		      [375, 103, 455, 147]
	      FunctionName	      "sfun_psbcontc"
	      Parameters	      "A,B,C,D,x0,Rswitch,YSwitchCurrent"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "T"
	      Position		      [195, 335, 215, 355]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "diode (logical)"
	      Ports		      [1, 3]
	      Position		      [340, 279, 435, 311]
	      Orientation	      "left"
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"diode (logical)"
		Location		[25, 502, 539, 757]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In"
		  Position		  [20, 25, 45, 45]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Selector
		  Name			  "Selector"
		  Ports			  [1, 1]
		  Position		  [75, 20, 115, 50]
		  Elements		  "2"
		  InputPortWidth	  "7"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "gotos"
		  Ports			  [1]
		  Position		  [385, 138, 430, 172]
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "gotos"
		    Location		    [193, 281, 559, 488]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In"
		    Position		    [15, 90, 35, 110]
		    Port		    "1"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux"
		    Ports		    [1, 1]
		    Position		    [100, 82, 135, 118]
		    Outputs		    "1"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto1"
		    Position		    [220, 30, 275, 60]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp241650"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector"
		    Ports		    [1, 1]
		    Position		    [55, 72, 75, 128]
		    Elements		    "[1 2]"
		    InputPortWidth	    "2"
		    }
		    Line {
		    SrcBlock		    "Selector"
		    SrcPort		    1
		    DstBlock		    "Demux"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In"
		    SrcPort		    1
		    DstBlock		    "Selector"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    1
		    DstBlock		    "Goto1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Reference
		  Name			  "model"
		  Ports			  [1, 4]
		  Position		  [250, 22, 315, 68]
		  BackgroundColor	  "lightBlue"
		  DropShadow		  on
		  SourceBlock		  "powerlib_models/Continuous/diode (l"
"ogical)"
		  SourceType		  ""
		  ShowPortLabels	  on
		  Nsw			  "1"
		  Vf			  "0.8"
		  Rsw			  "0.001"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [395, 18, 420, 42]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out2"
		  Position		  [395, 88, 420, 112]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out3"
		  Position		  [395, 208, 420, 232]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "In"
		  SrcPort		  1
		  DstBlock		  "Selector"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Selector"
		  SrcPort		  1
		  DstBlock		  "model"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "model"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "model"
		  SrcPort		  2
		  DstBlock		  "Out2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "model"
		  SrcPort		  4
		  DstBlock		  "Out3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "model"
		  SrcPort		  3
		  DstBlock		  "gotos"
		  DstPort		  1
		}
	      }
	    }
	    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			  [1, 1]
		  Position		  [170, 96, 175, 184]
		  Inputs		  "1"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  From
		  Name			  "from1"
		  Position		  [20, 30, 75, 60]
		  DialogController	  "Simulink.DDGSource"
		  GotoTag		  "tp241640"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out"
		  Position		  [200, 128, 225, 152]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "from1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ideal_switch"
	      Ports		      [1, 2]
	      Position		      [340, 231, 435, 264]
	      Orientation	      "left"
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"ideal_switch"
		Location		[353, 476, 871, 654]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In"
		  Position		  [90, 20, 115, 40]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Selector
		  Name			  "Selector"
		  Ports			  [1, 1]
		  Position		  [145, 15, 185, 45]
		  InputPortWidth	  "7"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "froms"
		  Ports			  [0, 1]
		  Position		  [145, 64, 185, 96]
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "froms"
		    Location		    [5, 415, 371, 622]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    From
		    Name		    "From1"
		    Position		    [20, 30, 75, 60]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp241651"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux"
		    Ports		    [1, 1]
		    Position		    [235, 97, 270, 133]
		    Inputs		    "1"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out"
		    Position		    [315, 105, 335, 125]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    InitialOutput	    "0"
		    }
		    Line {
		    SrcBlock		    "Mux"
		    SrcPort		    1
		    DstBlock		    "Out"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "From1"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "gotos"
		  Ports			  [1]
		  Position		  [395, 98, 440, 132]
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "gotos"
		    Location		    [193, 281, 559, 488]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In"
		    Position		    [15, 90, 35, 110]
		    Port		    "1"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux"
		    Ports		    [1, 1]
		    Position		    [100, 82, 135, 118]
		    Outputs		    "1"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto1"
		    Position		    [220, 30, 275, 60]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp241653"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector"
		    Ports		    [1, 1]
		    Position		    [55, 72, 75, 128]
		    Elements		    "[1 2]"
		    InputPortWidth	    "2"
		    }
		    Line {
		    SrcBlock		    "In"
		    SrcPort		    1
		    DstBlock		    "Selector"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Selector"
		    SrcPort		    1
		    DstBlock		    "Demux"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    1
		    DstBlock		    "Goto1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Reference
		  Name			  "model"
		  Ports			  [2, 3]
		  Position		  [250, 22, 315, 68]
		  BackgroundColor	  "lightBlue"
		  DropShadow		  on
		  SourceBlock		  "powerlib_models/Continuous/ideal_sw"
"itch"
		  SourceType		  "Switch logic model"
		  ShowPortLabels	  on
		  Nsw			  "1"
		  Rsw			  "0.001"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [395, 18, 420, 42]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out2"
		  Position		  [395, 58, 420, 82]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off

⌨️ 快捷键说明

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