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

📄 pmsm_spwm.mdl

📁 永磁同步电机直接转矩控制
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		DstBlock		"Sum1"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "n"
	      SrcPort		      1
	      Points		      [465, 0; 0, 90; 20, 0]
	      Branch {
		Points			[0, 130]
		Branch {
		  Points		  [0, 165]
		  DstBlock		  "Multiport\nSwitch2"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 5]
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  1
		}
	      }
	      Branch {
		DstBlock		"Multiport\nSwitch"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Multiport\nSwitch"
	      SrcPort		      1
	      DstBlock		      "tcm1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Multiport\nSwitch1"
	      SrcPort		      1
	      DstBlock		      "tcm2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Multiport\nSwitch2"
	      SrcPort		      1
	      DstBlock		      "tcm3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "TCM1"
	      SrcPort		      1
	      Points		      [235, 0; 0, 35; 145, 0]
	      Branch {
		DstBlock		"Multiport\nSwitch"
		DstPort			3
	      }
	      Branch {
		Points			[0, 15]
		Branch {
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  4
		}
		Branch {
		  Points		  [0, 105]
		  Branch {
		    DstBlock		    "Multiport\nSwitch1"
		    DstPort		    2
		  }
		  Branch {
		    Points		    [0, 60]
		    Branch {
		    DstBlock		    "Multiport\nSwitch1"
		    DstPort		    6
		    }
		    Branch {
		    Points		    [0, 145]
		    Branch {
		    DstBlock		    "Multiport\nSwitch2"
		    DstPort		    5
		    }
		    Branch {
		    Points		    [0, 30]
		    DstBlock		    "Multiport\nSwitch2"
		    DstPort		    7
		    }
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "TCM3"
	      SrcPort		      1
	      Points		      [340, 0; 0, 20; 105, 0]
	      Branch {
		Points			[0, -90]
		Branch {
		  Points		  [0, -15]
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  5
		}
		Branch {
		  DstBlock		  "Multiport\nSwitch"
		  DstPort		  6
		}
	      }
	      Branch {
		Points			[0, 0]
		Branch {
		  DstBlock		  "Multiport\nSwitch1"
		  DstPort		  3
		}
		Branch {
		  Points		  [0, 60]
		  Branch {
		    DstBlock		    "Multiport\nSwitch1"
		    DstPort		    7
		  }
		  Branch {
		    Points		    [0, 85]
		    Branch {
		    DstBlock		    "Multiport\nSwitch2"
		    DstPort		    2
		    }
		    Branch {
		    Points		    [0, 30]
		    DstBlock		    "Multiport\nSwitch2"
		    DstPort		    4
		    }
		  }
		}
	      }
	    }
	    Annotation {
	      Position		      [871, 307]
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem2"
	  Ports			  [3, 6]
	  Position		  [535, 44, 595, 156]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "Subsystem2"
	    Location		    [192, 396, 752, 862]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "tcm1"
	      Position		      [35, 93, 65, 107]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "tcm2"
	      Position		      [30, 133, 60, 147]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "tcm3"
	      Position		      [35, 183, 65, 197]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion1"
	      Position		      [370, 79, 390, 101]
	      ShowName		      off
	      DataType		      "double"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion2"
	      Position		      [275, 79, 295, 101]
	      ShowName		      off
	      DataType		      "boolean"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion3"
	      Position		      [370, 144, 390, 166]
	      ShowName		      off
	      DataType		      "double"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion4"
	      Position		      [380, 244, 400, 266]
	      ShowName		      off
	      DataType		      "double"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion5"
	      Position		      [275, 144, 295, 166]
	      ShowName		      off
	      DataType		      "boolean"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type \nConversion6"
	      Position		      [285, 244, 305, 266]
	      ShowName		      off
	      DataType		      "boolean"
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "Logical\nOperator1"
	      Ports		      [1, 1]
	      Position		      [315, 80, 345, 100]
	      ShowName		      off
	      Operator		      "NOT"
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "Logical\nOperator2"
	      Ports		      [1, 1]
	      Position		      [315, 145, 345, 165]
	      ShowName		      off
	      Operator		      "NOT"
	    }
	    Block {
	      BlockType		      Logic
	      Name		      "Logical\nOperator3"
	      Ports		      [1, 1]
	      Position		      [325, 245, 355, 265]
	      ShowName		      off
	      Operator		      "NOT"
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay"
	      Position		      [210, 30, 240, 60]
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay1"
	      Position		      [200, 95, 230, 125]
	    }
	    Block {
	      BlockType		      Relay
	      Name		      "Relay2"
	      Position		      [200, 160, 230, 190]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Repeating\nSequence1"
	      Ports		      [0, 1]
	      Position		      [45, 25, 75, 55]
	      SourceBlock	      "simulink/Sources/Repeating\nSequence"
	      SourceType	      "Repeating table"
	      rep_seq_t		      "[0 0.5*t  0.5*t t]"
	      rep_seq_y		      "[0  0.5*t  0.5*t  0]"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [135, 45, 155, 65]
	      ShowName		      off
	      Inputs		      "+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [135, 105, 155, 125]
	      ShowName		      off
	      Inputs		      "+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [140, 160, 160, 180]
	      ShowName		      off
	      Inputs		      "+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm1"
	      Position		      [500, 33, 530, 47]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm2\n"
	      Position		      [500, 83, 530, 97]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm3"
	      Position		      [500, 128, 530, 142]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm4"
	      Position		      [500, 163, 530, 177]
	      Port		      "4"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm5"
	      Position		      [505, 208, 535, 222]
	      Port		      "5"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "pwm6"
	      Position		      [505, 253, 535, 267]
	      Port		      "6"
	    }
	    Line {
	      SrcBlock		      "Relay1"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[230, 0]
		DstBlock		"pwm3"
		DstPort			1
	      }
	      Branch {
		Points			[0, 45]
		DstBlock		"Data Type \nConversion5"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      Points		      [10, 0; 0, 5]
	      DstBlock		      "Relay2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      Points		      [10, 0; 0, -5]
	      DstBlock		      "Relay1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      Points		      [15, 0; 0, -10]
	      DstBlock		      "Relay"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "tcm3"
	      SrcPort		      1
	      Points		      [25, 0; 0, -15]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "tcm2"
	      SrcPort		      1
	      Points		      [55, 0]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "tcm1"
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Repeating\nSequence1"
	      SrcPort		      1
	      Points		      [20, 0; 0, 30]
	      Branch {
		Points			[0, 35]
		Branch {
		  Points		  [0, 60]
		  DstBlock		  "Sum2"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 5]
		  DstBlock		  "Sum1"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[20, 0]
		DstBlock		"Sum"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator2"
	      SrcPort		      1
	      DstBlock		      "Data Type \nConversion3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type \nConversion3"
	      SrcPort		      1
	      Points		      [90, 0]
	      DstBlock		      "pwm4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type \nConversion5"
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relay"
	      SrcPort		      1
	      Points		      [0, -5; 10, 0]
	      Branch {
		DstBlock		"pwm1"
		DstPort			1
	      }
	      Branch {
		Points			[0, 50]
		DstBlock		"Data Type \nConversion2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Relay2"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		Points			[105, 0; 0, 40]
		DstBlock		"pwm5"
		DstPort			1
	      }
	      Branch {
		Points			[0, 80]
		DstBlock		"Data Type \nConversion6"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator1"
	      SrcPort		      1
	      DstBlock		      "Data Type \nConversion1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type \nConversion1"
	      SrcPort		      1
	      DstBlock		      "pwm2\n"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type \nConversion2"
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Logical\nOperator3"
	      SrcPort		      1
	      DstBlock		      "Data Type \nConversion4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type \nConversion4"
	      SrcPort		      1
	      Points		      [85, 0]
	      DstBlock		      "pwm6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Data Type \nConversion6"
	      SrcPort		      1
	      DstBlock		      "Logical\nOperator3"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "panduansanqu \n"
	  Ports			  [2, 1]
	  Position		  [140, 76, 170, 134]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "panduansanqu \n"
	    Location		    [215, 400, 995, 753]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "va"
	      Position		      [15, 108, 45, 122]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "vb"
	      Position		      [15, 143, 45, 157]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [175, 88, 205, 122]
	      Expr		      "sqrt(3)*u(1)-u(2)"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn1"
	      Position		      [175, 143, 205, 177]
	      Expr		      "-sqrt(3)*u(1)-u(2)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [300, 90, 330, 120]
	      Gain		      "2"

⌨️ 快捷键说明

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