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

📄 mrlib.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    }
	  }
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "1/J"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1/J"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "va"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tl"
	  SrcPort		  1
	  Points		  [9, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  Name			  "wm"
	  Labels		  [1, 0]
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, 60]
	    Branch {
	      DstBlock		      "Bm"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 65]
	      DstBlock		      "Kv"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "wm"
	    DstPort		    1
	  }
	}
	Annotation {
	  Name			  "BLOCK DIAGRAM MODEL OF A DC MOTOR"
	  Position		  [317, 236]
	  ForegroundColor	  "blue"
	  FontSize		  12
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "IM"
      Ports		      [3, 2]
      Position		      [35, 21, 220, 159]
      ShowName		      off
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDescription	      "Induction motor state space model in arbitrary "
"reference frame.\nParameters are expressed in per unit."
      MaskPromptString	      "Stator resistance [pu]|Rotor resistance [pu]|St"
"ator leakage inductance [pu]|Rotor leakage inductance [pu]|Magnetizing induct"
"ance [pu]|Base frequency [rad/s]"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on"
      MaskCallbackString      "|||||"
      MaskEnableString	      "on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,"
      MaskVariables	      "Rs=@1;Rr=@2;Lsl=@3;Lrl=@4;Lm=@5;wo=@6;"
      MaskDisplay	      "image(imread('logo.jpg'))\ndisp('INDUCTION\\nMA"
"CHINE\\n(pu)')\nport_label('output',1,'Te')\nport_label('output',2,'is')\npor"
"t_label('input',1,'vs')\nport_label('input',2,'wk')\nport_label('input',3,'wm"
"')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.02|0.01|0.1|0.1|5|2*pi*60"
      System {
	Name			"IM"
	Location		[7, 393, 780, 815]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"lightBlue"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "vs"
	  Position		  [15, 123, 45, 137]
	  FontWeight		  "bold"
	}
	Block {
	  BlockType		  Inport
	  Name			  "wk"
	  Position		  [15, 68, 45, 82]
	  FontWeight		  "bold"
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "wm"
	  Position		  [25, 333, 55, 347]
	  FontWeight		  "bold"
	  Port			  "3"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  " ckt"
	  Ports			  []
	  Position		  [565, 266, 614, 306]
	  BackgroundColor	  "gray"
	  DropShadow		  on
	  ShowName		  off
	  OpenFcn		  "helpview(which('imeqs.html'));"
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('HELP')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    " ckt"
	    Location		    [116, 520, 441, 651]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Dot Product2"
	  Ports			  [2, 1]
	  Position		  [540, 29, 570, 71]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Dot Product"
	  SourceType		  "Dot Product"
	  Port {
	    PortNumber		    1
	    Name		    "Te"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [240, 210, 270, 240]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Rs"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [240, 390, 270, 420]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Rr"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [215, 115, 245, 145]
	  ShowName		  off
	  Gain			  "wo"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain5"
	  Position		  [215, 326, 245, 354]
	  ShowName		  off
	  Gain			  "wo"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [275, 115, 305, 145]
	  ShowName		  off
	  InitialCondition	  "[ic(1) ic(2)]"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [275, 325, 305, 355]
	  ShowName		  off
	  InitialCondition	  "[ic(3) ic(4)]"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [130, 52, 160, 83]
	  ShowName		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [130, 267, 160, 298]
	  ShowName		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [175, 120, 195, 140]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [175, 330, 195, 350]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [80, 280, 100, 300]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "flux-current1"
	  Ports			  [2, 2]
	  Position		  [350, 107, 465, 203]
	  ShowName		  off
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "disp('FLUX-CURRENT\\nRELATIONS')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  Port {
	    PortNumber		    2
	    Name		    "ir"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	  System {
	    Name		    "flux-current1"
	    Location		    [532, 510, 823, 775]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "lightBlue"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "fs"
	      Position		      [15, 38, 45, 52]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "fr"
	      Position		      [15, 103, 45, 117]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "G22"
	      Position		      [120, 210, 150, 240]
	      NamePlacement	      "alternate"
	      Gain		      "(Lsl+Lm )/(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gm"
	      Position		      [120, 95, 150, 125]
	      NamePlacement	      "alternate"
	      Gain		      "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gm1"
	      Position		      [120, 145, 150, 175]
	      NamePlacement	      "alternate"
	      Gain		      "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gs"
	      Position		      [120, 30, 150, 60]
	      NamePlacement	      "alternate"
	      Gain		      "(Lrl+Lm) /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [175, 185, 195, 205]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-+"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum4"
	      Ports		      [2, 1]
	      Position		      [175, 70, 195, 90]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+-"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "is"
	      Position		      [235, 73, 265, 87]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ir"
	      Position		      [235, 188, 265, 202]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "ir"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "G22"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gm1"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum4"
	      SrcPort		      1
	      DstBlock		      "is"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gm"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum4"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "fr"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		Points			[0, 115]
		DstBlock		"G22"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gm"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gs"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fs"
	      SrcPort		      1
	      Points		      [45, 0]
	      Branch {
		Points			[0, 115]
		DstBlock		"Gm1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gs"
		DstPort			1
	      }
	    }
	    Annotation {
	      Name		      "INVERSE INDUCTANCES"
	      Position		      [137, 251]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "info"
	  Ports			  []
	  Position		  [540, 329, 638, 400]
	  ForegroundColor	  "darkGreen"
	  DropShadow		  on
	  ShowName		  off
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "\ndisp('MATHEMATICAL\\nMODEL')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "info"
	    Location		    [662, 383, 1139, 782]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Annotation {
	      Name		      " Electrical  system equations: \n      "
"      vs = Rs is + 1/wo (dfs/dt) + wk M(pi/2) fs      \n            vr  = Rr "
"ir  + 1/wo (dfr/dt)  + (wk - wm) M(pi/2) fr\n      where the variables i, v, "
"and f are 2-dimensional space vectors; for instance\n            is = [ids iq"
"s] and so forth,\n      wk is the speed of the reference frame, wm the rotor "
"speed,\n      and M(pi/2)represents a 90o space rotator namely M(pi/2) = [0 -"
"1;1 0]\n\n    The flux linkage current relations are:\n          fs = Ls is +"
" Lm ir                 or                           is = Gs fs - Gm Fr\n     "
"     fr =  Lm is + Lr ir                                                 ir ="
" -Gm fs + Gr fr       \n         where        Ls =Lm +Lsl  and  Lr = Lm +Lrl"
"\n                            Gs = Lr / delta   ;   Gm = Lm / delta   ;  Gr= "
"Ls / delta\n                                     delta = Lsl*Lrl + Lm*Lsl + L"
"m* Lrl\n                                                              \n Mech"
"anical system equations:\n             Te = 2H (dwm/dt ) + Bm wm + Tl \n     "
"       where Te = fs (cross) is = M(pi/2) fs (dot) is = fds iqs - fqs ids\n  "
"                            = fs x is = M(pi/2) fs . is\n                    "
"          = ir x fr   = Lm (ir x is) = Lm/Lr (fr x is)   \n                  "
"            = 1/Lm' (fr x fs)        Lm' =Lm c/(1-c)   c = 1 - Lm^2/(Ls Lr)  "
"              "
	      Position		      [15, 70]
	      HorizontalAlignment     "left"
	      VerticalAlignment	      "top"
	      FontName		      "Arial"
	      FontSize		      12
	    }
	    Annotation {
	      Name		      "Mathematical model of the induction mac"
"hine. \nSpace  vector formulation in an arbitrary dq common reference frame."
"\nPer unit description.    "
	      Position		      [214, 27]
	      ForegroundColor	      "blue"
	      FontName		      "Arial"
	      FontSize		      12
	      FontWeight	      "bold"
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot"
	  Position		  [200, 25, 230, 55]
	  Orientation		  "left"
	  Gain			  "[0 -1;1 0]"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot1"
	  Position		  [195, 240, 225, 270]
	  Orientation		  "left"
	  Gain			  "[0 -1;1 0]"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot2"
	  Position		  [405, 25, 435, 55]
	  Gain			  "[0 -1;1 0]"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Constant
	  Name			  "vr"
	  Position		  [110, 325, 140, 355]
	  Value			  "[0 0]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te"
	  Position		  [615, 43, 645, 57]
	  FontWeight		  "bold"
	}
	Block {
	  BlockType		  Outport
	  Name			  "is"
	  Position		  [615, 218, 645, 232]
	  FontWeight		  "bold"
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "wm"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Line {

⌨️ 快捷键说明

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