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

📄 vectorcontrolpmsm.mdl

📁 永磁同步电机的矢量控制方法仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  YMin			  "-400"
	  YMax			  "400"
	  SaveName		  "ScopeData3"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [940, 132, 970, 163]
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [610, 140, 630, 160]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [610, 285, 630, 305]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [615, 420, 635, 440]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [940, 237, 970, 268]
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum5"
	  Ports			  [2, 1]
	  Position		  [940, 287, 970, 318]
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch"
	  Position		  [1130, 115, 1160, 145]
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [1130, 165, 1160, 195]
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch2"
	  Position		  [1130, 215, 1160, 245]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Two-Sided Triangle Wave1"
	  Ports			  [0, 1]
	  Position		  [585, 55, 615, 85]
	  SourceBlock		  "simulink/Sources/Repeating\nSequence"
	  SourceType		  "Repeating table"
	  rep_seq_t		  "[ 0 Tpwm/2 Tpwm]"
	  rep_seq_y		  "[ 0 Tpwm 0]"
	}
	Block {
	  BlockType		  Constant
	  Name			  "constant1"
	  Position		  [1015, 55, 1060, 75]
	}
	Block {
	  BlockType		  Constant
	  Name			  "constant2"
	  Position		  [1020, 265, 1065, 285]
	  Value			  "0"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "sector"
	  Ports			  [2, 1]
	  Position		  [190, 263, 235, 332]
	  TreatAsAtomicUnit	  off
	  MaskType		  "sector"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "sector"
	    Location		    [195, 183, 880, 500]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Varef"
	      Position		      [25, 130, 45, 150]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Vbref"
	      Position		      [25, 50, 45, 70]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [215, 25, 235, 45]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [205, 270, 225, 290]
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [90, 122, 140, 158]
	      Gain		      "1.732"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [90, 186, 140, 224]
	      Gain		      "-1.732"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [345, 117, 395, 153]
	      Gain		      "2"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain3"
	      Position		      [345, 182, 395, 218]
	      Gain		      "4"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [190, 117, 220, 148]
	      Inputs		      "-+"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [190, 182, 220, 213]
	      Inputs		      "-+"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [3, 1]
	      Position		      [450, 119, 480, 151]
	      Inputs		      "+++"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch"
	      Position		      [275, 45, 305, 75]
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [275, 120, 305, 150]
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch2"
	      Position		      [275, 185, 305, 215]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "N"
	      Position		      [530, 125, 550, 145]
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "N"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch"
	      SrcPort		      1
	      Points		      [125, 0]
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch2"
	      SrcPort		      1
	      DstBlock		      "Gain3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [10, 0; 0, -70]
	      Branch {
		DstBlock		"Switch2"
		DstPort			3
	      }
	      Branch {
		Points			[0, -65]
		Branch {
		  DstBlock		  "Switch1"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, -75]
		  DstBlock		  "Switch"
		  DstPort		  3
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [15, 0; 0, 15]
	      Branch {
		DstBlock		"Switch"
		DstPort			1
	      }
	      Branch {
		Points			[0, 75]
		Branch {
		  DstBlock		  "Switch1"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 65]
		  DstBlock		  "Switch2"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      Labels		      [0, 0]
	      SrcBlock		      "Vbref"
	      SrcPort		      1
	      Points		      [105, 0]
	      Branch {
		Points			[0, 65]
		Branch {
		  Points		  [0, 65]
		  DstBlock		  "Sum1"
		  DstPort		  1
		}
		Branch {
		  DstBlock		  "Sum"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Switch"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Varef"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		Points			[0, 65]
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gain"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Switch2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain3"
	      SrcPort		      1
	      Points		      [35, 0]
	      DstBlock		      "Sum2"
	      DstPort		      3
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "tabcon"
	  Ports			  [5, 3]
	  Position		  [275, 91, 340, 329]
	  TreatAsAtomicUnit	  off
	  MaskType		  "tabc"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "tabcon"
	    Location		    [12, 84, 800, 586]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Varef"
	      Position		      [30, 35, 50, 55]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Vbref"
	      Position		      [30, 80, 50, 100]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "T"
	      Position		      [25, 125, 45, 145]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Vdc"
	      Position		      [25, 170, 45, 190]
	      Port		      "4"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "N"
	      Position		      [25, 215, 45, 235]
	      Port		      "5"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [440, 290, 485, 320]
	      Gain		      "0.25"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [295, 355, 340, 385]
	      Gain		      "0.5"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [295, 410, 340, 440]
	      Gain		      "0.5"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [345, 177, 375, 208]
	      Inputs		      "/*"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [400, 127, 430, 158]
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [400, 212, 430, 243]
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [3, 1]
	      Position		      [290, 74, 320, 106]
	      Inputs		      "++-"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [290, 141, 320, 174]
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [3, 1]
	      Position		      [360, 289, 390, 321]
	      Inputs		      "+--"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum3"
	      Ports		      [2, 1]
	      Position		      [400, 346, 430, 379]
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum4"
	      Ports		      [2, 1]
	      Position		      [405, 401, 435, 434]
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch"
	      Position		      [470, 90, 500, 120]
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [475, 215, 505, 245]
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "T12"
	      Ports		      [5, 2]
	      Position		      [130, 23, 190, 247]
	      TreatAsAtomicUnit	      off
	      MaskType		      "T12"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"T12"
		Location		[14, 84, 802, 586]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "Varef"
		  Position		  [25, 35, 45, 55]
		}
		Block {
		  BlockType		  Inport
		  Name			  "Vbref"
		  Position		  [25, 70, 45, 90]
		  Port			  "2"
		}
		Block {
		  BlockType		  Inport
		  Name			  "T"
		  Position		  [25, 105, 45, 125]
		  Port			  "3"
		}
		Block {
		  BlockType		  Inport
		  Name			  "Vdc"
		  Position		  [25, 140, 45, 160]
		  Port			  "4"
		}
		Block {
		  BlockType		  Inport
		  Name			  "N"
		  Position		  [25, 180, 45, 200]
		  Port			  "5"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [290, 25, 320, 55]
		  Gain			  "-1"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain1"
		  Position		  [290, 65, 320, 95]
		  Gain			  "-1"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain2"
		  Position		  [290, 110, 320, 140]
		  Gain			  "-1"
		}
		Block {
		  BlockType		  MultiPortSwitch
		  Name			  "Multiport\nSwitch"
		  Ports			  [7, 1]
		  Position		  [395, 152, 425, 228]
		  Inputs		  "6"
		}
		Block {
		  BlockType		  MultiPortSwitch
		  Name			  "Multiport\nSwitch1"
		  Ports			  [7, 1]
		  Position		  [395, 257, 425, 333]
		  Inputs		  "6"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "XYZ"
		  Ports			  [4, 3]

⌨️ 快捷键说明

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