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

📄 vectorcontrol.mdl

📁 基于matlab的异步电机仿真系统全面概括为大家提供方便
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Iabc"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, -35]
	    DstBlock		    "Fcn"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Fcn1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [10, 0; 0, 25]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [10, 0; 0, -25]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Iab"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "dq->ab"
      Ports		      [3, 1]
      Position		      [665, 213, 725, 307]
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "dq/ABC convert"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"dq->ab"
	Location		[2, 82, 1270, 977]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Isd*"
	  Position		  [25, 38, 55, 52]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Isq*"
	  Position		  [25, 73, 55, 87]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Teta"
	  Position		  [25, 108, 55, 122]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [130, 36, 300, 64]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Expr			  "u[1]*cos(u[3])-u[2]*sin(u[3])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [120, 86, 325, 114]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Expr			  "u[1]*sin(u[3])+u[2]*cos(u[3])"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1]
	  Position		  [90, 29, 95, 131]
	  ShowName		  off
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [390, 27, 395, 123]
	  ShowName		  off
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Iab*"
	  Position		  [420, 68, 450, 82]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Isd*"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Isq*"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Teta"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    Points		    [0, -30]
	    DstBlock		    "Fcn"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Fcn1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Iab*"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "flux regulator"
      Ports		      [2, 1]
      Position		      [320, 204, 385, 251]
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "PI controller"
      MaskDescription	      "Proportional-Integral Speed Controller"
      MaskPromptString	      "Proportional gain (Kp)|Integral gain (Ki)|Curre"
"nt Limit|Output initial isd*|Sampling time (s)"
      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	      "Kp=@1;Ki=@2;Tlim=@3;isd=@4;Ts=@5;"
      MaskDisplay	      "plot(0,0,100,100,[35,35,65],[70,30,30],[35,65],"
"[45,60])"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "2|1|200|10|1e-3"
      MaskTabNameString	      ",,,,"
      System {
	Name			"flux regulator"
	Location		[0, 82, 1016, 796]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"156"
	Block {
	  BlockType		  Inport
	  Name			  "f_rd*"
	  Position		  [165, 128, 195, 142]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "f_rd"
	  Position		  [165, 153, 195, 167]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Discrete\nPI Controller"
	  Ports			  [1, 1]
	  Position		  [335, 112, 380, 158]
	  ShowName		  off
	  SourceBlock		  "powerlib_extras/Discrete \nControl Blocks/D"
"iscrete\nPI Controller"
	  SourceType		  "Discrete PI Controller"
	  ShowPortLabels	  on
	  Kp			  "Kp"
	  Ki			  "Ki"
	  Par_Limits		  "[Tlim -Tlim]"
	  Init			  "isd"
	  Ts			  "Ts"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [235, 96, 260, 174]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "isd*"
	  Position		  [505, 128, 535, 142]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Discrete\nPI Controller"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "f_rd"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "f_rd*"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Discrete\nPI Controller"
	  SrcPort		  1
	  DstBlock		  "isd*"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "speed regulator"
      Ports		      [2, 1]
      Position		      [265, 380, 330, 420]
      FontSize		      12
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "PI controller"
      MaskDescription	      "Proportional-Integral Speed Controller"
      MaskPromptString	      "Proportional gain (Kp)|Integral gain (Ki)|Torqu"
"e limit (N.m)|Output initial Te*|Sampling time (s)"
      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	      "Kp=@1;Ki=@2;Tlim=@3;Te=@4;Ts=@5;"
      MaskDisplay	      "plot(0,0,100,100,[35,35,65],[70,30,30],[35,65],"
"[45,60])"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "3|2|200|5|1e-3"
      MaskTabNameString	      ",,,,"
      System {
	Name			"speed regulator"
	Location		[2, 83, 1014, 722]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "w*"
	  Position		  [35, 78, 65, 92]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "w"
	  Position		  [35, 138, 65, 152]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Discrete\nPI Controller"
	  Ports			  [1, 1]
	  Position		  [250, 92, 295, 138]
	  SourceBlock		  "powerlib_extras/Discrete \nControl Blocks/D"
"iscrete\nPI Controller"
	  SourceType		  "Discrete PI Controller"
	  ShowPortLabels	  on
	  Kp			  "Kp"
	  Ki			  "Ki"
	  Par_Limits		  "[Tlim -Tlim]"
	  Init			  "Te"
	  Ts			  "Ts"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [90, 96, 115, 134]
	  ShowName		  off
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te*"
	  Position		  [475, 108, 505, 122]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "w*"
	  SrcPort		  1
	  Points		  [0, 30]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "w"
	  SrcPort		  1
	  Points		  [0, -20]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Discrete\nPI Controller"
	  SrcPort		  1
	  DstBlock		  "Te*"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Discrete\nPI Controller"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Step
      Name		      "w*"
      Position		      [145, 375, 175, 405]
      FontSize		      12
      Time		      "0"
      After		      "100"
      SampleTime	      "0"
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "DC "
      SrcPort		      LConn1
      Points		      [0, 0]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"DC1"
	DstPort			RConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[-40, 0]
	DstBlock		"Ground"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [1000, 490; -70, 0; 0, 0]
      DstBlock		      "Universal Bridge"
      DstPort		      LConn1
      Branch {
	ConnectType		"SRC_SRC"
	Points			[0, -155]
	DstBlock		"Voltage Measurement"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"Asynchronous Machine\nSI Units"
	SrcPort			LConn1
	Points			[0, 0; -30, 0]
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Universal Bridge"
      SrcPort		      LConn2
      Points		      [0, 0; 80, 0]
      Branch {
	ConnectType		"DEST_SRC"
	Points			[20, 0]
	DstBlock		"Asynchronous Machine\nSI Units"
	DstPort			LConn2
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, -165]
	DstBlock		"Voltage Measurement"
	DstPort			LConn2
      }
    }
    Line {
      Name		      "wr"
      Labels		      [0, 0]
      SrcBlock		      "Machines\nMeasurement\nDemux"
      SrcPort		      3
      Points		      [0, -5; 55, 0]
      Branch {
	Points			[65, 0]
	DstBlock		"Scope"
	DstPort			3
      }
      Branch {
	Points			[0, 305]
	DstBlock		"Unit Delay"
	DstPort			1
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "DC "
      SrcPort		      RConn1
      Points		      [0, -5; 40, 0; 0, 55]
      DstBlock		      "Universal Bridge"
      DstPort		      RConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "DC1"
      SrcPort		      LConn1
      Points		      [0, 5; 55, 0]
      DstBlock		      "Universal Bridge"
      DstPort		      RConn2
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Univer

⌨️ 快捷键说明

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