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

📄 imeqsivec1.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
    }
    Block {
      BlockType		      Mux
      Name		      "Mux8"
      Ports		      [2, 1]
      Position		      [145, 76, 150, 129]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem"
      Ports		      []
      Position		      [270, 374, 447, 411]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "edit(which('imdefsivec1.m'))"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Double click this block\\n to modify the "
"parameters');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"SubSystem"
	Location		[152, 182, 650, 482]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [3, 1]
      Position		      [420, 110, 440, 130]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+-"
    }
    Block {
      BlockType		      Lookup
      Name		      "Torque\n[pu]"
      Position		      [115, 30, 145, 60]
      NamePlacement	      "alternate"
      InputValues	      "[0 0.1 0.1 0.5 0.5 2] "
      OutputValues	      "[Tl0 Tl0  0 0 0.5 0.5] "
    }
    Block {
      BlockType		      Constant
      Name		      "Voltage\n[pu]"
      Position		      [25, 75, 55, 105]
      Value		      "vs"
    }
    Block {
      BlockType		      Scope
      Name		      "currents"
      Ports		      [1]
      Position		      [575, 218, 605, 262]
      Location		      [20, 86, 493, 371]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Stator current [A]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "1"
      YMin		      "-30"
      YMax		      "30"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Constant
      Name		      "frequency\n[pu]"
      Position		      [25, 140, 55, 170]
      Value		      "wk"
    }
    Block {
      BlockType		      Fcn
      Name		      "ias"
      Position		      [470, 275, 510, 305]
      Expr		      "u(1)*cos(u(3))-u(2)*sin(u(3))"
      Port {
	PortNumber		1
	Name			"ias"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "info"
      Ports		      []
      Position		      [36, 349, 109, 414]
      ForegroundColor	      "darkGreen"
      DropShadow	      on
      ShowName		      off
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      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		[242, 82, 876, 368]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "The induction machine is modeled in vectori"
"zed form in conformity with the state vector formulation. This\none-to-one co"
"rrespondence can be seen by clicking both the INDUCTION MACHINE subsystem blo"
"ck and \n the MATHEMATICAL MODEL equation block. The synchronous reference fr"
"ame is chosen here because \nthe machine is operating under balanced three-ph"
"ase sinusoidal excitation; the input voltage is thefore \nconstant as indicat"
"ed.\nThe parameters describing the electromechanical system are expressed in "
"SI units and may be modified\nby accessing an initialization m-file after cli"
"cking the bottom block. The system is initially assumed to be  \noperated und"
"er  load in a steady state defined by a specified speed. The initial conditio"
"ns are established by  \nperforming a phasor calculation based on the standar"
"d steady-state equivalent circuit of the induction machine.\nIn the present s"
"etup, the simulation portrays  the dynamic response to a pulsed applied torqu"
"e.\nThe torque developed, the speed, and the stator current are  observed on "
"the scopes .\nThe torque-speed dynamic characteristics can then be obtained a"
"fter double clicking the X-Y PLOT block.\nPress start button."
	  Position		  [15, 75]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "Running of a Line-Fed Induction Motor \n  S"
"ynchronous frame  \nSI  units "
	  Position		  [299, 37]
	  ForegroundColor	  "blue"
	  FontSize		  12
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "mag"
      Position		      [465, 179, 505, 211]
      Expr		      "sqrt(u(1)^2+u(2)^2)"
      Port {
	PortNumber		1
	Name			"Is_mag"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "space vector"
      Ports		      []
      Position		      [612, 355, 680, 421]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "figure(1),plot(wmec,Te,'-r'),grid,title('TORQUE"
"-SPEED CURVE'),xlabel('Speed [rad/s]'),ylabel('Torque [N.m]'),figure(2),plot("
"is(:,1),is(:,2),'-b'),axis equal,grid,title('CURRENT SPACE VECTOR TRAJECTORY "
"in synchronous frame')"
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('XY plots')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"space vector"
	Location		[81, 508, 528, 696]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "speed"
      Ports		      [1]
      Position		      [645, 36, 680, 84]
      NamePlacement	      "alternate"
      Location		      [497, 408, 997, 730]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Speed [rad/s]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "1"
      YMin		      "178"
      YMax		      "190"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "torques"
      Ports		      [1]
      Position		      [530, 36, 565, 84]
      NamePlacement	      "alternate"
      Location		      [497, 88, 997, 374]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Torque [N.m]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "1"
      YMax		      "30"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Gain
      Name		      "wo1"
      Position		      [85, 139, 115, 171]
      ShowName		      off
      Gain		      "wo"
    }
    Block {
      BlockType		      Gain
      Name		      "wo2"
      Position		      [80, 74, 110, 106]
      ShowName		      off
      Gain		      "Vo"
      Port {
	PortNumber		1
	Name			"vds"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "wo3"
      Position		      [245, 29, 275, 61]
      ShowName		      off
      Gain		      "To"
      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 {
      BlockType		      Outport
      Name		      "Te"
      Position		      [380, 138, 410, 152]
    }
    Block {
      BlockType		      Outport
      Name		      "wmec"
      Position		      [645, 113, 675, 127]
      Port		      "2"
    }
    Block {
      BlockType		      Outport
      Name		      "is"
      Position		      [405, 168, 435, 182]
      Port		      "3"
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Demux"
      SrcPort		      2
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "ias"
      DstPort		      1
    }
    Line {
      Name		      "ias"
      Labels		      [0, 0]
      SrcBlock		      "ias"
      SrcPort		      1
      Points		      [15, 0; 0, -40]
      DstBlock		      "Mux7"
      DstPort		      2
    }
    Line {
      Name		      "Is_mag"
      Labels		      [0, 1]
      SrcBlock		      "mag"
      SrcPort		      1
      Points		      [20, 0; 0, 30]
      DstBlock		      "Mux7"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "1/2H"
      DstPort		      1
    }
    Line {
      SrcBlock		      "1/2H"
      SrcPort		      1
      DstBlock		      "Integrator2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux6"
      SrcPort		      1
      DstBlock		      "torques"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock1"
      SrcPort		      1
      DstBlock		      "Torque\n[pu]"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Torque\n[pu]"
      SrcPort		      1
      DstBlock		      "wo3"
      DstPort		      1
    }
    Line {
      Name		      "Tl"
      Labels		      [0, 0]
      SrcBlock		      "wo3"
      SrcPort		      1
      Points		      [0, 0; 150, 0]
      Branch {
	DstBlock		"Mux6"
	DstPort			1
      }
      Branch {
	DstBlock		"Sum2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux8"
      SrcPort		      1
      DstBlock		      "IM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Voltage\n[pu]"
      SrcPort		      1
      DstBlock		      "wo2"
      DstPort		      1
    }
    Line {
      Name		      "vds"
      Labels		      [0, 0]
      SrcBlock		      "wo2"
      SrcPort		      1
      DstBlock		      "Mux8"
      DstPort		      1
    }
    Line {
      Name		      "vqs"
      Labels		      [0, 0]
      SrcBlock		      "Ground"
      SrcPort		      1
      DstBlock		      "Mux8"
      DstPort		      2
    }
    Line {
      SrcBlock		      "frequency\n[pu]"
      SrcPort		      1
      DstBlock		      "wo1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "wo1"
      SrcPort		      1
      Points		      [0, 0; 25, 0]
      Branch {
	Points			[0, 155]
	DstBlock		"Integrator3"
	DstPort			1
      }
      Branch {
	DstBlock		"IM"
	DstPort			2
      }
    }
    Line {
      Name		      "thetas"
      Labels		      [1, 0]
      SrcBlock		      "Integrator3"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      3
    }
    Line {
      Name		      "Te"
      SrcBlock		      "IM"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			2
      }
      Branch {
	Points			[0, 25]
	DstBlock		"Te"
	DstPort			1
      }
      Branch {
	Points			[0, -50]
	DstBlock		"Mux6"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      2
      Points		      [0, 0; 15, 0]
      Branch {
	Points			[0, -20]
	DstBlock		"is"
	DstPort			1
      }
      Branch {
	Points			[0, 85]
	DstBlock		"Demux"
	DstPort			1
      }
      Branch {
	DstBlock		"mag"
	DstPort			1
      }
    }
    Line {
      Name		      "wmec"
      Labels		      [2, 0]
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [0, 0; 55, 0]
      Branch {
	DstBlock		"wmec"
	DstPort			1
      }
      Branch {
	Points			[0, -60]
	DstBlock		"speed"
	DstPort			1
      }
      Branch {
	Points			[0, 35]
	Branch {
	  DstBlock		  "1/2H1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 195; -460, 0; 0, -145]
	  DstBlock		  "IM"
	  DstPort		  3
	}
      }
    }
    Line {
      SrcBlock		      "Mux7"
      SrcPort		      1
      DstBlock		      "currents"
      DstPort		      1
    }
    Line {
      SrcBlock		      "1/2H1"
      SrcPort		      1
      Points		      [-60, 0]
      DstBlock		      "Sum2"
      DstPort		      3
    }
    Annotation {
      Name		      "MECHANICAL SYSTEM"
      Position		      [495, 94]
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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