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

📄 imstvfvv.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	  PortCounts		  "[]"
	  SFunctionModules	  "''"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [230, 68, 260, 82]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "indmotor"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "indmotor"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [125, 190, 145, 210]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"Tmec"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Te vs wm"
      Ports		      [2]
      Position		      [595, 38, 655, 122]
      SourceBlock	      "simulink3/Sinks/XY Graph"
      SourceType	      "XY scope."
      xmin		      "0"
      xmax		      "1"
      ymin		      "-1"
      ymax		      "3"
      st		      "0"
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [80, 75, 100, 95]
      ShowName		      off
    }
    Block {
      BlockType		      Fcn
      Name		      "Tm"
      Position		      [265, 256, 335, 284]
      Orientation	      "left"
      Expr		      "0.8*abs(u)^1.8"
      Port {
	PortNumber		1
	Name			"Tm"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "currents"
      Ports		      [1]
      Position		      [600, 147, 655, 223]
      Floating		      off
      Location		      [22, 88, 499, 359]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "on"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"STATOR CURRENT [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "1.5"
      YMin		      "0"
      YMax		      "4"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Array"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "line start"
      Position		      [25, 70, 55, 100]
      Value		      "1"
      VectorParams1D	      on
      Port {
	PortNumber		1
	Name			"ws"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Fcn
      Name		      "mag"
      Position		      [530, 169, 565, 201]
      Expr		      "sqrt(u(1)^2+u(2)^2)"
      Port {
	PortNumber		1
	Name			"Imag"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Scope
      Name		      "mec"
      Ports		      [2]
      Position		      [605, 247, 660, 343]
      Floating		      off
      Location		      [507, 91, 1008, 710]
      Open		      on
      NumInputPorts	      "2"
      TickLabels	      "on"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"SPEED [pu]"
	axes2			"TORQUES [pu]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      Grid		      "on"
      TimeRange		      "1.5"
      YMin		      "0~-0.5"
      YMax		      "1~2.5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "Array"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots1"
      Ports		      []
      Position		      [42, 275, 110, 341]
      ForegroundColor	      "orange"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "implot"
      FontSize		      12
      FontWeight	      "bold"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      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			"plots1"
	Location		[81, 508, 528, 696]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      Outport
      Name		      "Outport1"
      Position		      [370, 210, 395, 240]
      DropShadow	      on
      OpenFcn		      "implot"
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Outport
      Name		      "Outport2"
      Position		      [230, 210, 255, 240]
      DropShadow	      on
      OpenFcn		      "implot"
      Port		      "2"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Line {
      Name		      "Imag"
      Labels		      [1, 0]
      SrcBlock		      "mag"
      SrcPort		      1
      DstBlock		      "currents"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	Points			[0, 0]
	DstBlock		"Subsystem"
	DstPort			1
      }
      Branch {
	Points			[0, 90]
	DstBlock		"Outport2"
	DstPort			1
      }
    }
    Line {
      Name		      "ibs"
      Labels		      [1, 0]
      SrcBlock		      "Demux1"
      SrcPort		      4
      DstBlock		      "Mux6"
      DstPort		      2
    }
    Line {
      Name		      "vqs"
      Labels		      [1, 0]
      SrcBlock		      "Ground"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      2
    }
    Line {
      Name		      "vds"
      Labels		      [1, 0]
      SrcBlock		      "Saturation"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      1
    }
    Line {
      Name		      "ias"
      Labels		      [1, 0]
      SrcBlock		      "Demux1"
      SrcPort		      3
      DstBlock		      "Mux6"
      DstPort		      1
    }
    Line {
      Name		      "Tl"
      Labels		      [1, 0]
      SrcBlock		      "Step load"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      Name		      "Tm"
      Labels		      [2, 0]
      SrcBlock		      "Tm"
      SrcPort		      1
      Points		      [-125, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      Name		      "Tmec"
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Mux1"
	DstPort			4
      }
      Branch {
	Points			[0, 140]
	DstBlock		"Mux7"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Mux7"
      SrcPort		      1
      DstBlock		      "mec"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Clock3"
      SrcPort		      1
      DstBlock		      " ramp start"
      DstPort		      1
    }
    Line {
      Name		      "ws"
      SrcBlock		      " ramp start"
      SrcPort		      1
      Points		      [0, 0; 5, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Mux1"
	DstPort			3
      }
      Branch {
	DstBlock		"Saturation"
	DstPort			1
      }
    }
    Line {
      Name		      "ws"
      Labels		      [1, 0]
      SrcBlock		      "line start"
      SrcPort		      1
      DstBlock		      "Terminator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Demux1"
	DstPort			1
      }
      Branch {
	Points			[0, 90]
	DstBlock		"Outport1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux6"
      SrcPort		      1
      DstBlock		      "mag"
      DstPort		      1
    }
    Line {
      Name		      "wm"
      Labels		      [0, 1]
      SrcBlock		      "Demux1"
      SrcPort		      1
      Points		      [0, 0; 50, 0]
      Branch {
	Points			[0, 210]
	Branch {
	  DstBlock		  "Tm"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "mec"
	  DstPort		  1
	}
      }
      Branch {
	DstBlock		"Te vs wm"
	DstPort			1
      }
    }
    Line {
      Name		      "Te"
      Labels		      [0, 1]
      SrcBlock		      "Demux1"
      SrcPort		      2
      Points		      [0, 0; 20, 0]
      Branch {
	Points			[0, 190]
	DstBlock		"Mux7"
	DstPort			1
      }
      Branch {
	Points			[135, 0; 0, -10]
	DstBlock		"Te vs wm"
	DstPort			2
      }
    }
  }
}

⌨️ 快捷键说明

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