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

📄 imeqvecst0.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	      Position		      [120, 195, 150, 225]
	      NamePlacement	      "alternate"
	      Gain		      "(Lsl+Lm )/(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gm"
	      Position		      [120, 80, 150, 110]
	      NamePlacement	      "alternate"
	      Gain		      "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gm1"
	      Position		      [120, 130, 150, 160]
	      NamePlacement	      "alternate"
	      Gain		      "Lm /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gs"
	      Position		      [120, 15, 150, 45]
	      NamePlacement	      "alternate"
	      Gain		      "(Lrl+Lm) /(Lsl*Lrl+Lsl*Lm+Lrl*Lm)"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [175, 170, 195, 190]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "-+"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum4"
	      Ports		      [2, 1]
	      Position		      [175, 55, 195, 75]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+-"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "is"
	      Position		      [235, 58, 265, 72]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ir"
	      Position		      [235, 173, 265, 187]
	      Port		      "2"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "fs"
	      SrcPort		      1
	      Points		      [0, 0; 45, 0]
	      Branch {
		DstBlock		"Gs"
		DstPort			1
	      }
	      Branch {
		Points			[0, 115]
		DstBlock		"Gm1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gs"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "fr"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		DstBlock		"Gm"
		DstPort			1
	      }
	      Branch {
		Points			[0, 115]
		DstBlock		"G22"
		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		      "G22"
	      SrcPort		      1
	      Points		      [30, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "ir"
	      DstPort		      1
	    }
	    Annotation {
	      Position		      [137, 236]
	      Text		      "INVERSE INDUCTANCES"
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "model"
	  Ports			  []
	  Position		  [560, 344, 658, 415]
	  ForegroundColor	  "darkGreen"
	  DropShadow		  on
	  ShowName		  off
	  FontWeight		  "bold"
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  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 {
	      Position		      [214, 27]
	      ForegroundColor	      "blue"
	      Text		      "Mathematical model of the induction mac"
"hine. \nSpace  vector formulation in an arbitrary dq common reference frame."
"\nPer unit description.    "
	      FontName		      "Arial"
	      FontSize		      12
	      FontWeight	      "bold"
	    }
	    Annotation {
	      Position		      [15, 70]
	      HorizontalAlignment     "left"
	      VerticalAlignment	      "top"
	      Text		      " 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)                "
	      FontName		      "Arial"
	      FontSize		      12
	    }
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot"
	  Position		  [200, 40, 230, 70]
	  Orientation		  "left"
	  Gain			  "[0 -1;1 0]"
	  Multiplication	  "Matrix(K*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot1"
	  Position		  [195, 255, 225, 285]
	  Orientation		  "left"
	  Gain			  "[0 -1;1 0]"
	  Multiplication	  "Matrix(K*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Constant
	  Name			  "vr"
	  Position		  [110, 340, 140, 370]
	  Value			  "[0 0]"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te"
	  Position		  [625, 33, 655, 47]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "is"
	  Position		  [615, 233, 645, 247]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	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-current"
	  SrcPort		  2
	  Points		  [10, 0; 0, 230]
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "flux-current"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -90]
	    DstBlock		    "rot"
	    DstPort		    1
	  }
	}
	Line {
	  Labels		  [2, 0]
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [15, 0; 0, -85]
	  Branch {
	    DstBlock		    "rot1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -80]
	    DstBlock		    "flux-current"
	    DstPort		    2
	  }
	}
	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		  [0, 0; -85, 0]
	  Branch {
	    Points		    [0, 20]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -25]
	    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-current"
	  SrcPort		  1
	  Points		  [0, 0; 35, 0]
	  Branch {
	    Points		    [0, 95]
	    Branch {
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "is"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -100]
	    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		  [0, 0; 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 {
	  Position		  [243, 312]
	  ForegroundColor	  "red"
	  Text			  "ROTOR"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Position		  [238, 101]
	  ForegroundColor	  "red"
	  Text			  "STATOR"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Position		  [337, 94]
	  Text			  "fs"
	}
	Annotation {
	  Position		  [335, 309]
	  Text			  "fr"
	}
	Annotation {
	  Position		  [520, 120]
	  Text			  "is"
	}
	Annotation {
	  Position		  [490, 135]
	  Text			  "is"
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator2"
      Ports		      [1, 1]
      Position		      [500, 105, 530, 135]
      ShowName		      off
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
      Port {
	PortNumber		1
	Name			"wm"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator3"
      Ports		      [1, 1]
      Position		      [200, 295, 230, 325]
      ShowName		      off
      ExternalReset	      "none"
      InitialConditionSource  "internal"
      InitialCondition	      "0"
      LimitOutput	      off
      UpperSaturationLimit    "inf"
      LowerSaturationLimit    "-inf"
      ShowSaturationPort      off
      ShowStatePort	      off
      AbsoluteTolerance	      "auto"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [395, 259, 400, 321]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {

⌨️ 快捷键说明

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