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

📄 imvectrol2.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"rotor flux [pu]"
      }
      Grid		      "on"
      TimeRange		      "12"
      YMin		      "0"
      YMax		      "1"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "15000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [745, 194, 775, 226]
      Floating		      off
      Location		      [508, 362, 1003, 731]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"error angle [degrees]"
      }
      Grid		      "on"
      TimeRange		      "12"
      YMin		      "-10"
      YMax		      "11"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "15000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [720, 379, 750, 411]
      Floating		      off
      Location		      [9, 432, 505, 711]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"rotor frequencies [pu]"
      }
      Grid		      "on"
      TimeRange		      "12"
      YMin		      "-0.02"
      YMax		      "0.055"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "15000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [815, 379, 845, 411]
      Orientation	      "left"
      Floating		      off
      Location		      [10, 142, 508, 397]
      Open		      on
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"speed [pu]"
      }
      Grid		      "on"
      TimeRange		      "12"
      YMin		      "0"
      YMax		      "1.4"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      on
      MaxDataPoints	      "15000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Step
      Name		      "Step Tl"
      Position		      [845, 195, 875, 225]
      Orientation	      "left"
      Time		      "9"
      Before		      "0"
      After		      "1"
      SampleTime	      "0"
      VectorParams1D	      on
      Port {
	PortNumber		1
	Name			"Tl"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [395, 365, 415, 385]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [780, 140, 800, 160]
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1]
      Position		      [115, 195, 135, 215]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Product
      Name		      "divide"
      Ports		      [2, 1]
      Position		      [572, 315, 603, 345]
      Orientation	      "down"
      Inputs		      "*/"
      Multiplication	      "Element-wise(.*)"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"wr"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Constant
      Name		      "fr/Lm"
      Position		      [185, 120, 215, 150]
      Value		      "1/3"
      VectorParams1D	      on
      Port {
	PortNumber		1
	Name			"ids*"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "ktune"
      Position		      [301, 325, 349, 360]
      Orientation	      "down"
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      Gain		      "1.2"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
      Port {
	PortNumber		1
	Name			"wr*"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      TransferFcn
      Name		      "mec"
      Position		      [835, 132, 895, 168]
      Numerator		      "[1]"
      Denominator	      "[1 1e-3]"
      Realization	      "auto"
      AbsoluteTolerance	      "auto"
      Port {
	PortNumber		1
	Name			"wm"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
      }
    }
    Block {
      BlockType		      Gain
      Name		      "rad2deg"
      Position		      [670, 194, 720, 226]
      Gain		      "180/pi"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Gain
      Name		      "wo"
      Position		      [390, 300, 420, 330]
      Orientation	      "up"
      Gain		      "377"
      Multiplication	      "Element-wise(K.*u)"
      SaturateOnIntegerOverflow	on
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, -35]
	DstBlock		"Fcn"
	DstPort			1
      }
      Branch {
	Points			[0, 35]
	DstBlock		"Fcn1"
	DstPort			1
      }
    }
    Line {
      Name		      "ids*"
      Labels		      [-1, 1]
      SrcBlock		      "fr/Lm"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      1
    }
    Line {
      Name		      "ids"
      Labels		      [0, 1]
      SrcBlock		      "Fcn"
      SrcPort		      1
      DstBlock		      "Lm/(Trs+1)"
      DstPort		      1
    }
    Line {
      SrcBlock		      "wo"
      SrcPort		      1
      DstBlock		      "Integrator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      DstBlock		      "Lm/Lr"
      DstPort		      1
    }
    Line {
      Name		      "fdr"
      Labels		      [0, 1]
      SrcBlock		      "Lm/(Trs+1)"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"IC"
	DstPort			1
      }
      Branch {
	Points			[20, 0]
	Branch {
	  Points		  [0, 30]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, -25]
	  DstBlock		  "Scope1"
	  DstPort		  1
	}
      }
    }
    Line {
      Name		      "iqs"
      Labels		      [0, 1]
      SrcBlock		      "Fcn1"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	Points			[80, 0; 0, -25]
	DstBlock		"Product"
	DstPort			2
      }
      Branch {
	DstBlock		"Lm/(wo*Tr*fr)'"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "IC"
      SrcPort		      1
      DstBlock		      "divide"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Lm/(wo*Tr*fr)'"
      SrcPort		      1
      Points		      [0, 5]
      DstBlock		      "divide"
      DstPort		      1
    }
    Line {
      Name		      "wr"
      SrcBlock		      "divide"
      SrcPort		      1
      Points		      [0, 25]
      Branch {
	Labels			[1, 1]
	DstBlock		"Sum"
	DstPort			2
      }
      Branch {
	Points			[75, 0]
	DstBlock		"Mux1"
	DstPort			1
      }
    }
    Line {
      Name		      "delta"
      SrcBlock		      "Integrator"
      SrcPort		      1
      Points		      [0, -15]
      Branch {
	Labels			[1, 1]
	Points			[-55, 0]
	DstBlock		"Mux"
	DstPort			3
      }
      Branch {
	DstBlock		"rad2deg"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "rad2deg"
      SrcPort		      1
      DstBlock		      "Scope2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Lm/(wo*Tr*fr)"
      SrcPort		      1
      DstBlock		      "ktune"
      DstPort		      1
    }
    Line {
      Name		      "wr*"
      Labels		      [2, 0]
      SrcBlock		      "ktune"
      SrcPort		      1
      Points		      [0, 55; 80, 0]
      Branch {
	Points			[260, 0]
	DstBlock		"Mux1"
	DstPort			2
      }
      Branch {
	DstBlock		"Sum"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "Scope3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "wo"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      DstBlock		      "mec"
      DstPort		      1
    }
    Line {
      Name		      "Te"
      SrcBlock		      "Lm/Lr"
      SrcPort		      1
      Points		      [5, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"Sum1"
	DstPort			1
      }
      Branch {
	Points			[0, -65]
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      Name		      "Tl"
      Labels		      [2, 1]
      SrcBlock		      "Step Tl"
      SrcPort		      1
      Points		      [-50, 0]
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum3"
      SrcPort		      1
      DstBlock		      "PI"
      DstPort		      1
    }
    Line {
      Name		      "iqs*"
      Labels		      [1, 0]
      SrcBlock		      "PI"
      SrcPort		      1
      Points		      [95, 0]
      Branch {
	Points			[0, -60]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	DstBlock		"Lm/(wo*Tr*fr)"
	DstPort			1
      }
    }
    Line {
      Name		      "wc"
      Labels		      [0, 1]
      SrcBlock		      "Look-Up\nTable"
      SrcPort		      1
      DstBlock		      "Sum3"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "Look-Up\nTable"
      DstPort		      1
    }
    Line {
      Name		      "wm"
      Labels		      [1, 0]
      SrcBlock		      "mec"
      SrcPort		      1
      Points		      [35, 0; 0, 245]
      Branch {
	Points			[0, 60; -810, 0]
	DstBlock		"Sum3"
	DstPort			2
      }
      Branch {
	DstBlock		"Scope4"
	DstPort			1
      }
    }
    Annotation {
      Position		      [88, 213]
      Text		      " "
    }
    Annotation {
      Position		      [151, 199]
      Text		      "we"
    }
    Annotation {
      Position		      [130, 168]
      Text		      "PI controller"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [208, 484]
      Text		      "Parameters expressed in pu"
      FontSize		      11
    }
    Annotation {
      Position		      [231, 343]
      ForegroundColor	      "red"
      Text		      "vary ktune "
      FontSize		      11
      FontWeight	      "bold"
      FontAngle		      "italic"
    }
    Annotation {
      Position		      [446, 36]
      Text		      "|\n|"
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [480, 393]
      ForegroundColor	      "blue"
      Text		      "slip frequencies"
      FontSize		      11
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [466, 534]
      ForegroundColor	      "green"
      Text		      "SPEED  CONTROL\nEFFECT OF DETUNING\nSATURATION "
"IGNORED"
      FontSize		      11
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [467, 493]
      ForegroundColor	      "darkGreen"
      Text		      "INDIRECT VECTOR CONTROL OF INDUCTION MOTOR\nWIT"
"H CURRENT EXCITATION"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [591, 34]
      ForegroundColor	      "blue"
      Text		      "<Induction motor in rotor flux frame>"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [286, 34]
      ForegroundColor	      "blue"
      Text		      "<Controller in estimated rotor flux frame>"
      FontSize		      12
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [276, 118]
      ForegroundColor	      "magenta"
      Text		      "flux command"
      FontSize		      11
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [443, 145]
      ForegroundColor	      "magenta"
      Text		      "vector rotator"
      FontSize		      11
      FontWeight	      "bold"
    }
    Annotation {
      Position		      [275, 168]
      ForegroundColor	      "magenta"
      Text		      "torque command"
      FontSize		      11
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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