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

📄 smeqvec5.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [40, 0; 0, 305]
	  DstBlock		  "damper\nreistances"
	  DstPort		  1
	}
	Line {
	  Name			  "if"
	  Labels		  [0, 0]
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "if"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 135]
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	}
	Line {
	  Name			  "Te"
	  Labels		  [1, 0]
	  SrcBlock		  "Dot Product"
	  SrcPort		  1
	  DstBlock		  "Te"
	  DstPort		  1
	}
	Annotation {
	  Name			  "DAMPERS"
	  Position		  [208, 427]
	  ForegroundColor	  "red"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "ARMATURE"
	  Position		  [208, 156]
	  ForegroundColor	  "red"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "fa"
	  Position		  [297, 104]
	}
	Annotation {
	  Name			  "ia"
	  Position		  [480, 110]
	}
	Annotation {
	  Name			  "FIELD"
	  Position		  [203, 322]
	  ForegroundColor	  "red"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "DQ MODEL OF THE SYNCHRONOUS MACHINE"
	  Position		  [375, 526]
	  ForegroundColor	  "red"
	  FontSize		  14
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "Flux bus"
	  Position		  [326, 80]
	  FontAngle		  "italic"
	}
	Annotation {
	  Name			  "Current bus"
	  Position		  [458, 79]
	  FontAngle		  "italic"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem"
      Ports		      []
      Position		      [179, 414, 465, 429]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "edit(which('smvecdef5.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		      [135, 250, 155, 270]
      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		      [465, 170, 485, 190]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "-+-"
    }
    Block {
      BlockType		      Step
      Name		      "Tl"
      Position		      [85, 382, 110, 418]
      ForegroundColor	      "red"
      Time		      "17.5"
      After		      "0.6"
      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		      "id&iq"
      Ports		      [1]
      Position		      [445, 58, 475, 102]
      Location		      [53, 126, 559, 366]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Armature currents [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "40"
      YMin		      "-1"
      YMax		      "2.5"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "if"
      Ports		      [1]
      Position		      [405, 108, 435, 152]
      NamePlacement	      "alternate"
      Location		      [11, 130, 515, 366]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Field current"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "40"
      YMin		      "-1"
      YMax		      "2"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots"
      Ports		      []
      Position		      [632, 375, 700, 441]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "close all,figure(1),plot(t,T,'-r'),grid,title('"
"TORQUES versus TIME'),figure(2),plot(t,wm,'-g'),grid,title('SPEED versus TIME"
"')"
      FontSize		      12
      FontWeight	      "bold"
      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		      Scope
      Name		      "speed"
      Ports		      [1]
      Position		      [685, 158, 715, 202]
      NamePlacement	      "alternate"
      Location		      [568, 137, 1130, 396]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Speed  [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "40"
      YMin		      "0"
      YMax		      "1.4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "torques"
      Ports		      [1]
      Position		      [550, 271, 585, 319]
      NamePlacement	      "alternate"
      Location		      [565, 459, 1125, 790]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Torque [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "40"
      YMin		      "-0.6000000000000001"
      YMax		      "1.4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Step
      Name		      "vf2"
      Position		      [65, 112, 90, 148]
      ForegroundColor	      "red"
      Before		      "vf0"
      After		      "vf0"
      SampleTime	      "0"
      Port {
	PortNumber		1
	Name			"vf"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [185, 244, 220, 276]
      ShowName		      off
      Gain		      "wo"
    }
    Block {
      BlockType		      Outport
      Name		      "T"
      Position		      [555, 228, 585, 242]
    }
    Block {
      BlockType		      Outport
      Name		      "wm"
      Position		      [670, 123, 700, 137]
      NamePlacement	      "alternate"
      Port		      "2"
    }
    Line {
      Name		      "vf"
      Labels		      [0, 0]
      SrcBlock		      "vf2"
      SrcPort		      1
      DstBlock		      "SM1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "1/2H"
      SrcPort		      1
      DstBlock		      "Integrator2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Bm"
      SrcPort		      1
      Points		      [-75, 0]
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      Name		      "Te"
      Labels		      [0, 0]
      SrcBlock		      "SM1"
      SrcPort		      3
      Points		      [55, 0]
      Branch {
	Points			[0, 100]
	DstBlock		"Mux6"
	DstPort			1
      }
      Branch {
	Labels			[1, 0]
	DstBlock		"Sum2"
	DstPort			2
      }
    }
    Line {
      Name		      "slip"
      Labels		      [1, 0]
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "wo"
      DstPort		      1
    }
    Line {
      SrcBlock		      "wo"
      SrcPort		      1
      DstBlock		      "Integrator3"
      DstPort		      1
    }
    Line {
      Name		      "delta"
      Labels		      [1, 0]
      SrcBlock		      "Integrator3"
      SrcPort		      1
      DstBlock		      "Armature\nvoltage"
      DstPort		      1
    }
    Line {
      Name		      "wm"
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	Labels			[1, 0]
	Points			[0, 35; -505, 0]
	Branch {
	  Labels		  [-1, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -35]
	  DstBlock		  "SM1"
	  DstPort		  3
	}
      }
      Branch {
	DstBlock		"speed"
	DstPort			1
      }
      Branch {
	Points			[0, -50]
	Branch {
	  DstBlock		  "Bm"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 0]
	  DstBlock		  "wm"
	  DstPort		  1
	}
      }
    }
    Line {
      Name		      "Tl"
      Labels		      [0, 0]
      SrcBlock		      "Tl"
      SrcPort		      1
      Points		      [325, 0; 0, -95; 35, 0]
      Branch {
	DstBlock		"Mux6"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum2"
	DstPort			3
      }
    }
    Line {
      Name		      "vt"
      Labels		      [0, 0]
      SrcBlock		      "Look-Up\nTable"
      SrcPort		      1
      DstBlock		      "Armature\nvoltage"
      DstPort		      2
    }
    Line {
      Name		      "ws"
      Labels		      [0, 0]
      SrcBlock		      "Look-Up\nTable1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, 0]
	DstBlock		"Sum"
	DstPort			2
      }
      Branch {
	Points			[0, 50]
	DstBlock		"Look-Up\nTable"
	DstPort			1
      }
    }
    Line {
      Name		      "vs"
      Labels		      [0, 0]
      SrcBlock		      "Armature\nvoltage"
      SrcPort		      1
      Points		      [30, 0; 0, 80; -390, 0; 0, -285]
      DstBlock		      "SM1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "SM1"
      SrcPort		      2
      DstBlock		      "if"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux6"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"torques"
	DstPort			1
      }
      Branch {
	Points			[0, -60]
	DstBlock		"T"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "SM1"
      SrcPort		      1
      DstBlock		      "id&iq"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "1/2H"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock1"
      SrcPort		      1
      DstBlock		      "Look-Up\nTable1"
      DstPort		      1
    }
    Annotation {
      Name		      "Tl"
      Position		      [469, 208]
    }
    Annotation {
      Name		      "OPENPLOOP VOLT/HZ CONTROL\nOF A SYNCHRONOUS MOT"
"OR"
      Position		      [306, 25]
      ForegroundColor	      "red"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Mechanical system"
      Position		      [576, 100]
      ForegroundColor	      "blue"
      FontSize		      14
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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