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

📄 imeqvecst0.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      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		      Sum
      Name		      "Sum2"
      Ports		      [3, 1]
      Position		      [375, 110, 395, 130]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Lookup
      Name		      "Torque pulse"
      Position		      [80, 30, 110, 60]
      ForegroundColor	      "red"
      InputValues	      "[0 1.4 3 ]"
      OutputValues	      "[0  0  4 ] "
      Port {
	PortNumber		1
	Name			"Tl"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "currents"
      Ports		      [1]
      Position		      [555, 228, 585, 272]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [19, 95, 488, 403]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"Stator current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "2.8"
      YMin		      "-6"
      YMax		      "10"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "8000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "frequency"
      Position		      [40, 140, 70, 170]
      ForegroundColor	      "red"
      Value		      "1"
      VectorParams1D	      on
    }
    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"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "info"
      Ports		      []
      Position		      [17, 194, 89, 263]
      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		[39, 254, 487, 379]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Position		  [218, 17]
	  Text			  "Starting of an induction motor"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Position		  [15, 35]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  Text			  "This  demonstration  illustrates  the line "
"starting of an induction motor \nat no load followed by ramping the load torq"
"ue. You will thus be able to\ncompare the torque-speed characteristics of the"
" machine under both\ndynamic and quasi-steady state conditions.\nTo modify th"
"e machine parameters, double click the induction motor block.   "
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "mag"
      Position		      [420, 179, 460, 211]
      Expr		      "sqrt(u(1)^2+u(2)^2)"
      Port {
	PortNumber		1
	Name			"Is_mag"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "space vector1"
      Ports		      []
      Position		      [17, 285, 85, 351]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "imeqvecst0plt"
      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('XY plots')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"space vector1"
	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		      [635, 36, 670, 84]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [494, 460, 1002, 739]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"Speed [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "2.8"
      YMin		      "-0.2"
      YMax		      "1.2"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "8000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "torques"
      Ports		      [1]
      Position		      [485, 36, 520, 84]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [496, 90, 1005, 405]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"Torque [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "2.8"
      YMin		      "-3"
      YMax		      "4"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "8000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "voltage"
      Position		      [40, 90, 70, 120]
      ForegroundColor	      "red"
      Value		      "[1 0]"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [255, 294, 290, 326]
      Gain		      "2*pi*60"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"thetas"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Outport
      Name		      "Te"
      Position		      [335, 133, 365, 147]
      ForegroundColor	      "green"
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "wm"
      Position		      [640, 113, 670, 127]
      ForegroundColor	      "green"
      Port		      "2"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "is"
      Position		      [340, 168, 370, 182]
      ForegroundColor	      "green"
      Port		      "3"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    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 {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "1/2H"
      DstPort		      1
    }
    Line {
      SrcBlock		      "1/2H"
      SrcPort		      1
      DstBlock		      "Integrator2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock1"
      SrcPort		      1
      DstBlock		      "Torque pulse"
      DstPort		      1
    }
    Line {
      Name		      "Tl"
      Labels		      [0, 0]
      SrcBlock		      "Torque pulse"
      SrcPort		      1
      Points		      [270, 0]
      Branch {
	Labels			[-1, 1]
	DstBlock		"Mux6"
	DstPort			1
      }
      Branch {
	DstBlock		"Sum2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Integrator3"
      SrcPort		      1
      DstBlock		      "wo"
      DstPort		      1
    }
    Line {
      Name		      "thetas"
      Labels		      [0, 0]
      SrcBlock		      "wo"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Mux6"
      SrcPort		      1
      DstBlock		      "torques"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bm"
      SrcPort		      1
      Points		      [-85, 0]
      DstBlock		      "Sum2"
      DstPort		      3
    }
    Line {
      Name		      "wm"
      Labels		      [1, 0]
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [80, 0]
      Branch {
	Points			[0, 35]
	Branch {
	  Points		  [0, 190; -495, 0; 0, -140]
	  DstBlock		  "IM"
	  DstPort		  3
	}
	Branch {
	  DstBlock		  "Bm"
	  DstPort		  1
	}
      }
      Branch {
	Points			[0, -60]
	DstBlock		"speed"
	DstPort			1
      }
      Branch {
	DstBlock		"wm"
	DstPort			1
      }
    }
    Line {
      Name		      "Te"
      SrcBlock		      "IM"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Sum2"
	DstPort			2
      }
      Branch {
	Points			[0, -50]
	DstBlock		"Mux6"
	DstPort			2
      }
      Branch {
	DstBlock		"Te"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      2
      Points		      [20, 0]
      Branch {
	DstBlock		"mag"
	DstPort			1
      }
      Branch {
	Points			[0, 85]
	DstBlock		"Demux"
	DstPort			1
      }
      Branch {
	Points			[0, -20]
	DstBlock		"is"
	DstPort			1
      }
    }
    Annotation {
      Position		      [359, 179]
      Text		      "is"
    }
  }
}

⌨️ 快捷键说明

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