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

📄 motor_test.mdl

📁 基于matlab的异步电机仿真系统全面概括为大家提供方便
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    Branch {
	      Points		      [0, -130]
	      DstBlock		      "Sum3"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Gain8"
	  SrcPort		  1
	  DstBlock		  "n"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain9"
	  SrcPort		  1
	  DstBlock		  "Product4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  Points		  [0, 0; -50, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "Integrator1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -100]
	    Branch {
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "Integrator3"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  Points		  [0, -10]
	  Branch {
	    DstBlock		    "Sum3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 470]
	    DstBlock		    "Scope1"
	    DstPort		    4
	  }
	}
	Line {
	  SrcBlock		  "dq->ab1"
	  SrcPort		  1
	  DstBlock		  "Iabc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Transfer Fcn1"
	  SrcPort		  1
	  DstBlock		  "Sum4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  Points		  [0, 0; 50, 0]
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Gain5"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 255]
	    Branch {
	      Points		      [0, 30]
	      Branch {
		DstBlock		"Gain4"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Product3"
		DstPort			1
	      }
	    }
	    Branch {
	      DstBlock		      "Product4"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [30, 0; 0, -40]
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Integrator3"
	  SrcPort		  1
	  Points		  [40, 0; 0, -165]
	  DstBlock		  "dq->ab1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [-165, 0; 0, 35; -85, 0]
	  DstBlock		  "abc->mt"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [20, 0; 0, -205]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [20, 0; 0, 185]
	  DstBlock		  "Sum2"
	  DstPort		  3
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Asynchronous Motor2"
      Ports		      [2, 3]
      Position		      [440, 372, 500, 508]
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "Asynchronous Motor(Under dq)"
      MaskDescription	      "Asynchronous Motor(Under dq)(By:ZhuShiwu)"
      MaskPromptString	      "Stator resistance Rs(ohm)|Stator inductance Ls("
"H)|Rotor resistance Rr(ohm)|Rotor inductance Lr(H)|Mutual inductance Lm(H)|Pa"
"irs of poles Np()|Inertia J(kg.m^2)"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on,on"
      MaskCallbackString      "||||||"
      MaskEnableString	      "on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,"
      MaskVariables	      "R1=@1;L1=@2;R2=@3;L2=@4;Lm=@5;Np=@6;J=@7;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "2.7|0.356|2.2|0.356|0.342|2|0.00825"
      MaskTabNameString	      ",,,,,,"
      System {
	Name			"Asynchronous Motor2"
	Location		[-2, 82, 1249, 982]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Uabc"
	  Position		  [90, 388, 120, 402]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "TL"
	  Position		  [95, 648, 125, 662]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [670, 250, 695, 270]
	  Value			  "0.0001"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 2]
	  Position		  [260, 401, 265, 439]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [512, 250, 538, 280]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "L1-Lm^2/L2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [555, 184, 630, 226]
	  ShowName		  off
	  Gain			  "Lm*R2/L2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [527, 520, 553, 555]
	  Orientation		  "up"
	  ShowName		  off
	  Gain			  "L1-Lm^2/L2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [685, 487, 710, 513]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "Lm/L2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain5"
	  Position		  [570, 137, 630, 163]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Gain			  "Lm*R2/L2/L2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain6"
	  Position		  [720, 587, 750, 613]
	  ShowName		  off
	  Gain			  "Np*Lm/L2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain7"
	  Position		  [1025, 597, 1060, 623]
	  ShowName		  off
	  Gain			  "Np/J"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain8"
	  Position		  [1185, 597, 1220, 623]
	  ShowName		  off
	  Gain			  "60/(2*pi*Np)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain9"
	  Position		  [622, 520, 648, 555]
	  Orientation		  "up"
	  ShowName		  off
	  Gain			  "Lm*R2/L2"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [1100, 595, 1130, 625]
	  ShowName		  off
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [405, 440, 435, 470]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator3"
	  Ports			  [1, 1]
	  Position		  [935, 280, 965, 310]
	  ShowName		  off
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [1005, 49, 1020, 116]
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [400, 372, 430, 403]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [400, 492, 430, 523]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [400, 287, 430, 318]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [850, 577, 880, 608]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product4"
	  Ports			  [2, 1]
	  Position		  [627, 425, 658, 455]
	  Orientation		  "up"
	  ShowName		  off
	  Inputs		  "*/"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [4]
	  Position		  [1195, 719, 1230, 906]
	  Location		  [5, 56, 1285, 997]
	  Open			  off
	  NumInputPorts		  "4"
	  ZoomMode		  "yonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	    axes3		    "%<SignalLabel>"
	    axes4		    "%<SignalLabel>"
	  }
	  YMin			  "2.13689~2.24466~-334.853~4.75"
	  YMax			  "2.36183~2.48094~-302.963~5.25"
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [375, 181, 395, 229]
	  ShowName		  off
	  Inputs		  "+++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [950, 583, 970, 632]
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [3, 1]
	  Position		  [380, 576, 400, 624]
	  ShowName		  off
	  Inputs		  "--+"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [615, 378, 630, 407]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [765, 198, 780, 227]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn"
	  Position		  [445, 188, 495, 222]
	  Denominator		  "[L1-Lm^2/L2   R1+R2*Lm^2/L2/L2]"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn1"
	  Position		  [665, 188, 715, 222]
	  ShowName		  off
	  Denominator		  "[1   R2/L2]"
	}
	Block {
	  BlockType		  TransferFcn
	  Name			  "Transfer Fcn2"
	  Position		  [445, 583, 495, 617]
	  ShowName		  off
	  Denominator		  "[L1-Lm^2/L2   R1+R2*Lm^2/L2/L2]"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "abc->mt"
	  Ports			  [2, 1]
	  Position		  [165, 371, 225, 469]
	  FontSize		  12
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "dq/ABC convert"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "abc->mt"
	    Location		    [2, 82, 1270, 960]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Uabc"
	      Position		      [40, 83, 70, 97]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Teta"
	      Position		      [40, 133, 70, 147]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [135, 121, 305, 149]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Expr		      "-u[1]*sin(u[4])-u[2]*sin(u[4]-2*pi/3)-u"
"[3]*sin(u[4]-4*pi/3)"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [135, 76, 305, 104]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Expr		      "u[1]*cos(u[4])+u[2]*cos(u[4]-2*pi/3)+u["
"3]*cos(u[4]-4*pi/3)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [350, 118, 390, 152]
	      Gain		      "(2/3)^0.5"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"

⌨️ 快捷键说明

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