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

📄 imvectrol3.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      System {
	Name			"id* Calculator"
	Location		[794, 531, 1010, 663]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "Phir*"
	  Position		  [25, 38, 55, 52]
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Gain
	  Name			  "KF"
	  Position		  [80, 29, 140, 61]
	  Gain			  "1/34.7e-3"
	  Multiplication	  "Element-wise(K.*u)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Id*"
	  Position		  [165, 38, 195, 52]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "KF"
	  SrcPort		  1
	  DstBlock		  "Id*"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Phir*"
	  SrcPort		  1
	  DstBlock		  "KF"
	  DstPort		  1
	}
	Annotation {
	  Position		  [89, 98]
	  Text			  "Id* = Phir*/ Lm "
	}
	Annotation {
	  Position		  [84, 118]
	  Text			  "Lm= 34.7 mH"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "info"
      Ports		      []
      Position		      [42, 104, 114, 173]
      ForegroundColor	      "darkGreen"
      DropShadow	      on
      ShowName		      off
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Info')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"info"
	Location		[26, 74, 583, 348]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"101"
	AutoZoom		on
	Annotation {
	  Position		  [25, 65]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  Text			  "A three-phase induction motor rated at 50hp"
", 460V,4pole,60Hz is modeled in the common\nstator reference frame.The speed "
"loop utilizes a PI controller to produce the quadrature-axis\ncurrents iq* wh"
"ich serves as the torque command. The derived direct-axis current id* serves "
"\nas the rotor flux command. These currents are then transformed via the <dq2"
"abc> block into\nthe currrent references ia*, ib*, and ic* fed into the curre"
"nt regulator. The current-controlled \nPWM inverter is made up of three hyste"
"resis controllers. Rotor flux field orientation is obtained\nin the <theta ca"
"lculator> block.\n\nFirst double-click <INITIAL CONDITIONS> to establish the "
"specific steady-state operation\nat wref=120rad/s and Tl=0. Then examine the "
"transient response due to step changes in the \ncommand speed wref and load t"
"orque Tl. Repeat the simulation for a so-called detuned case\nwhen the estima"
"ted value of the rotor time constant Tr appearing in the <theta calculator> "
"\ndiffers from the actual value used for the motor parameters.\n"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Position		  [280, 45]
	  Text			  "(adapted from Power System Blockset case st"
"udy)"
	  FontSize		  11
	}
	Annotation {
	  Position		  [279, 22]
	  Text			  "Indirect Vector Control of a Variable-Frequ"
"ency Induction Motor Drive"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "iqs* Calculator"
      Ports		      [2, 1]
      Position		      [215, 232, 260, 283]
      NamePlacement	      "alternate"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      System {
	Name			"iqs* Calculator"
	Location		[534, 171, 1013, 318]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "Te*"
	  Position		  [25, 13, 55, 27]
	  Port			  "1"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "Phir"
	  Position		  [25, 53, 55, 67]
	  Port			  "2"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [125, 35, 245, 55]
	  ShowName		  off
	  Expr			  "u[1]*0.341/(u[2]+1e-3)"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [80, 25, 100, 60]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Iq*"
	  Position		  [275, 38, 305, 52]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Phir"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Iq*"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te*"
	  SrcPort		  1
	  Points		  [0, 15]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Annotation {
	  Position		  [124, 91]
	  Text			  "Iq= ( 2/3) * (2/p) * ( Lr/Lm) * (Te / Phir)"
	}
	Annotation {
	  Position		  [319, 86]
	  Text			  "Lm = 34.7 mH"
	}
	Annotation {
	  Position		  [369, 104]
	  Text			  "Lr = Ll'r +Lm = 0.8 +34.7= 35.5 mH"
	}
	Annotation {
	  Position		  [329, 124]
	  Text			  "p= # of poles = 4"
	}
	Annotation {
	  Position		  [89, 116]
	  Text			  "Iq= 0.341 * (Te / Phir)"
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "p/2"
      Position		      [257, 350, 293, 380]
      Orientation	      "up"
      Gain		      "2"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"wmec"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Step
      Name		      "wref"
      Position		      [25, 233, 55, 257]
      ForegroundColor	      "red"
      NamePlacement	      "alternate"
      Time		      "0.1"
      Before		      "120"
      After		      "150"
      SampleTime	      "0"
      VectorParams1D	      on
    }
    Line {
      SrcBlock		      "Phir*"
      SrcPort		      1
      DstBlock		      "id* Calculator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "iqs* Calculator"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "id* Calculator"
      SrcPort		      1
      Points		      [30, 0]
      DstBlock		      "Mux3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Flux Calculator"
      SrcPort		      1
      Points		      [-100, 0; 0, 95]
      Branch {
	DstBlock		"Theta Calculator"
	DstPort			2
      }
      Branch {
	Points			[0, 125]
	DstBlock		"iqs* Calculator"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "wref"
      SrcPort		      1
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "1/J"
      DstPort		      1
    }
    Line {
      SrcBlock		      "1/J"
      SrcPort		      1
      DstBlock		      "Integrator2"
      DstPort		      1
    }
    Line {
      Name		      "wmec"
      Labels		      [1, 0]
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, 30]
	Branch {
	  DstBlock		  "Bm"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 95]
	  Branch {
	    Points		    [-390, 0; 0, -55]
	    DstBlock		    "IM"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [0, 60; -650, 0]
	    Branch {
	      Points		      [-185, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Branch {
	      DstBlock		      "p/2"
	      DstPort		      1
	    }
	  }
	}
      }
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Bm"
      SrcPort		      1
      Points		      [-60, 0]
      DstBlock		      "Sum2"
      DstPort		      3
    }
    Line {
      Name		      "Te"
      Labels		      [0, 0]
      SrcBlock		      "IM"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			2
      }
      Branch {
	Labels			[-1, 1]
	Points			[0, -95]
	DstBlock		"Mux1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Stator\nframe"
      SrcPort		      1
      DstBlock		      "IM"
      DstPort		      2
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      2
      DstBlock		      "2/3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "2/3"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Scope2"
	DstPort			1
      }
      Branch {
	Points			[0, 100; -390, 0; 0, -170]
	Branch {
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -100]
	  DstBlock		  "abc2dq"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "Relay"
      DstPort		      1
    }
    Line {
      SrcBlock		      "3/2"
      SrcPort		      1
      DstBlock		      "IM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Relay"
      SrcPort		      1
      DstBlock		      "3/2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "dq2abc"
      DstPort		      1
    }
    Line {
      SrcBlock		      "dq2abc"
      SrcPort		      1
      Points		      [50, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Theta Calculator"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	Points			[0, 165; -85, 0]
	DstBlock		"dq2abc"
	DstPort			2
      }
      Branch {
	DstBlock		"abc2dq"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      Points		      [15, 0; 0, -75]
      DstBlock		      "Flux Calculator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      2
      Points		      [40, 0; 0, -55; -300, 0; 0, 35]
      DstBlock		      "Theta Calculator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Speed controller"
      SrcPort		      1
      DstBlock		      "iqs* Calculator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [-10, 0]
      DstBlock		      "Speed controller"
      DstPort		      1
    }
    Line {
      SrcBlock		      "abc2dq"
      SrcPort		      1
      DstBlock		      "Demux"
      DstPort		      1
    }
    Line {
      Name		      "wmec"
      SrcBlock		      "p/2"
      SrcPort		      1
      Points		      [0, -180]
      DstBlock		      "Theta Calculator"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      Name		      "Tl"
      Labels		      [0, 0]
      SrcBlock		      "Tl"
      SrcPort		      1
      Points		      [75, 0]
      Branch {
	DstBlock		"Mux1"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum2"
	DstPort			1
      }
    }
    Annotation {
      Position		      [504, 457]
      ForegroundColor	      "white"
      BackgroundColor	      "blue"
      Text		      "Vector Control of a Variable-Frequency Inductio"
"n Motor Drive"
      FontSize		      18
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [479, 189]
      Text		      "INVERTER"
    }
  }
}

⌨️ 快捷键说明

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