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

📄 ac4_svm_dtc.mdl

📁 异步电机的仿真模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
    FontAngle		    "normal"
  }
  System {
    Name		    "ac4_svm_dtc"
    Location		    [2, 83, 1014, 722]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    212
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
    TiledPageScale	    1
    ShowPageBoundaries	    off
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "*DTC Induction Motor Drive"
      Ports		      [2, 3, 0, 0, 0, 3]
      Position		      [225, 30, 345, 150]
      BackgroundColor	      "[0.878431, 0.878431, 0.878431]"
      UserDataPersistent      on
      FontName		      "Arial"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskType		      "AC4"
      MaskInitialization      "[X1,X1m,X2,X2m,X3,X4,Y1,Y1m,Y2,Y2m,Y3,Y4,color1,color2]=spsdrivelogo;\nTs = drivelibInitSampleTime(gcbh);    \n"
      MaskDisplay	      "patch([X1 X1m],[Y1 Y1m],color1);\npatch(X3,Y3,color2);\nplot([X1 X1m X2 X2m X3 X4],[Y1 Y1m Y2 Y2m Y3 Y4]);\ntext(0.5,0.3,'AC4','HorizontalAlignment','center')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "normalized"
      System {
	Name			"*DTC Induction Motor Drive"
	Location		[2, 83, 1014, 722]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	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"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Mec_T"
	  Position		  [595, 344, 625, 356]
	  NamePlacement		  "alternate"
	  FontSize		  12
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Braking chopper"
	  Ports			  [0, 1, 0, 0, 0, 2, 2]
	  Position		  [170, 299, 260, 381]
	  NamePlacement		  "alternate"
	  FontName		  "Arial"
	  FontSize		  12
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskType		  "Braking chopper"
	  MaskDescription	  "This block implement a DC link between the rectifier and the inverter. It also contains a DC bus integrated braking chopper. The braking resistor must be set properly to avoid oscillation."
	  MaskPromptString	  "Chopper activation voltage (V)|Chopper shutdown voltage (V)|Braking chopper frequency (Hz)|DC bus capacitance (F)|Braking resistance (ohms)"
	  MaskStyleString	  "edit,edit,edit,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on"
	  MaskCallbackString	  "||||"
	  MaskEnableString	  "on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on"
	  MaskVarAliasString	  ",,,,"
	  MaskVariables		  "chopa=@1;chopd=@2;freq_chop=@3;cap_bus=@4;br=@5;"
	  MaskInitialization	  "[X1,X1m,X2,X2m,X3,X4,Y1,Y1m,Y2,Y2m,Y3,Y4,color1,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	  "700|660|4000|7500e-6|8"
	  MaskTabNameString	  ",,,,"
	  System {
	    Name		    "Braking chopper"
	    Location		    [124, 112, 720, 515]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      BusCreator
	      Name		      "Bus\nCreator3"
	      Ports		      [3, 1]
	      Position		      [505, 186, 510, 254]
	      ShowName		      off
	      Inputs		      "3"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Cbus"
	      Ports		      [0, 0, 0, 0, 0, 1, 1]
	      Position		      [268, 255, 312, 315]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	      DialogController	      "POWERSYS.PowerSysDialog"
	      FontName		      "Arial"
	      FontSize		      12
	      SourceBlock	      "powerlib/Elements/Series RLC Branch"
	      SourceType	      "Series RLC Branch"
	      PhysicalDomain	      "powersysdomain"
	      SubClassName	      "unknown"
	      LeftPortType	      "p1"
	      RightPortType	      "p1"
	      LConnTagsString	      "__new0"
	      RConnTagsString	      "__new0"
	      BranchType	      "C"
	      Resistance	      "[]"
	      Inductance	      "[]"
	      SetiL0		      off
	      InitialCurrent	      "0"
	      Capacitance	      "cap_bus"
	      Setx0		      off
	      InitialVoltage	      "0"
	      Measurements	      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "DC_link"
	      Ports		      [0, 0, 0, 0, 0, 1, 1]
	      Position		      [208, 270, 252, 330]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      DialogController	      "POWERSYS.PowerSysDialog"
	      FontName		      "Arial"
	      FontSize		      12
	      SourceBlock	      "powerlib/Elements/Series RLC Branch"
	      SourceType	      "Series RLC Branch"
	      PhysicalDomain	      "powersysdomain"
	      SubClassName	      "unknown"
	      LeftPortType	      "p1"
	      RightPortType	      "p1"
	      LConnTagsString	      "__new0"
	      RConnTagsString	      "__new0"
	      BranchType	      "R"
	      Resistance	      "br"
	      Inductance	      "[]"
	      SetiL0		      off
	      InitialCurrent	      "0"
	      Capacitance	      "[]"
	      Setx0		      off
	      InitialVoltage	      "0"
	      Measurements	      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Diode1"
	      Ports		      [0, 0, 0, 0, 0, 1, 1]
	      Position		      [199, 80, 241, 120]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      AttributesFormatString  "\\n"
	      DialogController	      "POWERSYS.PowerSysDialog"
	      FontName		      "Arial"
	      FontSize		      12
	      SourceBlock	      "powerlib/Power\nElectronics/Diode"
	      SourceType	      "Diode"
	      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"
	      Ron		      "0.01"
	      Lon		      "0"
	      Vf		      "0.8"
	      IC		      "0"
	      Rs		      "10"
	      Cs		      "10e-9"
	      Measurements	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "I bus"
	      Ports		      [0, 1, 0, 0, 0, 1, 1]
	      Position		      [385, 38, 410, 62]
	      DialogController	      "POWERSYS.PowerSysDialog"
	      SourceBlock	      "powerlib/Measurements/Current Measurement"
	      SourceType	      "Current Measurement"
	      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"
	      PhasorSimulation	      off
	      OutputType	      "Complex"
	      PSBequivalent	      "0"
	      Port {
		PortNumber		1
		Name			"I bus (A)"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "I rectifier"
	      Ports		      [0, 1, 0, 0, 0, 1, 1]
	      Position		      [115, 33, 140, 57]
	      DialogController	      "POWERSYS.PowerSysDialog"
	      SourceBlock	      "powerlib/Measurements/Current Measurement"
	      SourceType	      "Current Measurement"
	      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"
	      PhasorSimulation	      off
	      OutputType	      "Complex"
	      PSBequivalent	      "0"
	      Port {
		PortNumber		1
		Name			"I rectifier (A)"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Ideal Switch"
	      Ports		      [1, 0, 0, 0, 0, 1, 1]
	      Position		      [212, 180, 248, 225]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      AttributesFormatString  "\\n"
	      DialogController	      "POWERSYS.PowerSysDialog"
	      FontName		      "Arial"
	      FontSize		      12
	      SourceBlock	      "powerlib/Power\nElectronics/Ideal Switch"
	      SourceType	      "Ideal Switch"
	      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"
	      Ron		      "0.01"
	      Lon		      "0"
	      IC		      "0"
	      Rs		      "0.1"
	      Cs		      "0.01e-6"
	      Measurements	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Proportional controller"
	      Ports		      [1, 1]
	      Position		      [80, 140, 180, 190]
	      NamePlacement	      "alternate"
	      FontName		      "Arial"
	      FontSize		      12
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      System {
		Name			"Proportional controller"
		Location		[55, 303, 691, 494]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "V bus"
		  Position		  [25, 38, 55, 52]
		  IconDisplay		  "Port number"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant"
		  Position		  [115, 70, 145, 100]
		  ShowName		  off
		  Value			  "chopa"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  DataTypeConversion
		  Name			  "Data Type Conversion5"
		  Position		  [275, 110, 325, 130]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [190, 30, 220, 60]
		  ShowName		  off
		  Gain			  "1/100"
		  ParameterDataType	  "sfix(16)"
		  ParameterScaling	  "2^0"
		  OutDataType		  "sfix(16)"
		  OutScaling		  "2^0"
		}
		Block {
		  BlockType		  Logic
		  Name			  "Logical\nOperator"
		  Ports			  [2, 1]
		  Position		  [405, 39, 440, 146]
		  ShowName		  off
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Ramp_generator"
		  Ports			  [0, 1]
		  Position		  [230, 66, 280, 104]
		  NamePlacement		  "alternate"
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  FunctionWithSeparateData off
		  System {
		    Name		    "Ramp_generator"
		    Location		    [337, 474, 593, 586]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
		    TiledPageScale	    1
		    ShowPageBoundaries	    off
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Constant
		    Name		    "Constant3"
		    Position		    [160, 73, 185, 97]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    ShowName		    off
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    }
		    Block {
		    BlockType		    DiscreteIntegrator
		    Name		    "Discrete-Time\nIntegrator1"
		    Ports		    [2, 1]
		    Position		    [75, 20, 110, 60]
		    ShowName		    off
		    IntegratorMethod	    "Integration: Forward Euler"
		    ExternalReset	    "rising"
		    InitialConditionSource  "internal"
		    SampleTime		    "Ts"
		    OutDataType		    "sfix(16)"
		    OutScaling		    "2^0"
		    ICPrevOutput	    "DiscIntNeverNeededParam"
		    ICPrevScaledInput	    "DiscIntNeverNeededParam"
		    }
		    Block {
		    BlockType		    RelationalOperator
		    Name		    "Relational\nOperator1"
		    Position		    [115, 68, 135, 92]
		    Orientation		    "left"
		    NamePlacement	    "alternate"
		    ShowName		    off
		    }
		    Block {
		    BlockType		    UnitDelay

⌨️ 快捷键说明

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