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

📄 spacevec1.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  BlockType		  Math
	  Name			  "exp"
	  Ports			  [1, 1]
	  Position		  [90, 45, 120, 75]
	  ShowName		  off
	}
	Block {
	  BlockType		  Math
	  Name			  "exp1"
	  Ports			  [1, 1]
	  Position		  [90, 110, 120, 140]
	  ShowName		  off
	}
	Block {
	  BlockType		  Constant
	  Name			  "jalfa"
	  Position		  [30, 109, 70, 141]
	  Value			  "j*2*pi/3"
	}
	Block {
	  BlockType		  Outport
	  Name			  "B"
	  Position		  [275, 38, 305, 52]
	}
	Block {
	  BlockType		  Outport
	  Name			  "C"
	  Position		  [275, 103, 305, 117]
	  Port			  "2"
	}
	Line {
	  SrcBlock		  "exp"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag2"
	  SrcPort		  2
	  Points		  [0, 15]
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "-jalfa"
	  SrcPort		  1
	  DstBlock		  "exp"
	  DstPort		  1
	}
	Line {
	  Name			  "B"
	  Labels		  [1, 0]
	  SrcBlock		  "Complex to\nReal-Imag2"
	  SrcPort		  1
	  DstBlock		  "B"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fs"
	  SrcPort		  1
	  Points		  [80, 0; 0, 25]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "exp1"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag3"
	  SrcPort		  2
	  Points		  [0, 15]
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "jalfa"
	  SrcPort		  1
	  DstBlock		  "exp1"
	  DstPort		  1
	}
	Line {
	  Name			  "C"
	  Labels		  [0, 1]
	  SrcBlock		  "Complex to\nReal-Imag3"
	  SrcPort		  1
	  DstBlock		  "C"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "space vector"
      Ports		      []
      Position		      [587, 170, 655, 236]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "close all,figure(1),compass(Fs),axis equal,titl"
"e('SPACE VECTOR in stationary frame');figure(2),compass(Fk,'r'),axis equal,ti"
"tle('SPACE VECTOR in rotating frame')"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Space\\nvectors')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"space vector"
	Location		[77, 512, 524, 700]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "stat2rot"
      Ports		      [1, 1]
      Position		      [225, 292, 280, 338]
      ForegroundColor	      "red"
      TreatAsAtomicUnit	      off
      Port {
	PortNumber		1
	Name			"Fk"
	PropagatedSignals	"Fk"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"stat2rot"
	Location		[395, 553, 641, 653]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"78"
	Block {
	  BlockType		  Inport
	  Name			  "stat"
	  Position		  [20, 18, 50, 32]
	}
	Block {
	  BlockType		  Gain
	  Name			  "-jw"
	  Position		  [60, 53, 125, 87]
	  Gain			  "-j*2*pi*50"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [205, 47, 235, 78]
	  ShowName		  off
	  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		  Math
	  Name			  "exp2"
	  Ports			  [1, 1]
	  Position		  [145, 55, 175, 85]
	  ShowName		  off
	}
	Block {
	  BlockType		  Clock
	  Name			  "t"
	  Position		  [25, 60, 45, 80]
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Outport
	  Name			  "rot"
	  Position		  [270, 58, 300, 72]
	}
	Line {
	  SrcBlock		  "exp2"
	  SrcPort		  1
	  DstBlock		  "Product2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "-jw"
	  SrcPort		  1
	  DstBlock		  "exp2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "t"
	  SrcPort		  1
	  DstBlock		  "-jw"
	  DstPort		  1
	}
	Line {
	  Name			  "Fk"
	  Labels		  [0, 0]
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  DstBlock		  "rot"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "stat"
	  SrcPort		  1
	  Points		  [130, 0; 0, 30]
	  DstBlock		  "Product2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "vector ab\ntrajectory"
      Ports		      [2]
      Position		      [430, 156, 460, 189]
      SourceBlock	      "simulink/Sinks/XY Graph"
      SourceType	      "XY scope."
      xmin		      "-1"
      xmax		      "1"
      ymin		      "-1"
      ymax		      "1"
      st		      "-1"
    }
    Block {
      BlockType		      Reference
      Name		      "vector dq\ntrajectory"
      Ports		      [2]
      Position		      [430, 336, 460, 369]
      SourceBlock	      "simulink/Sinks/XY Graph"
      SourceType	      "XY scope."
      xmin		      "-1"
      xmax		      "1"
      ymin		      "-1"
      ymax		      "1"
      st		      "-1"
    }
    Block {
      BlockType		      Outport
      Name		      "Fs"
      Position		      [340, 183, 370, 197]
      ForegroundColor	      "blue"
    }
    Block {
      BlockType		      Outport
      Name		      "Fk"
      Position		      [340, 363, 370, 377]
      ForegroundColor	      "red"
      Port		      "2"
    }
    Line {
      Name		      "ab"
      Labels		      [-1, 1]
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "ab\n components"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Mux"
	DstPort			1
      }
      Branch {
	Points			[0, 30]
	DstBlock		"vector ab\ntrajectory"
	DstPort			1
      }
    }
    Line {
      Name		      "b"
      SrcBlock		      "Complex to\nReal-Imag"
      SrcPort		      2
      Points		      [5, 0]
      Branch {
	Labels			[-1, 1]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	Points			[0, 30]
	DstBlock		"vector ab\ntrajectory"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "fB"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "B"
      SrcPort		      1
      Points		      [25, 0]
      DstBlock		      "Sum2"
      DstPort		      2
    }
    Line {
      Name		      "B"
      Labels		      [0, 1]
      SrcBlock		      "Sum2"
      SrcPort		      1
      Points		      [50, 0]
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
      Branch {
	Points			[35, 0]
	Branch {
	  DstBlock		  "ABC2sp"
	  DstPort		  2
	}
	Branch {
	  Labels		  [-1, 1]
	  Points		  [0, -55]
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
      }
    }
    Line {
      Name		      "C"
      Labels		      [1, 0]
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [10, 0; 0, -40; 20, 0]
      Branch {
	DstBlock		"ABC2sp"
	DstPort			3
      }
      Branch {
	Labels			[-1, 1]
	Points			[0, -60]
	DstBlock		"Mux1"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "fA"
      SrcPort		      1
      DstBlock		      "Sum3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "A"
      SrcPort		      1
      Points		      [25, 0]
      DstBlock		      "Sum3"
      DstPort		      1
    }
    Line {
      Name		      "A"
      Labels		      [0, 1]
      SrcBlock		      "Sum3"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, 130]
	DstBlock		"Sum"
	DstPort			2
      }
      Branch {
	Points			[55, 0]
	Branch {
	  Points		  [0, 50]
	  DstBlock		  "ABC2sp"
	  DstPort		  1
	}
	Branch {
	  Labels		  [-1, 1]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
      }
    }
    Line {
      Name		      "ABC"
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"ABC2ab"
	DstPort			1
      }
      Branch {
	Labels			[2, 0]
	Points			[0, -40]
	DstBlock		"ABC\n components"
	DstPort			1
      }
    }
    Line {
      Name		      "dq"
      Labels		      [-1, 1]
      SrcBlock		      "Mux2"
      SrcPort		      1
      DstBlock		      "dq \ncomponents"
      DstPort		      1
    }
    Line {
      Name		      "q"
      SrcBlock		      "Complex to\nReal-Imag1"
      SrcPort		      2
      Points		      [5, 0]
      Branch {
	Labels			[-1, 1]
	DstBlock		"Mux2"
	DstPort			2
      }
      Branch {
	Points			[0, 40]
	DstBlock		"vector dq\ntrajectory"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Complex to\nReal-Imag1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Mux2"
	DstPort			1
      }
      Branch {
	Points			[0, 40]
	DstBlock		"vector dq\ntrajectory"
	DstPort			1
      }
    }
    Line {
      Name		      "ab"
      Labels		      [1, 0]
      SrcBlock		      "ABC2ab"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"ab \ncomponents1"
	DstPort			1
      }
      Branch {
	Labels			[2, 0]
	Points			[0, 225]
	DstBlock		"ab2dq"
	DstPort			1
      }
    }
    Line {
      Name		      "dq"
      Labels		      [1, 0]
      SrcBlock		      "ab2dq"
      SrcPort		      1
      DstBlock		      "dq \ncomponents1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "sp2ABC"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "sp2ABC"
      SrcPort		      2
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      Name		      "BC"
      Labels		      [1, 0]
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "BC\n components"
      DstPort		      1
    }
    Line {
      Name		      "Fs"
      Labels		      [1, 0]
      SrcBlock		      "ABC2sp"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Complex to\nReal-Imag"
	DstPort			1
      }
      Branch {
	Points			[0, 45]
	Branch {
	  DstBlock		  "Fs"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 50]
	  Branch {
	    DstBlock		    "sp2ABC"
	    DstPort		    1
	  }
	  Branch {
	    Labels		    [3, 0]
	    Points		    [-105, 0; 0, 75]
	    DstBlock		    "stat2rot"
	    DstPort		    1
	  }
	}
      }
    }
    Line {
      Name		      "Fk"
      Labels		      [0, 1]
      SrcBlock		      "stat2rot"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Complex to\nReal-Imag1"
	DstPort			1
      }
      Branch {
	Points			[0, 55]
	DstBlock		"Fk"
	DstPort			1
      }
    }
    Annotation {
      Name		      "SPACE VECTOR REPRESENTATION\nOF THREE-PHASE SIG"
"NALS\nIN STATIONARY AND ROTATING FRAMES"
      Position		      [256, 29]
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Name		      "a|A"
      Position		      [387, 130]
    }
    Annotation {
      Name		      "d"
      Position		      [382, 300]
    }
    Annotation {
      Name		      "Stationary frame"
      Position		      [125, 242]
      FontSize		      11
      FontWeight	      "bold"
      FontAngle		      "italic"
    }
    Annotation {
      Name		      "-----------------------------------------------"
"-----------------------------------------------------------------------------"
"------------------------------------------"
      Position		      [350, 278]
    }
    Annotation {
      Name		      "Rotating frame"
      Position		      [125, 312]
      FontSize		      11
      FontWeight	      "bold"
      FontAngle		      "italic"
    }
  }
}

⌨️ 快捷键说明

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