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

📄 smeqvec3.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  Position		  [297, 104]
	}
	Annotation {
	  Name			  "ia"
	  Position		  [480, 110]
	}
	Annotation {
	  Name			  "FIELD"
	  Position		  [203, 322]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "DQ MODEL OF THE SYNCHRONOUS MACHINE"
	  Position		  [405, 516]
	  ForegroundColor	  "red"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Flux bus"
	  Position		  [326, 80]
	}
	Annotation {
	  Name			  "Current bus"
	  Position		  [458, 79]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem"
      Ports		      []
      Position		      [410, 489, 685, 505]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "edit(which('smvecdef3.m'))"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Double click the block to modify the para"
"meters');"
      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		      "Sum"
      Ports		      [2, 1]
      Position		      [95, 320, 115, 340]
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+|"
      Port {
	PortNumber		1
	Name			"slip"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [3, 1]
      Position		      [425, 205, 445, 225]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+-"
    }
    Block {
      BlockType		      Step
      Name		      "Tl"
      Position		      [50, 457, 75, 493]
      ForegroundColor	      "red"
      Time		      "6"
      After		      "-1"
      SampleTime	      "0"
      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		      "armature\ncurrent"
      Ports		      [1]
      Position		      [630, 48, 660, 92]
      NamePlacement	      "alternate"
      Location		      [486, 60, 1009, 347]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Armature current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "-3"
      YMax		      "4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "id&iq"
      Ports		      [1]
      Position		      [405, 93, 435, 137]
      Location		      [487, 82, 1013, 363]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"dq currents"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "-3"
      YMax		      "3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "if"
      Ports		      [1]
      Position		      [365, 143, 395, 187]
      NamePlacement	      "alternate"
      Location		      [43, 69, 478, 357]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Field current [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "0.6"
      YMax		      "2.2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Constant
      Name		      "phase"
      Position		      [470, 90, 500, 120]
      ForegroundColor	      "red"
      Value		      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots"
      Ports		      []
      Position		      [607, 400, 675, 466]
      ForegroundColor	      "darkGreen"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "close all,figure(1),plot(d,wm,'-r'),grid,title("
"'SPEED versus ANGLE'),figure(2),plot(t,iff,'-g'),grid,title('FIELD CURRENT ve"
"rsus TIME')"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('PLOTS')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"plots"
	Location		[83, 506, 530, 694]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Clock
      Name		      "t"
      Position		      [430, 60, 450, 80]
      Decimation	      "10"
    }
    Block {
      BlockType		      Scope
      Name		      "torques"
      Ports		      [1]
      Position		      [510, 306, 545, 354]
      NamePlacement	      "alternate"
      Location		      [484, 419, 1011, 735]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Torques [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "-2"
      YMax		      "3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Constant
      Name		      "voltage1"
      Position		      [50, 150, 80, 180]
      ForegroundColor	      "red"
      ShowName		      off
      Value		      "vf0"
    }
    Block {
      BlockType		      Step
      Name		      "vs"
      Position		      [45, 362, 80, 398]
      ForegroundColor	      "red"
      Time		      "0"
      After		      "V"
      SampleTime	      "0"
      Port {
	PortNumber		1
	Name			"vs"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "w"
      Position		      [470, 56, 505, 84]
      ShowName		      off
      Gain		      "wo"
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [145, 314, 180, 346]
      ShowName		      off
      Gain		      "wo"
    }
    Block {
      BlockType		      Gain
      Name		      "wo1"
      Position		      [245, 259, 275, 291]
      ShowName		      off
      Gain		      "180/pi"
    }
    Block {
      BlockType		      Constant
      Name		      "ws"
      Position		      [45, 315, 75, 345]
      ForegroundColor	      "red"
    }
    Block {
      BlockType		      Outport
      Name		      "d"
      Position		      [295, 268, 325, 282]
    }
    Block {
      BlockType		      Outport
      Name		      "wm"
      Position		      [630, 208, 660, 222]
      Port		      "2"
    }
    Block {
      BlockType		      Outport
      Name		      "iff"
      Position		      [365, 193, 395, 207]
      ShowName		      off
      Port		      "3"
    }
    Line {
      SrcBlock		      "voltage1"
      SrcPort		      1
      DstBlock		      "SM"
      DstPort		      2
    }
    Line {
      SrcBlock		      "1/2H"
      SrcPort		      1
      DstBlock		      "Integrator2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "1/2H"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bm"
      SrcPort		      1
      Points		      [-75, 0]
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      Name		      "Te"
      SrcBlock		      "SM"
      SrcPort		      3
      Points		      [55, 0]
      Branch {
	Points			[0, 100]
	DstBlock		"Mux6"
	DstPort			1
      }
      Branch {
	Labels			[1, 0]
	DstBlock		"Sum2"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Mux6"
      SrcPort		      1
      DstBlock		      "torques"
      DstPort		      1
    }
    Line {
      SrcBlock		      "SM"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"id&iq"
	DstPort			1
      }
      Branch {
	Points			[0, -80]
	DstBlock		"Mux3"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "SM"
      SrcPort		      2
      Points		      [5, 0]
      Branch {
	DstBlock		"if"
	DstPort			1
      }
      Branch {
	DstBlock		"iff"
	DstPort			1
      }
    }
    Line {
      Name		      "wm"
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, -50]
	DstBlock		"Bm"
	DstPort			1
      }
      Branch {
	Labels			[1, 0]
	Points			[0, 35; -500, 0]
	Branch {
	  Labels		  [-1, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -35]
	  DstBlock		  "SM"
	  DstPort		  3
	}
      }
      Branch {
	DstBlock		"wm"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "w"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "phase"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "Fcn"
      DstPort		      1
    }
    Line {
      SrcBlock		      "t"
      SrcPort		      1
      DstBlock		      "w"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Fcn"
      SrcPort		      1
      DstBlock		      "armature\ncurrent"
      DstPort		      1
    }
    Line {
      SrcBlock		      "ws"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      Name		      "slip"
      Labels		      [1, 0]
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "wo"
      DstPort		      1
    }
    Line {
      Name		      "vs"
      Labels		      [2, 0]
      SrcBlock		      "Armature\nvoltage"
      SrcPort		      1
      Points		      [15, 0; 0, 85; -335, 0; 0, -325]
      DstBlock		      "SM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "wo"
      SrcPort		      1
      DstBlock		      "Integrator3"
      DstPort		      1
    }
    Line {
      Name		      "vs"
      Labels		      [0, 0]
      SrcBlock		      "vs"
      SrcPort		      1
      DstBlock		      "Armature\nvoltage"
      DstPort		      2
    }
    Line {
      Name		      "delta"
      SrcBlock		      "Integrator3"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Armature\nvoltage"
	DstPort			1
      }
      Branch {
	DstBlock		"wo1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "wo1"
      SrcPort		      1
      DstBlock		      "d"
      DstPort		      1
    }
    Line {
      Name		      "Tl"
      Labels		      [0, 0]
      SrcBlock		      "Tl"
      SrcPort		      1
      Points		      [320, 0; 0, -135; 35, 0]
      Branch {
	DstBlock		"Mux6"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum2"
	DstPort			3
      }
    }
    Annotation {
      Name		      "Tl"
      Position		      [429, 243]
    }
    Annotation {
      Name		      "SYNCHRONIZATION"
      Position		      [266, 55]
      ForegroundColor	      "red"
      FontSize		      14
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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