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

📄 dtc3a.mdl

📁 关于电机的.m程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vs"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "wk"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 215]
	    DstBlock		    "Sum4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "wm"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Annotation {
	  Name			  "ROTOR"
	  Position		  [243, 307]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "STATOR"
	  Position		  [238, 96]
	  ForegroundColor	  "red"
	  FontSize		  12
	}
	Annotation {
	  Name			  "fs"
	  Position		  [337, 89]
	}
	Annotation {
	  Name			  "fr"
	  Position		  [335, 304]
	}
	Annotation {
	  Name			  "is"
	  Position		  [490, 130]
	}
	Annotation {
	  Name			  "INDUCTION MACHINE SUBSYSTEM IN ARBITRARY RE"
"FERENCE FRAME"
	  Position		  [352, 451]
	  ForegroundColor	  "blue"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "ir"
	  Position		  [489, 216]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mechanical \nsystem"
      Ports		      [2, 1]
      Position		      [1250, 156, 1350, 254]
      BackgroundColor	      "yellow"
      NamePlacement	      "alternate"
      ShowName		      off
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskPromptString	      "Inertia constant [s]|Torque-speed coefficient"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "H=@1;Bm=@2;"
      MaskDisplay	      "disp('MECHANICAL\\nSYSTEM')"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.5|1e-5"
      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		[779, 127, 1110, 253]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	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, 38, 225, 72]
	  ShowName		  off
	  InitialCondition	  "wmo"
	}
	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		  "Tl"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Te"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "wm"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Bm"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Bm"
	  SrcPort		  1
	  Points		  [-60, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "1/2H"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1/2H"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [1215, 58, 1220, 122]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "P_control"
      Position		      [225, 154, 285, 216]
      ShowName		      off
      Gain		      "800"
      Port {
	PortNumber		1
	Name			"Te*"
	TestPoint		off
	LinearAnalysisOutput	off
	LinearAnalysisInput	off
	RTWStorageClass		"Auto"
	DataLogging		off
	DataLoggingNameMode	"SignalName"
	DataLoggingDecimateData	off
	DataLoggingDecimation	"2"
	DataLoggingLimitDataPoints off
	DataLoggingMaxPoints	"5000"
      }
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation"
      Position		      [310, 161, 355, 209]
      ShowName		      off
      UpperLimit	      "2"
      LowerLimit	      "-2"
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Signal\nGenerator"
      Position		      [45, 470, 85, 510]
      ShowName		      off
      WaveForm		      "square"
      Amplitude		      ".5"
      Frequency		      "4"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [380, 170, 410, 200]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [105, 475, 135, 505]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [1560, 410, 1590, 440]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1]
      Position		      [170, 175, 190, 195]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [1130, 283, 1160, 317]
      ShowName		      off
      VariableName	      "fr"
      MaxDataPoints	      "inf"
      Decimation	      "2"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace2"
      Position		      [1125, 393, 1155, 427]
      ShowName		      off
      VariableName	      "fs"
      MaxDataPoints	      "inf"
      Decimation	      "2"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      TransportDelay
      Name		      "Transport\nDelay"
      Position		      [230, 472, 275, 508]
      ShowName		      off
    }
    Block {
      BlockType		      Scope
      Name		      "currents"
      Ports		      [1]
      Position		      [1120, 71, 1155, 119]
      NamePlacement	      "alternate"
      Location		      [65, 511, 604, 830]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"currents"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "2"
      YMin		      "-2.5"
      YMax		      "2.5"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      Gain
      Name		      "dc"
      Position		      [800, 154, 860, 216]
    }
    Block {
      BlockType		      Scope
      Name		      "fr"
      Ports		      [1]
      Position		      [1410, 316, 1445, 364]
      Location		      [31, 152, 570, 471]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"Rotor flux"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      TimeRange		      "2"
      YMin		      "-1.1"
      YMax		      "1.1"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "20000"
      Decimation	      "20"
    }
    Block {
      BlockType		      Scope
      Name		      "frs"
      Ports		      [1]
      Position		      [1415, 236, 1450, 284]
      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('Switching\\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		      SubSystem
      Name		      "info"
      Ports		      []
      Position		      [1324, 659, 1445, 772]
      ForegroundColor	      "darkGreen"
      DropShadow	      on
      ShowName		      off
      FontName		      "Arial"
      FontSize		      12
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off
      MaskDisplay	      "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Info')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"info"
	Location		[29, 535, 659, 662]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"103"
	Annotation {
	  Name			  "Direct torque control of an induction motor"
"drive"
	  Position		  [288, 17]
	  ForegroundColor	  "blue"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Annotation {
	  Name			  "The induction motor operates initially at n"
"o load at a speed and a stator flux level specified in a callback of the \nmo"
"del properties. The mechanical load torque is initially set at Tl = 0 and the"
" electromagnetic torque \nTe is set to zero by having stator and rotor space "
"vectors colinear (check the IC's of the flux integrators).\nBefore running, d"
"ouble click the Switching Table block."
	  Position		  [10, 40]
	  HorizontalAlignment	  "left"
	  VerticalAlignment	  "top"
	  FontSize		  12
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "one1"
      Position		      [845, 225, 875, 255]
      ShowName		      off
      Value		      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "plots2"
      Ports		      []
      Position		      [678, 619, 949, 665]
      ForegroundColor	      "red"
      DropShadow	      on
      ShowName		      off
      OpenFcn		      "dtc3p\n     \n     \n     "
      FontName		      "Arial"
      FontSize		      22
      FontWeight	      "bold"
      TreatAsAtomicUnit	      off

⌨️ 快捷键说明

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