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

📄 imsq6full.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fr"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		DstBlock		"Gm"
		DstPort			1
	      }
	      Branch {
		Points			[0, 130]
		DstBlock		"Gr"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gm"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum4"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum4"
	      SrcPort		      1
	      DstBlock		      "is"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gm1"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gr"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "ir"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "INVERSE INDUCTANCE"
	      Position		      [142, 276]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "model"
	  Ports			  []
	  Position		  [525, 334, 623, 405]
	  ForegroundColor	  "darkGreen"
	  DropShadow		  on
	  ShowName		  off
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MaskDisplay		  "\ndisp('MATHEMATICAL\\nMODEL')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "model"
	    Location		    [34, 292, 510, 691]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Annotation {
	      Name		      "Mathematical model of the induction mac"
"hine. \nState vector formulation in an arbitrary dq common reference frame.\n"
"Per unit description.    "
	      Position		      [214, 27]
	      ForegroundColor	      "blue"
	      FontName		      "Arial"
	      FontSize		      12
	      FontWeight	      "bold"
	    }
	    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          fds = Ls ids"
" + Lm idr       \n          fdr =  Lm ids + Lr idr          (D_axis)\n       "
"                                                                Ls =Lm +Lsl  "
"; Lr = Lm +Lrl\n          fqs = Ls iqs + Lm iqr\n          fqr  = Lm iqs + Lr"
" iqr         (Q_axis)\n                                                     "
"\n Mechanical 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/(L"
"s Lr)                "
	      Position		      [15, 70]
	      HorizontalAlignment     "left"
	      VerticalAlignment	      "top"
	      FontName		      "Arial"
	      FontSize		      12
	    }
	  }
	}
	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		  [620, 43, 650, 57]
	}
	Block {
	  BlockType		  Outport
	  Name			  "is"
	  Position		  [620, 218, 650, 232]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [-50, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "vr"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [-50, 0]
	  DstBlock		  "Sum1"
	  DstPort		  3
	}
	Line {
	  Name			  "ir"
	  Labels		  [3, 0]
	  SrcBlock		  "flux-current1"
	  SrcPort		  2
	  Points		  [10, 0; 0, 225]
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "flux-current1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -90]
	    Branch {
	      DstBlock		      "rot"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "rot2"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  Labels		  [2, 0]
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -85]
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "flux-current1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "rot1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "rot1"
	  SrcPort		  1
	  Points		  [-80, 0; 0, 20]
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "rot"
	  SrcPort		  1
	  Points		  [-85, 0; 0, 20]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "rot2"
	  SrcPort		  1
	  DstBlock		  "Dot Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Gain4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Gain5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "flux-current1"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, 95]
	    Branch {
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "is"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Dot Product"
	    DstPort		    2
	  }
	}
	Line {
	  Name			  "Te"
	  Labels		  [0, 0]
	  SrcBlock		  "Dot Product"
	  SrcPort		  1
	  DstBlock		  "Te"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vs"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "wk"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 215]
	    DstBlock		    "Sum4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "wm"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Annotation {
	  Name			  "ROTOR"
	  Position		  [243, 297]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "STATOR"
	  Position		  [238, 86]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "fs"
	  Position		  [337, 79]
	}
	Annotation {
	  Name			  "fr"
	  Position		  [335, 294]
	}
	Annotation {
	  Name			  "is"
	  Position		  [520, 105]
	}
	Annotation {
	  Name			  "is"
	  Position		  [490, 120]
	}
	Annotation {
	  Name			  "ir"
	  Position		  [491, 204]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mechanical \nsystem"
      Ports		      [2, 1]
      Position		      [650, 105, 740, 200]
      ForegroundColor	      "orange"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskPromptString	      "Inertia constant [s]|Torque-speed coefficient"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "H=@1;Bm=@2;"
      MaskDisplay	      "disp('Mechanical\\nSystem')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.3|1e-5"
      Port {
	PortNumber		1
	Name			"wm"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"Mechanical \nsystem"
	Location		[517, 120, 995, 319]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tl"
	  Position		  [15, 13, 45, 27]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Te"
	  Position		  [15, 48, 45, 62]
	  Port			  "2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "1/2H"
	  Position		  [115, 37, 175, 73]
	  ShowName		  off
	  Gain			  "1/(2*H)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Bm"
	  Position		  [145, 80, 175, 110]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Bm"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [195, 39, 225, 71]
	  ShowName		  off
	  InitialCondition	  ".82"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [70, 45, 90, 65]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wm"
	  Position		  [270, 48, 300, 62]
	}
	Line {
	  SrcBlock		  "Tl"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "wm"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Bm"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Bm"
	  SrcPort		  1
	  Points		  [-60, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "1/2H"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1/2H"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux5"
      Ports		      [3, 1]
      Position		      [160, 60, 165, 110]
      ForegroundColor	      "green"
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
      Port {
	PortNumber		1
	Name			"ABC"
	PropagatedSignals	", vB, vC"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux7"
      Ports		      [2, 1]
      Position		      [300, 134, 305, 181]
      ForegroundColor	      "blue"
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
      Port {
	PortNumber		1
	Name			"vs"
	PropagatedSignals	"vas, b"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux8"
      Ports		      [2, 1]
      Position		      [620, 211, 625, 249]
      ForegroundColor	      "blue"
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [160, 180, 180, 200]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Block {
      BlockType		      Constant
      Name		      "Tl"
      Position		      [595, 115, 625, 145]
      ForegroundColor	      "red"
      Port {
	PortNumber		1
	Name			"Tl"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {

⌨️ 快捷键说明

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