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

📄 svpwm.mdl

📁 matlab中矢量控制模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Add"
	      Ports		      [3, 1]
	      Position		      [460, 174, 490, 206]
	      BackgroundColor	      "yellow"
	      Inputs		      "--+"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      OutScaling	      "2^-10"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Add1"
	      Ports		      [2, 1]
	      Position		      [495, 338, 525, 382]
	      BackgroundColor	      "yellow"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      OutScaling	      "2^-10"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 2]
	      Position		      [680, 171, 685, 209]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Divide"
	      Ports		      [3, 1]
	      Position		      [560, 309, 590, 351]
	      BackgroundColor	      "yellow"
	      Inputs		      "**/"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      OutScaling	      "2^-10"
	      RndMeth		      "Floor"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [95, 160, 125, 190]
	      BackgroundColor	      "yellow"
	      Gain		      "-1"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [100, 225, 130, 255]
	      BackgroundColor	      "yellow"
	      Gain		      "-1"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [100, 295, 130, 325]
	      BackgroundColor	      "yellow"
	      Gain		      "-1"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      MultiPortSwitch
	      Name		      "Multiport\nSwitch"
	      Ports		      [7, 1]
	      Position		      [280, 25, 320, 165]
	      BackgroundColor	      "yellow"
	      Inputs		      "6"
	      InputSameDT	      off
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      MultiPortSwitch
	      Name		      "Multiport\nSwitch1"
	      Ports		      [7, 1]
	      Position		      [280, 245, 320, 385]
	      BackgroundColor	      "yellow"
	      Inputs		      "6"
	      InputSameDT	      off
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1]
	      Position		      [385, 106, 390, 144]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Signum
	      Name		      "Sign"
	      Position		      [535, 175, 565, 205]
	      BackgroundColor	      "yellow"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch"
	      Position		      [625, 175, 655, 205]
	      BackgroundColor	      "yellow"
	      InputSameDT	      off
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "T1"
	      Position		      [750, 143, 780, 157]
	      ForegroundColor	      "lightBlue"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "T2"
	      Position		      [750, 213, 780, 227]
	      ForegroundColor	      "lightBlue"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "N"
	      SrcPort		      1
	      Points		      [185, 0]
	      Branch {
		DstBlock		"Multiport\nSwitch"
		DstPort			1
	      }
	      Branch {
		Points			[0, 220]
		DstBlock		"Multiport\nSwitch1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "X"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		Points			[0, 40]
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		Points			[160, 0]
		Branch {
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  6
		}
		Branch {
		  Points		  [0, 180]
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  4
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Y"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		Points			[0, 30]
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		Points			[170, 0]
		Branch {
		  Points		  [0, -135]
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, 65]
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  2
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Z"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[0, 30]
		DstBlock		"Gain2"
		DstPort			1
	      }
	      Branch {
		Points			[175, 0]
		Branch {
		  Points		  [0, -225]
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  2
		}
		Branch {
		  Points		  [0, 55]
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  5
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Multiport\nSwitch"
	      SrcPort		      1
	      Points		      [20, 0; 0, 85; 5, 0]
	      Branch {
		DstBlock		"Add"
		DstPort			1
	      }
	      Branch {
		Points			[0, -65; 5, 0]
		Branch {
		  DstBlock		  "Mux"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 235]
		  DstBlock		  "Add1"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Multiport\nSwitch1"
	      SrcPort		      1
	      Points		      [20, 0; 0, -125; 15, 0]
	      Branch {
		DstBlock		"Add"
		DstPort			2
	      }
	      Branch {
		Points			[0, -55; 5, 0]
		Branch {
		  DstBlock		  "Mux"
		  DstPort		  2
		}
		Branch {
		  Points		  [0, 235]
		  DstBlock		  "Add1"
		  DstPort		  2
		}
	      }
	    }
	    Line {
	      SrcBlock		      "T"
	      SrcPort		      1
	      Points		      [20, 0; 0, -145; 25, 0]
	      Branch {
		Points			[0, 40]
		DstBlock		"Divide"
		DstPort			1
	      }
	      Branch {
		Points			[0, -75]
		DstBlock		"Add"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      Points		      [5, 0; 0, -30]
	      DstBlock		      "T1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      Points		      [5, 0; 0, 20]
	      DstBlock		      "T2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Add1"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Divide"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [90, 0]
	      Branch {
		Points			[0, -60]
		DstBlock		"Multiport\nSwitch"
		DstPort			5
	      }
	      Branch {
		Points			[0, 120]
		DstBlock		"Multiport\nSwitch1"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [75, 0]
	      Branch {
		Points			[0, 115]
		DstBlock		"Multiport\nSwitch1"
		DstPort			6
	      }
	      Branch {
		Points			[0, -85]
		DstBlock		"Multiport\nSwitch"
		DstPort			7
	      }
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [65, 0]
	      Branch {
		Points			[0, -215]
		DstBlock		"Multiport\nSwitch"
		DstPort			4
	      }
	      Branch {
		Points			[0, 65]
		DstBlock		"Multiport\nSwitch1"
		DstPort			7
	      }
	    }
	    Line {
	      SrcBlock		      "Add"
	      SrcPort		      1
	      DstBlock		      "Sign"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch"
	      SrcPort		      1
	      DstBlock		      "Demux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [-5, 0]
	      Branch {
		Points			[10, 0; 0, 205]
		DstBlock		"Divide"
		DstPort			2
	      }
	      Branch {
		Points			[220, 0]
		DstBlock		"Switch"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Divide"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Switch"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Sign"
	      SrcPort		      1
	      DstBlock		      "Switch"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "pwm_generator"
	  Ports			  [4, 3]
	  Position		  [645, 118, 700, 387]
	  BackgroundColor	  "yellow"
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "pwm_generator"
	    Location		    [2, 82, 1014, 717]
	    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		      "Tcom1"
	      Position		      [85, 78, 115, 92]
	      ForegroundColor	      "lightBlue"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tcom2"
	      Position		      [85, 163, 115, 177]
	      ForegroundColor	      "lightBlue"
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tcom3"
	      Position		      [85, 243, 115, 257]
	      ForegroundColor	      "lightBlue"
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "triangle"
	      Position		      [20, 63, 50, 77]
	      ForegroundColor	      "lightBlue"
	      Port		      "4"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Add"
	      Ports		      [2, 1]
	      Position		      [200, 62, 230, 93]
	      BackgroundColor	      "yellow"
	      Inputs		      "+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      OutScaling	      "2^-10"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Add1"
	      Ports		      [2, 1]
	      Position		      [200, 147, 230, 178]
	      BackgroundColor	      "yellow"
	      Inputs		      "+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      OutScaling	      "2^-10"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Add2"
	      Ports		      [2, 1]
	      Position		      [200, 227, 230, 258]
	      BackgroundColor	      "yellow"
	      Inputs		      "+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      OutScaling	      "2^-10"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Signum
	      Name		      "Sign"
	      Position		      [270, 65, 300, 95]
	      BackgroundColor	      "yellow"
	    }
	    Block {
	      BlockType		      Signum
	      Name		      "Sign1"
	      Position		      [270, 150, 300, 180]
	      BackgroundColor	      "yellow"
	    }
	    Block {
	      BlockType		      Signum
	      Name		      "Sign2"
	      Position		      [270, 230, 300, 260]
	      BackgroundColor	      "yellow"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm1"
	      Position		      [385, 73, 415, 87]
	      ForegroundColor	      "lightBlue"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {

⌨️ 快捷键说明

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