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

📄 im_dtc.mdl

📁 commande direct de couple dtc
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      Name		      "fr"
      Ports		      [1]
      Position		      [1655, 321, 1690, 369]
      Location		      [31, 152, 570, 471]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Rotor flux"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "1"
      YMin		      "-1.5"
      YMax		      "1.5"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      Scope
      Name		      "frs"
      Ports		      [1]
      Position		      [1660, 241, 1695, 289]
      Location		      [33, 510, 572, 829]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Stator flux"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "2"
      YMin		      "-1.1"
      YMax		      "1.1"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      SubSystem
      Name		      "fsw"
      Ports		      []
      Position		      [136, 658, 281, 783]
      ForegroundColor	      "red"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "dtctableb"
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,[-1.2 0 1.2 -1.2],[-1.2 "
"1.3 -1.2 -1.2] )\ndisp('double click\\nSwitching\\nTable')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"fsw"
	Location		[81, 465, 513, 607]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Annotation {
	  Name			  "Script files"
	  Position		  [213, 22]
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "This collection of demonstrations is design"
"ed to illustrate the use of MATLAB   \nfor the simulation of the steady-state"
" characteristics of ac machines under\nbalanced and unbalanced conditions of "
"operation.  \n"
	  Position		  [15, 40]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontSize		  11
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "one1"
      Position		      [1090, 230, 1120, 260]
      ShowName		      off
      Value		      "0"
    }
    Block {
      BlockType		      Gain
      Name		      "phase"
      Position		      [930, 168, 970, 212]
      Gain		      "1/3*[2 -1 -1;-1 2 -1;-1 -1 2]"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Scope
      Name		      "speed"
      Ports		      [1]
      Position		      [1720, 186, 1755, 234]
      NamePlacement	      "alternate"
      Location		      [50, 474, 589, 762]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"speed [rpm]"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.4"
      YMin		      "0"
      YMax		      "1500"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      SubSystem
      Name		      "speed calc"
      Ports		      [2, 3]
      Position		      [1625, 407, 1735, 503]
      ShowName		      off
      FontName		      "Arial"
      FontSize		      14
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('Speed\\nEstimator')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"speed calc"
	Location		[384, 332, 946, 608]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "fr"
	  Position		  [25, 73, 55, 87]
	}
	Block {
	  BlockType		  Inport
	  Name			  "Te"
	  Position		  [20, 152, 50, 168]
	  Port			  "2"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [285, 115, 315, 145]
	  ShowName		  off
	  Value			  "nan"
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [210, 65, 240, 95]
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn3"
	  Position		  [160, 200, 260, 230]
	  ShowName		  off
	  Expr			  "u(1)^2+u(2)^2"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [435, 195, 465, 225]
	  Gain			  "1/(.75*4)"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [335, 191, 360, 224]
	  ShowName		  off
	  Inputs		  "*/"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Rr"
	  Position		  [380, 196, 415, 224]
	  Gain			  "1.34"
	  Port {
	    PortNumber		    1
	    Name		    "wslip"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [350, 75, 380, 105]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Fcn
	  Name			  "x->theta"
	  Position		  [90, 68, 170, 92]
	  ShowName		  off
	  Expr			  "atan2(u(2),u(1))"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wr"
	  Position		  [490, 83, 520, 97]
	}
	Block {
	  BlockType		  Outport
	  Name			  "wslip"
	  Position		  [515, 203, 545, 217]
	  Port			  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "an"
	  Position		  [490, 53, 520, 67]
	  Port			  "3"
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "wr"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  Points		  [10, 0; 0, -30]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Derivative"
	  SrcPort		  1
	  Points		  [0, 0; 40, 0]
	  Branch {
	    DstBlock		    "Switch"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 10]
	    DstBlock		    "Switch"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "fr"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "x->theta"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 135]
	    DstBlock		    "Fcn3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "x->theta"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Derivative"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -20]
	    DstBlock		    "an"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn3"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Rr"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te"
	  SrcPort		  1
	  Points		  [230, 0; 0, 40]
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  Name			  "wslip"
	  SrcBlock		  "Rr"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "wslip"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "torque"
      Ports		      [1]
      Position		      [1535, 70, 1570, 120]
      NamePlacement	      "alternate"
      Location		      [482, 60, 1019, 374]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"torque"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "0.4"
      YMin		      "-2.5"
      YMax		      "32.5"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      Scope
      Name		      "w"
      Ports		      [3]
      Position		      [1915, 394, 1950, 466]
      NamePlacement	      "alternate"
      Location		      [489, 335, 1019, 762]
      Open		      off
      NumInputPorts	      "3"
      List {
	ListType		AxesTitles
	axes1			"wr"
	axes2			"wslip"
	axes3			"wm = wr - wslip"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
      }
      TimeRange		      "0.4"
      YMin		      "0~-2.5~-50"
      YMax		      "350~20~350"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Step
      Name		      "wm"
      Position		      [45, 172, 80, 208]
      ForegroundColor	      "red"
      Time		      "0"
      After		      "0.8"
      SampleTime	      "0"
    }
    Line {
      SrcBlock		      "F_ref"
      SrcPort		      1
      DstBlock		      "DTC"
      DstPort		      1
    }
    Line {
      SrcBlock		      "3/2"
      SrcPort		      1
      DstBlock		      "IM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      3
      Points		      [0, 0; 25, 0]
      Branch {
	Points			[0, 150]
	Branch {
	  DstBlock		  "To Workspace2"
	  DstPort		  1
	}
	Branch {
	  Points		  [-895, 0; 0, -175]
	  DstBlock		  "DTC"
	  DstPort		  3
	}
      }
      Branch {
	DstBlock		"frs"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "one1"
      SrcPort		      1
      DstBlock		      "IM"
      DstPort		      2
    }
    Line {
      Name		      "Te"
      Labels		      [0, 0]
      SrcBlock		      "IM"
      SrcPort		      1
      Points		      [-5, 0; 105, 0]
      Branch {
	Points			[0, -105]
	DstBlock		"Mux"
	DstPort			1
      }
      Branch {
	Points			[50, 0]
	Branch {
	  DstBlock		  "Mechanical \nsystem"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 295]
	  DstBlock		  "speed calc"
	  DstPort		  2
	}
      }
      Branch {
	Points			[0, 260; -1025, 0]
	DstBlock		"Sum"
	DstPort			2
      }
    }
    Line {
      Name		      "wm"
      Labels		      [0, 0]
      SrcBlock		      "Mechanical \nsystem"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	Points			[0, 155; -510, 0; 0, -65]
	DstBlock		"IM"
	DstPort			3
      }
      Branch {
	DstBlock		"P_control1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      2
      Points		      [25, 0; 0, -125]
      DstBlock		      "currents"
      DstPort		      1
    }
    Line {
      SrcBlock		      "wm"
      SrcPort		      1
      DstBlock		      "Gain4"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "DTC"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "torque"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum4"
      SrcPort		      1
      DstBlock		      "P_control"
      DstPort		      1
    }
    Line {
      Name		      "Te*"
      Labels		      [0, 1]
      SrcBlock		      "P_control"
      SrcPort		      1
      DstBlock		      "Saturation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "IM"
      SrcPort		      4
      Points		      [0, 0; 5, 0]
      Branch {
	DstBlock		"To Workspace1"
	DstPort			1
      }
      Branch {
	P

⌨️ 快捷键说明

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