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

📄 imrotfluxframe.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	Line {
	  Name			  "ids"
	  Labels		  [0, 1]
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  Name			  "wf"
	  Labels		  [0, 0]
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  Points		  [-30, 0; 0, -35]
	  Branch {
	    DstBlock		    "wf"
	    DstPort		    1
	  }
	  Branch {
	    Labels		    [1, 0]
	    Points		    [0, -250]
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	}
	Line {
	  Name			  "wr"
	  Labels		  [2, 0]
	  SrcBlock		  "divide"
	  SrcPort		  1
	  Points		  [0, 10; -380, 0; 0, -40]
	  DstBlock		  "Sum4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "flux-current1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "fqr"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  Name			  "iqs"
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Labels		    [1, 0]
	    DstBlock		    "Rr*Lm/(Lm+Lrl)"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -100; 315, 0; 0, 35]
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Integrator2"
	  DstPort		  1
	}
	Line {
	  Name			  "fdr"
	  SrcBlock		  "Integrator2"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    Labels		    [1, 0]
	    Points		    [0, 50]
	    Branch {
	      Points		      [0, 85; -190, 0]
	      Branch {
		Points			[0, 60; -90, 0]
		DstBlock		"divide"
		DstPort			2
	      }
	      Branch {
		Points			[-370, 0]
		DstBlock		"Mux"
		DstPort			1
	      }
	    }
	    Branch {
	      Points		      [-235, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -30]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Gain5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  DstBlock		  "Te"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "flux-current1"
	  SrcPort		  2
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Annotation {
	  Name			  "STATOR"
	  Position		  [213, 76]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "fs"
	  Position		  [312, 69]
	}
	Annotation {
	  Name			  "is"
	  Position		  [465, 110]
	}
	Annotation {
	  Name			  "ROTOR\nd_axis"
	  Position		  [659, 70]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "slip frequency\ncalculator"
	  Position		  [605, 275]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator1"
      Ports		      [1, 1]
      Position		      [625, 255, 655, 285]
      ShowName		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mechanical \nsystem"
      Ports		      [2, 1]
      Position		      [650, 106, 750, 204]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      ShowName		      off
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('MECHANICAL\\nSYSTEM')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      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"
      }
      System {
	Name			"Mechanical \nsystem"
	Location		[529, 108, 1007, 307]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"155"
	Block {
	  BlockType		  Inport
	  Name			  "Te"
	  Position		  [15, 48, 45, 62]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tl"
	  Position		  [15, 13, 45, 27]
	  Port			  "2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "1/2H"
	  Position		  [115, 37, 175, 73]
	  ShowName		  off
	  Gain			  "1/(2*H)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Bm"
	  Position		  [145, 80, 175, 110]
	  Orientation		  "left"
	  ShowName		  off
	  Gain			  "Bm"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [195, 39, 225, 71]
	  ShowName		  off
	  InitialCondition	  "n0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [3, 1]
	  Position		  [70, 45, 90, 65]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "-+-"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wm"
	  Position		  [270, 48, 300, 62]
	}
	Line {
	  SrcBlock		  "1/2H"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "1/2H"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bm"
	  SrcPort		  1
	  Points		  [-60, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Bm"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "wm"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Te"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Tl"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux4"
      Ports		      [3, 1]
      Position		      [100, 100, 105, 210]
      BackgroundColor	      "black"
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
      Port {
	PortNumber		1
	Name			"v_ABC"
	PropagatedSignals	", , "
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux6"
      Ports		      [2, 1]
      Position		      [690, 31, 695, 84]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Position		      [35, 105, 65, 135]
      ShowName		      off
      SineType		      "Time based"
      Amplitude		      "vs"
      Frequency		      "wo*ws"
      Phase		      "pi/2-an"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave1"
      Position		      [35, 140, 65, 170]
      ShowName		      off
      SineType		      "Time based"
      Amplitude		      "vs"
      Frequency		      "wo*ws"
      Phase		      "pi/2-an-2*pi/3"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave2"
      Position		      [35, 175, 65, 205]
      ShowName		      off
      SineType		      "Time based"
      Amplitude		      "vs"
      Frequency		      "wo*ws"
      Phase		      "pi/2-an+2*pi/3"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "SubSystem1"
      Ports		      []
      Position		      [355, 379, 532, 416]
      BackgroundColor	      "yellow"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "edit(which('imdefsivec1.m'))"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Double click this block\\n to modify the "
"parameters');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"SubSystem1"
	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		      Lookup
      Name		      "Torque pulse"
      Position		      [530, 30, 560, 60]
      NamePlacement	      "alternate"
      InputValues	      "[0 0.1 0.1 0.5 0.5 2] "
      OutputValues	      "[Tl0 Tl0  0 0 0.5 0.5] "
      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		      SubSystem
      Name		      "ab2dq"
      Ports		      [2, 1]
      Position		      [240, 138, 300, 207]
      TreatAsAtomicUnit	      off
      Port {
	PortNumber		1
	Name			"v_dq"
	PropagatedSignals	", "
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
      System {
	Name			"ab2dq"
	Location		[646, 202, 1000, 412]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"85"
	Block {
	  BlockType		  Inport
	  Name			  "ab"
	  Position		  [20, 77, 50, 93]
	}
	Block {
	  BlockType		  Inport
	  Name			  "thetak"
	  Position		  [20, 112, 50, 128]
	  Port			  "2"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [150, 16, 300, 64]
	  ShowName		  off
	  Expr			  "u(1)*cos(u(3))+u(2)*sin(u(3))"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [150, 185, 310, 225]
	  ShowName		  off
	  Expr			  "-u(1)*sin(u(3))+u(2)*cos(u(3))"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux3"
	  Ports			  [2, 1]
	  Position		  [125, 12, 130, 63]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux4"
	  Ports			  [2, 1]
	  Position		  [125, 177, 130, 228]

⌨️ 快捷键说明

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