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

📄 foc_pmsm_02.mdl

📁 PMSM的FOC控制模块仿真 希望对大家有所帮助
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      Position		      [730, 173, 760, 187]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tm"
	      Position		      [730, 338, 760, 352]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "X"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		Points			[0, 55]
		DstBlock		"Gain"
		DstPort			1
	      }
	      Branch {
		Points			[100, 0; 0, 75]
		Branch {
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  6
		}
		Branch {
		  Points		  [0, 200]
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  4
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Y"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		Points			[0, 45]
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		Points			[105, 0]
		Branch {
		  Points		  [0, -110]
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, 115]
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  2
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Z"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[0, 55]
		DstBlock		"Gain2"
		DstPort			1
	      }
	      Branch {
		Points			[115, 0]
		Branch {
		  Points		  [0, -190]
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  4
		}
		Branch {
		  Points		  [0, 85]
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  5
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [90, 0]
	      Branch {
		Points			[25, 0]
		DstBlock		"Multiport\nSwitch"
		DstPort			5
	      }
	      Branch {
		Points			[0, 195]
		DstBlock		"Multiport\nSwitch1"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "N"
	      SrcPort		      1
	      Points		      [100, 0; 0, 15; 95, 0]
	      Branch {
		DstBlock		"Multiport\nSwitch"
		DstPort			1
	      }
	      Branch {
		Points			[0, 250]
		DstBlock		"Multiport\nSwitch1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [65, 0]
	      Branch {
		Points			[0, -55]
		DstBlock		"Multiport\nSwitch"
		DstPort			7
	      }
	      Branch {
		Points			[0, 170]
		DstBlock		"Multiport\nSwitch1"
		DstPort			6
	      }
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [75, 0]
	      Branch {
		Points			[0, -295]
		DstBlock		"Multiport\nSwitch"
		DstPort			2
	      }
	      Branch {
		Points			[0, 80]
		DstBlock		"Multiport\nSwitch1"
		DstPort			7
	      }
	    }
	    Line {
	      SrcBlock		      "Ts"
	      SrcPort		      1
	      Points		      [40, 0]
	      Branch {
		Points			[0, -170]
		DstBlock		"Mux"
		DstPort			3
	      }
	      Branch {
		Points			[0, 140]
		DstBlock		"Mux2"
		DstPort			1
	      }
	      Branch {
		Points			[35, 0; 0, 50]
		DstBlock		"Sum"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "Multiport\nSwitch"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[40, 0; 0, -80]
		DstBlock		"Mux"
		DstPort			1
	      }
	      Branch {
		Points			[0, 85]
		Branch {
		  Points		  [0, 0]
		  DstBlock		  "Switch"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, 65]
		  Branch {
		    Points		    [0, 200]
		    DstBlock		    "Mux2"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "Sum"
		    DstPort		    1
		  }
		}
	      }
	    }
	    Line {
	      Labels		      [0, 0]
	      SrcBlock		      "Multiport\nSwitch1"
	      SrcPort		      1
	      Points		      [125, 0]
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "Mux2"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, -65]
		  Branch {
		    DstBlock		    "Mux"
		    DstPort		    2
		  }
		  Branch {
		    DstBlock		    "Sum"
		    DstPort		    2
		  }
		}
	      }
	      Branch {
		DstBlock		"Switch1"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "Mux2"
	      SrcPort		      1
	      Points		      [0, -30]
	      DstBlock		      "Fcn1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, 75]
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [0, -5; 45, 0]
	      Branch {
		Points			[0, -95]
		DstBlock		"Switch"
		DstPort			2
	      }
	      Branch {
		Points			[0, 70]
		DstBlock		"Switch1"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Fcn1"
	      SrcPort		      1
	      Points		      [15, 0; 0, -100]
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch"
	      SrcPort		      1
	      DstBlock		      "T1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      DstBlock		      "Tm"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [10, 0; 0, 20]
	      DstBlock		      "Switch"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem5"
	  Ports			  [3, 3]
	  Position		  [665, 50, 765, 320]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem5"
	    Location		    [404, 182, 902, 823]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Tcm1"
	      Position		      [40, 98, 70, 112]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tcm2"
	      Position		      [40, 158, 70, 172]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tcm3"
	      Position		      [45, 213, 75, 227]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay"
	      Position		      [255, 90, 285, 120]
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay1"
	      Position		      [255, 175, 285, 205]
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay2"
	      Position		      [255, 265, 285, 295]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Repeating\nSequence"
	      Ports		      [0, 1]
	      Position		      [45, 30, 75, 60]
	      SourceBlock	      "simulink/Sources/Repeating\nSequence"
	      SourceType	      "Repeating table"
	      ShowPortLabels	      on
	      rep_seq_t		      "[0 2]"
	      rep_seq_y		      "[0 2]"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [170, 72, 200, 128]
	      ShowName		      off
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [175, 162, 205, 218]
	      ShowName		      off
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [180, 252, 210, 308]
	      ShowName		      off
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm1"
	      Position		      [360, 103, 390, 117]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm3"
	      Position		      [360, 183, 390, 197]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm5"
	      Position		      [365, 273, 395, 287]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Repeating\nSequence"
	      SrcPort		      1
	      Points		      [40, 0; 0, 55]
	      Branch {
		Points			[0, 90]
		Branch {
		  Points		  [0, 90]
		  DstBlock		  "Sum2"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 0]
		  DstBlock		  "Sum1"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Sum"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Tcm1"
	      SrcPort		      1
	      Points		      [75, 0; 0, 15]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Tcm2"
	      SrcPort		      1
	      Points		      [80, 0; 0, 45]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Tcm3"
	      SrcPort		      1
	      Points		      [30, 0; 0, 80]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "Relay2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Relay1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [15, 0; 0, 5]
	      DstBlock		      "Relay"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay"
	      SrcPort		      1
	      Points		      [25, 0; 0, 5]
	      DstBlock		      "pwm1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay1"
	      SrcPort		      1
	      DstBlock		      "pwm3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay2"
	      SrcPort		      1
	      DstBlock		      "pwm5"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem_1"
	  Ports			  [4, 3]
	  Position		  [95, 38, 200, 177]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem_1"
	    Location		    [430, 399, 928, 1043]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "belt"
	      Position		      [35, 38, 65, 52]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "alf"
	      Position		      [35, 83, 65, 97]
	      Port		      "2"
	      IconDispla

⌨️ 快捷键说明

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