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

📄 new_controller.mdl

📁 一个无刷电机仿真的模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 215]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "IU"
	      SrcPort		      1
	      Points		      [120, 0]
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "IUstar"
	      SrcPort		      1
	      Points		      [120, 0]
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "IV"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "IVstar"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "IW"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "IWstar"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "UV"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "VW"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "WU"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      9
	    }
	    Line {
	      Name		      "Tr1"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "Tr1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr2"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      3
	      DstBlock		      "Tr2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr3"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      4
	      DstBlock		      "Tr3"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr4"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      5
	      DstBlock		      "Tr4"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr5"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      6
	      DstBlock		      "Tr5"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr6"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      7
	      DstBlock		      "Tr6"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "CONT_UP"
	  Ports			  [9, 6]
	  Position		  [245, 29, 415, 181]
	  ForegroundColor	  "blue"
	  TreatAsAtomicUnit	  on
	  MaskType		  "Stateflow"
	  MaskDescription	  "Stateflow diagram"
	  MaskDisplay		  "plot(sf('Private','sfblk','xIcon'),sf('Priv"
"ate','sfblk','yIcon'));text(0.5,0,sf('Private', 'sfblk', 'tIcon'),'Horizontal"
"Al','Center','VerticalAl','Bottom');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "CONT_UP"
	    Location		    [257, 457, 812, 717]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "IU"
	      Position		      [20, 101, 40, 119]
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "IUstar"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "IV"
	      Position		      [20, 171, 40, 189]
	      Port		      "3"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "IVstar"
	      Position		      [20, 206, 40, 224]
	      Port		      "4"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "IW"
	      Position		      [20, 246, 40, 264]
	      Port		      "5"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "IWstar"
	      Position		      [20, 281, 40, 299]
	      Port		      "6"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "UV"
	      Position		      [20, 316, 40, 334]
	      Port		      "7"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "VW"
	      Position		      [20, 351, 40, 369]
	      Port		      "8"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "WU"
	      Position		      [20, 386, 40, 404]
	      Port		      "9"
	      PortDimensions	      "1"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 315, 320, 355]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function NEW_CONTROLLER 2"
	      Ports		      [9, 7]
	      Position		      [180, 109, 230, 311]
	      FunctionName	      "sf_sfun"
	      PortCounts	      "[9 7]"
	      Port {
		PortNumber		2
		Name			"Tr1"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	      Port {
		PortNumber		3
		Name			"Tr2"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	      Port {
		PortNumber		4
		Name			"Tr3"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	      Port {
		PortNumber		5
		Name			"Tr4"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	      Port {
		PortNumber		6
		Name			"Tr5"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	      Port {
		PortNumber		7
		Name			"Tr6"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 326, 480, 344]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tr1"
	      Position		      [460, 101, 480, 119]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tr2"
	      Position		      [460, 136, 480, 154]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tr3"
	      Position		      [460, 171, 480, 189]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tr4"
	      Position		      [460, 206, 480, 224]
	      Port		      "4"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tr5"
	      Position		      [460, 246, 480, 264]
	      Port		      "5"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tr6"
	      Position		      [460, 281, 480, 299]
	      Port		      "6"
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 215]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "IU"
	      SrcPort		      1
	      Points		      [120, 0]
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "IUstar"
	      SrcPort		      1
	      Points		      [120, 0]
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "IV"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "IVstar"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "IW"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      5
	    }
	    Line {
	      SrcBlock		      "IWstar"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      6
	    }
	    Line {
	      SrcBlock		      "UV"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      7
	    }
	    Line {
	      SrcBlock		      "VW"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      8
	    }
	    Line {
	      SrcBlock		      "WU"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      9
	    }
	    Line {
	      Name		      "Tr1"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "Tr1"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr2"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      3
	      DstBlock		      "Tr2"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr3"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      4
	      DstBlock		      "Tr3"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr4"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      5
	      DstBlock		      "Tr4"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr5"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      6
	      DstBlock		      "Tr5"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Tr6"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      7
	      DstBlock		      "Tr6"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [2, 1]
	  Position		  [630, 39, 665, 61]
	  Operator		  "OR"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator1"
	  Ports			  [2, 1]
	  Position		  [630, 89, 665, 111]
	  Operator		  "OR"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator2"
	  Ports			  [2, 1]
	  Position		  [630, 149, 665, 171]
	  Operator		  "OR"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator3"
	  Ports			  [2, 1]
	  Position		  [630, 204, 665, 226]
	  Operator		  "OR"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator4"
	  Ports			  [2, 1]
	  Position		  [630, 264, 665, 286]
	  Operator		  "OR"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator5"
	  Ports			  [2, 1]
	  Position		  [635, 329, 670, 351]
	  Operator		  "OR"
	  AllPortsSameDT	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tr1"
	  Position		  [705, 43, 735, 57]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tr2"
	  Position		  [705, 93, 735, 107]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tr3"
	  Position		  [705, 153, 735, 167]
	  Port			  "3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tr4"
	  Position		  [705, 208, 735, 222]
	  Port			  "4"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tr5"
	  Position		  [705, 268, 735, 282]
	  Port			  "5"
	}
	Block {

⌨️ 快捷键说明

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