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

📄 mras1.mdl

📁 一个异步电机无速度传感器直接转矩控制系统仿真模型。学习参考用。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "ψ*"
	      Position		      [30, 128, 60, 142]
	      Port		      "1"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      " T*"
	      Position		      [30, 153, 60, 167]
	      Port		      "2"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      " T f"
	      Position		      [30, 188, 60, 202]
	      Port		      "3"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "ψf"
	      Position		      [25, 95, 55, 110]
	      Orientation	      "up"
	      Port		      "4"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "2/3"
	      Ports		      [1, 1]
	      Position		      [155, 30, 175, 60]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"2/3"
		Location		[341, 316, 741, 509]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "2"
		  Position		  [25, 93, 55, 107]
		  Port			  "1"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux"
		  Ports			  [1, 2]
		  Position		  [80, 49, 85, 151]
		  BackgroundColor	  "black"
		  ShowName		  off
		  Outputs		  "2"
		  BusSelectionMode	  off
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [105, 60, 135, 90]
		  Gain			  "sqrt(2/3)"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain1"
		  Position		  [105, 110, 135, 140]
		  Gain			  "sqrt(2/3)"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain2"
		  Position		  [165, 60, 195, 90]
		  Gain			  "-1/2"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain3"
		  Position		  [165, 110, 195, 140]
		  Gain			  "sqrt(3)/2"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux2"
		  Ports			  [3, 1]
		  Position		  [315, 30, 320, 170]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  Inputs		  "3"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum3"
		  Ports			  [2, 1]
		  Position		  [255, 82, 275, 113]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  IconShape		  "rectangular"
		  Inputs		  "++"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum4"
		  Ports			  [2, 1]
		  Position		  [250, 127, 270, 158]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  IconShape		  "rectangular"
		  Inputs		  "+-"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Outport
		  Name			  "3"
		  Position		  [345, 93, 375, 107]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Gain1"
		  SrcPort		  1
		  DstBlock		  "Gain3"
		  DstPort		  1
		}
		Line {
		  Labels		  [1, 0]
		  SrcBlock		  "Gain2"
		  SrcPort		  1
		  Points		  [20, 0]
		  Branch {
		    Points		    [0, 15]
		    DstBlock		    "Sum3"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "Sum4"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Gain3"
		  SrcPort		  1
		  Points		  [0, 0]
		  Branch {
		    Points		    [10, 0; 0, 25]
		    DstBlock		    "Sum4"
		    DstPort		    2
		  }
		  Branch {
		    Points		    [10, 0; 0, -20]
		    DstBlock		    "Sum3"
		    DstPort		    2
		  }
		}
		Line {
		  Labels		  [1, 0]
		  SrcBlock		  "Gain"
		  SrcPort		  1
		  Points		  [5, 0; 0, -25]
		  Branch {
		    Points		    [0, 25]
		    DstBlock		    "Gain2"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, -20; 130, 0; 0, 25]
		    DstBlock		    "Mux2"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Sum4"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Sum3"
		  SrcPort		  1
		  DstBlock		  "Mux2"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  1
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux"
		  SrcPort		  2
		  DstBlock		  "Gain1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "2"
		  SrcPort		  1
		  DstBlock		  "Demux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Mux2"
		  SrcPort		  1
		  DstBlock		  "3"
		  DstPort		  1
		}
		Annotation {
		  Position		  [92, 66]
		  Text			  "a"
		}
		Annotation {
		  Position		  [90, 117]
		  Text			  "B"
		}
		Annotation {
		  Position		  [288, 50]
		  Text			  "A"
		}
		Annotation {
		  Position		  [290, 94]
		  Text			  "B"
		}
		Annotation {
		  Position		  [287, 136]
		  Text			  "C"
		}
	      }
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [115, 87, 140, 113]
	      NamePlacement	      "alternate"
	      Expr		      "sqrt(u(1)*u(1)+u(2)*u(2))"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Subsystem"
	      Ports		      [3, 1]
	      Position		      [235, 64, 275, 146]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"Subsystem"
		Location		[48, 149, 566, 470]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "PHIs"
		  Position		  [25, 128, 55, 142]
		  Port			  "1"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "e-PH"
		  Position		  [305, 208, 335, 222]
		  Port			  "2"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Inport
		  Name			  "e-T"
		  Position		  [305, 248, 335, 262]
		  Port			  "3"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Logic
		  Name			  " "
		  Ports			  [1, 1]
		  Position		  [255, 86, 285, 104]
		  Operator		  "NOT"
		  Inputs		  "2"
		}
		Block {
		  BlockType		  Logic
		  Name			  " 1"
		  Ports			  [1, 1]
		  Position		  [255, 136, 285, 154]
		  Operator		  "NOT"
		  Inputs		  "2"
		}
		Block {
		  BlockType		  Logic
		  Name			  " 2"
		  Ports			  [1, 1]
		  Position		  [255, 186, 285, 204]
		  Operator		  "NOT"
		  Inputs		  "2"
		}
		Block {
		  BlockType		  Constant
		  Name			  "+1"
		  Position		  [95, 264, 120, 286]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  Value			  "0"
		  VectorParams1D	  on
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux2"
		  Ports			  [1, 3]
		  Position		  [115, 56, 120, 214]
		  BackgroundColor	  "black"
		  ShowName		  off
		  Outputs		  "3"
		  BusSelectionMode	  off
		}
		Block {
		  BlockType		  Mux
		  Name			  "Mux"
		  Ports			  [5, 1]
		  Position		  [360, 86, 365, 274]
		  ShowName		  off
		  Inputs		  "5"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Rel 1"
		  Position		  [165, 77, 195, 108]
		  Operator		  ">="
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Rel 2"
		  Position		  [165, 127, 195, 158]
		  Operator		  ">="
		}
		Block {
		  BlockType		  RelationalOperator
		  Name			  "Rel 3"
		  Position		  [165, 177, 195, 208]
		  Operator		  ">="
		}
		Block {
		  BlockType		  Outport
		  Name			  "TAB"
		  Position		  [395, 173, 425, 187]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "Demux2"
		  SrcPort		  1
		  DstBlock		  "Rel 1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux2"
		  SrcPort		  2
		  DstBlock		  "Rel 2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Demux2"
		  SrcPort		  3
		  DstBlock		  "Rel 3"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "PHIs"
		  SrcPort		  1
		  DstBlock		  "Demux2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "+1"
		  SrcPort		  1
		  Points		  [15, 0; 0, -70]
		  Branch {
		    Points		    [0, -55]
		    Branch {
		    DstBlock		    "Rel 2"
		    DstPort		    2
		    }
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Rel 1"
		    DstPort		    2
		    }
		  }
		  Branch {
		    Points		    [10, 0]
		    DstBlock		    "Rel 3"
		    DstPort		    2
		  }
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "TAB"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Rel 1"
		  SrcPort		  1
		  DstBlock		  " "
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Rel 2"
		  SrcPort		  1
		  DstBlock		  " 1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Rel 3"
		  SrcPort		  1
		  DstBlock		  " 2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "e-PH"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  4
		}
		Line {
		  SrcBlock		  "e-T"
		  SrcPort		  1
		  Points		  [0, -5]
		  DstBlock		  "Mux"
		  DstPort		  5
		}
		Line {
		  SrcBlock		  " "
		  SrcPort		  1
		  Points		  [55, 0]
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  " 1"
		  SrcPort		  1
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  " 2"
		  SrcPort		  1
		  Points		  [55, 0]
		  DstBlock		  "Mux"
		  DstPort		  3
		}
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [160, 94, 175, 116]
	      ShowName		      off
	      IconShape		      "rectangular"
	      Inputs		      "-+"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum3"
	      Ports		      [2, 1]
	      Position		      [125, 175, 140, 195]
	      ShowName		      off
	      IconShape		      "rectangular"
	      Inputs		      "+-"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      CombinatorialLogic
	      Name		      "table"
	      Position		      [290, 81, 320, 129]
	      TruthTable	      "[1 0 0;0 0 0;0 0 0;0 0 0;0 0 0;0 0 0;0 "
"0 0;0 0 0; 1 0 1; 0 0 0;0 0 0; 0 1 1;1 0 0; 0 0 0;0 0 0; 0 1 0; 0 1 1; 0 0 0;"
"0 0 0; 1 1 0; 0 0 1; 0 0 0;0 0 0;1 0 0; 0 0 1; 0 0 0;0 0 0; 0 1 0; 1 0 1; 0 0"
" 0;0 0 0;1 1 0; 1 1 0; 0 0 0;0 0 0; 1 0 1; 0 1 0; 0 0 0;0 0 0;0 0 1; 1 0 0; 0"
" 0 0;0 0 0; 0 0 1; 1 1 0; 0 0 0;0 0 0;0 1 1; 0 1 0; 0 0 0;0 0 0; 1 0 0; 0 1 1"
"; 0 0 0;0 0 0;1 0 1; 0 0 0;0 0 0;0 0 0;0 0 0;0 0 0;0 0 0;0 0 0;0 0 0]"
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "磁链\n滞环"
	      Position		      [190, 92, 215, 118]
	      OnSwitchValue	      "0.01"
	      OffSwitchValue	      "-0.01"
	      OnOutputValue	      "1"
	      OffOutputValue	      "0"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "力矩滞环"
	      Ports		      [1, 1]
	      Position		      [160, 159, 190, 211]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      System {
		Name			"力矩滞环"
		Location		[98, 136, 743, 504]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"automatic"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		AutoZoom		on
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [15, 113, 45, 127]
		  Port			  "1"
		  Interpolate		  on
		}
		Block {
		  BlockType		  Constant
		  Name			  "+1"
		  Position		  [315, 179, 340, 201]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  Value			  "0"
		  VectorParams1D	  on
		}

⌨️ 快捷键说明

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