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

📄 smeqvec6.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "vs"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vt"
	  SrcPort		  1
	  Points		  [170, 0; 0, -25]
	  DstBlock		  "Product"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Bm"
      Position		      [620, 311, 655, 339]
      Orientation	      "left"
      ShowName		      off
      Gain		      "Bm"
    }
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [35, 310, 55, 330]
      ShowName		      off
      Decimation	      "10"
    }
    Block {
      BlockType		      Clock
      Name		      "Clock1"
      Position		      [45, 680, 65, 700]
      ShowName		      off
      Decimation	      "10"
    }
    Block {
      BlockType		      Reference
      Name		      "Dot Product"
      Ports		      [2, 1]
      Position		      [590, 109, 630, 151]
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Dot Product"
      SourceType	      "Dot Product"
    }
    Block {
      BlockType		      Reference
      Name		      "Dot Product1"
      Ports		      [2, 1]
      Position		      [590, 49, 630, 91]
      ShowName		      off
      SourceBlock	      "simulink/Math\nOperations/Dot Product"
      SourceType	      "Dot Product"
      Port {
	PortNumber		1
	Name			"Q"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn1"
      Position		      [590, 172, 625, 208]
      ShowName		      off
      Expr		      "sqrt(u(1)^2+u(2)^2)"
      Port {
	PortNumber		1
	Name			"ia"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn2"
      Position		      [290, 517, 325, 553]
      ShowName		      off
      Expr		      "sqrt(u(1)^2+u(2)^2)"
      Port {
	PortNumber		1
	Name			"vt"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator2"
      Ports		      [1, 1]
      Position		      [665, 355, 695, 385]
      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		      [310, 470, 340, 500]
      ShowName		      off
      InitialCondition	      "delta0"
      Port {
	PortNumber		1
	Name			"delta"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Lookup
      Name		      "Look-Up\nTable1"
      Position		      [85, 305, 115, 335]
      ForegroundColor	      "red"
      NamePlacement	      "alternate"
      InputValues	      "[0  20  30 40 60 80]"
      OutputValues	      "[vf0 vf0 4*vf0  4*vf0 0.7*vf0 0.7*vf0]"
    }
    Block {
      BlockType		      Lookup
      Name		      "Look-Up\nTable2"
      Position		      [85, 675, 115, 705]
      ForegroundColor	      "red"
      NamePlacement	      "alternate"
      InputValues	      "[0  10  15 100]"
      OutputValues	      "[0 0 -.75 -.75]"
      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		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [700, 174, 705, 236]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux6"
      Ports		      [2, 1]
      Position		      [580, 449, 585, 516]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "P&Q"
      Ports		      [2]
      Position		      [730, 78, 760, 122]
      NamePlacement	      "alternate"
      Location		      [497, 214, 1132, 425]
      Open		      on
      NumInputPorts	      "2"
      List {
	ListType		AxesTitles
	axes1			"Reactive Power Q [pu]"
	axes2			"Power P[pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      TimeRange		      "100"
      YMin		      "-5~-1"
      YMax		      "5~1"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "SM"
      Ports		      [3, 3]
      Position		      [300, 243, 455, 397]
      ForegroundColor	      "blue"
      ShowName		      off
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
"),[-.5 -1 1 .5],[-.866 -1.2 -1.2 -.866] )\ndisp('SYNCHRONOUS\\nMACHINE')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      Port {
	PortNumber		3
	Name			"Te"
	PropagatedSignals	"Te"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"SM"
	Location		[590, 399, 1010, 715]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"59"
	Block {
	  BlockType		  Inport
	  Name			  "vs"
	  Position		  [25, 113, 55, 127]
	}
	Block {
	  BlockType		  Inport
	  Name			  "vf"
	  Position		  [30, 283, 60, 297]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "wm"
	  Position		  [25, 63, 55, 77]
	  Port			  "3"
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux"
	  Ports			  [1, 3]
	  Position		  [455, 97, 460, 233]
	  BackgroundColor	  "black"
	  ShowName		  off
	  Outputs		  "3"
	  Port {
	    PortNumber		    3
	    Name		    "if"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Dot Product"
	  Ports			  [2, 1]
	  Position		  [555, 19, 595, 61]
	  ShowName		  off
	  SourceBlock		  "simulink/Math\nOperations/Dot Product"
	  SourceType		  "Dot Product"
	  Port {
	    PortNumber		    1
	    Name		    "Te"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [200, 235, 230, 265]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Ra"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [205, 330, 235, 360]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Rf"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain4"
	  Position		  [180, 105, 205, 135]
	  ShowName		  off
	  Gain			  "wo"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain5"
	  Position		  [175, 380, 205, 410]
	  ShowName		  off
	  Gain			  "-wo"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain6"
	  Position		  [180, 275, 205, 305]
	  ShowName		  off
	  Gain			  "wo"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [235, 105, 265, 135]
	  ShowName		  off
	  InitialCondition	  "fa0"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [235, 380, 265, 410]
	  ShowName		  off
	  InitialCondition	  "fk0"
	  Port {
	    PortNumber		    1
	    Name		    "fk"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator2"
	  Ports			  [1, 1]
	  Position		  [235, 275, 265, 305]
	  ShowName		  off
	  InitialCondition	  "phif0"
	  Port {
	    PortNumber		    1
	    Name		    "ff"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Inverse\ninductance"
	  Position		  [350, 127, 425, 203]
	  Gain			  "L_1"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [3, 1]
	  Position		  [320, 96, 325, 234]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [90, 47, 120, 78]
	  ShowName		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [135, 280, 155, 300]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [3, 1]
	  Position		  [135, 110, 155, 130]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Gain
	  Name			  "damper\nreistances"
	  Position		  [205, 450, 255, 490]
	  Orientation		  "left"
	  Gain			  "[Rkd 0;0 Rkq]"
	  Multiplication	  "Matrix(K*u)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "rot"
	  Position		  [180, 15, 210, 45]
	  Orientation		  "left"
	  Gain			  "[0 -1;1 0]"

⌨️ 快捷键说明

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