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

📄 dtcverygood.mdl

📁 一个直接转矩控制的仿真程序。可以用来了解直接转矩控制。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      BlockType		      Demux
      Name		      "Demux1"
      Ports		      [1, 3]
      Position		      [410, 151, 415, 189]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux2"
      Ports		      [1, 3]
      Position		      [265, 346, 270, 384]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux3"
      Ports		      [1, 2]
      Position		      [380, 76, 385, 114]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [540, 216, 580, 254]
      Gain		      "30/pi"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [310, 341, 315, 379]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Reference
      Name		      "Neutral"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [35, 275, 55, 295]
      Orientation	      "down"
      ShowName		      off
      AttributesFormatString  "node %<NodeNumber>"
      SourceBlock	      "powerlib/Elements/Neutral"
      SourceType	      "Neutral"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      NodeNumber	      "10"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [515, 124, 545, 156]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "2               "
      YMin		      "-350"
      YMax		      "300"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [350, 434, 380, 466]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "2               "
      YMin		      "-1750"
      YMax		      "1750"
      SaveName		      "ScopeData15"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope10"
      Ports		      [6]
      Position		      [945, 257, 980, 338]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "6"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
	axes6			"%<SignalLabel>"
      }
      YMin		      "0~0~-1~0.95~0~0"
      YMax		      "1~1~1~1.05~1~1"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope14"
      Ports		      [1]
      Position		      [525, 29, 555, 61]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "3               "
      YMin		      "-400"
      YMax		      "400"
      SaveName		      "ScopeData7"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [475, 189, 505, 221]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-1.25"
      YMax		      "2.25"
      SaveName		      "ScopeData16"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [465, 74, 495, 106]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "2.5             "
      YMin		      "-2.4"
      YMax		      "-0.9"
      SaveToWorkspace	      on
      SaveName		      "a"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [460, 104, 490, 136]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "3"
      YMin		      "-400"
      YMax		      "400"
      SaveToWorkspace	      on
      SaveName		      "b"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [1]
      Position		      [150, 389, 180, 421]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "2               "
      YMin		      "-1750"
      YMax		      "1750"
      SaveName		      "ScopeData13"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope6"
      Ports		      [1]
      Position		      [575, 144, 605, 176]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData8"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope7"
      Ports		      [1]
      Position		      [585, 94, 615, 126]
      Location		      [5, 54, 1029, 743]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData9"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope8"
      Ports		      [1]
      Position		      [695, 124, 725, 156]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "1"
      YMin		      "1450.82"
      YMax		      "1450.85"
      SaveName		      "ScopeData10"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope9"
      Ports		      [1]
      Position		      [765, 189, 795, 221]
      Location		      [5, 54, 1029, 741]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "0.2"
      YMax		      "0.9"
      SaveName		      "ScopeData11"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave3"
      Ports		      [0, 1]
      Position		      [55, 345, 85, 375]
      SineType		      "Time based"
      Amplitude		      "[1 1 1]"
      Frequency		      "100*pi"
      Phase		      "[0 4*pi/3 2*pi/3]"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1"
      Ports		      [0, 6, 0, 0, 0, 3]
      Position		      [215, 120, 305, 275]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Subsystem1"
	Location		[2, 82, 1014, 721]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "Asynchronous Machine\nSI Units1"
	  Ports			  [1, 1, 0, 0, 0, 3]
	  Position		  [290, 121, 370, 209]
	  AncestorBlock		  "powerlib/Machines/Asynchronous Machine\nSI "
"Units"
	  CopyFcn		  "powericon('psbloadfunction',gcbh,'gotofrom'"
",'UpdateGotoTag');"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "Asynchronous Machine"
	  MaskDescription	  "Implements a three-phase asynchronous machi"
"ne (wound rotor or squirrel cage)\nmodeled in the dq rotor reference frame. S"
"tator and rotor windings are connected\nin wye to an internal neutral point. "
"You can specify initial values for stator and rotor\ncurrents or for  the sta"
"tor current only."
	  MaskHelp		  "web(psbhelp);"
	  MaskPromptString	  "Preset model:|-----------------  Show detai"
"led parameters ----------------- |Rotor type:|Reference frame:|Nominal power,"
" voltage (line-line), and frequency [ Pn(VA),Vn(Vrms),fn(Hz) ]:|Stator resist"
"ance and inductance[ Rs(ohm)  Lls(H) ]:|Rotor resistance and inductance [ Rr'"
"(ohm)  Llr'(H) ]:|Mutual inductance Lm (H):|Inertia, friction factor and pair"
"s of poles [ J(kg.m^2)  F(N.m.s)  p() ]:|Initial conditions|IOunits|Load flow"
" Parameters"
	  MaskStyleString	  "popup(No|01:  5 HP   460 V 60Hz 1750 RPM   "
"        |02:  10 HP  460 V 60Hz 1760 RPM          |03:  20 HP  460 V 60Hz 176"
"0 RPM          |04:  50 HP  460 V 60Hz 1780 RPM          |05:  100 HP 460 V 6"
"0Hz 1780 RPM         |06:  150 HP 460 V 60Hz 1785 RPM         |07:  200 HP 46"
"0 V 60Hz 1785 RPM         |08:  5 HP   575 V 60Hz 1750 RPM           |09:  10"
" HP  575 V 60Hz 1760 RPM          |10:  20 HP  575 V 60Hz 1765 RPM          |"
"11:  50 HP  575 V 60Hz 1775 RPM          |12:  100 HP 575 V 60Hz 1780 RPM    "
"     |13:  150 HP 575 V 60Hz 1785 RPM         |14:  200 HP 575 V 60Hz 1785 RP"
"M         |15:  5.4 HP (4KW)   400 V  50Hz 1430 RPM  |16:  10 HP (7.5KW)  400"
" V 50Hz 1440 RPM |17:  20 HP (15KW)   400 V 50Hz 1460 RPM  |18:  50 HP (37KW)"
"   400 V 50Hz 1480 RPM  |19:  100 HP (75KW)  400 V 50Hz 1484 RPM |20:  150 HP"
" (110KW) 400 V 50Hz 1487 RPM|21:  215 HP (160KW) 400 V 50Hz 1487 RPM),checkbo"
"x,popup(Wound|Squirrel-cage),popup(Rotor|Stationary|Synchronous),edit,edit,ed"
"it,edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,off,on,on,on,on,on,on,on,off,off"
	  MaskCallbackString	  "powericon('AsynchronousMachineCback',gcb,'S"
"I');|powericon('AsynchronousMachineCback',gcb);|powericon('AsynchronousMachin"
"eCback',gcb);|||||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on,on,on,on,on,off,off"
	  MaskToolTipString	  "on,on,on,on,on,on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,,,,,,"
	  MaskVariables		  "PresetModel=@1;ShowDetailedParameters=@2;Ro"
"torType=@3;ReferenceFrame=@4;NominalParameters=@5;Stator=@6;Rotor=@7;Lm=@8;Me"
"chanical=@9;InitialConditions=@10;Units=@11;LoadFlowParameters=@12;"
	  MaskInitialization	  "block = gcb;\nctrl = ReferenceFrame;\none_t"
"hird=1/3; \nsqrt3_3=sqrt(3)/3;\nsqrt3=sqrt(3);\nswitch RotorType\n    case 1,"
" selWidth=6; elements1=3:6; elements2=1:4;\n    case 2, selWidth=4; elements1"
"=1:4; elements2=3:4;\nend\npowericon('psbloadfunction',block,'gotofrom','Init"
"ialize');\n[NominalParameters,Stator,Rotor,Lm,Mechanical,InitialConditions] ="
" powericon('AsynchronousMachineConvert',NominalParameters,Stator,Rotor,Lm,Mec"
"hanical,InitialConditions);	\nTs = powericon('AsynchronousMachineInit'"
",block);\n[p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15,p16] = powerico"
"n('AsynchronousMachineIcon');\n[Rs,Lls,Rr,Llr,H,F,p,Laq,Lad,web_psb,Vb,Vb2,ib"
",ib2,phib2,Nb2,Tb2,phisqo,phisdo,phirqo,phirdo,wmo,tho] = powericon('Asynchro"
"nousMachineParam',NominalParameters,Stator,Rotor,Lm,Mechanical,InitialConditi"
"ons,Units);\npowericon('AsynchronousMachineCback',block);\n\n"
	  MaskDisplay		  "plot(-55,-30,55,90,p1,p2,p3,p4,p5,p6,p7,p8,"
"p15,p16);color('blue');plot([-30,-10,-10],[70,70,55]);"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  off
	  MaskIconOpaque	  off
	  MaskIconRotate	  "port"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "15:  5.4 HP (4KW)   400 V  50Hz 1430 RPM  |"
"on|Squirrel-cage|Stationary|[4000 400 50]|[1.405 0.005839]|[1.395 0.005839]|0"
".1722|[0.0131 0.002985 2]|[ 1,0   0,0,0   0,0,0 ]  |1|0"
	  MaskTabNameString	  ",,,,,,,,,,,"
	  System {
	    Name		    "Asynchronous Machine\nSI Units1"
	    Location		    [233, 124, 629, 583]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Tm"
	      Position		      [225, 325, 245, 345]
	      Orientation	      "left"
	      ForegroundColor	      "blue"
	      BackgroundColor	      "cyan"
	      NamePlacement	      "alternate"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      PMComponent
	      Name		      "ASM"
	      Ports		      [0, 0, 0, 0, 0, 3, 3]
	      Position		      [100, 15, 190, 125]
	      ForegroundColor	      "blue"
	      BackgroundColor	      "yellow"
	      NamePlacement	      "alternate"
	      PhysicalDomain	      "powersysdomain"
	      LeftPortType	      "p1"
	      RightPortType	      "p1"
	      LConnTagsString	      "A|B|C"
	      RConnTagsString	      "a|b|c"
	      MaskType		      "InnerPowersysBlock"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "ASM_mechanics"
	      Ports		      [2, 2]
	      Position		      [130, 329, 200, 436]
	      Orientation	      "left"
	      BackgroundColor	      "[1.000000, 0.501961, 0.501961]"
	      FontName		      "Arial"
	      SourceBlock	      "powerlib_models/Continuous/ASM_mechanic"
"s"
	      SourceType	      "SubSystem"
	      ShowPortLabels	      "on"
	    }
	    Block {
	      BlockType		      From
	      Name		      "From"
	      Position		      [15, 182, 85, 208]
	      BackgroundColor	      "cyan"
	      DialogController	      "Simulink.DDGSource"
	      CloseFcn		      "tagdialog Close"
	      GotoTag		      "tp222875"
	    }
	    Block {
	      BlockType		      Goto
	      Name		      "Goto"
	      Position		      [205, 168, 295, 192]
	      BackgroundColor	      "cyan"
	      DialogController	      "Simulink.DDGSource"

⌨️ 快捷键说明

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