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

📄 mrasnn730.mdl

📁 三相异步电机无速度传感器的matlab实现
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		Line {
		  SrcBlock		  "iqref1"
		  SrcPort		  1
		  DstBlock		  "we"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum3"
		  SrcPort		  1
		  DstBlock		  "Changer"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "iq2"
		  SrcPort		  1
		  Points		  [155, 0; 0, -55]
		  DstBlock		  "Changer"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "iq"
		  SrcPort		  1
		  Points		  [155, 0; 0, 80]
		  DstBlock		  "Changer"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "id"
		  SrcPort		  1
		  Points		  [310, 0]
		  DstBlock		  "Changer"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Changer"
		  SrcPort		  1
		  DstBlock		  "iqref1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Changer"
	      Ports		      [10, 1]
	      Position		      [730, 550, 800, 670]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      Array {
		Type			"Handle"
		Dimension		0
		PropName		"AvailSigsLoadSave"
	      }
	      MaskHideContents	      off
	      MaskType		      "Stateflow"
	      MaskDescription	      "Embedded MATLAB block"
	      MaskDisplay	      "disp('fcn');"
	      MaskSelfModifiable      on
	      MaskIconFrame	      on
	      MaskIconOpaque	      off
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Changer"
		Location		[257, 457, 812, 717]
		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			  "did"
		  Position		  [20, 101, 40, 119]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "w"
		  Position		  [20, 136, 40, 154]
		  Port			  "2"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "id"
		  Position		  [20, 171, 40, 189]
		  Port			  "3"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "iq"
		  Position		  [20, 206, 40, 224]
		  Port			  "4"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "id2"
		  Position		  [20, 246, 40, 264]
		  Port			  "5"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "iq2"
		  Position		  [20, 281, 40, 299]
		  Port			  "6"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "ud"
		  Position		  [20, 316, 40, 334]
		  Port			  "7"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "uq"
		  Position		  [20, 351, 40, 369]
		  Port			  "8"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "R2"
		  Position		  [20, 386, 40, 404]
		  Port			  "9"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "T"
		  Position		  [20, 426, 40, 444]
		  Port			  "10"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Demux
		  Name			  " Demux "
		  Ports			  [1, 1]
		  Position		  [270, 330, 320, 370]
		  Outputs		  "1"
		}
		Block {
		  BlockType		  "S-Function"
		  Name			  " SFunction "
		  Tag			  "Stateflow S-Function MRASNN730 8"
		  Ports			  [10, 2]
		  Position		  [180, 110, 230, 330]
		  FunctionName		  "sf_sfun"
		  PortCounts		  "[10 2]"
		  Port {
		    PortNumber		    2
		    Name		    "R"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		}
		Block {
		  BlockType		  Terminator
		  Name			  " Terminator "
		  Position		  [460, 341, 480, 359]
		}
		Block {
		  BlockType		  Outport
		  Name			  "R"
		  Position		  [460, 101, 480, 119]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  " SFunction "
		  SrcPort		  1
		  Points		  [0, 185]
		  DstBlock		  " Demux "
		  DstPort		  1
		}
		Line {
		  SrcBlock		  " Demux "
		  SrcPort		  1
		  DstBlock		  " Terminator "
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "did"
		  SrcPort		  1
		  Points		  [120, 0]
		  DstBlock		  " SFunction "
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "w"
		  SrcPort		  1
		  Points		  [120, 0]
		  DstBlock		  " SFunction "
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "id"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "iq"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "id2"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  5
		}
		Line {
		  SrcBlock		  "iq2"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  6
		}
		Line {
		  SrcBlock		  "ud"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  7
		}
		Line {
		  SrcBlock		  "uq"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  8
		}
		Line {
		  SrcBlock		  "R2"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  9
		}
		Line {
		  SrcBlock		  "T"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  10
		}
		Line {
		  Name			  "R"
		  Labels		  [0, 0]
		  SrcBlock		  " SFunction "
		  SrcPort		  2
		  DstBlock		  "R"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Changer2"
	      Ports		      [1, 1]
	      Position		      [220, 596, 290, 644]
	      Orientation	      "left"
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      Array {
		Type			"Handle"
		Dimension		0
		PropName		"AvailSigsLoadSave"
	      }
	      MaskHideContents	      off
	      MaskType		      "Stateflow"
	      MaskDescription	      "Embedded MATLAB block"
	      MaskDisplay	      "disp('fcn');"
	      MaskSelfModifiable      on
	      MaskIconFrame	      on
	      MaskIconOpaque	      off
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      Port {
		PortNumber		1
		Name			"Position"
		PropagatedSignals	"output"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	      System {
		Name			"Changer2"
		Location		[257, 457, 812, 717]
		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			  "in"
		  Position		  [20, 101, 40, 119]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Demux
		  Name			  " Demux "
		  Ports			  [1, 1]
		  Position		  [270, 160, 320, 200]
		  Outputs		  "1"
		}
		Block {
		  BlockType		  "S-Function"
		  Name			  " SFunction "
		  Tag			  "Stateflow S-Function MRASNN730 11"
		  Ports			  [1, 2]
		  Position		  [180, 100, 230, 160]
		  FunctionName		  "sf_sfun"
		  PortCounts		  "[1 2]"
		  Port {
		    PortNumber		    2
		    Name		    "output"
		    RTWStorageClass	    "Auto"
		    DataLoggingNameMode	    "SignalName"
		  }
		}
		Block {
		  BlockType		  Terminator
		  Name			  " Terminator "
		  Position		  [460, 171, 480, 189]
		}
		Block {
		  BlockType		  Outport
		  Name			  "output"
		  Position		  [460, 101, 480, 119]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  " SFunction "
		  SrcPort		  1
		  Points		  [0, 65]
		  DstBlock		  " Demux "
		  DstPort		  1
		}
		Line {
		  SrcBlock		  " Demux "
		  SrcPort		  1
		  DstBlock		  " Terminator "
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "in"
		  SrcPort		  1
		  DstBlock		  " SFunction "
		  DstPort		  1
		}
		Line {
		  Name			  "output"
		  Labels		  [0, 0]
		  SrcBlock		  " SFunction "
		  SrcPort		  2
		  DstBlock		  "output"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Clock
	      Name		      "Clock"
	      Position		      [740, 711, 785, 729]
	      Orientation	      "left"
	      DisplayTime	      on
	      Decimation	      "5"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [940, 1079, 990, 1111]
	      Orientation	      "left"
	      Value		      "1.6"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant4"
	      Position		      [310, 1034, 360, 1066]
	      Orientation	      "left"
	      Value		      "0.5*pi"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 2]
	      Position		      [545, 578, 550, 642]
	      Outputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux1"
	      Ports		      [1, 2]
	      Position		      [415, 323, 420, 387]
	      Outputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [325, 1110, 395, 1140]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Gain		      "15/pi"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	      Port {
		PortNumber		1
		Name			"rotary speed"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [315, 1155, 385, 1185]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      Gain		      "0.5"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	      Port {
		PortNumber		1
		Name			"wm"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Hall effect sensor"
	      Ports		      [1, 1]
	      Position		      [185, 356, 265, 384]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      MaskHideContents	      off
	      System {
		Name			"Hall effect sensor"
		Location		[215, 111, 865, 420]
		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

⌨️ 快捷键说明

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