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

📄 wwwwww.mdl

📁 直接转矩控制系统完美封装
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      Voltage		      "460"
      PhaseAngle	      "0"
      Frequency		      "60"
      InternalConnection      "Yg"
      SpecifyImpedance	      off
      Resistance	      "0.02"
      Inductance	      "0.05e-3"
      ShortCircuitLevel	      "100e6"
      BaseVoltage	      "25e3"
      XRratio		      "7"
    }
    Block {
      BlockType		      SubSystem
      Name		      "DTC Induction Motor Drive"
      Ports		      [2, 4, 0, 0, 0, 3]
      Position		      [245, 40, 365, 160]
      AncestorBlock	      "electricdrivelib/AC drives/DTC Induction Motor "
"Drive"
      UserDataPersistent      on
      DeleteFcn		      "driveGuiManager('Delete','AC4',gcbh)"
      OpenFcn		      "if (power_openblockproxy ('secondary'))\ndriveG"
"uiManager('Create','AC4',gcbh)\nend;"
      CloseFcn		      "driveGuiManager('Delete','AC4',gcbh)"
      ParentCloseFcn	      "driveGuiManager('Hide','AC4',gcbh)"
      FontName		      "Arial"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskType		      "DTC Induction Motor Drive"
      MaskHelp		      "web(psbhelp)"
      MaskPromptString	      "Average value model|Mechanical input:"
      MaskStyleString	      "checkbox,popup(Torque Tm|Speed w)"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskToolTipString	      "on,on"
      MaskVarAliasString      ","
      MaskVariables	      "AverageValue=@1;MechanicalLoad=@2;"
      MaskInitialization      "block = gcbh;\n[X1,X1m,X2,X2m,X3,X4,Y1,Y1m,Y2,Y"
"2m,Y3,Y4,color1,color2]=spsdrivelogo;\nTs = drivelibInitSampleTime(block);   "
" \ndriveGuiManager('Siminit','AC4',block);\nSetInternalDriveModel('AC4',Avera"
"geValue,block);\nsetInternalDriveMechInput('AC4',getfullname(block));\npower_"
"initmask();\n\n"
      MaskDisplay	      "patch([X1 X1m],[Y1 Y1m],color1);\npatch(X3,Y3,c"
"olor2);\nplot([X1 X1m X2 X2m X3 X4],[Y1 Y1m Y2 Y2m Y3 Y4]);\ntext(0.5,0.3,'AC"
"4','HorizontalAlignment','center')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "normalized"
      MaskValueString	      "off|Torque Tm"
      MaskTabNameString	      ","
      System {
	Name			"DTC Induction Motor Drive"
	Location		[53, 179, 1116, 731]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "SP"
	  Position		  [40, 94, 70, 106]
	  FontSize		  12
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tm"
	  Position		  [595, 344, 625, 356]
	  NamePlacement		  "alternate"
	  FontSize		  12
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Braking chopper"
	  Ports			  [0, 1, 0, 0, 0, 2, 2]
	  Position		  [170, 299, 260, 381]
	  NamePlacement		  "alternate"
	  FontName		  "Arial"
	  FontSize		  12
	  SourceBlock		  "DriveInternalModels/AC drives/Braking chopp"
"er"
	  SourceType		  "Braking chopper"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  chopa			  "700"
	  chopd			  "660"
	  freq_chop		  "4000"
	  cap_bus		  "7500e-6"
	  br			  "8"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "DTC"
	  Ports			  [4, 2]
	  Position		  [425, 167, 525, 268]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  FontName		  "Arial"
	  FontSize		  12
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  MaskType		  "DTFC"
	  MaskDescription	  "This block implements a direct torque and f"
"lux control (DTC) unit."
	  MaskPromptString	  "Stator phase resistance (ohms)|Torque hyste"
"resis bandwidth (N.m)|Flux hysteresis bandwidth (Wb)|Initial machine flux (Wb"
")|Motor pairs of poles|Maximum switching frequency (Hz)|DTFC sampling time (s"
")"
	  MaskStyleString	  "edit,edit,edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on"
	  MaskCallbackString	  "||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,"
	  MaskVariables		  "Rss=@1;T_bw=@2;F_bw=@3;in_flux=@4;p=@5;freq"
"_max=@6;Ts_DTFC=@7;"
	  MaskInitialization	  "[X1,X1m,X2,X2m,X3,X4,Y1,Y1m,Y2,Y2m,Y3,Y4,co"
"lor1,color2]=spsdrivelogo;"
	  MaskDisplay		  "patch([X1 X1m],[Y1 Y1m],color1);\npatch(X3,"
"Y3,color2);\nplot([X1 X1m X2 X2m X3 X4],[Y1 Y1m Y2 Y2m Y3 Y4]);"
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "normalized"
	  MaskValueString	  "14.85e-3|2|0.02|0.8|2|20000|20e-6"
	  MaskTabNameString	  ",,,,,,"
	  System {
	    Name		    "DTC"
	    Location		    [228, 252, 1043, 541]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Torque*"
	      Position		      [15, 38, 45, 52]
	      FontName		      "Arial"
	      FontSize		      12
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Flux*"
	      Position		      [15, 83, 45, 97]
	      FontName		      "Arial"
	      FontSize		      12
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "V_abc"
	      Position		      [15, 208, 45, 222]
	      FontName		      "Arial"
	      FontSize		      12
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "I_ab"
	      Position		      [15, 138, 45, 152]
	      FontName		      "Arial"
	      FontSize		      12
	      Port		      "4"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Display
	      Name		      "Display"
	      Ports		      [1]
	      Position		      [215, 150, 305, 180]
	      Decimation	      "1"
	      Lockdown		      off
	    }
	    Block {
	      BlockType		      Display
	      Name		      "Display1"
	      Ports		      [1]
	      Position		      [210, 205, 300, 235]
	      Decimation	      "1"
	      Lockdown		      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Flux & Torque hysteresis"
	      Ports		      [4, 3]
	      Position		      [270, 26, 370, 199]
	      NamePlacement	      "alternate"
	      FontName		      "Arial"
	      FontSize		      12
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      MaskHideContents	      off
	      System {
		Name			"Flux & Torque hysteresis"
		Location		[245, 205, 876, 477]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	"[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "Torque*"
		  Position		  [30, 43, 60, 57]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "Flux*"
		  Position		  [30, 198, 60, 212]
		  Port			  "2"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "Torque"
		  Position		  [30, 78, 60, 92]
		  Port			  "3"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Inport
		  Name			  "Flux"
		  Position		  [30, 228, 60, 242]
		  Port			  "4"
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Relay
		  Name			  "-dTe/2"
		  Position		  [190, 85, 220, 115]
		  OnSwitchValue		  "0"
		  OffSwitchValue	  "(-T_bw)/2"
		  OnOutputValue		  "0"
		  OffOutputValue	  "3"
		}
		Block {
		  BlockType		  DataTypeConversion
		  Name			  "Data Type Conversion5"
		  Position		  [350, 136, 385, 164]
		  NamePlacement		  "alternate"
		  ShowName		  off
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [405, 135, 425, 165]
		  ShowName		  off
		  Gain			  "2"
		}
		Block {
		  BlockType		  Logic
		  Name			  "Logical\nOperator"
		  Ports			  [2, 1]
		  Position		  [300, 132, 330, 163]
		  ShowName		  off
		  Operator		  "NOR"
		  AllPortsSameDT	  off
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum"
		  Ports			  [2, 1]
		  Position		  [130, 40, 150, 60]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "|+-"
		  CollapseMode		  "All dimensions"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum1"
		  Ports			  [2, 1]
		  Position		  [125, 195, 145, 215]
		  ShowName		  off
		  IconShape		  "round"
		  Inputs		  "|+-"
		  CollapseMode		  "All dimensions"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Sum2"
		  Ports			  [3, 1]
		  Position		  [455, 22, 470, 178]
		  ShowName		  off
		  Inputs		  "+++"
		  CollapseMode		  "All dimensions"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		}
		Block {
		  BlockType		  Relay
		  Name			  "dPhi"
		  Position		  [245, 190, 275, 220]
		  OnSwitchValue		  "F_bw/2"
		  OffSwitchValue	  "-F_bw/2"
		  OffOutputValue	  "2"
		}
		Block {
		  BlockType		  Relay
		  Name			  "dTe/2"
		  Position		  [190, 35, 220, 65]
		  OnSwitchValue		  "T_bw/2"
		  OffSwitchValue	  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "H_phi"
		  Position		  [510, 198, 540, 212]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Block {
		  BlockType		  Outport
		  Name			  "H_Te"
		  Position		  [505, 93, 535, 107]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Block {
		  BlockType		  Outport
		  Name			  "Flux_est "
		  Position		  [510, 228, 540, 242]
		  Port			  "3"
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "Data Type Conversion5"
		  SrcPort		  1
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum2"
		  SrcPort		  1
		  DstBlock		  "H_Te"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Gain"
		  SrcPort		  1
		  DstBlock		  "Sum2"
		  DstPort		  3
		}
		Line {
		  SrcBlock		  "Logical\nOperator"
		  SrcPort		  1
		  DstBlock		  "Data Type Conversion5"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum"
		  SrcPort		  1
		  Points		  [0, 0; 10, 0]
		  Branch {
		    Points		    [0, 50]
		    DstBlock		    "-dTe/2"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "dTe/2"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "dTe/2"
		  SrcPort		  1
		  Points		  [45, 0]
		  Branch {
		    DstBlock		    "Sum2"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 90]
		    DstBlock		    "Logical\nOperator"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "-dTe/2"
		  SrcPort		  1
		  Points		  [35, 0]
		  Branch {
		    DstBlock		    "Sum2"
		    DstPort		    2
		  }
		  Branch {
		    Points		    [0, 0; 0, 55]
		    DstBlock		    "Logical\nOperator"
		    DstPort		    2
		  }
		}
		Line {
		  SrcBlock		  "dPhi"
		  SrcPort		  1
		  DstBlock		  "H_phi"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sum1"
		  SrcPort		  1
		  DstBlock		  "dPhi"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Flux"
		  SrcPort		  1
		  Points		  [70, 0]
		  Branch {
		    DstBlock		    "Flux_est "
		    DstPort		    1
		  }
		  Branch {

⌨️ 快捷键说明

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