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

📄 smeqvec7b.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      Name		      "phasors"
      Ports		      []
      Position		      [757, 770, 839, 837]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "smphasor7\n         "
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('PHASOR\\nDIAGRAM')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"phasors"
	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		      SubSystem
      Name		      "plots"
      Ports		      []
      Position		      [632, 770, 712, 837]
      ForegroundColor	      "blue"
      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'),\nfigure(3),plot(t,ia,'-r'),grid,title('STATOR CURRENT MAGNITUDE "
"versus TIME'),                                                           \n  "
"                                                                             "
"                                                         \n                  "
"                                                                             "
"                                         \n                                  "
"                                                                             "
"                         "
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('TRANSIENTS')"
      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		      Gain
      Name		      "r2d"
      Position		      [405, 419, 455, 451]
      Gain		      "180/pi"
    }
    Block {
      BlockType		      Gain
      Name		      "rot1"
      Position		      [595, 70, 625, 100]
      ShowName		      off
      Gain		      "[0 -1;1 0]"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Scope
      Name		      "torques"
      Ports		      [1]
      Position		      [705, 426, 740, 474]
      ForegroundColor	      "green"
      NamePlacement	      "alternate"
      Location		      [629, 560, 1133, 723]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"Torques [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "12"
      YMin		      "-1.5"
      YMax		      "0.5"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Lookup
      Name		      "vt"
      Position		      [115, 521, 150, 559]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      FontWeight	      "bold"
      InputValues	      "[0  20 ] "
      OutputValues	      "[V V ]"
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [240, 419, 275, 451]
      ShowName		      off
      Gain		      "wo"
    }
    Block {
      BlockType		      Constant
      Name		      "ws"
      Position		      [115, 420, 145, 450]
      ForegroundColor	      "red"
      NamePlacement	      "alternate"
      Port {
	PortNumber		1
	Name			"ws"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Outport
      Name		      "d"
      Position		      [485, 428, 515, 442]
      NamePlacement	      "alternate"
    }
    Block {
      BlockType		      Outport
      Name		      "wm"
      Position		      [810, 368, 840, 382]
      Port		      "2"
    }
    Block {
      BlockType		      Outport
      Name		      "iff"
      Position		      [545, 353, 575, 367]
      ShowName		      off
      Port		      "3"
    }
    Block {
      BlockType		      Outport
      Name		      "iff1"
      Position		      [740, 153, 770, 167]
      ShowName		      off
      Port		      "4"
    }
    Block {
      BlockType		      Outport
      Name		      "iff3"
      Position		      [560, 513, 590, 527]
      ShowName		      off
      Port		      "5"
    }
    Block {
      BlockType		      Outport
      Name		      "iff2"
      Position		      [610, 268, 640, 282]
      ShowName		      off
      Port		      "6"
    }
    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		      [-65, 0]
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      Name		      "Te"
      SrcBlock		      "SM"
      SrcPort		      3
      Points		      [0, 0; 55, 0]
      Branch {
	Points			[0, 55]
	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 {
	Points			[0, -80]
	Branch {
	  Points		  [0, -50]
	  Branch {
	    DstBlock		    "Dot Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "rot1"
	    DstPort		    1
	  }
	}
	Branch {
	  Points		  [50, 0]
	  Branch {
	    DstBlock		    "Fcn1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 30]
	    DstBlock		    "Mux1"
	    DstPort		    2
	  }
	}
      }
      Branch {
	DstBlock		"iff2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "SM"
      SrcPort		      2
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"if"
	DstPort			1
      }
      Branch {
	DstBlock		"iff"
	DstPort			1
      }
    }
    Line {
      Name		      "wm"
      SrcBlock		      "Integrator2"
      SrcPort		      1
      Points		      [0, 0; 20, 0]
      Branch {
	Points			[0, -45]
	DstBlock		"Bm"
	DstPort			1
      }
      Branch {
	DstBlock		"wm"
	DstPort			1
      }
      Branch {
	Labels			[1, 0]
	Points			[0, 255; -500, 0; 0, -255]
	Branch {
	  DstBlock		  "SM"
	  DstPort		  3
	}
	Branch {
	  Points		  [-85, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Dot Product"
      SrcPort		      1
      Points		      [80, 0]
      Branch {
	Points			[0, -20]
	DstBlock		"P&Q"
	DstPort			2
      }
      Branch {
	Points			[70, 0; 0, 605; -635, 0]
	DstBlock		"Sum1"
	DstPort			2
      }
    }
    Line {
      Name		      "Q"
      Labels		      [0, 1]
      SrcBlock		      "Dot Product1"
      SrcPort		      1
      Points		      [0, 0; 80, 0]
      Branch {
	Points			[0, 20]
	DstBlock		"P&Q"
	DstPort			1
      }
      Branch {
	Points			[0, -45; -590, 0]
	DstBlock		"Sum3"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "rot1"
      SrcPort		      1
      DstBlock		      "Dot Product1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Fcn1"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	Labels			[2, 0]
	Points			[0, -35]
	DstBlock		"iff1"
	DstPort			1
      }
      Branch {
	Labels			[1, 0]
	DstBlock		"Mux1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "currents"
      DstPort		      1
    }
    Line {
      SrcBlock		      "r2d"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	Points			[0, 15]
	DstBlock		"delta"
	DstPort			1
      }
      Branch {
	DstBlock		"d"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Sum3"
      SrcPort		      1
      DstBlock		      "Qs  controller"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock2"
      SrcPort		      1
      DstBlock		      "Qsref"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Qs  controller"
      SrcPort		      1
      DstBlock		      "SM"
      DstPort		      2
    }
    Line {
      Name		      "vs"
      Labels		      [0, 0]
      SrcBlock		      "Armature\nvoltage"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	DstBlock		"iff3"
	DstPort			1
      }
      Branch {
	Points			[0, 90; -495, 0; 0, -335]
	Branch {
	  DstBlock		  "SM"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -150]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Dot Product1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Dot Product"
	    DstPort		    1
	  }
	}
      }
    }
    Line {
      SrcBlock		      "Qsref"
      SrcPort		      1
      DstBlock		      "Sum3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "Ps  controller"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock4"
      SrcPort		      1
      DstBlock		      "Psref"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Ps  controller"
      SrcPort		      1
      Points		      [275, 0; 0, -230]
      Branch {
	DstBlock		"Sum2"
	DstPort			3
      }
      Branch {
	DstBlock		"Mux6"
	DstPort			2
      }
    }
    Line {
      Name		      "ws"
      Labels		      [0, 0]
      SrcBlock		      "ws"
      SrcPort		      1
      DstBlock		      "Sum"
      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 {
      SrcBlock		      "Integrator3"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, 60]
	DstBlock		"Armature\nvoltage"
	DstPort			1
      }
      Branch {
	DstBlock		"r2d"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Psref"
      SrcPort		      1
      Points		      [0, 0]
      DstBlock		      "Sum1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock1"
      SrcPort		      1
      DstBlock		      "vt"
      DstPort		      1
    }
    Line {
      SrcBlock		      "vt"
      SrcPort		      1
      DstBlock		      "Armature\nvoltage"
      DstPort		      2
    }
    Annotation {
      Name		      "Tl"
      Position		      [609, 403]
    }
    Annotation {
      Name		      "P"
      Position		      [711, 144]
    }
    Annotation {
      Name		      "SYNCHRONOUS MACHINE \nSYNCHRONIZATION\nAND LOAD"
"ING"
      Position		      [356, 189]
      ForegroundColor	      "red"
      FontName		      "Arial"
      FontSize		      22
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "Reactive power setting"
      Position		      [137, 360]
    }
    Annotation {
      Name		      "Active power setting"
      Position		      [132, 730]
    }
    Annotation {
      Name		      "vs"
      Position		      [383, 546]
    }
    Annotation {
      Name		      "Mechanical System"
      Position		      [714, 303]
      ForegroundColor	      "blue"
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "ia"
      Position		      [739, 206]
    }
    Annotation {
      Name		      "Votage magnitude"
      Position		      [132, 575]
    }
  }
}

⌨️ 快捷键说明

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