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

📄 pmsm_ideal.mdl

📁 simulink下的理想模型,采用矢量控制方案,在它的基础上可加入实际干扰因素,进一步设计控制器.
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    DstBlock		    "i_alpha"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "iq"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "i_beta"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "i_alpha"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "I_apha"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "I_beta"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "id"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "pmsm"
      Ports		      [4, 4]
      Position		      [820, 126, 895, 269]
      TreatAsAtomicUnit	      off
      MaskType		      "hao"
      MaskDescription	      "pmsm"
      MaskHelp		      "no"
      MaskPromptString	      "cl|PM|ld|lq|rs|j"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on"
      MaskCallbackString      "|||||"
      MaskEnableString	      "on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,"
      MaskVariables	      "CL=@1;Pm=@2;Ld=@3;Lq=@4;rs=@5;J=@6;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.175|4|0.0085|0.0085|2.875|0.0008"
      System {
	Name			"pmsm"
	Location		[2, 75, 996, 706]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "UA"
	  Position		  [55, 38, 85, 52]
	}
	Block {
	  BlockType		  Inport
	  Name			  "UB"
	  Position		  [50, 78, 80, 92]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "UC"
	  Position		  [50, 123, 80, 137]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "TL"
	  Position		  [55, 543, 85, 557]
	  Port			  "4"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [4, 1]
	  Position		  [390, 280, 430, 320]
	  Inputs		  "+---"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add2"
	  Ports			  [2, 1]
	  Position		  [805, 460, 845, 500]
	  Inputs		  "+-"
	  ShowAdditionalParam	  on
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add3"
	  Ports			  [2, 1]
	  Position		  [705, 355, 745, 395]
	  Inputs		  "+-"
	  ShowAdditionalParam	  on
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add4"
	  Ports			  [3, 1]
	  Position		  [365, 175, 405, 215]
	  Inputs		  "+-+"
	  ShowAdditionalParam	  on
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add5"
	  Ports			  [2, 1]
	  Position		  [860, 240, 900, 280]
	  ShowAdditionalParam	  on
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [630, 250, 660, 280]
	  Value			  "CL"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [635, 335, 665, 365]
	  Value			  "Ld"
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [170, 270, 200, 300]
	  Value			  "Lq"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant3"
	  Position		  [635, 435, 665, 465]
	  Value			  "Pm"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant4"
	  Position		  [170, 225, 200, 255]
	  Value			  "rs"
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant5"
	  Position		  [170, 345, 200, 375]
	  Value			  "Ld"
	  ShowAdditionalParam	  on
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant6"
	  Position		  [170, 395, 200, 425]
	  Value			  "CL"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant7"
	  Position		  [635, 385, 665, 415]
	  Value			  "Lq"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant8"
	  Position		  [800, 515, 830, 545]
	  Value			  "J"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [990, 255, 1020, 295]
	  Gain			  "3/2"
	  ShowAdditionalParam	  on
	  ParameterScaling	  "2^-15"
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply"
	  Ports			  [2, 1]
	  Position		  [285, 440, 325, 480]
	  Inputs		  "**"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply1"
	  Ports			  [3, 1]
	  Position		  [285, 490, 325, 530]
	  Inputs		  "***"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply10"
	  Ports			  [3, 1]
	  Position		  [795, 345, 835, 385]
	  Inputs		  "***"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply12"
	  Ports			  [2, 1]
	  Position		  [700, 230, 740, 270]
	  Inputs		  "**"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply2"
	  Ports			  [2, 1]
	  Position		  [455, 290, 495, 330]
	  Inputs		  "*/"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply3"
	  Ports			  [3, 1]
	  Position		  [285, 305, 325, 345]
	  Inputs		  "***"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply4"
	  Ports			  [2, 1]
	  Position		  [285, 375, 325, 415]
	  Inputs		  "**"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply5"
	  Ports			  [2, 1]
	  Position		  [450, 170, 490, 210]
	  Inputs		  "*/"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply6"
	  Ports			  [2, 1]
	  Position		  [285, 230, 325, 270]
	  Inputs		  "**"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply7"
	  Ports			  [2, 1]
	  Position		  [805, 580, 845, 620]
	  Inputs		  "**"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply8"
	  Ports			  [2, 1]
	  Position		  [865, 470, 905, 510]
	  Inputs		  "*/"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Product
	  Name			  "Multiply9"
	  Ports			  [2, 1]
	  Position		  [930, 255, 970, 295]
	  Inputs		  "**"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1]
	  Position		  [1000, 86, 1005, 124]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem2"
	  Ports			  [3, 2]
	  Position		  [180, 53, 220, 117]
	  TreatAsAtomicUnit	  off
	  MaskType		  "hao"
	  MaskDescription	  "3/2"
	  MaskHelp		  "no\n\n"
	  MaskDisplay		  "disp('3/2')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Subsystem2"
	    Location		    [125, 95, 631, 403]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [15, 13, 45, 27]
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [15, 38, 45, 52]
	      Port		      "2"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In3"
	      Position		      [15, 98, 45, 112]
	      Port		      "3"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Add"
	      Ports		      [3, 1]
	      Position		      [210, 25, 250, 65]
	      Inputs		      "+++"
	      ShowAdditionalParam     on
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Add1"
	      Ports		      [2, 1]
	      Position		      [210, 185, 250, 225]
	      ShowAdditionalParam     on
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [80, 25, 120, 65]
	      Gain		      "-1/2"
	      ShowAdditionalParam     on
	      ParameterScaling	      "2^-15"
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [80, 85, 120, 125]
	      Gain		      "-1/2"
	      ShowAdditionalParam     on
	      ParameterScaling	      "2^-15"
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [80, 155, 120, 195]
	      Gain		      "sqrt(3)/2"
	      ShowAdditionalParam     on
	      ParameterScaling	      "2^-15"
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain3"
	      Position		      [80, 215, 120, 255]
	      Gain		      "-sqrt(3)/2"
	      ShowAdditionalParam     on
	      ParameterScaling	      "2^-15"
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain4"
	      Position		      [285, 25, 325, 65]
	      Gain		      "sqrt(2/3)"
	      ShowAdditionalParam     on
	      ParameterScaling	      "2^-15"
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain5"
	      Position		      [290, 185, 330, 225]
	      Gain		      "sqrt(2/3)"
	      ShowAdditionalParam     on
	      ParameterScaling	      "2^-15"
	      OutScaling	      "2^-10"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [380, 38, 410, 52]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out2"
	      Position		      [380, 198, 410, 212]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "Gain5"
	      SrcPort		      1
	      DstBlock		      "Out2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain4"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Add1"
	      SrcPort		      1
	      DstBlock		      "Gain5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In3"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		Points			[0, 130]
		DstBlock		"Gain3"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gain1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "In2"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[0, 130]
		DstBlock		"Gain2"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gain"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Add"
	      SrcPort		      1
	      DstBlock		      "Gain4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [145, 0]
	      DstBlock		      "Add"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain3"
	      SrcPort		      1
	      Points		      [35, 0; 0, -20]
	      DstBlock		      "Add1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [35, 0; 0, 20]
	      DstBlock		      "Add1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [70, 0]
	      DstBlock		      "Add"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Add"

⌨️ 快捷键说明

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