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

📄 cl_e_5x.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  MaskType		  "InnerPowersysBlock"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "source"
	  Ports			  [0, 1]
	  Position		  [25, 124, 95, 146]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskInitialization	  "Parent = get_param(gcb,'Parent');          "
"                                                                             "
"           \npss = get_param(Parent,'UserData');                             "
"                                                                   \nif isemp"
"ty(pss)                                                                      "
"                                              \n    A=0;B=0;C=0;D=0;x0=0;Rswi"
"tch=0;TypeSwitch=0;Ts=1;YSwitchCurrent=-1;                                   "
"                         \nelse                                              "
"                                                                             "
"    \n    A=pss.A;B=pss.B;C=pss.C;D=pss.D;x0=pss.x0;Rswitch=pss.Rswitch;TypeS"
"witch=pss.TypeSwitch;Ts=0;YSwitchCurrent=pss.YSwitchCurrent;\nend            "
"                                                                             "
"                                       "
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "source"
	    Location		    [451, 556, 1091, 812]
	    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		      [275, 70, 305, 165]
	      Inputs		      "[2 1]"
	    }
	    Block {
	      BlockType		      StateSpace
	      Name		      "State-Space"
	      Position		      [370, 93, 450, 137]
	      A			      "A"
	      B			      "B"
	      C			      "C"
	      D			      "D"
	      X0		      "x0"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Switches2"
	      Ports		      [1, 1]
	      Position		      [340, 229, 435, 261]
	      Orientation	      "left"
	      BackgroundColor	      "[1.000000, 0.501961, 0.501961]"
	      DropShadow	      on
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"Switches2"
		Location		[383, 325, 989, 669]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "voltages"
		  Position		  [20, 95, 45, 115]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Froms1"
		  Ports			  [0, 1]
		  Position		  [75, 130, 115, 150]
		  BackgroundColor	  "[1.000000, 0.501961, 0.501961]"
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "Froms1"
		    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		    "tp184430"
		    }
		    Block {
		    BlockType		    From
		    Name		    "From2"
		    Position		    [20, 65, 75, 95]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp184432"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux"
		    Ports		    [2, 1]
		    Position		    [235, 97, 270, 133]
		    Inputs		    "2"
		    }
		    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
		    }
		    Line {
		    SrcBlock		    "From2"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    2
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Gotos1"
		  Ports			  [1]
		  Position		  [195, 130, 240, 150]
		  BackgroundColor	  "[1.000000, 0.501961, 0.501961]"
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "Gotos1"
		    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, 2]
		    Position		    [100, 82, 135, 118]
		    Outputs		    "2"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto1"
		    Position		    [220, 30, 275, 60]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp184431"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto2"
		    Position		    [220, 65, 275, 95]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp184433"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector"
		    Ports		    [1, 1]
		    Position		    [55, 72, 75, 128]
		    Elements		    "[1 3 2 4]"
		    InputPortWidth	    "4"
		    }
		    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
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    2
		    DstBlock		    "Goto2"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  Reference
		  Name			  "Model1"
		  Ports			  [2, 2]
		  Position		  [135, 89, 170, 156]
		  BackgroundColor	  "lightBlue"
		  DropShadow		  on
		  SourceBlock		  "powerlib_models/Switch Current Sour"
"ce/mosfet"
		  SourceType		  "Mosfet model "
		  ShowPortLabels	  on
		  Ron			  "[1 1]"
		  Lon			  "[1.5e-007 1.5e-007]"
		  Rd			  "[0.001 0.001]"
		  IC			  "[0 0]"
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [1, 1]
		  Position		  [254, 65, 486, 70]
		  Orientation		  "up"
		  Inputs		  "1"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Selector
		  Name			  "Selector1"
		  Ports			  [1, 1]
		  Position		  [75, 96, 115, 114]
		  Elements		  "[1 2]"
		  InputPortWidth	  "4"
		}
		Block {
		  BlockType		  Outport
		  Name			  "currents"
		  Position		  [355, 15, 385, 35]
		  Orientation		  "up"
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "currents"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "voltages"
		  SrcPort		  1
		  DstBlock		  "Selector1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Selector1"
		  SrcPort		  1
		  DstBlock		  "Model1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Model1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Froms1"
		  SrcPort		  1
		  DstBlock		  "Model1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Model1"
		  SrcPort		  2
		  DstBlock		  "Gotos1"
		  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		  "tp184429"
		}
		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		      "transit"
	      Ports		      [1, 1]
	      Position		      [495, 104, 555, 126]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"transit"
		Location		[234, 403, 674, 843]
		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, 2]
		  Position		  [145, 62, 180, 258]
		  Outputs		  "[1 1]"
		}
		Block {
		  BlockType		  Goto
		  Name			  "Goto2"
		  Position		  [330, 115, 360, 145]
		  DialogController	  "Simulink.DDGSource"
		  GotoTag		  "tp184435"
		  TagVisibility		  "global"
		}
		Block {
		  BlockType		  Selector
		  Name			  "Selector"
		  Ports			  [1, 1]
		  Position		  [75, 145, 105, 175]
		  Elements		  "[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		  "In"
		  SrcPort		  1
		  DstBlock		  "Selector"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Selector"
		  SrcPort		  1
		  DstBlock		  "Demux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  1
		  DstBlock		  "Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  2

⌨️ 快捷键说明

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