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

📄 svmdtc_close.mdl

📁 实现了基于SVPWM的永磁同步电机仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "alfa"
	      Position		      [30, 93, 60, 107]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "beta"
	      Position		      [30, 123, 60, 137]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Subsystem"
	      Ports		      [5, 2]
	      Position		      [345, 105, 395, 245]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      MaskHideContents	      off
	      System {
		Name			"Subsystem"
		Location		[2, 82, 1014, 718]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	"[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "t"
		  Position		  [15, 23, 45, 37]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "n"
		  Position		  [15, 53, 45, 67]
		  Port			  "2"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "va"
		  Position		  [15, 138, 45, 152]
		  Port			  "3"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "vb"
		  Position		  [15, 178, 45, 192]
		  Port			  "4"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "vdc"
		  Position		  [15, 218, 45, 232]
		  Port			  "5"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [150, 95, 180, 125]
		  Gain			  "-1"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain1"
		  Position		  [160, 180, 190, 210]
		  Gain			  "-1"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain2"
		  Position		  [175, 310, 205, 340]
		  Gain			  "-1"
		}
		Block {
		  BlockType		  If
		  Name			  "If"
		  Ports			  [1, 2]
		  Position		  [475, 306, 540, 339]
		  IfExpression		  "u1> 0"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "If Action\nSubsystem"
		  Ports			  [2, 2, 0, 0, 0, 0, 0, 1]
		  Position		  [520, 482, 590, 518]
		  TreatAsAtomicUnit	  on
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskHideContents	  off
		  System {
		    Name		    "If Action\nSubsystem"
		    Location		    [339, 457, 837, 757]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    "[0.500000, 0.500000, 0.500000, 0."
"500000]"
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [75, 78, 105, 92]
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [80, 113, 110, 127]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    ActionPort
		    Name		    "Action Port"
		    Position		    [195, 25, 254, 53]
		    NamePlacement	    "alternate"
		    ActionType		    "else"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [325, 78, 355, 92]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out2"
		    Position		    [330, 113, 360, 127]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    DstBlock		    "Out2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "If Action\nSubsystem1"
		  Ports			  [3, 2, 0, 0, 0, 0, 0, 1]
		  Position		  [630, 363, 675, 437]
		  TreatAsAtomicUnit	  on
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskHideContents	  off
		  System {
		    Name		    "If Action\nSubsystem1"
		    Location		    [114, 385, 612, 685]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    "[0.500000, 0.500000, 0.500000, 0."
"500000]"
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In1"
		    Position		    [75, 78, 105, 92]
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In2"
		    Position		    [75, 133, 105, 147]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "In3"
		    Position		    [75, 183, 105, 197]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    ActionPort
		    Name		    "Action Port"
		    Position		    [215, 30, 274, 58]
		    ActionType		    "then"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn"
		    Position		    [220, 95, 280, 125]
		    Expr		    "u(1)*u(3)/(u(1)+u(2))"
		    }
		    Block {
		    BlockType		    Fcn
		    Name		    "Fcn1"
		    Position		    [220, 145, 280, 175]
		    Expr		    "u(2)*u(3)/(u(1)+u(2))"
		    }
		    Block {
		    BlockType		    Mux
		    Name		    "Mux"
		    Ports		    [3, 1]
		    Position		    [180, 91, 185, 129]
		    ShowName		    off
		    Inputs		    "3"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out1"
		    Position		    [325, 93, 355, 107]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out2"
		    Position		    [325, 138, 355, 152]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Line {
		    SrcBlock		    "Fcn1"
		    SrcPort		    1
		    Points		    [10, 0; 0, -15]
		    DstBlock		    "Out2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Fcn"
		    SrcPort		    1
		    Points		    [10, 0; 0, -10]
		    DstBlock		    "Out1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "In3"
		    SrcPort		    1
		    Points		    [55, 0]
		    DstBlock		    "Mux"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "Mux"
		    SrcPort		    1
		    Points		    [5, 0]
		    Branch {
		    Points		    [0, 50]
		    DstBlock		    "Fcn1"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "Fcn"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "In2"
		    SrcPort		    1
		    Points		    [25, 0; 0, -30]
		    DstBlock		    "Mux"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "In1"
		    SrcPort		    1
		    Points		    [25, 0; 0, 15]
		    DstBlock		    "Mux"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  MultiPortSwitch
		  Name			  "Multiport\nSwitch"
		  Ports			  [7, 1]
		  Position		  [320, 55, 355, 155]
		  Inputs		  "6"
		  InputSameDT		  off
		}
		Block {
		  BlockType		  MultiPortSwitch
		  Name			  "Multiport\nSwitch1"
		  Ports			  [7, 1]
		  Position		  [320, 190, 355, 290]
		  Inputs		  "6"
		  InputSameDT		  off
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Subsystem"
		  Ports			  [4, 3]
		  Position		  [80, 85, 110, 245]
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  MaskHideContents	  off
		  System {
		    Name		    "Subsystem"
		    Location		    [2, 82, 1014, 718]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    TiledPaperMargins	    "[0.500000, 0.500000, 0.500000, 0."
"500000]"
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "t"
		    Position		    [25, 23, 55, 37]
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "va"
		    Position		    [15, 178, 45, 192]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "vb"
		    Position		    [15, 213, 45, 227]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "vdc"
		    Position		    [15, 263, 45, 277]
		    Port		    "4"
		    IconDisplay		    "Port number"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain1"
		    Position		    [105, 218, 135, 252]
		    Gain		    "sqrt(3)"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain2"
		    Position		    [460, 205, 505, 235]
		    Gain		    "0.5"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain4"
		    Position		    [105, 170, 135, 200]
		    Gain		    "3"
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain5"
		    Position		    [460, 300, 510, 330]
		    Gain		    "0.5"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [3, 1]
		    Position		    [230, 86, 240, 144]
		    Inputs		    "**/"
		    CollapseMode	    "All dimensions"
		    InputSameDT		    off
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product1"
		    Ports		    [3, 1]
		    Position		    [390, 192, 400, 248]
		    Inputs		    "**/"
		    CollapseMode	    "All dimensions"
		    InputSameDT		    off
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product2"
		    Ports		    [3, 1]
		    Position		    [385, 282, 405, 348]
		    Inputs		    "**/"
		    CollapseMode	    "All dimensions"
		    InputSameDT		    off
		    RndMeth		    "Floor"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum1"
		    Ports		    [2, 1]
		    Position		    [235, 191, 250, 229]
		    ShowName		    off
		    CollapseMode	    "All dimensions"
		    InputSameDT		    off
		    OutDataTypeMode	    "Inherit via internal rule"
		    }
		    Block {
		    BlockType		    Sum
		    Name		    "Sum3"
		    Ports		    [2, 1]
		    Position		    [240, 301, 255, 339]
		    ShowName		    off
		    Inputs		    "+-"
		    CollapseMode	    "All dimensions"
		    InputSameDT		    off
		    OutDataTypeMode	    "Inherit via internal rule"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "x"
		    Position		    [605, 108, 635, 122]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "y"
		    Position		    [600, 213, 630, 227]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "z"
		    Position		    [600, 305, 630, 325]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Line {
		    SrcBlock		    "Gain2"
		    SrcPort		    1
		    DstBlock		    "y"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain5"
		    SrcPort		    1
		    DstBlock		    "z"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product2"
		    SrcPort		    1
		    DstBlock		    "Gain5"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Sum3"
		    SrcPort		    1
		    Points		    [20, 0; 0, -5]
		    DstBlock		    "Product2"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    DstBlock		    "x"
		    DstPort		    1

⌨️ 快捷键说明

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