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

📄 vc.mdl

📁 异步电机矢量控制控制的matlab实现
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      FunctionWithSeparateData off
      MaskHideContents	      off
      Port {
	PortNumber		1
	Name			"Stator current"
	PropagatedSignals	"Stator current is_a (A)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		2
	Name			"Rotor speed"
	PropagatedSignals	", Reference"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		3
	Name			"Electromagnetic Torque"
	PropagatedSignals	"Electromagnetic torque Te (N*m), Torque refer"
"ence (Nm)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		4
	Name			"DC bus voltage"
	PropagatedSignals	"V bus (V)"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      System {
	Name			"demux"
	Location		[2, 82, 1014, 721]
	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			  "motor"
	  Position		  [20, 78, 50, 92]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Conv."
	  Position		  [25, 163, 55, 177]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Ctrl"
	  Position		  [25, 218, 55, 232]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "Bus\nSelector"
	  Ports			  [1, 3]
	  Position		  [85, 27, 90, 143]
	  ShowName		  off
	  OutputSignals		  "Stator measurements.Stator current is_a (A)"
",Mechanical.Rotor speed (wm),Mechanical.Electromagnetic torque Te (N*m)"
	  Port {
	    PortNumber		    1
	    Name		    "<Stator current is_a (A)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "<Rotor speed (wm)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    3
	    Name		    "<Electromagnetic torque Te (N*m)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "Bus\nSelector1"
	  Ports			  [1, 2]
	  Position		  [85, 197, 90, 248]
	  ShowName		  off
	  OutputSignals		  "Torque reference (Nm),Reference"
	  Port {
	    PortNumber		    1
	    Name		    "<Torque reference (Nm)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    2
	    Name		    "<Reference>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  BusSelector
	  Name			  "Bus\nSelector2"
	  Ports			  [1, 1]
	  Position		  [85, 153, 90, 187]
	  ShowName		  off
	  OutputSignals		  "V bus (V)"
	  Port {
	    PortNumber		    1
	    Name		    "<V bus (V)>"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [215, 70, 245, 100]
	  ShowName		  off
	  Gain			  "30/pi"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [345, 76, 350, 114]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [265, 116, 270, 154]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Outport
	  Name			  "i_a"
	  Position		  [275, 38, 305, 52]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "speed"
	  Position		  [375, 88, 405, 102]
	  NamePlacement		  "alternate"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Tem"
	  Position		  [290, 128, 320, 142]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "v_dc"
	  Position		  [290, 163, 320, 177]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "motor"
	  SrcPort		  1
	  DstBlock		  "Bus\nSelector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "speed"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ctrl"
	  SrcPort		  1
	  DstBlock		  "Bus\nSelector1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Tem"
	  DstPort		  1
	}
	Line {
	  Name			  "<Electromagnetic torque Te (N*m)>"
	  Labels		  [0, 0]
	  SrcBlock		  "Bus\nSelector"
	  SrcPort		  3
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  Name			  "<Rotor speed (wm)>"
	  Labels		  [0, 0]
	  SrcBlock		  "Bus\nSelector"
	  SrcPort		  2
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  Name			  "<Stator current is_a (A)>"
	  Labels		  [0, 0]
	  SrcBlock		  "Bus\nSelector"
	  SrcPort		  1
	  DstBlock		  "i_a"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  Name			  "<Torque reference (Nm)>"
	  Labels		  [0, 0]
	  SrcBlock		  "Bus\nSelector1"
	  SrcPort		  1
	  Points		  [50, 0; 0, -65]
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Conv."
	  SrcPort		  1
	  DstBlock		  "Bus\nSelector2"
	  DstPort		  1
	}
	Line {
	  Name			  "<V bus (V)>"
	  Labels		  [0, 0]
	  SrcBlock		  "Bus\nSelector2"
	  SrcPort		  1
	  DstBlock		  "v_dc"
	  DstPort		  1
	}
	Line {
	  Name			  "<Reference>"
	  Labels		  [0, 0]
	  SrcBlock		  "Bus\nSelector1"
	  SrcPort		  2
	  Points		  [235, 0]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "powergui"
      Ports		      []
      Position		      [15, 15, 95, 60]
      ShowName		      off
      Priority		      "2"
      FontSize		      11
      SourceBlock	      "powerlib/powergui"
      SourceType	      "PSB option menu block"
      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"
      SimulationMode	      "Discrete"
      SampleTime	      "Ts"
      echomessages	      off
      RestoreLinks	      "warning"
      x0status		      "blocks"
      Frange		      "[0:2:500]"
      Ylog		      off
      Xlog		      on
      ShowGrid		      off
      save		      off
      variable		      "ZData"
      ZoomFFT		      on
      StartTime		      "0.0"
      cycles		      "1"
      DisplayStyle	      "1"
      fundamental	      "60"
      FreqAxis		      off
      MaxFrequency	      "1000"
      frequencyindice	      "60"
      frequencyindicesteady   "1"
      RmsSteady		      "1"
      display		      off
      Ts		      "0"
      frequency		      "60"
      methode		      off
      HookPort		      off
      Interpol		      off
    }
    Line {
      LineType		      "Connection"
      Points		      [380, 160; 0, 0]
      DstBlock		      "Field-Oriented Control\nInduction Motor Drive"
      DstPort		      LConn1
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"460V 60Hz"
	SrcPort			RConn1
	Points			[50, 0]
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[0, 95]
	DstBlock		"Voltage Measurement"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [370, 185; 10, 0]
      DstBlock		      "Field-Oriented Control\nInduction Motor Drive"
      DstPort		      LConn2
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"460V 60Hz"
	SrcPort			RConn2
	Points			[40, 0]
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[0, 80]
	DstBlock		"Voltage Measurement"
	DstPort			LConn2
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "460V 60Hz"
      SrcPort		      RConn3
      DstBlock		      "Field-Oriented Control\nInduction Motor Drive"
      DstPort		      LConn3
    }
    Line {
      SrcBlock		      "Load torque"
      SrcPort		      1
      Points		      [0, 5]
      DstBlock		      "Field-Oriented Control\nInduction Motor Drive"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Field-Oriented Control\nInduction Motor Drive"
      SrcPort		      1
      Points		      [0, 5]
      DstBlock		      "demux"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Field-Oriented Control\nInduction Motor Drive"
      SrcPort		      2
      Points		      [0, 15]
      DstBlock		      "demux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Voltage Measurement"
      SrcPort		      1
      DstBlock		      "Terminator_1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Speed reference"
      SrcPort		      1
      DstBlock		      "Field-Oriented Control\nInduction Motor Drive"
      DstPort		      1
    }
    Line {
      Name		      "Stator current"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [0, 0]
      SrcBlock		      "demux"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      Name		      "Rotor speed"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [0, 0]
      SrcBlock		      "demux"
      SrcPort		      2
      DstBlock		      "Scope"
      DstPort		      2
    }
    Line {
      Name		      "Electromagnetic Torque"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [0, 0]
      SrcBlock		      "demux"
      SrcPort		      3
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      Name		      "DC bus voltage"
      FontName		      "Arial"
      FontSize		      12
      Labels		      [0, 0]
      SrcBlock		      "demux"
      SrcPort		      4
      DstBlock		      "Scope"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Machine terminal\nvoltages"
      SrcPort		      1
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Field-Oriented Control\nInduction Motor Drive"
      SrcPort		      3
      Points		      [5, 0; 0, 25]
      DstBlock		      "demux"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Field-Oriented Control\nInduction Motor Drive"
      SrcPort		      4
      Points		      [0, 10; 25, 0]
      DstBlock		      "Scope2"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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