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

📄 imeqvec4.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  Position		  [337, 79]
	}
	Annotation {
	  Name			  "fr"
	  Position		  [335, 294]
	}
	Annotation {
	  Name			  "is"
	  Position		  [490, 120]
	}
	Annotation {
	  Name			  "VECTORIZED DYNAMIC MODEL OF THE INDUCTION M"
"ACHINE  IN ARBITRARY REFERENCE FRAME\n(per unit formulation)"
	  Position		  [312, 451]
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "ir"
	  Position		  [494, 278]
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator2"
      Ports		      [1, 1]
      Position		      [505, 105, 535, 135]
      ShowName		      off
      InitialCondition	      "n0"
      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"
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator3"
      Ports		      [1, 1]
      Position		      [200, 295, 230, 325]
      ShowName		      off
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1]
      Position		      [395, 259, 400, 321]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux6"
      Ports		      [2, 1]
      Position		      [435, 31, 440, 84]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux7"
      Ports		      [2, 1]
      Position		      [520, 221, 525, 274]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem"
      Ports		      []
      Position		      [125, 374, 302, 411]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "edit(which('imdef0vec.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		      [375, 110, 395, 130]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+-"
    }
    Block {
      BlockType		      Lookup
      Name		      "Torque pulse"
      Position		      [75, 30, 105, 60]
      FontWeight	      "bold"
      InputValues	      "[0 0.1 0.1 0.5 0.5 2] "
      OutputValues	      "[Tl0 Tl0  0 0 0.5 0.5] "
      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		      Scope
      Name		      "currents"
      Ports		      [1]
      Position		      [555, 228, 585, 272]
      Location		      [23, 84, 460, 369]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Stator current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "1"
      YMin		      "-1"
      YMax		      "1"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Constant
      Name		      "frequency"
      Position		      [40, 140, 70, 170]
      FontWeight	      "bold"
      Value		      "wk"
    }
    Block {
      BlockType		      Fcn
      Name		      "ias"
      Position		      [425, 275, 465, 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		      [467, 354, 539, 423]
      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		[230, 76, 855, 355]
	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 "
"per unit and are entered\nafter double-clicking one of the PARAMETERS/IC bloc"
"ks. The system is initially assumed to be operated \nunder  load in a steady "
"state defined by a specified speed. The initial conditions are established by"
" calling \na phasor calculation based on the standard steady-state equivalent"
" circuit of the induction machine.\nThe simulation can then be run. In the pr"
"esent case, it exhibits the dynamic response to a pulsed\napplied torque. The"
" torque developed, the speed, and the stator current are  observed on the sco"
"pes .\nThe torque-speed dynamic characteristics can then be obtained after do"
"uble clicking the X-Y PLOT block.\n"
	  Position		  [15, 75]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontName		  "Arial"
	  FontSize		  12
	}
	Annotation {
	  Name			  "Running of a Line-Fed Induction Motor \n  S"
"ynchronous frame  \nPer unit system"
	  Position		  [299, 37]
	  ForegroundColor	  "blue"
	  FontSize		  12
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "mag"
      Position		      [420, 180, 460, 210]
      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		      Scope
      Name		      "mec"
      Ports		      [2]
      Position		      [630, 49, 665, 96]
      NamePlacement	      "alternate"
      Location		      [467, 84, 1005, 733]
      Open		      on
      NumInputPorts	      "2"
      List {
	ListType		AxesTitles
	axes1			"torque [pu]"
	axes2			"speed [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      TimeRange		      "1"
      YMin		      "-0.4~0.975"
      YMax		      "1~1.015"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "space vector"
      Ports		      []
      Position		      [582, 355, 650, 421]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "figure(1),plot(wm,Te,'-b'),grid,title('TORQUE-S"
"PEED DYNAMIC CHARACTERISTICS'),xlabel('SPEED [pu]'),ylabel('TORQUE [pu]'),fig"
"ure(2),plot(is(:,1),is(:,2),'-r'),grid,title('Stator current space vector tra"
"jectory in synchronous frame'),axis equal"
      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		      Constant
      Name		      "voltage"
      Position		      [40, 90, 70, 120]
      FontWeight	      "bold"
      Value		      "[vs 0]"
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [255, 294, 290, 326]
      ShowName		      off
      Gain		      "wo"
      Port {
	PortNumber		1
	Name			"thetas"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Outport
      Name		      "wm"
      Position		      [640, 113, 670, 127]
    }
    Block {
      BlockType		      Outport
      Name		      "Te"
      Position		      [345, 133, 375, 147]
      Port		      "2"
    }
    Block {
      BlockType		      Outport
      Name		      "is"
      Position		      [355, 218, 385, 232]
      Port		      "3"
    }
    Line {
      SrcBlock		      "voltage"
      SrcPort		      1
      DstBlock		      "IM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "frequency"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	Points			[0, 155]
	DstBlock		"Integrator3"
	DstPort			1
      }
      Branch {
	DstBlock		"IM"
	DstPort			2
      }
    }
    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, -30]
      DstBlock		      "Mux7"
      DstPort		      2
    }
    Line {
      Name		      "Is_mag"
      Labels		      [0, 1]
      SrcBlock		      "mag"
      SrcPort		      1
      Points		      [20, 0; 0, 40]
      DstBlock		      "Mux7"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux7"
      SrcPort		      1
      DstBlock		      "currents"
      DstPort		      1
    }
    Line {
      Name		      "is"
      Labels		      [0, 1]
      SrcBlock		      "IM"
      SrcPort		      2
      Points		      [35, 0]
      Branch {
	DstBlock		"mag"
	DstPort			1
      }
      Branch {
	Points			[0, 30]
	Branch {
	  Points		  [0, 55]
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "is"
	  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		      "mec"
      DstPort		      1
    }
    Line {
      Name		      "Te"
      Labels		      [0, 1]
      SrcBlock		      "IM"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			2
      }
      Branch {
	Labels			[-1, 1]
	Points			[0, -50]
	DstBlock		"Mux6"
	DstPort			2
      }
      Branch {
	DstBlock		"Te"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Bm"
      SrcPort		      1
      Points		      [-95, 0]
      DstBlock		      "Sum2"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Integrator3"
      SrcPort		      1
      DstBlock		      "wo"
      DstPort		      1
    }
    Line {
      Name		      "thetas"
      Labels		      [0, 0]
      SrcBlock		      "wo"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      3
    }
    Line {
      Name		      "wm"
      Labels		      [1, 0]
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [75, 0]
      Branch {
	DstBlock		"mec"
	DstPort			2
      }
      Branch {
	DstBlock		"wm"
	DstPort			1
      }
      Branch {
	Points			[0, 40]
	Branch {
	  Points		  [0, 185; -495, 0; 0, -140]
	  DstBlock		  "IM"
	  DstPort		  3
	}
	Branch {
	  DstBlock		  "Bm"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Clock2"
      SrcPort		      1
      DstBlock		      "Torque pulse"
      DstPort		      1
    }
    Line {
      Name		      "Tl"
      Labels		      [0, 0]
      SrcBlock		      "Torque pulse"
      SrcPort		      1
      Points		      [275, 0]
      Branch {
	Labels			[-1, 1]
	DstBlock		"Mux6"
	DstPort			1
      }
      Branch {
	DstBlock		"Sum2"
	DstPort			1
      }
    }
    Annotation {
      Name		      "or"
      Position		      [55, 334]
      FontSize		      11
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "MECHANICAL SYSTEM"
      Position		      [479, 94]
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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